/* =========================================================
   NEWS DETAIL
   Juventude Vidigalense
   ========================================================= */

.news-detail-page {
    background: #fff;
}

/* Hero
   --------------------------------------------------------- */

.news-hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 360px;
    overflow: hidden;
    background: linear-gradient(
            135deg,
            #171717 0%,
            #252525 65%,
            #2d2d2d 100%
    );
}

.news-hero__overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(
            circle at 85% 30%,
            rgba(227, 6, 19, .22),
            transparent 38%
    );
}

.news-hero__container {
    width: 100%;
}

.news-hero__content {
    max-width: 930px;
    padding: 80px 0 64px;
    margin: 0 auto;
    color: #fff;
    text-align: center;
}

.news-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, .72);
    font-size: 13px;
    font-weight: 600;
}

.news-breadcrumb a {
    color: rgba(255, 255, 255, .82) !important;
    text-decoration: none !important;
    transition: color .2s ease;
}

.news-breadcrumb a:hover,
.news-breadcrumb a:focus {
    color: #fff !important;
}

.news-hero h1 {
    max-width: 900px;
    margin: 0 auto;
    color: #fff;
    font-size: clamp(38px, 5vw, 64px);
    font-weight: 700;
    line-height: 1.06;
    letter-spacing: -.035em;
}

.news-hero__summary {
    max-width: 800px;
    margin: 24px auto 0;
    color: rgba(255, 255, 255, .9);
    font-size: 20px;
    font-weight: 400;
    line-height: 1.6;
}

/* Main content
   --------------------------------------------------------- */

.news-content {
    padding: 64px 0 78px;
    background: #fff;
}

.news-content__inner {
    max-width: 1180px;
    margin: 0 auto;
}

.news-layout {
    display: flex;
    align-items: flex-start;
}

.news-layout::before,
.news-layout::after {
    display: none;
}

.news-layout > [class*="col-"] {
    float: none;
}

/* Cover image
   --------------------------------------------------------- */

.news-cover {
    margin: 0;
}

.news-cover__frame {
    width: 100%;
}

.news-cover__image {
    display: block;
    width: 100%;
    height: auto;
}

.news-cover figcaption {
    margin: 0;
    padding: 11px 1px 0;
    color: #666;
    font-size: 13px;
    line-height: 1.55;
}

/* Article
   --------------------------------------------------------- */

.news-article {
    padding-left: 36px;
}

.news-article__content {
    color: #000;
    font-size: 17px;
    line-height: 1.82;
}

.news-article__content > *:first-child {
    margin-top: 0;
}

.news-article__content > *:last-child {
    margin-bottom: 0;
}

.news-article__content p {
    margin: 0 0 22px;
    color: #000;
}

.news-article__content h2,
.news-article__content h3,
.news-article__content h4,
.news-article__content h5,
.news-article__content h6 {
    color: #000;
    font-weight: 700;
    line-height: 1.25;
}

.news-article__content h2 {
    margin: 42px 0 18px;
    font-size: 30px;
}

.news-article__content h3 {
    margin: 36px 0 16px;
    font-size: 24px;
}

.news-article__content h4 {
    margin: 30px 0 14px;
    font-size: 20px;
}

.news-article__content a {
    color: #e30613;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.news-article__content a:hover,
.news-article__content a:focus {
    color: #b7000a;
}

.news-article__content strong {
    color: #000;
    font-weight: 700;
}

.news-article__content ul,
.news-article__content ol {
    margin: 0 0 24px;
    padding-left: 25px;
    color: #000;
}

.news-article__content li {
    margin-bottom: 9px;
    color: #000;
}

.news-article__content blockquote {
    margin: 34px 0;
    padding: 4px 0 4px 24px;
    border-left: 4px solid #e30613;
    color: #000;
    font-size: 20px;
    font-style: normal;
    line-height: 1.65;
}

.news-article__content blockquote p:last-child {
    margin-bottom: 0;
}

.news-article__content img {
    max-width: 100%;
    height: auto;
}

.news-article__content iframe,
.news-article__content video {
    max-width: 100%;
}

/* Gallery
   --------------------------------------------------------- */

.news-gallery {
    margin-top: 66px;
    padding-top: 48px;
    border-top: 1px solid #e8e8e8;
}

.news-gallery__heading {
    margin-bottom: 26px;
}

.news-gallery__eyebrow {
    display: block;
    margin-bottom: 8px;
    color: #e30613;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.news-gallery__heading h2 {
    margin: 0;
    color: #000;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.2;
}

.news-gallery__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.news-gallery__item {
    margin: 0;
}

.news-gallery__item a {
    position: relative;
    display: block;
    overflow: hidden;
    background: #f3f3f3;
    text-decoration: none !important;
}

.news-gallery__item img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform .25s ease,
    opacity .25s ease;
}

.news-gallery__item a:hover img,
.news-gallery__item a:focus img {
    opacity: .94;
    transform: scale(1.015);
}

.news-gallery__open {
    position: absolute;
    right: 14px;
    bottom: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(0, 0, 0, .72);
    color: #fff;
    font-size: 13px;
}

.news-gallery__item figcaption {
    padding-top: 10px;
    color: #666;
    font-size: 13px;
    line-height: 1.55;
}

/* Back link
   --------------------------------------------------------- */

.news-back {
    max-width: 820px;
    margin: 62px auto 0;
    padding-top: 30px;
    border-top: 1px solid #e8e8e8;
}

.news-back a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #000 !important;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
    transition: color .2s ease,
    gap .2s ease;
}

.news-back a:hover,
.news-back a:focus {
    gap: 13px;
    color: #e30613 !important;
}

/* Responsive
   --------------------------------------------------------- */

@media (max-width: 991px) {
    .news-hero {
        min-height: 440px;
    }

    .news-hero__content {
        margin-left: 0;
    }

    .news-hero__summary {
        font-size: 18px;
    }

    .news-content {
        padding: 50px 0 64px;
    }

    .news-layout {
        display: block;
    }

    .news-layout > [class*="col-"] {
        float: left;
    }

    .news-cover {
        margin-bottom: 38px;
    }

    .news-article {
        padding-left: 0;
    }
}

@media (max-width: 767px) {
    .news-hero {
        min-height: 410px;
    }

    .news-hero__content {
        padding: 88px 0 40px;
    }

    .news-breadcrumb {
        margin-bottom: 16px;
        font-size: 12px;
    }

    .news-hero h1 {
        font-size: 36px;
        line-height: 1.1;
    }

    .news-hero__summary {
        margin-top: 18px;
        font-size: 17px;
        line-height: 1.55;
    }

    .news-content {
        padding: 38px 0 52px;
    }

    .news-cover {
        margin-bottom: 34px;
    }

    .news-article__content {
        font-size: 16px;
        line-height: 1.76;
    }

    .news-article__content h2 {
        margin-top: 36px;
        font-size: 26px;
    }

    .news-article__content h3 {
        margin-top: 32px;
        font-size: 22px;
    }

    .news-gallery {
        margin-top: 50px;
        padding-top: 38px;
    }

    .news-gallery__heading h2 {
        font-size: 26px;
    }

    .news-gallery__grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .news-back {
        margin-top: 48px;
    }
}

@media (max-width: 480px) {
    .news-hero {
        min-height: 380px;
    }

    .news-hero h1 {
        font-size: 32px;
    }

    .news-hero__summary {
        font-size: 16px;
    }
}
