/* Centrum cvrček 2026 – mobile-first styles. Source of truth for the design: dev/design/mockup. */
:root {
  --red: #d0021b;
  --red-dark: #a80116;
  --orange: #f6a623;
  --yellow: #f8e81c;
  --blue: #4990e2;
  --blue-dark: #2f6fb8;
  --blue-darker: #255d9c;
  --green: #4d9a1c;
  --ink: #2b2a33;
  --muted: #66636f;
  --bg: #fffaf2;
  --card: #fff;
  --line: #f0e6d6;
  --field: #85828f; /* form field border: 3.6:1 on white */
  --blue-soft: #e8f2fc;
  --yellow-soft: #fff6d1;
  --green-soft: #e9f5e1;
  --red-soft: #fde8e6;
  --radius: 22px;
  --shadow: 0 6px 24px rgba(60, 40, 10, .08);
  --gutter: 16px;
  --font: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; } /* sticky header must not cover focused elements / anchors */
body { overflow-x: clip; margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.65 var(--font); overflow-wrap: break-word; }
img, video, iframe { max-width: 100%; }
img { height: auto; }
a { color: var(--blue-darker); text-underline-offset: 3px; } /* 5.4:1 or better on every tint */
a:hover { color: var(--red); }
h1, h2, h3, h4 { font-family: var(--font); font-weight: 800; line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 7vw, 3.2rem); }
h2 { font-size: clamp(1.45rem, 4.5vw, 2.1rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--blue-darker); outline-offset: 3px; border-radius: 6px; }
.site-footer :focus-visible { outline-color: #fff; }
.wrap { width: min(1180px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 8px; top: 8px; z-index: 100; background: #fff; padding: 8px 12px; border-radius: 8px; }
.clear { clear: both; }

/* ---------- Buttons ---------- */
.btn, .button a, div.buttonRezervace a, .wpcf7-submit, .search-form button, .wp-block-button__link {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: .6em 1.5em;
  border-radius: 999px; border: 2px solid transparent; background: var(--blue-dark); color: #fff; font: 800 1.05rem var(--font);
  text-decoration: none; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s;
}
.btn:hover, .button a:hover, div.buttonRezervace a:hover, .wpcf7-submit:hover, .search-form button:hover, .wp-block-button__link:hover { background: var(--blue-darker); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: #fff; color: var(--ink); border-color: var(--blue); }
div.buttonRezervace, .center { text-align: center; }
div.buttonRezervace { margin: 24px 0; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 250, 242, .95); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.admin-bar .site-header { top: 46px; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 10px; }
.brand { display: block; line-height: 0; }
.site-logo { width: 72px; height: auto; }
.nav-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 18px; background: #fff; border: 2px solid var(--line); border-radius: 999px; font: 800 1rem var(--font); color: var(--ink); cursor: pointer; }
.nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after { display: block; width: 20px; height: 2.5px; background: var(--ink); border-radius: 2px; position: relative; transition: .2s; }
.nav-toggle .bars::before, .nav-toggle .bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle .bars::before { top: -6px; } .nav-toggle .bars::after { top: 6px; }
.nav-open .nav-toggle .bars { background: transparent; }
.nav-open .nav-toggle .bars::before { top: 0; transform: rotate(45deg); }
.nav-open .nav-toggle .bars::after { top: 0; transform: rotate(-45deg); }

.main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 22px; box-shadow: 0 20px 30px rgba(0, 0, 0, .08); max-height: calc(100vh - 80px); overflow-y: auto; }
.nav-open .main-nav { display: block; }
.main-nav .menu { list-style: none; margin: 0; padding: 0; }
.main-nav a { display: block; padding: 14px 8px; font: 800 1.2rem var(--font); color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.main-nav .current-menu-item > a, .main-nav .current-menu-ancestor > a, .main-nav .current_page_item > a { color: var(--red); }
/* last menu item ("Přihlášení") is the call-to-action button */
.main-nav .menu > li:last-child > a { margin-top: 14px; text-align: center; background: var(--blue-dark); color: #fff; border-radius: 999px; border: 0; }

/* ---------- Layout ---------- */
.site-main { padding: 24px 0 40px; min-height: 50vh; }
.site-main:focus { outline: 0; } /* skip-link target */
.layout { display: grid; gap: 36px; }
.layout__content { min-width: 0; }
.layout__sidebar { min-width: 0; }
.page-header { margin-bottom: 24px; }
.page-title { margin-bottom: .3em; }
.crumbs { font-size: .92rem; color: var(--muted); margin-bottom: 8px; }
.crumbs a { color: var(--muted); display: inline-block; padding-block: 11px; margin-block: -11px; } /* 44 px tap height without moving the text */
.eyebrow { display: inline-block; padding: .25em .9em; border-radius: 999px; background: var(--yellow-soft); font: 800 .92rem var(--font); color: #7a5c00; margin-bottom: 10px; }
.entry-image { margin-bottom: 24px; }
.entry-image img { width: 100%; border-radius: 28px; box-shadow: var(--shadow); aspect-ratio: 16 / 9; object-fit: cover; }
.edit-link { font-size: .9rem; }
.booking { margin: 28px 0 8px; }

/* Widget band under the header (Header Widgets) */
.widget-band { width: min(1180px, 100% - 2 * var(--gutter)); margin: 20px auto 0; display: grid; gap: 16px; }

/* ---------- Content typography (page/post body) ---------- */
.prose > *:first-child { margin-top: 0; }
.prose h2 { margin-top: 1.5em; }
.prose h3 { margin-top: 1.2em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose img { border-radius: 14px; }
/* Floated images from the old content: only float when there is room, otherwise stack and centre */
.prose .alignleft, .prose .alignright, .prose .fotoLeft, .prose .fotoRight { float: none; display: block; max-width: 100%; margin: 4px auto 16px; }
.prose .aligncenter { display: block; margin-inline: auto; }
.prose figure.alignleft, .prose figure.alignright, .prose .wp-caption.alignleft, .prose .wp-caption.alignright { max-width: 100%; }
.prose::after { content: ""; display: table; clear: both; }
.left { float: left; } .right { float: right; }
.wp-caption, .wp-caption-text, .gallery-caption { max-width: 100%; font-size: .9rem; color: var(--muted); }
.line, hr.line { border: 0; border-top: 2px dashed var(--line); margin: 28px 0; }
blockquote { margin: 1.2em 0; padding: 12px 20px; border-left: 5px solid var(--yellow); background: var(--yellow-soft); border-radius: 0 var(--radius) var(--radius) 0; }
.prose iframe { border: 0; border-radius: 14px; }
.prose .wp-block-group { margin-block: 1em; }

/* Legacy content is often justified; that leaves big word gaps on phones */
.prose { hyphens: auto; }
h1, h2, h3, h4, .page-title, .eyebrow { hyphens: manual; overflow-wrap: normal; }
/* hyphenation is for long legacy text only, not for the designed home page blocks */
.home-hero, .home-notices, .home-section, .home-band, .home-partners, .card, .notice, .contact-card { hyphens: manual; }
.prose [style*="text-align: justify"], .prose [style*="text-align:justify"] { text-align: left !important; }

/* Tables used in the content (kurzInfo, kurzyPrehled, programKlubu, jidelniListek …) */
.prose table { width: 100%; border-collapse: collapse; margin: 1.2em 0; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.prose th, .prose td { padding: 10px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { background: var(--blue-soft); font-weight: 800; }
.prose table:not(.kurzInfo) { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.prose table:not(.kurzInfo) td, .prose table:not(.kurzInfo) th { min-width: 7.5rem; }
.prose table:not(.kurzInfo) img { max-width: none; }
/* course info: label above value on phones */
table.kurzInfo, table.kurzInfo tbody, table.kurzInfo tr, table.kurzInfo th, table.kurzInfo td { display: block; width: 100%; }
table.kurzInfo { box-shadow: none; background: none; }
table.kurzInfo tr { background: #fff; border-radius: 18px; box-shadow: var(--shadow); margin-bottom: 12px; overflow: hidden; }
table.kurzInfo th { background: var(--blue-soft); border: 0; font-size: .85rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); padding-bottom: 4px; }
table.kurzInfo td { border: 0; padding-top: 6px; }
table.kurzyPrehled td:empty, table.jidelniListek td:empty { background: transparent; }

/* Column shortcodes ([one_half], [one_half_last]) – stack on phones, side by side from 700px */
.prose .one_half, .prose .one_half_last { float: none; width: auto; margin: 0 0 1em; }
.prose .one_half_last + * { clear: both; }

/* Homepage content (content is edited in the page editor) */
.homepageContent .row { display: grid; gap: 0 32px; }
.homepageContent h2 a { color: var(--ink); text-decoration: none; }
.homepageContent h2 a:hover { color: var(--red); }
.homepageContent ul { list-style: none; padding: 0; }
.homepageContent li { padding-left: 28px; position: relative; }
.homepageContent li::before { content: "✓"; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--green); color: #fff; font-size: .72rem; font-weight: 800; display: grid; place-items: center; }


/* ---------- Home page (built from core blocks in the editor) ---------- */
.wp-block-button.is-style-outline .wp-block-button__link { background: #fff; color: var(--ink); border-color: var(--line); }
.wp-block-button.is-style-outline .wp-block-button__link:hover { border-color: var(--blue); }
.wp-block-buttons { gap: 12px; margin: 20px 0 0; }
.prose .alignfull { width: 100vw; max-width: none; margin-inline: calc(50% - 50vw); }

.home-hero { gap: 28px; margin: 0 0 8px; }
.home-hero h1 strong { color: var(--red); font-weight: 800; }
.home-hero .lead { font-size: 1.15rem; color: var(--muted); max-width: 34em; }
.home-hero .wp-block-image { margin: 0; }
.home-hero .wp-block-image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 32px; box-shadow: var(--shadow); }

.home-notices { gap: 12px; margin: 28px 0 8px; }
.notice { position: relative; padding: 18px 20px; border-radius: var(--radius); transition: transform .15s, box-shadow .15s; }
.notice:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.notice .notice__icon { font-size: 1.8rem; line-height: 1; margin: 0 0 6px; }
.notice h3 { font-size: 1.15rem; margin: 0 0 .15em; }
.notice h3 a, .home-cards .card h3 a { color: var(--ink); text-decoration: none; }
.notice h3 a::after, .home-cards .card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.notice p { margin: 0; color: var(--muted); font-size: .98rem; }
.n-blue { background: var(--blue-soft); } .n-yellow { background: var(--yellow-soft); } .n-green { background: var(--green-soft); } .n-red { background: var(--red-soft); }

.home-section { padding-block: 40px; }
.home-section > h2:first-child, .home-band > h2:first-child { margin-top: 0; }
.home-cards { gap: 14px; margin-top: 24px; }
.home-cards .card { position: relative; padding: 22px; display: block; }
.home-cards .card p { margin: 0; color: var(--muted); font-size: 1rem; }
.home-cards .card h3 { margin: 12px 0 .3em; }
.badge { width: 54px; height: 54px; display: grid; place-items: center; font-size: 1.7rem; border-radius: 16px; margin: 0; line-height: 1; }
.b1 { background: var(--red-soft); } .b2 { background: var(--yellow-soft); } .b3 { background: var(--blue-soft); } .b4 { background: var(--green-soft); }

.home-band { background: #fff; border-block: 1px solid var(--line); padding-block: 48px; margin-block: 24px; }
.home-band--blue { background: var(--blue-soft); border: 0; }
.home-band > * { width: min(1180px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.home-about, .home-advice { gap: 36px; align-items: center; }
.home-advice ul { margin: 0; }
.home-about h2 a, .home-advice h2 a { color: var(--ink); text-decoration: none; }
.home-about h2 a:hover, .home-advice h2 a:hover { color: var(--red); }

ul.ticks, .homepageContent ul { list-style: none; padding: 0; }
ul.ticks li { padding-left: 34px; position: relative; margin-bottom: .6em; }
ul.ticks li::before { content: "✓"; position: absolute; left: 0; top: 2px; width: 24px; height: 24px; border-radius: 50%; background: var(--green); color: #fff; font-size: .85rem; font-weight: 800; display: grid; place-items: center; }

.wp-block-gallery.has-nested-images { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image) { width: 100% !important; margin: 0; flex: none; } /* beats the core columns-N widths */
.wp-block-gallery.has-nested-images.columns-1 { grid-template-columns: 1fr; }
.wp-block-gallery .wp-block-image img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 18px; }
.home-gallery { margin-top: 20px; }
/* photo labels: small white pill bottom-left (replaces WordPress' dark gradient caption) */
.home-gallery.wp-block-gallery.has-nested-images figure.wp-block-image { position: relative; overflow: hidden; border-radius: 18px; }
.home-gallery.wp-block-gallery.has-nested-images figure.wp-block-image figcaption {
  position: absolute; left: 8px; right: auto; bottom: 8px; top: auto; width: auto; max-width: calc(100% - 16px);
  margin: 0; padding: 2px 10px; background: rgba(255, 255, 255, .92); color: var(--ink);
  border-radius: 10px; font: 800 .85rem var(--font); text-align: left; overflow: visible; max-height: none;
  text-shadow: none; will-change: auto; /* core adds a dark text-shadow (looks bolder) and will-change (blurs the text) */
}
.home-gallery.wp-block-gallery.has-nested-images figure.wp-block-image figcaption::before { display: none; }
.home-gallery.wp-block-gallery.has-nested-images figure.wp-block-image img { transition: transform .4s; }
.home-gallery.wp-block-gallery.has-nested-images figure.wp-block-image:hover img { transform: scale(1.05); }

.home-project { background: var(--yellow-soft); border-radius: 28px; padding: 26px 24px; }
.home-project p:last-child { margin-bottom: 0; }
.home-contacts { gap: 14px; }
.contact-card { border-radius: var(--radius); padding: 24px; height: 100%; }
.contact-card.a { background: var(--blue-soft); } .contact-card.b { background: var(--green-soft); }
.contact-card h3 { margin-top: 0; }
.contact-card p:last-child { margin-bottom: 0; }
.home-partners { padding-block: 24px 0; text-align: center; }
.partner-logos { gap: 20px 36px; align-items: center; justify-content: center; margin-bottom: 20px; }
.partner-logos .wp-block-image { margin: 0; }
.partner-logos img { height: 64px; width: auto; max-width: 100%; border-radius: 0; object-fit: contain; }
.partner-logos a { display: block; }
.home-partners a { font-weight: 800; }
.home-partners .note { color: var(--muted); font-size: .95rem; max-width: 46em; margin-inline: auto; }

/* ---------- Sidebar widgets ---------- */
.widget { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); margin-bottom: 16px; }
.widget-title { font-size: 1.15rem; margin-bottom: .6em; }
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget li { border-bottom: 1px solid var(--line); padding: 10px 0; }
.widget li:last-child { border: 0; }
.widget li a { text-decoration: none; font-weight: 700; color: var(--ink); }
.widget h3, .widget h4 { font-size: 1.05rem; margin: 1em 0 .4em; }
.widget li a:hover { color: var(--red); }
.widget p:last-child { margin-bottom: 0; }
.widget_social_icons p a { display: inline-block; margin-right: 8px; }

/* ---------- Cards / listings ---------- */
.card-grid { display: grid; gap: 16px; }
.card { background: var(--card); border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; transition: transform .15s; }
.card:hover { transform: translateY(-3px); }
.card__media { position: relative; display: block; aspect-ratio: 3 / 2; background: var(--blue-soft); }
.card__media img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 0; }
.card__media--empty { aspect-ratio: auto; min-height: 64px; background: linear-gradient(135deg, var(--yellow-soft), var(--blue-soft)); }
.card__media--empty .card__placeholder { display: none; }
.card__placeholder { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, var(--yellow-soft), var(--blue-soft)); }
.card__date { position: absolute; left: 12px; top: 12px; background: #fff; padding: 4px 12px; border-radius: 999px; font: 800 .9rem var(--font); box-shadow: var(--shadow); }
.card__body { padding: 16px 20px 20px; }
.card__title { font-size: 1.2rem; margin-bottom: .3em; }
.card__title a { color: var(--ink); text-decoration: none; }
.card__title a:hover { color: var(--red); }
.card__excerpt { color: var(--muted); font-size: 1rem; }
.card__excerpt p { margin: 0; }

.pagination { margin: 32px 0 0; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.pagination .page-numbers { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0 14px; background: #fff; border: 2px solid var(--line); border-radius: 999px; text-decoration: none; font-weight: 800; color: var(--ink); }
.pagination .current { background: var(--ink); border-color: var(--ink); color: #fff; }
.page-links { margin-top: 20px; font-weight: 700; }

/* ---------- Slider (home page gallery) ---------- */
.slider { position: relative; margin: 0 0 28px; }
.slider__track { list-style: none; margin: 0; padding: 0; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: 28px; box-shadow: var(--shadow); }
.slider__track::-webkit-scrollbar { display: none; }
.slider__slide { position: relative; flex: 0 0 100%; scroll-snap-align: center; margin: 0; }
.slider__slide img { width: 100%; aspect-ratio: 3 / 2; max-height: 70vh; object-fit: cover; display: block; border-radius: 0; }
.slider__caption { position: absolute; left: 14px; bottom: 14px; background: rgba(255, 255, 255, .93); padding: 3px 14px; border-radius: 999px; font: 800 .95rem var(--font); }
.slider__btn { position: absolute; top: 50%; translate: 0 -50%; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); box-shadow: var(--shadow); font-size: 1.7rem; line-height: 1; cursor: pointer; color: var(--ink); }
.slider__btn--prev { left: 10px; } .slider__btn--next { right: 10px; }

/* ---------- Photo galleries (NextGEN) ---------- */
.fotogalerie h3 { margin-top: 1.4em; }
.ngg-galleryoverview { overflow: visible !important; width: 100% !important; }
.ngg-gallery-thumbnail-box { float: none !important; width: auto !important; }
.ngg-galleryoverview, .ngg-albumoverview { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.ngg-galleryoverview > .ngg-navigation, .ngg-galleryoverview > .ngg-gallery-pagination, .ngg-galleryoverview > h3, .ngg-galleryoverview > .slideshowlink, .ngg-galleryoverview > br, .ngg-galleryoverview > .pic { grid-column: 1 / -1; }
.ngg-gallery-thumbnail img, .ngg-album .ngg-thumbnail img { width: 100%; height: auto; border-radius: 12px; display: block; border: 0; }
.ngg-album, .ngg-album-compact { float: none !important; width: auto !important; margin: 0 !important; padding: 0 !important; }
.ngg-album-compactbox, .ngg-thumbnail { float: none !important; width: auto !important; padding: 0 !important; }
.ngg-albumtitle { font-weight: 800; }
.ngg-navigation { text-align: center; }

/* ---------- Forms (Contact Form 7, search) ---------- */
input[type="text"], input[type="email"], input[type="tel"], input[type="search"], input[type="url"], input[type="number"], input[type="date"], select, textarea {
  width: 100%; min-height: 48px; padding: 10px 14px; font: inherit; color: var(--ink); background: #fff; border: 2px solid var(--field); border-radius: 14px;
}
textarea { min-height: 140px; }
input:focus, select:focus, textarea:focus { border-color: var(--blue-darker); } /* the global :focus-visible outline stays */
.wpcf7 p { margin-bottom: 1em; }
.wpcf7 label { display: block; font-weight: 700; }
.wpcf7-not-valid-tip { color: var(--red); font-size: .9rem; }
.wpcf7-response-output { border-radius: 14px; padding: 12px 16px !important; }
.search-form { display: flex; gap: 8px; flex-wrap: wrap; }
.search-form input { flex: 1 1 200px; width: auto; }

/* ---------- Comments ---------- */
.comments { margin-top: 40px; }
.comment-list { padding-left: 0; list-style: none; }
.comment-body { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin-bottom: 12px; }

/* ---------- Footer ---------- */
.footer-widgets { background: var(--blue-soft); padding: 32px 0; }
.site-footer { background: #2b2a33; color: #e9e6f0; padding: 44px 0 28px; position: relative; }
.site-footer::before { content: ""; position: absolute; inset: 0 0 auto; height: 8px; background: linear-gradient(90deg, var(--red) 0 25%, var(--orange) 25% 50%, var(--yellow) 50% 75%, var(--blue) 75%); }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover, .site-footer a:focus-visible { text-decoration: underline; }
.site-footer .social { display: flex; gap: 8px; margin: 0; }
.site-footer .social a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.1); }
.site-footer .social a:hover, .site-footer .social a:focus-visible { background: var(--yellow); color: #2b2a33; text-decoration: none; }
.site-footer h2 { font-size: 1.1rem; color: var(--yellow); }
.site-footer address { font-style: normal; }
.footer-grid { display: grid; gap: 24px; }
.footer-nav ul { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.copy { margin: 28px 0 0; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .15); font-size: .9rem; color: #b8b4c4; }

/* ---------- Tablet & desktop ---------- */
@media (min-width: 700px) {
  :root { --gutter: 24px; }
  .prose [style*="text-align: justify"], .prose [style*="text-align:justify"] { text-align: justify !important; }
  .prose .alignleft, .prose .fotoLeft { float: left; margin: 4px 20px 10px 0; max-width: 45%; }
  .prose .alignright, .prose .fotoRight { float: right; margin: 4px 0 10px 20px; max-width: 45%; }
  .wp-block-gallery.has-nested-images.columns-3 { grid-template-columns: repeat(3, 1fr); }
  .wp-block-gallery.has-nested-images.columns-4 { grid-template-columns: repeat(4, 1fr); }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .prose .one_half { float: left; width: 48%; margin: 0 4% 1em 0; }
  .prose .one_half_last { float: left; width: 48%; margin: 0 0 1em; }
  .homepageContent .row { grid-template-columns: 1fr 1fr; }
  .widget-band.columns-3 { grid-template-columns: repeat(3, 1fr); }
  table.kurzInfo { display: table; }
  table.kurzInfo tbody { display: table-row-group; }
  table.kurzInfo tr { display: table-row; box-shadow: none; }
  table.kurzInfo th, table.kurzInfo td { display: table-cell; width: auto; }
  table.kurzInfo th { width: 190px; font-size: 1rem; text-transform: none; letter-spacing: 0; color: var(--ink); }
  table.kurzInfo td, table.kurzInfo th { border-bottom: 1px solid var(--line); padding: 12px 16px; }
  table.kurzInfo { background: #fff; box-shadow: var(--shadow); border-radius: var(--radius); overflow: hidden; }
}
@media (min-width: 783px) { .admin-bar .site-header { top: 32px; } }
@media (min-width: 960px) {
  .home-hero { gap: 56px; }
  .home-band { padding-block: 72px; }
  .home-section { padding-block: 56px; }
  .home-project { padding: 36px 44px; }
  .site-logo { width: 96px; }
  .site-main { padding: 40px 0 72px; }
  .nav-toggle { display: none; }
  .main-nav { display: block; position: static; background: none; border: 0; padding: 0; box-shadow: none; max-height: none; overflow: visible; }
  .main-nav .menu { display: flex; align-items: center; gap: 2px; }
  .main-nav a { border: 0; padding: 10px 16px; font-size: 1.05rem; border-radius: 999px; }
  .main-nav a:hover { background: var(--yellow-soft); color: var(--ink); }
  .main-nav .menu > li:last-child > a { margin: 0 0 0 10px; padding: 10px 22px; }
  .main-nav .menu > li:last-child > a:hover { background: var(--blue-darker); color: #fff; }
  .layout.has-sidebar { grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; }
  .layout.sidebar-left { grid-template-columns: 320px minmax(0, 1fr); }
  .layout.sidebar-left .layout__sidebar { order: -1; }
  .card-grid { grid-template-columns: repeat(3, 1fr); }
  .layout.has-sidebar .card-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
