/* Preserve the existing icon geometry when generic divs become native buttons. */
.elementor-widget-uael-nav-menu button.uael-nav-menu__toggle,
.elementor-widget-uael-nav-menu button.uael-flyout-close {
    appearance: none;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    font: inherit;
    font-weight: inherit;
    letter-spacing: inherit;
    margin: 0;
    min-width: 0;
    padding: 0;
    text-transform: none;
}

.elementor-widget-uael-nav-menu button.uael-nav-menu__toggle {
    color: #494c4f;
    line-height: 1.3;
}

.elementor-widget-uael-nav-menu button.uael-flyout-close {
    color: #d5c9c2;
    margin: 5px;
}

/* The plugin only moves a closed drawer off screen. Hide it as well, using
   its existing transition so the closing slide finishes before it disappears.
   The open drawer retains overflow-y:auto: it scrolls only when needed. */
.elementor-widget-uael-nav-menu .uael-side[aria-hidden="true"] {
    visibility: hidden;
}

/* Visible keyboard states, including against the dark navigation panel. */
.elementor-widget-uael-nav-menu button:focus-visible,
.elementor-widget-uael-nav-menu .uael-side a:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 4px;
}

.elementor-widget-uael-nav-menu button.uael-nav-menu__toggle:focus-visible {
    outline-color: #000;
    outline-offset: 2px;
    box-shadow: 0 0 0 2px #fff;
}

/* The header's transparent home link spans half the header. Keep that target,
   but draw keyboard focus around the visible artwork at its original size. */
.elementor-579 .elementor-element-32599b0e a:focus-visible {
    outline: none;
}

.elementor-579 .elementor-element-32599b0e a:focus-visible > img {
    outline: 2px solid #000;
    outline-offset: 1px;
    box-shadow: 0 0 0 1px #fff;
}

/* Long words may wrap only when the existing text measure needs it. */
.elementor-heading-title,
.elementor-widget-theme-post-content,
.uael-post__excerpt {
    overflow-wrap: anywhere;
}

/* Use the page's Danish language for hyphens in article headings only. */
.elementor-widget-theme-post-title .elementor-heading-title,
.elementor-widget-theme-post-content :is(h2, h3, h4, h5, h6) {
    -webkit-hyphens: auto;
    hyphens: auto;
}

/* Keep the established text colours, and make inline links recognisable. */
.elementor-widget-theme-post-content p a[href],
.elementor-widget-theme-post-content li a[href] {
    text-decoration-line: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.15em;
}

/* 24px targets, 8px between targets, with the original 11px visible dots. */
.elementor .elementor-widget-slides .swiper-pagination.swiper-pagination-bullets .swiper-pagination-bullet {
    position: relative;
    width: 24px;
    height: 24px;
    margin: 0 4px;
    background: transparent;
    border-radius: 0;
    vertical-align: middle;
}

.elementor .elementor-widget-slides .swiper-pagination.swiper-pagination-bullets .swiper-pagination-bullet::before {
    content: "";
    position: absolute;
    width: 11px;
    height: 11px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: #000;
}

.elementor .elementor-widget-slides .swiper-pagination.swiper-pagination-bullets .swiper-pagination-bullet:focus-visible {
    opacity: 1;
    box-shadow: 0 0 0 2px #fff;
    outline: 2px solid #000;
    outline-offset: 2px;
}
