/* ==========================================================================
   1. GLOBAL RESETS & CSS VARIABLES
   ========================================================================== */
:root {
    /* Color Palette */
    --primary-blue: #1e3a8a;      /* Deep, trustworthy blue anchor */
    --accent-blue: #2563eb;       /* Vibrant blue for links/actions */
    --text-main: #1f2937;         /* Charcoal dark for crisp text readability */
    --text-muted: #4b5563;        /* Muted slate for body descriptions */
    --bg-light: #f8fafc;          /* Off-white background for grid sections */
    --bg-white: #ffffff;          /* Pure white for card components */
    
    /* Ministry Color Coding */
    --color-men: #1e3a8a;      /* Deep Blue (matches primary-blue) */
    --color-women: #ec4899;    /* Vibrant Pink */
    --color-outreach: #059669; /* Emerald Green */
    --color-admin: #64748b;    /* Slate Gray */

    
    /* Layout & Utility Variables */
    --max-width: 1200px;
    --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --card-hover-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --radius-sm: 6px;
    --radius-lg: 12px;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
    /* Combined Category Modifiers */
   .event-men { border-top: 5px solid var(--color-men) !important; background-color: #eff6ff !important; }
   .event-women { border-top: 5px solid var(--color-women) !important; background-color: #fdf2f8 !important; }
   .event-outreach { border-top: 5px solid var(--color-outreach) !important; background-color: #ecfdf5 !important; }
   .event-admin { border-top: 5px solid var(--color-admin) !important; background-color: #f8fafc !important; }

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

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* ==========================================================================
   2. GLOBAL NAVIGATION HEADER
   ========================================================================== */
.global-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 20px;
    background-color: var(--bg-white);
}

.brand-identity {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    letter-spacing: -0.025em;
    line-height: 1.2;
}

.brand-sub {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition-smooth);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-blue);
}

/* High-visibility Give Button CTA */
.nav-links .btn-nav-give {
    background-color: var(--primary-blue);
    color: var(--bg-white);
    padding: 8px 20px;
    border-radius: var(--radius-sm);
    transition: var(--transition-smooth);
}

.nav-links .btn-nav-give:hover {
    background-color: var(--accent-blue);
    color: var(--bg-white);
    transform: translateY(-1px);
}

/* ==========================================================================
   3. HERO VIEWPORT LAYER WITH TEXT OVERLAY
   ========================================================================== */
.hero-viewport {
    /* Using a dark gradient overlay to guarantee text passes strict accessibility contrasts */
    background: linear-gradient(rgba(15, 23, 42, 0.5), rgba(15, 23, 42, 0.7)), 
                url('../images/church-hero-placeholder.jpg') no-repeat center center/cover;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--bg-white);
    padding: 40px 20px;
}

.hero-content {
    max-width: 800px;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -0.03em;
}

.hero-content p {
    font-size: 1.25rem;
    line-height: 1.7;
    margin-bottom: 35px;
    opacity: 0.95;
    font-weight: 400;
}

.btn-primary {
    display: inline-block;
    background-color: var(--bg-white);
    color: var(--primary-blue);
    text-decoration: none;
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    transition: var(--transition-smooth);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
}
#beliefs {
    scroll-margin-top: 120px; /* Adjust this number until the heading lands exactly where you want it */
}

/* ==========================================================================
   4. LOGISTICS ZONE BAR
   ========================================================================== */
.logistics-bar {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    background-color: var(--primary-blue);
    color: var(--bg-white);
    padding: 30px 20px;
    text-align: center;
    gap: 20px;
}

.logistics-item h3 {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 5px;
    opacity: 0.85;
}

.logistics-item p {
    font-size: 1.25rem;
    font-weight: 600;
}

/* ==========================================================================
   5. FEATURE SHOWCASE (CARD COMPONENT GRID)
   ========================================================================== */
.feature-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: var(--max-width);
    margin: 80px auto;
    padding: 0 20px;
}

.feature-card {
    background-color: var(--bg-white);
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-lg);
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--card-shadow);
    transition: var(--transition-smooth);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-hover-shadow);
    border-color: #cbd5e1;
}

.feature-card h2 {
    font-size: 1.6rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.feature-card p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
}

.card-link {
    text-decoration: none;
    color: var(--accent-blue);
    font-weight: 600;
    transition: var(--transition-smooth);
}

.card-link:hover {
    color: var(--primary-blue);
    padding-left: 5px;
}

/* ==========================================================================
   6. GLOBAL FOOTER
   ========================================================================== */
.global-footer {
    background-color: #0f172a; /* Extra dark gray slate */
    color: #94a3b8;            /* Soft gray footer text color */
    padding: 60px 20px 20px 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: var(--max-width);
    margin: 0 auto 40px auto;
}

.footer-col h4 {
    color: var(--bg-white);
    font-size: 1.1rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-col p {
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.footer-bottom {
    border-top: 1px solid #334155;
    max-width: var(--max-width);
    margin: 0 auto;
    padding-top: 25px;
    text-align: center;
    font-size: 0.85rem;
}

/* ==========================================================================
   7. RESPONSIVE DESIGN BREAKPOINTS
   ========================================================================== */
@media (max-width: 768px) {
    .global-header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .nav-links {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .logistics-bar {
        flex-direction: column;
        gap: 15px;
    }
}
/* ==========================================================================
   8. DONATE PAGE SPECIFIC LAYOUTS
   ========================================================================== */
.donate-container {
    max-width: var(--max-width);
    margin: 60px auto;
    padding: 0 20px;
}

.donate-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px auto;
}

.donate-header h2 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
    letter-spacing: -0.025em;
}

.donate-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.6;
}

/* 3-Column Layout Grid */
.giving-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

/* Individual Giving Cards */
.giving-card {
    background-color: var(--bg-white);
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-lg);
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--card-shadow);
    transition: var(--transition-smooth);
}

.giving-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--card-hover-shadow);
}

/* Visual border highlight for the core Benevolence / Outreach fund */
.giving-card.highlighted {
    border-top: 5px solid var(--accent-blue);
    background-color: #fafafa;
}

.giving-card h3 {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.giving-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
}

/* List Formatting for Outreach Items */
.benevolence-list {
    list-style-position: inside;
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 25px;
    line-height: 1.8;
}

/* Give Button styling inside the cards */
.btn-give {
    display: block;
    text-align: center;
    background-color: var(--primary-blue);
    color: var(--bg-white);
    text-decoration: none;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    transition: var(--transition-smooth);
    margin-top: 15px;
}

.btn-give:hover {
    background-color: var(--accent-blue);
}

.guest-btn {
    display: inline-block;
    background-color: #6c757d; /* Muted gray color */
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
}

.guest-btn:hover {
    background-color: #5a6268;
}

.nav-btn {
    padding: 10px 15px;      /* Consistent padding */
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    display: inline-block;
    transition: opacity 0.2s; /* Nice hover effect */
}

.btn-nav-guest {
    background: #e2e8f0;
    color: #475569;
}

.btn-nav-give {
    background: #1e3a8a; /* Your 'Give' color */
    color: white;
}

.btn-nav-sign-in {
    background: #38bdf8; /* Your 'Sign In' color */
    color: #0f172a;
}

.nav-btn:hover {
    opacity: 0.9; /* Makes them feel interactive */
}

/* Mail-In Alternative Section Banner */
.mail-banner {
    background-color: var(--bg-light);
    border: 1px dashed #cbd5e1;
    border-radius: var(--radius-lg);
    padding: 40px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.mail-banner h3 {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.mail-banner p {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 650px;
    margin: 0 auto 25px auto;
}

/* Address Display Container Box */
.address-box {
    background-color: var(--bg-white);
    border: 1px solid #e2e8f0;
    display: inline-block;
    padding: 20px 40px;
    border-radius: var(--radius-sm);
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-main);
    box-shadow: var(--card-shadow);
}
/* ==========================================================================
   9. MINISTRIES DIRECTORY GRID LAYOUTS
   ========================================================================== */
.ministries-container {
    max-width: var(--max-width);
    margin: 60px auto;
    padding: 0 20px;
}

.ministries-header {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 60px auto;
}

.ministries-header h2 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
    letter-spacing: -0.025em;
}

.ministries-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Balanced Grid Setup */
.ministries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

/* Individual Ministry Cards */
.ministry-card {
    background-color: var(--bg-white);
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-lg);
    padding: 35px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--card-shadow);
    transition: var(--transition-smooth);
}

.ministry-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--card-hover-shadow);
    border-color: #cbd5e1;
}

.ministry-icon {
    font-size: 2.2rem;
    display: inline-block;
    background-color: var(--bg-light);
    padding: 10px 15px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
}

.ministry-card h3 {
    font-size: 1.4rem;
    color: var(--primary-blue);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.ministry-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 25px;
}

/* Secondary Connection Buttons */
.btn-ministry-contact {
    display: block;
    text-align: center;
    background-color: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
    text-decoration: none;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.btn-ministry-contact:hover {
    background-color: var(--primary-blue);
    color: var(--bg-white);
}

.rolodex-container {
    display: flex;              /* Put everything in one row */
    overflow-x: auto;           /* Allow horizontal scrolling */
    gap: 20px;                  /* Space between cards */
    padding-bottom: 20px;       /* Adds space for the scrollbar */
    scroll-behavior: smooth;    /* Makes scrolling feel nice */
}

/* Optional: Make the cards look good in a horizontal list */
.rolodex-container .ministry-card {
    min-width: 250px;           /* Prevents cards from squishing */
    flex: 0 0 auto;             /* Keeps cards from stretching */
}

/* Add these right before the comment for Section 10 */

/* Centering and styling the directory header */
#member-directory {
    text-align: center;
    margin-bottom: 40px;
}

#member-directory h2 {
    color: var(--primary-blue);
    margin-bottom: 5px;
}

/* Optional: Add this if you want the subtitle to look distinct */
.directory-subtitle {
    color: var(--text-muted);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

/* ==========================================================================
   10. MEDIA & RESOURCES HUB LAYOUTS
   ========================================================================== */
.media-container {
    max-width: var(--max-width);
    margin: 60px auto;
    padding: 0 20px;
}

.media-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px auto;
}

.media-header h2 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
    letter-spacing: -0.025em;
    font-weight: 800;
}

.media-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Streamlined Modern Grid Layout */
.media-split-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

@media (max-width: 600px) {
    .media-split-row {
        grid-template-columns: 1fr;
    }
}

.media-panel {
    background-color: var(--bg-white);
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-lg);
    padding: 35px;
    display: flex;
    flex-direction: column;
    box-shadow: var(--card-shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.media-panel:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

/* Decorative Badges */
.panel-badge, .panel-badge-alt {
    align-self: flex-start;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 15px;
}

.panel-badge {
    background-color: #e0f2fe;
    color: #0369a1;
}

.panel-badge-alt {
    background-color: #fef2f2;
    color: #b91c1c;
}

.media-panel h3 {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 12px;
}

.media-panel p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Media Widget Placeholder Box Settings */
.media-placeholder-box {
    background-color: var(--bg-light);
    border: 1px dashed #cbd5e1;
    border-radius: var(--radius-sm);
    padding: 30px 20px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.media-placeholder-box.alt-bg {
    background-color: #fff8f8;
    border-color: #fca5a5;
}

/* Button CTA Rules for Media Panels */
.btn-media-action {
    display: inline-block;
    text-align: center;
    background-color: var(--primary-blue);
    color: var(--bg-white);
    text-decoration: none;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    transition: background 0.15s ease;
}

.btn-media-action:hover {
    background-color: #1e293b;
}

/* Full-Width Bible Reading Plan Banner Component */
.reading-plan-banner {
    background: var(--bg-light);
    border: 1px solid #e2e8f0;
    color: var(--text-dark);
    border-radius: var(--radius-lg);
    padding: 35px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    box-shadow: var(--card-shadow);
}

.reading-plan-content {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    flex: 1;
    min-width: 280px;
}

.plan-icon {
    font-size: 2.5rem;
    line-height: 1;
}

.reading-plan-content h3 {
    font-size: 1.4rem;
    color: var(--primary-blue);
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.reading-plan-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.btn-plan-download {
    display: inline-block;
    background-color: var(--bg-white);
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
    text-decoration: none;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.9rem;
    white-space: nowrap;
    transition: all 0.15s ease;
}

.btn-plan-download:hover {
    background-color: var(--primary-blue);
    color: var(--bg-white);
}

/* ==========================================================================
   11. ABOUT US & STAFF LAYOUTS
   ========================================================================== */
.about-container {
    max-width: var(--max-width);
    margin: 60px auto;
    padding: 0 20px;
}

.about-section {
    padding: 40px 0;
}

.about-section h2, 
.about-section h3 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    text-align: center;
    margin-bottom: 15px;
    letter-spacing: -0.025em;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 40px auto;
    font-size: 1.1rem;
}

.section-divider {
    border: 0;
    height: 1px;
    background: #e2e8f0;
    margin: 40px 0;
}

/* Logistics Grid Side-by-Side */
.logistics-card-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.logistics-detail-card {
    background-color: var(--bg-light);
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-lg);
    padding: 35px;
    box-shadow: var(--card-shadow);
}

.logistics-detail-card h4 {
    color: var(--primary-blue);
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.logistics-detail-card p {
    color: var(--text-muted);
    margin-bottom: 10px;
}

/* Beliefs & Mission Styling */
.mission-statement {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-blue);
    margin-bottom: 25px;
    font-style: italic;
}

.beliefs-intro {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 40px auto;
    color: var(--text-muted);
}

.beliefs-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.belief-item h5 {
    font-size: 1.2rem;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.belief-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Staff Grid Container */
.staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

/* Individual Profile Card */
.staff-profile-card {
    background-color: var(--bg-white);
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-lg);
    padding: 30px;
    text-align: center;
    box-shadow: var(--card-shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Image Styling - Nested within the card context */
.staff-profile-card .staff-photo {
    width: 150px !important;
    height: 150px !important;
    min-width: 150px !important;
    min-height: 150px !important;
    max-width: 150px !important;
    object-fit: cover !important;
    flex-shrink: 0 !important;
    border-radius: 50% !important;
    margin-bottom: 20px !important;
    border: 3px solid var(--bg-light) !important;
    display: block !important;
}

/* Text and Role Styling */
.staff-profile-card h4 {
    color: var(--primary-blue);
    font-size: 1.3rem;
    margin-bottom: 4px;
}

.staff-role {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--accent-blue);
    letter-spacing: 0.05em;
    margin-bottom: 15px;
}


/* ==========================================================================
   ANNOUNCEMENT TICKER & GRAPHICAL SLIDESHOW LOOPS
   ========================================================================== */

/* 1. Infinite Text Ticker Styles */
/* ==========================================================================
   12. ANNOUNCEMENT SYSTEM UTILITIES (INFINITE NO-GAP LOOPS)
   ========================================================================== */
.ticker-wrap {
    width: 100%;
    background-color: #0f172a; /* Clean solid dark charcoal base */
    padding: 14px 0;
    overflow: hidden;
    box-shadow: inset 0 -2px 4px rgba(0,0,0,0.15);
    display: flex;
}

.ticker-content {
    display: flex;
    white-space: nowrap;
    animation: marqueeContinuous 65s linear infinite; /* Fixed naming mismatch space */
}

.ticker-item {
    display: inline-block;
    padding: 0 2rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: #f8fafc; /* Crisp, readable off-white text */
    letter-spacing: 0.025em;
}

.ticker-item strong {
    color: #38bdf8; /* Highly visible light blue for emphasis */
}

/* Perfect, seamless no-gap loop animation */
@keyframes marqueeContinuous {
    0% { transform: translateX(0%); }
    100% { transform: translateX(-50%); }
}

/* 2. Graphical Slideshow Carousel Styles */
.slideshow-viewport {
    width: 100%;
    overflow-x: auto;
    display: flex;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    margin-bottom: 40px;
}
.slideshow-viewport::-webkit-scrollbar {
    height: 6px;
}
.slideshow-viewport::-webkit-scrollbar-thumb {
    background: var(--accent-blue, #38bdf8);
    border-radius: 10px;
}
.graphic-slide {
    flex: 0 0 100%;
    snap-align: start;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    background: #ffffff;
    border: 1px solid #e2e8f0;
}
.slide-image-frame {
    flex: 1.2;
    min-width: 300px;
    background: #f8fafc;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}
.slide-text-frame {
    flex: 1;
    min-width: 280px;
    padding: 40px;
}

/* 3. Layout Sync Utilities */
.graphic-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 30px 0;
}
.video-card-sync {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
}
.video-card-sync:hover {
    transform: translateY(-4px);
}
.scroll-container img:hover {
    transform: scale(1.03);
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}
