/* ========================================
   СТРАНИЦА "СПЕКТАКЛЬ"
   ======================================== */

/* ----- ХЕДЕР ----- */
.page-header-spectacle {
    background: #94A8A0;
    padding: 16px 0 0;
    position: relative;
}

.header-top-spectacle {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0 120px;
}

.header-top-spectacle .theater-name {
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 14px;
    color: #202020;
}

.header-top-spectacle .logo {
    width: 50px;
    height: 44px;
    flex-shrink: 0;
}

.header-top-spectacle .header-actions {
    display: flex;
    align-items: center;
    gap: 24px;
}

.header-top-spectacle .header-actions .icon-btn {
    padding: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-top-spectacle .lang-switch {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-ui);
    font-weight: 700;
    font-size: 20px;
    line-height: 24px;
    cursor: pointer;
    letter-spacing: 0.20px;
}

/* ----- НАВИГАЦИЯ ----- */
.main-nav-spectacle {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0 120px;
    margin-top: 28px;
}

.main-nav-spectacle .nav-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-top: 10px;
}

.main-nav-spectacle .nav-left .nav-item {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    line-height: 14px;
    color: var(--color-text-default);
    cursor: pointer;
}

.main-nav-spectacle .nav-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-top: 10px;
}

.main-nav-spectacle .nav-right .nav-item {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    line-height: 14px;
    color: var(--color-text-default);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

.main-nav-spectacle .nav-center {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 46px;
    max-width: 695px;
}

.main-nav-spectacle .nav-center .spectacle-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 52px;
    line-height: 62.4px;
    color: #1D1D1D;
    text-align: center;
}

.main-nav-spectacle .nav-center .spectacle-subtitle {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 24px;
    line-height: 24px;
    color: #1D1D1D;
    text-align: center;
}

.main-nav-spectacle .nav-center .spectacle-meta {
    display: flex;
    align-items: center;
    gap: 13px;
    justify-content: center;
}

.main-nav-spectacle .nav-center .spectacle-meta .meta-item {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    line-height: 14px;
    color: var(--color-text-default);
    padding-right: 12px;
    border-right: 1px solid rgba(15.64, 15.64, 15.64, 0.20);
}

.main-nav-spectacle .nav-center .spectacle-meta .meta-item:last-child {
    border-right: none;
    padding-right: 0;
}

/* ----- ОРНАМЕНТ ----- */
.ornament-wrapper-spectacle {
    display: flex;
    gap: 3px;
    overflow: hidden;
    width: 100%;
}

/* ----- ГЕРОЙ (Баннер спектакля) ----- */
.hero-spectacle {
    position: relative;
    width: 100%;
    height: 620px;
    background: #C4C4C4;
    overflow: hidden;
}

.hero-spectacle .hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ----- ОСНОВНОЙ КОНТЕНТ ----- */
.spectacle-content {
    padding: 68px 120px 0;
    max-width: 1440px;
    margin: 0 auto;
}

.spectacle-content .content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 68px;
}

/* Блок с датой и кнопкой */
.spectacle-content .date-block {
    width: 100%;
    max-width: 788px;
    background: var(--color-white);
    padding: 16px 24px;
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.spectacle-content .date-block .date-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.spectacle-content .date-block .date-info .date-day {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 24px;
    line-height: 28.8px;
    color: #202020;
}

.spectacle-content .date-block .date-info .date-time {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 16px;
    text-transform: uppercase;
    line-height: 16px;
    color: #757575;
}

.spectacle-content .date-block .date-actions {
    display: flex;
    align-items: center;
    gap: 24px;
}

.spectacle-content .date-block .date-actions .ticket-icon {
    width: 86px;
    height: 30px;
}

/* Описание */
.spectacle-content .description-block {
    width: 100%;
    max-width: 760px;
}

.spectacle-content .description-block .section-title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 32px;
    line-height: 38.4px;
    color: #202020;
    margin-bottom: 26px;
}

.spectacle-content .description-block .description-text {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 16px;
    line-height: 22.4px;
    color: #080808;
}

/* Создатели */
.spectacle-content .creators-block {
    width: 100%;
    max-width: 760px;
}

.spectacle-content .creators-block .creator-item {
    display: flex;
    align-items: flex-end;
    gap: 16px;
    padding: 8px 0;
    text-decoration: none !important;
}

.spectacle-content .creators-block .creator-item .creator-label {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 14px;
    line-height: 14px;
    color: #757575;
    min-width: 140px;
}

.spectacle-content .creators-block .creator-item .creator-name {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 18px;
    line-height: 21.6px;
    color: #151515;
}

.spectacle-content .creators-block .creator-item .creator-line {
    flex: 1;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    margin-bottom: 4px;
}

/* Действующие лица */
.spectacle-content .cast-block {
    width: 100%;
    max-width: 760px;
}

.spectacle-content .cast-block .cast-grid {
    display: flex;
    gap: 52px;
    margin-top: 32px;
}

.spectacle-content .cast-block .cast-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.spectacle-content .cast-block .cast-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.spectacle-content .cast-block .cast-item .cast-image {
    width: 56px;
    height: 64px;
    border-radius: 4px;
    background: #D9D9D9;
    flex-shrink: 0;
    object-fit: cover;
}

.spectacle-content .cast-block .cast-item .cast-info {
    flex: 1;
}

.spectacle-content .cast-block .cast-item .cast-role {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 14px;
    line-height: 14px;
    color: #757575;
}

.spectacle-content .cast-block .cast-item .cast-name {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 18px;
    line-height: 21.6px;
    color: #151515;
    margin-top: 6px;
}

/* Видео-блок */
.spectacle-content .video-block {
    width: 100%;
    max-width: 760px;
    height: 428px;
    /*background-image: url('https://placehold.co/760x428');
    background-size: cover;
    background-position: center;*/
    display: flex;
    align-items: center;
    justify-content: center;
}

.spectacle-content .video-block .play-btn {
    width: 56px;
    height: 56px;
    background: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.spectacle-content .video-block .play-btn:hover {
    transform: scale(1.1);
}

.spectacle-content .video-block .play-btn svg {
    margin-left: 4px;
}

/* ========================================
   ГАЛЕРЕЯ (СПЕКТАКЛЬ)
   ======================================== */
.gallery-block {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-block .gallery-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 31px;
}

.gallery-block .gallery-nav .gallery-counter {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 24px;
    line-height: 28.8px;
    color: #202020;
}

.gallery-block .gallery-nav .gallery-counter .total {
    color: #A8A8A8;
}

.gallery-block .gallery-nav .nav-btn {
    padding: 10px 12px;
    border: 1px solid var(--color-border-dark);
    border-radius: 4px;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.gallery-block .gallery-nav .nav-btn:hover {
    background: var(--color-border-dark);
}

.gallery-block .gallery-nav .nav-btn:hover svg path {
    stroke: var(--color-white);
}

/* Swiper стили */
.gallery-swiper {
    overflow: hidden;
}

.gallery-swiper .swiper-wrapper {
    align-items: center;
}

.gallery-block .gallery-swiper .swiper-slide {
    width: 33.333333%;
    height: 506px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease;
    flex-shrink: 0;
    padding: 0 3px;
}

.zritelyam-gallery-block .gallery-swiper .swiper-slide {
    width: 50%;
}

.gallery-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.history-gallery-block .swiper-slide {
    width: 100% !important;
}

.awards-gallery-block .gallery-swiper .swiper-slide {
    width: 50%;
    height: 440px;
}

.awards-gallery-block .gallery-swiper .swiper-slide img {
    object-fit: contain;
}

/* Адаптив для галереи */
@media (max-width: 992px) {
    .gallery-block .gallery-swiper .swiper-slide {
        width: 50%;
        height: 350px;
    }
}

@media (max-width: 768px) {
    .gallery-block .gallery-swiper .swiper-slide {
        height: 250px;
    }
    .gallery-block .gallery-nav {
        flex-wrap: wrap;
        gap: 16px;
        justify-content: center;
    }

    .awards-gallery-block .gallery-swiper .swiper-slide {
        width: 100%;
        height: 340px;
    }
}

@media (max-width: 576px) {
    .gallery-block .gallery-swiper .swiper-slide {
        width: 100%;
        height: 200px;
    }
    .gallery-block .gallery-nav .gallery-counter {
        font-size: 18px;
    }

    .awards-gallery-block .gallery-swiper .swiper-slide {
        width: 100%;
        height: 380px;
    }
}

/* ----- АДАПТИВ ----- */
@media (max-width: 1200px) {
    .header-top-spectacle,
    .main-nav-spectacle {
        padding: 0 40px;
    }
    .spectacle-content {
        padding: 40px 40px 0;
    }
}

@media (max-width: 992px) {
    .main-nav-spectacle {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    .main-nav-spectacle .nav-left,
    .main-nav-spectacle .nav-right {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    .header-top-spectacle {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
        padding: 10px 20px;
    }
    .main-nav-spectacle .nav-center .spectacle-title {
        font-size: 36px;
        line-height: 44px;
    }
    .spectacle-content .cast-block .cast-grid {
        flex-direction: column;
        gap: 24px;
    }
    .spectacle-content .gallery-block .gallery-images {
        flex-wrap: wrap;
        height: auto;
    }
    .spectacle-content .gallery-block .gallery-images .gallery-img-center {
        width: 100%;
        height: auto;
    }
}

@media (max-width: 768px) {
    .spectacle-content {
        padding: 30px 20px 0;
    }
    .main-nav-spectacle .nav-center .spectacle-title {
        font-size: 28px;
        line-height: 34px;
    }
    .main-nav-spectacle .nav-center .spectacle-subtitle {
        font-size: 18px;
    }
    .spectacle-content .date-block {
        flex-direction: column;
        gap: 16px;
        align-items: stretch;
    }
    .spectacle-content .date-block .date-actions {
        justify-content: space-between;
    }
    .spectacle-content .creators-block .creator-item {
        flex-wrap: wrap;
    }
    .spectacle-content .creators-block .creator-item .creator-label {
        min-width: 100%;
    }
    .spectacle-content .gallery-block .gallery-nav {
        flex-wrap: wrap;
        gap: 16px;
        justify-content: center;
    }
    .spectacle-content .video-block {
        height: 250px;
    }
}

@media (max-width: 576px) {
    .header-top-spectacle,
    .main-nav-spectacle {
        padding: 0 15px;
    }
    .main-nav-spectacle .nav-center .spectacle-title {
        font-size: 24px;
        line-height: 30px;
    }
    .main-nav-spectacle .nav-center .spectacle-subtitle {
        font-size: 16px;
    }
    .main-nav-spectacle .nav-center .spectacle-meta {
        flex-wrap: wrap;
        gap: 8px;
    }
    .main-nav-spectacle .nav-center .spectacle-meta .meta-item {
        padding-right: 8px;
        font-size: 12px;
    }
    .spectacle-content .date-block .date-info {
        flex-wrap: wrap;
        gap: 8px;
    }
    .spectacle-content .date-block .date-info .date-day {
        font-size: 20px;
    }
    .spectacle-content .cast-block .cast-item .cast-image {
        width: 40px;
        height: 48px;
    }
    .spectacle-content .cast-block .cast-item .cast-name {
        font-size: 15px;
    }
}

.spectacle-content .reviews-block {
    width: 100%;
    max-width: 760px;
}

.reviews-item {
    padding: 20px 0;
    border-bottom: 1px solid #9B9B9B;
}

.reviews-item:last-child {
    border: unset;
}

.reviews-item-author {
    color: #2B2B2B;
    font-size: 16px;
    font-weight: 500;
    line-height: 23px;
}

.reviews-item-date {
    color: rgba(43, 43, 43, 0.8);
    font-size: 14px;
    font-weight: 500;
    line-height: 23px;
}

.page-text p, .page-text ol, .page-text ul {
    color: #2B2B2B;
    font-weight: 400;
    line-height: 24px;
    font-size: 14px;
    margin-bottom: 16px;
}

.spectacle-content .press-event-block {
    width: 100%;
    max-width: 760px;
}

.event-press-item {
    display: block;
    padding: 25px 0;
    border-bottom: 1px solid #C8CFD7;
}

.event-press-item:last-child {
    border-bottom: unset;
}

.event-press-title {
    color: #2B2B2B;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    margin-bottom: 14px;
}

.event-press-item:hover .event-press-title {
    color: rgba(43, 43, 43, 0.80);
    text-decoration: underline;
}

.event-press-date,
.event-press-name {
    color: rgba(43, 43, 43, 0.60);
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
}

.zritelyam-page-text table {
    width: 100%;
    border-collapse: collapse;
    font-family: sans-serif;
    font-size: 14px;
    text-align: left;
}

.zritelyam-page-text th, td {
    padding: 12px 15px;
    border: 1px solid #ddd;
}

.zritelyam-page-text th {
    background-color: #f4f4f4;
    font-weight: bold;
}

.zritelyam-page-text tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

@media (min-width: 576px) {
    .reviews-item-date, .reviews-item-author {
        font-size: 18px;
        color: #2B2B2B;
    }

    .reviews-item-author + .reviews-item-date {
        border-right: 1px solid #2B2B2B;
        padding-right: 10px;
        margin-right: 10px;
    }
}

@media (min-width: 768px) {
    .page-text p, .page-text ol, .page-text ul {
        font-size: 16px;
    }
}
