
/* Education section subheadings — match Figma: text-brand-secondary, font-weight 450 */
.education-subheading {
  --outline-heading-color-override: var(--text-brand-secondary);
}
.education-subheading h3 {
  font-weight: var(--font-weight-variable, 450);
}

/* Locations heading: full name on desktop, short on mobile */
.locations-heading-mobile { display: none; }

@media (max-width: 1023px) {
  .locations-heading-desktop { display: none; }
  .locations-heading-mobile  { display: block; }
}

/* Locations section two-column layout */
.provider-locations-layout {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-top: var(--space-xl-fluid, clamp(1.5rem, 3vw, 3rem));
}

/* Mobile: map appears first */
@media (max-width: 1023px) {
  .locations-map { order: -1; }
}

/* Desktop: side by side — list left, map right */
@media (min-width: 1024px) {
  .provider-locations-layout {
    flex-direction: row;
    align-items: flex-start;
    gap: 2rem;
  }
  .locations-list { width: 50%; }
  .locations-map  { width: 50%; }
}

/* Mobile Sticky Top Bar (name bar + jump nav, mobile only) */
.mobile-sticky-top-bar {
  display: none; /* hidden on desktop */
}

/* Mobile Provider Name Bar — styles used inside the sticky top bar */
.mobile-provider-name-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: white;
  border-bottom: 1px solid var(--border-brand-primary, #e5e7eb);
}

@media (max-width: 768px) {
  /* Show sticky top bar on mobile, hide desktop jump nav */
  .mobile-sticky-top-bar {
    display: block;
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 998;
    background: white;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  }

  .desktop-only-jump-nav {
    display: none;
  }
}

/* Mobile Sticky Book Appointment Card Styles */
.mobile-sticky-appointment-card {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: white;
  border-top: 1px solid #e5e7eb;
  box-shadow: 0 -4px 6px -1px rgb(0 0 0 / 0.1), 0 -2px 4px -2px rgb(0 0 0 / 0.1);
  padding: 1rem;
  display: none; /* Hidden by default, shown only on mobile */
}

/* Show only on mobile devices */
@media (max-width: 768px) {
  .mobile-sticky-appointment-card {
    display: block;
  }
  .mobile-hide {
    display: none;
  }
}

/* Style the content container */
.sticky-appointment-content {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
  max-width: 100%;
  margin-top: 1rem;
}

/* Style the buttons */
.primary-button {
  flex: 1;
  max-width: none;
}

.primary-button outline-cta {
  width: 100%;
}

.secondary-buttons{
  display: flex;
  width: 100%;
  gap: 1rem;
}

.secondary-button {
  flex: 1;
  max-width: none;
  width: 50%;
}

.name-section {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
}

.primary-button a {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  text-align: center;
}

/* Ensure buttons don't get too small */
@media (max-width: 480px) {
  .sticky-appointment-content {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .primary-button {
    width: 100%;
  }
}

/* Add bottom padding to body to prevent content from being hidden behind sticky card */
@media (max-width: 768px) {
  body:has(.mobile-sticky-appointment-card) {
    padding-bottom: 80px;
  }
}

@media print {
  .mobile-sticky-appointment-card {
    display: none;
  }
}
