/* ==========================================================================
   Legacy component styles
   The migrated content still carries markup from the 2016 WordPress-derived
   theme (.pricing-table, .newsletter-simple, .features-img, .fw-default-row).
   Rather than rewrite every content block, these rules reproduce the live
   site's appearance for that markup on top of Bootstrap 5.
   Values measured from theacupuncturestudio.com.
   ========================================================================== */

/* ---------- Pricing table (Services & Cost) ------------------------------ */

.pricing-table {
  background: #f7f7f7;
  border: 1px solid #e3e3e3;
  text-align: center;
  font-size: .875rem;
  max-width: 420px;
  margin: 0 auto 2rem;
}

.pricing-table-offer { margin-bottom: .625rem; }

.offer-title {
  background: var(--brand);
  color: #fff;
  font-size: 1.75rem;
  font-weight: 600;
  padding: 1.875rem 1rem 0;
}
.offer-title small {
  display: block;
  color: #fff;
  font-size: .875rem;
  font-weight: 600;
}

.offer-price {
  width: 128px;
  height: 128px;
  margin: -40px auto 40px;
  padding-top: 45px;
  background: #b5bcc5;
  color: var(--brand);
  border: 1px solid var(--brand);
  border-radius: 50%;
  font-size: 1.5rem;
  line-height: 1.1;
}
.offer-price .price    { font-size: 1.5rem; }
.offer-price .currency { font-size: 1.5rem; }

.pricing-table .fw-default-row { padding: 0 1.25rem 1rem; text-align: left; }
.pricing-table .fw-default-row img { max-width: 100%; height: auto; }

.offer-action { padding: 0 0 1.875rem; }
.offer-action button,
.offer-action a {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  border: 0;
  border-radius: 2px;
  font-size: 1.0625rem;
  font-weight: 500;
  padding: .8125rem 1.25rem .6875rem;
}
.offer-action button:hover,
.offer-action a:hover { background: var(--brand-dark); color: #fff; text-decoration: none; }

/* ---------- Newsletter band (homepage) ----------------------------------- */

.mailing-list-band {
  background: var(--brand) url("../img/newsletter-background-coral.jpg") center/cover no-repeat;
  color: #fff;
  padding: 3rem 0;
  text-align: center;
  margin-top: 2rem;
}
.mailing-list-band h1,
.mailing-list-band h2,
.mailing-list-band h3 { color: #fff; }
.mailing-list-band h2 { font-size: 1.875rem; font-weight: 500; margin: 1.25rem 0 .625rem; }
.mailing-list-band p  { color: #fff; }

.newsletter-simple { text-align: center; }
.newsletter-simple input[type="text"],
.newsletter-simple input[type="email"] {
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: .5rem .75rem;
  font-size: .875rem;
  min-width: 260px;
  max-width: 100%;
  color: var(--ink);
}
.newsletter-simple input[type="submit"],
.newsletter-simple button,
.newsletter-simple .newsletter-submit {
  background: #fff;
  color: var(--brand);
  border: 0;
  border-radius: 4px;
  font-weight: 700;
  text-transform: uppercase;
  font-size: .875rem;
  padding: .625rem 1.375rem;
  margin-left: .3rem;
}
.newsletter-simple input[type="submit"]:hover,
.newsletter-simple button:hover { background: #f1f1f1; }
.newsletter-simple .alert:empty { display: none; }

/* ---------- Feature blocks (About Us) ------------------------------------ */

.features-img { text-align: center; }
.features-img .feature-img img { max-width: 100%; height: auto; }
.features-img h3 { color: var(--brand); font-family: Vollkorn, Georgia, serif; }
.features-img h5 { color: var(--brand); font-style: italic; }
.features-img .feature-content { text-align: left; }

.fw-default-row + .fw-default-row { margin-top: 1rem; }

/* ---------- Hours panel --------------------------------------------------- */

.hours-list h4 {
  font-family: Vollkorn, Georgia, serif;
  font-size: .95rem;
  text-transform: uppercase;
  color: var(--brand);
  margin: 0 0 .5rem;
}
.hours-list dl { margin: 0; font-size: .8125rem; line-height: 1.45; }
.hours-list dt { font-weight: 500; color: var(--ink); }
.hours-list dd { margin: 0 0 .4rem; color: #555; }

/* ---------- Location page -------------------------------------------------- */

.location-row { margin-bottom: 2rem; }
.location-details h3 { color: var(--brand); font-family: Vollkorn, Georgia, serif; }
.location-phone a { font-size: 1.25rem; font-family: Vollkorn, Georgia, serif; }
.location-map iframe { width: 100%; height: 420px; border: 0; display: block; }
.location-map { border: 1px solid var(--rule); }
.map-credit { margin: 0; padding: .4rem .6rem; background: #f7f7f7; border-top: 1px solid var(--rule); font-size: .75rem; }
.map-credit a { font-family: var(--bs-body-font-family); }

/* ---------- Practitioner blocks stack with air between them ---------------- */

.image-content { margin-bottom: 2.5rem; }
.image-content + .image-content { padding-top: 2.5rem; border-top: 1px solid var(--rule); }
.image-content-title { color: var(--brand); font-family: Vollkorn, Georgia, serif; margin-bottom: .15rem; }
.image-content-subtitle { color: var(--brand); font-style: italic; margin-bottom: .75rem; }
.image-content img { width: 100%; height: auto; }

/* newsletter form layout */
.newsletter-form { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-top: 1rem; }
.newsletter-form input[type="email"] {
  flex: 0 1 320px; border: 1px solid #ccc; border-radius: 4px;
  padding: .6rem .8rem; font-size: .9375rem; color: var(--ink);
}
.newsletter-form button {
  background: #fff; color: var(--brand); border: 0; border-radius: 4px;
  font-weight: 700; text-transform: uppercase; font-size: .875rem; padding: .6rem 1.5rem;
}
.newsletter-form button:hover { background: #f1f1f1; }
.mailing-list-band .newsletter-simple p { opacity: .9; }

/* ---------- Services cards ------------------------------------------------- */

.services-intro { text-align: center; margin-bottom: 2rem; }
.services-intro h1 { font-size: 2.5rem; }
.services-intro .lead { max-width: 44rem; margin: 0 auto; font-size: 1.05rem; color: #555; }

.services-grid .service-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .05);
}

.service-media { line-height: 0; background: #f7f7f7; }
.service-media img { width: 100%; height: 220px; object-fit: cover; }

.service-head {
  position: relative;
  background: var(--brand);
  color: #fff;
  padding: 1.35rem 1.5rem 1.35rem;
  padding-right: 7.5rem;
}
.service-head h2 {
  margin: 0;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 600;
  font-family: Vollkorn, Georgia, serif;
}

.service-price {
  position: absolute;
  top: 50%;
  right: 1.25rem;
  transform: translateY(-50%);
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: #fff;
  color: var(--brand);
  border: 2px solid rgba(255, 255, 255, .9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .18);
}
.service-price em { font-style: normal; font-size: .95rem; margin-right: .1rem; }

.service-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.service-body p { margin-bottom: 1rem; }
.service-note {
  font-size: .875rem;
  color: #666;
  background: #f7f7f7;
  border-left: 3px solid var(--brand);
  padding: .7rem .9rem;
}
.service-cta { margin-top: auto; align-self: flex-start; font-size: .8125rem; padding: .55rem 1rem; }

.benefits-title {
  font-family: Vollkorn, Georgia, serif;
  color: var(--brand);
  font-size: 1.1rem;
  text-transform: uppercase;
  margin-bottom: .6rem;
}
.benefits-list { list-style: none; padding: 0; margin: 0 0 1.25rem; }
.benefits-list li { padding: .5rem 0; border-bottom: 1px solid var(--rule); font-size: .9375rem; }
.benefits-list li:last-child { border-bottom: 0; }
.benefits-list strong { display: block; color: var(--brand); font-weight: 600; }
.benefits-list span { color: #555; }

@media (max-width: 575.98px) {
  .service-head { padding-right: 1.5rem; padding-bottom: 3.5rem; }
  .service-price { top: auto; bottom: -28px; right: 1.25rem; transform: none; width: 72px; height: 72px; font-size: 1.1rem; }
  .service-body { padding-top: 2.5rem; }
}

/* ---------- Sidebar + FAQ page -------------------------------------------- */

.page-sidebar > div { background: #f7f7f7; border: 1px solid var(--rule); border-top: 3px solid var(--brand); padding: 1.25rem; }
.page-sidebar .sidebar-card-head { background: none; border: 0; padding: 0 0 .5rem; }
.page-sidebar .sidebar-card-head h3 { font-family: Vollkorn, Georgia, serif; color: var(--brand); font-size: 1.2rem; margin-bottom: .4rem; }
.page-sidebar .sidebar-card-head p { font-size: .875rem; color: #555; margin: 0; }
.page-sidebar .form-control, .page-sidebar input[type="text"], .page-sidebar input[type="email"], .page-sidebar textarea { width: 100%; }
.page-sidebar .ccm-block-express-form { margin-bottom: 0; }
.page-sidebar .ccm-block-express-form button[type="submit"] { margin-bottom: .5rem; }

.cancellation-note { background: #fbf3f1; border-left: 3px solid var(--brand); padding: .85rem 1rem; margin-bottom: 1.75rem; }
.cancellation-note h3 { font-family: Vollkorn, Georgia, serif; color: var(--brand); font-size: 1.05rem; text-transform: uppercase; margin-bottom: .3rem; }
.cancellation-note p { margin: 0; font-size: .9375rem; }

/* ---------- Page heading --------------------------------------------------- */

.page-header { margin-bottom: 1.5rem; }
.page-header h1 { font-size: 2.5rem; margin: 0; }
