/* News Page */
.news-header {
    background: var(--dark);
    padding: 150px 0 80px;
    position: relative;
}

.news-header .page-header-overlay {
    background: var(--dark);
}

/* News Section */
.news-page-section {
    padding: 80px 0;
    background: var(--white);
}

/* Section Header */
.news-page-section .section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 50px;
    flex-wrap: wrap;
    gap: 20px;
}

.news-count {
    font-family: 'Oswald', sans-serif;
    font-size: 14px;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.news-count span {
    color: var(--primary-teal);
    font-weight: 600;
}

/* News Grid - Desktop (3 columns) */
.news-list-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* News Card - Desktop (vertical) */
.news-list-card {
    background: var(--white);
    border: 1px solid var(--light-gray);
    overflow: hidden;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}

.news-list-card:hover {
    border-color: var(--primary-teal);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    transform: translateY(-8px);
}

/* Card Image - Desktop */
.news-list-card .news-image {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: var(--light-gray);
}

.news-list-card .news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-list-card:hover .news-image img {
    transform: scale(1.1);
}

/* Category Badge */
.news-list-card .news-category {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 5px 15px;
    background: var(--accent-red);
    color: var(--white);
    font-family: 'Oswald', sans-serif;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Card Body - Desktop */
.news-list-card .news-body {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-list-card .news-date {
    display: block;
    font-size: 13px;
    color: var(--gray);
    margin-bottom: 10px;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.news-list-card h3 {
    font-size: 18px;
    margin: 0 0 12px;
    color: var(--dark);
    line-height: 1.4;
    transition: color 0.3s ease;
}

.news-list-card:hover h3 {
    color: var(--primary-teal);
}

.news-list-card p {
    color: var(--gray);
    font-size: 14px;
    line-height: 1.7;
    margin: 0 0 20px;
    flex: 1;
}

/* Read More Link */
.news-list-card .read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-teal);
    font-family: 'Oswald', sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: auto;
}

.news-list-card .read-more i {
    transition: transform 0.3s ease;
}

.news-list-card:hover .read-more {
    color: var(--accent-red);
}

.news-list-card:hover .read-more i {
    transform: translateX(5px);
}

/* Featured Card - Desktop (full width, 2 columns) */
.news-list-featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin-bottom: 10px;
}

.news-list-featured .news-image {
    height: 100%;
    min-height: 380px;
}

.news-list-featured .news-body {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-list-featured .news-date {
    font-size: 14px;
    margin-bottom: 15px;
}

.news-list-featured h3 {
    font-size: 28px;
    margin-bottom: 20px;
    line-height: 1.3;
}

.news-list-featured p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 25px;
}

.news-list-featured .read-more {
    font-size: 14px;
}

/* Empty State */
.empty-news {
    text-align: center;
    padding: 100px 20px;
    grid-column: 1 / -1;
    background: var(--off-white);
}

.empty-news i {
    font-size: 80px;
    color: var(--light-gray);
    margin-bottom: 25px;
}

.empty-news h3 {
    font-size: 24px;
    color: var(--dark);
    margin-bottom: 10px;
}

.empty-news p {
    color: var(--gray);
    font-size: 16px;
}

/* CTA Section */
.news-cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--dark-teal) 100%);
    position: relative;
    overflow: hidden;
}

.news-cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.news-cta-section .cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
}

.news-cta-section .cta-icon {
    width: 100px;
    height: 100px;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: var(--primary-teal);
    border-radius: 50%;
    margin: 0 auto 30px;
}

.news-cta-section h2 {
    color: var(--white);
    font-size: 36px;
    margin-bottom: 15px;
}

.news-cta-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    margin-bottom: 30px;
}

/* Scroll Animation */
.news-list-card,
.news-list-featured {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s ease forwards;
}

.news-list-card:nth-child(2) { animation-delay: 0.1s; }
.news-list-card:nth-child(3) { animation-delay: 0.15s; }
.news-list-card:nth-child(4) { animation-delay: 0.2s; }
.news-list-card:nth-child(5) { animation-delay: 0.25s; }
.news-list-card:nth-child(6) { animation-delay: 0.3s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   TABLET - Horizontal cards (image left)
   ============================================ */
@media (max-width: 1199px) {
    .news-header {
        padding: 120px 0 60px;
    }

    .news-page-section {
        padding: 60px 0;
    }

    .news-list-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .news-list-card {
        flex-direction: row;
        align-items: stretch;
    }

    .news-list-card .news-image {
        width: 300px;
        min-width: 300px;
        height: auto;
        min-height: 200px;
    }

    .news-list-card .news-body {
        padding: 25px;
        justify-content: center;
    }

    .news-list-card:hover {
        transform: translateX(5px);
    }

    .news-list-featured {
        display: flex;
        flex-direction: row;
    }

    .news-list-featured .news-image {
        width: 40%;
        min-width: 40%;
        min-height: 300px;
    }

    .news-list-featured .news-body {
        padding: 35px;
    }

    .news-list-featured h3 {
        font-size: 26px;
    }

    .news-cta-section h2 {
        font-size: 28px;
    }
}

/* ============================================
   MOBILE - Compact horizontal cards
   ============================================ */
@media (max-width: 767px) {
    .news-header {
        padding: 100px 0 50px;
    }

    .news-page-section {
        padding: 40px 0;
    }

    .news-list-grid {
        gap: 12px;
    }

    .news-list-card {
        flex-direction: row;
        align-items: stretch;
    }

    .news-list-card .news-image {
        width: 110px;
        min-width: 110px;
        min-height: 110px;
    }

    .news-list-card .news-image img {
        height: 100%;
        object-fit: cover;
    }

    .news-list-card .news-body {
        padding: 12px 15px;
    }

    .news-list-card .news-date {
        font-size: 10px;
        margin-bottom: 4px;
        display: flex;
        align-items: center;
        gap: 4px;
    }

    .news-list-card .news-date i {
        font-size: 10px;
    }

    .news-list-card h3 {
        font-size: 13px;
        margin-bottom: 4px;
        line-height: 1.3;
    }

    .news-list-card p {
        font-size: 11px;
        line-height: 1.4;
        margin-bottom: 6px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .news-list-card .read-more {
        font-size: 10px;
        gap: 4px;
    }

    .news-list-card .read-more i {
        font-size: 10px;
    }

    /* Featured card mobile */
    .news-list-featured {
        flex-direction: column;
    }

    .news-list-featured .news-image {
        width: 100%;
        min-width: 100%;
        min-height: 180px;
    }

    .news-list-featured .news-body {
        padding: 15px;
    }

    .news-list-featured h3 {
        font-size: 16px;
    }

    .news-list-featured p {
        font-size: 13px;
        line-height: 1.5;
        -webkit-line-clamp: 3;
    }

    .news-list-featured .read-more {
        font-size: 11px;
    }

    /* Section header */
    .news-page-section .section-header {
        flex-direction: column;
        text-align: center;
        margin-bottom: 20px;
    }

    .news-page-section .section-header .section-title {
        font-size: 22px;
    }

    /* CTA */
    .news-cta-section {
        padding: 40px 0;
    }

    .news-cta-section .cta-icon {
        width: 60px;
        height: 60px;
        font-size: 28px;
        margin-bottom: 15px;
    }

    .news-cta-section h2 {
        font-size: 20px;
        margin-bottom: 8px;
    }

    .news-cta-section p {
        font-size: 13px;
        margin-bottom: 15px;
    }

    .news-cta-section .btn {
        padding: 8px 16px;
        font-size: 12px;
    }
}
