.quiz-entry-point {
    width: 100%;
    margin: 65px 0;
    padding: 0;
}

@media screen and (max-width: 900px) {
    .quiz-entry-point {
        margin: 30px 0;
    }
}

.quiz-entry-container {
    display: flex;
    gap: 32px;
    background:
        radial-gradient(48.14% 140.83% at 0% 0%, #6F6F6F 0%, rgba(56, 56, 56, 0) 100%),
        radial-gradient(44.75% 138.45% at 100% 100%, #6F6F6F 0%, rgba(56, 56, 56, 0) 100%),
        #383838;
    overflow: hidden;
    min-height: auto;
    padding: 46px 49px 0 49px;
    border-radius: 20px;
}

@media screen and (max-width: 1200px) {
    .quiz-entry-container {
        padding: 30px 20px;
    }
}

@media screen and (max-width: 900px) {
    .quiz-entry-container {
        padding: 0;
    }
}

/* Левая часть - Медиа */
.quiz-entry-media {
    width: 32.5%;
    position: relative;
    background: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 20px;
    max-height: 590px;
    /* aspect-ratio: 1 / 1;
    align-self: flex-start; */
}

@media screen and (max-width: 1270px) {
    .quiz-entry-media {
        width: 37%;
    }
}

@media screen and (max-width: 900px) {
    .quiz-entry-media {
        display: none;
    }
}

.quiz-video-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.quiz-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Когда видео играет - показываем его полностью */
/* .quiz-video.playing {
    object-fit: contain !important;
} */

/* В полноэкранном режиме показываем видео полностью без обрезки */
.quiz-video:fullscreen {
    object-fit: contain;
}

.quiz-video:-webkit-full-screen {
    object-fit: contain;
}

.quiz-video:-moz-full-screen {
    object-fit: contain;
}

.quiz-video:-ms-fullscreen {
    object-fit: contain;
}

/* Скрываем стандартные контролы по умолчанию */
.quiz-video::-webkit-media-controls {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.quiz-video::-webkit-media-controls-enclosure {
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Показываем контролы при наведении на wrapper */
.quiz-video-wrapper:hover .quiz-video::-webkit-media-controls {
    opacity: 1;
}

.quiz-video-wrapper:hover .quiz-video::-webkit-media-controls-enclosure {
    opacity: 1;
}

/* Скрываем контролы пока видео не начало играть */
.quiz-video:not(.playing)::-webkit-media-controls {
    display: none !important;
}

.quiz-video:not(.playing)::-webkit-media-controls-enclosure {
    display: none !important;
}

/* Когда видео играет - показываем контролы при наведении */
.quiz-video.playing::-webkit-media-controls {
    display: flex !important;
}

.quiz-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: none;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease;
    z-index: 1;
}

.quiz-play-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.quiz-play-button.hidden {
    display: none;
}

.quiz-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.quiz-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

/* Правая часть - Контент */
.quiz-entry-content {
    width: 63.5%;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

@media screen and (max-width: 900px) {
    .quiz-entry-content {
        width: 100%;
    }
}

.quiz-entry-content .quiz-entry-title {
    background-image: radial-gradient(159.48% 598.74% at 19.84% 55.71%, #FFFFFF 0%, rgba(255, 255, 255, 0) 100%);
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
    font-family: Buyan, sans-serif;
    font-size: 65px;
    font-weight: 700;
    line-height: 1.2;
    text-align: start;
    text-transform: uppercase;
    margin-bottom: 9px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    height: calc(65px * 1.2 * 2);
}

@media screen and (max-width: 900px) {
    .quiz-entry-content .quiz-entry-title  {
        margin: 38px 24px 6px 24px;
        font-size: 45px;
        height: calc(45px * 1.2 * 2);
    }
}

.quiz-entry-description {
    font-family: Montserrat, sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: #FFFFFF;
    margin: 0 0 26px 0;
    line-height: 149%;
}

@media screen and (max-width: 900px) {
    .quiz-entry-description  {
        margin: 6px 24px 19px 24px;
        font-size: 14px;
    }
}


.quiz-entry-button {
    width: 100%;
    max-width: 350px;
    border: none;
    border-radius: 24px;
    background: linear-gradient(264.11deg, #FFE9C8 -4.53%, #FFD9AD 18.44%, #FFDDB5 51.46%, #FFDDB5 76.6%, #FFCC8F 111.92%);
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0px 8.8px 0px 0px #D8A86E;
    font-family: Montserrat, sans-serif;
    font-weight: 800;
    font-size: 18px;
    line-height: 128%;
    letter-spacing: 5%;
    text-transform: uppercase;
    color: #584D3E;
    height: 80px;
}

@media screen and (max-width: 900px) {
    .quiz-entry-button  {
        margin: 19px 24px 24px 24px;
        max-width: 100%;
        width: auto;
        box-shadow: 0px 3.8px 0px 0px #D8A86E;
        font-size: 14px;
        border-radius: 18px;
        height: 68px;
    }
}

/* Декоративная картинка */
.quiz-entry-decoration {
    bottom: -49px;
    right: -40px;
    width: 77%;
    height: auto;
    z-index: -1;
    pointer-events: none;
}

@media screen and (max-width: 900px) {
    .quiz-entry-decoration  {
        width: 108%;
    }
}

/* Скрываем декоративную картинку на iOS */
@supports (-webkit-touch-callout: none) {
    @media screen and (max-width: 900px) {
        .quiz-entry-decoration {
            display: none !important;
        }

        .quiz-entry-media-mobile {
            margin-bottom: 24px !important;
        }
    }
}

.quiz-entry-decoration img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.quiz-entry-media-mobile {
    display: none;
}

@media screen and (max-width: 900px) {
    .quiz-entry-media-mobile {
        display: inline-flex;
        align-items: center;
        gap: 13px;
        margin: 24px 24px 205px 24px;
        padding: 0;
        border: none;
        background: transparent;
        cursor: pointer;
        text-align: left;
    }

    .quiz-entry-media-mobile[aria-hidden="true"] {
        cursor: default;
    }
}


@media screen and (max-width: 900px) {
    .quiz-entry-media-mobile {
        margin-bottom: -90px;
    }
}


@media screen and (max-width: 725px) {
    .quiz-entry-media-mobile {
        margin-bottom: -80px;
    }
}


@media screen and (max-width: 600px) {
    .quiz-entry-media-mobile {
        margin-bottom: -145px;
    }
}


@media screen and (max-width: 463px) {
    .quiz-entry-media-mobile {
        margin-bottom: -130px;
    }
}

@media screen and (max-width: 407px) {
    .quiz-entry-media-mobile {
        margin-bottom: -95px;
    }
}

.quiz-entry-media-mobile__circle {
    width: 85px;
    height: 85px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    flex: 0 0 85px;
    background: #1a1a1a;
}

.quiz-entry-media-mobile__circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.quiz-entry-media-mobile__play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
}

.quiz-entry-media-mobile__play::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 55%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    border-left: 10px solid #000;
}

.quiz-entry-media-mobile__text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.quiz-entry-media-mobile__text-title, .quiz-entry-media-mobile__text-subtitle {
    font-family: Buyan, sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 120%;
    color: #FFFFFF;
}
