/*
Theme Name: Hello Elementor Child
Template: hello-elementor
Version: 2.2.0
Text Domain: hello-elementor-child
*/

/* =========================================================
   CSS VÁLTOZÓ FALLBACKEK
   (A tényleges értékeket a Customizer inline CSS-ből írja felül.)
   ========================================================= */
:root {
    --hc-header-bg: #ffffff;
    --hc-header-bg-sticky: #ffffff;
    --hc-menu-link: #2b2b2b;
    --hc-menu-link-hover: #cfa350;
    --hc-submenu-bg: #ffffff;
    --hc-submenu-link: #2b2b2b;
    --hc-submenu-hover-bg: #f7f3ed;
    --hc-cta-bg: #cfa350;
    --hc-cta-color: #ffffff;
    --hc-cta-hover-bg: #cfa350;
    --hc-cta-hover-color: #ffffff;
    --hc-cta-bg-sticky: #cfa350;
    --hc-cta-color-sticky: #ffffff;
    --hc-cta-radius: 4px;
    --hc-cta-padding-y: 16px;
    --hc-cta-padding-x: 24px;
    --hc-header-radius: 20px;
    --hc-header-max-width: 1300px;
    --hc-header-offset: 20px;
    --hc-content-offset: 120px;
    --hc-sidebar-bg: #131313;
    --hc-sidebar-color: #ffffff;
    --hc-sidebar-hover: #ffffff;
    --hc-menu-font-size: 15px;
    --hc-cta-font-size: 15px;
    --hc-logo-height: 50px;
    --hc-logo-height-mobile: 40px;
}

/* =========================================================
   TARTALOM ELTOLÁS – a fejléc alatti rés (behúzás a menü alá)
   ========================================================= */
/*
   FONTOS: `overflow-x: hidden` helyett `overflow-x: clip` kell!
   CSS spec szerint ha az egyik tengely `hidden` (vagy bármi nem-visible),
   a másik tengely `visible` értéke `auto`-ra számítódik át → az elem
   scroll-konténerré válik, és plusz függőleges scrollbar jelenhet meg.
   A `clip` érték CSAK levágja a túllógó tartalmat, de NEM tesz scroll-konténert,
   így az `overflow-y` megmarad `visible`-nek. Ezért nincs plusz scrollbar.
   Fallback a régi böngészőkhöz: előbb `hidden`, aztán `clip`.
*/
/*
   A Customizer offset helyett: az aloldalakon a fejlécet relatívvá tesszük,
   így 100%-osan, pontosan a saját magasságával tolja le a tartalmat,
   megakadályozva, hogy a belső szekciók becsússzanak a fehér fejléc alá.
*/
.custom-header-wrapper {
    position: relative !important;
}

/*
   Görgetési ugrás megakadályozása: 
   Amikor a .custom-header-inner fixed lesz, kikerül a normál folyamatból, 
   ami miatt a .custom-header-wrapper magassága hirtelen lecsökken. 
   Ezt a magasságot pótoljuk padding-el, így a tartalom nem ugrik fel.
*/
/* Eltávolítva a padding-bottom JS alapú min-height miatt */
/* =========================================================
   BASE HEADER STYLES
   ========================================================= */

/* A teljes fejléc befoglalója */
.custom-header-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    max-width: 100% !important;
    background: var(--hc-header-bg) !important;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    pointer-events: none;
    box-sizing: border-box;
    overflow: visible !important;
    transition: background 0.3s ease, transform 0.3s ease;
}

/* ---------------------------------------------------------
   TOP BAR STYLES
   --------------------------------------------------------- */
.custom-header-top-bar {
    width: 100%;
    background: #cfa350 !important;
    padding: 8px 40px;
    pointer-events: auto;
    position: relative;
    z-index: 1002;
    box-sizing: border-box;
}

.top-bar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1300px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.top-bar-contact {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.top-bar-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 400;
    font-family: 'Inter', sans-serif !important;
    text-decoration: none;
}

.top-bar-icon {
    width: 14px !important;
    height: 14px !important;
    flex-shrink: 0 !important;
    filter: brightness(0) invert(1) !important;
    object-fit: contain !important;
    display: inline-block !important;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.top-bar-lang,
.top-bar-search {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
    font-family: 'Inter', sans-serif !important;
    text-decoration: none;
    box-sizing: border-box;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
    height: 26px; /* Fix magasság a tökéletes egyezésért */
    background-color: #ffffff !important;
    border: 1px solid #ffffff !important;
}

.top-bar-lang {
    padding: 0;
}

.top-bar-lang a.lang-item,
.top-bar-lang span.lang-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 0 10px;
    color: #cfa350 !important;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    font-family: 'Inter', sans-serif !important;
    border-radius: 3px;
}

.top-bar-search {
    width: 26px; /* Négyzet alakú kereső gomb */
    padding: 0;
    color: #cfa350 !important;
}

.top-bar-lang:hover,
.top-bar-search:hover {
    background-color: #f7f3ed !important;
}

.top-bar-search svg {
    display: block;
    width: 14px;
    height: 14px;
    stroke: #cfa350 !important;
}

/* ---------------------------------------------------------
   HEADER INNER
   --------------------------------------------------------- */
.custom-header-inner {
    pointer-events: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 0 !important;
    height: var(--hc-header-height);
    border-radius: 0;
    padding: 0 40px;
    box-sizing: border-box;
    background: transparent;
    transition: background 0.3s ease, max-width 0.3s ease, border-radius 0.3s ease, height 0.3s ease;
}

.custom-header-wrapper.header-on-light .custom-header-inner {
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    background-image: none;
}

/* STICKY állapot */
.custom-header-inner.is-sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    background: var(--hc-header-bg-sticky) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border-bottom: none;
}

/* ---------------------------------------------------------
   HEADER CONTAINER
   --------------------------------------------------------- */
.custom-header-container {
    position: relative;
    width: 100%;
    max-width: 1300px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

/* ---------------------------------------------------------
   LOGO
   --------------------------------------------------------- */
.custom-header-logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-grow: 0;
    z-index: 10;
}

.submenu-toggle-link::after {
    margin-left: 8px !important;
    margin-right: unset !important;
}

.custom-header-sidebar ::marker {
    font-size: 0px !important;
}

.custom-header-logo img {
    max-height: calc(var(--hc-header-height) - 30px) !important;
    width: auto !important;
    height: auto !important;
    display: block;
    filter: none;
    transition: filter 0.3s ease;
    object-fit: contain;
	object-position: center left;
}

.custom-header-logo a {
    display: flex;
}

.custom-header-wrapper.header-on-light .custom-header-logo img {
    filter: invert(1) brightness(0);
}

.custom-header-inner.is-sticky .custom-header-logo img {
    filter: none !important;
}

/* =========================================================
   DESKTOP NAVIGATION
   ========================================================= */
.custom-header-nav-desktop {
    display: block;
    height: 100%;
}

/* A fő (jobb oldali) menü alapból jobbra van tolva */
.custom-header-nav-right {
    margin-left: auto;
}

/* =========================================================
   DESKTOP LANG SWITCHER
   ========================================================= */
.custom-header-lang-wrapper {
    display: flex;
    align-items: center;
    margin-left: 25px;
    z-index: 1002;
    pointer-events: auto;
    transition: all 0.3s ease;
}

.custom-header-lang-wrapper .pll-switch {
    display: inline-flex;
    align-items: center;
    align-self: center;
    gap: 6px;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 999px;
    padding: 10px 14px;
    line-height: 1;
    transition: all 0.3s ease;
}

.custom-header-lang-wrapper .pll-switch img {
    display: block;
    width: 22px;
    height: 22px;
    border-radius: 999px;
}

.custom-header-lang-wrapper .pll-switch__code {
    line-height: 1;
    font-size: 22px;
    color: #ffffff;
    font-weight: 400;
    font-family: inherit;
    transition: color 0.3s ease;
}

.custom-header-wrapper.header-on-light .custom-header-lang-wrapper .pll-switch__code {
    color: #1C191A;
}

.custom-header-lang-wrapper.is-sticky .pll-switch__code {
    color: #ffffff !important;
}

.custom-header-lang-wrapper.is-sticky .pll-switch {
    background: rgba(19, 19, 19, 0.9);
}

@media(max-width: 1350px) {
    .custom-header-lang-wrapper {
        display: none;
    }

    .custom-header-top-bar {
        display: none;
    }

    .header-divider {
        display: none;
    }

    .custom-header-nav-desktop {
        display: none;
    }
}

/* =========================================================
   DESKTOP STYLES (Min-width: 1201px)
   ========================================================= */
@media (min-width: 1201px) {
    .custom-header-menu-list {
        display: flex;
        gap: 25px;
        list-style: none;
        margin: 0;
        padding: 0;
        align-items: center;
        justify-content: flex-end;
        height: 100%;
    }

    .custom-header-menu-list>li {
        position: static !important;
        height: 100%;
        display: flex;
        align-items: center;
    }

    .custom-header-menu-list>li::after {
        display: none !important;
    }

    .custom-header-menu-list li a {
        text-decoration: none;
        color: var(--hc-menu-link);
        font-weight: var(--hc-menu-font-weight) !important;
        font-style: var(--hc-menu-font-style) !important;
        font-size: var(--hc-menu-font-size) !important;
        transition: color 0.3s, background-color 0.3s, transform 0.2s;
        font-family: 'Inter', sans-serif !important;
        white-space: nowrap;
		text-transform: none !important;
		letter-spacing: normal !important;
    }

    .custom-header-wrapper.header-on-light .custom-header-menu-list li a {
        color: var(--hc-menu-link);
    }

    /* Sticky módban a normál menüpontok (nem CTA) a menu-link színét kapják. */
    .custom-header-inner.is-sticky .custom-header-menu-list li:not(.CTA) a {
        color: var(--hc-menu-link) !important;
    }

    /* Sticky módban a CTA gomb saját (külön állítható) háttér- és szövegszínt kap. */
    .custom-header-inner.is-sticky .custom-header-menu-list li.CTA a,
    .custom-header-inner.is-sticky .elementor-button {
        background: linear-gradient(135deg, #a3803f 0%, #cfa350 25%, #e0bd76 50%, #cfa350 75%, #a3803f 100%) !important;
        color: #ffffff !important;
        border: none;
    }

    /* Sticky CTA hover – továbbra is a közös hover színeket használja. */
    .custom-header-inner.is-sticky .custom-header-menu-list li.CTA a:hover,
    .custom-header-inner.is-sticky .custom-header-menu-list li.CTA:hover>a,
    .custom-header-inner.is-sticky .custom-header-menu-list li.CTA:focus-within>a,
    .custom-header-wrapper.is-sticky .elementor-button:hover {
        background: linear-gradient(135deg, #a3803f 0%, #cfa350 25%, #e0bd76 50%, #cfa350 75%, #a3803f 100%) !important;
        color: #ffffff !important;
        border: none;
    }

    .custom-header-inner.is-sticky .custom-header-menu-list .sub-menu a {
        color: var(--hc-submenu-link) !important;
    }

    .custom-header-inner.is-sticky .custom-header-menu-list .sub-menu a:hover,
    .custom-header-inner.is-sticky .custom-header-menu-list .sub-menu a:focus {
        color: var(--hc-submenu-link) !important;
    }

    .custom-header-menu-list li a:hover,
    .custom-header-menu-list li:hover>a,
    .custom-header-menu-list li:focus-within>a {
        color: var(--hc-menu-link-hover) !important;
    }

    /* -----------------------------------------------------
       CTA (gomb) menüpont
       ----------------------------------------------------- */
    .custom-header-menu-list li.CTA a,
    .custom-header-wrapper .elementor-button {
        background: linear-gradient(135deg, #a3803f 0%, #cfa350 25%, #e0bd76 50%, #cfa350 75%, #a3803f 100%) !important;
        color: #ffffff !important;
        border: none;
        padding: var(--hc-cta-padding-y) var(--hc-cta-padding-x) !important;
        border-radius: var(--hc-cta-radius);
        display: inline-flex !important;
        align-items: center;
        gap: 8px;
        font-weight: var(--hc-cta-font-weight) !important;
        font-style: var(--hc-cta-font-style) !important;
        font-size: var(--hc-cta-font-size) !important;
        line-height: 1;
        text-transform: none !important;
        letter-spacing: normal !important;
        font-family: 'Inter', sans-serif !important;
        transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
    }

    .custom-header-menu-list li.CTA a:hover,
    .custom-header-menu-list li.CTA:hover>a,
    .custom-header-menu-list li.CTA:focus-within>a,
    .custom-header-wrapper .elementor-button:hover {
        transform: translateY(-3px);
        background: linear-gradient(135deg, #a3803f 0%, #cfa350 25%, #e0bd76 50%, #cfa350 75%, #a3803f 100%) !important;
        color: #ffffff !important;
        border: none;
    }

    /* -----------------------------------------------------
       Dropdown Icon
       ----------------------------------------------------- */
    .custom-header-menu-list li.menu-item-has-children > a {
        display: inline-flex;
        align-items: center;
    }
    .custom-header-menu-list li.menu-item-has-children > a::after {
        content: '';
        display: inline-block;
        width: 10px;
        height: 10px;
        margin-left: 8px;
        background-color: currentColor;
        -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") no-repeat center;
        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") no-repeat center;
        transition: transform 0.2s ease;
        vertical-align: middle;
        position: relative;
        top: -1px;
    }
    .custom-header-menu-list li.menu-item-has-children:hover > a::after,
    .custom-header-menu-list li.menu-item-has-children:focus-within > a::after {
        transform: rotate(180deg);
    }

    /* Almenü (Mega Menü) */
    .custom-header-menu-list li .sub-menu {
        position: absolute;
        top: calc(100% + 10px);
        left: 0;
        right: 0;
        width: 100%;
        column-count: 4;
        column-gap: 30px;
        display: block;
        padding: 30px;
        margin: 0;
        list-style: none;
        background: var(--hc-submenu-bg);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border: none;
        border-radius: 12px;
        box-shadow: 0 20px 25px -5px rgba(19, 19, 19, 0.2);
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px) scale(0.98);
        transform-origin: top left;
        pointer-events: none;
        transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 2000;
    }
    /* Híd a hover megtartásához (áthidalja a 10px-es rést) */
    .custom-header-menu-list li .sub-menu::before {
        content: '';
        position: absolute;
        top: -15px;
        left: 0;
        right: 0;
        height: 15px;
        background: transparent;
    }

    .custom-header-menu-list li:hover>.sub-menu,
    .custom-header-menu-list li:focus-within>.sub-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0) scale(1);
        pointer-events: auto;
    }

    .custom-header-menu-list li .sub-menu li {
        margin: 0;
        padding: 0;
        position: relative;
        break-inside: avoid;
    }

    .custom-header-menu-list li .sub-menu li::after {
        display: none;
    }

    .custom-header-menu-list li .sub-menu li+li {
        margin-top: 2px;
    }

    .custom-header-menu-list li .sub-menu a {
        display: block;
        padding: 8px 12px;
        border-radius: 8px;
        text-transform: none;
        font-size: var(--hc-submenu-font-size) !important;
        font-weight: 400;
        color: var(--hc-submenu-link) !important;
        transition: all 0.2s ease;
        white-space: nowrap;
        background: transparent !important;
        margin-bottom: 6px;
        border: 1px solid #f7f3ed !important;
        text-align: center !important;
    }

    .custom-header-menu-list li .sub-menu a:hover,
    .custom-header-menu-list li .sub-menu a:focus,
    .custom-header-menu-list li .sub-menu li.current-menu-item > a {
        background: var(--hc-submenu-hover-bg) !important;
        color: #cfa350 !important;
        transform: none !important;
        outline: none;
    }

    /* Második szint (Mega Menüben listaként nyílik meg lefelé, nem oldalra) */
    .custom-header-menu-list li .sub-menu li .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: transparent !important;
        padding: 0 0 0 15px;
        column-count: 1;
        display: none;
    }

    .custom-header-menu-list li .sub-menu li:hover>.sub-menu,
    .custom-header-menu-list li .sub-menu li:focus-within>.sub-menu {
        display: block;
        opacity: 1;
        visibility: visible;
        transform: none;
        pointer-events: auto;
    }

    .custom-header-mobile-toggle {
        display: none;
    }

    /* KOSÁR IKON – Desktop */
    .custom-header-cart {
        display: flex;
        align-items: center;
        margin-left: 20px;
        pointer-events: auto;
    }

    /* Extra shortcode doboz – a menü és a kosár között */
    .custom-header-extra {
        display: flex;
        align-items: center;
        margin-left: 20px;
        pointer-events: auto;
    }
}

/* =========================================================
   LOGO-CENTER ELRENDEZÉS (Desktop)
   Bal menü | Logó | Jobb menü  (kosár nem látszik, szimmetria miatt)
   ========================================================= */
@media (min-width: 1201px) {
    body.hc-layout-logo-center .custom-header-container {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
        gap: 20px;
    }

    body.hc-layout-logo-center .custom-header-nav-left {
        grid-column: 1;
        justify-self: start;
        margin-left: 0;
    }

    body.hc-layout-logo-center .custom-header-logo {
        grid-column: 2;
        justify-self: center;
    }

    body.hc-layout-logo-center .custom-header-nav-right {
        grid-column: 3;
        justify-self: end;
        margin-left: 0;
    }

    body.hc-layout-logo-center .custom-header-nav-left .custom-header-menu-list {
        justify-content: flex-start;
    }

    body.hc-layout-logo-center .custom-header-nav-right .custom-header-menu-list {
        justify-content: flex-end;
    }

    /* A kosárikont és az extra shortcode-ot elrejtjük a középre igazított logó
       melletti szimmetrikus elrendezés megőrzése érdekében (mobilon így is látszanak). */
    body.hc-layout-logo-center .custom-header-cart,
    body.hc-layout-logo-center .custom-header-extra {
        display: none;
    }
}

/* =========================================================
   BOXED (keretes) MENÜSÁV – max. szélesség + lekerekítés
   ========================================================= */
@media (min-width: 1201px) {
    body.hc-width-boxed .custom-header-wrapper {
        background: transparent !important;
    }

    body.hc-width-boxed .custom-header-inner {
        max-width: var(--hc-header-max-width);
        margin: var(--hc-header-offset) auto 0 !important;
        border-radius: var(--hc-header-radius);
        background: var(--hc-header-bg);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    }

    body.hc-width-boxed .custom-header-inner.is-sticky {
        position: fixed;
        top: var(--hc-header-offset);
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        width: calc(100% - 40px);
        max-width: var(--hc-header-max-width);
        border-radius: var(--hc-header-radius);
        background: var(--hc-header-bg-sticky) !important;
    }
}

/* =========================================================
   MOBILE STYLES (Max-width: 1350px)
   ========================================================= */
@media (max-width: 1350px) {
    .custom-header-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        left: 0 !important;
        right: 0 !important;
        position: fixed;
        background: var(--hc-header-bg) !important;
    }

    /* Mobilon mindig teljes szélességű, a boxed beállítás csak desktopon számít */
    body.hc-width-boxed .custom-header-wrapper {
        background: var(--hc-header-bg) !important;
    }

    body.hc-width-boxed .custom-header-inner {
        max-width: 100%;
        margin: 0 !important;
        border-radius: 0;
        box-shadow: none;
    }

    .custom-header-inner {
        padding: 0 25px;
        border-radius: 0;
    }

    .custom-header-container {
        width: 100%;
        justify-content: space-between;
        display: flex !important;
        grid-template-columns: none !important;
    }

    .custom-header-logo {
        flex-grow: 0;
        order: 1;
        justify-self: start !important;
    }

    .custom-header-logo img {
        max-height: var(--hc-logo-height-mobile) !important;
        width: auto !important;
        height: auto !important;
    }

    /* Mobilon mindkét asztali menü el van rejtve */
    .custom-header-nav-desktop,
    .custom-header-nav-left,
    .custom-header-nav-right {
        display: none !important;
    }

    /* Mobilon a kosár mindig látszik */
    body.hc-layout-logo-center .custom-header-cart {
        display: flex;
    }

    .custom-header-cart {
        order: 2;
        margin-left: auto;
        margin-right: 8px;
        display: flex;
        align-items: center;
        pointer-events: auto;
    }

    /* Extra shortcode mobilon – a kosár elé kerül, ne tolja ki a hamburger-t */
    .custom-header-extra {
        order: 2;
        margin-left: auto;
        margin-right: 8px;
        display: flex;
        align-items: center;
        pointer-events: auto;
    }

    .custom-header-extra+.custom-header-cart {
        margin-left: 0;
    }

    .custom-header-mobile-toggle {
        order: 3;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 5px !important;
        width: 44px !important;
        height: 44px !important;
        background-color: transparent !important;
        border-radius: 50% !important;
        cursor: pointer !important;
        padding: 0 !important;
        margin: 0 !important;
        z-index: 1001;
        box-shadow: none !important;
        outline: none !important;
        border: none !important;
    }

    .custom-header-mobile-toggle span {
        display: block !important;
        width: 20px !important;
        height: 2px !important;
        background-color: var(--hc-menu-link) !important;
        border-radius: 2px !important;
        transition: all 0.3s ease;
        margin: 0 !important;
    }

    .custom-header-wrapper.header-on-light .custom-header-mobile-toggle span {
        background-color: var(--hc-menu-link) !important;
    }

    .custom-header-inner.is-sticky .custom-header-mobile-toggle span {
        background-color: var(--hc-menu-link) !important;
    }
}

/* =========================================================
   MOBILE SIDEBAR (Off-canvas)
   ========================================================= */
.custom-header-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 80vw;
    max-width: 350px;
    height: 100vh;
    background: var(--hc-sidebar-bg);
    backdrop-filter: blur(15px);
    z-index: 9999;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    display: flex;
    flex-direction: column;
    padding: 30px;
    overflow-y: auto;
}

.custom-header-sidebar.is-open {
    transform: translateX(0);
}

.custom-header-sidebar-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.custom-header-sidebar-logo img {
    max-height: 65px;
    width: auto !important;
	max-width: 75% !important;
    filter: none !important;
}

.custom-header-sidebar-close {
    background: transparent !important;
    border: none;
    color: var(--hc-sidebar-color) !important;
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
    width: auto;
    height: auto;
    padding: 5px !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-header-mobile-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.custom-header-mobile-list>li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.custom-header-mobile-list li a {
    color: var(--hc-sidebar-color);
    text-decoration: none;
    font-size: var(--hc-menu-font-size) !important;
    font-weight: var(--hc-menu-font-weight) !important;
    font-style: var(--hc-menu-font-style) !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    font-family: 'Inter', sans-serif !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    transition: color 0.2s;
}

.custom-header-mobile-list li a:hover,
.custom-header-mobile-list li a:focus {
    color: var(--hc-sidebar-hover);
}

.custom-header-mobile-list li.menu-item-has-children>a::after {
    content: '' !important;
    display: block !important;
    width: 8px !important;
    height: 8px !important;
    border: 0 !important;
    border-right: 2px solid currentColor !important;
    border-bottom: 2px solid currentColor !important;
    transform: rotate(45deg);
    transition: transform 0.3s;
    margin-right: 5px;
}

.custom-header-mobile-list li.menu-item-has-children>a.is-active::after {
    transform: rotate(-135deg);
    margin-top: 5px;
}

/* =========================================================
   MOBILE SUBMENUS (Accordion)
   ========================================================= */
.custom-header-mobile-list .sub-menu {
    display: none;
    padding-left: 15px;
    background: #5f5f5f;
    margin-bottom: 10px;
    border-radius: 8px;
}

.custom-header-mobile-list .sub-menu.is-open {
    display: block;
    animation: fadeIn 0.3s ease;
}

.custom-header-mobile-list .sub-menu li {
    border: none;
    margin: 0;
}

.custom-header-mobile-list .sub-menu li+li {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.custom-header-mobile-list .sub-menu a {
    font-size: var(--hc-submenu-font-size) !important;
    padding: 10px 0;
    color: var(--hc-sidebar-color);
    opacity: 0.75;
    justify-content: flex-start;
}

.custom-header-mobile-list .sub-menu a:hover {
    opacity: 1;
    color: var(--hc-sidebar-hover);
}

.custom-header-mobile-list .sub-menu a::after {
    display: none !important;
}

.custom-header-mobile-list .sub-menu .sub-menu {
    padding-left: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-left: 2px solid rgba(255, 255, 255, 0.18);
    border-radius: 0 6px 6px 0;
    margin: 2px 0 6px 4px;
}

.custom-header-mobile-list .sub-menu .sub-menu a {
    font-size: 14px;
    opacity: 0.55;
    padding: 12px 0;
}

.custom-header-mobile-list .sub-menu .sub-menu li+li {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================================
   MOBILE SIDEBAR FOOTER & LANGUAGE SWITCHER
   ========================================================= */
.custom-header-sidebar-footer {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.sidebar-lang {
    display: inline-flex;
}

.sidebar-lang a.lang-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 34px;
    padding: 0 16px;
    background-color: #cfa350 !important;
    color: #ffffff !important;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    font-family: 'Inter', sans-serif !important;
    text-decoration: none;
    transition: background-color 0.2s, opacity 0.2s;
}

.sidebar-lang a.lang-item:hover {
    background-color: #b88f42 !important;
}

/* =========================================================
   OVERLAY
   ========================================================= */
.custom-header-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.6);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(3px);
}

.custom-header-overlay.is-active {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 768px) {
    .custom-header-inner {
        height: var(--hc-header-height);
        border-radius: 0;
    }
}

/* =========================================================
   KEZELÉSEK – migrált tartalom (Gutenberg blokkok)
   A blokkjelölésben szándékosan nincs inline stílus, mert a
   Gutenberg akkor "váratlan vagy hibás tartalom"-ot jelezne.
   ========================================================= */

/* A kétoszlopos sorokban a kép magassága az OSZLOP szélességéhez igazodik
   (container query), nem fix px-hez. Így egy álló kép nem tornyosul a
   szövege fölé, egy fekvő kép viszont nem marad indokolatlanul alacsony. */
.elementor-widget-theme-post-content .wp-block-column {
    container-type: inline-size;
}

/* A container-type egyben `contain: layout`, ami megszünteti a margó-összeolvadást:
   az oszlop első elemének felső margója innentől BENT marad és letolja a tartalmat.
   Ezért nullázzuk. Figyelem: a `h2:first-child` szelektor itt NEM működik, mert az
   Elementor tartalomjegyzéke egy <span class="elementor-menu-anchor">-t szúr a
   címsor elé, így a címsor a második gyerek. */
.elementor-widget-theme-post-content .wp-block-column > :first-child,
.elementor-widget-theme-post-content .wp-block-column > .elementor-menu-anchor:first-child + * {
    margin-block-start: 0;
}

.elementor-widget-theme-post-content .wp-block-column figure.wp-block-image {
    margin: 0;
}

.elementor-widget-theme-post-content .wp-block-column figure.wp-block-image img {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 85cqw;
    margin-inline: auto;
}

/* Tartalék ott, ahol nincs container query támogatás. */
@supports not (max-height: 1cqw) {
    .elementor-widget-theme-post-content .wp-block-column figure.wp-block-image img {
        max-height: 520px;
    }
}

/* Mobilon az oszlopok egymás alá kerülnek – ott a kép futhat teljes szélességben. */
@media (max-width: 767px) {
    .elementor-widget-theme-post-content .wp-block-column figure.wp-block-image img {
        max-height: none;
        width: 100%;
    }
}

/* „Neked ajánljuk" kiemelt doboz a tartalomban. */
.elementor-widget-theme-post-content .kezeles-ajanlo {
    background-color: #f7f3ed;
    border-left: 3px solid #cfa350;
    border-radius: 4px;
    padding: 20px 24px;
    margin: 28px 0;
}

.elementor-widget-theme-post-content .kezeles-ajanlo__cimke {
    margin: 0 0 6px;
    font-size: 0.85em;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #8c7a5c;
}

.elementor-widget-theme-post-content .kezeles-ajanlo__link {
    margin: 0 0 8px;
}

.elementor-widget-theme-post-content .kezeles-ajanlo ul {
    margin: 0;
}

/* CLINIDENT-HIANYZO-OLDALAK-KEZD */

/* =========================================================
   HIÁNYZÓ OLDALAK (18 migrált `page`) – 2026-09-08
   A régi CMSMasters ikonkészlet nincs meg az új oldalon, ezért az
   ikonokat SVG-maszkkal rajzoljuk: így a márkaszínt (currentColor
   helyett fix arany) örökli, és nem kell külön ikonfont.
   A blokkjelölésben szándékosan NINCS inline stílus – az érvénytelen
   blokkot okozna a szerkesztőben.
   ========================================================= */

:root {
    --cl-arany: #cfa350;
    --cl-arany-halvany: #f7f3ed;
}

/* ---------- önálló, középre igazított ikon (kártyák fölött) ---------- */
.elementor-widget-theme-post-content .cl-ikon {
    display: block;
    margin: 0 auto 12px;
    width: 44px;
    height: 44px;
    background-color: var(--cl-arany);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
}

/* ---------- ikonos listák ---------- */
.elementor-widget-theme-post-content ul.cl-lista {
    list-style: none;
    margin: 1em 0;
    padding: 0;
}

.elementor-widget-theme-post-content ul.cl-lista > li {
    position: relative;
    padding-left: 2em;
    margin-bottom: 0.6em;
}

.elementor-widget-theme-post-content ul.cl-lista > li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.15em;
    width: 1.25em;
    height: 1.25em;
    background-color: var(--cl-arany);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
}

/* A „nem” lista figyelmeztető sorai – halványabb, semleges jelölő. */
.elementor-widget-theme-post-content ul.cl-lista--nem > li::before {
    background-color: #b9926a;
}

/* ---------- az egyes ikonok (SVG maszk) ---------- */
.elementor-widget-theme-post-content .cl-ikon--ok,
.elementor-widget-theme-post-content ul.cl-lista--ok > li::before {
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 2a10 10 0 100 20 10 10 0 000-20zm-1.2 14.5l-4-4 1.4-1.4 2.6 2.6 5.6-5.6L18 9.5z"/></svg>');
    mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 2a10 10 0 100 20 10 10 0 000-20zm-1.2 14.5l-4-4 1.4-1.4 2.6 2.6 5.6-5.6L18 9.5z"/></svg>');
}

.elementor-widget-theme-post-content .cl-ikon--nem,
.elementor-widget-theme-post-content ul.cl-lista--nem > li::before {
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 2a10 10 0 100 20 10 10 0 000-20zm4 12.6L14.6 16 12 13.4 9.4 16 8 14.6 10.6 12 8 9.4 9.4 8 12 10.6 14.6 8 16 9.4 13.4 12z"/></svg>');
    mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 2a10 10 0 100 20 10 10 0 000-20zm4 12.6L14.6 16 12 13.4 9.4 16 8 14.6 10.6 12 8 9.4 9.4 8 12 10.6 14.6 8 16 9.4 13.4 12z"/></svg>');
}

.elementor-widget-theme-post-content .cl-ikon--csillag,
.elementor-widget-theme-post-content ul.cl-lista--csillag > li::before {
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 2l3 6.6 7 .9-5.1 4.8 1.3 7L12 18l-6.2 3.3 1.3-7L2 9.5l7-.9z"/></svg>');
    mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 2l3 6.6 7 .9-5.1 4.8 1.3 7L12 18l-6.2 3.3 1.3-7L2 9.5l7-.9z"/></svg>');
}

.elementor-widget-theme-post-content .cl-ikon--info,
.elementor-widget-theme-post-content ul.cl-lista--info > li::before {
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 2a10 10 0 100 20 10 10 0 000-20zm1 15h-2v-6h2zm0-8h-2V7h2z"/></svg>');
    mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 2a10 10 0 100 20 10 10 0 000-20zm1 15h-2v-6h2zm0-8h-2V7h2z"/></svg>');
}

.elementor-widget-theme-post-content .cl-ikon--tetszik {
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M2 21h4V9H2zM22 10.2a2 2 0 00-2-2h-5.6l1-4.4a1.6 1.6 0 00-.4-1.5L14 1.4 7.9 7.5c-.4.4-.6.9-.6 1.4v9.9c0 1.1.9 2 2 2h8.3c.8 0 1.5-.5 1.8-1.2l2.5-6.5c.1-.3.1-.6.1-.9z"/></svg>');
    mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M2 21h4V9H2zM22 10.2a2 2 0 00-2-2h-5.6l1-4.4a1.6 1.6 0 00-.4-1.5L14 1.4 7.9 7.5c-.4.4-.6.9-.6 1.4v9.9c0 1.1.9 2 2 2h8.3c.8 0 1.5-.5 1.8-1.2l2.5-6.5c.1-.3.1-.6.1-.9z"/></svg>');
}

.elementor-widget-theme-post-content .cl-ikon--fog,
.elementor-widget-theme-post-content ul.cl-lista--fog > li::before {
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 2C9.5 2 8.6 3.2 7 3.2 5.3 3.2 4 4.7 4 6.8c0 2 .6 3.4 1 5 .4 1.5.5 3 .7 4.6.2 1.7.4 3.4 1.3 4.4.6.7 1.7.7 2.2 0 .7-1 .8-2.6 1-4.2.2-1.3.4-2.4 1.8-2.4s1.6 1.1 1.8 2.4c.2 1.6.3 3.2 1 4.2.5.7 1.6.7 2.2 0 .9-1 1.1-2.7 1.3-4.4.2-1.6.3-3.1.7-4.6.4-1.6 1-3 1-5 0-2.1-1.3-3.6-3-3.6-1.6 0-2.5-1.2-5-1.2z"/></svg>');
    mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 2C9.5 2 8.6 3.2 7 3.2 5.3 3.2 4 4.7 4 6.8c0 2 .6 3.4 1 5 .4 1.5.5 3 .7 4.6.2 1.7.4 3.4 1.3 4.4.6.7 1.7.7 2.2 0 .7-1 .8-2.6 1-4.2.2-1.3.4-2.4 1.8-2.4s1.6 1.1 1.8 2.4c.2 1.6.3 3.2 1 4.2.5.7 1.6.7 2.2 0 .9-1 1.1-2.7 1.3-4.4.2-1.6.3-3.1.7-4.6.4-1.6 1-3 1-5 0-2.1-1.3-3.6-3-3.6-1.6 0-2.5-1.2-5-1.2z"/></svg>');
}

/* Fogszabályzó: fogsor-ív a rögzítő elemekkel. (Az első változat rácsos rajza
   a böngészőben egyszerű „#” jelnek látszott – ezért lett ívelt.) */
.elementor-widget-theme-post-content .cl-ikon--fogszabalyzo {
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 3.2c-4.6 0-8.4 3.4-8.4 7.6 0 2.6 1.2 4.6 2.6 4.6.9 0 1.4-.7 1.6-1.6h8.4c.2.9.7 1.6 1.6 1.6 1.4 0 2.6-2 2.6-4.6 0-4.2-3.8-7.6-8.4-7.6zm-6 5.6a1.5 1.5 0 110 3 1.5 1.5 0 010-3zm4 0a1.5 1.5 0 110 3 1.5 1.5 0 010-3zm4 0a1.5 1.5 0 110 3 1.5 1.5 0 010-3zm4 0a1.5 1.5 0 110 3 1.5 1.5 0 010-3zM4.6 17.8h14.8v1.8H4.6z"/></svg>');
    mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 3.2c-4.6 0-8.4 3.4-8.4 7.6 0 2.6 1.2 4.6 2.6 4.6.9 0 1.4-.7 1.6-1.6h8.4c.2.9.7 1.6 1.6 1.6 1.4 0 2.6-2 2.6-4.6 0-4.2-3.8-7.6-8.4-7.6zm-6 5.6a1.5 1.5 0 110 3 1.5 1.5 0 010-3zm4 0a1.5 1.5 0 110 3 1.5 1.5 0 010-3zm4 0a1.5 1.5 0 110 3 1.5 1.5 0 010-3zm4 0a1.5 1.5 0 110 3 1.5 1.5 0 010-3zM4.6 17.8h14.8v1.8H4.6z"/></svg>');
}

.elementor-widget-theme-post-content .cl-ikon--zene {
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 3v10.6A4 4 0 1014 17V7h5V3z"/></svg>');
    mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 3v10.6A4 4 0 1014 17V7h5V3z"/></svg>');
}

.elementor-widget-theme-post-content .cl-ikon--levego {
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M2 7.5c2-2.2 4-2.2 6 0s4 2.2 6 0 4-2.2 6 0v2.4c-2-2.2-4-2.2-6 0s-4 2.2-6 0-4-2.2-6 0zm0 6c2-2.2 4-2.2 6 0s4 2.2 6 0 4-2.2 6 0v2.4c-2-2.2-4-2.2-6 0s-4 2.2-6 0-4-2.2-6 0z"/></svg>');
    mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M2 7.5c2-2.2 4-2.2 6 0s4 2.2 6 0 4-2.2 6 0v2.4c-2-2.2-4-2.2-6 0s-4 2.2-6 0-4-2.2-6 0zm0 6c2-2.2 4-2.2 6 0s4 2.2 6 0 4-2.2 6 0v2.4c-2-2.2-4-2.2-6 0s-4 2.2-6 0-4-2.2-6 0z"/></svg>');
}

.elementor-widget-theme-post-content .cl-ikon--toll {
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20.2 3.8a6 6 0 00-8.5 0L6 9.6V18l-2.5 2.5 1.4 1.4L7.4 19.4h8.4l4.4-4.4a6 6 0 000-11.2zM8 17.4v-7l5.1-5.1a4 4 0 015.7 5.7l-5.2 5.2H9.4z"/></svg>');
    mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20.2 3.8a6 6 0 00-8.5 0L6 9.6V18l-2.5 2.5 1.4 1.4L7.4 19.4h8.4l4.4-4.4a6 6 0 000-11.2zM8 17.4v-7l5.1-5.1a4 4 0 015.7 5.7l-5.2 5.2H9.4z"/></svg>');
}

.elementor-widget-theme-post-content .cl-ikon--wifi {
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 18a2 2 0 110 4 2 2 0 010-4zm0-5c1.9 0 3.6.8 4.8 2l-1.6 1.6A4.5 4.5 0 0012 15c-1.2 0-2.3.5-3.2 1.3L7.2 15A6.7 6.7 0 0112 13zm0-5c3.2 0 6.1 1.3 8.2 3.4l-1.6 1.6A9.4 9.4 0 0012 10c-2.6 0-4.9 1-6.6 2.6L3.8 11A11.6 11.6 0 0112 8z"/></svg>');
    mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 18a2 2 0 110 4 2 2 0 010-4zm0-5c1.9 0 3.6.8 4.8 2l-1.6 1.6A4.5 4.5 0 0012 15c-1.2 0-2.3.5-3.2 1.3L7.2 15A6.7 6.7 0 0112 13zm0-5c3.2 0 6.1 1.3 8.2 3.4l-1.6 1.6A9.4 9.4 0 0012 10c-2.6 0-4.9 1-6.6 2.6L3.8 11A11.6 11.6 0 0112 8z"/></svg>');
}

.elementor-widget-theme-post-content ul.cl-lista--nyil > li::before {
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9.3 5.3L10.7 4l8 8-8 8-1.4-1.3 6.7-6.7z"/></svg>');
    mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9.3 5.3L10.7 4l8 8-8 8-1.4-1.3 6.7-6.7z"/></svg>');
}

/* A régi oldalon a TARTALOM MINDEN listája nyíl-jelölőt kapott a témától (nem csak
   az [cmsms_icon_list_items] listák). Ezért a sima listák is ezt kapják – de CSAK
   a `page` típuson, hogy a már jóváhagyott blog / kezelés / panasz oldalak
   megjelenése ne változzon. */
body.page .elementor-widget-theme-post-content ul.wp-block-list:not(.cl-lista) {
    list-style: none;
    margin: 1em 0;
    padding: 0;
}

body.page .elementor-widget-theme-post-content ul.wp-block-list:not(.cl-lista) > li {
    position: relative;
    padding-left: 1.6em;
    margin-bottom: 0.5em;
}

body.page .elementor-widget-theme-post-content ul.wp-block-list:not(.cl-lista) > li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.3em;
    width: 0.85em;
    height: 0.85em;
    background-color: var(--cl-arany);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9.3 5.3L10.7 4l8 8-8 8-1.4-1.3 6.7-6.7z"/></svg>');
    mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9.3 5.3L10.7 4l8 8-8 8-1.4-1.3 6.7-6.7z"/></svg>');
}

/* A beágyazott listák jelölője kisebb, hogy legyen szintkülönbség. */
body.page .elementor-widget-theme-post-content ul.wp-block-list li ul > li::before {
    width: 0.6em;
    height: 0.6em;
    top: 0.42em;
}

/* ---------- kártyasor (3–4 egyenlő oszlop: ikon + cím + rövid szöveg) ---------- */
.elementor-widget-theme-post-content .cl-kartyak {
    gap: 28px;
    margin-block: 32px;
}

.elementor-widget-theme-post-content .cl-kartyak > .wp-block-column {
    text-align: center;
    background: var(--cl-arany-halvany);
    border-radius: 8px;
    padding: 26px 22px;
}

.elementor-widget-theme-post-content .cl-kartyak > .wp-block-column > p,
.elementor-widget-theme-post-content .cl-kartyak > .wp-block-column > h2,
.elementor-widget-theme-post-content .cl-kartyak > .wp-block-column > h3,
.elementor-widget-theme-post-content .cl-kartyak > .wp-block-column > h4 {
    text-align: center;
}

/* A kártyán belüli lista maradjon balra zárt – középre zárva olvashatatlan. */
.elementor-widget-theme-post-content .cl-kartyak > .wp-block-column ul {
    text-align: left;
}

/* ---------- kis képek (embléma, garancia-pecsét, ikonszerű ábra) ----------
   A régi oldal a shortcode payloadjában megadott méretváltozatot mutatta
   (150×150, 300×300). Mi az EREDETIT hozzuk át, ezért a megjelenített méretet
   itt fogjuk vissza – enélkül egy 150 pixelesnek szánt pecsét 440 pixeresen
   uralja a hasábot. */
/* A szelektorok súlya szándékosan egyezik a fenti oszlop-szabályéval
   (`… .wp-block-column figure.wp-block-image img`) – mivel ez a blokk a fájl
   VÉGÉN áll, azonos súlynál ez nyer. Enélkül a `max-width:100%` felülírná. */
.elementor-widget-theme-post-content .wp-block-column figure.cl-kep--w150 img,
.elementor-widget-theme-post-content figure.cl-kep--w150 img { max-width: 150px; }

.elementor-widget-theme-post-content .wp-block-column figure.cl-kep--w295 img,
.elementor-widget-theme-post-content figure.cl-kep--w295 img { max-width: 295px; }

.elementor-widget-theme-post-content .wp-block-column figure.cl-kep--w300 img,
.elementor-widget-theme-post-content figure.cl-kep--w300 img { max-width: 300px; }

.elementor-widget-theme-post-content figure[class*="cl-kep--w"] {
    text-align: center;
}

.elementor-widget-theme-post-content .wp-block-column figure[class*="cl-kep--w"] img,
.elementor-widget-theme-post-content figure[class*="cl-kep--w"] img {
    margin-inline: auto;
    max-height: none;
}

/* ---------- munkatárs-rács ([clinident_munkatarsak]) ---------- */
.elementor-widget-theme-post-content .cl-munkatarsak {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin: 28px 0 36px;
}

.elementor-widget-theme-post-content .cl-munkatars {
    display: block;
    text-align: center;
    text-decoration: none;
    color: inherit;
    border: 1px solid #ece4d8;
    border-radius: 8px;
    padding: 16px 14px 20px;
    transition: box-shadow .2s ease, transform .2s ease;
}

.elementor-widget-theme-post-content .cl-munkatars:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, .08);
    transform: translateY(-2px);
}

.elementor-widget-theme-post-content .cl-munkatars__kep {
    display: block;
    margin-bottom: 14px;
    overflow: hidden;
    border-radius: 6px;
    aspect-ratio: 1 / 1;
}

.elementor-widget-theme-post-content .cl-munkatars__kep img {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
    display: block;
}

.elementor-widget-theme-post-content .cl-munkatars__nev {
    display: block;
    font-weight: 500;
    line-height: 1.3;
}

.elementor-widget-theme-post-content .cl-munkatars__szak {
    display: block;
    margin-top: 4px;
    font-size: .85em;
    color: var(--cl-arany);
}

@media (max-width: 1024px) {
    .elementor-widget-theme-post-content .cl-munkatarsak {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .elementor-widget-theme-post-content .cl-munkatarsak {
        grid-template-columns: 1fr;
    }
}

/* ---------- tartalmi képek: soha ne nagyítsunk fel ----------
   A migrált oldalakon akad kis logó/embléma (pl. 300x300-as árgarancia)
   és széles infografika is. A `width:auto` miatt a kicsi marad kicsi,
   a nagyot pedig az oszlop szélessége fogja vissza. Az oszlopon KÍVÜLI
   képekre eddig nem volt szabály – ezért futottak ki teljes szélességbe. */
.elementor-widget-theme-post-content > .wp-block-image img,
.elementor-widget-theme-post-content .wp-block-image img {
    width: auto;
    max-width: 100%;
    height: auto;
}

.elementor-widget-theme-post-content > .wp-block-image {
    text-align: center;
}

.elementor-widget-theme-post-content > .wp-block-image img {
    margin-inline: auto;
    /* Az oszlopon kívüli, teljes szélességű képnek is kell felső korlát: enélkül
       egy álló fotó 800 px magasan tornyosul, és szétszakítja a szöveget. */
    max-height: 560px;
}
/* CLINIDENT-HIANYZO-OLDALAK-VEG */

/* =========================================================
   MOBIL FEJLÉC IKONOK – telefon a hamburger bal oldalán
   Csak akkor látszanak, amikor a top bar és az asztali menü el van rejtve
   (max-width: 1350px). A keresés az oldalsáv alján lévő mezőbe került.
   ========================================================= */
.custom-header-mobile-actions {
    display: none;
}

@media (max-width: 1350px) {
    .custom-header-mobile-actions {
        order: 2;
        display: flex;
        align-items: center;
        gap: 8px;
        margin-left: auto;
        margin-right: 6px;
        pointer-events: auto;
    }

    /* Ugyanaz az arany gradiens háttér, mint a naptár (Időpontfoglalás) ikonon. */
    .custom-header-wrapper .custom-header-mobile-icon {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        width: 46px !important;
        height: 46px !important;
        padding: 0 !important;
        margin: 0 !important;
        border-radius: 50% !important;
        border: none !important;
        background: linear-gradient(135deg, #a3803f 0%, #cfa350 25%, #e0bd76 50%, #cfa350 75%, #a3803f 100%) !important;
        color: #ffffff !important;
        box-shadow: none !important;
        text-decoration: none !important;
        cursor: pointer;
        transition: transform 0.2s ease;
    }

    .custom-header-wrapper .custom-header-mobile-icon:hover,
    .custom-header-wrapper .custom-header-mobile-icon:focus-visible {
        transform: translateY(-2px);
        color: #ffffff !important;
    }

    .custom-header-wrapper .custom-header-mobile-icon svg {
        display: block;
        width: 20px;
        height: 20px;
        stroke: currentColor !important;
    }
}

/* Telefonon kisebb logó, hogy kényelmesen elférjen mellette a két ikon */
@media (max-width: 767px) {
    .custom-header-logo img {
        max-height: 40px !important;
    }
}

@media (max-width: 380px) {
    .custom-header-logo img {
        max-height: 36px !important;
    }
}

@media (max-width: 480px) {
    .custom-header-inner {
        padding: 0 16px;
    }

    /* A logó szükség esetén zsugorodhat, hogy ne csússzon az ikonokra */
    .custom-header-logo {
        flex: 0 1 auto;
        min-width: 0;
        margin-right: 10px;
    }

    .custom-header-logo img {
        max-width: 100% !important;
    }

    .custom-header-mobile-actions {
        gap: 6px;
        margin-right: 2px;
    }

    .custom-header-wrapper .custom-header-mobile-icon {
        width: 46px !important;
        height: 46px !important;
    }

    .custom-header-wrapper .custom-header-mobile-icon svg {
        width: 20px;
        height: 20px;
    }

    .custom-header-mobile-toggle {
        width: 38px !important;
        height: 38px !important;
    }
}

/* =========================================================
   LÁBLÉC TÉRKÉP – üres (még fel nem oldott) állapot
   A Complianz addig about:blank-et tart az iframe-ben, amíg a
   hozzájárulás-szkript le nem fut. Az üres iframe fehér, ami a sötét
   lábléchez képest villanásnak látszik – ezért a helye eleve a lábléc
   színét kapja, a betöltött térkép pedig ráfest.
   ========================================================= */
.elementor-location-footer .elementor-widget-google_maps,
.elementor-location-footer .elementor-widget-google_maps iframe {
    background-color: #1a1a1a;
}

/* =========================================================
   ELEMENTOR IKONLISTA – tablet/mobil igazítás a szövegre is
   Az Elementor asztali igazításnál text-align-t is ad (pl. start),
   tablet/mobil igazításnál viszont csak justify-content-et. Ezért a
   több sorba törő szöveg (pl. lábléc „Minden jog fenntartva”) mobilon
   balra zárt maradt, hiába volt középre állítva.
   ========================================================= */
@media (max-width: 1024px) {
    .elementor-widget.elementor-tablet-align-start .elementor-icon-list-item { text-align: start; }
    .elementor-widget.elementor-tablet-align-center .elementor-icon-list-item { text-align: center; }
    .elementor-widget.elementor-tablet-align-end .elementor-icon-list-item { text-align: end; }
}

@media (max-width: 767px) {
    .elementor-widget.elementor-mobile-align-start .elementor-icon-list-item { text-align: start; }
    .elementor-widget.elementor-mobile-align-center .elementor-icon-list-item { text-align: center; }
    .elementor-widget.elementor-mobile-align-end .elementor-icon-list-item { text-align: end; }
}

/* =========================================================
   MOBIL FEJLÉC IDŐPONTFOGLALÁS GOMB + SÖTÉT OLDALSÁV KERESŐVEL
   CLINIDENT-MOBIL-CTA-KERESO-KEZDET
   ========================================================= */

/* ---------------------------------------------------------
   1) Időpontfoglalás gomb a mobil (sticky) fejlécben
   Ugyanaz az arany gradiens, mint az asztali CTA gombon.
   Szűk kijelzőn a felirat eltűnik, marad a naptár ikon.
   --------------------------------------------------------- */
.custom-header-mobile-cta {
    display: none;
}

@media (max-width: 1350px) {
    .custom-header-wrapper .custom-header-mobile-cta {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        gap: 8px;
        height: 46px;
        padding: 0 18px !important;
        margin: 0 !important;
        border: none !important;
        border-radius: var(--hc-cta-radius);
        background: linear-gradient(135deg, #a3803f 0%, #cfa350 25%, #e0bd76 50%, #cfa350 75%, #a3803f 100%) !important;
        color: #ffffff !important;
        font-family: 'Inter', sans-serif !important;
        font-size: 14px !important;
        font-weight: var(--hc-cta-font-weight, 500) !important;
        line-height: 1;
        white-space: nowrap;
        text-decoration: none !important;
        text-transform: none !important;
        letter-spacing: normal !important;
        box-shadow: none !important;
        pointer-events: auto;
        transition: transform 0.2s ease;
    }

    .custom-header-wrapper .custom-header-mobile-cta:hover,
    .custom-header-wrapper .custom-header-mobile-cta:focus-visible {
        transform: translateY(-2px);
        color: #ffffff !important;
    }

    .custom-header-mobile-cta-icon {
        display: block;
        width: 20px;
        height: 20px;
        flex: 0 0 auto;
        stroke: currentColor !important;
    }
}

/* Ha a felirat már nem férne ki: kerek, ikonos arany gomb. */
@media (max-width: 620px) {
    .custom-header-mobile-cta-label {
        display: none;
    }

    .custom-header-wrapper .custom-header-mobile-cta {
        width: 46px;
        gap: 0;
        padding: 0 !important;
        border-radius: 50%;
    }
}

@media (max-width: 480px) {
    .custom-header-wrapper .custom-header-mobile-cta {
        width: 46px;
        height: 46px;
    }

    .custom-header-mobile-cta-icon {
        width: 20px;
        height: 20px;
    }
}

/* ---------------------------------------------------------
   2) Oldalsáv kereső mező (a fejlécből kikerült kereső ikon helyett)
   --------------------------------------------------------- */
.custom-header-sidebar-search {
    margin: 18px 0 0;
}

.sidebar-search-form {
    position: relative;
    display: flex;
    align-items: center;
}

.custom-header-sidebar .sidebar-search-input {
    width: 100%;
    height: 42px;
    padding: 0 44px 0 14px !important;
    margin: 0 !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    border-radius: 4px !important;
    background: rgba(255, 255, 255, 0.06) !important;
    color: var(--hc-sidebar-color) !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 14px !important;
    box-shadow: none !important;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.custom-header-sidebar .sidebar-search-input::placeholder {
    color: rgba(255, 255, 255, 0.55);
    opacity: 1;
}

.custom-header-sidebar .sidebar-search-input:focus {
    outline: none !important;
    border-color: #cfa350 !important;
    background: rgba(255, 255, 255, 0.1) !important;
}

/* A böngésző saját "x" törlés gombja sötét háttéren alig látszik. */
.custom-header-sidebar .sidebar-search-input::-webkit-search-cancel-button {
    -webkit-appearance: none;
    appearance: none;
}

.custom-header-sidebar .sidebar-search-submit {
    position: absolute;
    top: 50%;
    right: 4px;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    border-radius: 4px !important;
    background: transparent !important;
    color: #cfa350 !important;
    box-shadow: none !important;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.custom-header-sidebar .sidebar-search-submit:hover,
.custom-header-sidebar .sidebar-search-submit:focus-visible {
    background: rgba(207, 163, 80, 0.16) !important;
    color: #cfa350 !important;
}

.custom-header-sidebar .sidebar-search-submit svg {
    display: block;
    width: 16px;
    height: 16px;
    stroke: currentColor !important;
}

/* ---------------------------------------------------------
   3) Időpontfoglalás az oldalsávban – az asztali gomb stílusával
   --------------------------------------------------------- */
.custom-header-sidebar .custom-header-mobile-list > li.CTA {
    border-bottom: none !important;
    margin-top: 18px;
}

.custom-header-sidebar .custom-header-mobile-list li.CTA > a {
    justify-content: center;
    gap: 8px;
    padding: var(--hc-cta-padding-y) var(--hc-cta-padding-x) !important;
    border-radius: var(--hc-cta-radius);
    background: linear-gradient(135deg, #a3803f 0%, #cfa350 25%, #e0bd76 50%, #cfa350 75%, #a3803f 100%) !important;
    color: #ffffff !important;
    font-size: var(--hc-cta-font-size) !important;
    font-weight: var(--hc-cta-font-weight, 500) !important;
    line-height: 1;
    text-align: center;
    transition: transform 0.2s ease;
}

.custom-header-sidebar .custom-header-mobile-list li.CTA > a:hover,
.custom-header-sidebar .custom-header-mobile-list li.CTA > a:focus {
    transform: translateY(-2px);
    color: #ffffff !important;
}

/* ---------------------------------------------------------
   4) Aktív menüpont aranyszínnel (a CTA gomb kivételével)
   --------------------------------------------------------- */
.custom-header-mobile-list > li:not(.CTA).current-menu-item > a,
.custom-header-mobile-list > li:not(.CTA).current_page_item > a,
.custom-header-mobile-list > li:not(.CTA).current-menu-ancestor > a,
.custom-header-mobile-list > li:not(.CTA).current-menu-parent > a,
.custom-header-mobile-list > li:not(.CTA).current-post-ancestor > a,
.custom-header-mobile-list .sub-menu li.current-menu-item > a,
.custom-header-mobile-list .sub-menu li.current_page_item > a,
.custom-header-mobile-list .sub-menu li.current-menu-ancestor > a {
    color: #cfa350 !important;
    opacity: 1 !important;
}
/* CLINIDENT-MOBIL-CTA-KERESO-VEG */
