/* RK · The Rewritten World Gateway 1.5.0. Scope: ONLY the dedicated microsite page. */
body.rk-trw-page {
  margin: 0;
  background: #1C1A19;
  color: #F8F3E9;
}
body.rk-trw-page .rk-trw-shell {
  --rk-obsidian: #1C1A19;
  --rk-raised: #27221E;
  --rk-parchment: #EFE7D9;
  --rk-ivory: #F8F3E9;
  --rk-ink: #27231E;
  --rk-gold: #C5A16B;
  --rk-gold-dark: #654A25;
  --rk-hairline: #B9A27F;
  font-family: 'Gentium Book Plus', Georgia, serif;
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
  background: var(--rk-obsidian);
  color: var(--rk-ivory);
  text-align: left;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
.rk-trw-shell *, .rk-trw-shell *::before, .rk-trw-shell *::after { box-sizing: border-box; }
.rk-trw-shell :is(p,h1,h2,h3,figure,blockquote) { max-width: none; padding: 0; }
.rk-trw-shell :is(h1,h2,h3) { font-family: 'XCharter', Georgia, serif; font-weight: 700; text-transform: none; letter-spacing: 0; }
.rk-trw-shell .wp-block-group { max-width: none; }
.rk-trw-shell .rk-trw-canvas { max-width: none; margin: 0; padding: 0; }
.rk-trw-shell .rk-trw-hero,
.rk-trw-shell .rk-trw-intro,
.rk-trw-shell .rk-trw-sources,
.rk-trw-shell .rk-trw-book,
.rk-trw-shell .rk-trw-footer { padding-right: max(18px, calc((100vw - 1120px)/2)); padding-left: max(18px, calc((100vw - 1120px)/2)); }
.rk-trw-shell .rk-trw-hero { padding-top:clamp(48px,7vw,104px);padding-bottom:clamp(56px,7.5vw,112px); }
.rk-trw-shell .rk-trw-hero-columns { display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:clamp(28px,5vw,76px);margin:0;align-items:center; }
.rk-trw-shell .rk-trw-hero-columns > .wp-block-column { min-width:0;flex-basis:auto !important;margin:0; }
.rk-trw-shell .rk-trw-eyebrow, .rk-trw-shell .rk-trw-part-label, .rk-trw-shell .rk-trw-source-id { font-family:'Source Sans Pro','Source Sans',Arial,sans-serif;font-weight:600;text-transform:uppercase;letter-spacing:.13em;font-size:12px;line-height:1.35; }
.rk-trw-shell .rk-trw-eyebrow { color:var(--rk-gold);margin:0 0 18px; }
.rk-trw-shell .rk-trw-title { font-size:clamp(38px,5.3vw,68px);line-height:1.04;margin:0 0 24px;color:var(--rk-ivory); }
.rk-trw-shell .rk-trw-lede { font-family:'Gentium Book Plus',Georgia,serif;font-size:clamp(19px,2vw,25px);line-height:1.34;margin:0 0 24px;max-width:30ch; }
.rk-trw-shell .rk-trw-quote { border:0;border-left:1px solid var(--rk-gold);margin:0 0 28px;padding:0 0 0 20px;font-family:'XCharter',Georgia,serif;font-size:clamp(18px,2vw,23px);font-style:italic;line-height:1.38;max-width:46ch; }
.rk-trw-shell .rk-trw-quote p { font-family:inherit;font-size:inherit;line-height:inherit;margin:0 0 13px;font-weight:400;color:var(--rk-ivory); }
.rk-trw-shell .rk-trw-quote p:last-child { margin-bottom:0; }
.rk-trw-shell .rk-trw-hero-media { display:flex;align-items:center;justify-content:center; }
.rk-trw-shell .rk-trw-cover { max-width:min(100%,440px);margin:0 auto;filter:drop-shadow(0 18px 26px #0006); }
.rk-trw-shell .rk-trw-cover img { display:block;width:100%;height:auto;max-width:100%;object-fit:contain; }
.rk-trw-shell .rk-trw-cta-row { margin:0 0 16px;display:flex;gap:8px; }
.rk-trw-shell .rk-trw-cta .wp-block-button__link { display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:12px 21px;border-radius:4px;background:var(--rk-gold);color:var(--rk-obsidian);font-family:'Source Sans Pro','Source Sans',Arial,sans-serif;font-size:15px;font-weight:600;line-height:1.2;text-decoration:none;box-shadow:none;border:1px solid transparent; }
.rk-trw-shell .rk-trw-cta .wp-block-button__link:hover { background:#E0BD84;color:var(--rk-obsidian); }
.rk-trw-shell .rk-trw-prelaunch { color:var(--rk-gold);font-family:'Source Sans Pro','Source Sans',Arial,sans-serif;font-weight:600;font-size:15px; }
.rk-trw-shell .rk-trw-secondary-action { font-family:'Source Sans Pro','Source Sans',Arial,sans-serif;font-size:14px;margin:0; }
.rk-trw-shell .rk-trw-secondary-action a { color:var(--rk-ivory);text-decoration:underline;text-decoration-color:var(--rk-gold);text-underline-offset:.25em; }
.rk-trw-shell .rk-trw-intro { padding-top:clamp(38px,5vw,70px);padding-bottom:clamp(38px,5vw,70px);background:var(--rk-raised); }
.rk-trw-shell .rk-trw-intro > p { font-size:clamp(17px,1.8vw,20px);line-height:1.55;max-width:68ch;margin:0 auto; }
.rk-trw-shell .rk-trw-sources { background:var(--rk-parchment);color:var(--rk-ink);padding-top:clamp(48px,7vw,100px);padding-bottom:clamp(48px,7vw,104px); }
.rk-trw-shell .rk-trw-sources > .rk-trw-eyebrow { color:#783C35; }
.rk-trw-shell .rk-trw-sources h2 { font-size:clamp(30px,3.4vw,43px);line-height:1.12;margin:0 0 14px;color:var(--rk-ink); }
.rk-trw-shell .rk-trw-section-intro { margin:0 0 38px;font-size:18px;max-width:65ch;color:#554c40; }
.rk-trw-shell .rk-trw-source-grid { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(22px,3.5vw,50px);margin:0 0 38px; }
.rk-trw-shell .rk-trw-source-grid:last-child { margin-bottom:0; }
.rk-trw-shell .rk-trw-source-grid > .wp-block-column { min-width:0;flex-basis:auto!important;margin:0; }
.rk-trw-shell .rk-trw-source-card { border-top:1px solid var(--rk-hairline);padding-top:22px; }
.rk-trw-shell .rk-trw-part-label { color:#783C35;margin:0 0 10px; }
.rk-trw-shell .rk-trw-source-card h3 { font-size:clamp(25px,2.5vw,31px);line-height:1.15;color:var(--rk-ink);margin:0 0 10px; }
.rk-trw-shell .rk-trw-source-card p { margin-top:0;margin-bottom:14px; }
.rk-trw-shell .rk-trw-source-id { color:var(--rk-gold-dark);margin:22px 0 4px; }
.rk-trw-shell .rk-trw-source-title { font-family:'Gentium Book Plus',Georgia,serif;font-style:italic;font-size:18px;line-height:1.35;margin:0 0 10px; }
.rk-trw-shell .rk-trw-source-link { font-family:'Source Sans Pro','Source Sans',Arial,sans-serif;font-size:14px;font-weight:600; }
.rk-trw-shell .rk-trw-sources a { color:var(--rk-gold-dark);text-decoration:underline;text-underline-offset:.2em; }
.rk-trw-shell .rk-trw-book { background:var(--rk-obsidian);color:var(--rk-ivory);text-align:center;padding-top:clamp(62px,8vw,104px);padding-bottom:clamp(62px,8vw,104px); }
.rk-trw-shell .rk-trw-book h2 { font-size:clamp(32px,3.5vw,43px);line-height:1.12;color:var(--rk-ivory);margin:0 auto 16px;max-width:22ch; }
.rk-trw-shell .rk-trw-book > p { margin:0 auto 22px;max-width:64ch;font-size:18px;line-height:1.55; }
.rk-trw-shell .rk-trw-prices { font-family:'Source Sans Pro','Source Sans',Arial,sans-serif;font-size:16px!important;color:var(--rk-gold);font-weight:600; }
.rk-trw-shell .rk-trw-book .rk-trw-cta-row { justify-content:center; }
.rk-trw-shell .rk-trw-footer { background:#171412;border-top:1px solid #40362E;padding-top:35px;padding-bottom:34px;text-align:center;color:#d9cfbc; }
.rk-trw-shell .rk-trw-footer p { font-size:14px;max-width:68ch;margin:0 auto 12px; }
.rk-trw-shell .rk-trw-legal { font-family:'Source Sans Pro','Source Sans',Arial,sans-serif;font-size:13px!important; }
.rk-trw-shell .rk-trw-footer a { color:var(--rk-gold);text-decoration:underline;text-underline-offset:.22em; }
body.rk-trw-page .rk-trw-skip { position:absolute;top:-100px;left:15px;z-index:100000;padding:12px 18px;background:#C5A16B;color:#1C1A19; }
body.rk-trw-page .rk-trw-skip:focus { top:12px; }
.rk-trw-shell a:focus-visible, body.rk-trw-page .rk-trw-skip:focus-visible { outline:3px solid #C5A16B;outline-offset:4px; }
@media (max-width: 760px) {
  .rk-trw-shell .rk-trw-hero-columns { grid-template-columns:1fr;gap:40px; }
  .rk-trw-shell .rk-trw-hero-copy { order:1; }
  .rk-trw-shell .rk-trw-hero-media { order:2; }
  .rk-trw-shell .rk-trw-cover { max-width:min(100%,300px); }
  .rk-trw-shell .rk-trw-source-grid { grid-template-columns:1fr;gap:28px;margin-bottom:28px; }
  }
@media (max-width: 420px) {
  .rk-trw-shell .rk-trw-title { font-size:36px; }
    .rk-trw-shell .rk-trw-quote { padding-left:14px; }
}
@media (prefers-reduced-motion: reduce) {
  .rk-trw-shell *, .rk-trw-shell *::before, .rk-trw-shell *::after { animation:none!important;transition:none!important;scroll-behavior:auto!important; }
}

/* v1.1: native Gutenberg Details themed catalogue. Scoped to this microsite only. */
.rk-trw-shell .rk-trw-library {
  background: var(--rk-parchment); color: var(--rk-ink);
  padding: clamp(48px, 7vw, 104px) max(18px, calc((100vw - 1120px) / 2));
}
.rk-trw-shell .rk-trw-library > h2,
.rk-trw-shell .rk-trw-library > .rk-trw-library-deck,
.rk-trw-shell .rk-trw-library > .rk-trw-reader-note,
.rk-trw-shell .rk-trw-library > .rk-trw-source-relationships,
.rk-trw-shell .rk-trw-library > .rk-trw-library-search-slot,
.rk-trw-shell .rk-trw-library .rk-trw-library-accordions { max-width:900px; margin-left:auto; margin-right:auto; }
.rk-trw-shell .rk-trw-library h2 { color:var(--rk-ink); }
.rk-trw-shell .rk-trw-library-deck { margin: 0 0 22px; }
.rk-trw-shell .rk-trw-library-accordions { display:block; }
.rk-trw-shell details.rk-trw-theme {
  margin:0 0 11px; border:1px solid var(--rk-hairline);
  background:transparent; border-radius:2px;
  overflow:visible;
}
.rk-trw-shell details.rk-trw-theme > summary {
  color:var(--rk-ink); display:list-item; list-style-position:inside;
  padding:16px 18px; margin:0;
  font-family:'XCharter',Georgia,serif;
  font-weight:700; font-size:clamp(20px, 2vw, 25px); line-height:1.2;
  cursor:pointer; border-radius:4px;
}
.rk-trw-shell details.rk-trw-theme > summary:focus-visible,
.rk-trw-shell .rk-trw-search-ui input:focus-visible,
.rk-trw-shell .rk-trw-search-ui button:focus-visible { outline:3px solid var(--rk-gold-dark); outline-offset:3px; }
.rk-trw-shell .rk-trw-theme-count {
  font-family:'Source Sans Pro','Source Sans',Arial,sans-serif;
  font-size:13px; font-weight:400; white-space:nowrap; color:#565044;
}
.rk-trw-shell details.rk-trw-theme[open] > summary { border-bottom:1px solid var(--rk-hairline); }
.rk-trw-shell p.rk-trw-record {
  padding:10px 18px; margin:0;
  border-bottom:1px solid rgba(101,74,37,.15);
  line-height:1.4; font-size:18px; overflow-wrap:anywhere;
}
.rk-trw-shell p.rk-trw-record:last-child { border-bottom:0; }
.rk-trw-shell .rk-trw-record a { font-family:'Gentium Book Plus',Georgia,serif; font-weight:400; font-style:normal; color:var(--rk-gold-dark); text-decoration-color:rgba(101,74,37,.42); text-underline-offset:3px; }
.rk-trw-shell .rk-trw-record a:hover { text-decoration-thickness:2px; }
.rk-trw-shell .rk-trw-record-meta {
  display:inline; margin-top:0; font-size:13px; line-height:1.4;
  font-family:'Source Sans Pro','Source Sans',Arial,sans-serif;
  font-style:normal; color:#5e5649;
}
.rk-trw-shell .rk-trw-source-relationships { font-size:15px; line-height:1.45; margin-top:20px; }
.rk-trw-shell .rk-trw-reader-note { font-size:17px; margin-top:22px; }
.rk-trw-shell .rk-trw-library-search-slot { margin-top:24px; margin-bottom:28px; }
.rk-trw-shell .rk-trw-library-search-slot:empty { display:none; }
.rk-trw-shell .rk-trw-search-ui label,
.rk-trw-shell .rk-trw-search-reset,
.rk-trw-shell .rk-trw-search-status {
  font-family:'Source Sans Pro','Source Sans',Arial,sans-serif;
}
.rk-trw-shell .rk-trw-search-ui label { display:block; font-size:14px; font-weight:600; margin-bottom:6px; }
.rk-trw-shell .rk-trw-search-row { display:flex; align-items:stretch; gap:10px; flex-wrap:wrap; }
.rk-trw-shell .rk-trw-search-row input { flex:1 1 270px; width:100%; min-width:0; max-width:650px; min-height:48px; padding:8px 13px; background:var(--rk-ivory); border:1px solid #746750; border-radius:4px; color:var(--rk-ink); font-size:17px; }
.rk-trw-shell .rk-trw-search-reset { min-height:48px; padding:8px 15px; font-size:14px; background:transparent; color:var(--rk-ink); border:1px solid var(--rk-gold-dark); border-radius:4px; cursor:pointer; }
.rk-trw-shell .rk-trw-search-status { margin:7px 0 0; font-size:13px; min-height:17px; }
.rk-trw-shell p.rk-trw-record[hidden], .rk-trw-shell details.rk-trw-theme[hidden] { display:none !important; }
@media(max-width:599px) {
  .rk-trw-shell details.rk-trw-theme > summary { padding:16px 14px; }
  .rk-trw-shell p.rk-trw-record { padding:13px 15px; font-size:17px; }
  .rk-trw-shell .rk-trw-search-row input { flex-basis:100%; }
}

/* v1.2 scholarly editorial: avoid teal, use XCharter Bold for display headings. */
.rk-trw-shell .rk-trw-title,
.rk-trw-shell .rk-trw-source-card h3,
.rk-trw-shell .rk-trw-sources h2,
.rk-trw-shell .rk-trw-library h2,
.rk-trw-shell .rk-trw-book h2,
.rk-trw-shell details.rk-trw-theme > summary { font-family:'XCharter',Georgia,serif; font-weight:700; }
.rk-trw-shell .rk-trw-source-title { font-family:'Gentium Book Plus',Georgia,serif; font-weight:400; font-style:normal; font-size:18px; }
.rk-trw-shell .rk-trw-featured-source-id { font-family:'Source Sans Pro','Source Sans',Arial,sans-serif; font-size:13px; font-weight:400; color:var(--rk-gold-dark); white-space:nowrap; }
.rk-trw-shell .rk-trw-record-meta { white-space:nowrap; letter-spacing:0; }
.rk-trw-shell p.rk-trw-record { overflow-wrap:break-word; }
.rk-trw-shell .rk-trw-record a { color:#5A401F; }
.rk-trw-shell .rk-trw-source-card { border-top:1px solid var(--rk-hairline); }
.rk-trw-shell .rk-trw-video-frame {
    width:100%;aspect-ratio:16/9;max-width:100%;min-height:0; position:relative;overflow:hidden;
    display:grid;place-items:center; background:#24201D; margin:10px 0 16px;
    border:1px solid #594A39;border-radius:3px;
}
.rk-trw-shell .rk-trw-video-play { margin:0!important; padding:0; text-align:center; }
.rk-trw-shell .rk-trw-video-play a {
    display:inline-flex;align-items:center;justify-content:center;min-height:50px;padding:10px 20px;
    font-family:'Source Sans Pro','Source Sans',Arial,sans-serif;font-size:15px;font-weight:600;
    text-decoration:none;border:1px solid #C5A16B;border-radius:3px;color:#F8F3E9;background:#37302A;
}
.rk-trw-shell .rk-trw-video-play a:hover { background:#48392B;color:#fff; }
.rk-trw-shell .rk-trw-video-frame iframe { display:block;width:100%;height:100%;aspect-ratio:16/9;border:0; }
.rk-trw-shell .rk-trw-video-frame.is-playing { background:#090807; }
.rk-trw-shell .rk-trw-source-link { margin:0!important; }
.rk-trw-shell .rk-trw-library-accordions > details.rk-trw-theme { border-radius:2px; }
.rk-trw-shell p.rk-trw-record { border-bottom:1px solid rgba(101,74,37,.14); }
@media (max-width:599px) {
 .rk-trw-shell .rk-trw-title { font-size:clamp(38px,10vw,44px); }
 .rk-trw-shell .rk-trw-video-frame { margin:9px 0 12px; }
 .rk-trw-shell p.rk-trw-record { padding:11px 14px; }
}

/* v1.3 scholarly sections preserved; v1.4 decorative backgrounds are defined separately below. */
.rk-trw-shell .rk-trw-sources {
  background:#1C1A19;color:#F8F3E9;
}
.rk-trw-shell .rk-trw-sources > .rk-trw-eyebrow,
.rk-trw-shell .rk-trw-sources .rk-trw-part-label { color:#C5A16B; }
.rk-trw-shell .rk-trw-sources h2,
.rk-trw-shell .rk-trw-library h2 {
  font-family:'Source Sans Pro','Source Sans',Arial,sans-serif;
  font-weight:600;
  letter-spacing:-.02em;
  font-size:clamp(29px,3.4vw,40px);
  line-height:1.12;
}
.rk-trw-shell .rk-trw-sources h2 { color:#F8F3E9;margin-bottom:20px; }
.rk-trw-shell .rk-trw-sources .rk-trw-section-intro { color:#E6DAC8;max-width:68ch;margin:0 0 14px;font-size:18px;line-height:1.5; }
.rk-trw-shell .rk-trw-sources .rk-trw-section-intro-second { margin-bottom:40px; }
.rk-trw-shell .rk-trw-source-card { border-top:1px solid #685643; }
.rk-trw-shell .rk-trw-source-card h3 { color:#F8F3E9; }
.rk-trw-shell .rk-trw-source-card p { color:#E6DAC8; }
.rk-trw-shell .rk-trw-featured-source-id { color:#C5A16B; }
.rk-trw-shell .rk-trw-sources a { color:#EBD4A8; }
.rk-trw-shell .rk-trw-video-frame { border-color:#685643; }
.rk-trw-shell .rk-trw-video-frame .rk-trw-video-play a { color:#F8F3E9; }
.rk-trw-shell details.rk-trw-theme { border:0; border-bottom:1px solid #B9A27F; border-radius:0; margin:0; }
.rk-trw-shell details.rk-trw-theme > summary {
  position:relative;display:block;list-style:none; padding:20px 48px 20px 8px;
  font-family:'Source Sans Pro','Source Sans',Arial,sans-serif;font-weight:600;
  font-size:clamp(18px,1.8vw,22px);line-height:1.25;letter-spacing:0;
  color:#29251F;border:0;transition:color .15s ease;
}
.rk-trw-shell details.rk-trw-theme > summary::-webkit-details-marker { display:none; }
.rk-trw-shell details.rk-trw-theme > summary::after {
  content:'';position:absolute;right:18px;top:calc(50% - 4px);width:9px;height:9px;
  border-right:1.7px solid #654A25;border-bottom:1.7px solid #654A25;
  transform:rotate(45deg);transition:transform .2s ease;transform-origin:center center;
}
.rk-trw-shell details.rk-trw-theme[open] > summary::after { transform:translateY(4px) rotate(225deg); }
.rk-trw-shell details.rk-trw-theme > summary:hover { color:#654A25; }
.rk-trw-shell details.rk-trw-theme[open] > summary { border-bottom:1px solid #B9A27F; }
.rk-trw-shell details.rk-trw-theme .rk-trw-detail-panel { display:block;overflow:visible; }
.rk-trw-shell details.rk-trw-theme .rk-trw-detail-panel.is-animating { overflow:hidden; }
.rk-trw-shell .rk-trw-cta .wp-block-button__link,
.rk-trw-shell .rk-trw-nav a,
.rk-trw-shell .rk-trw-secondary-action a,
.rk-trw-shell .rk-trw-source-link a,
.rk-trw-shell .rk-trw-search-reset { transition:background-color .15s ease,color .15s ease,border-color .15s ease; }
/* Foreground-only, one-time compositor animations; no body/section/background motion. */
@keyframes rkTrwEnter { from {opacity:0;transform:translateY(10px);} to {opacity:1;transform:none;} }
@keyframes rkTrwRule { from { transform:scaleX(0); } to {transform:scaleX(1);} }
@media (prefers-reduced-motion:no-preference) {
  .rk-trw-shell .rk-trw-title { animation:rkTrwEnter 840ms cubic-bezier(.2,.7,.2,1) both; }
  .rk-trw-shell .rk-trw-lede { animation:rkTrwEnter 960ms cubic-bezier(.2,.7,.2,1) 100ms both; }
  .rk-trw-shell .rk-trw-quote { animation:rkTrwEnter 1000ms cubic-bezier(.2,.7,.2,1) 180ms both; }
  .rk-trw-shell .rk-trw-cover { animation:rkTrwEnter 1360ms cubic-bezier(.2,.7,.2,1) 100ms both; }
  .rk-trw-shell .rk-trw-hero .rk-trw-eyebrow::before { animation:rkTrwRule 1000ms cubic-bezier(.2,.7,.2,1) both; }
  @media (hover:hover) and (pointer:fine) {
  }
}
@media (prefers-reduced-motion:reduce) {
  .rk-trw-shell .rk-trw-title,.rk-trw-shell .rk-trw-lede,
  .rk-trw-shell .rk-trw-quote,.rk-trw-shell .rk-trw-cover,
  .rk-trw-shell .rk-trw-hero .rk-trw-eyebrow::before {animation:none!important;transform:none!important;}
  .rk-trw-shell details.rk-trw-theme > summary::after {transition:none!important;}
}
@media (max-width:599px) {
  .rk-trw-shell details.rk-trw-theme > summary { padding:17px 42px 17px 7px; }
}

/* v1.3 final editorial micro-adjustments. */
.rk-trw-shell .rk-trw-source-card h3 { font-family:'Gentium Book Plus',Georgia,serif;font-weight:700;font-size:clamp(22px,2.15vw,24px);line-height:1.22; }
.rk-trw-shell .rk-trw-library > .rk-trw-library-eyebrow { max-width:900px;margin:0 auto 14px;color:#654A25; }

/* v1.4 — static, separately composited background-image layers.
   Gutenberg background and content opacity are NOT changed.
   Edit only CSS custom properties in WordPress Appearance > Additional CSS;
   examples are in docs/GATEWAY_BACKGROUND_CSS_v1_4.md. */
body.rk-trw-page .rk-trw-shell .rk-trw-hero,
body.rk-trw-page .rk-trw-shell .rk-trw-sources {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
body.rk-trw-page .rk-trw-shell .rk-trw-hero::before,
body.rk-trw-page .rk-trw-shell .rk-trw-sources::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-repeat: no-repeat;
  background-size: cover;
  /* Background layers are entirely static; no transitions or keyframes. */
}
body.rk-trw-page .rk-trw-shell .rk-trw-hero::before {
  background-image: var(--rk-trw-hero-bg-image, url("backgrounds/Fortress_Left_2560x1440.webp"));
  background-position: var(--rk-trw-hero-bg-position, left center);
  opacity: var(--rk-trw-hero-bg-opacity, 0.20);
}
body.rk-trw-page .rk-trw-shell .rk-trw-sources::before {
  background-image: var(--rk-trw-featured-bg-image, url("backgrounds/Echo_Right_2560x1440.webp"));
  background-position: var(--rk-trw-featured-bg-position, right center);
  opacity: var(--rk-trw-featured-bg-opacity, 0.20);
}
body.rk-trw-page .rk-trw-shell .rk-trw-hero > *,
body.rk-trw-page .rk-trw-shell .rk-trw-sources > * {
  position: relative;
  z-index: 1;
}
/* Initial gold line is attached to the hero, not a hidden/missing masthead. */
body.rk-trw-page .rk-trw-shell .rk-trw-hero .rk-trw-eyebrow::before {
  content: "";
  display: block;
  background: var(--rk-gold);
  width: 100px;
  height: 1px;
  margin-bottom: 25px;
  transform-origin: left center;
}
/* Illumination only: after the initial entrance, the cover never translates on hover. */
body.rk-trw-page .rk-trw-shell .rk-trw-cover,
body.rk-trw-page .rk-trw-shell .rk-trw-cover:hover {
  translate: none;
}
body.rk-trw-page .rk-trw-shell .rk-trw-cover img {
  filter: brightness(1) saturate(1);
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  body.rk-trw-page .rk-trw-shell .rk-trw-cover img {
    transition: filter 220ms ease-out;
  }
  body.rk-trw-page .rk-trw-shell .rk-trw-cover:hover img {
    filter: brightness(1.045) saturate(1.025);
  }
}
@media (prefers-reduced-motion: reduce) {
  body.rk-trw-page .rk-trw-shell .rk-trw-cover img {
    transition: none !important;
  }
}
@media (max-width: 760px) {
  body.rk-trw-page .rk-trw-shell .rk-trw-hero::before {
    background-position: var(--rk-trw-hero-bg-position-mobile, 16% center);
  }
  body.rk-trw-page .rk-trw-shell .rk-trw-sources::before {
    background-position: var(--rk-trw-featured-bg-position-mobile, 83% center);
  }
}

/* v1.5 — minimal editorial Featured and local, intrinsic-ratio WebP posters. */
.rk-trw-shell .rk-trw-source-card { border-top:0; padding-top:0; }
.rk-trw-shell .rk-trw-sources .rk-trw-section-intro { margin-bottom:40px; }
.rk-trw-shell .rk-trw-source-card .rk-trw-video-frame {
  display:block; isolation:isolate; position:relative; aspect-ratio:16/9;
  width:100%; height:auto; overflow:hidden; margin:10px 0 16px;
  border:1px solid #685643; border-radius:3px; background:#24201D;
}
.rk-trw-shell .rk-trw-video-frame .rk-trw-poster {
  position:absolute; inset:0; display:block; width:100%; height:100%; margin:0;
}
.rk-trw-shell .rk-trw-video-frame .rk-trw-poster img {
  display:block; width:100%; height:100%; max-width:none; object-fit:cover;
}
.rk-trw-shell .rk-trw-video-frame .rk-trw-video-play {
  position:absolute; inset:0; z-index:2; display:grid; place-items:center;
  margin:0!important; padding:10px; pointer-events:none;
}
.rk-trw-shell .rk-trw-video-frame .rk-trw-video-play a {
  pointer-events:auto; background:rgba(28,26,25,.88); color:#F8F3E9;
  border:1px solid #C5A16B; min-width:54px; min-height:54px;
  padding:10px 17px; backdrop-filter:blur(3px);
  box-shadow:0 4px 16px rgba(0,0,0,.25);
}
.rk-trw-shell .rk-trw-video-frame .rk-trw-video-play a:focus-visible,
.rk-trw-shell .rk-trw-cover a:focus-visible {outline:3px solid #C5A16B;outline-offset:3px;}
.rk-trw-shell .rk-trw-video-frame.is-playing iframe {
  position:absolute;inset:0;width:100%;height:100%;
}
.rk-trw-shell .rk-trw-library-accordions {border-top:1px solid #B9A27F;}
.rk-trw-shell .rk-trw-library {border-bottom:1px solid #B9A27F;}
@media (prefers-reduced-motion:reduce) {
  .rk-trw-shell .rk-trw-video-frame .rk-trw-video-play a { transition:none!important; }
}

/* The entire poster is the accessible click target; Play remains a separate UI layer. */
.rk-trw-shell .rk-trw-video-frame .rk-trw-video-play { padding:0;pointer-events:none; }
.rk-trw-shell .rk-trw-video-frame .rk-trw-video-play a {
  position:absolute; inset:0; width:100%;height:100%;min-width:100%; min-height:100%;
  display:grid; place-items:center; padding:0; border:0; border-radius:0;
  font-size:0; color:transparent; text-decoration:none; background:rgba(28,26,25,.03);
  box-shadow:none; pointer-events:auto; backdrop-filter:none;
}
.rk-trw-shell .rk-trw-video-frame .rk-trw-video-play a::before {
  content:'▶'; display:grid;place-items:center; width:62px;height:54px;
  border:1px solid #C5A16B; border-radius:3px; background:rgba(28,26,25,.89);
  color:#F8F3E9;font-size:24px;line-height:1; text-indent:2px;
  box-shadow:0 4px 16px rgba(0,0,0,.25);
}
.rk-trw-shell .rk-trw-video-frame .rk-trw-video-play a:hover {background:rgba(28,26,25,.12);}
.rk-trw-shell .rk-trw-video-frame .rk-trw-video-play a:hover::before,
.rk-trw-shell .rk-trw-video-frame .rk-trw-video-play a:focus-visible::before {background:#48392B;}


/* v1.6 approved responsive artwork, readability, and usable video interaction. */
body.rk-trw-page.rk-trw-v16-applied .rk-trw-shell .rk-trw-library,
body.rk-trw-page.rk-trw-v16-applied .rk-trw-shell .rk-trw-book { position:relative; isolation:isolate; overflow:hidden; }
body.rk-trw-page.rk-trw-v16-applied .rk-trw-shell .rk-trw-library::before {
  content:"";position:absolute;inset:0;z-index:0;pointer-events:none;
  background-image:url("backgrounds/TRW_Archival_Survey_Seamless_1024.webp");
  background-repeat:repeat;background-size:var(--rk-trw-library-tile-size,512px) var(--rk-trw-library-tile-size,512px);
  opacity:var(--rk-trw-library-bg-opacity,0.05);
}
body.rk-trw-page.rk-trw-v16-applied .rk-trw-shell .rk-trw-library > * {position:relative;z-index:1;}
body.rk-trw-page.rk-trw-v16-applied .rk-trw-shell .rk-trw-book::before {
  content:"";position:absolute;inset:0;z-index:0;pointer-events:none;
  background-image:url("backgrounds/Vienna_Bastions_Stephansdom_1774x887.webp");
  background-size:cover;background-position:center center;background-repeat:no-repeat;
  opacity:var(--rk-trw-closing-bg-opacity,0.28);
  -webkit-mask-image:radial-gradient(ellipse 60% 145% at 50% 50%,transparent 0%,transparent 33%,rgba(0,0,0,.18) 58%,black 90%);
  mask-image:radial-gradient(ellipse 60% 145% at 50% 50%,transparent 0%,transparent 33%,rgba(0,0,0,.18) 58%,black 90%);
}
body.rk-trw-page.rk-trw-v16-applied .rk-trw-shell .rk-trw-book > * {position:relative;z-index:1;}
/* The entire 16:9 poster is the accessible target, while the PLAY GLYPH is mathematically centered. */
body.rk-trw-page.rk-trw-v16-applied .rk-trw-shell .rk-trw-video-frame .rk-trw-video-play {
  position:absolute;inset:0;display:block;padding:0;margin:0;pointer-events:none;
}
body.rk-trw-page.rk-trw-v16-applied .rk-trw-shell .rk-trw-video-frame .rk-trw-video-play a {
  position:absolute;inset:0;width:100%;height:100%;display:block;pointer-events:auto;
}
body.rk-trw-page.rk-trw-v16-applied .rk-trw-shell .rk-trw-video-frame .rk-trw-video-play a::before {
  position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);
  text-indent:0;display:grid;place-items:center;margin:0;line-height:1;
}
body.rk-trw-page.rk-trw-v16-applied .rk-trw-shell .rk-trw-video-frame .rk-trw-embed-fallback {
  position:absolute;bottom:8px;right:8px;z-index:3;display:inline-flex;
  align-items:center;justify-content:center;min-height:35px;padding:6px 10px;
  font:600 12px/1.25 'Source Sans Pro',Arial,sans-serif;
  color:#fff;background:rgba(20,18,17,.92);border:1px solid #C5A16B;border-radius:3px;
  text-decoration:none;
}
body.rk-trw-page.rk-trw-v16-applied .rk-trw-shell .rk-trw-embed-fallback:focus-visible {outline:3px solid #C5A16B;outline-offset:2px;}
body.rk-trw-page.rk-trw-v16-applied .rk-trw-shell .rk-trw-hero .rk-trw-secondary-action a {
  display:inline-flex;align-items:center;min-height:44px;
}
@media (min-width:700px) and (max-width:760px) {
  body.rk-trw-page.rk-trw-v16-applied .rk-trw-shell .rk-trw-source-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;}
}
@media (max-width:760px) {
  body.rk-trw-page.rk-trw-v16-applied .rk-trw-shell .rk-trw-hero-columns {gap:26px;}
  body.rk-trw-page.rk-trw-v16-applied .rk-trw-shell .rk-trw-cover {max-width:min(100%,250px);}
  body.rk-trw-page.rk-trw-v16-applied .rk-trw-shell .rk-trw-hero,
  body.rk-trw-page.rk-trw-v16-applied .rk-trw-shell .rk-trw-sources {--rk-trw-mobile-art-height:clamp(500px,145vw,780px);}
  /* Fixed upper art band: preserves the outer-side symbols, independent of tall content. */
  body.rk-trw-page.rk-trw-v16-applied .rk-trw-shell .rk-trw-hero::before,
  body.rk-trw-page.rk-trw-v16-applied .rk-trw-shell .rk-trw-sources::before {
    inset:0 0 auto 0;height:var(--rk-trw-mobile-art-height);
    background-size:auto 100%;background-repeat:no-repeat;
    -webkit-mask-image:linear-gradient(to bottom,black 0%,black 52%,transparent 100%);
    mask-image:linear-gradient(to bottom,black 0%,black 52%,transparent 100%);
  }
  body.rk-trw-page.rk-trw-v16-applied .rk-trw-shell .rk-trw-hero::before {background-position:var(--rk-trw-hero-bg-position-mobile,left top);}
  body.rk-trw-page.rk-trw-v16-applied .rk-trw-shell .rk-trw-sources::before {background-position:var(--rk-trw-featured-bg-position-mobile,right top);}
  body.rk-trw-page.rk-trw-v16-applied .rk-trw-shell .rk-trw-book::before {
    background-image:url("backgrounds/Vienna_Bastions_Stephansdom_MOBILE_780x1120.webp");
    background-position:center top;background-size:100% auto;
    -webkit-mask-image:radial-gradient(ellipse 90% 82% at 50% 32%,transparent 0%,transparent 42%,rgba(0,0,0,.22) 78%,black 100%);
    mask-image:radial-gradient(ellipse 90% 82% at 50% 32%,transparent 0%,transparent 42%,rgba(0,0,0,.22) 78%,black 100%);
  }
}
@media (max-width:699px) {
  body.rk-trw-page.rk-trw-v16-applied .rk-trw-shell .rk-trw-source-grid {grid-template-columns:minmax(0,1fr);}
}
@media (max-width:599px) {
  body.rk-trw-page.rk-trw-v16-applied .rk-trw-shell .rk-trw-hero {padding-top:44px;padding-bottom:48px;}
  body.rk-trw-page.rk-trw-v16-applied .rk-trw-shell .rk-trw-sources {padding-top:46px;padding-bottom:52px;}
  body.rk-trw-page.rk-trw-v16-applied .rk-trw-shell .rk-trw-record-meta,
  body.rk-trw-page.rk-trw-v16-applied .rk-trw-shell .rk-trw-featured-source-id {font-size:14px;}
  body.rk-trw-page.rk-trw-v16-applied .rk-trw-shell .rk-trw-footer p {font-size:14px;line-height:1.55;}
  body.rk-trw-page.rk-trw-v16-applied .rk-trw-shell .rk-trw-legal {font-size:14px!important;line-height:1.8;}
  body.rk-trw-page.rk-trw-v16-applied .rk-trw-shell .rk-trw-footer a {display:inline-block;padding:7px 2px;}
}
