/* AU's look, agreed at the end of the homepage phase (round 8). Shared by every page from here on: loaded after blocks.css, pop6.css and pop7.css. */
:root { --r: 32px; }

/* "This week" line, sitting right after the About button */
@media (min-width: 64.01em) {
  .top { flex-wrap: nowrap; }
  .top .nav { flex: none; }
  .top .search { margin-left: auto; flex: none; }
}
.week { display: flex; align-items: center; gap: 0.6rem; flex: 0 1 31rem; min-width: 0; margin: 0; font-family: var(--type); font-size: 0.8rem; line-height: 1.3; padding-left: 1rem; border-left: 2px solid var(--ink); }
.week b { flex: none; font-family: "Archivo", sans-serif; font-weight: 800; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.04em; background: var(--ink); color: var(--c5); padding: 0.25rem 0.6rem; border-radius: 999px; }

/* List from AT: five poster tiles with number badges, title and year beneath */
.big { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.9rem; }
.big li a { flex-direction: column; align-items: stretch; gap: 0.3rem; border-top: 0; padding: 0; }
.big figure { position: relative; aspect-ratio: 3 / 4; width: 100%; }
.big .n { position: absolute; top: 0.5rem; left: 0.5rem; display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--c1); color: var(--ink); font-family: "Archivo Black", sans-serif; font-size: 1rem; border: 3px solid var(--ink); }
.big .t { font-size: 1.15rem; line-height: 1.05; }
.big .y { margin-left: 0; }
.big a:hover .t { transform: none; }

@media (max-width: 44em) { .big { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 64em) {
  .top { flex-wrap: wrap; }
  .week { order: 5; flex: 1 1 100%; border-left: 0; padding-left: 0; }
}

/* Compact sticky bar on tablets and phones, so it never eats the screen */
@media (max-width: 64em) {
  .top { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 0.55rem 1rem; padding: 0.6rem clamp(0.75rem, 3vw, 1.5rem); }
  .top .search { margin-left: 0; width: auto; grid-column: 2; grid-row: 1; }
  .top .search input { width: 100%; padding-block: 0.3rem; }
  .top .nav { grid-column: 1 / -1; grid-row: 2; overflow-x: auto; scrollbar-width: none; margin: 0 calc(clamp(0.75rem, 3vw, 1.5rem) * -1); padding: 0 clamp(0.75rem, 3vw, 1.5rem); }
  .top .nav::-webkit-scrollbar { display: none; }
  .top .nav ul { flex-wrap: nowrap; }
  .top .nav a { white-space: nowrap; padding: 0.3rem 0.75rem; font-size: 0.85rem; }
  .week { grid-column: 1 / -1; grid-row: 3; font-size: 0.72rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
  .week b { display: inline-block; margin-right: 0.4rem; font-size: 0.65rem; padding: 0.15rem 0.5rem; }
}

/* Phone landing: stack the picture above the headline instead of squeezing two columns */
@media (max-width: 52em) {
  .blk--1 { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .blk--1 .cut { grid-row: 2; grid-column: 1; justify-self: stretch; width: 100%; max-width: none; max-height: none; aspect-ratio: 16 / 10; }
  .blk--1 h1 { grid-row: 3; font-size: clamp(2.4rem, 11vw, 3.6rem); }
  .blk--1 .dek { grid-row: 4; }
}

/* Top-bar links glide to their section instead of jumping, and stop just below the sticky bar.
   (base.css switches smooth scrolling off for people who ask for reduced motion.) */
html { scroll-behavior: smooth; }
main [id] { scroll-margin-top: 104px; }
@media (max-width: 64em) { main [id] { scroll-margin-top: 148px; } }

/* Phones: logo stays stacked (wild / about / film), and the "This week" line is hidden to keep the bar short */
@media (max-width: 44em) {
  .mark { font-size: 1.05rem; line-height: 0.95; }
  .top .week { display: none; }
}

/* ---------- dropdowns in the site's style (select-pop.js): pill button + rounded list, yellow on hover */
.dd { position: relative; }
.dd__native { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.dd__btn { display: block; width: 100%; text-align: left; border: 3px solid var(--ink); border-radius: 999px; padding: 0.55rem 2.4rem 0.55rem 1rem; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23111' stroke-width='2.5'/%3E%3C/svg%3E") no-repeat right 1rem center; font: inherit; font-weight: 600; color: var(--ink); cursor: pointer; transition: background-color 0.2s; }
.dd__btn:hover, .dd.is-open .dd__btn { background-color: var(--c1); }
.dd.is-open .dd__btn { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 7l5-5 5 5' fill='none' stroke='%23111' stroke-width='2.5'/%3E%3C/svg%3E"); }
.dd__btn:focus-visible, .dd__list:focus-visible { outline: 3px solid var(--c2); outline-offset: 2px; }
.dd__list { position: absolute; z-index: 40; top: calc(100% + 0.4rem); left: 0; right: 0; min-width: 12rem; max-height: 20rem; overflow-y: auto; padding: 0.4rem; background: #fff; color: var(--ink); border: 3px solid var(--ink); border-radius: 22px; box-shadow: 0 6px 0 var(--ink); list-style: none; margin: 0; }
.dd__list li { padding: 0.5rem 0.8rem; border-radius: 999px; font-weight: 600; cursor: pointer; transition: background-color 0.15s; }
.dd__list li.is-active { background: var(--c1); }
.dd__list li[aria-selected="true"] { background: var(--ink); color: var(--c1); }
.dd__list li[aria-selected="true"].is-active { background: var(--ink); }
.dd__list li[aria-selected="true"]::after { content: " ✓"; }
.ctl--bar .dd__btn { padding-block: 0.4rem; }
.dd--up .dd__list { top: auto; bottom: calc(100% + 0.4rem); box-shadow: 0 -6px 0 var(--ink); }
/* let the open list show outside the filter rail / sticky filter bar */
.rail { overflow: visible; }
.bar-wrap { overflow: clip visible; }
.lctl .ctl__group { min-width: 0; }

/* ---------- tidy-ups (2026-10-02) */
/* Long reads cards fade to blue like the rest of the site's hovers, instead of switching instantly */
.ess a { transition: background-color 0.25s, color 0.25s; }
/* a footer about 60% shorter */
.foot { padding: 0.85rem var(--gut); gap: 0.2rem 1rem; font-size: 0.7rem; line-height: 1.35; }

/* film titles in a post that link to their review (written in italics in the CMS) */
.film-link { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.18em; transition: background-color 0.2s; }
.film-link:hover { background: var(--c1); }

/* genre tags (homepage about section) fade on hover like the other buttons */
.tags a { transition: background-color 0.25s, color 0.25s, border-color 0.25s; }

/* "coming soon": what a section shows while there's nothing in it yet */
.soon { max-width: 40rem; padding: clamp(1.4rem, 3vw, 2.2rem); background: #fff; color: var(--ink); border: 4px solid var(--ink); border-radius: var(--r); box-shadow: 8px 8px 0 var(--ink); }
.soon__t { font-family: "Archivo Black", sans-serif; font-size: clamp(1.7rem, 3.6vw, 2.6rem); line-height: 1; letter-spacing: -0.03em; margin: 0 0 0.6rem; }
.soon__p { font-size: 1.1rem; line-height: 1.45; margin: 0; }
.soon a { font-weight: 700; text-decoration: underline; text-underline-offset: 0.15em; text-decoration-thickness: 2px; transition: background-color 0.25s; }
.soon a:hover { background: var(--c1); }
.cut--logo { background: var(--c5); }
.cut--logo img { object-fit: contain; }
@media (max-width: 44em) { .soon { box-shadow: 5px 5px 0 var(--ink); } }
