/* Big Sale's comic lettering and print colours, with room for the actual story. */
body.site-news-detail .site-header {
    position: relative;
}

.news-detail {
    --news-ink: #171411;
    --news-paper: #fff8ef;
    --news-yellow: #fcd600;
    --news-pink: #e00785;
    clear: both;
    color: var(--news-ink);
    width: 100%;
}

.news-detail a:focus-visible,
.news-detail button:focus-visible {
    outline: 3px solid var(--news-pink) !important;
    outline-offset: 6px;
}

/* Override the template's global, absolutely positioned `header` rule. */
.news-hero {
    position: relative;
    inset: auto;
    z-index: auto;
    padding: 0;
    background: var(--news-yellow);
    border-bottom: 3px solid var(--news-ink);
}

.news-breadcrumb {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 56px;
    font-size: 16px;
}

.news-breadcrumb a {
    padding-block: 10px;
    text-underline-offset: 4px;
}

.news-breadcrumb a:hover {
    text-decoration: underline;
}

.news-hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: clamp(28px, 4vw, 64px);
    padding: 12px 0 52px;
}

.news-intro {
    min-width: 0;
    padding-block: 16px;
    animation: news-arrive 420ms ease-out both;
}

.news-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 18px;
    margin-bottom: 24px;
    font-size: 17px;
}

.news-category {
    display: inline-block;
    padding: 6px 14px;
    border: 2px solid var(--news-ink);
    background: var(--news-paper);
    font-weight: 700;
}

.news-intro h1 {
    margin: 0 0 32px;
    font-family: "Bangers", "Neucha-Regular", sans-serif;
    font-weight: 400;
    font-size: clamp(40px, 4.8vw, 70px);
    line-height: 1.04;
    letter-spacing: 0.01em;
    overflow-wrap: anywhere;
    text-wrap: balance;
}

.news-artwork {
    min-width: 0;
    width: 100%;
    max-width: 610px;
    justify-self: end;
    margin: 0;
    border: 3px solid var(--news-ink);
    background: var(--news-paper);
    box-shadow: 8px 8px 0 var(--news-ink);
    animation: news-arrive 420ms 100ms ease-out both;
}

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

.news-hero-layout--text {
    grid-template-columns: minmax(0, 1fr);
    max-width: 980px;
}

.news-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    min-height: 50px;
    padding: 12px 22px;
    border: 2px solid var(--news-ink);
    font-size: 20px;
    line-height: 1.2;
    font-weight: 700;
    transition: background-color 160ms ease, color 160ms ease;
}

.news-button--dark {
    background: var(--news-ink);
    color: #fff;
}

.news-button--dark:hover {
    background: #fff;
    color: var(--news-ink);
}

.news-button--pink {
    background: var(--news-pink);
    color: #fff;
}

.news-button--pink:hover {
    background: var(--news-ink);
    color: #fff;
}

.news-button span,
.news-all-link span,
.news-share span {
    font-family: sans-serif;
}

.news-story {
    max-width: 850px;
    padding-top: clamp(40px, 5vw, 72px);
    padding-bottom: clamp(40px, 5vw, 72px);
    scroll-margin-top: 24px;
}

.news-copy {
    font-size: 21px;
    line-height: 1.7;
    overflow-wrap: anywhere;
    display: flow-root;
}

.news-copy p {
    margin: 0 0 1em;
}

.news-copy > p:first-child {
    font-size: 26px;
    line-height: 1.45;
}

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

.news-copy :is(h2, h3, h4) {
    margin: 1.2em 0 0.5em;
    font-family: "Bangers", "Neucha-Regular", sans-serif;
    font-size: 34px;
    line-height: 1.15;
    font-weight: 400;
}

.news-copy :is(ul, ol) {
    padding-left: 1.4em;
    margin-bottom: 1em;
}

.news-copy ul li {
    list-style: disc;
}

.news-copy ol li {
    list-style: decimal;
}

.news-copy a {
    color: #b70067;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.news-copy a:hover {
    color: var(--news-ink);
}

.news-copy blockquote {
    border-left: 5px solid var(--news-pink);
    padding-left: 24px;
    margin: 1.5em 0;
    font-size: 26px;
}

.news-copy :is(img, video, iframe) {
    max-width: 100%;
}

.news-copy :is(img, video) {
    height: auto;
}

.news-copy table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
}

.news-story-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px 28px;
    margin-top: 32px;
    padding-top: 28px;
    border-top: 1px solid #d8d0c8;
}

.news-share {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 48px;
    border: 0;
    background: transparent;
    color: var(--news-ink);
    font-family: "Neucha-Regular", sans-serif;
    font-size: 19px;
    text-decoration: underline;
    text-underline-offset: 5px;
}

.news-share[hidden] {
    display: none;
}

.news-share:hover {
    color: #b70067;
}

.news-share-status {
    flex-basis: 100%;
    font-size: 17px;
}

.news-share-status:empty {
    display: none;
}

.news-related {
    padding: 48px 0 64px;
    background: var(--news-paper);
    border-top: 3px solid var(--news-ink);
}

.news-related-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px 24px;
    margin-bottom: 28px;
}

.news-related-heading h2 {
    margin: 0;
    font-family: "Bangers", "Neucha-Regular", sans-serif;
    font-size: clamp(36px, 4vw, 48px);
    font-weight: 400;
    line-height: 1.1;
}

.news-all-link {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding-block: 12px;
    font-size: 19px;
    text-decoration: underline;
    text-underline-offset: 5px;
}

.news-all-link:hover {
    color: #b70067;
}

.news-related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
}

.news-related-link {
    display: block;
    min-width: 0;
}

.news-related-image {
    aspect-ratio: 16 / 10;
    margin-bottom: 18px;
    overflow: hidden;
    background: var(--news-yellow);
    border: 2px solid var(--news-ink);
}

.news-related-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 180ms ease;
}

.news-related-image--empty {
    display: grid;
    place-items: center;
    font-family: "Bangers", "Neucha-Regular", sans-serif;
    font-size: 48px;
}

.news-related-link time {
    display: block;
    margin-bottom: 8px;
    font-size: 16px;
    color: #665a50;
}

.news-related-title {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.news-related-title h3 {
    margin: 0;
    font-family: "Bangers", "Neucha-Regular", sans-serif;
    font-size: 28px;
    font-weight: 400;
    line-height: 1.15;
    overflow-wrap: anywhere;
}

.news-related-title > span {
    font-family: sans-serif;
    font-size: 24px;
    color: #b70067;
}

.news-related-link:hover h3 {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

.news-related-link:hover img {
    opacity: 0.82;
}

.news-back {
    padding-bottom: 48px;
}

@keyframes news-arrive {
    from { opacity: 0; }
    to { opacity: 1; }
}

@media (max-width: 991px) {
    .news-hero-layout {
        gap: 28px;
    }

    .news-intro h1 {
        font-size: clamp(36px, 5.5vw, 54px);
    }

    .news-related-grid {
        gap: 20px;
    }
}

@media (max-width: 767px) {
    .news-detail .container {
        padding-left: 22px;
        padding-right: 22px;
    }

    .news-breadcrumb {
        min-height: 48px;
    }

    .news-hero-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
        padding: 4px 0 36px;
    }

    .news-intro {
        padding: 0;
    }

    .news-meta {
        margin-bottom: 20px;
        font-size: 16px;
    }

    .news-intro h1 {
        font-size: clamp(36px, 9.5vw, 54px);
        margin-bottom: 24px;
        text-wrap: pretty;
    }

    .news-artwork {
        margin-right: 6px;
        box-shadow: 6px 6px 0 var(--news-ink);
    }

    .news-copy {
        font-size: 20px;
        line-height: 1.6;
    }

    .news-copy > p:first-child {
        font-size: 24px;
    }

    .news-related {
        padding: 36px 0 44px;
    }

    .news-related-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }

    .news-related-link {
        display: grid;
        grid-template-columns: 104px minmax(0, 1fr);
        column-gap: 16px;
        align-content: start;
    }

    .news-related-image {
        grid-row: span 2;
        margin: 0;
        aspect-ratio: 1;
    }

    .news-related-image--empty {
        font-size: 26px;
    }

    .news-related-title h3 {
        font-size: 24px;
    }

    .news-related-title > span {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .news-intro,
    .news-artwork {
        animation: none;
    }

    .news-detail *,
    .news-detail *::before,
    .news-detail *::after {
        transition: none !important;
    }
}
