.course-page {
    padding-bottom: 40px;
}

.course-page__intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
    gap: 48px;
    align-items: start;
    margin-bottom: 44px;
}

.course-page__content {
    color: #111827;
    font-family: var(--font-main);
    font-size: 15px;
    line-height: 1.55;
}

.course-page__intro-title {
    margin: 0 0 20px;
    color: #111827;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.2;
}

.course-page__content p {
    margin: 0 0 16px;
}

.course-page__media {
    position: relative;
    min-height: 260px;
    overflow: hidden;
    border-radius: 8px;
    background: #E9EBEF;
}

.course-page__media img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 260px;
    object-fit: cover;
}

@media(max-width:600px){
.course-page__media {
    position: relative;
    min-height: auto;
    overflow: hidden;
    border-radius: 8px;
    background: #E9EBEF;
}

.course-page__media img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: auto;
    object-fit: cover;
}
}

.course-page__media-caption {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 20px;
    padding: 16px 18px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.course-page__media-title {
    margin-bottom: 6px;
    color: #006F93;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
}

.course-page__media-text {
    color: #111827;
    font-size: 12px;
    line-height: 1.45;
}

.course-page__section {
    margin-top: 34px;
}

.course-page__section h2 {
    margin: 0 0 22px;
    color: #111827;
    font-size: 32px;
    font-weight: 400;
    line-height: 1.2;
}

.course-page__program {
    overflow: hidden;
    border: 1px solid #DDE2EA;
    border-radius: 8px;
    color: #111827;
    font-family: var(--font-main);
    font-size: 14px;
    line-height: 1.45;
}

.course-page__program-row {
    display: grid;
    grid-template-columns: 170px minmax(0, 1fr);
}

.course-page__program-row:nth-child(even) {
    background: #F4F5F7;
}

.course-page__program-row:nth-child(odd) {
    background: #FFFFFF;
}

.course-page__program-label,
.course-page__program-value {
    padding: 14px 18px;
}

.course-page__program-value{
max-width:900px;
}

.course-page__program-label {
    border-right: 1px solid #DDE2EA;
    color: #5A616C;
    font-weight: 500;
}

.course-page__program-value ul {
    margin: 0;
}

.course-page__program-value li {
    margin-bottom: 4px;
}

.course-page__program-value strong {
    color: #7D9616;
}

.course-page__program-note {
    margin-top: 18px;
    color: #006F93;
    font-family: var(--font-main);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.45;
}

.course-page__advantages ol {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: advantage;
}

.course-page__advantages li {
    position: relative;
    min-height: 26px;
    padding-left: 46px;
    color: #111827;
    font-family: var(--font-main);
    font-size: 15px;
    line-height: 26px;
    counter-increment: advantage;
}

.course-page__advantages li::before {
    content: counter(advantage);
    position: absolute;
    left: 0;
    top: 0;
    width: 26px;
    height: 26px;
    border: 2px solid #A8C51B;
    border-radius: 50%;
    color: #8AA218;
    font-size: 14px;
    font-weight: 600;
    line-height: 22px;
    text-align: center;
}

.course-page__advantages-note {
    margin-top: 28px;
    color: #7D9616;
    font-family: var(--font-main);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.45;
}

.about-page {
    padding-bottom: 48px;
    color: #111827;
    font-family: var(--font-main);
}

.about-page__intro {
    margin-bottom: 42px;
    font-size: 15px;
    line-height: 1.55;
}

.about-page__intro p,
.about-page__section p,
.about-page__reviews {
    margin: 0 0 18px;
}

.about-page__directions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
    gap: 54px;
    align-items: center;
    margin-bottom: 58px;
}

.about-page__directions h2,
.about-page__section h2 {
    margin: 0 0 28px;
    color: #111827;
    font-size: 30px;
    font-weight: 400;
    line-height: 1.2;
}

.about-page__direction {
    margin-bottom: 24px;
    color: #006F93;
}

.about-page__direction h3 {
    margin: 0 0 12px;
    color: #006F93;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.35;
}

.about-page__direction ul {
    margin: 0;
    padding-left: 18px;
    color: #111827;
    font-size: 14px;
    line-height: 1.45;
}

.about-page__logo-box {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 250px;
    padding: 42px;
    border: 2px solid #0089B3;
    border-radius: 8px;
}

.about-page__logo-box img {
    display: block;
    width: 100%;
    max-width: 390px;
    height: auto;
}

.about-page__section {
    margin-bottom: 54px;
    font-size: 15px;
    line-height: 1.55;
}

.about-page__section h2 {
    margin-bottom: 24px;
}

.about-page__reviews {
    font-size: 15px;
    line-height: 1.55;
}

.about-page__reviews a {
    color: #111827;
    text-decoration: underline;
}

@media (max-width: 900px) {
    .course-page__intro {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .course-page__section h2 {
        font-size: 26px;
    }

    .about-page__directions {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .about-page__directions h2,
    .about-page__section h2 {
        font-size: 26px;
    }
}

@media (max-width: 640px) {
    .course-page__program-row {
        grid-template-columns: 1fr;
    }

    .course-page__program-label {
        border-right: 0;
        border-bottom: 1px solid #DDE2EA;
    }

    .about-page__logo-box {
        min-height: 180px;
        padding: 28px;
    }
}
