/* ==========================================================================
   STATE UNION BRAND COLOR VARIABLES
   ========================================================================== */
:root {
    --primary-purple: #49306E;     /* Deep campus purple - high contrast, excellent for text */
    --accent-gold: #FEBD11;       /* Maverick gold - used for backgrounds, badges, and accents */
    --text-charcoal: #2D3135;      /* High contrast dark gray body text */
    --bg-light-gray: #F5F8FA;      /* Subtle background color panels */
    --white: #FFFFFF;
    
    /* Typography Rules */
    --font-size-base: 1.125rem;    /* Clean 18px base for standard readability */
    --font-size-heading: 2.25rem;  /* Clear, heavy page headers */
}

/* Base Body Resets */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--text-charcoal);
    background-color: var(--white);
    padding-top: 90px; /* Prevents the fixed nav menu from overlapping content */
}

/* Accessibility Focus States */
*:focus-visible {
    outline: 3px solid var(--accent-orange);
    outline-offset: 2px;
}

/* Invisible Skip-Link for Keyboard/Screen Reader Navigation */
.skip-link {
    position: absolute;
    top: -100px;
    left: 10px;
    background: var(--accent-orange);
    color: #000000;
    padding: 10px 20px;
    z-index: 9999;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
}
.skip-link:focus {
    top: 10px;
}

/* ==========================================================================
   Header Layout Engine
   ========================================================================== */
.site-header {
    background-color: var(--white);
    border-bottom: 4px solid var(--primary-purple);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}
.brand .logo {
    height: 60px;
    width: auto;
    max-width: 100%;
}
.brand-text {
    display: flex;
    flex-direction: column;
    max-width: 400px;
}
.brand-title {
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--primary-purple);
    line-height: 1.1;
}
.brand-subtitle {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--text-charcoal);
}

/* ==========================================================================
   Header Navigation & Dropdown Engine (Replaces lines ~75-103)
   ========================================================================== */
.nav-menu {
    display: flex;
    list-style: none !important;
    margin: 0;
    padding: 0;
    gap: 12px;
    align-items: center;
}

.nav-item {
    position: relative; /* Anchors the floating sub-menus */
    list-style: none !important;
}

.nav-menu a {
    text-decoration: none;
    color: var(--primary-purple);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 8px 10px;
    border-radius: 4px;
    transition: background 0.2s, color 0.2s;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.nav-menu a:hover {
    background-color: var(--bg-light-gray);
}

.nav-menu a.nav-btn-accent,
.nav-menu a.nav-btn-highlight {
    background-color: var(--accent-gold);
    color: var(--primary-purple);
    border: 1px solid var(--primary-purple);
    font-weight: 700;
}

.nav-menu a.nav-btn-accent:hover,
.nav-menu a.nav-btn-highlight:hover {
    background-color: var(--primary-purple);
    color: var(--white);
}

/* Floating Dropdown Sub-Menu */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    border: 1px solid #D1D9E0;
    border-radius: 6px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    min-width: 230px;
    padding: 6px 0;
    margin: 0;
    list-style: none !important;
    z-index: 1000;
}

.dropdown-menu li {
    list-style: none !important;
    margin: 0;
    padding: 0;
    display: block;
}

.dropdown-menu li a {
    display: block;
    padding: 10px 16px;
    color: var(--text-charcoal);
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 0;
    white-space: nowrap;
}

.dropdown-menu li a:hover {
    background-color: #FAF6FF;
    color: var(--primary-purple);
}

/* Reveal Sub-Menu on Hover or Focus */
.nav-item.has-dropdown:hover .dropdown-menu,
.nav-item.has-dropdown:focus-within .dropdown-menu {
    display: block;
}

.dropdown-arrow {
    font-size: 0.75rem;
    margin-left: 2px;
}

/* ==========================================================================
   Main Content Layout Container
   ========================================================================== */
main {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}
.hero-block {
    background-color: var(--bg-light-gray);
    border-left: 6px solid var(--accent-gold);
    padding: 40px;
    border-radius: 6px;
    margin-bottom: 40px;
}
.hero-block h1 {
    font-size: var(--font-heading);
    color: var(--primary-purple);
    margin-bottom: 12px;
}

/* ==========================================================================
   Footer Layout Engine
   ========================================================================== */
.site-footer {
    background-color: var(--primary-purple);
    color: var(--white);
    padding: 40px 20px;
    margin-top: 80px;
}
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    text-align: center;
}
.site-footer a {
    color: var(--accent-gold);
    text-decoration: underline;
}
.site-footer a:hover {
    color: var(--white);
}
.accessibility-accommodation {
    background: rgba(255, 255, 255, 0.08);
    padding: 15px 25px;
    border-radius: 4px;
    border: 1px dashed var(--accent-gold);
    max-width: 850px;
}

/* Mobile Layout Collapse rules */
@media (max-width: 768px) {
    body { padding-top: 150px; }
    .header-container {
        flex-direction: column;
        gap: 12px;
    }
    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }
}

/* Handles mid-sized laptop screens so elements stay elegant without wrapping */
@media (max-width: 1150px) and (min-width: 769px) {
    .brand-title {
        font-size: 1.15rem; /* Scales down the header text slightly */
    }
    .brand-subtitle {
        font-size: 0.75rem; /* Scales down the subtitle text slightly */
    }
    .nav-menu {
        gap: 8px;          /* Tightens the physical gap between menu items */
    }
    .nav-menu a {
        font-size: 0.95rem; /* Marginally drops the menu text size to fit */
        padding: 6px 8px;
    }
}

/* ==========================================================================
   Benefits Page Specific Layout Adjustments
   ========================================================================== */
.about-asf-section {
    margin-bottom: 50px;
}
.about-asf-section h2, .benefits-value-section h2 {
    color: var(--primary-purple);
    font-size: 1.75rem;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--bg-light-gray);
    padding-bottom: 8px;
}
.about-asf-section p {
    margin-bottom: 15px;
}

/* Departments Container Box */
.departments-callout {
    background-color: var(--bg-light-gray);
    border-top: 4px solid var(--primary-purple);
    padding: 25px;
    border-radius: 0 0 6px 6px;
    margin: 25px 0;
    text-align: center;
}
.departments-callout h3 {
    color: var(--primary-purple);
    font-size: 1.2rem;
    margin-bottom: 15px;
}

/* Department Layout Tags */
.clean-tag-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 0;
}
.clean-tag-list li {
    background-color: var(--white);
    color: var(--text-charcoal);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid #D1D9E0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}

/* Two-Column Grid layout for the 10 pillars on Desktop screens */
@media (min-width: 900px) {
    .benefits-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 25px;
    }
}

/* ==========================================================================
   Split Introduction Layout (Text + Image Side-by-Side)
   ========================================================================== */
.split-intro {
    display: flex;
    flex-direction: column; /* Mobile first: stack vertically */
    gap: 25px;
    margin-bottom: 40px;
}

/* When the screen is large enough, pivot to a side-by-side row layout */
@media (min-width: 850px) {
    .split-intro {
        flex-direction: row;
        align-items: center; /* Vertically aligns image center with text center */
    }
    .split-intro-text {
        flex: 1.4; /* Text column gets slightly more width allocation */
    }
    .split-intro-image {
        flex: 1;   /* Image column scales proportionally to fill the remaining room */
    }
}

/* Image Optimization Constraints */
.responsive-intro-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 6px; /* Smooth corners matching your benefit cards */
    border: 1px solid #D1D9E0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03); /* Soft drop shadow for oomph */
}

/* Common Column Rules */
.split-col {
    background-color: var(--bg-light-gray);
    border-radius: 8px;
    padding: 35px;
    border: 1px solid #D1D9E0;
    display: flex;
    flex-direction: column;
}
.split-col h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--primary-purple);
}
.col-desc {
    font-size: 0.95rem;
    color: #555E66;
    margin-bottom: 25px;
    line-height: 1.4;
}

/* Baseline Column Styling (Subtle) */
.split-grid {
    display: flex !important;
    flex-direction: column !important; /* Stacked on mobile screens */
    gap: 30px;
    width: 100%;
}

@media (min-width: 850px) {
    .split-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important; /* Forces 2 columns on desktop */
        gap: 25px;
    }
}

.baseline-box {
    border-top: 4px solid #788896; /* Neutral steel gray border */
}
.checkmark-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.checkmark-list li {
    position: relative;
    padding-left: 28px;
    font-size: 1rem;
}
.checkmark-list li::before {
    content: "✔";
    position: absolute;
    left: 0;
    top: 0;
    color: #555E66;
    font-weight: bold;
}

/* Membership Column Styling (Highly Highlighted) */
.membership-box {
    border: 2px solid var(--primary-purple);
    background-color: #FAF8FF; /* Very faint purple tint to elevate prominence */
    position: relative;
    box-shadow: 0 4px 15px rgba(73, 48, 110, 0.06);
}
.membership-box .badge-accent {
    position: absolute;
    top: -14px;
    right: 20px;
    background-color: var(--accent-gold);
    color: var(--primary-purple);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 20px;
    border: 1px solid var(--primary-purple);
    letter-spacing: 0.5px;
}

/* The 10 Reasons List Spacing */
.numbered-membership-list {
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
    flex-grow: 1;
}
.numbered-membership-list li {
    font-size: 1rem;
    line-height: 1.5;
}
.numbered-membership-list strong {
    color: var(--primary-purple);
}

/* Large Full Width Action Button inside the card */
.center-btn-wrap {
    margin-top: auto;
}
.action-card-btn {
    display: block;
    text-align: center;
    background-color: var(--primary-purple);
    color: var(--white);
    text-decoration: none;
    padding: 14px 20px;
    border-radius: 6px;
    font-weight: 700;
    transition: background 0.2s;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.action-card-btn:hover {
    background-color: var(--text-charcoal);
}

/* ==========================================================================
   Officers Page Card Framework
   ========================================================================== */
.officers-section h2 {
    color: var(--primary-purple);
    font-size: 1.75rem;
    margin-bottom: 25px;
    border-bottom: 2px solid var(--bg-light-gray);
    padding-bottom: 8px;
}
.section-intro-text {
    max-width: 800px;
    margin-bottom: 25px;
    font-size: 1.05rem;
}

/* Response Flex/Grid Engine */
.officer-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

@media (min-width: 768px) {
    .officer-grid {
        display: grid;
        grid-template-columns: 1fr 1fr; /* Two columns on tablets/desktops */
        gap: 25px;
    }
}

/* Individual Profile Card Modules */
.officer-card {
    background-color: var(--bg-light-gray);
    border: 1px solid #D1D9E0;
    border-top: 5px solid var(--primary-purple); /* Standard purple crown edge */
    border-radius: 6px;
    padding: 30px;
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

/* Highlight Variant for the President's Card */
.officer-card.border-gold {
    border-top: 5px solid var(--accent-gold);
    background-color: #FAF8FF;
}

/* Embedded Role Badges */
.card-role-badge {
    position: absolute;
    top: -14px;
    left: 20px;
    background-color: var(--primary-purple);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}
.card-role-badge.bg-gold {
    background-color: var(--accent-gold);
    color: var(--primary-purple);
    border: 1px solid var(--primary-purple);
    font-weight: 800;
}

/* Typography elements within profile cards */
.officer-details h3 {
    font-size: 1.35rem;
    color: var(--primary-purple);
    margin-top: 5px;
    margin-bottom: 4px;
}
.officer-campus-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-charcoal);
}
.officer-dept {
    font-size: 0.9rem;
    color: #555E66;
    margin-bottom: 20px;
}

/* High-Contrast Accessible Mailto Action Button */
.officer-email-btn {
    display: inline-block;
    margin-top: auto;
    text-align: center;
    background-color: var(--white);
    color: var(--primary-purple);
    border: 1px solid var(--primary-purple);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}
.officer-email-btn:hover {
    background-color: var(--primary-purple);
    color: var(--white);
}

/* Compact Row Modules for Stewards */
.officer-card-compact {
    background-color: var(--white);
    border: 1px solid #D1D9E0;
    border-left: 4px solid var(--primary-purple);
    padding: 15px 25px;
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.officer-card-compact h3 {
    font-size: 1.1rem;
    color: var(--text-charcoal);
}
.steward-role {
    font-size: 0.85rem;
    color: #555E66;
    font-weight: 600;
}
.compact-mail-link {
    color: var(--primary-purple);
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: underline;
}
.compact-mail-link:hover {
    color: var(--text-charcoal);
}

/* ==========================================================================
   Officers Page Directives & Card Engine
   ========================================================================== */
.officers-section h2, .partner-panel h2 {
    color: var(--primary-purple);
    font-size: 1.6rem;
    margin-bottom: 25px;
    border-bottom: 2px solid var(--bg-light-gray);
    padding-bottom: 6px;
}

/* Local Directory Grid Control */
.officer-grid {
    display: grid;
    grid-template-columns: 1fr; /* Full width cards on mobile metrics */
    gap: 30px;
}

@media (min-width: 950px) {
    .officer-grid {
        grid-template-columns: 1fr 1fr; /* Balanced double columns on desktop monitors */
        gap: 25px;
    }
}

/* The Photo Card Base Container */
.officer-card {
    background-color: var(--bg-light-gray);
    border: 1px solid #D1D9E0;
    border-top: 5px solid var(--primary-purple);
    border-radius: 6px;
    padding: 25px;
    position: relative;
    
    display: flex;
    flex-direction: column; /* Mobile: elements stack vertically */
    align-items: center;
    text-align: center;
    gap: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.01);
}

@media (min-width: 550px) {
    .officer-card {
        flex-direction: row; /* Desktop: photo on left, details on right */
        text-align: left;
        align-items: stretch;
    }
}

.officer-card.border-gold {
    border-top: 5px solid var(--accent-gold);
    background-color: #FAF8FF;
}

/* Floating Structural Role Badges */
.card-role-badge {
    position: absolute;
    top: -14px;
    left: 20px;
    background-color: var(--primary-purple);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    border: 1px solid var(--primary-purple);
}
.card-role-badge.bg-gold {
    background-color: var(--accent-gold);
    color: var(--primary-purple);
    font-weight: 800;
}

/* Image Framing Engine */
.officer-photo-wrapper {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
    border-radius: 50%; /* Keeps headshots formatted inside sharp, clean circles */
    overflow: hidden;
    border: 3px solid var(--white);
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    background-color: #E1E6EB;
}
.officer-photo-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Prevents portrait/landscape headshots from distorting */
}

/* Right-Side Text Management */
.officer-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-grow: 1;
}
/* Typography elements within profile cards */
.officer-details h3 {
    font-size: 1.3rem;
    color: var(--primary-purple);
    margin-bottom: 4px;
}
.officer-title {
    font-size: 0.95rem;
    font-weight: 700;                 /* Bold campus title to establish immediate hierarchy */
    color: var(--text-charcoal);
    line-height: 1.3;
    margin-bottom: 2px;
}
.officer-dept {
    font-size: 0.85rem;
    color: #555E66;
    font-weight: 600;                 /* Muted department name below it */
    margin-bottom: 15px;              /* Pushes the button cleanly to the bottom */
    line-height: 1.3;
}
.officer-email-btn {
    display: inline-block;
    align-self: flex-start;
    background-color: var(--white);
    color: var(--primary-purple);
    border: 1px solid var(--primary-purple);
    text-decoration: none;
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 700;
    transition: all 0.2s ease;
}
@media (max-width: 550px) {
    .officer-email-btn {
        align-self: center;
        width: 100%;
        text-align: center;
    }
}
.officer-email-btn:hover {
    background-color: var(--primary-purple);
    color: var(--white);
}

/* Compact Steward Strips Styling */
.steward-rows {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.steward-strip {
    background-color: var(--white);
    border: 1px solid #D1D9E0;
    border-left: 4px solid var(--primary-purple);
    padding: 15px 25px;
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.steward-strip h3 { font-size: 1.1rem; color: var(--text-charcoal); }
.steward-role { font-size: 0.85rem; color: #555E66; font-weight: 600; }
.steward-mail-link { color: var(--primary-purple); font-weight: 700; font-size: 0.9rem; }

/* Partner Split Box Architecture (Statewide & Teamsters) */
.partners-split-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 50px;
}
@media (min-width: 900px) {
    .partners-split-container {
        flex-direction: row;
    }
    .partner-panel {
        flex: 1;
    }
}
.partner-panel {
    background-color: var(--bg-light-gray);
    border: 1px solid #D1D9E0;
    padding: 30px;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
}
.partner-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 25px;
}
.partner-list li { font-size: 0.95rem; }
.partner-loc { color: #555E66; font-size: 0.9rem; font-style: italic; }

.teamster-profile {
    background: var(--white);
    border: 1px solid #D1D9E0;
    padding: 12px 20px;
    border-radius: 4px;
    margin-bottom: 20px;
}
.agent-label { font-size: 0.75rem; text-transform: uppercase; font-weight: 800; color: #555E66; letter-spacing: 0.5px; }
.teamster-profile h3 { color: var(--primary-purple); font-size: 1.25rem; }
.address-block, .contact-block { font-size: 0.9rem; margin-bottom: 15px; line-height: 1.5; }

.partner-panel-link {
    margin-top: auto;
    color: var(--primary-purple);
    font-weight: 700;
    text-decoration: none;
    font-size: 0.95rem;
}
.partner-panel-link:hover { text-decoration: underline; }

/* ==========================================================================
   Documents & Resource Layout Portal
   ========================================================================== */
.resources-layout-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin: 40px 0;
}

@media (min-width: 900px) {
    .resources-layout-grid {
        display: grid;
        grid-template-columns: 1fr 1fr; /* Side-by-side categories on desktop */
        gap: 25px;
    }
    .full-width-cat {
        grid-column: span 2; /* Forces the minutes row to stretch full width below */
    }
}

/* Individual Category Dashboard Panels */
.resource-cat-card {
    background-color: var(--white);
    border: 1px solid #D1D9E0;
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 5px rgba(0,0,0,0.01);
}
.cat-header-strip {
    background-color: var(--primary-purple);
    padding: 15px 25px;
}
.cat-header-strip h2 {
    color: var(--white);
    font-size: 1.25rem;
    margin: 0;
}
.cat-body {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.cat-desc {
    font-size: 0.95rem;
    color: #555E66;
    margin-bottom: 20px;
    line-height: 1.4;
}

/* Document List Rows */
.doc-download-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.doc-download-list li {
    border: 1px solid #E1E6EB;
    border-radius: 4px;
    background-color: var(--bg-light-gray);
    transition: background 0.2s;
}
.doc-download-list li:hover {
    background-color: #FAF8FF; /* Soft background change on hover */
    border-color: var(--primary-purple);
}

/* Core Accessible Resource Link Layout Base */
.resource-link {
    display: flex;
    flex-direction: column;
    padding: 14px 18px;
    text-decoration: none;
    position: relative;
    padding-left: 60px; /* Leaves clear spacing for the automatic visual tag */
}

/* Base style for all badges - Standardized Width Engine */
.resource-link::before {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 900;
    
    width: 34px;          /* Locks every single box to the exact same width */
    height: 34px;         /* Makes it a clean, perfect square badge */
    padding: 0;
    display: flex;        /* Activates centration engine */
    align-items: center;  /* Centers symbol vertically */
    justify-content: center; /* Centers symbol horizontally */
    
    border-radius: 4px;   /* Smooth rounded corners matching your cards */
}

/* Modifier A: Local PDF Documents */
.type-pdf::before {
    content: "\1F4C4";
    background-color: #C9211E; /* High-contrast PDF red */
}

/* Modifier B: Live External Web Links (Like MinnState) */
.type-web::before {
    content: "\1F517";
    background-color: #1A5FB4; /* Solid web-link blue */
}

/* Modifier C: Secure Internal Portals (Like The Fountain) */
.type-secure::before {
    content: "\1F512";
    background-color: var(--primary-purple); /* Union Purple for security matches */
}

/* Modifier D: Excel Spreadsheets & Calculators */
.type-excel::before {
    content: "\1F4C5";
    background-color: #107C41; /* Clean, recognizable spreadsheet green */
}

.doc-title {
    color: var(--primary-purple);
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.3;
    margin-bottom: 2px;
}
.doc-meta {
    font-size: 0.8rem;
    color: #6C7680;
    font-weight: 500;
}

/* Meeting Minutes Horizontal Link Row */
.minutes-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}
@media (min-width: 600px) {
    .minutes-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
}
.minutes-badge-link {
    background-color: var(--bg-light-gray);
    border: 1px solid #D1D9E0;
    border-top: 3px solid var(--accent-gold); /* Fun gold accent indicator */
    padding: 15px;
    border-radius: 4px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    text-align: center;
    transition: transform 0.2s ease;
}
.minutes-badge-link:hover {
    transform: translateY(-2px);
    border-color: var(--primary-purple);
}
.minutes-date {
    font-weight: 800;
    color: var(--primary-purple);
    font-size: 1.05rem;
}
.minutes-type {
    font-size: 0.75rem;
    color: #555E66;
    font-weight: 600;
    margin-top: 2px;
}

/* ==========================================================================
   Responsive Live Google Calendar Container & Panel Grid
   ========================================================================== */
.calendar-wrapper {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 20px;
}

.calendar-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding-top: 70%; /* Establishes a professional proportions ratio for the grid */
    border: 1px solid #D1D9E0;
    border-radius: 6px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    background-color: var(--white);
    margin-bottom: 40px;
}

/* Forces the Google Iframe to completely match the aspect ratio boundary */
.calendar-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Mobile Tweak: Give it a bit more vertical height on small screens */
@media (max-width: 600px) {
    .calendar-container {
        padding-top: 120%; /* Makes the calendar taller on phones so you can see days */
    }
}

/* Three-Column Calendar Lists Grid Engine */
.calendar-lists-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin: 40px 0;
    clear: both;
}

@media (min-width: 950px) {
    .calendar-lists-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        align-items: start;
        gap: 30px;
    }
}

.calendar-panel {
    background-color: var(--white);
    border: 1px solid #D1D9E0;
    border-radius: 6px;
    padding: 25px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.01);
    font-size: 0.9rem;
}

.calendar-panel h2 {
    color: var(--white);
    background-color: var(--primary-purple);
    font-size: 1.15rem;
    margin: -25px -25px 15px -25px;
    padding: 12px 25px;
    border-radius: 6px 6px 0 0;
}

.calendar-panel h3 {
    color: var(--primary-purple);
    font-size: 1.05rem;
    margin-top: 20px;
    margin-bottom: 8px;
    border-bottom: 1px solid #E1E6EB;
    padding-bottom: 4px;
}

.calendar-panel h3:first-of-type {
    margin-top: 0;
}

.calendar-panel p {
    margin-bottom: 12px;
    line-height: 1.4;
}

.calendar-panel ul {
    margin: 0 0 15px 0;
    padding-left: 20px;
}

.calendar-panel li {
    margin-bottom: 4px;
    line-height: 1.4;
}

/* ==========================================================================
   Contact Hub & Accessible Form Styles
   ========================================================================== */
.contact-layout-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin: 40px 0;
}

@media (min-width: 900px) {
    .contact-layout-grid {
        display: grid;
        grid-template-columns: 1fr 1.2fr; /* Forms gets slightly more room than links */
        gap: 35px;
        align-items: start;
    }
}

/* Individual Panel Wrapper Elements */
.contact-directory-panel, .contact-form-panel {
    background-color: var(--white);
    border: 1px solid #D1D9E0;
    border-radius: 6px;
    padding: 30px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.01);
}
.contact-directory-panel h2, .contact-form-panel h2 {
    color: var(--primary-purple);
    font-size: 1.4rem;
    margin-top: 0;
    margin-bottom: 5px;
}
.contact-panel-tip {
    font-size: 0.95rem;
    color: #555E66;
    margin-bottom: 25px;
    line-height: 1.4;
}

/* Left Column Channels */
.direct-contact-channels {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.channel-card {
    border-left: 3px solid var(--accent-gold);
    background-color: var(--bg-light-gray);
    padding: 15px 20px;
    border-radius: 0 4px 4px 0;
}
.channel-card h3 {
    margin: 0 0 5px 0;
    font-size: 1.05rem;
    color: var(--primary-purple);
}
.channel-card p {
    margin: 0 0 12px 0;
    font-size: 0.88rem;
    color: #4A5157;
    line-height: 1.3;
}
.channel-mail-btn {
    display: inline-block;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--primary-purple);
    text-decoration: none;
    border: 1px solid var(--primary-purple);
    padding: 5px 12px;
    border-radius: 4px;
    transition: all 0.2s;
}
.channel-mail-btn:hover {
    background-color: var(--primary-purple);
    color: var(--white);
}
.full-directory-callout {
    margin-top: 25px;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
}
.full-directory-callout a {
    color: var(--primary-purple);
}

/* Right Column Input Controls */
.accessible-web-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.form-group-row {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
@media (min-width: 600px) {
    .form-group-row {
        flex-direction: row;
    }
    .form-group-row .form-control-block {
        flex: 1;
    }
}
.form-control-block {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.form-control-block label {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary-purple);
}
.req-star {
    color: #C9211E;
}

/* Input Standardization Engines */
.accessible-web-form input[type="text"],
.accessible-web-form input[type="email"],
.accessible-web-form select,
.accessible-web-form textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #D1D9E0;
    border-radius: 4px;
    font-family: inherit;
    font-size: 0.95rem;
    color: #24292F;
    background-color: var(--white);
    box-sizing: border-box;
    transition: border-color 0.15s ease-in-out;
}
.accessible-web-form input:focus,
.accessible-web-form select:focus,
.accessible-web-form textarea:focus {
    outline: none;
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 3px rgba(74, 30, 133, 0.15); /* Soft purple focus ring */
}

/* Big Interactive Button */
.form-submit-btn {
    background-color: var(--primary-purple);
    color: var(--white);
    border: none;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    align-self: flex-start; /* Keeps the button matching its text width instead of stretching */
    transition: background 0.15s;
}
.form-submit-btn:hover {
    background-color: #381566; /* Deep rich purple variant */
}

/* ==========================================================================
   Member Spotlights (Wins Portal) Dashboard
   ========================================================================== */
.wins-layout-grid {
    display: flex;
    flex-direction: column;
    gap: 35px;
    margin: 40px 0;
}

@media (min-width: 950px) {
    .wins-layout-grid {
        display: grid;
        grid-template-columns: 1.51fr 1fr; /* Balance content column with form sidebar */
        gap: 35px;
        align-items: start;
    }
}

.wins-content-column {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* Base Style for Main Announcement Blocks */
.spotlight-card {
    background-color: var(--white);
    border: 1px solid #D1D9E0;
    border-radius: 6px;
    padding: 30px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.01);
}
.accent-left-gold { border-left: 5px solid var(--accent-gold); }
.accent-left-purple { border-left: 5px solid var(--primary-purple); }
.accent-left-blue { border-left: 5px solid #1A5FB4; }

.spotlight-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #E1E6EB;
    padding-bottom: 12px;
    margin-bottom: 15px;
}
.spotlight-header h2 {
    margin: 0;
    color: var(--primary-purple);
    font-size: 1.35rem;
}

/* Category Badges */
.spotlight-badge {
    font-size: 0.75rem;
    font-weight: 800;
    background-color: #FEF6E5;
    color: #B27B00;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.badge-purple { background-color: #FAF6FF; color: var(--primary-purple); }
.badge-blue { background-color: #EBF3FC; color: #1A5FB4; }

/* EnRICHment Direct CTA Link Button */
.download-app-btn {
    display: inline-block;
    background-color: var(--primary-purple);
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    padding: 10px 18px;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: background 0.15s;
}
.download-app-btn:hover { background-color: #381566; }

/* Native Accordion Engine Code */
.past-winners-accordion h3 {
    font-size: 1.05rem;
    color: #24292F;
    margin-top: 25px;
    margin-bottom: 12px;
}
.winner-accordion-row {
    background-color: var(--bg-light-gray);
    border: 1px solid #D1D9E0;
    border-radius: 4px;
    margin-bottom: 8px;
    overflow: hidden;
}
.winner-accordion-row summary {
    padding: 12px 15px;
    font-weight: 700;
    color: var(--primary-purple);
    cursor: pointer;
    outline: none;
    user-select: none;
    font-size: 0.95rem;
}
.winner-accordion-row[open] summary {
    border-bottom: 1px solid #D1D9E0;
    background-color: #FAF6FF;
}
.accordion-inner-body {
    padding: 15px 20px;
    background-color: var(--white);
}
.accordion-inner-body ul {
    margin: 0;
    padding-left: 20px;
}
.accordion-inner-body li {
    margin-bottom: 8px;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Success Bullet Formatting */
.milestone-bullets-list {
    padding-left: 20px;
    margin: 0;
}
.milestone-bullets-list li {
    margin-bottom: 14px;
    line-height: 1.45;
    font-size: 0.95rem;
}

/* Comings and Goings Partition */
.roster-split-box {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}
@media (min-width: 600px) {
    .roster-split-box {
        flex-direction: row;
    }
    .roster-sub-section { flex: 1; }
}
.roster-sub-section h4 { margin: 0 0 10px 0; font-size: 0.98rem; }
.roster-status-in { color: #2E7D32; }
.roster-status-out { color: var(--primary-purple); }
.roster-sub-section ul { padding-left: 18px; margin: 0; }
.roster-sub-section li { font-size: 0.9rem; margin-bottom: 6px; line-height: 1.35; }

/* Submissions Form Sidebar Panel */
.submission-sidebar-panel {
    background-color: var(--white);
    border: 1px solid #D1D9E0;
    border-radius: 6px;
    padding: 30px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.01);
}
.submission-sidebar-panel h2 {
    color: var(--primary-purple);
    font-size: 1.35rem;
    margin-top: 0;
    margin-bottom: 5px;
}
.sidebar-panel-tip {
    font-size: 0.88rem;
    color: #555E66;
    margin-bottom: 20px;
    line-height: 1.4;
}

/* ==========================================================================
   Grid List Directory Layout (whoswho.php)
   ========================================================================== */
.directory-grid-layout {
    display: flex;
    flex-direction: column; /* Mobile-first: stacks in one column */
    gap: 30px;
    margin: 40px 0;
}

@media (min-width: 850px) {
    .directory-grid-layout {
        display: grid;
        grid-template-columns: 1fr 1fr; /* Splits into two equal columns on desktop */
        align-items: start; /* Prevents short panels from stretching to match tall panels */
        gap: 30px;
    }
}

.directory-panel {
    background-color: var(--white);
    border: 1px solid #D1D9E0;
    border-radius: 6px;
    padding: 30px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.01);
}

.directory-panel h2 {
    color: var(--white);
    background-color: var(--primary-purple);
    font-size: 1.2rem; /* Stepped down from 1.4rem */
    margin: -30px -30px 20px -30px;
    padding: 12px 30px;
    border-radius: 6px 6px 0 0;
}

.directory-panel h3 {
    color: var(--primary-purple);
    font-size: 1.05rem; /* Stepped down from 1.15rem */
    margin-top: 25px;
    margin-bottom: 8px;
    border-bottom: 1px solid #E1E6EB;
    padding-bottom: 4px;
}

.directory-panel h3:first-of-type {
    margin-top: 0;
}

.directory-panel ul {
    margin: 0 0 15px 0;
    padding-left: 25px;
}

.directory-panel li {
    font-size: 0.9rem; /* Stepped down to a crisp, standard index size */
    margin-bottom: 6px;
    line-height: 1.35;
}

.directory-panel p {
    font-size: 0.9rem; /* Matches the list items */
    margin-bottom: 15px;
    line-height: 1.4;
}