.course-audience {
    --bg: #efd356;
    --text: #111111;
    --white: #ffffff;
    --container-width: 1240px;
    --radius-xl: 120px;
    --radius-lg: 90px;
    --shadow: 0 12px 32px rgba(0, 0, 0, 0.08);

    position: relative;
    overflow: hidden;
    background: var(--bg);
}

.course-audience__content {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
    align-items: center;
    gap: 56px;
}

.course-audience__info {
    position: relative;
    z-index: 2;
}

.course-audience__title {
    margin: 0 0 32px;
    color: var(--text);
    font-size: clamp(34px, 4vw, 58px);
    line-height: 1.05;
    font-weight: 400;
    font-family: "Lora", serif;
    font-style: italic;
}

.course-audience__list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 22px;
}

.course-audience__item {
    display: grid;
    grid-template-columns: 42px 1fr;
    align-items: start;
    gap: 16px;
}

.course-audience__icon {
    width: 42px;
    height: 42px;
    color: var(--text);
    flex-shrink: 0;
    transform: translateY(2px);
}

.course-audience__icon svg {
    display: block;
    width: 100%;
    height: 100%;
}

.course-audience__text {
    color: var(--text);
    font-size: clamp(24px, 2.1vw, 34px);
    line-height: 1.3;
    font-weight: 400;
    font-family: "Montserrat", sans-serif;
}

.course-audience__visual {
    position: relative;
    min-height: 580px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.course-audience__image-wrap {
    position: relative;
    z-index: 3;
}

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

.course-audience__shape,
.course-audience__frame {
    position: absolute;
    border: 2px solid var(--white);
    pointer-events: none;
}

.course-audience__shape--top {
    top: 105px;
    right: -10px;
    width: min(100%, 430px);
    height: 215px;
    border-radius: 0 110px 110px 0;
}

.course-audience__frame {
    right: -18px;
    bottom: 32px;
    width: min(100%, 445px);
    height: 210px;
    border-bottom-left-radius: 85px;
}


.course-audience::before,
.course-audience::after {
    content: "";
    position: absolute;
    width: 118px;
    height: 118px;
    border: 2px solid var(--white);
    pointer-events: none;
    opacity: 0.95;
}

.course-audience::before {
    top: -28px;
    left: -28px;
    border-right: 0;
    border-bottom: 0;
    border-radius: 0 0 100px 0;
}

.course-audience::after {
    right: -34px;
    bottom: -34px;
    border-left: 0;
    border-top: 0;
    border-radius: 100px 0 0 0;
}

@media (max-width: 1199px) {
    .course-audience__content {
        grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
        gap: 36px;
    }

    .course-audience__visual {
        min-height: 520px;
    }

    .course-audience__frame {
        width: 390px;
        height: 190px;
    }
}

@media (max-width: 991px) {
    .course-audience__content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .course-audience__info {
        order: 1;
    }

    .course-audience__visual {
        order: 2;
        min-height: 500px;
        max-width: 560px;
        margin: 0 auto;
        width: 100%;
    }

    .course-audience__title {
        max-width: 700px;
    }
}

@media (max-width: 767px) {
    .course-audience__title {
        margin-bottom: 24px;
    }

    .course-audience__list {
        gap: 18px;
    }

    .course-audience__item {
        grid-template-columns: 34px 1fr;
        gap: 12px;
    }

    .course-audience__icon {
        width: 34px;
        height: 34px;
    }

    .course-audience__text {
        font-size: 22px;
    }

    .course-audience__visual {
        min-height: 380px;
    }

    .course-audience__image-wrap {
        width: min(100%, 340px);
        border-radius: 28px;
    }

    .course-audience__shape--top {
        top: 20px;
        right: 0;
        width: 270px;
        height: 138px;
        border-radius: 0 72px 72px 0;
    }

    .course-audience__frame {
        right: 6px;
        bottom: 8px;
        width: 280px;
        height: 145px;
    }

    .course-audience__stars--top {
        top: -2px;
        right: 2px;
        gap: 10px;
    }

    .course-audience__stars--bottom {
        left: -8px;
        bottom: -4px;
        gap: 10px;
    }

    .course-audience__stars span {
        width: 22px;
        height: 22px;
    }

    .course-audience::before,
    .course-audience::after {
        width: 86px;
        height: 86px;
    }
}

@media (max-width: 479px) {
    .course-audience__text {
        font-size: 19px;
    }

    .course-audience__visual {
        min-height: 320px;
    }

    .course-audience__image-wrap {
        width: min(100%, 290px);
    }

    .course-audience__shape--top {
        width: 225px;
        height: 118px;
    }

    .course-audience__frame {
        width: 235px;
        height: 120px;
    }
}

@media (max-height: 800px) {
    .course-audience__visual {
        display: none;
    }
}
