/* Site header v2 (rent + stay, every width) — goes with js/hd2.js */
html.hd2 header .langbtn{display:none!important}
html.hd2 header #guest,html.hd2 header #guestNav,html.hd2 header .hlogin{display:none!important}
header .hlogo{height:46px;width:auto;display:block;flex:none}
header .brand:has(.hlogo),header .hbrand:has(.hlogo){display:inline-flex;align-items:center;gap:10px}
.hd2r{display:inline-flex;align-items:center;gap:6px;flex:none}
#bell{position:relative;display:none;align-items:center;justify-content:center;width:38px;height:38px;color:#1F2622;text-decoration:none}
#bell.on{display:inline-flex}
#bell svg{width:27px;height:27px}
#bell .bn{position:absolute;top:0;right:-1px;min-width:16px;height:16px;padding:0 4px;box-sizing:border-box;border-radius:999px;background:#D62F2F;color:#fff;font-size:10px;font-weight:700;line-height:16px;text-align:center}
#bell .bn[hidden]{display:none}
.gwrap{position:relative;display:none}
.gwrap.on{display:inline-flex}
#gAv{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;padding:0;border:0;border-radius:50%;background:none;color:#8F9691;cursor:pointer;-webkit-appearance:none;appearance:none}
#gAv svg{width:30px;height:30px}
#gAv.me{width:40px;height:40px;background:#9AA09B;color:#fff}
#gAv.me svg{width:26px;height:26px}
#gPop{display:none;position:absolute;right:0;top:calc(100% + 8px);width:160px;box-sizing:border-box;background:#fff;border:1px solid #E3E6E4;border-radius:12px;box-shadow:0 8px 24px rgba(0,0,0,.12);padding:8px;z-index:900;flex-direction:column;gap:8px}
#gPop.open{display:flex}
#gPop a.gi{display:block;text-align:center;background:#587350;color:#fff!important;font-weight:800;font-size:15px;padding:8px;border-radius:999px;text-decoration:none}
#gPop a.gs{display:block;text-align:center;border:1.5px solid #587350;color:#587350!important;font-weight:800;font-size:15px;padding:6px;border-radius:999px;text-decoration:none;background:#fff}
#gPop a.gm{display:block;padding:8px 6px;border-radius:8px;color:#1F2622!important;font-size:15px;font-weight:500;text-decoration:none;white-space:nowrap}
#gPop a.gm:hover{background:#F3EEE6}
#gPop hr{border:0;height:1px;background:#EFEAE1;margin:2px 0}
#gPop .lrow{padding:4px 6px}
.lrow{white-space:nowrap;display:flex!important;align-items:center;justify-content:space-between;width:100%;box-sizing:border-box;padding:11px 14px;border:0;background:none;font:inherit;font-size:15px;font-weight:500;color:#1F2622;cursor:pointer;text-align:left;gap:10px}
.lrow .lp{flex:none;white-space:nowrap;writing-mode:horizontal-tb;font-size:13px;font-weight:700;padding:5px 10px;border-radius:999px;background:#EFEAE1;color:#1F2622}
/* avatar menu button: gray circle with a white silhouette (no name, no dot — the bell carries the count) */
html.hd2 header #nmBtn{width:40px!important;height:40px!important;min-width:0!important;min-height:0!important;padding:0!important;border:0!important;border-radius:50%!important;background:#9AA09B!important;color:#fff!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:0!important;box-shadow:none!important;position:relative}
html.hd2 header #nmBtn>*{display:none!important}
html.hd2 header #nmBtn::before{content:"";width:26px;height:26px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Ccircle cx='12' cy='9' r='4.2'/%3E%3Cpath d='M3.5 22c.6-4.6 4-7 8.5-7s7.9 2.4 8.5 7z'/%3E%3C/svg%3E") center/contain no-repeat;display:block}
@media(max-width:900px){
  header .hlogo{height:30px}
  #bell{width:36px;height:36px}#bell svg{width:26px;height:26px}
  #gAv{width:34px;height:34px}#gAv svg{width:28px;height:28px}
  #gAv.me{width:34px;height:34px}#gAv.me svg{width:22px;height:22px}
  html.hd2 header #nmBtn{width:34px!important;height:34px!important}
  html.hd2 header #nmBtn::before{width:22px;height:22px}
}
header #bell,header #bell:hover{border:0!important;background:none!important;padding:0!important;margin:0!important;box-shadow:none!important;text-decoration:none!important}
/* rent mobile brand: logo on the left of the two-line name */
@media(max-width:600px){
  header .brand:has(.hlogo),header .hbrand:has(.hlogo){display:grid!important;grid-template-columns:auto auto;column-gap:8px!important;row-gap:0;align-items:center;justify-content:start}
  header :is(.brand,.hbrand) .hlogo{grid-column:1;grid-row:1/3}
  header :is(.brand,.hbrand):has(.hlogo) b{grid-column:2!important;grid-row:1!important}
  header :is(.brand,.hbrand):has(.hlogo) span:not(.pill2){grid-column:2!important;grid-row:2!important}
  header :is(.brand,.hbrand):has(.hlogo) .pill2{display:none!important}
}
@media(max-width:600px){html.hd2 header .hd2r{margin-left:auto}}
/* language switch: globe just left of the avatar; tooltip shows the language it switches to */
#langG{position:relative;display:inline-flex;align-items:center;justify-content:center;flex:none;width:38px;height:38px;padding:0;margin:0;border:1px solid #E3DCCB;border-radius:50%;background:#fff;color:#3A423D;cursor:pointer;-webkit-appearance:none;appearance:none;box-shadow:none}
#langG svg{width:22px;height:22px}
#langG:hover{border-color:#B9B1A2;color:#1F2622}
#langG:focus-visible{outline:2px solid #0F4D33;outline-offset:2px}
#langG::after{content:attr(data-tip);position:absolute;top:calc(100% + 8px);left:50%;transform:translateX(-50%);background:#1F2622;color:#fff;font-size:13px;font-weight:700;line-height:1;padding:6px 10px;border-radius:6px;white-space:nowrap;pointer-events:none;opacity:0;transition:opacity .12s;z-index:950}
@media(hover:hover){#langG:hover::after{opacity:1}}
#langG:focus-visible::after{opacity:1}
@media(max-width:900px){#langG{width:34px;height:34px}#langG svg{width:20px;height:20px}}
@media(max-width:380px){.hd2r{gap:2px}}
/* full account menu on pages without their own (posting flow, legal pages) */
#gPop.full{width:200px;gap:2px}
#gPop button.gm{display:block;width:100%;text-align:left;border:0;background:none;font:inherit;font-size:15px;font-weight:500;padding:8px 6px;border-radius:8px;cursor:pointer;color:#1F2622}
#gPop .gm.gout{color:#C62828}
#gPop button.gm:hover{background:#F3EEE6}
#gPop .gm .ib{display:inline-block;margin-left:6px;min-width:18px;padding:0 5px;border-radius:999px;background:#D62F2F;color:#fff;font-size:11px;font-weight:700;line-height:18px;text-align:center}
#gPop .gm .ib[hidden]{display:none}
a .ab{display:inline-block;margin-left:6px;min-width:18px;padding:0 5px;border-radius:999px;background:#D62F2F;color:#fff;font-size:11px;font-weight:700;line-height:18px;text-align:center;vertical-align:1px}
a .ab[hidden]{display:none}
:is(#nmMenu,#gPop,#hmMenu,#mmMenu) a:has(> .ab:not([hidden])){display:flex!important;flex-direction:row!important;align-items:center;justify-content:flex-start}
a > .ab{flex:none!important;width:auto!important;align-self:center}
