/* Treatment pages -- extends app.css. Brand: teal #03585b, gold #da9f54,
   pale gold #fcedd9, light gold #fef8f1, soft gold line #f8d6aa. */

.tp-hero { padding: 1.25rem 0 2rem; }
.tp-icon { height: 100px; width: auto; margin-bottom: .75rem; }
.tp-hero h1 { margin-bottom: .75rem; }
.tp-lede { font-size: 1.15rem; max-width: 36rem; margin: 0 auto; }

.tp-body { padding-top: 1rem; padding-bottom: 2.5rem; }

/* Left-hand treatment menu (large screens only; the top nav covers mobile). */
.tp-sidenav { position: sticky; top: 6rem; }
.tp-sidenav ul { list-style: none; margin: 0; }
.tp-sidenav li { margin: 0; }
.tp-sidenav a {
  display: block;
  padding: .7rem 0 .7rem 1rem;
  border-left: 3px solid transparent;
  color: #03585b;
  line-height: 1.3;
  text-decoration: none;
}
.tp-sidenav a:hover { border-left-color: #f8d6aa; }
.tp-sidenav a[aria-current="page"] { border-left-color: #da9f54; font-weight: 600; color: #222; }
.tp-content { padding-bottom: 1rem; }
.tp-section { margin-bottom: 2rem; }
.tp-section .title { margin-bottom: .75rem; color: #03585b; font-size: 1.6rem; }
.tp-section p { margin-bottom: 1rem; line-height: 1.7; }
.tp-section ul { margin: 0 0 1rem 1.25rem; line-height: 1.7; }
.tp-section li { margin-bottom: .25rem; }
.tp-video { position: relative; aspect-ratio: 16 / 9; margin: 1rem 0; }
.tp-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 6px; }
.tp-section a, .tp-faq a { color: #03585b; text-decoration: underline; text-underline-offset: 2px; }

.tp-glance {
  background: #fef8f1;
  border: 1px solid #f8d6aa;
  border-top: 4px solid #03585b;
  border-radius: 6px;
  padding: 1.25rem 1.25rem .5rem;
  margin-bottom: 1.5rem;
}
.tp-glance .title { font-size: 1.4rem; margin-bottom: .75rem; }
.tp-glance address { font-style: normal; line-height: 1.6; margin-bottom: 1rem; }
.tp-prices { width: 100%; margin-bottom: .75rem; border-collapse: collapse; }
.tp-prices tbody, .tp-prices tr, .tp-prices td { background: transparent; border: 0; }
.tp-prices td { padding: .4rem 0; border-bottom: 1px solid #f8d6aa; vertical-align: top; }
.tp-prices td:last-child { text-align: right; font-weight: 600; white-space: nowrap; padding-left: 1rem; }
.tp-meta { margin-bottom: .75rem; }
.tp-glance .button { display: block; width: 100%; margin-bottom: .6rem; font-size: 1.05rem; text-decoration: none; }
.tp-glance .button.hollow { background: transparent; border: 1px solid #03585b; color: #03585b; }
.tp-glance .button.hollow:hover { background: #03585b; color: #fff; }
.tp-small { font-size: .9rem; text-align: center; }
.tp-small a { color: #03585b; }
.tp-image img { width: 100%; height: auto; border-radius: 6px; }

.tp-faqs { padding: 2.5rem 0; }
.tp-faq {
  background: #fff;
  border: 1px solid #f8d6aa;
  border-radius: 6px;
  margin-bottom: .6rem;
}
.tp-faq summary {
  cursor: pointer;
  list-style: none;
  padding: .85rem 2.5rem .85rem 1rem;
  position: relative;
  font-weight: 600;
}
.tp-faq summary::-webkit-details-marker { display: none; }
.tp-faq summary::after {
  content: "+";
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #da9f54;
  font-size: 1.4rem;
  font-weight: 400;
}
.tp-faq[open] summary::after { content: "\2212"; }
.tp-faq p { padding: 0 1rem 1rem; margin: 0; line-height: 1.7; }

.tp-related { padding: 2.5rem 0 1.5rem; }
.tp-card {
  display: block;
  border: 1px solid #f8d6aa;
  border-radius: 6px;
  padding: 1rem 1.1rem;
  margin-bottom: 1rem;
  color: inherit;
  transition: border-color .2s, box-shadow .2s;
  text-decoration: none;
}
.tp-card, .tp-card:hover, .tp-card span { text-decoration: none; }
.tp-card:hover { border-color: #03585b; box-shadow: 0 2px 10px rgba(3, 88, 91, .12); color: inherit; }
.tp-card-title { display: block; font-family: "Noto serif georgian", serif; font-size: 1.25rem; color: #03585b; margin-bottom: .35rem; }
.tp-card-text { display: block; font-size: .95rem; color: #444; }

/* Preview builds only: build.py omits these hooks with --clean. */
.tp-preview-ribbon {
  background: #da9f54;
  color: #fff;
  text-align: center;
  padding: .5rem 1rem;
  font-size: .9rem;
  font-weight: 600;
}
.tp-preview-ribbon span { font-weight: 400; }
[data-src="draft"] {
  background: #fffbe6;
  outline: 2px dashed #da9f54;
  outline-offset: 6px;
  position: relative;
}
.tp-section[data-src="draft"]::before,
.tp-faq[data-src="draft"] summary::before {
  content: "Draft";
  display: inline-block;
  background: #da9f54;
  color: #fff;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 1px 6px;
  border-radius: 3px;
  margin: 0 .5rem .4rem 0;
}

@media screen and (max-width: 39.9375em) {
  .tp-hero .title-very-large { font-size: 2.1rem; overflow-wrap: break-word; }
}

@media screen and (max-width: 63.9375em) {
  .tp-glance { margin-top: .5rem; }
  .tp-lede { font-size: 1.05rem; }
}
