/* ZAZ-49: shared-content large-text preference.
 * This is intentionally separate from the dormant legacy body.blind rules. */

.accessibility-controls {
    min-height: 34px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.accessibility-text-toggle {
    appearance: none;
    -webkit-appearance: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 34px;
    margin: 0;
    padding: 5px 12px;
    border: 1px solid #2e3993;
    border-radius: 3px;
    background: #fff;
    color: #2e3993;
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
    cursor: pointer;
}

.accessibility-text-toggle:hover,
.accessibility-text-toggle[aria-pressed='true'] {
    background: #2e3993;
    color: #fff;
}

.accessibility-text-toggle:focus-visible {
    outline: 3px solid #f0a000;
    outline-offset: 3px;
}

.accessibility-text-toggle__icon {
    font-family: 'PT Serif', serif;
    font-size: 1.15em;
    font-weight: 700;
    letter-spacing: -0.08em;
}

html[data-accessibility-text='large'] body {
    font-size: 20px;
    line-height: 1.6;
}

html[data-accessibility-text='large'] .accessibility-controls {
    min-height: 48px;
}

html[data-accessibility-text='large'] .accessibility-text-toggle {
    min-height: 44px;
    padding: 8px 15px;
    font-size: 19px;
}

html[data-accessibility-text='large'] header .hedder-contacts,
html[data-accessibility-text='large'] header .hedder-contacts span,
html[data-accessibility-text='large'] header .header-phone {
    font-size: 19px;
    line-height: 1.5;
}

html[data-accessibility-text='large'] header .search-form input {
    box-sizing: border-box;
    max-width: 100%;
    height: 44px;
    font-size: 19px;
    line-height: 1.4;
}

html[data-accessibility-text='large'] header .search-form button {
    width: 44px;
    height: 44px;
    right: 0;
}

html[data-accessibility-text='large'] .nav {
    flex-wrap: wrap;
}

html[data-accessibility-text='large'] .nav > li > a,
html[data-accessibility-text='large'] .drop-menu a,
html[data-accessibility-text='large'] .mobile-nav-list a {
    font-size: 20px;
    line-height: 1.4;
}

html[data-accessibility-text='large'] .breadcrumbs a,
html[data-accessibility-text='large'] .breadcrumbs span,
html[data-accessibility-text='large'] .sidebar a,
html[data-accessibility-text='large'] .sidebar li {
    font-size: 18px;
    line-height: 1.55;
}

html[data-accessibility-text='large'] main h1,
html[data-accessibility-text='large'] .page-content h1 {
    font-size: 42px;
    line-height: 1.2;
}

html[data-accessibility-text='large'] main h2,
html[data-accessibility-text='large'] .page-content .page-body h2,
html[data-accessibility-text='large'] .repertoire-category h2 {
    font-size: 32px;
    line-height: 1.3;
}

html[data-accessibility-text='large'] main h3,
html[data-accessibility-text='large'] .page-content .page-body h3,
html[data-accessibility-text='large'] .repertoire-item-card h3 {
    font-size: 27px;
    line-height: 1.35;
}

html[data-accessibility-text='large'] main h4,
html[data-accessibility-text='large'] .page-content .page-body h4 {
    font-size: 23px;
    line-height: 1.4;
}

html[data-accessibility-text='large'] .page-subtitle,
html[data-accessibility-text='large'] .page-body,
html[data-accessibility-text='large'] .page-body p,
html[data-accessibility-text='large'] .page-body li,
html[data-accessibility-text='large'] .article-body,
html[data-accessibility-text='large'] .article-body p,
html[data-accessibility-text='large'] .article-body li,
html[data-accessibility-text='large'] .actor-text,
html[data-accessibility-text='large'] .category-description,
html[data-accessibility-text='large'] .body-text,
html[data-accessibility-text='large'] .composer-text,
html[data-accessibility-text='large'] .genre-text,
html[data-accessibility-text='large'] .duration-text {
    font-size: 20px;
    line-height: 1.65;
}

html[data-accessibility-text='large'] .content-table caption {
    font-size: 23px;
    line-height: 1.4;
}

html[data-accessibility-text='large'] .content-table th,
html[data-accessibility-text='large'] .content-table td {
    padding: 16px 18px;
    font-size: 20px;
    line-height: 1.55;
}

html[data-accessibility-text='large'] .repertoire-tabs .tab-link {
    font-size: 29px;
    line-height: 1.3;
}

html[data-accessibility-text='large'] .repertoire-filters .filter-link,
html[data-accessibility-text='large'] .repertoire-head .age-menu a,
html[data-accessibility-text='large'] .more-link,
html[data-accessibility-text='large'] .badge-category {
    font-size: 18px;
    line-height: 1.45;
}

html[data-accessibility-text='large'] .events-pagination {
    gap: 14px;
}

html[data-accessibility-text='large'] .events-pagination a,
html[data-accessibility-text='large'] .events-pagination--simple a {
    min-width: 56px;
    min-height: 56px;
    border-width: 2px;
    border-radius: 8px;
    font-size: 21px;
}

html[data-accessibility-text='large'] .events-pagination a.arrow {
    font-size: 26px;
}

html[data-accessibility-text='large'] .container-events {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start !important;
    column-gap: 40px;
    row-gap: 40px;
}

html[data-accessibility-text='large'] .container-events > div {
    margin: 0 !important;
}

html[data-accessibility-text='large'] .container-events > #vidget,
html[data-accessibility-text='large'] .container-events > #vue-calendar {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
}

html[data-accessibility-text='large'] #vidget > #vk_groups,
html[data-accessibility-text='large'] #vidget > #vk_groups > iframe {
    width: 100% !important;
    height: 100% !important;
}

html[data-accessibility-text='large'] #vue-calendar .vdp-datepicker__calendar .day__month_btn,
html[data-accessibility-text='large'] #vue-calendar .vdp-datepicker__calendar .month__year_btn {
    font-size: 24px;
    line-height: 1.5;
}

html[data-accessibility-text='large'] #vue-calendar .vdp-datepicker__calendar .day-header {
    height: 42px;
    font-size: 20px;
    line-height: 42px;
}

html[data-accessibility-text='large'] #vue-calendar .vdp-datepicker__calendar .cell.day {
    width: calc(14.285714% - 20px);
    height: 57px;
    margin: 7px 10px;
    font-size: 20px;
    line-height: 55px;
}

html[data-accessibility-text='large'] .container-events > .event {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
}

html[data-accessibility-text='large'] .col-events > .center {
    margin-top: 40px;
}

html[data-accessibility-text='large'] .container-events .itm-block .abonement-badge-corner,
html[data-accessibility-text='large'] .container-events .itm-block .age-rating-corner,
html[data-accessibility-text='large'] .container-events .itm-block .age-block {
    padding: 9px 16px;
    font-size: 20px;
    line-height: 1.35;
}

html[data-accessibility-text='large'] .container-events .date-source .date {
    padding: 7px 14px;
}

html[data-accessibility-text='large'] .container-events .date-source .date .event_col-day,
html[data-accessibility-text='large'] .cat-events .event_col-day {
    font-size: 44px;
    line-height: 1.15;
}

html[data-accessibility-text='large'] .container-events .date-source .date .event_col-date p,
html[data-accessibility-text='large'] .container-events .date-source .date .event_col-time p,
html[data-accessibility-text='large'] .cat-events .event_col-date p,
html[data-accessibility-text='large'] .cat-events .event_col-time p {
    font-size: 20px;
    line-height: 1.2;
}

html[data-accessibility-text='large'] .container-events .event .desc {
    padding: 34px 26px;
    font-size: 24px;
    line-height: 1.3;
}

html[data-accessibility-text='large'] .container-events .event .brief-box.has-pushkincard .desc {
    padding-right: 130px;
}

html[data-accessibility-text='large'] .container-events .event .brief-box .pushkincard {
    width: 105px;
}

html[data-accessibility-text='large'] .section-theatre p {
    font-size: 20px;
    line-height: 1.65;
}

html[data-accessibility-text='large'] .product-detail .repertoire-demo-title-block .demo-genre,
html[data-accessibility-text='large'] .product-detail .repertoire-demo-title-block .demo-duration {
    font-size: 20px;
    line-height: 1.55;
}

html[data-accessibility-text='large'] .product-detail .cat-events .event-line {
    display: grid;
    grid-template-columns: minmax(220px, 280px) auto;
    grid-template-areas:
        "date date"
        "button pushkin";
    justify-content: start;
    align-items: start;
    row-gap: 14px;
    column-gap: 20px;
    margin-bottom: 28px;
}

html[data-accessibility-text='large'] .product-detail .cat-events .event-line .date-source {
    grid-area: date;
    margin: 0;
}

html[data-accessibility-text='large'] .product-detail .cat-events .event-line .date {
    padding: 7px 14px;
}

html[data-accessibility-text='large'] .product-detail .cat-events .event-line .event_col-day {
    font-size: 44px;
    line-height: 1.15;
}

html[data-accessibility-text='large'] .product-detail .cat-events .event-line .event_col-date {
    width: auto;
    min-width: 116px;
}

html[data-accessibility-text='large'] .product-detail .cat-events .event-line .event_col-date p,
html[data-accessibility-text='large'] .product-detail .cat-events .event-line .event_col-time p {
    font-size: 20px;
    line-height: 1.2;
}

html[data-accessibility-text='large'] .product-detail .cat-events .event-line .bye-ticket {
    grid-area: button;
    width: 100%;
}

html[data-accessibility-text='large'] .product-detail .cat-events .event-line .bye-ticket .btn-blue {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 0;
}

html[data-accessibility-text='large'] .product-detail .cat-events .event-line .pushkincard-inline {
    grid-area: pushkin;
    align-self: center;
    margin: 0 !important;
}

html[data-accessibility-text='large'] .product-detail .cat-events .event-line .pushkincard-inline img {
    width: 80px;
    height: auto;
}

html[data-accessibility-text='large'] .club-container .img img {
    width: 200px;
    max-width: 100%;
}

html[data-accessibility-text='large'] .club-container .title {
    font-size: 26px;
    line-height: 1.3;
}

html[data-accessibility-text='large'] .club-container .desc,
html[data-accessibility-text='large'] .club-container .content > .d-flex a {
    font-size: 18px;
    line-height: 1.5;
}

html[data-accessibility-text='large'] .club-container .content > .d-flex img {
    width: 24px;
    height: 24px;
}

html[data-accessibility-text='large'] .actor-group-divider + .row h5,
html[data-accessibility-text='large'] .content-right-block > h5 {
    font-size: 22px;
    line-height: 1.4;
}

html[data-accessibility-text='large'] .news-list .news {
    gap: 24px;
    margin-bottom: 40px !important;
}

html[data-accessibility-text='large'] .news-list .news .image {
    width: 280px;
    max-width: 40%;
    margin-right: 0 !important;
}

html[data-accessibility-text='large'] .news-list .content-news h4,
html[data-accessibility-text='large'] .news-list .content-news h4 a {
    font-size: 27px;
    line-height: 1.35;
}

html[data-accessibility-text='large'] .news-list .content-news p {
    font-size: 20px;
    line-height: 1.65;
}

html[data-accessibility-text='large'] .news-list .more a,
html[data-accessibility-text='large'] .news-detail .back-link {
    font-size: 18px;
    line-height: 1.5;
}

html[data-accessibility-text='large'] .news-detail .header-block {
    flex-wrap: wrap;
    gap: 16px;
}

html[data-accessibility-text='large'] .news-detail .date {
    margin-right: 0;
}

html[data-accessibility-text='large'] .news-detail .date .news_detail-day {
    font-size: 44px;
    line-height: 1.15;
}

html[data-accessibility-text='large'] .news-detail .date .news_detail-date p {
    font-size: 18px;
    line-height: 1.3;
}

html[data-accessibility-text='large'] .news-detail .header-block h4 {
    flex: 1 1 360px;
    font-size: 30px;
    line-height: 1.35;
}

html[data-accessibility-text='large'] .news-detail > p,
html[data-accessibility-text='large'] .news-detail > ul,
html[data-accessibility-text='large'] .news-detail > ol {
    font-size: 20px;
    line-height: 1.65;
}

html[data-accessibility-text='large'] .news-list + .pagination-nav .pagination {
    flex-wrap: wrap;
    gap: 10px;
}

html[data-accessibility-text='large'] .news-list + .pagination-nav .pagination-item {
    margin: 0;
}

html[data-accessibility-text='large'] .news-list + .pagination-nav .pagination-item a,
html[data-accessibility-text='large'] .news-list + .pagination-nav .pagination-item span {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    min-height: 48px;
    padding: 8px;
    font-size: 20px;
    line-height: 1;
}

html[data-accessibility-text='large'] .container-events .itm-block .ticket {
    min-width: 190px;
    height: 56px;
    top: -56px;
    padding: 0 16px;
}

html[data-accessibility-text='large'] .container-events .itm-block .ticket a,
html[data-accessibility-text='large'] .container-events .itm-block .ticket span {
    box-sizing: border-box;
    padding: 0 8px;
    font-size: 20px;
    line-height: 1.15;
    white-space: nowrap;
}

html[data-accessibility-text='large'] .btn-blue,
html[data-accessibility-text='large'] .cast-tooltip__toggle {
    font-size: 19px;
    line-height: 1.35;
}

html[data-accessibility-text='large'] .btn-blue {
    min-height: 48px;
    height: auto;
    padding-top: 10px;
    padding-bottom: 10px;
}

html[data-accessibility-text='large'] .cast-tooltip__content {
    width: 520px;
}

html[data-accessibility-text='large'] .cast-card__heading,
html[data-accessibility-text='large'] .cast-tooltip__content h4 {
    font-size: 22px;
    line-height: 1.35;
}

html[data-accessibility-text='large'] .cast-card__row td {
    font-size: 18px;
    line-height: 1.5;
}

html[data-accessibility-text='large'] footer,
html[data-accessibility-text='large'] footer li,
html[data-accessibility-text='large'] footer a,
html[data-accessibility-text='large'] footer .copyright,
html[data-accessibility-text='large'] footer .webis {
    font-size: 18px;
    line-height: 1.55;
}

html[data-accessibility-text='large'] footer .title {
    font-size: 22px;
    line-height: 1.4;
}

html[data-accessibility-text='large'] .gdpr_text p,
html[data-accessibility-text='large'] .gdpr_button,
html[data-accessibility-text='large'] .modal-text p,
html[data-accessibility-text='large'] .modal-close button {
    font-size: 18px;
    line-height: 1.55;
}

html[data-accessibility-text='large'] .modal-text h2 {
    font-size: 28px;
}

html[data-accessibility-text='large'] .modal-text h3 {
    font-size: 24px;
}

html[data-accessibility-text='large'] .modal-text h4 {
    font-size: 21px;
}

@media (max-width: 991px) {
    .accessibility-controls {
        justify-content: center;
        margin-bottom: 8px;
    }

    .accessibility-text-toggle {
        min-height: 44px;
        font-size: 17px;
    }

    html[data-accessibility-text='large'] .mobile-nav-toggle {
        width: 54px;
        height: 54px;
    }

    html[data-accessibility-text='large'] .container-events {
        grid-template-columns: minmax(0, 1fr);
        justify-items: center;
    }

    html[data-accessibility-text='large'] .container-events > .event {
        max-width: 539px;
    }

    html[data-accessibility-text='large'] .container-events > #vidget,
    html[data-accessibility-text='large'] .container-events > #vue-calendar {
        max-width: 539px;
    }
}

@media (max-width: 767px) {
    html[data-accessibility-text='large'] main h1,
    html[data-accessibility-text='large'] .page-content h1 {
        font-size: 34px;
    }

    html[data-accessibility-text='large'] main h2,
    html[data-accessibility-text='large'] .page-content .page-body h2,
    html[data-accessibility-text='large'] .repertoire-category h2 {
        font-size: 29px;
    }

    html[data-accessibility-text='large'] main h3,
    html[data-accessibility-text='large'] .page-content .page-body h3,
    html[data-accessibility-text='large'] .repertoire-item-card h3 {
        font-size: 25px;
    }

    html[data-accessibility-text='large'] .repertoire-tabs .tab-link {
        font-size: 24px;
    }

    html[data-accessibility-text='large'] .repertoire-item-card {
        gap: 18px;
    }

    html[data-accessibility-text='large'] .cast-tooltip__content {
        width: calc(100vw - 28px);
    }
}

@media (max-width: 575px) {
    html[data-accessibility-text='large'] .club-container .img,
    html[data-accessibility-text='large'] .club-container .img img,
    html[data-accessibility-text='large'] .news-list .news .image {
        width: 100%;
        max-width: 100%;
    }

    html[data-accessibility-text='large'] .news-list .news {
        gap: 14px;
    }

    html[data-accessibility-text='large'] .news-detail .header-block h4 {
        flex-basis: 100%;
        font-size: 26px;
    }

    html[data-accessibility-text='large'] .repertoire-tabs .tabs,
    html[data-accessibility-text='large'] .repertoire-item-card .content > .mt-auto,
    html[data-accessibility-text='large'] .repertoire-badges {
        flex-wrap: wrap;
        max-width: 100%;
        gap: 10px;
    }

    html[data-accessibility-text='large'] .repertoire-tabs .tab-link {
        margin-right: 0;
    }

    html[data-accessibility-text='large'] .repertoire-badges {
        margin-top: 10px;
    }

    html[data-accessibility-text='large'] .badge-category {
        white-space: normal;
    }

    html[data-accessibility-text='large'] .container-events {
        row-gap: 28px;
    }

    html[data-accessibility-text='large'] #vue-calendar .vdp-datepicker__calendar .day__month_btn,
    html[data-accessibility-text='large'] #vue-calendar .vdp-datepicker__calendar .month__year_btn {
        font-size: 20px;
    }

    html[data-accessibility-text='large'] #vue-calendar .vdp-datepicker__calendar .day-header {
        height: 34px;
        font-size: 17px;
        line-height: 34px;
    }

    html[data-accessibility-text='large'] #vue-calendar .vdp-datepicker__calendar .cell.day {
        width: calc(14.285714% - 12px);
        height: 38px;
        margin: 4px 6px;
        font-size: 17px;
        line-height: 36px;
    }

    html[data-accessibility-text='large'] .container-events .itm-block .abonement-badge-corner,
    html[data-accessibility-text='large'] .container-events .itm-block .age-rating-corner,
    html[data-accessibility-text='large'] .container-events .itm-block .age-block {
        padding: 7px 12px;
        font-size: 17px;
    }

    html[data-accessibility-text='large'] .container-events .date-source .date {
        padding: 5px 10px;
    }

    html[data-accessibility-text='large'] .container-events .date-source .date .event_col-day {
        font-size: 36px;
    }

    html[data-accessibility-text='large'] .container-events .date-source .date .event_col-date p,
    html[data-accessibility-text='large'] .container-events .date-source .date .event_col-time p {
        font-size: 16px;
    }

    html[data-accessibility-text='large'] .container-events .itm-block .ticket {
        min-width: 150px;
        height: 48px;
        top: -48px;
        padding: 0 10px;
    }

    html[data-accessibility-text='large'] .container-events .itm-block .ticket a,
    html[data-accessibility-text='large'] .container-events .itm-block .ticket span {
        padding: 0 4px;
        font-size: 17px;
    }

    html[data-accessibility-text='large'] .container-events .event .desc {
        padding: 26px 18px;
        font-size: 21px;
    }

    html[data-accessibility-text='large'] .events-pagination {
        gap: 10px;
    }

    html[data-accessibility-text='large'] .events-pagination a,
    html[data-accessibility-text='large'] .events-pagination--simple a {
        min-width: 48px;
        min-height: 48px;
        font-size: 18px;
    }

    html[data-accessibility-text='large'] .product-detail .cat-events .event-line {
        grid-template-columns: minmax(0, 1fr) auto;
        column-gap: 12px;
    }

    html[data-accessibility-text='large'] .repertoire-item-card {
        display: block;
    }

    html[data-accessibility-text='large'] .repertoire-item-card .image {
        margin-bottom: 16px;
    }

    html[data-accessibility-text='large'] .repertoire-item-card img {
        width: 100%;
        height: auto;
        max-height: 280px;
    }

    html[data-accessibility-text='large'] .gdpr {
        max-height: calc(100vh - 24px);
        overflow-y: auto;
    }
}
