/* Header menus (guest). Explore dropdown mirrors the Register menu; mobile drawer is solid, not see-through. */

/* ---- Explore dropdown (desktop) ---- */
#exploreMenu{border:0;border-radius:10px;padding:8px;min-width:0;width:max-content;max-width:320px;background:#fff;box-shadow:0 8px 24px rgba(14,16,16,.12)}
#exploreMenu li{border-radius:10px;list-style:none}
#exploreMenu li:hover{background:#d9d9d9}
#exploreMenu .pz-ex-item{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:8px;border-radius:12px;color:#000;text-decoration:none;background:transparent}
#exploreMenu .pz-ex-item:hover,#exploreMenu .pz-ex-item:focus{background:transparent;color:#000}
#exploreMenu .pz-ex-main{display:flex;gap:16px;align-items:flex-start}
#exploreMenu .pz-ex-main>svg{flex:0 0 24px;margin-top:2px}
#exploreMenu .textBox h2{font-size:16px;font-weight:900;margin:0;color:#000;line-height:1.25}
#exploreMenu .textBox span{display:block;font-size:14px;font-weight:200;color:#1e1e1e;line-height:1.35;white-space:normal}
#exploreMenu .pz-ex-chev{flex:0 0 7px}

/* ---- Guest mobile drawer ---- */
#mobileOffcanvas.mobile-offcanvas{background:#fff!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;width:min(86vw,340px)!important;max-width:340px;z-index:1080;box-shadow:0 0 32px rgba(14,16,16,.25)}
#mobileOffcanvas .offcanvas-header{padding:16px 16px 0}
#mobileOffcanvas .offcanvas-body{padding:16px}
#mobileOffcanvas .typeItem{border-radius:12px;color:#000;text-decoration:none}
#mobileOffcanvas .typeItem:hover,#mobileOffcanvas .typeItem:active{background:#f1f1f1}
#mobileOffcanvas .textBox h2{margin:0;color:#000}

/* Figma "Home - Sidebar": the guest drawer slides in from the LEFT, the same side as the hamburger (Figma puts the hamburger on the right; live keeps it left). */
#mobileOffcanvas.mobile-offcanvas{left:0!important;right:auto!important;transform:translateX(-100%)}
#mobileOffcanvas.mobile-offcanvas.show:not(.hiding),#mobileOffcanvas.mobile-offcanvas.showing{transform:none}

/* Explore dropdown: anchor to the right of its link so the card never runs off a 1280px screen. */
#exploreMenu{left:auto!important;right:0!important}

/* Drawer rows: one icon size so every title starts on the same line. */
#mobileOffcanvas .typeIcon{width:24px!important;height:24px!important;flex:0 0 24px}

/* Backdrop for the guest drawer (opened and closed by js/pz-nav.js). */
.pz-drawer-backdrop{position:fixed;inset:0;z-index:1079;background:#0e1010;opacity:0;transition:opacity .2s ease}
.pz-drawer-backdrop.pz-on{opacity:.5}

/* Left-hand drawer: drop the theme's 15px left gap and right-side border/radius */
#mobileOffcanvas.mobile-offcanvas,#mobileOffcanvas.mobile-offcanvas.show{margin-left:0!important;border-left:0!important;border-right:1px solid #f1f1f1;border-radius:0 8px 8px 0}

/* Desktop guest links stay 24px apart, with a divider before Login.
   These rules live in this file because a style tag inside #landing-app is dropped when Vue compiles the page. */
@media (min-width: 1200px) {
  #navbarSupportedContent > ul.navbar-nav {
    gap: 24px;
  }
  #navbarSupportedContent > ul.navbar-nav > li {
    margin: 0 !important;
    padding: 0 !important;
  }
  #navbarSupportedContent > ul.navbar-nav > li.plgz-nav-login > a {
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    min-width: 0 !important;
  }
  /* The divider is its own item, so the 24px gap applies on both sides of it. */
  #navbarSupportedContent > ul.navbar-nav > li.plgz-nav-rule {
    flex: 0 0 1px;
    width: 1px;
    height: 18px;
    align-self: center;
    background: #8A8A8A;
    padding: 0;
  }
}

/* Pros | Services switch. Lives here because a style tag inside #landing-app is dropped. */
.plgz-dir{display:inline-flex;border:1.5px solid #0E1010;border-radius:999px;overflow:hidden;margin:0 0 16px}
.plgz-dir a{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:8px 18px;color:#0E1010;font-weight:700;text-decoration:none;background:#fff}
.plgz-dir a[aria-current="page"]{background:#0E1010;color:#fff}

/* Drawer Post a job turns red on hover, keyboard focus and press. Other rows stay light grey.
   These beat #mobileOffcanvas .typeItem:hover, which otherwise paints every row grey. */
#mobileOffcanvas a.plgz-drawer-post:hover,
#mobileOffcanvas a.plgz-drawer-post:focus-visible,
#mobileOffcanvas a.plgz-drawer-post:active {
  background: #E31F2A !important;
}
#mobileOffcanvas a.plgz-drawer-post:hover svg,
#mobileOffcanvas a.plgz-drawer-post:focus-visible svg,
#mobileOffcanvas a.plgz-drawer-post:active svg {
  stroke: #fff !important;
}
#mobileOffcanvas a.plgz-drawer-post:hover h2,
#mobileOffcanvas a.plgz-drawer-post:hover span,
#mobileOffcanvas a.plgz-drawer-post:focus-visible h2,
#mobileOffcanvas a.plgz-drawer-post:focus-visible span,
#mobileOffcanvas a.plgz-drawer-post:active h2,
#mobileOffcanvas a.plgz-drawer-post:active span {
  color: #fff !important;
}
#mobileOffcanvas a.plgz-drawer-post:focus-visible {
  outline: 3px solid #0E1010;
  outline-offset: 2px;
}
#mobileOffcanvas a.plgz-drawer-row:hover,
#mobileOffcanvas a.plgz-drawer-row:focus-visible {
  background: #F4F4F4;
}
