/* "Chapters of the Performance": contextual navigation for Theatre Sobesednik.
   Does not replace or restyle individual theatrical/editorial sections. */
.sob-chapter-system,
.sob-chapter-system *{box-sizing:border-box}
.sob-chapter-system{
  --sob-ch-paper:#eadfc8;--sob-ch-paper-2:#f3e8d4;
  --sob-ch-night:#261f1c;--sob-ch-red:#992e25;
  --sob-ch-gold:#c5a072;--sob-ch-line:#b5a184;
  font-family:"Oswald","Arial Narrow",Arial,sans-serif;
  color:var(--sob-ch-night);
  z-index:20200;position:relative;
}
.sob-chapter-rail{
  position:fixed;z-index:20201;
  top:50%;left:0;transform:translateY(-50%);
  width:46px;min-height:154px;
  border:1px solid #a78860;border-left:0;
  border-radius:0 8px 8px 0;
  padding:11px 6px 10px 7px;
  background:#e7dbc0f5;backdrop-filter:blur(10px);
  color:#32251d!important;
  box-shadow:3px 5px 17px #130b0833;
  cursor:pointer;
  display:flex;flex-direction:column;align-items:center;gap:7px;
  transition:background .2s,box-shadow .2s;
}
.sob-chapter-rail:hover{background:#f4e8cf;box-shadow:3px 7px 22px #130b084d}
.sob-chapter-rail:focus-visible,.sob-chapter-system button:focus-visible,.sob-chapter-system a:focus-visible{
  outline:3px solid #b14231!important;outline-offset:2px!important;
}
.sob-chapter-rail__num{
  font:700 13px/1 "Oswald",Arial,sans-serif;color:#9d3027!important;
}
.sob-chapter-rail__stroke{width:1px;height:15px;background:#af9b7a}
.sob-chapter-rail__label{
  writing-mode:vertical-rl;transform:rotate(180deg);
  text-orientation:mixed;
  font:700 11px/1.2 "Oswald","Arial Narrow",Arial,sans-serif;
  letter-spacing:.17em;text-transform:uppercase;white-space:nowrap;
}
.sob-chapter-rail__count{
  font:700 10px/1 "Oswald",Arial,sans-serif;color:#75654f!important;
  font-variant-numeric:tabular-nums;white-space:nowrap
}
.sob-chapter-progress{
  position:absolute;left:0;bottom:0;width:3px;height:0;
  background:#a3352b;transition:height .25s;
  border-radius:0 2px 2px 0;
}
.sob-chapter-overlay{
  position:fixed;inset:0;z-index:20202;display:none;
  background:#170f0caf;cursor:default;
  border:0!important;padding:0!important;
}
.sob-chapter-overlay[hidden]{display:none!important}
.sob-chapter-drawer{
  position:fixed;z-index:20203;
  top:89px;left:0;
  width:min(307px,calc(100vw - 25px));
  max-height:calc(100dvh - 101px);
  overflow-y:auto;overflow-x:hidden;
  overscroll-behavior:contain;
  border:1px solid #a38561;border-left:0;
  border-radius:0 10px 10px 0;
  background:linear-gradient(150deg,#f1e6ce,#e2d2b4);
  color:#2b241f!important;
  box-shadow:9px 16px 35px #120c085e;
  padding:17px 18px 19px;
  scrollbar-width:thin;
}
.sob-chapter-drawer[hidden]{display:none!important}
.sob-chapter-drawer__top{
  display:flex;justify-content:space-between;align-items:center;gap:9px;
  border-bottom:1px solid #b29c7c;padding-bottom:12px;margin-bottom:10px
}
.sob-chapter-drawer__eyebrow{
  display:block;font:700 10px/1.5 "Oswald",Arial,sans-serif;
  letter-spacing:.16em;color:#9c3428!important
}
.sob-chapter-drawer__title{
  display:block;margin:3px 0 0;
  font:700 23px/1.12 "PT Serif",Georgia,serif!important;color:#271f1b
}
.sob-chapter-drawer__close{
  flex-shrink:0;width:35px;height:35px;line-height:1;
  background:transparent!important;border:1px solid #aa9677!important;
  color:#423024!important;font:400 25px/1 Arial,sans-serif!important;
  cursor:pointer;border-radius:3px;padding:1px 0 0!important
}
.sob-chapter-drawer__hint{
  color:#655642!important;font:400 12px/1.4 "PT Serif",Georgia,serif!important;
  margin:7px 0 9px!important
}
.sob-chapter-list{
  list-style:none;margin:0!important;padding:0!important;
  display:flex;flex-direction:column;gap:0;
}
.sob-chapter-list li{list-style:none;margin:0!important;padding:0!important}
.sob-chapter-list__link{
  display:flex;align-items:center;gap:12px;
  padding:12px 4px!important;
  color:#2b241c!important;background:transparent!important;
  border:0!important;border-bottom:1px solid #bdab8e!important;
  text-decoration:none!important;box-shadow:none!important;
  border-radius:0!important;min-height:43px;
  transition:background .2s,color .2s;
}
.sob-chapter-list__link:hover{
  color:#8c2920!important;background:#fff5dd9c!important
}
.sob-chapter-list__link[aria-current="location"]{
  color:#982e25!important;background:#f7e8cd!important;
  box-shadow:inset 3px 0 #a12e26!important;
}
.sob-chapter-list__number{
  display:inline-block;flex:0 0 21px;
  font:700 12px/1 "Oswald",Arial,sans-serif!important;
  color:#9a3329!important;opacity:.9;letter-spacing:.025em
}
.sob-chapter-list__name{
  font:600 15px/1.27 "Oswald","Arial Narrow",Arial,sans-serif!important;
  letter-spacing:.012em;text-transform:uppercase;word-break:normal
}
.sob-chapter-drawer__next{
  display:block;text-decoration:none!important;color:#f5e9d0!important;
  background:#32241e!important;margin-top:17px;padding:13px 14px!important;
  border:1px solid #8a593d!important;border-radius:3px!important;
  transition:background .2s
}
.sob-chapter-drawer__next:hover{background:#87332b!important}
.sob-chapter-drawer__next small{
  display:block;color:#d8b98e!important;
  font:700 10px/1.25 "Oswald",Arial,sans-serif;
  letter-spacing:.12em;margin-bottom:6px
}
.sob-chapter-drawer__next strong{
  display:flex;justify-content:space-between;gap:8px;align-items:center;
  font:700 15px/1.35 "Oswald",Arial,sans-serif!important;
  text-transform:uppercase;color:#fff3df!important
}
.sob-chapter-system.is-open .sob-chapter-overlay{display:block}
.sob-chapter-system.is-open .sob-chapter-rail{background:#f8e7c8}
.sob-chapter-system.is-open .sob-chapter-rail__label{color:#982e25}
body.sob-chapter-drawer-open{overflow:hidden!important}
.sob-act-finale{
  padding:clamp(40px,5.5vw,78px) max(22px,calc((100vw - 1200px)/2));
  margin:0!important;
  background:radial-gradient(ellipse at 85% 10%,#4a3024,#251d1a 58%,#181715)!important;
  border-top:3px double #bd996e!important;
  border-bottom:1px solid #937451!important;
  color:#f5e8d2!important;
  position:relative;isolation:isolate;
}
.sob-act-finale::before{
  content:"✦";position:absolute;right:8%;top:22px;
  font-size:31px;opacity:.2;color:#eac39c;
}
.sob-act-finale__inner{max-width:1100px;margin:0 auto}
.sob-act-finale__kicker{
  display:block;font:700 11px/1.4 "Oswald",Arial,sans-serif!important;
  color:#d6af83!important;letter-spacing:.17em;text-transform:uppercase
}
.sob-act-finale h2{
  font:700 clamp(31px,4.6vw,57px)/1.09 "PT Serif",Georgia,serif!important;
  color:#f5e8d2!important;letter-spacing:-.025em;
  margin:12px 0 13px!important;max-width:880px
}
.sob-act-finale p{
  font:400 clamp(15px,1.4vw,19px)/1.58 "PT Serif",Georgia,serif!important;
  color:#e4d4bb!important;max-width:860px;margin:0 0 22px!important
}
.sob-act-finale a{
  display:inline-flex;align-items:center;justify-content:space-between;gap:22px;
  color:#fff3de!important;background:#9b3026!important;
  border:1px solid #bd6548!important;border-radius:0!important;
  font:700 13px/1.2 "Oswald",Arial,sans-serif!important;
  letter-spacing:.045em;text-decoration:none!important;
  text-transform:uppercase;padding:16px 19px!important;
  transition:background .2s,transform .2s
}
.sob-act-finale a:hover{background:#73231d!important;transform:translateY(-1px)}
.sob-act-finale a span{font-size:20px}
body.sob-unified-nav [data-sob-chapter-target]{scroll-margin-top:104px}
@media(max-width:1120px){
 .sob-chapter-drawer{top:75px;max-height:calc(100dvh - 88px)}
 body.sob-unified-nav [data-sob-chapter-target]{scroll-margin-top:84px}
}
@media(min-width:1121px){
 .sob-chapter-system.is-open .sob-chapter-overlay{display:none}
}
@media(max-width:700px){
 .sob-chapter-rail{width:31px;min-height:116px;top:52%;padding:8px 3px 7px 4px;gap:5px}
 .sob-chapter-rail__num{font-size:11px}
 .sob-chapter-rail__label{font-size:9px;letter-spacing:.14em}
 .sob-chapter-rail__stroke{height:9px}
 .sob-chapter-rail__count{font-size:8px}
 .sob-chapter-drawer{width:min(312px,calc(100vw - 20px));padding:15px 15px 18px}
 .sob-chapter-drawer__title{font-size:21px}
 .sob-chapter-list__link{padding:10px 3px!important}
 .sob-chapter-list__name{font-size:14px}
 .sob-act-finale{padding:43px 23px 47px 32px}
 .sob-act-finale h2{font-size:clamp(29px,7.9vw,42px)}
 .sob-act-finale a{font-size:12px}
}
@media(prefers-reduced-motion:reduce){
 .sob-chapter-system *, .sob-act-finale *{transition:none!important}
}

/* Do not let the consent dialog obscure an open chapter drawer. */
body.sob-chapter-drawer-open .sob-metrika-consent{visibility:hidden!important;pointer-events:none!important}
