/*
Theme Name: Juwelier Welz
Description: Custom theme for welz.info. Sections are plain core blocks with "welz-*" CSS classes, so all content stays editable in the block editor.
Author: PC-Mentor GmbH
Version: 0.1.0
Requires at least: 6.6
Requires PHP: 8.1
Text Domain: welz
*/

/* ---------- Fonts (self-hosted, no external requests) ---------- */
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('assets/fonts/jost-latin-wght-normal.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 300 700; font-display: swap; src: url('assets/fonts/cormorant-garamond-latin-wght-normal.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 300 700; font-display: swap; src: url('assets/fonts/cormorant-garamond-latin-wght-italic.woff2') format('woff2'); }

:root {
  --ink: #171615;
  --ink-soft: #55514b;
  --paper: #fbf9f5;
  --sand: #f1ece3;
  --line: #e2dccf;
  --gold: #a98646;
  --gold-soft: #cdb27c;
  --white: #ffffff;
  --serif: 'Cormorant Garamond', 'Baskerville', 'Times New Roman', serif;
  --sans: 'Jost', 'Avenir Next', 'Helvetica Neue', sans-serif;
  --wrap: 1200px;
  --gutter: 24px;
  --section: clamp(56px, 8vw, 110px);
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--paper); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--paper); font-size: 17px; line-height: 1.65; font-weight: 300; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p, ul, ol, figure, table, blockquote { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--serif); font-weight: 500; line-height: 1.08; letter-spacing: -.005em; }
h1 { font-size: clamp(42px, 6.2vw, 82px); }
h2 { font-size: clamp(32px, 4.2vw, 52px); }
h3 { font-size: clamp(24px, 2.6vw, 30px); }
h4 { font-size: 22px; }
h1 em, h2 em { font-style: italic; color: var(--gold); font-weight: 400; }
strong, b { font-weight: 500; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { position: fixed; left: 12px; top: 12px; z-index: 100; width: auto; height: auto; clip-path: none; background: var(--ink); color: var(--white); padding: 10px 16px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.wrap { max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Top bar ---------- */
.topbar { background: var(--ink); color: #d9d3c7; font-size: 13.5px; letter-spacing: .06em; }
.topbar .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 30px; padding-top: 10px; padding-bottom: 10px; }
.topbar b { font-weight: 500; color: var(--white); }
.topbar a { text-decoration: none; }
.topbar .contact { display: flex; flex-wrap: wrap; gap: 4px 30px; }

/* ---------- Header ---------- */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 108px; }
.site-header .logo img { height: 80px; width: auto; }
.site-nav ul { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; white-space: nowrap; font-size: 14px; letter-spacing: .11em; text-transform: uppercase; font-weight: 400; }
.site-nav a { text-decoration: none; padding-bottom: 4px; border-bottom: 1px solid transparent; }
.site-nav a:hover, .site-nav .current-menu-item > a, .site-nav .current-page-ancestor > a { border-bottom-color: var(--gold); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); padding: 12px 14px; font: inherit; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); cursor: pointer; }

/* ---------- Buttons ---------- */
.btn, .wp-block-button__link, .welz-form button[type=submit] { display: inline-block; white-space: nowrap; padding: 15px 26px; font-family: var(--sans); font-size: 14px; line-height: 1.4; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; text-decoration: none; background: var(--ink); color: var(--white); border: 1px solid var(--ink); border-radius: 0; cursor: pointer; transition: background .15s, color .15s; }
.btn:hover, .wp-block-button__link:hover, .welz-form button[type=submit]:hover { background: var(--gold); border-color: var(--gold); color: var(--white); }
.wp-block-button.is-style-outline .wp-block-button__link { background: transparent; color: var(--ink); border: 1px solid var(--ink); padding: 15px 26px; }
.wp-block-button.is-style-outline .wp-block-button__link:hover { background: var(--ink); color: var(--white); }
.wp-block-button.is-style-gold .wp-block-button__link { background: var(--gold); border-color: var(--gold); }
.wp-block-button.is-style-gold .wp-block-button__link:hover { background: var(--ink); border-color: var(--ink); }
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.welz-dark .wp-block-button.is-style-outline .wp-block-button__link { color: var(--white); border-color: rgba(255,255,255,.55); }

/* ---------- Shared text styles ---------- */
.eyebrow { font-size: 13.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); font-weight: 500; }
.lead { font-size: clamp(18px, 1.6vw, 20px); color: var(--ink-soft); line-height: 1.6; }
.more a, a.more { font-size: 14px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--gold); padding-bottom: 5px; }
.wp-block-separator { width: 56px; height: 1px; border: 0; background: var(--gold); margin: 26px 0; }

/* ---------- Page layout ---------- */
.page-head { border-bottom: 1px solid var(--line); background: var(--white); }
.page-head .wrap { padding-top: 26px; padding-bottom: clamp(34px, 5vw, 56px); }
.crumb { font-size: 13.5px; letter-spacing: .1em; text-transform: uppercase; color: #8b857a; }
.crumb a { text-decoration: none; }
.page-head h1 { margin-top: 20px; font-size: clamp(40px, 5.4vw, 68px); }

.entry-content > * { max-width: var(--wrap); margin-left: auto; margin-right: auto; }
.entry-content > :not(.alignfull) { width: calc(100% - 2 * var(--gutter)); }
.entry-content > .alignfull { max-width: none; }
.entry-content > :where(p, ul, ol, h2, h3, h4, figure, table, .wp-block-columns, .wp-block-gallery, .wp-block-buttons):not(.alignfull) { margin-top: 22px; }
.entry-content > form, .entry-content > .welz-form-success { margin-top: 34px; }
.entry-content > :first-child:not(.alignfull) { margin-top: clamp(40px, 5vw, 64px); }
.entry-content > .welz-block:first-child { margin-top: 0; }
.entry-content > :last-child:not(.alignfull) { margin-bottom: var(--section); }
.entry-content :where(p, li) a { text-decoration-color: var(--gold); text-underline-offset: 3px; }
.entry-content ul, .entry-content ol { padding-left: 1.2em; }
.entry-content li + li { margin-top: 4px; }

/* Full-width section: background spans the viewport, content stays in the wrap */
.welz-section { padding: var(--section) var(--gutter); }
.welz-section > * { max-width: var(--wrap); margin-left: auto; margin-right: auto; }
.welz-section > * + * { margin-top: 20px; }
.welz-section > h2 + *, .welz-section > .eyebrow + h2 { margin-top: 14px; }
.welz-white { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.welz-sand { background: var(--sand); }
.welz-dark { background: var(--ink); color: var(--white); }
.welz-dark p { color: #cfc9bd; }
.welz-dark .eyebrow { color: var(--gold-soft); }
.welz-center { text-align: center; }
.welz-center > p { max-width: 620px; }
.welz-center .wp-block-buttons { justify-content: center; }
.welz-section > .welz-head-gap { margin-top: 54px; }

/* ---------- Hero ---------- */
.welz-hero { padding-top: clamp(40px, 6vw, 84px); }
.welz-hero > .wp-block-columns { align-items: center; gap: clamp(30px, 5vw, 70px); margin-bottom: 0; }
.welz-hero h1 { margin-top: 22px; }
.welz-hero .lead { margin-top: 0; }
.welz-hero figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.welz-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-top: 30px; color: var(--ink-soft); font-size: 16px; }
.welz-price strong { font-family: var(--serif); font-size: 46px; line-height: 1; font-weight: 500; color: var(--ink); }

/* ---------- Facts strip ---------- */
.welz-facts { padding-top: 0; padding-bottom: 0; }
.welz-facts > .wp-block-columns { gap: 0; margin-bottom: 0; }
.welz-facts .wp-block-column { padding: 34px 30px; border-left: 1px solid var(--line); font-size: 15px; color: var(--ink-soft); }
.welz-facts .wp-block-column:first-child { border-left: 0; padding-left: 0; }
.welz-facts strong { display: block; font-family: var(--serif); font-size: clamp(26px, 2.6vw, 34px); font-weight: 500; line-height: 1.1; color: var(--ink); margin-bottom: 4px; }

/* ---------- Cards ---------- */
.welz-cards { gap: 30px; margin-top: 54px !important; }
.welz-cards .wp-block-column { background: var(--white); border: 1px solid var(--line); padding-bottom: 34px; }
.welz-cards figure img { width: 100%; height: 300px; object-fit: cover; }
.welz-cards h3, .welz-cards p { padding: 0 30px; }
.welz-cards h3 { margin-top: 30px; }
.welz-cards p { color: var(--ink-soft); font-size: 16.5px; margin-top: 10px; }
.welz-cards p.more { margin-top: 20px; }

/* ---------- Image + text feature ---------- */
.welz-feature { padding: 0; }
.welz-feature > .wp-block-columns { max-width: none; gap: 0; margin: 0; align-items: stretch; }
.welz-feature .wp-block-column:first-child figure, .welz-feature .wp-block-column:first-child img { height: 100%; width: 100%; }
.welz-feature .wp-block-column:first-child img { min-height: 320px; max-height: 620px; object-fit: cover; }
.welz-feature .wp-block-column:last-child { padding: clamp(48px, 7vw, 96px) clamp(24px, 6vw, 90px); align-self: center; }
.welz-feature .wp-block-column:last-child > * { max-width: 520px; }
.welz-feature h2 { margin-top: 16px; }
.welz-feature p { font-size: 18.5px; }
.welz-note { margin-top: 30px; font-size: 14.5px !important; letter-spacing: .04em; color: #a8a297 !important; }
.welz-note strong { color: var(--gold-soft); }

/* ---------- Grid of small tiles (services, steps) ---------- */
.welz-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 54px !important; }
.welz-grid > * { margin: 0 !important; }
.welz-tiles { border-top: 1px solid #d8d0c0; border-left: 1px solid #d8d0c0; counter-reset: tile; }
.welz-tiles > .wp-block-group { padding: 34px 30px 38px; border-right: 1px solid #d8d0c0; border-bottom: 1px solid #d8d0c0; counter-increment: tile; }
.welz-tiles > .wp-block-group::before { content: counter(tile, decimal-leading-zero); font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 22px; }
.welz-tiles h3 { font-size: 25px; margin: 10px 0 8px; }
.welz-tiles p { font-size: 15.5px; color: var(--ink-soft); line-height: 1.55; }
.welz-steps { gap: 0 34px; counter-reset: step; }
.welz-steps > .wp-block-group { counter-increment: step; padding-bottom: 22px; border-bottom: 1px solid #cfc6b4; }
.welz-steps > .wp-block-group::before { content: counter(step); display: block; font-family: var(--serif); font-size: 76px; line-height: 1; color: var(--gold); }
.welz-steps h3 { font-size: 27px; margin: 14px 0 10px; }
.welz-steps p { font-size: 16px; color: var(--ink-soft); }
.welz-tip { background: var(--white); border: 1px solid var(--line); padding: 24px 30px; font-size: 16.5px; margin-top: 50px !important; }

/* ---------- Brands ---------- */
.welz-brands { font-family: var(--serif); font-size: 21px; letter-spacing: .1em; text-transform: uppercase; color: #8b857a; margin-top: 26px !important; line-height: 2; }
.welz-logos.wp-block-gallery.has-nested-images { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.welz-logos.wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image) { border: 1px solid var(--line); padding: 18px; height: 116px; display: flex; align-items: center; justify-content: center; }
.welz-logos.wp-block-gallery.has-nested-images figure.wp-block-image img { width: auto !important; height: auto !important; max-width: 100%; max-height: 72px; aspect-ratio: auto; object-fit: contain !important; flex: 0 1 auto !important; }

/* ---------- About ---------- */
.welz-about > .wp-block-columns { gap: clamp(30px, 6vw, 90px); align-items: center; }
.welz-about p { color: var(--ink-soft); margin-top: 18px; }
.welz-about h2 { margin-top: 14px; }
.wp-block-quote, .welz-quote { font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.3; color: var(--ink); margin: 30px 0 0; padding-left: 26px; border-left: 1px solid var(--gold); }
.wp-block-quote p { color: inherit !important; margin: 0 !important; }
.wp-block-quote cite { display: block; margin-top: 14px; font-family: var(--sans); font-style: normal; font-size: 13.5px; letter-spacing: .14em; text-transform: uppercase; color: #8b857a; }

/* ---------- Visit / contact ---------- */
.welz-visit > .wp-block-columns { gap: clamp(30px, 5vw, 60px); }
.welz-visit h3 { margin-bottom: 16px; }
.welz-big { font-family: var(--serif); font-size: clamp(26px, 2.8vw, 34px); line-height: 1.2; margin-top: 16px; }
.welz-visit p { color: var(--ink-soft); margin-top: 16px; }
.welz-visit p.welz-big { color: var(--ink); }
.wp-block-table table { border-collapse: collapse; width: 100%; font-size: 16px; table-layout: auto; }
.wp-block-table td, .wp-block-table th { padding: 9px 0; border: 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.wp-block-table td:last-child { text-align: right; color: var(--ink-soft); }

/* ---------- Gallery ---------- */
/* Own grid instead of the core flex layout: even tiles, regardless of the (often small) source pictures. */
.wp-block-gallery.has-nested-images { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.wp-block-gallery.has-nested-images.columns-2 { grid-template-columns: repeat(2, 1fr); }
.wp-block-gallery.has-nested-images.columns-3 { grid-template-columns: repeat(3, 1fr); }
.wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image) { width: 100% !important; margin: 0 !important; background: var(--white); }
.wp-block-gallery.has-nested-images figure.wp-block-image img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.wp-block-gallery.has-nested-images figure.wp-block-image figcaption { background: rgba(23,22,21,.82); font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; padding: 6px 12px; left: 14px; bottom: 14px; right: auto; width: auto; max-height: none; text-align: left; }
.wp-block-gallery.has-nested-images figure.wp-block-image figcaption::before { display: none; }
.welz-about .wp-block-gallery figure.wp-block-image:first-child { grid-column: span 2; }
.welz-about .wp-block-gallery figure.wp-block-image:first-child img { aspect-ratio: 16 / 9; }

/* ---------- Price list ---------- */
.welz-pricelist { list-style: none; padding: 0 !important; margin-top: 26px; }
.welz-pricelist li { padding: 12px 0; border-bottom: 1px solid #34322f; font-size: 16.5px; color: #e9e4da; margin: 0 !important; }
.welz-config > .wp-block-columns { gap: clamp(30px, 6vw, 90px); }
.welz-config .wp-block-column:last-child { background: var(--white); color: var(--ink); padding: clamp(28px, 4vw, 46px); }
.welz-config .wp-block-column:last-child p { color: var(--ink-soft); margin-top: 12px; }

/* ---------- Testimonials ---------- */
.welz-voices { gap: 30px; margin-top: 54px !important; }
.welz-voices .wp-block-column { background: var(--white); border: 1px solid var(--line); padding: 38px 36px; }
.welz-voices .wp-block-quote { border: 0; padding: 0; margin: 0; font-size: 24px; line-height: 1.38; }
.welz-refs { gap: 30px; margin-top: 30px !important; }
.welz-refs .wp-block-column { border-top: 1px solid var(--gold); padding-top: 22px; color: var(--ink-soft); }
.welz-refs h3 { font-size: 28px; color: var(--ink); margin-bottom: 6px; }
.welz-guestbook .wp-block-quote { font-size: 21px; margin-top: 0; padding: 28px 0 28px 26px; }
.welz-guestbook .wp-block-quote + .wp-block-quote { margin-top: 26px; }

/* ---------- Migrated legacy content blocks ---------- */
.welz-block { padding-top: clamp(40px, 5vw, 64px); }
.welz-block + .welz-block { border-top: 1px solid var(--line); margin-top: clamp(40px, 5vw, 64px); }
.welz-block > * + * { margin-top: 18px; }
.welz-block > h2 { font-size: clamp(30px, 3.4vw, 42px); }
.welz-block > :where(p, ul, ol), .welz-block .wp-block-column > :where(p, ul, ol) { max-width: 78ch; color: var(--ink-soft); }
.welz-block .wp-block-column > * + * { margin-top: 14px; }
.welz-textpic { gap: 34px; align-items: flex-start; }
.welz-textpic > .wp-block-column:first-child { flex: 0 0 auto !important; width: auto; max-width: 320px; }
.welz-textpic > .wp-block-column:first-child img { border: 1px solid var(--line); }
.welz-prospect figure { display: inline-block; }
.welz-prospect img { border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(23,22,21,.08); }

/* Larger picture next to the text (used for the illustrative images) */
.welz-textpic-lg { gap: clamp(28px, 4vw, 56px); align-items: center; }
.welz-textpic-lg > .wp-block-column:first-child { flex: 0 0 42% !important; max-width: 42%; }
.welz-textpic-lg > .wp-block-column:first-child img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border: 0; }
.welz-block:nth-of-type(even) > .welz-textpic-lg { flex-direction: row-reverse; }
/* Space between normal content and a following full-width section */
.entry-content > :not(.alignfull):has(+ .alignfull) { margin-bottom: clamp(40px, 5vw, 64px); }
.entry-content > .alignfull + :not(.alignfull) { margin-top: clamp(40px, 5vw, 64px); }

/* ---------- Checklist ---------- */
.welz-intro { gap: clamp(28px, 5vw, 70px); align-items: center; }
.welz-intro img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.welz-checklist { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; margin-top: 54px !important; counter-reset: check; }
.welz-checklist > .wp-block-group { margin: 0 !important; background: var(--white); border: 1px solid var(--line); border-top: 2px solid var(--gold); padding: 34px 36px 38px; counter-increment: check; }
.welz-checklist > .wp-block-group::before { content: counter(check, decimal-leading-zero); font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 22px; }
.welz-checklist h3 { margin: 6px 0 18px; }
.welz-checklist ul { list-style: none; padding: 0 !important; }
.welz-checklist li { position: relative; padding: 9px 0 9px 34px; border-bottom: 1px solid var(--line); font-size: 16px; color: var(--ink-soft); margin: 0 !important; }
.welz-checklist li:last-child { border-bottom: 0; }
.welz-checklist li::before { content: ""; position: absolute; left: 0; top: 13px; width: 16px; height: 16px; border: 1px solid var(--gold); background: var(--paper); }

/* ---------- Order form ---------- */
.welz-form { background: var(--white); border: 1px solid var(--line); padding: clamp(24px, 4vw, 46px); }
.entry-content > .welz-form, .entry-content > .welz-form-success { max-width: 860px; margin-left: max(var(--gutter), calc((100% - var(--wrap)) / 2)); }
.welz-form fieldset { border: 0; padding: 0; margin: 0 0 34px; }
.welz-form legend { font-family: var(--serif); font-size: 28px; font-weight: 500; padding: 0; margin-bottom: 18px; }
.welz-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.welz-form .field { margin-bottom: 20px; }
.welz-form label, .welz-form .label { display: block; font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: #6f6a60; font-weight: 500; margin-bottom: 8px; }
.welz-form input[type=text], .welz-form input[type=email], .welz-form input[type=tel], .welz-form select, .welz-form textarea { width: 100%; border: 1px solid #cfc8ba; border-radius: 0; background: var(--white); padding: 13px 16px; font: inherit; font-size: 16.5px; color: var(--ink); }
.welz-form textarea { min-height: 110px; resize: vertical; }
.welz-form .hint { font-size: 14.5px; color: var(--ink-soft); margin-top: 6px; }
.welz-form .check { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; color: var(--ink-soft); }
.welz-form .check input { margin-top: 6px; }
.welz-form .check label { all: unset; cursor: pointer; }
.welz-form .hp { position: absolute; left: -9999px; }
.welz-form .req { color: var(--gold); }
.welz-form-errors { border: 1px solid #b3452f; background: #fbeeea; color: #7c2a1a; padding: 18px 22px; margin-bottom: 26px; }
.welz-form-errors ul { margin: 8px 0 0; padding-left: 1.2em; }
.welz-form-success { border: 1px solid var(--gold); background: var(--white); padding: clamp(24px, 4vw, 40px); max-width: 860px; }
.welz-form-success h2 { font-size: 36px; margin-bottom: 14px; }
.welz-form-success p + p { margin-top: 12px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #a8a297; font-size: 14.5px; padding: 46px 0; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 30px; }
.site-footer ul { display: flex; flex-wrap: wrap; gap: 10px 30px; list-style: none; margin: 0; padding: 0; letter-spacing: .1em; text-transform: uppercase; font-size: 13px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--white); }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .nav-toggle { display: block; }
  .site-header .wrap { flex-wrap: wrap; min-height: 0; padding-top: 14px; padding-bottom: 14px; }
  .site-header .logo img { height: 60px; }
  .site-header .header-cta { display: none; }
  .site-nav { display: none; flex-basis: 100%; }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; white-space: normal; border-top: 1px solid var(--line); }
  .site-nav li { border-bottom: 1px solid var(--line); }
  .site-nav a { display: block; padding: 14px 0; border-bottom: 0; }
  .welz-grid { grid-template-columns: repeat(2, 1fr); }
  .wp-block-gallery.has-nested-images { grid-template-columns: repeat(3, 1fr); }
  .welz-steps { gap: 30px 34px; }
}
@media (max-width: 781px) {
  body { font-size: 16.5px; }
  .welz-facts .wp-block-column { border-left: 0; border-top: 1px solid var(--line); padding: 22px 0; }
  .welz-facts .wp-block-column:first-child { border-top: 0; }
  .welz-feature .wp-block-column:first-child img { max-height: 360px; }
  .welz-cards figure img { height: 240px; }
  .welz-textpic > .wp-block-column:first-child { flex: 1 1 100% !important; max-width: 100%; }
  .welz-checklist { grid-template-columns: 1fr; }
  .welz-checklist > .wp-block-group { padding: 26px 24px; }
  .wp-block-table td:last-child { text-align: left; }
  .welz-form .row { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .welz-grid { grid-template-columns: 1fr; }
  .wp-block-gallery.has-nested-images, .wp-block-gallery.has-nested-images.columns-3 { grid-template-columns: repeat(2, 1fr); }
  .wp-block-buttons .wp-block-button, .wp-block-buttons .wp-block-button__link { width: 100%; text-align: center; white-space: normal; }
  .topbar .hours-long { display: none; }
}
@media print {
  .topbar, .site-header, .site-footer, .page-head .crumb { display: none; }
  .welz-checklist > .wp-block-group { break-inside: avoid; }
}
