/* --- CSS VARIABLES (Derived from Logo) --- */
:root {
    /* Brand Colors */
    --brand-blue: #002855;  /* Deep Navy from Logo */
    --brand-white: #ffffff;
    
    /* Accents */
    --texas-red: #BF0A30;   /* Kept for 'Donate' buttons only */
    --off-white: #f4f6f9;   /* Light gray/blue tint for backgrounds */
    --text-dark: #1a1a1a;
    --text-muted: #555555;
    
    /* System */
    --shadow: 0 4px 15px rgba(0, 33, 71, 0.1); /* Shadow using brand blue */
    --transition: all 0.3s ease;
}

/* --- GLOBAL RESET --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    /* PREVENTS HORIZONTAL SCROLLING */
    overflow-x: hidden;
    max-width: 100%;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--off-white);
}

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800; /* Bolder headers to match logo font */
    line-height: 1.2;
    color: var(--brand-blue);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul { list-style: none; }
img { max-width: 100%; height: auto; }

/* --- UTILITY CLASSES --- */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.text-center { text-align: center; }
.section-padding { 
    padding: 50px 0; /* Reduced from 80px to tighten gaps */
}
.width-full { width: 100%; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 35px;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    cursor: pointer;
    border: none;
    letter-spacing: 1px;
}

.btn-primary {
    background-color: var(--texas-red); /* Pop color for action */
    color: var(--brand-white);
}

.btn-primary:hover {
    background-color: #a00829;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(191, 10, 48, 0.3);
}

.btn-secondary {
    background-color: var(--brand-blue);
    color: var(--brand-white);
    border: 2px solid var(--brand-blue);
}

.btn-secondary:hover {
    background-color: transparent;
    color: var(--brand-blue);
}

/* --- NAVIGATION --- */
.navbar {
    background-color: var(--brand-blue);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0.5rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between; /* Pushes Logo left, Controls right */
    align-items: center;
    position: relative; /* Needed for the mobile dropdown positioning */
}

.logo-img {
    height: 50px; 
    width: auto;
    display: block;
}

/* Middle Links (Desktop) */
.nav-menu { 
    display: flex; 
    gap: 30px; 
    align-items: center; 
}

.nav-link { 
    font-weight: 700; 
    color: var(--brand-white); 
    font-size: 0.95rem;
    text-transform: uppercase;
}
.nav-link:hover { color: var(--texas-red); }

/* Right Side Controls */
.nav-right {
    display: flex;
    align-items: center;
    gap: 20px; /* Space between Donate and Hamburger */
}

.nav-donate {
    background-color: var(--texas-red);
    color: white;
    padding: 10px 25px;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    white-space: nowrap; /* Prevents text from wrapping on small screens */
}

.nav-donate:hover { background-color: #a00829; }

/* Hamburger Icon (Default: Hidden) */
.hamburger {
    display: none;
    font-size: 1.8rem;
    color: var(--brand-white);
    cursor: pointer;
}

/* --- MOBILE RESPONSIVENESS (The Fix) --- */
@media (max-width: 900px) {
    /* Show the hamburger */
    .hamburger {
        display: block;
    }

    /* Adjust padding for mobile navbar */
    .nav-donate {
        padding: 8px 15px; /* Smaller button on phone */
        font-size: 0.8rem;
    }

    /* The Dropdown Menu */
    .nav-menu {
        display: none; /* Hidden by default */
        position: absolute;
        top: 100%; /* Push right below navbar */
        left: 0;
        width: 100%;
        background-color: var(--brand-blue);
        flex-direction: column; /* Stack vertical */
        padding: 0;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        border-top: 1px solid rgba(255,255,255,0.1);
    }

    /* Active State (Added by JS) */
    .nav-menu.active {
        display: flex;
    }

    .nav-link {
        display: block;
        width: 100%;
        text-align: center;
        padding: 20px 0;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }
}

/* --- HERO SECTION --- */
.hero {
    background: linear-gradient(to bottom, #ffffff 0%, var(--brand-blue) 100%);
    padding: 60px 0;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* The Card Container */
.hero-card {
    background-color: var(--off-white);
    border-radius: 30px;
    padding: 50px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    
    /* NEW: Flex column lets us stack the Header on top of the Content */
    display: flex;
    flex-direction: column; 
    align-items: center;
}

/* The "Banner" Text */
.hero-tagline {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 3rem; /* Made slightly bigger for impact */
    color: var(--texas-red);
    text-transform: uppercase;
    text-align: center;
    width: 100%;
    margin-bottom: 40px; /* Space between header and content */
    line-height: 1;
    letter-spacing: 2px;
    border-bottom: 2px solid #e1e4e8; /* Optional: adds a subtle divider line */
    padding-bottom: 20px;
}

/* NEW: The wrapper for the two columns */
.hero-inner-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 50px;
}

/* LEFT SIDE: TEXT */
.hero-text {
    flex: 1;
    max-width: 600px;
    text-align: left;
}

.hero-slogan {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 2rem;
    color: var(--brand-blue);
    text-transform: uppercase;
    line-height: 1.2;
    margin-bottom: 15px;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

.hero-btn-wrapper { text-align: left; }

/* RIGHT SIDE: IMAGE */
.hero-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-portrait {
    max-width: 100%;
    width: 400px; 
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    object-fit: cover;
}

/* MOBILE RESPONSIVENESS */
@media (max-width: 900px) {
    .hero-inner-row {
        flex-direction: column-reverse; /* Stack image on top of text */
        gap: 30px;
    }
    
    .hero-card { padding: 30px 20px; }
    
    .hero-tagline { 
        font-size: 2rem; 
        margin-bottom: 30px;
    }
    
    .hero-text { 
        text-align: center; 
        align-items: center;
    }
    
    .hero-btn-wrapper { text-align: center; }
    
    .hero-portrait { 
        width: 100%; 
        max-width: 350px; 
    }
}
/* --- ABOUT SECTION --- */
.about-section {
    background-color: var(--brand-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr; /* Text is wider than sidebar */
    gap: 60px;
    align-items: start;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

/* Mobile Responsiveness for About Section */
@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr; /* Stack vertically on mobile */
        gap: 40px;
    }
}

/* --- VALUES SECTION --- */
.values-section { 
    background-color: var(--brand-white); 
    padding-top: 60px; /* Adjusted padding */
}

.values-grid {
    display: grid;
    /* Changed to specific widths to prevent "Strong Schools" wrapping */
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); 
    gap: 30px;
}

.value-card {
    background: var(--off-white);
    padding: 30px 20px; /* Reduced side padding slightly */
    border-radius: 8px;
    transition: var(--transition);
    border: 1px solid #e1e4e8;
    text-align: center;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    border-color: var(--brand-blue);
}

.value-icon {
    font-size: 2.5rem;
    color: var(--texas-red); /* Red Icons like original */
    margin-bottom: 15px;
}

.value-card h3 { 
    color: var(--brand-blue); 
    margin-bottom: 10px;
    font-size: 1.5rem; 
    white-space: nowrap; /* FORCES text to stay on one line */
    overflow: hidden;
    text-overflow: ellipsis;
}

.value-card p {
    font-size: 1rem;
    color: var(--text-muted);
}

/* --- ENDORSEMENTS SECTION --- */
.endorsements-section {
    background-color: var(--brand-blue);
    color: var(--brand-white);
}

.endorsement-placeholder {
    font-style: italic;
    font-size: 1.6rem;
    opacity: 0.95;
    max-width: 900px;
    margin: 0 auto;
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
}

.endorsements-section .section-title { color: var(--brand-white); }
.endorsements-section .section-title::after { background: var(--brand-white); }

/* --- ACTION CENTER (FORMS) --- */
.action-section { background-color: var(--off-white); }

.action-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.action-card {
    background: var(--brand-white);
    padding: 40px;
    border-radius: 4px;
    box-shadow: var(--shadow);
    border-top: 6px solid var(--brand-blue);
}

.action-card h3 {
    color: var(--brand-blue);
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.form-group { margin-bottom: 20px; }

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--brand-blue);
}

.form-input, .form-textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e1e4e8;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    background: #fdfdfd;
}

.form-input:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--brand-blue);
    background: #fff;
}

.checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.checkbox-wrapper input {
    accent-color: var(--brand-blue);
    width: 18px;
    height: 18px;
}

/* --- FOOTER --- */
.footer {
    background-color: var(--brand-blue);
    color: #888;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
}

.social-icons { 
    display: flex; 
    gap: 20px; 
    justify-content: center; /* Forces icons to the middle */
}

.social-link {
    font-size: 1.8rem;
    color: var(--brand-white);
    opacity: 0.8;
}

.social-link:hover { opacity: 1; color: var(--texas-red); }

.footer-bottom {
    border-top: 1px solid #222;
    padding-top: 20px;
    font-size: 0.8rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.unsubscribe-link { text-decoration: underline; color: #666; }

/* --- UNSUBSCRIBE PAGE SPECIFIC --- */
.centered-layout {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    padding: 20px;
}

.centered-box {
    background: white;
    padding: 40px;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
    max-width: 450px;
    width: 100%;
    border-top: 6px solid var(--texas-red);
}

.centered-box a {
    display: block;
    margin-top: 20px;
    color: #888;
    font-size: 0.9rem;
}

.centered-box a:hover {
    color: var(--brand-blue);
    text-decoration: underline;
}

/* --- MOBILE RESPONSIVENESS --- */
@media (max-width: 768px) {
    .hero-content h1 { font-size: 2.2rem; }
    .action-grid { grid-template-columns: 1fr; }
    .nav-menu { display: none; } /* Simplified for MVP */
    .logo-img { height: 40px; }
    .container { width: 95%; }
}
/* --- EVENTS SECTION --- */
.events-list {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.event-card {
    background: white;
    border-radius: 8px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 30px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border-left: 5px solid var(--texas-red); /* Red accent line */
    transition: var(--transition);
}

.event-card:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}

/* The Square Date Box */
.event-date {
    background: var(--brand-blue);
    color: white;
    padding: 15px;
    border-radius: 6px;
    text-align: center;
    min-width: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.event-date .month {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.event-date .day {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1;
}

.event-details {
    flex: 1; /* Takes up all remaining space */
}

.event-details h3 {
    margin-bottom: 5px;
    font-size: 1.3rem;
    color: var(--brand-blue);
}

.event-time, .event-location {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 3px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.event-time i, .event-location i {
    color: var(--texas-red);
    width: 15px; /* Ensures text aligns neatly */
}

/* Mobile Responsiveness for Events */
@media (max-width: 600px) {
    .event-card {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .event-details { width: 100%; }
    
    .event-action { width: 100%; }
    .event-action .btn { width: 100%; }
    
    .event-card:hover { transform: translateY(-5px); } /* Move up instead of right on mobile */
}
/* --- TABBED ACTION CENTER --- */
.action-tabs-container {
    background: var(--brand-white);
    border-radius: 8px;
    box-shadow: var(--shadow);
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden; /* Contains the border radius */
    border-top: 6px solid var(--brand-blue);
}

/* Navigation Buttons */
.tabs-nav {
    display: flex;
    background-color: #f1f3f5;
    border-bottom: 1px solid #ddd;
}

.tab-btn {
    flex: 1;
    padding: 15px 10px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #666;
    transition: all 0.2s ease;
    border-bottom: 4px solid transparent;
    font-size: 0.95rem;
}

.tab-btn:hover {
    background-color: rgba(0, 40, 85, 0.05);
    color: var(--brand-blue);
}

.tab-btn.active {
    background-color: var(--brand-white);
    color: var(--brand-blue);
    border-bottom-color: var(--brand-blue);
}

/* Specifically style the Donate tab to stand out slightly */
.donate-tab-btn { color: var(--texas-red); }
.donate-tab-btn.active { border-bottom-color: var(--texas-red); color: var(--texas-red); }

/* Tab Content Areas */
.tab-content {
    display: none; /* Hidden by default */
    padding: 30px 40px;
    animation: fadeIn 0.4s ease;
}

.tab-content.active { display: block; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

.tab-blurb {
    margin-bottom: 25px;
    color: #555;
    font-size: 1.05rem;
}

/* Form Layout Tweaks */
.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}
.form-group.half { flex: 1; }

.hidden-phone-field {
    display: none;
    margin-top: 10px;
    margin-left: 28px; /* Indent under checkbox */
    animation: slideDown 0.3s ease;
}
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Feedback Messages */
.feedback-message {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
    text-align: center;
    font-weight: 600;
}
.feedback-success { background-color: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.feedback-error { background-color: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }


/* --- MOBILE RESPONSIVENESS (Stacked Pills) --- */
@media (max-width: 600px) {
    .tabs-nav {
        flex-wrap: wrap; /* Allow wrapping */
    }
    .tab-btn {
        flex: 1 1 50%; /* Each button takes 50% width (2 per row) */
        text-align: center;
        border-bottom: 1px solid #ddd;
        font-size: 0.85rem;
        padding: 12px 5px;
    }
    
    .tab-content { padding: 25px 20px; }
    .form-row { flex-direction: column; gap: 0; }
    .form-group.half { margin-bottom: 15px; }
}
/* --- TABBED ACTION CENTER --- */
.action-tabs-container {
    background: var(--brand-white);
    border-radius: 8px;
    box-shadow: var(--shadow);
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden; 
    border-top: 6px solid var(--brand-blue);
}

/* Navigation Buttons */
.tabs-nav {
    display: flex;
    background-color: #f1f3f5;
    border-bottom: 1px solid #ddd;
}

.tab-btn {
    flex: 1;
    padding: 15px 10px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #666;
    transition: all 0.2s ease;
    border-bottom: 4px solid transparent;
    font-size: 0.95rem;
}

.tab-btn:hover {
    background-color: rgba(0, 40, 85, 0.05);
    color: var(--brand-blue);
}

.tab-btn.active {
    background-color: var(--brand-white);
    color: var(--brand-blue);
    border-bottom-color: var(--brand-blue);
}

/* Style the Donate tab */
.donate-tab-btn { color: var(--texas-red); }
.donate-tab-btn.active { border-bottom-color: var(--texas-red); color: var(--texas-red); }

/* Tab Content Areas */
.tab-content {
    display: none; 
    padding: 30px 40px;
    animation: fadeIn 0.4s ease;
}

.tab-content.active { display: block; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

.tab-blurb {
    margin-bottom: 25px;
    color: #555;
    font-size: 1.05rem;
}

/* Form Layout Tweaks */
.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}
.form-group.half { flex: 1; }

.hidden-phone-field {
    display: none;
    margin-top: 10px;
    margin-left: 28px; /* Indent under checkbox */
    animation: slideDown 0.3s ease;
}
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Feedback Messages */
.feedback-message {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
    text-align: center;
    font-weight: 600;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.feedback-success { background-color: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.feedback-error { background-color: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }


/* --- MOBILE RESPONSIVENESS (Stacked Pills) --- */
@media (max-width: 600px) {
    .tabs-nav {
        flex-wrap: wrap; 
    }
    .tab-btn {
        flex: 1 1 50%; /* Each button takes 50% width (2 per row) */
        text-align: center;
        border-bottom: 1px solid #ddd;
        font-size: 0.85rem;
        padding: 12px 5px;
    }
    
    .tab-content { padding: 25px 20px; }
    .form-row { flex-direction: column; gap: 0; }
    .form-group.half { margin-bottom: 15px; }
}
/* --- MOBILE MENU FIX --- */

/* 1. Default State (Desktop): Hide the hamburger */
.hamburger {
    display: none;
    font-size: 1.5rem;
    color: var(--brand-white);
    cursor: pointer;
}

/* 2. Mobile State */
@media (max-width: 768px) {
    /* Show the hamburger icon */
    .hamburger {
        display: block;
    }

    /* Hide the menu links by default */
    .nav-menu {
        display: none; /* Hidden until clicked */
        position: absolute;
        top: 100%; /* Push it right below the navbar */
        left: 0;
        width: 100%;
        background-color: var(--brand-blue);
        flex-direction: column; /* Stack links vertically */
        padding: 20px 0;
        text-align: center;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }

    /* This class is added by JS when clicked */
    .nav-menu.active {
        display: flex;
    }

    /* Space out the links a bit more on mobile */
    .nav-link {
        display: block;
        padding: 15px 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .nav-donate {
        display: inline-block;
        margin-top: 15px;
    }
}
/* VISUAL POP LINK (For Dark Blue Backgrounds) */
.pop-link {
    color: #ffffff;              /* Pure White Text */
    font-weight: 800;            /* Extra Bold */
    text-transform: uppercase;   /* Make it stand out even more */
    text-decoration: none;       /* Remove default underline */
    border-bottom: 2px solid var(--texas-red); /* Thick Red Underline */
    transition: all 0.3s ease;
    padding-bottom: 1px;
}

.pop-link:hover {
    background-color: rgba(255, 255, 255, 0.1); /* Subtle glow on hover */
    color: var(--texas-red);     /* Text turns red on hover */
    border-bottom-color: white;  /* Underline turns white */
}
/* Paste this at the bottom of your existing CSS file */

/* --- CAMPAIGN LOG (HORIZONTAL SWIPE) --- */
.log-section {
    /* Optional: Add a subtle pattern or texture background here if desired */
    overflow: hidden; /* Prevents scrollbar from messing up page width */
}

.log-list {
    display: flex;
    gap: 20px;
    overflow-x: auto; /* Enables horizontal scrolling */
    padding: 10px 5px 20px 5px; /* Bottom padding for scrollbar space */
    scroll-snap-type: x mandatory; /* Makes it "snap" to cards when scrolling */
    -webkit-overflow-scrolling: touch; /* Smooth scroll on iOS */
    
    /* Hide scrollbar for cleaner look (optional - remove if you want visible scrollbar) */
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.3) transparent;
}

.log-item {
    /* Fixed width ensures they look like cards */
    flex: 0 0 300px; 
    scroll-snap-align: center; /* Snaps card to center of screen */
    
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 25px;
    
    /* Stack content vertically */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    transition: var(--transition);
}

.log-item:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px); /* Pop up effect */
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Date Bubble */
.log-date {
    background: rgba(0,0,0,0.25);
    padding: 8px 15px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.log-date .day {
    font-size: 1.2rem;
    font-weight: 800;
}

.log-date .month {
    font-size: 0.9rem;
    text-transform: uppercase;
    opacity: 0.8;
}

/* Typography */
.log-tag {
    background-color: var(--texas-red);
    font-size: 0.7rem;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 4px;
    font-weight: 700;
    align-self: flex-start;
}

.log-details h3 {
    color: white;
    font-size: 1.1rem;
    line-height: 1.4;
    min-height: 3em; /* Ensures cards are roughly same height */
}

.log-details p {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 15px;
}

.log-link {
    margin-top: auto; /* Pushes button to bottom of card */
    font-size: 0.9rem;
    color: #ffd700;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Mobile Tweak: Ensure the first card isn't flush against the edge */
@media (max-width: 600px) {
    .log-list {
        padding-left: 20px;
        padding-right: 20px;
    }
    .log-item {
        flex: 0 0 85%; /* Shows a peek of the next card so users know to swipe */
    }
}

.log-item:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateX(5px);
}

.log-date {
    text-align: center;
    background: rgba(0,0,0,0.2);
    padding: 10px;
    border-radius: 6px;
    min-width: 70px;
}

.log-date .day {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1;
}

.log-date .month {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    opacity: 0.8;
}

.log-details { flex: 1; }

.log-tag {
    display: inline-block;
    background-color: var(--texas-red);
    font-size: 0.7rem;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 700;
    margin-bottom: 5px;
}

.log-details h3 {
    color: white; /* Override default blue header */
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.log-link {
    font-size: 0.9rem;
    color: #ffd700; /* Gold color for links on dark bg */
    font-weight: 600;
}
.log-link:hover { text-decoration: underline; color: white; }

/* Mobile Campaign Log */
@media (max-width: 600px) {
    .log-item { flex-direction: column; text-align: center; }
    .log-details h3 { font-size: 1.1rem; }
}

/* --- ABOUT PAGE SIDEBAR --- */
.about-sidebar img {
    /* Styles the photo on the about page */
    max-width: 100%;
    border-radius: 8px;
}
/* Split Layout for Homepage Map */
.map-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr; /* Text takes less space than map */
    gap: 40px;
    align-items: center;
    text-align: left; /* Align text left instead of center */
}

.map-text-col h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--brand-blue);
}

.map-text-col p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 20px;
}

.community-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.community-tag {
    background-color: #eef2f7;
    color: var(--brand-blue);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid #dce4ec;
}

/* Mobile: Hide text, show full map */
@media (max-width: 900px) {
    .map-grid {
        display: block; /* Stack (but we are hiding the text anyway) */
    }
    
    .map-text-col {
        display: none; /* User requested: leave out blurb on mobile */
    }
    
    #homeMap {
        height: 300px !important; /* Slightly shorter for phone screens */
    }
}
/* Add to bottom of style.css inside the @media (max-width: 900px) block */
.mobile-only-title {
    display: block !important;
}

/* --- HERO BUTTON FIXES --- */

.hero-btn-wrapper {
    display: flex; /* Aligns items side-by-side */
    align-items: center; /* Ensures they are vertically centered with each other */
    gap: 20px; /* Adds space between the buttons (Desktop & Mobile) */
    flex-wrap: wrap; /* Allows them to stack nicely if the screen gets too narrow */
    margin-top: 25px;
}

/* Optional: Tweak button text size if it feels too big */
.btn {
    font-size: 0.85rem; /* Slightly reduced from 0.9rem to fit better */
    padding: 12px 30px; /* Adjust padding if they still feel huge */
}

/* Mobile Adjustments */
@media (max-width: 900px) {
    .hero-btn-wrapper {
        justify-content: center; /* Forces buttons to center on phone */
        width: 100%;
    }
}