.stek-site {
  padding-top: var(--stek-header-height, 100px);
}

.stek-site [hidden] {
  display: none !important;
}

.stek-site [data-vce-full-width="true"] {
  position: relative;
}

.stek-site .content-wrapper {
  overflow-wrap: anywhere;
}

.stek-site .stek-submenu-open > .sub-menu {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto;
}

.stek-site #main-menu > .button-close {
  color: inherit;
  background: transparent;
  border: 0;
}

.stek-site .stek-faq-button {
  appearance: none;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: inherit;
  padding: 0;
  width: 100%;
  cursor: pointer;
}

.stek-site .vce-faq-toggle-inner .vce-faq-toggle-text-block {
  display: none;
}

.stek-site .vce-faq-toggle-inner.stek-faq-open .vce-faq-toggle-text-block {
  display: block;
  height: auto;
  visibility: visible;
  opacity: 1;
}

.stek-site .stek-faq-open .vce-faq-toggle-icon::after {
  opacity: 0;
}

.stek-cookie-notice {
  position: fixed;
  z-index: 9999;
  inset: auto 0 0;
  display: flex;
  gap: 12px 18px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding: 12px 18px;
  background: #fff;
  color: #222;
  box-shadow: 0 -1px 10px #0003;
  font: 14px/1.35 Arial, sans-serif;
}

.stek-cookie-notice a {
  color: #222;
  text-decoration: underline;
}

.stek-cookie-notice button {
  border: 0;
  padding: 7px 14px;
  background: #333;
  color: #fff;
  cursor: pointer;
}

@media (max-width: 767px) {
  .stek-site .dropdown-toggle { min-width: 36px; min-height: 36px; }
  .stek-site { padding-top: var(--stek-header-height, 72px); }
  .stek-site .entry-content h1,
  .stek-site .entry-content h1 span {
    font-size: clamp(24px, 7vw, 34px) !important;
    line-height: 1.18;
    text-wrap: balance;
  }

}

@media (min-width: 768px) {
  .stek-site #main-menu li:focus-within > .sub-menu {
    visibility: visible;
    opacity: 1;
  }
}
.stek-site .vce-asset-parallax-container,
.stek-site .vce-asset-parallax {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.stek-site .vce-asset-parallax-container {
  overflow: hidden;
}

.stek-site .vce-asset-parallax {
  transform: none !important;
}

.stek-site #stek-installers {
  scroll-margin-top: calc(var(--stek-header-height, 100px) + 20px);
}

.stek-site .stek-related-content,
.stek-site .stek-guide {
  margin: 2rem auto 3rem;
}

.stek-site .stek-installer-card {
  margin-bottom: 2rem;
}

.stek-site .stek-guide video {
  display: block;
  width: 100%;
  max-height: 75vh;
  margin-bottom: 1rem;
  background: #000;
}

.stek-gallery-dialog {
  position: fixed;
  inset: 0;
  width: min(100% - 24px, 1280px);
  max-width: none;
  max-height: calc(100dvh - 24px);
  margin: auto;
  padding: 0;
  border: 0;
  background: #111;
  color: #fff;
  overflow: hidden;
}

.stek-gallery-dialog:not([open]) {
  display: none;
}

.stek-gallery-dialog::backdrop {
  background: #000d;
}

.stek-gallery-dialog img {
  display: block;
  width: 100%;
  max-height: calc(100dvh - 24px);
  object-fit: contain;
}

.stek-gallery-dialog button {
  position: absolute;
  z-index: 1;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border: 0;
  border-radius: 2px;
  background: #111d;
  color: #fff;
  font: 30px/1 Arial, sans-serif;
}

.stek-gallery-dialog [data-gallery-action="close"] { top: 8px; right: 8px; }
.stek-gallery-dialog [data-gallery-action="prev"] { left: 8px; top: 50%; transform: translateY(-50%); }
.stek-gallery-dialog [data-gallery-action="next"] { right: 8px; top: 50%; transform: translateY(-50%); }

@media (min-width: 768px) {
  .stek-site #main-menu > ul > li > .sub-menu {
    max-height: calc(100dvh - var(--stek-header-height, 100px) + 35px);
    overflow-y: auto;
  }
}

@media (max-width: 767px) {
  .stek-site {
    overflow-x: clip;
  }

  .stek-site .vce-col-inner,
  .stek-site .vce-col-content,
  .stek-site .vce-text-block,
  .stek-site .vce-text-block-wrapper,
  .stek-site iframe {
    min-width: 0;
    max-width: 100% !important;
  }
}

/* Tappable phone numbers and e-mail addresses keep the colour of the text around them. */
.stek-site a[href^="tel:"],
.stek-site a[href^="mailto:"] {
  color: inherit !important;
  text-decoration: underline;
  text-decoration-color: currentColor;
  text-underline-offset: 2px;
}
.stek-site a[href^="tel:"]:hover,
.stek-site a[href^="mailto:"]:hover {
  opacity: .8;
}

/* Blocks that slide in from the side must not widen the page while they animate. */
.stek-site {
  overflow-x: clip;
}

/* ---------- Type scale ----------
   The imported pages set sizes by hand (55px, 42pt, 25px, 14pt …), so headings jumped from page to page.
   Every heading level now has one size; hand-set sizes inside headings and body text are folded into it. */

.stek-site {
  --stek-h1: clamp(30px, 3.6vw, 54px);
  --stek-h2: clamp(26px, 2.7vw, 38px);
  --stek-h3: clamp(21px, 1.8vw, 27px);
  --stek-h4: clamp(18px, 1.35vw, 21px);
  --stek-text: 17px;
}

.stek-site .content-wrapper h1 { font-size: var(--stek-h1); }
.stek-site .content-wrapper h2 { font-size: var(--stek-h2); }
.stek-site .content-wrapper h3 { font-size: var(--stek-h3); }
.stek-site .content-wrapper h4 { font-size: var(--stek-h4); }

.stek-site .content-wrapper :is(h1, h2, h3, h4) {
  line-height: 1.15;
  letter-spacing: -.01em;
  text-wrap: balance;
}

.stek-site .content-wrapper h1[style*="font-size"] { font-size: var(--stek-h1) !important; }
.stek-site .content-wrapper h2[style*="font-size"] { font-size: var(--stek-h2) !important; }
.stek-site .content-wrapper :is(h3, h4)[style*="font-size"] { font-size: var(--stek-h3) !important; }
.stek-site .content-wrapper :is(h1, h2, h3, h4) [style*="font-size"] { font-size: inherit !important; }
/* "10 év garancia" badges on the product pages. */
.stek-site .content-wrapper h5 [style*="font-size"] { font-size: var(--stek-h3) !important; line-height: 1.2; }
.stek-site .content-wrapper :is(p, li) [style*="font-size"],
.stek-site .content-wrapper :is(p, li)[style*="font-size"] { font-size: var(--stek-text) !important; }

.stek-site .content-wrapper p,
.stek-site .content-wrapper li { line-height: 1.7; }

@media (max-width: 767px) {
  .stek-site .entry-content h1,
  .stek-site .entry-content h1 span { font-size: var(--stek-h1) !important; }
}

/* ---------- Buttons ----------
   The page builder's outline buttons ("Megnézem", "Műszaki adatlap letöltés" …) get the same pill as the
   home page calls to action. */

.stek-site :is(a, button)[class*="vce-button--style-"] {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: .7em;
  padding: 15px 26px !important;
  border: 1px solid var(--stek-carbon, #08090b) !important;
  border-radius: 999px !important;
  background: var(--stek-carbon, #08090b) !important;
  color: #fff !important;
  font-family: "Maven Pro", Arial, sans-serif;
  font-size: 15px !important;
  font-weight: 500 !important;
  letter-spacing: .01em;
  line-height: 1.2 !important;
  text-transform: none !important;
  text-decoration: none !important;
  box-shadow: none !important;
  transition: background-color .35s ease, border-color .35s ease, transform .35s cubic-bezier(.2, .7, .1, 1) !important;
}

.stek-site :is(a, button)[class*="vce-button--style-"]::before { display: none !important; }

.stek-site :is(a, button)[class*="vce-button--style-"]::after {
  content: "" !important;
  position: static !important;
  display: inline-block !important;
  width: 18px !important;
  height: 1px !important;
  margin: 0 !important;
  border: 0 !important;
  background: currentColor !important;
  opacity: 1 !important;
  transform: none !important;
  transition: width .35s cubic-bezier(.2, .7, .1, 1) !important;
}

.stek-site :is(a, button)[class*="vce-button--style-"] > * { color: inherit !important; }

.stek-site :is(a, button)[class*="vce-button--style-"]:hover,
.stek-site :is(a, button)[class*="vce-button--style-"]:focus-visible {
  border-color: var(--stek-red, #b3121c) !important;
  background: var(--stek-red, #b3121c) !important;
  color: #fff !important;
}

.stek-site :is(a, button)[class*="vce-button--style-"]:hover::after,
.stek-site :is(a, button)[class*="vce-button--style-"]:focus-visible::after { width: 30px !important; }

.stek-site :is(a, button)[class*="vce-button--style-"]:active { transform: scale(.98); }

/* Buttons the builder stretched to the full column now keep their natural width. */
.stek-site [class*="-wrapper--stretched"] { width: auto !important; }
.stek-site [class*="-wrapper--stretched"] :is(a, button)[class*="vce-button--style-"] { width: auto !important; }

/* ---------- Scroll reveal ----------
   site.jsx marks each section below the fold as pending and lets it rise in when it reaches the screen. */

.stek-site .stek-pending {
  opacity: 0;
  translate: 0 36px;
}

.stek-site .stek-in {
  opacity: 1;
  translate: 0 0;
  transition: opacity 1s ease, translate 1.2s cubic-bezier(.2, .7, .1, 1);
}

@media (prefers-reduced-motion: reduce) {
  .stek-site .stek-pending,
  .stek-site .stek-pending * { opacity: 1 !important; translate: none !important; }
}
