body.md-fsr-layout-curtain
.site-header {
    position: sticky !important;
    top: var(--wp-admin--admin-bar--height,0px) !important;
    z-index: 10060 !important;
    overflow: visible !important;
}

body.md-fsr-layout-curtain
.site-header :is(
    .burger,.site-nav,.mobile-controls,
    .md-menu-fullscreen-trigger
) {
    display: none !important;
}

body.md-fsr-layout-curtain
.site-header .top-navigation-bar {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 14px !important;
    max-width: 1440px;
    min-height: 74px !important;
    padding: 10px clamp(14px,3vw,40px) !important;
    margin-inline: auto !important;
}

body.md-fsr-layout-curtain
.site-header .site-logo {
    flex: 0 1 auto !important;
    min-width: 0 !important;
    max-width: min(320px,55vw) !important;
    margin: 0 !important;
}

body.md-fsr-layout-curtain
.site-header .site-logo img {
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 58px !important;
    margin: 0 !important;
    object-fit: contain !important;
}

#md-fsr-theme-nav.md-fsr-fourteen-nav {
    position: relative;
    z-index: 1;
    flex: 0 0 auto;
    margin-left: auto;
}

#md-fsr-theme-nav.md-fsr-fourteen-nav
.md-fsr-fourteen-trigger {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 18px;
    cursor: pointer;
    font: 750 13px/1.3 system-ui,sans-serif;
    letter-spacing: .04em;
}

#md-fsr-theme-nav.md-fsr-fourteen-nav
.md-fsr-fourteen-trigger-mark {
    font: 800 19px/1 system-ui,sans-serif;
}

#md-fsr-theme-nav.md-fsr-fourteen-nav
.md-fsr-fourteen-count {
    font: 700 11px/1 system-ui,sans-serif;
    opacity: .8;
}

html.md-fsr-fourteen-open {
    overflow: hidden !important;
    overscroll-behavior: none !important;
}

body.md-fsr-fourteen-open {
    overflow: visible !important;
}

.md-fsr-fourteen-overlay[hidden],
.md-fsr-fourteen-overlay [hidden] {
    display: none !important;
}

.md-fsr-fourteen-overlay {
    position: fixed;
    inset: 0;
    z-index: 10050;
    opacity: 0;
    pointer-events: none;
    background: rgba(7,11,16,.42);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    transition: opacity .24s ease;
}

.md-fsr-fourteen-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
}

.md-fsr-fourteen-overlay .md-fsr-fourteen-panel {
    box-sizing: border-box;
    height: 100%;
    max-height: 100%;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    background: var(--md-fsr-foot-bg,#172431);
    color: var(--md-fsr-foot-text,#e3eaf0);
}

.md-fsr-fourteen-panel .md-fsr-fourteen-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 20px;
    color: var(--md-fsr-foot-muted,#bdcedb);
    font: 700 12px/1.4 system-ui,sans-serif;
}

.md-fsr-fourteen-panel .md-fsr-fourteen-close {
    display: grid;
    place-items: center;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--md-fsr-foot-muted,#bdcedb);
    border-radius: 50%;
    color: var(--md-fsr-foot-head,#fff);
    background: transparent;
    cursor: pointer;
    transition:
        background-color .2s ease,
        transform .2s ease;
}

.md-fsr-fourteen-panel a {
    color: var(--md-fsr-foot-text,#e3eaf0) !important;
    text-decoration: none !important;
    overflow-wrap: anywhere;
}

.md-fsr-fourteen-panel a:hover {
    color: var(--md-fsr-foot-head,#fff) !important;
}

.md-fsr-fourteen-panel ul {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.md-fsr-fourteen-panel .md-fsr-nav-children a {
    display: block;
    padding: 8px 0;
    font: 550 14px/1.45 system-ui,sans-serif;
}

.md-fsr-fourteen-panel
.md-fsr-nav-children .md-fsr-nav-children {
    padding-left: 17px !important;
}

#md-fsr-theme-nav.md-fsr-fourteen-nav button:focus-visible,
.md-fsr-fourteen-panel :is(button,summary,a):focus-visible {
    outline: 3px solid var(--md-fsr-accent,#a3352b) !important;
    outline-offset: 3px !important;
}

@media (max-width:760px) {
body.md-fsr-layout-curtain .site-header .top-navigation-bar {
        min-height: 64px !important;
        padding: 8px 14px !important;
    }

body.md-fsr-layout-curtain .site-header .site-logo {
        max-width: calc(100vw - 145px) !important;
    }

body.md-fsr-layout-curtain .site-header .site-logo img {
        max-height: 45px !important;
    }

#md-fsr-theme-nav.md-fsr-fourteen-nav
    .md-fsr-fourteen-trigger > span:nth-child(2) {
        display: none;
    }

}

@media (prefers-reduced-motion: reduce) {
#md-fsr-theme-nav.md-fsr-fourteen-nav *,
.md-fsr-fourteen-overlay,
.md-fsr-fourteen-overlay * {
        animation: none !important;
        transition: none !important;
    }

}

/* Curtain: cinematic gallery of sections */

#md-fsr-theme-nav.md-fsr-curtain-nav
.md-fsr-fourteen-trigger {
    border: 1px solid currentColor;
    border-radius: 2px;
    color: var(--md-fsr-head-text, #1F2937);
    background: var(--md-fsr-head-bg, #F8FAFC);
    text-transform: uppercase;
}

#md-fsr-theme-nav.md-fsr-curtain-nav
.md-fsr-fourteen-trigger:hover {
    box-shadow:
        inset 0 -4px 0 var(--md-fsr-accent,#a3352b);
}

.md-fsr-curtain-overlay .md-fsr-fourteen-panel {
    width: 100%;
    padding: clamp(20px,3.5vw,55px);
    border-top:
        4px solid var(--md-fsr-accent,#a3352b);
    background-image: linear-gradient(
        90deg,
        rgba(255,255,255,.045),
        transparent 22%,
        transparent 78%,
        rgba(255,255,255,.045)
    );
    transform: translateY(-18px);
    transition: transform .24s ease;
}

.md-fsr-curtain-overlay.is-open
.md-fsr-fourteen-panel {
    transform: translateY(0);
}

.md-fsr-curtain-heading {
    text-align: center;
    padding: 0 0 30px;
}

.md-fsr-curtain-heading > span {
    color: var(--md-fsr-foot-muted,#bdcedb);
    font: 750 11px/1.4 system-ui,sans-serif;
    letter-spacing: .26em;
}

.md-fsr-curtain-heading h2 {
    margin: 8px 0;
    color: var(--md-fsr-foot-head,#fff);
    font: 850 clamp(38px,7vw,96px)/1.02 Georgia,serif;
}

.md-fsr-curtain-sections {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 1px 48px;
    max-width: 1360px;
    margin: auto;
}

.md-fsr-curtain-section {
    padding: 22px 0;
    border-top: 1px solid var(--md-fsr-foot-muted,#bdcedb);
    min-width: 0;
}

.md-fsr-curtain-row {
    display: flex;
    gap: 16px;
    align-items: baseline;
}

.md-fsr-curtain-row > span {
    color: var(--md-fsr-foot-muted,#bdcedb);
    font: 800 11px/1.2 system-ui,sans-serif;
}

.md-fsr-curtain-row a {
    font: 750 clamp(22px,3vw,40px)/1.15 Georgia,serif;
}

.md-fsr-curtain-details {
    margin: 13px 0 0 29px;
}

.md-fsr-curtain-details > summary {
    display: inline-flex;
    gap: 13px;
    align-items: center;
    list-style: none;
    cursor: pointer;
    color: var(--md-fsr-foot-muted,#bdcedb);
    font: 700 12px/1.3 system-ui,sans-serif;
}

.md-fsr-curtain-details > summary::-webkit-details-marker {
    display: none;
}

.md-fsr-curtain-details > summary span {
    font-size: 22px;
    transition: transform .2s ease;
}

.md-fsr-curtain-details[open] > summary span {
    transform: rotate(45deg);
}

.md-fsr-curtain-details .md-fsr-nav-children {
    margin-top: 14px !important;
    max-height: min(44vh,390px);
    overflow: auto;
}

.md-fsr-curtain-details .md-fsr-nav-children li {
    border-bottom: 1px solid rgba(255,255,255,.12);
}

@media (hover:hover) {
    .md-fsr-curtain-row a {
        transition: padding-left .2s ease;
    }

    .md-fsr-curtain-row a:hover {
        padding-left: 6px;
    }
}

@media (max-width:760px) {
    .md-fsr-curtain-overlay .md-fsr-fourteen-panel {
        padding: 20px 18px;
    }

    .md-fsr-curtain-sections {
        grid-template-columns: 1fr;
    }

    .md-fsr-curtain-section {
        padding: 16px 0;
    }
}


/* Curtain: refined editorial close button */

.md-fsr-curtain-overlay
.md-fsr-fourteen-panel .md-fsr-fourteen-close {
    position: relative;
    display: grid;
    place-items: center;
    flex: 0 0 50px;
    width: 50px;
    height: 50px;
    padding: 0;
    border: 1px solid var(--md-fsr-foot-muted, #BDCEDB);
    border-radius: 3px;
    background: rgba(255,255,255,.025);
    color: var(--md-fsr-foot-head, #fff);
    cursor: pointer;
    transition:
        border-color .3s ease,
        background-color .3s ease,
        box-shadow .3s ease;
}

.md-fsr-curtain-overlay
.md-fsr-fourteen-close svg {
    width: 21px;
    height: 21px;
    stroke-width: 1.4;
    transition:
        transform .3s ease,
        color .3s ease;
}

.md-fsr-curtain-overlay
.md-fsr-fourteen-close::after {
    content: "";
    position: absolute;
    right: 8px;
    bottom: 7px;
    left: 8px;
    height: 1px;
    background: var(--md-fsr-accent, #A3352B);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .3s ease;
}

@media (hover: hover) {
    .md-fsr-curtain-overlay
    .md-fsr-fourteen-close:hover {
        border-color: var(--md-fsr-accent, #A3352B);
        background: rgba(255,255,255,.08);
        box-shadow: 0 8px 24px rgba(0,0,0,.17);
    }

    .md-fsr-curtain-overlay
    .md-fsr-fourteen-close:hover svg {
        transform: scale(.82);
    }

    .md-fsr-curtain-overlay
    .md-fsr-fourteen-close:hover::after {
        transform: scaleX(1);
    }
}

@media (prefers-reduced-motion: reduce) {
    .md-fsr-curtain-overlay .md-fsr-fourteen-close,
    .md-fsr-curtain-overlay .md-fsr-fourteen-close svg,
    .md-fsr-curtain-overlay .md-fsr-fourteen-close::after {
        transition: none !important;
    }
}


/* Curtain: editorial programme navigation */

.md-fsr-curtain-overlay
.md-fsr-curtain-details > summary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 38px;
    padding: 7px 0 10px;
    border-bottom: 1px solid color-mix(
        in srgb,
        var(--md-fsr-foot-muted, #bdcedb) 42%,
        transparent
    );
    color: var(--md-fsr-foot-muted, #bdcedb);
    font: 700 11px/1.4 system-ui, sans-serif;
    letter-spacing: .1em;
    cursor: pointer;
    transition: color .2s ease;
}

.md-fsr-curtain-overlay
.md-fsr-curtain-details > summary span {
    display: grid;
    place-items: center;
    width: 25px;
    height: 25px;
    border: 1px solid color-mix(
        in srgb,
        var(--md-fsr-foot-muted, #bdcedb) 45%,
        transparent
    );
    border-radius: 3px;
    font: 400 17px/1 system-ui, sans-serif;
}

.md-fsr-curtain-overlay
.md-fsr-curtain-details[open] > summary {
    color: var(--md-fsr-foot-head, #fff);
}

/* Numbered article list */

.md-fsr-curtain-overlay
.md-fsr-curtain-details > .md-fsr-nav-children {
    counter-reset: curtain-article;
    width: 100%;
    margin-top: 16px !important;
    padding: 0 !important;
}

.md-fsr-curtain-overlay
.md-fsr-curtain-details > .md-fsr-nav-children
> li:not(.md-fsr-nav-view-all) {
    position: relative;
    counter-increment: curtain-article;
    min-width: 0;
    border-bottom: 1px solid color-mix(
        in srgb,
        var(--md-fsr-foot-muted, #bdcedb) 22%,
        transparent
    );
}

.md-fsr-curtain-overlay
.md-fsr-curtain-details > .md-fsr-nav-children
> li:not(.md-fsr-nav-view-all)::before {
    content: counter(curtain-article, decimal-leading-zero);
    position: absolute;
    left: 1px;
    top: 14px;
    color: var(--md-fsr-foot-muted, #bdcedb);
    font: 600 10px/1.5 system-ui, sans-serif;
    font-variant-numeric: tabular-nums;
    pointer-events: none;
}

/* Article typography */

.md-fsr-curtain-overlay
.md-fsr-curtain-details > .md-fsr-nav-children
> li:not(.md-fsr-nav-view-all) > a {
    position: relative;
    display: block !important;
    width: 100%;
    box-sizing: border-box;
    min-height: 43px;
    padding: 11px 23px 11px 32px !important;
    border: 0 !important;
    background: transparent;
    color: var(--md-fsr-foot-text, #e3eaf0) !important;
    font: 500 13.5px/1.55 system-ui, sans-serif !important;
    letter-spacing: -.01em;
    white-space: normal;
    overflow-wrap: anywhere;
    transition:
        color .2s ease,
        background-color .2s ease;
}

/* Delicate directional arrow */

.md-fsr-curtain-overlay
.md-fsr-curtain-details > .md-fsr-nav-children
> li:not(.md-fsr-nav-view-all) > a::after {
    content: "↗";
    position: absolute;
    top: 11px;
    right: 3px;
    color: var(--md-fsr-foot-muted, #bdcedb);
    font-size: 15px;
    opacity: .45;
    transition:
        opacity .2s ease,
        transform .2s ease;
}

@media (hover: hover) {
    .md-fsr-curtain-overlay
    .md-fsr-curtain-details > .md-fsr-nav-children
    > li:not(.md-fsr-nav-view-all) > a:hover {
        color: var(--md-fsr-foot-head, #fff) !important;
        background: color-mix(
            in srgb,
            var(--md-fsr-foot-text, #fff) 5%,
            transparent
        );
    }

    .md-fsr-curtain-overlay
    .md-fsr-curtain-details > .md-fsr-nav-children
    > li:not(.md-fsr-nav-view-all) > a:hover::after {
        opacity: 1;
        transform: translate(2px, -2px);
    }
}

/* Editorial view-all link */

.md-fsr-curtain-overlay
.md-fsr-curtain-details > .md-fsr-nav-children
> li.md-fsr-nav-view-all {
    margin-top: 12px;
    border-bottom: 0;
}

.md-fsr-curtain-overlay
.md-fsr-curtain-details > .md-fsr-nav-children
> li.md-fsr-nav-view-all > a {
    display: inline-flex !important;
    align-items: center;
    gap: 14px;
    width: auto;
    min-height: 42px;
    padding: 9px 2px !important;
    border-bottom: 1px solid
        var(--md-fsr-accent, #a3352b);
    color: var(--md-fsr-foot-head, #fff) !important;
    font: 700 12px/1.4 system-ui, sans-serif !important;
    letter-spacing: .02em;
}

.md-fsr-curtain-overlay
.md-fsr-curtain-details > .md-fsr-nav-children
> li.md-fsr-nav-view-all > a::after {
    content: "↗";
    color: var(--md-fsr-foot-muted, #bdcedb);
    font-size: 16px;
}

/* Mobile editorial adjustments */

@media (max-width: 760px) {

    .md-fsr-curtain-overlay
    .md-fsr-curtain-details {
        margin-left: 27px;
        margin-right: 0;
    }

    .md-fsr-curtain-overlay
    .md-fsr-curtain-details > .md-fsr-nav-children {
        max-height: none !important;
        overflow: visible !important;
        margin-top: 12px !important;
    }

    .md-fsr-curtain-overlay
    .md-fsr-curtain-details > .md-fsr-nav-children
    > li:not(.md-fsr-nav-view-all) > a {
        font-size: 13px !important;
        line-height: 1.5 !important;
        padding-top: 12px !important;
        padding-bottom: 12px !important;
    }

    .md-fsr-curtain-overlay
    .md-fsr-curtain-details > .md-fsr-nav-children
    > li:not(.md-fsr-nav-view-all)::before {
        top: 15px;
    }
}


/* Curtain: perfectly centered expand and close icons */

.md-fsr-curtain-overlay
.md-fsr-curtain-details > summary span {
    position: relative;
    display: grid;
    place-items: center;
    flex: 0 0 25px;
    width: 25px;
    height: 25px;
    font-size: 0 !important;
    line-height: 0 !important;
    transform: none !important;
}

/* Draw the icon with two centered lines */

.md-fsr-curtain-overlay
.md-fsr-curtain-details > summary span::before,
.md-fsr-curtain-overlay
.md-fsr-curtain-details > summary span::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 1.5px;
    border-radius: 2px;
    background: currentColor;
    transform-origin: center;
    transition: transform .2s ease;
}

/* Closed: plus icon */

.md-fsr-curtain-overlay
.md-fsr-curtain-details > summary span::before {
    transform: translate(-50%, -50%);
}

.md-fsr-curtain-overlay
.md-fsr-curtain-details > summary span::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

/* Open: centered cross icon */

.md-fsr-curtain-overlay
.md-fsr-curtain-details[open] > summary span::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.md-fsr-curtain-overlay
.md-fsr-curtain-details[open] > summary span::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}
