/* Lora Normal Variable Font */
@font-face {
  font-family: Lora;
  font-style: normal;
  font-weight: 400 600 700;
  font-display: swap;
  src: url("/fonts/Lora-VariableFont_wght.ttf") format("truetype-variations");
}

/* Lora Italic Variable Font */
@font-face {
  font-family: Lora;
  font-style: italic;
  font-weight: 400 600 700;
  font-display: swap;
  src: url("/fonts/Lora-Italic-VariableFont_wght.ttf") format("truetype-variations");
}

@font-face {
  font-family: "Fira Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/FiraMono-Regular.ttf") format("truetype-variations");
}

/* ========== ЦВЕТОВАЯ СХЕМА САЙТА ========== */

:root {
  /* Традиционная японская цветовая схема для сайта айкидо */
  /* Концепция: классические японские цвета - ai (индиго), kurenai (алый), shiro (белый), sumi (чернильный) 
    
       1. Индиго символизирует мистический мир и традиционно ассоциируется с простотой.
       2. Красный отпугивает злых духов и представляет защиту, силу, мир и власть.

       - эти цвета наиболее часто встречаются в кимоно наряду с черным.
    */

  /* Основной цвет - Ai (藍) - традиционный японский индиго */
  /* hex #1e3a5f - глубокий сине-серый, цвет традиционной японской керамики */
  --color-colourful-1: oklch(34.6% 0.0736 256deg);

  /* Темный оттенок индиго - более насыщенный */
  /* hex #152b42 */
  --color-colourful-1-tint: oklch(25% 0.0736 256deg);

  /* Полупрозрачный индиго для подложек */
  /* hex #1e3a5f / 7% */
  --color-colourful-1-a-bit-transparent: oklch(34.6% 0.0736 256deg / 7%);

  /* Kurenai (紅) - традиционный японский алый из сафлора */
  /* hex #d63447 - яркий красно-розовый, как в логотипе */
  --color-colourful-2: oklch(58.1% 0.197 19.9deg);

  /* Темный оттенок куренай */
  /* hex #b8253a */
  --color-colourful-2-tint: oklch(51% 0.197 19.9deg);

  /* Shiro (白) - чистый белый, священный цвет */
  /* hex #ffffff */
  --color-mono-1: oklch(100% 0 0deg);

  /* Очень светлый серо-белый с едва заметным теплым оттенком */
  /* hex #fdfcfa */
  --color-mono-2: oklch(99.1% 0.0029 84.6deg);

  /* Светлый серый с легким голубоватым оттенком, как туман */
  /* hex #f5f6f7 */
  --color-mono-3: oklch(97.3% 0.0017 248deg);

  /* Nezumi (鼠) - мышино-серый, традиционный цвет простолюдинов */
  /* hex #6c757d */
  --color-mono-4: oklch(55.8% 0.0165 245deg);

  /* Sumi (墨) - цвет туши для каллиграфии, глубокий черно-серый */
  /* hex #2c3e50 */
  --color-mono-5: oklch(35.6% 0.0391 249deg);

  /* Заголовки, ссылки, выделение жирным. */
  --color-base-fg-alt: var(--color-colourful-1);

  /* Цвет основного фона страницы */
  --color-base-bg: var(--color-mono-1);

  /* Цвет альтернативного фона страницы */
  --color-base-bg-alt: var(--color-mono-2);

  /* Границы и ссылки в подвале */
  --color-perimeter: var(--color-mono-3);

  /* Цвет основного текста */
  --color-base-fg: var(--color-mono-5);

  /* Цвет второстепенного текста */
  --color-base-fg-alt2: var(--color-mono-4);

  /* Цвет третьестепенного текста */
  --color-base-fg-alt3: var(--color-mono-3);

  /* Цвет текста для привлечения внимания */
  --color-attention-fg: var(--color-mono-1);

  /* Цвет фона для привлечения внимания */
  --color-attention-bg: var(--color-colourful-1);

  /* Альтернативный цвет фона для привлечения внимания */
  --color-attention-bg-alt: var(--color-colourful-1-tint);

  /* Цвет для акцента */
  --color-accent-fg: var(--color-colourful-2);

  /* Альтернативный цвет для акцента */
  --color-accent-fg-alt: var(--color-colourful-2-tint);

  /* Цвет фона для акцента */
  --color-accent-bg: var(--color-colourful-1-a-bit-transparent);

  /* Тени */
  --shadow-sm: 0 2px 4px rgb(0 0 0 / 5%);
  --shadow-md: 0 4px 8px rgb(0 0 0 / 10%);
  --shadow-lg: 0 8px 16px rgb(0 0 0 / 10%);

  /* Утилитарные переменные */
  --border-radius: 4px;
  --border-radius-lg: 8px;
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 3rem;

  /* Переменные для высоты элементов */
  --height-sm: 40px;
  --height-md: 60px;
  --height-lg: 80px;

  --header-actual-height: 80px;

  /* Высота хедера для расчетов */
  --shapka-hero-min-height: calc(80vh - var(--header-actual-height, 0px));
  --hero-background-min-height: max(80vh,
      var(--header-actual-height, 0px) + var(--shapka-hero-actual-height, 80vh));
}

/* ========== БАЗОВЫЕ СТИЛИ ========== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: Lora, serif;
  color: var(--color-base-fg);
  line-height: 1.6;
  overflow-x: clip;
  background-color: var(--color-base-bg);

  /* Body as flex container for sticky layout */
  display: flex;
  flex-direction: column;
  min-height: 100vh;

  &>main {
    flex: 1;
    /* Takes all remaining vertical space */
    display: flex;
    flex-direction: column;
  }

  &>footer {
    flex-shrink: 0;
  }
}

a {
  color: var(--color-base-fg-alt);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--color-accent-fg);
}

/* Заголовки */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--color-base-fg-alt);
}

h1 {
  font-size: 2rem;
}

h2 {
  font-size: 1.75rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

h5,
h6 {
  font-size: 1rem;
}

p {
  margin-bottom: var(--spacing-md)
}

/* Definition list styles */

dl {
  margin-bottom: var(--spacing-lg);
  line-height: 1.7;
}

dt {
  font-weight: 600;
  color: var(--color-base-fg-alt);
  margin-top: var(--spacing-md);
  margin-bottom: var(--spacing-xs);
  font-size: 1.1em;
}

dt:first-child {
  margin-top: 0;
}

dd {
  margin-left: var(--spacing-lg);
  margin-bottom: var(--spacing-sm);
  color: var(--color-base-fg);
  line-height: 1.6;
}

dd:last-child {
  margin-bottom: 0;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ========== КОНТЕЙНЕР ========== */

section>div,
footer>div {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

/* Брейкпойнты для контейнера */
@media (width >=480px) {

  section>div,
  header>nav,
  footer>div {
    max-width: 460px;
  }
}

@media (width >=640px) {

  section>div,
  header>nav,
  footer>div {
    max-width: 620px;
  }

  h1 {
    font-size: 2.25rem;
  }

  h2 {
    font-size: 2rem;
  }

  h3 {
    font-size: 1.75rem;
  }
}

@media (width >=960px) {

  section>div,
  header>nav,
  footer>div {
    max-width: 940px;
  }

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2.25rem;
  }
}

@media (width >=1200px) {

  section>div,
  header>nav,
  footer>div {
    max-width: 1140px;
  }

  h1 {
    font-size: 3rem;
  }
}

/* ========== СЕТКА ========== */

.row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
}

/* Колонки для разных размеров экрана */

/* xs - по умолчанию, sm - 480px, md - 640px, lg - 960px, xl - 1200px */

[class*="col-"] {
  padding-right: 15px;
  padding-left: 15px;
  flex: 0 0 var(--col-width);
  max-width: var(--col-width);
}

/* XS (по умолчанию) */

.col-12 {
  --col-width: 100%;
}

/* SM (от 480px) */

/* MD (от 640px) */
@media (width >=640px) {

  .col-md-6 {
    --col-width: 50%;
  }
}

/* LG (от 960px) */
@media (width >=960px) {

  .col-lg-8 {
    --col-width: 66.6667%;
  }

  .col-lg-6 {
    --col-width: 50%;
  }

  .col-lg-4 {
    --col-width: 33.3333%;
  }

  .col-lg-3 {
    --col-width: 25%;
  }

  .offset-lg-2 {
    margin-left: 16.6667%;
  }
}

/* XL (от 1200px) */

/* ========== УТИЛИТЫ ========== */

.text-center {
  text-align: center;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-4 {
  margin-bottom: 1.5rem;
}

.mt-3 {
  margin-top: 1rem;
}

.mt-4 {
  margin-top: 1.5rem;
}

.mt-5 {
  margin-top: 3rem;
}

.bg-secondary {
  background-color: var(--color-base-bg-alt);
}

/* ========== КОМПОНЕНТЫ ========== */

/* Карточки */

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  word-wrap: break-word;
  background-color: var(--color-base-bg);
  background-clip: border-box;
  border: 1px solid var(--color-perimeter);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  transition: all 0.3s ease;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

.card-body {
  padding: 1.25rem;
}

.card-text {
  margin-bottom: 1rem;
}

/* ==========  Секции (начало) ========== */

section {
  padding: 3rem 0;

  & h2:first-of-type {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;

    /* Декоративное подчеркивание заголовка */

    &::after {
      content: "";
      position: absolute;
      bottom: -10px;
      left: 50%;
      transform: translateX(-50%);
      width: 80px;
      height: 3px;
      background-color: var(--color-accent-fg);
    }
  }

  & h1 {
    color: var(--color-attention-fg);
    text-align: center;
  }

  /* Hero секция (начало) */

  &#shapka-hero {
    position: relative;
    min-height: var(--shapka-hero-min-height);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--color-attention-fg);
    overflow: hidden;

    & div.hero-content {
      position: relative;
      z-index: 2;
      max-width: 600px;

      &>h1 {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;

        @media (width >=640px) {
          font-size: 3rem;
        }

        @media (width >=960px) {
          font-size: 3.5rem;
        }

        @media (width >=1200px) {
          font-size: 4rem;
        }
      }

      &>p {
        font-size: 1.25rem;
        color: var(--color-attention-fg);
        margin-bottom: 2rem;

        @media (width >=640px) {
          font-size: 1.5rem;
        }
      }

      &>span {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: var(--spacing-md);
      }

      & h1,
      & p,
      & a.btn-outline {
        background-color: rgb(0 0 0 / 20%);
        box-shadow: 0 0 var(--border-radius-lg) rgb(0 0 0 / 20%);
        backdrop-filter: blur(8px);
        padding: var(--border-radius-lg);
        border-radius: var(--border-radius-lg);
      }

      a.btn-outline {
        color: var(--color-attention-fg);
        border-color: var(--color-attention-fg)
      }
    }
  }

  /* Hero секция (конец) */

  /* Альтернативная-к-hero шапка */

  &#shapka-non-hero {
    padding: 1rem 0;
    background-color: var(--color-base-fg-alt);

    & p {
      color: var(--color-attention-fg);
      text-align: center;
      max-width: 600px;
      margin: 0 auto;
      font-size: 1.25rem;
    }
  }
}

/*  ==========  Секции (конец) ==========  */

/* ========== Основное меню (конец) ========== */

/* ========== ФОРМЫ ========== */

/* Блок преимуществ */

.features {
  text-align: center;
}

.feature-item {
  padding: 1.5rem;
  margin-bottom: 2rem;
  transition: transform 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-5px);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background-color: var(--color-accent-bg);
  border-radius: 50%;
  margin-bottom: 1.5rem;
  color: var(--color-base-fg-alt);
  font-size: 2rem;
}

/* Блок цитаты (начало) */

.quote-block {
  background-color: var(--color-accent-bg);
  padding: 2rem;
  border-radius: var(--border-radius-lg);
  position: relative;
  margin: 2rem 0;

  &>p {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    position: relative;
    padding: 0 2rem;
  }

  &>p::before,
  &>p::after {
    position: absolute;
    font-size: 3rem;
    color: var(--color-base-fg-alt);
    opacity: 20%;
    font-family: serif;
    line-height: 1;
  }

  &>p::before {
    content: "«";
    left: 0;
    top: 0;
  }

  &>p::after {
    content: "»";
    right: 0;
    bottom: 0;
  }

  &>cite {
    display: block;
    text-align: right;
    font-weight: 600;
  }
}

/* Блок цитаты (конец) */

/* Карта и расположение залов */

.map-container {
  height: 400px;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-md);
}

/* Список залов */
.location-item {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-perimeter);

  &>h4 {
    margin-bottom: 0.5rem;
  }
}

/* Расписание */

/* Стили для взрослых и детских групп */

/* Анимации и переходы */
@keyframes fade-in {
  from {
    opacity: 0%;
    transform: translateY(20px);
  }

  to {
    opacity: 100%;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fade-in 0.6s ease forwards;
}

.fade-in-delay-1 {
  animation-delay: 0.2s;
}

.fade-in-delay-2 {
  animation-delay: 0.4s;
}

.fade-in-delay-3 {
  animation-delay: 0.6s;
}

/* Стили для lightbox галереи */

.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(0 0 0 / 90%);
  z-index: 2000;
  justify-content: center;
  align-items: center;
}

.lightbox.show {
  display: flex;
}

.lightbox-content {
  max-width: 90%;
  max-height: 90%;
}

.lightbox-img {
  max-width: 100%;
  max-height: 90vh;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 2rem;
  color: var(--color-attention-fg);
  cursor: pointer;
}

.lightbox-nav {
  display: flex;
  justify-content: space-between;
  width: 100%;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-prev,
.lightbox-next {
  font-size: 2rem;
  color: var(--color-attention-fg);
  cursor: pointer;
  padding: 1rem;
}

/* Стили для изображений SVG */

/* Страницы 404 и ошибок */

/* Кастомные стили для Яндекс.Карт */

/* Стили для пагинации */

.loader {
  width: 50px;
  height: 50px;
  border: 5px solid var(--color-perimeter);
  border-top-color: var(--color-base-fg-alt);
  border-radius: 50%;
  animation: spin 1s infinite linear;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* Адаптивные стили для секций */

@media (width <=639px) {
  .feature-icon {
    width: 60px;
    height: 60px;
  }
}

@media (width <=479px) {
  .btn {
    padding: 0.6rem 1.2rem;
  }

  .card-body {
    padding: 1rem;
  }
}

/* Печатные стили */
@media print {

  body>header,
  body>footer,
  .btn {
    display: none !important;
  }

  body {
    font-size: 12pt;
    color: #000;
  }

  a {
    text-decoration: underline;
    color: #000;
  }

  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    color: #000;
    page-break-after: avoid;
  }

  img {
    max-width: 100% !important;
    page-break-inside: avoid;
  }

  section>div {
    max-width: 100%;
    width: 100%;
  }
}

/* Стили для доступности -- добавляем обводку при фокусе */

/* Стили для статей */

section#sign-up-appeal {
  background-color: var(--color-base-fg-alt);
  color: var(--color-attention-fg);
  padding: var(--spacing-xl) 0;
  text-align: center;

  &>div {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-md);
  }

  & h2,
  & h5 {
    color: var(--color-attention-fg);
    margin-bottom: 0;
  }
}

/* Яндекс виджет отзывов */

/* Кастомные анимации лендингов */
@keyframes move-it-down {
  from {
    top: -200px;
  }

  to {
    top: 0;
  }
}

@keyframes move-it-up {
  from {
    top: 300px;
  }

  to {
    top: 0;
  }
}

@keyframes move-it-right {
  from {
    left: -600px;
  }

  to {
    left: 0;
  }
}

@keyframes move-it-left {
  from {
    left: 600px;
  }

  to {
    left: 0;
  }
}

@keyframes slide-up-smooth {
  from {
    transform: translateY(200px);
    opacity: 0.5;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes slide-down-smooth {
  from {
    transform: translateY(-200px);
    opacity: 0.5;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes slide-left-smooth {
  from {
    transform: translateX(200px) translateZ(0);
    opacity: 0.5;
  }

  to {
    transform: translateX(0) translateZ(0);
    opacity: 1;
  }
}

@keyframes slide-right-smooth {
  from {
    transform: translateX(-200px);
    opacity: 0.5;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes disable-flex-during-animation {
  0% {
    display: block;
  }

  99% {
    display: block;
  }

  100% {
    display: flex;
  }
}

.footer[data-astro-cid-fhgslkvp] {
  background-color: var(--color-attention-bg-alt);
  color: var(--color-attention-fg);
  padding: 3rem 0 1.5rem;

  & h4[data-astro-cid-fhgslkvp] {
    color: var(--color-attention-fg);
    margin-bottom: 1.5rem
  }

  .footer-bottom {
    border-top: 1px solid rgb(255 255 255 / 10%);
    padding-top: 1.5rem;
    margin-top: 3rem;
  }
}

ul[data-astro-cid-fhgslkvp].contacts-list {
  list-style: none;
  padding: 0;
  margin: 0;

  &>li[data-astro-cid-fhgslkvp] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.2rem;

    &>span[data-astro-cid-fhgslkvp] {
      width: 32px;
      height: 32px;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0
    }

    &>em[data-astro-cid-fhgslkvp] {
      min-width: 90px;
      color: var(--color-base-fg-alt3)
    }

    &>a[data-astro-cid-fhgslkvp] {
      color: var(--color-attention-fg);
      font-weight: 500;
      text-decoration: underline;
      transition: color 0.2s;

      &[data-astro-cid-fhgslkvp]:hover {
        color: var(--color-accent-fg)
      }
    }
  }
}

body:has(section#shapka-hero)>header:not(.header-solid) ul#breadcrumbs>li {
  background-color: rgb(255 255 255 / 20%);
  box-shadow: 0 0 var(--border-radius-lg) rgb(255 255 255 / 20%);
  backdrop-filter: blur(8px);

  &>a {
    color: rgb(255 255 255 / 80%)
  }

  &:not(:last-child)::after {
    color: rgb(255 255 255 / 80%);
  }
}

ul[data-astro-cid-z4zgitjx] {
  width: 100%;
  padding: 0;
  margin: 0;
  list-style: none;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  letter-spacing: -0.02em;

  &>li[data-astro-cid-z4zgitjx] {
    padding: 0.25rem 0.5rem;
    border-radius: var(--border-radius-lg);

    &>a[data-astro-cid-z4zgitjx] {
      color: var(--color-base-fg-alt3);
      text-decoration: none;
      transition: color 0.3s ease
    }

    &>a[data-astro-cid-z4zgitjx]:hover {
      color: var(--color-accent-fg)
    }

    &[data-astro-cid-z4zgitjx]:not(:last-child)::after {
      content: "›";
      margin-left: 0.5rem;
      color: var(--color-base-fg-alt3);
      font-weight: 700
    }

    &[data-astro-cid-z4zgitjx]:not(:first-child) {
      font-style: italic
    }

    &[data-astro-cid-z4zgitjx]:last-child {
      font-weight: 600;
      color: var(--color-accent-fg)
    }
  }
}

/* Здесь цвет не-ссылки для фона "со сдвигом" */
body>header.header-solid>nav>div>ul>li>span,
/* Здесь цвет не-ссылки для фона без героического раздела */
body:not(:has(section#shapka-hero))>header>nav>div>ul>li>span {
  color: var(--color-accent-fg);
}

@media (width >=960px) {

  /* Здесь цвет не-ссылки поверх героического раздела на больших ширинах экрана */
  body:has(section#shapka-hero)>header:not(.header-solid)>nav>div>ul>li {
    &>span {
      color: var(--color-base-fg);
    }
  }
}

a[data-astro-cid-n7yygg7g],
span[data-astro-cid-n7yygg7g] {
  display: block;
  transition: color 0.3s ease
}

a[data-astro-cid-n7yygg7g] {
  color: var(--color-attention-fg);
  font-weight: 500;

  &[data-astro-cid-n7yygg7g]:hover {
    color: var(--color-accent-fg)
  }
}

span[data-astro-cid-n7yygg7g] {
  font-weight: 600;
  font-style: italic;
  color: var(--color-accent-fg)
}

a[data-astro-cid-n7yygg7g].nav-link-active,
span[data-astro-cid-n7yygg7g].nav-link-active {
  font-style: italic
}

@media (width >=960px) {

  a[data-astro-cid-n7yygg7g],
  span[data-astro-cid-n7yygg7g] {
    border-radius: var(--border-radius-lg)
  }

  a[data-astro-cid-n7yygg7g] {
    color: var(--color-attention-fg)
  }
}

div[data-astro-cid-bhyrekxa].dropdown {
  display: block;
  position: relative;
  padding: 0.0001rem;
  margin: 0;
  transition: color 0.3s ease;
  color: var(--color-attention-fg);
  font-weight: 500;

  &[data-astro-cid-bhyrekxa]:hover {
    color: var(--color-accent-fg)
  }

  &.nav-link-active {
    font-style: italic
  }

  &>ul[data-astro-cid-bhyrekxa] {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background-color: var(--color-attention-bg-alt);
    box-shadow: var(--shadow-md);
    border-radius: var(--border-radius);
    padding: 0.5rem 1rem;
    z-index: 1;

    &>li[data-astro-cid-bhyrekxa] {
      list-style: none;
      margin: 0;
      padding-top: 0.5rem;
      padding-bottom: 0.5rem
    }
  }
}

@media (width >=960px) {

  /* Здесь стили подложки ссылок поверх героического раздела на больших ширинах экрана */
  body:has(section#shapka-hero)>header:not(.header-solid)>nav>div>ul {
    &>li:has(a) {
      background-color: rgb(0 0 0 / 20%);
      box-shadow:
        0 -8px 16px -8px rgb(0 0 0 / 20%),
        0 8px 16px -8px rgb(0 0 0 / 20%);
      backdrop-filter: blur(8px);
    }

    &>li:has(span) {
      color: var(--color-base-fg);
      background-color: rgb(255 255 255 / 20%);
      box-shadow:
        0 -8px 16px -8px rgb(255 255 255 / 20%),
        0 8px 16px -8px rgb(255 255 255 / 20%);
      backdrop-filter: blur(8px);
    }

    &>li:first-child {
      border-radius: var(--border-radius-lg) 0 0 var(--border-radius-lg);
    }

    &>li:last-child {
      border-radius: 0 var(--border-radius-lg) var(--border-radius-lg) 0;
    }
  }
}

nav[data-astro-cid-ipqgesqj]>div[data-astro-cid-ipqgesqj]>a[data-astro-cid-ipqgesqj],
nav[data-astro-cid-ipqgesqj]>div[data-astro-cid-ipqgesqj]>span[data-astro-cid-ipqgesqj] {
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-attention-fg);

  &>span[data-astro-cid-ipqgesqj] {
    border-radius: var(--border-radius-lg);
    padding: 0.25rem 0.5rem;
    text-align: center;

    &>span[data-astro-cid-ipqgesqj].saa_name {}

    &>div[data-astro-cid-ipqgesqj].delimeter {
      border-bottom: 1px solid white;
      margin-top: 3px;
      margin-bottom: 1px
    }

    &>span[data-astro-cid-ipqgesqj].since {}
  }
}

button[data-astro-cid-ipqgesqj] {
  color: var(--color-attention-fg);
  display: block;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 10;

  &[data-astro-cid-ipqgesqj]:hover {
    color: var(--color-accent-fg)
  }

  @media (width >=960px) {
    display: none
  }
}

header[data-astro-cid-ipqgesqj] {
  position: sticky;
  top: 0;
  left: 0;
  padding-right: 15px;
  padding-left: 15px;
  width: 100%;
  z-index: 1000;
  flex-shrink: 0;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  background-color: var(--color-attention-bg);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;

  &>nav[data-astro-cid-ipqgesqj] {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 1rem 0;
    gap: 1rem;
    width: 100%;
    margin: 0 auto;

    &>div[data-astro-cid-ipqgesqj] {
      display: flex;
      justify-content: space-between;
      align-items: center;
      width: 100%;
      gap: 2rem;

      &>ul[data-astro-cid-ipqgesqj] {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--color-attention-bg);
        box-shadow: var(--shadow-md);
        padding: 1rem 0;
        flex-direction: column;

        &.show {
          display: flex
        }

        &>li[data-astro-cid-ipqgesqj] {
          list-style: none;
          margin: 0;
          padding-right: 1rem;
          padding-left: 1rem;
          padding-top: 0.5rem;
          padding-bottom: 0.5rem
        }
      }
    }
  }

  @media (width >=960px) {
    &>nav[data-astro-cid-ipqgesqj]>div[data-astro-cid-ipqgesqj]>ul[data-astro-cid-ipqgesqj] {
      display: flex;
      position: static;
      width: auto;
      background-color: transparent;
      box-shadow: none;
      padding: 0;
      flex-direction: row
    }
  }
}

body:has(section#shapka-hero)>header[data-astro-cid-ipqgesqj]:not(.header-solid) {
  background-color: transparent;

  &>nav[data-astro-cid-ipqgesqj]>div[data-astro-cid-ipqgesqj] {

    &>a[data-astro-cid-ipqgesqj]>span[data-astro-cid-ipqgesqj],
    &>span[data-astro-cid-ipqgesqj]>span[data-astro-cid-ipqgesqj] {
      background-color: rgb(0 0 0 / 20%);
      box-shadow: 0 0 var(--border-radius-lg) rgb(0 0 0 / 20%);
      backdrop-filter: blur(8px)
    }
  }
}

.btn[data-astro-cid-jc2k5rig] {
  display: inline-block;
  font-weight: 500;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  user-select: none;
  border: 1px solid transparent;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: var(--border-radius);
  transition: all 0.3s ease;
  cursor: pointer
}

.btn-primary[data-astro-cid-jc2k5rig] {
  color: var(--color-attention-fg);
  background-color: var(--color-attention-bg);
  border-color: var(--color-attention-bg);

  &[data-astro-cid-jc2k5rig]:hover {
    color: var(--color-attention-fg);
    background-color: var(--color-attention-bg-alt);
    border-color: var(--color-attention-bg-alt)
  }
}

.btn-secondary[data-astro-cid-jc2k5rig] {
  color: var(--color-attention-fg);
  background-color: var(--color-accent-fg);
  border-color: var(--color-accent-fg);

  &[data-astro-cid-jc2k5rig]:hover {
    color: var(--color-attention-fg);
    background-color: var(--color-accent-fg-alt);
    border-color: var(--color-accent-fg-alt)
  }
}

.btn-outline[data-astro-cid-jc2k5rig] {
  color: var(--color-base-fg-alt);
  background-color: transparent;
  border-color: var(--color-base-fg-alt);

  &[data-astro-cid-jc2k5rig]:hover {
    color: var(--color-attention-fg);
    background-color: var(--color-base-fg-alt)
  }
}

.w-100[data-astro-cid-jc2k5rig] {
  display: block;
  width: 100%
}

.contact-form[data-astro-cid-p2ez2yns] {
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md)
}

#captcha-container[data-astro-cid-p2ez2yns] {
  height: 100px
}

.t-input-error[data-astro-cid-p2ez2yns] {
  border: 3px solid var(--color-accent-fg)
}

div[data-astro-cid-p2ez2yns].form-group:has(> input.t-input-error) {
  border: 3px solid var(--color-accent-fg)
}

@keyframes t-submit-spinner {
  to {
    transform: rotate(360deg)
  }
}

.button-sending[data-astro-cid-p2ez2yns] {
  opacity: 50%;
  transition: opacity 0.7s ease-in-out;

  &[data-astro-cid-p2ez2yns]::before {
    content: "";
    box-sizing: border-box;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    margin-top: -15px;
    margin-left: -15px;
    border-radius: 50%;
    border: 2px solid #ccc;
    border-top-color: #333;
    animation: t-submit-spinner 0.6s linear infinite
  }
}

#phone-validation-error-message[data-astro-cid-p2ez2yns],
#privacy-policy-validation-error-message[data-astro-cid-p2ez2yns],
#contact-sent-failed[data-astro-cid-p2ez2yns],
#sent-success[data-astro-cid-p2ez2yns] {
  display: block;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.7s ease-in-out, opacity 0.7s ease-in-out;
  margin: 0;
  padding: 0;

  &.show {
    max-height: 200px;
    opacity: 1;
    margin: 1rem 0;
    padding: 0
  }
}

#phone-validation-error-message[data-astro-cid-p2ez2yns],
#privacy-policy-validation-error-message[data-astro-cid-p2ez2yns] {
  color: var(--color-accent-fg)
}

.form-label[data-astro-cid-p2ez2yns] {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500
}

input[data-astro-cid-p2ez2yns][type=checkbox] {
  display: inline;
  margin-right: 0.5rem
}

.privacy-policy-label[data-astro-cid-p2ez2yns] {
  display: inline;
  margin-bottom: 0.5rem;
  font-weight: 500;

  & a[data-astro-cid-p2ez2yns] {
    border-bottom: 1px dashed
  }
}

.form-group[data-astro-cid-p2ez2yns] {
  margin-bottom: 1.5rem
}

#contact_phone[data-astro-cid-p2ez2yns] {
  font-family: "Fira Mono", monospace
}

.form-control[data-astro-cid-p2ez2yns] {
  display: block;
  width: 100%;
  padding: 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--color-base-fg);
  background-color: var(--color-base-bg);
  background-clip: padding-box;
  border: 1px solid var(--color-perimeter);
  border-radius: var(--border-radius);
  transition: border-color 0.3s ease, box-shadow 0.3s ease
}

.form-control[data-astro-cid-p2ez2yns]:focus {
  border-color: var(--color-base-fg-alt);
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgb(26 51 101 / 25%)
}

textarea[data-astro-cid-p2ez2yns].form-control {
  min-height: 100px;
  resize: vertical
}

@keyframes fade-in {
  from {
    opacity: 0%;
    transform: translateY(20px)
  }

  to {
    opacity: 100%;
    transform: translateY(0)
  }
}

.fade-in[data-astro-cid-p2ez2yns] {
  animation: fade-in 0.6s ease forwards
}

ul[data-astro-cid-buq6kz2n].contacts-list {
  list-style: none;
  padding: 0;
  margin: 0;

  &>li[data-astro-cid-buq6kz2n] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.2rem;

    &>span[data-astro-cid-buq6kz2n] {
      width: 32px;
      height: 32px;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0
    }

    &>em[data-astro-cid-buq6kz2n] {
      min-width: 90px;
      color: var(--color-base-fg-alt2)
    }

    &>a[data-astro-cid-buq6kz2n] {
      color: var(--color-base-fg-alt);
      font-weight: 500;
      text-decoration: underline;
      transition: color 0.2s;

      &[data-astro-cid-buq6kz2n]:hover {
        color: var(--color-accent-fg)
      }
    }
  }
}

#contact_phone[data-astro-cid-buq6kz2n] {
  font-family: "Fira Mono", monospace
}

address[data-astro-cid-mfg2m2sa] {
  font-style: normal;
  margin-bottom: 0.5rem;

  &>img[data-astro-cid-mfg2m2sa] {
    display: inline;
    vertical-align: -0.12em;
    margin-right: 0.1em
  }
}

.instructor-detail-name[data-astro-cid-ceaa7zok] {
  font-size: 2rem;
  color: var(--color-base-fg-alt);
  margin-bottom: 2rem
}

.instructor-detail-rank[data-astro-cid-ceaa7zok] {
  font-size: 1.25rem;
  color: var(--color-accent-fg);
  margin-bottom: 1rem
}

.instructor-detail-quote[data-astro-cid-ceaa7zok] {
  font-style: italic;
  margin: 1.5rem 0;
  padding: 1rem;
  background-color: var(--color-accent-bg);
  border-radius: var(--border-radius-lg)
}

.schedule-item-list[data-astro-cid-ceaa7zok] {
  list-style: none;
  padding: 0;
  margin: 1rem 0
}

.instructor-detail-img {
  width: 100%;
  border-radius: var(--border-radius-lg);
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-md);
  object-fit: cover;
  max-height: 400px;

  @media (width >=768px) {
    width: 300px;
    height: 400px;
    margin-bottom: 0;
  }
}

img.instructor-entry-img {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius-lg);
  margin-bottom: 1rem;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  max-height: 300px;
}

a[data-astro-cid-piim6joy].instructor-entry {
  position: relative;
  overflow: hidden;

  &>h3[data-astro-cid-piim6joy] {
    font-size: 1.25rem;
    margin-bottom: 0.5rem
  }

  &>p[data-astro-cid-piim6joy]:first-of-type {
    color: var(--color-accent-fg);
    margin-bottom: 0.5rem
  }

  &>p[data-astro-cid-piim6joy]:last-of-type {
    color: var(--color-base-fg-alt2);
    font-style: italic
  }
}

div[data-astro-cid-gesmc7yu].instructors-section>div[data-astro-cid-gesmc7yu]>div[data-astro-cid-gesmc7yu] {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2rem;
  margin: 0;
  padding: 0;

  @media (width >=480px) {
    grid-template-columns: repeat(2, 1fr)
  }

  @media (width >=640px) {
    grid-template-columns: repeat(3, 1fr)
  }

  @media (width >=960px) {
    grid-template-columns: repeat(4, 1fr)
  }
}

ul[data-astro-cid-epim4y2c].gallery {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1rem;
  list-style: none;
  margin: 0 0 4em 0;
  padding: 0;

  @media (width >=480px) {
    grid-template-columns: repeat(2, 1fr)
  }

  @media (width >=640px) {
    grid-template-columns: repeat(3, 1fr)
  }

  @media (width >=960px) {
    grid-template-columns: repeat(4, 1fr)
  }

  &>li[data-astro-cid-epim4y2c] {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius-lg);
    aspect-ratio: 1 / 1;

    &>img[data-astro-cid-epim4y2c] {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.5s ease
    }

    &>aside[data-astro-cid-epim4y2c] {
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      padding: 1rem;
      background-color: rgb(0 0 0 / 70%);
      color: var(--color-attention-fg);
      transform: translateY(100%);
      transition: transform 0.3s ease;
      box-sizing: border-box;
      margin: 0;
      font-size: 1.1rem;
      font-weight: 700
    }

    &[data-astro-cid-epim4y2c]:hover {
      &>img[data-astro-cid-epim4y2c] {
        transform: scale(1.05)
      }

      &>aside[data-astro-cid-epim4y2c] {
        transform: translateY(0)
      }
    }
  }
}

blockquote {
  background-color: var(--color-accent-bg);
  padding: 1.5rem 2rem;
  border-left: 5px solid var(--color-attention-bg);
  font-style: italic;
  margin: 2rem 0;
  border-radius: var(--border-radius-lg);
}

.article-content {
  font-size: 1.125rem;
  line-height: 1.8;
}

.article-content h2 {
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
}

.article-content h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.article-content img {
  max-width: 100%;
  height: auto;
  margin: 2rem 0;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
}

/* Дополнительные стили для статей */

.article-subtitle {
  color: var(--color-accent-fg);
  font-size: 1.2rem;
  font-style: italic;
  margin-bottom: 2rem;
}

.article-content ul {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.article-content ul li {
  margin-bottom: 0.75rem;
}

.article-content strong {
  color: var(--color-base-fg-alt);
  font-weight: 600;
}

.article-content p {
  margin-bottom: 1.5rem;
}

.article-content p:last-child {
  margin-bottom: 0;
}

/* Статьи */

.article-list {
  list-style: none;
  padding: 0;

  & img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius-lg);
    margin-bottom: 1rem;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    max-height: 300px;
  }
}

.article-item {
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border-radius: var(--border-radius-lg);
  background-color: var(--color-base-bg);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s ease;
}

.article-item:hover {
  box-shadow: var(--shadow-md);
}

.article-title {
  color: var(--color-base-fg-alt);
  margin-bottom: 0.5rem;
}

.article-excerpt {
  margin-bottom: 1rem;
  color: var(--color-base-fg-alt2);
}

.article-meta {
  font-size: 0.875rem;
}

.article-subtitle {
  color: var(--color-accent-fg);
  font-size: 1.2rem;
  font-style: italic;
  margin-bottom: 2rem;
}

ul.article-instructors {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

h3 {
  text-align: center;
}

ul.video-gallery {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1rem;
  list-style: none;
  margin: 0 0 4em 0;
  padding: 0;

  @media (width >=640px) {
    grid-template-columns: repeat(2, 1fr);
  }

  &>li {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius-lg);
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
    justify-content: center;

    /* Поддержка как прямых потомков video, так и вложенных через .video-wrapper */

    /* Стили для обёртки video-wrapper */
    &>.video-wrapper {
      width: 100%;
      height: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    &>video,
    &>.video-wrapper>video {
      max-width: 100%;
      max-height: 100%;
      object-fit: contain;
    }
  }

  @media (width >=480px) {

    &>li:has(> video.video-ratio-60-107),
    &>li:has(> .video-wrapper > video.video-ratio-60-107),
    &>li:has(> video.video-ratio-9-16),
    &>li:has(> .video-wrapper > video.video-ratio-9-16) {
      aspect-ratio: 1 / 1;
    }
  }
}

video[data-astro-cid-jksh3e2l].hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--hero-background-min-height);
  object-fit: cover;
  z-index: -10
}

div[data-astro-cid-jksh3e2l].hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--hero-background-min-height);
  max-width: 100%;
  background-color: rgb(0 0 0 / 40%);
  z-index: -5
}

img[data-astro-cid-xgi4nthn].hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--hero-background-min-height);
  object-fit: cover;
  z-index: -10
}

div[data-astro-cid-xgi4nthn].hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--hero-background-min-height);
  max-width: 100%;
  background-color: rgb(0 0 0 / 40%);
  z-index: -5
}

.map-container[data-astro-cid-oiqd7bjp] {
  width: 100%;
  height: 400px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1)
}

@media (max-width: 768px) {
  .map-container[data-astro-cid-oiqd7bjp] {
    height: 300px
  }
}

.schedule-item-list[data-astro-cid-3anj3nc2] {
  list-style: none;
  padding: 0;
  margin: 1rem 0
}

.instructor-detail[data-astro-cid-iiaftmsl] {
  display: flex;
  flex-direction: column;
  margin-bottom: 3rem
}

.instructor-detail-img[data-astro-cid-iiaftmsl] {
  width: 100%;
  border-radius: var(--border-radius-lg);
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-md);
  object-fit: cover;
  max-height: 400px
}

.instructor-detail-info[data-astro-cid-iiaftmsl] {
  flex: 1
}

.instructor-detail-name[data-astro-cid-iiaftmsl] {
  font-size: 2rem;
  color: var(--color-base-fg-alt);
  margin-bottom: 2rem
}

.instructor-detail-rank[data-astro-cid-iiaftmsl] {
  font-size: 1.25rem;
  color: var(--color-accent-fg);
  margin-bottom: 1rem
}

.instructor-detail-quote[data-astro-cid-iiaftmsl] {
  font-style: italic;
  margin: 1.5rem 0;
  padding: 1rem;
  background-color: var(--color-accent-bg);
  border-radius: var(--border-radius-lg)
}

@media (width >=768px) {
  .instructor-detail[data-astro-cid-iiaftmsl] {
    flex-direction: row;
    gap: 2rem
  }

  .instructor-detail-img[data-astro-cid-iiaftmsl] {
    width: 300px;
    height: 400px;
    margin-bottom: 0;
    object-fit: cover
  }
}

.schedule-item-list[data-astro-cid-iiaftmsl] {
  list-style: none;
  padding: 0;
  margin: 1rem 0
}

div[data-astro-cid-rpzif67e].city-header {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-bottom: 1rem;

  & p[data-astro-cid-rpzif67e] {
    margin-bottom: 0
  }
}

div[data-astro-cid-rpzif67e].dojo-list {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2rem;
  margin: 0 0 2rem 0;
  padding: 0;

  @media (width >=480px) {
    grid-template-columns: repeat(2, 1fr)
  }

  @media (width >=640px) {
    grid-template-columns: repeat(3, 1fr)
  }

  @media (width >=960px) {
    grid-template-columns: repeat(4, 1fr)
  }
}

h4[data-astro-cid-rpzif67e] {
  margin-bottom: 0
}

figure[data-astro-cid-rpzif67e]>img[data-astro-cid-rpzif67e] {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius-lg);
  margin-bottom: 1rem;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  max-height: 300px
}

ul[data-astro-cid-rpzif67e].teams-list {
  padding: 0;
  margin-left: 1.5rem;
  margin-bottom: 1rem;
  list-style: none
}

ul[data-astro-cid-rpzif67e].teams-list li[data-astro-cid-rpzif67e]::before {
  content: "‣";
  color: var(--color-primary, #000);
  font-weight: bold;
  display: inline-block;
  width: 1.5em;
  margin-left: -1.5em;
  animation: swing 1s ease-in-out infinite;
  transform-origin: center
}

ul[data-astro-cid-rpzif67e].budge-widget-list {
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.5rem
}

@keyframes swing {

  0%,
  100% {
    transform: translateX(0)
  }

  50% {
    transform: translateX(0.3em)
  }
}

.schedule-container[data-astro-cid-sbbalg7d] span[data-astro-cid-sbbalg7d].together-time {
  word-break: normal
}

.schedule-container[data-astro-cid-sbbalg7d] {
  display: grid;
  grid-template-columns: repeat(7, auto);
  justify-content: stretch;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  hyphens: auto
}

.schedule-container[data-astro-cid-sbbalg7d]>div[data-astro-cid-sbbalg7d] {
  border: 1px solid var(--color-perimeter);
  background-color: var(--color-base-bg);
  padding: 0.5rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center
}

.schedule-container[data-astro-cid-sbbalg7d]>div[data-astro-cid-sbbalg7d].where {
  grid-column: span 7
}

.schedule-container[data-astro-cid-sbbalg7d]>div[data-astro-cid-sbbalg7d].where a[data-astro-cid-sbbalg7d] {
  text-decoration: underline;
  font-size: 1.1rem
}

.schedule-container[data-astro-cid-sbbalg7d]>div[data-astro-cid-sbbalg7d].where a[data-astro-cid-sbbalg7d]:hover {
  color: var(--color-accent-fg);
  text-decoration: underline
}

.schedule-container[data-astro-cid-sbbalg7d]>div[data-astro-cid-sbbalg7d].narrow {
  background-color: var(--color-base-fg-alt);
  color: var(--color-attention-fg)
}

.schedule-container[data-astro-cid-sbbalg7d]>div[data-astro-cid-sbbalg7d].wide {
  display: none
}

.schedule-container[data-astro-cid-sbbalg7d]>div[data-astro-cid-sbbalg7d]>div[data-astro-cid-sbbalg7d] {
  word-break: break-word;
  hyphens: auto
}

@media (width >=960px) {
  .schedule-container[data-astro-cid-sbbalg7d] {
    grid-template-columns: repeat(8, auto)
  }

  .schedule-container[data-astro-cid-sbbalg7d]>div[data-astro-cid-sbbalg7d].where {
    grid-column: auto
  }

  .schedule-container[data-astro-cid-sbbalg7d]>div[data-astro-cid-sbbalg7d].where a[data-astro-cid-sbbalg7d] {
    font-size: 1rem
  }

  .schedule-container[data-astro-cid-sbbalg7d]>div[data-astro-cid-sbbalg7d].narrow {
    display: none
  }

  .schedule-container[data-astro-cid-sbbalg7d]>div[data-astro-cid-sbbalg7d].wide {
    display: flex;
    background-color: var(--color-base-fg-alt);
    color: var(--color-attention-fg)
  }
}

.dashed-link[data-astro-cid-j7pv25f6] {
  text-decoration: underline;
  text-decoration-style: dashed;
  text-decoration-color: var(--color-accent-fg)
}