/* FamilyCon Head Office and contact-page enhancements.
   Loaded only by the About and Contact pages. */

.fc-local-breadcrumb {
  width: min(1180px, calc(100% - 32px));
  margin: 18px auto 0;
}

.fc-local-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #526477;
  font-size: 0.94rem;
}

.fc-local-breadcrumb li + li::before {
  content: "/";
  margin-right: 8px;
  color: #8b98a5;
}

.fc-local-breadcrumb a {
  color: #066a73;
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.fc-contact-directory,
.fc-head-office-section {
  padding: clamp(48px, 7vw, 84px) 0;
}

.fc-contact-directory {
  background: #f5f8fa;
}

.fc-head-office-section {
  background: #fffdf7;
}

.fc-location-wrap {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.fc-section-kicker {
  margin: 0 0 8px;
  color: #087b83;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.fc-location-wrap > h2 {
  max-width: 820px;
  margin: 0;
  color: #062a4d;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  line-height: 1.15;
}

.fc-section-intro {
  max-width: 780px;
  margin: 14px 0 28px;
  color: #41556a;
  font-size: 1.05rem;
  line-height: 1.7;
}

.fc-support-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.fc-support-card,
.fc-location-card {
  min-width: 0;
  border: 1px solid rgba(6, 42, 77, 0.12);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(6, 42, 77, 0.08);
}

.fc-support-card {
  padding: 24px;
}

.fc-support-card h3,
.fc-location-card h3 {
  margin: 0 0 10px;
  color: #062a4d;
  font-size: 1.15rem;
}

.fc-support-card p,
.fc-location-card p,
.fc-location-card address {
  margin: 0;
  color: #41556a;
  font-style: normal;
  line-height: 1.65;
}

.fc-support-card a,
.fc-location-card a,
.fc-location-actions a {
  color: #066a73;
  font-weight: 750;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.fc-support-card a {
  overflow-wrap: anywhere;
}

.fc-office-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.75fr);
  gap: 24px;
  align-items: stretch;
}

.fc-office-map-wrap {
  width: 100%;
  min-height: 320px;
  height: clamp(420px, 42vw, 450px);
  overflow: hidden;
  border: 1px solid rgba(6, 42, 77, 0.12);
  border-radius: 18px;
  background: #e8eef2;
  box-shadow: 0 16px 36px rgba(6, 42, 77, 0.12);
}

.fc-office-map-wrap iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.fc-location-stack {
  display: grid;
  gap: 18px;
}

.fc-location-card {
  padding: 24px;
}

.fc-location-card--head-office {
  border-top: 5px solid #087b83;
}

.fc-location-card--venue {
  border-top: 5px solid #c7942f;
}

.fc-location-label {
  display: inline-block;
  margin-bottom: 10px;
  color: #657689;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.fc-location-note {
  margin-top: 14px !important;
  padding-top: 14px;
  border-top: 1px solid rgba(6, 42, 77, 0.1);
  font-size: 0.94rem;
}

.fc-location-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 16px;
}

.fc-about-office-summary {
  margin: 0 0 clamp(48px, 7vw, 84px);
}

.fc-about-office-summary .fc-office-layout {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fc-about-office-summary .fc-location-card {
  padding: clamp(24px, 4vw, 36px);
}

.fc-local-breadcrumb a:focus-visible,
.fc-support-card a:focus-visible,
.fc-location-card a:focus-visible,
.fc-location-actions a:focus-visible {
  outline: 3px solid #c7942f;
  outline-offset: 4px;
  border-radius: 3px;
}

@media (max-width: 900px) {
  .fc-support-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fc-office-layout,
  .fc-about-office-summary .fc-office-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .fc-local-breadcrumb,
  .fc-location-wrap {
    width: min(100% - 24px, 1180px);
  }

  .fc-support-grid {
    grid-template-columns: 1fr;
  }

  .fc-support-card,
  .fc-location-card {
    padding: 20px;
  }

  .fc-office-map-wrap {
    min-height: 320px;
    height: 320px;
    border-radius: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fc-local-breadcrumb *,
  .fc-contact-directory *,
  .fc-head-office-section * {
    scroll-behavior: auto !important;
  }
}
