/*
Theme Name: Ahr Trauringe
Description: Original Ahr-Trauringe design with editable Elementor sections.
Version: 1.1.0
Requires at least: 6.5
Requires PHP: 7.4
Text Domain: ahr-trauringe
*/
.ahr-page .elementor-element { --widgets-spacing:0px; }
.ahr-page .elementor-widget-container { margin:0; }
.ahr-page .elementor-section-wrap,.ahr-page .elementor { width:100%; }
.ahr-page .e-con { --container-max-width:100%; --padding-top:0px; --padding-bottom:0px; --padding-left:0px; --padding-right:0px; --gap:0px; }
body.admin-bar > header.sticky { top:32px; }
@media(max-width:782px){body.admin-bar > header.sticky{top:46px;}}

/* Logo and WordPress header navigation. */
.ahr-header-inner{max-width:1152px;margin:auto;padding:12px 24px;display:flex;align-items:center;gap:24px;flex-wrap:wrap}
.ahr-brand{flex:0 1 280px;min-width:0}
.ahr-brand a{display:block}
.ahr-brand img{display:block;width:280px;max-width:100%;height:auto;object-fit:contain}
.ahr-navigation{margin-left:auto;min-width:0}
.ahr-menu,.ahr-menu .sub-menu{list-style:none;margin:0;padding:0}
.ahr-menu{display:flex;align-items:center;flex-wrap:wrap;gap:8px 24px;font-size:14px}
.ahr-menu li{position:relative}
.ahr-menu a{display:block;padding:10px 0;overflow-wrap:anywhere}
.ahr-menu a:hover,.ahr-menu .current-menu-item>a,.ahr-menu .current-menu-ancestor>a{color:#947035}
.ahr-header a:focus-visible,.ahr-header button:focus-visible{outline:2px solid #947035;outline-offset:4px}
.ahr-menu .sub-menu{display:none;position:absolute;right:0;top:100%;width:220px;max-width:80vw;padding:8px 16px;background:#fcfaf6;border:1px solid #e5dfd5;box-shadow:0 8px 20px #0001;z-index:60}
.ahr-menu li:hover>.sub-menu,.ahr-menu li:focus-within>.sub-menu{display:block}
.ahr-menu .sub-menu .sub-menu{position:static;width:auto;max-width:none;box-shadow:none;margin-left:8px;border:0;border-left:1px solid #e5dfd5;display:block}
.ahr-menu .menu-item-has-children>a:after{content:' ▾';font-size:11px}
.ahr-header-phone{padding:8px 16px;border:1px solid #e5dfd5;font-size:12px;letter-spacing:.08em;white-space:nowrap}
.ahr-menu-toggle{display:none;cursor:pointer;border:1px solid #e5dfd5;border-radius:2px;padding:10px 12px;font-size:14px}
@media(max-width:900px){
 .ahr-header-inner{padding:10px 16px;gap:12px}
 .ahr-brand{flex-basis:240px;max-width:calc(100% - 100px)}
 .ahr-menu-toggle:not([hidden]){display:block;margin-left:auto}
 .ahr-navigation{width:100%;margin:0;order:4}
 .ahr-header.is-enhanced .ahr-navigation{display:none}
 .ahr-header.is-enhanced.is-menu-open .ahr-navigation{display:block;max-height:65vh;overflow-y:auto}
 .ahr-menu{display:block}
 .ahr-menu a{padding:12px 4px}
 .ahr-menu .sub-menu{display:block;position:static;width:auto;max-width:none;margin-left:16px;padding:0 12px;box-shadow:none;border:0;border-left:1px solid #e5dfd5;background:transparent}
 .ahr-header-phone{margin-left:auto}
}
@media(max-width:480px){.ahr-header-phone{display:none}}
