/* Article/page detail only. Theme fonts, colours, buttons and cover positions remain authoritative. */
body.theme-alpha-auisp #main.container.news-detail-shell {
    --news-space: clamp(24px, 3vw, 44px);
    --news-line: var(--club-accent-line, #dce4df);
    width: min(1320px, calc(100% - 4rem)) !important;
    max-width: 1320px !important;
    padding-top: clamp(28px, 4vw, 56px);
}
body #main.news-detail-shell > .public-breadcrumbs {
    margin-bottom: 24px;
    font-size: 13px;
    line-height: 1.6;
}
body #main.news-detail-shell > .public-content-heading {
    max-width: 1040px;
    margin: 0 0 30px;
    padding: 0;
    text-align: left;
    border: 0;
    box-shadow: none;
    background: transparent;
}
body #main.news-detail-shell > .public-content-heading::after {
    display: none;
}
body #main.news-detail-shell .public-content-heading .public-page-title {
    margin: 0 0 18px;
    font-size: clamp(26px, 2.8vw, 40px);
    line-height: 1.15;
    letter-spacing: -0.025em;
    text-wrap: balance;
    overflow-wrap: anywhere;
}
body #main.news-detail-shell .news-detail-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    max-width: none;
    margin: 0;
    font-size: 13px;
    line-height: 1.6;
    text-transform: none;
    letter-spacing: 0;
}
body #main.news-detail-shell .news-detail-category > span {
    display: none;
}
body #main.news-detail-shell .news-detail-category a {
    display: inline-block;
    padding: 3px 11px;
    border: 1px solid var(--news-line);
    border-radius: 30px;
    font-size: 12px;
    text-decoration: none;
}
body #main.news-detail-shell .news-detail-category a:hover {
    background: var(--club-accent-tint, #f0f5f1);
}
body #main.news-detail-shell .news-detail-box {
    /* Alpha's small-screen .box padding is !important. */
    padding: 0 !important;
    margin: 0 0 2rem;
    overflow: hidden;
}
body #main.news-detail-shell .news-detail-box > .image.featured {
    width: 100%;
    margin: 0;
    border-radius: 0;
}
body #main.news-detail-shell .news-detail-box > .image.featured img {
    display: block;
    width: 100%;
    height: clamp(210px, 27vw, 390px);
    max-height: none;
    border-radius: 0;
}
body #main.news-detail-shell .news-detail-content {
    padding: var(--news-space);
    font-size: 17px;
    line-height: 1.85;
    overflow-wrap: anywhere;
}
body #main.news-detail-shell .news-detail-content .news-blocks {
    display: grid;
    gap: var(--news-space);
}
/* Text flows as an article, rather than a stack of nested cards. */
body #main.news-detail-shell .news-detail-content .news-block {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}
body #main.news-detail-shell .news-detail-content .news-block--text {
    width: 100%;
    max-width: 70ch;
    margin-inline: 0;
}
body #main.news-detail-shell .news-detail-content :is(h2, h3, h4) {
    line-height: 1.3;
    text-wrap: balance;
}
body #main.news-detail-shell .news-detail-content .news-block-title {
    margin: 0 0 18px;
    font-size: clamp(22px, 2.1vw, 28px);
}
body #main.news-detail-shell .news-detail-content p {
    margin: 0 0 1.15em;
}
body #main.news-detail-shell .news-block-richtext > :last-child {
    margin-bottom: 0;
}
body #main.news-detail-shell .news-block-richtext > div + div {
    margin-top: 1.15em;
}
body #main.news-detail-shell .news-block-richtext a {
    text-underline-offset: 3px;
}
body #main.news-detail-shell .news-detail-content a.news-editorial-link {
    display: table;
    max-width: 100%;
    margin-top: 12px;
    padding: 10px 16px;
    border: 1px solid var(--news-line);
    border-radius: 8px;
    background: var(--club-accent-tint, #f2f5f3);
    color: var(--club-accent-ink, #234c37);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    text-decoration: none;
}
body #main.news-detail-shell .news-detail-content a.news-editorial-link::after {
    content: ' ↗';
}
body #main.news-detail-shell .news-detail-content a.news-editorial-link:is(:hover, :focus-visible) {
    text-decoration: underline;
    outline: 2px solid var(--club-accent-ink, #234c37);
    outline-offset: 2px;
}
body #main.news-detail-shell .news-block--split .news-block-split-grid {
    gap: clamp(20px, 3vw, 36px);
}
body #main.news-detail-shell .news-block-split-media img {
    border-radius: 12px;
}
body #main.news-detail-shell .news-detail-content .news-block--content-image {
    overflow: hidden;
    border-radius: 12px;
}
/* Keep a banner's caption below the image, outside its dark overlay. */
body #main.news-detail-shell .news-detail-content .news-block--image {
    display: grid;
    grid-template-areas: 'visual' 'caption';
    border-radius: 12px;
}
body #main.news-detail-shell .news-block--image > img {
    grid-area: visual;
}
body #main.news-detail-shell .news-block--image > .news-block-image-overlay {
    position: relative;
    inset: auto;
    grid-area: visual;
    min-height: 280px;
    border-radius: 12px;
}
body #main.news-detail-shell .news-block--image > figcaption {
    grid-area: caption;
    margin: 0;
    padding: 12px 0 0;
    font-size: 14px;
    line-height: 1.6;
}
body #main.news-detail-shell .news-detail-content .news-block--gallery {
    padding-top: 26px;
    border-top: 1px solid var(--news-line);
}
body #main.news-detail-shell .news-block--gallery .news-block-gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
    gap: 14px;
}
body #main.news-detail-shell .news-block-gallery-item {
    margin: 0;
    border: 0;
    border-radius: 12px;
    background: var(--club-accent-tint, #f2f5f3);
    box-shadow: none;
}
body #main.news-detail-shell .news-block-gallery-link {
    position: relative;
    overflow: hidden;
}
body #main.news-detail-shell .news-block-gallery-item img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: contain;
    transition: transform 180ms ease;
}
body #main.news-detail-shell .news-block-gallery-link::after {
    content: '↗';
    position: absolute;
    right: 10px;
    bottom: 10px;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #fff;
    color: #233b2d;
    font: 18px/1 Arial, sans-serif;
    box-shadow: 0 2px 10px #0002;
    pointer-events: none;
}
body #main.news-detail-shell .news-block-gallery-link:is(:hover, :focus-visible) img {
    transform: scale(1.025);
}
body #main.news-detail-shell .news-detail-content .news-block--quote {
    padding: 24px 28px;
    border-left: 3px solid var(--club-accent-ink, #234c37);
    background: var(--club-accent-tint, #f2f5f3);
}
body #main.news-detail-shell .news-block--quote blockquote {
    font-size: 1.15em;
}
body #main.news-detail-shell .news-detail-content .news-block--external-gallery {
    padding: 24px;
    border: 1px solid var(--news-line);
    border-radius: 12px;
    gap: 20px;
}
body #main.news-detail-shell .news-block--external-gallery .news-block-title {
    margin-bottom: 8px;
}
body #main.news-detail-shell .news-block--external-gallery .news-block-actions {
    flex-shrink: 0;
    margin: 0;
}
body #main.news-detail-shell .news-block-team-card,
body #main.news-detail-shell .news-block-document-card {
    box-shadow: none;
}
body #main.news-detail-shell .news-block-document-card {
    padding: 20px;
    border: 1px solid var(--news-line);
    gap: 20px;
}
body #main.news-detail-shell .news-detail-actions {
    gap: 8px;
    margin: 0 var(--news-space) var(--news-space);
    padding: 24px 0 0;
    border-top: 1px solid var(--news-line);
}
body #main.news-detail-shell .news-detail-actions .button {
    height: auto;
    min-height: 40px;
    padding: 10px 16px;
    font-size: 13px;
    line-height: 1.5;
    white-space: normal;
}
body #main.news-detail-shell .content-links-sidebar {
    font-size: 14px;
    line-height: 1.6;
}
body #main.news-detail-shell .content-links-box {
    padding: 22px;
}
body #main.news-detail-shell .content-links-brand-logo {
    min-height: 55px;
    margin-bottom: 8px;
}
body #main.news-detail-shell .content-links-brand-logo img {
    max-width: 160px;
    max-height: 55px;
}
body #main.news-detail-shell .content-links-ffg-logo img {
    max-height: 48px;
    width: auto;
    max-width: 100%;
}
/* Immersion has its own full-width cover, squared surfaces and paper background. */
body.theme-immersion #main.news-detail-shell .news-detail-content {
    padding-inline: 0;
}
body.theme-immersion #main.news-detail-shell :is(.news-block-gallery-item, .news-block--content-image, .news-block--external-gallery, .news-block--image, .news-block-image-overlay) {
    border-radius: 0;
}
body.theme-immersion #main.news-detail-shell .news-detail-actions {
    margin-inline: 0;
}
@media (max-width: 736px) {
    body.theme-alpha-auisp #main.container.news-detail-shell {
        --news-space: 22px;
        width: calc(100% - 2rem) !important;
        padding-top: 24px;
    }
    body #main.news-detail-shell > .public-content-heading {
        margin-bottom: 24px;
    }
    body #main.news-detail-shell .public-breadcrumbs li:last-child {
        display: none;
    }
    body #main.news-detail-shell .content-links-box {
        margin-inline: 0;
        padding: 22px !important;
    }
    body #main.news-detail-shell .news-detail-content {
        font-size: 16px;
        line-height: 1.8;
    }
    body #main.news-detail-shell .news-block--gallery .news-block-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
    body #main.news-detail-shell .news-block--gallery .news-block-gallery-item:only-child {
        grid-column: 1 / -1;
    }
    body #main.news-detail-shell .news-detail-content .news-block--quote,
    body #main.news-detail-shell .news-detail-content .news-block--external-gallery {
        padding: 20px;
    }
}
@media (prefers-reduced-motion: reduce) {
    body #main.news-detail-shell .news-block-gallery-item img {
        transition: none;
    }
}
