/*
 * Public interface V3.
 * Flat editorial direction and strict component scoping for theme compatibility.
 */

.lbd [hidden] {
  display: none !important;
}

body.lbd-public-directory .wp-block-post-title,
body.lbd-public-submit .wp-block-post-title,
body.lbd-public-favorites .wp-block-post-title,
body.lbd-public-directory article > .entry-header,
body.lbd-public-submit article > .entry-header,
body.lbd-public-favorites article > .entry-header {
  display: none !important;
}

body.lbd-public-directory main > .wp-block-group,
body.lbd-public-submit main > .wp-block-group,
body.lbd-public-favorites main > .wp-block-group {
  padding-block: 0 !important;
}

body.lbd-public-directory .wp-block-post-content,
body.lbd-public-submit .wp-block-post-content,
body.lbd-public-favorites .wp-block-post-content,
body.lbd-public-directory .entry-content,
body.lbd-public-submit .entry-content,
body.lbd-public-favorites .entry-content {
  margin-block: 0 !important;
}

.lbd-fullbleed {
  position: relative;
  width: 100vw !important;
  max-width: none !important;
  margin-right: calc(50% - 50vw) !important;
  margin-left: calc(50% - 50vw) !important;
  overflow-x: clip;
}

body.lbd-public-directory .lbd-fullbleed,
body.lbd-public-submit .lbd-fullbleed,
body.lbd-public-favorites .lbd-fullbleed {
  left: calc(-1 * var(--wp--style--root--padding-left, 0px));
}

.lbd-directory--v3 .lbd-container {
  width: min(1280px, calc(100% - 48px));
}

.lbd-submit-page--v3 .lbd-container {
  width: min(1080px, calc(100% - 48px));
}

body.lbd-public-directory .lbd-directory--v3,
body.lbd-public-submit .lbd-submit-page--v3 {
  padding-bottom: 72px;
}

/* Keep aggressive theme button rules out of the module. */
.lbd-directory--v3 button,
.lbd-directory--v3 input,
.lbd-directory--v3 select,
.lbd-submit-page--v3 button,
.lbd-submit-page--v3 input,
.lbd-submit-page--v3 select,
.lbd-submit-page--v3 textarea {
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  letter-spacing: normal !important;
  text-transform: none !important;
}

.lbd-directory--v3 button::before,
.lbd-submit-page--v3 button::before {
  display: none !important;
  content: none !important;
}

.lbd-directory--v3 {
  color: #142338;
  background: #fff;
}

.lbd-directory--v3 .lbd-directory-form {
  margin: 0 !important;
}

/* Directory masthead */
.lbd-guide-header {
  border-top: 1px solid #e2e7ed;
  background: #fff;
}

.lbd-guide-intro {
  min-height: 155px;
  padding-block: 31px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 42px;
}

.lbd-guide-copy {
  padding-left: 20px;
  border-left: 4px solid var(--lbd-primary);
}

.lbd-guide-kicker {
  display: block;
  margin-bottom: 5px;
  color: #647185;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.lbd-guide-copy h1 {
  max-width: 820px;
  margin: 0 !important;
  color: #0f2138 !important;
  font-size: clamp(34px, 3.5vw, 46px) !important;
  font-weight: 800 !important;
  line-height: 1.08 !important;
  letter-spacing: -.035em !important;
}

.lbd-guide-copy p {
  max-width: 760px;
  margin: 9px 0 0 !important;
  color: #5d6a7b !important;
  font-size: 14px !important;
  line-height: 1.55 !important;
}

.lbd-guide-tools {
  min-width: 190px;
  padding-left: 23px;
  border-left: 1px solid #dbe1e8;
}

.lbd-guide-tools p {
  margin: 0 0 10px !important;
  display: flex;
  align-items: baseline;
  gap: 7px;
}

.lbd-guide-tools p strong {
  color: var(--lbd-primary);
  font-size: 25px;
  line-height: 1;
}

.lbd-guide-tools p span {
  color: #687487;
  font-size: 11px;
}

.lbd-guide-tools > a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #263c58 !important;
  font-size: 12px;
  font-weight: 750;
  text-decoration: underline;
  text-decoration-color: #b8c2ce;
  text-underline-offset: 4px;
}

.lbd-guide-tools > a svg {
  width: 15px;
  height: 15px;
}

.lbd-search-band {
  padding: 16px 0;
  background: #0b3768;
}

.lbd-search-panel--v3 {
  min-height: 66px;
  padding: 5px;
  border: 1px solid rgba(15, 23, 42, .05);
  border-radius: 14px;
  display: grid;
  grid-template-columns: minmax(300px, 1.45fr) minmax(230px, .75fr) 165px;
  align-items: stretch;
  background: #fff;
  box-shadow: var(--lbd-shadow-md);
}

.lbd-search-panel--v3 label {
  position: relative;
  min-width: 0;
  padding: 9px 18px 7px 50px !important;
  border: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
}

.lbd-search-panel--v3 .lbd-search-main {
  border-right: 1px solid #dce2e9;
}

.lbd-search-panel--v3 label > span {
  display: block;
  color: #667386;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .06em;
  line-height: 1.2;
  text-transform: uppercase;
}

.lbd-search-panel--v3 label > i {
  position: absolute;
  left: 17px;
  top: 50%;
  color: var(--lbd-primary);
  line-height: 0;
  transform: translateY(-50%);
}

.lbd-search-panel--v3 label > i svg {
  width: 19px;
  height: 19px;
}

.lbd-search-panel--v3 input,
.lbd-search-panel--v3 select {
  width: 100% !important;
  min-height: 25px !important;
  margin: 0 !important;
  padding: 0 24px 0 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  outline: 0 !important;
  color: #162941 !important;
  background-color: #fff !important;
  box-shadow: none !important;
  opacity: 1 !important;
  font-size: 14px !important;
  font-weight: 650 !important;
  line-height: 25px !important;
}

.lbd-search-panel--v3 input::placeholder {
  color: #8994a3 !important;
  opacity: 1 !important;
}

.lbd-search-submit {
  min-width: 0 !important;
  min-height: 56px !important;
  margin: 0 !important;
  padding: 0 20px !important;
  border: 0 !important;
  border-radius: 12px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 9px !important;
  color: #fff !important;
  background: var(--lbd-primary) !important;
  box-shadow: 0 10px 22px -8px color-mix(in srgb, var(--lbd-primary) 65%, transparent) !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
}

.lbd-search-submit:hover {
  background: color-mix(in srgb, var(--lbd-primary) 85%, #000) !important;
  transform: translateY(-1px) !important;
}

.lbd-search-submit svg {
  width: 17px;
  height: 17px;
}

/* Category navigation */
.lbd-directory--v3 .lbd-category-strip {
  border-bottom: 1px solid #dfe4ea;
  background: #fff;
}

.lbd-directory--v3 .lbd-category-strip .lbd-container {
  min-height: 52px;
  display: block;
}

.lbd-directory--v3 .lbd-category-row {
  min-width: 0;
  display: flex;
  align-items: stretch;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.lbd-directory--v3 .lbd-category-row::-webkit-scrollbar {
  display: none;
}

.lbd-directory--v3 .lbd-category-row button {
  position: relative !important;
  min-width: auto !important;
  min-height: 52px !important;
  margin: 0 !important;
  padding: 0 16px !important;
  border: 0 !important;
  border-radius: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  flex: 0 0 auto !important;
  color: #4c596b !important;
  background: transparent !important;
  box-shadow: none !important;
  opacity: 1 !important;
  line-height: 1 !important;
}

.lbd-directory--v3 .lbd-category-row button::after {
  position: absolute;
  right: 16px;
  bottom: -1px;
  left: 16px;
  height: 3px;
  background: var(--lbd-primary);
  content: "";
  opacity: 0;
}

.lbd-directory--v3 .lbd-category-row button:hover,
.lbd-directory--v3 .lbd-category-row button.is-active {
  color: #0d2f59 !important;
  background: #f8fafc !important;
}

.lbd-directory--v3 .lbd-category-row button.is-active::after {
  opacity: 1;
}

.lbd-directory--v3 .lbd-category-row strong {
  font-size: 11px !important;
  font-weight: 750 !important;
  white-space: nowrap;
}

.lbd-directory--v3 .lbd-category-row small {
  min-width: 18px;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #8590a0;
  background: transparent;
  font-size: 9px;
  font-weight: 650;
}

/* Filters and result header */
.lbd-directory--v3 .lbd-explorer-section {
  padding: 24px 0 30px;
  background: #f4f6f8;
}

.lbd-directory--v3 .lbd-filter-panel {
  position: static;
  margin: 0 0 22px;
  padding: 14px 16px;
  border: 1px solid #e5e9ee;
  border-radius: 14px;
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  align-items: end;
  gap: 16px;
  background: #fff;
  box-shadow: var(--lbd-shadow-sm);
}

.lbd-directory--v3 .lbd-filter-head {
  min-height: 42px;
  padding-right: 15px;
  border-right: 1px solid #e1e6ec;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.lbd-directory--v3 .lbd-filter-head h2 {
  margin: 0 !important;
  color: #1a2c43 !important;
  font-size: 13px !important;
  font-weight: 800 !important;
}

.lbd-directory--v3 .lbd-filter-head button {
  display: none !important;
}

.lbd-directory--v3 .lbd-filter-grid {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(135px, .8fr) minmax(130px, .7fr) minmax(175px, 1fr) auto auto;
  align-items: end;
  gap: 10px;
}

.lbd-directory--v3 .lbd-filter-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.lbd-directory--v3 .lbd-filter-field > span {
  color: #687589;
  font-size: 9px;
  font-weight: 800;
  line-height: 1;
}

.lbd-directory--v3 .lbd-filter-field select,
.lbd-directory--v3 .lbd-toolbar-actions select {
  width: 100% !important;
  min-height: 38px !important;
  margin: 0 !important;
  padding: 0 30px 0 10px !important;
  border: 1px solid #cfd7e0 !important;
  border-radius: 12px !important;
  color: #263a53 !important;
  background-color: #fff !important;
  box-shadow: none !important;
  opacity: 1 !important;
  font-size: 11px !important;
  font-weight: 650 !important;
  line-height: 38px !important;
}

.lbd-directory--v3 .lbd-filter-checks {
  min-height: 38px;
  display: flex;
  align-items: center;
  gap: 13px;
}

.lbd-directory--v3 .lbd-filter-checks label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  white-space: nowrap;
}

.lbd-directory--v3 .lbd-filter-checks input {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
}

.lbd-directory--v3 .lbd-filter-checks label > span {
  position: relative;
  width: 30px;
  height: 17px;
  border-radius: 12px;
  background: #c7d0da;
}

.lbd-directory--v3 .lbd-filter-checks label > span::after {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #fff;
  content: "";
  transition: transform .16s ease;
}

.lbd-directory--v3 .lbd-filter-checks input:checked + span {
  background: var(--lbd-primary);
}

.lbd-directory--v3 .lbd-filter-checks input:checked + span::after {
  transform: translateX(13px);
}

.lbd-directory--v3 .lbd-filter-checks strong {
  color: #45556b;
  font-size: 10px;
  font-weight: 700;
}

.lbd-directory--v3 .lbd-clear-filters {
  min-height: 38px !important;
  margin: 0 !important;
  padding: 0 12px !important;
  border: 1px solid #d7dee6 !important;
  border-radius: 12px !important;
  color: #566477 !important;
  background: #f5f7f9 !important;
  box-shadow: none !important;
  font-size: 10px !important;
  font-weight: 750 !important;
}

.lbd-directory--v3 .lbd-results-toolbar {
  min-height: 44px;
  margin: 0 0 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.lbd-directory--v3 .lbd-results-toolbar > div:first-child {
  display: flex;
  flex-direction: column;
}

.lbd-directory--v3 .lbd-results-toolbar > div:first-child > span {
  color: #768194;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.lbd-directory--v3 .lbd-results-toolbar > div:first-child > strong {
  color: #14263e;
  font-size: 20px;
  font-weight: 800;
}

.lbd-directory--v3 .lbd-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lbd-directory--v3 .lbd-toolbar-actions label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #687589;
  font-size: 10px;
}

.lbd-directory--v3 .lbd-toolbar-actions select {
  width: auto !important;
  min-width: 170px !important;
}

.lbd-directory--v3 .lbd-mobile-filter {
  display: none !important;
}

.lbd-directory--v3 .lbd-active-filters {
  margin: -1px 0 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.lbd-directory--v3 .lbd-active-filters:empty {
  display: none;
}

.lbd-directory--v3 .lbd-active-filters button {
  min-height: 28px !important;
  padding: 0 9px !important;
  border: 1px solid #cbd5df !important;
  border-radius: 12px !important;
  color: #45566c !important;
  background: #fff !important;
  box-shadow: none !important;
  font-size: 9px !important;
}

.lbd-directory--v3 .lbd-active-filters button::after {
  margin-left: 7px;
  content: "×";
}

.lbd-directory--v3 .lbd-results-wrap {
  min-height: 120px;
}

.lbd-directory--v3 .lbd-card-grid--directory,
.lbd-favorites-page .lbd-card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

/* Wide directory entries */
.lbd-place-card--v3 {
  position: relative;
  min-width: 0;
  min-height: 194px;
  border: 1px solid #e5e9ee;
  border-radius: 14px;
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr) 188px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--lbd-shadow-sm);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.lbd-place-card--v3:hover {
  border-color: #c7d2e0;
  box-shadow: var(--lbd-shadow-md);
  transform: translateY(-3px);
}

.lbd-place-card--v3.is-featured {
  border-color: #c8a648;
}

.lbd-place-card--v3 .lbd-card-cover {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 194px;
  display: block;
  overflow: hidden;
  background: #dce6f0;
}

.lbd-place-card--v3 .lbd-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}

.lbd-place-card--v3:hover .lbd-card-cover img {
  transform: scale(1.02);
}

.lbd-place-card--v3 .lbd-cover-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #385473;
  background: #dce6f0;
}

.lbd-place-card--v3 .lbd-cover-placeholder strong {
  font-size: 52px;
  font-weight: 750;
  line-height: 1;
}

.lbd-place-card--v3 .lbd-card-body {
  position: static;
  min-width: 0;
  padding: 22px 25px 20px;
}

.lbd-place-card--v3 .lbd-card-classification {
  margin: 0 0 7px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  overflow: visible;
  color: #687589;
  font-size: 9px;
  font-weight: 750;
  line-height: 1.3;
  letter-spacing: .045em;
  text-transform: uppercase;
  white-space: normal;
}

.lbd-place-card--v3 .lbd-card-classification > * + *::before {
  margin: 0 7px;
  color: #a3adba;
  content: "·";
}

.lbd-place-card--v3 .lbd-card-classification strong {
  color: #8c6b12;
  font-size: inherit;
}

.lbd-place-card--v3 .lbd-card-title-row {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 9px;
}

.lbd-place-card--v3 .lbd-card-title-row h2 {
  min-width: 0;
  margin: 0 !important;
  color: #13263f !important;
  font-size: 23px !important;
  font-weight: 800 !important;
  line-height: 1.18 !important;
  letter-spacing: -.025em !important;
}

.lbd-place-card--v3 .lbd-card-title-row h2 a {
  color: inherit !important;
}

.lbd-place-card--v3 .lbd-card-logo {
  position: static;
  width: 37px;
  height: 37px;
  padding: 3px;
  border: 1px solid #d6dde5;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--lbd-shadow-xs);
}

.lbd-place-card--v3 .lbd-card-logo img {
  width: 100%;
  height: 100%;
  border-radius: 0;
  object-fit: contain;
}

.lbd-place-card--v3 .lbd-verified {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: #fff;
  background: #1771c9;
}

.lbd-place-card--v3 .lbd-verified svg {
  width: 11px;
  height: 11px;
  stroke-width: 3;
}

.lbd-place-card--v3 .lbd-card-tagline {
  min-height: 0;
  margin: 9px 0 12px !important;
  color: #5c697c !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
}

.lbd-place-card--v3 .lbd-card-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  color: #42546b;
  font-size: 11px;
}

.lbd-place-card--v3 .lbd-card-contact span,
.lbd-place-card--v3 .lbd-card-contact a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.lbd-place-card--v3 .lbd-card-contact a {
  color: #244f80 !important;
  font-weight: 700;
}

.lbd-place-card--v3 .lbd-card-contact svg {
  width: 13px;
  height: 13px;
  color: var(--lbd-primary);
}

.lbd-place-card--v3 .lbd-card-services {
  min-height: 0;
  margin-top: 13px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.lbd-place-card--v3 .lbd-card-services span {
  padding: 3px 7px;
  border: 1px solid #dfe4ea;
  border-radius: 999px;
  color: #59677a;
  background: #f8f9fb;
  font-size: 9px;
  line-height: 1.35;
}

.lbd-place-card--v3 .lbd-card-actions {
  min-width: 0;
  padding: 18px;
  border-left: 1px solid #e1e6ec;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 10px;
  background: #fbfcfd;
}

.lbd-place-card--v3 .lbd-favorite {
  position: static !important;
  z-index: auto;
  width: auto !important;
  height: auto !important;
  min-height: 30px !important;
  margin: 0 0 2px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 7px !important;
  color: #536278 !important;
  background: transparent !important;
  box-shadow: none !important;
  font-size: 10px !important;
  font-weight: 700 !important;
}

.lbd-place-card--v3 .lbd-favorite svg {
  width: 16px;
  height: 16px;
}

.lbd-place-card--v3 .lbd-favorite.is-active {
  color: #c72e49 !important;
}

.lbd-place-card--v3 .lbd-favorite.is-active svg {
  fill: currentColor;
}

.lbd-place-card--v3 .lbd-card-rating {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.lbd-place-card--v3 .lbd-stars {
  font-size: 11px;
}

.lbd-place-card--v3 .lbd-card-rating small,
.lbd-place-card--v3 .lbd-open-status {
  color: #6b7789;
  font-size: 9px;
  line-height: 1.4;
}

.lbd-place-card--v3 .lbd-open-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.lbd-place-card--v3 .lbd-open-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #9aa4b2;
}

.lbd-place-card--v3 .lbd-open-status.is-open {
  color: #137347;
}

.lbd-place-card--v3 .lbd-open-status.is-open i {
  background: #168452;
  box-shadow: none;
}

.lbd-place-card--v3 .lbd-card-link {
  min-height: 40px !important;
  margin-top: 2px;
  padding: 0 13px !important;
  border: 1px solid #0b5fc2 !important;
  border-radius: 12px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  color: #fff !important;
  background: #0b5fc2 !important;
  box-shadow: 0 8px 18px -8px rgba(11, 95, 194, .55) !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
}

.lbd-place-card--v3 .lbd-card-link:hover {
  background: #084e9e !important;
  transform: translateY(-1px);
}

.lbd-place-card--v3 .lbd-card-link svg {
  width: 15px;
  height: 15px;
}

.lbd-directory--v3 .lbd-pagination {
  margin-top: 22px;
}

.lbd-directory--v3 .lbd-pagination button {
  min-width: 36px !important;
  height: 36px !important;
  padding: 0 9px !important;
  border: 1px solid #cfd7e0 !important;
  border-radius: 12px !important;
  color: #263a53 !important;
  background: #fff !important;
  box-shadow: none !important;
  font-size: 11px !important;
  font-weight: 750 !important;
}

.lbd-directory--v3 .lbd-pagination button:hover,
.lbd-directory--v3 .lbd-pagination button.is-active {
  border-color: var(--lbd-primary) !important;
  color: #fff !important;
  background: var(--lbd-primary) !important;
}

.lbd-directory--v3 .lbd-empty-state {
  padding: 43px 25px;
  border: 1px solid #d8dfe7;
  border-radius: 12px;
  background: #fff;
}

.lbd-directory--v3 .lbd-empty-state > span {
  width: 45px;
  height: 45px;
  margin-bottom: 12px;
  border-radius: 50%;
}

.lbd-directory--v3 .lbd-empty-state h2 {
  font-size: 21px;
}

.lbd-directory--v3 .lbd-empty-state .lbd-button {
  min-height: 40px !important;
  padding: 0 14px !important;
  border-radius: 12px !important;
  color: #fff !important;
  background: var(--lbd-primary) !important;
  box-shadow: none !important;
  font-size: 11px !important;
}

.lbd-directory-final-cta {
  border-top: 1px solid #dbe1e8;
  border-bottom: 1px solid #dbe1e8;
  padding: 22px 0;
  color: #1b2d44;
  background: #fff;
}

.lbd-directory-final-cta .lbd-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.lbd-directory-final-cta p {
  margin: 0 !important;
  display: flex;
  flex-direction: column;
}

.lbd-directory-final-cta strong {
  color: #172a43;
  font-size: 13px;
}

.lbd-directory-final-cta span {
  margin-top: 2px;
  color: #657286;
  font-size: 11px;
}

.lbd-directory-final-cta a {
  min-height: 39px;
  padding: 0 14px;
  border: 1px solid var(--lbd-primary);
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex: 0 0 auto;
  color: var(--lbd-primary) !important;
  background: #fff;
  font-size: 11px;
  font-weight: 800;
}

.lbd-directory-final-cta a:hover {
  color: #fff !important;
  background: var(--lbd-primary);
}

.lbd-directory-final-cta svg {
  width: 15px;
  height: 15px;
}

/* Proposal page */
.lbd-submit-page--v3 {
  min-height: 70vh;
  color: #17283e;
  background: #f4f6f8;
}

.lbd-submit-page--v3 .lbd-proposal-header {
  position: relative;
  overflow: visible;
  color: #fff;
  background: #0b3768;
}

.lbd-submit-page--v3 .lbd-proposal-header::after {
  display: none;
  content: none;
}

.lbd-proposal-back {
  display: inline-block;
  margin-top: 19px;
  color: rgba(255, 255, 255, .76) !important;
  font-size: 11px;
  font-weight: 700;
}

.lbd-proposal-back:hover {
  color: #fff !important;
}

.lbd-submit-page--v3 .lbd-proposal-heading {
  padding: 16px 0 27px;
  display: block;
}

.lbd-submit-page--v3 .lbd-proposal-heading > span {
  display: block;
  color: #d8e4f0;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.lbd-submit-page--v3 .lbd-proposal-heading h1 {
  margin: 3px 0 5px !important;
  color: #fff !important;
  font-size: clamp(32px, 4vw, 41px) !important;
  font-weight: 800 !important;
  line-height: 1.08 !important;
  letter-spacing: -.035em !important;
}

.lbd-submit-page--v3 .lbd-proposal-heading p {
  max-width: 720px;
  margin: 0 !important;
  color: rgba(255, 255, 255, .77) !important;
  font-size: 13px !important;
  line-height: 1.55 !important;
}

.lbd-submit-page--v3 .lbd-proposal-workspace {
  padding: 24px 0 36px;
}

.lbd-submit-page--v3 .lbd-proposal-form {
  display: block;
}

.lbd-submit-page--v3 .lbd-proposal-stepper {
  position: static;
  margin: 0 0 12px;
  padding: 0;
  border: 1px solid #d7dee6;
  border-radius: 12px;
  display: grid;
  grid-template-columns: 160px repeat(4, minmax(0, 1fr));
  align-items: stretch;
  background: #fff;
  box-shadow: var(--lbd-shadow-sm);
}

.lbd-submit-page--v3 .lbd-proposal-stepper > p {
  min-height: 67px;
  margin: 0 !important;
  padding: 13px 15px;
  border: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #6c788a;
  font-size: 9px;
  line-height: 1.35;
}

.lbd-submit-page--v3 .lbd-proposal-stepper > p strong {
  margin-top: 2px;
  color: var(--lbd-primary);
  font-size: 12px;
}

.lbd-submit-page--v3 .lbd-proposal-stepper > button {
  position: relative !important;
  width: 100% !important;
  min-height: 67px !important;
  margin: 0 !important;
  padding: 10px 12px !important;
  border: 0 !important;
  border-left: 1px solid #e0e5eb !important;
  border-radius: 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 9px !important;
  color: #697588 !important;
  background: #fff !important;
  box-shadow: none !important;
  opacity: 1 !important;
  text-align: left !important;
}

.lbd-submit-page--v3 .lbd-proposal-stepper > button::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  background: var(--lbd-primary);
  content: "";
  opacity: 0;
}

.lbd-submit-page--v3 .lbd-proposal-stepper > button:hover,
.lbd-submit-page--v3 .lbd-proposal-stepper > button.is-active {
  color: #18324f !important;
  background: #f6f8fb !important;
}

.lbd-submit-page--v3 .lbd-proposal-stepper > button.is-active::after {
  opacity: 1;
}

.lbd-submit-page--v3 .lbd-proposal-stepper b {
  width: 26px;
  height: 26px;
  border: 1px solid #aab5c2;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: #536176;
  background: #fff;
  font-size: 10px;
  font-weight: 800;
}

.lbd-submit-page--v3 .lbd-proposal-stepper .is-active b {
  border-color: var(--lbd-primary);
  color: #fff;
  background: var(--lbd-primary);
}

.lbd-submit-page--v3 .lbd-proposal-stepper .is-complete b {
  border-color: #168254;
  color: #fff;
  background: #168254;
}

.lbd-submit-page--v3 .lbd-proposal-stepper button > span {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.lbd-submit-page--v3 .lbd-proposal-stepper button strong {
  color: inherit;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.3;
}

.lbd-submit-page--v3 .lbd-proposal-stepper button small {
  margin-top: 1px;
  overflow: hidden;
  color: #8792a2;
  font-size: 8px;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lbd-proposal-guidance {
  margin: 0 0 12px !important;
  padding: 10px 13px;
  border-left: 3px solid var(--lbd-primary);
  color: #5b687b !important;
  background: #e9eef4;
  font-size: 10px !important;
  line-height: 1.55 !important;
}

.lbd-proposal-guidance strong {
  color: #263a53;
}

.lbd-submit-page--v3 .lbd-proposal-main {
  min-width: 0;
}

.lbd-submit-page--v3 .lbd-proposal-panel {
  padding: 30px 32px;
  border: 1px solid #e5e9ee;
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--lbd-shadow-sm);
}

.lbd-submit-page--v3 .lbd-proposal-form.is-wizard-ready .lbd-proposal-panel:not(.is-active) {
  display: none;
}

.lbd-submit-page--v3 .lbd-panel-intro {
  margin-bottom: 23px;
  padding-bottom: 19px;
  border-bottom: 1px solid #e0e5eb;
}

.lbd-submit-page--v3 .lbd-panel-intro > span {
  color: var(--lbd-primary);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.lbd-submit-page--v3 .lbd-panel-intro h2 {
  margin: 3px 0 4px !important;
  color: #172a43 !important;
  font-size: 25px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  letter-spacing: -.025em !important;
}

.lbd-submit-page--v3 .lbd-panel-intro p {
  margin: 0 !important;
  color: #667386 !important;
  font-size: 12px !important;
  line-height: 1.5 !important;
}

.lbd-submit-page--v3 .lbd-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px 18px;
}

.lbd-submit-page--v3 .lbd-field {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #34465e;
  font-size: 12px;
  font-weight: 700;
}

.lbd-submit-page--v3 .lbd-field--full {
  grid-column: 1 / -1;
}

.lbd-submit-page--v3 .lbd-field > span b,
.lbd-submit-page--v3 .lbd-proposal-commitments b {
  color: #c52f45;
}

.lbd-submit-page--v3 .lbd-field input,
.lbd-submit-page--v3 .lbd-field select,
.lbd-submit-page--v3 .lbd-field textarea {
  width: 100% !important;
  min-height: 46px !important;
  margin: 0 !important;
  padding: 10px 12px !important;
  border: 1px solid #cbd4de !important;
  border-radius: 12px !important;
  outline: 0 !important;
  color: #17283f !important;
  background-color: #fff !important;
  box-shadow: none !important;
  opacity: 1 !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: 1.35 !important;
}

.lbd-submit-page--v3 .lbd-field textarea {
  min-height: 145px !important;
  resize: vertical;
}

.lbd-submit-page--v3 .lbd-field input::placeholder,
.lbd-submit-page--v3 .lbd-field textarea::placeholder {
  color: #8d97a5 !important;
  opacity: 1 !important;
}

.lbd-submit-page--v3 .lbd-field input:focus,
.lbd-submit-page--v3 .lbd-field select:focus,
.lbd-submit-page--v3 .lbd-field textarea:focus {
  border-color: #266bb2 !important;
  box-shadow: 0 0 0 2px rgba(38, 107, 178, .12) !important;
}

.lbd-submit-page--v3 .lbd-field small {
  color: #7e8998;
  font-size: 9px;
  font-weight: 500;
}

.lbd-submit-page--v3 .lbd-form-subsection {
  margin-top: 25px;
  padding-top: 21px;
  border-top: 1px solid #e0e5eb;
}

.lbd-submit-page--v3 .lbd-form-subsection h3 {
  margin: 0 0 4px !important;
  color: #233750 !important;
  font-size: 16px !important;
  font-weight: 800 !important;
}

.lbd-submit-page--v3 .lbd-form-subsection > p {
  margin: 0 0 13px !important;
  color: #6f7b8d !important;
  font-size: 10px !important;
}

.lbd-submit-page--v3 .lbd-public-hours {
  border: 1px solid #d5dde6;
  border-radius: 12px;
  overflow: hidden;
}

.lbd-submit-page--v3 .lbd-public-hours-head,
.lbd-submit-page--v3 .lbd-public-hours-row {
  min-height: 49px;
  padding: 7px 13px;
  display: grid;
  grid-template-columns: minmax(100px, 1fr) 135px 135px 100px;
  align-items: center;
  gap: 10px;
}

.lbd-submit-page--v3 .lbd-public-hours-head {
  min-height: 34px;
  color: #697689;
  background: #eef2f6;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}

.lbd-submit-page--v3 .lbd-public-hours-row {
  border-top: 1px solid #e0e5eb;
  background: #fff;
}

.lbd-submit-page--v3 .lbd-public-hours-row strong {
  color: #34475f;
  font-size: 11px;
}

.lbd-submit-page--v3 .lbd-public-hours-row > input {
  width: 100% !important;
  min-height: 35px !important;
  margin: 0 !important;
  padding: 0 8px !important;
  border: 1px solid #cbd4de !important;
  border-radius: 12px !important;
  color: #20354f !important;
  background: #fff !important;
  box-shadow: none !important;
  opacity: 1 !important;
  font-size: 11px !important;
}

.lbd-submit-page--v3 .lbd-public-hours-row label {
  display: flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
}

.lbd-submit-page--v3 .lbd-public-hours-row label input {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
}

.lbd-submit-page--v3 .lbd-public-hours-row label span {
  position: relative;
  width: 30px;
  height: 17px;
  border-radius: 12px;
  background: #c8d0da;
}

.lbd-submit-page--v3 .lbd-public-hours-row label span::after {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #fff;
  content: "";
  transition: transform .16s ease;
}

.lbd-submit-page--v3 .lbd-public-hours-row input:checked + span {
  background: var(--lbd-primary);
}

.lbd-submit-page--v3 .lbd-public-hours-row input:checked + span::after {
  transform: translateX(13px);
}

.lbd-submit-page--v3 .lbd-public-hours-row em {
  color: #58667a;
  font-size: 9px;
  font-style: normal;
}

.lbd-submit-page--v3 .lbd-public-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.lbd-submit-page--v3 .lbd-public-features label {
  min-height: 47px;
  padding: 9px 10px;
  border: 1px solid #d6dde5;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  background: #fff;
}

.lbd-submit-page--v3 .lbd-public-features input {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
}

.lbd-submit-page--v3 .lbd-public-features label > span {
  width: 23px;
  height: 23px;
  border: 1px solid #bbc6d1;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: transparent;
  background: #fff;
}

.lbd-submit-page--v3 .lbd-public-features input:checked + span {
  border-color: var(--lbd-primary);
  color: #fff;
  background: var(--lbd-primary);
}

.lbd-submit-page--v3 .lbd-public-features svg {
  width: 12px;
  height: 12px;
}

.lbd-submit-page--v3 .lbd-public-features strong {
  color: #435269;
  font-size: 10px;
  font-weight: 700;
}

.lbd-submit-page--v3 .lbd-upload-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
}

.lbd-submit-page--v3 .lbd-upload-box {
  min-height: 145px;
  padding: 17px;
  border: 1px dashed #aeb9c6;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: pointer;
  background: #fafbfd;
}

.lbd-submit-page--v3 .lbd-upload-box--wide {
  grid-column: 1 / -1;
  min-height: 115px;
}

.lbd-submit-page--v3 .lbd-upload-box:hover {
  border-color: var(--lbd-primary);
  background: #f5f8fb;
}

.lbd-submit-page--v3 .lbd-upload-box input {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
}

.lbd-submit-page--v3 .lbd-upload-box .dashicons {
  width: auto;
  height: auto;
  margin-bottom: 5px;
  color: var(--lbd-primary);
  font-size: 27px;
}

.lbd-submit-page--v3 .lbd-upload-box strong {
  color: #273b54;
  font-size: 11px;
}

.lbd-submit-page--v3 .lbd-upload-box small {
  margin: 3px 0 9px;
  color: #738093;
  font-size: 9px;
}

.lbd-submit-page--v3 .lbd-upload-box em {
  padding: 5px 9px;
  border: 1px solid #d1d9e2;
  border-radius: 12px;
  color: #31577f;
  background: #fff;
  font-size: 9px;
  font-style: normal;
  font-weight: 750;
}

.lbd-submit-page--v3 .lbd-proposal-commitments {
  margin-top: 21px;
  padding: 13px 15px;
  border: 1px solid #d9e0e7;
  border-radius: 12px;
  background: #f6f8fa;
}

.lbd-submit-page--v3 .lbd-proposal-commitments label {
  padding: 5px 0;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  cursor: pointer;
}

.lbd-submit-page--v3 .lbd-proposal-commitments input {
  width: 15px !important;
  height: 15px !important;
  min-height: 0 !important;
  margin: 2px 0 0 !important;
  padding: 0 !important;
  accent-color: var(--lbd-primary);
}

.lbd-submit-page--v3 .lbd-proposal-commitments p {
  margin: 0 !important;
  color: #566478 !important;
  font-size: 10px !important;
  line-height: 1.45 !important;
}

.lbd-submit-page--v3 .lbd-proposal-actions {
  margin-top: 12px;
  padding: 12px;
  border: 1px solid #d7dee6;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
}

.lbd-submit-page--v3 .lbd-proposal-actions > span {
  margin: auto;
  color: #768194;
  font-size: 9px;
}

.lbd-submit-page--v3 .lbd-proposal-actions .lbd-button,
.lbd-submit-page--v3 .lbd-proposal-success .lbd-button {
  width: auto !important;
  min-height: 43px !important;
  margin: 0 !important;
  padding: 0 17px !important;
  border: 1px solid var(--lbd-primary) !important;
  border-radius: 12px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  color: #fff !important;
  background: var(--lbd-primary) !important;
  box-shadow: none !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  transform: none !important;
}

.lbd-submit-page--v3 .lbd-proposal-actions .lbd-button--outline,
.lbd-submit-page--v3 .lbd-proposal-success .lbd-button--outline {
  border-color: #bfc9d4 !important;
  color: #294968 !important;
  background: #fff !important;
}

.lbd-submit-page--v3 .lbd-proposal-actions .lbd-button:hover,
.lbd-submit-page--v3 .lbd-proposal-success .lbd-button:hover {
  background: #0f315a !important;
}

.lbd-submit-page--v3 .lbd-proposal-actions .lbd-button--outline:hover,
.lbd-submit-page--v3 .lbd-proposal-success .lbd-button--outline:hover {
  color: #fff !important;
}

.lbd-submit-page--v3 .lbd-proposal-actions .lbd-button svg {
  width: 16px;
  height: 16px;
}

.lbd-submit-page--v3 .lbd-form-message {
  margin-bottom: 12px;
  padding: 13px;
  border-radius: 12px;
}

.lbd-submit-page--v3 .lbd-proposal-success {
  padding: 55px 0;
  text-align: center;
  background: #fff;
}

.lbd-submit-page--v3 .lbd-success-mark {
  width: 54px;
  height: 54px;
  margin: 0 auto 15px;
  border-radius: 50%;
}

.lbd-submit-page--v3 .lbd-proposal-success h2 {
  margin: 5px 0 !important;
  color: #172a43 !important;
  font-size: 29px !important;
}

.lbd-submit-page--v3 .lbd-proposal-success p {
  max-width: 650px;
  margin: 0 auto 20px !important;
  color: #647185 !important;
  font-size: 12px !important;
}

/* Favorites use the same readable entry format. */
.lbd-favorites-page .lbd-favorites-content {
  padding-bottom: 45px;
}

.lbd-favorites-page .lbd-place-card--v3 {
  margin-bottom: 0;
}

@media (max-width: 1080px) {
  .lbd-place-card--v3 {
    grid-template-columns: 230px minmax(0, 1fr) 175px;
  }

  .lbd-directory--v3 .lbd-filter-grid {
    grid-template-columns: repeat(3, minmax(130px, 1fr)) auto;
  }

  .lbd-directory--v3 .lbd-filter-checks {
    grid-column: 1 / 4;
    min-height: 28px;
  }

  .lbd-directory--v3 .lbd-clear-filters {
    grid-column: 4;
    grid-row: 2;
  }

  .lbd-submit-page--v3 .lbd-proposal-stepper {
    grid-template-columns: 130px repeat(4, minmax(0, 1fr));
  }

  .lbd-submit-page--v3 .lbd-proposal-stepper button small {
    display: none;
  }
}

@media (max-width: 940px) {
  .lbd-directory--v3 .lbd-container,
  .lbd-submit-page--v3 .lbd-container {
    width: min(100% - 32px, 1280px);
  }

  .lbd-search-panel--v3 {
    grid-template-columns: minmax(240px, 1fr) minmax(190px, .7fr) 145px;
  }

  .lbd-directory--v3 .lbd-filter-panel {
    position: fixed;
    z-index: 100002;
    top: 0;
    bottom: 0;
    left: 0;
    width: min(360px, 91vw);
    margin: 0;
    padding: 20px;
    border: 0;
    border-radius: 0;
    display: block;
    overflow-y: auto;
    transform: translateX(-105%);
    transition: transform .22s ease;
  }

  .lbd-directory--v3 .lbd-filter-panel.is-open {
    transform: translateX(0);
  }

  .lbd-directory--v3 .lbd-filter-head {
    min-height: 48px;
    margin-bottom: 17px;
    padding: 0 0 13px;
    border-right: 0;
    border-bottom: 1px solid #dde3ea;
  }

  .lbd-directory--v3 .lbd-filter-head h2 {
    font-size: 18px !important;
  }

  .lbd-directory--v3 .lbd-filter-head button {
    width: 34px !important;
    height: 34px !important;
    min-height: 34px !important;
    padding: 0 !important;
    border: 1px solid #d3dbe4 !important;
    border-radius: 12px !important;
    display: grid !important;
    place-items: center !important;
    color: #263a53 !important;
    background: #fff !important;
    box-shadow: none !important;
    font-size: 20px !important;
  }

  .lbd-directory--v3 .lbd-filter-grid {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .lbd-directory--v3 .lbd-filter-field > span {
    font-size: 10px;
  }

  .lbd-directory--v3 .lbd-filter-field select {
    min-height: 44px !important;
    font-size: 12px !important;
  }

  .lbd-directory--v3 .lbd-filter-checks {
    min-height: 78px;
    padding: 12px 0;
    border-top: 1px solid #e0e5eb;
    border-bottom: 1px solid #e0e5eb;
    flex-direction: column;
    align-items: flex-start;
  }

  .lbd-directory--v3 .lbd-clear-filters {
    min-height: 42px !important;
  }

  .lbd-directory--v3 .lbd-mobile-filter {
    min-height: 38px !important;
    padding: 0 11px !important;
    border: 1px solid var(--lbd-primary) !important;
    border-radius: 12px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    color: #fff !important;
    background: var(--lbd-primary) !important;
    box-shadow: none !important;
    font-size: 10px !important;
    font-weight: 800 !important;
  }

  .lbd-directory--v3 .lbd-mobile-filter span:not(:empty) {
    min-width: 16px;
    padding: 1px 4px;
    color: #18324f;
    background: #fff;
    text-align: center;
  }

  .lbd-directory--v3 .lbd-filter-backdrop:not([hidden]) {
    position: fixed;
    z-index: 100001;
    inset: 0;
    display: block;
    background: rgba(7, 19, 34, .57);
  }

  .lbd-place-card--v3 {
    grid-template-columns: 215px minmax(0, 1fr);
  }

  .lbd-place-card--v3 .lbd-card-actions {
    grid-column: 2;
    padding: 0 22px 19px;
    border-left: 0;
    border-top: 1px solid #e1e6ec;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    background: #fff;
  }

  .lbd-place-card--v3 .lbd-favorite {
    margin-right: auto !important;
  }

  .lbd-place-card--v3 .lbd-card-rating {
    display: none;
  }

  .lbd-place-card--v3 .lbd-card-link {
    min-width: 135px;
  }
}

@media (max-width: 760px) {
  body.lbd-public-directory .lbd-directory--v3,
  body.lbd-public-submit .lbd-submit-page--v3 {
    padding-bottom: 78px;
  }

  .lbd-guide-intro {
    min-height: 0;
    padding-block: 25px;
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .lbd-guide-tools {
    min-width: 0;
    padding: 0 0 0 20px;
    border-left: 4px solid #dce2e9;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
  }

  .lbd-guide-tools p {
    margin: 0 !important;
  }

  .lbd-search-panel--v3 {
    padding: 6px;
    grid-template-columns: 1fr;
  }

  .lbd-search-panel--v3 .lbd-search-main {
    border-right: 0;
    border-bottom: 1px solid #dce2e9;
  }

  .lbd-search-panel--v3 label {
    min-height: 56px;
  }

  .lbd-search-submit {
    min-height: 46px !important;
    margin-top: 6px !important;
  }

  .lbd-submit-page--v3 .lbd-proposal-stepper {
    position: sticky;
    z-index: 20;
    top: 5px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .admin-bar .lbd-submit-page--v3 .lbd-proposal-stepper {
    top: 51px;
  }

  .lbd-submit-page--v3 .lbd-proposal-stepper > p {
    display: none;
  }

  .lbd-submit-page--v3 .lbd-proposal-stepper > button {
    min-height: 58px !important;
    padding: 7px 5px !important;
    border-left: 0 !important;
    border-right: 1px solid #e0e5eb !important;
    flex-direction: column !important;
    justify-content: center !important;
    gap: 4px !important;
    text-align: center !important;
  }

  .lbd-submit-page--v3 .lbd-proposal-stepper > button:last-child {
    border-right: 0 !important;
  }

  .lbd-submit-page--v3 .lbd-proposal-stepper button strong {
    font-size: 8px;
  }

  .lbd-submit-page--v3 .lbd-proposal-panel {
    padding: 25px 22px;
  }
}

@media (max-width: 600px) {
  .lbd-directory--v3 .lbd-container,
  .lbd-submit-page--v3 .lbd-container {
    width: min(100% - 22px, 1280px);
  }

  .lbd-guide-copy {
    padding-left: 14px;
    border-left-width: 3px;
  }

  .lbd-guide-copy h1 {
    font-size: 31px !important;
  }

  .lbd-guide-copy p {
    font-size: 12px !important;
  }

  .lbd-guide-tools {
    padding-left: 14px;
    border-left-width: 3px;
  }

  .lbd-guide-tools p strong {
    font-size: 21px;
  }

  .lbd-guide-tools p span {
    font-size: 9px;
  }

  .lbd-guide-tools > a {
    font-size: 10px;
  }

  .lbd-search-band {
    padding: 11px 0;
  }

  .lbd-directory--v3 .lbd-category-row button {
    min-height: 47px !important;
    padding: 0 12px !important;
  }

  .lbd-directory--v3 .lbd-explorer-section {
    padding-top: 18px;
  }

  .lbd-directory--v3 .lbd-results-toolbar {
    align-items: flex-end;
  }

  .lbd-directory--v3 .lbd-results-toolbar > div:first-child > strong {
    font-size: 16px;
  }

  .lbd-directory--v3 .lbd-toolbar-actions label > span {
    display: none;
  }

  .lbd-directory--v3 .lbd-toolbar-actions select {
    min-width: 0 !important;
    max-width: 132px !important;
    font-size: 10px !important;
  }

  .lbd-place-card--v3 {
    min-height: 0;
    display: block;
  }

  .lbd-place-card--v3 .lbd-card-cover {
    height: 180px;
    min-height: 180px;
  }

  .lbd-place-card--v3 .lbd-card-body {
    padding: 19px 18px 17px;
  }

  .lbd-place-card--v3 .lbd-card-title-row h2 {
    font-size: 20px !important;
  }

  .lbd-place-card--v3 .lbd-card-contact {
    flex-direction: column;
    gap: 5px;
  }

  .lbd-place-card--v3 .lbd-card-actions {
    padding: 13px 18px 17px;
    border-top: 1px solid #e1e6ec;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
  }

  .lbd-place-card--v3 .lbd-favorite {
    margin: 0 !important;
  }

  .lbd-place-card--v3 .lbd-open-status {
    justify-self: end;
  }

  .lbd-place-card--v3 .lbd-card-link {
    grid-column: 1 / -1;
    width: 100%;
  }

  .lbd-directory-final-cta .lbd-container {
    align-items: flex-start;
    flex-direction: column;
    gap: 13px;
  }

  .lbd-directory-final-cta a {
    width: 100%;
    justify-content: space-between;
  }

  .lbd-submit-page--v3 .lbd-proposal-heading {
    padding-bottom: 23px;
  }

  .lbd-submit-page--v3 .lbd-proposal-heading h1 {
    font-size: 30px !important;
  }

  .lbd-submit-page--v3 .lbd-proposal-workspace {
    padding-top: 16px;
  }

  .lbd-proposal-guidance {
    font-size: 9px !important;
  }

  .lbd-submit-page--v3 .lbd-proposal-panel {
    padding: 22px 16px;
  }

  .lbd-submit-page--v3 .lbd-panel-intro h2 {
    font-size: 21px !important;
  }

  .lbd-submit-page--v3 .lbd-form-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .lbd-submit-page--v3 .lbd-field--full {
    grid-column: auto;
  }

  .lbd-submit-page--v3 .lbd-public-hours-head {
    display: none;
  }

  .lbd-submit-page--v3 .lbd-public-hours-row {
    padding: 10px;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .lbd-submit-page--v3 .lbd-public-hours-row strong {
    grid-column: 1 / -1;
  }

  .lbd-submit-page--v3 .lbd-public-hours-row label {
    justify-content: flex-end;
  }

  .lbd-submit-page--v3 .lbd-public-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lbd-submit-page--v3 .lbd-upload-grid {
    grid-template-columns: 1fr;
  }

  .lbd-submit-page--v3 .lbd-upload-box--wide {
    grid-column: auto;
  }

  .lbd-submit-page--v3 .lbd-proposal-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .lbd-submit-page--v3 .lbd-proposal-actions > span {
    order: -1;
    margin: 0;
    text-align: center;
  }

  .lbd-submit-page--v3 .lbd-proposal-actions .lbd-button {
    width: 100% !important;
  }

  .lbd-submit-page--v3 .lbd-proposal-success .lbd-container > div:last-child {
    align-items: stretch;
    flex-direction: column;
  }

  .lbd-submit-page--v3 .lbd-proposal-success .lbd-button {
    width: 100% !important;
  }
}

/* Action layout rules above must never override the wizard state. */
.lbd-submit-page--v3 .lbd-proposal-actions .lbd-button[hidden],
.lbd-submit-page--v3 .lbd-proposal-panel[hidden],
.lbd-directory--v3 .lbd-loading[hidden] {
  display: none !important;
}

/* ------------------------------------------------------------------ */
/* Premium polish layer (v4.0.0) — additive, non-destructive touches. */
/* ------------------------------------------------------------------ */

.lbd-badge--selection {
  background: linear-gradient(135deg, var(--lbd-accent), color-mix(in srgb, var(--lbd-accent) 70%, #fff));
  box-shadow: 0 6px 14px -6px color-mix(in srgb, var(--lbd-accent) 65%, transparent);
}

.lbd-place-card--v3.is-featured::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--lbd-accent), color-mix(in srgb, var(--lbd-accent) 40%, #fff));
  content: "";
}

.lbd-loading i {
  background: var(--lbd-primary);
  box-shadow: 0 4px 10px -3px color-mix(in srgb, var(--lbd-primary) 60%, transparent);
}

.lbd-directory--v3 ::-webkit-scrollbar,
.lbd-submit-page--v3 ::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

.lbd-directory--v3 ::-webkit-scrollbar-thumb,
.lbd-submit-page--v3 ::-webkit-scrollbar-thumb {
  border: 2px solid #fff;
  border-radius: 10px;
  background: #c7d0da;
}

.lbd-directory--v3 .lbd-guide-tools > a:hover,
.lbd-single-nav a:hover {
  text-decoration-color: var(--lbd-primary);
}

.lbd-single-summary a,
.lbd-map-card > a,
.lbd-share-card a,
.lbd-share-card button {
  transition: color .18s ease, background-color .18s ease, transform .18s ease;
}

.lbd-share-card a:hover,
.lbd-share-card button:hover {
  transform: translateY(-2px);
}

.lbd-offer-code {
  transition: transform .18s ease, box-shadow .18s ease;
}

.lbd-offer-code:hover {
  box-shadow: 0 8px 18px -8px rgba(197, 154, 54, .45);
  transform: translateY(-2px);
}

.lbd-rating-input label {
  transition: color .15s ease, transform .15s ease;
}

.lbd-rating-input label:hover {
  transform: scale(1.08);
}

.lbd-upload-box,
.lbd-form-section,
.lbd-content-section,
.lbd-info-card,
.lbd-map-card,
.lbd-share-card,
.lbd-aside-card,
.lbd-aside-note {
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}

.lbd-gallery button {
  transition: transform .3s var(--lbd-ease), box-shadow .3s ease;
}

.lbd-gallery button:hover {
  box-shadow: var(--lbd-shadow-sm);
}

.lbd-review-form,
.lbd-no-reviews {
  transition: box-shadow .2s ease;
}

@media (prefers-reduced-motion: reduce) {
  .lbd-place-card--v3,
  .lbd-search-submit,
  .lbd-card-link,
  .lbd-offer-code,
  .lbd-share-card a,
  .lbd-share-card button {
    transition: none !important;
  }
}

/* ------------------------------------------------------------------ */
/* Interactive directory map ([lbd_map]) — v4.1.0                     */
/* ------------------------------------------------------------------ */

.lbd-map-block {
  position: relative;
  border: 1px solid var(--lbd-line);
  border-radius: var(--lbd-radius-md);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--lbd-shadow-sm);
}

.lbd-map-canvas {
  width: 100%;
  min-height: 320px;
  background: #eef1f5;
}

.lbd-map-canvas .leaflet-container {
  font-family: var(--lbd-font-body);
}

.lbd-map-empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--lbd-muted);
  background: #f5f7fa;
  font-size: 13px;
  font-weight: 600;
}

.lbd-map-pin span {
  display: block;
  width: 26px;
  height: 26px;
  border: 3px solid #fff;
  border-radius: 50% 50% 50% 0;
  box-shadow: 0 6px 14px -4px rgba(16, 35, 63, .45);
  transform: rotate(-45deg);
}

.lbd-map-popup { width: 220px; }

.lbd-map-popup .leaflet-popup-content-wrapper,
.leaflet-popup-content-wrapper {
  padding: 0;
  border-radius: 14px;
  overflow: hidden;
}

.leaflet-popup-content { margin: 0 !important; width: auto !important; }

.lbd-map-popup-media {
  position: relative;
  height: 100px;
  overflow: hidden;
  background: var(--lbd-primary);
}

.lbd-map-popup-media img { width: 100%; height: 100%; object-fit: cover; }

.lbd-map-popup-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: #fff;
  font-size: 28px;
  font-weight: 800;
}

.lbd-map-popup-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 3px 8px;
  border-radius: 20px;
  color: #2e2507;
  background: var(--lbd-accent);
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}

.lbd-map-popup-badge--new { color: #fff; background: #0a7a4c; }

.lbd-map-popup-body { padding: 12px 14px 14px; }

.lbd-map-popup-meta {
  display: block;
  margin-bottom: 2px;
  color: var(--lbd-muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.lbd-map-popup-body h4 {
  margin: 0 0 6px;
  color: var(--lbd-ink);
  font-family: var(--lbd-font-display);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.3;
}

.lbd-map-popup-rating {
  display: block;
  margin-bottom: 6px;
  color: #b5860a;
  font-size: 12px;
}

.lbd-map-popup-rating--empty { color: var(--lbd-muted); font-size: 11px; }

.lbd-map-popup-open {
  display: inline-block;
  margin-bottom: 9px;
  padding: 2px 8px;
  border-radius: 20px;
  color: #5e6878;
  background: #f0f2f5;
  font-size: 9px;
  font-weight: 700;
}

.lbd-map-popup-open.is-open { color: #0a7a4c; background: #e4f5ee; }

.lbd-map-popup-body a {
  display: inline-flex;
  align-items: center;
  color: #fff;
  background: var(--lbd-primary);
  border-radius: 10px;
  padding: 7px 11px;
  font-size: 11px;
  font-weight: 800;
  transition: transform .18s ease, background-color .18s ease;
}

.lbd-map-popup-body a:hover {
  background: color-mix(in srgb, var(--lbd-primary) 85%, #000);
  transform: translateY(-1px);
}

/* ------------------------------------------------------------------ */
/* "Réclamer cette fiche" — claim listing card + form (single page)   */
/* ------------------------------------------------------------------ */

.lbd-claim-card {
  padding: 18px 20px;
  border: 1px solid var(--lbd-line);
  border-radius: var(--lbd-radius-md);
  display: block;
  background: #fbfbfd;
  box-shadow: var(--lbd-shadow-xs);
}

.lbd-claim-card > strong {
  display: block;
  margin-bottom: 4px;
  color: var(--lbd-ink);
  font-family: var(--lbd-font-display);
  font-size: 14px;
  font-weight: 800;
}

.lbd-claim-card > p {
  margin: 0 0 12px;
  color: var(--lbd-muted);
  font-size: 12px;
  line-height: 1.5;
}

.lbd-claim-card .lbd-button--outline {
  width: 100%;
  justify-content: center;
  border: 1px solid var(--lbd-primary);
  color: var(--lbd-primary);
  background: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 10px 14px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
}

.lbd-claim-card .lbd-button--outline:hover {
  color: #fff;
  background: var(--lbd-primary);
}

.lbd-claim-form {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--lbd-line);
}

.lbd-claim-form__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  color: var(--lbd-ink);
  font-size: 12px;
  font-weight: 800;
}

.lbd-claim-form__head button {
  border: 0;
  background: transparent;
  color: var(--lbd-muted);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.lbd-claim-form .lbd-field {
  display: block;
  margin-bottom: 10px;
}

.lbd-claim-form .lbd-field > span {
  display: block;
  margin-bottom: 4px;
  color: var(--lbd-muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.lbd-claim-form .lbd-field > span b { color: #c0392b; font-weight: 700; }

.lbd-claim-form input,
.lbd-claim-form select,
.lbd-claim-form textarea {
  width: 100%;
  min-height: 38px;
  padding: 0 11px;
  border: 1px solid #cfd7e0;
  border-radius: 10px;
  color: var(--lbd-ink);
  background: #fff;
  font-size: 12px;
  font-family: var(--lbd-font-body);
}

.lbd-claim-form textarea { min-height: 70px; padding: 8px 11px; resize: vertical; }

.lbd-claim-form input:focus,
.lbd-claim-form select:focus,
.lbd-claim-form textarea:focus {
  outline: none;
  border-color: var(--lbd-primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--lbd-primary) 15%, transparent);
}

.lbd-claim-form .lbd-button--primary {
  width: 100%;
  justify-content: center;
  margin-top: 4px;
  padding: 11px 14px;
  border: 0;
  border-radius: 10px;
  color: #fff;
  background: var(--lbd-primary);
  font-size: 12px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  transition: transform .18s ease, background-color .18s ease;
}

.lbd-claim-form .lbd-button--primary:hover { background: color-mix(in srgb, var(--lbd-primary) 85%, #000); transform: translateY(-1px); }
.lbd-claim-form .lbd-button--primary:disabled { opacity: .6; cursor: not-allowed; transform: none; }

.lbd-claim-response {
  margin: 4px 0 10px;
  font-size: 11px;
  font-weight: 700;
  min-height: 0;
}

.lbd-claim-response.is-success { color: #0a7a4c; }
.lbd-claim-response.is-error { color: #c0392b; }

/* Admin: received claim requests, shown in the place status meta box */
.lbd-claims-list .lbd-claim-entry {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed #dbe1e8;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.lbd-claims-list .lbd-claim-entry span { color: #263a53; font-size: 11px; font-weight: 700; }
.lbd-claims-list .lbd-claim-entry a { color: #0b5fc2; font-size: 10px; }
.lbd-claims-list .lbd-claim-entry em { color: #687589; font-size: 10px; font-style: normal; }
.lbd-claims-list .lbd-claim-entry small { color: #a3adba; font-size: 9px; }
