/* =====================================================================
   THE GRID -- "The Members' Area, rebuilt" feature block
   =====================================================================
   The same block on the home page, the subscribe page and /free, telling
   visitors about the rebuilt Members Area (October 2026): issues by
   season, a contents page per issue, the print menu, and the reader,
   PDF and offline reading that were already there.

   Its own file rather than style.v67.css: that stylesheet is linked from
   26 pages and changing it means a new filename on all of them (see
   MAINTENANCE.md 1.2 step 7). This file is precached by sw.js, so bump
   VERSION there whenever it changes.

   Dark by default, on the site's own tokens. Add .section-light to the
   <section> for the light variant (used on /free, under its dark hero).
*/
.af-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: 48px;
  align-items: center;
}
.af-copy h2 { margin: 0 0 14px; text-wrap: balance; }
.af-copy .lead { margin: 0 0 18px; }
.af-latest {
  margin: 0 0 26px; padding: 12px 14px; border-left: 3px solid var(--red);
  background: rgba(232, 52, 42, .08); font-size: .95rem; line-height: 1.55; color: var(--text);
}
.af-latest strong { color: var(--white); }

.af-list { list-style: none; margin: 0 0 30px; padding: 0; display: grid; gap: 20px; }
.af-list li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; align-items: start; }
.af-icon {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(232, 52, 42, .12); color: var(--red);
}
.af-icon svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.af-list h3 { margin: 2px 0 4px; font-size: 1.02rem; letter-spacing: 0; text-transform: none; font-family: 'Inter', Arial, sans-serif; font-weight: 700; color: var(--white); }
.af-list p { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.6; }
.af-list .af-still h3 { color: var(--text); }

.af-shots { position: relative; margin: 0; padding-bottom: 54px; }
.af-shot-main {
  display: block; width: 100%; height: auto; border-radius: 8px;
  border: 1px solid var(--line); box-shadow: 0 24px 50px rgba(0, 0, 0, .55);
}
.af-shot-float {
  position: absolute; right: -18px; bottom: 0; width: 52%; height: auto; border-radius: 8px;
  border: 1px solid #3a3a3a; box-shadow: 0 18px 40px rgba(0, 0, 0, .6);
}
.af-shots figcaption { margin-top: 14px; font-size: .85rem; color: var(--muted); max-width: 44%; }
.af-new {
  display: inline-block; background: var(--red); color: var(--white); font-size: .68rem; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase; padding: 3px 8px; border-radius: 3px; margin-right: 8px;
  vertical-align: 2px;
}

/* Light variant */
.section-light .af-list h3 { color: #111; }
.section-light .af-list .af-still h3 { color: #111; }
.section-light .af-list p { color: #4a4a4a; }
.section-light .af-shots figcaption { color: #6b6b6b; }
.section-light .af-latest { color: #333; }
.section-light .af-latest strong { color: #111; }
.section-light .af-shot-main { border-color: #d8d5cf; box-shadow: 0 24px 50px rgba(0, 0, 0, .22); }
.section-light .af-shot-float { border-color: #d8d5cf; box-shadow: 0 18px 40px rgba(0, 0, 0, .28); }

@media (max-width: 900px) {
  .af-grid { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .af-shots { order: -1; padding-bottom: 0; }
  .af-shot-float { display: none; }
  .af-shots figcaption { max-width: none; }
}
