/*
Theme Name: Ecumenical Christian Centre 2026
Theme URI:
Author: Ecumenical Christian Centre
Author URI:
Description: Custom theme for Ecumenical Christian Centre.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ecc-2026
*/

/* =====================================================================
   CUSTOM PROPERTIES
   ===================================================================== */
:root {
    --green:          #2d6016;
    --green-dark:     #1b3d0e;
    --green-hero:     #0d1a08;
    --green-light:    #e8f4e0;
    --green-mid:      #4a8a30;

    --gold:           #b8882a;
    --gold-mid:       #d4a84b;
    --gold-light:     #fdf5e6;

    --text:           #1a1a1a;
    --text-muted:     #5a5a5a;
    --text-faint:     #8a8a8a;
    --text-inverse:   #f5f5f5;

    --bg:             #ffffff;
    --bg-alt:         #f8f7f4;
    --bg-dark:        #111810;

    --border:         #e4ddd4;
    --border-light:   #f0ebe4;

    --r-sm:           6px;
    --r-md:           12px;
    --r-lg:           20px;
    --shadow-sm:      0 2px 8px rgba(0,0,0,.07);
    --shadow-md:      0 6px 24px rgba(0,0,0,.11);
    --shadow-lg:      0 16px 48px rgba(0,0,0,.16);
    --t:              .25s ease;
}

/* =====================================================================
   RESET & BASE
   ===================================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 1rem;
    line-height: 1.75;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--green);
    text-decoration: none;
    transition: color var(--t);
}
a:hover { color: var(--green-dark); }

img { max-width: 100%; height: auto; display: block; }

ul { list-style: none; }

/* =====================================================================
   TYPOGRAPHY
   ===================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, serif;
    line-height: 1.25;
    color: var(--green-dark);
}

p { max-width: 70ch; }

/* =====================================================================
   LAYOUT
   ===================================================================== */
.site { display: flex; flex-direction: column; min-height: 100vh; }

.site-content { flex: 1; }

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 2rem;
}

.container--narrow { max-width: 780px; }

/* =====================================================================
   SECTION BASE
   ===================================================================== */
.section { padding: 6rem 0; }
.section--alt { background: var(--bg-alt); }
.section--dark {
    background: var(--bg-dark);
    color: var(--text-inverse);
}
.section--dark h2,
.section--dark h3 { color: #fff; }

.section__header { text-align: center; margin-bottom: 3.5rem; }

.section__eyebrow {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: .75rem;
}

.section__title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
}

.section__lead {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin: 1rem auto 0;
    max-width: 60ch;
}

.section--dark .section__lead { color: rgba(255,255,255,.7); }

.divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.25rem auto 0;
    width: fit-content;
}
.divider__line {
    width: 48px;
    height: 2px;
    background: var(--gold);
    border-radius: 2px;
}
.divider__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold);
}

/* =====================================================================
   HEADER
   ===================================================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #fff;
    border-bottom: 1px solid var(--border-light);
    box-shadow: 0 1px 12px rgba(0,0,0,.06);
    padding: .875rem 0;
    transition: box-shadow var(--t);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

/* Branding */
.site-branding {
    display: flex;
    align-items: center;
    gap: .875rem;
    text-decoration: none;
}

.site-branding a { text-decoration: none; }

.custom-logo {
    height: 52px;
    width: auto;
}

.site-branding__text { display: flex; flex-direction: column; }

.site-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--green-dark);
    line-height: 1.2;
}

.site-title a { color: inherit; text-decoration: none; }

.site-description {
    font-size: .72rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--text-faint);
    margin-top: .1rem;
}

/* =====================================================================
   NAVIGATION
   ===================================================================== */
.main-navigation { display: flex; align-items: center; }

.main-navigation ul {
    display: flex;
    gap: .25rem;
    flex-wrap: wrap;
}

.main-navigation a {
    display: block;
    font-size: .875rem;
    font-weight: 500;
    color: var(--text);
    padding: .45rem .75rem;
    border-radius: var(--r-sm);
    transition: background var(--t), color var(--t);
}

.main-navigation a:hover,
.main-navigation .current-menu-item > a {
    background: var(--green-light);
    color: var(--green);
}

/* Mobile toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.menu-toggle span {
    display: block;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform var(--t), opacity var(--t);
}

.menu-toggle.is-active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.menu-toggle.is-active span:nth-child(2) { opacity: 0; }
.menu-toggle.is-active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* =====================================================================
   HERO
   ===================================================================== */
/* Split-pane layout: text left, campus photo right */
.hero {
    min-height: 100vh;
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    overflow: hidden;
}

.hero__pane {
    position: relative;
}

.hero__pane--text {
    display: flex;
    align-items: center;
    background: var(--green-hero);
    overflow: hidden;
}

/* Decorative radial glow on text pane */
.hero__pane--text::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 55% at 20% 10%, rgba(45,96,22,.55) 0%, transparent 70%),
        radial-gradient(ellipse 40% 35% at 90% 85%, rgba(184,136,42,.10) 0%, transparent 60%);
    pointer-events: none;
}

/* Subtle gold separator line between panes */
.hero__pane--text::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(184,136,42,.4) 25%, rgba(184,136,42,.4) 75%, transparent);
    z-index: 2;
    pointer-events: none;
}

.hero__bg-lines {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
    background-size: 64px 64px;
    pointer-events: none;
}

/* Campus photo pane — no overlay, fully visible */
.hero__pane--image {
    background: url('images/ecc_campus_1.avif') right center / cover no-repeat;
    background-color: var(--green-dark);
    display: flex;
    align-items: flex-end;
    padding: 1rem 1.25rem;
}

.hero__img-caption {
    font-family: 'Inter', sans-serif;
    font-size: 0.62rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,.55);
    text-shadow: 0 1px 4px rgba(0,0,0,.7);
}

.hero__content {
    position: relative;
    z-index: 1;
    padding: 7rem 3.5rem 5rem 4rem;
    max-width: 520px;
    text-align: left;
}

.hero__eyebrow {
    font-family: 'Inter', sans-serif;
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--gold-mid);
    margin-bottom: 1rem;
}

.hero__title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.1rem, 3.2vw, 3.5rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 1.25rem;
}

.hero__tagline {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: clamp(1rem, 1.6vw, 1.3rem);
    color: var(--gold-mid);
    margin-bottom: 1.75rem;
}

.hero__desc {
    font-size: 1rem;
    color: rgba(255,255,255,.70);
    line-height: 1.8;
    max-width: 46ch;
    margin: 0 0 2.5rem;
}

.hero__actions { display: flex; gap: 1rem; justify-content: flex-start; flex-wrap: wrap; }

.btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-family: 'Inter', sans-serif;
    font-size: .9rem;
    font-weight: 600;
    padding: .8rem 1.75rem;
    border-radius: var(--r-sm);
    cursor: pointer;
    transition: transform var(--t), box-shadow var(--t), background var(--t), color var(--t);
    text-decoration: none;
    border: 2px solid transparent;
}

.btn:hover { transform: translateY(-2px); }

.btn--primary {
    background: var(--green);
    color: #fff;
    border-color: var(--green);
}
.btn--primary:hover { background: var(--green-mid); border-color: var(--green-mid); color: #fff; box-shadow: 0 8px 24px rgba(45,96,22,.35); }

.btn--outline {
    background: transparent;
    color: rgba(255,255,255,.88);
    border-color: rgba(255,255,255,.35);
}
.btn--outline:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.6); color: #fff; }

.hero__scroll {
    position: absolute;
    bottom: 2rem;
    /* centre within the text pane (~45% of viewport wide) */
    left: 22.5%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .5rem;
    color: rgba(255,255,255,.40);
    font-size: .75rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    text-decoration: none;
    transition: color var(--t);
    animation: bounce 2s infinite;
    z-index: 2;
}
.hero__scroll:hover { color: rgba(255,255,255,.75); }

.hero__scroll svg { width: 20px; height: 20px; }

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(6px); }
}

/* =====================================================================
   ABOUT SECTION
   ===================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-text h2 {
    font-size: clamp(1.6rem, 2.5vw, 2.1rem);
    margin-bottom: 1.25rem;
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 1rem;
    max-width: 100%;
}

.about-motto {
    background: var(--green-light);
    border-left: 4px solid var(--green);
    border-radius: 0 var(--r-md) var(--r-md) 0;
    padding: 1.75rem 2rem;
    margin-top: 2rem;
}

.about-motto__label {
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: .5rem;
}

.about-motto__text {
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    font-style: italic;
    color: var(--green-dark);
    max-width: none;
}

.about-highlights {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.highlight-card {
    background: var(--bg-alt);
    border: 1px solid var(--border-light);
    border-radius: var(--r-md);
    padding: 1.5rem;
    transition: box-shadow var(--t), transform var(--t);
}

.highlight-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.highlight-card__icon {
    width: 42px;
    height: 42px;
    background: var(--green-light);
    border-radius: var(--r-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: .875rem;
    color: var(--green);
}
.highlight-card__icon svg { width: 20px; height: 20px; }

.highlight-card h3 {
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    color: var(--text);
    margin-bottom: .35rem;
}

.highlight-card p {
    font-size: .875rem;
    color: var(--text-muted);
    max-width: 100%;
}

/* =====================================================================
   STATS BAR
   ===================================================================== */
.stats-bar {
    background: var(--green);
    padding: 3rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.stat__number {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    margin-bottom: .35rem;
}

.stat__label {
    font-size: .8rem;
    font-weight: 500;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(255,255,255,.72);
}

/* =====================================================================
   HISTORY SECTION
   ===================================================================== */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 120px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border);
}

.timeline__item {
    display: grid;
    grid-template-columns: 120px auto;
    gap: 0 2.5rem;
    padding-bottom: 2.5rem;
    position: relative;
}

.timeline__item:last-child { padding-bottom: 0; }

.timeline__year {
    text-align: right;
    padding-top: .2rem;
    font-family: 'Playfair Display', serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--green);
}

.timeline__body {
    position: relative;
    padding: .25rem 0 0 2.5rem;
}

.timeline__body::before {
    content: '';
    position: absolute;
    left: -1.25rem;
    top: .55rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--green);
    border: 3px solid var(--bg-alt);
    box-shadow: 0 0 0 2px var(--green);
}

.timeline__body h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: .35rem;
}

.timeline__body p {
    font-size: .9rem;
    color: var(--text-muted);
    max-width: 100%;
}

/* =====================================================================
   CAMPUS SECTION
   ===================================================================== */
.campus-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
}

.campus-intro__text h2 { margin-bottom: 1rem; font-size: clamp(1.6rem, 2.5vw, 2.1rem); }
.campus-intro__text p { color: var(--text-muted); max-width: 100%; margin-bottom: 1rem; }

.campus-intro__visual {
    background: linear-gradient(135deg, var(--green-light) 0%, #d4e8c8 100%);
    border-radius: var(--r-lg);
    padding: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.campus-stat {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    background: #fff;
    border-radius: var(--r-md);
    padding: 1.1rem 1.25rem;
    box-shadow: var(--shadow-sm);
}

.campus-stat__icon {
    width: 40px;
    height: 40px;
    background: var(--green-light);
    border-radius: var(--r-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--green);
}
.campus-stat__icon svg { width: 18px; height: 18px; }

.campus-stat__info strong {
    display: block;
    font-size: .95rem;
    font-weight: 600;
    color: var(--text);
}
.campus-stat__info span { font-size: .82rem; color: var(--text-muted); }

.facilities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.facility-card {
    background: #fff;
    border: 1px solid var(--border-light);
    border-top: 3px solid var(--green);
    border-radius: 0 0 var(--r-md) var(--r-md);
    padding: 1.75rem;
    transition: box-shadow var(--t), transform var(--t);
}

.facility-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }

.facility-card h3 {
    font-family: 'Inter', sans-serif;
    font-size: .95rem;
    font-weight: 700;
    color: var(--green-dark);
    margin-bottom: .5rem;
}

.facility-card p { font-size: .875rem; color: var(--text-muted); max-width: 100%; }

/* =====================================================================
   PROGRAMMES SECTION
   ===================================================================== */
.programmes-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.programme-card {
    background: var(--bg);
    border: 1px solid var(--border-light);
    border-radius: var(--r-md);
    padding: 2.25rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: box-shadow var(--t), transform var(--t);
    position: relative;
    overflow: hidden;
}

.programme-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--green), var(--green-mid));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s ease;
}

.programme-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.programme-card:hover::after { transform: scaleX(1); }

.programme-card__badge {
    display: inline-flex;
    align-items: center;
    padding: .3rem .75rem;
    background: var(--green-light);
    color: var(--green-dark);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    border-radius: 2rem;
    width: fit-content;
}

.programme-card h3 {
    font-size: 1.2rem;
    color: var(--green-dark);
}

.programme-card__abbr {
    font-family: 'Inter', sans-serif;
    font-size: .8rem;
    font-weight: 600;
    color: var(--green);
    letter-spacing: .05em;
}

.programme-card p { font-size: .9rem; color: var(--text-muted); max-width: 100%; flex: 1; }

.programme-card__meta {
    font-size: .78rem;
    color: var(--text-faint);
    border-top: 1px solid var(--border-light);
    padding-top: .875rem;
    margin-top: auto;
}

/* =====================================================================
   LEADERSHIP SECTION
   ===================================================================== */
.leadership-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 700px;
    margin: 0 auto;
}

.leader-card {
    text-align: center;
    background: var(--bg-alt);
    border-radius: var(--r-md);
    padding: 2.5rem 2rem;
}

.leader-card__avatar {
    width: 64px;
    height: 64px;
    background: var(--green-light);
    border-radius: 50%;
    margin: 0 auto 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green);
}
.leader-card__avatar svg { width: 28px; height: 28px; }

.leader-card__role {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: .5rem;
}

.leader-card h3 {
    font-size: 1.05rem;
    color: var(--text);
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

/* =====================================================================
   DIRECTOR FEATURE CARD
   ===================================================================== */
.director-card {
    display: grid;
    grid-template-columns: 88px 1fr;
    gap: 2rem;
    align-items: flex-start;
    background: var(--green-light);
    border: 1px solid #c6ddb8;
    border-left: 5px solid var(--green);
    border-radius: var(--r-md);
    padding: 2.25rem 2.5rem;
    margin-bottom: 3.5rem;
}

.director-card__avatar {
    width: 72px;
    height: 72px;
    background: var(--green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
    margin-top: .25rem;
}
.director-card__avatar svg { width: 32px; height: 32px; }

.director-card__role {
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: .4rem;
}

.director-card__name {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--green-dark);
    margin-bottom: .875rem;
}

.director-card__bio {
    font-size: .95rem;
    color: var(--text-muted);
    line-height: 1.8;
    max-width: 100%;
    margin-bottom: 1.25rem;
}

.director-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.director-card__tags span {
    font-size: .75rem;
    font-weight: 500;
    background: rgba(45,96,22,.12);
    color: var(--green-dark);
    padding: .3rem .75rem;
    border-radius: 2rem;
    border: 1px solid rgba(45,96,22,.2);
}

/* =====================================================================
   EXECUTIVE COMMITTEE
   ===================================================================== */
.committee-block__heading {
    font-family: 'Inter', sans-serif;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--text-faint);
    margin-bottom: 1.25rem;
    padding-bottom: .75rem;
    border-bottom: 1px solid var(--border);
}

.committee-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.committee-card {
    background: var(--bg-alt);
    border: 1px solid var(--border-light);
    border-radius: var(--r-md);
    padding: 1.25rem 1.5rem;
    transition: box-shadow var(--t), transform var(--t);
}

.committee-card:hover { box-shadow: var(--shadow-sm); transform: translateY(-2px); }

.committee-card--featured {
    background: #fff;
    border-color: var(--border);
    border-top: 3px solid var(--gold);
}

.committee-card__role {
    display: block;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: .4rem;
}

.committee-card__name {
    font-family: 'Playfair Display', serif;
    font-size: .95rem;
    color: var(--green-dark);
    line-height: 1.35;
    max-width: 100%;
}

/* =====================================================================
   PUBLICATIONS SECTION
   ===================================================================== */
.publications-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1060px;
    margin: 0 auto;
}

.publication-card {
    background: var(--gold-light);
    border: 1px solid #ecdcb8;
    border-radius: var(--r-md);
    padding: 2rem;
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    transition: box-shadow var(--t);
}

.publication-card:hover { box-shadow: var(--shadow-md); }

.publication-card__icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    background: var(--gold);
    border-radius: var(--r-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}
.publication-card__icon svg { width: 20px; height: 20px; }

.publication-card h3 {
    font-size: 1rem;
    color: var(--text);
    font-family: 'Playfair Display', serif;
    font-style: italic;
    margin-bottom: .35rem;
}

.publication-card p { font-size: .85rem; color: var(--text-muted); max-width: 100%; }

.publication-card__link {
    display: inline-block;
    margin-top: .75rem;
    font-size: .8rem;
    font-weight: 600;
    color: var(--green);
    text-decoration: none;
    letter-spacing: .01em;
}
.publication-card__link:hover { text-decoration: underline; }

/* =====================================================================
   CONTACT SECTION
   ===================================================================== */
.contact-section {
    background: var(--bg-dark);
    padding: 5rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.contact-info h2 {
    font-size: clamp(1.6rem, 2.5vw, 2.1rem);
    color: #fff;
    margin-bottom: 1.5rem;
}

.contact-detail {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1.25rem;
}

.contact-detail__icon {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    background: rgba(45,96,22,.5);
    border-radius: var(--r-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-mid);
    margin-top: .15rem;
}
.contact-detail__icon svg { width: 18px; height: 18px; }

.contact-detail strong {
    display: block;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--gold-mid);
    margin-bottom: .2rem;
}

.contact-detail span { font-size: .9rem; color: rgba(255,255,255,.75); }

.contact-map { border-radius: var(--r-lg); overflow: hidden; }

.contact-map__embed-link {
    display: block;
    position: relative;
    border-radius: var(--r-lg);
    overflow: hidden;
    text-decoration: none;
    cursor: pointer;
}

.contact-map__embed-link:hover .contact-map__overlay {
    opacity: 1;
}

.contact-map__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .875rem 1.25rem;
    background: rgba(13, 26, 8, .82);
    color: #fff;
    font-size: .875rem;
    font-weight: 600;
    letter-spacing: .03em;
    opacity: 0;
    transition: opacity var(--t);
    backdrop-filter: blur(4px);
}

/* =====================================================================
   FOOTER
   ===================================================================== */
.site-footer {
    background: #0a100a;
    color: rgba(255,255,255,.6);
    padding: 3rem 0;
    font-size: .875rem;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: .75rem;
}

.footer-brand__logo {
    height: 36px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: .6;
}

.footer-brand__name {
    font-family: 'Playfair Display', serif;
    font-size: .95rem;
    color: rgba(255,255,255,.8);
}

.footer-nav { display: flex; gap: .25rem; flex-wrap: wrap; }

.footer-nav a {
    color: rgba(255,255,255,.55);
    font-size: .82rem;
    padding: .3rem .6rem;
    border-radius: var(--r-sm);
    transition: color var(--t);
}

.footer-nav a:hover { color: rgba(255,255,255,.9); }

.footer-copy { color: rgba(255,255,255,.35); font-size: .78rem; }

/* =====================================================================
   INNER PAGES (page.php, single.php, etc.)
   ===================================================================== */
.site-main { padding: 4rem 0; }

.entry-header { margin-bottom: 2rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--border); }
.entry-title { font-size: clamp(1.6rem, 3vw, 2.5rem); }
.entry-meta { font-size: .85rem; color: var(--text-faint); margin-top: .5rem; }

.entry-content > * + * { margin-top: 1.25rem; }
.entry-content h2, .entry-content h3 { margin-top: 2rem; }
.entry-content ul, .entry-content ol { padding-left: 1.5rem; list-style: initial; }
.entry-content blockquote {
    border-left: 4px solid var(--green);
    padding: 1rem 1.5rem;
    background: var(--green-light);
    border-radius: 0 var(--r-sm) var(--r-sm) 0;
    color: var(--text-muted);
    font-style: italic;
}

/* 404 */
.error-404 { text-align: center; padding: 6rem 0; }
.error-404 .entry-title { font-size: clamp(2rem, 5vw, 4rem); color: var(--green-dark); }

/* Search */
.search-results article { padding: 2rem 0; border-bottom: 1px solid var(--border); }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */

/* Hero split pane collapses: image on top, text below */
@media (max-width: 860px) {
    .hero {
        grid-template-columns: 1fr;
        grid-template-rows: 48vh auto;
    }
    .hero__pane--image {
        order: -1;
    }
    .hero__pane--text::after { display: none; }
    .hero__content {
        text-align: center;
        padding: 3rem 2rem 5rem;
        max-width: 600px;
        margin: 0 auto;
    }
    .hero__desc { margin: 0 auto 2.5rem; }
    .hero__actions { justify-content: center; }
    .hero__scroll {
        left: 50%;
        bottom: 1.5rem;
    }
}

@media (max-width: 900px) {
    .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .campus-intro { grid-template-columns: 1fr; gap: 2rem; }
    .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

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

@media (max-width: 720px) {
    :root { --section-pad: 4rem 0; }
    .section { padding: 4rem 0; }

    .facilities-grid { grid-template-columns: 1fr; }
    .programmes-grid { grid-template-columns: 1fr; }
    .leadership-grid { grid-template-columns: 1fr; max-width: 360px; }
    .publications-grid { grid-template-columns: 1fr; }
    .director-card { grid-template-columns: 1fr; }
    .director-card__avatar { width: 56px; height: 56px; }
    .committee-grid { grid-template-columns: 1fr; }
    .timeline::before { left: 0; }
    .timeline__item { grid-template-columns: 1fr; padding-left: 1.5rem; }
    .timeline__year { text-align: left; }
    .timeline__body { padding-left: 1.5rem; }
    .timeline__body::before { left: -1.75rem; }

    .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
    .menu-toggle { display: flex; }

    .main-navigation {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        border-top: 1px solid var(--border-light);
        border-bottom: 2px solid var(--border-light);
        padding: 1rem 2rem;
        box-shadow: var(--shadow-md);
    }

    .main-navigation.is-open { display: block; }
    .main-navigation ul { flex-direction: column; gap: .25rem; }
    .main-navigation a { padding: .65rem .75rem; }

    .stats-grid { grid-template-columns: repeat(2, 1fr); }

    .hero__actions { flex-direction: column; align-items: center; }
    .btn { width: 100%; max-width: 280px; justify-content: center; }
}
