/* Shared visual system. Rubik files are served locally; no font service is needed. */
:root {
  --ink: #191719;
  --muted: #655d61;
  --pink: #fcb0bf;
  --pink-pale: #fcc4d0;
  --pink-soft: #fff0f4;
  --accent: #a43d59;
  --line: #eddee3;
  --radius: 24px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: #fff; color: var(--ink); font: 18px/1.65 rubik-light, Arial, sans-serif; }
a { color: inherit; text-underline-offset: 4px; text-decoration-thickness: 1px; transition: color .18s, background-color .18s, border-color .18s, box-shadow .18s, transform .18s; }
a:hover { color: var(--accent); }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; touch-action: manipulation; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4, h5, p { margin: 0; }
h1, h2, h3, h4, h5, .button { font-family: rubik-medium, Arial, sans-serif; font-weight: 400; }
h1 { font-size: 52px; line-height: 1.18; letter-spacing: -.035em; }
h2 { font-size: 34px; line-height: 1.3; letter-spacing: -.025em; }
h3 { font-size: 23px; line-height: 1.4; letter-spacing: -.015em; }
h4 { font-size: 22px; line-height: 1.4; }
p { margin-bottom: .8em; }
ul { padding-left: 1.3em; margin: 0 0 1em; }
li p { margin: 0; }
li + li { margin-top: 5px; }
strong { font-family: rubik-medium, Arial, sans-serif; font-weight: 400; }
.rich + .rich { margin-top: 26px; }
.rich > div > p:last-child { margin-bottom: 0; }
.rich p:empty { height: 1em; }
.rich a { color: #8d304d; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; text-decoration-skip-ink: auto; }
.rich a:hover { color: #67233a; }
.dark .rich a { color: var(--pink); }
.dark .rich a:hover { color: #fff; }
/* Imported text includes inline underlines around and inside links. Only the link draws a line. */
.rich :is(span, u):has(a), .rich a * { text-decoration: none !important; }
.rich a * { color: inherit !important; }
.rich { overflow-wrap: break-word; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
.skip { position: fixed; left: 16px; top: -100px; background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 12px; z-index: 100; }
.skip:focus { top: 12px; }

/* Navigation: brand and menu are separate groups, without heavy divider bars. */
.site-header { min-height: 112px; padding: 25px 40px; display: flex; align-items: center; justify-content: space-between; gap: 28px; max-width: 1600px; margin: auto; }
.identity { flex: none; text-decoration: none; line-height: 1.4; }
.name { font: 22px/1.4 rubik-medium, Arial, sans-serif; display: block; letter-spacing: -.025em; }
.name > span { color: #fd8387; }
.tagline { font-size: 12px; display: block; margin-top: 7px; white-space: nowrap; }
.site-header nav { display: flex; align-items: center; gap: 3px; font-size: 15px; line-height: 1.4; padding: 5px; background: #fcf9fa; border: 1px solid #f2e9ed; border-radius: 18px; }
.site-header nav > a { padding: 12px 14px; border-radius: 12px; white-space: nowrap; }
.site-header nav a { text-decoration: none; }
.site-header nav > a:hover, .program-menu:hover { background: #fbe7ed; }
.site-header nav a[aria-current=page] { color: var(--accent); font-family: rubik-medium, Arial, sans-serif; }
.site-header nav > a[aria-current=page], .program-menu.parent-active { background: #fbe2ea; }
.program-menu { display: flex; align-items: center; position: relative; border-radius: 12px; transition: background .18s; }
.program-menu > a { padding: 12px 0 12px 14px; white-space: nowrap; }
.program-menu.parent-active > a { color: var(--accent); }
.submenu-toggle { border: 0; background: transparent; min-width: 36px; min-height: 44px; padding: 7px; border-radius: 10px; color: inherit; line-height: 1; }
.submenu-toggle[aria-expanded=true] { background: #f8d2df; }
.submenu { position: absolute; top: calc(100% + 12px); left: 0; width: 355px; padding: 10px; background: white; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 14px 40px #3c162619; z-index: 40; }
.submenu a { display: block; padding: 13px 14px; border-radius: 10px; white-space: normal; }
.submenu a:hover, .submenu a[aria-current=page] { background: var(--pink-soft); }
.menu-toggle { display: none; }

/* Consistent spacing; original order, photography and text remain intact. */
.wrap { width: min(1040px, calc(100% - 80px)); margin-inline: auto; }
.wide { width: min(1160px, calc(100% - 80px)); margin-inline: auto; }
.section { padding: 64px 0; }
.split { padding: 56px 0; }
.split-grid { display: grid; grid-template-columns: 30% minmax(0, 1fr); gap: 7%; }
.split-grid > .rich { padding-right: 8px; }
.split-grid > div > .rich + .rich { margin-top: 24px; }
.single { padding: 64px 0; }
.page-heading { padding: 60px 0 38px; }
.page-heading h1 { font-size: 42px; }
.pink { background: var(--pink); }
.pale { background: var(--pink-pale); }
.dark { background: #141214; color: white; }
.round { border-radius: 50%; object-fit: cover; width: 120px; height: 120px; }
.home-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 55px; align-items: center; min-height: 690px; padding: 82px 0 112px; }
.portrait { width: 480px; aspect-ratio: 1; object-fit: cover; border-radius: 50%; }
.hero-copy h1 { font-size: 72px; line-height: 1.12; letter-spacing: -.04em; }
.hero-copy > .rich + .rich { margin-top: 40px; font-size: 17px; line-height: 1.65; }
.hero-copy p { margin: 0; }

/* Buttons: same medium Rubik as headings, natural tracking, generous hit area. */
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 25px; background: var(--ink); color: white; border: 1px solid transparent; border-radius: 999px; font-family: rubik-medium, Arial, sans-serif; font-size: 16px; font-weight: 400; letter-spacing: normal; text-align: center; text-decoration: none; line-height: 1.4; margin-top: 28px; }
.button:hover { color: white; background: #383039; transform: translateY(-2px); box-shadow: 0 5px 14px #30202c1a; }
.button:active { transform: translateY(0); }

/* Training and programme catalogue. */
.training-intro { padding: 55px 0 35px; text-align: center; }
.training-intro h1 { font-size: 54px; }
.training-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 45px 0 30px; }
.training-links a { display: flex; flex-direction: column; align-items: center; gap: 17px; padding: 26px 18px; border: 1px solid #ffffffa6; border-radius: 20px; background: #ffffff57; text-decoration: none; font: 19px/1.4 rubik-medium, Arial, sans-serif; }
.training-links a:hover { color: var(--ink); background: #ffffffb8; transform: translateY(-3px); }
.training-links .round { width: 90px; height: 90px; }
.training-intro > .wrap > .rich:last-child { font-size: 16px; font-style: italic; }
.training-detail { padding: 28px 0; background: #fcfafb; }
.training-detail-panel { border: 1px solid var(--line); border-radius: 28px; overflow: hidden; background: white; }
.training-detail-heading { padding: 28px 36px; background: var(--pink-soft); }
.training-detail-heading h2 { font-size: 31px; line-height: 1.35; max-width: 850px; }
.training-detail-heading h2 br { display: none; }
.training-detail-copy { padding: 30px 36px; font-size: 17px; line-height: 1.75; }
.training-detail-copy > .rich { max-width: 850px; }
.training-detail-copy p { margin-bottom: 20px; }
.training-detail-copy .rich-spacer { display: none; }
.training-detail-copy ul { padding: 24px 26px 24px 44px; margin: 24px 0; border-radius: 18px; background: #fcf6f8; }
.training-detail-copy li + li { margin-top: 12px; }
.training-detail-copy li p { margin: 0; }
.training-detail-copy li::marker { color: var(--accent); }
.training-detail-copy h3 { margin-bottom: 18px; }
@media (max-width: 600px) {
  .training-detail { padding: 18px 0; }
  .training-detail-panel { border-radius: 22px; }
  .training-detail-heading, .training-detail-copy { padding: 24px; }
  .training-detail-heading h2 { font-size: 26px; }
  .training-detail-copy { font-size: 16px; }
  .training-detail-copy ul { padding: 20px 18px 20px 34px; }
}
.collaboration h2 { text-align: center; font-size: 40px; margin-bottom: 38px; }
.collaboration-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.collaboration-grid article { padding: 28px 24px; border-radius: var(--radius); background: #ffffffb0; font-size: 16px; }
.collaboration-grid img { margin: 0 auto 26px; }
.collaboration-grid h3 { font-size: 22px; }
.cards-panel { background: var(--pink-pale); padding: 55px 0; border-radius: 30px; }
.cards-grid { width: min(740px, calc(100% - 80px)); margin: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
.cards-grid article { align-self: start; }
.cards-grid img { width: 100%; height: 325px; object-fit: cover; border-radius: 19px; }
.cards-grid a { text-decoration: none; }
.card-caption { position: relative; background: white; padding: 29px 24px; margin: -65px -12px 0 17px; border-radius: 18px; box-shadow: 0 5px 16px #52253509; }
.card-caption .rich + .rich { margin-top: 8px; }
.card-caption h2, .card-caption h3, .card-caption p { font-family: rubik-medium, Arial, sans-serif; font-size: 20px; line-height: 1.5; }
.program-cards { padding-top: 0; padding-bottom: 0; }
.page-programy-pro-deti-a-teenagery .single h1, .page-programy-pro-deti-a-teenagery .single h2 { font-size: 36px; }
.page-programy-pro-materske-skoly #comp-m6kzqqjn { background: var(--pink-soft); }

/* Detailed school programs keep every paragraph visible and each original anchor. */
.school-page { padding-bottom: 32px; background: #fcfafb; }
.school-page .color_41 { color: #8d304d; }
.school-heading { padding: 48px 0 42px; background: var(--pink-soft); border-bottom: 1px solid #f4e0e7; }
.school-heading h1 { font-size: clamp(32px, 4vw, 46px); line-height: 1.25; max-width: 850px; }
.school-heading-inner.with-photo { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 48px; align-items: center; }
.school-heading .school-portrait { width: 100%; height: auto; border-radius: 24px; }
.school-index { display: flex; flex-wrap: wrap; gap: 9px; padding-block: 28px 12px; }
.school-index a { padding: 10px 16px; border: 1px solid var(--line); border-radius: 16px; background: white; font-size: 14px; line-height: 1.5; text-decoration: none; }
.school-index a:hover { background: var(--pink-soft); border-color: #d998ad; }
.school-note { margin-top: 24px; padding: 28px 32px; background: #f9e7ed; border-radius: 24px; }
.school-note .rich > div { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.school-note p { margin-bottom: 0; font-size: 16px; }
.school-program { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.5fr); gap: 28px 36px; margin-top: 28px; padding: 34px; border: 1px solid var(--line); border-radius: 28px; background: white; }
.school-program-heading h2 { font-size: 29px; line-height: 1.3; letter-spacing: -.02em; }
.school-program-heading h2 br { display: none; }
.school-program:not(.has-photo) .school-program-heading { padding: 25px; border-radius: 18px; background: var(--pink-soft); align-self: start; }
.school-program.has-photo .school-program-heading { grid-column: 1 / -1; }
.school-program-photo { width: 100%; height: auto; border-radius: 18px; align-self: start; }
.school-program-copy { min-width: 0; font-size: 17px; line-height: 1.75; }
.school-page .rich-spacer { display: none; }
.school-program-copy ul { margin: 24px 0 0; padding: 22px 24px 22px 42px; background: #fff4f7; border-radius: 18px; }
.school-page li + li { margin-top: 11px; }
.school-page li::marker { color: var(--accent); }
.school-workshop { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: 32px; padding-top: 36px; align-items: start; }
.school-facts { padding: 28px; background: #f9e7ed; border-radius: 24px; font-size: 16px; }
.school-facts h4, .school-workshop-copy h4 { margin-bottom: 18px; font-size: 23px; }
.school-facts ul { padding-left: 20px; margin-bottom: 28px; }
.school-facts ul:last-child { margin-bottom: 0; }
.school-workshop-copy { padding: 32px; background: white; border: 1px solid var(--line); border-radius: 24px; font-size: 17px; line-height: 1.8; min-width: 0; }
.school-workshop-copy h4 { margin-top: 30px; }
.school-workshop-copy p { margin-bottom: 20px; }
@media (max-width: 800px) {
  .school-heading-inner.with-photo { grid-template-columns: minmax(0, 1fr) 180px; gap: 24px; }
  .school-program { padding: 25px; gap: 24px; }
  .school-program:not(.has-photo) { grid-template-columns: 1fr; }
  .school-note .rich > div, .school-workshop { grid-template-columns: 1fr; }
  .school-program-heading h2 { font-size: 26px; }
}
@media (max-width: 600px) {
  .school-heading { padding-block: 32px; }
  .school-heading-inner.with-photo { grid-template-columns: 1fr; }
  .school-heading .school-portrait { max-width: 280px; margin-inline: auto; }
  .school-program { grid-template-columns: 1fr; padding: 22px; border-radius: 22px; }
  .school-program-photo { max-width: 330px; margin-inline: auto; }
  .school-program-copy { font-size: 16px; }
  .school-program-copy ul { padding: 20px 18px 20px 34px; }
  .school-note, .school-facts, .school-workshop-copy { padding: 24px; }
  .school-index a { max-width: 100%; }
}

/* MaminkOFF. */
.book-hero { display: grid; grid-template-columns: 55% 45%; align-items: center; }
.book-photo { width: 100%; height: 570px; object-fit: cover; border-radius: var(--radius); }
.book-panel { background: white; padding: 55px 42px; margin-left: -42px; z-index: 1; border-radius: var(--radius); }
.book-panel h1 { font-size: 54px; }
.book-panel p { font-size: 16px; line-height: 1.8; }
.book-panel > .rich:nth-child(2) p { font-size: 26px; line-height: 1.4; }
.character-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; text-align: left; }
.character-grid article { padding: 28px 24px; background: #211e21; border: 1px solid #40353b; border-radius: 24px; font-size: 17px; line-height: 1.7; }
.character-grid .round { width: 120px; height: 120px; margin: 0 auto 25px; border: 4px solid #fbc4d326; }
.illustration-credit { font-size: 14px; line-height: 1.7; text-align: center; margin-top: 32px; }
.book-quote { text-align: center; padding: 48px 0; }
.book-quote .wrap { max-width: 920px; }
.book-quote h2 { font-size: 30px; line-height: 1.45; }
.book-quote h2 br:last-child { display: none; }
@media (min-width: 601px) and (max-width: 1100px) {
  .character-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.book-buy { background: #fff; color: var(--ink); }
.book-buy .rich .color_11 { color: var(--ink); }
.book-buy-grid, .book-reading { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.book-buy-grid img, .book-reading img { width: 100%; max-height: 560px; object-fit: cover; border-radius: var(--radius); }
.book-reading h2 { font-size: 34px; }

/* Biography, photographs and theatre. */
.about-intro { background: var(--pink-pale); padding: 50px 0; }
.about-grid { display: grid; width: min(1200px, calc(100% - 80px)); grid-template-columns: 1.7fr 1fr; gap: 0; align-items: stretch; background: white; border-radius: var(--radius); overflow: hidden; }
.about-grid > div { padding: 42px 55px; font-size: 16px; line-height: 1.8; }
.about-grid h1 { font-size: 50px; }
.about-photo { width: 100%; height: 100%; object-fit: cover; min-height: 500px; }
.about-social { display: flex; flex-direction: column; gap: 13px; margin-top: 25px; font-size: 16px; }
.about-social > div { display: flex; align-items: center; gap: 14px; }
.about-social img { width: 24px; height: 24px; }
.about-social .rich { margin: 0; }
.page-o-mne .split h2, .page-o-mne .gallery-section h2 { font-size: 28px; }
.page-o-mne .split h3 { font-size: 20px; }
.page-o-mne .split { font-size: 17px; }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 28px; }
.gallery a { display: block; overflow: hidden; border-radius: 16px; cursor: zoom-in; }
.gallery img { width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .22s; }
.gallery a:hover img { transform: scale(1.035); }
.gallery-credit { margin: 22px 0 0; text-align: center; font-size: 13px; line-height: 1.7; color: var(--muted); }
.gallery-credit a { color: #8d304d; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.gallery-credit a:hover { color: #67233a; }
.theatre-intro { background: var(--pink-pale); padding: 55px 0; }
.theatre-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 44px; align-items: center; }
.theatre-intro h1 { font-size: clamp(36px, 4vw, 52px); text-align: left; }
.theatre-intro h1 > br { display: none; }
.theatre-intro h1 > span:last-child { font-size: 16px; line-height: 1.5; display: block; margin-top: 18px; letter-spacing: normal; }
.theatre-hero-photo { width: 100%; height: auto; margin-top: 26px; border-radius: 24px; }
.theatre-story { background: white; padding: 36px; border-radius: 28px; font-size: 17px; line-height: 1.7; }
.theatre-story p { margin-bottom: 22px; }
.theatre-story .rich-spacer { display: none; }
.theatre-story p:last-child { padding-top: 18px; border-top: 1px solid var(--line); color: #8d304d; }
.theatre-gallery { padding: 25px 0; }
.theatre-gallery .gallery { margin: 0; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(2, 230px); }
.theatre-gallery .gallery a:nth-child(1) { grid-column: 1; grid-row: 1; }
.theatre-gallery .gallery a:nth-child(2) { grid-column: 4; grid-row: 1; }
.theatre-gallery .gallery a:nth-child(3) { grid-column: 2/4; grid-row: 1/3; }
.theatre-gallery .gallery a:nth-child(4) { grid-column: 1; grid-row: 2; }
.theatre-gallery .gallery a:nth-child(5) { grid-column: 4; grid-row: 2; }
.theatre-gallery .gallery img { aspect-ratio: auto; }
.organization { background: var(--pink-pale); }
.organization > .wrap { background: white; padding: 36px; font-size: 16px; border-radius: 28px; }
.organization h2 { font-size: 32px; margin-bottom: 26px; }
.organization-details .rich > div { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 16px; }
.organization-details p { margin: 0; padding: 24px; background: var(--pink-soft); border-radius: 18px; }
.organization-details p::before { content: ''; display: block; width: 28px; height: 4px; margin-bottom: 18px; background: var(--pink); border-radius: 99px; }
.organization-details strong { color: #8d304d; }
@media (max-width: 800px) {
  .theatre-hero { grid-template-columns: 1fr; gap: 28px; }
  .theatre-hero-photo { max-height: 460px; object-fit: contain; }
  .organization-details .rich > div { grid-template-columns: 1fr; }
}

/* Interviews retain the original date / copy / image composition. */
.press-row { display: grid; grid-template-columns: 27% minmax(0, 1fr) 250px; gap: 32px; padding: 30px 0; border-bottom: 1px solid var(--line); align-items: start; }
.press-row:first-child { padding-top: 0; }
.press-row > div:first-child { font-size: 15px; }
.press-row > div:first-child .rich + .rich { margin-top: 10px; }
.press-row h3 { font-size: 25px; line-height: 1.3; }
.press-row p { font-size: 16px; }
.press-row img { width: 250px; aspect-ratio: 265/160; object-fit: cover; border-radius: 16px; }
.press-row .button { margin-top: 20px; background: var(--pink); color: #21151a; }
.press-row .button:hover { background: #f69db2; }
.press-nav { display: flex; justify-content: flex-end; gap: 8px; font-size: 14px; margin-top: -12px; margin-bottom: 35px; }
.press-nav a { border-radius: 999px; background: var(--pink-soft); padding: 9px 17px; text-decoration: none; }
.page-rozhovory .press { padding-top: 0; }

/* Contact footer: unchanged labels, grouped into soft, easy-to-scan panels. */
.site-footer { width: min(1280px, calc(100% - 80px)); margin: 65px auto 0; padding: 0 0 28px; font-size: 16px; }
.contacts { padding: 18px; display: grid; grid-template-columns: 1fr 1.2fr 1fr 1fr; gap: 12px; background: var(--pink-soft); border: 1px solid #f9e4eb; border-radius: 28px; }
.contacts > div { padding: 23px 20px; background: #ffffffbd; border-radius: 18px; min-width: 0; }
.contacts h2 { font-size: 18px; letter-spacing: -.015em; margin-bottom: 13px; }
.contacts h2, .contacts h2 > a { display: flex; align-items: center; gap: 10px; }
.contact-icon { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 34px; width: 34px; height: 34px; border-radius: 12px; color: var(--accent); background: #fbe5ed; }
.contacts a { text-decoration: none; }
.contacts > div > a { display: inline-block; padding: 4px 0; overflow-wrap: anywhere; }
.contacts a:hover { color: var(--accent); text-decoration: underline; }
.social { display: flex; gap: 9px; align-items: center; }
.social a { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; background: white; border: 1px solid var(--line); }
.social a:hover { background: #fbe2ea; transform: translateY(-2px); }
.social img { width: 21px; height: 21px; }
.credits { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 13px; line-height: 1.6; text-align: center; color: var(--muted); margin: 25px 0 0; }
.credit-dot { color: #bd8f9e; }
.credit-signature { display: inline-flex; align-items: center; gap: 7px; }
.credit-signature svg { width: 15px; height: 15px; color: var(--accent); fill: #fbc4d3; }
.credit-name { font-family: rubik-medium, Arial, sans-serif; color: var(--ink); }

/* Native dialog provides a focus trap and Escape; JS restores the opener. */
.gallery-open { overflow: hidden; }
.lightbox { border: 0; padding: 60px 65px 25px; background: #191719; color: white; width: min(1200px, 95vw); height: min(900px, 94dvh); overflow: hidden; border-radius: 20px; }
.lightbox::backdrop { background: #161016df; }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox figure { margin: 0; max-width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; }
.lightbox figure img { max-height: calc(100% - 90px); max-width: 100%; object-fit: contain; min-height: 0; border-radius: 8px; }
.lightbox figcaption { font-size: 14px; text-align: center; }
.lightbox button { position: absolute; color: white; background: #ffffff12; border: 1px solid #ffffff30; border-radius: 50%; width: 44px; height: 44px; padding: 0; font: 32px/1 rubik-light, Arial, sans-serif; }
.lightbox button:hover { background: #ffffff30; }
.close-lightbox { right: 12px; top: 10px; }
.previous { left: 10px; top: 45%; }
.next { right: 10px; top: 45%; }
.download { font: 14px/1.4 rubik-medium, Arial, sans-serif; color: white; padding: 9px 17px; border-radius: 999px; border: 1px solid #ffffff60; text-decoration: none; }
.download:hover { color: white; background: #ffffff18; }

@media (max-width: 1280px) {
  .site-header { flex-wrap: wrap; justify-content: center; gap: 20px; padding-bottom: 22px; }
  .identity { text-align: center; }
  .site-header nav { justify-content: center; }
  .home-hero { gap: 38px; min-height: 630px; padding-top: 65px; padding-bottom: 90px; }
  .hero-copy h1 { font-size: 64px; }
  .contacts { grid-template-columns: 1fr 1.2fr; gap: 14px; }
  .about-grid > div { padding: 35px; }
}
@media (max-width: 960px) {
  .site-header { justify-content: space-between; padding: 22px 24px; gap: 0; min-height: 98px; }
  .identity { text-align: left; }
  .name { font-size: 21px; }
  .tagline { font-size: 11px; }
  .menu-toggle { display: flex; flex-direction: column; gap: 5px; width: 46px; height: 46px; align-items: center; justify-content: center; background: var(--pink-soft); border: 1px solid var(--line); border-radius: 14px; }
  .menu-toggle span { width: 20px; height: 1.5px; background: var(--ink); transition: transform .18s, opacity .18s; }
  .menu-toggle[aria-expanded=true] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .menu-toggle[aria-expanded=true] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded=true] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
  .site-header nav { display: none; width: 100%; align-items: stretch; margin-top: 18px; padding: 8px; gap: 3px; font-size: 16px; border-radius: 18px; }
  .site-header nav.open { display: flex; flex-direction: column; }
  .site-header nav > a { padding: 14px; white-space: normal; }
  .program-menu { flex-wrap: wrap; }
  .program-menu > a { flex: 1; padding: 14px; white-space: normal; }
  .submenu-toggle { min-width: 46px; min-height: 48px; }
  .submenu { position: static; box-shadow: none; width: 100%; border: 0; border-radius: 12px; padding: 6px 6px 6px 14px; margin: 2px 4px 6px; }
  .submenu a { padding: 13px 10px; }
  .wrap, .wide { width: calc(100% - 48px); }
  .hero-copy h1 { font-size: 48px; }
  .hero-copy > .rich + .rich { margin-top: 28px; }
  .home-hero { min-height: 590px; padding: 60px 0 80px; gap: 28px; }
  .split-grid { grid-template-columns: 32% minmax(0, 1fr); gap: 5%; }
  h2 { font-size: 29px; }
  .collaboration-grid { gap: 14px; }
  .collaboration-grid article { padding: 25px 18px; }
  .book-panel { padding: 32px 26px; }
  .book-panel h1 { font-size: 42px; }
  .character-grid { gap: 18px; }
  .press-row { grid-template-columns: 1fr 1fr; gap: 24px; }
  .press-row > img { grid-column: 2; grid-row: auto; }
  .about-grid { width: calc(100% - 48px); grid-template-columns: 1.4fr 1fr; }
  .about-grid > div { padding: 30px; }
  .about-grid h1 { font-size: 40px; }
  .site-footer { width: calc(100% - 48px); }
  .cards-grid { width: calc(100% - 60px); gap: 30px; }
  .card-caption { padding: 24px 18px; }
  .card-caption h2, .card-caption h3, .card-caption p { font-size: 18px; }
  .theatre-intro h1 { font-size: 44px; }
}
@media (max-width: 600px) {
  body { font-size: 17px; line-height: 1.65; }
  .site-header { padding: 18px 20px; min-height: 92px; }
  .name { font-size: 20px; }
  .tagline { font-size: 9px; margin-top: 6px; }
  .wrap, .wide { width: calc(100% - 40px); }
  h1, .page-heading h1 { font-size: 36px; }
  h2 { font-size: 29px; }
  h3 { font-size: 23px; }
  .section { padding: 42px 0; }
  .split-grid { display: block; }
  .split-grid > .rich { padding: 0; margin-bottom: 24px; }
  .split-grid > div { min-width: 0; }
  .page-heading { padding: 38px 0 26px; }
  .page-heading h1 br { display: none; }
  .home-hero { display: flex; flex-direction: column; align-items: stretch; gap: 32px; padding: 30px 0 42px; min-height: 0; }
  .portrait { width: min(100%, 350px); margin: auto; }
  .hero-copy h1 { font-size: 47px; }
  .hero-copy > .rich + .rich { margin-top: 28px; font-size: 17px; }
  .training-intro h1 { font-size: 39px; }
  .training-links { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 32px 0; gap: 12px; }
  .training-links a { font-size: 16px; padding: 20px 10px; border-radius: 16px; }
  .training-links .round { width: 78px; height: 78px; }
  .collaboration-grid { grid-template-columns: 1fr; gap: 20px; }
  .collaboration-grid h3 { text-align: center; }
  .collaboration-grid article { padding: 30px 25px; font-size: 17px; }
  .collaboration h2 { font-size: 34px; }
  .cards-panel { padding: 30px 22px; border-radius: 23px; }
  .cards-grid { width: 100%; grid-template-columns: 1fr; gap: 30px; }
  .cards-grid img { height: auto; aspect-ratio: 1; border-radius: 16px; }
  .card-caption { margin: -48px -7px 0 14px; padding: 25px 20px; border-radius: 16px; }
  .card-caption h2, .card-caption h3, .card-caption p { font-size: 19px; }
  .program-cards { padding-top: 0; }
  .page-programy-pro-deti-a-teenagery .single h1, .page-programy-pro-deti-a-teenagery .single h2 { font-size: 32px; }
  .book-hero { display: flex; flex-direction: column; }
  .book-photo { height: 390px; }
  .book-panel { margin: -35px 10px 0; padding: 30px 24px; align-self: stretch; border-radius: 20px; }
  .book-panel h1 { font-size: 38px; }
  .book-panel > .rich:nth-child(2) p { font-size: 23px; }
  .character-grid { grid-template-columns: 1fr; gap: 16px; }
  .character-grid article { width: 100%; max-width: 440px; margin: auto; padding: 26px; }
  .character-grid .round { width: 112px; height: 112px; margin-bottom: 22px; }
  .book-buy-grid, .book-reading, .about-grid { display: flex; flex-direction: column; gap: 28px; align-items: stretch; }
  .book-quote h2 { font-size: 26px; }
  .about-intro { padding: 28px 0; }
  .about-grid { width: calc(100% - 40px); gap: 0; border-radius: 21px; }
  .about-grid > div { padding: 30px 24px; }
  .about-grid h1 { font-size: 36px; }
  .about-photo { min-height: 0; height: auto; max-height: 470px; object-fit: cover; }
  .about-social { gap: 16px; font-size: 14px; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .gallery a { border-radius: 12px; }
  .theatre-intro h1 { font-size: 38px; }
  .theatre-intro h1 > span:last-child { font-size: 16px; margin-top: 20px; }
  .theatre-intro { padding: 32px 0; }
  .theatre-story { padding: 25px 22px; border-radius: 20px; font-size: 16px; }
  .theatre-gallery .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: none; }
  .theatre-gallery .gallery a:nth-child(n) { grid-column: auto; grid-row: auto; }
  .theatre-gallery .gallery a:nth-child(3) { grid-column: 1/3; }
  .theatre-gallery .gallery img { aspect-ratio: 1; }
  .organization > .wrap { padding: 28px 24px; border-radius: 20px; }
  .press-row { display: flex; flex-direction: column; gap: 18px; padding: 30px 0; }
  .press-row > img { width: 100%; aspect-ratio: 265/160; order: -1; }
  .press-row .rich + .rich { margin-top: 18px; }
  .press-row h3 { font-size: 25px; }
  .press-nav { justify-content: flex-start; margin-top: 0; }
  .site-footer { width: calc(100% - 32px); margin-top: 35px; }
  .contacts { grid-template-columns: 1fr; padding: 10px; gap: 8px; border-radius: 24px; }
  .contacts > div { padding: 22px; border-radius: 16px; }
  .contacts h2 { margin-bottom: 7px; }
  .credits { line-height: 1.9; margin-top: 18px; }
  .lightbox { width: 100vw; height: 100dvh; max-width: 100vw; max-height: 100dvh; padding: 65px 35px 20px; border-radius: 0; }
  .lightbox button { width: 44px; height: 44px; }
  .previous { left: 3px; }
  .next { right: 3px; }
}
@media (max-width: 360px) {
  .site-header { padding-inline: 16px; }
  .name { font-size: 18px; }
  .tagline { font-size: 8px; }
  .hero-copy h1 { font-size: 42px; }
  .book-panel h1 { font-size: 32px; }
  .button { padding-inline: 21px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
