:root {
    --cr-ink: #051614;
    --cr-muted: #5f6f6c;
    --cr-line: #eadfd8;
    --cr-paper: #fffdf8;
    --cr-soft: #fff2e4;
    --cr-pink: #ca2952;
    --cr-pink-soft: #ef6f93;
    --cr-green-dark: #15564e;
    --cr-green: #2b8880;
    --cr-green-light: #40b2a4;
    --cr-orange: #f08707;
    --cr-orange-soft: #ffb973;
    --cr-orange-pale: #fff0dc;
    --cr-pink-pale: #fde5ec;
    --cr-green-pale: #e7f7f5;
    --cr-blue-950: var(--cr-green-dark);
    --cr-blue-850: var(--cr-green-dark);
    --cr-blue-700: var(--cr-pink);
    --cr-blue-600: var(--cr-green);
    --cr-blue-500: var(--cr-green-light);
    --cr-blue-150: var(--cr-pink-pale);
    --cr-blue-100: var(--cr-green-pale);
    --cr-blue-50: #fff8f1;
    --cr-blue: var(--cr-pink);
    --cr-red: var(--cr-pink);
    --cr-font-base: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --cr-font-heading: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --cr-font-nav: "Segoe UI Rounded", "Trebuchet MS", "Segoe UI", Arial, sans-serif;
    --cr-text-kicker-size: 13px;
    --cr-text-kicker-weight: 650;
    --cr-text-hero-size: 40px;
    --cr-text-hero-weight: 650;
    --cr-text-section-size: 29px;
    --cr-text-section-weight: 650;
    --cr-text-page-size: 36px;
    --cr-text-page-weight: 650;
    --cr-text-card-title-size: 20px;
    --cr-text-card-title-weight: 650;
    --cr-text-nav-size: 21px;
    --cr-text-nav-weight: 400;
}

body {
    margin: 0;
    color: var(--cr-ink);
    background: var(--cr-paper);
    font-family: var(--cr-font-base);
    overflow-x: hidden;
}

.site-header {
    background: rgba(255, 253, 248, 0.98);
    border-bottom: 1px solid var(--cr-line);
}

.navbar {
    min-height: 88px;
}

.navbar-brand {
    display: inline-grid;
    align-items: start;
    gap: 4px;
    color: var(--cr-blue-950);
    font-family: var(--cr-font-heading);
    font-weight: 650;
    text-decoration: none;
}

.brand-logo {
    display: block;
    width: 228px;
    max-width: 58vw;
    height: auto;
}

.brand-tagline {
    color: var(--cr-green-dark);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.25;
}

.navbar-nav {
    gap: 20px;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 6px 0 !important;
    color: var(--cr-pink);
    background: transparent;
    border: 0;
    font-family: var(--cr-font-nav);
    font-size: var(--cr-text-nav-size);
    font-weight: var(--cr-text-nav-weight);
    line-height: 1.2;
    letter-spacing: 0;
    text-decoration: none;
    text-underline-offset: 5px;
    transition: color 160ms ease, text-decoration-color 160ms ease;
}

.nav-link:hover,
.navbar-brand:hover {
    color: var(--cr-pink);
}

.nav-link:hover {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-decoration-color: var(--cr-pink);
}

.auth-link {
    display: none !important;
    align-items: center;
    gap: 8px;
    border-radius: 6px;
}

.navbar-nav .nav-item:has(.auth-link) {
    display: none;
}

.fa-svg {
    width: 1em;
    height: 1em;
    fill: currentColor;
    flex: 0 0 auto;
}

.home-hero {
    padding: 72px 0 58px;
    background:
        linear-gradient(90deg, rgba(255, 240, 220, 0.96), rgba(255, 253, 248, 0.9)),
        repeating-linear-gradient(135deg, rgba(64, 178, 164, 0.12) 0 1px, transparent 1px 22px);
    border-bottom: 1px solid var(--cr-line);
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(360px, 0.8fr);
    align-items: center;
    gap: 48px;
}

.hero-kicker,
.section-heading p {
    margin: 0 0 12px;
    color: var(--cr-pink);
    font-size: var(--cr-text-kicker-size);
    font-weight: var(--cr-text-kicker-weight);
    text-transform: uppercase;
}

.home-hero h1 {
    max-width: 780px;
    margin: 0;
    color: var(--cr-green-dark);
    font-family: var(--cr-font-heading);
    font-size: var(--cr-text-hero-size);
    line-height: 1.08;
    font-weight: var(--cr-text-hero-weight);
    overflow-wrap: anywhere;
}

.hero-lead {
    max-width: 680px;
    margin: 24px 0 0;
    color: #3d4450;
    font-size: 18px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 6px;
}

.btn-primary {
    border-color: var(--cr-pink);
    background: var(--cr-pink);
}

.btn-primary:hover {
    border-color: var(--cr-green-dark);
    background: var(--cr-green-dark);
}

.btn-outline-dark {
    color: var(--cr-green-dark);
    border-color: var(--cr-green);
}

.btn-outline-dark:hover {
    color: #fff;
    border-color: var(--cr-green);
    background: var(--cr-green);
}

.studio-panel {
    display: grid;
    gap: 14px;
    padding: 24px;
    background: #ffffff;
    border: 1px solid var(--cr-line);
    border-radius: 8px;
    box-shadow: 0 18px 42px rgba(43, 136, 128, 0.1);
}

.studio-panel__item {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 72px;
    padding: 16px;
    background: var(--cr-paper);
    border: 1px solid #ebe6dc;
    border-radius: 6px;
    color: var(--cr-ink);
    font-weight: 650;
}

.studio-panel__item .fa-svg {
    width: 36px;
    height: 36px;
    color: var(--cr-green);
    font-size: 26px;
}

.studio-panel__item:nth-child(2) .fa-svg {
    color: var(--cr-pink);
}

.studio-panel__item:nth-child(3) .fa-svg {
    color: var(--cr-orange);
}

.section-block {
    padding: 60px 0 76px;
}

.section-heading {
    max-width: 680px;
    margin-bottom: 28px;
}

.section-heading h2 {
    margin: 0;
    color: var(--cr-blue-950);
    font-family: var(--cr-font-heading);
    font-size: var(--cr-text-section-size);
    font-weight: var(--cr-text-section-weight);
}

.page-hero {
    padding: 58px 0 46px;
    background: var(--cr-soft);
    border-bottom: 1px solid var(--cr-line);
}

.page-hero h1 {
    max-width: 780px;
    margin: 0;
    color: var(--cr-blue-950);
    font-family: var(--cr-font-heading);
    font-size: var(--cr-text-page-size);
    line-height: 1.12;
    font-weight: var(--cr-text-page-weight);
}

.page-lead {
    max-width: 760px;
    margin: 20px 0 0;
    color: #3d4450;
    font-size: 18px;
    line-height: 1.7;
}

.static-page {
    padding-bottom: 56px;
}

.text-flow {
    max-width: 820px;
}

.text-flow p {
    margin: 0 0 18px;
    color: #3d4450;
    font-size: 18px;
    line-height: 1.8;
}

.contact-box {
    padding: 24px;
    background: #fff;
    border: 1px solid var(--cr-line);
    border-radius: 8px;
}

.contact-box h2 {
    margin: 0 0 18px;
    color: var(--cr-blue-950);
    font-size: 22px;
    font-weight: 650;
}

.contact-box dl {
    display: grid;
    gap: 16px;
    margin: 0;
}

.contact-box dt {
    color: var(--cr-muted);
    font-size: 13px;
    font-weight: 650;
    text-transform: uppercase;
}

.contact-box dd {
    margin: 4px 0 0;
    line-height: 1.5;
}

.contact-box a {
    color: var(--cr-blue);
    font-weight: 650;
    text-decoration: none;
}

.contact-box a:hover {
    text-decoration: underline;
}

.map-section {
    width: 100%;
    height: 300px;
    border-top: 1px solid var(--cr-line);
}

.map-section iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.articles-page {
    background: var(--cr-paper);
}

.article-list {
    display: grid;
    gap: 22px;
}

.article-list-item {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 24px;
    padding: 22px;
    background: #fff;
    border: 1px solid var(--cr-line);
    border-radius: 8px;
}

.article-list-item--no-image {
    grid-template-columns: 1fr;
}

.article-list-item__image {
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border-radius: 6px;
    background: var(--cr-blue-50);
}

.article-list-item__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.2s ease;
}

.article-list-item__image:hover img {
    transform: scale(1.03);
}

.article-list-item__body {
    min-width: 0;
}

.article-list-item__meta,
.article-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin-bottom: 10px;
    color: var(--cr-muted);
    font-size: 13px;
    font-weight: 650;
    text-transform: uppercase;
}

.article-list-item__meta a,
.article-hero__meta a {
    color: var(--cr-blue);
    text-decoration: none;
}

.article-list-item__meta a:hover,
.article-hero__meta a:hover {
    text-decoration: underline;
}

.article-list-item h2 {
    margin: 0 0 10px;
    color: var(--cr-blue-950);
    font-family: var(--cr-font-heading);
    font-size: 24px;
    line-height: 1.25;
    font-weight: 650;
}

.article-list-item h2 a {
    color: inherit;
    text-decoration: none;
}

.article-list-item h2 a:hover {
    color: var(--cr-blue);
}

.article-list-item p,
.articles-empty {
    margin: 0;
    color: #3d4450;
    font-size: 17px;
    line-height: 1.7;
}

.article-pagination {
    margin-top: 34px;
}

.article-pagination .pagination {
    justify-content: center;
    gap: 6px;
    margin-bottom: 0;
}

.article-hero {
    padding: 44px 0 52px;
    background: var(--cr-soft);
    border-bottom: 1px solid var(--cr-line);
}

.article-hero h1 {
    max-width: 900px;
    margin: 0;
    color: var(--cr-blue-950);
    font-family: var(--cr-font-heading);
    font-size: var(--cr-text-page-size);
    line-height: 1.12;
    font-weight: var(--cr-text-page-weight);
}

.article-image-band {
    max-height: 430px;
    overflow: hidden;
    border-bottom: 1px solid var(--cr-line);
}

.article-image-band img {
    display: block;
    width: 100%;
    height: min(430px, 54vw);
    object-fit: cover;
}

.article-content {
    margin: 0 auto;
}

.class-card {
    display: block;
    height: 100%;
    min-height: 300px;
    padding: 26px;
    background: #fff;
    border: 1px solid var(--cr-line);
    border-radius: 8px;
    color: inherit;
    text-decoration: none;
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.class-card.is-active,
.class-card--link:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(43, 136, 128, 0.1);
}

.class-card--link:hover h3 {
    color: var(--cr-blue);
}

.class-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 18px;
    color: #fff;
    background: var(--cr-blue-700);
    border-radius: 6px;
    font-size: 20px;
}

.class-card h3 {
    margin: 0 0 12px;
    color: var(--cr-blue-950);
    font-family: var(--cr-font-heading);
    font-size: var(--cr-text-card-title-size);
    font-weight: var(--cr-text-card-title-weight);
}

.class-card p {
    min-height: 104px;
    margin: 0 0 22px;
    color: var(--cr-muted);
    line-height: 1.6;
}

.class-card dl {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
}

.class-card dt {
    color: var(--cr-muted);
    font-size: 13px;
    font-weight: 650;
}

.class-card dd {
    margin: 4px 0 0;
    font-weight: 650;
}

.classes-hero {
    background:
        linear-gradient(90deg, rgba(255, 253, 248, 0.94), rgba(245, 239, 229, 0.92)),
        repeating-linear-gradient(90deg, rgba(240, 135, 7, 0.11) 0 1px, transparent 1px 28px);
}

.schedule-list {
    display: grid;
    gap: 16px;
}

.schedule-item {
    display: grid;
    grid-template-columns: 168px minmax(0, 1fr);
    gap: 28px;
    padding: 24px;
    color: inherit;
    background: #fff;
    border: 1px solid var(--cr-line);
    border-radius: 8px;
    text-decoration: none;
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.schedule-item:hover {
    border-color: rgba(43, 136, 128, 0.45);
    box-shadow: 0 18px 34px rgba(43, 136, 128, 0.1);
    transform: translateY(-1px);
}

.schedule-item.is-today {
    border-color: rgba(202, 41, 82, 0.42);
    background: var(--cr-blue-50);
}

.schedule-item.is-past {
    background: #fbfaf7;
}

.schedule-date {
    display: grid;
    align-content: start;
    gap: 4px;
    padding-top: 4px;
}

.schedule-date__day {
    color: var(--cr-blue);
    font-size: 40px;
    line-height: 1;
    font-weight: 650;
}

.schedule-date__month,
.schedule-date__week {
    color: var(--cr-muted);
    font-weight: 650;
}

.schedule-date__week {
    font-size: 13px;
    text-transform: uppercase;
}

.schedule-body {
    min-width: 0;
}

.schedule-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.schedule-tag {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 9px;
    color: var(--cr-blue-850);
    background: var(--cr-blue-100);
    border-radius: 6px;
    font-size: 12px;
    font-weight: 650;
    text-transform: uppercase;
}

.schedule-tag--today {
    color: #fff;
    background: var(--cr-blue-850);
}

.schedule-tag--repeat {
    color: #fff;
    background: var(--cr-blue-600);
}

.schedule-body h2 {
    margin: 0 0 10px;
    color: var(--cr-blue-950);
    font-family: var(--cr-font-heading);
    font-size: 23px;
    line-height: 1.2;
    font-weight: 650;
}

.schedule-body p {
    margin: 0 0 18px;
    color: var(--cr-muted);
    font-size: 17px;
    line-height: 1.6;
}

.schedule-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    color: #3d4450;
    font-weight: 650;
}

.schedule-meta span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.schedule-empty {
    padding: 24px;
    color: var(--cr-muted);
    background: #fff;
    border: 1px solid var(--cr-line);
    border-radius: 8px;
    font-size: 17px;
}

.class-preview-hero {
    padding: 44px 0 58px;
    background: var(--cr-soft);
    border-bottom: 1px solid var(--cr-line);
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 26px;
    color: var(--cr-blue);
    font-weight: 650;
    text-decoration: none;
}

.back-link:hover {
    color: var(--cr-blue-950);
    text-decoration: underline;
}

.class-preview-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 42px;
    align-items: end;
}

.class-preview-hero h1 {
    max-width: 820px;
    margin: 0;
    color: var(--cr-blue-950);
    font-family: var(--cr-font-heading);
    font-size: 38px;
    line-height: 1.1;
    font-weight: 650;
}

.class-preview-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.class-facts {
    display: grid;
    gap: 1px;
    overflow: hidden;
    background: var(--cr-line);
    border: 1px solid var(--cr-line);
    border-radius: 8px;
}

.class-facts div {
    display: grid;
    gap: 4px;
    padding: 18px;
    background: #fff;
}

.class-facts span {
    color: var(--cr-muted);
    font-size: 13px;
    font-weight: 650;
    text-transform: uppercase;
}

.class-facts strong {
    font-size: 18px;
}

.class-image-band {
    height: 320px;
    overflow: hidden;
    border-bottom: 1px solid var(--cr-line);
}

.class-image-band img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.class-content {
    max-width: 860px;
}

.class-schedule-section {
    padding-top: 0;
}

.event-strip {
    display: grid;
    gap: 12px;
    max-width: 900px;
}

.event-strip__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid var(--cr-line);
    border-radius: 8px;
}

.event-strip__item.is-today {
    border-color: rgba(202, 41, 82, 0.42);
}

.event-strip__item.is-past {
    background: #fbfaf7;
}

.event-strip__item strong,
.event-strip__item span {
    display: block;
}

.event-strip__item > div:first-child span {
    margin-top: 4px;
    color: var(--cr-muted);
}

.poster-page {
    background: #fffdf8;
}

.poster-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 30px;
    align-items: start;
}

.poster-filters {
    position: sticky;
    top: 16px;
    display: grid;
    gap: 22px;
    padding: 20px;
    background: #fff;
    border: 1px solid var(--cr-line);
    border-radius: 8px;
}

.poster-filters__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.poster-filters h2,
.poster-filter-group h3 {
    margin: 0;
}

.poster-filters h2 {
    color: var(--cr-blue-950);
    font-family: var(--cr-font-heading);
    font-size: 20px;
    font-weight: 650;
}

.poster-filter-group h3 {
    margin-bottom: 10px;
    color: var(--cr-muted);
    font-size: 13px;
    font-weight: 650;
    text-transform: uppercase;
}

.poster-filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.poster-filter__option,
.poster-reset {
    border: 1px solid var(--cr-line);
    background: #fff;
    color: var(--cr-blue-850);
    border-radius: 6px;
    font-weight: 650;
}

.poster-filter__option {
    min-height: 34px;
    padding: 7px 11px;
}

.poster-filter__option.is-active {
    color: #fff;
    border-color: var(--cr-blue);
    background: var(--cr-blue);
}

.poster-reset {
    padding: 5px 9px;
    color: var(--cr-blue-700);
    font-size: 13px;
}

.poster-feed {
    display: grid;
    gap: 28px;
}

.poster-day {
    display: grid;
    gap: 12px;
}

.poster-day > h2 {
    margin: 0;
    color: var(--cr-blue-950);
    font-family: var(--cr-font-heading);
    font-size: 22px;
    line-height: 1.2;
    font-weight: 650;
}

.poster-day__events {
    display: grid;
    gap: 12px;
}

.poster-event {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 18px;
    padding: 20px;
    background: #fff;
    border: 1px solid var(--cr-line);
    border-radius: 8px;
    box-shadow: 0 12px 26px rgba(43, 136, 128, 0.08);
}

.poster-event__time {
    display: grid;
    align-content: start;
    gap: 5px;
    color: var(--cr-blue);
}

.poster-event__time strong {
    font-size: 28px;
    line-height: 1;
    font-weight: 650;
}

.poster-event__time span {
    color: var(--cr-muted);
    font-size: 13px;
    font-weight: 650;
    text-transform: uppercase;
}

.poster-event__body {
    min-width: 0;
}

.poster-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 10px;
}

.poster-badge {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 4px 8px;
    color: var(--cr-blue-850);
    background: var(--cr-blue-100);
    border-radius: 6px;
    font-size: 12px;
    font-weight: 650;
}

.poster-badge--category {
    color: #fff;
    background: var(--cr-blue-600);
}

.poster-event h3 {
    margin: 0 0 8px;
    color: var(--cr-blue-950);
    font-family: var(--cr-font-heading);
    font-size: var(--cr-text-card-title-size);
    line-height: 1.22;
    font-weight: var(--cr-text-card-title-weight);
}

.poster-event__details {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin-bottom: 10px;
    color: #3d4450;
    font-weight: 650;
}

.poster-event p {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: var(--cr-muted);
    line-height: 1.55;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.poster-event__teacher {
    margin-top: 10px;
    color: #3d4450;
    font-weight: 650;
}

.poster-event__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.poster-event__actions .btn {
    min-width: 128px;
}

.poster-empty {
    display: none;
    gap: 8px;
    padding: 24px;
    color: var(--cr-muted);
    background: #fff;
    border: 1px solid var(--cr-line);
    border-radius: 8px;
}

.poster-empty.is-visible {
    display: grid;
}

.poster-empty strong {
    color: var(--cr-ink);
    font-size: 18px;
}

.poster-empty .btn {
    width: max-content;
    margin-top: 8px;
}

.past-events {
    padding: 18px 20px;
    background: #fff;
    border: 1px solid var(--cr-line);
    border-radius: 8px;
}

.past-events summary {
    color: var(--cr-blue);
    cursor: pointer;
    font-weight: 650;
}

.past-events__list {
    display: grid;
    gap: 8px;
    margin-top: 14px;
}

.past-events__list a {
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr) auto;
    gap: 10px;
    padding: 10px 0;
    color: inherit;
    border-top: 1px solid var(--cr-line);
    text-decoration: none;
}

.past-events__list span,
.past-events__list em {
    color: var(--cr-muted);
    font-style: normal;
}

.site-footer {
    padding: 34px 0;
    color: #fff;
    background: var(--cr-blue-950);
}

.site-footer .container {
    display: grid;
    grid-template-columns: minmax(220px, 1.3fr) repeat(2, minmax(180px, 1fr));
    gap: 28px;
}

.footer-column {
    display: grid;
    align-content: start;
    gap: 8px;
}

.footer-column strong {
    font-size: 17px;
}

.footer-column span,
.footer-column a {
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.5;
}

.footer-column a {
    text-decoration: none;
}

.footer-column a:hover {
    color: #fff;
    text-decoration: underline;
}

@media (max-width: 991.98px) {
    .navbar-nav {
        align-items: flex-start !important;
        gap: 8px;
        padding: 16px 0 8px;
    }

    .nav-link {
        width: max-content;
    }

    .hero-grid {
        grid-template-columns: 1fr;
    }

    .schedule-item,
    .class-preview-grid,
    .poster-layout,
    .article-list-item {
        grid-template-columns: 1fr;
    }

    .article-list-item__image {
        max-width: 360px;
    }

    .poster-filters {
        position: static;
    }

    .home-hero h1 {
        font-size: 34px;
    }

    .class-preview-hero h1 {
        font-size: 34px;
    }

    .page-hero h1 {
        font-size: 32px;
    }

    .site-footer .container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .container {
        max-width: 100%;
        padding-right: 12px;
        padding-left: 12px;
    }

    .home-hero,
    .article-hero,
    .page-hero,
    .section-block,
    .site-header {
        max-width: 100vw;
        overflow: hidden;
    }

    .navbar .container {
        flex-wrap: wrap;
    }

    .brand-logo {
        width: 210px;
        max-width: 72vw;
    }

    .brand-tagline {
        max-width: 270px;
        font-size: 12px;
    }

    .navbar-toggler {
        display: none;
    }

    .navbar-collapse {
        display: block !important;
        flex-basis: 100%;
    }

    .home-hero {
        padding: 46px 0 44px;
    }

    .home-hero h1 {
        width: 342px;
        max-width: 100%;
        font-size: 30px;
    }

    .page-hero h1,
    .article-hero h1,
    .page-lead,
    .text-flow {
        width: 342px;
        max-width: 100%;
    }

    .page-hero h1,
    .article-hero h1 {
        font-size: 28px;
    }

    .hero-lead {
        width: 342px;
        max-width: 100%;
        font-size: 16px;
    }

    .hero-actions,
    .studio-panel {
        width: 342px;
        max-width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
        white-space: normal;
    }

    .class-card dl {
        grid-template-columns: 1fr;
    }

    .schedule-item {
        gap: 18px;
        padding: 18px;
    }

    .schedule-date {
        grid-template-columns: auto 1fr;
        align-items: end;
        column-gap: 12px;
    }

    .schedule-date__day {
        grid-row: span 2;
        font-size: 36px;
    }

    .schedule-body h2 {
        font-size: 20px;
    }

    .class-preview-actions .btn {
        width: 100%;
        white-space: normal;
    }

    .class-facts,
    .event-strip,
    .class-content {
        width: 342px;
        max-width: 100%;
    }

    .event-strip__item {
        align-items: flex-start;
        flex-direction: column;
    }

    .poster-event {
        grid-template-columns: 1fr;
    }

    .poster-event__time {
        grid-template-columns: auto 1fr;
        align-items: end;
        column-gap: 8px;
    }

    .poster-event__time strong {
        font-size: 26px;
    }

    .poster-event__actions .btn {
        width: 100%;
    }

    .article-list-item {
        padding: 16px;
    }

    .article-list-item h2 {
        font-size: 21px;
    }

    .article-list-item__image {
        max-width: none;
    }

    .past-events__list a {
        grid-template-columns: 1fr;
    }
}
