/* ==========================================================================
   TREATMENT PAGE — single-aumtm_service.php

   Body copy on the left, a sticky summary panel on the right carrying duration,
   price, who it suits, and the contact details. There is no online booking on
   this site, so the panel ends in a phone number rather than a booking form.

   The template filename has to carry the full post type name. Shortened to
   single-service.php, WordPress falls through to index.php without any warning:
   the page still loads, it is simply the wrong template.
   ========================================================================== */

.aumtm-svcpage__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}

/* ---------- Left column: body copy ---------- */
.aumtm-svcpage__lead {
  font-size: var(--aumtm-fs-lead);
  line-height: 1.85;
  color: var(--aumtm-heading);
  padding-bottom: 1.75rem;
  margin-bottom: 1.75rem;
  border-bottom: 1px solid var(--aumtm-line);
}

.aumtm-svcpage__figure { margin-bottom: 2.25rem; aspect-ratio: 16 / 9; }

/* ---------- What it helps with ---------- */
.aumtm-benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.875rem 1.75rem;
  margin-top: 1.25rem;
}
.aumtm-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: var(--aumtm-fs-sm);
  line-height: 1.7;
}
.aumtm-benefits svg {
  width: 17px; height: 17px; flex: none; margin-top: 0.35em;
  stroke: var(--aumtm-cyan); fill: none; stroke-width: 2;
}

/* ---------- Contraindications ----------
   A treatment page needs this, and it is the part most likely to be reworded
   later — so it is its own field rather than a paragraph buried in the editor
   where it has to be hunted for. */
.aumtm-notice {
  margin-top: 2.5rem;
  padding: 1.5rem 1.625rem;
  background: var(--aumtm-bg-soft);
  border-left: 3px solid var(--aumtm-cyan);
  border-radius: 0 var(--aumtm-radius) var(--aumtm-radius) 0;
}
.aumtm-notice__title {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 1rem;
  margin-bottom: 0.75rem;
}
.aumtm-notice__title svg {
  width: 18px; height: 18px; flex: none;
  stroke: var(--aumtm-blue); fill: none; stroke-width: 1.8;
}
.aumtm-notice p { font-size: var(--aumtm-fs-sm); line-height: 1.85; }

/* ---------- Right column: sticky summary panel ---------- */
.aumtm-svccard {
  position: sticky;
  /* The address bar and the navigation stick together, so the offset has to
     clear both of them. */
  top: calc(var(--aumtm-topbar-h) + var(--aumtm-header-h) + 1.5rem);
  border: 1px solid var(--aumtm-line);
  border-radius: var(--aumtm-radius);
  overflow: hidden;
}

.aumtm-svccard__head {
  padding: 1.375rem 1.5rem;
  background: var(--aumtm-blue);
  color: #fff;
}
.aumtm-svccard__head h2 {
  color: #fff;
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.aumtm-svccard__body { padding: 1.5rem; }

.aumtm-meta { display: grid; gap: 1rem; }
.aumtm-meta li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--aumtm-line-soft);
  font-size: var(--aumtm-fs-sm);
}
.aumtm-meta li:last-child { border-bottom: 0; padding-bottom: 0; }
.aumtm-meta__key { color: var(--aumtm-text-dim); }
.aumtm-meta__val { color: var(--aumtm-heading); font-weight: 700; text-align: right; }

/* ---------- Contact details inside the panel ---------- */
.aumtm-svccard__contact {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--aumtm-line);
}
.aumtm-svccard__contact p {
  font-size: var(--aumtm-fs-sm);
  line-height: 1.75;
  margin-bottom: 1.125rem;
}
.aumtm-svccard__ways { display: grid; gap: 0.75rem; margin-bottom: 1.25rem; }
.aumtm-svccard__ways a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: var(--aumtm-fs-sm);
  font-weight: 600;
  color: var(--aumtm-heading);
  transition: color var(--aumtm-dur) var(--aumtm-ease);
}
.aumtm-svccard__ways a:hover { color: var(--aumtm-blue); }
.aumtm-svccard__ways svg {
  width: 17px; height: 17px; flex: none;
  stroke: var(--aumtm-cyan); fill: none; stroke-width: 1.8;
}
.aumtm-svccard__contact .aumtm-btn { width: 100%; }

/* ---------- Other treatments ---------- */
.aumtm-related { margin-top: clamp(3rem, 5vw, 4.5rem); }

@media (max-width: 980px) {
  .aumtm-svcpage__grid { grid-template-columns: 1fr; }
  .aumtm-svccard { position: static; }
}
@media (max-width: 560px) {
  .aumtm-benefits { grid-template-columns: 1fr; }
}
