.rk-journal,.rk-article { --blog-bg: #f7f5eb; }
.rk-article-layout { --post-accent: #1d4985; }
.rk-article-layout .rk-story-head { margin: 0 0 22px; background: var(--rk-paper); border: 2px solid var(--rk-night); color: var(--rk-night); }
.rk-story-copy { padding: clamp(18px, 4vw, 46px); min-width: 0; }
.rk-story-copy h1,.rk-journal-copy h1 { font-family: var(--rk-type); letter-spacing: -.05em; text-wrap: balance; overflow-wrap: normal; hyphens: auto; }
.rk-story-copy h1 { font-size: clamp(2.1rem, 5vw, 4.5rem); line-height: 1.03; }
.rk-story-copy p,.rk-journal-copy p { margin-block: 12px 17px; max-width: 55ch; font-size: clamp(1rem, 1.5vw, 1.17rem); }
.rk-story-figure { margin: 0; max-width: 100%; }
.rk-story-figure img { width: 100%; height: auto; border-radius: 0; }
.rk-article-layout .post-content { max-width: 850px; }
.rk-article-layout .post-toc { float: none; position: static; box-shadow: none; }
.rk-article-layout .post-toc h2 { grid-column: 1/-1; }
.rk-article-layout .post-toc a { min-height: 36px; text-underline-offset: .22em; padding: 3px 4px; }
.rk-article-layout .post-hero-copy,.rk-article-layout .post-section,.rk-article-layout .post-content { min-width: 0; }
.rk-story-note { border: 2px solid #335e92; padding: 12px 15px; border-radius: 8px; background: var(--rk-sky); margin: 18px 0; }
.rk-story-note p { margin: 4px 0 0; }
.rk-journal-head { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: stretch; margin: 0 0 25px; padding: 10px; background: var(--rk-lemon); border: 2px solid var(--rk-night); border-radius: 12px; box-shadow: 6px 6px 0 #738fc0; }
.rk-journal-copy { padding: clamp(16px, 4vw, 39px); align-self: center; }
.rk-journal-copy h1 { font: 800 clamp(2.15rem, 5vw, 4.3rem)/.98 var(--rk-type); letter-spacing: -.05em; }
.rk-journal-head .post-cover { height: auto; align-self: center; min-width: 0; }
.rk-journal-head .post-cover img { border-radius: 7px; height: auto; min-height: 0; max-height: none; object-fit: contain; }
.rk-journal-index { border-top: 2px solid var(--rk-night); }
.rk-journal-card { display: grid; grid-template-columns: clamp(135px, 25vw, 275px) minmax(0,1fr); align-items: center; gap: clamp(14px, 3.2vw, 35px); border-bottom: 2px solid var(--rk-night); padding-block: 15px; }
.rk-journal-thumbnail { border: 2px solid var(--rk-night); border-radius: 7px; overflow: hidden; box-shadow: 4px 4px 0 #bac8e3; display: block; }
.rk-journal-thumbnail img { width: 100%; height: auto; display: block; }
.rk-journal-card-body p { margin-block: 7px; }
.rk-journal-card-body h2 { font: 780 clamp(1.42rem, 3.3vw, 2.95rem)/1.04 var(--rk-type); }
.rk-journal-card-body h2 a { text-decoration: none; }
.rk-journal-card-body h2 a:hover { text-decoration: underline; text-underline-offset: .2em; }
.rk-journal-link { font-weight: 720; color: #204e8a; }

.rk-story-sprache .rk-story-head { background: #dcedff; border: 0; border-top: 7px solid #265590; text-align: center; }
.rk-story-sprache .rk-story-copy { padding: clamp(18px, 3.5vw, 36px); }
.rk-story-sprache .rk-story-copy p { margin-inline: auto; }
.rk-story-sprache .rk-story-figure { margin: 0 auto; max-width: min(950px, 100%); }
.rk-story-sprache .rk-story-figure img { aspect-ratio: 2.6; object-fit: cover; object-position: 50% 49%; border: 2px solid #265590; }
.rk-story-sprache .post-toc { display: flex; flex-wrap: wrap; padding: 13px; gap: 7px 10px; margin-bottom: 23px; border-radius: 5px; background: #edf5ff; }
.rk-story-sprache .post-toc h2 { flex-basis: 100%; margin-bottom: 2px; }
.rk-story-sprache .post-toc a { background: #fff; padding: 6px 9px; border: 1px solid #c6d6ef; border-radius: 5px; }
.rk-story-sprache .post-layout { display: block; }
.rk-story-sprache .post-content { margin: auto; }

.rk-story-hinweise .rk-story-head { background: #1b2944; color: #fff; box-shadow: 7px 7px 0 #e3b688; border-radius: 10px 24px 10px 24px; }
.rk-story-hinweise .rk-story-copy { max-width: 940px; }
.rk-story-hinweise .rk-story-copy .editorial-button { color: #182440; background: var(--rk-lemon); }
.rk-story-hinweise .post-layout { display: grid; grid-template-columns: minmax(205px,.28fr) minmax(0,1fr); gap: clamp(19px, 5vw, 50px); }
.rk-story-hinweise .post-toc { position: sticky; top: 16px; border: 2px dotted #315589; border-radius: 8px; background: #edf3fa; }
.rk-story-hinweise .post-content { border-left: 1px solid #b5c3de; padding-inline-start: clamp(10px,2.1vw,21px); }
.rk-story-hinweise .rk-story-figure { border: 2px solid #294c84; margin-block: 17px 27px; padding: 7px; background: #fff; }

.rk-story-varianten .rk-story-head { padding: clamp(15px,3vw,35px); background: #fff; border: 2px solid var(--rk-night); box-shadow: 6px 6px 0 #abbe98; }
.rk-story-varianten .rk-story-copy { padding: 0 0 21px; }
.rk-variant-board { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.rk-variant-board > div { background: #ffd1bc; border: 2px solid #63362b; border-radius: 8px; padding: 11px 15px; color: #49271e; }
.rk-variant-board > div + div { background: #c8eed8; color: #193d29; border-color: #3a6951; }
.rk-variant-board span { display: inline-grid; place-items: center; width: 39px; aspect-ratio: 1; background: #fff8f1; border-radius: 5px; font: 790 1.43rem/1 var(--rk-type); margin-inline-end: 8px; }
.rk-variant-board p { margin: 6px 0 0; }
.rk-story-varianten .post-toc { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 6px 18px; padding: 12px; border: 1px dashed #7b8d7a; background: #f4f9ef; margin: 0 0 22px; }
.rk-story-varianten .post-layout { display: block; }
.rk-story-varianten .post-content { margin: auto; }
.rk-story-varianten .rk-story-figure { background: #e9f4e3; padding: 7px; margin: 12px 0 25px; border-radius: 8px; }
.rk-story-varianten .rk-story-figure img { border-radius: 4px; }
.rk-story-varianten .post-section:nth-of-type(even) { border-left: 5px solid #748d69; padding-left: 13px; }

.rk-story-zeichen .rk-story-head { display: grid; grid-template-columns: minmax(200px, .48fr) minmax(0, 1.52fr); overflow: hidden; border-radius: 12px; }
.rk-glyph-board { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; align-content: center; padding: 11px; background: #174e57; }
.rk-glyph-board span { display: grid; place-items: center; aspect-ratio: 1; background: #ffeea4; color: #153557; border-radius: 7px; font: 800 clamp(25px, 5vw, 80px)/1 var(--rk-type); }
.rk-glyph-board span:nth-child(2),.rk-glyph-board span:nth-child(3) { background: #d0e7e5; }
.rk-story-zeichen .rk-story-figure { grid-column: 1/-1; max-width: 100%; border-top: 2px solid var(--rk-night); background: #163f40; }
.rk-story-zeichen .rk-story-figure img { aspect-ratio: 3; object-fit: cover; object-position: 48% 49%; }
.rk-story-zeichen .post-layout { display: block; }
.rk-story-zeichen .post-content { margin: auto; }
.rk-story-zeichen .post-toc { margin-block: 16px; background: #e8f4ec; border: 1px solid #739a93; }
.rk-story-zeichen .post-section h2 { border-block: 1px solid #a9beb2; padding-block: 9px; text-decoration: none; }

.rk-story-druck .rk-story-head { background: #e9defa; padding: 9px; box-shadow: 7px 7px 0 #b9a7cf; }
.rk-story-druck .rk-story-figure img { aspect-ratio: 2.7; object-fit: cover; object-position: 50% 49%; }
.rk-story-druck .rk-story-copy { margin: -17px auto 0; position: relative; z-index: 1; width: min(900px, calc(100% - 33px)); padding: clamp(16px, 3vw, 33px); background: #fff; border: 1px solid #8e7faa; border-bottom: 4px double #8e7faa; }
.rk-story-druck .post-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(205px,.31fr); }
.rk-story-druck .post-toc { position: sticky; top: 16px; border-left: 6px solid #a293be; background: #f3edfb; }
.rk-story-druck .post-content { counter-reset: print-step; }
.rk-story-druck .post-section h2 { display: flex; align-items: flex-start; gap: 8px; text-decoration: none; }
.rk-story-druck .post-section h2::before { counter-increment: print-step; content: counter(print-step, decimal-leading-zero); min-width: 39px; padding: 4px 5px; font: 750 1rem/1.2 var(--rk-type); background: #e9defa; color: #433351; border: 1px solid #8f7da8; border-radius: 4px; }

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .rk-journal-thumbnail,.rk-variant-board > div,.rk-story-note { transition: transform .18s ease, box-shadow .18s ease; }
  .rk-journal-thumbnail:hover,.rk-variant-board > div:hover,.rk-story-note:hover { transform: translateY(-4px); box-shadow: 5px 7px 0 #bac8e3; }
}
@media (max-width: 760px) {
  .rk-journal-head,.rk-story-hinweise .post-layout,.rk-story-druck .post-layout,.rk-story-zeichen .rk-story-head { grid-template-columns: 1fr; }
  .rk-story-hinweise .post-toc,.rk-story-druck .post-toc { position: static; }
  .rk-story-hinweise .post-content { padding-inline-start: 0; border: 0; }
  .rk-story-druck .post-toc { grid-row: 1; }
  .rk-glyph-board { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .rk-glyph-board span { aspect-ratio: 1.4; }
  .rk-journal-card { grid-template-columns: minmax(108px,.6fr) minmax(0,1.4fr); gap: 12px; }
}
@media (max-width: 450px) {
  .rk-journal-card { grid-template-columns: 1fr; align-items: start; gap: 9px; }
  .rk-journal-card img { max-height: 165px; object-fit: cover; }
  .rk-variant-board,.rk-story-varianten .post-toc { grid-template-columns: 1fr; }
  .rk-story-zeichen .rk-story-figure img,.rk-story-druck .rk-story-figure img,.rk-story-sprache .rk-story-figure img { aspect-ratio: auto; }
}
