/* =============================================================================
   MONTSERRAT - SELF-HOSTED FONT FACES
   Source: Google Fonts v31 (latin subset, WOFF2)
   Downloaded: 2026-08-27. Eliminates external Google Fonts CDN dependency,
   resolves OWASP ZAP Sub Resource Integrity Attribute Missing finding, and
   improves Core Web Vitals by removing third-party DNS/TLS overhead.
   ============================================================================= */

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('assets/fonts/montserrat/montserrat-latin-400.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                   U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
                   U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('assets/fonts/montserrat/montserrat-latin-500.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                   U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
                   U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('assets/fonts/montserrat/montserrat-latin-700.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                   U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
                   U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url('assets/fonts/montserrat/montserrat-latin-800.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                   U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
                   U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url('assets/fonts/montserrat/montserrat-latin-900.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                   U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
                   U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* --- CSS RESET & BASE STYLES --- */
:root {
    --primary-blue: #0033a0;
    --dark-blue: #001a57;
    --accent-orange: #ff7300;
    --accent-orange-hover: #e06600;
    --bg-light: #f0f4f8; /* Light icy blue for branding */
    --text-dark: #222222;
    --text-muted: #666666;
    --white: #ffffff;
    --border-light: #eaeaea;
}

* { margin: 0; padding: 0; box-sizing: border-box; scroll-behavior: smooth; }

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    overflow-x: hidden;
    line-height: 1.6;
}

a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.text-center { text-align: center; }
.text-white { color: var(--white); }
.text-light { color: #d0d0d0; }

/* --- TOP BAR --- */
.top-bar { 
    background-color: var(--white); 
    border-bottom: 1px solid var(--border-light); 
}
.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}
.logo-area { display: flex; align-items: center; gap: 12px; }
.logo-area a { display: flex; align-items: center; gap: 12px; }
.logo-icon { width: 110px; height: 110px; object-fit: contain; border-radius: 50%; flex-shrink: 0; }
.logo-text h1, .logo-text .logo-title { display: block; font-size: 1.5rem; font-weight: 900; letter-spacing: -0.5px; text-transform: uppercase; line-height: 1.1; color: var(--text-dark); }
.logo-text span { font-size: 0.75rem; font-weight: 700; color: var(--text-muted); letter-spacing: 1px; text-transform: uppercase; }

.top-right { display: flex; align-items: center; gap: 30px; }
.phone-number { font-weight: 600; color: var(--text-muted); font-size: 0.9rem; display: flex; align-items: center; gap: 8px; }
.phone-number i { color: var(--accent-orange); }
.register-btn {
    border: 2px solid var(--border-light);
    padding: 10px 24px;
    border-radius: 50px; /* Pill shape */
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 10px;
}
.register-btn:hover {
    border-color: var(--accent-orange);
    color: var(--accent-orange);
}

.mobile-menu-btn {
    display: none;
    text-align: center;
    padding: 15px;
    cursor: pointer;
    font-weight: 700;
    color: var(--primary-blue);
    text-transform: uppercase;
}

/* --- NAVIGATION --- */
.main-header {
    background-color: var(--white);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}
.nav-bar { display: flex; justify-content: center; align-items: center; padding: 20px 0; position: relative; }
.nav-links { display: flex; gap: 35px; margin: 0 auto; }
.nav-links > li > a {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 5px;
}
.nav-links > li > a:hover, .nav-links > li > a.active { color: var(--accent-orange); }

/* Dropdown */
.dropdown { position: relative; }
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    min-width: 200px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    border-radius: 4px;
}
.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
}
.dropdown-menu li a:hover { background: var(--bg-light); color: var(--accent-orange); }

.social-links { position: absolute; right: 0; display: flex; gap: 15px; color: #b0b0b0; }
.social-links a:hover { color: var(--accent-orange); }

/* --- BUTTONS --- */
.btn-orange {
    display: inline-flex;
    align-items: stretch;
    background-color: var(--accent-orange);
    color: var(--white);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: none;
    cursor: pointer;
}
.btn-orange .btn-text { padding: 16px 30px; display: flex; align-items: center; }
.btn-orange .btn-icon {
    background-color: var(--dark-blue);
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    clip-path: polygon(25% 0, 100% 0, 100% 100%, 0% 100%);
    margin-left: -10px;
}
.btn-orange:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(255, 115, 0, 0.3); color: white; }

.btn-outline {
    display: inline-flex;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    padding: 14px 30px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 4px;
    transition: all 0.3s;
}
.btn-outline:hover { background: var(--primary-blue); color: var(--white); }

/* --- HERO SECTION --- */
.hero { padding: 100px 0 140px; position: relative; overflow: hidden; background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%); }
.hero-container { display: flex; align-items: center; justify-content: space-between; gap: 40px; position: relative; z-index: 2; }
.hero-content { flex: 1; max-width: 500px; }
.hero-quote-wrapper { text-align: center; display: flex; flex-direction: column; align-items: center; max-width: 600px; padding: 20px 0; margin: 0 auto; }
.hero-quote-mark { color: var(--accent-orange); font-size: 6rem; line-height: 0.8; font-family: Helvetica, Arial, sans-serif; font-weight: 700; text-shadow: 0 4px 15px rgba(0,0,0,0.4); }
.hero-quote-mark.top { margin-bottom: 20px; }
.hero-quote-mark.bottom { margin-bottom: 30px; }
.hero-quote-text { font-size: 1.8rem; line-height: 1.5; font-weight: 600; color: #ffffff; margin-bottom: 15px; font-family: Georgia, 'Times New Roman', serif; text-transform: none; letter-spacing: normal; text-shadow: 0 2px 10px rgba(0,0,0,0.8); }
.hero-quote-author { font-size: 1.2rem; color: #ffffff; margin-bottom: 20px; font-family: Georgia, 'Times New Roman', serif; font-weight: 600; text-shadow: 0 2px 10px rgba(0,0,0,0.8); }
.hero-title { font-size: 5rem; font-weight: 900; text-transform: uppercase; line-height: 0.95; margin-bottom: 24px; letter-spacing: -2px; }
.hero-title .highlight-orange { color: var(--accent-orange); display: block; }
.hero-title .dark-text { color: var(--white); display: block; }
.hero-text { color: #d0e2ff; font-size: 1.1rem; line-height: 1.8; margin-bottom: 30px; font-weight: 500; }

.hero-image-wrapper { flex: 1.2; position: relative; display: flex; justify-content: center; align-items: center; }
.hero-img { 
    width: 100%; 
    max-width: 700px; 
    border-radius: 20px; 
    box-shadow: 0 20px 50px rgba(0,0,0,0.15); 
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform 0.5s ease;
}
.hero-img:hover { transform: perspective(1000px) rotateY(0deg) rotateX(0deg); }

.basketball-accent { position: absolute; color: var(--accent-orange); font-size: 3rem; opacity: 0.7; animation: bounce 4s infinite ease-in-out; }
.ball-1 { top: -20px; right: 40px; animation-delay: 0s; }
.ball-2 { bottom: -30px; left: 20px; font-size: 2rem; animation-delay: 2s; }
@keyframes bounce { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-30px) rotate(180deg); } }

/* --- COMMON SECTIONS --- */
section { padding: 100px 0; }
.sub-title { font-size: 0.9rem; font-weight: 800; color: var(--accent-orange); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 10px; }
.section-title { font-size: 3rem; font-weight: 900; text-transform: uppercase; color: var(--text-dark); margin-bottom: 25px; line-height: 1.1; letter-spacing: -1px; }
.section-text { color: var(--text-muted); font-size: 1.05rem; margin-bottom: 20px; }
.section-header { margin-bottom: 50px; }

/* Split Sections (About & Team) */
.split-section { display: flex; gap: 60px; align-items: center; }
.split-section.reverse { flex-direction: row-reverse; }
.split-content { flex: 1; }
.split-image { flex: 1; position: relative; }
.content-img { width: 100%; border-radius: 12px; box-shadow: 0 15px 40px rgba(0,0,0,0.1); }

.stats-list { margin-top: 30px; }
.stats-list li { margin-bottom: 12px; font-weight: 700; color: var(--text-dark); display: flex; align-items: center; gap: 10px; }
.stats-list i { color: var(--accent-orange); }

.team-section { background-color: var(--primary-blue); color: var(--white); }
.team-section .section-title, .team-section .section-text, .team-section .stats-list li { color: var(--white); }
.team-section .btn-outline { border-color: var(--white); color: var(--white); }
.team-section .btn-outline:hover { background: var(--white); color: var(--primary-blue); }

/* --- GALLERY --- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery-item { position: relative; border-radius: 8px; overflow: hidden; cursor: pointer; aspect-ratio: 4/3; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.gallery-item .overlay {
    position: absolute; inset: 0; background: rgba(0, 51, 160, 0.8);
    display: flex; justify-content: center; align-items: center;
    color: white; font-size: 2rem; opacity: 0; transition: opacity 0.3s;
}
.gallery-item:hover img { transform: scale(1.1); }
.gallery-item:hover .overlay { opacity: 1; }

/* --- CONTACT --- */
.contact-section { background: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary-blue) 100%); position: relative; }
.contact-container { display: flex; gap: 60px; }
.contact-info { flex: 1; }
.contact-info .section-title { color: var(--white); }
.info-item { display: flex; align-items: center; gap: 15px; color: var(--white); margin-bottom: 20px; font-size: 1.1rem; }
.info-item i { width: 40px; height: 40px; background: rgba(255,255,255,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--accent-orange); }

.contact-form-wrapper { flex: 1.2; background: var(--white); padding: 50px; border-radius: 12px; box-shadow: 0 20px 50px rgba(0,0,0,0.2); }
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.input-group { display: flex; gap: 20px; }
.contact-form input, .contact-form textarea { width: 100%; padding: 16px; border-radius: 6px; border: 1px solid var(--border-light); font-family: inherit; font-size: 0.95rem; background: #f9f9f9; transition: border-color 0.3s; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--accent-orange); background: var(--white); }

/* --- FOOTER --- */
footer { background-color: #00091c; padding: 40px 0 30px; text-align: center; color: #666; font-size: 0.9rem; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid #112244; padding-top: 30px; }
.portfolio-credit { font-weight: 600; color: #888; }
/* --- SPONSORS --- */
.sponsors-section { background-color: var(--white); border-bottom: 1px solid var(--border-light); }
.sponsors-grid { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; }
.sponsor-item { width: 200px; height: 100px; background: var(--bg-light); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: #aaa; font-weight: 700; border: 2px dashed #ddd; transition: all 0.3s ease; cursor: pointer; text-transform: uppercase; letter-spacing: 1px; }
.sponsor-item:hover { border-color: var(--accent-orange); color: var(--accent-orange); transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.05); }

/* --- SCHEDULES --- */
.schedules-bg { background-color: var(--bg-light); }
.schedules-table-wrapper { overflow-x: auto; }
.schedules-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: 8px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.schedules-table th { background: var(--primary-blue); color: var(--white); padding: 18px 25px; text-transform: uppercase; font-weight: 800; font-size: 0.9rem; text-align: left; }
.schedules-table td { padding: 18px 25px; border-bottom: 1px solid var(--border-light); color: var(--text-dark); }
.schedules-table tbody tr:last-child td { border-bottom: none; }
.schedules-table tbody tr:hover { background: #f9fbff; }
.schedules-table td i { margin-right: 8px; color: var(--primary-blue); }

@media (max-width: 992px) {
    .mobile-menu-btn { display: block; }
    .hero-container, .split-section, .split-section.reverse, .contact-container { flex-direction: column; text-align: center; }
    .hero-content, .split-content, .contact-info { display: flex; flex-direction: column; align-items: center; }
    .hero-title { font-size: 3.5rem; }
    .top-right { display: none; }
    .nav-links { gap: 15px; flex-wrap: wrap; justify-content: center; }
    .social-links { position: static; margin-top: 15px; justify-content: center; padding-bottom: 15px; }
    .nav-bar { display: none; flex-direction: column; }
    .nav-bar.active { display: flex; }
    .gallery-grid { grid-template-columns: 1fr; }
    .input-group { flex-direction: column; }
    .footer-bottom { flex-direction: column; gap: 15px; }
}

@media (max-width: 576px) {
    .nav-links { flex-direction: column; gap: 15px; width: 100%; align-items: center; }
    .hero-title { font-size: 2.5rem; }
    .section-title { font-size: 2.2rem; }
    .logo-text h1 { font-size: 1.2rem; }
}
    
        /* Forces the accordion to style correctly regardless of styles.css cache */
        .teams-container {
            display: flex; 
            flex-direction: column; 
            gap: 15px; 
            max-width: 900px; 
            margin: 0 auto;
        }
        .team-box {
            background: #ffffff; 
            border-radius: 8px; 
            box-shadow: 0 4px 10px rgba(0,0,0,0.05); 
            padding: 15px;
            border: 1px solid #eaeaea;
        }
        .team-box summary {
            font-size: 1.25rem; 
            font-weight: 700; 
            color: #222222; 
            cursor: pointer; 
            padding: 5px; 
            list-style-position: inside;
            outline: none;
        }
        .team-box .table-container {
            padding: 15px 10px 5px; 
            border-top: 1px solid #eeeeee; 
            margin-top: 10px;
        }

/* --- Extracted Inline Styles (CSP Remediation) --- */

/* policies.php */
.policies-section { padding: 100px 0; background-color: var(--bg-light); }
.policies-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.policy-card { background: white; border-radius: 10px; padding: 30px; text-align: center; box-shadow: 0 10px 30px rgba(0,0,0,0.05); transition: transform 0.3s ease; }
.policy-card:hover { transform: translateY(-5px); box-shadow: 0 15px 40px rgba(0,0,0,0.1); }
.policy-icon { font-size: 3rem; color: var(--accent-orange); margin-bottom: 20px; }
.policy-title { font-size: 1.1rem; font-weight: 800; margin-bottom: 20px; line-height: 1.4; color: var(--text-dark); }
.policy-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; font-size: 0.85rem; border-width: 2px; }
.policy-note { margin-top: 50px; text-align: center; color: var(--text-muted); font-size: 0.9rem; }
.info-icon { color: var(--primary-blue); }

/* teams.php */
.tbd-fixtures { color: #666; font-style: italic; }

/* contact.php */
.contact-address { font-style: normal; }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-link { color: inherit; text-decoration: none; }
.success-box { display: none; background-color: #e9f5ec; color: #1e4620; padding: 20px; border-radius: 6px; border: 1px solid #c3e6cb; margin-bottom: 25px; font-family: sans-serif; font-size: 16px; }
.recaptcha-box { margin-bottom: 20px; }
.note-box { margin-top: 25px; background-color: #f2fbf5; border: 1px solid #c2e0cb; border-left: 5px solid #28a745; padding: 15px; border-radius: 4px; font-size: 14px; color: #1e4620; line-height: 1.5; font-family: sans-serif; }
.note-link { color: #0056b3; font-weight: 500; }

/* --- Committee Page Styles (Belfast Star Logo Colors: Sky Blue #38a2e5, Navy #092256, Grey #656c71) --- */
.committee-section {
    padding: 60px 0;
    background-color: #f4f8fc;
}

.committee-container {
    background-color: #ffffff;
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    border-radius: 12px;
    box-shadow: 0 12px 35px rgba(9, 34, 86, 0.12);
    position: relative;
    overflow: hidden;
    border: 2px solid #656c71;
}

.top-banner, .bottom-banner {
    height: 48px;
    width: 100%;
    position: relative;
    background: #ffffff;
    overflow: hidden;
    border-bottom: 3px solid #38a2e5;
}

.bottom-banner {
    border-bottom: none;
    border-top: 3px solid #38a2e5;
}

.banner-graphics {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.banner-left, .banner-right {
    display: flex;
    gap: 6px;
    height: 100%;
}

.banner-left { margin-left: -20px; }
.banner-right { margin-right: -20px; }

.stripe {
    height: 100%;
    transform: skewX(-30deg);
}

.s-navy { background-color: #092256; width: 75px; }
.s-sky-blue { background-color: #38a2e5; width: 35px; }
.s-grey { background-color: #656c71; width: 15px; }

.poster-content {
    padding: 40px 30px 60px;
    background: linear-gradient(180deg, #ffffff 0%, #f4f8fc 100%);
}

.header-area {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    margin-bottom: 45px;
    text-align: center;
}

.committee-logo {
    width: 90px !important;
    height: 90px !important;
    max-width: 90px !important;
    max-height: 90px !important;
    border-radius: 50%;
    object-fit: contain;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 3px solid #ffffff;
    flex-shrink: 0;
    background: #ffffff;
    display: block;
}

.header-text-group {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.header-title {
    font-size: 2.3rem;
    font-weight: 900;
    color: #092256;
    letter-spacing: 1px;
    text-transform: uppercase;
    line-height: 1.1;
}

.header-subtitle {
    font-size: 1.25rem;
    font-weight: 700;
    color: #38a2e5;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-top: 6px;
}

.org-tree {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.member-node {
    text-align: center;
    padding: 10px 18px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    background: #ffffff;
    border-radius: 8px;
    border: 1.5px solid #d0dbe5;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    min-width: 170px;
}

.member-name {
    font-size: 1.15rem;
    font-weight: 800;
    color: #092256;
    line-height: 1.2;
}

.member-role {
    font-size: 0.85rem;
    font-weight: 600;
    color: #656c71;
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.level-1 {
    border: 2px solid #38a2e5;
    background: #edf7fd;
    padding: 12px 24px;
}

.level-1 .member-name {
    font-size: 1.4rem;
    color: #092256;
}

.level-1 .member-role {
    color: #38a2e5;
}

.line-vertical {
    width: 2px;
    background-color: #38a2e5;
}

.stem-top {
    height: 35px;
}

.level-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.horizontal-bar-wrapper {
    position: relative;
}

.horizontal-bar {
    height: 2px;
    background-color: #38a2e5;
    width: 100%;
}

.level-row {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
}

.column-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.drop-line {
    height: 25px;
}

.center-trunk {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.trunk-l2 { height: 135px; }
.trunk-l3 { height: 135px; }

.l2-bar-width { width: 82%; }
.l3-bar-width { width: 50%; }
.l4-bar-width { width: 72%; }

.margin-top-section {
    margin-top: 35px;
}

@media (max-width: 860px) {
    .poster-content { padding: 25px 15px 40px; }
    .header-title { font-size: 1.7rem; }
    .header-subtitle { font-size: 1rem; }
    .committee-logo { width: 65px !important; height: 65px !important; max-width: 65px !important; max-height: 65px !important; }
    .member-name { font-size: 1rem; }
    .member-role { font-size: 0.78rem; }
    .l2-bar-width { width: 94%; }
    .l3-bar-width { width: 65%; }
    .l4-bar-width { width: 85%; }
}

@media (max-width: 640px) {
    .header-area { gap: 12px; }
    .level-row { flex-direction: column; align-items: center; gap: 20px; }
    .horizontal-bar-wrapper, .line-vertical, .center-trunk { display: none; }
    .member-node { width: 88%; min-width: unset; margin-bottom: 10px; }
    .margin-top-section { margin-top: 15px; }
}

/* --- SINGLE ARTICLE / NEWS DETAIL PAGE --- */
.article-section {
    padding: 60px 0 100px;
    background-color: var(--bg-light);
}
.article-container {
    max-width: 860px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 12px;
    padding: 50px 60px;
    box-shadow: 0 15px 45px rgba(0, 51, 160, 0.06);
    border: 1px solid var(--border-light);
}
.article-header {
    margin-bottom: 30px;
}
.article-meta-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #edf5ff;
    color: var(--primary-blue);
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 14px;
    border-radius: 50px;
    margin-bottom: 15px;
}
.article-title {
    font-size: 2.4rem;
    font-weight: 900;
    line-height: 1.2;
    color: var(--text-dark);
    margin-bottom: 15px;
}
.article-meta {
    display: flex;
    gap: 25px;
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 600;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-light);
}
.article-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.article-meta i {
    color: var(--accent-orange);
}
.article-featured-image-wrapper {
    margin: 25px 0 35px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}
.article-featured-image {
    width: 100%;
    height: auto;
    display: block;
}
.article-body {
    font-size: 1.1rem;
    line-height: 1.85;
    color: #333333;
}
.article-body p {
    margin-bottom: 22px;
}
.article-body h2 {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin: 35px 0 15px;
}
.lead-paragraph {
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.7;
    color: var(--text-dark);
}
.article-feature-list {
    list-style: none;
    margin: 20px 0 35px;
    padding: 0;
}
.article-feature-list li {
    display: flex;
    gap: 15px;
    margin-bottom: 16px;
    font-size: 1.05rem;
}
.article-feature-list i {
    color: #28a745;
    font-size: 1.3rem;
    margin-top: 4px;
    flex-shrink: 0;
}
.sponsor-callout-box {
    background: linear-gradient(135deg, #f0f7ff 0%, #e6f0fa 100%);
    border: 2px solid #b8daff;
    border-radius: 10px;
    padding: 30px 35px;
    margin: 40px 0;
    display: flex;
    gap: 25px;
    align-items: flex-start;
}
.sponsor-callout-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-blue);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 51, 160, 0.25);
}
.sponsor-callout-content {
    flex: 1;
}
.sponsor-callout-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 10px;
}
.sponsor-callout-text {
    font-size: 1rem;
    line-height: 1.6;
    color: #2c3e50;
    margin-bottom: 15px;
}
.article-quote {
    background-color: #f8fafc;
    border-left: 5px solid var(--accent-orange);
    padding: 25px 30px;
    margin: 30px 0;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--text-dark);
}
.external-link {
    color: var(--primary-blue);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.external-link:hover {
    color: var(--accent-orange);
}
.article-divider {
    border: none;
    border-top: 1px solid var(--border-light);
    margin: 40px 0;
}
.article-footer-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
@media (max-width: 768px) {
    .article-container { padding: 30px 20px; }
    .article-title { font-size: 1.75rem; }
    .sponsor-callout-box { flex-direction: column; padding: 25px; }
    .article-meta { flex-direction: column; gap: 8px; }
    .article-footer-nav { flex-direction: column; align-items: stretch; }
    .article-footer-nav a { text-align: center; justify-content: center; }
}
/* =============================================================================
   COMMITTEE PAGE
   Extracted from committee.php inline <style> block to eliminate the
   style-src 'unsafe-inline' CSP finding flagged by OWASP ZAP (2026-08-27).
   ============================================================================= */

.committee-section {
    padding: 60px 0;
    background-color: #f4f8fc;
}

.committee-container {
    background-color: #ffffff;
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    border-radius: 12px;
    box-shadow: 0 12px 35px rgba(9, 34, 86, 0.12);
    position: relative;
    overflow: hidden;
    border: 2px solid #656c71;
}

.top-banner, .bottom-banner {
    height: 48px;
    width: 100%;
    position: relative;
    background: #ffffff;
    overflow: hidden;
    border-bottom: 3px solid #38a2e5;
}

.bottom-banner {
    border-bottom: none;
    border-top: 3px solid #38a2e5;
}

.banner-graphics {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.banner-left, .banner-right {
    display: flex;
    gap: 6px;
    height: 100%;
}

.banner-left  { margin-left: -20px; }
.banner-right { margin-right: -20px; }

.stripe {
    height: 100%;
    transform: skewX(-30deg);
}

.s-navy     { background-color: #092256; width: 75px; }
.s-sky-blue { background-color: #38a2e5; width: 35px; }
.s-grey     { background-color: #656c71; width: 15px; }

.poster-content {
    padding: 40px 30px 60px;
    background: linear-gradient(180deg, #ffffff 0%, #f4f8fc 100%);
}

.header-area {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    margin-bottom: 45px;
    text-align: center;
}

.committee-logo {
    width: 90px !important;
    height: 90px !important;
    max-width: 90px !important;
    max-height: 90px !important;
    border-radius: 50%;
    object-fit: contain;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 3px solid #ffffff;
    flex-shrink: 0;
    background: #ffffff;
    display: block;
}

.header-text-group {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.header-title {
    font-size: 2.3rem;
    font-weight: 900;
    color: #092256;
    letter-spacing: 1px;
    text-transform: uppercase;
    line-height: 1.1;
}

.header-subtitle {
    font-size: 1.25rem;
    font-weight: 700;
    color: #38a2e5;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-top: 6px;
}

.org-tree {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.member-node {
    text-align: center;
    padding: 10px 18px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    background: #ffffff;
    border-radius: 8px;
    border: 1.5px solid #d0dbe5;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    min-width: 170px;
}

.member-name {
    font-size: 1.15rem;
    font-weight: 800;
    color: #092256;
    line-height: 1.2;
}

.member-role {
    font-size: 0.85rem;
    font-weight: 600;
    color: #656c71;
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.level-1 {
    border: 2px solid #38a2e5;
    background: #edf7fd;
    padding: 12px 24px;
}

.level-1 .member-name {
    font-size: 1.4rem;
    color: #092256;
}

.level-1 .member-role {
    color: #38a2e5;
}

.line-vertical {
    width: 2px;
    background-color: #38a2e5;
}

.stem-top { height: 35px; }

.level-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.horizontal-bar-wrapper { position: relative; }

.horizontal-bar {
    height: 2px;
    background-color: #38a2e5;
    width: 100%;
}

.level-row {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
}

.column-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.drop-line { height: 25px; }

.center-trunk {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.trunk-l2 { height: 135px; }
.trunk-l3 { height: 135px; }

.l2-bar-width { width: 82%; }
.l3-bar-width { width: 50%; }
.l4-bar-width { width: 72%; }

.margin-top-section { margin-top: 35px; }

@media (max-width: 860px) {
    .poster-content    { padding: 25px 15px 40px; }
    .header-title      { font-size: 1.7rem; }
    .header-subtitle   { font-size: 1rem; }
    .committee-logo    { width: 65px !important; height: 65px !important; max-width: 65px !important; max-height: 65px !important; }
    .member-name       { font-size: 1rem; }
    .member-role       { font-size: 0.78rem; }
    .l2-bar-width      { width: 94%; }
    .l3-bar-width      { width: 65%; }
    .l4-bar-width      { width: 85%; }
}

@media (max-width: 640px) {
    .header-area                              { gap: 12px; }
    .level-row                                { flex-direction: column; align-items: center; gap: 20px; }
    .horizontal-bar-wrapper, .line-vertical,
    .center-trunk                             { display: none; }
    .member-node                              { width: 88%; min-width: unset; margin-bottom: 10px; }
    .margin-top-section                       { margin-top: 15px; }
}
