/* ===== Newsroom page ===== */

/* Hero */
.nr-hero {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: flex-end;
    background-size: cover;
    background-position: center 35%;
    background-attachment: fixed;
    overflow: hidden;
}

.nr-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(41, 37, 99, .15) 0%, rgba(41, 37, 99, .55) 55%, rgba(29, 38, 46, .9) 100%);
}

.nr-hero-inner {
    position: relative;
    z-index: 1;
    padding-top: 120px;
    padding-bottom: 60px;
    color: #fff;
    animation: nrFadeUp 1s ease both;
}

.nr-breadcrumb {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, .8);
    margin-bottom: 10px;
}

.nr-breadcrumb a {
    color: #fff;
    text-decoration: none;
}

.nr-breadcrumb a:hover {
    color: var(--secondary);
}

.nr-breadcrumb span {
    margin: 0 10px;
    color: var(--secondary);
}

.nr-hero-title {
    font-size: 72px;
    font-weight: 800;
    letter-spacing: 6px;
    text-transform: uppercase;
    margin: 0 0 10px;
    line-height: 1;
}

.nr-hero-title::after {
    content: "";
    display: block;
    width: 80px;
    height: 3px;
    background: var(--secondary);
    margin-top: 18px;
    animation: nrGrow 1.2s .4s ease both;
    transform-origin: left;
}


/* Section */
.nr-section {
    padding-top: 60px;
}

.nr-tabs {
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.nr-tabs .nr-tab {
    transition: background-color .3s, color .3s;
}

/* Shared meta */
.nr-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #6b6b7b;
    margin-bottom: 14px;
}

.nr-source {
    color: var(--secondary);
    font-weight: 700;
}

.nr-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #b9b7cc;
}

.nr-excerpt {
    color: #4a4a57;
    font-size: 15px;
    line-height: 1.7;
}

.nr-read {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1.5px;
    position: relative;
    padding-bottom: 4px;
}

.nr-read::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 1px;
    width: 100%;
    background: var(--secondary);
    transform: scaleX(.3);
    transform-origin: left;
    transition: transform .45s ease;
}

.nr-read img {
    width: 18px;
    transition: transform .45s ease;
}

/* Featured story */
.nr-featured {
    margin-bottom: 70px;
}

.nr-featured-link {
    display: block;
    background: #fff;
    color: inherit;
    text-decoration: none;
    box-shadow: 0 20px 50px -25px rgba(41, 37, 99, .35);
    transition: box-shadow .5s ease, transform .5s ease;
}

.nr-featured-link:hover {
    color: inherit;
    transform: translateY(-4px);
    box-shadow: 0 30px 60px -25px rgba(41, 37, 99, .45);
}

.nr-featured-img {
    position: relative;
    height: 100%;
    min-height: 340px;
    overflow: hidden;
}

.nr-featured-img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(.2, .7, .2, 1);
}

.nr-chip {
    position: absolute;
    top: 0;
    left: 0;
    background: var(--secondary);
    color: #fff;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 8px 14px;
    z-index: 1;
}

.nr-featured-text {
    padding: 50px 45px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-top: 3px solid var(--primary);
}

.nr-featured-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.25;
    margin-bottom: 16px;
}

.nr-featured-text .nr-excerpt {
    margin-bottom: 26px;
}

.nr-featured-link:hover .nr-featured-img img,
.nr-card:hover .nr-card-img img {
    transform: scale(1.06);
}

.nr-featured-link:hover .nr-read::after,
.nr-card:hover .nr-read::after {
    transform: scaleX(1);
}

.nr-featured-link:hover .nr-read img,
.nr-card:hover .nr-read img {
    transform: translateX(6px);
}

/* Sub heading */
.nr-subhead {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.nr-subhead h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin: 0;
    white-space: nowrap;
}

.nr-subhead-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--secondary), rgba(241, 128, 33, 0));
}

/* Cards */
.nr-grid > div {
    margin-bottom: 30px;
}

.nr-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    color: inherit;
    text-decoration: none;
    box-shadow: 0 15px 40px -25px rgba(41, 37, 99, .35);
    transition: transform .5s ease, box-shadow .5s ease;
}

.nr-card:hover {
    color: inherit;
    transform: translateY(-8px);
    box-shadow: 0 28px 55px -25px rgba(41, 37, 99, .5);
}

.nr-card-img {
    height: 230px;
    overflow: hidden;
    position: relative;
}

.nr-card-img::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: var(--secondary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .5s ease;
}

.nr-card:hover .nr-card-img::after {
    transform: scaleX(1);
}

.nr-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(.2, .7, .2, 1);
}

.nr-card-img img.nr-img-top {
    object-position: center 20%;
}

.nr-card-body {
    padding: 28px 26px 30px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.nr-card-title {
    font-size: 21px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.35;
    margin-bottom: 12px;
}

.nr-card-body .nr-excerpt {
    flex: 1;
    margin-bottom: 20px;
}

.nr-card-body .nr-read {
    align-self: flex-start;
}


/* Filtering + reveal */
.nr-hidden {
    display: none !important;
}

.nr-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity .9s ease, transform .9s cubic-bezier(.2, .7, .2, 1);
}

.nr-reveal.is-visible {
    opacity: 1;
    transform: none;
}

@keyframes nrFadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: none; }
}

@keyframes nrGrow {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

@media (prefers-reduced-motion: reduce) {
    .nr-reveal,
    .nr-hero-inner,
    .nr-hero-title::after {
        opacity: 1;
        transform: none;
        animation: none;
        transition: none;
    }
}

/* Responsive */
@media (max-width: 991px) {
    .nr-hero {
        min-height: 340px;
        background-attachment: scroll;
    }
    .nr-hero-title {
        font-size: 52px;
        letter-spacing: 4px;
    }
    .nr-featured-img {
        min-height: 280px;
    }
    .nr-featured-text {
        padding: 35px 30px;
    }
    .nr-featured-title {
        font-size: 26px;
    }
}

@media (max-width: 767px) {
    .nr-hero-inner {
        padding-top: 90px;
        padding-bottom: 40px;
    }
    .nr-hero-title {
        font-size: 40px;
    }
    .nr-section {
        padding-top: 45px;
    }
    .nr-tabs button.btn-default {
        font-size: 15px;
        padding: 6px 14px;
    }
    .nr-featured-img {
        min-height: 220px;
    }
    .nr-featured-text {
        padding: 28px 22px;
    }
    .nr-featured-title {
        font-size: 23px;
    }
    .nr-subhead h3 {
        font-size: 22px;
        letter-spacing: 2px;
    }
}
