/* Home discovery · compact news and ordered reading paths */
.home-hero {
  padding-top: 32px;
  padding-bottom: 32px;
}

.home-hero h1 {
  max-width: 880px;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.15;
}

.home-search {
  margin-top: 28px;
}

.home-shortcuts {
  width: min(900px, 100%);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  margin-top: 18px;
}

.home-shortcuts > a {
  min-width: 0;
  min-height: 78px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "index title"
    "index copy";
  column-gap: 10px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid #e0e5ec;
  border-radius: 14px;
  background: rgba(255,255,255,.82);
  color: #323946;
  transition: transform .15s ease, border-color .15s ease, background .15s ease;
}

.home-shortcuts > a:hover,
.home-shortcuts > a:focus-visible {
  transform: translateY(-1px);
  border-color: #cbd3df;
  background: #fff;
  outline: none;
}

.home-shortcuts > a:focus-visible,
.home-reading-path a:focus-visible,
.home-news-card a:focus-visible {
  outline: 2px solid #3157d5;
  outline-offset: 3px;
}

#home-search-input {
  scroll-margin-top: 100px;
}

.home-search:focus-within {
  outline: 2px solid #3157d5;
  outline-offset: 2px;
}

.home-shortcut-index {
  grid-area: index;
  align-self: start;
  padding-top: 2px;
  color: #3157d5;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .08em;
}

.home-shortcuts strong {
  grid-area: title;
  align-self: end;
  font-size: 14px;
  line-height: 1.25;
}

.home-shortcuts small {
  grid-area: copy;
  align-self: start;
  color: #7a8290;
  font-size: 11px;
  line-height: 1.35;
}

.home-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  margin-top: 16px;
  color: #7a8290;
  font-size: 12px;
}

.home-status span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.home-status strong {
  color: #202632;
  font-weight: 800;
}

.home-status a {
  color: #3157d5;
  font-weight: 700;
}

.home-status a:last-child {
  color: #6d7480;
  font-weight: 650;
}

.home-section {
  scroll-margin-top: 92px;
  margin-bottom: 64px;
}

.section-copy {
  max-width: 690px;
  margin: 8px 0 0;
  color: #737b89;
  font-size: 13px;
  line-height: 1.55;
}

.home-reading-paths {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.home-reading-path {
  min-width: 0;
  padding: 18px 20px 12px;
  border: 1px solid #dce3ef;
  border-radius: 16px;
  background: #fff;
  overflow-wrap: anywhere;
}

.home-reading-path h3 {
  margin: 0 0 6px;
  color: #253349;
  font-size: 18px;
}

.home-reading-path > p {
  margin: 0;
  color: #646c79;
  font-size: 12px;
  line-height: 1.6;
}

.home-reading-path ol {
  margin: 12px 0 0;
  padding-left: 22px;
}

.home-reading-path li::marker {
  color: #3157d5;
  font-size: 12px;
  font-weight: 700;
}

.home-reading-path a {
  min-height: 44px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 8px 4px;
  border-radius: 4px;
  color: #323946;
  font-size: 14px;
  font-weight: 650;
}

.home-reading-path a:hover {
  color: #3157d5;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.home-news-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.home-news-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 20px 21px;
  border: 1px solid #e1e6ed;
  border-radius: 18px;
  background: rgba(255,255,255,.95);
  box-shadow: 0 8px 26px rgba(25,32,48,.035);
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.home-news-card:hover {
  transform: translateY(-1px);
  border-color: #cfd6e1;
  box-shadow: 0 14px 32px rgba(25,32,48,.06);
}

.home-news-card.is-lead {
  border-color: #d7def5;
  background: linear-gradient(145deg, #f8f9ff 0%, rgba(255,255,255,.98) 62%);
}

.home-news-topline {
  min-height: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 9px;
  color: #8a919d;
  font-size: 10px;
  font-weight: 650;
}

.home-news-source {
  color: #5f6775;
  font-weight: 800;
}

.home-news-badge {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 2px 7px;
  border-radius: 999px;
  background: #eef2ff;
  color: #4056b0;
  font-size: 9px;
  font-weight: 850;
}

.home-news-card h3 {
  margin: 10px 0 8px;
  font-size: clamp(18px, 2.2vw, 21px);
  line-height: 1.35;
  letter-spacing: -.45px;
  overflow-wrap: anywhere;
}

.home-news-card h3 a:hover,
.home-news-card h3 a:focus-visible {
  color: #3157d5;
}

.home-news-summary {
  margin: 0;
  color: #646c79;
  font-size: 13px;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  max-height: 3.3em;
  overflow-wrap: anywhere;
  overflow: hidden;
}

.home-news-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px 12px;
  margin-top: auto;
  padding-top: 16px;
  font-size: 11px;
}

.home-related-link {
  display: inline-flex;
  max-width: 100%;
  min-height: 44px;
  align-items: center;
  padding: 4px 8px;
  border-radius: 999px;
  background: #f0f3f8;
  color: #4f5968;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.home-source-link {
  margin-left: auto;
  color: #3157d5;
  font-weight: 760;
}

.home-tags {
  margin: -12px 0 58px;
  padding: 14px 0 0;
  border-top: 1px solid #e5e8ee;
}

.home-tags-label {
  margin-bottom: 9px;
  color: #777f8c;
  font-size: 10px;
  font-weight: 820;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.home-tags .tag-strip {
  margin: 0;
}

.home-recent .article-list {
  gap: 8px;
}

.home-recent .article-card {
  padding-block: 17px;
}

@media (max-width: 760px) {
  .home-hero {
    padding-top: 16px;
    padding-bottom: 26px;
  }

  .home-hero h1 {
    margin-top: 8px;
    font-size: clamp(28px, 7vw, 36px);
    line-height: 1.2;
    letter-spacing: -1.2px;
  }

  .home-hero .hero-copy {
    margin-top: 12px;
    font-size: 14px;
    line-height: 1.6;
  }

  .home-search {
    margin-top: 16px;
    padding: 4px;
  }

  .home-search input {
    min-height: 44px;
    padding: 10px 11px;
    font-size: 14px;
  }

  .home-search button {
    min-width: 66px;
    min-height: 44px;
    padding-inline: 12px;
  }

  .home-shortcuts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    margin-top: 12px;
  }

  .home-shortcuts > a {
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 9px 7px;
    text-align: center;
  }

  .home-shortcut-index,
  .home-shortcuts small {
    display: none;
  }

  .home-shortcuts strong {
    font-size: 12px;
    letter-spacing: -.1px;
  }

  .home-status {
    gap: 6px 13px;
    margin-top: 13px;
    font-size: 11px;
  }

  .home-status a:first-of-type {
    flex-basis: 100%;
    order: 4;
    margin-top: 2px;
  }

  .home-section {
    margin-bottom: 50px;
    scroll-margin-top: 80px;
  }

  .home-section .section-head {
    gap: 8px;
    margin-bottom: 16px;
  }

  .home-section .section-head h2 {
    font-size: 26px;
    line-height: 1.25;
  }

  .section-copy {
    margin-top: 6px;
    font-size: 12px;
  }

  .home-news-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 9px;
  }

  .home-news-card {
    padding: 17px 17px 16px;
    border-radius: 15px;
  }

  .home-news-card h3 {
    margin-top: 8px;
    font-size: 18px;
    overflow-wrap: anywhere;
  }

  .home-news-summary {
    -webkit-line-clamp: 2;
    font-size: 12px;
  }

  .home-news-actions {
    padding-top: 13px;
  }

  .home-reading-paths {
    grid-template-columns: minmax(0, 1fr);
    gap: 9px;
  }

  .home-tags {
    margin-top: -4px;
    margin-bottom: 46px;
  }

  .home-recent .article-card {
    padding: 16px;
  }
}

@media (max-width: 390px) {
  .home-shortcuts strong {
    font-size: 11px;
  }

  .home-news-card h3 {
    font-size: 17px;
  }
}
