:root {
  color-scheme: light;
  --paper: #faf6ef;
  --ink: #0c5141;
  --ink-hover: #083d31;
  --body: #262a26;
  --muted: #4b5d51;
  --tint: #e8ecdb;
  --tint-strong: #c7d3ad;
  --ochre-card: #f2c084;
  --divider: #c7cbb9;
  --ochre: #e6a54f;
  --line: #dedbd0;
  --white: #fffdfa;
  --radius: 10px;
  --gutter: clamp(20px, 4.2vw, 64px);
  --content: 1240px;
  --heading: 'Manrope', sans-serif;
  --text: 'Source Sans 3', sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-gutter: stable both-edges; }
body { margin: 0; color: var(--body); background: var(--paper); font: 400 1.375rem/1.42 var(--text); }
a { color: inherit; text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
button, input, select { font: inherit; }
button { cursor: pointer; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #bb7b29; outline-offset: 5px; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { color: var(--ink); font-family: var(--heading); font-weight: 740; line-height: 1.16; letter-spacing: -.025em; text-wrap: pretty; }
h1 { font-size: clamp(2.25rem, 5.3vw, var(--hero-title, 4.125rem)); font-weight: 800; line-height: 1.02; letter-spacing: -.041em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 3rem); font-weight: 800; }
h3 { font-size: clamp(1.3rem, 2vw, 1.75rem); line-height: 1.2; font-weight: 770; }
p + p { margin-top: 14px; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
address { font-style: normal; }
[id] { scroll-margin-top: 26px; }
[hidden] { display: none !important; }
.wrap { width: min(var(--content), calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon {
  --icon-size: 23px;
  display: inline-block;
  flex: 0 0 auto;
  width: var(--icon-size);
  height: var(--icon-size);
  padding: calc(var(--icon-size) * .155);
  border-radius: 50%;
  background: var(--card-accent, var(--tint-strong));
  color: var(--ink);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: middle;
}
.skip { position: fixed; left: 12px; top: 12px; padding: 8px 16px; background: var(--white); color: var(--ink); z-index: 20; transform: translateY(-160%); }
.skip:focus { transform: none; }
.eyebrow { color: var(--ink); font-size: 1.15rem; font-weight: 700; margin-bottom: 20px; line-height: 1.28; }
.eyebrow::after, .hero-copy > h1:first-child::before { content: ''; display: block; width: 70px; height: 5px; border-radius: 3px; background: var(--ochre); margin-top: 13px; }
.hero-copy > h1:first-child::before { margin: 0 0 24px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; width: fit-content; max-width: 100%; min-height: 50px; border: 1px solid transparent; border-radius: 8px; padding: 10px 24px; background: var(--ink); color: var(--white); font-size: 1.2rem; font-weight: 700; line-height: 1.25; text-decoration: none; }
.button:hover { background: var(--ink-hover); }
.button .icon { --icon-size: 22px; }
.button.light { background: var(--paper); color: var(--ink); }
.button.light:hover { background: var(--tint); }
.text-link, .card-link { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); font-weight: 700; line-height: 1.35; text-decoration: underline; text-decoration-thickness: 1px; }
button.text-link { border: 0; background: none; padding: 0; text-align: left; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 15px 23px; }
.tag { display: inline-block; width: fit-content; padding: 4px 13px; border-radius: 6px; font-size: 1.02rem; font-weight: 700; color: var(--ink); background: var(--tint-strong); }
.mini { font-size: .96rem; color: var(--muted); }
.note { font-style: italic; margin-top: 16px; }
.tint { background: var(--tint); }
.section { margin-block: clamp(34px, 4.2vw, 59px); }
.short-section { margin-block: 33px; }
.section-heading { margin-bottom: 24px; }
.section-heading h2::after { content: ''; display: block; width: 65px; height: 5px; background: var(--ochre); border-radius: 3px; margin-top: 11px; }
.eyebrow + .section-heading h2::after { display: none; }
.section-intro { margin-top: -15px; margin-bottom: 30px; }
.grid { display: grid; gap: 24px; }
.grid-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-four { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* Shared navigation and brand. */
.site-header { position: relative; z-index: 5; background: var(--paper); }
.navrow { display: flex; align-items: center; gap: clamp(16px, 1.8vw, 26px); min-height: 116px; }
.brand { display: inline-flex; align-items: center; gap: 13px; text-decoration: none; color: var(--ink); flex: 0 0 auto; }
.brand-mark img { width: 107px; height: auto; object-fit: contain; mix-blend-mode: multiply; }
.brand-copy strong { display: block; font: 800 2.12rem/1.03 var(--heading); letter-spacing: -.017em; }
.brand-copy small { display: block; margin-top: 4px; font-size: 1.04rem; line-height: 1.2; }
.main-nav { display: flex; align-items: center; gap: clamp(16px, 2vw, 30px); margin-left: auto; }
.main-nav > a, .nav-group summary { color: var(--ink); white-space: nowrap; font-size: 1.2rem; font-weight: 700; text-decoration: none; }
.main-nav > a:hover, .nav-group summary:hover { text-decoration: underline; }
.nav-group { position: relative; }
.nav-group summary { display: flex; align-items: center; gap: 6px; cursor: pointer; list-style: none; }
.nav-group summary::-webkit-details-marker { display: none; }
.nav-group summary .icon { --icon-size: 15px; }
.nav-panel { position: absolute; right: -16px; top: calc(100% + 19px); display: grid; min-width: 290px; padding: 9px; border: 1px solid var(--line); background: var(--white); border-radius: var(--radius); box-shadow: 0 9px 30px #0c514120; }
.nav-panel a { color: var(--ink); padding: 10px 13px; text-decoration: none; font-size: 1.06rem; border-radius: 5px; }
.nav-panel a:hover, .nav-panel a[aria-current] { background: var(--tint); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-support { white-space: nowrap; font-size: 1.05rem; padding-inline: 16px; }
.icon-button { display: inline-grid; place-items: center; width: 43px; height: 43px; padding: 9px; color: var(--ink); background: var(--tint-strong); border: 1px solid transparent; border-radius: 50%; }
.icon-button .icon { background: transparent; padding: 0; }
.icon-button:hover { background: var(--tint); }
.menu-button, .main-nav .mobile-support { display: none; }

/* Every page opens with the same type scale and curved photo. */
main {
  --edge: min(89px, max(calc(var(--gutter) - 17px), calc((100% - var(--content)) / 2 - 21px)));
  background:
    url("assets/okraj-oblouk.svg") left top 10px / var(--edge) auto no-repeat,
    url("assets/okraj-listy.svg") left top 380px / var(--edge) auto no-repeat;
}
/* The shared hero uses the proportions of Sociální služby. */
.page-index { --hero-title: 4.375rem; }
.page-socialni-sluzby { --hero-title: 3.75rem; }
.page-socialni-podnikani, .page-tabory, .page-prodejni-mista { --hero-title: 4.5rem; }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 61%); align-items: center; gap: clamp(18px, 2vw, 29px); padding-block: 33px 0; }
.hero-copy h1 { margin-inline-end: calc(-1 * clamp(18px, 2vw, 29px)); }
.hero-copy .lead { max-width: 41ch; font-size: clamp(1.12rem, 1.7vw, 1.48rem); line-height: 1.34; margin-top: 19px; }
.page-index .hero-copy { padding-top: 19px; }
.page-index .hero-copy .lead { font-size: clamp(1.12rem, 1.9vw, 1.65rem); margin-top: 24px; }
.hero-copy .actions { margin-top: 25px; gap: 12px 24px; }
.hero-copy .text-link { font-size: 1.12rem; }
.page-index .hero-copy .actions { margin-top: 34px; }
.page-index .hero-copy .button { min-height: 60px; padding-inline: 34px; font-size: 1.32rem; }
.page-index .hero-copy .text-link { font-size: 1.375rem; }
.hero-art { position: relative; min-width: 0; }
.hero-art > .photo, .hero-art > .club-illustration { width: 100%; aspect-ratio: 1.48; max-height: 462px; overflow: hidden; border-radius: 55% 14px 14px 14px / 46% 14px 14px 14px; background: var(--tint); }
.photo { margin: 0; overflow: hidden; }
.photo > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-art .building img { object-position: center 24%; }
.page-index .hero-art img, .page-tabory .hero-art img { object-position: 36% center; }
.hero-arc { position: absolute; width: 48%; height: 24%; left: 10%; top: -5%; fill: var(--ochre); pointer-events: none; }
.club-illustration > svg { display: block; width: 100%; height: 100%; }
.page-index #co-delame { margin-top: clamp(43px, 5.2vw, 75px); }
.page-index #co-delame h2 { font-size: clamp(1.9rem, 4.45vw, 4rem); }
.page-index #co-delame .section-heading { margin-bottom: clamp(22px, 3.6vw, 50px); }
.page-index #aktuality { margin-top: clamp(38px, 5.7vw, 82px); }
.page-index #aktuality h2 { font-size: clamp(1.9rem, 4.15vw, 3.75rem); }
.page-index #aktuality .section-heading { margin-bottom: 20px; }
.page-index #aktuality .section-heading h2::after { display: none; }

/* Entry cards form one coherent group. */
.card, .picture-card { --card-accent: var(--tint-strong); }
:is(.card, .picture-card).ochre { --card-accent: var(--ochre-card); }
.card { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 22px 22px 20px; border: 1px solid var(--line); border-top: 9px solid var(--card-accent); border-radius: 10px; background: transparent; text-decoration: none; min-width: 0; }
.card > .icon { color: var(--ink); --icon-size: 73px; margin-bottom: 3px; stroke-width: 1.28; }
.card > p { color: var(--body); line-height: 1.44; }
.card-link { margin-top: auto; padding-top: 10px; font-size: 1.12rem; }
.card-link .icon { --icon-size: 22px; }
.card-arrow { align-self: end; margin-top: auto; color: var(--ink); }
.card-arrow .icon { --icon-size: 28px; }
a.card:hover, a.picture-card:hover { background: var(--white); border-color: var(--card-accent) var(--divider) var(--divider); }
a.card:hover .card-link, a.picture-card:hover .card-link { text-decoration-thickness: 2px; }
.grid-four { gap: 21px; }
.grid-four .card { min-height: 408px; padding: 29px 16px 20px; }
.grid-four .card > .icon { --icon-size: 86px; }
.grid-four .card h3 { font-size: clamp(1.23rem, 2.12vw, 1.875rem); }
.grid-four .card p { font-size: clamp(1.08rem, 1.72vw, 1.5rem); }
.grid-four .card-arrow .icon { --icon-size: 32px; }
.picture-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-top: 6px solid var(--card-accent); border-radius: 12px; text-decoration: none; min-width: 0; }
.picture-card > .photo, .picture-card > .club-logos { height: clamp(165px, 16.5vw, 230px); }
.card-copy { display: flex; flex: 1; flex-direction: column; gap: 9px; padding: 20px 22px 22px; }
.card-copy .eyebrow { font-size: 1rem; margin: 0 0 2px; }
.card-copy .eyebrow::after { margin-top: 8px; height: 3px; }
.card-copy h3 { font-size: clamp(1.35rem, 2.15vw, 1.9rem); }
.club-logos { display: flex; justify-content: center; align-items: center; gap: 37px; padding: 30px; background: var(--tint); }
.club-logos img { width: 28%; max-height: 150px; object-fit: contain; mix-blend-mode: multiply; }
.secondary-services { margin-top: 29px; }
.secondary-services .card { padding: 23px; }
.secondary-services h3 { font-size: 1.45rem; }
.soft-band { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px 34px; border-radius: 12px; background: var(--tint); }
.soft-band h2 { font-size: clamp(1.7rem, 2.6vw, 2.5rem); }
.soft-band p { margin-top: 7px; }
.soft-band .button { flex-shrink: 0; font-size: 1.4rem; }

/* Feature photographs and copy align on the same baseline. */
.feature { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; border-radius: 14px; overflow: hidden; }
.feature > .photo { min-height: 340px; }
.feature > .photo > img { height: 100%; }
.feature-copy { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 16px; padding: clamp(24px, 2.8vw, 42px); }
.feature-copy h2 { font-size: clamp(1.8rem, 3.4vw, 2.95rem); }
.feature-copy p { max-width: 41ch; }
.feature-copy p + p { margin-top: 0; }
.feature-copy .button, .feature-copy .text-link { margin-top: 4px; }
.page-index #o-nas .feature { grid-template-columns: minmax(0, 57fr) minmax(0, 43fr); padding: 18px; }
.page-index #o-nas .feature > .photo { min-height: 380px; border-radius: 10px; }
.page-index #o-nas .feature-copy { padding-right: 14px; }
.page-tabory #nabidka .card { min-height: 260px; }
.page-tabory .feature { padding: 16px; }
.page-tabory .feature > .photo { border-radius: 10px; }
.page-socialni-podnikani .workshop-grid .media-card { min-height: 290px; }
.workshop-grid { margin-top: 29px; }
.media-card { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1fr); gap: 23px; padding: 23px; align-items: stretch; }
.media-card .small-art { width: 100%; height: 100%; min-height: 245px; object-fit: cover; border-radius: 8px; }
.media-card img[src$=".svg"] { object-fit: contain; background: #f5ead7; }
.media-card > div { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; justify-content: center; }
.media-card h3 { font-size: clamp(1.3rem, 1.95vw, 1.75rem); }
.media-card .button { font-size: 1.05rem; padding-inline: 15px; margin-top: 2px; }
.quote-panel { padding: 31px 36px; border-radius: 12px; }
.quote-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .9fr) minmax(0, 1.05fr); gap: 30px; align-items: center; margin-top: 25px; }
.quote-grid > div { display: flex; flex-direction: column; align-items: flex-start; gap: 13px; }
.quote-grid .contact-link { font-size: 1.07rem; }
.split-copy { gap: 35px; }
.split-copy article { display: grid; justify-items: start; gap: 16px; }
.split-copy h2 { font-size: clamp(1.6rem, 2.3vw, 2rem); }
.steps { list-style: none; padding: 0; margin: 0; }
.steps > li { padding: 22px 28px 26px; border: 1px solid var(--line); border-radius: 10px; }
.steps span { display: block; color: #9e5d34; font: 750 3rem/1.1 var(--heading); margin-bottom: 11px; }
.steps h3 { font-size: 1.35rem; }
.steps p { margin-top: 10px; }
.camp-contact { margin-top: 25px; }
.camp-contact > button { margin-left: auto; font-size: 1rem; }
.location-card { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 24px; padding-block: 29px; align-items: center; }
.location-card > .icon { --icon-size: 47px; margin: 0; }
.location-card p { margin-top: 8px; }
.print-feature { margin-top: 26px; background: #f5efe3; border: 1px solid #e9e0d0; }
.print-feature > .photo { padding: 25px; min-height: 310px; }
.print-feature img { object-fit: contain; border-radius: 9px; }
.address-line { display: flex; align-items: center; gap: 12px; font-weight: 650; }

/* Notices accommodate posters and practical announcements. */
.news-grid { grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr); gap: 17px; }
.news-poster, .news-notice { position: relative; min-height: clamp(290px, 26.5vw, 405px); padding: 31px 34px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.news-poster { background: #f5ead6; }
.news-poster::before { content: ''; position: absolute; right: -7%; bottom: -64px; width: 65%; height: 138px; border-radius: 95% 13% 0 0 / 85% 25% 0 0; transform: rotate(-11deg); background: var(--tint-strong); }
.news-poster > div { position: relative; z-index: 1; max-width: 65%; }
.news-poster h3 { font-size: clamp(2.5rem, 5.65vw, 4.95rem); line-height: .98; margin-bottom: 13px; }
.news-poster .eyebrow { margin-bottom: 15px; }
.news-poster > div > p:last-child { max-width: 17ch; font-size: 1.5rem; }
.news-poster .kite { position: absolute; right: 4%; bottom: 3%; width: 39%; height: 83%; }
.news-notice { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 13px; }
.news-notice h3 { font-size: clamp(1.6rem, 3vw, 2.55rem); }
.news-notice .button { margin-top: 7px; }

/* Practical service information retains a readable rhythm. */
.jump { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 0; margin-top: 23px; margin-bottom: 0; border-radius: 9px; }
.jump + .section { margin-top: clamp(23px, 3vw, 38px); }
.jump a { color: var(--ink); font-weight: 650; padding: 9px 26px; text-decoration: underline; }
.jump a:first-child { padding-left: 0; }
.jump a + a { border-left: 1px solid var(--divider); }
.jump.tint { padding: 10px 15px; }
.jump.tint a { flex: 1; text-align: center; padding-left: 16px; white-space: nowrap; }
.visit-grid { gap: 42px; align-items: start; }
.visit-grid .section-heading { margin-bottom: 17px; }
.hours { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; margin-top: 19px; text-align: center; font-size: 1.22rem; font-variant-numeric: tabular-nums; }
.hours th, .hours td { padding: 11px 10px; border-bottom: 1px solid #e7e1d4; }
.hours thead th { background: var(--tint); color: var(--ink); }
.hours thead th:last-child { background: #f4dfbc; }
.hours th:first-child { text-align: left; }
.hours th small { display: block; font-weight: 450; font-size: .92rem; }
.hours tr:last-child > * { border-bottom: 0; }
.contact-card { border: 1px solid var(--line); border-radius: 11px; padding: 28px 30px; }
.visit-grid .contact-card { padding: 10px 20px 17px; }
.contact-lines { display: grid; gap: 11px; padding: 0; margin: 0; list-style: none; }
.contact-lines li { display: flex; align-items: flex-start; gap: 14px; min-width: 0; line-height: 1.4; }
.contact-lines .icon { color: var(--ink); margin-top: 3px; }
.contact-lines a { text-decoration: none; overflow-wrap: anywhere; }
.contact-lines a:hover { text-decoration: underline; }
.contact-link { display: inline-flex; align-items: center; gap: 12px; min-width: 0; color: var(--ink); font-size: 1.1rem; text-decoration: none; overflow-wrap: anywhere; }
.contact-link:hover { text-decoration: underline; }
.map-link { display: block; margin-top: 21px; font-size: .99rem; text-decoration: none; }
.map-link img { width: 100%; max-height: 250px; object-fit: contain; border-radius: 10px; }
.visit-grid .map-link img { max-height: 270px; }
.map-link span { display: flex; gap: 9px; align-items: center; margin-top: 9px; color: var(--muted); }
.map-link .icon { --icon-size: 16px; }
.activities { padding: 30px 34px; border-radius: 13px; }
.activities .section-heading { margin-bottom: 25px; }
.activities .grid { gap: 22px; }
.activities article { display: flex; align-items: center; gap: 19px; padding: 19px; border-radius: 9px; background: var(--white); }
.activities article .icon { --icon-size: 45px; }
.activities h3 { font: 700 1.19rem/1.3 var(--text); letter-spacing: 0; }
.activities > p { margin-top: 19px; }
.info-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 50px; }
.document-list { list-style: none; margin: 0; padding: 0; }
.document-list li + li { margin-top: 9px; }
.document-list a { display: flex; align-items: center; gap: 13px; min-height: 46px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 7px; color: var(--ink); font-weight: 650; font-size: 1.07rem; text-decoration: none; }
.document-list a:hover { background: var(--tint); text-decoration: underline; }
.document-list span { flex: 1; }
.document-list small { font-size: .83rem; color: var(--muted); }
.children-panel { display: grid; grid-template-columns: minmax(0, .6fr) minmax(0, 1fr); align-items: center; gap: 32px; padding: 29px 34px; border-radius: 12px; }
.children-panel > div:first-child p { margin-top: 18px; }
.children-panel h2::before { content: ''; width: 49px; height: 4px; background: var(--ochre); display: block; margin-bottom: 18px; border-radius: 3px; }
.leaflets { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 25px; }
.leaflets a { display: block; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 1.07rem; }
.leaflets a:hover span { text-decoration: underline; }
.leaflets img { width: 100%; aspect-ratio: .69; object-fit: contain; background: #fffefa; border-radius: 9px; }
.leaflets span { display: flex; align-items: center; gap: 8px; padding-top: 12px; }
.leaflets .icon { --icon-size: 18px; }
.foster-contact { grid-template-columns: minmax(0, 1.3fr) minmax(0, .9fr); gap: 45px; }
.foster-contact .section-heading h2 { font-size: clamp(1.8rem, 2.6vw, 2.5rem); }
.foster-contact .section-heading { margin-bottom: 19px; }
.foster-contact .contact-card { align-self: start; }
.foster-contact .contact-card h3 { margin-top: 15px; }
.foster-contact .contact-lines { margin-top: 16px; font-size: 1.08rem; }
.foster-info { gap: 50px; }
.foster-info h2 { font-size: clamp(1.65rem, 2.5vw, 2.25rem); }
.foster-info > div:first-child { border-right: 1px solid var(--line); padding-right: 40px; }
.service-details { font-size: 1.03rem; margin-top: 20px; }
.service-details summary { cursor: pointer; display: flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 700; text-decoration: underline; }
.service-details summary .icon { --icon-size: 17px; }
.service-details[open] summary .icon { transform: rotate(180deg); }
.details-content { display: grid; gap: 20px; margin-top: 20px; }
.details-content h3 { font-size: 1.2rem; }
.details-content p { margin-top: 8px; }

/* One shared support band and footer. */
.support { position: relative; overflow: hidden; margin-top: 44px; padding: 32px 0 41px; color: var(--paper); background: var(--ink); }
.support::after { content: ''; position: absolute; pointer-events: none; width: 61%; height: 72px; right: -9%; bottom: -40px; background: var(--tint-strong); border-radius: 80% 50% 0 0 / 100% 100% 0 0; transform: rotate(-3deg); }
.support-row { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.support h2 { color: var(--paper); }
.support p { max-width: 60ch; margin-top: 8px; }
.support p:empty { display: none; }
.support .button { flex: 0 0 auto; }
.site-footer { padding: 39px 0 20px; color: var(--body); }
.footer-grid { display: grid; grid-template-columns: 1.25fr 1.1fr .55fr; gap: 45px; align-items: center; }
.footer-grid > * + * { border-left: 1px solid var(--divider); padding-left: 39px; }
.footer-grid .brand-mark img { width: 89px; height: auto; }
.footer-grid .contact-lines { font-size: 1.07rem; gap: 8px; }
.footer-grid .contact-lines .icon { --icon-size: 20px; margin-top: 1px; }
.footer-nav { display: grid; gap: 3px; font-size: 1.08rem; }
.footer-nav a { text-decoration: none; }
.footer-nav a:hover { text-decoration: underline; }
.footer-note { margin-top: 24px; padding-top: 13px; border-top: 1px solid var(--divider); font-size: .94rem; color: var(--ink); }
.sponsors { padding-block: 28px 33px; border-bottom: 1px solid var(--line); text-align: center; }
.sponsors p { color: var(--ink); font-weight: 650; font-size: 1.08rem; }
.sponsor-logos { display: flex; flex-wrap: wrap; justify-content: space-evenly; align-items: center; gap: 20px; max-width: 1030px; margin: 23px auto 0; padding: 0; list-style: none; }
.sponsor-logos li { display: grid; place-items: center; flex: 1 1 140px; min-height: 55px; }
.sponsor-logos img { width: auto; height: 48px; max-width: 180px; object-fit: contain; }

/* Local prototype dialogs. */
dialog { width: min(560px, calc(100% - 30px)); max-height: calc(100% - 35px); border: 1px solid var(--line); border-radius: 13px; padding: 29px; color: var(--body); background: var(--paper); }
dialog::backdrop { background: #173c31af; }
.dialog-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 15px; }
.dialog-heading h2 { font-size: 1.9rem; }
.dialog-heading .icon-button { flex-shrink: 0; }
.form { display: grid; gap: 15px; margin-top: 20px; }
.form label { display: grid; gap: 6px; font-weight: 600; }
.form input, .form select { width: 100%; min-height: 46px; padding: 9px 12px; color: var(--body); border: 1px solid #819587; background: var(--white); border-radius: 6px; }
.notice { margin-top: 20px; padding: 17px; background: var(--tint); border-radius: 8px; }

@media (max-width: 1250px) {
  .page-index .hero-copy { padding-top: 0; }
  .page-index .hero-copy .lead { font-size: 1.17rem; margin-top: 21px; }
  .page-index .hero-copy .actions { margin-top: 24px; gap: 14px; }
  .page-index .hero-copy .button { min-height: 50px; padding-inline: 20px; font-size: 1.14rem; }
  .page-index .hero-copy .text-link { font-size: 1.12rem; }
}
@media (min-width: 711px) and (max-width: 1180px) {
  .hero h1 { font-size: clamp(1.95rem, 4.5vw, var(--hero-title, 4.125rem)); }
  .hero-copy .eyebrow { margin-bottom: 16px; }
  .hero-copy .lead { margin-top: 15px; }
  .hero-copy .actions { margin-top: 21px; gap: 12px 14px; }
  .hero-copy .button { padding-inline: 16px; }
  .page-pestounske-rodiny .hero h1 { font-size: clamp(1.95rem, 4vw, 3rem); }
  .page-pestounske-rodiny .hero-copy .lead { line-height: 1.25; }
  .page-pestounske-rodiny .hero-copy .actions { margin-top: 16px; }
}
@media (max-width: 1180px) {
  .navrow { min-height: 101px; gap: 17px; }
  .site-header .brand-mark img { width: 79px; }
  .site-header .brand-copy strong { font-size: 1.85rem; }
  .site-header .brand-copy small { font-size: .94rem; }
  .main-nav { gap: 17px; }
  .main-nav > a, .nav-group summary { font-size: 1rem; }
  .footer-grid { gap: 27px; }
  .footer-grid > * + * { padding-left: 24px; }
  .quote-grid { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
  .quote-grid > p { grid-column: 1 / -1; }
  .media-card { grid-template-columns: minmax(0,.6fr) minmax(0,1fr); gap: 17px; padding: 18px; }
  .media-card .button { padding-inline: 13px; }
}
@media (max-width: 1000px) {
  body { font-size: 1.15rem; }
  h1 { font-size: clamp(1.95rem, 4.5vw, 3rem); }
  .navrow { min-height: 84px; }
  .main-nav { display: none; position: absolute; inset: 100% 0 auto; background: var(--paper); padding: 10px var(--gutter) 21px; border-block: 1px solid var(--line); box-shadow: 0 12px 18px #0c514114; }
  .main-nav.is-open { display: grid; gap: 0; }
  .main-nav > a, .nav-group summary { padding: 11px 0; }
  .nav-panel { position: static; box-shadow: none; margin-bottom: 10px; min-width: 0; }
  .header-actions { margin-left: auto; }
  .menu-button { display: inline-grid; }
  .hero { grid-template-columns: minmax(0,1fr) minmax(0,55%); gap: 22px; }
  .hero-copy h1 { margin-inline-end: 0; }
  .hero-copy .lead { font-size: 1.17rem; }
  .grid-four { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .grid-four .card { min-height: 255px; }
  .grid-four .card > .icon { --icon-size: 61px; }
  .grid-four .card h3 { font-size: 1.5rem; }
  .feature-copy { padding: 26px; }
  .media-card { grid-template-columns: 1fr; }
  .media-card .small-art { height: 170px; min-height: 0; }
  .media-card img[src$=".svg"] { object-fit: cover; }
  .activities .grid { gap: 13px; }
  .activities article { gap: 12px; padding: 14px; }
  .activities article .icon { --icon-size: 32px; }
  .activities h3 { font-size: 1.05rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > .brand { grid-column: 1 / -1; }
  .footer-grid > .contact-lines { border-left: 0; padding-left: 0; }
  .children-panel { gap: 23px; padding: 25px; }
  .leaflets { gap: 15px; }
  .visit-grid { gap: 24px; }
  .contact-card { padding: 23px; }
}
@media (min-width: 711px) and (max-width: 1000px) {
  .hero { min-height: 390px; }
  .hero-break { display: none; }
}
@media (max-width: 710px) {
  main { background-image: url("assets/okraj-oblouk.svg"); }
  h1 { font-size: clamp(2rem, 8.1vw, 3rem); }
  h2 { font-size: 1.9rem; }
  h3 { font-size: 1.43rem; }
  .section { margin-block: 37px; }
  .short-section { margin-block: 27px; }
  .section-heading { margin-bottom: 23px; }
  .section-intro { margin-top: -10px; margin-bottom: 24px; }
  .grid { gap: 18px; }
  .grid-two, .grid-three, .grid-four { grid-template-columns: minmax(0,1fr); }
  .navrow { min-height: 76px; gap: 12px; }
  .brand { gap: 9px; }
  .brand-mark img { width: 55px; height: 52px; }
  .site-header .brand-mark img { width: 55px; }
  .brand-copy strong { font-size: 1.38rem; }
  .brand-copy small { max-width: 20ch; font-size: .79rem; }
  .site-header .brand-copy strong { font-size: 1.38rem; }
  .site-header .brand-copy small { font-size: .79rem; }
  .header-support { display: none; }
  .header-actions { gap: 7px; }
  .icon-button { width: 39px; height: 39px; padding: 8px; }
  .main-nav .mobile-support { display: block; }
  .hero { grid-template-columns: minmax(0,1fr); gap: 32px; padding-top: 24px; }
  .hero-break { display: none; }
  .page-index h1 .hero-break { display: initial; }
  .hero-copy .lead { font-size: 1.15rem; margin-top: 20px; }
  .hero-copy .actions { margin-top: 23px; gap: 14px 20px; }
  .hero-art > .photo, .hero-art > .club-illustration { aspect-ratio: 1.42; max-height: none; border-radius: 44% 10px 10px 10px / 43% 10px 10px 10px; }
  .eyebrow { font-size: .97rem; margin-bottom: 17px; }
  .button { font-size: 1.05rem; padding: 11px 18px; min-height: 46px; }
  .card { padding: 23px; gap: 12px; }
  .card > .icon { color: var(--ink); --icon-size: 49px; }
  .grid-four .card { min-height: 0; padding-inline: 23px; }
  .grid-four .card > .icon { --icon-size: 54px; }
  .grid-four .card h3 { font-size: 1.5rem; }
  .picture-card > .photo, .picture-card > .club-logos { height: 195px; }
  .card-copy { padding: 22px; }
  .card-link { padding-top: 7px; font-size: 1.07rem; }
  .club-logos { gap: 34px; padding: 25px; }
  .club-logos img { width: 32%; }
  .secondary-services { margin-top: 24px; }
  .soft-band { display: grid; justify-items: start; padding: 24px; gap: 20px; }
  .soft-band .button { font-size: 1.2rem; }
  .feature { grid-template-columns: minmax(0,1fr); }
  .page-index #o-nas .feature { grid-template-columns: minmax(0,1fr); padding: 11px; }
  .page-index #o-nas .feature > .photo { min-height: 0; }
  .page-tabory #nabidka .card { min-height: 0; }
  .page-tabory .feature { padding: 11px; }
  .feature > .photo { min-height: 0; aspect-ratio: 1.45; }
  .feature-copy { padding: 25px; gap: 17px; }
  .feature-copy h2 { font-size: 1.83rem; }
  .workshop-grid { margin-top: 22px; }
  .media-card { grid-template-columns: minmax(0,.65fr) minmax(0,1fr); gap: 17px; padding: 18px; }
  .media-card .small-art { min-height: 210px; height: 100%; }
  .media-card img[src$=".svg"] { object-fit: contain; }
  .media-card .button { font-size: .98rem; padding-inline: 12px; gap: 7px; }
  .media-card .button .icon { --icon-size: 18px; }
  .quote-panel { padding: 24px; }
  .quote-grid { grid-template-columns: 1fr; gap: 24px; margin-top: 20px; }
  .quote-grid > div { gap: 11px; }
  .quote-grid .contact-link { font-size: 1rem; }
  .split-copy { gap: 31px; }
  .steps { gap: 15px; }
  .steps > li { display: grid; grid-template-columns: 37px minmax(0,1fr); gap: 4px 13px; padding: 20px; }
  .steps span { grid-row: 1 / 3; font-size: 2.6rem; margin: 0; }
  .steps p { grid-column: 2; margin: 0; }
  .camp-contact { margin-top: 22px; gap: 19px; }
  .camp-contact > button { margin-left: 0; }
  .location-card { grid-template-columns: auto minmax(0,1fr); padding: 23px; gap: 20px; }
  .location-card p { margin-top: 6px; }
  .location-card > .icon { --icon-size: 36px; }
  .print-feature > .photo { min-height: 0; padding: 20px; aspect-ratio: 1.45; }
  .print-feature > .feature-copy { order: 2; }
  .print-feature .photo { order: 1; }
  .news-poster, .news-notice { padding: 25px; min-height: 245px; }
  .news-poster > div > p:last-child { font-size: 1.15rem; }
  .news-poster h3 { font-size: clamp(2.25rem, 8.2vw, 3.2rem); }
  .news-notice { min-height: 230px; }
  .jump { gap: 5px 0; margin-top: 23px; }
  .jump a { font-size: 1rem; padding: 8px 14px; }
  .jump.tint { display: grid; grid-template-columns: 1fr 1fr; padding: 9px; }
  .jump.tint a { white-space: normal; padding-inline: 8px; }
  .jump.tint a:nth-child(3) { border-left: 0; }
  .visit-grid { gap: 25px; }
  .hours { margin-top: 20px; font-size: 1.01rem; }
  .hours th, .hours td { padding: 11px 7px; }
  .hours th small { font-size: .86rem; }
  .contact-card { padding: 22px; }
  .activities { padding: 24px; }
  .activities article { padding: 17px; }
  .activities h3 { font-size: 1.12rem; }
  .activities article .icon { color: var(--ink); --icon-size: 39px; }
  .activities > p { margin-top: 18px; }
  .info-layout { grid-template-columns: 1fr; gap: 24px; }
  .children-panel { grid-template-columns: 1fr; padding: 24px; gap: 25px; }
  .children-panel h2::before { margin-bottom: 12px; }
  .children-panel > div:first-child p { margin-top: 16px; }
  .leaflets { gap: 14px; }
  .leaflets a { font-size: .98rem; }
  .leaflets span { display: block; }
  .leaflets span .icon { display: inline-block; margin-left: 4px; }
  .foster-contact { gap: 24px; }
  .foster-info { gap: 28px; }
  .foster-info > div:first-child { border: 0; padding: 0; }
  .document-list a { font-size: 1rem; gap: 9px; padding-inline: 9px; }
  .document-list a > .icon:last-child { --icon-size: 19px; }
  .support { margin-top: 32px; padding-block: 27px 32px; }
  .support-row { display: grid; justify-items: start; gap: 23px; }
  .support h2 { font-size: 2rem; }
  .site-footer { padding-top: 29px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-grid > * + * { border-left: 0; padding-left: 0; }
  .footer-grid .brand-mark img { width: 65px; height: 65px; }
  .footer-grid .brand-copy strong { font-size: 1.6rem; }
  .footer-grid .brand-copy small { font-size: .85rem; }
  .footer-grid .contact-lines { font-size: 1.08rem; }
  .footer-nav { grid-template-columns: 1fr 1fr; gap: 7px; border-top: 1px solid var(--line); padding-top: 18px; }
  .footer-note { margin-top: 21px; font-size: .91rem; }
  .sponsors { padding-block: 23px; }
  .sponsors p { font-size: 1rem; }
  .sponsor-logos { gap: 21px 15px; margin-top: 20px; }
  .sponsor-logos li { flex-basis: 90px; }
  .sponsor-logos img { height: 40px; max-width: 100px; }
  dialog { padding: 22px; }
}
@media (max-width: 380px) {
  .brand-mark img { width: 46px; height: 46px; }
  .site-header .brand-mark img { width: 46px; }
  .site-header .brand-copy strong { font-size: 1.2rem; }
  .site-header .brand-copy small { font-size: .71rem; }
  .brand { gap: 7px; }
  .header-actions { gap: 5px; }
  .icon-button { width: 34px; height: 36px; padding: 7px; }
  .media-card { grid-template-columns: 1fr; }
  .media-card .small-art { min-height: 0; height: 180px; }
  .media-card img[src$=".svg"] { object-fit: cover; }
  .contact-card { padding: 17px; }
  .contact-lines { gap: 12px; }
  .contact-lines li { gap: 10px; }
  .contact-lines .icon { --icon-size: 21px; }
  .hours th, .hours td { padding-inline: 5px; }
  .hours thead th { font-size: .95rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
