/* Shared semantics and focus in both views; additional color/motion corrections
   apply to the enhanced view. Without scripting the enhanced colors remain. */
body:not(.wp-admin) a:focus-visible,
body:not(.wp-admin) button:focus-visible,
body:not(.wp-admin) input:focus-visible,
body:not(.wp-admin) select:focus-visible,
body:not(.wp-admin) textarea:focus-visible,
body:not(.wp-admin) summary:focus-visible,
body:not(.wp-admin) [role="button"]:focus-visible,
body:not(.wp-admin) [tabindex]:focus-visible {
    outline: 3px solid #111111 !important;
    outline-offset: 3px !important;
    box-shadow: 0 0 0 3px #ffffff !important;
}
body:not(.wp-admin) .skip-link:focus {
    position: fixed;
    top: 48px;
    left: 16px;
    z-index: 1000001;
    padding: 12px 18px;
    color: #ffffff;
    background: #073f30;
    width: auto;
    height: auto;
    clip: auto;
    clip-path: none;
    font: 600 16px/1.4 sans-serif;
}

/* The existing green strip carries the control, leaving the main menu intact. */
header [data-id="5087f44d"] {
    display: flex !important;
    justify-content: center;
    align-items: center;
    min-height: 40px;
    padding: 4px 24px;
}
header [data-id="57794d57"] {
    width: 1140px;
    max-width: 100%;
    margin: 0;
}
header [data-id="57794d57"] > .elementor-widget-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
header [data-id="57794d57"] .elementor-icon-list-items {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
}
.sr-a11y-control {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 32px;
    max-width: 100%;
    margin: 0;
    padding: 3px 9px;
    border: 1px solid #ffffff;
    border-radius: 5px;
    color: #073f30;
    background: #ffffff;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    white-space: nowrap;
    cursor: pointer;
}
.sr-a11y-control[hidden] { display: none !important; }
.sr-a11y-control:hover { background: #e8f4ee; }
.sr-a11y-control.sr-a11y-on {
    color: #ffffff;
    background: #073f30;
}
button.sr-a11y-toggle,
button.sr-a11y-toggle:hover,
button.sr-a11y-toggle:focus {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 26px;
    width: 26px;
    min-width: 26px;
    height: 24px;
    min-height: 24px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    color: inherit;
    background: transparent;
    line-height: 1;
    box-shadow: none;
    cursor: pointer;
}
.sr-a11y-track {
    position: relative;
    display: inline-block;
    width: 26px;
    height: 16px;
    border: 1px solid currentColor;
    border-radius: 10px;
}
.sr-a11y-track::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
}
[aria-pressed="true"] .sr-a11y-track::after { left: 13px; }

html:not(.sr-a11y-standard) footer [data-id="2a1b903e"] .elementor-heading-title,
html:not(.sr-a11y-standard) footer [data-id="131b3fa9"] .elementor-heading-title,
html:not(.sr-a11y-standard) footer [data-id="1021954c"] .elementor-heading-title,
html:not(.sr-a11y-standard) footer [data-id="10ca20d7"] .elementor-heading-title,
html:not(.sr-a11y-standard) footer [data-id="776a7a48"] .elementor-heading-title {
    color: #111827 !important;
}
html:not(.sr-a11y-standard) footer [data-id="2f1015a1"] { color: #c8c8c8 !important; }
html:not(.sr-a11y-standard) header a.elementor-item:hover,
html:not(.sr-a11y-standard) header a.elementor-item:focus,
html:not(.sr-a11y-standard) header a.elementor-item:focus-visible,
html:not(.sr-a11y-standard) header a.elementor-item.highlighted {
    color: #ffffff !important;
    background-color: #073f30 !important;
}
html:not(.sr-a11y-standard) header a.elementor-item-active {
    color: #073f30 !important;
    text-decoration: underline;
    text-underline-offset: 5px;
}
/* A sufficiently dark green overlay preserves the colored photograph. */
html:not(.sr-a11y-standard) .elementor-12 [data-id="86fb899"]::before,
html:not(.sr-a11y-standard) [data-id="5d6be3b"]::before,
html:not(.sr-a11y-standard) [data-id="497dc156"]::before {
    background-image: none !important;
    background-color: #032b21 !important;
    opacity: .82 !important;
    --overlay-opacity: .82;
    mix-blend-mode: normal !important;
}
html:not(.sr-a11y-standard) .elementor-585 h3.elementor-heading-title {
    display: inline-block;
    max-width: 100%;
    padding: 8px 12px;
    color: #ffffff !important;
    background: #073f30;
}
html:not(.sr-a11y-standard) .elementor-animation-pop,
html:not(.sr-a11y-standard) .elementor-animation-float,
html:not(.sr-a11y-standard) .elementor-animated-content,
html:not(.sr-a11y-standard) .e-transform,
html:not(.sr-a11y-standard) .elementor-motion-effects-element,
html:not(.sr-a11y-standard) .elementor-motion-effects-layer {
    animation: none !important;
    transition: none !important;
    transform: none !important;
}
html:not(.sr-a11y-standard) { scroll-behavior: auto !important; }
main, [role="main"], #kapcsolat { scroll-margin-top: calc(var(--sr-header-height, 140px) + 20px); }
a[href^="mailto:"], .elementor-widget-text-editor a, .elementor-icon-box-description,
.sr-a11y-poster-text, .cookieyes-table-container { overflow-wrap: anywhere; }
.elementor-icon-box-content { min-width: 0; }
.elementor-heading-title p:last-child { margin-bottom: 0; }

.sr-a11y-poster-text {
    margin: 0 0 24px;
    padding: 12px 16px;
    border: 1px solid #117d5b;
    border-radius: 6px;
    color: #17212f;
    background: #ffffff;
    font-size: 16px;
    line-height: 1.6;
}
.sr-a11y-poster-text summary { cursor: pointer; font-weight: 600; }
.sr-a11y-poster-text h2 { margin: 24px 0 10px; font-size: 22px; }
.sr-a11y-poster-text p { margin: 0 0 12px; }
.elementor-lightbox .dialog-close-button,
.elementor-lightbox .elementor-swiper-button {
    min-width: 44px;
    min-height: 44px;
}

@media (max-width: 1024px) {
    header [data-id="3ce0dcad"] > .e-con-inner {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 44px 32px;
        align-items: center;
        gap: 10px;
        padding: 12px 16px;
    }
    header [data-id="9d3b437"] { width: 100%; max-width: 400px; min-width: 0; }
    header [data-id="9d3b437"] img { width: 100% !important; max-width: 100% !important; height: auto; }
    header [data-id="24cfdcab"] { width: 44px; min-width: 44px; }
    header [data-id="cdb9222"] { width: 32px; }
    header .elementor-menu-toggle { min-width: 44px; min-height: 44px; padding: 8px; }
    header [data-id="cdb9222"] a { min-width: 32px; min-height: 32px; }
}
@media (max-width: 767px) {
    header [data-id="5087f44d"] { padding: 4px 16px; }
    header [data-id="57794d57"] .elementor-icon-list-items { display: none; }
    header [data-id="57794d57"] > .elementor-widget-container { justify-content: flex-end; }
    .sr-a11y-control { min-height: 44px; }
    .elementor-widget-text-editor table { table-layout: fixed; width: 100%; overflow-wrap: anywhere; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto !important; }
    body:not(.wp-admin) .elementor-animation-pop,
    body:not(.wp-admin) .elementor-animation-float,
    body:not(.wp-admin) .elementor-motion-effects-element,
    body:not(.wp-admin) .elementor-motion-effects-layer {
        animation: none !important;
        transition: none !important;
        transform: none !important;
    }
}
