/* Editorial design shared by Vujer's archive and current editions. */
:root {
  --edition-navy: #1c3159;
  --edition-line: #d6dce6;
  --edition-focus: #986100;
}
.mast .logo { image-rendering: auto; }
.primary > a, .mobile-sections > summary { text-underline-offset: .18em; }
:is(.primary, .mobile-sections) :focus-visible,
.subbar :focus-visible { outline: 2px solid #ffd481; outline-offset: 2px; }
.subpage h1 { text-wrap: pretty; }
.original-text { max-width: 72ch; line-height: 1.67; }
.edition-film-hero {
  display: grid;
  grid-template-columns: minmax(70px, 135px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(12px, 3vw, 30px);
  padding: clamp(12px, 2.4vw, 24px);
  border-top: 3px solid #bb893f;
  background: #f4f6fa;
  margin-bottom: 17px;
}
.edition-poster { width: 100%; max-height: 200px; aspect-ratio: 2 / 3; object-fit: contain; }
.edition-poster-empty, .recent-poster-empty {
  display: grid;
  place-items: center;
  background: #e4e9f0;
  border: 1px solid #ccd6e3;
}
.edition-poster-empty span {
  width: 36%; height: 50%; border: 1px solid #7f8da7;
  border-inline-width: 3px; border-radius: 2px;
}
.edition-film-hero h1 {
  background: none; margin: 0; padding: 0; color: var(--edition-navy);
  font-size: clamp(1.45rem, 3.7vw, 2.7rem); line-height: 1.12; overflow-wrap: break-word;
}
.edition-film-meta { margin: 7px 0 0; color: #536078; }
.edition-original-rating { margin: 8px 0 3px; color: var(--edition-navy); font-weight: 700; }
.subpage:has(>.edition-film-hero) { width: min(100%, 49rem); }
.recent-list li {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: center;
  gap: 12px; padding: 11px 0;
  border-bottom: 1px solid var(--edition-line);
}
.recent-list li h3 { margin: 0 0 4px; font-size: 1.05rem; }
.recent-list .recent-poster { width: 52px; height: 78px; object-fit: contain; }
.recent-list .rating { margin-top: 4px; }
.blog-index { padding-block: 8px; }
.blog-index a { text-underline-offset: .18em; }
.blog-index :is(h2, h3) { margin: 14px 0 5px; color: var(--edition-navy); }
.blog-index li { margin-block: 7px; }
.blog-index .by { color: #536078; font-size: .84rem; }
@media (max-width: 740px) {
  .edition-film-hero { grid-template-columns: minmax(62px, 25%) minmax(0, 1fr); }
  .recent-list li { grid-template-columns: 44px minmax(0, 1fr); gap: 9px; }
  .recent-list .recent-poster { width: 44px; height: 66px; }
}
.primary .mobile-sections { display: none; }
.primary .mobile-sections, .subbar .secondary-sections { position: relative; margin: 0; }
.subbar .secondary-sections summary {
  color: #fff; cursor: pointer; font-size: .875rem;
  text-decoration: underline; text-underline-offset: .18em;
}
:is(.mobile-sections, .secondary-sections)>div {
  z-index: 5; position: absolute; top: calc(100% + 2px);
  width: max-content; max-width: min(75vw, 310px); min-width: 150px;
  padding: 6px; background: #fcfbf6; border: 1px solid #bfc8d6;
  box-shadow: 0 5px 14px #15264e32;
}
.primary .mobile-sections>div { right: 0; }
.subbar nav .secondary-sections>div a, .primary .mobile-sections>div a {
  display: flex; align-items: center; min-height: 44px; padding: 6px 9px;
  border: 0; border-radius: 0; background: none; box-shadow: none; font-size: .875rem;
  color: var(--edition-navy); text-align: start; text-decoration: underline; white-space: normal;
}
@media (max-width: 740px) {
  .mast .primary:has(.mobile-sections) { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .mast .primary>a[data-mobile-extra] { display: none; }
  .primary .mobile-sections { display: block; }
  .primary .mobile-sections summary {
    display: grid; place-items: center; min-height: 34px; padding: 3px 0;
    border: 1px solid #bab8a9; border-bottom: 0; border-radius: 9px 9px 0 0;
    background: linear-gradient(#fff, #e0dfd3); color: #46483f;
    cursor: pointer; font: bold .875rem/1.2 Arial, sans-serif;
  }
  .mast .primary > a[aria-current] { background: linear-gradient(#48628e, #1a356e); }
  .subbar .secondary-sections summary { font-size: .8125rem; }
}
@media (max-width: 740px) {
  .subbar nav { position: relative; }
  .subbar .secondary-sections { position: static; }
  .subbar .secondary-sections>div { inset-inline: 0; width: auto; max-width: none; }
  .primary .mobile-sections:has(a[aria-current]) summary { background: #244371; color: #fff; }
}
