/* TYPOGRAPHY CONTRACT: edit role tokens here, never in individual blocks.
Role          desktop/mobile  weight  line-height  tracking
page_title    44 / 30          600     1.15         -.03em
title         36 / 28          600     1.20         -.025em
feature_name  32 / 26          600     1.20         -.025em
sub_name      12 / 12          600     1.40          .08em
name          20 / 18          600     1.30         -.02em
text          16 / 16          400     1.60          0
caption       13 / 13          400     1.50          0
link          16 / 15          600     1.40          0
button        16 / 15          600     1.40          0
*/
.yamal-site{--font-ui:'Golos Text',Arial,sans-serif;--size-page-title:44px;--size-title:36px;--size-feature-name:32px;--size-name:20px;--size-link:16px;--size-button:16px;--type-page-title:600 var(--size-page-title)/1.15 var(--font-ui);--type-title:600 var(--size-title)/1.2 var(--font-ui);--type-feature-name:600 var(--size-feature-name)/1.2 var(--font-ui);--type-sub-name:600 12px/1.4 var(--font-ui);--type-name:600 var(--size-name)/1.3 var(--font-ui);--type-text:400 16px/1.6 var(--font-ui);--type-caption:400 13px/1.5 var(--font-ui);--type-link:600 var(--size-link)/1.4 var(--font-ui);--type-button:600 var(--size-button)/1.4 var(--font-ui)}
@media(max-width:650px){.yamal-site{--size-page-title:30px;--size-title:28px;--size-feature-name:26px;--size-name:18px;--size-link:15px;--size-button:15px}}
/* Shared site system. Replaces the earlier consistency overrides. */
.yamal-site{--ui-blue:#1010ff;--ui-ink:#16161d;--ui-muted:#626270;--ui-line:#dcdce7;--ui-surface:#f5f5fa;--ui-title:var(--size-page-title);--ui-section:var(--size-title);--ui-card:var(--size-name);font-family:'Golos Text',Arial,sans-serif;color:var(--ui-ink);font-size:16px;line-height:1.55}
#site-content,#site-content main,#site-content section,#site-content article,#site-content article>*{min-width:0;box-sizing:border-box}
.yamal-site #site-content h1,.yamal-site #site-content .entry-title,.yamal-site #site-content .uk-title{font-family:inherit;font-size:var(--ui-title);line-height:1.15;font-weight:600;letter-spacing:-.03em;overflow-wrap:anywhere}
.yamal-site #site-content .section-heading h1,.yamal-site #site-content .section-heading h2,.yamal-site #site-content .theatre-heading h2,.yamal-site #site-content .event-section-heading h2,.yamal-site #site-content .studio-copy h2,.yamal-site #site-content .photos h2,.yamal-site #site-content .faq-intro h2,.yamal-site #site-content .banners h2,.yamal-site #site-content .yamal-subheading{font:var(--type-title);letter-spacing:-.025em;white-space:normal;margin:0}
.yamal-site #site-content .eyebrow,.yamal-site #site-content .event-kicker{font:var(--type-sub-name);letter-spacing:.08em;margin:0 0 12px;text-transform:uppercase}
.yamal-site #site-content .section-heading,.yamal-site #site-content .theatre-heading,.yamal-site #site-content .event-section-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:0 0 28px;min-width:0}
.yamal-site #site-content .section-heading>div,.yamal-site #site-content .event-section-heading>div,.yamal-site #site-content .theatre-heading>div{min-width:0}
.yamal-site #site-content .arrow-link,.yamal-site #site-content .theatre-all,.yamal-site #site-content .event-text-link,.yamal-site #site-content .rus-qt-section>.section-heading>a{display:inline-flex;align-items:center;gap:10px;font:var(--type-link);letter-spacing:0;min-height:44px;flex:none;white-space:normal;text-decoration:none;padding:0}
.yamal-site #site-content .section-heading>a:hover,.yamal-site #site-content .theatre-all:hover,.yamal-site #site-content .event-text-link:hover{text-decoration:underline;text-underline-offset:4px}
.yamal-site #site-content .yamal-card h2,.yamal-site #site-content .event-card h3,.yamal-site #site-content .news-item h3,.yamal-site #site-content .rus-qt-copy h3,.yamal-site #site-content .club-title,.yamal-site #site-content .club-related-title{font:var(--type-name);letter-spacing:-.02em;overflow-wrap:anywhere;margin:0 0 12px}
.yamal-site #site-content .yamal-card h2 a,.yamal-site #site-content .news-item h3 a{color:inherit}
.yamal-site #site-content .button,.yamal-site #site-content .event-buy a,.yamal-site #site-content .rus-qt-booking a,.yamal-site #site-content .event-booking>a{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:11px 20px;font:var(--type-link);border-radius:0;text-decoration:none;box-sizing:border-box}
.yamal-site #site-content .rus-qt-booking a,.yamal-site #site-content .event-buy a{background:var(--ui-blue);color:white}
.yamal-site #site-content .yamal-entry-header{margin-bottom:28px}.yamal-site #site-content .yamal-entry-header h1{margin-top:0}
.yamal-site #site-content .event-section-heading h1{font-size:var(--ui-title);margin:0 0 14px}.yamal-site #site-content .event-section-heading>div>p:last-child:not(.event-kicker){font-size:16px;line-height:1.55;margin:0}
/* Stable theatre grid: contained artwork and an independent text column. */
.yamal-site #site-content .theatre-slider{padding:44px 0;background:var(--ui-blue);color:white}
.yamal-site #site-content .theatre-stage{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:40px;align-items:stretch;position:relative;width:auto;max-width:100%}
.yamal-site #site-content [data-slide][hidden]{display:none!important}
.yamal-site #site-content .theatre-visual{min-width:0;max-width:100%;width:100%;position:relative;aspect-ratio:4/3;min-height:0;height:auto;margin:0;align-self:start;overflow:hidden}
.yamal-site #site-content .theatre-visual .slide-photo{position:absolute;inset:0;width:100%;height:100%;max-width:100%;object-fit:contain;transform:none}
.yamal-site #site-content .theatre-stage .event-panel{position:static;inset:auto;transform:none;width:auto;max-width:100%;margin:0;padding:0;display:flex;flex-direction:column;min-width:0}
.yamal-site #site-content .event-copy{width:auto;max-width:100%;min-width:0;margin:0}
.yamal-site #site-content .theatre-slider .event-copy h3{font:var(--type-feature-name);letter-spacing:-.025em;margin:0 0 18px;white-space:normal;overflow-wrap:anywhere}
.yamal-site #site-content .event-copy>p{font-size:16px;line-height:1.6;margin:0 0 20px;max-width:65ch}
.yamal-site #site-content .event-type{font-size:12px;margin-bottom:18px}.yamal-site #site-content .event-facts{font-size:14px;display:flex;flex-wrap:wrap;gap:14px;line-height:1.5}
.yamal-site #site-content .event-booking{margin-top:auto;padding-top:24px;display:flex;align-items:center;flex-wrap:wrap;gap:20px}
.yamal-site #site-content .event-booking>a{background:white;color:var(--ui-blue)}.yamal-site #site-content .event-booking>span{font-size:18px;font-weight:600}
/* Both event sources share image geometry, title rhythm and bottom alignment. */
.yamal-site #site-content .event-grid,.yamal-site #site-content .rus-qt-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px 24px;align-items:stretch}
.yamal-site #site-content .event-card,.yamal-site #site-content .rus-qt-card{display:flex;flex-direction:column;min-width:0;height:100%;border:0;border-bottom:1px solid var(--ui-line);padding:0 0 22px;background:transparent}
.yamal-site #site-content .event-card__image,.yamal-site #site-content .rus-qt-poster{display:block;position:relative;flex:none;width:100%;height:300px;aspect-ratio:auto;overflow:hidden;background:var(--ui-surface)}
.yamal-site #site-content .event-card__image img,.yamal-site #site-content .rus-qt-poster img{display:block;width:100%;height:100%!important;max-height:100%;object-fit:contain;aspect-ratio:auto;margin:0}
.yamal-site #site-content .event-card__copy,.yamal-site #site-content .rus-qt-copy{display:flex;flex-direction:column;flex:1;padding:18px 0 0;min-width:0}
.yamal-site #site-content .event-card h3,.yamal-site #site-content .rus-qt-copy h3{min-height:3.9em;margin:0 0 16px}
.yamal-site #site-content .event-card__date,.yamal-site #site-content .rus-qt-copy>p:first-child{font-size:14px;line-height:1.5;font-weight:500;margin:0 0 12px;min-height:21px}
.yamal-site #site-content .event-card__venue,.yamal-site #site-content .rus-qt-copy>p{font-size:14px;line-height:1.5;color:var(--ui-muted);margin:0 0 16px}
.yamal-site #site-content .event-card__bottom,.yamal-site #site-content .rus-qt-booking{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-top:auto;padding-top:8px;font-size:15px}
.yamal-site #site-content .event-card__bottom>a{display:inline-flex;align-items:center;justify-content:center;width:auto;height:auto;min-height:46px;padding:11px 20px;font-size:16px;font-weight:600;background:var(--ui-blue);color:white}
.yamal-site #site-content .event-stage{background:var(--ui-surface);color:var(--ui-ink)}.yamal-site #site-content .event-stage:before{display:none}
.yamal-site #site-content .event-stage h1,.yamal-site #site-content .event-page--theatre .event-stage h1{font:var(--type-page-title);letter-spacing:-.03em;color:inherit}
.yamal-site #site-content .event-stage .event-kicker{color:var(--ui-blue)}.yamal-site #site-content .event-stage__poster{transform:none;box-shadow:none;background:transparent;padding:0}
.yamal-site #site-content .event-details{background:white}.yamal-site #site-content .event-moroshka strong{font:600 26px/1.2 'Golos Text',Arial,sans-serif;color:var(--ui-blue)}
.yamal-site #site-content .yamal-prose,.yamal-site #site-content .event-description{font-size:16px;line-height:1.65;overflow-wrap:anywhere}
/* Consistent movie rows; full title stays visible without entering the next column. */
.yamal-site #site-content #cinema .movie-compact{min-width:0;grid-template-rows:minmax(112px,auto) 1fr;min-height:314px;align-self:stretch}
.yamal-site #site-content #cinema .movie-copy,.yamal-site #site-content #cinema .movie-heading h2{min-width:0;overflow-wrap:anywhere}
.yamal-site #site-content #cinema .movie-heading{align-items:flex-start}.yamal-site #site-content #cinema .movie-heading h2{flex:1}
@media(max-width:1000px){.yamal-site #site-content .theatre-stage{gap:24px}.yamal-site #site-content .event-grid,.yamal-site #site-content .rus-qt-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.yamal-site{--ui-card:var(--size-name)}.yamal-site #site-content .section-heading,.yamal-site #site-content .theatre-heading,.yamal-site #site-content .event-section-heading{align-items:flex-start;flex-wrap:wrap;gap:16px;margin-bottom:24px}.yamal-site #site-content .arrow-link,.yamal-site #site-content .theatre-all,.yamal-site #site-content .event-text-link{font-size:15px}.yamal-site #site-content .theatre-stage{grid-template-columns:minmax(0,1fr);gap:24px}.yamal-site #site-content .theatre-visual{aspect-ratio:4/3}.yamal-site #site-content .theatre-slider{padding:32px 0}.yamal-site #site-content .event-grid,.yamal-site #site-content .rus-qt-grid{grid-template-columns:minmax(0,1fr)}.yamal-site #site-content .event-card__image,.yamal-site #site-content .rus-qt-poster{height:280px}.yamal-site #site-content .event-card h3,.yamal-site #site-content .rus-qt-copy h3{min-height:0}.yamal-site #site-content #cinema .movie-compact{grid-template-rows:auto auto;min-height:0}}

.yamal-site #site-content .home-event-catalog{padding-block:44px}
.yamal-site #site-content .event-card__bottom>a{gap:8px}

.yamal-site #site-content .clubs-catalogue>h2,.yamal-site #site-content .theatre-section>.wrap>h2,.yamal-site #site-content .repertoire-related>.uk-container>h2{font:var(--type-title);letter-spacing:-.025em}
.yamal-site #site-content .material-videos iframe{width:100%;height:auto;aspect-ratio:16/9;border:0;display:block;margin:24px 0}
.yamal-site #site-content .repertoire-related .uk-slider-items>li{width:33.333%}.yamal-site #site-content .repertoire-related .yamal-card{display:block;background:transparent;color:var(--ui-ink)}
.yamal-site #site-content .repertoire-related .yamal-card a{color:inherit}.yamal-site #site-content .repertoire-related .yamal-card img{display:block;position:static;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;opacity:1}
@media(max-width:650px){.yamal-site #site-content .repertoire-related .uk-slider-items>li{width:100%}}

.yamal-site #site-content .event-card .event-kicker{color:var(--ui-blue)}
.yamal-site #site-content #cinema .section-heading h1{font-size:var(--ui-title)}
.home-page-title{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

.yamal-site #site-content .type-title{font:var(--type-title);letter-spacing:-.025em}
.yamal-site #site-content .type-sub-name,.yamal-site #site-content .sub_name{font:var(--type-sub-name);letter-spacing:.08em}
.yamal-site #site-content .type-name{font:var(--type-name);letter-spacing:-.02em}
.yamal-site #site-content .type-text{font:var(--type-text);letter-spacing:0}
.yamal-site #site-content .type-caption{font:var(--type-caption);letter-spacing:0}
.yamal-site #site-content .yamal-entry-header h1,.yamal-site #site-content .event-section-heading h1{font:var(--type-page-title);letter-spacing:-.03em}
.yamal-site #site-content .arrow-link,.yamal-site #site-content .theatre-all,.yamal-site #site-content .event-text-link{font:var(--type-link);letter-spacing:0}
.yamal-site #site-content .button,.yamal-site #site-content .event-buy a,.yamal-site #site-content .event-booking>a,.yamal-site #site-content .event-card__bottom>a{font:var(--type-button);letter-spacing:0}
.yamal-site #site-content .yamal-prose,.yamal-site #site-content .event-description{font:var(--type-text);letter-spacing:0}
