/* EMLAK24 2.4.30-r57 — HEADER LOGO RESTORE V2 */
/* ==========================================================
   EMLAK24 2.4.30-r11 — GLOBAL PUBLIC HEADER

   ONE GLOBAL HEADER IMPLEMENTATION.
   Desktop + mobile.
   All public pages.
   ========================================================== */

#e24-public-header,
#e24-public-header *{
  box-sizing:border-box;
}

#e24-public-header{
  display:block;
  visibility:visible;
  width:100%;
  position:sticky;
  top:0;
  z-index:2147483000;
  margin:0;
  padding:0;
  border:0;
  border-bottom:1px solid rgba(255,255,255,.14);
  background:#0455de;
  color:#fff;
  box-shadow:0 2px 12px rgba(4,31,79,.12);
}

/* ==========================================================
   DESKTOP
   ========================================================== */

.e24-header-desktop{
  display:block;
  width:100%;
  height:54px;
  min-height:54px;
  background:transparent;
}

.e24-header-inner{
  display:grid;
  grid-template-columns:190px minmax(0,1fr) auto;
  align-items:center;
  width:min(1210px,calc(100% - 44px));
  max-width:1210px;
  height:54px;
  min-height:54px;
  margin:0 auto;
  padding:0;
  gap:20px;
}

/* Logo */

.e24-header-logo-wrap{
  grid-column:1;
  width:180px;
  min-width:0;
  height:54px;
}

.e24-header-logo{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  width:100%;
  height:54px;
  color:#fff;
  text-decoration:none;
}

.e24-header-logo img{
  display:block;
  width:158px;
  max-width:158px;
  max-height:42px;
  height:auto;
  object-fit:contain;
}

.e24-header-logo .e24-wordmark{
  color:#fff;
  font-size:24px;
  font-weight:800;
}

/* Main navigation */

.e24-header-menu-main{
  grid-column:2;
  width:100%;
  min-width:0;
}

#e24-public-header .e24-header-desktop .e24-global-nav{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  height:54px;
  margin:0;
  padding:0;
  gap:1px;
  list-style:none;
}

#e24-public-header .e24-header-desktop .e24-global-nav>li{
  display:flex;
  align-items:center;
  height:54px;
  margin:0;
  padding:0;
}

#e24-public-header .e24-header-desktop .e24-global-nav>li>a,
#e24-public-header .e24-header-desktop .e24-global-nav-static{
  display:flex;
  align-items:center;
  justify-content:center;
  height:54px;
  min-height:54px;
  padding:0 7px;
  border:0;
  background:transparent;
  color:rgba(255,255,255,.90);
  font-family:inherit;
  font-size:12px;
  line-height:54px;
  font-weight:650;
  text-decoration:none;
  white-space:nowrap;
}

#e24-public-header .e24-header-desktop .e24-global-nav>li>a:hover,
#e24-public-header .e24-header-desktop .e24-global-nav>li>a:focus-visible{
  color:#fff;
  outline:none;
}

#e24-public-header .e24-header-desktop .e24-global-nav>li>a[aria-current="page"]{
  color:#fff;
  box-shadow:inset 0 -2px 0 rgba(255,255,255,.92);
}

#e24-public-header .e24-header-desktop .e24-global-nav-static{
  cursor:default;
}

/* Right side */

.e24-header-actions{
  grid-column:3;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  height:54px;
  min-width:0;
  gap:9px;
  white-space:nowrap;
}

/* Language */

#e24-public-header .e24-language-switcher{
  display:flex;
  align-items:center;
  height:54px;
  margin:0;
  padding:0;
}

#e24-public-header .e24-language-menu{
  position:relative;
  display:flex;
  align-items:center;
  height:54px;
  margin:0;
  padding:0;
}

#e24-public-header .e24-language-toggle{
  appearance:none;
  -webkit-appearance:none;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  height:54px;
  min-height:54px;
  margin:0;
  padding:0 7px;
  border:0;
  background:transparent;
  color:#fff;
  font-family:inherit;
  font-size:12px;
  line-height:1;
  font-weight:650;
  cursor:pointer;
}

#e24-public-header .e24-language-flag{
  display:block;
  width:18px;
  height:12px;
  flex:0 0 auto;
}

#e24-public-header .e24-language-chevron{
  display:inline-block;
  width:6px;
  height:6px;
  margin-left:1px;
  border-right:1.5px solid currentColor;
  border-bottom:1.5px solid currentColor;
  transform:rotate(45deg) translateY(-2px);
}

@media(min-width:992px){#e24-public-header .e24-language-options{
  position:absolute;
  top:100%;
  right:0;
  z-index:2147483600;
  min-width:78px;
  margin:0;
  padding:4px 0;
  list-style:none;
  border:1px solid #0455de;
  border-radius:0 0 10px 10px;
  background:#0455de;
  box-shadow:0 10px 26px rgba(15,23,42,.15);
}}
@media(max-width:991px){#e24-public-header .e24-language-options{
  position:absolute;
  top:100%;
  right:0;
  z-index:2147483600;
  min-width:70px;
  margin:0;
  padding:4px 0;
  list-style:none;
  border:1px solid #dce5f1;
  border-radius:0 0 10px 10px;
  background:#fff;
  box-shadow:0 10px 26px rgba(15,23,42,.15);
}}

#e24-public-header .e24-language-options[hidden]{
  display:none!important;
}

#e24-public-header
.e24-language-menu.e24-language-open
>
.e24-language-options{
  display:block!important;
}

#e24-public-header .e24-language-options li{
  display:block;
  margin:0;
  padding:0;
}

@media(min-width:992px){#e24-public-header .e24-language-options a{
  display:flex;
  align-items:center;
  gap:7px;
  min-height:32px;
  padding:6px 5px 6px 17px;
  background:#0455de;
  color:#fff;
  font-size:12px;
  font-weight:650;
  text-decoration:none;
  white-space:nowrap;
}}
@media(max-width:991px){#e24-public-header .e24-language-options a{
  display:flex;
  align-items:center;
  gap:7px;
  min-height:32px;
  padding:6px 5px 6px 9px;
  background:#fff;
  color:#173f73;
  font-size:12px;
  font-weight:650;
  text-decoration:none;
  white-space:nowrap;
}}

@media(min-width:992px){#e24-public-header .e24-language-options a:hover{
  background:#034bc7;
  color:#fff;
}}
@media(max-width:991px){#e24-public-header .e24-language-options a:hover{
  background:#f3f8ff;
  color:#0455de;
}}

/* Account */

#e24-public-header .e24-account-menu{
  position:relative;
  display:flex;
  align-items:center;
}

#e24-public-header .e24-account-link{
  appearance:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:34px;
  min-width:34px;
  height:34px;
  padding:0;
  border:1px solid rgba(255,255,255,.95);
  border-radius:50%;
  background:#fff;
  color:#0455de;
  text-decoration:none;
  cursor:pointer;
}

#e24-public-header .e24-account-link svg{
  display:block;
  width:22px;
  height:22px;
}

#e24-public-header .e24-account-dropdown{
  position:absolute;
  top:calc(100% + 7px);
  right:0;
  z-index:2147483600;
  min-width:175px;
  padding:6px;
  border:1px solid #dce5f1;
  border-radius:10px;
  background:#fff;
  box-shadow:0 10px 28px rgba(15,23,42,.16);
}

#e24-public-header .e24-account-dropdown[hidden]{
  display:none!important;
}

#e24-public-header .e24-account-dropdown a,
#e24-public-header .e24-account-dropdown button{
  display:block;
  width:100%;
  min-height:38px;
  padding:8px 10px;
  border:0;
  border-radius:7px;
  background:#fff;
  color:#173f73;
  font:inherit;
  font-size:13px;
  text-align:left;
  text-decoration:none;
  cursor:pointer;
}

#e24-public-header .e24-account-dropdown a:hover,
#e24-public-header .e24-account-dropdown button:hover{
  background:#f3f8ff;
  color:#0455de;
}

/* Create listing */

#e24-public-header .e24-create-listing{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  width:auto;
  min-width:0;
  height:38px;
  padding:0 16px;
  border:1px solid rgba(255,255,255,.95);
  border-radius:11px;
  background:#fff;
  color:#0455de;
  font-family:inherit;
  font-size:12px;
  line-height:1;
  font-weight:750;
  text-decoration:none;
  white-space:nowrap;
  box-shadow:0 5px 14px rgba(2,39,100,.18);
}

#e24-public-header .e24-create-listing:hover,
#e24-public-header .e24-create-listing:focus-visible{
  background:#eaf4ff;
  color:#0348bd;
  outline:none;
}

#e24-public-header .e24-create-listing-plus{
  font-size:17px;
  font-weight:800;
  line-height:1;
}

/* Mobile shell hidden on desktop */

.e24-header-mobile,
.e24-mobile-drawer{
  display:none;
}

/* ==========================================================
   MOBILE
   ========================================================== */

@media(max-width:991px){

  #e24-public-header{
    position:relative;
    height:66px;
    min-height:66px;
    border:0;
    background:#0455de;
  }

  .e24-header-desktop{
    display:none;
  }

  #e24-public-header .e24-header-mobile{
    display:flex;
    position:fixed;
    top:0;
    right:0;
    left:0;
    z-index:2147483000;
    align-items:center;
    justify-content:space-between;
    width:100%;
    height:66px;
    padding:8px 16px;
    background:#0455de;
    color:#fff;
  }

  #e24-public-header .e24-mobile-logo{
    display:flex;
    align-items:center;
    height:50px;
    max-width:200px;
    color:#fff;
    text-decoration:none;
  }

  #e24-public-header .e24-mobile-logo img{
    display:block;
    width:auto;
    max-width:190px;
    max-height:45px;
  }

  #e24-public-header .e24-mobile-actions{
    display:flex;
    align-items:center;
    gap:7px;
  }

  #e24-public-header .e24-mobile-add{
    display:flex;
    align-items:center;
    justify-content:center;
    width:38px;
    height:38px;
    border-radius:8px;
    background:#fff;
    color:#0455de;
    font-size:23px;
    line-height:1;
    text-decoration:none;
  }

  #e24-public-header .e24-mobile-menu-toggle{
    appearance:none;
    width:42px;
    height:42px;
    margin:0;
    padding:8px;
    border:0;
    background:transparent;
    cursor:pointer;
  }

  #e24-public-header
  .e24-mobile-menu-toggle
  span:not(.screen-reader-text){
    display:block;
    width:25px;
    height:2px;
    margin:5px auto;
    background:#fff;
  }@media(max-width:767px){

  #e24-public-header #e24-mobile-drawer:not([hidden]){
    display:block;
    position:fixed;
    top:66px;
    right:0;
    left:0;
    z-index:2147482950;
    width:100%;
    max-width:100%;
    max-height:calc(100dvh - 66px);
    overflow-y:auto;
    overflow-x:hidden;border-radius:0 0 20px 20px;
    border-bottom:1px solid #dce5f1;
    background:#fff;
    color:#1f2937;
    box-shadow:0 12px 28px rgba(15,23,42,.18);
  }}@media(min-width:768px){

  #e24-public-header #e24-mobile-drawer:not([hidden]){
    display:block;
    position:fixed;
    top:66px;
    right:0;
    left:0;
    z-index:2147482950;
    width:100%;
    max-width:100%;
    max-height:calc(100dvh - 66px);
    overflow-y:auto;
    overflow-x:hidden;
    border-bottom:1px solid #dce5f1;
    background:#fff;
    color:#1f2937;
    box-shadow:0 12px 28px rgba(15,23,42,.18);
  }}

  #e24-public-header .e24-mobile-drawer-inner{
    width:100%;
    margin:0;
    padding:0 0 18px;
  
  position:relative;}

  /* Language remains first drawer row */

  #e24-public-header .e24-mobile-drawer-language{
    width:112px;
    border-bottom:0;
  
  position:absolute;
  top:0;
  right:0;
  z-index:5;}

  #e24-public-header
  .e24-mobile-drawer-language
  .e24-language-menu{
    display:block;
    width:100%;
    height:auto;
  }

  #e24-public-header
  .e24-mobile-drawer-language
  .e24-language-toggle{
    display:flex;
    justify-content:flex-end;
    width:100%;
    height:48px;
    min-height:48px;
    padding:0 16px;
    background:#fff;
    color:#1f2937;
  }@media(max-width:767px){

  #e24-public-header
  .e24-mobile-drawer-language
  .e24-language-options{
    position:absolute;
    width:max-content;
    min-width:0;
    margin:0;
    padding:0;
    border:1px solid #dce5f1;
    border-radius:12px;
    box-shadow:0 8px 24px rgba(15,23,42,.16);
  
  top:100%;
  right:8px;
  left:auto;
  max-width:calc(100vw - 24px);
  overflow:hidden;}}@media(min-width:768px){

  #e24-public-header
  .e24-mobile-drawer-language
  .e24-language-options{
    position:absolute;
    width:180px;
    min-width:0;
    margin:0;
    padding:0;
    border:1px solid #dce5f1;
    border-radius:12px;
    box-shadow:0 8px 24px rgba(15,23,42,.16);
  
  top:100%;
  right:0;
  left:auto;
  max-width:calc(100vw - 24px);
  overflow:hidden;}}@media(max-width:767px){

  #e24-public-header
  .e24-mobile-drawer-language
  .e24-language-options a{
    min-height:40px;
    padding:0 18px;white-space:nowrap;
    border-top:1px solid #f0f2f5;
  }}@media(min-width:768px){

  #e24-public-header
  .e24-mobile-drawer-language
  .e24-language-options a{
    min-height:44px;
    padding:0 20px;
    border-top:1px solid #f0f2f5;
  }}

  /* When language list opens, navigation/account disappear */

  

  #e24-public-header .e24-mobile-menu-group{
    display:block;
    width:100%;
  }

  #e24-public-header .e24-mobile-nav-list{
    display:block;
    width:100%;
    margin:0;
    padding:0;
    list-style:none;
  
  height:auto;}

  #e24-public-header .e24-mobile-nav-list>li{
    display:block;
    width:100%;
    margin:0;
    padding:0;
    border-bottom:1px solid #edf1f5;
  
  height:auto;}
#e24-public-header .e24-mobile-nav-list>.e24-global-nav-home>a{padding-right:128px;}

  #e24-public-header .e24-mobile-nav-list>li>a,
  #e24-public-header .e24-mobile-nav-list .e24-global-nav-static{
    display:flex;
    align-items:center;
    width:100%;
    min-height:48px;
    padding:12px 16px;
    background:#fff;
    color:#1f2937;
    font-size:13px;
    font-weight:650;
    text-decoration:none;
  
  height:auto;
  line-height:1.4;
  white-space:normal;
  overflow-wrap:anywhere;
  justify-content:flex-start;
  box-sizing:border-box;}

  #e24-public-header .e24-mobile-nav-list>li>a:hover{
    background:#f6f9fe;
    color:#0455de;
  }

  #e24-public-header .e24-mobile-account-actions{
    padding:16px;
  }

  #e24-public-header .e24-mobile-account-actions a,
  #e24-public-header .e24-mobile-account-actions button{
    display:block;
    width:100%;
    min-height:44px;
    padding:10px 14px;
    border:0;
    border-radius:9px;
    background:#0455de;
    color:#fff;
    font:inherit;
    font-size:13px;
    font-weight:700;
    text-align:center;
    text-decoration:none;
  }

  body.e24-mobile-menu-open #e24-public-header,
  body.e24-mobile-menu-open #e24-mobile-drawer{
    z-index:2147483500;
  }

  body.admin-bar #e24-public-header .e24-header-mobile{
    top:32px;
  }

  body.admin-bar #e24-mobile-drawer:not([hidden]){
    top:98px;
    max-height:calc(100dvh - 98px);
  }
}

@media(max-width:782px){

  body.admin-bar #e24-public-header .e24-header-mobile{
    top:46px;
  }

  body.admin-bar #e24-mobile-drawer:not([hidden]){
    top:112px;
    max-height:calc(100dvh - 112px);
  }
}


/* ==========================================================
   EMLAK24 2.4.30-r11 — GLOBAL HEADER SCROLL OFFSET
   Header-owned replacement for the removed legacy spacing.
   ========================================================== */

@media(min-width:992px){
  html{
    scroll-padding-top:54px;
  }
}

@media(max-width:991px){
  html{
    scroll-padding-top:66px;
  }
}


/* ==========================================================
   EMLAK24 2.4.30-r11 — AUTH / MOBILE HEADER INTEROP
   Header-owned compatibility for mobile authentication.
   ========================================================== */

@media(max-width:991px){
  body.e24-auth-under-mobile-header #e24-mobile-drawer{
    display:none!important;
  }
}

/* R134: descriptive menu label can wrap within the existing header. */
#e24-public-header .e24-header-desktop .e24-global-nav-features-pricing>a{
  max-width:210px;
  white-space:normal;
  line-height:1.25;
  text-align:center;
}
