.hm-collection{position:relative;padding-top:8px}.hm-collection>.story-tools{position:absolute;top:0;right:0;margin:0;z-index:1}
.hm-entry{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:64px;align-items:start;padding-bottom:45px}
.hm-entry-gallery{min-width:0}
.hm-entry-copy{padding-top:3px}.hm-entry-date{font-size:.78rem;color:var(--muted);margin:0 0 18px}.hm-entry-copy :is(h1,h2){font-family:var(--serif);font-size:2rem;font-weight:800;line-height:1.12;letter-spacing:-.03em;margin:0 0 18px}.hm-entry-intro{color:var(--signal);font-weight:650;font-size:1.12rem}.hm-entry-copy p:not(.hm-entry-date){line-height:1.65;margin:0 0 20px;font-size:1.04rem}.hm-entry-copy .hm-entry-intro{font-size:1.12rem!important}
.hm-end{display:flex;justify-content:space-between;gap:16px;border-top:1px solid var(--line);padding:24px 0;font-size:.82rem;color:var(--muted)}
.hm-orbit{position:relative!important;isolation:isolate;overflow:hidden;background:radial-gradient(ellipse at 40% 30%,#49443f 0,#302d2a 48%,#252321 100%)!important;min-height:480px}
.hm-stage{position:absolute;inset:0;z-index:1}.hm-card{position:absolute;left:50%;top:48%;display:block;transform-origin:center;overflow:hidden;border-radius:5px;box-shadow:0 12px 26px #0006;outline-offset:4px}.hm-card{padding:0;border:0;background:transparent;cursor:zoom-in}.hm-card:disabled{cursor:default}.hm-card img{width:100%;height:100%;display:block;object-fit:contain;pointer-events:none}.hm-card:focus-visible{outline:3px solid #ffb083}
.hm-caption{position:absolute;left:26px;right:70px;bottom:24px;z-index:200;display:flex;justify-content:space-between;gap:12px;align-items:center;text-decoration:none;color:#f6f2ed;font-size:.76rem;font-weight:600;line-height:1.5}
.hm-pause{position:absolute;right:14px;bottom:16px;z-index:210;display:grid;place-items:center;width:38px;height:32px;border:1px solid var(--signal);border-radius:8px;background:#f6f2ed;color:#171717;font-size:14px;font-weight:700;cursor:pointer}.hm-pause:hover{background:#fff}.hm-pause:focus-visible{outline:2px solid #ffb083;outline-offset:2px}
.hm-entry-gallery .cs-published{margin:0}.hm-thumbs{display:flex;gap:10px;margin-top:10px;flex-wrap:wrap}.hm-thumbs button{width:48px;height:60px;border:0;padding:0;border-radius:3px;background:transparent;overflow:hidden;opacity:.55;outline-offset:3px;cursor:pointer}.hm-thumbs button[aria-current=true]{opacity:1;outline:2px solid var(--signal)}.hm-thumbs img{display:block;width:100%;height:100%;object-fit:contain}.hm-empty{display:grid;place-items:center;background:#292723;color:#fff}
.hm-editor .ed-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}.hm-edit-entry{border-top:1px solid var(--line);padding-top:16px;margin-top:24px}.hm-entry-actions{display:flex;gap:10px;flex-wrap:wrap;margin:12px 0 20px}
@media(min-width:1024px){.home-look-6 .feature:has(.hm-orbit) .hm-orbit,.home-look-6 .feature:has(.hm-orbit) .feature-body{min-height:600px}}
@media(max-width:700px){.hm-entry{grid-template-columns:1fr;gap:28px}.hm-entry-gallery{max-width:440px;width:100%;margin:0 auto}.hm-entry-copy :is(h1,h2){font-size:1.7rem}.hm-caption{left:18px;bottom:16px;right:60px;display:block;font-size:.7rem}.hm-pause{right:10px;bottom:12px;width:36px;height:32px}.hm-orbit{min-height:0!important;aspect-ratio:1!important}.hm-card{top:46%}.hm-end{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){.hm-card{will-change:auto}}

.hm-entry-copy p.hm-entry-kicker{font-size:.74rem;letter-spacing:.1em;text-transform:uppercase;color:var(--signal);line-height:1.4;margin:0 0 12px}

/* Aktuell: the same image carousel within the existing news column. */
.media-news{overflow:hidden}
.media-news .hm-orbit{min-height:440px;border-radius:4px 4px 0 0;aspect-ratio:auto}
.media-news .post-body .media-news-kicker{color:var(--signal);font-size:.74rem;letter-spacing:.08em;text-transform:uppercase;margin-bottom:10px}
.media-news .post-body .media-news-subtitle{font-weight:650;color:var(--signal)}
.media-news-link,.newsroom-create>.btn,.newsroom-source>.btn{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:8px 14px;border:1px solid var(--signal);border-radius:8px;background:transparent;color:#171717;font-size:.86rem;font-weight:650;text-decoration:none}
.media-news-link:hover,.newsroom-create>.btn:hover,.newsroom-source>.btn:hover{background:rgba(196,85,58,.07)}
.media-news-link:focus-visible{outline:2px solid var(--signal);outline-offset:3px}
.newsroom-tools{margin:0 0 28px;padding:20px;border:1px solid var(--line);border-radius:8px;background:var(--card)}
.newsroom-create{display:flex;flex-wrap:wrap;gap:10px}
.newsroom-source{display:grid;gap:8px;border-top:1px solid var(--line);margin-top:24px;padding-top:22px}
.site-page[data-page="aktuell"] .block-edit{min-width:0}
.site-page[data-page="aktuell"] .block-tools{justify-content:flex-end}
@media(max-width:700px){.newsroom-tools{padding:14px}.newsroom-create{display:grid;grid-template-columns:1fr 1fr}.newsroom-create>.btn{font-size:.78rem;padding:8px 10px;white-space:normal}}

.site-page:not([data-page="aktuell"]) .media-news .post-body .post-date{font-size:.74rem;color:var(--muted)}
.site-page:not([data-page="aktuell"]) .media-news .post-body h3{font-size:1.55rem;line-height:1.15;margin:10px 0 12px}

/* A shared footer keeps the magnifier centered and the title and pause apart. */
.hm-footer{position:absolute;left:26px;right:26px;bottom:16px;z-index:210;display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:16px}
.hm-footer .hm-caption{position:static;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
.hm-footer .hm-pause{position:static;justify-self:end;grid-column:3}
.hm-zoom-button{display:grid;place-items:center;width:38px;height:32px;border:0;border-radius:8px;background:transparent;color:#fff;cursor:pointer}
.hm-zoom-button svg{display:block;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
.hm-zoom-button:hover{background:#ffffff14}
.hm-zoom-button:focus-visible,.hm-zoom-close:focus-visible{outline:2px solid #fff;outline-offset:3px}
body.hm-zoom-open{overflow:hidden}
.hm-zoom-dialog{position:fixed;inset:0;width:100vw;max-width:none;height:100vh;height:100dvh;max-height:none;margin:0;padding:0;border:0;background:#252321;color:#fff;overflow:hidden}
.hm-zoom-dialog::backdrop{background:#252321}
.hm-zoom-dialog .hm-zoom-orbit{width:100%;height:100%;min-height:0!important;aspect-ratio:auto!important;border-radius:0}
.hm-zoom-close{position:absolute;top:max(18px,env(safe-area-inset-top));right:max(22px,env(safe-area-inset-right));z-index:250;display:grid;place-items:center;width:40px;height:40px;border:1px solid #ffffff70;border-radius:8px;background:#25232180;color:#fff;font:300 30px/1 var(--font);cursor:pointer}
.hm-zoom-orbit .hm-footer{left:max(30px,env(safe-area-inset-left));right:max(30px,env(safe-area-inset-right));bottom:max(22px,env(safe-area-inset-bottom))}
.hm-zoom-orbit .hm-card{top:48%}
@media(max-width:700px){.hm-footer{left:18px;right:18px;bottom:12px;gap:12px}.hm-zoom-orbit .hm-footer{left:18px;right:18px}.hm-zoom-button{width:36px}}
.newsroom-transfer-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:8px}
.newsroom-transfer-actions>.btn{width:100%;min-height:46px;padding:12px 14px;border:1px solid var(--signal);border-radius:8px;background:transparent;color:#171717;font-size:.86rem;line-height:1.4;white-space:normal}
.hm-pause[hidden]{display:none!important}

.block-tools:has([data-action="media-transfer"]){flex-wrap:wrap}

/* A calm reading order and ample space before transfer actions, also in admin. */
.newsroom-transfer>h2{padding-right:32px}
.newsroom-transfer>p{line-height:1.55}
.newsroom-source h3{font-size:1rem;font-weight:700;line-height:1.35;letter-spacing:0;text-transform:none;margin:0 0 2px}
.newsroom-source>p{margin:0;line-height:1.5}
.newsroom-transfer .newsroom-source>.field{margin:8px 0 0}
.newsroom-transfer-actions>.btn:hover{background:rgba(196,85,58,.07)}
@media(max-width:520px){.newsroom-transfer-actions{grid-template-columns:1fr;gap:10px}}

/* Home/Aktuell admin controls occupy their own row, never the article itself. */
.site-page:is([data-page="home"],[data-page="aktuell"]) .block-edit{padding:0 8px 8px}
.site-page:is([data-page="home"],[data-page="aktuell"]) .block-tools{position:static;display:flex;flex-wrap:wrap;gap:12px;min-height:54px;padding:12px 6px;margin-bottom:10px;border-bottom:1px solid var(--line)}
.block-tool-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.block-tools .block-tool-text{display:inline-flex;align-items:center;justify-content:center;width:auto;height:auto;min-height:36px;padding:8px 12px;border-radius:8px;border:1px solid var(--line);font-size:.78rem;line-height:1.3;white-space:normal;text-decoration:none}
.block-tools .block-tool-text:hover{border-color:var(--signal);background:rgba(196,85,58,.04)}
.site-page[data-page="home"].editing-page>.editbar{position:static;margin-bottom:22px;padding:16px 18px;gap:18px;flex-wrap:wrap}
.editbar .home-edit-actions,.home-editor-bottom{display:flex;align-items:center;flex-wrap:wrap;gap:10px}
.home-editor-bottom{justify-content:flex-end;padding:18px 0}
.home-order>h2{padding-right:32px}
.home-order>p{line-height:1.5}
.home-order-list{display:grid;gap:12px;list-style:none;margin:18px 0 10px;padding:0}
.home-order-row{display:grid;grid-template-columns:18px 40px minmax(0,1fr) 68px 32px;align-items:center;gap:10px;padding:12px;border:1px solid var(--line);border-radius:8px;background:var(--card)}
.home-order-row.is-selected{border-color:var(--signal)}
.home-order-grip{color:var(--muted);font-size:24px;cursor:grab;user-select:none}
.home-order-thumb{display:block;width:40px;height:48px;object-fit:cover;border-radius:4px}
.home-order-empty{background:var(--bg)}
.home-order-info{min-width:0;display:grid;gap:5px}
.home-order-info strong{font-size:.85rem;line-height:1.35;overflow-wrap:anywhere}
.home-order-info small{color:var(--muted);font-size:.72rem}
.home-order-position{display:grid;gap:4px;font-size:.68rem;color:var(--muted)}
.home-order-position select{width:100%;min-height:36px;padding:5px 8px;border:1px solid var(--line);border-radius:6px;background:var(--card);color:var(--ink);font:inherit;font-size:16px}
.home-order-steps{display:grid;gap:6px}
.home-order-steps button{display:grid;place-items:center;width:32px;height:32px;padding:0;border:1px solid var(--line);border-radius:6px;background:var(--card);cursor:pointer}
.home-order-steps button:disabled{opacity:.3;cursor:default}
.home-order-steps svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.home-order-row.is-dragging{opacity:.45}
.home-order-row.is-drop-target{border-color:var(--signal);background:rgba(196,85,58,.08)}
.home-order-actions{display:grid;grid-template-columns:auto minmax(0,1fr);gap:12px;margin-top:16px}
@media(max-width:700px){.site-page:is([data-page="home"],[data-page="aktuell"]) .block-tools{align-items:flex-start;gap:10px}.site-page:is([data-page="home"],[data-page="aktuell"]) .block-type{flex-basis:100%}.site-page:is([data-page="home"],[data-page="aktuell"]) .block-tool-actions{width:100%;justify-content:flex-start}}
@media(max-width:420px){.home-order-row{grid-template-columns:14px minmax(0,1fr) 62px 32px;gap:8px;padding:10px}.home-order-thumb{display:none}.home-order-actions{grid-template-columns:1fr}.home-order-actions [type="submit"]{grid-row:1}}
.home-order-list{max-height:clamp(180px,calc(100dvh - 350px),560px);overflow-y:auto;overscroll-behavior:contain;padding:3px}
@media(max-width:420px){.home-order-list{max-height:clamp(160px,calc(100dvh - 410px),480px)}}

.hm-animation-choice { border: 0; padding: 0; margin: 0 0 24px; display: grid; gap: 12px; }
.hm-animation-choice legend { font-weight: 700; margin-bottom: 12px; }
.hm-animation-choice label { display: flex; align-items: center; gap: 9px; cursor: pointer; }
.hm-animation-choice input { accent-color: var(--signal); width: 18px; height: 18px; flex: none; }

.hm-pause svg { display:block; width:15px; height:15px; fill:currentColor; }

.hm-orbit:not([data-hm-ready]) .hm-stage { visibility:hidden; }

.hm-card:not([data-hm-loaded]){visibility:hidden}

.hm-paint{position:absolute;inset:0;display:block;width:100%;height:100%;pointer-events:none}
.hm-painted .hm-card{box-shadow:none;background:transparent}
.hm-painted .hm-card img{visibility:hidden}

.home-editor-add .add-feature { gap: 12px; font-weight: 750; }
.home-editor-add .add-feature svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; }
.home-editor-add .add-limit { margin: 0; }
.home-order-inline .home-order-list { max-height: none; overflow: visible; margin-top: 12px; padding: 0; }
.home-editor-settings .nav-card > .nav-preview { margin-bottom: 16px; }
.home-order-inline .home-order-thumb { display: block; width: 48px; height: 48px; background: var(--bg); overflow: hidden; }
.home-order-inline .home-order-thumb img { width: 100%; height: 100%; object-fit: cover; }
.home-order-inline .home-order-row.is-new { border-color: var(--signal); background: color-mix(in srgb, var(--signal) 9%, var(--card)); }
.home-order-tools, .home-topic-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.home-topic-actions { margin: 18px 0; gap: 8px; }
.home-order-tools .btn { margin: 0; }
.home-order-save { position: sticky; bottom: 10px; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px; padding: 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); box-shadow: 0 4px 20px #0002; }
.home-order-save[hidden] { display: none; }
.home-order-save p { margin: 0 auto 0 0; font-size: .86rem; }
.home-topic-photos { min-width: 0; align-content: center; }
.home-topic-photos .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.home-topic-photos .gallery-item { aspect-ratio: 1; }
.home-look-6 .feature > .home-topic-photos { padding: 12px; }
.home-order-inline .form-error:empty { display: none; }
/* The arrow pair spans the space between the title and the right-hand actions. */
.home-order-inline .home-order-row {
  grid-template-columns: 66px 48px minmax(130px, 25%) minmax(82px, 1fr) max-content;
}
.home-order-arrows { display: flex; gap: 6px; justify-content: center; }
.home-order-arrows .home-order-icon { flex: 0 0 38px; width: 38px; padding: 0; }
.home-order-arrows .home-order-icon svg { width: 21px; height: 21px; stroke-width: 2.5; }
.home-order-arrows .home-order-icon:disabled { opacity: .35; }
.home-order-inline .home-order-tools { justify-content: flex-end; flex-wrap: nowrap; }
.home-order-inline .home-order-tools .btn { white-space: nowrap; }

@media (max-width: 900px) {
  .home-order-inline .home-order-row { grid-template-columns: 60px 42px minmax(0, 1fr) max-content; }
  .home-order-inline .home-order-thumb { width: 42px; }
  .home-order-inline .home-order-tools { grid-column: 1 / -1; justify-content: flex-start; flex-wrap: wrap; }
}
@media (max-width: 410px) {
  .home-order-tools { gap: 8px; }
  .home-order-tools .btn { padding-inline: 8px; }
}

.story-links { display: flex; flex-wrap: wrap; gap: 14px; margin-block: 26px; }
.story-links > .feature-link { margin: 0; }
.story-topic-cover { border-radius: 8px; overflow: hidden; }
.story-topic-cover > img { display: block; width: 100%; height: auto; }
.story-topic-cover.ratio-2 { aspect-ratio: 2; }
.story-topic-cover.ratio-3 { aspect-ratio: 3; }
.story-topic-cover.ratio-4 { aspect-ratio: 4; }
.story-topic-cover:is(.ratio-2, .ratio-3, .ratio-4) > img { height: 100%; object-fit: contain; }
.topic-hero-grid.original-photos { align-items: start; }
.topic-hero-grid.original-photos .story-square { aspect-ratio: auto; background: transparent; }
.topic-hero-grid.original-photos .story-square > img { height: auto; }
@media (max-width: 639px) {
  .topic-hero-grid.n3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.detail-link-editor { min-width: 0; margin: 0 0 12px; padding: 8px 12px 12px; border: 1px solid var(--line); border-radius: 8px; }
.detail-link-editor > legend { padding-inline: 4px; }

.newsroom-create > .btn.primary { background: var(--signal); color: var(--ink); }
.news-compact-collage > .collage {
  margin: 0;
  gap: 6px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  height: clamp(140px, 23vw, 280px);
}
.news-compact-collage .collage-item { grid-column: span 2; grid-row: span 1; min-height: 0; }
.news-compact-collage .collage-1 .collage-item { grid-column: 1 / -1; grid-row: 1 / -1; }
.news-compact-collage .collage-2 .collage-item { grid-row: 1 / -1; }
.news-compact-collage .collage-3 .collage-item:first-child { grid-row: 1 / -1; }
.news-compact-collage .collage-item img { height: 100%; object-fit: cover; }

.news-editor-links { min-width: 0; border: 1px solid var(--line); border-radius: 10px; margin: 14px 0; padding: 12px; }
.news-editor-links > legend { padding: 0 6px; font-weight: 700; }
.news-link-row { margin-bottom: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.news-editor .form-error:empty { display: none; }
.news-preview-tabs { margin: 14px 0; }
.news-preview-card { max-width: 740px; }
.news-draft-preview > p { margin-bottom: 12px; }
.story-news .story-grid { grid-template-columns: minmax(0, 1fr); max-width: 760px; }
.story-news .story-text { max-width: 72ch; }
.news-photo-options { margin: 12px 0; }
.news-photo-options summary { cursor: pointer; }
.news-editor .ed-actions { bottom: -24px; }

.editorial-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  max-width: 100%;
  block-size: 38px;
  box-sizing: border-box;
  padding: 0 14px;
  border: 1px solid var(--signal);
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  font-size: .86rem;
  font-weight: 650;
  text-decoration: none;
}
a.editorial-link:hover { background: color-mix(in srgb, var(--signal) 9%, transparent); }
a.editorial-link:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }
.editorial-link-label { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.editorial-link-mark { flex: 0 0 24px; width: 24px; height: 24px; border-radius: 50%; overflow: hidden; }
.editorial-link-mark > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.editorial-link-mark.is-symbol { display: grid; place-items: center; background: var(--signal); color: #fff; }
.tfb-logo-midnight-amber .editorial-link-mark.is-symbol { color: #171717; }
.editorial-link-mark svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; }
.editorial-link-photo-tools { display: flex; flex-wrap: wrap; gap: 8px; }
.editorial-link-example { margin: 8px 0; }
.editorial-link-settings .editorial-link-label { margin: 0; font: inherit; }

.tfb-logo-midnight-amber .editorial-link-mark.is-home-symbol { color: #001d3d; }
.editorial-link-mark svg.link-arrow { fill: currentColor; stroke: none; }
.editorial-symbol-trigger.btn { display: inline-flex; align-items: center; gap: 8px; }
.editorial-symbol-dialog {
  box-sizing: border-box;
  width: min(520px, calc(100% - 24px));
  max-height: calc(100dvh - 24px);
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  color: var(--ink);
}
.editorial-symbol-dialog::backdrop { background: #0006; }
.editorial-symbol-dialog > header { display: flex; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.editorial-symbol-dialog h2 { margin: 0; font-size: 1.1rem; }
.editorial-symbol-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(88px, 1fr)); gap: 8px; }
.editorial-symbol-grid > button {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 6px;
  min-height: 74px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: .76rem;
  cursor: pointer;
}
.editorial-symbol-grid > button:is(:hover, [aria-pressed="true"]) { border-color: var(--signal); background: color-mix(in srgb, var(--signal) 12%, var(--paper)); }
.editorial-symbol-grid .editorial-link-mark { width: 32px; height: 32px; }
.editorial-symbol-grid .editorial-link-mark svg { width: 19px; height: 19px; }

.editorial-link-mark.is-home-symbol > .editorial-home-wordmark { display: block; width: 82%; height: auto; fill: currentColor; stroke: none; }

.home-photo-mode { margin: 20px 0 26px; padding: 12px; border: 1px solid var(--line); border-radius: 10px; }
.home-photo-mode legend { padding-inline: 4px; font-weight: 700; }
.home-photo-mode-options { display: flex; flex-wrap: wrap; gap: 8px; }
.home-photo-mode-options [aria-pressed="true"] { border-color: var(--signal); }
.home-topic-slideshow .cs-published { margin: 0; }

.story-photo-single, .story-photo-presentation { width: 100%; margin: 28px auto 0; }
.story-photo-single { display: block; border: 0; padding: 0; background: transparent; cursor: zoom-in; }
.story-photo-single img { display: block; width: auto; height: auto; max-width: 100%; max-height: 75vh; margin: auto; border-radius: 8px; }
.story-photo-presentation.carousel .hm-orbit { min-height: 0; height: clamp(300px, 51vw, 600px); border-radius: 8px; }
.story-photo-presentation.slideshow .hm-thumbs { justify-content: center; }

/* Keep the orbit and its footer in a stable area sized for the photo set. */
.site-page .feature > .hm-orbit[data-hm-fit-photos],
.story-photo-presentation.carousel .hm-orbit[data-hm-fit-photos] {
  width: 100%;
  height: auto;
  min-height: 0 !important;
  aspect-ratio: clamp(.8, var(--hm-photo-ratio, 1), 2) !important;
  align-self: center;
}

.hm-zoom-orbit[hidden], .hm-zoom-slides [hidden] { display: none !important; }
.hm-zoom-slides { height: 100%; background: #1c1b1a; }
.hm-zoom-slides .cs-published {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  height: 100%;
  margin: 0;
  padding: max(68px, calc(env(safe-area-inset-top) + 52px)) max(8px, env(safe-area-inset-right))
    max(10px, env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left));
  box-sizing: border-box;
}
.hm-zoom-slides :is(.cs-screens, .cs-screen, .cs-stage) {
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: auto;
  background: transparent;
}
.hm-zoom-slides .cs-photo-frame img { object-fit: contain; }
.hm-zoom-slides .cs-carousel-nav { color: #fff; }
.hm-zoom-slides .cs-carousel-status {
  position: static;
  width: auto;
  height: auto;
  clip-path: none;
  font-size: .82rem;
}
.hm-zoom-slides .cs-slideshow {
  width: 44px;
  height: 44px;
  margin: 0;
  border-color: #ffffff70;
  color: #fff;
}
.hm-zoom-back {
  position: absolute;
  top: max(18px, env(safe-area-inset-top));
  left: max(18px, env(safe-area-inset-left));
  min-height: 40px;
  padding-inline: 14px;
  border: 1px solid #ffffff70;
  border-radius: 8px;
  background: #252321;
  color: #fff;
  cursor: pointer;
}
.site-page[data-page="home"] .feature > .hm-orbit[data-hm-fit-photos] {
  aspect-ratio: clamp(.93, var(--hm-photo-ratio, 1.12), 2) !important;
}

/* A chosen frame takes precedence over the display's default image ratio. */
.site-page[data-page="home"] .feature .feature-media:has(> .topic-crop) { height: auto; aspect-ratio: auto; }
.site-page[data-page="home"] .feature .feature-media > .topic-crop,
.gallery-item > .topic-crop,
.story .story-square > .topic-crop { height: auto; aspect-ratio: var(--photo-ratio); }
.gallery-item:has(> .topic-crop), .home-topic-photos .gallery-item:has(> .topic-crop),
.story .story-square:has(> .topic-crop) { aspect-ratio: auto; align-self: start; }
.gallery-item:hover > .topic-crop img { transform: scale(var(--photo-zoom, 1)); }
.story-photo-single > .topic-crop { width: min(100%, calc(75vh * var(--photo-ratio))); margin-inline: auto; }
.hm-card img[data-hm-crop] { object-fit: cover; object-position: var(--photo-x) var(--photo-y); transform: scale(var(--photo-zoom)); transform-origin: var(--photo-x) var(--photo-y); }

.heading-marker { font: inherit; }
.view[data-view="home"] .hm-entry-copy p:is(.hm-entry-kicker, .hm-entry-intro) {
  color: inherit;
  font-weight: inherit;
}
.heading-field .heading-field-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  column-gap: 12px;
  row-gap: 7px;
  flex-wrap: wrap;
}
.heading-field .heading-field-label > span { margin: 0; }
.heading-field .rich-tools { margin: 0; padding: 3px; gap: 5px; }
.heading-field .rich-tools .rich-history { padding: 0; }
.heading-field .heading-area {
  min-height: 42px;
  padding: 7px 11px;
  margin-top: 8px;
  line-height: 1.55;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}
.home-editor-links { display: grid; gap: 10px; margin-block: 16px; }
.home-editor-disclosure {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.ed-panel > .home-editor-disclosure { margin-block: 10px; }
.home-editor-disclosure > summary {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 9px 12px;
  font-weight: 650;
  cursor: pointer;
  list-style: none;
}
.home-editor-disclosure > summary::-webkit-details-marker { display: none; }
.home-editor-disclosure > summary::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: none;
  border: solid var(--muted);
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(-45deg);
}
.home-editor-disclosure[open] > summary::before { transform: rotate(45deg); }
.home-editor-link-caption {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 500;
  color: var(--muted);
}
.home-disclosure-body { padding: 0 12px 12px; }
.home-editor-links .news-link-row { padding-bottom: 0; border: 0; }
.home-editor-links .form-error:empty { display: none; }
.home-editor-link-actions { display: flex; }
.home-section-add { margin-block: 12px 16px; }
.home-section-add > div { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 12px 12px; }
.home-admin-editor .secs:has(+ .home-section-add) { gap: 10px; }

/* The Home editor has its own scroll area between the navigation and actions. */
#sheet-root .sheet:has(> .home-admin-editor) {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  max-height: 92dvh;
}
.home-admin-editor {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-height: 0;
}
.home-admin-editor > .ed-tabs {
  position: static;
  margin: 0 0 12px;
  flex: none;
}
.home-admin-editor > .ed-tabs:has(> button:only-child) { display: none; }
.home-admin-editor .ed-tabs button { min-height: 38px; padding: 6px 4px; }
.home-editor-scroll {
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  padding: 0 5px 14px;
  margin-inline: -5px;
  scroll-padding-block: 12px;
}
.home-admin-editor > .ed-actions {
  position: static;
  flex: none;
  border-top: 1px solid var(--line);
  padding: 12px 0 0;
}
.home-admin-editor > .form-error:empty { display: none; }
.home-editor-scroll > .danger { margin-top: 12px; }
.home-admin-editor .ed-panel .editor-sub { margin: 24px 0 8px; }
.home-admin-editor .ed-panel > .editor-sub:first-child { margin-top: 8px; }
.home-admin-editor .ed-panel .ed-note { margin-block: 10px 12px; }
.home-admin-editor .ed-panel .ed-hint { margin-block: 10px 14px; }
.home-admin-editor .ed-panel .gallery-edit { gap: 10px; }
.home-admin-editor .sec { padding: 12px; }
.home-admin-editor .sec-bar { flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.home-admin-editor .sec-bar > span { min-width: max-content; }
.home-admin-editor .sec-bar button { width: 34px; height: 34px; }
.home-admin-editor .sec-insert { margin-block: 5px; min-height: 38px; flex-wrap: wrap; gap: 8px; }
.home-admin-editor .sec-insert-btn {
  width: 34px;
  height: 34px;
  color: var(--ink);
}
.home-admin-editor .sec-insert-menu { flex-wrap: wrap; gap: 6px; padding: 0; }
.home-admin-editor .sec-insert-menu button { min-height: 32px; }
.home-admin-editor .sec-add { padding: 12px; gap: 10px; }
.home-admin-editor .sec-add button { min-height: 34px; }

@media (min-width: 1100px) {
  #sheet-root.side-mode .sheet:has(> .home-admin-editor) { height: 100dvh; max-height: none; }
  #sheet-root.side-mode .home-admin-editor,
  #sheet-root.side-mode .home-editor-scroll { flex: 1; }
}

/* Photos and linked logos within editorial copy. */
.article-inline-image { margin: 1.35em 0; max-width: min(100%, var(--article-image-max, 26rem)); }
.article-inline-image > :is(a, button) { display: block; overflow: hidden; border: 0; border-radius: 6px; padding: 0; background: transparent; cursor: pointer; }
.article-inline-image img { display: block; width: auto; max-width: 100%; height: auto; object-fit: contain; }
.article-inline-image > :is(a, button):focus-visible { outline: 2px solid var(--signal); outline-offset: 4px; }
.article-image-editor { padding: 10px; border: 1px solid #d7d7d7; border-radius: 8px; }
.article-image-editor img { max-height: 130px; }
.article-inline-padel-logo { max-width: min(100%, calc(var(--article-image-max) - .75rem)); }
.article-inline-padel-logo img, .article-image-size-preview .article-inline-padel-preview {
  box-sizing: border-box;
  width: 100%;
  padding-inline: .5rem;
  background: #1c1a17;
}
.article-image-size-preview .article-inline-padel-preview {
  max-width: min(100%, calc(var(--article-image-max) - .75rem));
}

.article-image-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.article-image-dialog { width: min(460px, calc(100vw - 32px)); max-height: 90vh; overflow: auto; margin: auto; padding: 22px; border: 1px solid #d7d7d7; border-radius: 12px; background: #f9f9f9; color: #171717; }
.article-image-dialog::backdrop { background: #0007; }
.article-image-dialog [hidden] { display: none; }

.article-image-pick { display: flex; align-items: center; gap: 10px 14px; flex-wrap: wrap; margin: 0 0 18px; }
.article-image-pick-button { position: relative; cursor: pointer; overflow: hidden; }
.article-image-pick-button input { position: absolute; inset: 0; width: 100%; opacity: 0; cursor: pointer; }
.article-image-pick-button:focus-within { outline: 2px solid var(--signal); outline-offset: 3px; }
.article-image-pick [data-image-filename] { color: var(--muted); font-size: .85rem; overflow-wrap: anywhere; }
.article-image-size label span { display: flex; justify-content: space-between; }
.article-image-size-preview { margin: 0 0 18px; }
.article-image-size-preview img { display: block; max-width: min(100%, var(--article-image-max)); max-height: 150px; border-radius: 6px; }
.home-look-6 .feature > .home-cover-fill {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1fr);
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  cursor: pointer;
  background: linear-gradient(90deg, #1e1b17, #181614 50%, #100f0d);
}
.home-cover-fill > img, .home-cover-fill > picture > img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}
.home-cover-fill:focus-visible { outline: 2px solid var(--signal); outline-offset: -4px; }
@media (min-width: 900px) {
  .home-cover-fill > img, .home-cover-fill > picture > img {
    mask-image: linear-gradient(transparent, #000 9%, #000 91%, transparent);
  }
}
