:root{
    --navy: #193E32;
    --navy2: #1B4437;
    --cream: #EEEFE7;
    --paper: #F7F6F0;
    --ink: #193E32;
    --muted: #657268;
    --line: #E2E4DA;
    --accent: #879477;
    --white: #FFFFFF;
}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:Arial,Helvetica,sans-serif;line-height:1.65}a{color:inherit;text-decoration:none}img{max-width:100%;display:block}.container{width:min(1160px,calc(100% - 40px));margin:auto}.topline{background:var(--navy);color:#e5eceb;font-size:12px;letter-spacing:.06em}.top-line-inner{display:flex;justify-content:space-between;padding:7px 0}.site-header{background:rgba(251,250,247,.97);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:10}.nav-wrap{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:88px}.brand{display:flex;align-items:center;gap:13px;min-width:240px}.brand-mark{width:43px;height:43px;display:grid;place-items:center;background:var(--navy);color:#fff;font:700 25px Georgia,serif;border-radius:50%}.brand strong{display:block;font:700 19px Georgia,serif;letter-spacing:.04em}.brand small{display:block;color:var(--muted);font-size:10px;letter-spacing:.04em;max-width:240px}.main-nav{display:flex;align-items:center;gap:20px}.main-nav a{font-size:12px;font-weight:700;color:#35434a;white-space:nowrap}.main-nav a:hover{color:#9b7446}.nav-toggle{display:none;background:transparent;border:1px solid var(--line);padding:8px 12px;font-size:20px}.hero{background:var(--navy);color:#fff;position:relative;overflow:hidden}.hero:after{content:"";position:absolute;width:450px;height:450px;border:1px solid rgba(255,255,255,.12);border-radius:50%;right:-80px;top:-110px;box-shadow:0 0 0 50px rgba(255,255,255,.025),0 0 0 100px rgba(255,255,255,.02)}.hero-inner{padding:100px 0 105px;position:relative;z-index:1;max-width:780px}.eyebrow{font-size:11px;letter-spacing:.18em;text-transform:uppercase;color:#b8c7bc;font-weight:700}.hero h1{font:500 clamp(44px,6vw,78px)/1.04 Georgia,'Times New Roman',serif;letter-spacing:-.045em;margin:22px 0}.hero p{max-width:610px;color:#d4dddf;font-size:17px}.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:30px}.btn{display:inline-flex;align-items:center;justify-content:center;padding:12px 18px;background:var(--cream);color:var(--navy);font-size:12px;font-weight:700;border:1px solid var(--cream)}.btn-outline{background:transparent;color:#fff;border-color:#71818a}.section{padding:78px 0}.section-head{display:flex;justify-content:space-between;align-items:end;gap:30px;margin-bottom:30px}.section-index{font-size:11px;letter-spacing:.14em;color:#8c7558;font-weight:700}.section h2{font:500 clamp(32px,4vw,48px)/1.1 Georgia,serif;letter-spacing:-.03em;margin:10px 0}.section-intro{max-width:430px;color:var(--muted);margin:0}.split{display:grid;grid-template-columns:1.1fr .9fr;gap:60px;align-items:center}.feature-panel{background:var(--cream);padding:35px;min-height:250px;display:flex;flex-direction:column;justify-content:space-between}.feature-panel .big-equation{font:500 clamp(30px,4vw,48px)/1.1 Georgia,serif}.feature-panel .small-label{font-size:10px;letter-spacing:.14em;font-weight:700}.card-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.content-card{border:1px solid var(--line);background:#fff;display:flex;flex-direction:column;min-width:0}.content-card img{width:100%;height:210px;object-fit:cover;background:#e9e7df}.card-body{padding:22px;display:flex;flex:1;flex-direction:column}.meta{font-size:10px;text-transform:uppercase;letter-spacing:.12em;color:#8b6d48;font-weight:700}.content-card h3{font:500 24px/1.18 Georgia,serif;margin:10px 0}.content-card p{color:var(--muted);font-size:14px;margin:0 0 20px}.text-link{font-size:11px;letter-spacing:.1em;text-transform:uppercase;font-weight:700;margin-top:auto}.text-link:hover{color:#9b7446}.priorities{background:var(--cream)}.priority-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:0}.priority{padding:25px 28px 25px 0;border-top:1px solid #c8cec7}.priority+.priority{padding-left:28px;border-left:1px solid #c8cec7}.priority .number{font:italic 30px Georgia,serif;color:#9b7446}.priority h3{font:500 24px Georgia,serif;margin:12px 0}.priority p{color:var(--muted);font-size:14px}.cta{background:#e8ece5;padding:54px 0}.cta-inner{display:flex;justify-content:space-between;align-items:center;gap:25px}.cta h2{font:500 clamp(30px,4vw,44px)/1.1 Georgia,serif;margin:8px 0}.page-hero{background:var(--navy);color:white;padding:62px 0}.page-hero h1{font:500 clamp(40px,5vw,62px)/1.05 Georgia,serif;margin:12px 0}.page-hero p{max-width:650px;color:#d5dfe0}.listing{padding:55px 0 80px}.listing .card-grid{row-gap:24px}.empty-state{padding:28px;background:var(--cream);color:var(--muted)}.detail{max-width:820px;margin:auto}.detail h1{font:500 clamp(36px,5vw,58px)/1.1 Georgia,serif}.detail .detail-image{width:100%;max-height:480px;object-fit:cover;margin:25px 0}.detail-copy{font-size:17px;white-space:normal}.gallery-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.gallery-grid img{width:100%;height:260px;object-fit:cover}.site-footer{background:#142633;color:#e7ecea;padding:54px 0 20px}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:50px}.footer-brand{font:500 26px Georgia,serif}.site-footer p{color:#b6c1c4;font-size:13px}.site-footer h4{font-size:11px;text-transform:uppercase;letter-spacing:.13em}.site-footer a:not(.footer-brand){display:block;color:#c8d0d1;font-size:13px;margin:6px 0}.footer-bottom{border-top:1px solid #354650;margin-top:35px;padding-top:18px;font-size:11px;color:#9caeb2}.notice{padding:12px 16px;background:#e7efe5;border:1px solid #cadac6;margin-bottom:20px}.notice.error{background:#f8e8e5;border-color:#e6c7c1}
.admin-body{background:#f2f4f6}.admin-wrap{max-width:1120px;margin:35px auto;padding:0 20px}.admin-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px}.admin-top h1{font:500 32px Georgia,serif}.admin-nav{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:20px}.admin-nav a,.admin-button{background:var(--navy);color:#fff;padding:10px 14px;border:0;display:inline-block;font-size:13px;cursor:pointer}.admin-card{background:#fff;border:1px solid #dce1e4;padding:22px;margin-bottom:20px}.admin-table{width:100%;border-collapse:collapse;background:#fff}.admin-table th,.admin-table td{padding:12px;text-align:left;border-bottom:1px solid #e1e5e7;font-size:13px;vertical-align:top}.admin-table th{background:#f4f6f7}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.form-field{display:flex;flex-direction:column;gap:6px}.form-field.full{grid-column:1/-1}.form-field label{font-size:12px;font-weight:700}.form-field input,.form-field select,.form-field textarea{width:100%;padding:11px;border:1px solid #ccd4d8;font:inherit;background:#fff}.form-field textarea{min-height:130px}.admin-actions{display:flex;gap:8px;flex-wrap:wrap}.danger{background:#8b2f2b!important}.login-box{max-width:440px;margin:8vh auto;background:white;padding:32px;border:1px solid #dce1e4}.login-box h1{font:500 32px Georgia,serif}
@media(max-width:1000px){.nav-toggle{display:block}.main-nav{display:none;position:absolute;top:88px;left:0;right:0;background:var(--paper);padding:20px;border-bottom:1px solid var(--line);flex-direction:column;align-items:flex-start;gap:14px}.main-nav.open{display:flex}.split{gap:30px}.card-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:650px){.container{width:min(100% - 28px,1160px)}.top-line-inner{gap:12px;flex-wrap:wrap}.nav-wrap{min-height:76px}.brand{min-width:0}.brand small{max-width:190px}.main-nav{top:76px}.hero-inner{padding:70px 0}.section{padding:55px 0}.section-head,.cta-inner{align-items:flex-start;flex-direction:column}.split,.priority-grid,.footer-grid{grid-template-columns:1fr}.priority+.priority{padding-left:0;border-left:0}.card-grid,.gallery-grid{grid-template-columns:1fr}.gallery-grid img{height:230px}.footer-grid{gap:22px}.form-grid{grid-template-columns:1fr}.form-field.full{grid-column:auto}.admin-table{display:block;overflow-x:auto;white-space:nowrap}}

/* Contact Us page */
.contact-layout{align-items:start}.contact-form-card{background:#fff;border:1px solid var(--line);padding:28px;box-shadow:0 18px 45px rgba(20,38,51,.06)}.contact-form-card .form-field{margin-bottom:16px}.contact-form-card .form-field label{font-size:12px;font-weight:700;color:#35434a}.contact-form-card .form-field input,.contact-form-card .form-field textarea{width:100%;padding:13px 14px;border:1px solid var(--line);background:#fbfaf7;color:var(--ink);font:inherit;outline:none}.contact-form-card .form-field input:focus,.contact-form-card .form-field textarea:focus{border-color:#9b7446;box-shadow:0 0 0 3px rgba(155,116,70,.1)}.contact-submit{display:flex;align-items:center;justify-content:space-between;gap:22px;background:var(--navy);color:#fff;border:0;padding:14px 18px;width:100%;font-weight:700;cursor:pointer}.contact-submit:hover{background:#203c4d}.contact-layout .detail p{margin:18px 0;color:var(--muted)}.contact-layout .detail a{color:var(--navy);text-decoration:underline;text-underline-offset:3px}



/* Federation dropdown */
/* Federation dropdown */
.nav-item.dropdown {
    position: relative;
}

.nav-item.dropdown > .dropdown-menu {
    display: none !important;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 300px;
    margin: 0;
    padding: 8px 0;
    list-style: none;
    background: #f7f7f2;
    border: 1px solid #e3e4dc;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
    z-index: 9999;
}

/* Show submenu on hover or keyboard focus */
.nav-item.dropdown:hover > .dropdown-menu,
.nav-item.dropdown:focus-within > .dropdown-menu {
    display: block !important;
}

.nav-item.dropdown > .dropdown-menu li a {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 14px 18px;
    color: #263b36;
    text-decoration: none;
}

.nav-item.dropdown > .dropdown-menu li a:hover {
    background: #eeefe8;
}

/* Mobile layout */
@media (max-width: 768px) {
    .nav-item.dropdown > .dropdown-menu {
        position: static;
        min-width: 100%;
        box-shadow: none;
    }
}

/* ===================================
   ACTIVITIES & PROGRAMMES PAGE
=================================== */

.activities-page {
    background: #f8f8f4;
    color: #263a34;
}

.activities-page .container {
    width: 88%;
    max-width: 1180px;
    margin: auto;
}

/* Hero section */

.activities-hero {
    padding: 85px 0 75px;
    background: #f1f1e9;
    border-bottom: 1px solid #e3e3d9;
}

.section-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #75816f;
    margin-bottom: 25px;
}

.section-label span {
    margin-left: 12px;
    color: #a0a397;
}

.activities-hero h1 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(48px, 7vw, 82px);
    line-height: 1.02;
    font-weight: 400;
    letter-spacing: -2px;
    color: #243a33;
    margin: 0 0 25px;
}

.activities-hero p {
    max-width: 650px;
    font-size: 18px;
    line-height: 1.8;
    color: #68736c;
}

/* Introduction */

.activities-intro {
    padding: 85px 0 45px;
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: end;
    margin-bottom: 45px;
}

.intro-heading h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(34px, 4vw, 50px);
    font-weight: 400;
    line-height: 1.15;
    color: #243a33;
    margin: 0;
}

.intro-description p {
    max-width: 430px;
    font-size: 19px;
    line-height: 1.8;
    color: #68736c;
}

/* Conference image */

.conference-image {
    position: relative;
    width: 100%;
    height: 430px;
    overflow: hidden;
    background: #e5e7df;
}

.conference-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.conference-image.image-placeholder {
    background: linear-gradient(135deg, #dfe4da, #cbd4c7);
}

.conference-image.image-placeholder::before {
    content: "FUPUCTA  |  ANNUAL CONFERENCE";
    position: absolute;
    top: 45%;
    left: 0;
    width: 100%;
    text-align: center;
    color: #53665a;
    font-family: Georgia, serif;
    font-size: 25px;
}

.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 18px 22px;
    background: rgba(28, 48, 41, 0.82);
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.5px;
}

/* Activity cards */

.activities-list {
    padding: 35px 0 100px;
}

.activity-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid #dcded5;
    border-left: 1px solid #dcded5;
}

.activity-card {
    min-height: 240px;
    padding: 30px 28px;
    border-right: 1px solid #dcded5;
    border-bottom: 1px solid #dcded5;
    transition: background 0.3s ease;
}

.activity-card:hover {
    background: #f0f1e9;
}

.activity-meta {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 35px;
    color: #829078;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.activity-card h3 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 25px;
    font-weight: 400;
    line-height: 1.25;
    color: #263a34;
    margin: 0 0 15px;
}

.activity-card p {
    font-size: 14px;
    line-height: 1.8;
    color: #747d75;
    margin: 0;
}

/* Responsive */

@media (max-width: 900px) {
    .activity-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .intro-grid {
        gap: 30px;
    }
}

@media (max-width: 600px) {
    .activities-page .container {
        width: 90%;
    }

    .activities-hero {
        padding: 60px 0;
    }

    .activities-hero p {
        font-size: 16px;
    }

    .activities-intro {
        padding: 55px 0 30px;
    }

    .intro-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .intro-description p {
        font-size: 16px;
    }

    .conference-image {
        height: 260px;
    }

    .activity-grid {
        grid-template-columns: 1fr;
    }

    .activity-card {
        min-height: auto;
        padding: 25px 22px;
    }

    .activity-meta {
        margin-bottom: 22px;
    }
}



/* ==========================================
   FUPUCTA GLOBAL COLOUR THEME
   Inspired by original fupuctareg.org
========================================== */

:root {
    --fup-bg: #F7F6F0;
    --fup-bg-soft: #EEEFE7;
    --fup-card: #FFFFFF;

    --fup-green: #193E32;
    --fup-dark: #1B4437;
    --fup-accent: #879477;

    --fup-text: #657268;
    --fup-muted: #788B70;

    --fup-border: #E2E4DA;
    --fup-white: #FFFFFF;
}

/* GLOBAL */

html,
body {
    background-color: var(--fup-bg);
    color: var(--fup-text);
}

body {
    font-family: Arial, Helvetica, sans-serif;
}

p,
li {
    color: var(--fup-text);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--fup-green);
    font-family: Georgia, "Times New Roman", serif;
}

a {
    color: var(--fup-green);
}

a:hover {
    color: var(--fup-accent);
}

/* COMMON PAGE BACKGROUND */

main {
    background-color: var(--fup-bg);
}

/* HOME PAGE */

.home-page,
.home-section,
.welcome-section,
.latest-news-section,
.explore-section {
    background-color: var(--fup-bg);
    color: var(--fup-text);
}

.home-page h1,
.home-page h2,
.home-page h3,
.welcome-section h2,
.latest-news-section h2,
.explore-section h2 {
    color: var(--fup-green);
}

.home-page p,
.welcome-section p,
.latest-news-section p,
.explore-section p {
    color: var(--fup-text);
}

/* NEWS PAGE */

.news-page,
.news-section,
.news-list-section {
    background-color: var(--fup-bg);
    color: var(--fup-text);
}

.news-card,
.news-item,
.news-box {
    background-color: var(--fup-card);
    border: 1px solid var(--fup-border);
    color: var(--fup-text);
}

.news-card h2,
.news-card h3,
.news-item h2,
.news-item h3 {
    color: var(--fup-green);
}

.news-card p,
.news-item p {
    color: var(--fup-text);
}

/* DOWNLOADS PAGE */

.downloads-page,
.downloads-section {
    background-color: var(--fup-bg);
    color: var(--fup-text);
}

.download-card,
.download-item,
.download-box {
    background-color: var(--fup-card);
    border: 1px solid var(--fup-border);
    color: var(--fup-text);
}

.download-card h3,
.download-item h3 {
    color: var(--fup-green);
}

.download-card p,
.download-item p {
    color: var(--fup-text);
}

/* GALLERY PAGE */

.gallery-page,
.gallery-section {
    background-color: var(--fup-bg);
    color: var(--fup-text);
}

.gallery-card,
.gallery-item {
    background-color: var(--fup-card);
    border: 1px solid var(--fup-border);
}

.gallery-card h3,
.gallery-item h3 {
    color: var(--fup-green);
}

/* CONTACT PAGE */

.contact-page,
.contact-section {
    background-color: var(--fup-bg);
    color: var(--fup-text);
}

.contact-card,
.contact-info,
.contact-form-wrapper {
    background-color: var(--fup-card);
    border: 1px solid var(--fup-border);
}

.contact-card h3,
.contact-info h3,
.contact-form-wrapper h2 {
    color: var(--fup-green);
}

.contact-card p,
.contact-info p,
.contact-form-wrapper p {
    color: var(--fup-text);
}

/* FORM ELEMENTS */

input,
textarea,
select {
    background-color: #FFFFFF;
    color: var(--fup-green);
    border: 1px solid var(--fup-border);
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--fup-accent);
    outline: none;
    box-shadow: 0 0 0 3px rgba(135, 148, 119, .12);
}

/* BUTTONS */

button,
.btn,
.submit-btn {
    background-color: var(--fup-green);
    color: var(--fup-white);
    border-color: var(--fup-green);
}

button:hover,
.btn:hover,
.submit-btn:hover {
    background-color: var(--fup-accent);
    border-color: var(--fup-accent);
    color: var(--fup-white);
}

/* SOFT SECTION */

.section-soft {
    background-color: var(--fup-bg-soft);
}

/* DARK SECTION */

.section-dark {
    background-color: var(--fup-dark);
    color: var(--fup-white);
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark p {
    color: var(--fup-white);
}

/* PAGINATION */

.pagination a,
.pagination span {
    color: var(--fup-green);
    border: 1px solid var(--fup-border);
    background-color: #FFFFFF;
}

.pagination .active,
.pagination a:hover {
    background-color: var(--fup-green);
    color: #FFFFFF;
}

/* PAGE FOOTER */

.site-footer {
    background-color: var(--fup-dark);
    color: #D0DBD0;
}

.site-footer h3,
.site-footer h4 {
    color: #FFFFFF;
}

.site-footer p,
.site-footer a {
    color: #D0DBD0;
}

.site-footer a:hover {
    color: #B9C7AE;
}

/* =================================
   FUPUCTA WEBSITE FINAL THEME
================================= */

body {
    background: #F7F6F0;
    color: #657268;
}

.site-header {
    background: rgba(247, 246, 240, 0.97);
    border-bottom: 1px solid #E2E4DA;
}

.main-nav a {
    color: #193E32;
}

.main-nav a:hover {
    color: #879477;
}

/* Hero sections */

.hero,
.page-hero {
    background: #193E32;
    color: #FFFFFF;
}

.hero h1,
.page-hero h1 {
    color: #FFFFFF;
}

/* General sections */

.section,
.listing {
    background: #F7F6F0;
}

.priorities,
.feature-panel,
.empty-state {
    background: #EEEFE7;
}

/* Content cards */

.content-card,
.news-card,
.news-item,
.download-card,
.download-item,
.gallery-card,
.contact-form-card {
    background: #FFFFFF;
    border: 1px solid #E2E4DA;
}

.content-card h3,
.news-card h3,
.news-item h3,
.download-card h3,
.download-item h3 {
    color: #193E32;
}

.content-card p,
.news-card p,
.news-item p,
.download-card p,
.download-item p {
    color: #657268;
}

/* Buttons */

.btn,
.admin-button,
.contact-submit {
    background: #193E32;
    color: #FFFFFF;
    border-color: #193E32;
}

.btn:hover,
.admin-button:hover,
.contact-submit:hover {
    background: #879477;
    border-color: #879477;
    color: #FFFFFF;
}

/* Contact form */

.contact-form-card input,
.contact-form-card textarea {
    background: #F7F6F0;
    color: #193E32;
    border-color: #E2E4DA;
}

/* Activities page */

.activities-page {
    background: #F7F6F0;
    color: #657268;
}

.activities-hero {
    background: #EEEFE7;
}

.activities-hero h1,
.intro-heading h2,
.activity-card h3 {
    color: #193E32;
}

.activity-card:hover {
    background: #EEEFE7;
}

/* Footer */

.site-footer {
    background: #1B4437;
    color: #FFFFFF;
}

.site-footer h3,
.site-footer h4 {
    color: #FFFFFF;
}

.site-footer p,
.site-footer a {
    color: #D0DBD0;
}

.site-footer a:hover {
    color: #B9C7AE;
}