/*
Theme Name: Alog East
Theme URI: https://alogeast.eu
Author: Alog East
Description: Custom WordPress theme reproducing the approved Alog East HTML website designs.
Version: 3.1.1
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: alog-east
*/

/* Shared header refinements — applied to every page. */
.logo{display:flex!important;align-items:center!important;flex:0 0 auto!important;line-height:0!important;}
.site-logo-image{display:block!important;width:190px!important;height:auto!important;max-height:62px!important;object-fit:contain!important;}
.custom-logo-link{display:contents!important;}

@media (max-width:1180px){
  .site-logo-image{width:165px!important;}
  nav.main-nav{gap:12px!important;}
  nav.main-nav a{font-size:.74rem!important;}
}
@media (max-width:980px){
  .headbar{flex-wrap:wrap!important;}
  .menu-toggle{display:block!important;order:2;margin-left:auto!important;}
  .header-right{order:3!important;}
  nav.main-nav{display:none!important;order:4;width:100%!important;flex-direction:column!important;align-items:stretch!important;overflow:visible!important;padding:10px 0 14px!important;gap:0!important;}
  nav.main-nav.is-open{display:flex!important;}
  nav.main-nav a{display:block!important;padding:10px 4px!important;border-bottom:1px solid var(--line)!important;font-size:.9rem!important;}
}
@media (max-width:560px){
  .wrap{padding-left:18px!important;padding-right:18px!important;}
  .site-logo-image{width:145px!important;max-height:48px!important;}
  .lang-switch{display:none!important;}
  .nav-cta{padding:8px 11px!important;font-size:.72rem!important;}
  section{padding-top:52px!important;padding-bottom:52px!important;}
  .hero-inner{padding-top:64px!important;padding-bottom:70px!important;}
  .foot-grid{grid-template-columns:1fr!important;}
}

/* Final header corrections: preserve approved layout, keep logo left, show all main-menu text. */
header .headbar{
  max-width:none!important;
  width:100%!important;
  margin:0!important;
  padding:12px 22px!important;
  display:flex!important;
  flex-wrap:nowrap!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:18px!important;
}
header .logo{
  margin:0!important;
  padding:0!important;
  flex:0 0 auto!important;
}
header .site-logo-image{
  width:128px!important;
  max-width:128px!important;
  max-height:48px!important;
  object-fit:contain!important;
}
header nav.main-nav{
  display:flex!important;
  flex:1 1 auto!important;
  justify-content:center!important;
  align-items:center!important;
  gap:15px!important;
  min-width:0!important;
  overflow:visible!important;
  margin:0!important;
  padding:0!important;
}
header nav.main-nav li{
  list-style:none!important;
  margin:0!important;
  padding:0!important;
  display:block!important;
}
header nav.main-nav li::marker,
header nav.main-nav li::before{
  content:none!important;
  display:none!important;
}
header nav.main-nav a{
  display:block!important;
  white-space:nowrap!important;
  font-size:.76rem!important;
  line-height:1.2!important;
  padding:7px 0!important;
}
header .header-right{
  margin-left:auto!important;
  flex:0 0 auto!important;
}

@media (max-width:1250px) and (min-width:981px){
  header .headbar{gap:12px!important;padding-left:16px!important;padding-right:16px!important;}
  header .site-logo-image{width:112px!important;max-width:112px!important;}
  header nav.main-nav{gap:10px!important;justify-content:flex-start!important;}
  header nav.main-nav a{font-size:.69rem!important;}
  header .lang-switch{padding:5px 8px!important;}
  header .nav-cta{padding:8px 10px!important;font-size:.7rem!important;}
}

@media (max-width:980px){
  header .headbar{flex-wrap:wrap!important;padding:10px 18px!important;}
  header .site-logo-image{width:120px!important;max-width:120px!important;max-height:44px!important;}
  header .menu-toggle{display:block!important;order:2!important;margin-left:auto!important;}
  header .header-right{order:3!important;margin-left:0!important;}
  header nav.main-nav{display:none!important;order:4!important;width:100%!important;flex:0 0 100%!important;flex-direction:column!important;align-items:stretch!important;justify-content:flex-start!important;gap:0!important;padding:10px 0 14px!important;}
  header nav.main-nav.is-open{display:flex!important;}
  header nav.main-nav a{font-size:.9rem!important;padding:10px 4px!important;}
}

@media (max-width:560px){
  header .headbar{padding-left:14px!important;padding-right:14px!important;gap:9px!important;}
  header .site-logo-image{width:104px!important;max-width:104px!important;max-height:40px!important;}
}


/* 1.3.0: exact, duplicate-free primary navigation. */
header nav.main-nav > a{
  list-style:none!important;
  text-decoration:none!important;
}
header nav.main-nav > a::before,
header nav.main-nav > a::after{
  content:none!important;
  display:none!important;
}
