/*
 * Orlando Healthy Smiles — single blog post template.
 *
 * Scope: everything is prefixed with body.ohs-single, a class this plugin adds
 * only on single posts. The homepage, service pages and archives are untouched,
 * and the child theme's stylesheet stays the source of the brand tokens.
 *
 * Layout: full-width bands, one 720px reading column, no sidebar.
 */

/* ==========================================================================
   1. Shell
   ========================================================================== */

body.ohs-single {
  --ohs-read: 720px;
  --ohs-gutter: clamp(18px, 4vw, 24px);
  /* The brand's muted grey sits at 4.0:1 on white, which fails WCAG AA at the
     12-14px sizes this template uses for breadcrumbs, bylines and card dates.
     Darkened here only, so article pages pass and the rest of the site keeps
     its existing palette. */
  --ohs-muted: #556966;
  background: var(--ohs-white, #fff);
}

/* The page container becomes full width so the bands can reach the edges while
   the header and footer keep their own contained grid. */
body.ohs-single .site.grid-container {
  max-width: none;
  width: 100%;
  padding: 0;
  margin: 0;
}
body.ohs-single .site-content,
body.ohs-single #content {
  display: block;
  padding: 0;
  margin: 0;
}
body.ohs-single #primary.content-area,
body.ohs-single .site-main,
body.ohs-single .inside-article {
  width: 100%;
  max-width: none;
  float: none;
  margin: 0;
  padding: 0;
  background: none;
  border: 0;
  box-shadow: none;
}
body.ohs-single .inside-article {
  display: block;
}

/* ==========================================================================
   2. Header — breadcrumbs, category, title, standfirst, byline
   ========================================================================== */

body.ohs-single .entry-header {
  display: block;
  max-width: none;
  margin: 0;
  padding: clamp(16px, 2.6vw, 26px) 0 clamp(26px, 3.6vw, 42px);
  background:
    radial-gradient(120% 90% at 88% -10%, rgba(53, 194, 172, 0.13) 0%, rgba(53, 194, 172, 0) 62%),
    linear-gradient(180deg, #f4fbf9 0%, #ffffff 82%);
  border-bottom: 1px solid var(--ohs-line, rgba(10, 44, 42, 0.1));
}

body.ohs-single .entry-header > * {
  box-sizing: border-box;
  max-width: 768px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--ohs-gutter);
  padding-right: var(--ohs-gutter);
}

/* Breadcrumbs ------------------------------------------------------------- */

body.ohs-single .ohs-crumbs {
  padding: 0 var(--ohs-gutter);
  font-size: 0.79rem;
  line-height: 1.4;
  color: var(--ohs-muted, #6d8481);
}
body.ohs-single .ohs-crumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}
body.ohs-single .ohs-crumbs li {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  font-size: inherit;
}
body.ohs-single .ohs-crumbs li + li::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.35;
}
body.ohs-single .ohs-crumbs a {
  color: var(--ohs-muted, #6d8481);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
body.ohs-single .ohs-crumbs a:hover,
body.ohs-single .ohs-crumbs a:focus-visible {
  color: var(--ohs-blue, #0e7c6e);
  border-bottom-color: currentColor;
}
body.ohs-single .ohs-crumbs span {
  margin: 0;
  opacity: 1;
}
body.ohs-single .ohs-crumbs [aria-current="page"] {
  color: var(--ohs-ink-soft, #3b5250);
  font-weight: 600;
}

/* Category chip ----------------------------------------------------------- */

body.ohs-single .ohs-kicker {
  margin: 16px auto 0;
}
body.ohs-single .ohs-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px 6px 11px;
  border: 1px solid rgba(14, 124, 110, 0.22);
  border-radius: 999px;
  background: rgba(53, 194, 172, 0.1);
  color: var(--ohs-blue-700, #074b43);
  font-size: 0.71rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease;
}
body.ohs-single .ohs-chip:hover,
body.ohs-single .ohs-chip:focus-visible {
  background: rgba(53, 194, 172, 0.2);
  border-color: rgba(14, 124, 110, 0.4);
  color: var(--ohs-blue-700, #074b43);
}

/* Title ------------------------------------------------------------------- */

body.ohs-single .entry-header .entry-title {
  margin: 16px auto 0;
  font-family: var(--ohs-font-display, Georgia, serif);
  font-weight: 400;
  font-size: clamp(2.05rem, 1.45rem + 2.3vw, 3.05rem);
  line-height: 1.06;
  letter-spacing: -0.021em;
  color: var(--ohs-ink, #0a2c2a);
  text-wrap: balance;
  overflow-wrap: break-word;
  hyphens: none;
}

/* Standfirst -------------------------------------------------------------- */

body.ohs-single .ohs-dek {
  margin: 18px auto 0;
  max-width: 700px;
  font-size: clamp(1.05rem, 0.98rem + 0.32vw, 1.2rem);
  line-height: 1.62;
  color: var(--ohs-ink-soft, #3b5250);
  text-wrap: pretty;
}

/* Byline ------------------------------------------------------------------ */

body.ohs-single .ohs-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 24px auto 0;
  padding: 16px var(--ohs-gutter) 0;
  border-top: 1px solid var(--ohs-line, rgba(10, 44, 42, 0.1));
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--ohs-muted, #6d8481);
}
body.ohs-single .ohs-meta__avatar {
  flex: 0 0 auto;
  display: block;
  line-height: 0;
}
body.ohs-single .ohs-meta__img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(10, 44, 42, 0.12);
  box-shadow: 0 1px 2px rgba(10, 44, 42, 0.08);
}
body.ohs-single .ohs-meta__text {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 8px;
  min-width: 0;
}
/* The separator belongs to the item after it, so a wrap never leaves a lone dot
   at the end of a line. */
body.ohs-single .ohs-meta__text > * + *::before {
  content: "·";
  margin-right: 8px;
  color: rgba(10, 44, 42, 0.3);
}
body.ohs-single .ohs-meta__by {
  color: var(--ohs-ink-soft, #3b5250);
}
body.ohs-single .ohs-meta__by a {
  color: var(--ohs-ink, #0a2c2a);
  font-weight: 650;
  text-decoration: none;
  border-bottom: 1px solid rgba(10, 44, 42, 0.22);
}
body.ohs-single .ohs-meta__by a:hover,
body.ohs-single .ohs-meta__by a:focus-visible {
  color: var(--ohs-blue, #0e7c6e);
  border-bottom-color: currentColor;
}
body.ohs-single .ohs-meta__sep {
  color: rgba(10, 44, 42, 0.28);
}
body.ohs-single .ohs-meta__date,
body.ohs-single .ohs-meta__read {
  white-space: nowrap;
}

/* GeneratePress's own byline row and article footer are replaced by the header
   row and the navigation cards below the text. */
body.ohs-single .entry-header .entry-meta,
body.ohs-single .inside-article > footer.entry-meta,
body.ohs-single .inside-article > .entry-footer {
  display: none !important;
}

/* ==========================================================================
   3. The reading column
   ========================================================================== */

body.ohs-single .entry-content {
  box-sizing: border-box;
  max-width: 768px;
  margin: 0 auto;
  padding: clamp(28px, 4vw, 52px) var(--ohs-gutter) clamp(24px, 3vw, 40px);
  font-family: var(--ohs-font-body, system-ui, sans-serif);
  font-size: clamp(1.0625rem, 0.85rem + 0.45vw, 1.1875rem);
  line-height: 1.78;
  letter-spacing: 0.002em;
  color: #2f4f4a;
  overflow-wrap: break-word;
}

body.ohs-single .entry-content > * {
  max-width: 100%;
}

body.ohs-single .entry-content p,
body.ohs-single .entry-content > p {
  margin: 0 0 1.35em;
  max-width: none;
  font-size: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  color: inherit;
}

body.ohs-single .entry-content h2,
body.ohs-single .entry-content h3,
body.ohs-single .entry-content h4 {
  font-family: var(--ohs-font-display, Georgia, serif);
  font-weight: 400;
  color: var(--ohs-ink, #0a2c2a);
  letter-spacing: -0.012em;
  text-wrap: balance;
  scroll-margin-top: 96px;
}

body.ohs-single .entry-content h2 {
  margin: 2.1em 0 0.62em;
  font-size: clamp(1.6rem, 1.3rem + 1.05vw, 2.06rem);
  line-height: 1.16;
}
body.ohs-single .entry-content h2:first-child {
  margin-top: 0;
}
body.ohs-single .entry-content h3 {
  margin: 1.9em 0 0.5em;
  font-size: clamp(1.24rem, 1.13rem + 0.42vw, 1.44rem);
  line-height: 1.28;
}
body.ohs-single .entry-content h4 {
  margin: 1.7em 0 0.45em;
  font-family: var(--ohs-font-body, system-ui, sans-serif);
  font-weight: 700;
  font-size: 1.04em;
  line-height: 1.4;
  letter-spacing: -0.005em;
}

/* A short rule above each section heading gives the page a spine without
   turning every heading into a banner. */
body.ohs-single .entry-content h2::before {
  content: "";
  display: block;
  width: 34px;
  height: 2px;
  margin-bottom: 18px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--ohs-sky, #35c2ac), rgba(53, 194, 172, 0.15));
}
body.ohs-single .entry-content h2:first-child::before {
  display: none;
}

/* Emphasis and links ------------------------------------------------------ */

body.ohs-single .entry-content strong,
body.ohs-single .entry-content b {
  font-weight: 700;
  color: var(--ohs-ink, #0a2c2a);
}
body.ohs-single .entry-content em,
body.ohs-single .entry-content i {
  font-style: italic;
}
body.ohs-single .entry-content a {
  color: var(--ohs-blue-700, #074b43);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(14, 124, 110, 0.4);
  text-underline-offset: 3px;
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
  border: 0;
}
body.ohs-single .entry-content a:hover {
  color: var(--ohs-blue, #0e7c6e);
  text-decoration-thickness: 2px;
  text-decoration-color: currentColor;
}
body.ohs-single .entry-content a:focus-visible {
  outline: 3px solid var(--ohs-sky, #35c2ac);
  outline-offset: 2px;
  border-radius: 3px;
}

/* Lists ------------------------------------------------------------------- */

body.ohs-single .entry-content ul,
body.ohs-single .entry-content ol {
  margin: 0 0 1.5em;
  padding-left: 1.25em;
}
body.ohs-single .entry-content li {
  margin: 0 0 0.62em;
  padding-left: 0.15em;
  font-size: inherit;
  line-height: 1.7;
  color: inherit;
}
body.ohs-single .entry-content li:last-child {
  margin-bottom: 0;
}
body.ohs-single .entry-content li > ul,
body.ohs-single .entry-content li > ol {
  margin: 0.6em 0 0;
}
body.ohs-single .entry-content ul {
  list-style: none;
  padding-left: 1.35em;
}
body.ohs-single .entry-content ul > li {
  position: relative;
}
body.ohs-single .entry-content ul > li::before {
  content: "";
  position: absolute;
  left: -1.05em;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ohs-sky, #35c2ac);
  box-shadow: 0 0 0 3px rgba(53, 194, 172, 0.14);
}
body.ohs-single .entry-content ol {
  list-style: decimal;
}
body.ohs-single .entry-content ol > li::marker {
  color: var(--ohs-blue, #0e7c6e);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* Quotes ------------------------------------------------------------------ */

body.ohs-single .entry-content blockquote,
body.ohs-single .entry-content .wp-block-quote {
  margin: 2em 0;
  padding: 22px 26px;
  border: 0;
  border-left: 3px solid var(--ohs-sky, #35c2ac);
  border-radius: 0 14px 14px 0;
  background: linear-gradient(90deg, rgba(53, 194, 172, 0.1), rgba(53, 194, 172, 0.02));
  font-family: var(--ohs-font-display, Georgia, serif);
  font-size: 1.16em;
  line-height: 1.5;
  color: var(--ohs-ink, #0a2c2a);
}
body.ohs-single .entry-content blockquote p {
  margin: 0 0 0.6em;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
}
body.ohs-single .entry-content blockquote p:last-child {
  margin-bottom: 0;
}
body.ohs-single .entry-content blockquote cite,
body.ohs-single .entry-content .wp-block-quote cite {
  display: block;
  margin-top: 10px;
  font-family: var(--ohs-font-body, system-ui, sans-serif);
  font-size: 0.8rem;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ohs-muted, #6d8481);
}

/* Media ------------------------------------------------------------------- */

body.ohs-single .entry-content img {
  max-width: 100%;
  height: auto;
  border-radius: 14px;
}
body.ohs-single .entry-content figure,
body.ohs-single .entry-content .wp-block-image {
  margin: 2em 0;
  max-width: 100%;
}
body.ohs-single .entry-content figure img {
  display: block;
  width: 100%;
}
body.ohs-single .entry-content figcaption,
body.ohs-single .entry-content .wp-element-caption {
  margin-top: 10px;
  font-size: 0.83rem;
  line-height: 1.5;
  color: var(--ohs-muted, #6d8481);
  text-align: left;
}
body.ohs-single .entry-content .wp-block-image.alignwide,
body.ohs-single .entry-content .wp-block-image.alignfull {
  margin-left: 0;
  margin-right: 0;
}

/* Tables ------------------------------------------------------------------ */

body.ohs-single .entry-content .wp-block-table {
  margin: 2em 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
body.ohs-single .entry-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.94em;
  line-height: 1.55;
}
body.ohs-single .entry-content caption {
  caption-side: top;
  margin-bottom: 10px;
  font-size: 0.83rem;
  color: var(--ohs-muted, #6d8481);
  text-align: left;
}
body.ohs-single .entry-content th {
  padding: 11px 14px;
  border-bottom: 2px solid rgba(14, 124, 110, 0.25);
  background: rgba(53, 194, 172, 0.08);
  color: var(--ohs-ink, #0a2c2a);
  font-size: 0.86em;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-align: left;
}
body.ohs-single .entry-content td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--ohs-line, rgba(10, 44, 42, 0.1));
  vertical-align: top;
}
body.ohs-single .entry-content tr:last-child td {
  border-bottom: 0;
}

/* Buttons inside article copy --------------------------------------------- */

body.ohs-single .entry-content .wp-block-button__link,
body.ohs-single .entry-content a.button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 999px;
  background: var(--ohs-blue, #0e7c6e);
  color: #fff;
  font-size: 0.97rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 14px 26px -18px rgba(14, 124, 110, 0.9);
  transition: background 0.18s ease, transform 0.18s ease;
}
body.ohs-single .entry-content .wp-block-button__link:hover,
body.ohs-single .entry-content a.button:hover {
  background: var(--ohs-blue-600, #0a6357);
  color: #fff;
  transform: translateY(-1px);
}

/* Rules, code, small print ------------------------------------------------ */

body.ohs-single .entry-content hr,
body.ohs-single .entry-content .wp-block-separator {
  margin: 2.6em 0;
  height: 1px;
  border: 0;
  background: linear-gradient(90deg, rgba(10, 44, 42, 0.16), rgba(10, 44, 42, 0));
}
body.ohs-single .entry-content code {
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(10, 44, 42, 0.06);
  font-size: 0.92em;
}
body.ohs-single .entry-content pre {
  margin: 1.8em 0;
  padding: 18px 20px;
  border-radius: 12px;
  background: #0b2422;
  color: #dff3ee;
  font-size: 0.88em;
  line-height: 1.6;
  overflow-x: auto;
}
body.ohs-single .entry-content small {
  font-size: 0.85em;
  color: var(--ohs-muted, #6d8481);
}

/* Content components already used by the articles ------------------------- */

body.ohs-single .entry-content .ohs-note {
  margin: 2em 0;
  max-width: none;
  font-size: 0.95rem;
  line-height: 1.65;
}
/* Two notes end these articles: a pointer to a related service page, then the
   medical disclaimer. The pointer gets a quiet rule instead of a second tinted
   box, so the disclaimer is the only callout on the page. */
body.ohs-single .entry-content p.ohs-note {
  padding: 0 0 0 16px;
  border: 0;
  border-left: 2px solid rgba(14, 124, 110, 0.3);
  border-radius: 0;
  background: none;
  font-size: 0.93rem;
  color: var(--ohs-ink-soft, #3b5250);
}
body.ohs-single .entry-content .ohs-related {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 18px;
  margin: 2.4em 0 2em;
  padding: 16px 20px;
  border: 1px solid var(--ohs-line, rgba(10, 44, 42, 0.1));
  border-radius: 14px;
  background: #fbfdfc;
  font-size: 0.95rem;
}
body.ohs-single .entry-content .ohs-related strong {
  flex: 0 0 100%;
  margin-bottom: 2px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ohs-muted, #6d8481);
}
/* The article's own full-bleed wrapper is neutralised here: the reading column
   already has its own measure, and 100vw would add a horizontal scrollbar. */
body.ohs-single .entry-content .ohs-bleed {
  width: auto;
  margin: 0;
}
body.ohs-single .entry-content .ohs-bleed .ohs-wrap {
  max-width: none;
  margin: 0;
  padding: 0;
}

/* ==========================================================================
   4. Table of contents
   ========================================================================== */

body.ohs-single .entry-content .ohs-toc {
  margin: 0 0 2.2em;
  padding: 2px 18px 4px;
  border: 1px solid rgba(10, 44, 42, 0.1);
  border-radius: 16px;
  background: linear-gradient(180deg, #f6fbf9 0%, #ffffff 100%);
}
body.ohs-single .entry-content .ohs-toc[open] {
  padding-bottom: 8px;
}
body.ohs-single .entry-content .ohs-toc__summary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 0;
  font-family: var(--ohs-font-body, system-ui, sans-serif);
  font-size: 0.92rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  color: var(--ohs-ink, #0a2c2a);
  cursor: pointer;
  list-style: none;
  user-select: none;
}
body.ohs-single .entry-content .ohs-toc__summary::-webkit-details-marker {
  display: none;
}
body.ohs-single .entry-content .ohs-toc__summary::after {
  content: "";
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  margin-left: 2px;
  border-right: 2px solid var(--ohs-muted, #6d8481);
  border-bottom: 2px solid var(--ohs-muted, #6d8481);
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s ease;
}
body.ohs-single .entry-content .ohs-toc[open] .ohs-toc__summary::after {
  transform: rotate(-135deg) translateY(-2px);
}
body.ohs-single .entry-content .ohs-toc__icon {
  display: inline-flex;
  color: var(--ohs-blue, #0e7c6e);
}
body.ohs-single .entry-content .ohs-toc__icon svg {
  width: 17px;
  height: 17px;
}
body.ohs-single .entry-content .ohs-toc__count {
  margin-left: auto;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ohs-muted, #6d8481);
}
body.ohs-single .entry-content .ohs-toc__list {
  margin: 0;
  padding: 10px 0 6px;
  border-top: 1px solid var(--ohs-line, rgba(10, 44, 42, 0.1));
  list-style: none;
  counter-reset: ohs-toc;
}
body.ohs-single .entry-content .ohs-toc__item {
  margin: 0;
  padding: 0;
  font-size: 0.92rem;
  line-height: 1.5;
}
body.ohs-single .entry-content .ohs-toc__item::before {
  content: none;
}
body.ohs-single .entry-content .ohs-toc__item a {
  display: flex;
  gap: 10px;
  padding: 7px 0;
  color: var(--ohs-ink-soft, #3b5250);
  text-decoration: none;
  border-bottom: 1px solid rgba(10, 44, 42, 0.06);
  transition: color 0.15s ease, padding-left 0.15s ease;
}
body.ohs-single .entry-content .ohs-toc__item a::before {
  counter-increment: ohs-toc;
  content: counter(ohs-toc, decimal-leading-zero);
  flex: 0 0 auto;
  font-size: 0.72rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: rgba(14, 124, 110, 0.55);
  padding-top: 3px;
}
body.ohs-single .entry-content .ohs-toc__item--h3 a {
  padding-left: 20px;
  font-size: 0.88rem;
}
body.ohs-single .entry-content .ohs-toc__item--h3 a::before {
  content: "–";
  padding-top: 2px;
}
body.ohs-single .entry-content .ohs-toc__item a:hover,
body.ohs-single .entry-content .ohs-toc__item a:focus-visible {
  color: var(--ohs-blue, #0e7c6e);
  padding-left: 4px;
}
body.ohs-single .entry-content .ohs-toc__item:last-child a {
  border-bottom: 0;
}

/* ==========================================================================
   5. Appointment band
   ========================================================================== */

body.ohs-single .ohs-book {
  padding: clamp(30px, 4.6vw, 58px) 0 clamp(34px, 5vw, 62px);
  background: var(--ohs-white, #fff);
}
body.ohs-single .ohs-book__card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(0, 0.88fr);
  gap: clamp(22px, 3.4vw, 46px);
  padding: clamp(24px, 3.4vw, 44px);
  border-radius: clamp(20px, 2.4vw, 28px);
  background: radial-gradient(120% 130% at 96% 0%, #0d6f62 0%, #0a2c2a 58%, #051f1e 100%);
  color: rgba(255, 255, 255, 0.8);
  box-shadow: var(--ohs-shadow-md, 0 30px 70px -40px rgba(10, 44, 42, 0.55));
}
body.ohs-single .ohs-book__card::after {
  content: "";
  position: absolute;
  right: -90px;
  top: -130px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(53, 194, 172, 0.3) 0%, rgba(53, 194, 172, 0) 66%);
  pointer-events: none;
}
body.ohs-single .ohs-book__copy {
  position: relative;
  z-index: 1;
}
body.ohs-single .ohs-book .ohs-eyebrow {
  color: rgba(143, 217, 204, 0.95);
  margin-bottom: 14px;
}
body.ohs-single .ohs-book__title {
  margin: 0 0 14px;
  max-width: 24ch;
  font-family: var(--ohs-font-display, Georgia, serif);
  font-weight: 400;
  font-size: clamp(1.6rem, 1.25rem + 1.35vw, 2.25rem);
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: #fff;
}
body.ohs-single .ohs-book__text {
  margin: 0 0 20px;
  max-width: 52ch;
  font-size: 0.98rem;
  line-height: 1.66;
  color: rgba(255, 255, 255, 0.76);
}
body.ohs-single .ohs-book__points {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}
body.ohs-single .ohs-book__points li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  padding: 0;
  font-size: 0.92rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.82);
}
body.ohs-single .ohs-book__points li::before {
  content: none;
}
body.ohs-single .ohs-book__points svg {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin-top: 3px;
  padding: 2px;
  border-radius: 50%;
  background: rgba(53, 194, 172, 0.22);
  color: var(--ohs-sky, #35c2ac);
}

body.ohs-single .ohs-book__action {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: start;
  gap: 12px;
  padding: clamp(16px, 2vw, 22px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
}
body.ohs-single .ohs-book__doc {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 12px;
  margin-bottom: 2px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
body.ohs-single .ohs-book__img {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.35);
}
body.ohs-single .ohs-book__doc-text {
  display: grid;
  gap: 2px;
  min-width: 0;
}
body.ohs-single .ohs-book__doc-text strong {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 650;
  line-height: 1.3;
}
body.ohs-single .ohs-book__doc-text span {
  font-size: 0.78rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.62);
}
body.ohs-single .ohs-book__buttons {
  display: grid;
  gap: 9px;
}
body.ohs-single .ohs-book__buttons .ohs-btn {
  width: 100%;
  padding: 14px 18px;
  font-size: 0.94rem;
}
body.ohs-single .ohs-btn--ghost-light {
  border-color: rgba(255, 255, 255, 0.4);
  background: transparent;
  color: #fff !important;
}
body.ohs-single .ohs-btn--ghost-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  transform: translateY(-1px);
}
body.ohs-single .ohs-book__small {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  font-size: 0.76rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.58);
}
body.ohs-single .ohs-book__small svg {
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  margin-top: 2px;
  color: rgba(143, 217, 204, 0.9);
}

/* The same block inside the text (shortcode / editor block) ---------------- */

body.ohs-single .entry-content .ohs-icta {
  margin: 2.4em 0;
  padding: 22px 24px;
  border: 1px solid rgba(14, 124, 110, 0.18);
  border-left: 3px solid var(--ohs-sky, #35c2ac);
  border-radius: 4px 16px 16px 4px;
  background: linear-gradient(180deg, #f4fbf9 0%, #ffffff 100%);
}
body.ohs-single .entry-content .ohs-icta__doc {
  display: flex;
  align-items: center;
  gap: 12px;
}
body.ohs-single .entry-content .ohs-icta__img {
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(10, 44, 42, 0.12);
}
body.ohs-single .entry-content .ohs-icta__who {
  display: grid;
  gap: 2px;
  min-width: 0;
}
body.ohs-single .entry-content .ohs-icta__who strong {
  font-size: 0.95rem;
  line-height: 1.3;
}
body.ohs-single .entry-content .ohs-icta__who span {
  font-size: 0.78rem;
  color: var(--ohs-muted, #6d8481);
}
body.ohs-single .entry-content .ohs-icta__title {
  margin: 14px 0 6px;
  font-family: var(--ohs-font-display, Georgia, serif);
  font-size: 1.32rem;
  font-weight: 400;
  line-height: 1.25;
  color: var(--ohs-ink, #0a2c2a);
}
body.ohs-single .entry-content .ohs-icta__text {
  margin: 0 0 16px;
  font-size: 0.95rem;
  line-height: 1.62;
}
body.ohs-single .entry-content .ohs-icta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
body.ohs-single .entry-content .ohs-icta__actions .ohs-btn {
  padding: 13px 20px;
  font-size: 0.9rem;
}

/* ==========================================================================
   6. Author box
   ========================================================================== */

body.ohs-single .ohs-author {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: clamp(18px, 2.4vw, 26px);
  box-sizing: border-box;
  max-width: 768px;
  margin: 0 auto;
  padding: clamp(24px, 3.4vw, 36px) var(--ohs-gutter);
  border-top: 1px solid var(--ohs-line, rgba(10, 44, 42, 0.1));
}
body.ohs-single .ohs-author__img {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(10, 44, 42, 0.1);
  box-shadow: 0 10px 24px -16px rgba(10, 44, 42, 0.6);
}
body.ohs-single .ohs-author__body .ohs-eyebrow {
  margin-bottom: 8px;
}
body.ohs-single .ohs-author__name {
  margin: 0 0 8px;
  font-family: var(--ohs-font-display, Georgia, serif);
  font-weight: 400;
  font-size: clamp(1.35rem, 1.15rem + 0.7vw, 1.62rem);
  line-height: 1.2;
  letter-spacing: -0.012em;
  color: var(--ohs-ink, #0a2c2a);
}
body.ohs-single .ohs-author__bio {
  margin: 0 0 12px;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--ohs-ink-soft, #3b5250);
}
body.ohs-single .ohs-author__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  margin: 0 0 14px;
  padding: 0;
  font-size: 0.79rem;
  line-height: 1.5;
  color: var(--ohs-muted, #6d8481);
}
body.ohs-single .ohs-author__facts span {
  position: relative;
}
body.ohs-single .ohs-author__facts span + span::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 0.62em;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.5;
}
body.ohs-single .ohs-author__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.87rem;
  font-weight: 650;
  color: var(--ohs-blue, #0e7c6e);
  text-decoration: none;
  border-bottom: 1px solid rgba(14, 124, 110, 0.3);
}
body.ohs-single .ohs-author__link svg {
  width: 15px;
  height: 15px;
  transition: transform 0.18s ease;
}
body.ohs-single .ohs-author__link:hover {
  color: var(--ohs-blue-700, #074b43);
  border-bottom-color: currentColor;
}
body.ohs-single .ohs-author__link:hover svg {
  transform: translateX(3px);
}

/* ==========================================================================
   7. Previous / next
   ========================================================================== */

body.ohs-single .ohs-postnav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  box-sizing: border-box;
  max-width: 768px;
  margin: 0 auto;
  padding: 0 var(--ohs-gutter) clamp(28px, 3.6vw, 44px);
}
body.ohs-single .ohs-postnav__item {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 18px 20px;
  border: 1px solid var(--ohs-line, rgba(10, 44, 42, 0.1));
  border-radius: 14px;
  background: #fff;
  text-decoration: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
body.ohs-single .ohs-postnav__item:hover {
  border-color: rgba(14, 124, 110, 0.35);
  box-shadow: var(--ohs-shadow-sm, 0 14px 34px -22px rgba(10, 44, 42, 0.4));
  transform: translateY(-2px);
}
body.ohs-single .ohs-postnav__item--next {
  text-align: right;
}
body.ohs-single .ohs-postnav__dir {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ohs-muted, #6d8481);
}
body.ohs-single .ohs-postnav__item--next .ohs-postnav__dir {
  justify-content: flex-end;
}
body.ohs-single .ohs-postnav__dir svg {
  width: 14px;
  height: 14px;
  color: var(--ohs-sky, #35c2ac);
}
body.ohs-single .ohs-postnav__title {
  font-family: var(--ohs-font-display, Georgia, serif);
  font-size: 1.06rem;
  font-weight: 400;
  line-height: 1.28;
  color: var(--ohs-ink, #0a2c2a);
}

/* ==========================================================================
   8. Related articles
   ========================================================================== */

body.ohs-single .ohs-related-band {
  padding: clamp(32px, 4.4vw, 56px) 0 clamp(36px, 5vw, 64px);
  border-top: 1px solid var(--ohs-line, rgba(10, 44, 42, 0.1));
  background: linear-gradient(180deg, #f5fbf9 0%, #ffffff 62%);
}
body.ohs-single .ohs-related-band__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 20px;
  margin-bottom: clamp(18px, 2.4vw, 26px);
}
body.ohs-single .ohs-related-band__title {
  margin: 0;
  font-family: var(--ohs-font-display, Georgia, serif);
  font-weight: 400;
  font-size: clamp(1.5rem, 1.25rem + 1vw, 1.9rem);
  line-height: 1.15;
  letter-spacing: -0.014em;
  color: var(--ohs-ink, #0a2c2a);
}
body.ohs-single .ohs-related-band__all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 650;
  color: var(--ohs-blue, #0e7c6e);
  text-decoration: none;
  border-bottom: 1px solid rgba(14, 124, 110, 0.32);
}
body.ohs-single .ohs-related-band__all svg {
  width: 15px;
  height: 15px;
  transition: transform 0.18s ease;
}
body.ohs-single .ohs-related-band__all:hover svg {
  transform: translateX(3px);
}

body.ohs-single .ohs-rcards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 22px);
  margin: 0;
  padding: 0;
  list-style: none;
}
body.ohs-single .ohs-rcard {
  margin: 0;
  padding: 0;
  list-style: none;
}
body.ohs-single .ohs-rcard::before {
  content: none;
}
body.ohs-single .ohs-rcard__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--ohs-line, rgba(10, 44, 42, 0.1));
  border-radius: 18px;
  background: #fff;
  text-decoration: none;
  overflow: hidden;
  transition: border-color 0.18s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
body.ohs-single .ohs-rcard__link:hover {
  border-color: rgba(14, 124, 110, 0.32);
  box-shadow: var(--ohs-shadow-sm, 0 14px 34px -22px rgba(10, 44, 42, 0.4));
  transform: translateY(-2px);
}
body.ohs-single .ohs-rcard__media {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, #dcf3ee 0%, #f3f8f6 100%);
  color: var(--ohs-blue, #0e7c6e);
}
body.ohs-single .ohs-rcard__media svg {
  width: 30px;
  height: 30px;
  opacity: 0.5;
}
body.ohs-single .ohs-rcard__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
body.ohs-single .ohs-rcard__link:hover .ohs-rcard__img {
  transform: scale(1.03);
}
body.ohs-single .ohs-rcard__body {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 16px 18px 18px;
}
body.ohs-single .ohs-rcard__cat {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--ohs-blue, #0e7c6e);
}
body.ohs-single .ohs-rcard__title {
  font-family: var(--ohs-font-display, Georgia, serif);
  font-size: 1.14rem;
  font-weight: 400;
  line-height: 1.24;
  letter-spacing: -0.008em;
  color: var(--ohs-ink, #0a2c2a);
}
body.ohs-single .ohs-rcard__excerpt {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--ohs-ink-soft, #3b5250);
  overflow-wrap: anywhere;
}
body.ohs-single .ohs-rcard__meta {
  margin-top: auto;
  padding-top: 6px;
  font-size: 0.76rem;
  color: var(--ohs-muted, #6d8481);
}

/* ==========================================================================
   9. Comments
   ========================================================================== */

body.ohs-single .comments-area {
  box-sizing: border-box;
  max-width: 768px;
  margin: 0 auto;
  padding: 0 var(--ohs-gutter) clamp(32px, 4vw, 52px);
}
body.ohs-single .comments-title,
body.ohs-single .comment-reply-title {
  margin: 0 0 18px;
  font-family: var(--ohs-font-display, Georgia, serif);
  font-weight: 400;
  font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.72rem);
  line-height: 1.2;
  letter-spacing: -0.012em;
  color: var(--ohs-ink, #0a2c2a);
}
body.ohs-single .comment-list {
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
}
body.ohs-single .comment-body {
  margin-bottom: 18px;
  padding: 18px 20px;
  border: 1px solid var(--ohs-line, rgba(10, 44, 42, 0.1));
  border-radius: 14px;
  background: #fff;
}
body.ohs-single .comment-list .children {
  margin: 14px 0 0;
  padding-left: clamp(12px, 2vw, 24px);
  list-style: none;
}
body.ohs-single .comment-author {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
  font-size: 0.92rem;
  font-weight: 650;
  color: var(--ohs-ink, #0a2c2a);
}
body.ohs-single .comment-author .avatar {
  border-radius: 50%;
}
body.ohs-single .comment-meta {
  font-size: 0.78rem;
  color: var(--ohs-muted, #6d8481);
}
body.ohs-single .comment-content {
  font-size: 0.96rem;
  line-height: 1.68;
  color: var(--ohs-ink-soft, #3b5250);
}
body.ohs-single .comment-content p {
  margin: 0 0 0.9em;
}
body.ohs-single .comment-respond {
  margin-top: 24px;
  padding: clamp(18px, 2.4vw, 26px);
  border: 1px solid var(--ohs-line, rgba(10, 44, 42, 0.1));
  border-radius: 16px;
  background: #fbfdfc;
}
body.ohs-single .comment-form label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ohs-ink, #0a2c2a);
}
body.ohs-single .comment-form input[type="text"],
body.ohs-single .comment-form input[type="email"],
body.ohs-single .comment-form input[type="url"],
body.ohs-single .comment-form textarea {
  width: 100%;
  max-width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(10, 44, 42, 0.16);
  border-radius: 10px;
  background: #fff;
  font-family: inherit;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--ohs-ink, #0a2c2a);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
body.ohs-single .comment-form textarea {
  min-height: 140px;
  resize: vertical;
}
body.ohs-single .comment-form input:focus,
body.ohs-single .comment-form textarea:focus {
  border-color: var(--ohs-blue, #0e7c6e);
  box-shadow: 0 0 0 3px rgba(53, 194, 172, 0.2);
  outline: none;
}
body.ohs-single .comment-form .form-submit {
  margin-bottom: 0;
}
body.ohs-single .comment-form input[type="submit"],
body.ohs-single .comment-form .submit {
  padding: 13px 24px;
  border: 0;
  border-radius: 999px;
  background: var(--ohs-blue, #0e7c6e);
  color: #fff;
  font-size: 0.94rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease;
}
body.ohs-single .comment-form input[type="submit"]:hover {
  background: var(--ohs-blue-600, #0a6357);
  transform: translateY(-1px);
}

/* ==========================================================================
   10. Responsive
   ========================================================================== */

@media (max-width: 1024px) {
  body.ohs-single .ohs-rcards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  body.ohs-single .entry-header {
    padding-top: 14px;
  }
  body.ohs-single .entry-header .entry-title {
    line-height: 1.1;
  }
  /* Below this width the copy and the action panel stop fitting side by side. */
  body.ohs-single .ohs-book__card {
    grid-template-columns: minmax(0, 1fr);
  }
  body.ohs-single .ohs-book__action {
    max-width: 440px;
  }
}

@media (max-width: 767px) {
  body.ohs-single .entry-content {
    font-size: 1.0625rem;
    line-height: 1.72;
    padding-top: 24px;
  }
  body.ohs-single .entry-content h2 {
    margin-top: 1.9em;
  }
  body.ohs-single .entry-content > table {
    display: block;
    overflow-x: auto;
  }
  body.ohs-single .ohs-meta {
    gap: 10px;
    padding-top: 14px;
  }
  body.ohs-single .ohs-meta__img {
    width: 38px;
    height: 38px;
  }
  body.ohs-single .ohs-meta__text {
    font-size: 0.83rem;
    gap: 0 6px;
  }
  body.ohs-single .ohs-book__card {
    gap: 20px;
    padding: 22px 18px;
  }
  body.ohs-single .ohs-book__action {
    max-width: none;
    padding: 16px;
  }
  body.ohs-single .ohs-author {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  body.ohs-single .ohs-author__facts {
    display: grid;
    gap: 3px;
  }
  body.ohs-single .ohs-author__facts span + span::before {
    content: none;
  }
  body.ohs-single .ohs-author__img {
    width: 72px;
    height: 72px;
  }
  body.ohs-single .ohs-postnav {
    grid-template-columns: 1fr;
  }
  body.ohs-single .ohs-postnav__item--next {
    text-align: left;
  }
  body.ohs-single .ohs-postnav__item--next .ohs-postnav__dir {
    justify-content: flex-start;
  }
  body.ohs-single .ohs-rcards {
    grid-template-columns: 1fr;
  }
  body.ohs-single .ohs-rcard__link {
    flex-direction: row;
    align-items: stretch;
  }
  body.ohs-single .ohs-rcard__media {
    flex: 0 0 38%;
    aspect-ratio: auto;
  }
  body.ohs-single .ohs-rcard__body {
    padding: 14px 16px;
  }
  body.ohs-single .ohs-rcard__title {
    font-size: 1.02rem;
  }
  body.ohs-single .ohs-rcard__excerpt {
    display: none;
  }
}

@media (max-width: 420px) {
  body.ohs-single .ohs-crumbs {
    font-size: 0.75rem;
  }
  body.ohs-single .entry-content .ohs-icta {
    padding: 18px;
  }
  body.ohs-single .entry-content .ohs-icta__actions .ohs-btn {
    width: 100%;
  }
  body.ohs-single .ohs-book__title {
    font-size: 1.48rem;
  }
  body.ohs-single .ohs-rcard__media {
    flex-basis: 34%;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.ohs-single *,
  body.ohs-single *::before,
  body.ohs-single *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   11. Print
   ========================================================================== */

@media print {
  body.ohs-single .ohs-book,
  body.ohs-single .ohs-postnav,
  body.ohs-single .ohs-related-band,
  body.ohs-single .ohs-toc,
  body.ohs-single .entry-content .ohs-icta {
    display: none !important;
  }
  body.ohs-single .entry-content {
    max-width: none;
    padding: 0;
    font-size: 11pt;
  }
}
