/* BCF-WEB-009B: Locations Page V1 staging presentation. */

.bcf-web009b-active .bcf-locations-v1,
.bcf-web009b-active .bcf-locations-v1 * {
  box-sizing: border-box;
}

.bcf-web009b-active .bcf-locations-v1 {
  --bcf-009b-red: var(--bcf-r2-red, #d5232f);
  --bcf-009b-red-dark: var(--bcf-r2-red-dark, #b71824);
  --bcf-009b-ink: var(--bcf-r2-ink, #171a1f);
  --bcf-009b-muted: var(--bcf-r2-muted, #5f6670);
  --bcf-009b-line: #e6e1de;
  --bcf-009b-warm: var(--bcf-r2-warm, #fbf8f5);
  --bcf-009b-pale: var(--bcf-r2-pale, #fff3f2);
  background: #fff;
  color: var(--bcf-009b-ink);
  overflow: clip;
}

.bcf-web009b-active .bcf-locations-v1__inner {
  margin-inline: auto;
  max-width: 1180px;
  padding-inline: 24px;
  width: 100%;
}

.bcf-web009b-active .bcf-locations-v1__hero {
  background:
    radial-gradient(circle at 83% 18%, rgba(213, 35, 47, 0.08), transparent 26%),
    linear-gradient(112deg, #fff 0%, #fff 52%, #fff5f3 100%);
  border-bottom: 1px solid #f0ebe7;
  min-height: 390px;
  overflow: hidden;
  position: relative;
}

.bcf-web009b-active .bcf-locations-v1__hero-grid {
  align-items: center;
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  min-height: 390px;
  padding-block: 56px 54px;
  position: relative;
}

.bcf-web009b-active .bcf-locations-v1__hero-copy {
  margin: 0;
  max-width: 720px;
  position: relative;
  z-index: 2;
}

.bcf-web009b-active .bcf-locations-v1__eyebrow {
  color: var(--bcf-009b-red-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1.3;
  margin: 0 0 12px;
}

.bcf-web009b-active .bcf-locations-v1__title {
  color: var(--bcf-009b-ink);
  font-size: clamp(42px, 4.5vw, 60px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.02;
  margin: 0;
  max-width: 700px;
}

.bcf-web009b-active .bcf-locations-v1__lead {
  color: var(--bcf-009b-muted);
  font-size: 18px;
  line-height: 1.6;
  margin: 18px 0 0;
  max-width: 620px;
}

.bcf-web009b-active .bcf-locations-v1__hero-action {
  margin: 26px 0 0;
}

.bcf-web009b-active .bcf-locations-v1__hero-action .wp-block-button__link,
.bcf-web009b-active .bcf-locations-v1__callout-action .wp-block-button__link {
  align-items: center;
  background: var(--bcf-009b-red);
  border: 1px solid var(--bcf-009b-red);
  border-radius: 8px;
  color: #fff;
  display: inline-flex;
  font-size: 15px;
  font-weight: 750;
  justify-content: center;
  min-height: 46px;
  padding: 11px 21px;
  text-decoration: none;
}

.bcf-web009b-active .bcf-locations-v1__hero-action .wp-block-button__link:hover,
.bcf-web009b-active .bcf-locations-v1__hero-action .wp-block-button__link:focus-visible,
.bcf-web009b-active .bcf-locations-v1__callout-action .wp-block-button__link:hover,
.bcf-web009b-active .bcf-locations-v1__callout-action .wp-block-button__link:focus-visible {
  background: var(--bcf-009b-red-dark);
  border-color: var(--bcf-009b-red-dark);
  color: #fff;
}

.bcf-web009b-active .bcf-locations-v1__hero-art {
  align-items: center;
  display: flex;
  height: 300px;
  justify-content: center;
  pointer-events: none;
  position: relative;
  width: 100%;
}

.bcf-web009b-active .bcf-locations-v1__map-shape {
  background: linear-gradient(135deg, rgba(213, 35, 47, 0.16), rgba(213, 35, 47, 0.07));
  display: block;
  height: 260px;
  -webkit-mask: url("../../bcf-web-007b-r3/assets/bcf-canada-silhouette.png") center / contain no-repeat;
  mask: url("../../bcf-web-007b-r3/assets/bcf-canada-silhouette.png") center / contain no-repeat;
  width: 380px;
}

.bcf-web009b-active .bcf-locations-v1__map-pin {
  background: #fff;
  border: 4px solid var(--bcf-009b-red);
  border-radius: 50% 50% 50% 0;
  box-shadow: 0 5px 13px rgba(72, 23, 28, 0.18);
  height: 18px;
  position: absolute;
  transform: rotate(-45deg);
  width: 18px;
}

.bcf-web009b-active .bcf-locations-v1__map-pin--west { left: 24%; top: 48%; }
.bcf-web009b-active .bcf-locations-v1__map-pin--central { left: 51%; top: 54%; }
.bcf-web009b-active .bcf-locations-v1__map-pin--east { right: 18%; top: 57%; }

.bcf-web009b-active .bcf-locations-v1__directory {
  background: var(--bcf-009b-warm);
  padding-block: 52px 58px;
}

.bcf-web009b-active .bcf-locations-v1__section-title {
  color: var(--bcf-009b-ink);
  font-size: clamp(28px, 2.7vw, 36px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 0 0 26px;
}

.bcf-web009b-active .bcf-locations-v1__province-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bcf-web009b-active .bcf-locations-v1__province {
  background: #fff;
  border: 1px solid var(--bcf-009b-line);
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(25, 29, 34, 0.06);
  min-width: 0;
  overflow: hidden;
}

.bcf-web009b-active .bcf-locations-v1__province-head {
  align-items: center;
  background: linear-gradient(100deg, var(--bcf-009b-pale), #fff9f7);
  border-bottom: 1px solid #f1e6e3;
  display: grid;
  gap: 14px;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  min-height: 98px;
  padding: 18px 22px;
  position: relative;
}

.bcf-web009b-active .bcf-locations-v1__province-icon {
  align-items: center;
  background: #fff;
  border: 1px solid rgba(213, 35, 47, 0.15);
  border-radius: 12px;
  color: var(--bcf-009b-red);
  display: inline-flex;
  height: 48px;
  justify-content: center;
  width: 48px;
}

.bcf-web009b-active .bcf-locations-v1__province-icon svg,
.bcf-web009b-active .bcf-locations-v1__city-icon svg {
  fill: none;
  height: 23px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  width: 23px;
}

.bcf-web009b-active .bcf-locations-v1__province-label {
  color: var(--bcf-009b-red-dark);
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.2;
  margin-bottom: 5px;
  text-transform: uppercase;
}

.bcf-web009b-active .bcf-locations-v1__province h3 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0;
}

.bcf-web009b-active .bcf-locations-v1__province h3 a {
  color: var(--bcf-009b-ink);
  display: inline-flex;
  min-height: 44px;
  position: relative;
  text-decoration: none;
  z-index: 1;
}

.bcf-web009b-active .bcf-locations-v1__province h3 a::after {
  content: "";
  inset: 0;
  position: absolute;
}

.bcf-web009b-active .bcf-locations-v1__province-arrow {
  color: var(--bcf-009b-red);
  font-size: 22px;
  font-weight: 700;
}

.bcf-web009b-active .bcf-locations-v1__cities {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 20px 22px 22px;
}

.bcf-web009b-active .bcf-locations-v1__city {
  align-items: center;
  background: #fff;
  border: 1px solid #e2e4e8;
  border-radius: 10px;
  color: var(--bcf-009b-ink);
  display: flex;
  font-size: 15px;
  font-weight: 700;
  gap: 10px;
  min-height: 54px;
  padding: 11px 14px;
  text-decoration: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.bcf-web009b-active .bcf-locations-v1__city-icon {
  color: var(--bcf-009b-red);
  display: inline-flex;
  flex: 0 0 24px;
}

.bcf-web009b-active .bcf-locations-v1__city:hover,
.bcf-web009b-active .bcf-locations-v1__city:focus-visible {
  border-color: rgba(213, 35, 47, 0.38);
  box-shadow: 0 6px 15px rgba(25, 29, 34, 0.08);
  color: var(--bcf-009b-red-dark);
  transform: translateY(-1px);
}

.bcf-web009b-active .bcf-locations-v1__empty {
  color: var(--bcf-009b-muted);
  margin: 0;
}

.bcf-web009b-active .bcf-locations-v1__search-callout {
  background: #fff;
  padding-block: 44px 50px;
}

.bcf-web009b-active .bcf-locations-v1__callout {
  align-items: center;
  background: linear-gradient(100deg, #fff1f1, #fff8f5);
  border: 1px solid rgba(213, 35, 47, 0.12);
  border-radius: 12px;
  display: grid;
  gap: 20px;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  padding: 24px 28px;
}

.bcf-web009b-active .bcf-locations-v1__callout-icon {
  align-items: center;
  color: var(--bcf-009b-red);
  display: flex;
  height: 52px;
  justify-content: center;
  width: 52px;
}

.bcf-web009b-active .bcf-locations-v1__callout-icon svg {
  fill: none;
  height: 36px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 2;
  width: 36px;
}

.bcf-web009b-active .bcf-locations-v1__callout-copy h2 {
  color: var(--bcf-009b-ink);
  font-size: clamp(23px, 2.2vw, 29px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin: 0;
}

.bcf-web009b-active .bcf-locations-v1__callout-copy p {
  color: var(--bcf-009b-muted);
  font-size: 15px;
  line-height: 1.55;
  margin: 7px 0 0;
}

.bcf-web009b-active .bcf-locations-v1 :where(a, button):focus-visible {
  outline: 2px solid var(--bcf-009b-red-dark);
  outline-offset: 3px;
}

@media (max-width: 991.98px) {
  .bcf-web009b-active .bcf-locations-v1__hero-grid {
    gap: 24px;
    grid-template-columns: minmax(0, 1.2fr) minmax(250px, 0.8fr);
  }

  .bcf-web009b-active .bcf-locations-v1__map-shape {
    height: 220px;
    width: 300px;
  }

  .bcf-web009b-active .bcf-locations-v1__cities {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  .bcf-web009b-active .bcf-locations-v1__inner {
    padding-inline: 20px;
  }

  .bcf-web009b-active .bcf-locations-v1__hero,
  .bcf-web009b-active .bcf-locations-v1__hero-grid {
    min-height: 0;
  }

  .bcf-web009b-active .bcf-locations-v1__hero-grid {
    grid-template-columns: 1fr;
    padding-block: 44px 40px;
  }

  .bcf-web009b-active .bcf-locations-v1__hero-art {
    height: 150px;
    opacity: 0.8;
    position: absolute;
    right: -48px;
    top: 20px;
    width: 230px;
  }

  .bcf-web009b-active .bcf-locations-v1__map-shape {
    height: 150px;
    width: 230px;
  }

  .bcf-web009b-active .bcf-locations-v1__map-pin { display: none; }

  .bcf-web009b-active .bcf-locations-v1__title {
    font-size: clamp(38px, 10.5vw, 48px);
    max-width: 540px;
  }

  .bcf-web009b-active .bcf-locations-v1__lead {
    font-size: 16px;
    max-width: 440px;
  }

  .bcf-web009b-active .bcf-locations-v1__directory {
    padding-block: 38px 44px;
  }

  .bcf-web009b-active .bcf-locations-v1__section-title {
    margin-bottom: 20px;
  }

  .bcf-web009b-active .bcf-locations-v1__province-grid {
    grid-template-columns: 1fr;
  }

  .bcf-web009b-active .bcf-locations-v1__cities {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bcf-web009b-active .bcf-locations-v1__search-callout {
    padding-block: 34px 40px;
  }

  .bcf-web009b-active .bcf-locations-v1__callout {
    align-items: start;
    gap: 14px;
    grid-template-columns: 50px minmax(0, 1fr);
    padding: 22px;
  }

  .bcf-web009b-active .bcf-locations-v1__callout-icon {
    height: 44px;
    width: 44px;
  }

  .bcf-web009b-active .bcf-locations-v1__callout-action {
    grid-column: 1 / -1;
    margin-top: 4px;
    width: 100%;
  }

  .bcf-web009b-active .bcf-locations-v1__callout-action .wp-block-button,
  .bcf-web009b-active .bcf-locations-v1__callout-action .wp-block-button__link {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .bcf-web009b-active .bcf-locations-v1__hero-art {
    opacity: 0.5;
    right: -88px;
  }

  .bcf-web009b-active .bcf-locations-v1__hero-copy {
    max-width: 100%;
  }

  .bcf-web009b-active .bcf-locations-v1__cities {
    grid-template-columns: 1fr;
  }

  .bcf-web009b-active .bcf-locations-v1__province-head {
    gap: 12px;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    padding-inline: 17px;
  }

  .bcf-web009b-active .bcf-locations-v1__province-icon {
    height: 44px;
    width: 44px;
  }

  .bcf-web009b-active .bcf-locations-v1__cities {
    padding: 17px;
  }
}

@media (max-width: 340px) {
  .bcf-web009b-active .bcf-locations-v1__inner {
    padding-inline: 16px;
  }

  .bcf-web009b-active .bcf-locations-v1__title {
    font-size: 36px;
  }

  .bcf-web009b-active .bcf-locations-v1__hero-action,
  .bcf-web009b-active .bcf-locations-v1__hero-action .wp-block-button,
  .bcf-web009b-active .bcf-locations-v1__hero-action .wp-block-button__link {
    width: 100%;
  }

  .bcf-web009b-active .bcf-locations-v1__province h3 {
    font-size: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bcf-web009b-active .bcf-locations-v1__city {
    transition: none;
  }
}
