.language-switch--hidden {
  visibility: hidden;
  pointer-events: none;
}

.odintsovo-guide .guide-section:first-child > .guide-grid > .guide-panel:last-child {
  background-image: url("../media/hero-odintsovo.jpg");
  background-position: center;
}

.odintsovo-guide .guide-section:first-child > .guide-grid > .guide-panel:last-child::before {
  background: rgba(41, 46, 68, 0.88);
}

.odintsovo-guide .chapter-intro .guide-canvas {
  background: #334352;
}

.odintsovo-guide .campus-mark {
  width: min(100%, 280px);
  margin-inline: auto;
  object-fit: contain;
}

.odintsovo-guide .guide-image--portrait {
  aspect-ratio: 4 / 5;
  object-position: center top;
}

.odintsovo-guide .guide-image--wide {
  aspect-ratio: 16 / 9;
}

.odintsovo-guide .guide-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.odintsovo-guide .guide-card {
  padding: 22px;
  background: #fff;
}

.odintsovo-guide .guide-card > :last-child {
  margin-bottom: 0;
}

.odintsovo-guide .guide-kicker {
  color: var(--accent-red);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.odintsovo-guide .contact-list strong {
  display: block;
}

.odintsovo-guide .route-list li + li {
  margin-top: 0.8em;
}

.odintsovo-guide .guide-club-logo {
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: contain;
}

.odintsovo-guide .guide-events .guide-events-content {
  padding: 0 var(--panel-padding-x) var(--panel-padding-y);
}

.odintsovo-guide .guide-events .guide-events-content > .guide-row:first-child .guide-panel {
  padding: var(--panel-padding-y) 0 22px;
}

.odintsovo-guide .guide-events .guide-events-content > .guide-row:first-child .guide-divider {
  margin-bottom: 0;
}

.odintsovo-guide .guide-events .guide-events-content > .guide-row:not(:first-child) {
  margin-top: 32px;
}

.odintsovo-guide .guide-events .guide-events-content > .guide-row:not(:first-child) > .guide-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.odintsovo-guide .guide-events .guide-events-content > .guide-row:not(:first-child) .guide-panel.col-33 {
  grid-column: auto;
}

.odintsovo-guide .guide-events .guide-events-content > .guide-row:not(:first-child) .guide-panel:has(> .guide-image) {
  aspect-ratio: 6 / 5;
  overflow: hidden;
  padding: 0;
}

.odintsovo-guide .guide-events .guide-events-content > .guide-row:not(:first-child) .guide-image {
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
}

.odintsovo-guide .guide-events .guide-events-content > .guide-row:not(:first-child) .guide-panel:has(> h5) {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px 0;
}

.odintsovo-guide .guide-events .guide-events-content > .guide-row:not(:first-child) .guide-panel:has(> h5) > :last-child {
  margin-bottom: 0;
}

@media (min-width: 901px) {
  .odintsovo-guide .guide-events .guide-events-content > .guide-row:nth-child(even) .guide-panel:has(> h5) {
    order: 1;
    text-align: left;
  }

  .odintsovo-guide .guide-events .guide-events-content > .guide-row:nth-child(odd):not(:first-child) .guide-panel:has(> h5) {
    order: -1;
    text-align: right;
  }

  body:has(.odintsovo-guide) .site-nav a {
    padding-inline: clamp(10px, 1.35vw, 22px);
    font-size: clamp(0.67rem, 0.78vw, 0.86rem);
  }
}

@media (max-width: 900px) {
  .odintsovo-guide .guide-card-grid {
    grid-template-columns: 1fr;
  }

  .odintsovo-guide .guide-events .guide-events-content > .guide-row:not(:first-child) > .guide-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .odintsovo-guide .guide-events .guide-events-content > .guide-row:not(:first-child) {
    margin-top: 18px;
  }
}
