


@media (min-width: 1024px) {
  html .sh:has(.sh-during) {
    --gap-p: clamp(48px, 4.8vw, 96px);
    --headh: 156px;      
    --capH: 86px;        
    --ph: min(
      clamp(360px, calc(100svh - var(--hh, 84px) - 20px - var(--headh) - 22px - var(--capH) - 14px), 800px),
      calc((100vw - 2 * var(--m) - 2 * var(--gap-p)) / 3 * 4 / 3));
    display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto auto;
    column-gap: clamp(32px, 3vw, 64px); min-height: 0; padding-top: 20px; padding-bottom: 0;
  }
  html .sh:has(.sh-during) .sh-head { grid-column: 1; grid-row: 1; display: flex; flex-direction: column-reverse; align-items: flex-start; gap: 6px; align-self: end; }
  html .sh:has(.sh-during) .sh-t { line-height: .95; margin: 0; }
  html .sh:has(.sh-during) .sh-meta { margin: 0; font-size: 13px; white-space: nowrap; }
  html .sh:has(.sh-during) .sh-foot { grid-column: 2; grid-row: 1; align-self: end; margin: 0; max-width: none;
    display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); column-gap: clamp(20px, 2vw, 40px); align-items: end; }
  html .sh:has(.sh-during) .sh-foot .sh-scope { grid-column: 1; margin: 0; font-size: clamp(19px, 1.25vw, 25px); line-height: 1.15; }
  html .sh:has(.sh-during) .sh-foot .sh-hist { grid-column: 2; margin: 0; max-width: none; justify-self: stretch;
    padding: 12px 16px 14px 18px; border-left: 2px solid var(--claret); }
  html .sh:has(.sh-during) .sh-hist-k { margin-bottom: 5px; font-size: 11px; }
  html .sh:has(.sh-during) .sh-hist-t { font-size: clamp(15px, .95vw, 18px); line-height: 1.26; }

  html .sh:has(.sh-during) .sh-pics { grid-column: 1 / -1; grid-row: 2; margin-top: 22px; width: 100%;
    display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; column-gap: var(--gap-p); align-items: start; }
  html .sh:has(.sh-during) .sh-pics figure { position: relative; width: auto; height: auto; margin: 0; }
  html .sh:has(.sh-during) .sh-pics img { display: block; width: auto; height: var(--ph); aspect-ratio: 3 / 4; object-fit: contain; max-width: none; }
  html .sh:has(.sh-during) .sh-pics figcaption { height: auto; min-height: 0; margin-top: 12px; }
  
  html .sh:has(.sh-during) .sh-pics figure + figure::before { content: "\2192"; position: absolute; z-index: 2; top: calc(var(--ph) / 2 - 22px);
    left: calc(var(--gap-p) / -2 - 22px); width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
    background: var(--c17, #F1EADD); color: var(--cl17, #4B1720); font-size: 20px; line-height: 1; box-shadow: 0 2px 14px rgba(32, 20, 22, .22); pointer-events: none; }
  html .sh:has(.sh-during) .sh-wide { grid-column: 1 / -1; grid-row: 3; }
}


@media (min-width: 1024px) {
  html[data-sh17="split"] .sh::before { clip-path: polygon(0 74%, 100% 26%, 100% 100%, 0 100%); }
}


.sh .sh-wide img { object-position: 50% 94%; }
.sh .sh-wide::after { height: 22%; background: linear-gradient(to top, rgba(10, 16, 13, .5), rgba(10, 16, 13, 0)); }


@media (max-width: 1023px) {
  html .sh { display: flex; flex-direction: column; padding: 28px 0 0; position: relative; isolation: isolate; background: var(--c17, #F1EADD); }
  html[data-sh17="split"] .sh::before { display: none; }
  html .sh .sh-head { display: flex; flex-direction: column-reverse; align-items: flex-start; gap: 8px; order: 1; padding: 0 var(--m); }
  html .sh .sh-t { font-size: clamp(52px, 15vw, 72px); line-height: .98; margin: 0; }
  html .sh .sh-meta { margin: 0; font-size: 12px; }
  html .sh .sh-foot { display: contents; }
  html .sh .sh-scope { order: 2; margin: 14px var(--m) 0; font-size: 20px; line-height: 1.18; color: var(--g17, #142A23); }

  
  html .sh .sh-pics { order: 3; position: relative; isolation: isolate; display: flex; flex-direction: row; gap: 14px; margin: 26px 0 0;
    padding: 46px var(--m) 24px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-left: var(--m);
    -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  html .sh .sh-pics::-webkit-scrollbar { display: none; }
  html .sh .sh-pics::before { content: ""; position: absolute; z-index: -1; left: 0; top: 0; bottom: 0; min-width: 100%; width: var(--rowW, 100%);
    background: var(--cl17, #4B1720); clip-path: polygon(0 28px, 100% 0, 100% 100%, 0 100%); }
  html .sh .sh-pics figure { flex: 0 0 74vw; width: 74vw; max-width: 340px; margin: 0; height: auto; scroll-snap-align: start;
    animation: none !important; opacity: 1 !important; translate: none !important; transform: none !important; display: block; }
  html .sh .sh-pics figure + figure::before { content: none; }
  html .sh .sh-pics .sh-before { order: 1; } html .sh .sh-pics .sh-during { order: 2; } html .sh .sh-pics .sh-after { order: 3; }
  html .sh .sh-pics img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: contain; max-width: none; }
  html .sh .sh-pics figcaption { height: auto; min-height: 0; margin-top: 10px; padding: 9px 12px 10px; }
  html .sh .sh-pics figcaption .cap-t { font-size: 17px; }
  html .sh .sh-pics figcaption .cap-c { font-size: 12.5px; }
  html .sh .sh-pics::after { content: ""; flex: 0 0 1px; }

  
  html .sh .sh-hist { order: 4; display: block; margin: 18px var(--m) 4px; padding: 12px 14px 13px 16px; background: var(--card17, #F8F3E8);
    border-left: 2px solid var(--cl17, #4B1720); width: auto; box-sizing: border-box; }
  html[data-sh17="split"] .sh .sh-hist { background: var(--card17, #F8F3E8); padding: 12px 14px 13px 16px; }
  html .sh .sh-hist-k { margin-bottom: 5px; font-size: 11px; }
  html .sh .sh-hist-t { font-size: 16px; line-height: 1.28; color: var(--g17, #142A23); }

  
  html .sh .sh-wide { order: 5; margin: 26px 0 0; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; background: var(--c17, #F1EADD); }
  html .sh .sh-wide::-webkit-scrollbar { display: none; }
  html .sh .sh-wide::after { display: none; }
  html .sh .sh-wide img { display: block; width: auto; max-width: none; height: min(66svh, 470px); aspect-ratio: 2122 / 1179; object-fit: cover; object-position: 50% 94%; animation: none !important; }
  html .sh .sh-wide figcaption { position: sticky; left: 0; bottom: auto; display: flex; flex-direction: column; gap: 2px; width: 100vw; box-sizing: border-box;
    padding: 12px var(--m) 20px; color: var(--g17, #142A23); text-shadow: none; background: var(--c17, #F1EADD); }
  html .sh .sh-wide .cap-t { font-size: 26px; color: var(--cl17, #4B1720); }
  html .sh .sh-wide .cap-c { font-size: 12.5px; color: rgba(32, 37, 31, .78); opacity: 1; }
}
