/* The desktop panel follows the navigation bar in the header's coordinate space. */
.cz-dnav-panel,
body.admin-bar .cz-dnav-panel {
  position:absolute;
  top:100%;
  bottom:auto;
  height:calc(100dvh - var(--cz-header-height) - var(--cz-v2-admin-offset, 0px));
}
body.admin-bar .cz-dnav-panel { --cz-v2-admin-offset:32px; }
.cz-dnav-sheet { max-height:100%; }

.cz-dnav-tabs { flex-wrap:wrap; overflow:visible; }
.cz-dnav-tab { padding-inline:7px; }
.cz-dnav-view.is-active:not(.cz-v2-resources-view) {
  column-gap:clamp(6px, 1vw, 14px);
}
.cz-dnav-column {
  display:flex;
  flex-direction:column;
  align-self:start;
  gap:24px;
}

.cz-v2-nav-link,
.cz-v2-resource-link {
  display:grid;
  grid-template-columns:19px minmax(0, 1fr) 10px;
  align-items:start;
  gap:6px;
  min-width:0;
  padding:8px 7px;
  border-radius:8px;
  color:var(--cz-header-text);
  text-decoration:none;
  cursor:pointer;
  transition:background-color .17s ease;
}
.cz-v2-nav-link::after,
.cz-v2-resource-link::after {
  content:"";
  width:8px;
  height:8px;
  margin-top:5px;
  border-top:2px solid var(--cz-header-pink);
  border-right:2px solid var(--cz-header-pink);
  transform:rotate(45deg);
  opacity:0;
  transition:opacity .17s ease;
}
:is(.cz-v2-nav-link, .cz-v2-resource-link):is(:hover, :focus-visible, :active) {
  background:var(--cz-header-hover);
  cursor:pointer;
  text-decoration:none;
}
:is(.cz-v2-nav-link, .cz-v2-resource-link):is(:hover, :focus-visible, :active)::after {
  opacity:1;
}
.cz-v2-link-icon {
  display:flex;
  align-items:center;
  justify-content:center;
  width:19px;
  height:19px;
  color:var(--cz-header-text);
  transition:color .17s ease;
}
.cz-v2-link-icon svg { display:block; width:100%; height:100%; stroke-width:1.8; }
.cz-v2-link-icon .cz-v2-icon-accent { stroke:var(--cz-header-pink); }
.cz-v2-link-copy { display:block; min-width:0; overflow-wrap:anywhere; }
.cz-v2-link-copy strong {
  display:block;
  color:#000;
  font-size:13.5px;
  line-height:1.25;
  font-weight:500;
  letter-spacing:-.012em;
  transition:color .17s ease;
}
:is(.cz-v2-nav-link, .cz-v2-resource-link):is(:hover, :focus-visible, :active)
:is(.cz-v2-link-icon, .cz-v2-link-copy strong) {
  color:var(--cz-header-pink);
}
.cz-v2-link-copy small {
  display:block;
  margin-top:5px;
  font-size:12.5px;
  font-weight:400;
  line-height:1.32;
  color:var(--cz-header-muted);
}


.cz-v2-nav-badge {
  display:inline-flex; max-width:100%; margin-top:8px; padding:5px 8px;
  border-radius:5px; background:#e6effd; color:#3469b3;
  font-style:normal; font-weight:700; font-size:10px; line-height:1.25;
}

/* The recruitment card and six resources share the historical panel width. */
.cz-v2-resources-view.is-active {
  grid-template-columns:minmax(0, 1fr) minmax(0, 2fr);
  gap:14px;
  align-items:start;
}
.cz-v2-resources-grid {
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  align-items:start;
  gap:6px;
}
.cz-v2-resources-grid .cz-v2-resource-prescription {
  grid-column: 1;
  grid-row: 4;
}
.cz-v2-resource-prescription .cz-v2-link-icon .cz-v2-icon-base {
  stroke: var(--cz-header-pink);
}
.cz-v2-careers-card {
  padding:11px; border-radius:16px; background:#fbfbfc;
  display:flex; flex-direction:column; gap:14px; min-width:0;
}
.cz-v2-careers-visual {
  height:110px; position:relative; overflow:hidden; border-radius:13px;
  background:#f1f2f4;
  display:flex; align-items:flex-end;
}
.cz-v2-careers-visual img {
  position:absolute; width:100%; height:100%; inset:0;
  object-fit:cover; object-position:50% 23%;
}

.cz-v2-careers-body { padding:0 10px 10px; container-type:inline-size; }
.cz-v2-careers-tag {
  display:inline-block; background:var(--cz-header-pink); color:white;
  border-radius:5px; padding:5px 8px; font-size:10px;
  font-weight:800; letter-spacing:.09em; text-transform:uppercase;
}
.cz-v2-careers-body h3 {
  font-size:14px; font-weight:550; line-height:1.25; letter-spacing:-.012em;
  color:#111; margin:12px 0 8px;
}
.cz-v2-careers-body p {font-size:12.5px; color:var(--cz-header-muted); line-height:1.32; margin:0 0 13px;}
.cz-v2-careers-link {
  display:inline-flex; gap:6px; align-items:center; color:var(--cz-header-pink) !important;
  font-size:14px; font-weight:400; text-decoration:none !important;
}
a.cz-v2-careers-link:hover { text-decoration:underline !important; }
.cz-v2-careers-link[aria-disabled="true"] { color:var(--cz-header-muted) !important; cursor:default; }
.cz-v2-careers-body .cz-v2-careers-link[aria-disabled="true"] {
  position:relative;
}
/* Keep the same block height as the active CTA, even when it wraps. */
.cz-v2-careers-body .cz-v2-careers-link[aria-disabled="true"]::before {
  content:attr(data-active-label);
  visibility:hidden;
}
.cz-v2-careers-status {
  position:absolute;
  inset:0 auto auto 0;
  font-size:clamp(10.5px, 7cqi, 14px);
  white-space:nowrap;
}

/* Mobile drawer reuses the same canonical items, icons and benefit language. */
@media (max-width:980px) {
  body.admin-bar .cz-header { top:46px; }
  .cz-v2-mobile-items { display:grid; gap:5px; margin:6px 0 15px; }
  .cz-v2-mobile-link {
    display:grid; grid-template-columns:24px minmax(0,1fr); gap:13px;
    padding:11px 8px; border-radius:9px;
    color:#161a1f !important; text-decoration:none !important;
  }
  .cz-v2-mobile-link:hover,.cz-v2-mobile-link:focus-visible {
    background:#f2f3f5; outline:none;
  }
  .cz-v2-mobile-link .cz-v2-link-copy strong { font-size:15px; }
  .cz-v2-mobile-link .cz-v2-link-copy small { font-size:12.5px; }
  .cz-v2-mobile-link .cz-v2-link-icon {color:#a2acba;}
  .cz-v2-mobile-careers {
    display:grid; grid-template-columns:1fr auto; gap:3px 10px;
    margin:10px 0; padding:18px; border-radius:15px;
    background:#f1f2f4; text-decoration:none !important; color:#15191d !important;
  }
  .cz-v2-mobile-careers .cz-v2-careers-tag {justify-self:start;padding:0 5px;letter-spacing:.13em;}
  .cz-v2-mobile-careers strong {font-size:15px;grid-column:1;}
  .cz-v2-mobile-careers .cz-v2-careers-link {font-size:inherit;font-weight:inherit;}
}
@media (min-width:783px) and (max-width:980px) {
  body.admin-bar .cz-header { top:32px; }
}

/* Match the V1 panel height; the blank area below action #4 remains intentional. */
@media (min-width:981px) {
  .cz-dnav-layout { min-height:392px; }
  .cz-dnav-info, .cz-dnav-actions-panel { min-height:392px; }
}

/* Header fixed bar: a light, text-only marketplace shortcut. */
.cz-dnav-marketplace-cta {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  min-height:34px;
  padding:0 2px;
  color:#111413;
  font-size:12.5px;
  line-height:1.2;
  font-weight:500;
  text-decoration:none;
  white-space:nowrap;
  cursor:pointer;
  transition:color .16s ease;
}
.cz-dnav-marketplace-icon {
  display:inline-flex;
  width:17px;
  height:17px;
  color:var(--cz-header-pink);
}
.cz-dnav-marketplace-icon svg {
  display:block;
  width:100%;
  height:100%;
  stroke:currentColor;
  stroke-width:1.7;
}
.cz-dnav-marketplace-cta:hover,
.cz-dnav-marketplace-cta:focus-visible {
  color:var(--cz-header-pink);
}
.cz-dnav-marketplace-cta:focus-visible {
  outline:2px solid var(--cz-header-pink);
  outline-offset:4px;
  border-radius:4px;
}

/* iPhone/iPad: align the fixed header to the *visible* WordPress admin bar.
   Once the bar scrolls away, the header returns at viewport top. */
@media (max-width:980px) {
  body.admin-bar .cz-header {
    top:var(--cz-v2-admin-visible-offset,0px) !important;
  }
  .cz-header:not(.cz-header--prestige).cz-header-hidden {
    transform:translate3d(
      0,
      calc(-100% - var(--cz-v2-admin-visible-offset,0px) - 2px),
      0
    ) !important;
  }
}

.cz-v2-nav-link--upcoming .cz-v2-nav-badge {
  background: #eee5ff;
  color: #7842b9;
}

@media (max-width: 980px) {
  .cz-mobile-header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 3px;
    justify-self: end;
  }
  .cz-mobile-find-cleaner {
    width: 40px;
    min-height: 44px;
    flex-shrink: 0;
  }
}

@media (max-width:980px) {
  .cz-mobile-drawer .cz-mobile-menu { padding-bottom: 0; }
  .cz-v2-mobile-careers img {
    grid-column: 1 / -1;
    display: block;
    width: 100%;
    height: clamp(125px, 42vw, 208px);
    margin-bottom: 9px;
    object-fit: cover;
    object-position: center 45%;
    border-radius: 9px;
  }
  .cz-v2-mobile-actions {
    display: grid;
    gap: 14px;
    width: 100%;
    margin-top: 14px;
    padding-bottom: 8px;
  }
  .cz-v2-mobile-actions p {
    margin: 0;
    text-align: center;
    color: var(--cz-header-muted);
    font-size: 15px;
  }
  .cz-v2-mobile-cta-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .cz-v2-mobile-cta-row a {
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 44px;
    padding: 6px 4px;
    border-radius: 8px;
    font-size: clamp(12px, 3.6vw, 14px);
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    white-space: normal;
  }
  .cz-v2-mobile-support {
    border: 1px solid var(--cz-header-pink);
    color: var(--cz-header-black) !important;
    background: #fff;
  }
  .cz-v2-mobile-actions .cz-v2-mobile-cleaner {
    grid-template-columns: 72px minmax(0, 1fr);
    align-items: center;
    padding: 8px 12px;
    background: var(--cz-header-surface, #f0f1f3);
  }
  .cz-v2-mobile-actions .cz-v2-mobile-cleaner:focus-visible {
    outline: 2px solid var(--cz-header-blue);
    outline-offset: 2px;
  }
  .cz-v2-mobile-cleaner img {
    display: block;
    width: 72px;
    height: 72px;
    object-fit: contain;
  }
}
