/* Shared opt-in layout for file-based catalog templates and their city variants. */
body:has(.pg-layout-v2) .navbar-top > .container {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 12px;
}
body:has(.pg-layout-v2) .navbar-top .navbar-nav.ms-auto {
  margin-left: 0 !important;
  justify-content: flex-end;
}
body:has(.pg-layout-v2) .navbar-top .navbar-nav .nav-link {
  margin-inline: 6px;
  font-size: 14px;
}
body:has(.pg-layout-v2) #citySelectButton > a,
body:has(.pg-layout-v2) .navbar-top .btn-12 {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
body:has(.pg-layout-v2) #citySelectButton .ic-loc-t {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
body:has(.pg-layout-v2) .navbar-top .btn-12 img { margin-right: 0 !important; }
.pg.pg-layout-v2 .hero--lawbar { margin-top: 0; padding-top: 22px; }
.pg.pg-layout-v2 .hero-lawbar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 8px 12px;
  align-items: center;
  background: rgba(255, 255, 255, .10);
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 12px;
  color: #fff;
  padding: 12px 16px;
  margin-bottom: 24px;
  box-shadow: none;
  font-size: 13px;
  font-weight: 600;
  text-align: left;
}
.pg.pg-layout-v2 .hero-lawbar a { color: #fff; font-weight: 600; white-space: normal; }
.pg.pg-layout-v2 .hero-lawbar-ic { background: #ffe39a; }
.pg.pg-layout-v2 .hero .hrow { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
.pg.pg-layout-v2 .hero .hrow > * { min-width: 0; }
@media (min-width: 992px) and (max-width: 1199px) {
  body:has(.pg-layout-v2) .navbar-top > .container { grid-template-columns: 1fr auto; }
  body:has(.pg-layout-v2) .navbar-top .navbar-nav.ms-auto {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}
@media (max-width: 991px) {
  body:has(.pg-layout-v2) .navbar-top > .container { grid-template-columns: auto minmax(0, 1fr); gap: 0 8px; }
  body:has(.pg-layout-v2) .navbar-top .navbar-nav .nav-link { margin-inline: 4px; font-size: 11px; }
  body:has(.pg-layout-v2) #citySelectButton .ic-loc-t { width: 16px; height: 16px; }
  .pg.pg-layout-v2 .hero .hrow { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .pg.pg-layout-v2 .hero .hrow > .aida { width: 100%; max-width: 560px; justify-self: center; }
  .pg.pg-layout-v2 .hero-lawbar { grid-template-columns: auto minmax(0, 1fr); padding: 12px; font-size: 12px; }
  .pg.pg-layout-v2 .hero-lawbar a { grid-column: 2; }
}

/* Most templates place the notice before .w; the reviewed hygienist card places it inside. */
.pg.pg-layout-v2 .hero > .hero-lawbar { width: calc(100% - 36px); max-width: 1164px; margin-inline: auto; }
.pg.pg-layout-v2 .hero > .w > .hero-lawbar { width: 100%; max-width: none; }
