/* ==========================================================================
   Page: News Single
   ========================================================================== */

.site-main--news-single {
    --staff-coral: #fc7a62;
    --staff-text: #3f3838;
    --staff-border: #eaded9;
    background-color: #fff;
}

.page-hero--news-single {
    min-height: 190px;
}

.page-hero--news-single .page-hero__title {
    text-align: center;
}

.news-single {
    position: relative;
    z-index: 2;
    margin-top: -40px;
    padding: 4rem 4rem 4.5rem;
    background-color: #fff;
    border-radius: 24px 24px 0 0;
}

.news-single__inner {
    max-width: 760px;
    margin: 0 auto;
}

.news-single__header {
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--staff-border);
}

.news-single__meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.news-single__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 3.7rem;
    padding: 0.2rem 0.45rem;
    color: var(--staff-coral);
    background-color: #fff;
    border: 1px solid var(--staff-coral);
    border-radius: 3px;
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    line-height: 1.2;
}

.news-single__date {
    color: #666;
    font-size: 0.75rem;
    line-height: 1.6;
}

.news-single__title {
    margin: 0;
    color: var(--staff-text);
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.8;
}

.news-single__featured {
    margin: 2rem auto 2.25rem;
    display: flex;
    justify-content: center;
}

.news-single__featured-image {
    display: block;
    width: 100%;
    max-width: 440px;
    height: auto;
    border-radius: 8px;
}

.news-single__content {
    color: #444;
    font-size: 0.875rem;
    line-height: 2;
}

.news-single__content h2,
.news-single__content h3 {
    margin: 2rem 0 0.75rem;
    color: var(--staff-text);
    font-weight: 700;
    line-height: 1.7;
}

.news-single__content h2 {
    font-size: 1.1rem;
}

.news-single__content h3 {
    font-size: 0.95rem;
}

.news-single__content p {
    margin: 2rem 0 1rem;
}

.news-single__content a {
    color: var(--staff-coral);
    text-decoration: underline;
}

.news-single__content strong {
    font-weight: 700;
}

.news-single__content u {
    text-decoration: underline;
}

.news-single__nav {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 1.5rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--staff-border);
}

.news-single__nav-side {
    min-height: 48px;
}

.news-single__nav-side--next {
    justify-self: end;
}

.news-single__nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    min-height: 48px;
    color: var(--staff-coral);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 700;
}

.news-single__nav-arrow,
.news-single__nav-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 3px;
    background-color: var(--staff-coral);
    color: #fff;
    font-size: 1rem;
    line-height: 1;
}

.news-single__featured {
    margin: 2rem auto 2.25rem;
    display: flex;
    justify-content: center;
    overflow: hidden;
    border-radius: 12px;
}

.news-single__content img {
    display: block;
    width: 50%;
    height: auto;
    border-radius: 12px;
    margin: 2rem auto;
}

.news-single__featured-image {
    display: block;
    width: 100%;
    max-width: 360px;
    height: auto;
}

@media (max-width: 768px) {
    .news-single {
        padding: 3rem 2rem 3.5rem;
    }

    .news-single__nav {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .news-single__nav-side,
    .news-single__nav-back {
        justify-self: stretch;
    }

    .news-single__nav-link,
    .news-single__nav-back {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 540px) {
    .news-single {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }
}
