/* =========================================================
   AB STAV PLOTY – úpravy pro bloky WordPressu (Gutenberg)
   Navazuje na main.css (původní vzhled webu).
   ========================================================= */

/* ---------- Obecné ---------- */
.admin-bar .header { top: 32px; }
@media (max-width: 782px) { .admin-bar .header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .header { top: 0; } }

main figure.wp-block-image { margin: 0; }
main .wp-block-image img { display: block; }
.wp-block-group.section { margin: 0; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.form-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.eyebrow, .is-style-eyebrow {
  margin: 0 0 12px;
  font-size: 13px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--copper);
}
.is-style-lead { font-size: 18px; color: var(--text); }

/* Seznam s fajfkami (i jako styl bloku Seznam) */
.is-style-check-list { display: grid; gap: 10px; margin: 24px 0 0; padding: 0; list-style: none; }
.is-style-check-list li { display: flex; align-items: flex-start; gap: 12px; font-weight: 500; }
.is-style-check-list li::before {
  content: ""; width: 22px; height: 22px; flex-shrink: 0; margin-top: 1px; border-radius: 50%;
  background: var(--copper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* ---------- Tlačítka (blok Tlačítka) ---------- */
.wp-block-buttons { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.wp-block-buttons .wp-block-button { margin: 0; }
.wp-block-button .wp-block-button__link {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 56px; padding: 0 28px;
  border: 2px solid var(--copper); border-radius: var(--radius);
  background: var(--copper); color: #fff;
  font-family: var(--font); font-size: 15px; font-weight: 600; line-height: 1.2; text-decoration: none;
  box-shadow: 0 10px 24px rgba(166, 110, 74, .28);
  transition: transform .3s var(--ease), box-shadow .3s, background .3s, border-color .3s, color .3s;
}
.wp-block-button:not(.is-style-outline) .wp-block-button__link::after { content: "→"; transition: transform .3s var(--ease); }
.wp-block-button .wp-block-button__link:hover { transform: translateY(-2px); background: var(--copper-dark); border-color: var(--copper-dark); color: #fff; box-shadow: 0 14px 28px rgba(166, 110, 74, .36); }
.wp-block-button .wp-block-button__link:hover::after { transform: translateX(4px); }
.wp-block-button .wp-block-button__link:active { transform: translateY(0) scale(.98); }

.wp-block-buttons .wp-block-button.is-style-outline > .wp-block-button__link {
  padding: 0 28px; border: 2px solid var(--copper); background: transparent; color: var(--copper); box-shadow: none;
}
.wp-block-buttons .wp-block-button.is-style-outline > .wp-block-button__link:hover { background: var(--copper); border-color: var(--copper); color: #fff; }

/* Na tmavém pozadí (úvod, výzva) */
.hero .wp-block-button.is-style-outline > .wp-block-button__link,
.page-hero .wp-block-button.is-style-outline > .wp-block-button__link,
.cta-band .wp-block-button.is-style-outline > .wp-block-button__link { color: #fff; border-color: rgba(255, 255, 255, .6); background: rgba(255, 255, 255, .06); }
.hero .wp-block-button.is-style-outline > .wp-block-button__link:hover,
.page-hero .wp-block-button.is-style-outline > .wp-block-button__link:hover { border-color: var(--copper); background: var(--copper); }
.cta-band .wp-block-button.is-style-outline > .wp-block-button__link:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.cta-band .wp-block-button:not(.is-style-outline):not(.is-style-odkaz) .wp-block-button__link { background: var(--copper-light); border-color: var(--copper-light); color: #2b1c12; box-shadow: 0 10px 24px rgba(0, 0, 0, .2); }
.cta-band .wp-block-button:not(.is-style-outline):not(.is-style-odkaz) .wp-block-button__link:hover { background: #fff; border-color: #fff; color: #4a3122; }

/* Styl „Odkaz se šipkou“ */
.wp-block-buttons .wp-block-button.is-style-odkaz > .wp-block-button__link {
  min-height: 0; padding: 0; border: 0; background: none; box-shadow: none;
  color: var(--copper-dark); gap: 8px;
}
.wp-block-buttons .wp-block-button.is-style-odkaz > .wp-block-button__link:hover { color: var(--copper); background: none; transform: none; box-shadow: none; }

/* Odstavec s odkazem „text-link“ */
p.text-link { display: block; margin: 18px 0 0 4px; }
p.text-link a { display: inline-flex; gap: 8px; font-weight: 600; color: var(--copper-dark); text-decoration: none !important; }
p.text-link a::after { content: "→"; transition: transform .3s var(--ease); }
p.text-link a:hover { color: var(--copper); }
p.text-link a:hover::after { transform: translateX(4px); }

/* ---------- Úvod podstránky ---------- */
.page-hero { position: relative; isolation: isolate; overflow: hidden; }
body .page-hero::before { content: none; display: none; }
.page-hero > .page-hero-bg { position: absolute; inset: 0; z-index: -2; margin: 0; }
.page-hero > .page-hero-bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); }
.page-hero-inner > :last-child { margin-bottom: 0; }
p.breadcrumbs { display: block; margin-top: 0; word-spacing: 2px; }
.page-hero .hero-actions { margin-top: 30px; }

/* ---------- Úvodní slider ---------- */
.hero > .hero-slides { position: absolute; inset: 0; margin: 0; }
.hero-slides .hero-slide {
  position: absolute; inset: 0; margin: 0;
  opacity: 0; transform: scale(1.06);
  transition: opacity 1.5s ease, transform 8s linear;
}
.hero-slides .hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-slides .hero-slide.is-active,
.hero-slides:not(.is-ready) .hero-slide:first-child { opacity: 1; transform: scale(1); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(34, 34, 34, .9) 0%, rgba(34, 34, 34, .78) 40%, rgba(34, 34, 34, .5) 75%, rgba(34, 34, 34, .38) 100%);
}
.hero-content .hero-sub { margin: 14px 0 22px; }
.hero-content .hero-actions { margin: 0; }
.hero-benefits li::before { content: ""; width: 26px; height: 26px; flex-shrink: 0; background: center / contain no-repeat; }
@media (max-width: 960px) {
  .hero::before { background: rgba(34, 34, 34, .78); }
}

/* ---------- Hlavička sekce ---------- */
.section-head > :last-child { margin-bottom: 0; }
.section-head h2 + p { margin-top: 14px; }

/* ---------- Karty typů oplocení ---------- */
.type-card {
  position: relative; display: flex; flex-direction: column; align-items: stretch;
  overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; box-shadow: var(--shadow);
  transition: transform .4s var(--ease), box-shadow .4s, border-color .4s;
}
.type-card > .wp-block-image { margin: 0; overflow: hidden; }
.type-card > .wp-block-image img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .8s var(--ease); }
.type-card h3 { margin: 0; padding: 18px 78px 0 22px; font-size: 22px; font-weight: 700; line-height: 1.15; }
.type-card h3 a { color: inherit; text-decoration: none; }
.type-card h3 a::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.type-card .type-desc { margin: 2px 0 0; padding: 0 78px 20px 22px; font-size: 13px; color: var(--muted); }
.type-card::after {
  content: "→"; position: absolute; right: 20px; bottom: 22px;
  display: grid; place-items: center; width: 40px; height: 40px;
  border-radius: 50%; background: var(--bg-alt); color: var(--copper); font-size: 18px;
  transition: background .3s, color .3s, transform .3s var(--ease);
}
.type-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: #d8c6b6; }
.type-card:hover > .wp-block-image img { transform: scale(1.06); }
.type-card:hover::after { background: var(--copper); color: #fff; transform: translateX(3px); }

/* ---------- Naše technika ---------- */
.fleet .fleet-photo { margin: 0; }
.fleet .fleet-photo figcaption { margin: 14px 0 0; text-align: center; }
.fleet-body .wp-block-buttons { justify-content: center; }

/* ---------- Realizace / reference ---------- */
.projects-intro .wp-block-buttons { margin-top: 0; }
.projects-grid .project {
  position: relative; display: block; width: 100%; margin: 0; aspect-ratio: 4 / 3;
  overflow: hidden; border-radius: var(--radius); background: #2a2a2a;
  cursor: zoom-in; box-shadow: var(--shadow);
}
.projects-grid .project img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.projects-grid .project::after {
  content: ""; position: absolute; inset: 35% 0 0; pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(7, 10, 12, .85));
}
.projects-grid .project figcaption {
  position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; margin: 0; padding: 18px;
  color: #fff; text-align: left;
  font-family: var(--font-head); font-size: 22px; font-weight: 700; line-height: 1.1;
}
.projects-grid .project::before {
  content: ""; position: absolute; z-index: 3; top: 12px; right: 12px;
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(255, 255, 255, .92) center / 18px no-repeat;
  opacity: 0; transform: scale(.85); transition: opacity .3s, transform .3s var(--ease);
}
.projects-grid .project:hover img { transform: scale(1.07); }
.projects-grid .project:hover::before, .projects-grid .project:focus-visible::before { opacity: 1; transform: none; }
.projects-grid .project:focus-visible { outline: 3px solid var(--copper-light); outline-offset: 3px; }
.ref-grid .project[hidden] { display: none; }

/* ---------- Postup – 5 kroků ---------- */
.steps-list { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; margin: 0; padding: 0; list-style: none; counter-reset: krok; }
.steps-list::before { content: ""; position: absolute; top: 32px; left: 10%; right: 10%; height: 2px; background: linear-gradient(90deg, var(--line), var(--copper-light), var(--line)); }
.steps-list li {
  position: relative; min-width: 0; margin-top: 88px; padding: 26px 22px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-alt);
  font-size: 15px; color: var(--text); counter-increment: krok;
  transition: box-shadow .4s, background .4s;
}
.steps-list li::before {
  content: counter(krok, decimal-leading-zero);
  position: absolute; z-index: 1; top: -88px; left: 50%; translate: -50% 0;
  display: grid; place-items: center; width: 64px; height: 64px;
  border: 2px solid var(--copper); border-radius: 50%; background: #fff;
  font-family: var(--font-head); font-size: 22px; font-weight: 700; color: var(--copper);
  transition: background .3s, color .3s;
}
.steps-list li strong { display: block; margin-bottom: 12px; font-family: var(--font-head); font-size: 22px; font-weight: 800; line-height: 1.05; color: var(--ink); }
.steps-list li:hover { background: #fff; box-shadow: var(--shadow); }
.steps-list li:hover::before { background: var(--copper); color: #fff; }
.steps-list a { color: var(--copper-dark); text-decoration: underline; }

/* ---------- Postup – 4 kroky ---------- */
.mini-steps { counter-reset: maly-krok; }
.mini-steps li { counter-increment: maly-krok; font-size: 14px; color: var(--text); }
.mini-steps li::before { content: counter(maly-krok, decimal-leading-zero); display: block; margin-bottom: 8px; font-family: var(--font-head); font-size: 15px; font-weight: 700; color: var(--copper); }
.mini-steps strong { color: var(--ink); }

/* ---------- Provedení ---------- */
.variant-card .variant-num { display: block; margin: 0 0 14px; font-family: var(--font-head); font-size: 34px; font-weight: 800; line-height: 1; color: var(--copper-light); }
.variant-card h3 { margin-top: 0; }

/* ---------- Text + obrázek ---------- */
.split > .wp-block-image { margin: 0; }
.split > .wp-block-image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.split-text .check-list { margin-bottom: 0; }

/* ---------- O nás ---------- */
.about > .wp-block-image { margin: 0; }
.about > .wp-block-image img { width: 100%; max-height: 680px; aspect-ratio: 5 / 6; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-lg); }

/* ---------- Proč my ---------- */
.why-icons li { position: relative; }
.why-icons li::before {
  content: ""; display: block; width: 68px; height: 68px; margin: 0 auto 14px;
  border: 1px solid #e0cdbd; border-radius: 50%; background: var(--bg-alt);
  transition: transform .45s var(--ease), background .3s;
}
.why-icons li::after {
  content: ""; position: absolute; top: 19px; left: 50%; width: 30px; height: 30px; margin-left: -15px;
  background: var(--copper); -webkit-mask: center / contain no-repeat; mask: center / contain no-repeat;
  transition: transform .45s var(--ease), background .3s;
}
.why-icons li:hover::before { transform: translateY(-4px) rotate(-5deg); background: var(--copper); }
.why-icons li:hover::after { transform: translateY(-4px); background: #fff; }

/* ---------- Výzva k ceníku ---------- */
.price-cta::before {
  content: ""; display: block; width: 76px; height: 76px; border-radius: 50%;
  background: #fff center / 34px no-repeat; box-shadow: var(--shadow);
}
.price-cta-text > :last-child { margin-bottom: 0; }
.price-cta-actions .wp-block-button.is-style-odkaz { flex-basis: 100%; display: flex; justify-content: flex-end; }
@media (max-width: 560px) { .price-cta::before { width: 60px; height: 60px; background-size: 28px; } }
@media (max-width: 960px) { .price-cta-actions .wp-block-button.is-style-odkaz { justify-content: flex-start; } }

/* ---------- Časté dotazy (blok Podrobnosti) ---------- */
.faq-list .wp-block-details { margin: 0; }
.faq-item > p { margin: 0 0 22px; color: var(--text); }
.faq-item a { color: var(--copper-dark); text-decoration: underline; }

/* ---------- Výzva k poptávce ---------- */
.cta-band-text > :last-child { margin-bottom: 0; }
.cta-band .wp-block-buttons { justify-content: flex-end; }
@media (max-width: 960px) { .cta-band .wp-block-buttons { justify-content: flex-start; } }
@media (max-width: 560px) {
  .cta-band-actions .wp-block-button, .cta-band-actions .wp-block-button__link,
  .price-cta-actions .wp-block-button:not(.is-style-odkaz), .price-cta-actions .wp-block-button:not(.is-style-odkaz) .wp-block-button__link,
  .hero-actions .wp-block-button, .hero-actions .wp-block-button__link { width: 100%; }
  .hero-actions { flex-direction: column; align-items: stretch; }
}

/* ---------- Ceník ---------- */
.price-badges { list-style: none; padding: 0; }
.price-badges li { font-size: 13px; color: var(--text); }
.price-badges strong { color: var(--ink); }

.price-card > .wp-block-image { margin: 0; height: 100%; }
.price-card > .wp-block-image img { width: 100%; height: 100%; object-fit: cover; }
.price-card h3 a { text-decoration: none; }
.price-card-body > .price-card-more { margin: 12px 0 0; font-size: 14px; font-weight: 600; color: var(--copper-dark); }
.price-card-body > .price-card-more a::after { content: " →"; }
.price-card-body > .price-card-more a:hover { color: var(--copper); }
@media (max-width: 560px) { .price-card > .wp-block-image img { aspect-ratio: 16 / 8; height: auto; } }

.wp-block-table.price-table { margin: 0; overflow: visible; }
.wp-block-table.price-table table { width: 100%; border-collapse: collapse; font-size: 14px; }
.wp-block-table.price-table th, .wp-block-table.price-table td { padding: 10px 0; border: 0; border-bottom: 1px dashed var(--line); vertical-align: top; }
.wp-block-table.price-table tr:last-child th, .wp-block-table.price-table tr:last-child td { border-bottom: 0; }
.wp-block-table.price-table th { text-align: left; font-weight: 400; color: var(--text); padding-right: 16px; }
.wp-block-table.price-table td { text-align: right; font-weight: 600; white-space: nowrap; color: var(--ink); }
.price-mini .wp-block-table.price-table td { white-space: normal; min-width: 90px; }
@media (max-width: 560px) { .wp-block-table.price-table td { white-space: normal; } }

.wp-block-table.price-table--sum { overflow: hidden; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.wp-block-table.price-table--sum th, .wp-block-table.price-table--sum td { padding: 14px 22px; }
.wp-block-table.price-table--sum tr:last-child th, .wp-block-table.price-table--sum tr:last-child td { border-top: 2px solid var(--copper); font-family: var(--font-head); font-size: 22px; font-weight: 700; color: var(--ink); }
.wp-block-table.price-table--sum tr:last-child td { color: var(--copper); }
@media (max-width: 560px) { .wp-block-table.price-table--sum th, .wp-block-table.price-table--sum td { padding: 12px 14px; } }
.example-box .example-text > p:not(.eyebrow):not(.text-link) { margin: 0; color: var(--text); }
.example-box .example-text h2 { font-size: clamp(34px, 3.4vw, 48px); margin-bottom: 16px; }
.price-card[id], .price-mini[id] { scroll-margin-top: 110px; }

/* ---------- Kontakt ---------- */
.contact > form.form, .contact > p:empty { margin: 0; }
.contact-cards .contact-card {
  position: relative; display: grid; grid-template-columns: 52px 1fr; column-gap: 16px; align-items: center;
}
.contact-card::before {
  content: ""; grid-row: 1 / 3; display: block; width: 52px; height: 52px; border-radius: 50%;
  background: var(--copper) center / 22px no-repeat;
}
.contact-card .contact-card-label { grid-column: 2; align-self: end; margin: 0; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.contact-card .contact-card-value { grid-column: 2; align-self: start; margin: 0; font-family: var(--font-head); font-size: 22px; font-weight: 700; line-height: 1.15; word-break: break-word; color: var(--ink); }
.contact-card .contact-card-value a::after { content: ""; position: absolute; inset: 0; }
.contact-card:has(a):hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--copper-light); }

.info-box .info-title { display: flex; align-items: center; gap: 14px; font-size: 32px; margin: 0 0 14px; }
.info-title::before {
  content: ""; display: block; flex-shrink: 0; width: 46px; height: 46px; border-radius: 50%;
  background: #fff center / 22px no-repeat; border: 1px solid #e0cdbd;
}
.info-box .area-list { list-style: none; padding: 0; }
.info-box ul.billing { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px; margin: 0 0 22px; padding: 0; list-style: none; }
.billing li { border-top: 1px solid var(--line); padding-top: 10px; font-weight: 600; }
.billing li strong { display: block; font-size: 12px; font-weight: 400; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.billing a:hover { color: var(--copper); }
p.map-link { margin: 0; }
p.map-link a { font-weight: 600; color: var(--copper-dark); }
p.map-link a::after { content: " →"; }
p.map-link a:hover { color: var(--copper); }
@media (max-width: 560px) {
  .info-box .info-title { font-size: 26px; }
  .info-box ul.billing { grid-template-columns: 1fr; }
}

/* ---------- Formulář ---------- */
.form-feedback.success { background: #eef6ec; color: #2f5d2a; }
.form .submit[disabled] { opacity: .6; cursor: progress; }

/* ---------- Blog – výpis z bloku Smyčka dotazu ---------- */
.article-query .article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin: 0; padding: 0; list-style: none; }
.article-query .wp-block-post { margin: 0; }
.article-query .article-card { position: relative; height: 100%; }
.article-query .article-card-img { margin: 0; overflow: hidden; }
.article-query .article-card-img img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .8s var(--ease); }
.article-query .article-card:hover .article-card-img img { transform: scale(1.06); }
.article-query .article-tag { position: absolute; left: 16px; top: 16px; z-index: 2; padding: 0; background: none; }
.article-query .article-tag a { display: inline-block; padding: 6px 12px; border-radius: 6px; background: var(--copper); color: #fff; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.article-query .article-tag .wp-block-post-terms__separator { display: none; }
.article-query .article-tag a + .wp-block-post-terms__separator + a { display: none; }
.article-query .article-card-body > .article-meta { margin: 0 0 10px; font-size: 13px; color: var(--muted); }
.article-query .wp-block-post-title { margin: 0 0 12px; font-size: 26px; line-height: 1.1; }
.article-query .wp-block-post-title a:hover { color: var(--copper); }
.article-query .wp-block-post-excerpt { display: flex; flex-direction: column; flex: 1; margin: 0; }
.article-query .wp-block-post-excerpt__excerpt { margin: 0 0 20px; font-size: 15px; color: var(--text); }
.article-query .wp-block-post-excerpt__more-text { margin: auto 0 0; }
.article-query .wp-block-post-excerpt__more-link { font-weight: 600; color: var(--copper-dark); }
.article-query .wp-block-post-excerpt__more-link::after { content: " →"; display: inline-block; transition: transform .3s var(--ease); }
.article-query .wp-block-post-excerpt__more-link:hover::after { transform: translateX(4px); }
@media (max-width: 960px) { .article-query .article-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .article-query .article-grid { grid-template-columns: 1fr; } }

.pagination { margin-top: 40px; text-align: center; }
.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pagination .page-numbers { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 8px; font-weight: 600; }
.pagination .page-numbers.current, .pagination a.page-numbers:hover { background: var(--copper); border-color: var(--copper); color: #fff; }

/* ---------- Text článku a obecné stránky ---------- */
.prose .wp-block-table { margin: 0 0 22px; overflow-x: auto; }
.prose .wp-block-table table { width: 100%; border-collapse: collapse; }
.prose .wp-block-table th, .prose .wp-block-table td { padding: 12px 14px; border: 0; border-bottom: 1px solid var(--line); text-align: left; }
.prose .wp-block-table thead { border-bottom: 0; }
.prose .wp-block-table thead th { background: var(--bg-alt); color: var(--ink); font-weight: 600; }
.prose h3 { font-size: clamp(22px, 2.4vw, 28px); margin: 32px 0 12px; }
.prose ol { margin: 0 0 22px; padding-left: 22px; list-style: decimal; display: grid; gap: 8px; }
.prose .wp-block-image { margin: 0 0 22px; }
.prose .wp-block-image img { border-radius: var(--radius); }
.prose .wp-block-buttons { margin: 22px 0; }
.prose blockquote { margin: 0 0 22px; padding: 18px 24px; border-left: 4px solid var(--copper); background: var(--bg-alt); border-radius: 0 var(--radius) var(--radius) 0; }
.prose > :first-child { margin-top: 0; }
.prose .article-hero-img { height: auto; }

/* Úvodní fotka bez overlaye v editoru zarovnání */
.wp-block-post-featured-image img { max-width: 100%; }

/* ---------- Postup – responzivita ---------- */
@media (max-width: 1200px) {
  .steps-list { grid-template-columns: repeat(3, 1fr); row-gap: 8px; }
  .steps-list::before { display: none; }
}
@media (max-width: 960px) {
  .steps-list { grid-template-columns: 1fr; row-gap: 22px; }
  .steps-list li { margin: 0 0 0 86px; }
  .steps-list li::before { top: -1px; left: -86px; translate: none; }
  .steps-list li:not(:last-child)::after { content: ""; position: absolute; left: -55px; top: 72px; bottom: -16px; width: 2px; background: var(--line); }
}
@media (max-width: 560px) {
  .steps-list li { margin-left: 68px; padding: 18px; }
  .steps-list li::before { left: -68px; width: 52px; height: 52px; font-size: 18px; }
  .steps-list li:not(:last-child)::after { left: -43px; top: 60px; }
}
/* ---------- Ikony (vygenerováno z původních SVG) ---------- */
.hero-benefits li:nth-child(1)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d6a27c' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10Z'%3E%3C/path%3E%3Cpath d='m9 12 2 2 4-4'%3E%3C/path%3E%3C/svg%3E"); }
.hero-benefits li:nth-child(2)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d6a27c' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21V8l9-5 9 5v13'%3E%3C/path%3E%3Cpath d='M9 21v-7h6v7'%3E%3C/path%3E%3C/svg%3E"); }
.hero-benefits li:nth-child(3)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d6a27c' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'%3E%3C/circle%3E%3Cpath d='M12 7v5l3 2'%3E%3C/path%3E%3C/svg%3E"); }
.hero-benefits li:nth-child(4)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d6a27c' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8Z'%3E%3C/path%3E%3Cpath d='M14 2v6h6M9 14l2 2 4-4'%3E%3C/path%3E%3C/svg%3E"); }
.why-icons li:nth-child(1)::after { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21V8l9-5 9 5v13'%3E%3C/path%3E%3Cpath d='M9 21v-7h6v7'%3E%3C/path%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21V8l9-5 9 5v13'%3E%3C/path%3E%3Cpath d='M9 21v-7h6v7'%3E%3C/path%3E%3C/svg%3E"); }
.why-icons li:nth-child(2)::after { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.7 6.3a4 4 0 0 0 5 5L22 14l-8 8-2.3-2.3a4 4 0 0 0-5-5L2 10l8-8Z'%3E%3C/path%3E%3Cpath d='m9 9 6 6'%3E%3C/path%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.7 6.3a4 4 0 0 0 5 5L22 14l-8 8-2.3-2.3a4 4 0 0 0-5-5L2 10l8-8Z'%3E%3C/path%3E%3Cpath d='m9 9 6 6'%3E%3C/path%3E%3C/svg%3E"); }
.why-icons li:nth-child(3)::after { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 21V6l2-3 2 3v15M10 21V6l2-3 2 3v15M16 21V6l2-3 2 3v15M2 10h20M2 17h20'%3E%3C/path%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 21V6l2-3 2 3v15M10 21V6l2-3 2 3v15M16 21V6l2-3 2 3v15M2 10h20M2 17h20'%3E%3C/path%3E%3C/svg%3E"); }
.why-icons li:nth-child(4)::after { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect height='14' rx='1' width='18' x='3' y='7'%3E%3C/rect%3E%3Cpath d='M12 7v14M7 3h10M8 13h2M14 13h2'%3E%3C/path%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect height='14' rx='1' width='18' x='3' y='7'%3E%3C/rect%3E%3Cpath d='M12 7v14M7 3h10M8 13h2M14 13h2'%3E%3C/path%3E%3C/svg%3E"); }
.why-icons li:nth-child(5)::after { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 20h20M5 20l3-8h8l3 8'%3E%3C/path%3E%3Cpath d='M12 12V3l5 3'%3E%3C/path%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 20h20M5 20l3-8h8l3 8'%3E%3C/path%3E%3Cpath d='M12 12V3l5 3'%3E%3C/path%3E%3C/svg%3E"); }
.why-icons li:nth-child(6)::after { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'%3E%3C/path%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'%3E%3C/path%3E%3C/svg%3E"); }
.contact-card.icon-phone::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1.9.4 1.8.7 2.7a2 2 0 0 1-.5 2.1L8 9.8a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.7.7a2 2 0 0 1 1.7 2Z'%3E%3C/path%3E%3C/svg%3E"); }
.contact-card.icon-mail::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect height='16' rx='2' width='20' x='2' y='4'%3E%3C/rect%3E%3Cpath d='m22 7-10 6L2 7'%3E%3C/path%3E%3C/svg%3E"); }
.contact-card.icon-clock::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'%3E%3C/circle%3E%3Cpath d='M12 7v5l3 2'%3E%3C/path%3E%3C/svg%3E"); }
.info-title.icon-pin::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a66e4a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s7-6.2 7-12a7 7 0 1 0-14 0c0 5.8 7 12 7 12Z'%3E%3C/path%3E%3Ccircle cx='12' cy='10' r='2.6'%3E%3C/circle%3E%3C/svg%3E"); }
.info-title.icon-doc::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a66e4a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8Z'%3E%3C/path%3E%3Cpath d='M14 2v6h6M8 13h8M8 17h5'%3E%3C/path%3E%3C/svg%3E"); }
.price-cta::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a66e4a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.6 13.4 13.4 20.6a2 2 0 0 1-2.8 0L3 13V3h10l7.6 7.6a2 2 0 0 1 0 2.8Z'%3E%3C/path%3E%3Ccircle cx='7.5' cy='7.5' r='1.5'%3E%3C/circle%3E%3C/svg%3E"); }
.projects-grid .project::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238e5c3e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 3h6v6M9 21H3v-6M21 3l-7 7M3 21l7-7'%3E%3C/path%3E%3C/svg%3E"); }
