/* =========================================================
   Courses hub /kursyi/ — scoped overrides only
   ========================================================= */

.courses-hub {
    --hub-yellow: #fdc202;
    --hub-yellow-soft: #fff8db;
    --hub-yellow-line: #ffe58a;
    --hub-text: #363636;
    --hub-muted: #6b6b6b;
    --hub-border: #eeeeee;
    --hub-bg-soft: #f7f7f7;
    --hub-radius: 16px;
    --hub-section-gap: 88px;
    color: var(--hub-text);
}

.courses-hub.single-page-section-top-space {
    padding-top: 36px;
}

.courses-hub.single-page-section-bottom-space {
    padding-bottom: 40px;
}

/* Typography */
.courses-hub__h1 {
    margin: 0 0 16px;
    font-family: var(--heading-font);
    font-size: clamp(34px, 4.2vw, 52px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--hub-text);
}

.courses-hub__h2 {
    margin: 0 0 20px;
    font-family: var(--heading-font);
    font-size: clamp(28px, 3vw, 36px);
    font-weight: 700;
    line-height: 1.25;
    color: var(--hub-text);
}

.courses-hub__lead {
    margin: 0 0 14px;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--hub-text);
}

.courses-hub__text,
.courses-hub__prose p {
    margin: 0 0 14px;
    font-size: 16px;
    line-height: 1.65;
    color: var(--hub-muted);
}

.courses-hub__prose {
    max-width: 760px;
}

.courses-hub__prose p:last-child {
    margin-bottom: 0;
}

.courses-hub__section-head {
    margin-bottom: 28px;
}

.courses-hub__section-head--center {
    text-align: center;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.courses-hub__section {
    margin-bottom: var(--hub-section-gap);
}

.courses-hub__subtitle {
    margin: 0 0 12px;
    font-size: 22px;
    font-weight: 700;
    color: var(--hub-text);
}

/* Breadcrumbs */
.courses-hub__breadcrumbs {
    margin-bottom: 28px;
}

.courses-hub__breadcrumbs-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 14px;
    color: var(--hub-muted);
    counter-reset: none;
}

.courses-hub__breadcrumbs-list li {
    list-style: none;
    margin-bottom: 0;
}

.courses-hub__breadcrumbs-list li::before {
    content: none !important;
    display: none !important;
    counter-increment: none;
}

.courses-hub__breadcrumbs-list li:not(:last-child)::after {
    content: "/";
    margin-left: 8px;
    color: #9ca3af;
}

.courses-hub__breadcrumbs-list a {
    color: var(--hub-muted);
    text-decoration: none;
}

.courses-hub__breadcrumbs-list a:hover {
    color: var(--hub-text);
}

/* Hero */
.courses-hub__hero {
    margin-bottom: var(--hub-section-gap);
}

.courses-hub__hero .pretitle-tag {
    margin-bottom: 14px;
}

.courses-hub__hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 24px 0 0;
}

.courses-hub__facts {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    margin: 24px 0 0;
    padding: 0;
}

.courses-hub__facts li {
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--hub-yellow-soft);
    border: 1px solid var(--hub-yellow-line);
    font-size: 14px;
    font-weight: 600;
    color: var(--hub-text);
    line-height: 1.3;
}

.courses-hub__hero-media {
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--hub-border);
    background: var(--hub-bg-soft);
}

.courses-hub__hero-media img {
    display: block;
    width: 100%;
    height: 420px;
    object-fit: cover;
}

/* Course cards */
.courses-hub-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--hub-border);
    border-radius: var(--hub-radius);
    overflow: hidden;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.courses-hub-card:hover {
    border-color: #e2e2e2;
    box-shadow: 0 10px 24px rgba(54, 54, 54, 0.06);
}

.courses-hub-card__media {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--hub-bg-soft);
}

.courses-hub-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.courses-hub-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 22px 22px 24px;
}

.courses-hub-card__title {
    margin: 0 0 10px;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
}

.courses-hub-card__title a {
    color: var(--hub-text);
    text-decoration: none;
}

.courses-hub-card__title a:hover {
    color: var(--main-color-one-hover);
}

.courses-hub-card__text {
    margin: 0 0 14px;
    color: var(--hub-muted);
    line-height: 1.55;
    font-size: 15px;
}

.courses-hub-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
}

.courses-hub-card__meta li {
    padding: 6px 10px;
    border-radius: 8px;
    background: var(--hub-bg-soft);
    font-size: 13px;
    font-weight: 500;
    color: var(--hub-text);
    line-height: 1.35;
}

.courses-hub-card__price {
    margin: 0 0 18px;
    font-size: 24px;
    font-weight: 800;
    color: var(--hub-text);
    line-height: 1.2;
}

.courses-hub-card__price span {
    display: inline-block;
    margin-left: 4px;
    font-size: 14px;
    font-weight: 500;
    color: var(--hub-muted);
}

.courses-hub-card__body .btn-wrap {
    margin-top: auto;
}

.courses-hub-card__body .btn-common {
    width: 100%;
    text-align: center;
}

.courses-hub-card--featured {
    display: grid;
    grid-template-columns: minmax(240px, 0.9fr) 1.1fr;
    align-items: stretch;
}

.courses-hub-card--featured .courses-hub-card__media {
    aspect-ratio: auto;
    min-height: 100%;
}

.courses-hub-card--featured .courses-hub-card__body .btn-common {
    width: auto;
    max-width: 360px;
}

/* Kids highlight */
.courses-hub__kids {
    padding: 40px 44px;
    background: var(--hub-yellow-soft);
    border: 1px solid var(--hub-yellow-line);
    border-radius: 20px;
}

.courses-hub__kids-copy .courses-hub__h2 {
    margin-bottom: 10px;
}

.courses-hub__kids-meta {
    margin-bottom: 20px;
}

.courses-hub__kids-actions {
    margin-top: 4px;
}

.courses-hub__kids-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    margin-top: 16px;
}

.courses-hub__kids-links a {
    color: var(--hub-text);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.courses-hub__kids-image {
    display: block;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(229, 174, 0, 0.25);
}

.courses-hub__kids-image img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
}

/* Choose cards */
.courses-hub-choose-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 240px;
    padding: 24px;
    border: 1px solid var(--hub-border);
    border-radius: var(--hub-radius);
    background: #fff;
    text-decoration: none;
    color: inherit;
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease, transform .2s ease;
}

.courses-hub-choose-card:hover {
    border-color: var(--hub-yellow);
    background: #fffdf5;
    box-shadow: 0 8px 20px rgba(253, 194, 2, 0.12);
}

.courses-hub-choose-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 16px;
    border-radius: 14px;
    background: var(--hub-yellow-soft);
    border: 1px solid var(--hub-yellow-line);
}

.courses-hub-choose-card__icon img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.courses-hub-choose-card__label {
    display: block;
    margin-bottom: 10px;
    font-size: 14px;
    color: var(--hub-muted);
    line-height: 1.4;
}

.courses-hub-choose-card__title {
    display: block;
    margin-bottom: 8px;
    font-size: 18px;
    font-weight: 700;
    color: var(--hub-text);
    line-height: 1.3;
}

.courses-hub-choose-card__text {
    display: block;
    flex: 1;
    margin-bottom: 14px;
    color: var(--hub-muted);
    line-height: 1.5;
    font-size: 15px;
}

.courses-hub-choose-card__link {
    font-size: 14px;
    font-weight: 700;
    color: var(--main-color-one-hover);
}

.courses-hub-choose-card__badge {
    display: inline-flex;
    align-self: flex-start;
    margin-bottom: 14px;
    padding: 5px 12px;
    border-radius: 30px;
    background: var(--hub-yellow);
    color: var(--hub-text);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
}

.courses-hub-choose-card--guide {
    position: relative;
    overflow: hidden;
    justify-content: flex-start;
    background: #ece6f5;
    border-color: transparent;
}



.courses-hub-choose-card--guide .courses-hub-choose-card__title {
    flex: 1;
    margin-bottom: 18px;
    font-size: 17px;
    position: relative;
    z-index: 1;
}

.courses-hub-choose-card--guide .courses-hub-choose-card__badge,
.courses-hub-choose-card--guide .courses-hub-choose-card__link--btn {
    position: relative;
    z-index: 1;
}

.courses-hub-choose-card__link--btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    min-height: 42px;
    padding: 10px 18px;
    border-radius: 50px;
    background: var(--hub-yellow);
    color: #000 !important;
    font-size: 14px;
    font-weight: 700;
}

.courses-hub-choose-card--guide:hover {
    background: #e6dff2;
    border-color: transparent;
    box-shadow: 0 10px 24px rgba(120, 90, 180, 0.12);
}

/* Adults SEO panel */
.courses-hub__panel {
    padding: 40px 44px;
    border-radius: 20px;
    background: var(--hub-bg-soft);
    border: 1px solid var(--hub-border);
}

.courses-hub__panel .courses-hub__h2 {
    margin-bottom: 16px;
}

.courses-hub__panel .courses-hub__prose {
    max-width: none;
}

.courses-hub__seo-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.courses-hub__goals-box {
    height: 100%;
    padding: 28px 24px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid var(--hub-border);
}

.courses-hub__goals-box-title {
    margin: 0 0 16px;
    font-size: 16px;
    font-weight: 700;
    color: var(--hub-text);
}

.courses-hub__goal-markers {
    display: flex;
    flex-direction: column;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.courses-hub__goal-markers li {
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    border-radius: 0;
}

.courses-hub__goal-markers a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 12px;
    background: var(--hub-bg-soft);
    border: 1px solid var(--hub-border);
    color: var(--hub-text);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: border-color .2s ease, background-color .2s ease;
}

.courses-hub__goal-markers a::after {
    content: "→";
    color: var(--main-color-one-hover);
    font-weight: 700;
}

.courses-hub__goal-markers a:hover {
    border-color: var(--hub-yellow);
    background: var(--hub-yellow-soft);
}

/* CTA panels */
.courses-hub__cta-panel {
    padding: 40px 44px;
    border-radius: 20px;
    background: var(--hub-yellow-soft);
    border: 1px solid var(--hub-yellow-line);
}

.courses-hub__cta-panel .courses-hub__h2 {
    margin-bottom: 12px;
}

.courses-hub__cta-panel .courses-hub__text {
    max-width: 720px;
}

.courses-hub__cta-panel--level .courses-hub__cta-panel-main {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px 32px;
}

.courses-hub__cta-panel--level .courses-hub__cta-panel-copy {
    flex: 1 1 420px;
    min-width: 0;
}

.courses-hub__cta-panel--level .courses-hub__cta-panel-btn {
    flex: 0 0 auto;
    margin: 0;
}

.courses-hub__level-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    margin: 18px 0 0;
    padding: 0;
}

.courses-hub__level-points li {
    padding: 8px 14px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--hub-yellow-line);
    font-size: 14px;
    font-weight: 600;
    color: var(--hub-text);
}

.courses-hub__cta-panel--final {
    padding: 36px 40px;
}

.courses-hub__final-media {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(229, 174, 0, 0.25);
}

.courses-hub__final-media img {
    display: block;
    width: 100%;
    height: 240px;
    object-fit: cover;
}

/* Steps */
.courses-hub__steps {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
    list-style: none;
    margin: 0;
    padding: 0;
    counter-reset: none;
}

.courses-hub__steps > li,
.courses-hub-step {
    list-style: none;
    margin-bottom: 0;
    position: relative;
    height: 100%;
    padding: 22px 18px 24px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid var(--hub-border);
    box-shadow: 0 4px 14px rgba(54, 54, 54, 0.03);
}

.courses-hub__steps > li::before,
.courses-hub-step::before {
    content: none !important;
    display: none !important;
    counter-increment: none;
}

.courses-hub-step:not(:last-child)::after {
    content: none;
    display: none;
}

.courses-hub-step__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    margin-bottom: 16px;
    border-radius: 50%;
    background: var(--hub-yellow);
    color: var(--hub-text);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.courses-hub-step__title {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--hub-text);
}

.courses-hub-step p {
    margin: 0;
    color: var(--hub-muted);
    line-height: 1.5;
    font-size: 14px;
}

/* Formats */
.courses-hub-format {
    height: 100%;
    padding: 32px 28px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid var(--hub-border);
    box-shadow: 0 6px 18px rgba(54, 54, 54, 0.04);
}

.courses-hub-format__top {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}

.courses-hub-format__icon {
    flex: 0 0 auto;
    width: 72px;
    height: 72px;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: var(--hub-yellow-soft);
    border: 1px solid var(--hub-yellow-line);
}

.courses-hub-format__icon img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.courses-hub-format__title {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.25;
    color: var(--hub-text);
}

.courses-hub-format p {
    margin: 0 0 8px;
    color: var(--hub-muted);
    line-height: 1.6;
    font-size: 15px;
}

.courses-hub-format p:last-child {
    margin-bottom: 0;
}

.courses-hub-format__accent {
    display: inline-block;
    margin-top: 6px !important;
    padding: 10px 14px;
    border-radius: 12px;
    background: var(--hub-bg-soft);
    color: var(--hub-text) !important;
    font-size: 15px;
}

/* Teachers on hub only — spacing + slightly smaller */
.courses-hub__teachers.our-team-area-wrapper {
    padding-top: 56px;
    padding-bottom: 56px;
    margin-bottom: 24px;
}

.courses-hub__teachers.section-top-space {
    padding-top: 56px;
}

.courses-hub__teachers .theme-section-title .title {
    font-size: 32px;
}

.courses-hub__teachers .single-team-item.style-01 {
    padding: 28px 24px 24px;
    margin: 8px 0;
}

.courses-hub__teachers .single-team-item.style-01 .thumbnail img {
    width: 160px;
    height: 160px;
}

.courses-hub__teachers .single-team-item.style-01 .content .title {
    font-size: 20px;
}

.courses-hub__teachers .btn-wrap {
    margin-top: 28px !important;
}

/* Prices */
.courses-hub__prices {
    width: 100%;
}

.courses-hub-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    border: 1px solid var(--hub-border);
    border-left: 4px solid var(--hub-yellow);
    border-radius: var(--hub-radius);
    overflow: hidden;
}

.courses-hub-table th,
.courses-hub-table td {
    padding: 18px 24px;
    text-align: left;
    border-bottom: 1px solid var(--hub-border);
    vertical-align: middle;
}

.courses-hub-table th {
    background: var(--hub-yellow-soft);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: var(--hub-text);
}

.courses-hub-table tbody tr {
    transition: background-color .2s ease;
}

.courses-hub-table tbody tr:hover {
    background: #fffdf5;
}

.courses-hub-table th:last-child,
.courses-hub-table td:last-child {
    text-align: right;
    white-space: nowrap;
    font-weight: 700;
}

.courses-hub-table td:last-child {
    color: var(--main-color-one-hover);
    font-size: 16px;
}

.courses-hub-table tbody tr:last-child td {
    border-bottom: none;
}

.courses-hub-table a {
    color: var(--hub-text);
    font-weight: 600;
    text-decoration: none;
}

.courses-hub-table a:hover {
    color: var(--main-color-one-hover);
}

.courses-hub__note {
    margin-top: 14px;
    color: var(--hub-muted);
    font-size: 14px;
    line-height: 1.5;
    max-width: 760px;
}

/* Why */
.courses-hub__why-section {
    padding: 40px 44px;
    border-radius: 20px;
    background: var(--hub-bg-soft);
    border: 1px solid var(--hub-border);
}

.courses-hub__why-section .courses-hub__section-head {
    margin-bottom: 24px;
}

.courses-hub__why {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.courses-hub__why li {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-height: 100%;
    padding: 22px 18px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid var(--hub-border);
    box-shadow: 0 6px 16px rgba(54, 54, 54, 0.04);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--hub-text);
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.courses-hub__why li::before {
    content: none;
    display: none;
}

.courses-hub__why li:hover {
    border-color: var(--hub-yellow-line);
    background: #fffdf5;
    box-shadow: 0 8px 20px rgba(253, 194, 2, 0.12);
}

.courses-hub__why-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--hub-yellow-soft);
    border: 1px solid var(--hub-yellow-line);
}

.courses-hub__why-icon img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.courses-hub__why-text {
    flex: 1;
}

/* Reviews */
.courses-hub__reviews .theme-section-title {
    margin-bottom: 36px;
}

.courses-hub__reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 28px;
}

.courses-hub-review {
    height: 100%;
    padding: 24px 22px;
    background: #fff;
    border: 1px solid var(--hub-border);
    border-radius: var(--hub-radius);
    border-top: 3px solid var(--hub-yellow);
}

.courses-hub-review__text {
    margin: 0 0 18px;
    font-size: 15px;
    line-height: 1.55;
    color: var(--hub-text);
}

.courses-hub-review__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px 12px;
}

.courses-hub-review__name {
    font-size: 15px;
    font-weight: 700;
    color: var(--hub-text);
}

.courses-hub-review__course,
.courses-hub-review__source {
    font-size: 13px;
    color: var(--hub-muted);
}

.courses-hub-review__source {
    margin-left: auto;
    padding: 2px 8px;
    border-radius: 999px;
    background: var(--hub-yellow-soft);
    color: #7a5a00;
    font-weight: 600;
}

/* FAQ */
.courses-hub__faq {
    margin-top: var(--hub-section-gap);
    padding-top: 24px;
}

.courses-hub__faq-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px 32px;
    margin-bottom: 28px;
}

.courses-hub__faq-head-copy {
    flex: 1 1 320px;
    min-width: 0;
    max-width: 760px;
}

.courses-hub__faq-head-copy .courses-hub__h2 {
    margin-bottom: 10px;
}

.courses-hub__faq-head-copy .courses-hub__text {
    margin-bottom: 0;
}

.courses-hub__faq-head-btn {
    flex: 0 0 auto;
    margin: 0;
}

.courses-hub__faq-accordion .card {
    border: 1px solid var(--hub-border);
    border-radius: 12px !important;
    margin-bottom: 10px;
    overflow: hidden;
    background: #fff;
}

.courses-hub__faq-accordion .card-header {
    background: #fff;
    padding: 0;
    border: 0;
}

.courses-hub__faq-accordion .card-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.courses-hub__faq-accordion .card-header a {
    display: block;
    padding: 16px 48px 16px 18px;
    color: var(--hub-text);
    text-decoration: none;
    font-weight: 600;
    position: relative;
}

.courses-hub__faq-accordion .card-header a::after {
    content: "+";
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    font-weight: 400;
    color: var(--hub-muted);
}

.courses-hub__faq-accordion .card-header a:not(.collapsed)::after {
    content: "–";
}

.courses-hub__faq-accordion .card-body {
    padding: 0 18px 18px;
    color: var(--hub-muted);
    line-height: 1.55;
}

.courses-hub__faq .margin-top-90 {
    margin-top: 0;
}

/* Final section spacing before footer */
.courses-hub__final {
    margin-bottom: 24px;
}

/* Responsive */
@media (max-width: 1199px) {
    .courses-hub__steps {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 20px;
    }

    .courses-hub-step:not(:last-child)::after {
        display: none;
    }

    .courses-hub__why {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .courses-hub__reviews-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .courses-hub__hero-media img {
        height: 360px;
    }
}

@media (max-width: 991px) {
    .courses-hub {
        --hub-section-gap: 60px;
    }

    .courses-hub__hero-media img {
        height: 300px;
    }

    .courses-hub__kids,
    .courses-hub__panel,
    .courses-hub__why-section,
    .courses-hub__cta-panel,
    .courses-hub__cta-panel--final {
        padding: 28px 24px;
    }

    .courses-hub__seo-actions {
        flex-direction: column;
    }

    .courses-hub__seo-actions .btn-common {
        width: 100%;
        text-align: center;
    }

    .courses-hub__cta-panel--level .courses-hub__cta-panel-btn {
        width: 100%;
    }

    .courses-hub__cta-panel--level .courses-hub__cta-panel-btn .btn-common {
        width: 100%;
        text-align: center;
    }

    .courses-hub-card--featured {
        grid-template-columns: 1fr;
    }

    .courses-hub-card--featured .courses-hub-card__media {
        aspect-ratio: 16 / 9;
        min-height: 0;
    }

    .courses-hub-card--featured .courses-hub-card__body .btn-common {
        width: 100%;
        max-width: none;
    }

    .courses-hub__kids-image img {
        height: 240px;
    }

    .courses-hub__steps {
        grid-template-columns: 1fr 1fr;
    }

    .courses-hub-step:not(:last-child)::after {
        display: none;
    }

    .courses-hub__choose .offset-xl-2 {
        margin-left: 0;
    }

    .courses-hub__final-media img {
        height: 200px;
    }
}

@media (max-width: 767px) {
    .courses-hub__h1 {
        font-size: 32px;
        line-height: 1.2;
    }

    .courses-hub__lead {
        font-size: 18px;
    }

    .courses-hub__hero-actions {
        flex-direction: column;
    }

    .courses-hub__hero-actions .btn-common {
        width: 100%;
        text-align: center;
    }

    .courses-hub__facts {
        gap: 8px;
    }

    .courses-hub__facts li {
        font-size: 13px;
        padding: 7px 12px;
    }

    .courses-hub__hero-media img {
        height: 240px;
    }

    .courses-hub-card__body {
        padding: 18px;
    }

    .courses-hub-card__title {
        font-size: 20px;
    }

    .courses-hub-card__price {
        font-size: 22px;
    }

    .courses-hub__steps {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .courses-hub__why {
        grid-template-columns: 1fr;
    }

    .courses-hub__reviews-grid {
        grid-template-columns: 1fr;
    }

    .courses-hub-table thead {
        display: none;
    }

    .courses-hub-table,
    .courses-hub-table tbody,
    .courses-hub-table tr,
    .courses-hub-table td {
        display: block;
        width: 100%;
    }

    .courses-hub-table tr {
        padding: 14px 16px;
        border-bottom: 1px solid var(--hub-border);
    }

    .courses-hub-table tr:last-child {
        border-bottom: none;
    }

    .courses-hub-table td {
        padding: 0;
        border: 0;
        text-align: left !important;
        white-space: normal;
    }

    .courses-hub-table td + td {
        margin-top: 6px;
        font-size: 16px;
    }

    .courses-hub-table td::before {
        content: attr(data-label);
        display: block;
        margin-bottom: 2px;
        font-size: 12px;
        font-weight: 600;
        color: var(--hub-muted);
        text-transform: uppercase;
        letter-spacing: 0.02em;
    }

    .courses-hub__faq-accordion .card-header a {
        padding-right: 42px;
        font-size: 15px;
    }
}

@media (max-width: 575px) {
    .courses-hub__h1 {
        font-size: 28px;
    }

    .courses-hub__h2 {
        font-size: 24px;
    }

    .courses-hub__kids-links {
        flex-direction: column;
        gap: 10px;
    }
}
