/* Nová úvodní stránka – obsah (vše pod .hp). Barvy a písma z skin.css / DESIGN.md. */
.hp { grid-column: 1 / -1; margin: 0 calc(50% - 50vw); font-family: var(--sk-body); color: var(--sk-text); }
.hp *, .hp *::before, .hp *::after { box-sizing: border-box; }
.hp a { text-decoration: none; }
.hp img { display: block; max-width: 100%; }
.hp-wrap { width: min(1192px, 100% - 40px); margin-inline: auto; }
.hp :is(h1, h2, h3) { font-family: var(--sk-head); color: var(--sk-ink); font-weight: 700; margin: 0; text-wrap: balance; }
.hp-h2 { font-size: clamp(28px, 3.2vw, 40px); line-height: 1.12; text-transform: uppercase; letter-spacing: .01em; }
.hp-arrow { width: 1.1em; height: 1.1em; flex: none; transition: transform .35s var(--sk-ease); }
.hp-sec { padding: clamp(64px, 7vw, 100px) 0; }
.hp-sec-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 40px; margin-bottom: 40px; }
.hp-sec-head p { margin: 10px 0 0; max-width: 56ch; font-size: 17px; }
.hp-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: var(--sk-ink) !important; padding: 6px 0; box-shadow: inset 0 -2px 0 var(--sk-green); }
.hp-link:hover { color: var(--sk-green-text) !important; }
.hp-link:hover .hp-arrow { transform: translateX(4px); }

/* tlačítka */
.hp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 18px 30px; font: 600 14px/1 var(--sk-body); letter-spacing: .06em; text-transform: uppercase; transition: background-color .25s, color .25s, transform .3s var(--sk-ease); }
.hp-btn-primary { background: var(--sk-green); color: #fff !important; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .14), 0 12px 26px -12px rgba(16, 90, 68, .6); }
.hp-btn-primary:hover { background: var(--sk-green-deep); transform: translateY(-2px); }
.hp-btn-ghost { color: #fff !important; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .8); }
.hp-btn-ghost:hover { background: #fff; color: var(--sk-band-b) !important; }
.hp-btn:hover .hp-arrow { transform: translateX(4px); }

/* ---------- úvodní pruh ---------- */
.hp-hero { position: relative; overflow: hidden;
  /* koláž balení masek ze současného slideru; vlevo tmavší modrá kvůli čitelnosti bílého textu */
  background: linear-gradient(90deg, var(--sk-band-b) 0%, var(--sk-band-a) 38%, rgba(31, 120, 186, .55) 55%, rgba(31, 120, 186, 0) 70%),
              url("https://apnoe-spanek.cz/wp-content/uploads/2021/10/medical-slide-bg-1-1.png") right center / cover no-repeat, var(--sk-band-a); color: #fff; padding: calc(var(--wd-header-h, 130px) + 56px) 0 150px; }
.hp-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 80px; background: var(--sk-wave) center bottom / 100% 100% no-repeat; }
.hp-hero .hp-wrap { display: grid; grid-template-columns: minmax(0, 620px); min-height: 380px; align-items: center; }
.hp-hero h1 { color: #fff; font-size: clamp(40px, 5.2vw, 72px); line-height: 1.08; text-transform: uppercase; letter-spacing: .005em; }
.hp-hero-lead { margin: 22px 0 32px; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; max-width: 46ch; color: #fff; }
.hp-hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hp-hero-b2b { display: inline-flex; align-items: center; gap: 8px; margin-top: 26px; color: #fff !important; font-size: 15px; font-weight: 500; }
.hp-hero-b2b span { box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .6); }
.hp-hero-b2b:hover .hp-arrow { transform: translateX(4px); }
.hp-hero-art { position: relative; margin-right: -6%; }
.hp-hero-art img { width: 100%; filter: drop-shadow(0 40px 50px rgba(5, 30, 60, .45)); }
@media (prefers-reduced-motion: no-preference) {
  .hp-hero-art img { animation: hpRise 1.1s var(--sk-ease) both .1s; }
  @keyframes hpRise { from { opacity: 0; translate: 0 30px; } to { opacity: 1; translate: 0 0; } }
}

/* ---------- pruh faktů ---------- */
.hp-facts { position: relative; z-index: 2; margin-top: -56px; }
.hp-facts ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; box-shadow: 0 30px 60px -36px rgba(14, 58, 95, .55); }
.hp-facts li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center; padding: 26px 24px; border-left: 1px solid var(--sk-line); }
.hp-facts li:first-child { border-left: 0; }
.hp-facts svg { width: 44px; height: 44px; padding: 10px; background: var(--sk-tint); color: var(--sk-band-b); }
.hp-facts strong { display: block; color: var(--sk-ink); font-size: 15px; font-weight: 600; line-height: 1.3; }
.hp-facts span { display: block; font-size: 13.5px; color: var(--sk-muted); margin-top: 2px; }

/* ---------- kategorie ---------- */
.hp-cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.hp-cat { position: relative; display: grid; grid-template-columns: 1fr 42%; align-items: center; min-height: 190px; background: #fff; border: 1px solid var(--sk-line); padding: 26px; overflow: hidden; transition: border-color .3s, box-shadow .4s, transform .4s var(--sk-ease); }
.hp-cat:hover { border-color: var(--sk-blue); box-shadow: 0 26px 46px -30px rgba(14, 58, 95, .55); transform: translateY(-3px); }
.hp-cat h3 { font-size: 21px; line-height: 1.15; text-transform: uppercase; letter-spacing: .02em; }
.hp-cat-count { display: block; margin-top: 8px; font-size: 14px; color: var(--sk-muted); font-variant-numeric: tabular-nums; }
.hp-cat-go { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-weight: 600; font-size: 14px; color: var(--sk-green-text); }
.hp-cat:hover .hp-cat-go .hp-arrow { transform: translateX(4px); }
.hp-cat img { width: 100%; aspect-ratio: 1; object-fit: contain; mix-blend-mode: multiply; transition: transform .6s var(--sk-ease); }
.hp-cat:hover img { transform: scale(1.06); }

/* ---------- nejprodávanější (prvek šablony beze změny) ---------- */
.hp-products { background: #fff; border-block: 1px solid var(--sk-line); }
.hp-products .wd-products-element .title-wrapper, .hp-products .elementor-widget-wd_title { display: none; }

/* ---------- e-poukaz ---------- */
.hp-voucher .hp-wrap { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: start; }
.hp-steps { list-style: none; margin: 28px 0 32px; padding: 0; counter-reset: hp; display: grid; gap: 18px; }
.hp-steps li { counter-increment: hp; display: grid; grid-template-columns: 52px 1fr; gap: 18px; align-items: start; font-size: 16.5px; line-height: 1.55; color: #34414c; }
.hp-steps li::before { content: counter(hp); display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--sk-green); color: #fff; font: 700 24px/1 var(--sk-head); box-shadow: 0 10px 22px -10px rgba(16, 90, 68, .6); }
.hp-steps strong { color: var(--sk-ink); display: block; font-size: 17px; margin-bottom: 2px; }
.hp-voucher-cta { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; }
.hp-note { background: #fff; border: 1px solid var(--sk-line); padding: 30px 32px; box-shadow: 0 30px 60px -44px rgba(14, 58, 95, .5); }
.hp-note h3 { font-size: 20px; text-transform: uppercase; letter-spacing: .02em; margin-bottom: 18px; }
.hp-note dl { margin: 0; }
.hp-note dt { font-weight: 600; color: var(--sk-ink); font-size: 15.5px; }
.hp-note dd { margin: 4px 0 18px; font-size: 15px; line-height: 1.6; }
.hp-note dd:last-of-type { margin-bottom: 22px; }

/* ---------- možnosti léčby ---------- */
.hp-therapy { background: var(--sk-tint); }
.hp-therapy-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 2px solid var(--sk-ink); }
.hp-therapy-grid > div { padding: 24px 24px 8px 0; }
.hp-therapy-grid > div + div { padding-left: 24px; border-left: 1px solid var(--sk-line); }
.hp-therapy h3 { font-size: 19px; line-height: 1.25; margin-bottom: 10px; }
.hp-therapy p { margin: 0; font-size: 15px; line-height: 1.65; }
.hp-disclaimer { margin: 32px 0 0; font-size: 14px; color: var(--sk-muted); }

/* ---------- aktuality (karty .an-card z Aktualit) ---------- */
.hp-news .an-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }

/* ---------- kontakt ---------- */
.hp-contact { position: relative; background: linear-gradient(120deg, var(--sk-band-a) 0%, var(--sk-band-b) 100%); color: #fff; padding: 110px 0 96px; overflow: hidden; }
.hp-contact::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 70px; transform: scaleY(-1); background: var(--sk-wave) center / 100% 100% no-repeat; }
.hp-contact .hp-wrap { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 30px 60px; }
.hp-contact h2 { color: #fff; }
.hp-contact p { margin: 12px 0 0; font-size: 18px; color: #fff; }
.hp-contact-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- responzivita ---------- */
@media (max-width: 1024px) {
  .hp-hero .hp-wrap, .hp-voucher .hp-wrap { grid-template-columns: 1fr; }
  .hp-hero-art { max-width: 620px; margin: 0 auto; }
  .hp-facts ul { grid-template-columns: repeat(2, 1fr); }
  .hp-facts li:nth-child(3) { border-left: 0; }
  .hp-facts li:nth-child(n+3) { border-top: 1px solid var(--sk-line); }
  .hp-cats { grid-template-columns: repeat(2, 1fr); }
  .hp-therapy-grid { grid-template-columns: repeat(2, 1fr); }
  .hp-therapy-grid > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .hp-news .an-grid { grid-template-columns: repeat(2, 1fr); }
  .hp-contact .hp-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .hp-hero { padding-bottom: 120px; }
  .hp-hero h1 { font-size: 38px; }
  .hp-hero-cta .hp-btn { width: 100%; }
  .hp-facts ul { grid-template-columns: 1fr; }
  .hp-facts li { border-left: 0; border-top: 1px solid var(--sk-line); }
  .hp-facts li:first-child { border-top: 0; }
  .hp-cats { grid-template-columns: 1fr; }
  .hp-cat { min-height: 150px; padding: 20px; }
  .hp-therapy-grid { grid-template-columns: 1fr; }
  .hp-therapy-grid > div, .hp-therapy-grid > div + div { padding: 20px 0 8px; border-left: 0; border-top: 1px solid var(--sk-line); }
  .hp-news .an-grid { grid-template-columns: 1fr; }
  .hp-contact-actions .hp-btn { width: 100%; }
}

/* produkty na úvodu (stejný vzhled jako karty v e-shopu) */
.hp-prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.hp-prod { display: flex; flex-direction: column; gap: 8px; background: #fff; border: 1px solid var(--sk-line); padding: 14px 14px 18px; transition: border-color .3s, box-shadow .4s, transform .4s var(--sk-ease); }
.hp-prod:hover { border-color: var(--sk-blue); box-shadow: 0 26px 46px -30px rgba(14, 58, 95, .55); transform: translateY(-3px); }
.hp-prod-img { display: block; aspect-ratio: 1; margin-bottom: 6px; }
.hp-prod-img img { width: 100%; height: 100%; object-fit: contain; }
.hp-prod-name { font: 700 16.5px/1.3 var(--sk-head); color: var(--sk-ink) !important; }
.hp-prod-name:hover { color: var(--sk-band-b) !important; }
.hp-prod-cat { font-size: 12.5px; color: var(--sk-muted); }
.hp-prod-foot { margin-top: auto; padding-top: 10px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.hp-prod-price { font-size: 17px; font-weight: 700; color: var(--sk-green-text); font-variant-numeric: tabular-nums; }
.hp-prod .hp-prod-add { min-height: 40px !important; padding: 0 14px !important; font-size: 12px !important; background: var(--sk-green) !important; color: #fff !important; }
.hp-prod .hp-prod-add:hover { background: var(--sk-green-deep) !important; }
@media (max-width: 1024px) { .hp-prod-grid { grid-template-columns: repeat(2, 1fr); } .hp-hero { background-position: 0 0, 75% center, 0 0; } }
@media (max-width: 640px) {
  .hp-prod-grid { gap: 12px; }
  .hp-prod-foot { flex-direction: column; align-items: stretch; }
  .hp-hero { background: linear-gradient(180deg, rgba(20, 86, 142, .92) 0%, rgba(31, 120, 186, .88) 70%, rgba(31, 120, 186, .6) 100%), url("https://apnoe-spanek.cz/wp-content/uploads/2021/10/medical-slide-bg-1-1.png") 80% center / cover no-repeat; }
  .hp-hero .hp-wrap { min-height: 0; }
}

.hp-elementor, .hp-elementor > .e-con-inner { padding: 0 !important; gap: 0 !important; }
.hp-elementor .elementor-widget { margin: 0 !important; width: 100%; }

/* Úvodní stránka z nativních prvků Elementoru (třídy hpe-*). Barvy a písma: skin.css / DESIGN.md. */
.hpe-sec, .hpe-hero, .hpe-facts, .hpe-contact { font-family: var(--sk-body); color: var(--sk-text); }
:is(.hpe-hero, .hpe-facts, .hpe-sec, .hpe-contact).e-con { padding-left: var(--sk-gut, 20px) !important; padding-right: var(--sk-gut, 20px) !important; }
:is(.hpe-hero, .hpe-facts, .hpe-sec, .hpe-contact) > .e-con-inner { width: 100%; max-width: var(--sk-inner, 1192px) !important; padding: 0 !important; }
[class*="hpe-"] .elementor-widget { margin-bottom: 0 !important; }
.hpe-sec .e-con, .hpe-hero .e-con, .hpe-contact .e-con, .hpe-facts .e-con { --padding-top: 0px; --padding-bottom: 0px; --padding-left: 0px; --padding-right: 0px; }
.hp-page .wd-content-layout { padding: 0 !important; }

/* společné: nadpisy, odkazy, tlačítka */
.hpe-h1 .elementor-heading-title, .hpe-h2 .elementor-heading-title { font-family: var(--sk-head); font-weight: 700; text-transform: uppercase; letter-spacing: .005em; text-wrap: balance; }
.hpe-h2 .elementor-heading-title { font-size: clamp(28px, 3.2vw, 40px); line-height: 1.12; color: var(--sk-ink); }
:is(.hpe-btn-primary, .hpe-btn-ghost) .elementor-button { border-radius: 0; padding: 18px 30px; font: 600 14px/1 var(--sk-body); letter-spacing: .06em; text-transform: uppercase; transition: background-color .25s, color .25s, transform .3s var(--sk-ease); }
.hpe-btn-primary .elementor-button { background: var(--sk-green); color: #fff; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .14), 0 12px 26px -12px rgba(16, 90, 68, .6); }
.hpe-btn-primary .elementor-button:hover { background: var(--sk-green-deep); color: #fff; transform: translateY(-2px); }
.hpe-btn-ghost .elementor-button { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .8); }
.hpe-btn-ghost .elementor-button:hover { background: #fff; color: var(--sk-band-b); }
.hpe-link .elementor-button { background: none; padding: 6px 0; border-radius: 0; color: var(--sk-ink); font: 600 15px/1.2 var(--sk-body); box-shadow: inset 0 -2px 0 var(--sk-green); }
.hpe-link .elementor-button:hover { color: var(--sk-green-text); }
:is(.hpe-link, .hpe-btn-primary, .hpe-b2b) .elementor-button-text { display: inline-flex; align-items: center; gap: 8px; }
:is(.hpe-link, .hpe-btn-primary, .hpe-b2b) .elementor-button-text::after, .hpe-cat-go p::after {
  content: ""; width: 1.1em; height: 1.1em; background: currentColor; transition: transform .35s var(--sk-ease);
  -webkit-mask: var(--sk-arrow) center / contain no-repeat; mask: var(--sk-arrow) center / contain no-repeat;
}
.hpe-contact .hpe-btn-primary .elementor-button-text::after { display: none; }
:is(.hpe-link, .hpe-btn-primary, .hpe-b2b) .elementor-button:hover .elementor-button-text::after { transform: translateX(4px); }
:root { --sk-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h13M13 6l6 6-6 6' fill='none' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E"); }
.hpe-cta.e-con > .e-con-inner, .hpe-cta.e-con { gap: 14px 24px !important; }
.hpe-cta .elementor-widget { width: auto; }

/* sekce + hlavička sekce */
.hpe-sec.e-con { padding-top: clamp(64px, 7vw, 100px) !important; padding-bottom: clamp(64px, 7vw, 100px) !important; }
.hpe-sec > .e-con-inner { gap: 40px !important; }
.hpe-head.e-con { gap: 16px 40px !important; }
.hpe-head-text.e-con { gap: 10px !important; width: auto; flex: 1 1 420px; }
.hpe-head-desc { font-size: 17px; max-width: 56ch; }
.hpe-head-desc p { margin: 0; }
.hpe-head .hpe-link { width: auto; }

/* ---------- úvodní pruh ---------- */
.hpe-hero.e-con {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(90deg, var(--sk-band-b) 0%, var(--sk-band-a) 38%, rgba(31, 120, 186, .55) 55%, rgba(31, 120, 186, 0) 70%),
              url("https://apnoe-spanek.cz/wp-content/uploads/2021/10/medical-slide-bg-1-1.png") right center / cover no-repeat, var(--sk-band-a) !important;
  padding-top: calc(var(--wd-header-h, 130px) + 56px) !important; padding-bottom: 150px !important;
}
.hpe-hero.e-con::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 80px; background: var(--sk-wave) center bottom / 100% 100% no-repeat; pointer-events: none; }
.hpe-hero-text.e-con { max-width: 620px; min-height: 380px; justify-content: center; gap: 22px !important; }
.hpe-h1 .elementor-heading-title { color: #fff; font-size: clamp(40px, 5.2vw, 72px); line-height: 1.08; }
.hpe-lead, .hpe-lead p { color: #fff; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; margin: 0; max-width: 46ch; }
.hpe-hero .hpe-cta { margin-top: 10px; }
.hpe-b2b .elementor-button { background: none; padding: 0; color: #fff; font: 500 15px/1.4 var(--sk-body); text-transform: none; letter-spacing: 0; }
.hpe-b2b .elementor-button-text { box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .6); }
@media (prefers-reduced-motion: no-preference) {
  .hpe-hero-text > .elementor-element { animation: hpeRise .9s var(--sk-ease) both; }
  .hpe-hero-text > .elementor-element:nth-child(2) { animation-delay: .06s; }
  .hpe-hero-text > .elementor-element:nth-child(3) { animation-delay: .12s; }
  .hpe-hero-text > .elementor-element:nth-child(4) { animation-delay: .18s; }
  @keyframes hpeRise { from { opacity: 0; translate: 0 18px; } to { opacity: 1; translate: 0 0; } }
}

/* ---------- pruh faktů (Ikona s textem) ---------- */
.hpe-facts.e-con { position: relative; z-index: 2; margin-top: -56px !important; padding-bottom: 0 !important; }
.hpe-facts-row.e-con { display: grid !important; grid-template-columns: repeat(4, 1fr); gap: 0 !important; background: #fff; box-shadow: 0 30px 60px -36px rgba(14, 58, 95, .55); }
.hpe-fact { padding: 26px 24px; border-left: 1px solid var(--sk-line); }
.hpe-fact:first-child { border-left: 0; }
.hpe-fact .elementor-icon-box-wrapper { display: flex !important; align-items: center; gap: 14px; text-align: left; }
.hpe-fact .elementor-icon-box-icon { margin: 0 !important; flex: none; }
.hpe-fact .elementor-icon { width: 44px; height: 44px; display: grid; place-items: center; background: var(--sk-tint); color: var(--sk-band-b) !important; fill: var(--sk-band-b) !important; font-size: 19px; border-radius: 0; }
.hpe-fact .elementor-icon svg { width: 20px; height: 20px; fill: var(--sk-band-b); }
.hpe-fact .elementor-icon-box-title { margin: 0 !important; font: 600 15px/1.3 var(--sk-body); color: var(--sk-ink); text-transform: none; }
.hpe-fact .elementor-icon-box-title, .hpe-fact .elementor-icon-box-title a { color: var(--sk-ink); }
.hpe-fact .elementor-icon-box-description { margin: 2px 0 0; font-size: 13.5px; color: var(--sk-muted); }

/* ---------- kategorie ---------- */
.hpe-cats.e-con { display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 20px !important; }
.hpe-cat.e-con { display: grid !important; grid-template-columns: 1fr 42%; align-items: center; min-height: 190px; background: #fff; border: 1px solid var(--sk-line); padding: 26px !important; overflow: hidden; text-decoration: none;
  transition: border-color .3s, box-shadow .4s, transform .4s var(--sk-ease); }
.hpe-cat.e-con:hover { border-color: var(--sk-blue); box-shadow: 0 26px 46px -30px rgba(14, 58, 95, .55); transform: translateY(-3px); }
.hpe-cat.e-con:focus-visible { outline: 3px solid var(--sk-band-a); outline-offset: 3px; }
.hpe-cat-text.e-con { gap: 14px !important; }
.hpe-cat-title .elementor-heading-title { font-family: var(--sk-head); font-weight: 700; font-size: 21px; line-height: 1.15; text-transform: uppercase; letter-spacing: .02em; color: var(--sk-ink); }
.hpe-cat-go p { margin: 0; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; color: var(--sk-green-text); }
.hpe-cat:hover .hpe-cat-go p::after { transform: translateX(4px); }
.hpe-cat-img img { width: 100%; aspect-ratio: 1; object-fit: contain; mix-blend-mode: multiply; transition: transform .6s var(--sk-ease); }
.hpe-cat:hover .hpe-cat-img img { transform: scale(1.06); }

/* ---------- nejprodávanější (WoodMart Produkty; karty stylují pravidla e-shopu ve vzhled.css) ---------- */
.hpe-products.e-con { background: #fff !important; border-top: 1px solid var(--sk-line); border-bottom: 1px solid var(--sk-line); }
.hpe-products .wd-products-element .title-wrapper { display: none; }

/* ---------- e-poukaz ---------- */
.hpe-voucher-row.e-con { display: grid !important; grid-template-columns: 1.15fr 1fr; gap: 56px !important; align-items: start; }
.hpe-voucher-main.e-con { gap: 28px !important; }
.hpe-steps.e-con { gap: 18px !important; counter-reset: hpe; }
.hpe-step.e-con { counter-increment: hpe; display: grid !important; grid-template-columns: 52px 1fr; column-gap: 18px; row-gap: 2px; }
.hpe-step.e-con::before { content: counter(hpe); grid-row: 1 / span 2; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--sk-green); color: #fff; font: 700 24px/1 var(--sk-head); box-shadow: 0 10px 22px -10px rgba(16, 90, 68, .6); }
.hpe-step > .elementor-element { grid-column: 2; }
.hpe-step-title .elementor-heading-title { font: 600 17px/1.35 var(--sk-body); color: var(--sk-ink); text-transform: none; }
.hpe-step-text p { margin: 0; font-size: 16.5px; line-height: 1.55; color: #34414c; }
.hpe-note.e-con { background: #fff; border: 1px solid var(--sk-line); padding: 30px 32px !important; gap: 18px !important; box-shadow: 0 30px 60px -44px rgba(14, 58, 95, .5); }
.hpe-note-title .elementor-heading-title { font-family: var(--sk-head); font-weight: 700; font-size: 20px; text-transform: uppercase; letter-spacing: .02em; color: var(--sk-ink); }
.hpe-note-text p { margin: 0 0 16px; font-size: 15px; line-height: 1.6; }
.hpe-note-text strong { color: var(--sk-ink); font-weight: 600; font-size: 15.5px; }
.hpe-note .hpe-link { width: auto; }

/* ---------- možnosti léčby ---------- */
.hpe-therapy.e-con { background: var(--sk-tint) !important; }
.hpe-therapy-grid.e-con { display: grid !important; grid-template-columns: repeat(4, 1fr); gap: 0 !important; border-top: 2px solid var(--sk-ink); }
.hpe-therapy-item.e-con { padding: 24px 24px 8px 0 !important; gap: 10px !important; }
.hpe-therapy-item.e-con + .hpe-therapy-item.e-con { padding-left: 24px !important; border-left: 1px solid var(--sk-line); }
.hpe-therapy-title .elementor-heading-title { font-family: var(--sk-head); font-weight: 700; font-size: 19px; line-height: 1.25; color: var(--sk-ink); text-transform: none; }
.hpe-therapy-text p { margin: 0; font-size: 15px; line-height: 1.65; }
.hpe-disclaimer p { margin: 0; font-size: 14px; color: var(--sk-muted); }

/* ---------- aktuality (WoodMart Blog) – vzhled karet jako v Aktualitách ---------- */
.hpe-blog .wd-post .wd-post-inner { display: flex; flex-direction: column; height: 100%; }
.hpe-blog .wd-post-thumb { overflow: hidden; margin-bottom: 20px; background: var(--sk-tint); }
.hpe-blog .wd-post-thumb img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .8s var(--sk-ease); }
.hpe-blog .wd-post:hover .wd-post-thumb img { transform: scale(1.045); }
.hpe-blog .wd-post-date { display: none !important; }
.hpe-blog .wd-post-content { display: flex; flex-direction: column; gap: 12px; text-align: left; padding: 0 !important; background: none !important; }
.hpe-blog .wd-post-cat { order: 3; position: static !important; background: none !important; padding: 0 !important; font-size: 13.5px; }
.hpe-blog .wd-post-cat a { color: var(--sk-green-text) !important; font-weight: 600; text-transform: none; background: none !important; padding: 0 !important; }
.hpe-blog .wd-post-cat a[href$="/spankova-apnoe/"] { display: none; }
.hpe-blog .wd-post-title { order: 1; margin: 0; font-family: var(--sk-head); font-weight: 700; font-size: 22px; line-height: 1.22; text-transform: none; }
.hpe-blog .wd-post-title a { color: var(--sk-ink); background: linear-gradient(var(--sk-green), var(--sk-green)) 0 100% / 0 2px no-repeat; transition: background-size .45s var(--sk-ease); }
.hpe-blog .wd-post:hover .wd-post-title a { background-size: 100% 2px; }
.hpe-blog .wd-post-excerpt { order: 2; font-size: 15.5px; line-height: 1.6; color: var(--sk-text); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hpe-blog .wd-post-read-more { display: none; }

/* ---------- kontakt ---------- */
.hpe-contact.e-con { position: relative; overflow: hidden; background: linear-gradient(120deg, var(--sk-band-a) 0%, var(--sk-band-b) 100%) !important; padding-top: 110px !important; padding-bottom: 96px !important; }
.hpe-contact.e-con::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 70px; transform: scaleY(-1); background: var(--sk-wave) center / 100% 100% no-repeat; pointer-events: none; }
.hpe-contact .hpe-h2 .elementor-heading-title { color: #fff; }
.hpe-contact-text.e-con { gap: 12px !important; width: auto; }
.hpe-contact-lead p { margin: 0; font-size: 18px; color: #fff; }
.hpe-contact-row.e-con { gap: 30px 60px !important; }
.hpe-contact .hpe-cta { width: auto; }

/* ---------- responzivita ---------- */
@media (max-width: 1024px) {
  .hpe-hero.e-con { background-position: 0 0, 75% center, 0 0 !important; }
  .hpe-facts-row.e-con { grid-template-columns: repeat(2, 1fr); }
  .hpe-fact:nth-child(3) { border-left: 0; }
  .hpe-fact:nth-child(n+3) { border-top: 1px solid var(--sk-line); }
  .hpe-cats.e-con { grid-template-columns: repeat(2, 1fr); }
  .hpe-voucher-row.e-con { grid-template-columns: 1fr; }
  .hpe-therapy-grid.e-con { grid-template-columns: repeat(2, 1fr); }
  .hpe-therapy-item.e-con:nth-child(3) { padding-left: 0 !important; border-left: 0; }
}
@media (max-width: 640px) {
  .hpe-hero.e-con { padding-bottom: 120px !important;
    background: linear-gradient(180deg, rgba(20, 86, 142, .92) 0%, rgba(31, 120, 186, .88) 70%, rgba(31, 120, 186, .6) 100%), url("https://apnoe-spanek.cz/wp-content/uploads/2021/10/medical-slide-bg-1-1.png") 80% center / cover no-repeat !important; }
  .hpe-hero-text.e-con { min-height: 0; }
  .hpe-h1 .elementor-heading-title { font-size: 38px; }
  .hpe-hero .hpe-cta .elementor-widget, .hpe-hero .hpe-cta .elementor-button, .hpe-contact .hpe-cta .elementor-widget, .hpe-contact .hpe-cta .elementor-button { width: 100%; }
  .hpe-facts-row.e-con { grid-template-columns: 1fr; }
  .hpe-fact { border-left: 0 !important; border-top: 1px solid var(--sk-line); }
  .hpe-fact:first-child { border-top: 0; }
  .hpe-cats.e-con { grid-template-columns: 1fr; }
  .hpe-cat.e-con { min-height: 150px; padding: 20px !important; }
  .hpe-therapy-grid.e-con { grid-template-columns: 1fr; }
  .hpe-therapy-item.e-con, .hpe-therapy-item.e-con + .hpe-therapy-item.e-con { padding: 20px 0 8px !important; border-left: 0; border-top: 1px solid var(--sk-line); }
}

/* doladění po náhledu: štítek tématu prvku Blog leží přes text → na úvodu bez něj; karty produktů stejně vysoké */
.hpe-blog .wd-post-cat { display: none !important; }
.hpe-products :is(.products, .wd-products) { align-items: stretch; }
.hpe-products .wd-product { height: auto; display: flex; }
.hpe-products .wd-product .wd-product-wrapper { width: 100%; }

/* ---------- doladění 2026-11-10: hero s vyříznutou fotkou balení (bez slideru v pozadí) ---------- */
.hpe-hero--foto.e-con {
  background: radial-gradient(48% 70% at 76% 50%, rgba(255, 255, 255, .2) 0%, rgba(255, 255, 255, 0) 72%),
              linear-gradient(115deg, var(--sk-band-b) 0%, var(--sk-band-a) 100%), var(--sk-band-a) !important;
  padding-bottom: 130px !important;
}
.hpe-hero-row.e-con { display: grid !important; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: 32px 48px !important; align-items: center; }
.hpe-hero--foto .hpe-hero-text.e-con { min-height: 0; max-width: 600px; }
.hpe-hero-media.e-con { align-items: center; justify-content: center; }
.hpe-hero-img img { display: block; width: 100%; max-width: 640px; height: auto; margin-inline: auto; filter: drop-shadow(0 30px 34px rgba(5, 30, 56, .42)) drop-shadow(0 6px 10px rgba(5, 30, 56, .22)); }
@media (prefers-reduced-motion: no-preference) {
  .hpe-hero-img { animation: hpeRise 1.1s var(--sk-ease) .2s both; }
}

/* ---------- možnosti léčby: ikony + zvýrazněné upozornění ---------- */
.hpe-therapy-item.e-con { gap: 12px !important; }
.hpe-therapy-ic .elementor-icon-wrapper { text-align: left; line-height: 0; }
.hpe-therapy-ic .elementor-icon { width: 56px; height: 56px; display: inline-grid !important; place-items: center; margin-bottom: 6px; background: var(--sk-band-b); color: #fff !important; font-size: 23px; box-shadow: 0 14px 26px -16px rgba(14, 58, 95, .75); }
.hpe-therapy-ic .elementor-icon i { color: #fff; }
.hpe-therapy-ic .elementor-icon svg { width: 24px; height: 24px; fill: #fff; }
.hpe-doctor.e-con { background: #fff; border: 1px solid var(--sk-line); padding: 26px 32px !important; gap: 18px 40px !important; box-shadow: 0 30px 60px -44px rgba(14, 58, 95, .5); }
.hpe-doctor-box { flex: 1 1 520px; width: auto; }
.hpe-doctor-box .elementor-icon-box-wrapper { display: flex !important; align-items: center; gap: 22px; text-align: left; }
.hpe-doctor-box .elementor-icon-box-icon { margin: 0 !important; flex: none; }
.hpe-doctor-box .elementor-icon { width: 62px; height: 62px; display: grid; place-items: center; background: var(--sk-green); color: #fff !important; font-size: 27px; box-shadow: 0 12px 24px -12px rgba(16, 90, 68, .6); }
.hpe-doctor-box .elementor-icon i { color: #fff; }
.hpe-doctor-box .elementor-icon svg { width: 27px; height: 27px; fill: #fff; }
.hpe-doctor-box .elementor-icon-box-title { margin: 0 0 6px !important; font-family: var(--sk-head); font-weight: 700; font-size: clamp(20px, 2vw, 24px); line-height: 1.2; text-transform: uppercase; letter-spacing: .01em; color: var(--sk-ink); }
.hpe-doctor-box .elementor-icon-box-description { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--sk-text); max-width: 62ch; }
.hpe-doctor .hpe-link { width: auto; }

@media (max-width: 1024px) {
  .hpe-hero--foto.e-con { background-position: 0 0 !important; }
}
@media (max-width: 900px) {
  .hpe-hero-row.e-con { grid-template-columns: 1fr; }
  .hpe-hero-media.e-con { align-items: flex-start; }
  .hpe-hero-img img { max-width: 480px; margin-inline: 0; }
}
@media (max-width: 640px) {
  .hpe-hero--foto.e-con { background: radial-gradient(70% 40% at 50% 80%, rgba(255, 255, 255, .18) 0%, rgba(255, 255, 255, 0) 70%), linear-gradient(170deg, var(--sk-band-b) 0%, var(--sk-band-a) 100%) !important; padding-bottom: 110px !important; }
  .hpe-hero-img img { max-width: 100%; }
  .hpe-doctor.e-con { padding: 22px 20px !important; }
  .hpe-doctor-box .elementor-icon-box-wrapper { align-items: flex-start; gap: 16px; }
  .hpe-doctor-box .elementor-icon { width: 52px; height: 52px; font-size: 22px; }
}
/* Elementor na mobilu staví „Ikonu s textem“ nahoru a na střed – tady držíme zarovnání vlevo */
@media (max-width: 767px) {
  .hpe-fact .elementor-icon-box-wrapper { flex-direction: row !important; align-items: center !important; text-align: left !important; }
  .hpe-fact .elementor-icon-box-content { text-align: left !important; }
  .hpe-doctor-box .elementor-icon-box-wrapper { flex-direction: column !important; align-items: flex-start !important; text-align: left !important; }
  .hpe-doctor-box .elementor-icon-box-content { text-align: left !important; }
}

/* =====================================================================
   ÚVOD – MĚŘÍTKO PRO ŠIRŠÍ RÁM (2026-11-10)
   ===================================================================== */
@media (min-width: 1200px) {
  /* společné */
  .hpe-h2 .elementor-heading-title { font-size: clamp(34px, 3vw, 50px); }
  .hpe-head-desc { font-size: 19px; max-width: 64ch; }
  .hpe-link .elementor-button { font-size: 17px; padding: 8px 0; }
  :is(.hpe-btn-primary, .hpe-btn-ghost) .elementor-button { padding: 21px 36px; font-size: 15.5px; }
  .hpe-sec > .e-con-inner { gap: 48px !important; }
  /* úvodní pruh: větší fotka */
  .hpe-h1 .elementor-heading-title { font-size: clamp(56px, 4.6vw, 84px); }
  .hpe-lead, .hpe-lead p { font-size: 22px; max-width: 44ch; }
  .hpe-b2b .elementor-button { font-size: 16.5px; }
  .hpe-hero-row.e-con { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); }
  .hpe-hero--foto .hpe-hero-text.e-con { max-width: 680px; }
  .hpe-hero-img img { max-width: 860px; }
  .hpe-hero--foto.e-con { padding-bottom: 150px !important; }
  /* pruh výhod */
  .hpe-facts.e-con { margin-top: -66px !important; }
  .hpe-fact { padding: 34px 32px; }
  .hpe-fact .elementor-icon-box-wrapper { gap: 18px; }
  .hpe-fact .elementor-icon { width: 58px; height: 58px; font-size: 24px; }
  .hpe-fact .elementor-icon svg { width: 26px; height: 26px; }
  .hpe-fact .elementor-icon-box-title { font-size: 18.5px; }
  .hpe-fact .elementor-icon-box-description { font-size: 15.5px; margin-top: 4px; }
  /* kategorie */
  .hpe-cats.e-con { gap: 24px !important; }
  .hpe-cat.e-con { min-height: 240px; padding: 34px !important; }
  .hpe-cat-title .elementor-heading-title { font-size: 25px; }
  .hpe-cat-go p { font-size: 15.5px; }
  /* e-poukaz: vyrovnané sloupce, menší prázdná plocha mezi nimi */
  .hpe-voucher-row.e-con { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(48px, 5vw, 96px) !important; align-items: center; }
  .hpe-voucher-main.e-con { gap: 32px !important; }
  .hpe-steps.e-con { gap: 24px !important; }
  .hpe-step.e-con { grid-template-columns: 60px 1fr; column-gap: 22px; }
  .hpe-step.e-con::before { width: 60px; height: 60px; font-size: 27px; }
  .hpe-step-title .elementor-heading-title { font-size: 20px; }
  .hpe-step-text p { font-size: 18px; }
  .hpe-note.e-con { padding: 42px 46px !important; gap: 22px !important; }
  .hpe-note-title .elementor-heading-title { font-size: 25px; }
  .hpe-note-text p { font-size: 17px; margin-bottom: 20px; }
  .hpe-note-text strong { font-size: 18px; }
  /* možnosti léčby */
  .hpe-therapy-item.e-con { padding-top: 30px !important; }
  .hpe-therapy-ic .elementor-icon { width: 64px; height: 64px; font-size: 27px; }
  .hpe-therapy-title .elementor-heading-title { font-size: 22px; }
  .hpe-therapy-text p { font-size: 16.5px; }
  .hpe-doctor.e-con { padding: 32px 40px !important; }
  .hpe-doctor-box .elementor-icon { width: 70px; height: 70px; font-size: 30px; }
  .hpe-doctor-box .elementor-icon-box-title { font-size: 28px; }
  .hpe-doctor-box .elementor-icon-box-description { font-size: 17.5px; }
  /* aktuality */
  .hpe-blog .wd-post-title { font-size: 25px; }
  .hpe-blog .wd-post-excerpt { font-size: 17px; }
  /* kontakt */
  .hpe-contact-lead p { font-size: 21px; }
}
/* karusel nejprodávanějších: hranaté šipky v barvách webu, karty stejně vysoké */
.hpe-products .wd-nav-arrows .wd-btn-arrow > div, .hpe-products .wd-nav-arrows :is(.wd-prev, .wd-next) { border-radius: 0 !important; }
.hpe-products .wd-nav-arrows .wd-btn-arrow { color: var(--sk-ink); }
.hpe-products .wd-carousel-item { height: auto; display: flex; }
.hpe-products .wd-carousel-item > .wd-product { width: 100%; }

/* doladění měřítka: nadpis na dva řádky, pruh výhod bez zalamování mezi 1200 a 1480 px */
@media (min-width: 1200px) {
  .hpe-h1 .elementor-heading-title { font-size: clamp(52px, 3.9vw, 74px); }
  .hpe-hero--foto .hpe-hero-text.e-con { max-width: 720px; }
  .hpe-fact .elementor-icon-box-description { white-space: nowrap; }
}
@media (min-width: 1200px) and (max-width: 1479px) {
  .hpe-fact { padding: 28px 22px; }
  .hpe-fact .elementor-icon-box-wrapper { gap: 14px; }
  .hpe-fact .elementor-icon { width: 50px; height: 50px; font-size: 21px; }
  .hpe-fact .elementor-icon-box-title { font-size: 16.5px; }
  .hpe-fact .elementor-icon-box-description { font-size: 14.5px; }
}
.hpe-products .wd-nav-arrows :is(.wd-prev, .wd-next), .hpe-products .wd-nav-arrows .wd-btn-arrow { opacity: 1 !important; visibility: visible !important; pointer-events: auto !important; transform: none !important; }
.hpe-products .wd-nav-arrows .wd-btn-arrow:hover { color: var(--sk-green-text); }

/* =====================================================================
   ÚVOD – VIZUÁL „DECH“ (2026-11-10): méně textu, ikony, dýchající kruhy, plynulé vysouvání
   ===================================================================== */
/* kruhy jako v logu AS: za fotkou v úvodním pruhu a v kontaktním pruhu, pomalu „dýchají“ */
:root { --hpe-rings: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 600' fill='none' stroke='%23fff'%3E%3Ccircle cx='300' cy='300' r='120' stroke-opacity='.34' stroke-width='2.5'/%3E%3Ccircle cx='300' cy='300' r='180' stroke-opacity='.24' stroke-width='2.5'/%3E%3Ccircle cx='300' cy='300' r='240' stroke-opacity='.16' stroke-width='2.5'/%3E%3Ccircle cx='300' cy='300' r='296' stroke-opacity='.1' stroke-width='2.5'/%3E%3C/svg%3E"); }
.hpe-hero-media.e-con { position: relative; }
.hpe-hero-media.e-con::before { content: ""; position: absolute; left: 50%; top: 50%; width: min(760px, 120%); aspect-ratio: 1; translate: -50% -50%; background: var(--hpe-rings) center / contain no-repeat; pointer-events: none; z-index: 0; }
.hpe-hero-media .hpe-hero-img { position: relative; z-index: 1; }
.hpe-contact.e-con { background: var(--hpe-rings) right -120px center / 560px no-repeat, linear-gradient(120deg, var(--sk-band-a) 0%, var(--sk-band-b) 100%) !important; }
@media (prefers-reduced-motion: no-preference) {
  .hpe-hero-media.e-con::before { animation: hpeDech 7s ease-in-out infinite; }
  .hpe-hero-img img { animation: hpeDechFoto 7s ease-in-out infinite; }
  @keyframes hpeDech { 0%, 100% { scale: .94; opacity: .75; } 50% { scale: 1.04; opacity: 1; } }
  @keyframes hpeDechFoto { 0%, 100% { translate: 0 4px; scale: 1; } 50% { translate: 0 -6px; scale: 1.015; } }
}
/* kategorie: místo slova „Prohlédnout“ jen šipka ve čtverečku */
.hpe-cat-go p { width: 40px; height: 40px; display: inline-grid !important; place-items: center; background: var(--sk-tint); color: var(--sk-band-b) !important; transition: background-color .3s, color .3s; }
.hpe-cat-go p::after { width: 18px; height: 18px; }
.hpe-cat:hover .hpe-cat-go p { background: var(--sk-green); color: #fff !important; }
.hpe-cat:hover .hpe-cat-go p::after { transform: none; }
/* e-poukaz: kroky propojené svislou čarou jako časová osa */
.hpe-steps.e-con { position: relative; }
.hpe-steps.e-con::before { content: ""; position: absolute; left: 25px; top: 30px; bottom: 30px; width: 2px; background: linear-gradient(var(--sk-green), rgba(41, 192, 147, .15)); }
@media (min-width: 1200px) { .hpe-steps.e-con::before { left: 29px; } }
.hpe-step.e-con::before { position: relative; z-index: 1; }
/* Dobré vědět: tři body s ikonami ve čtverečcích */
.hpe-points { list-style: none; margin: 0 !important; padding: 0 !important; display: grid; gap: 18px; }
.hpe-pt { position: relative; display: grid; grid-template-columns: 52px 1fr; column-gap: 16px; align-items: center; margin: 0 !important; font-size: 15.5px; line-height: 1.45; color: var(--sk-text); }
.hpe-pt::before { content: ""; grid-row: 1 / span 2; width: 52px; height: 52px; background: var(--sk-tint); }
.hpe-pt::after { content: ""; position: absolute; left: 14px; top: 50%; width: 24px; height: 24px; margin-top: -12px; background: var(--sk-band-b); -webkit-mask: var(--ic) center / contain no-repeat; mask: var(--ic) center / contain no-repeat; }
.hpe-pt strong { display: block; grid-column: 2; color: var(--sk-ink); font-weight: 600; font-size: 16.5px; }
.hpe-pt-cal { --ic: var(--ic-cal); } .hpe-pt-bag { --ic: var(--ic-bag); } .hpe-pt-shield { --ic: var(--ic-shield); }
@media (min-width: 1200px) { .hpe-pt { font-size: 16.5px; } .hpe-pt strong { font-size: 18px; } }
/* plynulé vysouvání při posouvání (třídy přidává skript jen prvkům pod okrajem obrazovky; bez skriptu je vše vidět) */
.hpe-pre { opacity: 0; translate: 0 28px; transition: opacity .7s cubic-bezier(.22, 1, .36, 1) var(--d, 0ms), translate .9s cubic-bezier(.22, 1, .36, 1) var(--d, 0ms); }
.hpe-pre.hpe-in { opacity: 1; translate: 0 0; }
@media (prefers-reduced-motion: reduce) { .hpe-pre { opacity: 1; translate: none; transition: none; } }

/* kruhy za fotkou: Elementor dává ::before inset 0 → vrátit vlastní rozměr */
.hpe-hero-media.e-con::before { inset: auto !important; left: 50% !important; top: 50% !important; right: auto !important; bottom: auto !important; height: auto !important; aspect-ratio: 1; }

/* =====================================================================
   ÚVOD – KANÁL Z INSTAGRAMU místo Aktualit (2026-11-10)
   Bez připojeného účtu je sekce skrytá a Aktuality zůstávají; s příspěvky se Aktuality na úvodu skryjí.
   ===================================================================== */
:root { --ic-ig: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='5'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Ccircle cx='17.5' cy='6.5' r='.8' fill='%23000'/%3E%3C/svg%3E");
        --ic-fb: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M14 8h3V4h-3c-2.8 0-4 1.8-4 4.3V10H7v4h3v7h4v-7h3l1-4h-4V8.6c0-.4.2-.6.6-.6z' fill='%23000'/%3E%3C/svg%3E"); }
.hpe-insta.e-con:not(:has(.sbi_item)) { display: none !important; }
.hpe-insta.e-con:has(.sbi_item) ~ .hpe-news { display: none !important; }
.hpe-insta.e-con { background: #fff !important; }
.hpe-insta-cta.e-con { gap: 10px 28px !important; width: auto; }
.hpe-insta-cta .hpe-link .elementor-button-text::before { content: ""; width: 1.15em; height: 1.15em; background: currentColor; -webkit-mask: var(--ic-ig) center / contain no-repeat; mask: var(--ic-ig) center / contain no-repeat; }
.hpe-insta-cta .hpe-link-fb .elementor-button-text::before { -webkit-mask-image: var(--ic-fb); mask-image: var(--ic-fb); }
/* mřížka příspěvků (Smash Balloon): 6 čtverců, bez hlavičky a tlačítek pluginu */
.hpe-insta-feed #sb_instagram { padding: 0 !important; width: 100% !important; }
.hpe-insta-feed #sb_instagram :is(.sb_instagram_header, #sbi_load, .sbi_header_outside) { display: none !important; }
.hpe-insta-feed #sb_instagram #sbi_images { display: grid !important; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px !important; padding: 0 !important; width: 100% !important; }
.hpe-insta-feed #sb_instagram .sbi_item { width: auto !important; padding: 0 !important; margin: 0 !important; display: block !important; }
.hpe-insta-feed #sb_instagram .sbi_item:nth-child(n+7) { display: none !important; }
.hpe-insta-feed #sb_instagram .sbi_photo_wrap { position: relative; overflow: hidden; background: var(--sk-tint); }
.hpe-insta-feed #sb_instagram .sbi_photo { display: block; aspect-ratio: 1; height: auto !important; background-size: cover !important; background-position: center !important; transition: transform .8s cubic-bezier(.22, 1, .36, 1); }
.hpe-insta-feed #sb_instagram .sbi_photo img { width: 100%; height: 100%; object-fit: cover; }
.hpe-insta-feed #sb_instagram .sbi_photo_wrap::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(20, 86, 142, .15), rgba(20, 86, 142, .7)); opacity: 0; transition: opacity .4s; pointer-events: none; }
.hpe-insta-feed #sb_instagram .sbi_photo_wrap::after { content: ""; position: absolute; left: 50%; top: 50%; z-index: 2; width: 34px; height: 34px; margin: -17px 0 0 -17px; background: #fff; -webkit-mask: var(--ic-ig) center / contain no-repeat; mask: var(--ic-ig) center / contain no-repeat; opacity: 0; transform: scale(.7); transition: opacity .35s, transform .45s cubic-bezier(.22, 1, .36, 1); pointer-events: none; }
.hpe-insta-feed #sb_instagram .sbi_item:hover .sbi_photo { transform: scale(1.06); }
.hpe-insta-feed #sb_instagram .sbi_item:hover .sbi_photo_wrap::before { opacity: 1; }
.hpe-insta-feed #sb_instagram .sbi_item:hover .sbi_photo_wrap::after { opacity: 1; transform: scale(1); }
.hpe-insta-feed #sb_instagram :is(.sbi_link, .sbi_hover_top, .sbi_hover_bottom) { display: none !important; }
@media (max-width: 1024px) { .hpe-insta-feed #sb_instagram #sbi_images { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .hpe-insta-feed #sb_instagram #sbi_images { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px !important; } }

/* =====================================================================
   INSTAGRAM v2 (2026-11-10): mozaika (nejnovější 2×2), datum, popisek při najetí myší
   ===================================================================== */
.hpe-insta-feed #sb_instagram #sbi_images { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 18px !important; }
.hpe-insta-feed #sb_instagram .sbi_item:first-child { grid-column: span 2; grid-row: span 2; }
.hpe-insta-feed #sb_instagram .sbi_item:nth-child(n+6) { display: none !important; }
.hpe-insta-feed #sb_instagram .sbi_photo_wrap { box-shadow: 0 24px 44px -32px rgba(14, 58, 95, .55); }
.hpe-insta-feed #sb_instagram .sbi_photo_wrap::before { background: linear-gradient(180deg, rgba(15, 46, 77, 0) 30%, rgba(15, 46, 77, .88) 100%); }
.hpe-insta-feed #sb_instagram .sbi_photo_wrap::after { left: auto; top: 14px; right: 14px; margin: 0; width: 26px; height: 26px; }
.hpe-insta-feed .ig-ov { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: 16px; color: #fff; pointer-events: none; }
.hpe-insta-feed .ig-date { position: absolute; top: 12px; left: 12px; padding: 5px 9px; background: rgba(255, 255, 255, .92); color: var(--sk-ink); font: 600 11.5px/1 var(--sk-body); letter-spacing: .02em; }
.hpe-insta-feed .ig-cap { font: 500 14px/1.45 var(--sk-body); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; opacity: 0; transform: translateY(10px); transition: opacity .35s, transform .45s cubic-bezier(.22, 1, .36, 1); }
.hpe-insta-feed .ig-more { display: inline-flex; align-items: center; gap: 6px; font: 700 12px/1 var(--sk-body); letter-spacing: .06em; text-transform: uppercase; color: #8ff0cd; opacity: 0; transform: translateY(10px); transition: opacity .35s .05s, transform .45s .05s cubic-bezier(.22, 1, .36, 1); }
.hpe-insta-feed .ig-more::after { content: ""; width: 1em; height: 1em; background: currentColor; -webkit-mask: var(--sk-arrow) center / contain no-repeat; mask: var(--sk-arrow) center / contain no-repeat; }
.hpe-insta-feed #sb_instagram .sbi_item:hover :is(.ig-cap, .ig-more) { opacity: 1; transform: none; }
.hpe-insta-feed #sb_instagram .sbi_item:first-child .ig-ov { padding: 26px; gap: 12px; }
.hpe-insta-feed #sb_instagram .sbi_item:first-child .ig-cap { font-size: 18px; -webkit-line-clamp: 4; }
.hpe-insta-feed #sb_instagram .sbi_item:first-child .ig-date { top: 18px; left: 18px; font-size: 12.5px; padding: 6px 11px; }
.hpe-insta-feed #sb_instagram .sbi_item:focus-within .sbi_photo_wrap { outline: 3px solid var(--sk-green); outline-offset: 3px; }
@media (max-width: 1024px) {
  .hpe-insta-feed #sb_instagram #sbi_images { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .hpe-insta-feed #sb_instagram .sbi_item:first-child { grid-column: span 2; grid-row: auto; }
  .hpe-insta-feed #sb_instagram .sbi_item:nth-child(n+6) { display: none !important; }
  .hpe-insta-feed .ig-cap, .hpe-insta-feed .ig-more { display: none; }
}
@media (max-width: 640px) { .hpe-insta-feed #sb_instagram #sbi_images { gap: 10px !important; } }
.hpe-insta-feed #sb_instagram .sbi_item:hover .sbi_photo_wrap::before { background: rgba(15, 46, 77, .9); }
.hpe-insta-feed #sb_instagram .sbi_item:hover .ig-ov { justify-content: center; }
/* ztmavení až v překryvu s popiskem (nad fotkou, pod textem) */
.hpe-insta-feed #sb_instagram .sbi_photo_wrap::before { display: none !important; }
.hpe-insta-feed .ig-ov { background: rgba(15, 46, 77, 0); transition: background-color .4s; }
.hpe-insta-feed #sb_instagram .sbi_item:hover .ig-ov { background: rgba(15, 46, 77, .9); }
.hpe-insta-feed #sb_instagram .sbi_photo_wrap::after { z-index: 4; }

/* Instagram v3: větší odkazy Instagram/Facebook, větší štítek s datem (měsíc rok), popisek vlevo nahoře, spodek grafiky zůstává vidět */
.hpe-insta-cta .hpe-link .elementor-button { font-size: 19px !important; padding: 8px 0 !important; }
.hpe-insta-cta .hpe-link .elementor-button-text { gap: 10px !important; }
.hpe-insta-cta .hpe-link .elementor-button-text::before { width: 1.35em !important; height: 1.35em !important; }
.hpe-insta-cta.e-con { gap: 10px 36px !important; }
.hpe-insta-feed .ig-ov { justify-content: flex-start !important; align-items: flex-start; gap: 12px; padding: 22px !important; }
.hpe-insta-feed .ig-date { position: static !important; align-self: flex-start; padding: 7px 12px !important; font: 700 13.5px/1 var(--sk-body) !important; letter-spacing: .03em; text-transform: capitalize; box-shadow: 0 8px 18px -10px rgba(8, 30, 55, .5); }
.hpe-insta-feed #sb_instagram .sbi_item:first-child .ig-ov { padding: 30px !important; gap: 14px; }
.hpe-insta-feed #sb_instagram .sbi_item:first-child .ig-date { font-size: 15px !important; padding: 9px 14px !important; }
.hpe-insta-feed .ig-cap { max-width: 92%; text-align: left; }
.hpe-insta-feed #sb_instagram .sbi_item:hover .ig-ov { justify-content: flex-start !important; background: linear-gradient(180deg, rgba(15, 46, 77, .93) 0%, rgba(15, 46, 77, .86) 48%, rgba(15, 46, 77, .35) 72%, rgba(15, 46, 77, 0) 84%) !important; }
.hpe-insta-feed #sb_instagram .sbi_item:hover .sbi_photo { transform: scale(1.04); }
@media (max-width: 1024px) { .hpe-insta-feed .ig-ov { padding: 14px !important; } .hpe-insta-feed .ig-date { font-size: 12px !important; padding: 6px 10px !important; } }

/* úvod: starší pravidla Instagramu převálcovaná společným vzhledem ve skin.css */
.hpe-insta-feed .ig-ov { pointer-events: none !important; }
.hpe-insta-feed #sb_instagram .sbi_item:hover .ig-ov { justify-content: flex-start !important; }
.hpe-insta-cta .hpe-link .elementor-button { text-transform: uppercase !important; letter-spacing: .05em !important; }
