/* Thematic images, 2026-10-21. Original text and block order are retained. */
.home-page .topic-visual {
  position: relative;
  display: block;
  overflow: hidden;
  isolation: isolate;
  background: var(--brand-surface);
  border: 1px solid var(--brand-line);
  border-radius: 18px;
}
.home-page .topic-visual img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  object-position: center;
}
.home-page .topic-visual--hero {
  margin: 24px 0;
  width: 100%;
  aspect-ratio: 2.15;
  box-shadow: 0 12px 28px rgb(28 53 78 / 8%);
}
.home-page .topic-visual--hero::after {
  content: '';
  position: absolute;
  inset: auto auto 0 28px;
  width: 64px;
  height: 4px;
  background: var(--brand-yellow);
  border-radius: 4px 4px 0 0;
}
.home-page .topic-visual[data-visual-topic="court"] img { object-position: 50% 44%; }
.home-page .hero.simple .topic-visual--hero { max-width: 760px; }
.home-page .topic-visual--card {
  margin: 0 0 20px;
  width: 100%;
  aspect-ratio: 1.85;
  border-radius: 12px;
  border: 0;
}
.home-page .topic-card:has(.topic-visual--card) {
  background: #fff;
  border-color: var(--brand-line);
  box-shadow: var(--shadow-sm);
}
.home-page .topic-card:has(.topic-visual--card) h3 { line-height: 1.35; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .home-page .topic-visual--card img { transition: transform .4s ease; }
  .home-page .topic-card:hover .topic-visual--card img { transform: scale(1.035); }
}
@media (max-width: 767px) {
  .home-page .topic-visual--hero { aspect-ratio: 1.85; margin: 20px 0; border-radius: 14px; }
  .home-page .topic-visual--card { aspect-ratio: 2.2; margin-bottom: 16px; }
}
@media print {
  .topic-visual { display: none !important; }
}
