/* =========================================================================
   WW1AHT MASTER — HOME (front page + /start/ social hub)
   ========================================================================= */

/* ---- Hero 1a (full-bleed) --------------------------------------------- */
.hero-1a { position: relative; height: 520px; overflow: hidden; background: var(--primary-dark); }
.hero-1a__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-1a__scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,30,46,0.86) 0%, rgba(20,30,46,0.55) 45%, rgba(20,30,46,0.15) 100%); }
.hero-1a__inner { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: center; }
.hero-1a .hero__text { max-width: 620px; color: #fff; }

/* ---- Hero 1b (split) --------------------------------------------------- */
.hero-1b__grid { display: grid; grid-template-columns: 1.05fr 1fr; border-radius: 5px; overflow: hidden; border: 1px solid var(--line); margin-block: var(--space-xl) 0; }
.hero-1b__panel { background: var(--primary); color: var(--bg); padding: 54px 46px; display: flex; flex-direction: column; justify-content: center; }
.hero-1b__panel .hero__text { color: var(--bg); }
.hero-1b__photo { position: relative; min-height: 440px; background-image: repeating-linear-gradient(135deg, rgba(42,62,92,0.05) 0 11px, rgba(42,62,92,0.1) 11px 22px); }
.hero-1b__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---- Hero shared text -------------------------------------------------- */
.hero__eyebrow { font-size: 0.8rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.hero__text h1 { color: #fff; font-size: clamp(2.4rem, 5.5vw, 4rem); line-height: 1.02; margin: 0 0 18px; }
.hero-1b__panel .hero__text h1 { color: var(--bg); font-size: clamp(2.2rem, 5vw, 3.5rem); }
.hero__sub { font-size: 1.2rem; line-height: 1.6; margin: 0 0 28px; color: rgba(255, 255, 255, 0.9); }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__cta .btn { padding: 14px 30px; font-size: 1.05rem; }
.btn--onhero { border: 2px solid rgba(255, 255, 255, 0.7); background: rgba(255, 255, 255, 0.08); color: #fff; }
.btn--onhero:hover { background: rgba(255, 255, 255, 0.18); color: #fff; }
.btn--accent { background: var(--accent); color: var(--primary); border: none; }
.btn--accent:hover { background: var(--hover-accent); color: var(--primary); }

/* ---- Conversion band --------------------------------------------------- */
.conv-band { background: var(--surface); border-bottom: 1px solid var(--line); }
/* Column count follows the Homepage Journeys menu — 3, 4 or 5 all sit evenly. */
.conv-band--1a .conv-grid { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
.conv-band--1a .conv-cell { padding: 28px 22px; border-right: 1px solid var(--line); }
.conv-band--1a .conv-cell:last-child { border-right: 0; }
.conv-band--1b { background: transparent; border: 0; }
.conv-band--1b .conv-grid { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 16px; padding-bottom: var(--space-xl); }
.conv-band--1b .conv-cell { background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: var(--radius); padding: 24px 20px; display: flex; flex-direction: column; }
.conv-cell h3 { font-size: 1.4rem; margin: 0 0 6px; color: var(--primary); }
.conv-cell p { margin: 0 0 12px; font-size: 0.92rem; color: var(--muted); flex: 1; }
.conv-cell a { font-weight: 600; font-size: 0.9rem; color: var(--accent-ink); text-decoration: none; }

/* ---- On this day 1a ---------------------------------------------------- */
.otd-1a__grid { display: grid; grid-template-columns: 340px 1fr; gap: var(--space-lg); align-items: center; background: var(--primary); border-radius: 5px; overflow: hidden; color: var(--bg); }
.otd-1a__media { min-height: 230px; display: grid; place-items: center; background-image: repeating-linear-gradient(135deg, rgba(42,62,92,0.05) 0 11px, rgba(42,62,92,0.1) 11px 22px); }
.otd-1a__media img { width: 100%; height: 100%; object-fit: cover; }
.otd-1a__body { padding: 30px 34px 30px 0; }
.otd-1a__body .hero__eyebrow { color: var(--accent); }
.otd-1a__body h2 { color: var(--bg); font-size: 2.1rem; line-height: 1.08; margin: 0 0 10px; }
.otd-1a__body p { color: rgba(255, 255, 255, 0.88); max-width: 60ch; }
.otd-1a__body a { color: var(--accent); font-weight: 600; text-decoration: none; }

/* ---- On this day 1b + latest news ------------------------------------- */
.otd-1b { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.otd-1b__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--space-xl); }
.otd-1b__feature { aspect-ratio: 16 / 7; border-radius: var(--radius); margin-bottom: 16px; background-image: repeating-linear-gradient(135deg, rgba(42,62,92,0.05) 0 11px, rgba(42,62,92,0.1) 11px 22px); display: grid; place-items: center; overflow: hidden; }
.otd-1b__feature img { width: 100%; height: 100%; object-fit: cover; }
.news-list { display: flex; flex-direction: column; gap: 16px; }
.news-list__item { display: flex; gap: 14px; align-items: flex-start; padding-bottom: 14px; border-bottom: 1px dashed var(--line); text-decoration: none; }
.news-list__thumb { width: 72px; height: 56px; flex: none; border-radius: 2px; background-image: repeating-linear-gradient(135deg, rgba(42,62,92,0.05) 0 11px, rgba(42,62,92,0.1) 11px 22px); display: grid; place-items: center; overflow: hidden; }
.news-list__thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-list__date { font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-ink); }
.news-list__title { font-family: var(--font-heading); font-weight: var(--fw-heading); font-size: 1.15rem; color: var(--primary); line-height: 1.15; margin: 2px 0 0; }

/* ---- Home featured grid ------------------------------------------------ */
.home-featured { padding-block: var(--space-xl); }

/* ---- Start Hub (/start/) ----------------------------------------------- */
.start-hub { background: var(--primary); min-height: 100vh; padding: 32px 18px 56px; display: flex; justify-content: center; }
.start-col { width: 100%; max-width: 480px; display: flex; flex-direction: column; align-items: center; }
.start-logo { width: 108px; height: 108px; filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.4)); border-radius: 50%; }
.start-name { font-family: var(--font-heading); font-weight: var(--fw-heading); font-size: 2rem; line-height: 1.1; text-align: center; color: var(--bg); margin: 18px 0 6px; }
.start-tag { color: var(--accent); font-size: 0.82rem; letter-spacing: 0.2em; text-transform: uppercase; text-align: center; }
.start-intro { color: rgba(255, 255, 255, 0.82); font-size: 1rem; text-align: center; max-width: 40ch; margin: 10px 0 26px; }
.link-row { width: 100%; display: flex; align-items: center; gap: 14px; border-radius: var(--radius); font-weight: 600; margin-bottom: 12px; padding: 15px 18px; background: var(--surface); color: var(--primary); border: 1px solid var(--accent); font-size: 1.04rem; text-decoration: none; transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease); }
.link-row:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(42, 62, 92, 0.16); }
.link-row--donate { background: var(--donate); color: #fff; font-size: 1.08rem; padding: 16px 18px; border-color: var(--donate); }
.link-row__badge { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--primary); color: var(--accent); font-family: var(--font-heading); font-weight: 700; }
.link-row--donate .link-row__badge { background: rgba(255, 255, 255, 0.18); color: #fff; }
.link-row__label { display: flex; flex-direction: column; line-height: 1.2; }
.link-row__label small { font-weight: 400; font-size: 0.82rem; color: var(--muted); }
.link-row--donate .link-row__label small { color: rgba(255, 255, 255, 0.8); }
.link-row__arrow { margin-left: auto; color: var(--accent-ink); }
.link-row--donate .link-row__arrow { color: rgba(255, 255, 255, 0.7); }
.start-social { display: flex; gap: 10px; margin: 8px 0 22px; }
.start-social a { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--accent); display: grid; place-items: center; color: var(--accent); font-size: 0.8rem; font-weight: 600; text-decoration: none; }
.start-footer { text-align: center; color: rgba(255, 255, 255, 0.5); font-size: 0.78rem; margin: 0; }

/* ---- Responsive -------------------------------------------------------- */
@media (max-width: 860px) {
  .hero-1a { height: auto; padding-block: 80px; }
  .hero-1b__grid, .otd-1b__grid, .otd-1a__grid { grid-template-columns: 1fr; }
  /* Reset the desktop column flow so these overrides take effect. */
  .conv-band--1a .conv-grid, .conv-band--1b .conv-grid { grid-auto-flow: row; grid-template-columns: repeat(2, 1fr); }
  .conv-band--1a .conv-cell:nth-child(2) { border-right: 0; }
  .otd-1a__body { padding: 0 24px 30px; }
}
@media (max-width: 520px) {
  .conv-band--1a .conv-grid, .conv-band--1b .conv-grid { grid-auto-flow: row; grid-template-columns: 1fr; }
  .conv-band--1a .conv-cell { border-right: 0; border-bottom: 1px solid var(--line); }
}
