/* ALLHIR Round71 / 2.39.35
 * Confirmed mobile fixes, public forum reading and shared street heroes only.
 * Loaded after every earlier theme layer to close legacy !important conflicts.
 */

/* One European-street hero language for Home, Market and Events. */
body:not(#allhir-never) main .allhir-street-hero{
  position:relative!important;
  overflow:hidden!important;
  min-height:300px!important;
  padding:0!important;
  border-bottom:1px solid var(--ah-gold-line-soft)!important;
  background:
    linear-gradient(90deg,rgba(7,9,13,.86) 0%,rgba(8,10,14,.68) 52%,rgba(7,9,13,.48) 100%),
    url("../images/hero-bg.webp") center 56%/cover no-repeat!important;
  color:var(--ah-gold)!important;
  box-shadow:inset 0 -44px 70px rgba(5,7,10,.30)!important;
}
body:not(#allhir-never) main .allhir-street-hero::after{
  position:absolute;
  z-index:0;
  inset:0;
  background:linear-gradient(180deg,rgba(8,10,14,.08),rgba(8,10,14,.30));
  content:"";
  pointer-events:none;
}
body:not(#allhir-never) main .allhir-street-hero__inner{
  position:relative!important;
  z-index:2!important;
  display:flex!important;
  min-height:300px!important;
  padding:clamp(46px,6vw,82px) 0!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  justify-content:center!important;
  gap:18px!important;
  text-align:left!important;
}
body:not(#allhir-never) main .allhir-street-hero__copy{
  width:min(760px,100%)!important;
}
body:not(#allhir-never) main .allhir-street-hero__eyebrow{
  display:block!important;
  margin:0 0 8px!important;
  color:var(--ah-gold)!important;
  -webkit-text-fill-color:var(--ah-gold)!important;
  font-size:11px!important;
  font-weight:950!important;
  letter-spacing:.15em!important;
  line-height:1.2!important;
  text-transform:uppercase!important;
}
body:not(#allhir-never) main .allhir-street-hero h1,
body:not(#allhir-never) main .allhir-street-hero .allhir-hero2__title{
  margin:0 0 10px!important;
  color:var(--ah-gold)!important;
  -webkit-text-fill-color:var(--ah-gold)!important;
  font-size:clamp(38px,5vw,58px)!important;
  line-height:1.04!important;
  text-align:left!important;
  text-shadow:0 2px 22px rgba(0,0,0,.55)!important;
}
body:not(#allhir-never) main .allhir-street-hero p,
body:not(#allhir-never) main .allhir-street-hero .allhir-hero2__text{
  max-width:720px!important;
  margin:0!important;
  color:var(--ah-copy)!important;
  -webkit-text-fill-color:var(--ah-copy)!important;
  font-size:16px!important;
  line-height:1.55!important;
  text-align:left!important;
  text-shadow:0 2px 18px rgba(0,0,0,.60)!important;
}
body:not(#allhir-never) main .allhir-street-hero__nav{
  display:inline-flex!important;
  width:auto!important;
  max-width:100%!important;
  margin:0!important;
  padding:5px!important;
  align-items:stretch!important;
  flex-wrap:wrap!important;
  gap:5px!important;
  border:1px solid var(--ah-gold-line-soft)!important;
  border-radius:17px!important;
  background:rgba(28,31,37,.56)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.045),0 12px 30px rgba(0,0,0,.22)!important;
  -webkit-backdrop-filter:blur(16px) saturate(112%)!important;
  backdrop-filter:blur(16px) saturate(112%)!important;
}
body:not(#allhir-never) main .allhir-street-hero__nav > a,
body:not(#allhir-never) main .allhir-street-hero__nav > button,
body:not(#allhir-never) main .allhir-street-hero__nav > a:hover,
body:not(#allhir-never) main .allhir-street-hero__nav > button:hover,
body:not(#allhir-never) main .allhir-street-hero__nav > a:focus-visible,
body:not(#allhir-never) main .allhir-street-hero__nav > button:focus-visible{
  appearance:none!important;
  display:inline-flex!important;
  min-height:44px!important;
  margin:0!important;
  padding:10px 18px!important;
  align-items:center!important;
  justify-content:center!important;
  border:1px solid transparent!important;
  border-radius:12px!important;
  background:rgba(21,23,29,.52)!important;
  color:var(--ah-gold)!important;
  -webkit-text-fill-color:var(--ah-gold)!important;
  font-size:13px!important;
  font-weight:900!important;
  line-height:1.15!important;
  text-decoration:none!important;
  white-space:normal!important;
  box-shadow:none!important;
  cursor:pointer!important;
}
body:not(#allhir-never) main .allhir-street-hero__nav > a:hover,
body:not(#allhir-never) main .allhir-street-hero__nav > button:hover,
body:not(#allhir-never) main .allhir-street-hero__nav > a:focus-visible,
body:not(#allhir-never) main .allhir-street-hero__nav > button:focus-visible{
  border-color:rgba(247,227,170,.68)!important;
  background:var(--ah-glass-hover)!important;
  box-shadow:0 0 16px var(--ah-gold-glow)!important;
}
#allhir-classifieds-search,
#allhir-events-content{
  scroll-margin-top:110px;
}

/* Home uses the same left-aligned hero composition as Community. */
body:not(#allhir-never) main.allhir-home65 .allhir-street-hero--home{
  min-height:440px!important;
}
body:not(#allhir-never) main.allhir-home65 .allhir-street-hero--home .allhir-hero2__bg{
  z-index:0!important;
  inset:0!important;
  background-position:center 56%!important;
  background-size:cover!important;
  filter:brightness(.58) saturate(.88)!important;
}
body:not(#allhir-never) main.allhir-home65 .allhir-street-hero--home .allhir-hero2__inner{
  position:relative!important;
  z-index:2!important;
  display:flex!important;
  box-sizing:border-box!important;
  width:min(1180px,calc(100% - 48px))!important;
  min-height:440px!important;
  margin:0 auto!important;
  padding:52px 0!important;
  align-items:center!important;
  justify-content:flex-start!important;
}
body:not(#allhir-never) main.allhir-home65 .allhir-street-hero--home .allhir-hero2__panel{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
}
body:not(#allhir-never) main.allhir-home65 .allhir-street-hero--home .allhir-hero2__card{
  display:block!important;
  width:min(860px,100%)!important;
  max-width:860px!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  -webkit-backdrop-filter:none!important;
  backdrop-filter:none!important;
}
body:not(#allhir-never) main.allhir-home65 .allhir-street-hero--home .allhir-hero2__content{
  display:block!important;
  max-width:760px!important;
}
body:not(#allhir-never) main.allhir-home65 .allhir-street-hero--home .allhir-hero2__text--muted{
  margin-top:7px!important;
}
body:not(#allhir-never) main.allhir-home65 .allhir-street-hero--home .allhir-hero2__cta{
  display:grid!important;
  width:min(620px,100%)!important;
  margin-top:20px!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:10px!important;
}
body:not(#allhir-never) main.allhir-home65 .allhir-street-hero--home .allhir-hero2__actions{
  position:static!important;
  display:grid!important;
  width:min(720px,100%)!important;
  height:auto!important;
  margin-top:18px!important;
  padding:5px!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:5px!important;
  border:1px solid var(--ah-gold-line-soft)!important;
  border-radius:19px!important;
  background:rgba(28,31,37,.54)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.045),0 12px 30px rgba(0,0,0,.22)!important;
  -webkit-backdrop-filter:blur(16px) saturate(112%)!important;
  backdrop-filter:blur(16px) saturate(112%)!important;
}
body:not(#allhir-never) main.allhir-home65 .allhir-street-hero--home .allhir-hero2__action{
  min-height:112px!important;
  padding:14px 10px!important;
  border-color:transparent!important;
  border-radius:14px!important;
  background:rgba(18,20,25,.48)!important;
}

/* Confirmed mobile icon size: the generic 1em rule must not win here. */
@media(max-width:768px){
  body:not(#allhir-never) main.allhir-home65 .allhir-hero2__action-icon{
    display:grid!important;
    width:39px!important;
    height:39px!important;
    min-width:39px!important;
    min-height:39px!important;
    padding:0!important;
    place-items:center!important;
    line-height:0!important;
  }
  body:not(#allhir-never) main.allhir-home65 .allhir-hero2__action-icon .allhir-ui-icon{
    display:block!important;
    width:34px!important;
    height:34px!important;
    min-width:34px!important;
    min-height:34px!important;
    stroke:currentColor!important;
  }
}

/* Auth screens: override the old white/orange !important layer. */
body:not(#allhir-never) main.allhir-auth-page{
  min-height:calc(100vh - 88px)!important;
  padding:38px 16px 54px!important;
  background:linear-gradient(180deg,#0d1016 0%,#12151c 100%)!important;
  color:var(--ah-copy)!important;
}
body:not(#allhir-never) main.allhir-auth-page .allhir-card{
  border:1px solid var(--ah-gold-line)!important;
  border-radius:24px!important;
  background:linear-gradient(180deg,rgba(35,38,45,.92),rgba(18,20,25,.96))!important;
  color:var(--ah-copy)!important;
  box-shadow:0 24px 60px rgba(0,0,0,.34),inset 0 1px 0 rgba(255,255,255,.045)!important;
  -webkit-backdrop-filter:blur(18px) saturate(112%)!important;
  backdrop-filter:blur(18px) saturate(112%)!important;
}
body:not(#allhir-never) main.allhir-auth-page .allhir-auth-title,
body:not(#allhir-never) main.allhir-auth-page .allhir-card h1,
body:not(#allhir-never) main.allhir-auth-page .allhir-card h2{
  color:var(--ah-gold)!important;
  -webkit-text-fill-color:var(--ah-gold)!important;
  text-shadow:none!important;
}
body:not(#allhir-never) main.allhir-auth-page .allhir-auth-intro,
body:not(#allhir-never) main.allhir-auth-page .allhir-card label,
body:not(#allhir-never) main.allhir-auth-page .allhir-card p,
body:not(#allhir-never) main.allhir-auth-page .allhir-consent__label{
  color:var(--ah-copy)!important;
  -webkit-text-fill-color:var(--ah-copy)!important;
}
body:not(#allhir-never) main.allhir-auth-page .allhir-card input[type="text"],
body:not(#allhir-never) main.allhir-auth-page .allhir-card input[type="email"],
body:not(#allhir-never) main.allhir-auth-page .allhir-card input[type="tel"],
body:not(#allhir-never) main.allhir-auth-page .allhir-card input[type="password"],
body:not(#allhir-never) main.allhir-auth-page .allhir-card select,
body:not(#allhir-never) main.allhir-auth-page .allhir-card textarea{
  border:1px solid var(--ah-gold-line-soft)!important;
  border-radius:14px!important;
  background:rgba(10,12,16,.82)!important;
  color:var(--ah-copy)!important;
  -webkit-text-fill-color:var(--ah-copy)!important;
  caret-color:var(--ah-gold)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.025)!important;
}
body:not(#allhir-never) main.allhir-auth-page .allhir-card input:focus,
body:not(#allhir-never) main.allhir-auth-page .allhir-card select:focus,
body:not(#allhir-never) main.allhir-auth-page .allhir-card textarea:focus{
  border-color:rgba(247,227,170,.72)!important;
  outline:0!important;
  box-shadow:0 0 0 3px rgba(214,175,55,.12),0 0 16px var(--ah-gold-glow)!important;
}
body:not(#allhir-never) main.allhir-auth-page input[type="checkbox"]{
  accent-color:#d6af37!important;
}
body:not(#allhir-never) main.allhir-auth-page .allhir-card a{
  color:var(--ah-gold)!important;
  -webkit-text-fill-color:var(--ah-gold)!important;
}
body:not(#allhir-never) main.allhir-auth-page #loginform input[type="submit"],
body:not(#allhir-never) main.allhir-auth-page .allhir-card--register .allhir-btn,
body:not(#allhir-never) main.allhir-auth-page .allhir-google-btn,
body:not(#allhir-never) main.allhir-auth-page #loginform input[type="submit"]:hover,
body:not(#allhir-never) main.allhir-auth-page .allhir-card--register .allhir-btn:hover,
body:not(#allhir-never) main.allhir-auth-page .allhir-google-btn:hover{
  border:1px solid var(--ah-gold-line)!important;
  border-radius:999px!important;
  background:var(--ah-glass-strong)!important;
  color:var(--ah-gold)!important;
  -webkit-text-fill-color:var(--ah-gold)!important;
  box-shadow:0 9px 22px rgba(0,0,0,.20),inset 0 1px 0 rgba(255,255,255,.035)!important;
  filter:none!important;
  transform:none!important;
}
body:not(#allhir-never) main.allhir-auth-page #loginform input[type="submit"]:hover,
body:not(#allhir-never) main.allhir-auth-page .allhir-card--register .allhir-btn:hover,
body:not(#allhir-never) main.allhir-auth-page .allhir-google-btn:hover{
  border-color:rgba(247,227,170,.72)!important;
  background:var(--ah-glass-hover)!important;
  box-shadow:0 0 18px var(--ah-gold-glow),inset 0 1px 0 rgba(255,255,255,.05)!important;
}
body:not(#allhir-never) main.allhir-auth-page .allhir-auth-divider{
  color:var(--ah-gold-muted)!important;
  -webkit-text-fill-color:var(--ah-gold-muted)!important;
}
body:not(#allhir-never) main.allhir-auth-page .allhir-auth-divider::before,
body:not(#allhir-never) main.allhir-auth-page .allhir-auth-divider::after{
  background:var(--ah-gold-line-soft)!important;
}
body:not(#allhir-never) main.allhir-auth-page .allhir-consent__label{
  display:flex!important;
  align-items:flex-start!important;
  gap:10px!important;
  font-size:14px!important;
  line-height:1.48!important;
}
body:not(#allhir-never) main.allhir-auth-page .allhir-consent__label input{
  margin-top:3px!important;
  flex:0 0 auto!important;
}

/* Mobile Community: readable tabs and exactly one Fresh action. */
@media(max-width:768px){
  body:not(#allhir-never) main.allhir-community-hub .allhir-community-switcher small{
    display:none!important;
  }
  body:not(#allhir-never) main.allhir-community-hub .allhir-community-switcher a{
    min-height:46px!important;
    padding:9px 5px!important;
    align-items:center!important;
  }
  body:not(#allhir-never) main.allhir-community-hub .allhir-community-switcher b{
    font-size:12px!important;
  }
  body:not(#allhir-never) main.allhir-community-hub .allhir-community-block__head > a{
    display:none!important;
  }
  body:not(#allhir-never) main.allhir-community-hub .allhir-community-block__head{
    display:block!important;
  }
  body:not(#allhir-never) main.allhir-community-hub .allhir-community-block__head > div{
    width:100%!important;
  }
  body:not(#allhir-never) main.allhir-community-hub .allhir-community-block__head h2{
    max-width:none!important;
  }
  body:not(#allhir-never) main.allhir-community-hub .allhir-community-hub__body{
    padding-bottom:calc(48px + env(safe-area-inset-bottom))!important;
  }
}

/* Mobile header: one size, one radius and one border around each control. */
@media(max-width:980px){
  body:not(#allhir-never) .allhir-header-mobile .mobile-top{
    grid-template-columns:44px minmax(0,1fr) 44px 44px 44px!important;
    gap:7px!important;
  }
  body:not(#allhir-never) .allhir-header-mobile .hamburger-menu,
  body:not(#allhir-never) .allhir-header-mobile .lang-dropdown--mobile,
  body:not(#allhir-never) .allhir-header-mobile .allhir-location-btn--mobile,
  body:not(#allhir-never) .allhir-header-mobile .mobile-profile{
    box-sizing:border-box!important;
    display:grid!important;
    width:44px!important;
    min-width:44px!important;
    height:44px!important;
    min-height:44px!important;
    padding:0!important;
    place-items:center!important;
    border:1px solid var(--ah-gold-line)!important;
    border-radius:14px!important;
    background:var(--ah-glass-strong)!important;
    color:var(--ah-gold)!important;
    -webkit-text-fill-color:var(--ah-gold)!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.04),0 8px 20px rgba(0,0,0,.18)!important;
  }
  body:not(#allhir-never) .allhir-header-mobile .lang-dropdown--mobile .lang-btn--mobile,
  body:not(#allhir-never) .allhir-header-mobile .lang-dropdown--mobile .lang-btn--mobile:hover,
  body:not(#allhir-never) .allhir-header-mobile .lang-dropdown--mobile .lang-btn--mobile:focus-visible,
  body:not(#allhir-never) .allhir-header-mobile .lang-dropdown--mobile .lang-btn--mobile[aria-expanded="true"]{
    width:100%!important;
    min-width:0!important;
    height:100%!important;
    min-height:0!important;
    padding:0!important;
    border:0!important;
    border-radius:inherit!important;
    background:transparent!important;
    box-shadow:none!important;
    outline:0!important;
  }
  body:not(#allhir-never) .allhir-header-mobile .lang-dropdown--mobile.is-open,
  body:not(#allhir-never) .allhir-header-mobile .hamburger-menu:hover,
  body:not(#allhir-never) .allhir-header-mobile .allhir-location-btn--mobile:hover,
  body:not(#allhir-never) .allhir-header-mobile .mobile-profile:hover{
    border-color:rgba(247,227,170,.72)!important;
    background:var(--ah-glass-hover)!important;
    box-shadow:0 0 16px var(--ah-gold-glow),inset 0 1px 0 rgba(255,255,255,.05)!important;
  }
}

@media(max-width:768px){
  body:not(#allhir-never) main .allhir-street-hero,
  body:not(#allhir-never) main .allhir-street-hero__inner{
    min-height:230px!important;
  }
  body:not(#allhir-never) main .allhir-street-hero{
    background-position:center 54%!important;
  }
  body:not(#allhir-never) main .allhir-street-hero__inner{
    padding:34px 0 30px!important;
    gap:15px!important;
  }
  body:not(#allhir-never) main .allhir-street-hero h1,
  body:not(#allhir-never) main .allhir-street-hero .allhir-hero2__title{
    font-size:clamp(30px,9vw,40px)!important;
  }
  body:not(#allhir-never) main .allhir-street-hero p,
  body:not(#allhir-never) main .allhir-street-hero .allhir-hero2__text{
    font-size:14px!important;
    line-height:1.48!important;
  }
  body:not(#allhir-never) main .allhir-street-hero__nav{
    display:grid!important;
    width:100%!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  body:not(#allhir-never) main .allhir-street-hero__nav > a,
  body:not(#allhir-never) main .allhir-street-hero__nav > button{
    width:100%!important;
    padding:9px 8px!important;
    font-size:12px!important;
  }
  body:not(#allhir-never) main.allhir-home65 .allhir-street-hero--home,
  body:not(#allhir-never) main.allhir-home65 .allhir-street-hero--home .allhir-hero2__inner{
    min-height:0!important;
  }
  body:not(#allhir-never) main.allhir-home65 .allhir-street-hero--home .allhir-hero2__inner{
    width:min(100% - 24px,520px)!important;
    padding:34px 0 30px!important;
  }
  body:not(#allhir-never) main.allhir-home65 .allhir-street-hero--home .allhir-hero2__card{
    width:100%!important;
  }
  body:not(#allhir-never) main.allhir-home65 .allhir-street-hero--home .allhir-hero2__cta{
    margin-top:16px!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  body:not(#allhir-never) main.allhir-home65 .allhir-street-hero--home .allhir-hero2__actions{
    width:100%!important;
    margin-top:14px!important;
  }
  body:not(#allhir-never) main.allhir-home65 .allhir-street-hero--home .allhir-hero2__action{
    min-height:108px!important;
    padding:12px 5px!important;
    gap:7px!important;
  }
  body:not(#allhir-never) main.allhir-home65 .allhir-street-hero--home .allhir-hero2__action > span:not(.allhir-hero2__action-icon){
    font-size:12px!important;
    line-height:1.2!important;
  }
  body:not(#allhir-never) main.allhir-auth-page{
    padding:22px 12px calc(42px + env(safe-area-inset-bottom))!important;
  }
  body:not(#allhir-never) main.allhir-auth-page .allhir-card{
    padding:26px 20px!important;
    border-radius:21px!important;
  }
  body:not(#allhir-never) main.allhir-auth-page .allhir-card h1,
  body:not(#allhir-never) main.allhir-auth-page .allhir-card h2{
    font-size:28px!important;
  }
}

@media(max-width:400px){
  body:not(#allhir-never) .allhir-header-mobile .mobile-top{
    grid-template-columns:42px minmax(0,1fr) 42px 42px 42px!important;
    gap:6px!important;
  }
  body:not(#allhir-never) .allhir-header-mobile .hamburger-menu,
  body:not(#allhir-never) .allhir-header-mobile .lang-dropdown--mobile,
  body:not(#allhir-never) .allhir-header-mobile .allhir-location-btn--mobile,
  body:not(#allhir-never) .allhir-header-mobile .mobile-profile{
    width:42px!important;
    min-width:42px!important;
    height:42px!important;
    min-height:42px!important;
  }
}

