/* =========================================================================
   1. GLOBAL VARIABLES (COLORS & SIZES)
   ========================================================================= */
:root {
    --primary: #0b3c5d; --secondary: #1f5f8b; --accent: #d4af37;
    --bg-light: #f8fafc; --text-main: #1e293b; --text-muted: #64748b; --white: #ffffff;
    --header-height: 85px; --ticker-bg: #b30000;
    --primary-blue: #0b3c5d; --secondary-blue: #1f5f8b; --accent-red: #b30000;
    --emerald: #10b981; --rose: #f43f5e; --border: #e2e8f0;
    --shadow: 0 10px 25px -5px rgba(0,0,0,0.05);
}

/* =========================================================================
   2. BASE RESET & BODY STYLES
   ========================================================================= */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; background: var(--bg-light); color: var(--text-main); overflow-x: hidden; line-height: 1.6; -webkit-font-smoothing: antialiased; }

/* =========================================================================
   3. HEADER & NAVIGATION
   ========================================================================= */
.contact-strip { background: #072a42; color: white; font-size: 0.7rem; padding: 8px 5%; display: flex; justify-content: flex-end; gap: 20px; font-weight: 600; letter-spacing: 0.5px; }
header { background: var(--primary); position: sticky; top: 0; z-index: 2000; box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3); border-bottom: 3px solid var(--accent); }
.top-bar { display: flex; align-items: center; justify-content: space-between; padding: 0 5%; height: var(--header-height); max-width: 1400px; margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 15px; text-decoration: none; }
.emblem img { height: 60px; width: auto; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3)); }
.site-title { display: flex; flex-direction: column; }
.line-1 { font-size: 0.8rem; color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; line-height: 1.2; }
.line-2 { font-size: 1.8rem; color: var(--white); font-weight: 800; text-transform: uppercase; line-height: 0.9; }

/* Desktop Menu Links */
nav.desktop-nav { background: var(--secondary); }
.nav-container { max-width: 1400px; margin: 0 auto; display: flex; justify-content: center; }
.nav-links { display: flex; list-style: none; flex-wrap: wrap; justify-content: center; }
.nav-links a { color: rgba(255,255,255,0.9); text-decoration: none; padding: 15px 12px; display: block; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; transition: 0.3s; }
.nav-links li.active > a, .nav-links > li > a:hover { background: rgba(255,255,255,0.1); color: var(--accent); }

/* CFMS-DC DROPDOWN MENU (Fixed Stuck Issue) */
.dropdown { position: relative; }
.dropdown-content { visibility: hidden; opacity: 0; position: absolute; background-color: var(--primary); min-width: 220px; box-shadow: 0px 10px 25px rgba(0,0,0,0.4); z-index: 3000; top: 100%; left: 0; border-top: 3px solid var(--accent); transform: translateY(10px); transition: all 0.3s ease; }
.dropdown-content a { padding: 12px 20px; display: block; text-align: left; border-bottom: 1px solid rgba(255,255,255,0.05); text-transform: none; font-size: 0.85rem; }
.dropdown:hover .dropdown-content { visibility: visible; opacity: 1; transform: translateY(0); }
.dropdown-content a:hover { background-color: rgba(255,255,255,0.1); color: var(--accent) !important; padding-left: 25px; }

/* Mobile Menu Button & Drawer */
.menu-btn { display: none; background: none; border: 2px solid rgba(255,255,255,0.2); border-radius: 6px; color: white; font-size: 1.5rem; padding: 5px 10px; cursor: pointer; transition: 0.3s; }
.mobile-drawer { position: fixed; top: 0; right: -300px; width: 280px; height: 100%; background: var(--primary); z-index: 3000; transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1); padding: 40px 20px; box-shadow: -10px 0 30px rgba(0,0,0,0.5); display: flex; flex-direction: column; gap: 15px; overflow-y: auto; }
.mobile-drawer.active { right: 0; }
.drawer-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.7); z-index: 2500; display: none; backdrop-filter: blur(4px); }
.drawer-overlay.active { display: block; }
.mobile-drawer a { color: white; text-decoration: none; font-size: 1rem; font-weight: 700; padding: 15px; border-bottom: 1px solid rgba(255,255,255,0.05); text-transform: uppercase; }
.close-drawer { align-self: flex-end; color: white; font-size: 2rem; cursor: pointer; margin-bottom: 20px; }

/* Mobile Sub-Links */
.mobile-group-title { color: var(--accent); font-size: 0.85rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; padding: 15px 15px 5px 15px; border-bottom: none !important; }
.mobile-sub-link { padding-left: 35px !important; font-size: 0.9rem !important; color: #cbd5e1 !important; border-bottom: 1px dashed rgba(255,255,255,0.05) !important; text-transform: none !important; }

/* =========================================================================
   4. LAYOUT CONTAINERS & HERO SECTIONS
   ========================================================================= */
.container { max-width: 1000px; margin: 3rem auto; padding: 0 1.5rem; }
.max-container { max-width: 1100px; margin: 0 auto; }
.hero { background: var(--white); padding: 4rem 5%; border-bottom: 1px solid #e2e8f0; text-align: center; }
.hero h2 { color: var(--primary); font-size: 2.2rem; font-weight: 800; margin-bottom: 15px; }
.hero h2::after { content: ''; display: block; width: 60px; height: 4px; background: var(--accent); margin: 15px auto 0; }
.hero p { color: var(--text-muted); margin-top: 10px; font-size: 1rem; font-weight: 500; }
.page-hero { background: var(--white); padding: 60px 30px; border-bottom: 1px solid var(--border); }
.page-hero h2 { font-family: 'Playfair Display', serif; font-size: 2.8rem; color: var(--primary-blue); margin-bottom: 10px; letter-spacing: -0.02em; }
.page-hero p { font-size: 1.1rem; color: var(--text-muted); }

/* =========================================================================
   5. PAGE: ABOUT US
   ========================================================================= */
.about-section { background: var(--white); padding: 3.5rem; border-radius: 15px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); margin-bottom: 3rem; }
.intro-text { font-size: 1.25rem; color: var(--primary); font-weight: 600; border-left: 5px solid var(--accent); padding-left: 25px; margin-bottom: 2.5rem; line-height: 1.6; }
.content-block h3 { color: var(--secondary); font-size: 1.4rem; font-weight: 800; margin: 2.5rem 0 1rem 0; text-transform: uppercase; letter-spacing: 0.5px; }
.content-block p { margin-bottom: 1.5rem; color: var(--text-main); text-align: justify; }
.highlight-box { background: #f1f5f9; border-radius: 10px; padding: 2rem; border: 1px dashed var(--secondary); margin: 2rem 0; }

/* =========================================================================
   6. PAGE: CONTACT US
   ========================================================================= */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; margin-bottom: 2rem; }
.contact-card { background: var(--white); border-radius: 15px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); padding: 2.5rem; border-top: 5px solid var(--secondary); transition: transform 0.3s ease; }
.contact-card:hover { transform: translateY(-5px); }
.contact-section-title { color: var(--primary); font-size: 1.3rem; font-weight: 800; margin-bottom: 1.5rem; border-bottom: 1px solid #f1f5f9; padding-bottom: 10px; text-transform: uppercase; letter-spacing: 0.5px; }
.info-row { margin-bottom: 1.5rem; }
.info-label { font-size: 0.75rem; font-weight: 800; text-transform: uppercase; color: var(--accent); letter-spacing: 1px; display: block; margin-bottom: 5px; }
.info-value { font-size: 1.2rem; font-weight: 700; color: var(--text-main); word-break: break-all; }
.action-link { color: var(--primary); text-decoration: none; transition: 0.2s; }
.action-link:hover { color: var(--secondary); text-decoration: underline; }
.hours-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px dashed #e2e8f0; font-weight: 600; }
.hours-row:last-child { border-bottom: none; }
.map-container { width: 100%; height: 450px; border-radius: 15px; overflow: hidden; margin-top: 1rem; border: 1px solid #e2e8f0; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }

/* =========================================================================
   7. PAGE: GALLERY
   ========================================================================= */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 25px; }
.photo-card { background: var(--white); border-radius: 15px; overflow: hidden; box-shadow: 0 10px 25px rgba(0,0,0,0.05); cursor: pointer; position: relative; transition: all 0.3s ease; border: 1px solid #edf2f7; }
.photo-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0,0,0,0.12); border-color: var(--accent); }
.photo-card img { width: 100%; height: 250px; object-fit: cover; display: block; transition: transform 0.5s ease; }
.photo-card:hover img { transform: scale(1.05); }
.photo-overlay { position: absolute; inset: 0; background: rgba(11, 60, 93, 0.6); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.3s ease; backdrop-filter: blur(2px); }
.photo-card:hover .photo-overlay { opacity: 1; }
.view-btn { background: var(--white); color: var(--primary); padding: 10px 20px; border-radius: 25px; font-size: 0.85rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; box-shadow: 0 4px 15px rgba(0,0,0,0.2); }
.modal { display: none; position: fixed; inset: 0; background: rgba(7, 42, 66, 0.98); z-index: 4000; justify-content: center; align-items: center; padding: 20px; backdrop-filter: blur(8px); }
.modal-img { max-width: 95%; max-height: 85vh; border-radius: 12px; box-shadow: 0 30px 60px rgba(0,0,0,0.5); border: 4px solid rgba(255,255,255,0.1); }
.close-modal { position: absolute; top: 25px; right: 35px; color: #fff; font-size: 45px; cursor: pointer; font-weight: 200; transition: 0.3s; }
.close-modal:hover { color: var(--accent); transform: rotate(90deg); }

/* =========================================================================
   8. PAGE: NOTICES
   ========================================================================= */
.notice-feed { display: flex; flex-direction: column; gap: 1.25rem; }
.notice-card { background: var(--white); border-radius: 12px; padding: 1.5rem; display: flex; align-items: center; gap: 25px; box-shadow: 0 10px 20px rgba(0,0,0,0.05); border: 1px solid #edf2f7; transition: all 0.3s ease; }
.notice-card:hover { transform: translateX(10px); border-left: 5px solid var(--accent); box-shadow: 0 15px 30px rgba(0,0,0,0.1); }
.date-box { background: #f1f5f9; color: var(--primary); min-width: 90px; padding: 12px; border-radius: 10px; text-align: center; display: flex; flex-direction: column; justify-content: center; border: 1px solid #cbd5e1; }
.date-day { font-size: 1.6rem; font-weight: 800; line-height: 1; }
.date-month { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; margin-top: 4px; color: var(--secondary); }
.notice-content { flex: 1; }
.notice-text { font-size: 1.05rem; font-weight: 700; color: var(--text-main); text-decoration: none; transition: 0.2s; }
.notice-content a { text-decoration: none; color: inherit; }
.notice-content a:hover .notice-text { color: var(--secondary); }
.badge-new { background: #16a34a; color: white; font-size: 0.65rem; padding: 3px 8px; border-radius: 4px; margin-bottom: 8px; display: inline-block; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; animation: pulse 2s infinite; }
@keyframes pulse { 0% { opacity: 1; } 50% { opacity: 0.6; } 100% { opacity: 1; } }

/* =========================================================================
   9. PAGE: JUDGES
   ========================================================================= */
.section-group { margin-bottom: 3.5rem; }
.section-title { font-size: 1.1rem; color: var(--secondary); font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 1.5rem; border-left: 5px solid var(--accent); padding-left: 15px; }
.judge-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.5rem; }
.judge-card { background: var(--white); padding: 1.5rem; border-radius: 12px; box-shadow: 0 10px 20px rgba(0,0,0,0.05); border: 1px solid #edf2f7; transition: all 0.3s ease; position: relative; overflow: hidden; }
.judge-card:hover { transform: translateY(-5px); border-color: var(--accent); box-shadow: 0 15px 30px rgba(0,0,0,0.1); }
.judge-name { font-weight: 800; color: var(--primary); display: block; font-size: 1.15rem; margin-bottom: 5px; }
.judge-desig { font-size: 0.9rem; color: var(--text-muted); display: block; font-weight: 500; line-height: 1.4; }
.status-tag { display: inline-block; font-size: 0.65rem; background: #f1f5f9; color: var(--secondary); padding: 3px 10px; border-radius: 4px; text-transform: uppercase; font-weight: 800; margin-top: 10px; letter-spacing: 0.5px; }
.vacant { color: #dc2626; font-style: italic; }

/* =========================================================================
   10. PAGE: JOBS (Recruitment)
   ========================================================================= */
.section-header { display: flex; align-items: center; gap: 12px; margin-bottom: 30px; }
.section-header h3 { font-family: 'Playfair Display', serif; font-size: 1.8rem; color: #0f172a; }
.job-card { background: var(--white); border-radius: 24px; border: 1px solid var(--border); overflow: hidden; margin-bottom: 50px; box-shadow: var(--shadow); }
.job-card-main { padding: 25px; border-left: 8px solid var(--emerald) !important; position: relative; }
.line-green { border-left: 8px solid #10b981 !important; }
.line-blue { border-left: 8px solid #0b3c5d !important; }
.line-amber { border-left: 8px solid #d97706 !important; }
.line-gray { border-left: 8px solid #94a3b8 !important; }
.archive-main { border-left-color: #94a3b8 !important; }
.new-tag { position: absolute; top: 30px; right: 30px; background: var(--accent-red); color: white; font-size: 0.7rem; font-weight: 800; padding: 6px 16px; border-radius: 20px; letter-spacing: 1.2px; box-shadow: 0 4px 12px rgba(179, 0, 0, 0.25); }
.job-sub-section { margin-bottom: 35px; }
.job-sub-section:last-child { margin-bottom: 0; }
.divider { height: 1px; background: #f1f5f9; margin: 40px 0; width: 100%; }
.job-title { font-size: 1.6rem; font-weight: 800; color: #0f172a; margin-bottom: 10px; }
.job-meta { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 20px; display: flex; align-items: center; gap: 8px; }
.job-description { margin-bottom: 25px; font-size: 1rem; color: #475569; max-width: 850px; }
.btn-group { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border-radius: 12px; font-size: 0.9rem; font-weight: 600; cursor: pointer; text-decoration: none;}
.btn-primary { background: var(--primary-blue); color: white; }
.btn-secondary { background: var(--secondary-blue); color: white; }
.btn-outline { border: 1.5px solid var(--border); color: #475569; background: transparent; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.candidate-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: 45px; background: #fcfcfd; border-top: 1px solid var(--border); }
.archive-grid { grid-template-columns: 1fr; }
.list-title { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 20px; display: flex; align-items: center; gap: 10px; font-weight: 800; }
.eligible-title { color: #065f46; }
.ineligible-title { color: #991b1b; }
.archive-list-title { color: var(--primary-blue); }
.candidate-row { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; background: white; border: 1px solid var(--border); border-radius: 14px; margin-bottom: 12px; font-size: 0.9rem; font-weight: 600; color: #334155; text-decoration: none; }
.candidate-row:hover { border-color: var(--secondary-blue); color: var(--primary-blue); }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-green { background: var(--emerald); box-shadow: 0 0 10px rgba(16, 185, 129, 0.4); }
.dot-red { background: var(--rose); box-shadow: 0 0 10px rgba(244, 63, 94, 0.4); }
.dot-blue { background: var(--secondary-blue); box-shadow: 0 0 10px rgba(31, 95, 139, 0.4); }
.row-label { display: flex; align-items: center; gap: 12px; }
.row-icon { width: 16px; color: #94a3b8; }
.mt-60 { margin-top: 60px; }
.w-16 { width: 16px; }
.w-18 { width: 18px; }
.w-20 { width: 20px; }

/* =========================================================================
   11. PAGE: INDEX (HOMEPAGE)
   ========================================================================= */
.news-ticker { background: var(--ticker-bg); color: white; display: flex; align-items: center; height: 40px; overflow: hidden; position: relative; }
.ticker-label { background: #8b0000; padding: 0 20px; height: 100%; display: flex; align-items: center; font-weight: 800; font-size: 0.75rem; text-transform: uppercase; z-index: 10; position: relative; }
.ticker-wrap { flex: 1; overflow: hidden; white-space: nowrap; }
.ticker-content { display: inline-block; padding-left: 20px; animation: scroll-left 20s linear infinite; font-size: 0.85rem; font-weight: 500; }
@keyframes scroll-left { 0% { transform: translateX(0); } 100% { transform: translateX(-100%); } }
.news-ticker:hover .ticker-content { animation-play-state: paused; }
.hero-slider { height: 500px; position: relative; background: #000; }
.slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: 1.5s; display: flex; align-items: center; justify-content: center; text-align: center; }
.slide::before { content: ''; position: absolute; inset: 0; background: linear-gradient(rgba(11,60,93,0.7), rgba(0,0,0,0.6)); }
.slide.active { opacity: 1; }
.slide-text h2 { font-size: 3.5rem; font-weight: 800; color: white; margin-bottom: 10px; position: relative; z-index: 2; }
.slide-text p { font-size: 1.2rem; color: var(--accent); font-weight: 600; position: relative; z-index: 2; }
.quick-links { max-width: 1200px; margin: -60px auto 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; padding: 0 20px; position: relative; z-index: 10; }
.link-card { background: white; padding: 30px; border-radius: 12px; box-shadow: 0 15px 35px rgba(0,0,0,0.1); text-decoration: none; color: inherit; transition: 0.3s; border-bottom: 5px solid var(--accent); text-align: center; }
.link-card:hover { transform: translateY(-10px); background: var(--primary); color: white; }
.link-card h3 { font-size: 1.2rem; margin-bottom: 10px; color: var(--primary); }
.link-card:hover h3 { color: var(--accent); }

/* =========================================================================
   12. MODERN SLEEK FOOTER
   ========================================================================= */
.modern-footer { background: #0f172a; color: #f8fafc; font-family: 'Inter', sans-serif; padding: 60px 5% 20px; border-top: 1px solid #1e293b; }
.footer-top { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; gap: 50px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
.footer-brand { flex: 1.2; max-width: 450px; }
.brand-logo-text { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; }
.brand-logo-text img { height: 55px; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3)); }
.brand-logo-text h3 { font-size: 1.1rem; font-weight: 800; color: #ffffff; line-height: 1.2; }
.brand-logo-text p { font-size: 0.85rem; color: var(--accent); text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }
.brand-desc { color: #94a3b8; font-size: 0.95rem; line-height: 1.6; margin-bottom: 25px; }
.contact-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); padding: 8px 15px; border-radius: 50px; font-size: 0.85rem; color: #cbd5e1; }
.footer-links-group { flex: 1; display: flex; justify-content: flex-end; gap: 80px; }
.footer-col h4 { color: #ffffff; font-size: 1.05rem; margin-bottom: 25px; font-weight: 700; }
.footer-col a { display: block; color: #94a3b8 !important; text-decoration: none !important; margin-bottom: 15px; font-size: 0.95rem; transition: all 0.2s ease; }
.footer-col a:hover { color: #ffffff !important; transform: translateX(4px); }
.footer-bottom { max-width: 1200px; margin: 0 auto; padding-top: 25px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 15px; }
.copy-text { color: #64748b; font-size: 0.9rem; }
.it-credit { color: #64748b; font-size: 0.85rem; background: rgba(255,255,255,0.03); padding: 6px 15px; border-radius: 6px; }
.it-credit span { color: var(--accent); font-weight: 700; letter-spacing: 1px; }

/* =========================================================================
   13. OFFICIAL DATA TABLES (Used in Jurisdiction Page)
   ========================================================================= */
.official-table { width: 100%; border-collapse: collapse; text-align: left; }
.official-table th { background-color: var(--primary-blue); color: white; padding: 18px 25px; font-size: 0.95rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.official-table td { padding: 16px 25px; border-bottom: 1px solid #f1f5f9; color: #334155; font-size: 0.95rem; transition: background 0.2s; }
.official-table tbody tr:hover td { background-color: #f8fafc; }
.station-name { color: var(--primary-blue) !important; }
.court-name { font-weight: 500; }

/* =========================================================================
   14. RESPONSIVE DESIGN (MOBILE MEDIA QUERIES)
   ========================================================================= */
@media (max-width: 992px) {
    nav.desktop-nav { display: none; } 
    .menu-btn { display: block; }      
    .hero h2 { font-size: 1.8rem; }
    .line-1 { font-size: 0.65rem; }
    .line-2 { font-size: 1.4rem; }
    .emblem img { height: 50px; }
    .about-section { padding: 2rem; }
    .intro-text { font-size: 1.1rem; padding-left: 15px; }
    .contact-card { padding: 1.5rem; }
    .map-container { height: 300px; }
    .hours-row { flex-direction: column; gap: 5px; }
    .gallery-grid { grid-template-columns: 1fr; } 
    .notice-card { flex-direction: column; align-items: flex-start; gap: 15px; }
    .date-box { flex-direction: row; min-width: 100%; gap: 12px; padding: 8px 15px; justify-content: flex-start; align-items: center; }
    .date-month { margin-top: 2px; font-size: 1rem; }
    .judge-grid { grid-template-columns: 1fr; } 
    .candidate-grid { grid-template-columns: 1fr; padding: 30px; } 
    .page-hero h2 { font-size: 2rem; }
    .job-card-main { padding: 30px; }
    .hero-slider { height: 400px; }
    .slide-text h2 { font-size: 2.2rem; }
    .footer-top { flex-direction: column; gap: 40px; }
    .footer-links-group { justify-content: flex-start; gap: 50px; }
}

@media (max-width: 768px) {
    .new-tag { position: relative; top: 0; right: 0; display: inline-block; margin-bottom: 10px; }
    .job-card-main { padding: 25px; }
    .candidate-grid h3 { font-size: 1.4rem !important; flex-wrap: wrap; line-height: 1.3; }
    .candidate-grid h2 { font-size: 1.2rem !important; flex-wrap: wrap; }
    .candidate-row { word-break: break-word; } 
    .footer-links-group { flex-direction: column; gap: 30px; }
    .footer-bottom { flex-direction: column; text-align: center; justify-content: center; }
}