/* No-JS and small screens retain today -> tools -> journal -> daily picks. */
.glt-home-editorial-layout,
.glt-home-editorial-picks-slot,
.glt-home-editorial-picks-origin {
  display: contents;
}

:where([data-home-editorial-origin], [data-home-editorial-slot]) .glt-home-picks a {
  scroll-margin-top: 92px;
  scroll-margin-bottom: 16px;
}

@media (min-width: 1024px) {
  .home .glt-home-editorial-layout[data-home-editorial-ready="1"] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
    gap: 34px;
    margin-top: 28px;
    margin-bottom: 36px;
  }

  .home .glt-home-editorial-layout[data-home-editorial-ready="1"] > .glt-home-today,
  .home .glt-home-editorial-layout[data-home-editorial-ready="1"] .glt-home-picks {
    width: auto;
    min-width: 0;
    margin: 0;
  }

  .home .glt-home-editorial-layout[data-home-editorial-ready="1"] > .glt-home-editorial-picks-slot {
    display: block;
    min-width: 0;
    padding-left: 32px;
    border-left: 1px solid var(--line);
  }

  .home .glt-home-editorial-layout[data-home-editorial-ready="1"] .glt-home-section-head {
    align-items: center;
    flex-wrap: wrap;
    gap: 9px 16px;
    min-height: 34px;
    margin-bottom: 16px;
  }

  .home .glt-home-editorial-layout[data-home-editorial-ready="1"] .glt-home-section-head h2 {
    margin: 0;
    color: var(--blue);
    font: 700 24px/1.4 Georgia, 'Songti SC', serif;
  }

  .home .glt-home-editorial-layout[data-home-editorial-ready="1"] .glt-home-section-head .eyebrow {
    color: var(--muted);
    font-size: 11px;
    line-height: 1.5;
  }

  .home .glt-home-editorial-layout[data-home-editorial-ready="1"] .glt-home-head-links {
    gap: 13px;
  }

  .home .glt-home-editorial-layout[data-home-editorial-ready="1"] .glt-home-section-head a {
    font-size: 12px;
    line-height: 1.7;
  }

  .home .glt-home-editorial-layout[data-home-editorial-ready="1"] .glt-home-decision {
    margin-bottom: 16px;
    font-size: 14px;
    line-height: 1.75;
  }

  .home .glt-home-editorial-layout[data-home-editorial-ready="1"] .glt-home-status-grid > a,
  .home .glt-home-editorial-layout[data-home-editorial-ready="1"] .glt-home-status-grid > a:last-child {
    grid-template-columns: 84px minmax(0, 1fr) 16px;
    align-items: start;
    gap: 4px 12px;
    min-height: 78px;
    padding: 14px 6px;
  }

  .home .glt-home-editorial-layout[data-home-editorial-ready="1"] .glt-home-status-grid small {
    grid-column: 1;
    grid-row: 1;
    padding-top: 3px;
    font-size: 12px;
    line-height: 1.65;
  }

  .home .glt-home-editorial-layout[data-home-editorial-ready="1"] .glt-home-status-grid b {
    grid-column: 2;
    grid-row: 1;
    font-size: 20px;
    line-height: 1.45;
    font-variant-numeric: tabular-nums;
  }

  .home .glt-home-editorial-layout[data-home-editorial-ready="1"] .glt-home-status-grid span {
    grid-column: 2;
    grid-row: 2;
    font-size: 13px;
    line-height: 1.7;
    overflow-wrap: anywhere;
  }

  .home .glt-home-editorial-layout[data-home-editorial-ready="1"] .glt-home-status-grid > a::after {
    grid-column: 3;
    grid-row: 1 / 3;
    align-self: center;
  }

  .home .glt-home-editorial-layout[data-home-editorial-ready="1"] .glt-daily-pick-links {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    border-top: 1px solid var(--line);
    counter-reset: none;
  }

  .home .glt-home-editorial-layout[data-home-editorial-ready="1"] .glt-daily-pick-links > a {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr);
    align-items: start;
    gap: 7px 12px;
    min-height: 0;
    padding: 14px 6px;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .home .glt-home-editorial-layout[data-home-editorial-ready="1"] .glt-daily-pick-links > a:hover {
    background: var(--surface-soft);
  }

  .home .glt-home-editorial-layout[data-home-editorial-ready="1"] .glt-daily-pick-links small {
    grid-column: 1;
    grid-row: 1;
    width: fit-content;
    max-width: 100%;
    margin-top: 2px;
    padding: 3px 7px;
    border-radius: 4px;
    background: #f7eae6;
    color: #9b3b3d;
    font-size: 12px;
    line-height: 1.7;
  }

  .home .glt-home-editorial-layout[data-home-editorial-ready="1"] .glt-daily-pick-links small::before {
    content: none;
  }

  .home .glt-home-editorial-layout[data-home-editorial-ready="1"] .glt-daily-pick-links h3 {
    grid-column: 2;
    grid-row: 1;
    margin: 0;
    font: 700 17px/1.55 Georgia, 'Songti SC', serif;
  }

  .home .glt-home-editorial-layout[data-home-editorial-ready="1"] .glt-daily-pick-links span {
    grid-column: 2;
    grid-row: 2;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.75;
    white-space: normal;
    overflow: visible;
    overflow-wrap: anywhere;
  }

  .home .glt-home-editorial-layout[data-home-editorial-ready="1"] .glt-home-updated,
  .home .glt-home-editorial-layout[data-home-editorial-ready="1"] .glt-curation-updated {
    margin-top: 12px;
    margin-bottom: 0;
    font-size: 12px;
    line-height: 1.7;
  }
}

/* Editorial 2.0 / phase two. Scope stays below the approved Hero. */
.home :is(.glt-home-today, .glt-home-picks, .glt-home-common, .home-discovery) {
  --editorial-focus: #39798a;
  --editorial-motion: 180ms;
}
.home :is(.glt-home-today, .glt-home-picks, .glt-home-common, .home-discovery) a:focus-visible {
  outline: 2px solid var(--editorial-focus);
  outline-offset: 4px;
}
.home :is(.glt-home-status-grid, .glt-daily-pick-links) > a {
  transition: background-color var(--editorial-motion) ease;
}
.home .glt-home-today .glt-home-section-head .eyebrow {
  background: #edf1ee;
  color: var(--muted);
  letter-spacing: .02em;
}
.home .glt-home-status-grid { border-top-color: var(--line); }
.home .glt-home-status-grid b { font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.home .glt-home-updated {
  width: fit-content;
  max-width: 100%;
  padding: 5px 9px;
  border-radius: 5px;
  color: var(--muted);
  background: var(--surface-soft);
}
.home .glt-home-updated[data-health="ok"] { color: #315f50; background: #eaf2ed; }
.home .glt-home-updated[data-health="degraded"] { color: #80531d; background: #faf0df; }
.home .glt-home-updated[data-health="error"] { color: #933d42; background: #f8e9e8; }
.home .glt-curation-updated { color: var(--muted); }

/* Four useful actions, with consistent typographic icons and independent hit areas. */
.home .glt-home-common .glt-home-section-head h2 { margin: 0; color: var(--blue); font: 700 24px/1.4 Georgia, 'Songti SC', serif; }
.home .glt-common-tools { gap: 12px; padding: 0; background: transparent; }
.home .glt-common-tools > a {
  min-height: 88px;
  padding: 17px 18px;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fcfcf9;
  transition: border-color var(--editorial-motion) ease, background-color var(--editorial-motion) ease, transform var(--editorial-motion) ease;
}
.home .glt-common-tools > a:hover { border-color: #aec4ba; background: var(--surface-soft); }
.home .glt-common-tools > a:active { transform: translateY(0); }
.home .glt-common-tools i {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: #e9f0ec;
  color: var(--blue);
  font: 700 17px/1 Georgia, 'Songti SC', serif;
}
.home .glt-common-tools > a > span { min-width: 0; }
.home .glt-common-tools b { font-size: 16px; line-height: 1.5; }
.home .glt-common-tools small { margin-top: 4px; color: var(--muted); font-size: 12px; line-height: 1.65; }
.home .glt-common-tools em { color: #56746d; }

/* Keep one lead photograph and two supporting stories; do not clamp editorial text. */
.home .home-discovery { padding-top: 48px; padding-bottom: 52px; }
.home .home-discovery-head { gap: 20px; align-items: end; }
.home .home-discovery-head h2 { font-size: 32px; line-height: 1.35; letter-spacing: -.02em; }
.home .home-discovery-head p { margin-top: 10px; line-height: 1.8; }
.home .home-discovery-head > a { min-height: 42px; padding: 9px 14px; }
.home .home-guide-picks { gap: 28px 36px; }
.home .home-guide-pick > div > span {
  display: inline-block;
  color: #a23d3f;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .035em;
}
.home .home-guide-pick h3,
.home .home-guide-pick p {
  display: block;
  -webkit-line-clamp: unset;
  overflow: visible;
  max-height: none;
  overflow-wrap: anywhere;
}
.home .home-guide-pick:first-child h3 { margin: 10px 0 0; font-size: 27px; line-height: 1.45; letter-spacing: -.02em; }
.home .home-guide-pick:nth-child(n+2) { gap: 22px; padding-bottom: 26px; }
.home .home-guide-pick:nth-child(n+2) > div { padding-top: 2px; }
.home .home-guide-pick:nth-child(n+2) h3 { margin: 9px 0 0; font: 700 21px/1.55 Georgia, 'Songti SC', serif; }
.home .home-guide-pick:nth-child(n+2) p { display: block; margin: 10px 0 0; font-size: 13px; line-height: 1.8; }
.home .home-guide-pick > div > small { display: inline-block; margin-top: 13px; font-size: 12px; }
.home .home-guide-pick > .gltf-guide-photo { overflow: hidden; border-radius: var(--radius-md); }
.home .home-guide-pick > .gltf-guide-photo > img { transition: transform 220ms ease; }
.home .home-guide-pick h3 { transition: color var(--editorial-motion) ease; }
.home .home-content-hubs { margin-top: 12px; }
.home .home-content-hubs > a { padding-top: 24px; padding-bottom: 24px; }
.home .home-content-hubs i { border-radius: var(--radius-sm); font: 700 17px/1 Georgia, 'Songti SC', serif; }
.home .home-content-hubs b { line-height: 1.65; }
.home .home-content-hubs em { margin-top: 5px; line-height: 1.7; }

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .home .glt-common-tools > a:hover { transform: translateY(-1px); }
  .home .home-guide-pick:hover > .gltf-guide-photo > img { transform: scale(1.015); }
}
@media (max-width: 1023px) {
  .home .home-guide-pick:nth-child(n+2) { gap: 16px; }
  .home .home-guide-pick:nth-child(n+2) h3 { font-size: 19px; }
}
@media (max-width: 600px) {
  .home .glt-common-tools { gap: 10px; }
  .home .glt-common-tools > a { padding: 14px 11px; gap: 9px; }
  .home .glt-common-tools i { flex-basis: 28px; width: 28px; height: 28px; font-size: 15px; }
  .home .glt-common-tools b { font-size: 15px; }
  .home .home-discovery { padding-top: 32px; padding-bottom: 32px; }
  .home .home-discovery-head { align-items: start; }
  .home .home-discovery-head h2 { font-size: 27px; }
  .home .home-guide-picks { gap: 24px; }
  .home .home-guide-pick:first-child h3 { font-size: 23px; }
  .home .home-guide-pick:nth-child(n+2) { column-gap: 16px; row-gap: 0; }
  .home .home-guide-pick:nth-child(n+2) h3 { font-size: 18px; }
  .home .home-content-hubs > a { padding-top: 18px; padding-bottom: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .home :is(.glt-home-today, .glt-home-picks, .glt-home-common, .home-discovery) *,
  .home :is(.glt-home-today, .glt-home-picks, .glt-home-common, .home-discovery) *::before,
  .home :is(.glt-home-today, .glt-home-picks, .glt-home-common, .home-discovery) *::after { transition: none !important; animation: none !important; }
  .home .glt-common-tools > a:hover,
  .home .home-guide-pick:hover > .gltf-guide-photo > img { transform: none; }
}
