/**
 * News Template Styles
 */

/* ========================================
   HERO SECTION
   ======================================== */

.news-hero {
    padding: calc(7.75rem + var(--spacing-lg)) 0 var(--spacing-lg) !important;
}

.news-hero .row {
    @media screen and (max-width: 991px) {
        margin: 0;
    }
}

.news-hero .hero-text {
    position: relative;
    padding-left: var(--spacing-6);
    padding-top: 150px;
    padding-bottom: 150px;
    width: 38%;
    margin-right: -5%;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.news-hero .hero-text::before {
    content: '';
    width: 2px;
    height: 100%;
    background: var(--gradient-white-vertical);
    position: absolute;
    top: 0;
    left: 0;
}

.news-hero .hero-text .btn {
    align-self: flex-start;
}

.news-hero__eyebrow {
    color: #BFCBD7;
    font-family: var(--sans);
    font-size: 18px;
    font-weight: 800;
    line-height: 1;
    text-transform: none;
    margin: 0;
}

.news-hero__title {
    color: var(--color-white) !important;
    font-family: var(--sans) !important;
    font-size: 32px !important;
    font-weight: 850 !important;
    font-style: italic !important;
    line-height: 1 !important;
    text-transform: none !important;
    letter-spacing: 1.6px !important;
    margin: 0 !important;
}

.news-hero .hero-image {
    display: flex;
    align-items: center;
    position: relative;
    right: -5%;
    padding-right: 0;
}

.news-hero .hero-image img {
    width: 100%;
    height: auto;
}

/* ========================================
   NEWS GRID
   ======================================== */

.news-grid {
    padding: 80px 0;
}

.news-grid__wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.news-card {
    background: transparent;
    overflow: visible;
}

.news-card__image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.news-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.news-card__content {
    display: flex;
    gap: 40px;
    padding: 36px 40px 48px 0;
    min-height: 260px;
}

.news-card__line {
    width: 2px;
    height: 260px;
    background: linear-gradient(to bottom, transparent, var(--color-white) 10%, var(--color-white) 90%, transparent);
    flex-shrink: 0;
}

.news-card__text {
    display: flex;
    flex-direction: column;
    gap: 24px;
    flex: 1;
}

.news-card__text .btn {
    align-self: flex-start;
}

.news-card__meta {
    color: #BFCBD7;
    font-family: var(--sans);
    font-size: 18px;
    font-weight: 500;
    line-height: 24px;
    margin: 0;
}

.news-card__title {
    color: var(--color-white) !important;
    font-family: var(--sans) !important;
    font-size: 32px !important;
    font-weight: 850 !important;
    font-style: italic !important;
    line-height: 1 !important;
    text-transform: none !important;
    letter-spacing: 1.6px !important;
    margin: 0 !important;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media screen and (max-width: 1200px) {
    .news-hero__title {
        font-size: 28px !important;
        letter-spacing: 1.4px !important;
    }
}

@media screen and (max-width: 991px) {
    .news-hero {
        padding: calc(5rem + var(--spacing-md)) 0 var(--spacing-md) !important;
    }
    
    .news-hero .hero-text {
        padding: 0;
        width: 100%;
        margin-right: 0;
        margin-bottom: var(--spacing-lg);
        gap: 24px;
    }
    
    .news-hero .hero-text::before {
        display: none;
    }
    
    .news-hero__eyebrow {
        font-size: 16px;
    }
    
    .news-hero__title {
        font-size: 22px !important;
        letter-spacing: 1.1px !important;
        font-weight: 800 !important;
    }
    
    .news-hero .hero-image {
        padding: 0;
        right: 0;
    }
    
    /* News grid mobile */
    .news-grid {
        padding: 40px 0;
    }
    
    .news-grid__wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 20px;
    }
    
    .news-card__image {
        height: 180px;
    }
    
    .news-card__content {
        gap: 24px;
        padding: 0 20px 0 0;
        min-height: 273px;
    }
    
    .news-card__meta {
        font-size: 16px;
    }
    
    .news-card__title {
        font-size: 24px !important;
        letter-spacing: 1.2px !important;
    }
}

@media screen and (max-width: 768px) {
    .news-hero__title {
        font-size: 24px !important;
        letter-spacing: 1.2px !important;
    }
    
    .news-grid__wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .news-card__content {
        gap: 20px;
        padding: 24px 20px 36px 0;
    }
    
    .news-card__title {
        font-size: 24px !important;
        letter-spacing: 1.2px !important;
    }
}
