/* Full editorial compositions. Original words, photo links and DOM parents stay native. */
body.hhx-enabled { --hhx-story-scenes-css: 1; }
body.hhx-story-scenes-ready { --hhs-ink: #081018; --hhs-paper: #eeeae1; --hhs-red: #d30b32; --hhs-rule: #08101838; }
body.hhx-story-scenes-ready.habs-design-2026 :is(#wrapper,#inner-wrap,#content,#primary,.content-bg) { background: var(--hhs-paper) !important; color: var(--hhs-ink); }
body.hhx-story-scenes-ready.habs-design-2026 #primary { margin-block: 0; padding-inline: 0; }
body.hhx-story-scenes-ready.hhx-site-ready.habs-design-2026 #primary.content-area { --hhx-scene-action-color:#081018; --hhx-scene-action-line:#08101844; margin-block:0; padding:0; }
body.hhx-story-scenes-ready.habs-design-2026 #primary > .content-container.site-container { max-width: none; padding: 0 !important; }
body.hhx-story-scenes-ready.hhx-scene-shell-ready.hhx-navigation-ready.habs-design-2026:is([data-hhx-story-index-cover="true"],[data-hhx-story-featured-cover="true"]) #primary > .hhx-utility-bar { --hhx-scene-action-color:#eeeae1; --hhx-scene-action-line:#eeeae14d; position:absolute; z-index:5; top:12px; right:12px; width:auto; max-width:calc(100% - 24px); min-height:44px; margin:0; padding:0 4px; background:#081018e8; color:#eeeae1; }
body.hhx-story-scenes-ready #primary :is(a,button):focus-visible { outline: 3px solid #a10929; outline-offset: 4px; }
body.hhx-story-scenes-ready #primary :is(.entry-title,.entry-title a,.entry-summary,.entry-content p,.entry-content h2,.entry-content h3,.entry-meta,.hhx-story-read,.hhx-story-contents) { overflow-wrap:anywhere; }
body.hhx-story-scenes-ready .hhx-story-cover-mark { position: absolute; z-index: 2; inset: auto 20px 0; display: block; margin: 0; padding: 0; color: var(--hhs-paper); font: 900 clamp(3.5rem,13.6vw,12rem)/1 var(--hhb-display,Arial,sans-serif); text-transform: uppercase; letter-spacing: -.065em; pointer-events: none; overflow-wrap: normal; }
body.hhx-story-scenes-ready .hhx-story-cover::after,
body.hhx-story-scenes-ready.hhx-site-archive #archive-container > .entry-list-item:first-child .post-thumbnail::after { position:absolute; z-index:1; inset:55% 0 0; content:''; background:linear-gradient(transparent,#081018c7); pointer-events:none; }

/* An archive starts with a photographic cover, rather than a row of cards. */
body.hhx-story-scenes-ready.hhx-site-archive.habs-design-2026 #archive-container { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0; width: 100%; max-width: none; padding: 0; margin: 0; list-style: none; counter-reset: hhxStoryIndex; }
body.hhx-story-scenes-ready.hhx-site-archive.habs-design-2026 #archive-container > .entry-list-item { grid-column: auto; min-width: 0; margin: 0; padding: clamp(24px,4vw,64px); border: 0; border-top: 1px solid var(--hhs-rule); background: var(--hhs-paper) !important; counter-increment: hhxStoryIndex; }
body.hhx-story-scenes-ready.hhx-site-archive.habs-design-2026 #archive-container > .entry-list-item:nth-child(2n+1):not(:first-child) { border-left: 1px solid var(--hhs-rule); }
body.hhx-story-scenes-ready.hhx-site-archive.habs-design-2026 #archive-container > .entry-list-item:first-child { grid-column: 1 / -1; padding: 0; border: 0; }
body.hhx-story-scenes-ready.hhx-site-archive.habs-design-2026 #archive-container > .entry-list-item .loop-entry { min-height: 0; height: auto; margin: 0; padding: 0; border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; overflow: visible; }
body.hhx-story-scenes-ready.hhx-site-archive.habs-design-2026 #archive-container > .entry-list-item:first-child .loop-entry { display: grid; grid-template-columns: minmax(0,1.06fr) minmax(0,1fr); align-items: stretch; gap: 0; }
body.hhx-story-scenes-ready.hhx-site-archive.habs-design-2026 #archive-container > .entry-list-item .post-thumbnail { position: relative; display: block; inset: auto; width: 100%; margin: 0; border-radius: 0; background: #d7d3ca; overflow: hidden; }
body.hhx-story-scenes-ready.hhx-site-archive.habs-design-2026 #archive-container > .entry-list-item .post-thumbnail-inner { position: relative; display: block; height: 0; padding-bottom: 64%; overflow: hidden; }
body.hhx-story-scenes-ready.hhx-site-archive.habs-design-2026 #archive-container > .entry-list-item .post-thumbnail img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; transition: none; }
body.hhx-story-scenes-ready.hhx-site-archive.habs-design-2026 #archive-container > .entry-list-item:first-child .post-thumbnail { min-height: clamp(450px,var(--hhx-story-cover-available,calc(100dvh - 270px)),800px); }
body.hhx-story-scenes-ready.hhx-site-archive.habs-design-2026 #archive-container > .entry-list-item:first-child .post-thumbnail-inner { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; }
body.hhx-story-scenes-ready.hhx-site-archive.habs-design-2026 #archive-container > .entry-list-item .entry-content-wrap { position: relative; display: flex; flex-direction: column; min-width: 0; height: auto; gap: 20px; margin: 0; padding: 26px 0 0; border: 0; border-radius: 0; background: transparent !important; color: var(--hhs-ink) !important; }
body.hhx-story-scenes-ready.hhx-site-archive.habs-design-2026 #archive-container > .entry-list-item:first-child .entry-content-wrap { justify-content: center; gap: 25px; padding: clamp(32px,5vw,88px); }
body.hhx-story-scenes-ready.hhx-site-archive.habs-design-2026 #archive-container > .entry-list-item:not(:first-child) .entry-content-wrap::before { content: counter(hhxStoryIndex,decimal-leading-zero); display: block; color: #9b1730; font: 750 .8125rem/1.2 var(--hhb-sans,Arial,sans-serif); letter-spacing: .1em; }
body.hhx-story-scenes-ready.hhx-site-archive.habs-design-2026 #archive-container .entry-title { margin: 0; font: 900 clamp(2.25rem,4vw,4.5rem)/.98 var(--hhb-display,Arial,sans-serif); letter-spacing: -.045em; text-transform: uppercase; overflow-wrap: anywhere; text-wrap: balance; }
body.hhx-story-scenes-ready.hhx-site-archive.habs-design-2026 #archive-container > .entry-list-item:first-child .entry-title { font-size: clamp(3rem,5.2vw,6.25rem); }
body.hhx-story-scenes-ready.hhx-site-archive.habs-design-2026 #archive-container .entry-title a { color: var(--hhs-ink) !important; text-decoration: none; }
body.hhx-story-scenes-ready.hhx-site-archive.habs-design-2026 #archive-container :is(.entry-taxonomies,.entry-taxonomies a) { color: #a10929 !important; font: 750 .75rem/1.4 var(--hhb-sans,Arial,sans-serif); letter-spacing: .07em; text-transform: uppercase; }
body.hhx-story-scenes-ready.hhx-site-archive.habs-design-2026 #archive-container .entry-meta { justify-content: flex-start; margin: 0; color: #4f5558 !important; font: 650 .8125rem/1.6 var(--hhb-sans,Arial,sans-serif); }
body.hhx-story-scenes-ready.hhx-site-archive.habs-design-2026 #archive-container :is(.entry-meta a,.entry-summary,.entry-summary p) { color: #4f5558 !important; }
body.hhx-story-scenes-ready.hhx-site-archive.habs-design-2026 #archive-container .entry-summary { display: block; margin: 0; padding: 0; font: 400 1rem/1.7 var(--hhb-sans,Arial,sans-serif); }
body.hhx-story-scenes-ready.hhx-site-archive.habs-design-2026 #archive-container .entry-summary p { display: block; margin: 0; overflow: visible; -webkit-line-clamp: unset; }
body.hhx-story-scenes-ready.hhx-site-archive.habs-design-2026 #archive-container .entry-footer { margin: 0; }
body.hhx-story-scenes-ready.hhx-site-archive.habs-design-2026 #archive-container .entry-footer a { display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding: 15px 18px; border: 0; border-radius: 0; background: var(--hhs-red); color: #fff !important; font: 750 .875rem/1.4 var(--hhb-sans,Arial,sans-serif); text-decoration: none; }
body.hhx-story-scenes-ready.hhx-site-archive[data-hhx-story-index-cover="true"] .entry-hero { position: absolute !important; width: 1px !important; height: 1px !important; margin: -1px !important; padding: 0 !important; overflow: hidden !important; clip-path: inset(50%); }
body.hhx-story-scenes-ready.hhx-site-archive.habs-design-2026 #primary .pagination { max-width: 1100px; margin: 0 auto; padding: 30px 24px; border-color: var(--hhs-rule); }
body.hhx-story-scenes-ready.hhx-site-archive.habs-design-2026 #primary .pagination .page-numbers { border-color: var(--hhs-rule); background: transparent; color: var(--hhs-ink); }
body.hhx-story-scenes-ready.hhx-site-archive.habs-design-2026 #primary .pagination .current { background: var(--hhs-red); color: #fff; }

/* The original article header and body form a photographic editorial spread.
   display:contents changes layout only; every native node retains its parent. */
body.hhx-story-scenes-ready.hhx-site-article.habs-design-2026 #primary .content-wrap { display: block; }
body.hhx-story-scenes-ready.hhx-site-article.habs-design-2026 #primary article.single-entry { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); max-width: none; gap: 0; margin: 0; padding: 0; border: 0; border-radius: 0; background: var(--hhs-paper) !important; }
body.hhx-story-scenes-ready.hhx-site-article.habs-design-2026 #primary article.single-entry > .entry-content-wrap { display: contents; }
body.hhx-story-scenes-ready.hhx-site-article.habs-design-2026 #primary .hhx-story-cover { grid-column: 1; grid-row: 1; position: relative; display: block; min-width: 0; min-height: clamp(450px,var(--hhx-story-cover-available,calc(100dvh - 270px)),850px); margin: 0; overflow: hidden; background: #d7d3ca; }
body.hhx-story-scenes-ready.hhx-site-article.habs-design-2026 #primary .hhx-story-cover-photo { position: absolute; inset: 0; display: block; width: 100%; height: 100%; max-width: none; margin: 0; object-fit: cover; }
body.hhx-story-scenes-ready.hhx-site-article.habs-design-2026 #primary .entry-header.post-title { grid-column: 1 / -1; grid-row: 1; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; min-width: 0; min-height: 0; margin: 0; padding: clamp(32px,5vw,88px); border: 0; background: var(--hhs-paper); color: var(--hhs-ink); }
body.hhx-story-scenes-ready.hhx-site-article[data-hhx-story-featured-cover="true"].habs-design-2026 #primary .entry-header.post-title { grid-column: 2; }
body.hhx-story-scenes-ready.hhx-site-article[data-hhx-story-featured-cover="true"].habs-design-2026 #primary .entry-header.post-title::after { display: none !important; }
body.hhx-story-scenes-ready.hhx-site-article.habs-design-2026 #primary .entry-header.post-title .entry-title { max-width: 17ch; margin: 20px 0 28px; padding: 0; color: var(--hhs-ink); font: 900 clamp(3rem,5.2vw,6.25rem)/.98 var(--hhb-display,Arial,sans-serif); letter-spacing: -.05em; text-transform: uppercase; overflow-wrap: anywhere; text-wrap: balance; }
body.hhx-story-scenes-ready.hhx-site-article.habs-design-2026 #primary .entry-header.post-title :is(.entry-meta,.entry-taxonomies) { justify-content: flex-start; margin: 0; padding: 0; font-family: var(--hhb-sans,Arial,sans-serif); }
body.hhx-story-scenes-ready.hhx-site-article.habs-design-2026 #primary .entry-header.post-title .entry-meta { width: 100%; margin-top: 0; padding-top: 20px; border-top: 1px solid var(--hhs-rule); color: #4f5558; font-size: .875rem; line-height: 1.6; }
body.hhx-story-scenes-ready.hhx-site-article.habs-design-2026 #primary .entry-header.post-title .entry-meta a { color: var(--hhs-ink); }
body.hhx-story-scenes-ready.hhx-site-article.habs-design-2026 #primary .hhx-story-read-action { position: relative; display: block; width: 100%; margin-top: 28px; background: var(--hhs-red); color: #fff; }
body.hhx-story-scenes-ready.hhx-site-article.habs-design-2026 #primary button.hhx-story-read { display: flex; align-items: center; box-sizing: border-box; width: 100%; min-height: 58px; margin: 0; padding: 16px 60px 16px 20px; border: 0; border-radius: 0; background: var(--hhs-red); color: #fff; font: 750 .875rem/1.4 var(--hhb-sans,Arial,sans-serif); text-align: left; box-shadow: none; cursor: pointer; }
body.hhx-story-scenes-ready.hhx-site-article.habs-design-2026 #primary .hhx-story-read-arrow { position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font: 700 1.5rem/1 var(--hhb-sans,Arial,sans-serif); pointer-events: none; }
body.hhx-story-scenes-ready.hhx-site-article.habs-design-2026 #primary article.single-entry .entry-content { grid-column: 1; grid-row: 2; box-sizing: border-box; width: 100%; max-width: 810px; margin: 0 0 0 auto; padding: 54px clamp(24px,5vw,72px); border-top: 1px solid var(--hhs-rule); color: var(--hhs-ink); background: var(--hhs-paper); font-size: 1.125rem; line-height: 1.8; }
body.hhx-story-scenes-ready.hhx-site-article.habs-design-2026 #primary .hhx-reading-room { grid-column: 2; grid-row: 2; box-sizing: border-box; width: 100%; max-width: 520px; height: max-content; max-height: calc(100dvh - 100px); margin: 54px auto 0 0; padding: 24px clamp(24px,4vw,52px); border-top: 2px solid var(--hhs-ink); }
body.hhx-story-scenes-ready.hhx-site-article.habs-design-2026 #primary button.hhx-story-contents { display: block; grid-column: 1 / -1; width: 100%; min-height: 48px; margin: 0; padding: 12px 0; border: 0; border-radius: 0; background: transparent; color: var(--hhs-ink); font: 750 .8125rem/1.4 var(--hhb-sans,Arial,sans-serif); text-align: left; box-shadow: none; cursor: pointer; }
body.hhx-story-scenes-ready.hhx-site-article.habs-design-2026 #primary .hhx-reading-room[data-hhx-story-contents="closed"] > :not(.hhx-story-contents) { display: none !important; }
body.hhx-story-scenes-ready.hhx-site-article.habs-design-2026 #primary article.single-entry .entry-footer { grid-column: 1 / -1; grid-row: 3; }
body.hhx-story-scenes-ready.hhx-site-article.habs-design-2026 #primary :is(.habs-article-author,.post-navigation,.entry-related) { box-sizing: border-box; width: calc(100% - 48px); max-width: 1100px; margin: 0 auto; padding: 36px 0; border-radius: 0; background: var(--hhs-paper) !important; }
body.hhx-story-scenes-ready.hhx-site-article.habs-design-2026 #primary .entry-related .loop-entry { border: 0; border-radius: 0; background: transparent !important; }

@media (max-width: 960px) {
  body.hhx-story-scenes-ready.hhx-site-article.habs-design-2026 #primary article.single-entry { grid-template-columns: minmax(0,1fr); }
  body.hhx-story-scenes-ready.hhx-site-article.habs-design-2026 #primary .hhx-story-cover { grid-column: 1; grid-row: 1; min-height: clamp(250px,35dvh,420px); }
  body.hhx-story-scenes-ready.hhx-site-article.habs-design-2026 #primary .entry-header.post-title,
  body.hhx-story-scenes-ready.hhx-site-article[data-hhx-story-featured-cover="true"].habs-design-2026 #primary .entry-header.post-title { grid-column: 1; grid-row: 1; padding: 32px 24px 36px; }
  body.hhx-story-scenes-ready.hhx-site-article[data-hhx-story-featured-cover="true"].habs-design-2026 #primary .entry-header.post-title { grid-row: 2; }
  body.hhx-story-scenes-ready.hhx-site-article.habs-design-2026 #primary .entry-header.post-title .entry-title { max-width: 15ch; font-size: clamp(2.75rem,10vw,5rem); }
  body.hhx-story-scenes-ready.hhx-site-article.habs-design-2026 #primary article.single-entry .entry-content { grid-column: 1; grid-row: 4; max-width: 810px; margin: 0 auto; padding: 30px 24px 40px; }
  body.hhx-story-scenes-ready.hhx-site-article.habs-design-2026 #primary .hhx-reading-room { grid-column: 1; grid-row: 3; position: static; width: calc(100% - 48px); max-width: 762px; max-height: none; margin: 0 auto; padding: 20px 0; }
  body.hhx-story-scenes-ready.hhx-site-article.habs-design-2026 #primary article.single-entry .entry-footer { grid-row: 5; }
}
@media (max-width: 960px) {
  body.hhx-story-scenes-ready.hhx-site-archive.habs-design-2026 #archive-container { grid-template-columns: minmax(0,1fr); }
  body.hhx-story-scenes-ready.hhx-site-archive.habs-design-2026 #archive-container > .entry-list-item { grid-column: 1; padding: 28px 24px 36px; border-left: 0 !important; }
  body.hhx-story-scenes-ready.hhx-site-archive.habs-design-2026 #archive-container > .entry-list-item:first-child .loop-entry { display: block; }
  body.hhx-story-scenes-ready.hhx-site-archive.habs-design-2026 #archive-container > .entry-list-item:first-child .post-thumbnail { min-height: clamp(250px,35dvh,420px); }
  body.hhx-story-scenes-ready.hhx-site-archive.habs-design-2026 #archive-container > .entry-list-item:first-child .entry-content-wrap { gap: 20px; padding: 30px 24px 36px; }
  body.hhx-story-scenes-ready.hhx-site-archive.habs-design-2026 #archive-container .entry-title { font-size: clamp(2rem,8vw,3rem); }
  body.hhx-story-scenes-ready.hhx-site-archive.habs-design-2026 #archive-container > .entry-list-item:first-child .entry-title { font-size: clamp(2.75rem,10vw,4rem); }
}
@media (prefers-reduced-motion: no-preference) {
  body.hhx-story-scenes-ready.hhx-site-archive #archive-container > .entry-list-item .entry-title a { transition: color .16s ease; }
  body.hhx-story-scenes-ready.hhx-site-archive #archive-container > .entry-list-item .entry-title a:hover { color: #a10929 !important; }
}
@media print {
  body.hhx-story-scenes-ready #primary .hhx-story-cover,
  body.hhx-story-scenes-ready #primary .hhx-story-read-action { display: none !important; }
  body.hhx-story-scenes-ready.hhx-site-article #primary article.single-entry { display: block !important; }
  body.hhx-story-scenes-ready.hhx-site-article #primary .entry-header.post-title { display: block !important; }
}
