/*
  OSP Chęciny — wydanie 7.0
  Dedykowany layout: spokojna typografia, rzeczywiste treści i fotografie,
  czytelna hierarchia, subtelne akcenty. Bez frameworka CSS.
*/
:root {
  --white: #fff;
  --paper: #f7f7f4;
  --paper-alt: #f0f1ed;
  --ink: #202b2d;
  --muted: #606969;
  --line: #dee1dd;
  --red: #bc3c34;
  --deep: #202b2c;
  --mono: 'IBM Plex Mono', monospace;
  --sans: 'IBM Plex Sans', Arial, sans-serif;
  --width: 1264px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 95px; }
body { margin: 0; font-family: var(--sans); font-weight: 400; font-size: 16px; line-height: 1.55; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
:focus-visible { outline: 3px solid #d17b62; outline-offset: 4px; }
::selection { color: #fff; background: var(--red); }
.container { max-width: calc(var(--width) + 96px); padding-inline: 48px; margin-inline: auto; }
.skip { position: absolute; top: -60px; left: 15px; z-index: 300; background: #fff; padding: 10px 18px; }
.skip:focus { top: 12px; }

/* Niewielki pasek instytucjonalny, oddzielony od właściwego menu. */
.utility-bar { height: 36px; background: #f0f1ee; border-bottom: 1px solid #e2e5e1; }
.utility-bar__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; font: 500 10px/1 var(--mono); letter-spacing: .08em; color: #586162; }
.utility-bar__divider { margin: 0 7px; color: #9a9f9c; }
.utility-bar a { display: inline-flex; align-items: center; gap: 11px; }
.utility-bar a strong { color: var(--red); font: 700 13px/1 var(--sans); letter-spacing: 0; }
.utility-bar a:hover { color: var(--red); }
.header { position: relative; z-index: 80; background: #fff; border-bottom: 1px solid #e9ebe8; }
.header__inner { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 35px; }
.brand { display: flex; gap: 16px; align-items: center; min-width: 252px; }
.brand__mark { display: flex; justify-content: center; align-items: center; width: 59px; height: 59px; flex: 0 0 auto; }
.brand__mark img { width: 100%; height: 100%; object-fit: contain; }
.brand__mark > span { display: grid; place-items: center; color: var(--red); border: 2px solid var(--red); border-radius: 2px; width: 52px; height: 52px; font-size: 16px; font-weight: 700; letter-spacing: -.025em; }
.brand__name { display: flex; flex-direction: column; line-height: 1.22; }
.brand__name strong { font-size: 24px; font-weight: 700; letter-spacing: -.045em; }
.brand__name small { padding-top: 5px; font-size: 11px; letter-spacing: .01em; color: #6f7776; }
.nav { display: flex; align-items: center; gap: clamp(19px, 2.7vw, 39px); }
.nav > a { font-size: 14px; font-weight: 500; white-space: nowrap; padding: 8px 0; transition: color .2s; }
.nav > a:hover, .nav > a:focus-visible { color: var(--red); }
.nav__external { color: #a4352d; border-left: 1px solid var(--line); padding-left: 25px !important; }
.nav__external span { margin-left: 5px; }
.menu-toggle { display: none; border: 1px solid var(--line); background: #fff; padding: 11px 12px; width: 47px; height: 45px; flex-direction: column; justify-content: center; gap: 5px; }
.menu-toggle span { height: 1.5px; background: var(--ink); display: block; width: 100%; }

/* Film jest częścią tła, a nie osobnym elementem interfejsu. */
.hero { min-height: 660px; height: min(75svh, 800px); position: relative; isolation: isolate; overflow: hidden; color: #fff; background: #283536; }
.hero__background { position: absolute; inset: 0; z-index: -3; background: radial-gradient(ellipse at 83% 22%, #455453 0%, #283537 48%, #1d2b2d 100%); }
.hero__poster { position: absolute; inset: 0; height: 100%; width: 100%; object-fit: cover; filter: saturate(.78); }
.hero__video { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero__video iframe { position: absolute; top: 50%; left: 50%; width: max(100%, 177.78svh); height: max(100%, 56.25vw); min-width: 177.78svh; transform: translate(-50%, -50%) scale(1.03); opacity: 0; border: 0; pointer-events: none; transition: opacity 1s ease; }
.hero__video.hero__video--ready iframe { opacity: 1; }

/* Własne tło HTML5: bez YouTube, bez kontrolek i bez dotykowej interakcji. */
.hero__native-video {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  opacity: 0;
  transition: opacity .65s ease;
}
.hero__video.hero__video--ready .hero__native-video { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .hero__native-video { transition: none; }
}

.hero__scrim { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, rgba(18,28,29,.85) 0%, rgba(18,28,29,.57) 43%, rgba(18,28,29,.10) 100%), linear-gradient(0deg, rgba(18,28,29,.68) 0%, transparent 42%, rgba(18,28,29,.25) 100%); }
.hero__linework { position: absolute; z-index: 0; inset: 0; pointer-events: none; opacity: .28; }
.hero__linework i { position: absolute; top: 0; bottom: 0; width: 1px; background: rgba(255,255,255,.11); }
.hero__linework i:nth-child(1) { left: 4.8%; }
.hero__linework i:nth-child(2) { left: 63%; }
.hero__linework i:nth-child(3) { right: 4.8%; }
.hero__content { position: relative; height: 100%; display: flex; flex-direction: column; z-index: 1; }
.hero__eyebrow { display: flex; align-items: center; gap: 14px; padding-top: 55px; font: 500 11px/1.45 var(--mono); letter-spacing: .09em; color: rgba(255,255,255,.82); }
.hero__eyebrow-rule { width: 22px; height: 2px; background: #e05a4b; }
.hero__eyebrow-slash { color: #b6b6b0; }
.hero__core { margin-top: auto; margin-bottom: auto; padding-top: 60px; display: flex; align-items: flex-end; justify-content: space-between; }
.hero__intro h1 { font-size: clamp(76px, 8.8vw, 126px); font-weight: 600; line-height: .98; letter-spacing: -.075em; margin-bottom: 28px; }
.hero__intro h1 span { display: block; font-weight: 600; }
.hero__intro p { color: rgba(255,255,255,.84); max-width: 550px; font-size: 17px; line-height: 1.7; margin-bottom: 33px; text-wrap: pretty; }
.hero__action { display: inline-flex; align-items: center; gap: 28px; border: 1px solid rgba(255,255,255,.6); color: #fff; background: rgba(255,255,255,.06); padding: 14px 19px; font-size: 14px; font-weight: 500; transition: background .2s ease; }
.hero__action span { font-size: 20px; font-weight: 400; }
.hero__action:hover { background: rgba(255,255,255,.17); }
.hero__edge { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; padding-bottom: 7px; color: rgba(255,255,255,.55); font: 500 10px/1.2 var(--mono); letter-spacing: .04em; }
.hero__edge em { font-style: normal; font-size: 9px; letter-spacing: .12em; }
.hero__bottom { display: flex; justify-content: space-between; align-items: center; padding: 19px 0 23px; border-top: 1px solid rgba(255,255,255,.3); font: 500 10px/1.3 var(--mono); letter-spacing: .06em; color: rgba(255,255,255,.78); }
.hero__bottom a { display: inline-flex; align-items: center; gap: 20px; letter-spacing: .01em; font: 500 13px/1.3 var(--sans); }
.hero__bottom a span { font-size: 17px; }
.hero__bottom a:hover { color: white; }

.intro-band { background: var(--paper); border-bottom: 1px solid var(--line); }
.intro-band__inner { min-height: 173px; display: grid; grid-template-columns: 245px 1fr auto; gap: 55px; align-items: center; }
.intro-band__year { display: flex; flex-direction: column; gap: 4px; border-right: 1px solid #d5d9d4; }
.intro-band__year span { color: #7a8280; font: 500 10px/1.3 var(--mono); letter-spacing: .08em; }
.intro-band__year strong { font-size: 49px; line-height: 1; font-weight: 500; letter-spacing: -.06em; }
.intro-band p { font-size: clamp(19px,2vw,27px); line-height: 1.35; letter-spacing: -.028em; font-weight: 500; margin: 0; }
.intro-band a { white-space: nowrap; font-size: 13px; font-weight: 600; display: inline-flex; gap: 20px; align-items: center; border-bottom: 1px solid #8a9290; padding-bottom: 7px; }
.intro-band a:hover { color: var(--red); }

.section { padding-top: 126px; padding-bottom: 128px; }
.section-kicker, .section-aside__id { display: block; color: var(--red); font: 500 11px/1.5 var(--mono); letter-spacing: .05em; }
.section-aside h2, .about h2, .youth h2, .contact h2 { font-size: clamp(38px, 4.6vw, 64px); line-height: 1.11; font-weight: 500; letter-spacing: -.065em; margin: 26px 0 26px; }
.section-aside h2 span { color: #7b8584; }
.section-aside > p { max-width: 290px; color: var(--muted); font-size: 15px; line-height: 1.8; margin-bottom: 28px; }
.under-link { display: inline-flex; align-items: center; gap: 20px; width: fit-content; padding-bottom: 9px; border-bottom: 1px solid #7c8581; font-weight: 500; font-size: 14px; transition: color .2s, border-color .2s; }
.under-link span { font-size: 18px; }
.under-link:hover { color: var(--red); border-color: var(--red); }
.news__layout { display: grid; grid-template-columns: 36% 1fr; gap: 65px; }
.news__content { border-top: 1px solid var(--ink); min-width: 0; }
.news-item { display: flex; gap: 22px; justify-content: space-between; padding: 30px 0; border-bottom: 1px solid var(--line); }
.news-item__text { min-width: 0; flex: 1; }
.news-item__meta { display: flex; gap: 22px; align-items: center; margin-bottom: 13px; font: 500 10px/1.5 var(--mono); color: #6b7372; letter-spacing: .05em; }
.news-item__meta span { color: var(--red); }
.news-item h3 { font-size: clamp(20px, 2.2vw, 28px); line-height: 1.25; font-weight: 600; letter-spacing: -.035em; margin-bottom: 10px; }
.news-item p { font-size: 14px; line-height: 1.75; color: var(--muted); margin-bottom: 8px; max-width: 610px; }
.news-item__image { width: 148px; height: 110px; flex-shrink: 0; overflow: hidden; }
.news-item__image img { height: 100%; width: 100%; object-fit: cover; transition: transform .4s; }
.news-item:hover .news-item__image img { transform: scale(1.04); }
.news-item__details summary { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; list-style: none; font-size: 13px; font-weight: 600; margin-top: 12px; color: var(--red); }
.news-item__details summary::-webkit-details-marker { display: none; }
.news-item__details[open] summary span { transform: rotate(45deg); }
.news-item__details .news-item__article { font-size: 14px; line-height: 1.8; margin-top: 17px; color: #394546; white-space: normal; }
.news-item__link { display: inline-flex; gap: 10px; font-size: 13px; font-weight: 600; color: var(--red); margin-top: 10px; }
.news-empty { min-height: 265px; display: flex; align-items: center; gap: 20px; padding: 50px 0; border-bottom: 1px solid var(--line); }
.news-empty__symbol { display: grid; place-items: center; width: 39px; height: 39px; border-radius: 50%; border: 1px solid #aab2ac; font: italic 600 17px/1 var(--sans); flex: 0 0 auto; color: #667371; }
.news-empty strong { font-size: 19px; font-weight: 600; letter-spacing: -.02em; }
.news-empty p { max-width: 440px; font-size: 14px; line-height: 1.8; color: var(--muted); margin: 7px 0 0; }

.about { background: var(--paper); }
.about__layout { display: grid; grid-template-columns: 52% 1fr; gap: clamp(55px, 7vw, 117px); align-items: center; }
.about__media { min-width: 0; }
.about__media > img, .about__no-photo { display: block; width: 100%; aspect-ratio: 1.13; object-fit: cover; }
.about__no-photo { background: #303d3d; color: #f2f3ef; padding: clamp(28px, 4vw, 55px); display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; position: relative; }
.about__no-photo::before { content: ''; position: absolute; inset: 18px; border: 1px solid rgba(255,255,255,.18); pointer-events: none; }
.about__no-photo > span { font-size: clamp(90px, 13vw, 178px); font-weight: 600; letter-spacing: -.095em; line-height: .9; opacity: .12; position: absolute; top: 4%; right: 9%; }
.about__no-photo strong { font-size: clamp(35px, 5vw, 75px); font-weight: 500; letter-spacing: -.065em; line-height: 1; z-index: 1; }
.about__no-photo small { margin-top: 18px; font: 500 10px/1.5 var(--mono); letter-spacing: .09em; color: #bac9c4; z-index: 1; }
.about__caption { display: flex; justify-content: space-between; gap: 20px; margin-top: 15px; font: 500 10px/1.4 var(--mono); letter-spacing: .05em; color: #7c8481; }
.about__copy { padding-top: 14px; }
.about__copy h2 { max-width: 600px; margin: 30px 0; }
.about__copy > p { font-size: 16px; line-height: 1.9; color: #56605f; max-width: 490px; margin-bottom: 37px; }
.about__principles { display: flex; flex-wrap: wrap; gap: 13px; border-top: 1px solid #d2d7d1; border-bottom: 1px solid #d2d7d1; padding: 18px 0; margin-bottom: 30px; }
.about__principles span { font-size: 12px; font-weight: 500; }
.about__principles span:not(:last-child)::after { content: '·'; color: var(--red); margin-left: 13px; }

.youth { background: #fff; }
.youth__layout { display: grid; grid-template-columns: 1fr 44%; align-items: center; gap: clamp(58px, 9vw, 148px); }
.youth__copy h2 { max-width: 620px; margin: 28px 0; font-size: clamp(36px, 4.5vw, 61px); }
.youth__copy > p { max-width: 515px; color: var(--muted); font-size: 16px; line-height: 1.9; margin-bottom: 34px; }
.youth__media { position: relative; }
.youth__media > img, .youth__graphic { width: 100%; aspect-ratio: 1.18; object-fit: cover; }
.youth__graphic { background: #eaece6; display: grid; place-items: center; overflow: hidden; position: relative; }
.youth__graphic > span { font-size: clamp(100px, 13vw, 180px); color: #cad0c8; font-weight: 500; line-height: 1; letter-spacing: -.09em; }
.youth__graphic > i { position: absolute; width: 38%; height: 5px; background: var(--red); bottom: 24%; right: 0; }
.youth__media-caption { display: block; color: #858e8a; font: 500 9px/1.4 var(--mono); letter-spacing: .09em; text-align: right; margin-top: 14px; }

.contact { background: var(--deep); color: #fff; padding-bottom: 105px; }
.contact__layout { display: grid; grid-template-columns: 51% 1fr; gap: 8%; }
.contact .section-kicker { color: #e28a7b; }
.contact h2 { margin: 30px 0; }
.contact__intro > p { color: #acb6b4; max-width: 420px; font-size: 16px; line-height: 1.8; }
.contact__info { border-top: 1px solid rgba(255,255,255,.27); margin-top: 7px; }
.contact__record { display: grid; grid-template-columns: 155px 1fr; gap: 20px; align-items: start; border-bottom: 1px solid rgba(255,255,255,.17); padding: 24px 0; }
.contact__record > span { font: 500 10px/1.5 var(--mono); letter-spacing: .05em; color: #b7c1bd; }
.contact__record p { font-size: 15px; font-weight: 500; line-height: 1.6; margin: 0; overflow-wrap: anywhere; }
.contact__record a:hover { color: #f3a99d; }
.footer { background: #182223; color: #fff; }
.footer__upper { min-height: 120px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border-bottom: 1px solid rgba(255,255,255,.15); }
.footer__name { font-size: 27px; font-weight: 600; letter-spacing: -.045em; }
.footer__upper a { font-size: 13px; display: flex; align-items: center; gap: 13px; color: #d1d9d5; }
.footer__bottom { min-height: 76px; display: flex; justify-content: space-between; align-items: center; gap: 15px; color: #98a8a2; font-size: 12px; }
.footer__bottom a { color: #fff; }

@media (max-width: 1080px) {
  .container { padding-inline: 35px; }
  .nav { gap: 18px; }
  .brand { min-width: 230px; }
  .brand__name strong { font-size: 22px; }
  .hero { height: 70svh; min-height: 620px; }
  .news__layout { gap: 30px; grid-template-columns: 35% 1fr; }
  .about__layout { gap: 55px; }
  .youth__layout { gap: 65px; }
}
@media (max-width: 900px) {
  .header__inner { min-height: 82px; }
  .menu-toggle { display: flex; }
  .nav { position: absolute; top: calc(100% + 1px); left: 0; right: 0; display: none; padding: 19px 35px 28px; background: white; box-shadow: 0 20px 35px rgba(0,0,0,.09); flex-direction: column; align-items: stretch; gap: 0; z-index: 100; }
  .nav.nav--open { display: flex; }
  .nav > a { border-bottom: 1px solid #e5e9e5; padding: 16px 0; font-size: 16px; }
  .nav__external { border-left: none; padding-left: 0 !important; color: var(--red); }
  .hero__core { padding-top: 40px; }
  .hero__edge { display: none; }
  .intro-band__inner { grid-template-columns: 195px 1fr; gap: 30px; padding-block: 35px; }
  .intro-band a { grid-column: 2; justify-self: start; }
  .section { padding-block: 88px; }
  .news__layout { grid-template-columns: 1fr; gap: 44px; }
  .section-aside > p { max-width: 540px; }
  .about__layout { gap: 45px; }
  .about__copy h2 { font-size: 44px; }
  .youth__layout { gap: 35px; }
  .youth__copy h2 { font-size: 43px; }
  .contact__layout { gap: 40px; grid-template-columns: 1fr 1fr; }
  .contact__record { grid-template-columns: 1fr; gap: 8px; }
}
@media (max-width: 650px) {
  html { scroll-padding-top: 20px; }
  .container { padding-inline: 22px; }
  .utility-bar { height: 31px; }
  .utility-bar__inner { font-size: 9px; letter-spacing: 0; }
  .utility-bar__quiet { display: none; }
  .header__inner { min-height: 75px; }
  .brand { gap: 11px; min-width: 0; }
  .brand__mark, .brand__mark img { height: 48px; width: 48px; }
  .brand__mark > span { width: 46px; height: 46px; font-size: 14px; }
  .brand__name strong { font-size: 20px; }
  .brand__name small { font-size: 10px; }
  .nav { padding: 14px 22px 22px; }
  .hero { height: 70svh; min-height: 575px; max-height: 770px; }
  .hero__eyebrow { padding-top: 32px; font-size: 9px; gap: 8px; letter-spacing: .04em; white-space: nowrap; }
  .hero__eyebrow-rule { width: 15px; }
  .hero__core { padding-top: 40px; }
  .hero__intro h1 { font-size: clamp(70px, 14.5vw, 97px); letter-spacing: -.085em; margin-bottom: 22px; }
  .hero__intro p { font-size: 14px; line-height: 1.75; max-width: 365px; margin-bottom: 25px; }
  .hero__action { font-size: 12px; padding: 12px 14px; gap: 15px; }
  .hero__bottom { padding-block: 16px; font-size: 9px; }
  .hero__bottom > span { display: none; }
  .hero__bottom a { font-size: 12px; }
  .hero__scrim { background: linear-gradient(90deg,rgba(18,28,29,.83),rgba(18,28,29,.39)),linear-gradient(0deg,rgba(18,28,29,.55),transparent 60%); }
  .intro-band__inner { grid-template-columns: 1fr; gap: 24px; padding-block: 35px 41px; }
  .intro-band__year { flex-direction: row; align-items: baseline; gap: 15px; border: none; }
  .intro-band__year strong { font-size: 40px; order: -1; }
  .intro-band p { font-size: 21px; }
  .intro-band a { grid-column: auto; font-size: 12px; }
  .section { padding-top: 76px; padding-bottom: 78px; }
  .section-aside h2, .about h2, .contact h2 { font-size: clamp(38px, 10vw, 54px); margin-block: 20px; }
  .section-aside > p { font-size: 14px; }
  .news__layout { gap: 37px; }
  .news-item { padding-block: 25px; gap: 16px; }
  .news-item__image { width: 106px; height: 92px; }
  .news-item h3 { font-size: 20px; }
  .news-item p { font-size: 13px; }
  .news-item__meta { font-size: 9px; flex-wrap: wrap; gap: 9px; }
  .about__layout { grid-template-columns: 1fr; gap: 48px; }
  .about__copy { order: -1; padding-top: 0; }
  .about__copy > p { font-size: 15px; }
  .about__no-photo > span { font-size: 125px; }
  .youth__layout { grid-template-columns: 1fr; gap: 45px; }
  .youth__copy h2 { font-size: clamp(35px, 8.9vw, 49px); }
  .youth__copy p { font-size: 15px; }
  .youth__graphic > span { font-size: 125px; }
  .contact__layout { grid-template-columns: 1fr; gap: 37px; }
  .contact__info { margin-top: 0; }
  .contact__record { grid-template-columns: 126px 1fr; gap: 10px; padding-block: 21px; }
  .footer__upper { min-height: 105px; }
  .footer__name { font-size: 24px; }
  .footer__bottom { flex-wrap: wrap; justify-content: flex-start; gap: 10px; padding-block: 22px; font-size: 11px; }
}
@media (max-width: 390px) {
  .container { padding-inline: 17px; }
  .brand__name strong { font-size: 18px; }
  .brand__name small { font-size: 9px; }
  .hero__intro h1 { font-size: clamp(67px, 16.7vw, 77px); }
  .hero__eyebrow { font-size: 8px; }
  .contact__record { grid-template-columns: 1fr; gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}


/* =============================================================
   OSP Chęciny 8.0 — nawigacja i redakcyjne strony wewnętrzne
   ============================================================= */
.nav > a[aria-current="page"], .nav-dropdown--current > .nav-dropdown__toggle { color: var(--red); }
.nav-dropdown { position: relative; align-self: stretch; display: flex; align-items: center; }
.nav-dropdown__toggle { border: 0; background: transparent; padding: 11px 0; display: flex; align-items: center; gap: 8px; color: var(--ink); font: 500 14px var(--sans); white-space: nowrap; transition: color .2s ease; }
.nav-dropdown__toggle:hover, .nav-dropdown__toggle:focus-visible, .nav-dropdown.is-open > .nav-dropdown__toggle { color: var(--red); }
.nav-dropdown__toggle svg { transition: transform .32s cubic-bezier(.2,.75,.2,1); }
.nav-dropdown.is-open .nav-dropdown__toggle svg { transform: rotate(-180deg); }
.nav-dropdown__panel { position: absolute; z-index: 90; left: -27px; top: calc(100% - 1px); width: 340px; background: #fff; border: 1px solid var(--line); border-top: 2px solid var(--red); box-shadow: 0 24px 40px rgba(18,34,32,.11); clip-path: inset(0 -35px -40px -35px); opacity: 0; visibility: hidden; transform: translateY(11px); transition: opacity .27s ease, transform .33s cubic-bezier(.2,.75,.2,1), visibility .27s; pointer-events: none; }
.nav-dropdown.is-open .nav-dropdown__panel { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
.nav-dropdown__inside { padding: 22px 25px 16px; }
.nav-dropdown__eyebrow { display: flex; justify-content: space-between; margin-bottom: 11px; color: #7b8582; font: 600 10px/1.4 var(--mono); letter-spacing: .045em; }
.nav-dropdown__eyebrow i { font-style: normal; color: var(--red); }
.nav-dropdown__inside > a { display: grid; grid-template-columns: 25px 1fr 17px; gap: 13px; align-items: center; min-height: 51px; border-bottom: 1px solid #edf0ec; font-weight: 500; font-size: 14px; color: #253130; transition: color .18s, padding-left .18s; }
.nav-dropdown__inside > a:last-child { border-bottom: 0; }
.nav-dropdown__inside > a:hover, .nav-dropdown__inside > a:focus-visible, .nav-dropdown__inside > a[aria-current="page"] { color: var(--red); padding-left: 5px; }
.nav-dropdown__num { font: 500 10px var(--mono); color: #9ba4a0; }
.nav-dropdown__arrow { justify-self: end; color: #b3bab6; }
@media (min-width: 901px) and (hover: hover) and (pointer: fine) {
  .nav-dropdown:hover .nav-dropdown__panel, .nav-dropdown:focus-within .nav-dropdown__panel { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
  .nav-dropdown:hover .nav-dropdown__toggle svg, .nav-dropdown:focus-within .nav-dropdown__toggle svg { transform: rotate(-180deg); }
}
@media (max-width: 900px) {
  .nav-dropdown { display: block; border-bottom: 1px solid #e5e9e5; }
  .nav-dropdown__toggle { width: 100%; padding: 16px 0; justify-content: space-between; font-size: 16px; }
  .nav-dropdown__panel { position: relative; top: auto; left: auto; width: 100%; max-height: 0; transform: none; overflow: hidden; clip-path: none; opacity: 1; visibility: visible; pointer-events: none; border: 0; border-top: 0; box-shadow: none; transition: max-height .4s cubic-bezier(.2,.75,.2,1); }
  .nav-dropdown.is-open .nav-dropdown__panel { max-height: 460px; opacity: 1; transform: none; pointer-events: auto; }
  .nav-dropdown__inside { padding: 0 0 18px 13px; }
  .nav-dropdown__eyebrow { display: none; }
  .nav-dropdown__inside > a { font-size: 14px; min-height: 46px; }
  .nav-dropdown__inside > a:hover { padding-left: 0; }
}

/* Strony wewnętrzne: bez powielania hero video i bez kart-szablonów. */
.subpage { background: #fff; }
.subpage__breadcrumbs { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 22px; color: #7e8884; font: 500 11px/1.5 var(--mono); }
.subpage__breadcrumbs a:hover { color: var(--red); }
.subpage__breadcrumbs strong { color: #384542; font-weight: 500; }
.subpage__masthead { background: var(--paper); border-top: 1px solid #edf0eb; border-bottom: 1px solid var(--line); }
.subpage__masthead-grid { padding-top: 88px; padding-bottom: 91px; display: grid; grid-template-columns: 1fr 160px; align-items: end; gap: 35px; }
.subpage__eyebrow { color: #6c7771; font: 600 10px/1.5 var(--mono); letter-spacing: .055em; display: flex; align-items: center; gap: 12px; }
.subpage__mark { width: 25px; height: 2px; background: var(--red); }
.subpage__eyebrow-sep { color: #b6beb7; }
.subpage__masthead h1 { margin: 17px 0 0; color: var(--ink); font-size: clamp(50px, 6.6vw, 91px); font-weight: 600; line-height: 1.06; letter-spacing: -.067em; overflow-wrap: anywhere; }
.subpage__masthead h1 span { color: var(--red); }
.subpage__edition { display: flex; flex-direction: column; gap: 15px; align-items: flex-end; color: #78837d; font: 500 10px/1.5 var(--mono); text-align: right; white-space: nowrap; }
.subpage__edition strong { font-size: 24px; color: #9ca6a0; font-weight: 500; }
.subpage__shell { display: grid; grid-template-columns: 255px minmax(0,1fr); gap: clamp(65px, 9vw, 138px); padding-top: 95px; padding-bottom: 125px; }
.subpage__side { min-width: 0; }
.subpage__side-title { font: 500 10px/1.4 var(--mono); color: #88928d; letter-spacing: .065em; margin-bottom: 17px; }
.subpage__side nav { border-top: 1px solid var(--line); }
.subpage__side nav a { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); color: #4f5954; font-size: 13px; font-weight: 500; transition: color .2s, padding .2s; }
.subpage__side nav a[aria-current="page"], .subpage__side nav a:hover { color: var(--red); padding-left: 7px; }
.subpage__side nav a span { color: #aeb8b1; }
.subpage__side-back { display: inline-flex; font-size: 12px; color: #6c7972; padding-top: 31px; }
.subpage__side-back:hover { color: var(--red); }
.subpage__article { min-width: 0; max-width: 850px; padding-top: 3px; }
.subpage__lead { max-width: 745px; font-size: clamp(21px, 2.35vw, 32px); font-weight: 450; line-height: 1.5; letter-spacing: -.023em; color: #354342; margin-bottom: 40px; }
.subpage__rule { height: 1px; background: var(--line); margin: 45px 0 37px; }
.subpage__article h2 { font-size: clamp(25px, 3vw, 39px); line-height: 1.22; font-weight: 600; letter-spacing: -.045em; margin-bottom: 22px; }
.subpage__article > p:not(.subpage__lead), .subpage__prose p { font-size: 16px; line-height: 1.9; color: #5b6762; max-width: 735px; }
.subpage__prose { margin: 25px 0 34px; }
.subpage__prose p + p { margin-top: 24px; }
.subpage__taxonomies { margin: 34px 0 48px; border-top: 1px solid var(--line); }
.subpage__taxonomies > div { display: grid; align-items: center; grid-template-columns: 60px 1fr; gap: 15px; border-bottom: 1px solid var(--line); padding: 22px 0; }
.subpage__taxonomies span { color: var(--red); font: 500 11px var(--mono); }
.subpage__taxonomies strong { font-weight: 500; font-size: 17px; }
.subpage__textlink { display: inline-flex; justify-content: space-between; gap: 30px; border-bottom: 1px solid var(--red); padding-bottom: 11px; color: var(--red); font-size: 13px; font-weight: 600; }
.subpage__await, .subpage__note { padding: 28px 30px; background: var(--paper); color: #64716b; line-height: 1.8; }
.subpage__note strong { color: #293632; }
.subpage__note p { margin: 8px 0 0; }
.people-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.people-list li { padding: 19px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: minmax(120px,220px) 1fr; align-items: start; gap: 20px; }
.people-list__role { font: 500 12px/1.5 var(--mono); color: #8b958e; }
.people-list strong { font-size: 18px; font-weight: 500; color: var(--ink); }
.contact-directory { border-top: 1px solid var(--line); margin-top: 45px; }
.contact-directory > div { padding: 27px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 145px 1fr; gap: 35px; align-items: start; }
.contact-directory span { color: #88938e; font: 500 11px var(--mono); }
.contact-directory strong, .contact-directory a { color: var(--ink); font-size: clamp(16px,1.75vw,22px); font-weight: 500; line-height: 1.5; overflow-wrap: anywhere; }
.contact-directory a:hover { color: var(--red); }
.subpage__emergency { background: #273231; padding: 30px 35px; margin-top: 48px; color: #fff; display: grid; grid-template-columns: 1fr 130px; gap: 14px; }
.subpage__emergency span { align-self: center; color: #bac5c0; font: 500 11px var(--mono); }
.subpage__emergency strong { grid-row: span 2; font-size: 73px; line-height: 1; letter-spacing: -.06em; text-align: right; }
.subpage__emergency p { margin: 0; max-width: 500px; font-size: 13px; color: #cbd4ce; line-height: 1.7; }
.document-link { display: flex; align-items: center; gap: 24px; padding: 25px 15px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.document-link__badge { color: var(--red); font: 600 13px var(--mono); border: 1px solid var(--red); padding: 11px 12px; }
.document-link > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; gap: 5px; }
.document-link strong { font-size: 18px; font-weight: 600; }
.document-link small { color: #8b938c; }
.document-link__arrow { font-size: 23px; color: var(--red); }
.document-link:hover strong { color: var(--red); }
.history-year { display: flex; flex-direction: column; gap: 0; border-bottom: 1px solid var(--line); padding-bottom: 26px; margin-bottom: 37px; }
.history-year span { font: 500 11px var(--mono); color: #9aa49d; }
.history-year strong { font-size: clamp(76px, 9vw, 122px); letter-spacing: -.09em; line-height: 1.1; font-weight: 500; color: var(--ink); }
.history-photo { margin: 55px 0 0; }
.history-photo img { max-height: 420px; width: 100%; object-fit: cover; }
.history-photo figcaption { font: 500 10px var(--mono); color: #8a958e; margin-top: 15px; }
.subpage__outro { border-top: 1px solid var(--line); min-height: 135px; padding-top: 30px; padding-bottom: 35px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.subpage__outro > span { color: #939e96; font: 500 10px var(--mono); }
.subpage__outro a { font-size: 14px; font-weight: 600; }
.subpage__outro a:hover { color: var(--red); }
.subpage__outro a span { margin-left: 15px; color: var(--red); }
/* Dedykowany projekt MDP */
.mdp-page { background: #fff; }
.mdp-page__intro { padding-top: 96px; padding-bottom: 100px; display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(50px, 8vw, 125px); align-items: end; }
.mdp-page__title h1 { margin: 24px 0 0; font-size: clamp(55px,6.4vw,92px); line-height: 1.08; letter-spacing: -.066em; font-weight: 600; }
.mdp-page__title h1 em { color: var(--red); font-style: normal; }
.mdp-page__intro-copy { padding-bottom: 10px; }
.mdp-page__intro-copy > span { display: block; color: #9ca69f; font: 500 10px var(--mono); margin-bottom: 15px; }
.mdp-page__intro-copy p { font-size: 18px; line-height: 1.8; color: #5f6d64; }
.mdp-page__intro-copy a { display: inline-flex; gap: 20px; align-items: center; color: var(--red); font-weight: 600; font-size: 13px; margin-top: 20px; border-bottom: 1px solid var(--red); padding-bottom: 11px; }
.mdp-page__visual { position: relative; background: #2b3632; height: clamp(300px,43vw,580px); overflow: hidden; }
.mdp-page__visual > img { width: 100%; height: 100%; object-fit: cover; }
.mdp-page__visual-label { position: absolute; inset: auto 0 0; background: rgba(22,32,29,.72); padding: 19px max(48px,calc((100vw - var(--width)) / 2)); display: flex; justify-content: space-between; gap: 20px; color: white; font: 500 10px var(--mono); letter-spacing: .035em; }
.mdp-page__placeholder { height: 100%; display: grid; place-items: center; background: linear-gradient(115deg, #303c38 15%, #5c6860 100%); }
.mdp-page__placeholder > div { width: min(70%,850px); color: rgba(255,255,255,.7); display: flex; flex-direction: column; align-items: flex-start; }
.mdp-page__placeholder span, .mdp-page__placeholder small { font: 500 11px var(--mono); letter-spacing: .16em; }
.mdp-page__placeholder strong { color: rgba(255,255,255,.13); font-size: clamp(170px,30vw,440px); font-weight: 500; line-height: .95; letter-spacing: -.1em; }
.mdp-page__body { background: var(--paper); }
.mdp-page__body-grid { display: grid; grid-template-columns: 1fr .9fr; gap: 11%; margin-bottom: 72px; }
.mdp-page__body-grid h2 { font-size: clamp(36px,4.1vw,60px); line-height: 1.2; letter-spacing: -.06em; font-weight: 600; margin-top: 22px; }
.mdp-page__prose p { font-size: 16px; line-height: 1.9; color: #58645e; }
.mdp-page__prose p+p { margin-top: 17px; }
.mdp-page__topics { border-top: 1px solid #d4d9d2; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); }
.mdp-page__topics > div { padding: 26px 38px 25px 0; }
.mdp-page__topics > div+div { border-left: 1px solid #d4d9d2; padding-left: 38px; }
.mdp-page__topics span { color: var(--red); font: 500 11px var(--mono); }
.mdp-page__topics h3 { font-size: 26px; letter-spacing: -.045em; margin: 21px 0 12px; }
.mdp-page__topics p { font-size: 14px; color: #6d7872; line-height: 1.75; }
.mdp-page__contact { background: #273231; color: #fff; }
.mdp-page__contact-inner { padding-top: 85px; padding-bottom: 85px; display: flex; justify-content: space-between; align-items: center; gap: 40px; }
.mdp-page__contact-inner span { color: #e6a79f; font: 500 10px var(--mono); }
.mdp-page__contact-inner h2 { margin: 16px 0 8px; font-size: clamp(28px,3.3vw,45px); letter-spacing: -.04em; }
.mdp-page__contact-inner p { margin: 0; color: #b6c0bb; }
.mdp-page__contact-inner > a { white-space: nowrap; font-size: 13px; font-weight: 600; border: 1px solid rgba(255,255,255,.36); padding: 17px 22px; }
.mdp-page__contact-inner > a:hover { border-color: #fff; }
.mdp-page__contact-inner > a span { margin-left: 20px; font-size: 17px; }
@media (max-width: 1080px) { .nav { gap: 20px; } .brand { min-width: 225px; } }
@media (max-width: 900px) {
 .subpage__masthead-grid { padding-top: 60px; padding-bottom: 67px; }
 .subpage__shell { grid-template-columns: 185px 1fr; gap: 42px; padding-top: 65px; padding-bottom: 85px; }
 .mdp-page__intro { padding-top: 75px; grid-template-columns: 1fr 0.76fr; gap: 35px; }
 .mdp-page__title h1 { font-size: clamp(43px,7vw,68px); }
 .mdp-page__visual-label { padding-inline: 35px; }
}
@media (max-width: 650px) {
 .subpage__breadcrumbs { padding-block: 15px; gap: 10px; font-size: 10px; }
 .subpage__masthead-grid { grid-template-columns: 1fr; gap: 15px; padding-top: 52px; padding-bottom: 56px; }
 .subpage__masthead h1 { font-size: clamp(42px, 10vw, 65px); }
 .subpage__edition { display: none; }
 .subpage__shell { display: flex; flex-direction: column; gap: 55px; padding-top: 48px; padding-bottom: 75px; }
 .subpage__side { order: 2; }
 .subpage__article { order: 1; }
 .subpage__side nav { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
 .subpage__lead { font-size: 22px; margin-bottom: 28px; }
 .subpage__article h2 { font-size: 29px; }
 .subpage__emergency { padding: 23px 22px; grid-template-columns: 1fr 80px; }
 .subpage__emergency strong { font-size: 54px; }
 .contact-directory > div { grid-template-columns: 1fr; gap: 9px; padding: 20px 0; }
 .people-list li { grid-template-columns: minmax(80px,105px) 1fr; gap: 12px; }
 .people-list strong { font-size: 15px; }
 .subpage__outro { align-items: flex-start; flex-direction: column; min-height: unset; }
 .mdp-page__intro { grid-template-columns: 1fr; gap: 32px; padding-top: 50px; padding-bottom: 61px; }
 .mdp-page__title h1 { font-size: clamp(46px,10.8vw,68px); }
 .mdp-page__intro-copy p { font-size: 16px; }
 .mdp-page__visual { height: clamp(300px,75vw,440px); }
 .mdp-page__visual-label { padding: 15px 22px; font-size: 8px; }
 .mdp-page__visual-label span:last-child { max-width: 155px; text-align: right; }
 .mdp-page__placeholder strong { font-size: 37vw; }
 .mdp-page__body-grid { grid-template-columns: 1fr; gap: 15px; margin-bottom: 48px; }
 .mdp-page__topics { grid-template-columns: 1fr; }
 .mdp-page__topics > div, .mdp-page__topics > div+div { border-left: 0; border-bottom: 1px solid #d4d9d2; padding: 18px 0; }
 .mdp-page__topics h3 { margin: 11px 0 6px; }
 .mdp-page__contact-inner { flex-direction: column; align-items: flex-start; gap: 31px; padding-top: 65px; padding-bottom: 65px; }
}
@media (prefers-reduced-motion: reduce) {
 .nav-dropdown__panel, .nav-dropdown__toggle svg { transition-duration: 0s !important; }
}


/* Kontakty do konkretnych spraw — czytelna lista zamiast kafelków */
.contact-people{margin-top:66px}
.contact-people__head{margin-bottom:26px}
.contact-people__head>span{display:block;margin-bottom:13px;font:500 11px var(--mono);color:#8e998f;letter-spacing:.05em}
.contact-people__head h2{margin:0;font-size:clamp(25px,2.7vw,38px);letter-spacing:-.045em}
.contact-people__list{border-top:1px solid var(--line)}
.contact-person{display:grid;grid-template-columns:minmax(140px,1fr) minmax(175px,1.15fr);gap:22px;padding:26px 0;border-bottom:1px solid var(--line)}
.contact-person__identity{display:flex;flex-direction:column;gap:8px;min-width:0}
.contact-person__identity strong{font-size:17px;font-weight:650;color:var(--ink)}
.contact-person__identity>span{font-size:13px;line-height:1.5;color:#6f7e72}
.contact-person__channels{display:flex;flex-direction:column;gap:9px;align-items:flex-start;min-width:0}
.contact-person__channels a{overflow-wrap:anywhere}
.contact-person__phone{font-size:clamp(19px,2.2vw,28px);letter-spacing:-.025em;font-weight:550;line-height:1.3;color:var(--ink)}
.contact-person__phone span{color:var(--red);font-size:17px;margin-left:8px}
.contact-person__email{font-size:13px;color:#65736a;text-decoration:underline;text-decoration-color:#c7d0c8;text-underline-offset:4px}
.contact-person__channels a:hover{color:var(--red)}
@media(max-width:650px){.contact-people{margin-top:48px}.contact-person{grid-template-columns:1fr;gap:12px;padding:22px 0}}

/* 8.2 — Osadzenie Facebooka: redakcyjna sekcja bez szablonowych kafelków. */
.facebook-feed { padding: 100px 0 112px; background: #eff1ec; border-top: 1px solid #dee3dc; border-bottom: 1px solid #dce1d9; }
.facebook-feed__layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 500px); align-items: start; gap: clamp(48px, 8vw, 145px); }
.facebook-feed__intro { position: sticky; top: 35px; padding-top: 34px; }
.facebook-feed__intro h2 { font-size: clamp(39px, 4.1vw, 61px); line-height: 1.1; letter-spacing: -.06em; font-weight: 500; margin: 25px 0 28px; }
.facebook-feed__intro h2 span { color: #737d76; }
.facebook-feed__intro p { max-width: 430px; font-size: 16px; line-height: 1.82; color: #586460; margin-bottom: 29px; }
.facebook-feed__link { border-bottom: 1px solid #717d75; padding: 0 0 8px; font-size: 14px; font-weight: 600; display: inline-flex; gap: 35px; align-items: center; }
.facebook-feed__link:hover { color: var(--red); border-color: var(--red); }
.facebook-feed__embed { min-width: 0; max-width: 500px; width: 100%; background: #fff; border: 1px solid #d5dcd4; }
.facebook-feed__embed-top { padding: 17px 20px; display: flex; justify-content: space-between; gap: 15px; border-bottom: 1px solid #e6eae4; color: #66716b; font: 500 10px/1.5 var(--mono); letter-spacing: .055em; }
.facebook-feed__embed-top span:first-child { color: #263231; font-weight: 600; }
.facebook-feed__privacy { min-height: 510px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(27px, 5vw, 54px); }
.facebook-feed__monogram { height: 44px; width: 44px; background: #2d5eaa; color: #fff; font: 700 34px/1.35 Arial,sans-serif; text-align: center; border-radius: 4px; margin-bottom: 33px; }
.facebook-feed__privacy h3 { font-weight: 600; font-size: clamp(24px, 2.5vw, 33px); line-height: 1.2; letter-spacing: -.04em; margin-bottom: 15px; }
.facebook-feed__privacy p { color: #5d6862; line-height: 1.75; font-size: 14px; max-width: 320px; margin-bottom: 29px; }
.facebook-feed__load { display: inline-flex; align-items: center; justify-content: space-between; gap: 32px; color: #fff; background: #a9352f; border: 1px solid #a9352f; padding: 13px 18px; min-height: 48px; font-size: 14px; font-weight: 600; transition: background .2s ease; }
.facebook-feed__load:hover { background: #8e2b26; }
.facebook-feed__load span { font-size: 19px; }
.facebook-feed__privacy[hidden] { display: none !important; }
.facebook-feed__frame { height: 560px; width: 100%; overflow: hidden; background: #fff; }
.facebook-feed__frame:not([hidden]) { display: block; }
.facebook-feed__frame iframe { display: block; width: 100%; height: 560px; border: 0; }
.facebook-feed__foot { font-size: 12px; line-height: 1.65; color: #717c76; border-top: 1px solid #edf0eb; padding: 14px 20px; }
.facebook-feed__foot a { color: #202b2c; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 900px) { .facebook-feed__layout { grid-template-columns: minmax(0,1fr) minmax(280px, 420px); gap: 35px; } .facebook-feed__intro { position: static; padding-top: 12px; } }
@media (max-width: 720px) { .facebook-feed { padding: 65px 0 72px; } .facebook-feed__layout { grid-template-columns: 1fr; gap: 37px; } .facebook-feed__intro h2 { font-size: clamp(34px, 8vw, 52px); } .facebook-feed__embed { max-width: 500px; } .facebook-feed__privacy { min-height: 370px; padding: 28px; } .facebook-feed__embed-top { flex-wrap: wrap; } }
