/* Главная как навигация по реальным событиям и игровым сценариям. */
.home-page main [hidden] { display: none !important; }
.home-page .section { padding: 56px 0; }
.home-page .section-title { font-size: clamp(1.65rem, 3vw, 2.4rem); line-height: 1.15; }
.home-page .section-header { margin-bottom: 28px; align-items: end; gap: 24px; }
.home-page .section-desc { max-width: 620px; }
.home-page .home-hero { padding: 78px 0 72px; }
.home-page .home-hero::after { display: none; }
.home-page .home-hero .hero-container { display: block; }
.home-page .home-hero .hero-content { max-width: 670px; }
.home-page .home-hero .hero-title { font-size: clamp(1.9rem, 4vw, 3.5rem); margin: 18px 0; line-height: 1.08; }
.home-page .hero-description { max-width: 530px; font-size: 1.08rem; }
.home-eyebrow { color: #c7d8f1; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-size: .78rem; }
.home-page .hero-cta-group { margin-top: 28px; gap: 16px; flex-wrap: wrap; }
.home-page .home-hero-secondary { border: 1px solid #a9bbd3; color: #fff; background: #102f50aa; }
.home-level-link { display: inline-block; color: #c7d8f1; font-size: .85rem; margin-top: 26px; }
.home-more, .home-card-action { font-size: .9rem; font-weight: 700; color: var(--color-primary); }
button.home-card-action { background: none; padding: 0; text-align: left; border: 0; cursor: pointer; font: inherit; color: var(--color-primary); font-weight: 700; }
.home-kind { color: var(--text-muted); font-size: .75rem; letter-spacing: .04em; text-transform: uppercase; font-weight: 600; margin-bottom: 10px; }
.home-event-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.home-event-card { display: flex; gap: 16px; padding: 24px; border: 1px solid var(--border-color); border-radius: 16px; background: #fff; }
.home-event-body { min-width: 0; }
.home-date { color: var(--color-primary); flex: 0 0 44px; text-align: center; }
.home-date span { text-transform: uppercase; font-size: .72rem; font-weight: 700; }
.home-date strong { display: block; font-size: 2rem; line-height: 1.2; }
.home-page h3 { font-family: var(--font-heading); font-size: 1.05rem; line-height: 1.4; }
.home-event-body > p:not(.home-kind) { font-size: .85rem; color: var(--text-muted); margin: 12px 0; line-height: 1.55; }
.home-event-body .home-event-note { color: var(--color-primary); }
.home-formats, .home-tournaments, .home-contacts { background: #f3f6fa; }
.home-format-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.home-format-card { display: flex; flex-direction: column; gap: 18px; background: #fff; border: 1px solid var(--border-color); padding: 28px; border-radius: 16px; color: var(--text-main); }
.home-format-number { color: #cc6900; font: 700 1rem var(--font-heading); }
.home-format-card p, .home-team-card p, .home-news-card > p:not(.home-kind) { color: var(--text-muted); font-size: .9rem; line-height: 1.65; }
.home-format-card .home-card-action, .home-team-card .home-card-action, .home-news-card .home-card-action { margin-top: auto; }
.home-format-card:hover, .home-team-card:hover, .home-news-card:hover { border-color: var(--color-primary); }
.home-agenda { border-top: 1px solid var(--border-color); }
.home-agenda-row { display: grid; grid-template-columns: 130px minmax(0, 1fr) 150px 195px; align-items: center; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--border-color); }
.home-agenda-row time { display: block; font-weight: 700; }
.home-agenda-row p, .home-agenda-row > div:first-child > span { font-size: .85rem; color: var(--text-muted); }
.home-agenda-row .home-kind { margin-bottom: 4px; }
.home-agenda-row h3 { margin-bottom: 4px; }
.home-team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.home-team-card, .home-news-card { display: flex; flex-direction: column; gap: 12px; border: 1px solid var(--border-color); border-radius: 16px; padding: 24px; color: var(--text-main); }
.home-team-mark { display: grid; place-items: center; background: #eaf1fb; color: var(--color-primary); width: 48px; height: 48px; border-radius: 14px; font: 800 1rem var(--font-heading); }
.home-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.home-contact-grid h3 { font-size: 1.3rem; margin-bottom: 12px; }
.home-contact-grid p { margin-bottom: 16px; color: var(--text-muted); max-width: 460px; line-height: 1.7; }
.home-contact-links { display: flex; flex-direction: column; gap: 12px; margin: 24px 0; }
.home-contact-links a { color: var(--color-primary); font-weight: 600; }
.home-map { height: 300px; border-radius: 16px; overflow: hidden; position: relative; background: #e5ebf3; }
.home-map iframe { width: 100%; height: 100%; border: 0; }
.home-map-fallback { padding: 8px; background: #fff; position: absolute; bottom: 8px; left: 8px; right: 8px; font-size: .8rem; border-radius: 8px; }
.home-empty { grid-column: 1/-1; padding: 24px; border: 1px dashed #b9c6d8; border-radius: 12px; color: var(--text-muted); line-height: 1.7; }
.home-empty a { color: var(--color-primary); font-weight: 600; }
.home-page main a:focus-visible, .home-page main button:focus-visible { outline: 3px solid #fa8b21; outline-offset: 4px; }
.home-page main { overflow-wrap: anywhere; }
.home-about-article { max-width: 900px; }
.home-about-article > p { line-height: 1.8; color: var(--text-muted); margin: 20px 0; }
.home-about-article > h2 { margin-top: 32px; font-family: var(--font-heading); font-size: 1.4rem; }
.home-about-article > img { width: 100%; height: auto; border-radius: 18px; margin: 12px 0; }
.home-about-article > .btn { margin-top: 24px; }
@media (max-width: 1100px) {
  .home-event-grid { grid-template-columns: 1fr; }
  .home-format-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-agenda-row { grid-template-columns: 110px minmax(0, 1fr) 155px; }
  .home-agenda-row > .home-card-action { grid-column: 2/-1; }
}
@media (max-width: 640px) {
  .home-page .section { padding: 36px 0; }
  .home-page .section-header { align-items: start; flex-direction: column; gap: 14px; }
  .home-page .home-hero { padding: 42px 0 48px; }
  .home-page .home-hero .hero-photo { inset: 0; width: 100%; height: 100%; opacity: .2; }
  .home-page .home-hero .hero-bg-overlay { background: #071d41a8; }
  .home-page .hero-cta-group { align-items: stretch; flex-direction: column; }
  .home-page .hero-cta-group .btn { justify-content: center; }
  .home-format-grid, .home-team-grid, .home-contact-grid { grid-template-columns: 1fr; gap: 20px; }
  .home-event-card, .home-format-card { padding: 22px; }
  .home-format-card { gap: 14px; }
  .home-agenda-row { grid-template-columns: 95px minmax(0, 1fr); gap: 12px; }
  .home-agenda-row > strong, .home-agenda-row > .home-card-action { grid-column: 2; }
  .home-contact-links a { line-height: 1.7; }
}

/* Восстановленный блок контактов использует общие карточки с иконками. */
.home-page .contacts-heading { align-items: center; }
