/* Appointment page layout shared by the live page and its review copy. */
.appointment-layout .appointment-page .appointment-hero {
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  align-items: stretch;
  gap: clamp(28px, 4vw, 56px);
  margin-bottom: 0;
}

.appointment-layout .appointment-hero-copy {
  display: flex;
  flex-direction: column;
  padding-top: 18px;
}

.appointment-layout .appointment-hero-copy > p:not(.services-eyebrow) {
  max-width: 47ch;
}

.appointment-layout .appointment-hero-copy .services-actions {
  align-items: center;
}

.appointment-layout .appointment-actions-or {
  margin-inline: auto;
  color: var(--oxford-red-1);
  font-size: 1.6rem;
  line-height: 1.2;
  white-space: nowrap;
}

.appointment-layout .appointment-consultant-card {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 24px;
  padding: 18px;
  color: var(--oxford-red-2);
  background: var(--white);
  border: 1px solid #e9e2e2;
  border-radius: var(--adporc-card-radius);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .05);
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.appointment-layout .appointment-consultant-card:is(:hover, :focus-visible) {
  transform: translateY(-4px);
  border-color: var(--royal-red-light);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .1);
}

.appointment-layout .appointment-consultant-card:focus-visible {
  outline: 2px solid var(--royal-red-light);
  outline-offset: 3px;
}

.appointment-layout .appointment-consultant-card img {
  display: block;
  width: 110px;
  height: 110px;
  flex: 0 0 110px;
  object-fit: cover;
  background: #e3e3e1;
  border-radius: 10px;
}

.appointment-layout .appointment-consultant-details {
  display: grid;
  min-width: 0;
  gap: 4px;
  font-size: var(--fs-7);
  line-height: 1.45;
}

.appointment-layout .appointment-consultant-details strong {
  font-size: var(--fs-5);
  line-height: 1.3;
}

.appointment-layout .appointment-consultant-details > span:not(.appointment-consultant-link) {
  color: var(--royal-red-light);
}

.appointment-layout .appointment-consultant-link {
  margin-top: 4px;
  color: var(--royal-red-light);
  font-weight: 600;
}

.appointment-layout .appointment-location {
  flex: 1;
  margin-top: 24px;
  padding: 24px 26px;
  background: #faf8f8;
  border: 1px solid #e9e2e2;
  border-radius: var(--adporc-card-radius);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .04);
}

.appointment-layout .appointment-location strong {
  display: block;
  margin-bottom: 8px;
  color: var(--oxford-red-2);
  font-size: var(--fs-7);
}

.appointment-layout .appointment-branch-list li + li {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #e9e2e2;
}

.appointment-layout .appointment-branch-list address {
  margin-top: 4px;
  color: var(--oxford-red-1);
  font-size: var(--fs-7);
  font-style: normal;
  line-height: 1.6;
}

.appointment-layout .appointment-location a {
  color: var(--royal-red-light);
  font-size: var(--fs-7);
  font-weight: 600;
  text-decoration: none;
}

.appointment-layout .appointment-location a:is(:hover, :focus-visible) {
  color: var(--carolina-red);
}

.appointment-layout .home-locations {
  padding: 80px 0;
  background: var(--cultured);
}

.appointment-layout .home-locations .section-subtitle {
  margin: 0 0 10px;
  color: var(--royal-red-light);
  font-size: var(--fs-3);
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.appointment-layout .home-locations .section-title {
  margin-bottom: 16px;
  color: var(--oxford-red-2);
  font-size: var(--fs-3);
}

.appointment-layout .home-locations .home-section-intro {
  max-width: 70ch;
  margin: 0 auto 38px;
  color: var(--oxford-red-1);
  font-size: var(--fs-7);
  line-height: 1.7;
  text-align: center;
}

.appointment-layout .home-location-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.appointment-layout .home-location-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 26px;
  background: var(--white);
  border: 1px solid #e9e2e2;
  border-radius: var(--adporc-card-radius);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .05);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.appointment-layout .home-location-card:is(:hover, :focus-within) {
  transform: translateY(var(--adporc-card-hover-lift));
  border-color: var(--royal-red-light);
  box-shadow: 0 16px 35px rgba(0, 0, 0, .1);
}

.appointment-layout .home-location-card h3 {
  margin-bottom: 10px;
  color: var(--royal-red-light);
  font-size: var(--fs-5);
  line-height: 1.35;
}

.appointment-layout .home-location-card h3 a {
  color: inherit;
  text-decoration: none;
}

.appointment-layout .home-location-card address {
  margin-bottom: 16px;
  color: var(--oxford-red-1);
  font-size: var(--fs-7);
  font-style: normal;
  line-height: 1.7;
}

.appointment-layout .home-location-card iframe {
  display: block;
  width: 100%;
  height: 220px;
  margin-top: auto;
  border: 0;
  border-radius: 10px;
}

.appointment-layout .appointment-form-card {
  display: flex;
  flex-direction: column;
  padding: clamp(22px, 3vw, 38px);
  background: var(--white);
  border: 1px solid #e9e2e2;
  border-radius: 16px;
  box-shadow: 0 16px 42px rgba(0, 0, 0, .08);
}

.appointment-layout .appointment-form-card .appointment-form {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: space-between;
}

.appointment-layout .appointment-form-card h2 {
  margin-bottom: 8px;
  color: var(--oxford-red-2);
  font-size: clamp(2.2rem, 2.5vw, 2.8rem);
  line-height: 1.3;
}

.appointment-layout .appointment-form-card > p {
  margin-bottom: 26px;
  color: var(--oxford-red-1);
  font-size: var(--fs-7);
  line-height: 1.6;
}

.appointment-layout .appointment-form-card .form-group {
  margin-bottom: 18px;
}

.appointment-layout .appointment-form-card .form-group label {
  margin-bottom: 7px;
  font-size: 1.6rem;
}

.appointment-layout .appointment-form-card .form-group :is(input, select, textarea) {
  min-height: 48px;
  padding: 11px 14px;
  border-radius: 8px;
  color: var(--oxford-red-1);
  font-family: inherit;
  font-size: 1.6rem;
}

.appointment-layout .appointment-form-card .form-group textarea {
  min-height: 110px;
  resize: vertical;
}

.appointment-layout .appointment-form-card .form-group :is(input, select, textarea):focus-visible {
  outline: 2px solid var(--royal-red-light);
  outline-offset: 2px;
  box-shadow: none;
}

.appointment-layout .appointment-form-card .appointment-form .btn {
  min-height: 52px;
  margin-top: 6px;
  border-radius: 8px;
  font-size: var(--fs-7);
  text-transform: none;
}

@media (max-width: 1150px) {
  .appointment-layout .appointment-page .appointment-hero {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .appointment-layout .appointment-hero-copy {
    display: block;
    padding-top: 0;
  }

  .appointment-layout .appointment-location {
    flex: none;
  }

  .appointment-layout .appointment-form-card {
    width: 100%;
    max-width: 720px;
  }
}

@media (max-width: 850px) {
  .appointment-layout .home-location-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 500px) {
  .appointment-layout .appointment-page .appointment-hero {
    gap: 30px;
  }

  .appointment-layout .appointment-consultant-card {
    gap: 14px;
    margin-top: 24px;
    padding: 14px;
  }

  .appointment-layout .appointment-consultant-card img {
    width: 86px;
    height: 86px;
    flex-basis: 86px;
  }

  .appointment-layout .appointment-location {
    padding: 20px;
    margin-top: 24px;
  }

  .appointment-layout .home-locations {
    padding: 65px 0;
  }

  .appointment-layout .home-location-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .appointment-layout .home-location-card,
  .appointment-layout .appointment-consultant-card {
    transition-duration: 0s;
  }

  .appointment-layout .home-location-card:is(:hover, :focus-within),
  .appointment-layout .appointment-consultant-card:is(:hover, :focus-visible) {
    transform: none;
  }
}
