.header-title.tj-hero h1.page-title {
  max-width: 24ch;
  font-size: clamp(30px, 3.4vw, 48px);
  line-height: 1.15;
}
.tj-hero-tagline {
  max-width: 58ch;
  margin: 16px 0 0;
  font-size: 18px;
  line-height: 1.55;
  color: var(--muted, #4a4a4a);
}
.tj-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin-top: 28px;
}
.tj-hero-actions .btn { margin: 0; }
.tj-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.tj-whatsapp svg {
  width: 17px;
  height: 17px;
  flex: none;
}
.tj-hero-call {
  font-size: 14px;
  color: var(--muted, #4a4a4a);
}
.tj-hero-call a {
  color: var(--ink, #0b0100);
  font-weight: 600;
  white-space: nowrap;
}

.tj-section { margin: 72px 0; }
.tj-section > h2 { margin-bottom: 28px; }
.tj-section .tj-more,
.tj-section .tj-note {
  margin: 20px 0 0;
  font-size: 14px;
  color: var(--muted, #4a4a4a);
}

.tj-why {
  background: var(--cream, #f8f3e9);
  padding: 56px clamp(24px, 5vw, 64px);
}
.tj-why-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 36px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: tj-why;
}
.tj-why-list li {
  margin: 0;
  padding: 0;
  counter-increment: tj-why;
}
.tj-why-list li::before {
  content: counter(tj-why, decimal-leading-zero);
  display: block;
  margin-bottom: 14px;
  font-family: var(--font-display, "Objective", sans-serif);
  font-size: 28px;
  line-height: 1;
  color: var(--primary-deep, #a8862c);
}
.tj-why-list h3 {
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.tj-why-list p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted, #4a4a4a);
}

/* The lead paragraph. Its size comes from the "large" preset in theme.json,
   which is fluid; the leading has to come down with it or a phone gets three
   words a line with a 1.7 gap between them. */
.entry-content > p.has-large-font-size {
  line-height: 1.5;
  margin-bottom: 1.1em;
}

.tj-specialists { text-align: center; }
/* Under the cards on a section page (Skin Care, Weight Management...). Padding, not margin, so it cannot collapse into the grid's. */
.tx-grid + .tj-specialists { margin-top: 0; padding-top: 48px; }
.tj-doctors {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
}
.tj-doctor {
  flex: 0 1 250px;
  margin: 0;
  background: var(--surface, #ffffff);
  border: 1px solid var(--line, #e8e8e8);
}
.tj-doctor img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}
.tj-doctor figcaption { padding: 16px 18px 18px; }
.tj-doctor-name {
  display: block;
  font-family: var(--font-display, "Objective", sans-serif);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink, #0b0100);
}
.tj-doctor-role {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted, #4a4a4a);
}

.tj-results-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 24px;
}
.tj-result { margin: 0; }
.tj-result img {
  display: block;
  width: 100%;
  height: auto;
  background: var(--placeholder, #eeeeee);
}

.tj-related .tx-grid { margin-top: 0; margin-bottom: 0; }

.tj-benefit-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 40px;
}
.tj-benefit-list li {
  position: relative;
  padding-left: 34px;
  font-size: 16px;
  line-height: 1.6;
}
.tj-benefit-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gold, #b98b46);

  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M5.5 10.5l3 3 6-6.5" fill="none" stroke="black" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round"/></svg>') center / 20px 20px no-repeat,
          linear-gradient(#000, #000);
  -webkit-mask-composite: xor;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M5.5 10.5l3 3 6-6.5" fill="none" stroke="black" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round"/></svg>') center / 20px 20px no-repeat,
       linear-gradient(#000, #000);
  mask-composite: exclude;
}

.tj-review-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.tj-review {
  position: relative;
  margin: 0;
  padding: 28px 28px 22px;
  background: var(--surface, #fff);
  border: 1px solid var(--line, #e7e2d8);
  border-radius: 4px;
}
.tj-review-mark {
  position: absolute;
  top: 6px;
  left: 18px;
  font-size: 56px;
  line-height: 1;
  color: var(--gold, #b98b46);
  opacity: .25;
}
.tj-review blockquote {
  margin: 0 0 18px;
  padding: 0;
  border: 0;
  font-size: 15px;
  line-height: 1.7;

  display: -webkit-box;
  -webkit-line-clamp: 7;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.tj-review figcaption {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}
.tj-review-avatar {
  width: 32px;
  height: 32px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--cream, #f8f3e9);
  color: var(--gold, #b98b46);
  font-weight: 700;
}
.tj-review-name { font-weight: 600; }
.tj-review-source { color: var(--muted, #4a4a4a); }

.tj-enquiry {
  background: var(--cream, #f8f3e9);
  padding: 48px clamp(24px, 5vw, 64px);
}
.tj-enquiry-inner { max-width: 560px; }
.tj-enquiry > .tj-enquiry-inner > h2 { margin-bottom: 10px; }
.tj-enquiry-lead {
  margin: 0 0 24px;
  font-size: 15px;
  color: var(--muted, #4a4a4a);
}
.tj-field { margin: 0 0 16px; }
.tj-field > label,
.tj-enq-kind > legend {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 600;
}
.tj-optional {
  font-weight: 400;
  color: var(--muted, #4a4a4a);
}
.tj-field input[type="text"],
.tj-field input[type="tel"],
.tj-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line, #e7e2d8);
  border-radius: 3px;
  background: var(--surface, #fff);
  font: inherit;
  font-size: 16px;
}
.tj-field input:focus-visible,
.tj-field textarea:focus-visible {
  outline: 2px solid var(--gold, #b98b46);
  outline-offset: 1px;
}
.tj-field textarea { resize: vertical; }
.tj-enq-kind {
  border: 0;
  margin: 0 0 18px;
  padding: 0;
}
.tj-enq-choice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  font-size: 15px;
  cursor: pointer;
}
.tj-enq-choice input { margin-top: 3px; }

.tj-enq-trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.tj-enq-message {
  margin: 14px 0 0;
  font-size: 14px;
  min-height: 1.2em;
}
.tj-enq-message.is-error { color: #a3341f; }
.tj-enq-message.is-ok { color: #2f6b3a; }
.tj-enq-alt { margin-top: 10px; }
.tj-enq-done {
  padding: 8px 0;
}
.tj-enq-done h3 {
  margin: 0 0 8px;
  outline: none;
}
.tj-enq-done p {
  margin: 0;
  color: var(--muted, #4a4a4a);
}

.tj-empty {
  padding: 18px 20px;
  border: 1px dashed #c9c2b6;
  background: #faf8f4;
  font-size: 14px;
  color: #6b6358;
}

@media (max-width: 900px) {
  .tj-section { margin: 56px 0; }
  .tj-why { padding: 44px 24px; }
  .tj-why-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
  .tj-results-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tj-benefit-list { gap: 12px 28px; }
  .tj-enquiry { padding: 40px 24px; }
}
@media (max-width: 560px) {
  .tj-hero-tagline { font-size: 16px; }
  .tj-hero-actions { gap: 10px; }
  .tj-hero-actions .btn { flex: 1 1 100%; text-align: center; justify-content: center; }
  .tj-why-list { grid-template-columns: 1fr; }
  .tj-doctors { gap: 16px; }
  .tj-doctor { flex-basis: calc(50% - 8px); }
  .tj-results-grid { grid-template-columns: 1fr; }
  .tj-benefit-list { grid-template-columns: 1fr; }
  .tj-review-grid { grid-template-columns: 1fr; }
}
