/* Home-only visual layer: keep detail, basket and admin layouts untouched. */
.home-visual { background: #fff; }
.home-visual .hero { padding-top: 58px; background: linear-gradient(90deg, rgba(7,29,51,.85), rgba(7,29,51,.30)), url('../images/home/city-hero.webp') center center / cover no-repeat; color: #fff; }
.home-visual .hero::before { display: none; }
.home-visual .hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.home-visual .eyebrow { color: #e2edf6; }
.home-visual .hero-copy h1 { font-size: clamp(30px, 3.5vw, 46px); line-height: 1.28; letter-spacing: -.025em; margin: 16px 0; }
.home-visual .hero-copy h1 em { color: #fff; text-decoration: none; }
.home-visual .hero-copy > p { color: #e2edf6; font-size: 16px; max-width: 540px; margin-bottom: 24px; }
.home-visual .search-panel { border: 1px solid #d8e3ed; padding: 28px; border-radius: 8px; box-shadow: 0 12px 36px rgba(22,46,81,.05); }
.home-visual .panel-label { padding-bottom: 16px; border-bottom: 1px solid #e1e8ef; }
.home-visual .primary-search { grid-template-columns: minmax(0, 1fr); }
.home-visual .primary-search input, .home-visual .primary-search select { background: #fff; border-radius: 5px; min-width: 0; }
.home-visual .stat-strip { margin-top: 48px; border-top: 1px solid rgba(255,255,255,.25); background: rgba(7,29,51,.72); }
.home-visual .stat-strip div { padding: 18px 12px; justify-content: center; border-right: 1px solid rgba(255,255,255,.2); }
.home-visual .stat-strip div:last-child { border-right: 0; }
.home-visual .stat-strip strong { color: #fff; font-size: 24px; }
.home-visual .stat-strip span { color: #e2edf6; }
.home-visual .section { padding-top: 42px; padding-bottom: 42px; }
.home-visual .section-heading { margin-bottom: 22px; gap: 24px; }
.home-visual .section h2 { font-size: clamp(24px, 2.4vw, 30px); letter-spacing: -.02em; line-height: 1.3; }
.home-visual .section-heading > p { font-size: 14px; }
.home-visual .kicker { font-size: 10px; margin-bottom: 6px; }
.home-visual .text-link { font-size: 13px; white-space: nowrap; }
.home-visual .news-card { padding: 0; border-radius: 7px; overflow: hidden; transition: border-color .15s; }
.home-visual .news-card:hover { border-color: #005ea2; }
.home-visual .news-cover { position: relative; background: #edf3f8; aspect-ratio: 16 / 9; }
.home-visual .news-cover img { display: block; width: 100%; height: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.home-visual .news-cover small { position: absolute; right: 8px; bottom: 8px; color: #40546c; background: rgba(255,255,255,.94); padding: 2px 6px; border-radius: 3px; font-size: 10px; }
.home-visual .news-card-copy { padding: 16px; display: flex; flex: 1; flex-direction: column; }
.home-visual .news-card h3 { font-size: 15px; line-height: 1.65; margin: 9px 0 16px; }
.home-visual .news-card-copy > span { margin-top: auto; color: #005ea2; }
.home-visual #classes { border-top: 1px solid #e3eaf0; }
.home-visual .category-card { border-radius: 7px; grid-template-columns: 40px minmax(0,1fr) auto; gap: 12px; padding: 16px; }
.home-visual .category-number { width: 38px; height: 38px; font-size: 16px; border-radius: 5px; }
.home-visual .category-card strong { font-size: 14px; line-height: 1.75; font-weight: 600; }
.home-visual .category-card small { margin-top: 8px; }
.home-visual .section-tint { background: #f3f7fa; }
@media (max-width: 960px) {
  .home-visual .hero-grid { gap: 28px; }
  .home-visual .hero-copy h1 { font-size: clamp(27px, 3.5vw, 36px); }
  .home-visual .news-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .home-visual .search-panel { padding: 22px; }
}
@media (max-width: 760px) {
  .home-visual .hero { padding-top: 28px; }
  .home-visual .hero-grid { grid-template-columns: minmax(0,1fr); gap: 22px; }
  .home-visual .hero-copy h1 { font-size: clamp(27px, 5.5vw, 38px); }
  .home-visual .hero-copy > p { font-size: 14px; }
  .home-visual .stat-strip { grid-template-columns: repeat(2,minmax(0,1fr)); margin-top: 24px; }
  .home-visual .stat-strip div:nth-child(2) { border-right: 0; }
  .home-visual .section { padding-top: 30px; padding-bottom: 30px; }
  .home-visual .section-heading { align-items: center; }
  .home-visual .header-inner { height: auto; min-height: 76px; padding-block: 12px; flex-wrap: wrap; gap: 12px; }
}
@media (max-width: 420px) {
  .home-visual .news-grid { grid-template-columns: minmax(0,1fr); }
  .home-visual .section-heading .text-link { display: inline-block; margin-top: 12px; }
  .home-visual .stat-strip div { gap: 6px; padding-inline: 4px; }
}
