/* Exact Match for crosswalk.news */

/* Reset and Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Exact colors from crosswalk.news */
    --header-blue: #1e3a8a;
    --hero-yellow: #fbbf24;
    --text-white: #ffffff;
    --text-dark: #1f2937;
    --text-medium: #6b7280;
    --bg-light: #f9fafb;
    --white: #ffffff;

    /* Typography */
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

    /* Spacing */
    --container-max: 1200px;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--white);
    margin: 0;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-sans);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

h1 { font-size: 3rem; font-weight: 700; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

p {
    margin-bottom: 1.25rem;
}

p:last-child {
    margin-bottom: 0;
}

/* Grid layout customizations for image/text sections */
/* Override grid column widths for larger image display */
@media (min-width: 1024px) {
    /* Use flexbox for proper side-by-side layout */
    .grid-row-has-columns:has(.image-text-layout-text) {
        display: flex !important;
        flex-wrap: nowrap !important;
        gap: 2rem;
        align-items: flex-start;
    }

    /* Text column - takes 5/12 (41.67%) of width */
    .grid-column-root.grid-column-large-6.image-text-layout-text {
        flex: 0 0 41.67%;
        max-width: 41.67%;
    }

    /* Image column - takes 7/12 (58.33%) of width */
    .grid-column-root.grid-column-large-6.image-text-layout-image {
        flex: 0 0 58.33%;
        max-width: 58.33%;
        display: flex;
        align-items: center;
        margin-top: 60px;
    }

    /* Remove nested grid that prevents proper column sizing */
    .image-text-layout-text > .grid-row-root {
        display: block;
    }

    /* Ensure image container takes full width */
    .grid-column-root.grid-column-large-6.image-text-layout-image .module-container-root {
        width: 100%;
    }

    /* Set consistent image aspect ratio */
    .image-text-layout-image .image-wrapper {
        padding-bottom: 75%;
    }
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

/* Blue Header Bar */
.crosswalk-header {
    background: var(--header-blue);
    color: var(--text-white);
    position: relative;
    z-index: 100;
}

.crosswalk-nav {
    padding: 1rem 0;
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo span {
    font-family: var(--font-sans);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-white);
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-links a {
    font-family: var(--font-sans);
    font-weight: 400;
    font-size: 1rem;
    color: var(--text-white);
    padding: 0.5rem 0;
    transition: all 0.2s ease;
    border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--hero-yellow);
    border-bottom-color: var(--hero-yellow);
}

/* Hero Section with Background Image */
.crosswalk-hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://www.crosswalk.news/wp-content/uploads/2024/12/pexels-august-de-richelieu-4427610-scaled.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--text-white);
    padding: 8rem 0;
    position: relative;
}

.hero-content {
    text-align: left;
    max-width: 600px;
    padding-left: 2rem;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: var(--text-white);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    line-height: 1.5;
    color: var(--text-white);
    opacity: 0.9;
}

.report-btn {
    background: var(--hero-yellow);
    color: var(--text-dark);
    padding: 0.8rem 2rem;
    border-radius: 4px;
    font-family: var(--font-sans);
    font-weight: 600;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.2s ease;
    display: inline-block;
}

.report-btn:hover {
    background: #f59e0b;
    transform: translateY(-1px);
}

/* Main Content */
.crosswalk-main {
    background: var(--white);
}

/* Mission Section */
.mission-section {
    padding: 4rem 0;
    text-align: center;
}

.mission-content h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
    font-weight: 700;
}

.mission-content p {
    font-size: 1.2rem;
    color: var(--text-medium);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Statistics Section */
.stats-section {
    padding: 4rem 0;
    text-align: center;
    background: var(--bg-light);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.stat-item {
    background: var(--white);
    border-radius: 12px;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.stat-number {
    font-family: var(--font-sans);
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--header-blue);
    margin-bottom: 1rem;
    display: block;
}

.stat-label {
    font-family: var(--font-sans);
    color: var(--text-medium);
    font-weight: 500;
    font-size: 1.1rem;
    line-height: 1.3;
}

/* Content Sections */
.content-sections {
    padding: 4rem 0;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.content-item {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.content-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.content-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.content-text {
    padding: 2rem;
}

.content-text h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 600;
}

.content-text p {
    color: var(--text-medium);
    line-height: 1.6;
    margin-bottom: 2rem;
    font-size: 1rem;
}

.report-btn-small {
    background: var(--hero-yellow);
    color: var(--text-dark);
    padding: 0.8rem 1.5rem;
    border-radius: 6px;
    font-family: var(--font-sans);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    display: inline-block;
}

.report-btn-small:hover {
    background: #f59e0b;
    transform: translateY(-1px);
}


/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-menu ul {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.5rem;
    }

    .nav-menu ul {
        gap: 0.5rem;
    }

    .nav-links a {
        font-size: 0.8rem;
        padding: 0.3rem 0;
    }

    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.2rem; }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .stat-number {
        font-size: 2rem;
    }
}