.up-editorial { --upe-sky: #e8f4f9; --upe-sun: #fff0c7; }
.up-editorial :where(a, button, input, summary):focus-visible { outline: 3px solid #005e99; outline-offset: 4px; }
.up-editorial :where(button, summary, .up-button) { touch-action: manipulation; }
.up-editorial .up-header-row { background: #fffdfa; }
.up-editorial .up-masthead { position: sticky; z-index: 80; }
.up-editorial #up-menu > li { display: flex; align-items: center; }
.up-editorial .upe-menu-button { background: transparent; color: #005e99; border: 0; padding: 0; min-height: 44px; min-width: 26px; cursor: pointer; border-radius: .5rem; }
.up-editorial .upe-menu-button:hover { background: #e8f4f9; }
.up-editorial .upe-mega[hidden] { display: none; }
.up-editorial .upe-mega { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); width: min(calc(100% - 2rem), 56rem); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; padding: 1.5rem; background: #fffdfa; color: #102e40; border-radius: 1.2rem; box-shadow: 0 18px 40px #102e4033; max-height: 65vh; overflow: auto; overscroll-behavior: contain; }
.upe-mega-copy { padding: 1.25rem; background: #e8f4f9; border-radius: .85rem; }
.upe-mega-copy h2 { font-size: 1.9rem; margin: .4rem 0 .75rem; }
.upe-mega-copy > a { display: block; padding: .4rem 0; font-weight: 650; }
.upe-eyebrow { font-size: .76rem; font-weight: 750; color: #005e99; letter-spacing: .045em; text-transform: uppercase; text-underline-offset: .2em; }
.upe-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); gap: 1.2rem; }
.upe-card { background: #fff; border: 1px solid #dbe4e8; border-radius: 1rem; overflow: hidden; }
.upe-card > img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.upe-card > div { padding: 1.1rem; }
.upe-card h3 { font-size: 1.17rem; line-height: 1.3; margin: .6rem 0 0; }
.upe-card h3 a { text-decoration: none; }
.upe-card h3 a:hover { text-decoration: underline; text-underline-offset: .2em; }
.upe-home-selection { padding-block: 2.4rem .5rem; }
.upe-home-selection .upe-selection-card { display: block; padding: 0; border: 1px solid #dbe4e8; border-radius: 1rem; overflow: hidden; background: white; }
.upe-home-selection .upe-selection-card > div:last-child { padding: 1.15rem; }
.upe-home-selection .upe-selection-card > .up-guide-photo { padding: 0; }
.upe-home-selection .upe-selection-card .up-guide-photo img { border-radius: 0; }
.upe-home-selection .upe-selection-card h3 { font-size: 1.3rem; }
.upe-home-selection .upe-selection-card p { font-size: .95rem; }
.upe-home-selection .upe-selection-card:nth-child(2) { background: #fff6de; }
.upe-home-selection .upe-selection-card:nth-child(3) { background: #edf6fa; }
.up-editorial .up-topic-panel { background: #e8f4f9; }
.up-editorial .up-discover-panel { background: #ffe7a5; }
.up-editorial .up-article-topic { background: #fff0c7; }
.upe-toc { margin: 1.5rem 0; padding: 1.15rem 1.3rem; background: #e8f4f9; border-radius: .9rem; border-left: 4px solid #ffb825; }
.upe-toc summary { cursor: pointer; font-size: 1rem; font-weight: 750; min-height: 28px; }
.upe-toc ol { padding-left: 1.3rem; margin: .75rem 0 0; }
.upe-toc li + li { margin-top: .45rem; }
.upe-toc a { text-decoration: none; text-underline-offset: .2em; }
.upe-toc a:hover { text-decoration: underline; }
.up-prose h2[id] { scroll-margin-top: 8rem; }
.up-prose :where(img, iframe, video) { max-width: 100%; }
.up-prose :where(figure.wp-block-table) { overflow-x: auto; }
.up-prose :where(table) { max-width: 100%; }
.upe-related .upe-card h3 { font-size: 1.12rem; }
@media (min-width: 74rem) { .up-editorial .up-home-rail > .up-topic-panel, .up-editorial .up-home-rail > .up-discover-panel { border-top: 4px solid #ffb825; } }
@media (max-width: 58rem) {
    .up-editorial .upe-mega { grid-template-columns: 1fr; width: calc(100% - 1rem); padding: 1rem; gap: 1rem; max-height: 65vh; }
    .up-editorial .upe-mega .upe-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); }
    .up-editorial .upe-mega .upe-card img { height: 100%; min-height: 8rem; }
    .up-editorial .upe-mega .upe-card h3 { font-size: 1rem; }
    .up-editorial #up-menu > li { flex-wrap: wrap; }
    .up-editorial #up-menu > li > .sub-menu { flex-basis: 100%; }
    .up-editorial .upe-menu-button { min-width: 44px; }
}
@media (prefers-reduced-motion: no-preference) {
    .up-editorial :where(.up-button, .upe-card, .upe-selection-card, .up-guide-photo img) { transition: box-shadow .18s ease, transform .18s ease; }
    .up-editorial :where(.upe-card, .upe-selection-card):hover { transform: translateY(-3px); box-shadow: 0 9px 22px #102e4012; }
    .up-editorial .up-button:hover { transform: translateY(-1px); box-shadow: 0 5px 14px #102e4020; }
}

/* Compact category controls and a two-colour link signature. */
.up-editorial .up-header-row #up-menu { gap: .15rem clamp(.4rem, 1.25vw, 1.15rem); }
.up-editorial .up-header-row #up-menu > li { gap: 0; flex-wrap: wrap; }
.up-editorial .up-header-row #up-menu > li > a { padding-right: .1rem; }
.up-editorial .up-header-row .upe-menu-button { min-width: 28px; min-height: 36px; padding: 0; display: inline-grid; place-items: center; border-radius: 50%; }
.upe-menu-mark { position: relative; display: block; width: 12px; height: 12px; }
.upe-menu-mark::before, .upe-menu-mark::after { content: ''; position: absolute; border-radius: 2px; }
.upe-menu-mark::before { width: 10px; height: 2px; left: 1px; top: 5px; background: #005e99; }
.upe-menu-mark::after { width: 2px; height: 10px; top: 1px; left: 5px; background: #c77c00; }
.upe-menu-button[aria-expanded="true"] { background: #fff0c7; }
.upe-menu-button[aria-expanded="true"] .upe-menu-mark { transform: rotate(45deg); }
.upe-link-mark { position: relative; display: inline-block; flex: 0 0 17px; width: 17px; height: 17px; margin-left: .6em; vertical-align: -.13em; }
.upe-link-mark::before, .upe-link-mark::after { content: ''; position: absolute; width: 7px; height: 13px; border-radius: 5px; transform: rotate(24deg); }
.upe-link-mark::before { background: #005e99; left: 1px; top: 4px; }
.upe-link-mark::after { background: #ffb825; right: 1px; top: 0; }
.up-button .upe-link-mark::after, .upe-buy-button .upe-link-mark::after { background: #102e40; }
.up-hero .upe-link-mark { margin-left: .75em; }

/* A unified hover surface keeps the category and its control centred. */
.up-editorial .up-header-row #up-menu > li { border-radius: .8rem; align-items: center; justify-content: center; }
.up-editorial .up-header-row #up-menu > li:has(.upe-menu-button) { padding-inline: .35rem; }
.up-editorial .up-header-row #up-menu > li:hover,
.up-editorial .up-header-row #up-menu > li:focus-within { background: #e8f4f9; }
.up-editorial .up-header-row #up-menu > li > a,
.up-editorial .up-header-row #up-menu > li > a:hover { background: transparent; min-height: 44px; display: inline-flex; align-items: center; padding: .5rem .3rem; text-decoration: none; }
.up-editorial .up-header-row #up-menu .upe-menu-button,
.up-editorial .up-header-row #up-menu .upe-menu-button:hover { background: transparent; min-height: 44px; }
.up-editorial .up-header-row #up-menu .current-menu-item > a { text-decoration: none; }
.up-editorial .up-header-row #up-menu > li.current-menu-item,
.up-editorial .up-header-row #up-menu > li.current-menu-ancestor { background: #fff0c7; }



/* Full-width stage; the photograph always retains its complete composition. */
.up-editorial .upe-carousel {
    position: relative; isolation: isolate; display: flex; flex-direction: column;
    width: 100%; max-width: none; margin: 0; overflow: hidden;
    border-radius: 0; background: #092f43;
}
.upe-slides { display: grid; min-width: 0; }
.up-editorial .upe-carousel .upe-slide {
    grid-area: 1 / 1; align-self: stretch; width: min(calc(100% - 3rem), 80rem);
    margin: 0 auto; display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.3fr);
    align-items: center; gap: clamp(1.5rem, 4vw, 4rem);
    padding: 1.7rem 0 .75rem; min-height: 0;
    visibility: hidden; opacity: 0; pointer-events: none;
}
.up-editorial .upe-carousel .upe-slide-active { visibility: visible; opacity: 1; pointer-events: auto; }
.up-editorial .upe-carousel .up-hero-copy { align-self: center; min-width: 0; padding: 0; }
.up-editorial .upe-carousel .up-hero-copy .up-tag { padding: 0; background: transparent; color: #ffd06b; border-radius: 0; font-size: .7rem; letter-spacing: .07em; }
.up-editorial .upe-carousel .up-hero-copy :is(h1,h2) {
    color: #fff; font-size: clamp(1.8rem, 2.65vw, 2.65rem); line-height: 1.13;
    letter-spacing: -.035em; margin: .75rem 0 .9rem; text-wrap: balance;
    display: block; overflow: visible; line-height: 1.18;
    padding-block: .04em .12em; overflow-wrap: anywhere;
}
.up-editorial .upe-carousel .up-hero-copy p { font-size: .95rem; line-height: 1.6; color: #d7e3e9; margin: 0 0 1.2rem; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.up-editorial .upe-carousel .up-hero-copy .up-button { padding: .7rem 1rem; border-radius: .45rem; font-size: .87rem; }
.up-editorial .upe-carousel .up-hero-photo {
    position: relative; display: flex; align-items: center; justify-content: center;
    min-width: 0; min-height: 0; height: 330px; aspect-ratio: auto;
    padding: 0; margin: 0; background: transparent; border-radius: .65rem;
    transform: none; overflow: visible; align-self: center; box-shadow: none;
}
.up-editorial .upe-carousel .up-hero-photo::before,
.up-editorial .upe-carousel .up-hero-photo::after { display: none; }
.up-editorial .upe-carousel .up-hero-photo img {
    position: static; inset: auto; display: block; width: auto; height: auto;
    max-width: 100%; max-height: 100%; object-fit: contain; object-position: center;
    border-radius: .65rem; transform: none; animation: none;
}
.up-editorial .upe-carousel-controls {
    order: 2; width: min(calc(100% - 3rem), 80rem); margin: 0 auto;
    display: flex; align-items: center; gap: .65rem;
    padding: .1rem 0 .65rem; background: transparent;
}
/* Explicitly reset theme button states so pointer targets stay invisible. */
.up-editorial .upe-carousel .upe-carousel-controls :is(.upe-slide-dot,.upe-playback),
.up-editorial .upe-carousel .upe-carousel-controls :is(.upe-slide-dot,.upe-playback):is(:hover,:focus,:active) {
    appearance: none; -webkit-appearance: none; box-sizing: border-box;
    position: relative; display: inline-grid; place-items: center;
    flex: 0 0 auto; min-width: 36px; min-height: 40px; width: 36px; height: 40px;
    padding: 0; margin: 0; border: 0; border-radius: 50%;
    background: transparent !important; background-image: none !important;
    box-shadow: none !important; transform: none; cursor: pointer;
    color: #c4d5de; line-height: 1; text-decoration: none;
}
.up-editorial .upe-carousel .upe-carousel-controls .upe-playback { min-width: 32px; width: 32px; }
.up-editorial .upe-carousel .upe-carousel-controls .upe-playback:hover { color: #fff; }
.upe-play-icon { display: block; width: 9px; height: 10px; border-left: 2px solid currentColor; border-right: 2px solid currentColor; }
.upe-playback[data-state="play"] .upe-play-icon { width: 0; height: 0; border: 0; border-top: 5px solid transparent; border-bottom: 5px solid transparent; border-left: 8px solid currentColor; }
.upe-slide-dots { display: flex; align-items: center; gap: .15rem; }
.up-editorial .upe-carousel .upe-slide-dot::before,
.up-editorial .upe-carousel .upe-progress-fill {
    content: ''; position: absolute; top: calc(50% - 1.5px); bottom: auto;
    left: 4px; right: 4px; display: block; height: 3px; border: 0;
    border-radius: 99px; pointer-events: none;
}
.up-editorial .upe-carousel .upe-slide-dot::before { background: #ffffff30; }
.up-editorial .upe-carousel .upe-slide-dot:hover::before { background: #ffffff60; }
.up-editorial .upe-carousel .upe-progress-fill { transform-origin: left center; background: #ffb825; opacity: 0; }
.up-editorial .upe-carousel .upe-slide-dot[aria-current="true"] .upe-progress-fill { opacity: 1; }
.up-editorial .upe-carousel :where(button, a):focus-visible { outline: 2px solid #ffb825; outline-offset: 2px; }
.upe-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (max-width: 58rem) {
    .up-editorial .upe-carousel .upe-slide { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 1.5rem; }
    .up-editorial .upe-carousel .up-hero-photo { height: 290px; }
}
@media (max-width: 43rem) {
    .up-editorial .upe-carousel .upe-slide { width: calc(100% - 2rem); display: flex; flex-direction: column-reverse; gap: 1.1rem; padding-top: 1.2rem; }
    .up-editorial .upe-carousel .up-hero-photo { width: 100%; height: auto; aspect-ratio: auto; flex: 0 0 auto; }
    .up-editorial .upe-carousel .up-hero-photo img { width: auto; max-width: 100%; max-height: 240px; height: auto; }
    .up-editorial .upe-carousel .up-hero-copy { align-self: stretch; padding: 0; }
    .up-editorial .upe-carousel .up-hero-copy :is(h1,h2) { font-size: clamp(1.6rem, 6.5vw, 2rem); margin-block: .55rem .65rem; }
    .up-editorial .upe-carousel .up-hero-copy p { margin-bottom: .85rem; font-size: .9rem; }
    .up-editorial .upe-carousel-controls { width: calc(100% - 2rem); }
    .up-editorial .upe-carousel .upe-carousel-controls :is(.upe-slide-dot,.upe-playback) { min-height: 44px; height: 44px; }
}
@media (prefers-reduced-motion: no-preference) {
    .up-editorial .upe-carousel .upe-slide { transition: opacity .65s ease, visibility .65s; }
}


/* Five real photo cards, queued only to the right. */
.up-editorial .upe-carousel{background:#073e59;--deck-peek:clamp(14px,2.5vw,28px);--deck-depth:36px;--deck-count:4;--deck-reserve:calc(var(--deck-peek) * var(--deck-count))}
.up-editorial .upe-carousel .up-hero-copy .up-tag{color:#fdba2d!important}
.up-editorial .upe-carousel .up-hero-copy .up-button{background:#fdba2d}
.up-editorial .upe-carousel .upe-slides{position:relative}
.up-editorial .upe-has-deck .upe-slide{grid-template-columns:minmax(0,.8fr) minmax(0,1.35fr)}
.up-editorial .upe-has-deck .up-hero-photo{height:auto;width:calc(100% - var(--deck-reserve));aspect-ratio:3 / 2}
.up-editorial .upe-has-deck .upe-original-photo{visibility:hidden}
.up-editorial .upe-carousel .upe-deck-layout{grid-area:1 / 1;align-self:stretch;position:relative;z-index:2;display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.35fr);align-items:center;gap:clamp(1.5rem,4vw,4rem);width:min(calc(100% - 3rem),80rem);margin:0 auto;padding:1.7rem 0 .75rem;pointer-events:none}
.upe-photo-deck{--deck-reserve:calc(var(--deck-peek) * var(--deck-count));grid-column:2;justify-self:center;position:relative;box-sizing:border-box;width:min(100%,680px);padding-right:var(--deck-reserve);perspective:1200px;perspective-origin:55% 50%;transform-style:preserve-3d;pointer-events:auto;touch-action:pan-y pinch-zoom;user-select:none;-webkit-user-select:none}
.upe-deck-layers{display:contents;pointer-events:none}
.up-editorial .upe-photo-deck .upe-deck-layer,.up-editorial .upe-photo-deck .upe-deck-layer:is(:hover,:focus,:active){position:absolute;left:0;top:0;appearance:none;-webkit-appearance:none;box-sizing:border-box;display:block;width:calc(100% - var(--deck-reserve));height:100%;min-width:0;min-height:0;margin:0;padding:0;border:0;border-radius:.65rem;background:#073e59;box-shadow:-8px 10px 26px #00121e50,1px 0 0 #ffffff26 inset;transform-origin:right center;transform:translate3d(calc(var(--deck-peek) * var(--deck-slot)),0,calc(var(--deck-depth) * var(--deck-slot) * -1)) rotateY(calc(-14deg - var(--deck-slot) * 3deg)) scale(calc(1 - var(--deck-slot) * .025));filter:brightness(calc(1 - var(--deck-slot) * .045));overflow:hidden;pointer-events:auto;cursor:pointer}
.up-editorial .upe-photo-deck .upe-deck-layer:hover{filter:brightness(1)}
.up-editorial .upe-photo-deck .upe-deck-layer:focus-visible{outline:2px solid #fff;outline-offset:2px}
.upe-deck-viewport{position:relative;z-index:10;width:100%;height:auto;aspect-ratio:3 / 2;overflow:visible;border-radius:.65rem;background:#073e59;box-shadow:-12px 22px 38px #00121e55;transform-origin:right center;transform:translate3d(0,0,0) rotateY(-14deg);touch-action:pan-y pinch-zoom}
.up-editorial .upe-photo-deck .upe-deck-cover{display:block;position:absolute;inset:0;z-index:0;pointer-events:auto;cursor:pointer;border-radius:inherit;overflow:hidden}
.up-editorial .upe-photo-deck .upe-deck-cover[aria-disabled=true]{cursor:progress}
.up-editorial .upe-photo-deck .upe-deck-cover:focus-visible{outline:3px solid #fff;outline-offset:-5px}
.up-editorial .upe-photo-deck :is(.upe-deck-current,.upe-deck-incoming,.upe-layer-photo){display:block;position:absolute;inset:0;width:100%;height:100%;max-width:none;max-height:none;object-fit:contain;margin:0;border:0;outline:0;border-radius:inherit;box-shadow:none;transform:none;animation:none;pointer-events:none;-webkit-user-drag:none}
.up-editorial .upe-photo-deck .upe-deck-incoming{z-index:2;transform-origin:left center;will-change:transform}
.upe-deck-motion-card{position:absolute;left:0;top:0;width:calc(100% - var(--deck-reserve));height:100%;border-radius:.65rem;background:#073e59;box-shadow:-12px 22px 38px #00121e55,1px 0 0 #ffffff26 inset;transform-origin:right center;overflow:hidden;pointer-events:none;will-change:transform}
.upe-deck-changing :is(.upe-deck-viewport,.upe-deck-layers){visibility:hidden}
.upe-deck-left,.upe-deck-sheet{display:none!important}
@media(max-width:58rem){
.up-editorial .upe-has-deck .upe-slide,.up-editorial .upe-carousel .upe-deck-layout{grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:1.5rem}
}
@media(max-width:43rem){
.up-editorial .upe-carousel .upe-deck-layout{display:block;align-self:start;width:calc(100% - 2rem);padding:1.2rem 0 0}
.upe-photo-deck{--deck-depth:18px;perspective:800px;width:100%;margin:0}
.up-editorial .upe-has-deck .up-hero-photo{width:calc(100% - var(--deck-reserve));height:auto;aspect-ratio:3 / 2}
}

/* Initial viewport layout is independent of script execution. */
.up-native-layout .up-nav-toggle { display: none; }
@media (max-width: 58rem) {
    .up-native-layout .up-header-row .up-nav .up-nav-toggle { display: block; }
    .up-native-layout .up-header-row .up-nav .up-menu:not(.up-menu-open) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .up-native-layout .upe-playback[data-state="pending"] .upe-play-icon { width: 0; height: 0; border: 0; border-top: 5px solid transparent; border-bottom: 5px solid transparent; border-left: 8px solid currentColor; }
}

/* Consistent feedback for primary actions; carousel/menu utility controls stay fixed. */
.up-editorial .wp-block-button__link { display: inline-flex; align-items: center; gap: .6rem; }
.up-editorial .wp-block-button__link:not(:has(.upe-link-mark))::after {
    content: ''; display: inline-block; flex: 0 0 17px; width: 17px; height: 17px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 17 17'%3E%3Crect x='2' y='5' width='7' height='12' rx='3.5' fill='%23005e99' transform='rotate(24 5.5 11)'/%3E%3Crect x='9' y='1' width='7' height='12' rx='3.5' fill='%23102e40' transform='rotate(24 12.5 7)'/%3E%3C/svg%3E") center / contain no-repeat;
}
@media (prefers-reduced-motion: no-preference) {
    .up-editorial :is(.up-button,.upe-buy-button,.wp-block-button__link),
    .up-editorial .up-comments :is(input[type="submit"],button[type="submit"]) { transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease; }
    .up-editorial :is(.up-button,.upe-buy-button,.wp-block-button__link):focus-visible { transform: translateY(-3px); box-shadow: 0 9px 20px #102e4026; }
    .up-editorial :is(.up-button,.upe-buy-button,.wp-block-button__link):focus-visible .upe-link-mark,
    .up-editorial .wp-block-button__link:not(:has(.upe-link-mark)):focus-visible::after { animation: upe-cta-mark .5s ease both; }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .up-editorial :is(.up-button,.upe-buy-button,.wp-block-button__link):hover,
    .up-editorial .up-comments :is(input[type="submit"],button[type="submit"]):hover { transform: translateY(-3px); box-shadow: 0 9px 20px #102e4026; }
    .up-editorial :is(.up-button,.upe-buy-button,.wp-block-button__link):hover .upe-link-mark,
    .up-editorial .wp-block-button__link:not(:has(.upe-link-mark)):hover::after { animation: upe-cta-mark .5s ease both; }
}
@keyframes upe-cta-mark { 0%,100% { transform: translateX(0) rotate(0); } 30% { transform: translateX(2px) rotate(-12deg); } 65% { transform: translateX(1px) rotate(8deg); } }

/* Product CTA colour is the common standard for primary site actions. */
.up-editorial :is(.up-button,.upe-buy-button,.wp-block-button__link),
.up-editorial .up-comments :is(input[type="submit"],button[type="submit"]) { background-color: #ffb825 !important; color: #102e40 !important; }
.up-editorial :is(.up-button,.upe-buy-button,.wp-block-button__link):is(:hover,:focus-visible),
.up-editorial .up-comments :is(input[type="submit"],button[type="submit"]):is(:hover,:focus-visible) { background-color: #ffc94e !important; }
.up-footer-bottom .up-affiliate-note { flex-basis: 100%; margin: .5rem 0 0; color: inherit; font-size: .8rem; line-height: 1.5; }

/* Self-contained utility controls: no inherited button or first-hover geometry. */
.upe-carousel-controls { --upe-control-ink: #c4d5de; --upe-control-track: #ffffff30; --upe-control-focus: #ffb825; }
.upe-photo-controls { --upe-control-ink: #005e99; --upe-control-track: #102e4033; --upe-control-focus: #005e99; }
:is(.upe-carousel-controls,.upe-photo-controls) .upe-slide-dots {
    display: grid !important; grid-auto-flow: column !important; grid-auto-columns: 36px !important;
    align-items: center !important; gap: .15rem !important; flex: 0 0 auto !important;
}
:is(.upe-carousel-controls,.upe-photo-controls) :is(.upe-slide-dot,.upe-playback),
:is(.upe-carousel-controls,.upe-photo-controls) :is(.upe-slide-dot,.upe-playback):is(:hover,:focus,:active,:disabled) {
    all: unset !important;
    box-sizing: border-box !important; appearance: none !important;
    position: relative !important; display: grid !important; place-items: center !important;
    width: 36px !important; min-width: 36px !important; max-width: 36px !important;
    height: var(--upe-control-height,40px) !important; min-height: var(--upe-control-height,40px) !important;
    flex: 0 0 36px !important; margin: 0 !important; padding: 0 !important;
    border: 0 !important; background: transparent !important; box-shadow: none !important;
    color: var(--upe-control-ink) !important; opacity: 1 !important; cursor: pointer !important;
    transform: none !important; translate: none !important; rotate: none !important; scale: none !important;
    animation: none !important; transition: none !important;
}
:is(.upe-carousel-controls,.upe-photo-controls) .upe-playback,
:is(.upe-carousel-controls,.upe-photo-controls) .upe-playback:is(:hover,:focus,:active,:disabled) {
    width: 32px !important; min-width: 32px !important; max-width: 32px !important; flex-basis: 32px !important;
}
:is(.upe-carousel-controls,.upe-photo-controls) :is(.upe-slide-dot,.upe-playback):focus-visible {
    outline: 2px solid var(--upe-control-focus) !important; outline-offset: 2px !important;
}
:is(.upe-carousel-controls,.upe-photo-controls) .upe-play-icon {
    position: absolute !important; inset: 50% auto auto 50% !important;
    display: block !important; width: 10px !important; height: 10px !important;
    margin: 0 !important; padding: 0 !important; border: 0 !important;
    transform: translate(-50%,-50%) !important; animation: none !important; transition: none !important;
}
:is(.upe-carousel-controls,.upe-photo-controls) .upe-play-icon::before,
:is(.upe-carousel-controls,.upe-photo-controls) .upe-play-icon::after { content: none !important; display: none !important; }
:is(.upe-carousel-controls,.upe-photo-controls) .upe-play-icon svg { display: block !important; width: 10px !important; height: 10px !important; fill: currentColor; }
.upe-play-icon .upe-glyph-play { display: none; }
.upe-playback[data-state="play"] .upe-glyph-pause { display: none; }
.upe-playback[data-state="play"] .upe-glyph-play { display: block; }
:is(.upe-carousel-controls,.upe-photo-controls) .upe-slide-dot::before,
:is(.upe-carousel-controls,.upe-photo-controls) .upe-progress-fill {
    position: absolute !important; inset: calc(50% - 1.5px) 4px auto 4px !important;
    display: block !important; height: 3px !important; border: 0 !important;
    padding: 0 !important; margin: 0 !important; border-radius: 99px !important; pointer-events: none;
}
:is(.upe-carousel-controls,.upe-photo-controls) .upe-slide-dot::before { content: ''; background: var(--upe-control-track) !important; }
/* Only this fill is allowed to transform: it represents remaining reading time. */
:is(.upe-carousel-controls,.upe-photo-controls) .upe-progress-fill { transform-origin: left center; }
@media (max-width: 43rem) { :is(.upe-carousel-controls,.upe-photo-controls) { --upe-control-height: 44px; } }
@media (prefers-reduced-motion: reduce) {
    .upe-playback:is([data-state="ready"],[data-state="pending"]) .upe-glyph-pause { display: none; }
    .upe-playback:is([data-state="ready"],[data-state="pending"]) .upe-glyph-play { display: block; }
}

/* One navigation surface, rendered with the page; desktop retains the mega menu. */
.up-nav-panel { display: contents; }
.up-editorial .upe-menu-back { display: none; }
.upe-deck-viewport { touch-action: pan-y pinch-zoom; user-select: none; -webkit-user-select: none; }
.upe-deck-viewport img { -webkit-user-drag: none; }
@media (max-width: 58rem) {
    .up-native-layout .up-header-row .up-nav-panel { display: none; }
    .up-native-layout .up-header-row .up-nav-panel.up-nav-open {
        display: block; position: absolute; inset-inline: .5rem; top: calc(100% + .35rem);
        padding: .75rem; max-height: calc(100vh - 6rem); max-height: calc(100dvh - 6rem);
        overflow-y: auto; overscroll-behavior-y: contain; background: #fffdfa;
        border: 1px solid #dbe7ec; border-radius: 1.2rem;
        box-shadow: 0 18px 44px #062d4330; scrollbar-gutter: stable;
    }
    .admin-bar.up-native-layout .up-header-row .up-nav-panel.up-nav-open { max-height: calc(100dvh - 9rem); }
    .up-native-layout .up-header-row .up-nav .up-nav-panel .up-menu.up-menu-open {
        display: grid; position: static; inset: auto; width: 100%; margin: 0; padding: .15rem;
        grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .4rem;
        border: 0; border-radius: 0; background: transparent; box-shadow: none;
    }
    .up-native-layout .up-header-row .up-nav .up-nav-panel.upe-category-open .up-menu { display: none; }
    .up-native-layout .up-nav-panel #up-menu > li { min-width: 0; border-radius: .8rem; background: #eef6f9; padding: .1rem .45rem; }
    .up-native-layout .up-nav-panel #up-menu > li > a { flex: 1; padding: .8rem .5rem; }
    .up-native-layout .up-nav-panel .upe-menu-button { min-width: 44px; }
    .up-native-layout .up-nav-panel .upe-mega:not([hidden]) {
        position: static; transform: none; width: 100%; max-height: none; overflow: visible;
        display: grid; grid-template-columns: minmax(0, 1fr); gap: .85rem;
        padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none;
    }
    .up-native-layout .up-nav-panel .upe-menu-back {
        display: inline-flex; align-items: center; justify-self: start; min-height: 44px;
        margin: 0; padding: .4rem .85rem; border: 0; border-radius: .7rem;
        color: #073e59; background: #fff0c7; font: inherit; font-size: .9rem; font-weight: 650;
        cursor: pointer; transform: none; box-shadow: none;
    }
    .up-native-layout .up-nav-panel .upe-mega-copy { padding: 1rem; }
    .up-native-layout .up-nav-panel .upe-mega-copy h2 { font-size: 1.45rem; line-height: 1.2; }
    .up-native-layout .up-nav-panel .upe-mega-copy p { margin-bottom: .6rem; }
    .up-native-layout .up-nav-panel .upe-card { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); transform: none; }
    .up-native-layout .up-nav-panel .upe-card > img { width: 100%; height: 100%; min-height: 8rem; object-fit: cover; }
    .up-native-layout .up-nav-panel .upe-card > div { min-width: 0; padding: .85rem; }
    .up-native-layout .up-nav-panel .upe-card h3 { font-size: 1rem; line-height: 1.4; overflow-wrap: anywhere; }
}

/* Approved editorial highlight and inline next-title preview.
   Existing .up-button styles and photo dimensions remain unchanged. */
.up-editorial .upe-carousel{background:radial-gradient(ellipse at 72% 47%,#005e99ed 0,#005e9985 38%,#005e9924 72%,transparent 100%),radial-gradient(ellipse at 8% 98%,#005e994d,transparent 72%),#073e59}
.up-editorial .upe-carousel::after{content:none;display:none}
.up-editorial .upe-carousel .upe-hero-heading{order:-1;display:block;width:min(calc(100% - 3rem),80rem);margin:0 auto;padding:.75rem 0 .45rem;position:relative;z-index:1;color:#fff;font-size:1.05rem;font-weight:700;letter-spacing:0;text-transform:none;line-height:1.4}
.up-editorial .upe-carousel .upe-hero-heading::before{content:none;display:none}
.up-editorial .upe-carousel .upe-hero-heading::after{content:none;display:none}
.up-editorial .upe-carousel .upe-hero-heading-accent{display:inline-block;vertical-align:baseline;padding:.08em .35em .12em;border-radius:.35rem;background:#fdba2d;color:#102e40}
.up-editorial .upe-carousel .upe-slide,.up-editorial .upe-carousel .upe-deck-layout{padding-top:.7rem;padding-bottom:.4rem}
/* Hidden stories do not reserve the tallest headline's empty space. */
.up-editorial .upe-carousel .upe-slide:not(.upe-slide-active){position:absolute;top:0;left:50%;margin:0;transform:translateX(-50%)}
.up-editorial .upe-carousel .upe-slide-active{position:relative}
.up-editorial .upe-carousel .up-hero-copy :is(h1,h2){font-size:clamp(1.85rem,2.9vw,2.8rem);line-height:1.17;letter-spacing:-.025em;max-width:none;display:block;-webkit-line-clamp:unset;max-height:none;overflow:visible}
.up-editorial .upe-carousel .up-hero-copy p{-webkit-line-clamp:3;line-height:1.65}
.up-editorial .upe-carousel .upe-carousel-controls{box-sizing:border-box;min-width:0;min-height:48px;gap:.65rem;padding:0 10rem .3rem 0;position:static}
.up-editorial .upe-carousel .upe-hero-count{flex:0 0 auto;white-space:nowrap;border-left:1px solid #ffffff35;padding-left:1.15rem;margin-left:.25rem;color:#fff;font-size:.85rem;font-weight:600;font-variant-numeric:tabular-nums;line-height:1.3}
.up-editorial .upe-carousel .upe-hero-next-wrap{position:absolute;right:1rem;bottom:.75rem;z-index:5;width:124px}
.up-editorial .upe-carousel .upe-hero-next,.up-editorial .upe-carousel .upe-hero-next:is(:hover,:focus,:active,:disabled){appearance:none;box-sizing:border-box;display:grid;grid-template-columns:minmax(0,1fr) 20px;align-items:center;gap:.65rem;width:100%;min-width:0;min-height:48px;margin:0;padding:.6rem .8rem;border:1px solid #d7e3e955;border-radius:.5rem;background:#ffffff05;color:#fff;box-shadow:none;font:inherit;font-size:.85rem;font-weight:700;line-height:1.3;text-align:left;cursor:pointer;transform:none}
.up-editorial .upe-carousel .upe-hero-next:is(:hover,:focus-visible){background:#ffffff18;border-color:#fdba2d}
.up-editorial .upe-carousel .upe-hero-next:disabled{cursor:progress}
.up-editorial .upe-carousel .upe-hero-next:focus-visible{outline:2px solid #fff;outline-offset:-4px}
.up-editorial .upe-carousel .upe-hero-next-label{display:block;min-width:0;color:inherit}
.up-editorial .upe-carousel .upe-hero-next-arrow{display:grid;place-items:center;width:20px;height:20px;color:#fdba2d;line-height:1}
.up-editorial .upe-carousel .upe-hero-next-arrow svg{display:block;width:16px;height:16px;margin:0;transition:transform .18s ease}
.up-editorial .upe-carousel .upe-hero-next-preview{position:absolute;right:calc(100% + 16px);top:50%;bottom:auto;transform:translateY(-50%);box-sizing:border-box;display:block;width:min(25rem,calc(100vw - 2rem - 124px - 16px));padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;color:#d7e3e9;font-size:.82rem;font-weight:450;line-height:1.5;text-align:right;overflow-wrap:anywhere;pointer-events:none}
.up-editorial .upe-carousel .upe-hero-next:is(:hover,:focus-visible) .upe-hero-next-arrow svg{transform:translateX(2px)}
.up-editorial .upe-carousel .upe-hero-next-title{display:block;white-space:normal}
.up-editorial .upe-carousel .upe-hero-next-wrap[hidden],.up-editorial .upe-carousel .upe-hero-next-preview[hidden]{display:none!important}
.up-editorial .upe-photo-deck .upe-deck-layer[data-next=true]::after{content:'›';position:absolute;right:5px;top:calc(50% - 18px);font:700 30px/36px sans-serif;color:#fdba2d;opacity:0;pointer-events:none;transition:opacity .18s ease}
.up-editorial .upe-photo-deck .upe-deck-layer[data-next=true]:is(:hover,:focus-visible){filter:brightness(1.06);box-shadow:-8px 10px 26px #00121e50,inset -2px 0 0 #fdba2d}
.up-editorial .upe-photo-deck .upe-deck-layer[data-next=true]:is(:hover,:focus-visible)::after{opacity:1}
/* Navigation stays in a 2D plane above the projected front photo. */
.up-editorial .upe-deck-layout>.upe-deck-hit-link{position:absolute;display:block;z-index:30;pointer-events:auto;cursor:pointer;border:0;border-radius:.65rem;background:transparent;box-shadow:none;touch-action:pan-y pinch-zoom;-webkit-user-drag:none;user-select:none}
.up-editorial .upe-deck-layout>.upe-deck-hit-link[hidden]{display:none}
.up-editorial .upe-deck-layout>.upe-deck-hit-link:focus-visible{outline:3px solid #fdba2d;outline-offset:3px}
.up-editorial .upe-photo-deck .upe-deck-cover{pointer-events:none}
@media(max-width:58rem){.up-editorial .upe-carousel .upe-hero-count{padding-left:.8rem}.up-editorial .upe-carousel.upe-next-preview-open .upe-carousel-controls>:is(.upe-playback,.upe-slide-dots,.upe-hero-count){visibility:hidden}}
@media(max-width:43rem){
.up-editorial .upe-carousel .upe-hero-heading{width:calc(100% - 2rem);padding:.7rem 0 .4rem;font-size:.98rem}
.up-editorial .upe-carousel .upe-slide,.up-editorial .upe-carousel .upe-deck-layout{padding-top:.65rem;padding-bottom:.4rem}
.up-editorial .upe-carousel .upe-deck-layout{padding-bottom:0}
.up-editorial .upe-carousel .up-hero-copy :is(h1,h2){font-size:clamp(1.6rem,6.4vw,2rem);line-height:1.19}
.up-editorial .upe-carousel .upe-carousel-controls{--hero-dash:clamp(32px,7vw,36px);display:grid;grid-template-columns:32px minmax(0,1fr);grid-template-rows:44px 48px;align-items:center;gap:0 .4rem;padding:0}
.up-editorial .upe-carousel .upe-carousel-controls .upe-playback{grid-column:1;grid-row:1}
.up-editorial .upe-carousel .upe-carousel-controls .upe-slide-dots{grid-column:2;grid-row:1;grid-auto-columns:var(--hero-dash)!important}
.up-editorial .upe-carousel .upe-carousel-controls .upe-slide-dot,.up-editorial .upe-carousel .upe-carousel-controls .upe-slide-dot:is(:hover,:focus,:active,:disabled){width:var(--hero-dash)!important;min-width:var(--hero-dash)!important;max-width:var(--hero-dash)!important;flex-basis:var(--hero-dash)!important}
.up-editorial .upe-carousel .upe-hero-count{grid-column:1 / 3;grid-row:2;justify-self:start;margin:0;padding:0;border:0;font-size:.78rem}
.up-editorial .upe-carousel .upe-hero-next-wrap{width:124px}
.up-editorial .upe-carousel .upe-hero-next-preview{font-size:.78rem;line-height:1.4}
.up-editorial .upe-carousel .upe-hero-next-title{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;overflow:hidden}
.up-editorial .upe-carousel .upe-hero-next,.up-editorial .upe-carousel .upe-hero-next:is(:hover,:focus,:active,:disabled){font-size:.85rem}
.up-editorial .upe-photo-deck .upe-deck-layer[data-next=true]::after{font-size:23px;right:2px}
}
@media(prefers-reduced-motion:reduce){.up-editorial .upe-photo-deck .upe-deck-layer::after,.up-editorial .upe-carousel .upe-hero-next-arrow svg{transition:none}}

/* Separate only the photo deck from next navigation without changing stage geometry. */
.up-editorial .upe-carousel .upe-photo-deck{top:-16px}
@media(max-width:58rem){.up-editorial .upe-carousel .upe-photo-deck{top:-12px}}
@media(max-width:43rem){.up-editorial .upe-carousel .upe-photo-deck{top:-8px}}

/* Phone-only control strip: one clear row; preview gets its own natural row. */
@media(max-width:43rem){
.up-editorial .upe-carousel .upe-hero-heading{display:block;font-size:.92rem;padding:.85rem 0 .55rem}
.up-editorial .upe-carousel .upe-slide,.up-editorial .upe-carousel .upe-deck-layout{padding-top:.95rem}
.up-editorial .upe-carousel .upe-carousel-controls{display:grid;grid-template-columns:32px minmax(0,1fr) 100px;grid-template-rows:auto 44px;align-items:center;column-gap:6px;row-gap:0;padding:.6rem 0 1rem;min-height:0;position:static}
.up-editorial .upe-carousel .upe-carousel-controls[hidden]{display:none!important}
.up-editorial .upe-carousel .upe-hero-count{display:none}
.up-editorial .upe-carousel .upe-carousel-controls .upe-playback{grid-column:1!important;grid-row:2!important}
.up-editorial .upe-carousel .upe-carousel-controls .upe-slide-dots{grid-column:2;grid-row:2;display:grid!important;grid-template-columns:repeat(var(--hero-slide-count,5),minmax(0,1fr))!important;grid-auto-columns:auto!important;gap:0!important;min-width:0;width:100%;justify-self:stretch}
.up-editorial .upe-carousel .upe-carousel-controls .upe-slide-dot,.up-editorial .upe-carousel .upe-carousel-controls .upe-slide-dot:is(:hover,:focus,:active,:disabled){width:100%!important;min-width:0!important;max-width:none!important;flex-basis:auto!important;height:44px!important;min-height:44px!important}
.up-editorial .upe-carousel .upe-carousel-controls .upe-slide-dot::before,.up-editorial .upe-carousel .upe-carousel-controls .upe-progress-fill{inset:calc(50% - 1.5px) 20% auto 20%!important}
.up-editorial .upe-carousel .upe-hero-next-wrap{display:contents;position:static;width:auto}
.up-editorial .upe-carousel .upe-hero-next,.up-editorial .upe-carousel .upe-hero-next:is(:hover,:focus,:active,:disabled){grid-column:3;grid-row:2;grid-template-columns:minmax(0,1fr) 16px;gap:6px;width:100%;min-height:44px;padding:.4rem .5rem;font-size:.78rem}
.up-editorial .upe-carousel .upe-hero-next-arrow{width:16px;height:16px}
.up-editorial .upe-carousel .upe-hero-next-preview{grid-column:1 / -1;grid-row:1;position:static;top:auto;right:auto;bottom:auto;transform:none;box-sizing:border-box;width:100%;max-width:100%;margin:0;padding:.15rem 0 .65rem;font-size:.82rem;line-height:1.5;text-align:left;overflow-wrap:anywhere}
.up-editorial .upe-carousel .upe-hero-next-title{display:block;-webkit-line-clamp:unset;overflow:visible}
.up-editorial .upe-carousel.upe-next-preview-open .upe-carousel-controls>:is(.upe-playback,.upe-slide-dots,.upe-hero-count){visibility:visible}
}

/* Place Up next at the end of the same central control row, not viewport edge. */
@media(min-width:43.001rem){.up-editorial .upe-carousel .upe-carousel-controls{position:relative;padding-right:10rem}.up-editorial .upe-carousel .upe-hero-next-wrap{right:0;bottom:0}}
.up-editorial :is(.up-guide h3,.up-archive-card h2,.up-next-card h3) a{transition:none!important;text-decoration-color:#ffb825!important}.up-editorial :is(.up-guide h3,.up-archive-card h2,.up-next-card h3) a:is(:hover,:focus-visible){text-decoration-line:underline;text-decoration-color:#ffb825!important}
