/* Page typography and layout. Loaded only for non-front WordPress Pages. */
.dsc-inner-page #main {
  --page-ink: #192f2b;
  --page-deep: #10342b;
  --page-muted: #4a6158;
  --page-border: #d9e4da;
  --page-reading: 48rem;
  --page-gutter: clamp(16px, 4vw, 56px);
  color: var(--page-ink);
}

.dsc-inner-page #main :is(.entry-content, .page-content) {
  min-width: 0;
  font-size: 1.0625rem;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.dsc-inner-page #main :is(.entry-content, .page-content) > :where(p, ul, ol, blockquote) {
  max-inline-size: var(--page-reading);
  margin-inline: auto;
  margin-block-end: 1.1em;
}

.dsc-inner-page #main :is(.entry-content, .page-content) > :is(h1, h2, h3, h4) {
  max-inline-size: var(--page-reading);
  margin-inline: auto;
  margin-block: 1.15em .5em;
  line-height: 1.28;
  text-wrap: pretty;
}

.dsc-inner-page #main :is(.entry-content, .page-content) > h2 {
  font-size: clamp(1.45rem, 2.6vw, 2.05rem);
}

.dsc-inner-page #main :is(.entry-content, .page-content) > :where(ul, ol) {
  padding-inline-start: 1.45em;
}

.dsc-inner-page #main :is(.entry-content, .page-content) > :where(ul, ol) > li + li {
  margin-block-start: .35em;
}

.dsc-inner-page #main :is(.entry-content, .page-content) :where(figure.wp-block-image img, img.aligncenter) {
  max-inline-size: 100%;
  height: auto;
  border-radius: 16px;
}

.dsc-inner-page #main :is(.entry-content, .page-content) :where(figcaption, .wp-caption-text):not(.dark *) {
  color: var(--page-muted);
  font-size: .92rem;
}

.dsc-inner-page #main :is(.entry-content, .page-content) :where(.wp-block-table) {
  max-inline-size: 100%;
  overflow-x: auto;
}

.dsc-inner-page #main :is(.entry-content, .page-content) :where(iframe) {
  max-inline-size: 100%;
}

.dsc-inner-page #main :is(.entry-content, .page-content) :where(.accordion-title):not(.dark *) {
  color: var(--page-deep);
  border-color: var(--page-border);
  padding-block: .85em;
}

.dsc-inner-page #main :is(.entry-content, .page-content) :where(.button, .wp-block-button__link):not(.icon) {
  min-height: 44px;
  max-width: 100%;
}

.dsc-inner-page #main :is(.entry-content, .page-content) > :where(p, ul, ol) a:not(.button, .plain, .wp-block-button__link):not(.dark *) {
  text-decoration: underline;
  text-underline-offset: .18em;
}

/* The preview and the native page-title use the same spacing and radius. */
.dsc-inner-page #main :is(.sample-hero, .page-title:not(.dark):not(.featured-title)) {
  border-radius: clamp(15px, 2vw, 24px);
}

.dsc-inner-page #main .sample-content {
  padding-block: clamp(24px, 5vw, 62px);
}

.dsc-inner-page #main .sample-content > :where(.wrap, .sample-cards) {
  margin-block-start: 0;
}

.dsc-inner-page #main .page-section-heading {
  margin-bottom: clamp(14px, 2.4vw, 24px);
}

.dsc-inner-page #main .page-section-heading h2 {
  font-size: clamp(1.5rem, 3vw, 2.35rem);
  color: var(--page-deep);
}

.dsc-inner-page #main .page-section-heading p {
  max-inline-size: 65ch;
  margin-top: .4rem;
  color: var(--page-muted);
}

.dsc-inner-page #main .sample-card {
  box-shadow: 0 10px 25px #10342b0c;
}

.dsc-inner-page #main .sample-card h3 a:focus-visible {
  outline-offset: 4px;
}

.dsc-inner-page #main .sample-content > :where(.contact, .profile) {
  padding-block: clamp(26px, 5vw, 68px);
}

.dsc-inner-page #main .sample-content :where(.contact-grid, .profile-grid) {
  column-gap: var(--page-gutter);
}

.dsc-inner-page #main .sample-content .section {
  margin-block: 0;
}

.dsc-inner-page #main .sample-card h3 {
  font-size: clamp(1.15rem, 1.65vw, 1.35rem);
  margin-bottom: .5em;
  line-height: 1.4;
}

.dsc-inner-page #main .sample-content > #contact {
  background: transparent;
}

.dsc-inner-page #main .sample-content .contact-grid {
  padding: var(--page-gutter);
  border: 1px solid var(--page-border);
  border-radius: 20px;
  background: #fff;
}

.dsc-inner-page #main .sample-content .contact-grid :where(address, p:not(.overline)) {
  margin-block: .55em;
}

.dsc-inner-page #main .sample-content > :is(#specialties, #articles, #reviews) {
  padding-block: 0;
}
