/* Explore, after People.com (the owner, 2026-12-03): white, a hero of one dominant story and three beside it, then rows of four cards
   (three, two, then one as the screen narrows), one of Journa's own banners after every few rows, and the same rhythm on every
   category and subcategory page. Every card: its picture, its category, a long headline, a short teaser and its Key Observation. */
.magazine, .article-more { max-width: 1240px; margin: 0 auto; }
.public-main:has(.magazine) { max-width: none; padding: 0 clamp(1rem, 3vw, 2rem) 3rem; }

/* A category's or a subcategory's head, and its tabs ("Only when someone clicks Mystery do they see: Unsolved, Local Legends ..."). */
.magazine-head { text-align: center; padding: 1.6rem 0 .4rem; }
.magazine-head h1 { font-family: "IM Fell English", "Iowan Old Style", Georgia, serif; font-weight: 400; font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1.05; margin: 0; color: #111; }
.magazine-kicker { margin: 0 0 .3rem; font: 700 .78rem/1.2 system-ui, sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.magazine-kicker a { color: #8a6a24; text-decoration: none; }
.magazine-lead { margin: .5rem auto 0; max-width: 38rem; color: #555; font-size: 1.05rem; }
.magazine-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; margin: 1rem 0 .4rem; font-family: system-ui, sans-serif; }
.magazine-tabs a { font-size: .86rem; color: #222; text-decoration: none; border: 1px solid #d6d6d6; border-radius: 999px; padding: .3rem .85rem; }
.magazine-tabs a:hover, .magazine-tabs a:focus-visible { border-color: #0a1424; }
.magazine-tabs a[aria-current="page"] { background: #0a1424; border-color: #0a1424; color: #fff; }
.magazine-none { text-align: center; color: #666; padding: 3rem 0; }
.magazine-how { max-width: 46rem; margin: 2.4rem auto 0; text-align: center; color: #777; font-family: system-ui, sans-serif; font-size: .82rem; }

/* What every card says. */
.card-kicker { margin: .55rem 0 .2rem; font: 700 .72rem/1.2 system-ui, -apple-system, "Segoe UI", sans-serif; letter-spacing: .1em; text-transform: uppercase; }
.card-kicker a { color: #8a6a24; text-decoration: none; }
.card-kicker a:hover, .card-kicker a:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
.card-teaser { margin: .35rem 0 0; color: #444; font-size: .95rem; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-observation { margin: .45rem 0 0; padding-left: .6rem; border-left: 3px solid #d6b56c; color: #333; font-size: .88rem; line-height: 1.4; font-style: italic; }

/* The hero: one dominant story with a large picture, three beside it. */
.mag-hero { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 1.6rem; padding: 1.4rem 0 1.6rem; border-bottom: 1px solid #e6e6e6; }
.mag-hero-picture, .mag-hero-side-picture, .article-card-picture { display: block; overflow: hidden; background: #f1efea; text-decoration: none; }
.mag-hero-picture { aspect-ratio: 16 / 9; border-radius: 4px; }
.mag-hero-picture img, .mag-hero-side-picture img, .article-card-picture img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.mag-hero-picture span, .mag-hero-side-picture span, .article-card-picture span { display: flex; align-items: center; justify-content: center; height: 100%; font: 600 .78rem system-ui, sans-serif; letter-spacing: .18em; text-transform: uppercase; color: #9a948a; }
.mag-hero-lead h2 { font-family: "IM Fell English", "Iowan Old Style", Georgia, serif; font-weight: 400; font-size: clamp(1.7rem, 3.2vw, 2.6rem); line-height: 1.12; margin: .2rem 0 0; }
.mag-hero-lead h2 a, .mag-hero-side h3 a, .article-card h3 a { color: #111; text-decoration: none; }
.mag-hero-lead h2 a:hover, .mag-hero-side h3 a:hover, .article-card h3 a:hover, .mag-hero-lead h2 a:focus-visible, .mag-hero-side h3 a:focus-visible, .article-card h3 a:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
.mag-hero-lead .card-teaser { font-size: 1.08rem; -webkit-line-clamp: 4; }
.mag-hero-side { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1.2rem; }
.mag-hero-side li { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: .9rem; align-items: start; padding-bottom: 1.2rem; border-bottom: 1px solid #eee; }
.mag-hero-side li:last-child { border-bottom: 0; padding-bottom: 0; }
.mag-hero-side-picture { aspect-ratio: 4 / 3; border-radius: 3px; }
.mag-hero-side .card-kicker { margin-top: 0; }
.mag-hero-side h3 { margin: 0; font-size: 1.02rem; line-height: 1.3; font-weight: 700; font-family: system-ui, -apple-system, "Segoe UI", sans-serif; }
@media (max-width: 860px) { .mag-hero { grid-template-columns: minmax(0, 1fr); } }

/* The rows of cards: four, three, two, one. */
.article-grid { list-style: none; margin: 1.8rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem 1.5rem; }
@media (max-width: 1100px) { .article-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 800px) { .article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .article-grid { grid-template-columns: minmax(0, 1fr); } }
.article-card { display: flex; flex-direction: column; min-width: 0; }
.article-card-picture { aspect-ratio: 3 / 2; border-radius: 3px; }
.article-card:hover .article-card-picture img, .mag-hero-lead:hover .mag-hero-picture img, .mag-hero-side li:hover img { transform: scale(1.03); }
@media (prefers-reduced-motion: reduce) { .mag-hero-picture img, .mag-hero-side-picture img, .article-card-picture img { transition: none; transform: none !important; } }
.article-card h3 { margin: 0; font: 700 1.06rem/1.3 system-ui, -apple-system, "Segoe UI", sans-serif; color: #111; }

/* Journa's own banners between rows: a full-width band, never a popup or an overlay. */
.banner { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem 2rem; flex-wrap: wrap; margin: 2.4rem 0 .4rem; padding: 1.6rem clamp(1.2rem, 3vw, 2.4rem); background: #0a1424; color: #f4ecdb; border-radius: 4px; }
.banner h2 { margin: 0; font-family: "IM Fell English", "Iowan Old Style", Georgia, serif; font-weight: 400; font-size: clamp(1.5rem, 2.8vw, 2.1rem); line-height: 1.15; color: #fff; }
.banner-line { margin: .2rem 0 0; font-family: "IM Fell English", "Iowan Old Style", Georgia, serif; font-size: clamp(1.15rem, 2vw, 1.45rem); color: #ecd395; }
.banner-lines { list-style: none; margin: 0; padding: 0; font-family: "IM Fell English", "Iowan Old Style", Georgia, serif; font-size: clamp(1.15rem, 2vw, 1.5rem); line-height: 1.3; }
.banner-lines a { color: #fff; text-decoration: none; }
.banner-lines a:hover, .banner-lines a:focus-visible { color: #ecd395; text-decoration: underline; text-underline-offset: 3px; }
.banner-text { margin: .5rem 0 0; color: rgba(244, 236, 219, .82); max-width: 40rem; font-size: 1rem; }
.banner-button { flex: none; font: 600 .95rem system-ui, sans-serif; color: #0a1424; background: #ecd395; text-decoration: none; border-radius: 999px; padding: .65rem 1.3rem; white-space: nowrap; }
.banner-button:hover, .banner-button:focus-visible { background: #fff; color: #0a1424; }

/* One article: a column made for reading, then the roads on. */
.article-page { max-width: 46rem; margin: 0 auto; padding-top: 1.6rem; }
.article-page h1 { font-family: "IM Fell English", "Iowan Old Style", Georgia, serif; font-weight: 400; font-size: clamp(2rem, 4.4vw, 3rem); line-height: 1.1; margin: .2rem 0 .6rem; color: #111; }
.article-page h2 { margin-top: 2rem; }
.article-lead { font-size: 1.25rem; line-height: 1.5; color: #333; }
.article-observation { margin: 1rem 0; padding: .8rem 1rem; background: #faf6ec; border-left: 4px solid #d6b56c; color: #333; }
.article-hero { margin: 1.4rem 0; }
.article-hero img { width: 100%; border-radius: 4px; display: block; }
.article-hero figcaption, .article-sources li { font-family: system-ui, sans-serif; font-size: .82rem; color: #777; }
.article-hero figcaption { margin-top: .4rem; }
.article-expedition { background: #f7f6f3; border: 1px solid #e4e1da; border-radius: 8px; padding: .4rem 1.1rem 1rem; margin-top: 1.8rem; }
.article-related { list-style: none; margin: .6rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 560px) { .article-related { grid-template-columns: minmax(0, 1fr); } }
.article-related li { background: #f7f6f3; border: 1px solid #e4e1da; border-radius: 8px; padding: .8rem 1rem .9rem; }
.article-related h3 { font-size: 1.1rem; margin: .1rem 0 .3rem; }
.article-related p { margin: 0; }
.article-related .card-kicker { color: #777; font-weight: 400; letter-spacing: .04em; text-transform: none; }
.article-doorways { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 2rem; font-family: system-ui, sans-serif; font-size: .82rem; }
.article-doorways a, .article-doorways span { border: 1px solid #d6d6d6; border-radius: 999px; padding: .25rem .75rem; color: #333; text-decoration: none; }
.article-doorways a:hover, .article-doorways a:focus-visible { border-color: #0a1424; }
.article-sources ul { padding-left: 1.1rem; overflow-wrap: anywhere; }
.article-more { margin-top: 3rem; padding-top: 1.4rem; border-top: 1px solid #e6e6e6; }
.article-more > h2 { font-family: "IM Fell English", "Iowan Old Style", Georgia, serif; font-weight: 400; font-size: 1.9rem; margin: 0; }
.public-main:has(.article-page) { max-width: none; padding: 0 clamp(1rem, 3vw, 2rem) 3rem; }

/* Search. */
.search-form { display: flex; gap: .5rem; max-width: 34rem; margin: 1rem auto 0; }
.search-form input { flex: 1; font: inherit; padding: .65rem .9rem; border: 1px solid #cfcfcf; border-radius: 999px; }
.search-form button { font: 600 .95rem system-ui, sans-serif; color: #fff; background: #0a1424; border: 0; border-radius: 999px; padding: .6rem 1.2rem; cursor: pointer; }
.search-said { text-align: center; color: #666; min-height: 1.4em; margin-top: 1rem; }
