/* JOHN CENA — SWAGGER editorial overrides
   Keep the JB editorial structure; only content, imagery and shoot-specific styling change. */

/* Core SWAGGER dark tone for the opening deck/navigation. */
.bg-red,
.red-bg,
.site-content-section .nav-list,
.let-us-know a,
.close-btn:hover,
.menu-btn:hover {
    background: #191621 !important;
}

/* Opening cover title.
   Match the JB reference: Anton is the final cover-title font. */
.home-section .logo .cover-title-link {
    text-decoration: none;
    color: inherit;
}

.home-section .logo .cover-title {
    font-family: "Anton", Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif !important;
    font-weight: 400 !important;
    font-style: normal !important;
    text-transform: none !important;
    max-width: 100% !important;
    letter-spacing: -1px !important;
    line-height: .92 !important;
    color: #ffffff !important;
    text-shadow: none !important;
}


.home-section .logo .cover-title em {
    font-style: normal !important;
}
/* Opening deck is roman Noto Serif, not italic. */
#section-2,
#section-2 .red-bg {
    background: #191621 !important;
}

#section-2 .centered-hero-text {
    font-family: "Noto Serif", serif !important;
    font-style: normal !important;
    font-weight: 400 !important;
    color: #fff !important;
}

@media only screen and (min-width: 981px) {
    .home-section {
        background-position: center center !important;
    }

    .home-section .logo {
        width: 50% !important;
        max-width: 760px !important;
        padding: 46px 34px !important;
    }

    .home-section .logo .cover-title {
        font-size: clamp(50px, 5.6vw, 96px) !important;
        line-height: .9 !important;
        letter-spacing: -1.4px !important;
        max-width: 660px !important;
    }

    .home-section .logo small,
    .home-section .section-footer {
        color: #ffffff !important;
        text-shadow: none !important;
    }

    /* Solo John gets the large cinematic slots. */
    #section-18.creative-companies {
        background-position: center center !important;
        background-size: cover !important;
    }

    /* Inline support images stay unique, but read larger than thumbnails. */
    .cast-photo-break,
    .big-photo-break {
        width: 65vw;
        max-width: 1100px;
        position: relative;
        left: 50%;
        transform: translateX(-50%);
        margin: 48px 0 42px;
    }

    .cast-photo-break img,
    .big-photo-break img {
        width: 100%;
        height: auto;
        max-width: none;
        display: block;
    }
}

/* Mobile uses the dedicated portrait assets, as in the JB template. */
@media only screen and (min-width: 320px) and (max-width: 980px) {
    .home-section .logo {
        width: calc(100% - 26px) !important;
        padding: 22px 13px !important;
    }

    .home-section .logo .cover-title {
        font-size: clamp(34px, 10.5vw, 58px) !important;
        line-height: .92 !important;
        letter-spacing: -1.1px !important;
        max-width: 100% !important;
    }

    .show-mobile .img-fluid,
    img.show-mobile.img-fluid {
        width: 100%;
        height: auto;
        object-fit: contain;
        object-position: center top;
    }

    #section-2 .centered-hero-text {
        font-style: normal !important;
    }

    .cast-photo-break,
    .big-photo-break {
        margin: 34px 0 30px;
    }
}

/* Three large pull quotes; the same wording remains in the body copy. */
.cena-pullquote {
    margin: 36px 0 42px;
}

.cena-pullquote .hero-text {
    margin-bottom: 0 !important;
}

/* Use the supplied Matchbox poster once as its own editorial break. */
.matchbox-poster-break {
    margin: 0;
}

/* Cena cover uses the same closing magazine-cover treatment as the JB reference. */
.annual-digest-newspaper {
    background: #191621 url(../images/annual-digest-newspaper-bg.jpg) no-repeat center center fixed !important;
    -webkit-background-size: cover !important;
    -moz-background-size: cover !important;
    -o-background-size: cover !important;
    background-size: cover !important;
}

/* REV6: show the supplied long editorial title at the start of the story on mobile. */
.cena-mobile-article-title {
    font-family: "Noto Serif", serif;
    font-weight: 700;
    font-style: normal;
    color: #191621;
    font-size: 32px;
    line-height: 1.08;
    letter-spacing: -0.5px;
    margin: 42px 0 30px;
}


/* Final navy dek panel: use the JB Copeland proportions exactly. */
#section-2 .cena-long-title {
    font-family: "Noto Serif", serif !important;
    font-style: normal !important;
    font-weight: 400 !important;
    font-size: 30px !important;
    line-height: 1.4 !important;
    letter-spacing: 0 !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding-left: 25% !important;
    padding-right: 25% !important;
    text-align: center !important;
    color: #fff !important;
}
#section-2 .cena-long-title em {
    font-style: italic !important;
}
@media only screen and (max-width: 980px) {
    #section-2 .cena-long-title {
        padding-left: 20px !important;
        padding-right: 20px !important;
        font-size: clamp(22px, 6vw, 32px) !important;
        line-height: 1.3 !important;
    }
}




/* FINAL-7: keep pull quotes fully in normal flow so they cannot overlap body copy while scrolling. */
.cena-pullquote {
    display: block !important;
    position: static !important;
    width: 100% !important;
    clear: both !important;
    overflow: visible !important;
    margin: 52px 0 !important;
    padding: 0 !important;
}
.cena-pullquote .hero-text {
    position: static !important;
    left: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    transform: none !important;
    opacity: 1 !important;
    margin: 0 !important;
    padding: 30px 0 !important;
    line-height: 1.2 !important;
    text-align: left !important;
}

/* Extra portrait key art used once as a mid-story visual break. */
.inline-vertical-poster {
    width: min(430px, 78vw) !important;
    max-width: 100% !important;
    position: relative !important;
    left: auto !important;
    margin: 52px auto 56px !important;
}
.inline-vertical-poster img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 auto !important;
}

@media only screen and (max-width: 980px) {
    .cena-pullquote {
        margin: 34px 0 !important;
    }
    .cena-pullquote .hero-text {
        padding: 22px 0 !important;
    }
    .inline-vertical-poster {
        width: min(92vw, 520px) !important;
        margin: 36px auto 40px !important;
    }
}
