/*
Theme Name: Macclesfield Junior FC
Theme URI: 
Author: Macclesfield Junior FC
Description: Official theme for Macclesfield Junior Football Club. Clean, bold, and mobile-ready.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: football, sports, responsive
Text Domain: mjfc
*/

/* ============================================================
   CSS VARIABLES
   ============================================================ */
:root {
    --navy:      #14328A;
    --navy-dark: #0d2265;
    --navy-mid:  #1a3fa8;
    --yellow:    #FFFF2D;
    --yellow-dark: #e6e600;
    --white:     #ffffff;
    --off-white: #f5f6fa;
    --grey-light: #e8eaf0;
    --grey:      #8892aa;
    --dark:      #0a0f1e;
    --font-heading: 'Barlow Condensed', sans-serif;
    --font-body:    'Nunito', sans-serif;
    --shadow: 0 4px 24px rgba(20,50,138,0.13);
    --radius: 6px;
}

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

html, body { overflow-x: hidden; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--dark);
    background: var(--white);
}

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

a { color: var(--navy); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--navy-mid); }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.15;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: var(--navy);
}

p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

ul, ol { padding-left: 1.5em; margin-bottom: 1em; }

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
}

.section-pad { padding: 70px 0; }

@media (max-width: 768px) {
    .section-pad { padding: 48px 20px; }
}

@media (max-width: 480px) {
    .section-pad { padding: 36px 10px; }
}

.text-center { text-align: center; }
.text-yellow { color: var(--yellow-dark); }
.text-navy   { color: var(--navy); }
.text-white  { color: var(--white); }

.bg-navy     { background: var(--navy); }
.bg-dark     { background: var(--dark); }
.bg-off      { background: var(--off-white); }

.visually-hidden {
    position: absolute; width: 1px; height: 1px;
    padding: 0; overflow: hidden; clip: rect(0,0,0,0);
    white-space: nowrap; border: 0;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: var(--radius);
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    border: 2px solid transparent;
    transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.1s;
    line-height: 1.3;
}
.btn:active { transform: translateY(1px); }

.btn-yellow {
    background: var(--yellow);
    color: var(--navy-dark);
    border-color: var(--yellow);
}
.btn-yellow:hover {
    background: var(--yellow-dark);
    border-color: var(--yellow-dark);
    color: var(--navy-dark);
}

.btn-navy {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}
.btn-navy:hover {
    background: var(--navy-dark);
    border-color: var(--navy-dark);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}
.btn-outline:hover {
    background: var(--white);
    color: var(--navy);
}

/* ============================================================
   SECTION HEADINGS
   ============================================================ */
.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--navy);
    margin-bottom: 10px;
}
.section-title span { color: var(--navy-mid); }

.section-subtitle {
    font-size: 1rem;
    color: var(--grey);
    max-width: 560px;
    margin: 0 auto 40px;
    font-family: var(--font-body);
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
}

.title-bar {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 40px;
}
.title-bar::after {
    content: '';
    display: block;
    flex: 1;
    height: 3px;
    background: var(--yellow);
    border-radius: 2px;
}

/* ============================================================
   HEADER & NAVIGATION
   ============================================================ */
#site-header {
    background: var(--navy);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 16px rgba(10,15,30,0.25);
    width: 100%;
    max-width: 100vw;
    ooverflow: hidden;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    gap: 20px;
}

/* Logo */
.site-branding {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 0;
}
.site-branding img {
    height: 46px;
    width: auto;
}
.site-branding .brand-text {
    display: flex;
    flex-direction: column;
}
.site-branding .brand-name {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1.1;
}
.site-branding .brand-tag {
    font-family: var(--font-body);
    font-size: 0.68rem;
    color: var(--yellow);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* Desktop nav */
/* ============================================================
   PRIMARY NAV — desktop dropdown
   ============================================================ */
#primary-nav {
    display: flex;
    align-items: center;
}

/* WordPress outputs <ul class="nav-menu"> */
#primary-nav .nav-menu {
    display: flex;
    align-items: center;
    gap: 2px;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Every top-level <li> */
#primary-nav .nav-menu > li {
    position: relative;
    list-style: none;
}

/* Top-level links */
#primary-nav .nav-menu > li > a {
    display: flex;
    align-items: center;
    gap: 5px;
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.88);
    padding: 8px 11px;
    border-radius: var(--radius);
    transition: color 0.2s, background 0.2s;
    white-space: nowrap;
    text-decoration: none;
}
#primary-nav .nav-menu > li > a:hover,
#primary-nav .nav-menu > li.current-menu-item > a,
#primary-nav .nav-menu > li.current-menu-ancestor > a,
#primary-nav .nav-menu > li.current_page_item > a {
    color: var(--yellow);
    background: rgba(255,255,255,0.07);
}

/* Dropdown arrow — WordPress adds .menu-item-has-children */
#primary-nav .nav-menu > li.menu-item-has-children > a::after {
    content: '▾';
    font-size: 0.65rem;
    opacity: 0.7;
    transition: transform 0.2s;
    display: inline-block;
    margin-left: 2px;
}
#primary-nav .nav-menu > li.menu-item-has-children:hover > a::after {
    transform: rotate(180deg);
}

/* Dropdown <ul class="sub-menu"> */
#primary-nav .nav-menu > li > .sub-menu {
    position: absolute;
    top: calc(100%);
    left: 50%;
    transform: translateX(-50%) translateY(-6px);
    background: var(--navy-dark);
    border: 1px solid rgba(255,255,255,0.1);
    border-top: 3px solid var(--yellow);
    border-radius: 0 0 var(--radius) var(--radius);
    min-width: 200px;
    list-style: none;
    margin: 0;
    padding: 6px 0;
    box-shadow: 0 12px 32px rgba(0,0,0,0.4);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
    z-index: 9999;
}
#primary-nav .nav-menu > li:hover > .sub-menu,
#primary-nav .nav-menu > li:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

/* Dropdown items */
#primary-nav .nav-menu > li > .sub-menu > li {
    list-style: none;
}
#primary-nav .nav-menu > li > .sub-menu > li > a {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.83rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255,255,255,0.82);
    padding: 9px 18px;
    text-decoration: none;
    transition: color 0.15s, background 0.15s;
    white-space: nowrap;
}
#primary-nav .nav-menu > li > .sub-menu > li > a:hover {
    color: var(--yellow);
    background: rgba(255,255,255,0.06);
}

/* ============================================================
   MOBILE NAV DROPDOWN
   ============================================================ */
#mobile-nav .mobile-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}
#mobile-nav .mobile-menu li {
    list-style: none;
}
#mobile-nav .mobile-menu > li > a,
#mobile-nav .mobile-menu > li > .sub-menu > li > a {
    display: block;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255,255,255,0.9);
    padding: 11px 24px;
    text-decoration: none;
    transition: color 0.2s, background 0.2s;
}
#mobile-nav .mobile-menu > li > a:hover,
#mobile-nav .mobile-menu > li.current-menu-item > a {
    color: var(--yellow);
    background: rgba(255,255,255,0.05);
}
/* Sub-menu in mobile — show inline indented */
#mobile-nav .mobile-menu .sub-menu {
    list-style: none;
    margin: 0 0 4px 20px;
    padding: 4px 0;
    background: rgba(0,0,0,0.2);
    border-left: 3px solid var(--yellow);
}
#mobile-nav .mobile-menu .sub-menu li a {
    font-size: 0.88rem;
    padding: 9px 20px;
    color: rgba(255,255,255,0.75);
}
#mobile-nav .mobile-menu .sub-menu li a:hover {
    color: var(--yellow);
}

/* ============================================================
   HAMBURGER BUTTON
   ============================================================ */

#menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    flex-direction: column;
    gap: 5px;
    border-radius: var(--radius);
    transition: background 0.2s;
}
#menu-toggle:hover { background: rgba(255,255,255,0.08); }
#menu-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}
#menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
#menu-toggle.open span:nth-child(2) { opacity: 0; }
#menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav drawer */
#mobile-nav {
    display: none;
    background: var(--navy-dark);
    border-top: 3px solid var(--yellow);
    padding: 16px 0 20px;
}
#mobile-nav.open { display: block; }
#mobile-nav ul { list-style: none; padding: 0; margin: 0; }
#mobile-nav ul li a {
    display: block;
    padding: 11px 24px;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255,255,255,0.9);
    transition: color 0.2s, background 0.2s;
}
#mobile-nav ul li a:hover,
#mobile-nav ul .current-menu-item > a {
    color: var(--yellow);
    background: rgba(255,255,255,0.05);
}

/* ============================================================
   HERO BANNER
   ============================================================ */
.hero {
    position: relative;
    background: var(--navy-dark);
    min-height: 420px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('');
    background-size: cover;
    background-position: center;
    opacity: 0.22;
}

/* Diagonal accent stripe */
.hero::after {
    content: '';
    position: absolute;
    right: -60px;
    top: 0;
    bottom: 0;
    width: 340px;
    background: var(--yellow);
    opacity: 0.08;
    transform: skewX(-8deg);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 640px;
    padding: 60px 0;
}

.hero-eyebrow {
    display: inline-block;
    background: var(--yellow);
    color: var(--navy-dark);
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 3px;
    margin-bottom: 16px;
}

.hero h1 {
    font-size: clamp(2.4rem, 5.5vw, 4rem);
    color: var(--white);
    margin-bottom: 16px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.hero h1 span { color: var(--yellow); }

.hero p {
    color: rgba(255,255,255,0.8);
    font-size: 1.1rem;
    margin-bottom: 28px;
    max-width: 480px;
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ============================================================
   YELLOW TICKER / ANNOUNCEMENT BAR
   ============================================================ */
.ticker-bar {
    background: var(--yellow);
    padding: 8px 0;
    position: relative;
    width: 100%;
    overflow: hidden;
}
.ticker-track {
    display: block;
    width: 100%;
    overflow: hidden;
}
.ticker-inner {
    display: inline-block;
    animation: ticker-scroll 30s linear infinite;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--navy-dark);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    will-change: transform;
    white-space: nowrap;
}
.ticker-inner span { margin: 0 32px; }
.ticker-inner .divider { color: var(--navy); opacity: 0.4; }

@keyframes ticker-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ============================================================
   CARDS
   ============================================================ */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform 0.25s, box-shadow 0.25s;
    border: 1px solid var(--grey-light);
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(20,50,138,0.15);
}

.card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: var(--grey-light);
}

.card-body {
    padding: 20px 22px 24px;
}
.card-body h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--navy);
}
.card-body p {
    font-size: 0.92rem;
    color: var(--grey);
    margin-bottom: 14px;
}
.card-meta {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--grey);
    margin-bottom: 6px;
}

/* ============================================================
   NEWS / POSTS
   ============================================================ */
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; }

.post-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    border: 1px solid var(--grey-light);
    transition: transform 0.25s, box-shadow 0.25s;
    display: flex;
    flex-direction: column;
}
.post-card:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(20,50,138,0.15); }

.post-card-thumb {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    background: var(--grey-light);
}
.post-card-body {
    padding: 20px 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.post-card-date {
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--navy-mid);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 6px;
}
.post-card-title {
    font-size: 1.15rem;
    color: var(--navy);
    margin-bottom: 10px;
}
.post-card-excerpt {
    font-size: 0.92rem;
    color: var(--grey);
    flex: 1;
    margin-bottom: 16px;
}
.post-card-link {
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--navy);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.post-card-link::after { content: '→'; }
.post-card-link:hover { color: var(--navy-mid); }

/* ============================================================
   STAT BLOCKS (scores / numbers)
   ============================================================ */
.stats-strip {
    background: var(--navy);
    padding: 40px 0;
}
.stats-strip .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 20px;
    text-align: center;
}
.stat-block {}
.stat-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: var(--yellow);
    line-height: 1;
    margin-bottom: 4px;
}
.stat-label {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: rgba(255,255,255,0.65);
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

/* ============================================================
   HIGHLIGHT STRIP (e.g. Join the club)
   ============================================================ */
.highlight-strip {
    background: var(--yellow);
    padding: 50px 0;
    position: relative;
    overflow: hidden;
}
.highlight-strip::before {
    content: '⚽';
    position: absolute;
    top: 50%;
    transform: translateY(-50%) rotate(-20deg);
    font-size: 300px;
    line-height: 1;
    opacity: 0.08;
    pointer-events: none;
    z-index: 0;
    filter: grayscale(100%);
}

.highlight-strip::after {
    content: '⚽';
    position: absolute;
    right: -10px;
    bottom: -50px;
    transform: rotate(15deg);
    font-size: 120px;
    line-height: 1;
    opacity: 0.06;
    pointer-events: none;
    z-index: 0;
    filter: grayscale(100%);
}
.highlight-strip-inner {
    position: relative;
    z-index: 1;
}
@media (max-width: 768px) {
	.highlight-strip::before {
		top:17%;
		font-size:180px
	}
	
}
.highlight-strip .container {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}
.highlight-strip h2 {
    color: var(--navy-dark);
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    margin-bottom: 6px;
}
.highlight-strip p {
    color: var(--navy);
    margin-bottom: 0;
    font-size: 1rem;
}

/* ============================================================
   TEAMS TABLE / TEAM TILES
   ============================================================ */
.teams-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}
.team-tile {
    background: var(--navy);
    border-radius: var(--radius);
    padding: 24px 20px;
    text-align: center;
    color: var(--white);
    border-bottom: 4px solid var(--yellow);
    transition: transform 0.2s, box-shadow 0.2s;
}
.team-tile:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(20,50,138,0.25);
}
.team-tile h3 {
    font-size: 1.4rem;
    color: var(--yellow);
    margin-bottom: 6px;
}
.team-tile p { font-size: 0.88rem; color: rgba(255,255,255,0.7); margin: 0; }

/* ============================================================
   PAGE CONTENT (single pages / posts)
   ============================================================ */
.page-hero {
    background: var(--navy);
    padding: 50px 0 44px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 4px;
    background: var(--yellow);
}
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 4vw, 3rem); }
.page-hero .breadcrumb {
    margin-top: 10px;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
}
.page-hero .breadcrumb a { color: var(--yellow); }

.page-content-wrap {
    padding: 60px 0;
}
.page-content-inner {
    max-width: 780px;
    margin: 0 auto;
}
.entry-content h2 { font-size: 1.8rem; margin: 1.5em 0 0.5em; }
.entry-content h3 { font-size: 1.4rem; margin: 1.2em 0 0.4em; }
.entry-content p  { margin-bottom: 1.1em; }
.entry-content ul,
.entry-content ol { margin-bottom: 1.1em; }
.entry-content a  { color: var(--navy-mid); text-decoration: underline; }
.entry-content a:hover { color: var(--navy-dark); }

/* ============================================================
   SIDEBAR
   ============================================================ */
.content-with-sidebar {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    align-items: start;
}

.widget {
    background: var(--off-white);
    border-radius: var(--radius);
    padding: 22px 22px 24px;
    margin-bottom: 28px;
    border-left: 4px solid var(--navy);
}
.widget-title {
    font-size: 1rem;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--navy);
    margin-bottom: 14px;
    font-weight: 700;
}
.widget ul { list-style: none; padding: 0; margin: 0; }
.widget ul li {
    border-bottom: 1px solid var(--grey-light);
    padding: 7px 0;
    font-size: 0.92rem;
}
.widget ul li:last-child { border-bottom: none; }
.widget ul li a { color: var(--dark); }
.widget ul li a:hover { color: var(--navy); }

/* ============================================================
   FORMS
   ============================================================ */
.wpcf7-form, .comment-form {
    max-width: 560px;
}
.form-row {
    margin-bottom: 18px;
}
label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--navy);
    margin-bottom: 5px;
}
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="date"],
textarea,
select {
    width: 100%;
    padding: 10px 14px;
    border: 2px solid var(--grey-light);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--dark);
    background: var(--white);
    transition: border-color 0.2s, box-shadow 0.2s;
}
input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--navy);
    box-shadow: 0 0 0 3px rgba(20,50,138,0.12);
}
textarea:not(.inline-form-card .wpcf7 textarea) { min-height: 130px; resize: vertical; }

/* ============================================================
   FOOTER
   ============================================================ */
/* ============================================================
   FOOTER
   ============================================================ */
#site-footer {
    background: var(--dark);
    color: rgba(255,255,255,0.7);
}

.footer-top {
    padding: 56px 0 48px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.1fr 1.3fr;
    gap: 40px;
}

/* Brand column */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    margin-bottom: 16px;
}
.footer-tagline {
    font-size: 0.88rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.55);
    max-width: 260px;
    margin-bottom: 20px;
}

/* Social buttons */
.footer-social {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.footer-social-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.07);
    color: rgba(255,255,255,0.75);
    border-radius: 6px;
    padding: 7px 14px;
    font-size: 0.82rem;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    width: fit-content;
}
.footer-social-btn:hover {
    background: var(--yellow);
    color: var(--navy-dark);
}

/* Column titles */
.footer-col-title {
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--yellow);
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* Quick links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.footer-links li a {
    color: rgba(255,255,255,0.6);
    font-size: 0.88rem;
    text-decoration: none;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
}
.footer-links li a::before {
    content: '›';
    color: var(--yellow);
    font-size: 1rem;
    line-height: 1;
}
.footer-links li a:hover { color: var(--yellow); }

/* Club info list */
.footer-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.footer-info-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.86rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.5;
}
.footer-info-icon {
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 1px;
}

/* Contact list */
.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0 0 18px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.footer-contact-list li {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.footer-contact-label {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.4);
}
.footer-contact-email {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,0.75);
    font-size: 0.82rem;
    text-decoration: none;
    transition: color 0.2s;
    word-break: break-all;
}
.footer-contact-email:hover { color: var(--yellow); }
.footer-contact-email svg { flex-shrink: 0; opacity: 0.6; }
.footer-contact-btn {
    display: inline-block;
    background: var(--yellow);
    color: var(--navy-dark);
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    padding: 8px 18px;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}
.footer-contact-btn:hover {
    background: var(--white);
    color: var(--navy-dark);
}

/* Bottom bar */
.footer-bottom {
    background: rgba(0,0,0,0.25);
    padding: 16px 0;
}
.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}
.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.35);
    margin: 0;
}
.footer-bottom-right {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.35);
}

/* Legacy social-links (keep for any leftover references) */
.social-links { display: flex; gap: 10px; }
.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.7);
    transition: background 0.2s, color 0.2s;
}
.social-links a:hover {
    background: var(--yellow);
    color: var(--navy-dark);
}

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 44px;
    flex-wrap: wrap;
}
.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    border-radius: var(--radius);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.92rem;
    border: 2px solid var(--grey-light);
    color: var(--navy);
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.pagination a:hover,
.pagination .current {
    background: var(--navy);
    border-color: var(--navy);
    color: var(--white);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
    }
    .footer-tagline { max-width: 100%; }
    .content-with-sidebar {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    #primary-nav { display: none; }
    #menu-toggle  { display: flex; }

    .hero-content { padding: 44px 0; }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
        gap: 4px;
    }
    .highlight-strip .container {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .stats-strip .container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================================
   WORDPRESS CORE CLASSES
   ============================================================ */
.wp-caption { max-width: 100%; margin-bottom: 1em; }
.wp-caption-text { font-size: 0.85rem; color: var(--grey); text-align: center; margin-top: 4px; }
.alignleft  { float: left; margin: 0 20px 10px 0; }
.alignright { float: right; margin: 0 0 10px 20px; }
.aligncenter { display: block; margin: 0 auto 10px; }
.alignnone { display: block; }
img.alignleft,  img.alignright { max-width: 50%; }
.sticky {}
.bypostauthor {}
.screen-reader-text {
    position: absolute !important; height: 1px; width: 1px;
    overflow: hidden; clip: rect(1px,1px,1px,1px); word-wrap: normal !important;
}


/* ============================================================
   TEAMS PAGE
   ============================================================ */

/* Responsive grid - 3 cols desktop, 2 tablet, 1 mobile */
.team-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

/* Individual card */
.team-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--grey-light);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s, box-shadow 0.25s;
}
.team-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(20,50,138,0.15);
}

/* Team photo */
.team-card-photo {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--navy);
}
.team-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s;
}
.team-card:hover .team-card-photo img {
    transform: scale(1.04);
}

/* Placeholder when no photo set */
.team-card-photo--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.25);
    display:none;
}

/* Card body */
.team-card-body {
    padding: 20px 22px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Header: badge + team name */
.team-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.team-card-header-text {
    flex: 1;
    min-width: 0;
}

.team-card-kit-thumb {
    flex-shrink: 0;
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: center;
}

.kit-figure {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
}

.kit-figure svg {
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
    display: block;
}

.kit-figure-label {
    font-family: var(--font-heading);
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--grey);
}

.team-card-kit-thumb img {
    max-width: 64px;
    max-height: 64px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.team-card-badge {
    display: inline-block;
    background: var(--navy);
    color: var(--yellow);
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 3px;
    margin-bottom: 8px;
}

.team-card-name {
    font-size: 1.4rem;
    color: var(--navy);
    margin: 0;
    line-height: 1.1;
}

/* Details list */
.team-card-details {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}
.team-card-details li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--dark);
    line-height: 1.4;
    border-bottom: 1px solid var(--grey-light);
    padding-bottom: 8px;
}
.team-card-details li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.team-detail-icon {
    flex-shrink: 0;
    font-size: 0.95rem;
    margin-top: 1px;
}
.team-card-details strong {
    color: var(--navy);
    font-weight: 700;
}

/* Kit image area (from post content) */
.team-card-kit {
    border-top: 2px solid var(--grey-light);
    padding-top: 14px;
    text-align: center;
}
.team-card-kit img {
    max-height: 120px;
    width: auto;
    margin: 0 auto;
    display: block;
}
.team-card-kit p { margin: 0; }

/* Responsive breakpoints */
@media (max-width: 960px) {
    .team-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 560px) {
    .team-cards-grid {
        grid-template-columns: 1fr;
    }
}

.team-card-description {
    font-size: 0.88rem;
    color: var(--grey);
    line-height: 1.6;
    border-top: 1px solid var(--grey-light);
    padding-top: 14px;
    margin-top: 4px;
}
.team-card-description p {
    margin-bottom: 0.5em;
}
.team-card-description p:last-child {
    margin-bottom: 0;
}

/* Team social links */
.team-card-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px 18px 14px;
    border-top: 1px solid var(--grey-light);
    background: var(--off-white);
}
.team-social-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 20px;
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    text-decoration: none;
    transition: opacity 0.2s, transform 0.15s;
}
.team-social-btn:hover {
    opacity: 0.85;
    transform: translateY(-1px);
}
.team-social-btn--fb {
    background: #1877f2;
    color: #fff;
}
.team-social-btn--ig {
    background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af);
    color: #fff;
}
.team-social-btn--tw {
    background: #000;
    color: #fff;
}
.team-social-btn--wa {
    background: #25d366;
    color: #fff;
}

/* ============================================================
   TEAMS JUMP NAV
   ============================================================ */
.teams-jump-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 44px;
    padding: 16px 20px;
    background: var(--off-white);
    border-radius: var(--radius);
    border-left: 4px solid var(--navy);
}

.teams-jump-label {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--grey);
    margin-right: 4px;
}

.teams-jump-btn {
    display: inline-block;
    padding: 7px 16px;
    background: var(--navy);
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius);
    border: 2px solid var(--navy);
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    text-decoration: none;
}

.teams-jump-btn:hover {
    background: var(--yellow);
    color: var(--navy-dark);
    border-color: var(--yellow);
}

@media (max-width: 480px) {
    .teams-jump-nav {
        gap: 8px;
    }
    .teams-jump-btn {
        font-size: 0.82rem;
        padding: 6px 12px;
    }
}

.teams-age-group {
    scroll-margin-top: 90px;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.form-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--grey-light);
    border-top: 4px solid var(--navy);
    margin-bottom: 36px;
    overflow: hidden;
}

.form-card-header {
    background: var(--navy);
    padding: 22px 28px;
}

.form-card-header h3 {
    color: var(--yellow);
    font-size: 1.4rem;
    margin-bottom: 4px;
}

.form-card-header p {
    color: rgba(255,255,255,0.75);
    font-size: 0.92rem;
    margin: 0;
}

/* Style the CF7 form inside the card */
.form-card .wpcf7 {
    padding: 28px;
}

.form-card .wpcf7 p {
    margin-bottom: 16px;
}

.form-card .wpcf7 label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--navy);
    margin-bottom: 5px;
}

.form-card .wpcf7 input[type="text"],
.form-card .wpcf7 input[type="email"],
.form-card .wpcf7 input[type="tel"],
.form-card .wpcf7 textarea,
.form-card .wpcf7 select {
    width: 100%;
    padding: 10px 14px;
    border: 2px solid var(--grey-light);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--dark);
    background: var(--off-white);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-card .wpcf7 input:focus,
.form-card .wpcf7 textarea:focus {
    outline: none;
    border-color: var(--navy);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(20,50,138,0.1);
}

.form-card .wpcf7 input[type="submit"] {
    background: var(--navy);
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 12px 32px;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    width: auto;
}

.form-card .wpcf7 input[type="submit"]:hover {
    background: var(--navy-dark);
}

.form-card .wpcf7 input[type="submit"]:active {
    transform: translateY(1px);
}

/* ============================================================
   HIGHLIGHT STRIP WITH FORM
   ============================================================ */
.highlight-strip--with-form {
    padding: 40px 0;
}

.highlight-strip-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

/* Left text side */
.highlight-strip-text h2 {
    color: var(--navy-dark);
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    margin-bottom: 12px;
}

.highlight-strip-text p {
    color: var(--navy);
    font-size: 1rem;
    margin-bottom: 16px;
    max-width: 380px;
}

.highlight-strip-link {
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--navy-dark);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: opacity 0.2s;
}
.highlight-strip-link:hover {
    opacity: 0.7;
    color: var(--navy-dark);
}

/* Right form card */
.inline-form-card {
    background: var(--navy);
    border-radius: var(--radius);
    padding: 20px 22px 18px;
    box-shadow: 0 8px 32px rgba(10,15,30,0.2);
}

.inline-form-card h3 {
    color: var(--yellow);
    font-size: 1.3rem;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 2px solid rgba(255,255,255,0.1);
}

.inline-form-card .wpcf7 label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--yellow);
    margin-bottom: 4px;
}

.inline-form-card .wpcf7 input[type="date"] {
    width: 100%;
    padding: 8px 12px;
    border: 2px solid rgba(255,255,255,0.15);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--white);
    background: rgba(255,255,255,0.08);
    color-scheme: dark;
    box-sizing: border-box;
    height: auto;
    line-height: normal;
    -webkit-appearance: none;
    appearance: none;
	height: 40px;
    min-height: unset;
    max-height: unset;
}

.inline-form-card .wpcf7 form p {
    margin-bottom: 0;
    align-self: start;
}

.inline-form-card .wpcf7 input[type="text"],
.inline-form-card .wpcf7 input[type="email"],
.inline-form-card .wpcf7 input[type="tel"],
.inline-form-card .wpcf7 textarea {
    width: 100%;
    padding: 8px 12px;
    border: 2px solid rgba(255,255,255,0.15);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--white);
    background: rgba(255,255,255,0.08);
    transition: border-color 0.2s, background 0.2s;
}

.inline-form-card .wpcf7 textarea {
	height:40px;
}

.inline-form-card .wpcf7 input::placeholder,
.inline-form-card .wpcf7 textarea::placeholder {
    color: rgba(255,255,255,0.4);
}

.inline-form-card .wpcf7 input:focus,
.inline-form-card .wpcf7 textarea:focus {
    outline: none;
    border-color: var(--yellow);
    background: rgba(255,255,255,0.12);
}

.inline-form-card .wpcf7 input[type="submit"] {
    width: 100%;
    background: var(--yellow);
    color: var(--navy-dark);
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 13px 24px;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    margin-top: 4px;
}

.inline-form-card .wpcf7 input[type="submit"]:hover {
    background: var(--yellow-dark);
}

.inline-form-card .wpcf7 input[type="submit"]:active {
    transform: translateY(1px);
}

/* Validation messages */
.inline-form-card .wpcf7-not-valid-tip {
    color: #ffcc00;
    font-size: 0.8rem;
}

.inline-form-card .wpcf7-response-output {
    border-color: var(--yellow) !important;
    color: var(--yellow);
    font-size: 0.88rem;
    margin-top: 12px;
    padding: 8px 14px !important;
    border-radius: var(--radius);
    background: rgba(255,255,255,0.06);
}

/* Responsive */
@media (max-width: 768px) {
    .highlight-strip-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .highlight-strip-text p {
        max-width: 100%;
    }
}

.highlight-strip--with-form {
    overflow: visible;
}

.highlight-strip--with-form .container {
    display: block;
}

.iinline-form-card .wpcf7 input[type="date"] {
    width: 100%;
    padding: 10px 14px;
    border: 2px solid rgba(255,255,255,0.15);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--white);
    background: rgba(255,255,255,0.08);
    color-scheme: dark;
}

.inline-form-card .wpcf7 input[type="submit"].btn-navy {
    background: var(--yellow) !important;
    color: var(--navy-dark) !important;
    width: 100%;
    margin-top: 4px;
}

.inline-form-card .wpcf7 input[type="submit"].btn-navy:hover {
    background: var(--yellow-dark) !important;
}
.inline-form-card .wpcf7 form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 16px;
}

.inline-form-card .wpcf7 form p {
    margin-bottom: 0;
}

.inline-form-card .wpcf7 form p:nth-last-of-type(2), .inline-form-card .wpcf7-response-output {
    grid-column: 1 / -1;
}

.inline-form-card .wpcf7 form p:last-of-type {
    grid-column: 1 / -1;
    margin-top: 4px;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-history {
    background: var(--navy);
    border-radius: var(--radius);
    padding: 36px 40px;
    margin-bottom: 48px;
    position: relative;
    overflow: hidden;
}

.about-history::before {
    content: '⚽';
    position: absolute;
    right: 24px;
    top: 16px;
    font-size: 5rem;
    opacity: 0.06;
    line-height: 1;
}

.about-history h2 {
    color: var(--yellow);
    margin-bottom: 16px;
}

.about-history p {
    color: rgba(255,255,255,0.85);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 0;
}

.about-where {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-bottom: 48px;
    align-items: start;
}

.about-where-details {
    background: var(--off-white);
    border-radius: var(--radius);
    padding: 28px 32px;
    border-left: 4px solid var(--navy);
}

.about-where-details h2 {
    color: var(--navy);
    margin-bottom: 16px;
}

.about-where-details ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.about-where-details ul li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--dark);
    padding-bottom: 12px;
    border-bottom: 1px solid var(--grey-light);
}

.about-where-details ul li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.about-map {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--grey-light);
}

.about-map iframe {
    display: block;
    width: 100%;
    height: 340px;
    border: none;
}

@media (max-width: 768px) {
    .about-where {
        grid-template-columns: 1fr;
    }
    .about-history {
        padding: 24px 22px;
    }
}

/* ============================================================
   CLUB CONTACTS
   ============================================================ */
.contacts-section {
    margin-bottom: 8px;
}

/* Welfare officer — full width highlighted card */
.contact-card--welfare {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    background: var(--navy) !important;
    border-radius: var(--radius);
    padding: 28px 32px;
    margin-bottom: 28px;
    border: 3px solid var(--yellow) !important;
    border-top: 3px solid var(--yellow) !important;
    position: relative;
    overflow: hidden;
}

.welfare-shield-bg {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 100px;
    height: 100px;
    opacity: 0.18;
    pointer-events: none;
}

.welfare-shield-bg svg {
    width: 100%;
    height: 100%;
}

.contact-card--welfare .contact-card-icon {
    font-size: 2.4rem;
    flex-shrink: 0;
    background: var(--yellow);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-card--welfare .contact-card-role {
    color: var(--yellow) !important;
}

.contact-card--welfare .contact-card-name {
    color: rgba(255,255,255,0.75) !important;
}

.contact-card--welfare .contact-card-welfare-note {
    color: rgba(255,255,255,0.75);
    font-size: 0.9rem;
    margin: 6px 0 12px;
    max-width: 560px;
}

.contact-card--welfare .contact-card-link {
    color: var(--yellow) !important;
}

.contact-card--welfare .contact-card-link:hover {
    color: var(--white);
}

/* Contacts grid */
.contacts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

/* Standard contact card */
.contact-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 22px 22px 24px;
    box-shadow: var(--shadow);
    border: 1px solid var(--grey-light);
    border-top: 4px solid var(--navy);
    display: flex;
    gap: 16px;
    align-items: flex-start;
    transition: transform 0.2s, box-shadow 0.2s;
}

.contact-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(20,50,138,0.13);
}

.contact-card-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: var(--off-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-card-body {
    flex: 1;
    min-width: 0;
}

.contact-card-role {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--navy);
    margin-bottom: 3px;
}

.contact-card-name {
    font-size: 1.1rem;
    color: var(--dark);
    margin: 0 0 10px;
}

.contact-card-details {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.contact-card-link {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--navy);
    word-break: break-all;
    transition: color 0.2s;
}

.contact-card-link:hover {
    color: var(--navy-mid);
}

@media (max-width: 600px) {
    .contact-card--welfare {
        flex-direction: column;
        gap: 16px;
        padding: 22px 20px;
    }
    .contacts-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   CONTACT FORM TABS
   ============================================================ */
.form-tabs {
    margin-bottom: 32px;
}

.form-tab-buttons {
    display: flex;
    gap: 0;
    border-bottom: 3px solid var(--navy);
    margin-bottom: 0;
}

.form-tab-btn {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 14px 32px;
    border: none;
    background: var(--off-white);
    color: var(--grey);
    cursor: pointer;
    border-radius: var(--radius) var(--radius) 0 0;
    border: 2px solid var(--grey-light);
    border-bottom: none;
    margin-bottom: -3px;
    transition: background 0.2s, color 0.2s;
    position: relative;
}

.form-tab-btn:hover {
    background: var(--grey-light);
    color: var(--navy);
}

.form-tab-btn.active {
    background: var(--navy);
    color: var(--yellow);
    border-color: var(--navy);
    z-index: 1;
}

.form-tab-panel {
    display: none;
    border: 2px solid var(--navy);
    border-top: none;
    border-radius: 0 0 var(--radius) var(--radius);
    overflow: hidden;
}

.form-tab-panel.active {
    display: block;
}

@media (max-width: 560px) {
    .form-tab-buttons {
        flex-direction: column;
        border-bottom: none;
    }
    .form-tab-btn {
        border-radius: var(--radius);
        border: 2px solid var(--grey-light);
        margin-bottom: 4px;
    }
    .form-tab-btn.active {
        border-color: var(--navy);
    }
    .form-tab-panel {
        border: 2px solid var(--navy);
        border-radius: var(--radius);
    }
}
/* ============================================================
   VOLUNTEERING PAGE
   ============================================================ */

/* Hero */
.vol-hero-content {
    max-width: 640px;
    padding: 60px 0;
    margin: 0 auto;
}
.vol-hero-content p {
    color: rgba(255,255,255,0.82);
    font-size: 1.1rem;
    margin-bottom: 28px;
    max-width: 520px;
    margin-left:auto;
    margin-right:auto;
}
.vol-hero {
    text-align: center;
    min-height: 360px;
    display: flex;
    align-items: center;
}

.vol-hero .container {
    width: 100%;
}
.vol-hero-content .btn {
    display: inline-block;
}

/* Why volunteer grid */
.vol-why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.vol-why-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 28px 22px;
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid var(--grey-light);
    border-top: 4px solid var(--navy);
    transition: transform 0.2s, box-shadow 0.2s;
}
.vol-why-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(20,50,138,0.13);
}
.vol-why-icon {
    font-size: 2.4rem;
    margin-bottom: 14px;
    line-height: 1;
}
.vol-why-card h3 {
    font-size: 1.1rem;
    color: var(--navy);
    margin-bottom: 8px;
}
.vol-why-card p {
    font-size: 0.9rem;
    color: var(--grey);
    margin: 0;
}

/* Roles grid */
.vol-roles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.vol-role-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
    border: 1px solid var(--grey-light);
    display: flex;
    gap: 16px;
    align-items: flex-start;
    transition: transform 0.2s, box-shadow 0.2s;
}
.vol-role-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(20,50,138,0.13);
}
.vol-role-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: var(--navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.vol-role-body h3 {
    font-size: 1.1rem;
    color: var(--navy);
    margin-bottom: 6px;
}
.vol-role-body p {
    font-size: 0.88rem;
    color: var(--grey);
    margin-bottom: 10px;
    line-height: 1.55;
}
.vol-role-tag {
    display: inline-block;
    background: var(--off-white);
    border: 1px solid var(--grey-light);
    color: var(--navy);
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    padding: 3px 10px;
    border-radius: 3px;
}

/* Gallery */
.vol-gallery-section {
    padding: 60px 0;
    background: var(--dark);
}
.vol-gallery-section .section-title {
    color: var(--white);
}
.vol-gallery-section .title-bar::after {
    background: var(--yellow);
}
.vol-gallery-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 4px;
    margin-top: 0;
}
.vol-gallery-item {
    aspect-ratio: 1;
    overflow: hidden;
    background: rgba(255,255,255,0.05);
}
.vol-gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s;
}
.vol-gallery-item:hover .vol-gallery-img {
    transform: scale(1.06);
}
.vol-gallery-item--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
}
.vol-gallery-placeholder {
    text-align: center;
    color: rgba(255,255,255,0.25);
}
.vol-gallery-placeholder span {
    font-size: 1.8rem;
    display: block;
    margin-bottom: 6px;
}
.vol-gallery-placeholder p {
    font-size: 0.72rem;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* Volunteer spotlight */
.vol-spotlight {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 48px;
    align-items: center;
    background: var(--navy);
    border-radius: var(--radius);
    overflow: hidden;
    padding: 40px;
    border: 3px solid var(--yellow);
}
.vol-spotlight-photo {
    aspect-ratio: 3/4;
    border-radius: var(--radius);
    overflow: hidden;
    background: rgba(255,255,255,0.08);
}
.vol-spotlight-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.vol-spotlight-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.2);
    text-align: center;
    padding: 20px;
    min-height: 280px;
}
.vol-spotlight-placeholder p {
    font-size: 0.8rem;
    margin-top: 10px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.vol-spotlight-eyebrow {
    display: inline-block;
    background: var(--yellow);
    color: var(--navy-dark);
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 3px;
    margin-bottom: 12px;
}
.vol-spotlight-name {
    font-size: 1.8rem;
    color: var(--white);
    margin-bottom: 4px;
}
.vol-spotlight-role {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    color: rgba(255,255,255,0.55);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 20px;
}
.vol-spotlight-quote {
    border-left: 4px solid var(--yellow);
    padding-left: 18px;
    font-style: italic;
    color: rgba(255,255,255,0.85);
    font-size: 1.05rem;
    line-height: 1.7;
    margin: 0 0 16px;
}
.vol-spotlight-bio {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.65);
    margin: 0;
}

/* Quotes grid */
.vol-quotes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.vol-quote-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 28px 24px 24px;
    box-shadow: var(--shadow);
    border: 1px solid var(--grey-light);
    position: relative;
    display: flex;
    flex-direction: column;
}
.vol-quote-marks {
    font-family: Georgia, serif;
    font-size: 5rem;
    line-height: 0.8;
    color: var(--yellow);
    margin-bottom: 12px;
    display: block;
}
.vol-quote-text {
    font-size: 0.95rem;
    color: var(--dark);
    line-height: 1.7;
    font-style: italic;
    flex: 1;
    margin-bottom: 20px;
}
.vol-quote-author {
    display: flex;
    align-items: center;
    gap: 12px;
    border-top: 2px solid var(--grey-light);
    padding-top: 16px;
}
.vol-quote-avatar {
    font-size: 1.6rem;
    width: 42px;
    height: 42px;
    background: var(--off-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.vol-quote-name {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.vol-quote-detail {
    display: block;
    font-size: 0.78rem;
    color: var(--grey);
    margin-top: 1px;
}

/* Timeline */
.vol-timeline {
    display: flex;
    align-items: flex-start;
    gap: 0;
    justify-content: center;
    flex-wrap: wrap;
}
.vol-timeline-step {
    flex: 1;
    min-width: 180px;
    max-width: 240px;
    text-align: center;
    padding: 0 12px;
}
.vol-timeline-number {
    width: 56px;
    height: 56px;
    background: var(--navy);
    color: var(--yellow);
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    border: 3px solid var(--yellow);
}
.vol-timeline-body h3 {
    font-size: 1rem;
    color: var(--navy);
    margin-bottom: 6px;
}
.vol-timeline-body p {
    font-size: 0.88rem;
    color: var(--grey);
    margin: 0;
    line-height: 1.55;
}
.vol-timeline-arrow {
    font-size: 1.8rem;
    color: var(--yellow);
    padding-top: 14px;
    flex-shrink: 0;
    font-weight: 700;
}

/* FAQ */
.vol-faq {
    max-width: 780px;
    margin: 0 auto;
}
.vol-faq-item {
    border-bottom: 2px solid var(--grey-light);
}
.vol-faq-item:first-child {
    border-top: 2px solid var(--grey-light);
}
.vol-faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 18px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--navy);
    text-align: left;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    transition: color 0.2s;
}
.vol-faq-question:hover { color: var(--navy-mid); }
.vol-faq-icon {
    font-size: 1.4rem;
    font-weight: 300;
    flex-shrink: 0;
    color: var(--navy);
    transition: transform 0.25s;
    line-height: 1;
}
.vol-faq-question[aria-expanded="true"] .vol-faq-icon {
    transform: rotate(45deg);
}
.vol-faq-answer {
    display: none;
    padding: 0 0 18px;
}
.vol-faq-answer.open { display: block; }
.vol-faq-answer p {
    font-size: 0.95rem;
    color: var(--grey);
    margin: 0;
    line-height: 1.7;
}

/* Form section */
.vol-form-wrap {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 48px;
    align-items: start;
}
.vol-form-intro p {
    font-size: 1rem;
    color: var(--grey);
    line-height: 1.7;
    margin-bottom: 24px;
}
.vol-form-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.vol-form-checklist li {
    font-size: 0.95rem;
    color: var(--dark);
    font-weight: 600;
}
.vol-form-card {
    box-shadow: 0 8px 32px rgba(20,50,138,0.12);
}

/* Responsive */
@media (max-width: 1024px) {
    .vol-why-grid { grid-template-columns: repeat(2, 1fr); }
    .vol-roles-grid { grid-template-columns: repeat(2, 1fr); }
    .vol-gallery-grid { grid-template-columns: repeat(3, 1fr); }
    .vol-spotlight { grid-template-columns: 220px 1fr; gap: 32px; }
}
@media (max-width: 768px) {
    .vol-quotes-grid { grid-template-columns: 1fr; }
    .vol-spotlight { grid-template-columns: 1fr; }
    .vol-spotlight-photo { aspect-ratio: 16/9; max-height: 280px; }
    .vol-form-wrap { grid-template-columns: 1fr; }
    .vol-timeline { flex-direction: column; align-items: center; }
    .vol-timeline-arrow { transform: rotate(90deg); padding: 0; }
    .vol-timeline-step { max-width: 100%; }
}
@media (max-width: 560px) {
    .vol-why-grid { grid-template-columns: 1fr; }
    .vol-roles-grid { grid-template-columns: 1fr; }
    .vol-gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   SNACK SHOP PAGE
   ============================================================ */

/* Status bar */
.snack-status-bar {
    padding: 14px 0;
    transition: background 0.3s;
}
.snack-status-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.snack-status-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0,0,0,0.15);
    padding: 6px 16px;
    border-radius: 20px;
    flex-shrink: 0;
}
.snack-status-badge strong {
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--white);
}
.snack-status-msg {
    color: rgba(255,255,255,0.92);
    font-size: 0.92rem;
    margin: 0;
    flex: 1;
}

/* Info strip */
.snack-info-strip {
    background: var(--navy);
    padding: 20px 0;
    border-bottom: 3px solid var(--yellow);
}
.snack-info-inner {
    display: flex;
    align-items: center;
    gap: 0;
    flex-wrap: wrap;
}
.snack-info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    flex: 1;
    min-width: 200px;
    padding: 0 24px;
}
.snack-info-item:first-child {
    padding-left: 0;
}
.snack-info-icon {
    font-size: 1.6rem;
    flex-shrink: 0;
    margin-top: 2px;
}
.snack-info-item strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--yellow);
    margin-bottom: 3px;
}
.snack-info-item p {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.75);
    margin: 0;
    line-height: 1.4;
}
.snack-info-divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.15);
    flex-shrink: 0;
}

/* Category header */
.snack-category {
    margin-bottom: 52px;
}
.snack-cat-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 3px solid var(--navy);
}
.snack-cat-icon {
    font-size: 1.8rem;
    width: 52px;
    height: 52px;
    background: var(--navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.snack-cat-title {
    font-size: 1.6rem;
    color: var(--navy);
    margin: 0;
}

/* Image cards grid */
.snack-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 16px;
}
.snack-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--grey-light);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}
.snack-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(20,50,138,0.13);
}
.snack-card--unavailable {
    opacity: 0.6;
    filter: grayscale(40%);
}
.snack-card-img {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}
.snack-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s;
}
.snack-card:hover .snack-card-img img {
    transform: scale(1.05);
}
.snack-unavailable-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(239,68,68,0.9);
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    padding: 3px 10px;
    border-radius: 3px;
}
.snack-card-body {
    padding: 14px 16px 16px;
}
.snack-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 6px;
}
.snack-card-name {
    font-size: 1rem;
    color: var(--navy);
    margin: 0;
    line-height: 1.3;
}
.snack-card-desc {
    font-size: 0.82rem;
    color: var(--grey);
    margin: 0 0 8px;
    line-height: 1.45;
}

/* Price */
.snack-price {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--navy);
    white-space: nowrap;
    flex-shrink: 0;
    background: var(--yellow);
    padding: 2px 10px;
    border-radius: 4px;
}

/* List items (no image) */
.snack-list {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--grey-light);
    overflow: hidden;
    margin-bottom: 16px;
}
.snack-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 20px;
    border-bottom: 1px solid var(--grey-light);
    transition: background 0.15s;
}
.snack-list-item:last-child {
    border-bottom: none;
}
.snack-list-item:hover {
    background: var(--off-white);
}
.snack-list-item--unavailable {
    opacity: 0.55;
}
.snack-list-left {
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex: 1;
}
.snack-list-name {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.snack-list-desc {
    font-size: 0.82rem;
    color: var(--grey);
}
.snack-list-right {
    flex-shrink: 0;
    text-align: right;
}
.snack-list-unavailable {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #ef4444;
    letter-spacing: 0.06em;
}

/* Dietary badges */
.snack-dietary {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 4px;
}
.snack-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 3px;
    border: 1px solid;
}
.snack-badge--veg {
    background: #f0fdf4;
    color: #16a34a;
    border-color: #bbf7d0;
}
.snack-badge--vegan {
    background: #f0fdf4;
    color: #15803d;
    border-color: #86efac;
}
.snack-badge--gf {
    background: #fefce8;
    color: #a16207;
    border-color: #fde68a;
}

/* Dietary key */
.snack-dietary-key {
    margin-top: 32px;
    padding: 16px 20px;
    background: var(--off-white);
    border-radius: var(--radius);
    border: 1px solid var(--grey-light);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.88rem;
    color: var(--grey);
}
.snack-dietary-key strong {
    color: var(--navy);
    margin-right: 4px;
}

/* Responsive */
@media (max-width: 768px) {
    .snack-info-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    .snack-info-item {
        padding: 0;
    }
    .snack-info-divider {
        display: none;
    }
    .snack-status-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}
@media (max-width: 480px) {
    .snack-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .snack-list-item {
        padding: 12px 14px;
    }
}

/* ============================================================
   OUR GROUND PAGE
   ============================================================ */

/* Intro grid */
.ground-intro-grid {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 48px;
    align-items: start;
}
.ground-intro-text p {
    font-size: 1rem;
    color: var(--grey);
    line-height: 1.8;
    margin-bottom: 16px;
}
.ground-intro-text p:last-child {
    margin-bottom: 0;
}

/* Facilities card */
.ground-facilities-card {
    background: var(--navy);
    border-radius: var(--radius);
    padding: 28px;
    border: 3px solid var(--yellow);
    position: sticky;
    top: 90px;
}
.ground-facilities-card h3 {
    color: var(--yellow);
    font-size: 1.2rem;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255,255,255,0.15);
}
.ground-facilities-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.ground-facilities-card ul li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.85);
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.ground-facilities-card ul li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.ground-facility-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
    width: 36px;
    text-align: center;
}
.ground-facilities-card strong {
    display: block;
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 2px;
}

/* Finding us */
.ground-finding-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
    align-items: start;
}
.ground-map {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--grey-light);
}
.ground-map iframe {
    display: block;
    width: 100%;
}

/* Getting there blocks */
.ground-getting-there {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.ground-info-block {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid var(--grey-light);
}
.ground-info-block:first-child {
    padding-top: 0;
}
.ground-info-block:last-child {
    border-bottom: none;
}
.ground-info-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: var(--navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}
.ground-info-block strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--navy);
    margin-bottom: 5px;
}
.ground-info-block p {
    font-size: 0.9rem;
    color: var(--grey);
    margin: 0;
    line-height: 1.6;
}
.ground-info-block a {
    color: var(--navy);
    text-decoration: underline;
}
.ground-directions-btn {
    display: inline-block;
    margin-top: 10px;
    background: var(--yellow);
    color: var(--navy-dark) !important;
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 7px 16px;
    border-radius: var(--radius);
    text-decoration: none !important;
    transition: background 0.2s;
}
.ground-directions-btn:hover {
    background: var(--navy);
    color: var(--white) !important;
}

/* Community block */
.ground-community {
    background: var(--off-white);
    border-radius: var(--radius);
    border-left: 5px solid var(--navy);
    padding: 32px 36px;
}
.ground-community-inner {
    display: flex;
    align-items: flex-start;
    gap: 24px;
}
.ground-community-icon {
    font-size: 2.4rem;
    flex-shrink: 0;
    margin-top: 4px;
}
.ground-community h2 {
    font-size: 1.4rem;
    color: var(--navy);
    margin-bottom: 10px;
}
.ground-community p {
    font-size: 0.95rem;
    color: var(--grey);
    line-height: 1.75;
    margin: 0;
}
.ground-community strong {
    color: var(--navy);
}

/* Responsive */
@media (max-width: 1024px) {
    .ground-intro-grid {
        grid-template-columns: 1fr;
    }
    .ground-facilities-card {
        position: static;
    }
    .ground-finding-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 600px) {
    .ground-community-inner {
        flex-direction: column;
        gap: 12px;
    }
    .ground-community {
        padding: 24px 20px;
    }
}

/* ============================================================
   GROUND PAGE — EVENTS & HIRE SECTION
   ============================================================ */
.ground-events-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
    align-items: start;
}
.ground-events-text p {
    font-size: 1rem;
    color: var(--grey);
    line-height: 1.8;
    margin-bottom: 16px;
}
.ground-events-subheading {
    font-size: 1rem;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    margin: 24px 0 14px;
    font-family: var(--font-heading);
}

/* Event type pills */
.ground-events-types {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}
.ground-event-type {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    background: var(--white);
    border: 1px solid var(--grey-light);
    border-top: 3px solid var(--navy);
    border-radius: var(--radius);
    padding: 14px 10px;
    text-align: center;
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--navy);
    transition: transform 0.2s, box-shadow 0.2s;
}
.ground-event-type:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}
.ground-event-type span:first-child {
    font-size: 1.6rem;
}

/* Pavilion card */
.ground-pavilion-card {
    background: var(--navy);
    border-radius: var(--radius);
    padding: 24px 26px;
    margin-bottom: 20px;
    border: 3px solid var(--yellow);
}
.ground-pavilion-card h3 {
    color: var(--yellow);
    font-size: 1.1rem;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.15);
}
.ground-pavilion-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.ground-pavilion-card ul li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.82);
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.ground-pavilion-card ul li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.ground-pavilion-card strong {
    display: block;
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1px;
}

/* Hire CTA box */
.ground-hire-cta {
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px 26px;
    box-shadow: var(--shadow);
    border: 1px solid var(--grey-light);
    text-align: center;
}
.ground-hire-cta-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 10px;
}
.ground-hire-cta h3 {
    font-size: 1.1rem;
    color: var(--navy);
    margin-bottom: 8px;
}
.ground-hire-cta p {
    font-size: 0.88rem;
    color: var(--grey);
    margin: 0;
    line-height: 1.6;
}

/* Form section */
.ground-form-wrap {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 48px;
    align-items: start;
}
.ground-form-intro p {
    font-size: 1rem;
    color: var(--grey);
    line-height: 1.7;
    margin-bottom: 24px;
}
.ground-form-card {
    box-shadow: 0 8px 32px rgba(20,50,138,0.12);
}

/* Responsive */
@media (max-width: 1024px) {
    .ground-events-grid {
        grid-template-columns: 1fr;
    }
    .ground-form-wrap {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 560px) {
    .ground-events-types {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================================
   FEATURED TEAM BANNER — Teams Page
   ============================================================ */
.featured-team-banner {
    position: relative;
    background: var(--navy);
    border-radius: var(--radius);
    border: 3px solid var(--yellow);
    padding: 24px 28px 0;
    margin-bottom: 48px;
    overflow: hidden;
}

/* Decorative kit watermark */
.featured-team-watermark {
    position: absolute;
    bottom: -10px;
    right: 24px;
    opacity: 0.06;
    pointer-events: none;
    transform: scale(2.8);
    transform-origin: bottom right;
}

/* Top: eyebrow + title */
.featured-team-top {
    margin-bottom: 12px;
}
.featured-team-eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}
.featured-team-age {
    background: var(--yellow);
    color: var(--navy);
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    padding: 3px 10px;
    border-radius: 3px;
}
.featured-team-tag {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.45);
}
.featured-team-title {
    font-size: 1.8rem;
    color: var(--white);
    margin: 0;
    line-height: 1.1;
}

/* Description */
.featured-team-body {
    margin-bottom: 20px;
}
.featured-team-preview {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.72);
    line-height: 1.7;
    margin: 0 0 8px;
}
.featured-team-full {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.72);
    line-height: 1.7;
    margin-bottom: 8px;
}
.featured-team-full p {
    margin-bottom: 10px;
}
.featured-team-full p:last-child {
    margin-bottom: 0;
}
.featured-team-readmore {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--yellow);
    transition: opacity 0.2s;
}
.featured-team-readmore:hover {
    opacity: 0.75;
}

/* Bottom info strip */
.featured-team-strip {
    display: flex;
    align-items: stretch;
    gap: 0;
    border-top: 1px solid rgba(255,255,255,0.12);
    margin: 0 -28px;
}
.featured-team-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    padding: 12px 20px;
    border-right: 1px solid rgba(255,255,255,0.10);
}
.featured-team-pill:last-child {
    border-right: none;
}
.featured-pill-icon {
    font-size: 1rem;
    flex-shrink: 0;
}
.featured-pill-label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: var(--yellow);
    margin-bottom: 1px;
}
.featured-pill-value {
    display: block;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.3;
}

@media ( max-width: 640px ) {
    .featured-team-strip {
        flex-direction: column;
        margin: 0 -28px;
    }
    .featured-team-pill {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.10);
        padding: 10px 20px;
    }
    .featured-team-pill:last-child {
        border-bottom: none;
    }
    .featured-team-title {
        font-size: 1.5rem;
    }
}

/* ============================================================
   MEET THE CLUB PAGE
   ============================================================ */

/* Intro */
.gallery-intro-grid {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 48px;
    align-items: start;
}
.gallery-intro-text p {
    font-size: 1rem;
    color: var(--grey);
    line-height: 1.8;
    margin-bottom: 16px;
}
.gallery-intro-text p:last-child { margin-bottom: 0; }
.gallery-intro-stats {
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: sticky;
    top: 90px;
}
.gallery-stat-card {
    background: var(--navy);
    border-radius: var(--radius);
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    border-left: 4px solid var(--yellow);
}
.gallery-stat-icon { font-size: 1.4rem; }
.gallery-stat-label {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.5);
}
.gallery-stat-value {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--yellow);
}

/* Safeguarding notice */
.gallery-safeguarding-wrap {
    background: var(--navy);
    border-top: 3px solid var(--yellow);
    border-bottom: 3px solid var(--yellow);
    padding: 20px 0;
}
.gallery-safeguarding {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}
.gallery-safeguarding-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
    background: var(--yellow);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}
.gallery-safeguarding-body strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--yellow);
    margin-bottom: 6px;
}
.gallery-safeguarding-body p {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.78);
    margin: 0 0 6px;
    line-height: 1.6;
}
.gallery-safeguarding-body p:last-child { margin-bottom: 0; }
.gallery-safeguarding-body a {
    color: var(--yellow);
    text-decoration: underline;
}

/* Gallery grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}
.gallery-item {
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 4px;
    position: relative;
    background: var(--off-white);
}
.gallery-item a {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s;
}
.gallery-item:hover img {
    transform: scale(1.06);
}
.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: rgba(20,50,138,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s;
}
.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}
.gallery-item-zoom {
    font-size: 1.8rem;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.4));
}
.gallery-empty {
    text-align: center;
    padding: 60px 20px;
    background: var(--off-white);
    border-radius: var(--radius);
    border: 2px dashed var(--grey-light);
    color: var(--grey);
}
.gallery-empty span { font-size: 2.5rem; display: block; margin-bottom: 12px; }
.gallery-empty p { margin: 0; font-size: 0.95rem; }

/* Lightbox */
.gallery-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.93);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}
.gallery-lightbox.active { display: flex; }
.gallery-lightbox-inner {
    max-width: 90vw;
    max-height: 88vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.gallery-lightbox-inner img {
    max-width: 100%;
    max-height: 88vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 8px 48px rgba(0,0,0,0.6);
}
.gallery-lightbox-close {
    position: fixed;
    top: 20px;
    right: 28px;
    background: none;
    border: none;
    color: var(--white);
    font-size: 2.4rem;
    cursor: pointer;
    line-height: 1;
    opacity: 0.75;
    transition: opacity 0.2s;
    z-index: 10000;
}
.gallery-lightbox-close:hover { opacity: 1; }
.gallery-lightbox-prev,
.gallery-lightbox-next {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.1);
    border: none;
    color: var(--white);
    font-size: 3rem;
    cursor: pointer;
    padding: 10px 16px;
    border-radius: 4px;
    line-height: 1;
    opacity: 0.7;
    transition: opacity 0.2s, background 0.2s;
    z-index: 10000;
}
.gallery-lightbox-prev { left: 16px; }
.gallery-lightbox-next { right: 16px; }
.gallery-lightbox-prev:hover,
.gallery-lightbox-next:hover {
    opacity: 1;
    background: rgba(255,255,255,0.2);
}

/* Season highlights */
.gallery-highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.gallery-highlight-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--grey-light);
    transition: transform 0.2s, box-shadow 0.2s;
}
.gallery-highlight-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(20,50,138,0.13);
}
.gallery-highlight-img {
    aspect-ratio: 16/9;
    overflow: hidden;
}
.gallery-highlight-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s;
}
.gallery-highlight-card:hover .gallery-highlight-img img {
    transform: scale(1.04);
}
.gallery-highlight-img--placeholder {
    background: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}
.gallery-highlight-body {
    padding: 18px 20px;
    border-top: 3px solid var(--navy);
}
.gallery-highlight-body h3 {
    font-size: 1.05rem;
    color: var(--navy);
    margin-bottom: 6px;
}
.gallery-highlight-body p {
    font-size: 0.88rem;
    color: var(--grey);
    margin: 0;
    line-height: 1.55;
}

/* Video */
.gallery-video-wrap {
    max-width: 800px;
    margin: 0 auto;
}
.gallery-video-frame {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.gallery-video-frame iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}
.gallery-video-caption {
    padding: 14px 0 0;
    text-align: center;
}
.gallery-video-caption strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}
.gallery-video-caption p {
    font-size: 0.88rem;
    color: var(--grey);
    margin: 0;
}
.gallery-video-placeholder {
    text-align: center;
    padding: 60px 20px;
    background: var(--off-white);
    border-radius: var(--radius);
    border: 2px dashed var(--grey-light);
    max-width: 600px;
    margin: 0 auto;
}
.gallery-video-placeholder span { font-size: 2.5rem; display: block; margin-bottom: 12px; }
.gallery-video-placeholder p { font-size: 0.95rem; color: var(--grey); margin: 0 0 6px; }
.gallery-video-placeholder small { font-size: 0.78rem; color: var(--grey); opacity: 0.7; }

/* Social */
.gallery-social-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 640px;
    margin: 0 auto;
}
.gallery-social-card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 24px 28px;
    border-radius: var(--radius);
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: var(--shadow);
}
.gallery-social-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.18);
}
.gallery-social-card--facebook {
    background: #1877f2;
    color: var(--white);
}
.gallery-social-card--instagram {
    background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: var(--white);
}
.gallery-social-icon {
    flex-shrink: 0;
    opacity: 0.9;
}
.gallery-social-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.gallery-social-body strong {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--white);
}
.gallery-social-body span {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.8);
}
.gallery-social-cta {
    font-family: var(--font-heading);
    font-size: 0.78rem !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: rgba(255,255,255,0.65) !important;
    margin-top: 4px;
}

/* Responsive */
@media (max-width: 1024px) {
    .gallery-intro-grid { grid-template-columns: 1fr; }
    .gallery-intro-stats { position: static; flex-direction: row; }
    .gallery-stat-card { flex: 1; }
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .gallery-highlights-grid { grid-template-columns: 1fr; }
    .gallery-social-grid { grid-template-columns: 1fr; max-width: 360px; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-lightbox-prev { left: 6px; }
    .gallery-lightbox-next { right: 6px; }
}
@media (max-width: 480px) {
    .gallery-intro-stats { flex-direction: column; }
}

@media (max-width: 768px) {
    .page-content-wrap {
        padding: 60px 20px;
    }
}

@media (max-width: 480px) {
    .page-content-wrap {
        padding: 60px 16px;
    }
}
/* ============================================================
   EVENTS PAGE
   ============================================================ */

.events-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

/* Event card */
.event-card {
    display: flex;
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--grey-light);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}
.event-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(20,50,138,0.12);
}
.event-card--cancelled { opacity: 0.6; }

/* Poster image */
.event-card-poster {
    position: relative;
    width: 180px;
    min-width: 180px;
    flex-shrink: 0;
    overflow: hidden;
    background: var(--navy);
}
.event-card-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s;
}
.event-card:hover .event-card-poster img { transform: scale(1.04); }
.event-card-poster-date {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--navy);
    border: 2px solid var(--yellow);
    border-radius: 6px;
    padding: 6px 10px;
    text-align: center;
    line-height: 1;
}
.event-card-poster-date .event-date-day {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--yellow);
    display: block;
    line-height: 1;
}
.event-card-poster-date .event-date-month {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.85);
    display: block;
    margin-top: 3px;
}

/* Fallback date block */
.event-card-date {
    background: var(--navy);
    color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 18px;
    min-width: 80px;
    flex-shrink: 0;
    border-right: 3px solid var(--yellow);
    text-align: center;
}
.event-date-day {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--yellow);
    line-height: 1;
    display: block;
}
.event-date-month {
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.8);
    display: block;
    margin-top: 3px;
}
.event-date-year {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.45);
    display: block;
    margin-top: 2px;
}

/* Card body */
.event-card-body {
    padding: 18px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
}
.event-card-top {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.event-card-top > div {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.event-type-tag {
    background: var(--navy);
    color: var(--yellow);
    font-family: var(--font-heading);
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 2px 8px;
    border-radius: 3px;
}
.event-type-tag--small { font-size: 0.65rem; padding: 2px 7px; }
.event-status-badge {
    font-family: var(--font-heading);
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--white);
    padding: 2px 8px;
    border-radius: 3px;
}
.event-card-title {
    font-size: 1.1rem;
    color: var(--navy);
    margin: 0;
    line-height: 1.25;
}
.event-card-tagline {
    font-size: 0.85rem;
    color: var(--grey);
    margin: 0;
    line-height: 1.5;
}

/* Meta */
.event-card-meta {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.event-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--grey);
}
.event-meta-item a {
    color: var(--navy);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.event-meta-icon { font-size: 0.9rem; flex-shrink: 0; }

/* Card footer — More Info btn + ticket links */
.event-card-footer {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid var(--grey-light);
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.event-more-btn {
    display: inline-block;
    background: none;
    border: 2px solid var(--navy);
    color: var(--navy);
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    padding: 6px 14px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    align-self: flex-start;
}
.event-more-btn:hover {
    background: var(--navy);
    color: var(--white);
}
.event-card-tickets {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.event-ticket-btn {
    display: block;
    background: var(--navy);
    color: var(--yellow);
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 7px 14px;
    border-radius: 4px;
    text-decoration: none;
    text-align: center;
    transition: background 0.2s, color 0.2s;
}
.event-ticket-btn:hover {
    background: var(--yellow);
    color: var(--navy);
}
.event-ticket-nolnk {
    display: block;
    font-size: 0.85rem;
    color: var(--grey);
    padding: 4px 0;
}
.event-free-note {
    font-size: 0.82rem;
    color: #16a34a;
    font-weight: 600;
    margin: 0;
}

/* Empty state */
.events-empty {
    text-align: center;
    padding: 60px 20px;
    background: var(--off-white);
    border-radius: var(--radius);
    border: 2px dashed var(--grey-light);
}
.events-empty span { font-size: 2.5rem; display: block; margin-bottom: 12px; }
.events-empty p { color: var(--grey); font-size: 0.95rem; margin: 0; }

/* Past events */
.events-past-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.event-past-card {
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--grey-light);
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0.85;
}
.event-past-date {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--grey);
}
.event-past-title { font-size: 0.95rem; color: var(--navy); margin: 4px 0 0; line-height: 1.3; }
.event-past-tagline { font-size: 0.82rem; color: var(--grey); margin: 0; line-height: 1.4; }

/* ============================================================
   EVENT MODAL
   ============================================================ */
.event-modal {
    position: fixed;
    inset: 0;
    z-index: 9998;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.event-modal.active {
    display: flex;
}
.event-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(5, 10, 30, 0.75);
    backdrop-filter: blur(3px);
    cursor: pointer;
}
.event-modal-box {
    position: relative;
    background: var(--white);
    border-radius: var(--radius);
    width: 100%;
    max-width: 640px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 24px 64px rgba(0,0,0,0.4);
    animation: modal-in 0.25s ease;
    z-index: 1;
}
@keyframes modal-in {
    from { opacity: 0; transform: translateY(20px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}
.event-modal-close {
    position: absolute;
    top: 12px;
    right: 14px;
    background: rgba(0,0,0,0.5);
    color: var(--white);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    font-size: 1.3rem;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.event-modal-close:hover { background: rgba(0,0,0,0.8); }

/* Modal poster */
.event-modal-poster {
    position: relative;
    width: 100%;
    max-height: 280px;
    overflow: hidden;
    border-radius: var(--radius) var(--radius) 0 0;
}
.event-modal-poster img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
}
.event-modal-poster-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,20,60,0.7) 0%, transparent 60%);
}
.event-modal-date {
    position: absolute;
    bottom: 16px;
    left: 20px;
}
.event-modal-date .event-date-day {
    font-size: 3rem;
    color: var(--yellow);
}
.event-modal-date .event-date-month {
    font-size: 1rem;
    color: rgba(255,255,255,0.9);
}

/* Modal body */
.event-modal-body {
    padding: 24px 28px 28px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.event-modal-header {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.event-modal-header > div {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.event-modal-title {
    font-size: 1.6rem;
    color: var(--navy);
    margin: 0;
    line-height: 1.2;
}
.event-modal-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px 18px;
    background: var(--off-white);
    border-radius: 8px;
    border-left: 3px solid var(--yellow);
}
.event-modal-content {
    font-size: 0.95rem;
    color: var(--grey);
    line-height: 1.75;
    border-top: 1px solid var(--grey-light);
    padding-top: 20px;
}
.event-modal-content p { margin-bottom: 1em; }
.event-modal-content p:last-child { margin-bottom: 0; }
.event-modal-tickets {
    border-top: 1px solid var(--grey-light);
    padding-top: 20px;
}
.event-tickets-label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--navy);
    margin-bottom: 12px;
}
.event-tickets-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.event-ticket-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--off-white);
    border-radius: 6px;
    padding: 10px 14px;
    gap: 12px;
}
.event-ticket-info {
    display: flex;
    align-items: center;
    gap: 12px;
}
.event-ticket-type { font-size: 0.9rem; font-weight: 600; color: var(--dark); }
.event-ticket-price {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--navy);
}

/* Responsive */
@media (max-width: 768px) {
    .events-grid { grid-template-columns: 1fr; }
    .events-past-grid { grid-template-columns: repeat(2, 1fr); }
    .event-card-poster { width: 140px; min-width: 140px; }
    .event-modal-body { padding: 20px; }
    .event-modal-title { font-size: 1.3rem; }
}
@media (max-width: 480px) {
    .event-card { flex-direction: column; }
    .event-card-poster {
        width: 100%;
        min-width: unset;
        height: 200px;
        border-bottom: 3px solid var(--yellow);
    }
    .event-card-date {
        flex-direction: row;
        justify-content: flex-start;
        padding: 12px 16px;
        gap: 8px;
        border-right: none;
        border-bottom: 3px solid var(--yellow);
        min-width: unset;
    }
    .event-date-day { font-size: 1.6rem; }
    .events-past-grid { grid-template-columns: 1fr; }
    .event-modal { padding: 0; }
    .event-modal-box {
        max-height: 100vh;
        border-radius: 0;
    }
}

/* ============================================================
   VOLUNTEERING — RECRUITMENT POSTER
   ============================================================ */
.vol-recruitment-section {
    padding: 48px 0 0;
}
.vol-recruitment-wrap {
    display: flex;
    justify-content: center;
}
.vol-recruitment-poster {
    width: 100%;
    max-width: 620px;
    height: auto;
    border-radius: var(--radius);
    box-shadow: 0 8px 32px rgba(20,50,138,0.18);
    display: block;
}
@media (max-width: 480px) {
    .vol-recruitment-poster {
        border-radius: 8px;
    }
}
