/* Journal: index and guide pages. Builds on reviews.css. */
.jr-hero-dek { margin: 22px 0 0; max-width: 40rem; font: 400 clamp(1.08rem, 1.8vw, 1.3rem)/1.55 var(--label); color: rgba(246, 245, 241, 0.82); }

.jr-figure { margin: 0; }
.jr-figure figcaption { max-width: 1160px; margin: 0.8em auto 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px;
  font: italic 400 1.02rem/1.45 var(--display); color: var(--muted); }
.jr-figure .rv-credit { margin: 0; font-style: normal; align-self: center; }

.jr-article { max-width: 680px; margin: 0 auto; padding-bottom: clamp(30px, 5vw, 60px); }
.ed .jr-article h2 { margin-top: 1.7em; }
.jr-section-photo { max-width: 560px; margin: 22px 0 28px; }
.jr-section-photo img { display: block; width: 100%; max-height: 380px; aspect-ratio: 4 / 3; object-fit: cover; }
.jr-section-photo figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; margin-top: 7px; color: var(--muted); font: 400 0.75rem/1.5 var(--label); }
.jr-section-credit { flex: 0 0 auto; font-size: .6rem; letter-spacing: .08em; text-transform: uppercase; }
.jr-map-links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: -12px 0 30px; }
.jr-map-links a { color: var(--sea); font: 500 .72rem/1.4 var(--label); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid rgba(59, 111, 143,.35); padding-bottom: 4px; }
.jr-map-links a:hover { color: var(--clay); border-color: var(--clay); }

.jr-tile .plate { aspect-ratio: 4 / 3; }
.ed .jr-tile h3 { font-size: 1.7rem; line-height: 1.08; }
.ed .jr-dek { margin: 0; font: 400 0.98rem/1.55 var(--label); color: #384052; }
.jr-by { font: 400 0.75rem/1.5 var(--label); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.jr-tile[hidden], .jr-feature[hidden] { display: none; }
.jr-flight-feature[hidden] { display: none; }
.jr-flight-feature { margin-bottom: clamp(34px, 5vw, 62px); }
.jr-flight-feature .sec-head { margin-bottom: 4px; }
.jr-flight-feature .sec-head h2 { max-width: 20ch; }
.jr-flight-intro { max-width: 760px; margin: 8px 0 4px; color: var(--muted); font: 400 clamp(1rem, 1.5vw, 1.12rem)/1.6 var(--label); }
.jr-flight-feature .rv-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 18px; }
.jr-tile--text { align-content: start; min-width: 0; padding: 18px; border: 1px solid var(--rule); border-top: 2px solid var(--clay); border-radius: 12px; background: rgba(255, 255, 255, .62); }
.jr-tile--text .rv-meta { color: var(--sea); }
.ed .jr-tile--text h3 { font-size: clamp(1.35rem, 1.8vw, 1.7rem); line-height: 1.12; }
.jr-tile--text .jr-dek { font-size: .9rem; }
.jr-main.rv-main--type > .rv-hero { min-height: 0; align-content: start; }
.jr-main.rv-main--type .jr-hero-dek { max-width: 40rem; margin: 21px 0 0; color: var(--muted); font: 400 clamp(1rem, 1.4vw, 1.12rem)/1.6 var(--label); }

.ed .jr-feature .rv-q { font-style: normal; }
.jr-index .rv-filter { border-top: 0; padding-top: 0; margin-bottom: clamp(24px, 4vw, 40px); }
.ed .jr-index .rv-filter + .card { border-top: 0; }
.jr-empty { margin: 10px 0 0; font: 400 1rem/1.5 var(--label); color: var(--muted); }
.jr-empty button { cursor: pointer; border: 0; background: none; padding: 0; font: inherit; color: var(--sea); text-decoration: underline; }

.ed .jr-more { padding-top: clamp(50px, 7vw, 90px); }
.jr-more .sec-head a, .jr-drives .sec-head a { white-space: nowrap; }

/* Restrained magazine pacing: larger landscape moments alternate with
   quieter standard plates while every guide remains in the same filter set. */
.jr-index .jr-guides .rv-grid { row-gap: clamp(36px, 5vw, 64px); }
.jr-index .jr-guides .jr-tile { min-width: 0; }
.jr-index .jr-guides .jr-tile:nth-child(4n + 1) .plate { margin-bottom: 8px; }
.jr-index .jr-guides .jr-tile:nth-child(4n + 1) h3 { font-size: clamp(1.85rem, 2.6vw, 2.45rem); }
.jr-index .jr-guides .jr-tile:nth-child(4n + 2) { padding-top: clamp(20px, 4vw, 46px); }

@media (max-width: 760px) {
  .jr-drives .dv-cards { grid-template-columns: 1fr; }
  .jr-figure figcaption { display: block; }
  .jr-figure .rv-credit { display: block; margin-top: 4px; text-align: left; }
  .jr-index .jr-guides .jr-tile:nth-child(4n + 2) { padding-top: 0; }
  .jr-flight-feature .rv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 520px) {
  .jr-flight-feature .rv-grid { grid-template-columns: 1fr; }
  .jr-tile--text { padding: 16px; }
}

/* Photos inside a guide, shown uncropped */
.jr-inline { margin: 2.2em 0; }
.jr-inline img { display: block; width: 100%; height: auto; background: var(--deep); }
/* A definite width lets HTML's image ratio reserve height before lazy loading.
   Contain keeps the same uncropped portrait at the viewport-height limit. */
.jr-inline--tall img { width: 100%; max-width: 100%; max-height: min(78vh, 720px); object-fit: contain; background: transparent; margin: 0 auto; }
.jr-inline figcaption { margin-top: .6em; text-align: center; font: italic 400 1rem/1.4 var(--display); color: var(--muted); }
