@font-face { font-family: "Rukou"; src: url("fonty/RukouRegular-Regular.otf") format("opentype"); font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("fonty/HankenGrotesk.ttf") format("truetype"); font-weight: 100 900; font-display: swap; }
:root { --zolty: #FEE502; --pomarancz: #F05826; --oliwka: #97873A; --lawenda: #B09AEF; --roz: #FFB6ED;
  --niebieski: #1F41E9; --losos: #F58A84; --blekit: #A0B3FF; --czern: #1a1a1a; --rukou: "Rukou", sans-serif;
  /* role kolorów: domyślne = paleta Krystyny; strona nadpisuje je w <style> w index.html */
  --k-pasek_gorny: #1F41E9; --k-pasek_gorny-tekst: #ffffff; --k-rezerwacje: #FEE502; --k-rezerwacje-tekst: #1a1a1a;
  --k-guziki: #F05826; --k-guziki-tekst: #1a1a1a; --k-stopka: #1F41E9; --k-stopka-tekst: #ffffff;
  --k-stopka_naglowki: #FEE502; --k-akcent: #FEE502; --k-linki: #1F41E9; --k-podkreslenie: #F05826; }
* { box-sizing: border-box; }
body { margin: 0; color: var(--czern); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--k-linki); outline-offset: 3px; }
.r { font-family: var(--rukou); text-transform: uppercase; font-weight: 400; letter-spacing: .02em; }
h1, h2, h3 { font-family: var(--rukou); text-transform: uppercase; font-weight: 400; letter-spacing: .02em; line-height: 1; margin: 0; }
section, footer { scroll-margin-top: 5rem; }
.tylko-czytnik { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.ue-flaga { margin-left: 1.1rem; }
.ue-flaga img { height: 2.3rem; width: auto; }
.burger { display: none; background: none; border: 0; font: inherit; font-size: 1.7rem; line-height: 1; cursor: pointer; color: inherit; padding: .3rem .4rem; }
/* Logotypy UE: zawsze na białym, pełna szerokość pasa */
.ue-pas { background: #fff; padding: 1.75rem 1.25rem 2rem; text-align: center; font-size: .9rem; color: #555; }
.ue-pas img { width: 100%; max-width: 54rem; margin: 0 auto .8rem; }
.ue-pas nav { display: flex; justify-content: center; gap: 1.5rem; margin-top: .6rem; }
/* Okienko Tygodnika */
.okienko { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 40; width: min(21rem, calc(100vw - 2.5rem));
  display: grid; grid-template-columns: 5.5rem 1fr; gap: 1rem; align-items: center; padding: 1rem 2.6rem 1rem 1rem; }
.okienko[hidden] { display: none; }
.okienko img { width: 5.5rem; aspect-ratio: 3 / 4; object-fit: cover; }
.okienko h2 { font-size: 1.5rem; margin-bottom: .35rem; }
.okienko p { margin: 0 0 .5rem; font-size: .95rem; line-height: 1.35; }
.okienko .zamknij { position: absolute; top: .35rem; right: .45rem; background: none; border: 0; font-size: 1.6rem; line-height: 1; cursor: pointer; color: inherit; }
@media (max-width: 600px) {
  .okienko { left: 0; right: 0; bottom: 0; width: auto; grid-template-columns: 3.2rem 1fr; padding: .6rem 2.6rem .6rem .8rem; border-radius: 0 !important; }
  .okienko img { width: 3.2rem; } .okienko p { display: none; } .okienko h2 { font-size: 1.2rem; margin: 0; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
body { font-family: "Hanken Grotesk", sans-serif; }
body { font-size: 1.0625rem; line-height: 1.6; background: #fff; }
.kontaktowy { background: var(--k-pasek_gorny); color: var(--k-pasek_gorny-tekst); font-size: .92rem; }
.kontaktowy .w { max-width: 80rem; margin: 0 auto; padding: .45rem 1.25rem; display: flex; gap: 1.6rem; align-items: center; }
.kontaktowy a { text-decoration: none; }
.kontaktowy .rez { margin-left: auto; background: var(--k-rezerwacje); color: var(--k-rezerwacje-tekst); padding: .2rem .8rem; font-weight: 600; }
.pasek { position: sticky; top: 0; z-index: 20; background: #fff; height: 4.75rem; border-bottom: 1px solid #e6e6e6; }
.pasek .w { max-width: 80rem; margin: 0 auto; height: 100%; padding: 0 1.25rem; display: grid; grid-template-columns: 1fr auto auto 1fr; align-items: center; }
.pasek .logo { display: flex; gap: .55rem; align-items: center; text-decoration: none; font-family: var(--rukou); font-size: 1.5rem; }
.pasek .logo img { width: 2.3rem; }
.pasek nav { display: flex; gap: 1.6rem; font-family: var(--rukou); text-transform: uppercase; font-size: 1.02rem; letter-spacing: .04em; }
.pasek nav a { white-space: nowrap; text-decoration: none; padding: .3rem 0; border-bottom: 3px solid transparent; }
.pasek nav a:hover { border-bottom-color: var(--k-podkreslenie); }
.pasek .prawa { justify-self: end; display: flex; gap: 1rem; align-items: center; font-family: var(--rukou); }
.pasek .prawa > a { text-decoration: none; }
.pasek .teatr img { height: 1.6rem; width: auto; }
.pasek nav .teatr-menu { display: none; }
.start { position: relative; height: min(88vh, 60rem); min-height: 30rem; overflow: hidden; background: #111; }
.start img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.start:has(.napis)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 45%; background: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,.45)); pointer-events: none; }
.start .napis { z-index: 1; position: absolute; left: 1.25rem; right: 1.25rem; bottom: 1.5rem; color: #fff; text-shadow: 0 2px 40px rgba(0,0,0,.35); }
.start h1 { font-size: clamp(3.6rem, 15.5vw, 15rem); line-height: .8; letter-spacing: -.01em; overflow-wrap: anywhere; }
.start .napis p { margin: 1rem 0 0; max-width: 40rem; font-size: clamp(1.15rem, 2vw, 1.75rem); font-weight: 600; line-height: 1.25; text-shadow: 0 1px 18px rgba(0,0,0,.55); }
.zdanie { max-width: 46rem; margin: 0 auto; padding: 5rem 1.25rem 4rem; text-align: center; font-size: clamp(1.25rem, 2.2vw, 1.6rem); line-height: 1.45; }
.zdanie strong { font-weight: 600; }
.trzy { max-width: 80rem; margin: 0 auto; padding: 0 1.25rem 5rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.trzy img { aspect-ratio: 3 / 4; width: 100%; object-fit: cover; }
.trzy h2 { font-size: 2.1rem; margin: 1rem 0 .4rem; }
.trzy p { margin: 0; max-width: 26rem; color: #333; }
.trzy a { font-weight: 600; text-underline-offset: .2em; }
.pelne img { width: 100%; height: min(80vh, 50rem); object-fit: cover; }
#menu { max-width: 80rem; margin: 0 auto; padding: 5rem 1.25rem; display: grid; grid-template-columns: 1fr 2fr; gap: 3rem; align-items: start; }
#menu h2 { font-size: 3rem; margin-bottom: 1rem; }
#menu ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
#menu ul img { aspect-ratio: 1 / 1.414; object-fit: cover; width: 100%; box-shadow: 0 0 0 1px #ddd; }
#wydarzenia { max-width: 80rem; margin: 0 auto; padding: 5rem 1.25rem 2rem; }
#wydarzenia h2 { font-size: 3rem; margin-bottom: 1.75rem; }
#wydarzenia ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
#wydarzenia ul:empty { display: none; }
#wydarzenia li a { display: flex; flex-direction: column; height: 100%; text-decoration: none; background: #fff; box-shadow: 0 0 0 1px #ddd; border-top: 6px solid var(--k-akcent); }
#wydarzenia li a:hover h3 { text-decoration: underline; text-decoration-color: var(--k-podkreslenie); text-decoration-thickness: 3px; text-underline-offset: .2em; }
#wydarzenia li img { width: 100%; aspect-ratio: 1.91 / 1; object-fit: cover; }
#wydarzenia .wyd-tekst { display: flex; flex-direction: column; gap: .5rem; padding: 1rem 1.1rem 1.2rem; flex: 1; }
#wydarzenia time { font-weight: 600; font-size: .95rem; color: var(--k-linki); text-transform: uppercase; letter-spacing: .04em; }
#wydarzenia h3 { font-size: 1.6rem; line-height: 1.05; overflow-wrap: anywhere; }
#wydarzenia .wyd-opis { margin: 0; color: #333; font-size: 1.0625rem; line-height: 1.5; white-space: pre-line; overflow-wrap: anywhere; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; line-clamp: 4; overflow: hidden; }
#wydarzenia li span { margin-top: auto; font-weight: 600; font-size: .95rem; text-decoration: underline; text-underline-offset: .2em; }
#wydarzenia .wyd-zastepczy { margin: 0; font-size: 1.15rem; }
#wydarzenia .wyd-zastepczy[hidden] { display: none; }
#wydarzenia .wyd-zastepczy a { font-weight: 600; text-underline-offset: .2em; }
.guzik { display: inline-block; font-family: var(--rukou); text-transform: uppercase; letter-spacing: .05em; font-size: 1.1rem; padding: .8rem 1.4rem; background: var(--k-guziki); color: var(--k-guziki-tekst); text-decoration: none; }
#galeria ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
#galeria img { aspect-ratio: 1; width: 100%; object-fit: cover; }
#galeria .ig { text-align: center; padding: 2.5rem 1.25rem 4rem; }
.stopka { background: var(--k-stopka); color: var(--k-stopka-tekst); }
.stopka .w { max-width: 80rem; margin: 0 auto; padding: 4rem 1.25rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.stopka h2 { color: var(--k-stopka_naglowki); font-size: 1.9rem; margin-bottom: .8rem; }
.stopka p { margin: 0 0 .3rem; }
.stopka a { text-underline-offset: .2em; }
.okienko { background: #fff; border-top: 6px solid var(--k-akcent); box-shadow: 0 12px 40px rgba(0,0,0,.25); }
.okienko a { font-weight: 600; color: var(--k-linki); }
@media (max-width: 1100px) { .pasek nav { gap: 1rem; font-size: .95rem; }
  .pasek .w { grid-template-columns: auto 1fr auto auto; gap: .8rem; } .pasek nav { justify-self: end; } .ue-flaga { margin-left: .2rem; } .pasek nav { gap: .75rem; font-size: .85rem; letter-spacing: .02em; } .pasek .teatr img { height: 1.3rem; } }
@media (max-width: 900px) {
  .kontaktowy .adr, .kontaktowy .godz { display: none; }
  .pasek .w { grid-template-columns: auto 1fr auto auto; gap: .8rem; }
  .burger { display: block; justify-self: end; }
  .ue-flaga { justify-self: end; margin-left: 0; }
  .pasek .prawa .teatr { display: none; }
  .pasek.otwarte nav .teatr-menu { display: block; border-bottom: 0; padding-top: 1rem; } .pasek nav .teatr-menu img { height: 1.7rem; width: auto; }
  .pasek nav { display: none; position: absolute; top: 4.75rem; left: 0; right: 0; justify-self: stretch; background: #fff; flex-direction: column; gap: 0; padding: .5rem 1.25rem 1rem; border-bottom: 1px solid #e6e6e6; }
  .pasek.otwarte nav { display: flex; } .pasek nav a { padding: .7rem 0; font-size: 1.2rem; }
  .start { height: 62vh; min-height: 24rem; }
  .trzy, #menu { grid-template-columns: 1fr; }
  #wydarzenia ul { grid-template-columns: 1fr; } #wydarzenia li:nth-child(n+4) { display: none; }
  #wydarzenia { padding-top: 3.5rem; } #wydarzenia h2 { font-size: 2.4rem; } #menu ul { grid-template-columns: repeat(2, 1fr); }
  #galeria ul { grid-template-columns: repeat(2, 1fr); }
  .stopka .w { grid-template-columns: 1fr 1fr; }
}
/* Galeria z Instagrama i Feed z Facebooka (strona.js, dane z /dane/, od 2.12.2026) */
.pasek nav a[hidden] { display: none; }
#galeria .ig-post { position: relative; display: block; }
#galeria .ig-post picture { display: block; }
#galeria .ig-ikona { position: absolute; top: .55rem; right: .55rem; width: 1.4rem; height: 1.4rem; filter: drop-shadow(0 0 2px rgba(0,0,0,.6)); }
#feed { max-width: 44rem; margin: 0 auto; padding: 4rem 1.25rem 3rem; }
#feed h1 { font-size: 3.4rem; margin-bottom: 1.5rem; }
.feed-notka { margin: 0 0 1.5rem; padding: .7rem 1rem; background: #fff; border-left: 6px solid var(--k-akcent); box-shadow: 0 0 0 1px #ddd; }
#feed a { color: var(--k-linki); text-underline-offset: .2em; }
.feed-notka[hidden], .feed-lista[hidden], .feed-wiecej[hidden] { display: none; }
.feed-lista { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2rem; }
.feed-post { padding-bottom: 2rem; border-bottom: 1px solid #ddd; font-size: 1.0625rem; line-height: 1.55; }
.feed-data { display: block; margin-bottom: .7rem; font-weight: 600; font-size: .95rem; text-transform: uppercase; letter-spacing: .04em; color: var(--k-linki); }
.feed-zdjecia { margin: 0 0 1rem; }
.feed-zdjecia picture { display: block; }
.feed-zdjecia img { width: 100%; background: #eee; }
.feed-zdjecia-wiele { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.feed-zdjecia-wiele .feed-zdjecie:first-child { grid-column: 1 / -1; }
.feed-zdjecia-wiele .feed-zdjecie-male img { aspect-ratio: 1; object-fit: cover; }
.feed-tekst { margin: 0; white-space: pre-line; overflow-wrap: anywhere; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 6; line-clamp: 6; overflow: hidden; }
.feed-post.rozwiniety .feed-tekst { display: block; -webkit-line-clamp: none; line-clamp: none; overflow: visible; }
.feed-wiecej { margin: .4rem 0 0; padding: 0; border: 0; background: none; cursor: pointer; font: inherit; font-weight: 600; color: var(--k-linki); text-decoration: underline; text-underline-offset: .2em; }
.polecane { display: flex; flex-direction: column; gap: .25rem; margin: 1rem 0 0; padding: 1rem 1.1rem; background: #fff; box-shadow: 0 0 0 1px #ddd; border-top: 6px solid var(--k-akcent); color: inherit; text-decoration: none; overflow-wrap: anywhere; }
a.polecane:hover .polecane-tytul { text-decoration: underline; text-decoration-color: var(--k-podkreslenie); text-decoration-thickness: 3px; }
.polecane-etykieta { font-weight: 600; font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; color: var(--k-linki); }
.polecane-tytul { font-size: 1.1rem; }
.polecane-zrodlo { font-size: .9rem; color: #555; }
#feed .polecane { color: inherit; }
.feed-link { margin: .8rem 0 0; font-size: .95rem; }
.feed-fb { margin: 2rem 0 0; text-align: center; font-weight: 600; }
@media (max-width: 900px) { #feed { padding-top: 2.5rem; } #feed h1 { font-size: 2.6rem; } }
