/* ============================================================
   travel-journal.css — TRAVEL JOURNAL page-specific styles.
   Shared chrome + hero + primitives live in /site.css.
   ============================================================ */

/* Taller hero photo than the default 840 (mockup photo runs ~981px), and the
   journal hero title is larger than the standard 80px h1 (measured ~106px). */
.hero { height: 980px; }
.hero-content h1 { font-size: 106px; line-height: 110px; }

/* ---- JOURNAL SPLIT: picks rail left, two-column article grid right ---- */
.journal-split { display: grid; grid-template-columns: 470px 1fr; gap: 0 48px; align-items: start; }
.picks-col { display: flex; flex-direction: column; gap: 28px; }
/* "Our picks" + the category chips share one row above the split, so the first
   pick card and the first grid card start on the same line. */
.journal-head { display: flex; align-items: center; gap: 18px; margin-bottom: 26px; }
.picks-title {
  font-family: var(--sans); font-weight: 600;
  font-size: 28px; line-height: 34px; letter-spacing: -0.03em;
  color: var(--ink); margin: 0 auto 0 0;
}
.pick-card { position: relative; display: block; overflow: hidden; isolation: isolate; }
.pick-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .pick-card img { transition: scale .8s cubic-bezier(.16, 1, .3, 1); }
  .pick-card:hover img { scale: 1.05; }
}
.pick-overlay {
  position: absolute; inset: auto 0 0 0; padding: 130px 26px 26px;
  background: linear-gradient(to top, rgba(15,15,15,.92), rgba(15,15,15,.55) 55%, rgba(15,15,15,0));
  color: var(--white);
}
.pick-card-title {
  font-family: var(--serif); font-weight: 400;
  font-size: 30px; line-height: 37px; letter-spacing: -0.02em;
  margin: 0 0 12px;
}
.pick-card .read-more { color: var(--white); font-size: 15px; }
.journal-main .post-grid { grid-template-columns: repeat(2, 1fr); }
/* .read-more is shared in site.css */

/* ---- CATEGORY FILTER ---- */
.category { padding: 30px 0 34px; }
.category-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.category-label { font-size: 22px; font-weight: 500; letter-spacing: -0.03em; color: var(--ink); margin-right: auto; }
.chips { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--sand); color: var(--ink);
  font-size: 15px; letter-spacing: -0.02em;
  border-radius: 8px; padding: 11px 18px; white-space: nowrap;
  /* colour delay: the label waits for the navy sweep panel (site.css .chip::before)
     to arrive underneath before flipping white */
  transition: background .15s ease, color .18s ease .1s, box-shadow .25s ease;
}
.chip:hover { background: #efe6d6; }
.chip.active { background: var(--navy); color: var(--white); }
.chip .diamond { width: 9px; height: 9px; transform: rotate(45deg); background: var(--white); border-radius: 1px; }

/* ---- POST GRID (cards shared in site.css; just this page's section padding) ---- */
.posts { padding: 40px 0 30px; }
.posts .posts-more { padding-bottom: 70px; }

/* ---- RESPONSIVE ---- */
@media (max-width: 1180px) {
  .journal-split { grid-template-columns: 390px 1fr; gap: 0 36px; }
}
@media (max-width: 1024px) {
  .category-row { flex-direction: column; align-items: flex-start; gap: 14px; }
  /* stacked: filters first, then the Our picks title */
  .journal-head { flex-direction: column-reverse; align-items: flex-start; gap: 18px; }
  .chips { justify-content: flex-start; }
}
@media (max-width: 900px) {
  .hero { height: 680px; }
  /* rail moves above the grid; cards pair up */
  .journal-split { grid-template-columns: 1fr; gap: 36px 0; }
  .picks-col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
  .journal-main .post-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .picks-col, .journal-main .post-grid { grid-template-columns: 1fr; }
}

/* fetch-swap loading state for the results region */
.pjax-loading { opacity: .45; pointer-events: none; transition: opacity .15s ease; }

/* Pick badges: the featured lead wears footer-black; the others a ghost
   outline carrying their category. */
.pick-flag {
  position: absolute; top: 18px; left: 18px; z-index: 1;
  background: #0c0c0c; color: var(--white);
  font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 7px 14px; border-radius: 8px;
}
.pick-flag-ghost {
  /* readable on bright imagery: faint tint + soft shadows behind the
     white border and label */
  background: rgba(15, 15, 15, .11);
  border: 1px solid rgba(255, 255, 255, .85);
  color: var(--white);
  text-shadow: 0 1px 2px rgba(0, 0, 0, .45);
  box-shadow: 0 1px 6px rgba(0, 0, 0, .25);
}

/* the featured lead pick reads a level up from the rest of the rail */
.pick-card-featured .pick-overlay {
  padding-top: 280px;
  background: linear-gradient(to top, rgba(15,15,15,.94), rgba(15,15,15,.62) 42%, rgba(15,15,15,0));
}
.pick-card-featured .pick-card-title { font-size: 48px; line-height: 56px; }
@media (max-width: 760px) {
  .pick-card-featured .pick-card-title { font-size: 32px; line-height: 39px; }
}

/* all journal imagery carries a 2px radius (cards + their zoom wrappers) */
.pick-card, .pick-card img,
.post-media, .post-media img,
.post-grid .post > img { border-radius: 2px; }
