/*
Theme Name: AMAL Society
Theme URI: https://amalsociety.org
Author: AMAL Society
Author URI: https://amalsociety.org
Description: Official theme for AMAL Society - American Moroccan Advancement & Leadership. Features Moroccan Zellij geometric patterns, a warm heritage-inspired color palette of navy, gold, and crimson, and full support for events, announcements, photo galleries, and community content.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: amal-society
Tags: nonprofit, community, custom-colors, custom-logo, featured-images, full-width-template, blog, events
*/

/* ============================================================
   AMAL SOCIETY THEME - MAIN STYLES
   Color Palette (from logo):
   Navy:    #1e2d5a   Gold:    #c9962a
   Crimson: #8b1a1a   Green:   #2a6b3a
   Cream:   #fdf8f0   Ivory:   #f5ede0
   ============================================================ */

:root {
    --navy:         #1e2d5a;
    --navy-dark:    #111a36;
    --gold:         #c9962a;
    --gold-light:   #e8c06a;
    --gold-pale:    #f5e6c0;
    --crimson:      #8b1a1a;
    --crimson-light:#b52020;
    --green:        #2a6b3a;
    --cream:        #fdf8f0;
    --ivory:        #f5ede0;
    --white:        #ffffff;
    --text:         #1a1208;
    --text-mid:     #3d2e1a;
    --text-light:   #7a6a55;
    --border:       #e8d9bf;
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: 'Jost', 'Segoe UI', Arial, sans-serif;
    background: var(--cream);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.7;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--crimson); }
ul { list-style: none; }

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    line-height: 1.2;
    color: var(--navy);
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.8rem); }
p { margin-bottom: 1rem; color: var(--text-mid); }

/* Containers */
.container { max-width: 1100px; margin: 0 auto; padding: 0 5%; }
.section-pad { padding: 90px 0; }
.section-pad-sm { padding: 60px 0; }

/* Section Labels & Titles */
.section-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.5rem;
}
.section-title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 1rem;
}
.section-title em { color: var(--crimson); font-style: italic; }
.section-title.light { color: var(--white); }
.section-title.light em { color: var(--gold-light); }
.section-body { font-size: 1rem; color: var(--text-mid); line-height: 1.8; max-width: 680px; }
.text-center { text-align: center; }
.section-body.centered { margin: 0 auto; text-align: center; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 13px 32px;
    border-radius: 3px;
    font-family: 'Jost', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
}
.btn-primary { background: var(--gold); color: var(--navy-dark); }
.btn-primary:hover { background: var(--gold-light); color: var(--navy-dark); }
.btn-secondary { background: var(--navy); color: var(--white); }
.btn-secondary:hover { background: var(--navy-dark); color: var(--white); }
.btn-outline { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,0.55); }
.btn-outline:hover { border-color: var(--gold-light); color: var(--gold-light); }
.btn-crimson { background: var(--crimson); color: var(--white); }
.btn-crimson:hover { background: var(--crimson-light); color: var(--white); }

/* Hero with real Zellij photo background */
.hero-zellij-bg {
    background-image: url("http://amalsociety.org/wp-content/uploads/2026/05/Zellij-Background.png");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}
/* Light overlay so text is readable but Zellij pattern shows through */
.hero-overlay-light {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(139, 26, 26, 0.4) 0%,
        rgba(65, 50, 60, 0.3) 40%,
        rgba(17, 26, 75, 0.3) 70%,
        rgba(17, 50, 54, 0.58) 100%
    );
}

/* Zellij Pattern Backgrounds */
.zellij-navy {
    background-color: var(--navy);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Crect width='120' height='120' fill='%231e2d5a'/%3E%3Cg fill='none' stroke='%23c9962a' stroke-width='0.7' opacity='0.25'%3E%3Cpolygon points='60,10 70,30 90,30 74,46 80,66 60,54 40,66 46,46 30,30 50,30'/%3E%3Cpolygon points='60,20 67,36 84,36 71,48 76,64 60,54 44,64 49,48 36,36 53,36'/%3E%3Cline x1='0' y1='60' x2='30' y2='30'/%3E%3Cline x1='120' y1='60' x2='90' y2='30'/%3E%3Cline x1='0' y1='60' x2='30' y2='90'/%3E%3Cline x1='120' y1='60' x2='90' y2='90'/%3E%3Crect x='0' y='0' width='30' height='30'/%3E%3Crect x='90' y='0' width='30' height='30'/%3E%3Crect x='0' y='90' width='30' height='30'/%3E%3Crect x='90' y='90' width='30' height='30'/%3E%3Ccircle cx='60' cy='60' r='8'/%3E%3C/g%3E%3C/svg%3E");
}
.zellij-dark {
    background-color: var(--navy-dark);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100'%3E%3Crect width='100' height='100' fill='%23111a36'/%3E%3Cg fill='none' stroke='%23c9962a' stroke-width='0.6' opacity='0.18'%3E%3Cpolygon points='50,8 58,28 80,28 63,42 70,62 50,50 30,62 37,42 20,28 42,28'/%3E%3Ccircle cx='50' cy='50' r='10'/%3E%3Crect x='2' y='2' width='24' height='24'/%3E%3Crect x='74' y='2' width='24' height='24'/%3E%3Crect x='2' y='74' width='24' height='24'/%3E%3Crect x='74' y='74' width='24' height='24'/%3E%3C/g%3E%3C/svg%3E");
}

/* Gold Band */
.gold-band {
    height: 10px;
    background-color: var(--gold);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='10'%3E%3Crect width='40' height='10' fill='%23c9962a'/%3E%3Cg fill='none' stroke='%231e2d5a' stroke-width='0.4' opacity='0.25'%3E%3Cpolygon points='20,1 23,4 27,4 24,7 25,10 20,8 15,10 16,7 13,4 17,4'/%3E%3C/g%3E%3C/svg%3E");
}

/* Rainbow bar */
.rainbow-bar { height: 4px; background: linear-gradient(90deg, var(--crimson), var(--gold), var(--green), var(--navy)); }

/* Arch SVG dividers */
.arch-down { overflow: hidden; line-height: 0; }
.arch-down svg { display: block; }

/* Fade-up animation */
.fade-up { opacity: 0; transform: translateY(28px); transition: opacity 0.65s ease, transform 0.65s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── NAVIGATION ─────────────────────────────────────────── */
#site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(17, 26, 54, 0.97);
    backdrop-filter: blur(8px);
    border-bottom: 2px solid var(--gold);
}
.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}
.site-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.site-logo img { height: 50px; width: 50px; object-fit: contain; border-radius: 50%; border: 2px solid var(--gold); }
.logo-text { display: flex; flex-direction: column; }
.logo-name { font-family: 'Cormorant Garamond', serif; color: var(--white); font-size: 1.1rem; font-weight: 600; line-height: 1.2; }
.logo-sub { color: var(--gold-light); font-size: 0.68rem; font-style: italic; letter-spacing: 0.04em; }

/* Primary Navigation */
#primary-navigation { display: flex; align-items: center; }
#primary-menu { display: flex; align-items: center; gap: 1.75rem; list-style: none; margin: 0; padding: 0; }
#primary-menu li a {
    color: rgba(255,255,255,0.8);
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    transition: color 0.2s;
    padding: 4px 0;
}
#primary-menu li a:hover { color: var(--gold-light); }
#primary-menu li.menu-join a {
    background: var(--crimson);
    color: var(--white);
    padding: 8px 18px;
    border-radius: 3px;
}
#primary-menu li.menu-join a:hover { background: var(--crimson-light); }

/* Dropdown */
#primary-menu li { position: relative; }
#primary-menu li ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--navy-dark);
    border-top: 2px solid var(--gold);
    min-width: 200px;
    padding: 0.5rem 0;
    z-index: 100;
}
#primary-menu li:hover ul { display: block; }
#primary-menu li ul li a {
    display: block;
    padding: 8px 18px;
    font-size: 0.8rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--white); transition: all 0.3s; }

/* ── HERO SECTION ───────────────────────────────────────── */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 110px 5% 70px;
}
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(17,26,54,0.93) 0%, rgba(139,26,26,0.72) 55%, rgba(17,26,54,0.9) 100%);
}
.hero-tiles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero-tile { position: absolute; opacity: 0.07; }
.hero-content { position: relative; z-index: 2; max-width: 820px; text-align: center; width: 100%; }
.hero-logo-img {
    width: 130px; height: 130px;
    object-fit: contain;
    margin: 0 auto 2rem;
    filter: drop-shadow(0 0 28px rgba(201,150,42,0.45));
    animation: float 4s ease-in-out infinite;
}
@keyframes float { 0%,100%{transform:translateY(0);} 50%{transform:translateY(-10px);} }
.hero-eyebrow {
    display: block;
    color: var(--gold-light);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}
.hero-headline {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.5rem, 5.5vw, 4.8rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 0.5rem;
}
.hero-headline em { color: var(--gold-light); font-style: italic; }
.hero-tagline {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1rem, 2vw, 1.35rem);
    color: rgba(245,230,192,0.88);
    font-style: italic;
    margin-bottom: 2.5rem;
}
.hero-mission-box {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(201,150,42,0.35);
    border-radius: 4px;
    padding: 1.75rem 2.25rem;
    margin-bottom: 2.5rem;
    text-align: left;
}
.hero-mission-box p { font-size: 1rem; color: rgba(255,255,255,0.87); line-height: 1.8; font-weight: 300; margin: 0; }
.hero-addendum { display: block; color: var(--gold-light); font-size: 0.82rem; font-style: italic; margin-top: 0.85rem; text-align: right; }
.hero-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero-arch { position: absolute; bottom: -2px; left: 0; right: 0; }
.hero-arch svg { display: block; }

/* ── ABOUT SECTION ──────────────────────────────────────── */
.about-section { background: var(--ivory); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.about-arch-box {
    background: var(--navy);
    border-radius: 60% 60% 0 0;
    padding: 2.5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.about-arch-box::before {
    content: '';
    position: absolute; inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cg fill='none' stroke='%23c9962a' stroke-width='0.5' opacity='0.2'%3E%3Cpolygon points='30,3 35,15 48,15 38,24 41,37 30,30 19,37 22,24 12,15 25,15'/%3E%3C/g%3E%3C/svg%3E");
}
.arabic-word { display: block; font-family: 'Cormorant Garamond', serif; font-size: 5rem; font-weight: 700; color: var(--gold); position: relative; z-index: 1; line-height: 1.1; }
.arabic-meaning { display: block; color: rgba(255,255,255,0.65); font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; position: relative; z-index: 1; }
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.5rem; }
.stat-box { background: var(--white); border: 1px solid var(--gold-pale); border-radius: 4px; padding: 1.25rem; text-align: center; }
.stat-num { display: block; font-family: 'Cormorant Garamond', serif; font-size: 2.4rem; font-weight: 700; color: var(--crimson); line-height: 1.1; }
.stat-label { display: block; font-size: 0.7rem; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.1em; margin-top: 4px; }
.values-list { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 0.65rem; }
.values-list li { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.93rem; color: var(--text-mid); line-height: 1.6; }
.val-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); margin-top: 7px; flex-shrink: 0; }

/* ── PROGRAMS SECTION ───────────────────────────────────── */
.programs-section { background: var(--cream); }
.programs-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.75rem; margin-top: 3rem; }
.program-card { background: var(--white); border: 1px solid var(--gold-pale); border-radius: 6px; overflow: hidden; transition: transform 0.2s, box-shadow 0.2s; }
.program-card:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(30,45,90,0.1); }
.program-card-top { height: 150px; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.program-card-top::before {
    content: ''; position: absolute; inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='70' height='70'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='0.5' opacity='0.12'%3E%3Cpolygon points='35,4 41,18 56,18 44,28 48,42 35,34 22,42 26,28 14,18 29,18'/%3E%3C/g%3E%3C/svg%3E");
}
.program-card-top.color-navy { background: var(--navy); }
.program-card-top.color-crimson { background: var(--crimson); }
.program-card-top.color-green { background: var(--green); }
.program-card-top.color-gold { background: var(--gold); }
.program-card-top svg { position: relative; z-index: 1; width: 64px; height: 64px; }
.program-card-body { padding: 1.75rem; }
.program-card-body h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.45rem; font-weight: 700; color: var(--navy); margin-bottom: 0.65rem; }
.program-card-body p { font-size: 0.88rem; color: var(--text-mid); line-height: 1.7; margin: 0; }
.program-tag { display: inline-block; margin-top: 0.9rem; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; padding: 4px 10px; border-radius: 2px; background: var(--gold-pale); color: var(--gold); }

/* ── IMPACT SECTION ─────────────────────────────────────── */
.impact-section { position: relative; }
.impact-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 2rem; margin-top: 3rem; text-align: center; }
.impact-num { display: block; font-family: 'Cormorant Garamond', serif; font-size: 4rem; font-weight: 700; color: var(--gold-light); line-height: 1; }
.impact-desc { color: rgba(255,255,255,0.65); font-size: 0.83rem; margin-top: 0.5rem; line-height: 1.55; }

/* ── EVENTS SECTION ─────────────────────────────────────── */
.events-section { background: var(--ivory); }
.events-header { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 1rem; margin-bottom: 3rem; }
.events-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.event-card { background: var(--white); border-radius: 4px; overflow: hidden; border: 1px solid var(--gold-pale); transition: transform 0.2s, box-shadow 0.2s; }
.event-card:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(30,45,90,0.08); }
.event-date-band { padding: 0.85rem 1.2rem; display: flex; align-items: center; gap: 1rem; }
.event-date-band.color-crimson { background: var(--crimson); }
.event-date-band.color-navy { background: var(--navy); }
.event-date-band.color-green { background: var(--green); }
.event-date-band.color-gold { background: var(--gold); }
.event-month { font-size: 0.68rem; font-weight: 600; color: rgba(255,255,255,0.7); text-transform: uppercase; letter-spacing: 0.15em; }
.event-day { font-family: 'Cormorant Garamond', serif; font-size: 2.4rem; font-weight: 700; color: var(--white); line-height: 1; }
.event-meta { font-size: 0.72rem; color: rgba(255,255,255,0.65); }
.event-body { padding: 1.25rem; }
.event-body h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.15rem; font-weight: 600; color: var(--navy); margin-bottom: 0.4rem; }
.event-body p { font-size: 0.83rem; color: var(--text-light); line-height: 1.6; margin: 0; }
.event-location { display: flex; align-items: center; gap: 6px; margin-top: 0.75rem; font-size: 0.78rem; color: var(--text-light); }
.event-location::before { content: "📍"; font-size: 0.72rem; }
.event-link { display: inline-block; margin-top: 0.75rem; font-size: 0.78rem; font-weight: 600; color: var(--gold); text-decoration: none; letter-spacing: 0.05em; }
.event-link:hover { color: var(--crimson); }
.no-events { text-align: center; padding: 3rem; color: var(--text-light); font-style: italic; grid-column: 1/-1; }

/* ── GET INVOLVED ───────────────────────────────────────── */
.involved-section { background: var(--cream); }
.involved-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; margin-top: 3rem; }
.inv-card { border-radius: 6px; padding: 2.5rem 2rem; text-align: center; transition: transform 0.2s; }
.inv-card:hover { transform: translateY(-4px); }
.inv-card.bg-navy { background: var(--navy); }
.inv-card.bg-crimson { background: var(--crimson); }
.inv-card.bg-gold { background: var(--gold); }
.inv-card-icon { margin-bottom: 1.25rem; display: flex; justify-content: center; }
.inv-card h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.55rem; font-weight: 700; margin-bottom: 0.75rem; }
.inv-card.bg-navy h3, .inv-card.bg-crimson h3 { color: var(--white); }
.inv-card.bg-gold h3 { color: var(--navy-dark); }
.inv-card p { font-size: 0.87rem; line-height: 1.7; margin: 0; }
.inv-card.bg-navy p, .inv-card.bg-crimson p { color: rgba(255,255,255,0.75); }
.inv-card.bg-gold p { color: rgba(17,26,54,0.72); }
.btn-inv-light { display: inline-block; margin-top: 1.5rem; padding: 10px 26px; font-size: 0.78rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; border-radius: 3px; text-decoration: none; transition: all 0.2s; font-family: 'Jost', sans-serif; border: 1.5px solid rgba(255,255,255,0.55); color: var(--white); }
.btn-inv-light:hover { background: rgba(255,255,255,0.12); color: var(--white); }
.btn-inv-dark { display: inline-block; margin-top: 1.5rem; padding: 10px 26px; font-size: 0.78rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; border-radius: 3px; text-decoration: none; transition: all 0.2s; font-family: 'Jost', sans-serif; border: 1.5px solid var(--navy); color: var(--navy-dark); }
.btn-inv-dark:hover { background: rgba(17,26,54,0.1); color: var(--navy-dark); }

/* ── GALLERY SECTION ───────────────────────────────────── */
.gallery-section { background: var(--ivory); }
.gallery-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; margin-top: 3rem; }
.gallery-item { border-radius: 4px; overflow: hidden; aspect-ratio: 1; position: relative; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.gallery-item:hover img { transform: scale(1.04); }

/* ── ANNOUNCEMENTS / BLOG ───────────────────────────────── */
.blog-section { background: var(--cream); }
.posts-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.75rem; margin-top: 3rem; }
.post-card { background: var(--white); border: 1px solid var(--gold-pale); border-radius: 6px; overflow: hidden; transition: transform 0.2s, box-shadow 0.2s; }
.post-card:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(30,45,90,0.1); }
.post-thumbnail { height: 200px; overflow: hidden; background: var(--navy); }
.post-thumbnail img { width: 100%; height: 100%; object-fit: cover; }
.post-thumbnail-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.post-thumbnail-placeholder svg { opacity: 0.3; }
.post-body { padding: 1.5rem; }
.post-meta { font-size: 0.72rem; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.5rem; }
.post-meta span { color: var(--gold); }
.post-body h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.25rem; font-weight: 600; color: var(--navy); margin-bottom: 0.5rem; line-height: 1.3; }
.post-body h3 a { color: var(--navy); text-decoration: none; }
.post-body h3 a:hover { color: var(--crimson); }
.post-excerpt { font-size: 0.85rem; color: var(--text-mid); line-height: 1.65; margin: 0 0 1rem; }
.post-readmore { font-size: 0.78rem; font-weight: 600; color: var(--gold); text-decoration: none; letter-spacing: 0.05em; }
.post-readmore:hover { color: var(--crimson); }

/* Single Post */
.single-post-wrap { max-width: 800px; margin: 0 auto; padding: 120px 5% 80px; }
.single-post-header { margin-bottom: 2.5rem; }
.single-post-header h1 { color: var(--navy); margin-bottom: 0.75rem; }
.single-post-meta { font-size: 0.82rem; color: var(--text-light); margin-bottom: 1.5rem; }
.single-post-meta a { color: var(--gold); }
.single-post-thumbnail { border-radius: 6px; overflow: hidden; margin-bottom: 2.5rem; }
.single-post-thumbnail img { width: 100%; max-height: 450px; object-fit: cover; }
.entry-content h2, .entry-content h3 { color: var(--navy); margin: 2rem 0 1rem; }
.entry-content p { color: var(--text-mid); line-height: 1.8; margin-bottom: 1.2rem; }
.entry-content img { border-radius: 4px; margin: 1.5rem 0; }
.entry-content ul, .entry-content ol { padding-left: 1.5rem; margin-bottom: 1.2rem; color: var(--text-mid); }
.entry-content ul li, .entry-content ol li { margin-bottom: 0.5rem; line-height: 1.7; }
.entry-content blockquote { border-left: 4px solid var(--gold); padding: 1rem 1.5rem; margin: 1.5rem 0; background: var(--ivory); border-radius: 0 4px 4px 0; font-style: italic; color: var(--text-mid); }
.entry-content a { color: var(--gold); text-decoration: underline; }

/* ── CONTACT SECTION ────────────────────────────────────── */
.contact-section { background: var(--ivory); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.contact-details { margin-top: 2rem; display: flex; flex-direction: column; gap: 1.1rem; }
.contact-detail { display: flex; align-items: flex-start; gap: 1rem; }
.contact-icon { width: 36px; height: 36px; background: var(--navy); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.9rem; flex-shrink: 0; }
.contact-text { font-size: 0.88rem; color: var(--text-mid); line-height: 1.6; }
.contact-text strong { display: block; color: var(--navy); font-weight: 600; margin-bottom: 2px; }
.contact-quote-box { margin-top: 2rem; padding: 1.5rem; background: var(--navy); border-radius: 4px; }
.contact-quote-box p { font-family: 'Cormorant Garamond', serif; font-size: 1.25rem; font-style: italic; color: var(--gold-light); line-height: 1.55; margin: 0; }
.contact-form-box { background: var(--white); border: 1px solid var(--gold-pale); border-radius: 6px; padding: 2.5rem; }
.contact-form-box h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.55rem; color: var(--navy); margin-bottom: 1.5rem; }
.form-group { margin-bottom: 1.1rem; }
.form-group label { display: block; font-size: 0.75rem; font-weight: 600; color: var(--navy); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.4rem; }
.form-group input, .form-group textarea, .form-group select {
    width: 100%; padding: 10px 13px; border: 1px solid #ddd; border-radius: 3px;
    font-family: 'Jost', sans-serif; font-size: 0.9rem; color: var(--text);
    background: var(--cream); transition: border 0.2s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--gold); }
.form-group textarea { min-height: 110px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.wpcf7-submit, .form-submit .btn { width: 100%; }

/* ── FOOTER ─────────────────────────────────────────────── */
#site-footer { padding: 60px 5% 28px; position: relative; }
.footer-inner { max-width: 1200px; margin: 0 auto; position: relative; z-index: 1; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(201,150,42,0.2); }
.footer-brand {}
.footer-logo-row { display: flex; align-items: center; gap: 10px; margin-bottom: 1rem; }
.footer-logo-row img { height: 46px; width: 46px; object-fit: contain; border-radius: 50%; border: 1.5px solid var(--gold); }
.footer-logo-row span { font-family: 'Cormorant Garamond', serif; color: var(--white); font-size: 1.1rem; font-weight: 600; }
.footer-brand p { font-size: 0.83rem; color: rgba(255,255,255,0.48); line-height: 1.7; margin-bottom: 1.25rem; }
.social-links { display: flex; gap: 0.7rem; }
.social-link { width: 34px; height: 34px; border: 1px solid rgba(201,150,42,0.35); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.75rem; color: var(--gold-light); text-decoration: none; transition: background 0.2s; font-weight: 600; }
.social-link:hover { background: rgba(201,150,42,0.2); color: var(--gold-light); }
.footer-col h4 { font-size: 0.72rem; font-weight: 600; color: var(--gold-light); text-transform: uppercase; letter-spacing: 0.2em; margin-bottom: 1rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col ul li { margin-bottom: 0.55rem; }
.footer-col ul li a { color: rgba(255,255,255,0.5); text-decoration: none; font-size: 0.83rem; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--gold-light); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 1.5rem; flex-wrap: wrap; gap: 0.5rem; }
.footer-copy { font-size: 0.75rem; color: rgba(255,255,255,0.3); margin: 0; }
.footer-legal { font-size: 0.75rem; color: rgba(255,255,255,0.22); margin: 0; }
.footer-legal a { color: rgba(255,255,255,0.3); }

/* ── PAGE TEMPLATES ─────────────────────────────────────── */
.page-hero { padding: 140px 5% 60px; text-align: center; }
.page-hero h1 { font-family: 'Cormorant Garamond', serif; color: var(--white); font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700; }
.page-hero p { color: rgba(255,255,255,0.8); font-size: 1.1rem; max-width: 600px; margin: 1rem auto 0; }
.page-content-wrap { max-width: 900px; margin: 0 auto; padding: 80px 5%; }

/* ── SIDEBAR & WIDGETS ──────────────────────────────────── */
.has-sidebar .content-area { display: grid; grid-template-columns: 1fr 300px; gap: 3rem; }
.widget { background: var(--white); border: 1px solid var(--gold-pale); border-radius: 6px; padding: 1.5rem; margin-bottom: 1.5rem; }
.widget-title { font-family: 'Cormorant Garamond', serif; font-size: 1.15rem; color: var(--navy); margin-bottom: 1rem; padding-bottom: 0.5rem; border-bottom: 2px solid var(--gold-pale); }
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget ul li { padding: 0.4rem 0; border-bottom: 1px solid var(--gold-pale); font-size: 0.88rem; }
.widget ul li a { color: var(--text-mid); }
.widget ul li a:hover { color: var(--gold); }

/* ── SEARCH ─────────────────────────────────────────────── */
.search-form { display: flex; gap: 0; }
.search-field { flex: 1; padding: 10px 14px; border: 1px solid var(--border); border-radius: 3px 0 0 3px; font-family: 'Jost', sans-serif; background: var(--cream); }
.search-submit { padding: 10px 18px; background: var(--gold); color: var(--navy-dark); border: none; border-radius: 0 3px 3px 0; cursor: pointer; font-weight: 600; transition: background 0.2s; }
.search-submit:hover { background: var(--gold-light); }

/* ── PAGINATION ─────────────────────────────────────────── */
.pagination { display: flex; gap: 0.5rem; justify-content: center; margin-top: 3rem; }
.pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border: 1px solid var(--border); border-radius: 3px; font-size: 0.88rem; color: var(--text-mid); text-decoration: none; transition: all 0.2s; }
.pagination .page-numbers.current, .pagination .page-numbers:hover { background: var(--gold); color: var(--navy-dark); border-color: var(--gold); }

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1024px) {
    .about-grid { grid-template-columns: 1fr; gap: 3rem; }
    .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
    .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .footer-brand { grid-column: 1 / -1; }
    .impact-grid { grid-template-columns: repeat(2,1fr); }
    .has-sidebar .content-area { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .programs-grid { grid-template-columns: 1fr; }
    .events-grid { grid-template-columns: 1fr 1fr; }
    .involved-grid { grid-template-columns: 1fr; }
    .posts-grid { grid-template-columns: 1fr 1fr; }
    .gallery-grid { grid-template-columns: 1fr 1fr; }
    #primary-navigation { display: none; }
    #primary-navigation.open { display: flex; position: fixed; top: 72px; left: 0; right: 0; background: rgba(17,26,54,0.98); padding: 2rem; }
    #primary-menu { flex-direction: column; align-items: center; gap: 1.5rem; }
    .menu-toggle { display: flex; }
    .form-row { grid-template-columns: 1fr; }
    .events-header { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
    .events-grid { grid-template-columns: 1fr; }
    .posts-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr; }
    .impact-grid { grid-template-columns: 1fr 1fr; }
    .hero-mission-box { padding: 1.25rem 1.5rem; }
    .footer-top { grid-template-columns: 1fr; }
}
