/* Premium editorial continuity for TalkWise practical and reading pages.
   This layer changes presentation only; it does not alter page copy. */

.talkwise-site:not(.home-page) {
  --tw-editorial-width: 72rem;
  --tw-reading-width: 66ch;
  --tw-serif: Lora, Georgia, "Times New Roman", serif;
  --tw-sans: "Nunito Sans", Arial, sans-serif;
}

.talkwise-site:not(.home-page) :is(h1, h2) {
  font-family: var(--tw-serif);
  font-weight: 500;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.talkwise-site:not(.home-page) .page-intro h1 {
  max-width: 16ch;
  font-size: clamp(3rem, 5.4vw, 5.25rem);
  line-height: .98;
}

.talkwise-site:not(.home-page) .talkwise-section h2 {
  max-width: 21ch;
  font-size: clamp(2.55rem, 4.2vw, 4rem);
  line-height: 1.04;
}

.talkwise-site:not(.home-page) .talkwise-section h3,
.talkwise-site:not(.home-page) .faq-section summary {
  font-family: var(--tw-serif);
  font-weight: 500;
  letter-spacing: -.018em;
}

.talkwise-site:not(.home-page) .talkwise-section :is(p, li) {
  font-family: var(--tw-sans);
  font-size: clamp(1.06rem, 1.12vw, 1.16rem);
  line-height: 1.72;
}

.talkwise-site:not(.home-page) .talkwise-section > :is(p, ul, ol),
.talkwise-site:not(.home-page) .reading-section > :is(p, ul, ol) {
  max-width: var(--tw-reading-width);
}

.talkwise-site:not(.home-page) .section-label {
  margin-bottom: clamp(.9rem, 1.5vw, 1.25rem);
  font-size: .78rem;
  letter-spacing: .16em;
}

/* Availability becomes a composed editorial spread instead of a short column
   floating in an otherwise empty desktop canvas. */
.talkwise-site:not(.home-page) .availability-section {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(24rem, 1.1fr);
  align-items: start;
  gap: clamp(2.5rem, 6vw, 6rem);
  min-height: 0;
}

.talkwise-site:not(.home-page) .availability-section > .return-link {
  grid-column: 1 / -1;
}

.talkwise-site:not(.home-page) .availability-intro {
  max-width: 42rem;
}

.talkwise-site:not(.home-page) .availability-intro h2 {
  margin-bottom: clamp(1.35rem, 2.2vw, 2rem);
}

.talkwise-site:not(.home-page) .availability-intro > p {
  max-width: 50ch;
  color: #465149;
  font-size: clamp(1.12rem, 1.3vw, 1.27rem);
  line-height: 1.78;
}

.talkwise-site:not(.home-page) .availability-section .format-choice {
  grid-template-columns: 1fr;
  gap: 1rem;
  align-self: center;
}

.talkwise-site:not(.home-page) .availability-section .format-choice p {
  position: relative;
  min-height: 0;
  padding: clamp(1.45rem, 2.6vw, 2.15rem);
  overflow: hidden;
  border: 1px solid rgba(83, 99, 77, .2);
  border-radius: .4rem 2rem .4rem .4rem;
  background: rgba(255, 253, 248, .82);
  box-shadow: 0 1.1rem 2.8rem rgba(41, 59, 44, .07);
}

.talkwise-site:not(.home-page) .availability-section .format-choice p::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(#a97958, #65745e);
}

.talkwise-site:not(.home-page) .availability-section .format-choice strong {
  font-family: var(--tw-serif);
  font-size: clamp(1.35rem, 1.8vw, 1.65rem);
  font-weight: 500;
  line-height: 1.25;
}

.talkwise-site:not(.home-page) .availability-section .format-choice span {
  font-size: 1rem;
  line-height: 1.65;
}

.talkwise-site:not(.home-page) .availability-section .format-choice a {
  width: fit-content;
  margin-top: .35rem;
  font-size: .98rem;
  font-weight: 700;
  text-underline-offset: .28em;
}

/* Bring ordinary reading and practical sections into the same visual system. */
.talkwise-site:not(.home-page) .reading-section > :not(.return-link),
.talkwise-site:not(.home-page) .support-section > :not(.return-link),
.talkwise-site:not(.home-page) .faq-section > :not(.return-link) {
  width: min(100%, 60rem);
}

.talkwise-site:not(.home-page) .reading-section h2,
.talkwise-site:not(.home-page) .support-section h2,
.talkwise-site:not(.home-page) .faq-section h2 {
  margin-bottom: clamp(1.4rem, 2.3vw, 2rem);
}

.talkwise-site:not(.home-page) .faq-section details {
  border-color: rgba(83, 99, 77, .2);
}

.talkwise-site:not(.home-page) .faq-section summary {
  font-size: clamp(1.2rem, 1.55vw, 1.42rem);
  line-height: 1.4;
}

/* Use the desktop canvas without turning paragraphs into tiring long lines. */
@media (min-width: 981px) {
  .confidentiality-page .confidentiality-section,
  .confidentiality-page .reading-section,
  .information-page .therapy-options,
  .information-page .understanding-section {
    padding-inline: max(5vw, calc((100vw - 76rem) / 2));
  }

  .confidentiality-page .confidentiality-section > :not(.return-link),
  .confidentiality-page .reading-section > :not(.return-link),
  .information-page .therapy-options > *,
  .information-page .understanding-section > :not(.return-link) {
    width: min(100%, 72rem);
  }

  .confidentiality-page .confidentiality-grid,
  .information-page .therapy-options__links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .information-page .therapy-options__links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .information-page .understanding-topics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 1rem;
  }

  .information-page .understanding-topic {
    margin: 0;
  }
}

@media (max-width: 820px) {
  .talkwise-site:not(.home-page) .availability-section {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .talkwise-site:not(.home-page) .availability-section .format-choice {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 761px) and (max-width: 980px) {
  .talkwise-site.booking-page .contact-options {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .talkwise-site.booking-page .contact-alternatives {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem 2.5rem;
  }

  .talkwise-site.booking-page .contact-alternatives > * {
    margin-top: 0;
  }
}

@media (max-width: 700px) {
  .talkwise-site:not(.home-page) .page-intro h1 {
    font-size: clamp(2.65rem, 12vw, 3.5rem);
    line-height: 1.03;
  }

  .talkwise-site:not(.home-page) .talkwise-section h2 {
    font-size: clamp(2.25rem, 9.8vw, 3rem);
    line-height: 1.08;
  }

  .talkwise-site:not(.home-page) .talkwise-section :is(p, li) {
    font-size: 1.04rem;
    line-height: 1.7;
  }

  .talkwise-site:not(.home-page) .availability-section {
    gap: 1.65rem;
  }

  .talkwise-site:not(.home-page) .availability-intro > p {
    font-size: 1.07rem;
    line-height: 1.7;
  }

  .talkwise-site:not(.home-page) .availability-section .format-choice {
    grid-template-columns: 1fr;
  }

  .talkwise-site:not(.home-page) .availability-section .format-choice p {
    border-radius: .35rem 1.4rem .35rem .35rem;
    padding: 1.35rem 1.25rem 1.4rem;
  }
}
