/* Editorial homepage, 2026-10-21. Loaded only by index.html; every rule is scoped to .home-lead.
   The lead text and its cover are separate: the cover is never used as a background. */
.home-lead { position: relative; z-index: 2; background: linear-gradient(180deg, var(--panel) 0%, var(--bg) 100%); border-bottom: 1px solid var(--line); }
.home-lead .wrap { padding-top: 34px; padding-bottom: 30px; }
.home-lead-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 44px; align-items: center; }
.home-lead-text { min-width: 0; }
.home-lead .cat-tag { display: flex; margin-top: 14px; }
.home-lead .cat-tag[hidden] { display: none; }
.home-lead h1 {
  font-family: var(--font-display); font-weight: 600; letter-spacing: -.01em; text-wrap: balance;
  font-size: clamp(26px, 3vw, 42px); line-height: 1.12; color: var(--ink); margin: 10px 0 14px;
}
.home-lead .hero-lead {
  color: var(--ink-2); font-size: clamp(15.5px, 1.2vw, 17.5px); line-height: 1.56; max-width: 60ch; margin-bottom: 22px;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; line-clamp: 4; overflow: hidden;
}
.home-lead .hero-meta { margin-top: 14px; }
.home-lead-figure {
  margin: 0; min-width: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: var(--panel-2); box-shadow: 0 14px 40px rgba(22,35,44,.10);
}
.home-lead-figure:empty { display: none; }
.home-lead-figure a, .home-lead-figure picture { display: block; }
.home-lead-figure img { display: block; width: 100%; height: auto; object-fit: contain; }

.home-also { margin-top: 28px; padding: 18px 0 0; border-left: none; border-top: 1px solid var(--line); }
.home-also h2 { font: 700 11.5px/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.home-also #also-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.home-also .also-item { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 12px; align-items: start; padding: 0; border: none; }
.home-also .also-thumb { display: block; aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden; background: var(--bg-2); border: 1px solid var(--line-soft); }
.home-also .also-thumb picture { display: block; width: 100%; height: 100%; }
.home-also .also-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.home-also .also-thumb picture.editorial-cover img { object-fit: contain; }
.home-also .also-text { min-width: 0; }
.home-also .also-item .t { font-size: 15.5px; line-height: 1.3; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; }

@media (max-width: 980px) {
  .home-lead-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .home-lead-figure { max-width: 720px; }
  .home-also #also-list { grid-template-columns: minmax(0, 1fr); gap: 14px; }
}
@media (max-width: 620px) {
  .home-lead .wrap { padding-top: 22px; padding-bottom: 22px; }
  .home-lead .hero-lead { -webkit-line-clamp: 5; line-clamp: 5; }
  .home-also .also-item { grid-template-columns: 88px minmax(0, 1fr); }
}
