/* ==========================================================================
   House of Slow - header (Astra Header Builder)
   ========================================================================== */
#masthead .site-primary-header-wrap.ast-container,
#masthead .ast-mobile-header-wrap .ast-primary-header-bar{max-width:none;padding-left:var(--hos-gutter) !important;padding-right:var(--hos-gutter) !important;}
#masthead .ast-primary-header-bar,#masthead .main-header-bar{background:var(--hos-paper) !important;border:0 !important;}
#masthead .ast-builder-layout-element,#masthead .site-branding{padding-left:0 !important;padding-right:0 !important;margin:0 !important;}

/* Wordmark */
#masthead .site-title{margin:0;line-height:1;}
#masthead .site-title a{font-family:var(--hos-serif);font-size:24px;font-weight:400;letter-spacing:.02em;text-transform:uppercase;white-space:nowrap;color:var(--hos-ink) !important;text-decoration:none;}

/* Navigation */
#masthead .main-header-menu{gap:clamp(16px,2.2vw,42px);}
#masthead .main-header-menu .menu-item>.menu-link{position:relative;padding:9px 0 !important;font-family:var(--hos-sans);font-size:12px;font-weight:400;letter-spacing:.075em;text-transform:uppercase;line-height:1.65;color:var(--hos-ink) !important;text-decoration:none;}
#masthead .main-header-menu .menu-item>.menu-link::after{content:"";position:absolute;left:0;right:0;bottom:2px;height:1px;background:var(--hos-ink);transform:scaleX(0);transform-origin:left;transition:transform .25s ease-out;}
#masthead .main-header-menu .menu-item>.menu-link:hover::after,
#masthead .main-header-menu .current-menu-item>.menu-link::after{transform:scaleX(1);}
#masthead .main-header-menu .current-menu-item>.menu-link{font-weight:600;}
#masthead .ast-builder-menu-1{margin-right:clamp(16px,2.2vw,42px);}

/* Slow Letter: text link with underline */
#masthead .ast-header-button-1 .ast-custom-button{background:transparent !important;border:0 !important;border-bottom:1px solid var(--hos-ink) !important;border-radius:0 !important;padding:9px 0 3px !important;font-family:var(--hos-sans);font-size:12px !important;font-weight:600 !important;letter-spacing:.075em !important;text-transform:uppercase;line-height:1.4 !important;color:var(--hos-ink) !important;white-space:nowrap;}
#masthead .ast-header-button-1 .ast-custom-button:hover{opacity:.65;}
#masthead .ast-header-button-1 .ast-custom-button-link{text-decoration:none;}

/* Mobile */
@media (max-width:921px){
  #masthead .site-title a{font-size:21px;}
  #masthead .menu-toggle{color:var(--hos-ink) !important;background:transparent !important;padding:12px 0 !important;font-size:12px;letter-spacing:.1em;text-transform:uppercase;}
  #masthead .menu-toggle .mobile-menu-toggle-icon .ast-mobile-svg{fill:var(--hos-ink) !important;}
  #masthead .ast-mobile-header-content,#masthead .ast-desktop-header-content{background:var(--hos-paper) !important;padding:8px var(--hos-gutter) 28px !important;box-shadow:0 12px 20px rgba(0,0,0,.06);}
  #masthead .ast-mobile-header-content .main-header-menu{gap:0;}
  #masthead .ast-mobile-header-content .menu-item>.menu-link{display:inline-block;padding:11px 0 !important;border:0 !important;background:transparent !important;}
  #masthead .ast-mobile-header-content .main-header-menu .menu-item{border:0 !important;}
  #masthead .ast-mobile-header-content .ast-header-button-1{margin-top:12px;padding:0 !important;}
}
/* gap between menu and Slow Letter */
#masthead .site-header-primary-section-right{gap:clamp(16px,2.2vw,42px);}

/* --- 14 okt 2026: Slow Letter on the same text baseline as the menu (desktop) --- */
@media (min-width:922px){#masthead .site-header-primary-section-right{align-items:baseline !important;align-self:center !important;height:auto !important;}}
/* small laptops: keep the menu on one line */
#masthead .main-header-menu{flex-wrap:nowrap !important;white-space:nowrap;}
@media (min-width:922px) and (max-width:1180px){#masthead .site-title a{font-size:21px;}#masthead .main-header-menu,#masthead .site-header-primary-section-right{gap:18px;}#masthead .main-header-menu .menu-item>.menu-link,#masthead .ast-header-button-1 .ast-custom-button{font-size:11px !important;letter-spacing:.06em !important;}}
