/* News Page Styles - Brand96 */

/* News page uses global .scroll-animate from custom.css */

/* News content / category / featured animation delays */
.news-banner-under-img.animate__animated {
    animation-fill-mode: both;
}


.news-page .navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
}

.news-page .nav-link.active {
    font-weight: 600;
}

/* News page - responsive header fix */
@media (max-width: 991px) {
    .news-page #mainNavbar .container.navbar-container-full {
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .news-page .navbar-nav-left,
    .news-page .navbar-nav-right {
        display: none !important;
    }

    .news-page .navbar-brand {
        position: static;
        transform: none;
        order: 1;
        margin-right: auto;
    }

    .news-page .navbar-toggler {
        display: flex !important;
        order: 2;
        margin-left: auto;
    }

    .news-page .navbar-collapse {
        display: none !important;
        flex-basis: 100%;
        order: 3;
        width: 100%;
        padding-top: 16px;
    }

    .news-page .navbar-collapse.show {
        display: block !important;
    }

    .news-page .navbar-collapse .navbar-nav {
        flex-direction: column;
        align-items: flex-start;
    }

    .news-page .navbar-collapse .nav-item {
        width: 100%;
        padding: 12px 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    }

    .news-page .navbar-collapse .nav-item:last-child {
        border-bottom: none;
    }

    .news-page .navbar-collapse .nav-link {
        padding: 0 !important;
    }
}

/* News Banner - same layout as careers (image left, title+image right) */
.news-banner {
    margin: 0;
    padding: 100px 100px;
    overflow: hidden;
    background-color: #000;
}

@media (max-width: 576px) {
    .news-banner {
        padding: 50px 25px;
    }

    .news-banner-titles {
        padding-top: 0;
    }

    .news-banner-image-col {
        padding-right: 30% !important;
    }

    .news-banner-under-img {
        max-width: 70% !important;
    }
}

@media (min-width: 577px) and (max-width: 767px) {
    .news-banner {
        padding: 50px 50px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .news-banner {
        padding: 50px 50px;
    }
}

@media (min-width: 992px) and (max-width: 1280px) {
    .news-banner {
        padding: 100px 100px;
    }
}

.news-banner .row {
    margin: 0;
}

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

.news-banner-text-col {
    background-color: #000000;
    position: relative;
    overflow: visible;
}

.news-banner-titles {
    padding-top: 180px;
    margin: 0 0 64px -72px;
}

.news-banner-title {
    display: block;
    text-align: left;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin: 0;
    position: relative;
    z-index: 2;
}

.news-banner-under-img {
    max-width: 60%;
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .news-banner-titles {
        padding-left: 15%;
        padding-right: 25px;
        margin-top: -100px;
        padding-top: 0;
        margin-left: 0;
    }
}

/* News Content Section - same structure as opportunity-wim, padding-top 0 */
.news-content {
    padding: 0 150px 125px 150px;
    margin: 0;
    background-color: #000;
}

.news-content .container-fluid {
    max-width: 100%;
    padding: 0;
}

.news-content .row {
    align-items: center;
}

.news-content-col {
    background-color: #000000;
    padding: 56px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.news-content-text {
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 30px 0;
}

.news-content-text:last-child {
    margin-bottom: 0;
}

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

@media (max-width: 576px) {
    .news-content {
        padding: 0 25px 60px 25px;
    }

    .news-content .row {
        flex-direction: column-reverse;
    }

    .news-content-col {
        padding: 40px 0;
    }
}

@media (min-width: 577px) and (max-width: 767px) {
    .news-content {
        padding: 0 50px 100px 50px;
    }

    .news-content-col {
        padding: 40px 0;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .news-content {
        padding: 0 50px 100px 50px;
    }

    .news-content-col {
        padding: 40px;
    }
}

@media (min-width: 992px) and (max-width: 1280px) {
    .news-content {
        padding: 0 100px 100px 100px;
    }

    .news-content-col {
        padding: 48px 0;
    }
}

@media (min-width: 1281px) {
    .news-content {
        padding: 0 150px 125px 150px;
    }

    .news-content-col {
        padding: 56px;
    }
}

/* News Category Section - same as about-partner */
.news-category {
    padding: 0 100px;
    margin: 0;
    background-color: #000;
}

.news-category .container-fluid {
    max-width: 100%;
    padding: 0;
}

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

.news-category-list-col {
    background-color: #000000;
    padding: 56px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    text-align: right;
}

.news-category-title {
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin: 0 0 45px 0;
}

.news-category-list {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: right;
}

.news-category-list li {
    margin-bottom: 24px;
}

.news-category-list li:last-child {
    margin-bottom: 0;
}

.news-category-list a {
    font-family: 'Lora', serif;
    font-size: 48px;
    line-height: 56px; /* 8px extra, like secondary-title */
    color: #656360;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    transition: color 0.2s ease;
}

.news-category-list a:hover {
    color: #fff;
}

@media (max-width: 991px) {
    .news-category-list a {
        font-size: 36px;
        line-height: 44px; /* 8px extra */
    }
}

@media (max-width: 576px) {
    .news-category {
        padding: 0 25px;
    }

    .news-category-list-col {
        padding: 40px 0;
    }

    .news-category-title {
        margin-bottom: 24px;
        text-align: left;
    }

    .news-category-list {
        text-align: left;
    }
}

@media (min-width: 577px) and (max-width: 767px) {
    .news-category {
        padding: 0 50px;
    }

    .news-category-list-col {
        padding: 40px 0;
    }

    .news-category-title {
        margin-bottom: 24px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .news-category {
        padding: 0 50px;
    }

    .news-category-list-col {
        padding: 40px;
    }

    .news-category-title {
    }
}

@media (min-width: 992px) and (max-width: 1280px) {
    .news-category {
        padding: 0 100px;
    }

    .news-category-list-col {
        padding: 48px 0;
    }

    .news-category-title {
    }

    .news-category-list a {
    }
}

@media (min-width: 1281px) {
    .news-category {
        padding: 0 100px;
    }

    .news-category-list-col {
        padding: 56px;
    }

    .news-category-title {
    }

    .news-category-list a {
    }
}

/* Featured Stories Section */
.news-featured {
    padding: 100px 100px;
    margin: 0;
    background-color: #000;
}

.news-featured .row {
    align-items: center;
}

.news-featured .container-fluid {
    max-width: 100%;
    padding: 0;
}

.news-featured .row.no-gutters > [class*="col-"]:first-child {
    padding-right: 24px; /* gutter between cols */
}

.news-featured .row.no-gutters > [class*="col-"]:last-child {
    padding-left: 0;
}

.news-featured-card-body {
    padding-top: 28px;
}

.news-featured-card-body .news-card-meta {
    text-decoration: none;
    display: inline-block;
}

.news-featured-card-body .news-card-meta:hover {
    text-decoration: none;
}

.news-featured-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-featured-title {
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin: 0 0 40px 0;
}

a.news-featured-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

a.news-featured-card:hover {
    text-decoration: none;
    color: inherit;
}

.news-featured-arrows {
    display: flex;
    gap: 20px;
}

.news-featured-arrow {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    outline: none;
}

.news-featured-arrow:focus {
    outline: none;
}

.news-featured-arrow img {
    display: block;
    width: 48px;
    height: 48px;
}

.news-featured-right {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.news-featured-slider {
    position: relative;
    overflow: hidden;
}

.news-featured-track {
    display: flex;
    gap: 24px;
    transition: transform 0.4s ease;
    align-items: flex-end;
}

.news-featured-card {
    flex: 0 0 calc(50% - 12px);
    min-width: 0;
    align-items: flex-start;
}

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

.news-featured-card-text {
    font-family: 'Switzer', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin: 24px 0 0 0;
}

@media (max-width: 576px) {
    .news-featured {
        padding: 50px 25px;
    }

}

@media (max-width: 768px) {
    .news-featured-right {
        margin-top: 40px;
    }
}

@media (min-width: 577px) and (max-width: 767px) {
    .news-featured {
        padding: 100px 50px;
    }

}

@media (min-width: 768px) and (max-width: 991px) {
    .news-featured {
        padding: 100px 50px;
    }

}

@media (min-width: 992px) and (max-width: 1280px) {
    .news-featured {
        padding: 100px 100px;
    }

}

@media (min-width: 1281px) {
    .news-featured {
        padding: 100px 100px;
    }

}

/* News Email CTA Section - same as partnership */
.news-cta {
    padding: 50px 0 150px 0;
    background-color: #000;
    text-align: center;
}

.news-cta-btn {
    display: inline-block;
    width: fit-content;
    font-size: 30px;
    letter-spacing: 0.12em;
    text-transform: none;
    color: #ffffff;
    text-decoration: none;
    border-bottom: 1px solid #ffffff;
    font-family: 'Lora', serif;
    font-weight: 400;
}

.news-cta-btn:hover {
    color: #ffffff;
    text-decoration: none;
}

@media (max-width: 768px) {
    .news-cta {
        padding-bottom: 100px;
    }
}

@media (max-width: 576px) {
    .news-cta {
        padding-top: 50px;
    }

    .news-cta-btn {
        font-size: 20px;
    }
}
