/* Homepage Styles - Based on Figma Design */

/* Hero Section */
.home-hero-section {
    background-color: #f5f5f5;
    padding: 4rem 0 2rem;
}

.home-hero-title {
    font-family: 'Noto Serif', serif;
    font-size: 4rem;
    font-weight: 800;
    color: #000;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-align: left;
}

.hero-title-red {
    color: #dc2626;
}

.hero-subtitle {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.hero-subtitle-line {
    width: 60px;
    height: 3px;
    background-color: #dc2626;
}

.hero-subtitle-text {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: #dc2626;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
}

.home-hero-tabs {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #ddd;
}

.hero-tabs-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-tab-link {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: #2563eb;
    text-decoration: none;
    transition: color 200ms ease;
}

.hero-tab-link:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

/* Featured Content Grid */
.featured-content-section {
    background-color: #f5f5f5;
    padding: 2rem 0 3rem;
}

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

.featured-card-link {
    text-decoration: none;
    color: inherit;
}

.featured-large {
    height: 100%;
}

.featured-card {
    background: white;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 300ms ease, box-shadow 300ms ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.featured-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.featured-card-image {
    width: 100%;
    height: 450px;
    object-fit: cover;
    transition: transform 400ms ease;
}

.featured-small .featured-card:hover .featured-card-image {
    transform: scale(1.03);
}

.featured-card-content {
    padding: 2rem;
    flex: 1;
}

.featured-card-category {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 0.75rem;
}

.featured-card-title {
    font-family: 'Noto Serif', serif;
    font-size: 2rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.featured-card-excerpt {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Right Side - Stacked Small Cards */
.featured-right {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.featured-small {
    flex: 1;
}

.featured-small .featured-card {
    position: relative;
    height: 100%;
}

.featured-small .featured-card-image {
    height: 100%;
    min-height: 250px;
}

.featured-card-content-small {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 70%, transparent 100%);
    padding: 2rem 1.5rem 1.5rem;
}

.featured-card-title-small {
    font-family: 'Noto Serif', serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.featured-card-badge {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* More Articles Section - 3 Column Grid */
.more-articles-section {
    background-color: white;
    padding: 3rem 0;
}

.more-articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.article-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 0;
    overflow: hidden;
    transition: transform 300ms ease, box-shadow 300ms ease;
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.article-card-link {
    text-decoration: none;
    color: inherit;
}

.article-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.article-card-content {
    padding: 1.5rem;
}

.article-card-badge {
    display: inline-block;
    background-color: #dc2626;
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
}

.article-card-title {
    font-family: 'Noto Serif', serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.article-card-excerpt {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.article-card-meta {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    color: #999;
}

/* Dark Blue Issues Section */
.issues-section {
    background-color: #16476A;
    padding: 0;
    position: relative;
}

.issues-header {
    padding: 3rem 4rem 2rem;
}

.issues-header h2 {
    font-family: 'Noto Serif', serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    line-height: 1.2;
    margin: 0;
}

.issues-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 1rem;
    min-height: 400px;
    padding: 0 1rem;
}

.issues-image-left,
.issues-image-middle,
.issues-image-right {
    position: relative;
    height: 100%;
    min-height: 400px;
    overflow: hidden;
}

.issues-image-left img,
.issues-image-middle img,
.issues-image-right img {
    width: 100%;
    height: 100%;
    min-height: 400px;
    object-fit: cover;
    display: block;
}

/* Dim the middle and right images */
.issues-image-middle::after,
.issues-image-right::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(22, 71, 106, 0.5);
    pointer-events: none;
}

.issues-label {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    z-index: 10;
}

.issues-arrow {
    color: #dc2626;
    font-size: 1.2rem;
}

.issues-footer {
    padding: 2rem 4rem 3rem;
    text-align: right;
}

.issues-btn {
    background-color: transparent;
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    padding: 0.75rem 2rem;
    border: 2px solid white;
    border-radius: 0;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: background-color 300ms ease, color 300ms ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.issues-btn:hover {
    background-color: white;
    color: #16476A;
}

/* Issues image hover zoom */
.issues-image-left {
    overflow: hidden;
}

.issues-image-left img {
    transition: transform 500ms ease;
}

.issues-image-left:hover img {
    transform: scale(1.03);
}

/* Mission Statement 2x2 Grid */
.mission-grid-section {
    background-color: white;
    padding: 4rem 0;
}

.mission-grid-title {
    font-family: 'Noto Serif', serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: #000;
    text-align: center;
    margin-bottom: 3rem;
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.mission-grid-link {
    text-decoration: none;
}

.mission-grid-item {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 0;
    overflow: hidden;
    transition: border-color 300ms ease, transform 300ms ease;
}

.mission-grid-item:hover {
    border-color: #2563eb;
    transform: translateY(-4px);
}

.mission-grid-item-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 400ms ease;
}

.mission-grid-item:hover .mission-grid-item-image {
    transform: scale(1.03);
}

.mission-grid-item-content {
    padding: 1.5rem;
}

.mission-grid-item-label {
    display: inline-block;
    width: 4px;
    height: 24px;
    background-color: #2563eb;
    margin-bottom: 0.75rem;
}

.mission-grid-item-title {
    font-family: 'Noto Serif', serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #000;
    margin: 0;
}

/* Additional Content Sections */
.additional-content-section {
    background-color: #f9fafb;
    padding: 4rem 0;
}

.content-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.content-card {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    transition: border-color 300ms ease, transform 300ms ease;
}

.content-card:hover {
    border-color: #2563eb;
    transform: translateY(-4px);
}

.content-card-icon {
    font-size: 3rem;
    color: #2563eb;
    margin-bottom: 1rem;
}

.content-card-title {
    font-family: 'Noto Serif', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 1rem;
}

.content-card-text {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.content-card-btn {
    background-color: #fbbf24;
    color: #000;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: background-color 300ms ease;
}

.content-card-btn:hover {
    background-color: #f59e0b;
}

/* Responsive Design */
@media (max-width: 992px) {
    .home-hero-title {
        font-size: 3rem;
    }

    .featured-grid {
        grid-template-columns: 1fr;
    }

    .featured-card-image {
        height: 350px;
    }

    .featured-small .featured-card-image {
        height: 250px;
        min-height: 250px;
    }

    .issues-content {
        grid-template-columns: 1fr;
    }

    .issues-image-left,
    .issues-image-middle,
    .issues-image-right {
        min-height: 300px;
    }

    .issues-image-left img,
    .issues-image-middle img,
    .issues-image-right img {
        min-height: 300px;
    }

    .issues-header {
        padding: 2rem;
    }

    .issues-footer {
        padding: 2rem;
        text-align: center;
    }

    .mission-grid {
        grid-template-columns: 1fr;
    }

    .more-articles-grid {
        grid-template-columns: 1fr;
    }

    .content-cards-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .home-hero-title {
        font-size: 2.5rem;
    }

    .home-hero-tabs {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .hero-tab-link {
        font-size: 0.9rem;
    }

    .featured-card-image {
        height: 300px;
    }

    .featured-card-title {
        font-size: 1.5rem;
    }

    .issues-header h2 {
        font-size: 2rem;
    }

    .issues-label {
        font-size: 0.9rem;
        padding: 0.75rem 1rem;
        bottom: 1rem;
        left: 1rem;
    }

    .mission-grid-title {
        font-size: 2rem;
    }

    .featured-content-section,
    .more-articles-section,
    .mission-grid-section,
    .additional-content-section {
        padding: 2rem 0;
    }
}

@media (max-width: 576px) {
    .home-hero-title {
        font-size: 2rem;
    }

    .home-hero-section {
        padding: 2rem 0 1.5rem;
    }

    .featured-card-image {
        height: 250px;
    }

    .featured-small .featured-card-image {
        height: 200px;
        min-height: 200px;
    }

    .featured-card-title {
        font-size: 1.25rem;
    }

    .issues-header h2 {
        font-size: 1.75rem;
    }

    .issues-header {
        padding: 1.5rem;
    }

    .issues-footer {
        padding: 1.5rem;
    }

    .issues-label {
        font-size: 0.8rem;
        padding: 0.5rem 0.75rem;
    }

    .issues-image-left,
    .issues-image-middle,
    .issues-image-right {
        min-height: 250px;
    }

    .issues-image-left img,
    .issues-image-middle img,
    .issues-image-right img {
        min-height: 250px;
    }

    .mission-grid-title {
        font-size: 1.75rem;
    }

    .article-card-image {
        height: 180px;
    }
}
