@media (min-width: 600px) {
.reviews__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 12px;
  align-items: stretch;
}
}


/* Десктоп: типографика и отступы из z_styles.md */




@media (min-width: 992px) {
  :root {
    --p-section-top: calc(var(--section-gap-lg) / 3);
    --m-section-bottom: calc(var(--section-gap-lg) * 2 / 3);
    --hero-pt: 120px;
    --hero-pb: 48px;
    --hero-mb: calc(var(--section-gap-lg) * 2 / 3);

    --fs-h1: 52px;
    --lh-h1: 1;
    --fs-h2: 24px;
    --lh-h2: 1;
    --mb-h2: 40px;
    --fs-body: 16px;
    --lh-body: 1.1;
    --fs-btn: 16px;
    --lh-btn: 1;
  }

  .section.hero:not(.hero--home):not(.hero--masterskaya):not(.hero--art-class):not(.hero--art-club) {
    padding-top: var(--hero-pt);
    padding-bottom: var(--hero-pb);
    margin-bottom: var(--hero-mb);
  }

  .hero.hero--home .hero__inner,
  .hero.hero--masterskaya .hero__inner,
  .hero.hero--art-class .hero__inner,
  .hero.hero--art-club .hero__inner {
    padding-top: calc(72px + env(safe-area-inset-top, 0px));
    padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px));
  }

  .hero.hero--home {
    background-image: url("../img/hero.webp");
  }

  .hero.hero--masterskaya {
    background-image: url("../img/hero_masterskaya.webp");
  }

  .hero.hero--art-class {
    background-image: url("../img/hero_art_class.webp");
  }

  .hero.hero--art-club {
    background-image: url("../img/hero_art_club.webp");
  }

  .schedule-hero {
    background-image: url("../img/hero_schedule.webp");
  }

  .schedule-hero__inner {
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: calc(80px + env(safe-area-inset-top, 0px));
    padding-bottom: calc(34px + env(safe-area-inset-bottom, 0px));
  }

  .schedule-hero__bird {
    display: block;
    position: absolute;
    left: -14px;
    bottom: 58px;
    width: min(220px, 18vw);
    height: auto;
    pointer-events: none;
  }

  .schedule-hero__age-nav {
    margin-top: 26px;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
    max-width: 860px;
  }

  .schedule-hero__age-nav .schedule-hero__age-btn:nth-child(-n + 3),
  .schedule-hero__age-nav .schedule-hero__age-btn:nth-child(4),
  .schedule-hero__age-nav .schedule-hero__age-btn:nth-child(5) {
    grid-column: auto;
  }

  .schedule-hero__age-btn {
    padding: 14px;
    font-size: 18px;
  }

  .schedule-hero__location {
    position: absolute;
    left: 12px;
    bottom: 18px;
    margin-top: 0;
  }

  .schedule-age {
    padding-top: clamp(110px, 10vw, 134px);
  }

  .schedule-age__rows {
    display: grid;
    gap: 12px;
  }

  .schedule-age__day-group {
    display: contents;
  }

  .schedule-age__day-mob-heading {
    display: none;
  }

  .schedule-age__row {
    grid-template-columns: 190px 150px minmax(0, 1fr);
    gap: 10px;
  }

  .schedule-age__cell {
    border-radius: 14px;
    font-size: 20px;
    justify-content: center;
  }

  .schedule-age__cell--day {
    position: static;
    width: auto;
    min-width: 0;
    max-width: none;
    height: auto;
    margin: 0;
    padding: 6px 8px;
    overflow: visible;
    clip: auto;
    clip-path: none;
    white-space: normal;
    border: 0;
    font-size: 20px;
  }

  .schedule-age__cell--program {
    padding: 20px 24px;
    justify-content: flex-start;
    font-size: 24px;
  }

  .schedule-age__tag {
    font-size: 18px;
    border-radius: 10px;
    padding: 6px 18px;
  }

  .schedule-age__actions {
    margin-top: 50px;
    grid-template-columns: repeat(2, minmax(0, 280px));
    justify-content: center;
    gap: 14px;
  }

  .achievements__title {
    font-size: clamp(30px, 2.6vw, 42px);
    margin-bottom: 36px;
    color: #8a8a44;
  }

  .achievements__event {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: auto auto;
    gap: 16px 32px;
    align-items: start;
  }

  .achievements__media {
    display: grid;
    grid-column: 1;
    grid-row: 1 / span 2;
    grid-template-columns: minmax(0, 3fr) minmax(0, 1fr);
    gap: 12px;
    min-width: 0;
    align-items: stretch;
  }

  .achievements__main-wrap {
    display: block;
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
  }

  .achievements__main-photo {
    width: 100%;
    height: 100%;
    max-height: none;
    aspect-ratio: 1 / 1;
    object-fit: cover;
  }

  .achievements__thumbs-wrap {
    display: grid;
    grid-column: 2;
    grid-row: 1;
    grid-template-rows: repeat(3, minmax(0, 1fr));
    gap: 10px;
    align-self: stretch;
    width: 100%;
    min-width: 0;
  }

  .achievements__thumbs-wrap img {
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
  }

  .achievements__event-head {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
  }

  .achievements__event-title {
    font-size: clamp(28px, 2.1vw, 38px);
    color: #8a8a44;
  }

  .achievements__event-text {
    font-size: clamp(18px, 1.5vw, 28px);
    line-height: 1.12;
    color: #6d7234;
  }

  .achievements__mob-grid {
    display: none;
  }

  .achievements__more {
    grid-column: 2;
    grid-row: 2;
    align-self: start;
    justify-self: start;
    margin-top: 4px;
    min-width: 235px;
  }

  .achievements__event--contest {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px 18px;
    align-items: start;
  }

  .achievements__inner--contest {
    padding-top: 0;
  }

  .achievements__event-title--center {
    grid-column: 1 / -1;
    text-align: center;
  }

  .achievements__contest-media {
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }

  .achievements__contest-main,
  .achievements__contest-side img,
  .achievements__contest-third {
    aspect-ratio: 3 / 4;
  }

  .achievements__contest-side {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .achievements__contest-side img:first-child {
    display: none;
  }

  .achievements__contest-side img:last-child {
    display: block;
  }

  .achievements__contest-third {
    display: block;
  }

  .achievements__contest-text {
    grid-column: 1 / -1;
    gap: 14px;
  }

  .achievements__event--contest .achievements__event-text {
    max-width: none;
    font-size: clamp(20px, 1.45vw, 34px);
    line-height: 1.05;
  }

  .achievements__event--contest .achievements__event-text--teacher {
    margin-top: 6px;
  }

  .achievements__place-badge::after {
    bottom: 18px;
    min-width: 132px;
    height: 40px;
    padding: 0 20px;
    font-size: clamp(20px, 1.35vw, 30px);
  }

  .achievements__event-title,
  .achievements-other__title {
    font-size: clamp(29px, 1.8vw, 42px);
  }

  .achievements-other__title {
    margin-bottom: 26px;
  }

  .achievements-other__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
  }

  .listing-page {
    padding-top: 140px;
  }

  .listing-page__title {
    font-size: clamp(44px, 5.2vw, 66px);
    margin-bottom: 20px;
  }

  .listing-page__lead {
    margin-bottom: 42px;
    font-size: clamp(18px, 1.35vw, 24px);
  }

  .listing-gallery {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
  }

  .hero__center {
    gap: clamp(18px, 2.5vw, 28px);
  }

  .hero__title {
    max-width: 24ch;
  }

  .hero__actions--desktop {
    gap: 50px;
  }

  .hero__actions--desktop .btn {
    padding-left: 60px;
    padding-right: 60px;
  }

  .hero__location {
    justify-content: flex-start;
    align-self: flex-start;
    text-align: left;
  }

  .ms-directions__cta {
    margin-top: 50px;
    flex-direction: row !important;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 50px;
  }

  .ms-directions__cta .btn,
  .ms-directions__cta .btn--block {
    width: auto;
    padding-left: 60px;
    padding-right: 60px;
  }

  .schedule-hero__title,
  .schedule-age__title {
    max-width: 24ch;
  }

  .schedule-hero__title-sub {
    font-size: inherit;
  }

  .header__logo {
    height: auto;
    max-height: 34px;
    width: auto;
    max-width: 160px;
  }

  .header__nav {
    display: block;
  }

  .header__burger {
    display: none;
  }

  body.page-masterskaya:has(.schedule-age) .header__link,
  body.page-masterskaya-topic .header__link {
    color: #e59c38;
  }

  body.page-masterskaya:has(.schedule-age) .header__link:hover,
  body.page-masterskaya:has(.schedule-age) .header__link:focus-visible,
  body.page-masterskaya-topic .header__link:hover,
  body.page-masterskaya-topic .header__link:focus-visible {
    color: color-mix(in srgb, #e59c38 82%, #000);
  }

  body.page-masterskaya:has(.schedule-age) .header__link:active,
  body.page-masterskaya:has(.schedule-age) .header__link[aria-current="page"],
  body.page-masterskaya:has(.schedule-age) .header__link.header__link--current,
  body.page-masterskaya-topic .header__link:active,
  body.page-masterskaya-topic .header__link[aria-current="page"],
  body.page-masterskaya-topic .header__link.header__link--current {
    color: color-mix(in srgb, #e59c38 75%, #000);
  }

  .header.header--scrolled .header__nav {
    display: none;
  }

  .header.header--scrolled .header__burger {
    display: inline-flex;
    border-color: var(--palette-1);
    background-color: transparent;
  }

  body.page-art-club .header.header--scrolled .header__burger {
    border-color: #e9e99b;
  }

  body.page-achievements .header.header--scrolled .header__burger {
    border-color: #746f2f;
  }

  .site-footer__top {
    display: grid;
    grid-template-columns: minmax(140px, 1fr) auto minmax(180px, 1fr);
    align-items: start;
    gap: 32px 48px;
  }

  .site-footer__nav {
    justify-self: center;
    width: auto;
    display: block;
  }

  .site-footer__nav-cols {
    gap: 16px 48px;
    margin: 0;
    width: auto;
  }

  .site-footer__aside {
    justify-self: end;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    width: auto;
  }

  .site-footer__contacts-mob {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 16px;
    width: auto;
  }

  .site-footer__contacts-mob .site-footer__ask {
    width: auto;
    max-width: none;
  }

  .site-footer__reserved--mob,
  .site-footer__legal--mob {
    display: none;
  }

  .site-footer__reserved--desk,
  .site-footer__legal--desk {
    display: inline;
  }

  .site-footer__brand {
    max-width: 220px;
    margin: 0;
    text-align: left;
  }

  .site-footer__logo {
    margin: 0;
  }

  .site-footer__brand-name {
    font-weight: 400;
  }

  .site-footer__bottom {
    justify-content: space-between;
    text-align: left;
  }

  .programs__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    align-items: stretch;
  }

  .programs .container {
    position: relative;
  }

  .programs__decor {
    display: block;
    position: absolute;
    bottom: -75px;
    height: auto;
    pointer-events: none;
    z-index: 3;
  }

  .programs__decor--left {
    left: -34px;
    width: 197px;
  }

  .programs__decor--right {
    right: -34px;
    width: 304px;
  }

  .ms-directions {
    margin-bottom: calc(var(--m-section-bottom) + 90px);
  }

  .ms-directions__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
  }

  .ms-directions__lead {
    margin: 0 auto;
    margin-bottom: 40px;
    max-width: 575px;
  }

  .ms-directions__sub {
    font-size: 28px;
  }

  .ms-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 32px 26px 28px;
    border-width: 6px;
    border-radius: 20px;
    height: 100%;
    min-height: 0;
  }

  .ms-card__img {
    width: 140px;
    height: 140px;
    margin: 0 auto 20px;
  }

  .ms-card__body {
    align-items: center;
    text-align: center;
    flex: 1 1 auto;
    width: 100%;
  }

  .ms-card__title {
    font-size: 24px;
  }

  .ms-card__text {
    flex: 1 1 auto;
    text-align: center;
    font-size: 14px;
    line-height: 1.35;
  }

  .ms-card__btn {
    margin-top: auto;
    width: 100%;
    max-width: 280px;
    padding: var(--btn-pad-y) var(--btn-pad-x);
    font-size: clamp(14px, 1.2vw, 16px);
    border-radius: var(--btn-radius);
  }

  .ms-directions__decor {
    display: block;
    position: absolute;
    height: auto;
    pointer-events: none;
    z-index: 3;
  }

  .ms-directions__decor--left {
    top: clamp(9px, 2.25vw, 30px);
    bottom: auto;
    left: -28px;
    width: 179px;
  }

  .ms-directions__decor--right {
    top: auto;
    bottom: 350px;
    left: calc(100% + 20px);
    width: 89.5px;
    transform: scaleX(-1);
  }

  .ms-gallery__slider-wrap {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    column-gap: clamp(8px, 1.5vw, 16px);
    padding: 0 clamp(20px, 3vw, 32px);
  }

  .ms-gallery__swiper {
    min-width: 0;
  }

  .ms-gallery__swiper .swiper-slide img {
    aspect-ratio: 1 / 1;
    max-height: min(52vh, 440px);
  }

  .ms-gallery__slider-wrap .ms-gallery__nav.swiper-button-prev,
  .ms-gallery__slider-wrap .ms-gallery__nav.swiper-button-next {
    display: inline-flex;
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    width: 20px;
    height: 40px;
    margin: 0 !important;
    padding: 0;
    border: 0;
    background: transparent;
    color: #e59c38;
    z-index: 2;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    align-self: center;
  }

  .ms-gallery__nav::after {
    font-size: 34px;
    font-weight: 700;
    line-height: 0;
    color: #e59c38;
  }

  body.page-art-class .ms-gallery__nav::after,
  body.page-art-class .ms-gallery__title {
    color: var(--palette-1);
  }

  body.page-art-class .ms-gallery__slider-wrap .ms-gallery__nav.swiper-button-prev,
  body.page-art-class .ms-gallery__slider-wrap .ms-gallery__nav.swiper-button-next {
    color: var(--palette-1);
  }

  body.page-art-club .ms-gallery__nav::after {
    color: #746f2f;
  }

  body.page-art-club .ms-gallery__title {
    color: #746f2f;
  }

  body.page-art-club .ms-gallery__slider-wrap .ms-gallery__nav.swiper-button-prev,
  body.page-art-club .ms-gallery__slider-wrap .ms-gallery__nav.swiper-button-next {
    color: #746f2f;
  }

  .ms-gallery__nav--prev {
    justify-self: start;
  }

  .ms-gallery__nav--next {
    justify-self: end;
  }

  .ms-gallery__title {
    margin-bottom: 28px;
    font-size: clamp(22px, 2.2vw, 28px);
  }

  body.page-art-class .reviews__title,
  body.page-art-club .reviews__title {
    margin-bottom: 28px;
    font-size: clamp(22px, 2.2vw, 28px);
  }

  body.page-art-class .artclass-program__fit {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 14px;
    align-items: stretch;
  }

  body.page-art-class .artclass-program__fit-content {
    display: flex;
    flex-direction: column;
  }

  body.page-art-class .artclass-program__actions {
    margin-top: auto;
    padding-top: 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  body.page-art-class .artclass-program__fit-media {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  body.page-art-class .artclass-program__fit-img,
  body.page-art-class .artclass-program__fit-img--second {
    display: block;
    height: 100%;
    min-height: 270px;
    aspect-ratio: auto;
  }

  body.page-art-class .artclass-program__cards {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
  }

  body.page-art-class .artclass-program__card {
    min-height: 250px;
    padding: 30px 20px 44px;
  }

  body.page-art-class .artclass-program__card-title {
    font-size: clamp(18px, 1.35vw, 24px);
  }

  body.page-art-class .artclass-program__card-text {
    font-size: clamp(14px, 1vw, 18px);
  }

  body.page-art-class .artclass-disc__layout {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    align-items: stretch;
  }

  body.page-art-class .artclass-disc__left {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }

  body.page-art-class .artclass-disc__card,
  body.page-art-class .artclass-disc__card--wide {
    grid-column: auto;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0;
    min-height: 360px;
    padding: 18px 14px 14px;
  }

  body.page-art-class .artclass-disc__card-img,
  body.page-art-class .artclass-disc__card--wide .artclass-disc__card-img {
    margin-bottom: 12px;
    width: 96px;
    height: 96px;
  }

  body.page-art-class .artclass-disc__card-title {
    font-size: 20px;
  }

  body.page-art-class .artclass-disc__fact-title {
    font-size: 20px;
    line-height: 0.95;
  }

  body.page-art-class .artclass-disc__fact-text {
    font-size: clamp(14px, 1vw, 20px);
  }

  body.page-art-class .artclass-disc__actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  body.page-art-class .artclass-price__included-list {
    font-size: 20px;
  }

  body.page-art-club .artclub-about__title {
    margin-bottom: 18px;
  }

  body.page-art-club .artclub-about__lead {
    margin-bottom: 30px;
    font-size: 18px;
    line-height: 1;
    max-width: 780px;
  }

  body.page-art-club .artclub-about__gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 40px;
  }

  body.page-art-club .artclub-about__decor {
    display: none;
  }

  body.page-art-club .artclub-about__img,
  body.page-art-club .artclub-about__img--second {
    display: block;
    position: static;
    width: 100%;
    height: auto;
    max-width: 270px;
    aspect-ratio: 1 / 1;
    border: 0;
    border-radius: 50%;
    margin: 0 auto;
  }

  body.page-art-club .artclub-about__facts {
    padding-top: 0;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    max-width: none;
  }

  body.page-art-club .artclub-about__fact {
    border: 4px solid #9a9842;
    border-radius: 14px;
    min-height: 142px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 12px 10px;
  }

  body.page-art-club .artclub-about__fact-title {
    font-size: 28px;
  }

  body.page-art-club .artclub-about__fact-text {
    max-width: 80%;
    margin: 0 auto;
    font-size: 16px;
  }

  body.page-art-club .camp-plan__title {
    margin-bottom: 26px;
  }

  body.page-art-club .camp-plan__badges {
    grid-template-columns: 0.9fr 1.7fr 0.9fr 1.55fr;
    gap: 12px;
  }

  body.page-art-club .camp-plan__badge,
  body.page-art-club .camp-plan__cell {
    min-height: 72px;
    border-radius: 14px;
    border-width: 4px;
    padding: 8px 16px;
    font-size: clamp(19px, 1.35vw, 25px);
    line-height: 1;
  }

  body.page-art-club .camp-plan__sub {
    margin: 72px 0 22px;
    font-size: 24px;
    text-align: left;
  }

  body.page-art-club .camp-plan__table-head {
    grid-template-columns: 0.8fr 1.65fr 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
    font-size: clamp(20px, 1.45vw, 28px);
  }

  body.page-art-club .camp-plan__table-hours--4,
  body.page-art-club .camp-plan__note--4 {
    grid-column: 3;
  }

  body.page-art-club .camp-plan__table-hours--8,
  body.page-art-club .camp-plan__note--8 {
    grid-column: 4;
  }

  body.page-art-club .camp-plan__row {
    grid-template-columns: 0.8fr 1.65fr 1fr 1fr;
    gap: 12px;
  }

  body.page-art-club .camp-plan__row .camp-plan__cell--shift {
    display: flex;
  }

  body.page-art-club .camp-plan__row-mob-heading {
    display: none;
  }

  body.page-art-club .camp-plan__notes {
    margin-top: 14px;
    grid-template-columns: 0.8fr 1.65fr 1fr 1fr;
    gap: 12px;
    font-size: clamp(12px, 0.85vw, 16px);
  }

  body.page-art-club .camp-plan__label-short {
    display: none;
  }

  body.page-art-club .camp-plan__label-full {
    display: inline;
  }

  body.page-art-club .camp-plan__modes {
    margin-top: 34px;
    grid-template-columns: 0.95fr 1fr 1fr;
    gap: 12px;
  }

  body.page-art-club .camp-plan__modes .camp-plan__cell--filled {
    grid-column: auto;
  }

  body.page-art-club .camp-plan__actions {
    margin-top: 44px;
    grid-template-columns: repeat(2, minmax(0, 420px));
    justify-content: center;
    gap: 24px;
  }

  .ms-gallery__footer {
    margin-top: 28px;
  }

  .ceramic-intro {
    padding-top: 124px;
  }

  .ceramic-intro__inner {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) minmax(0, 2fr);
    gap: clamp(24px, 2.5vw, 42px);
    align-items: stretch;
  }

  .ceramic-intro__media {
    width: 100%;
    max-width: 340px;
    height: 100%;
  }

  .ceramic-intro__img {
    height: 100%;
    aspect-ratio: auto;
    border-radius: 21px;
    border: 4px solid #f4bb86;
  }

  .ceramic-intro__badge--desktop {
    position: absolute;
    top: -44px;
    right: -44px;
    display: inline-flex;
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background-color: #f4bb86;
    color: #fff;
    font-family: var(--font-sans);
    font-size: 20px;
    line-height: 1;
    font-weight: 700;
  }

  .ceramic-intro__badge--mobile {
    display: none;
  }

  .ceramic-intro__content {
    max-width: none;
    display: flex;
    flex-direction: column;
  }

  .ceramic-intro__title {
    margin-bottom: 18px;
    text-align: left;
    font-size: clamp(36px, 3.1vw, 52px);
  }

  .ceramic-intro__chips {
    justify-content: flex-start;
    gap: 10px;
    margin-bottom: 22px;
  }

  .ceramic-intro__chip {
    padding: 8px 22px;
    font-size: clamp(16px, 1.12vw, 21px);
  }

  .ceramic-intro__price {
    margin-bottom: 16px;
    font-size: 18px;
  }

  .ceramic-intro__text {
    font-size: 16px;
  }

  .ceramic-intro__actions {
    margin-top: auto;
    padding-top: 26px;
    flex-direction: row;
    justify-content: flex-end;
    gap: 14px;
  }

  .ceramic-intro__actions .btn {
    width: auto;
    min-width: 190px;
  }

  .ceramic-price-modal__panel {
    width: min(94vw, 560px);
    border-radius: 30px;
    padding: 42px 34px 40px;
  }

  .ceramic-price-modal__close {
    top: 16px;
    right: 26px;
    font-size: 72px;
  }

  .ceramic-price-modal__grid {
    grid-template-columns: minmax(0, 1fr);
    column-gap: 0;
    row-gap: 0;
    align-items: start;
  }

  .ceramic-price-modal__head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 26px;
    margin-bottom: 18px;
  }

  .ceramic-price-modal__row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 26px;
  }

  .ceramic-price-modal__label {
    font-size: 20px;
    margin-bottom: 10px;
  }

  .ceramic-price-modal__value {
    font-size: 20px;
  }

  .ceramic-price-modal__row {
    margin-bottom: 8px;
    font-size: 20px;
  }

  .ceramic-price-modal__actions {
    margin-top: 40px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .drawing-groups__title {
    margin-bottom: 26px;
  }

  .drawing-groups__grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
  }

  .drawing-groups__item {
    min-height: 82px;
    border-radius: 16px;
    font-size: 20px;
  }

  .drawing-groups__note {
    margin-top: 12px;
    font-size: 18px;
  }

  .program-card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    height: 100%;
    min-height: 0;
    border-width: 6px;
    border-radius: 20px;
    padding: 40px 30px 25px;
    box-sizing: border-box;
  }

  .program-card--workshop {
    order: 1;
  }

  .program-card--art {
    order: 2;
  }

  .program-card__title {
    border-width: 0;
    padding: 0;
    margin: 0 0 20px;
    font-size: 24px;
    line-height: 1.15;
  }

  .program-card__list {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    margin-top: 0;
    margin-bottom: 0;
  }

  .program-card__list::after {
    content: "";
    flex: 1 1 auto;
    min-height: 70px;
    width: 100%;
  }

  .program-card__list li {
    flex-shrink: 0;
    padding-left: 14px;
    font-size: 14px;
    line-height: 1.35;
    font-weight: 500;
  }

  .program-card__list li::before {
    content: "•";
    top: 0.15em;
    width: auto;
    height: auto;
    border-radius: 0;
    background: none;
    color: currentColor;
    font-size: 14px;
    font-weight: 500;
  }

  .program-card__btn {
    flex-shrink: 0;
    margin-top: 0;
    min-width: 0;
    padding: 10px 28px;
    border-width: 2px;
    border-color: var(--card-fg);
    background-color: transparent;
    color: var(--card-fg);
    font-size: 16px;
  }

  .program-card--workshop .program-card__btn {
    margin-left: auto;
    margin-right: 0;
  }

  .program-card--art .program-card__btn {
    margin-left: 0;
    margin-right: auto;
  }

  .program-card__btn span {
    display: none;
  }

  .about-team__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
    gap: 24px;
    align-items: start;
  }

  .about-team__head {
    margin-bottom: 38px;
  }

  .about-team__title-break {
    display: inline;
  }

  .about-team__left,
  .about-team__right {
    gap: 18px;
  }

  .about-team__right {
    height: 100%;
  }

  .about-team__card {
    border-width: 6px;
    border-radius: 18px;
    padding: 22px 20px;
    font-size: 14px;
    line-height: 1.12;
  }

  .about-team__card--main {
    min-height: 134px;
    padding-top: 28px;
  }

  .about-team__badge {
    display: inline-flex;
    top: -50px;
    left: -50px;
  }

  .about-team__pair {
    gap: 14px;
  }

  .about-team__note {
    min-height: 78px;
    padding: 16px 20px;
    font-size: 14px;
  }

  .about-team__offer-title {
    margin-top: auto;
    text-align: left;
    font-size: 18px;
  }

  .about-team__offer-list li {
    padding-left: 26px;
    font-size: 14px;
    line-height: 1.2;
  }

  .teachers__title {
    margin-bottom: 28px;
  }

  .teachers__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px 24px;
  }

  .teacher-card__photo-wrap {
    max-width: 200px;
    margin-bottom: 14px;
  }

  .teacher-card__name {
    font-size: 18px;
  }

  .teacher-card__role {
    margin-bottom: 10px;
    font-size: 14px;
  }

  .teacher-card__meta {
    font-size: 14px;
    line-height: 1.18;
  }

  .teacher-card__meta + .teacher-card__meta {
    margin-top: 10px;
  }

  .gallery__layout {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 22px;
    align-items: start;
  }

  .gallery__slider-wrap {
    grid-column: span 9;
    position: relative;
    padding: 0 30px;
  }

  .gallery__aside {
    grid-column: span 3;
  }

  .gallery-thumbs {
    display: block;
    margin-top: 14px;
  }

  .gallery-thumbs .swiper-slide {
    opacity: 0.9;
    cursor: pointer;
  }

  .gallery-thumbs .swiper-slide-thumb-active {
    opacity: 1;
  }

  .gallery-thumbs .swiper-slide img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
  }

  .gallery__nav {
    display: inline-flex;
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    width: 20px;
    height: 34px;
    border: 0;
    background: transparent;
    color: #30838c;
  }

  .gallery__nav::after {
    font-size: 34px;
    font-weight: 700;
  }

  .gallery__nav--prev {
    left: 0;
  }

  .gallery__nav--next {
    right: 0;
  }

  .gallery__aside {
    min-height: 100%;
    align-items: flex-start;
    text-align: left;
    gap: 16px;
  }

  .gallery__title {
    font-size: 24px;
  }

  .gallery__text {
    display: block;
    font-size: 14px;
    line-height: 1.15;
  }

  .gallery__more {
    margin-top: auto;
    width: 100%;
    min-width: 0;
  }

  .reviews__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px 14px;
  }

  .reviews__card {
    border-radius: 18px;
    padding: 30px;
    line-height: 1.12;
  }

  .reviews__actions {
    margin-top: 32px;
  }
}

@media (min-width: 992px) {
  body.page-art-club .ms-gallery__slider-wrap .ms-gallery__nav.swiper-button-prev,
  body.page-art-club .ms-gallery__slider-wrap .ms-gallery__nav.swiper-button-next,
  body.page-art-club .gallery__nav.swiper-button-prev,
  body.page-art-club .gallery__nav.swiper-button-next {
    color: #9a9842;
  }
}
