.article-hero {
  padding: clamp(96px, 12vw, 170px) clamp(24px, 8vw, 120px);
  background: var(--olive);
  color: #fff;
}

/* Navigation through the complete service portfolio */
.editorial-service .service-switcher-hero{position:absolute;z-index:8;inset:50% 22px auto;display:flex;justify-content:space-between;align-items:center;pointer-events:none;transform:translateY(-50%)}
.editorial-service .service-switcher-hero a{display:flex;align-items:center;gap:12px;color:#fff;text-decoration:none;pointer-events:auto;text-shadow:0 2px 18px rgba(0,0,0,.72)}
.editorial-service .service-switcher-hero span{display:grid;width:72px;height:64px;place-items:center;border:0;border-radius:0;background:transparent;backdrop-filter:none;filter:drop-shadow(0 3px 7px rgba(0,0,0,.95));font:400 46px/1 Arial,sans-serif}
.editorial-service .service-switcher-hero em{max-width:190px;font:600 12px/1.25 Arial,sans-serif;letter-spacing:.08em;text-transform:uppercase}
.editorial-service .service-switcher-hero .service-next{text-align:right}
.editorial-service .service-switcher-bottom{display:grid;grid-template-columns:1fr auto 1fr;align-items:stretch;background:#20231b;color:#f7f5ef}
.editorial-service .service-switcher-bottom a{display:flex;min-height:150px;padding:34px clamp(22px,5vw,72px);flex-direction:column;justify-content:center;color:inherit;text-decoration:none;border-top:1px solid rgba(255,255,255,.18)}
.editorial-service .service-switcher-bottom .service-home{min-width:210px;text-align:center;border-inline:1px solid rgba(255,255,255,.18)}
.editorial-service .service-switcher-bottom .service-next{text-align:right}
.editorial-service .service-switcher-bottom small{margin-bottom:10px;opacity:.68;text-transform:uppercase;letter-spacing:.12em}
.editorial-service .service-switcher-bottom strong{font:500 clamp(18px,2vw,28px)/1.15 Georgia,serif}
.editorial-service .service-hero-visual img{width:100%;height:100%;object-fit:cover}
@media(max-width:720px){.editorial-service .service-switcher-hero{inset-inline:10px;top:50%;transform:translateY(-50%)}.editorial-service .service-switcher-hero span{width:64px;height:64px;font-size:42px}.editorial-service .service-switcher-hero em{display:none}.editorial-service .service-switcher-bottom{grid-template-columns:1fr 1fr}.editorial-service .service-switcher-bottom a{min-height:118px;padding:24px 20px}.editorial-service .service-switcher-bottom .service-home{grid-column:1/-1;grid-row:2;min-width:0;border-inline:0;border-top:1px solid rgba(255,255,255,.18)}.editorial-service .service-switcher-bottom strong{font-size:18px}}

.article-hero h1 {
  max-width: 1120px;
  margin: 18px 0 28px;
  font: 400 clamp(44px, 7vw, 88px)/1.02 Georgia, serif;
}

.article-hero > p:not(.eyebrow) {
  max-width: 760px;
  margin-bottom: 32px;
  font-size: 20px;
  line-height: 1.6;
}

.article-hero .product-cta {
  background: #fff;
  color: var(--olive);
}

.service-article {
  max-width: 1040px;
  margin: 0 auto;
  padding: clamp(72px, 9vw, 130px) clamp(24px, 5vw, 64px);
}

.landscape-pool-page .service-article figure{margin:28px 0;max-width:100%}
.landscape-pool-page .service-article figure img{display:block;width:100%;height:auto;object-fit:contain}
.landscape-pool-page .service-article figure figcaption{padding:9px 0;color:var(--muted);font-size:14px}
.landscape-pool-page .landscape-pool-compare{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:30px 0 50px}
.landscape-pool-page .landscape-pool-compare figure{margin:0}
.landscape-pool-page .landscape-pool-compare img{aspect-ratio:auto;object-fit:contain}
@media(max-width:700px){.landscape-pool-page .landscape-pool-compare{grid-template-columns:1fr}}

.service-article section {
  padding: 0 0 clamp(64px, 8vw, 105px);
}

.service-article section + section {
  padding-top: clamp(56px, 7vw, 90px);
  border-top: 1px solid var(--line);
}

.service-article h2 {
  max-width: 900px;
  margin: 16px 0 32px;
  font: 400 clamp(36px, 5vw, 62px)/1.08 Georgia, serif;
}

.service-article h3 {
  margin: 38px 0 12px;
  font: 400 clamp(25px, 3vw, 34px)/1.18 Georgia, serif;
}

.service-article p {
  max-width: 820px;
  font-size: 18px;
  line-height: 1.75;
}

.case-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 38px;
}

.case-gallery.two-up {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 820px;
}

.case-gallery figure {
  margin: 0;
}

.case-gallery img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  background: #ece9e2;
}

.case-gallery figcaption {
  padding-top: 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.service-photo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
  margin-top: 42px;
}

.service-photo-grid figure {
  margin: 0;
}

.service-photo-grid img {
  display: block;
  width: 100%;
  height: auto;
  background: #ece9e2;
}

.article-inline-photo {
  width: min(72vw, 420px);
  margin: 38px auto 54px;
}

.article-inline-photo img {
  display: block;
  width: 100%;
  height: auto;
  background: #ece9e2;
}

.article-inline-photo figcaption {
  padding-top: 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.kitchen-maker-story .article-closing {
  margin-top: 36px;
}

.kitchen-maker-story .article-closing a {
  color: inherit;
  text-underline-offset: 4px;
}

.service-photo-grid figcaption {
  padding-top: 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.service-price-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 38px;
}

.service-price-cards article {
  padding: 28px;
  border: 1px solid var(--line);
  background: #fff;
}

.service-price-cards h3 {
  margin: 0 0 14px;
  font: 400 clamp(24px, 2.5vw, 32px)/1.15 Georgia, serif;
}

.service-price-cards strong {
  display: block;
  margin: 0 0 14px;
  color: var(--wine);
  font: 600 27px/1.15 Georgia, serif;
}

.service-price-cards p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
}

.service-price-note {
  margin-top: 26px;
  padding: 22px 26px;
  background: #ece9e2;
  font-size: 16px;
  line-height: 1.65;
}

.process-list {
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.process-list li {
  position: relative;
  padding: 18px 0 18px 58px;
  border-bottom: 1px solid var(--line);
  font-size: 18px;
  counter-increment: steps;
}

.process-list li::before {
  content: counter(steps, decimal-leading-zero);
  position: absolute;
  left: 0;
  color: var(--olive);
  font: 600 16px Georgia, serif;
}

.bathroom-process-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px 24px;
  margin-top: 42px;
}

.bathroom-process-gallery figure {
  margin: 0;
}

.bathroom-process-gallery img {
  display: block;
  width: 100%;
  height: auto;
  background: #ece9e2;
}

.bathroom-process-gallery figcaption {
  padding-top: 12px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.realized-bathroom-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px 24px;
  margin-top: 42px;
}

.realized-bathroom-gallery figure {
  margin: 0;
}

.realized-bathroom-gallery img {
  display: block;
  width: 100%;
  height: auto;
  background: #ece9e2;
}

.realized-bathroom-gallery figcaption {
  padding-top: 12px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.project-detail-link {
  display: inline-block;
  margin-top: 34px;
  color: var(--wine);
  font-weight: 700;
}

.bathroom-prices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 40px;
}

.bathroom-prices article {
  padding: 28px;
  border: 1px solid var(--line);
  background: #fff;
}

.bathroom-prices h3 {
  margin-top: 0;
}

.bathroom-prices strong {
  display: block;
  margin: 0 0 16px;
  color: var(--wine);
  font: 600 28px/1.1 Georgia, serif;
}

.bathroom-prices p {
  margin-bottom: 0;
  font-size: 16px;
  line-height: 1.55;
}

.bathroom-price-list {
  margin-top: 24px;
  border-top: 1px solid var(--line);
}

.bathroom-price-list > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 17px;
}

.bathroom-price-list strong {
  color: var(--wine);
  white-space: nowrap;
}

.bathroom-extra-prices {
  margin-top: 30px;
  padding: 24px 28px;
  background: #ece9e2;
}

.bathroom-extra-prices p {
  margin: 0;
  font-size: 16px;
}

.bathroom-extra-prices p + p {
  margin-top: 8px;
}

.service-faq details {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.service-faq summary {
  cursor: pointer;
  font: 400 23px/1.3 Georgia, serif;
}

.service-faq details p {
  margin: 16px 0 0;
  font-size: 17px;
}

@media (max-width: 760px) {
  .article-hero h1 {
    font-size: 44px;
  }

  .article-hero > p:not(.eyebrow) {
    font-size: 18px;
  }

  .service-article p,
  .process-list li {
    font-size: 17px;
  }

  .case-gallery {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .service-photo-grid,
  .service-price-cards {
    grid-template-columns: 1fr;
  }


  .case-gallery.two-up {
    grid-template-columns: 1fr;
  }

  .case-gallery img {
    width: auto;
    max-width: 100%;
    max-height: 68vh;
    margin: 0 auto;
  }

  .bathroom-process-gallery,
  .realized-bathroom-gallery,
  .bathroom-prices {
    grid-template-columns: 1fr;
  }

  .bathroom-process-gallery {
    gap: 32px;
  }

  .bathroom-price-list > div {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

/* Full-bleed editorial presentation for the furniture portfolio */
.editorial-service {
  background: #171814;
}

.editorial-service.service-rekonstrukce-bytoveho-jadra .product-visual img {
  object-position: center 52%;
}

.editorial-service .utility-bar {
  display: none;
}

.editorial-service .product-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  min-height: 108px;
  padding: 24px clamp(24px, 6vw, 88px);
  border: 0;
  background: transparent;
}

.editorial-service .product-header .brand,
.editorial-service .product-header .back-link {
  color: #fff;
  text-shadow: 0 2px 20px rgba(0, 0, 0, .55);
}

.editorial-service .product-header .brand span {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .035em;
}

.editorial-service .product-intro {
  position: relative;
  display: block;
  min-height: 100svh;
  overflow: hidden;
  background: #25261f;
}

.editorial-service .product-visual {
  position: absolute;
  inset: 0;
  display: block;
  padding: 0;
  background: #25261f;
}

.editorial-service .product-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(18, 19, 15, .78), rgba(18, 19, 15, .22) 65%, rgba(18, 19, 15, .08)),
    linear-gradient(0deg, rgba(18, 19, 15, .62), transparent 58%);
}

.editorial-service .product-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.editorial-service .product-summary {
  position: absolute;
  z-index: 4;
  left: clamp(24px, 7vw, 110px);
  right: clamp(24px, 7vw, 110px);
  bottom: clamp(42px, 8vh, 100px);
  display: block;
  max-width: 780px;
  padding: 0;
  color: #fff;
}

.editorial-service .product-summary h1 {
  margin: 16px 0 24px;
  font: 400 clamp(48px, 7vw, 94px)/.98 Georgia, serif;
  text-wrap: balance;
}

.editorial-service .product-lead {
  max-width: 620px;
  font-size: clamp(17px, 2vw, 22px);
}

.editorial-service .product-cta {
  margin-top: 18px;
  min-width: 260px;
  padding: 18px 25px;
  border: 1px solid rgba(255,255,255,.75);
  background: rgba(18,19,15,.2);
  text-align: center;
  backdrop-filter: blur(5px);
}

.editorial-service .product-visual .gallery-arrow {
  z-index: 5;
  border: 1px solid rgba(255,255,255,.65);
  background: rgba(20,21,17,.35);
  color: #fff;
  box-shadow: none;
  backdrop-filter: blur(5px);
}

.editorial-service .product-visual .gallery-count {
  z-index: 5;
  background: rgba(20,21,17,.55);
}

.editorial-service .floating-back {
  display: block;
  position: absolute;
  top: 18px;
  bottom: auto;
}

.service-drevostavby .wood-project-photo{max-width:1000px;margin:42px 0 0}
.service-drevostavby .wood-project-photo img{display:block;width:100%;height:auto}
.service-drevostavby .wood-project-photo figcaption{padding-top:12px;color:#68665f;font-size:14px}

.editorial-service .service-article {
  max-width: none;
  padding: 0;
  background: var(--cream);
}

.editorial-service .service-article > section {
  padding: clamp(74px, 9vw, 130px) clamp(24px, 8vw, 130px);
}

.editorial-service .service-article > section + section {
  padding-top: clamp(74px, 9vw, 130px);
}

.editorial-service .service-article .case-gallery {
  display: block;
  width: 100vw;
  max-width: none;
  margin: 48px 0 0 calc(50% - 50vw);
}

.editorial-service .case-gallery figure {
  position: relative;
  width: 100%;
  min-height: min(100svh, 980px);
  overflow: hidden;
  background: #1d1e19;
}

.editorial-service .case-gallery img {
  width: 100%;
  height: min(100svh, 980px);
  max-height: none;
  margin: 0;
  object-fit: cover;
  object-position: center;
  background: #1d1e19;
}

.editorial-service .case-gallery figure::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  pointer-events: none;
  background: linear-gradient(0deg, rgba(16,17,14,.72), transparent);
}

.editorial-service .case-gallery figcaption {
  position: absolute;
  z-index: 2;
  left: clamp(24px, 7vw, 110px);
  right: clamp(24px, 7vw, 110px);
  bottom: clamp(26px, 6vw, 72px);
  padding: 0;
  color: #fff;
  font: 400 clamp(24px, 3vw, 42px)/1.12 Georgia, serif;
  text-shadow: 0 2px 18px rgba(0,0,0,.65);
}

.editorial-service .portfolio-case .case-gallery {
  margin-bottom: calc(-1 * clamp(74px, 9vw, 130px));
}

@media (max-width: 760px) {
  .article-inline-photo {
    width: min(72vw, 320px);
    margin-top: 30px;
    margin-bottom: 44px;
  }

  .editorial-service .product-header {
    min-height: 92px;
    padding: 18px 20px;
  }

  .editorial-service .product-header .brand span {
    font-size: 17px;
  }

  .editorial-service .product-header .brand small {
    font-size: 8px;
  }

  .editorial-service .product-header .back-link {
    max-width: 108px;
    font-size: 9px;
    line-height: 1.45;
    text-align: right;
  }

  .editorial-service .product-intro {
    min-height: 100svh;
  }

  .editorial-service .product-visual::after {
    background: linear-gradient(0deg, rgba(18,19,15,.88) 0%, rgba(18,19,15,.45) 51%, rgba(18,19,15,.12) 80%);
  }

  .editorial-service .product-summary {
    left: 24px;
    right: 24px;
    bottom: 28px;
  }

  .editorial-service .product-summary h1 {
    margin: 12px 0 18px;
    font-size: clamp(39px, 11.5vw, 54px);
    line-height: 1;
  }

  .editorial-service .product-lead {
    margin: 0;
    font-size: 16px;
    line-height: 1.45;
  }

  .editorial-service .product-cta {
    width: 100%;
    min-width: 0;
    margin-top: 22px;
  }

  .editorial-service .product-visual .gallery-prev {
    left: 18px;
  }

  .editorial-service .product-visual .gallery-next {
    right: 18px;
  }

  .editorial-service .product-visual .gallery-count {
    right: 18px;
    bottom: auto;
    top: 110px;
  }

  .editorial-service .service-article > section {
    padding: 68px 24px;
  }

  .editorial-service .service-article > section + section {
    padding-top: 68px;
  }

  .editorial-service .case-gallery figure {
    min-height: 82svh;
  }

  .editorial-service .case-gallery img {
    width: 100%;
    height: 82svh;
    max-width: none;
    max-height: none;
    object-fit: cover;
  }

  .editorial-service .case-gallery figcaption {
    left: 24px;
    right: 24px;
    bottom: 30px;
    font-size: 27px;
  }

  .editorial-service .portfolio-case .case-gallery {
    margin-bottom: -68px;
  }
}
