/*
Theme Name: Oderich
Theme URI: https://gustavooderich.com/
Author: Trione Digital Solutions
Author URI: https://trionedigital.com/
Description: Custom block theme for Dr. Gustavo S. Oderich — image-driven medical practice site with a reusable Oderich block library.
Requires at least: 6.5
Tested up to: 7.0
Requires PHP: 8.0
Version: 2.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: oderich
Tags: block-theme, full-site-editing, custom-colors, custom-logo, education
*/

:root {
  --od-dark-bg: #0F1B2E;
  --od-dark-bg-alt: #22406B;
  --od-light-bg: #F4F6F9;
  --od-light-bg-alt: #E8ECF2;
  --od-text-dark: #0F1B2E;
  --od-text-light: #ffffff;
  --od-bg: var(--od-light-bg);
  --od-surface: var(--od-light-bg-alt);
  --od-text: var(--od-text-dark);
  --od-heading: var(--od-text-dark);
  --od-primary: var(--od-dark-bg-alt);
  --od-primary-dark: var(--od-dark-bg);
  --od-secondary: #5C7187;
  --od-accent: #4E6A93;
  --od-rust: #3A4B61;
  --od-muted: #64748b;
  --od-font-sans: "Inter", system-ui, sans-serif;
  --od-font-serif: "Playfair Display", Georgia, serif;
  --od-display-size: 5.8rem;
  --od-page-heading-size: 4.6rem;
  --od-section-heading-size: 3.5rem;
  --od-border: rgba(12, 20, 34, 0.12);
  --od-max-width: 80rem;
  --od-max-width-narrow: 64rem;
  --od-max-width-reading: 48rem;
  --od-radius: 0.35rem;
  --od-shadow: 0 18px 40px rgba(12, 20, 34, 0.08);
  --od-shadow-hover: 0 26px 50px rgba(12, 20, 34, 0.12);
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--od-bg);
  color: var(--od-text);
  font-family: var(--od-font-sans);
}

a {
  text-decoration-thickness: 1px;
  text-underline-offset: 0.16em;
}

h1,
h2,
h3,
h4,
h5,
h6,
.wp-block-post-title,
.wp-block-heading {
  font-family: var(--od-font-serif);
  font-weight: 400;
}

.wp-site-blocks {
  min-height: 100vh;
}

.editor-styles-wrapper .is-root-container,
.editor-styles-wrapper .wp-block-post-content,
.editor-styles-wrapper .wp-block-post-content.is-layout-constrained {
  max-width: none;
}

.editor-styles-wrapper .od-container,
.editor-styles-wrapper .od-container.wp-block-group,
.editor-styles-wrapper .od-hero__inner {
  width: min(calc(100% - 3rem), var(--od-max-width));
  max-width: min(calc(100% - 3rem), var(--od-max-width));
}

.editor-styles-wrapper .od-container--narrow,
.editor-styles-wrapper .od-container--narrow.wp-block-group {
  width: min(calc(100% - 3rem), var(--od-max-width-narrow));
  max-width: min(calc(100% - 3rem), var(--od-max-width-narrow));
}

.editor-styles-wrapper .od-container--reading,
.editor-styles-wrapper .od-container--reading.wp-block-group {
  width: min(calc(100% - 3rem), var(--od-max-width-reading));
  max-width: min(calc(100% - 3rem), var(--od-max-width-reading));
}

.editor-styles-wrapper .od-container--editor-preview,
.editor-styles-wrapper .od-container--editor-preview.wp-block-group {
  width: 100% !important;
  max-width: none !important;
  margin-inline: 0 !important;
}

.editor-styles-wrapper .od-builder-grid--cols-1 {
  grid-template-columns: 1fr;
}

.editor-styles-wrapper .od-builder-grid--cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.editor-styles-wrapper .od-builder-grid--cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.editor-styles-wrapper .od-builder-grid--cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.editor-styles-wrapper .wp-block-oderich-row,
.editor-styles-wrapper .wp-block[data-type="oderich/row"] {
  width: 100% !important;
  max-width: none !important;
}

.editor-styles-wrapper .wp-block-oderich-row > .block-editor-block-list__block-edit,
.editor-styles-wrapper .wp-block-oderich-row > .block-editor-block-list__block-edit > div,
.editor-styles-wrapper .wp-block[data-type="oderich/row"] > .block-editor-block-list__block-edit,
.editor-styles-wrapper .wp-block[data-type="oderich/row"] > .block-editor-block-list__block-edit > div {
  width: 100% !important;
  max-width: none !important;
}

.editor-styles-wrapper .wp-block[data-type="oderich/row"] .wp-block[data-type="oderich/treatment-approach"],
.editor-styles-wrapper .wp-block[data-type="oderich/row"] .wp-block[data-type="oderich/treatment-approach"] > .block-editor-block-list__block-edit,
.editor-styles-wrapper .wp-block[data-type="oderich/row"] .wp-block[data-type="oderich/treatment-approach"] > .block-editor-block-list__block-edit > div {
  width: 100% !important;
  max-width: none !important;
}

.editor-styles-wrapper .od-row-block > .od-container {
  width: min(calc(100% - 3rem), var(--od-max-width));
  max-width: min(calc(100% - 3rem), var(--od-max-width));
  margin-inline: auto;
}

.editor-styles-wrapper .wp-block[data-type="oderich/row"] .wp-block[data-type="oderich/treatment-approach"] .od-container {
  width: 100% !important;
  max-width: 100% !important;
  margin-inline: 0 !important;
}

.wp-site-blocks > .alignfull,
.wp-site-blocks > .wp-block-group.alignfull {
  width: 100%;
  max-width: 100%;
}

.wp-block-post-content.is-layout-constrained > .wp-block-oderich-hero,
.wp-block-post-content.is-layout-constrained > .wp-block-oderich-row,
.wp-block-post-content.is-layout-constrained > .wp-block-oderich-volume-split,
.wp-block-post-content.is-layout-constrained > .wp-block-oderich-treatment-approach,
.wp-block-post-content.is-layout-constrained > .wp-block-oderich-clinical-research,
.wp-block-post-content.is-layout-constrained > .wp-block-group.has-background:not(.alignleft):not(.alignright):not(.alignfull) {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.od-container,
.od-container.wp-block-group {
  width: min(calc(100% - 3rem), var(--od-max-width));
  margin-inline: auto;
}

.od-container--narrow,
.od-container--narrow.wp-block-group {
  width: min(calc(100% - 3rem), var(--od-max-width-narrow));
  margin-inline: auto;
}

.od-container--reading,
.od-container--reading.wp-block-group {
  width: min(calc(100% - 3rem), var(--od-max-width-reading));
  margin-inline: auto;
}

.od-footer .od-container.is-layout-constrained > :where(.wp-block-columns),
.od-footer .od-container.wp-block-group.is-layout-constrained > :where(.wp-block-columns),
.od-footer .od-container.is-layout-constrained > :where(.wp-block-group),
.od-footer .od-container.wp-block-group.is-layout-constrained > :where(.wp-block-group) {
  width: 100%;
}

.od-section {
  padding-block: clamp(5rem, 9vw, 8rem);
}

.wp-block-post-content.is-layout-constrained > [class*="wp-block-oderich-"]:not(.wp-block-oderich-row) {
  margin-block-start: 0;
  margin-block-end: 0;
}

:is(
  .wp-block-oderich-hero,
  .wp-block-oderich-introduction,
  .wp-block-oderich-volume-split,
  .wp-block-oderich-precision-cards,
  .wp-block-oderich-treatment-approach,
  .wp-block-oderich-clinical-research,
  .wp-block-oderich-card-grid,
  .wp-block-oderich-timeline,
  .wp-block-oderich-lectures-scroller,
  .wp-block-oderich-grants-accordion,
  .wp-block-oderich-accordion,
  .od-block-introduction,
  .od-volume-split-block,
  .od-precision-cards-block
) {
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 0;
  padding-bottom: 0;
}

.wp-block-post-content.is-layout-constrained > :is(
  .wp-block-oderich-hero,
  .wp-block-oderich-introduction,
  .wp-block-oderich-volume-split,
  .wp-block-oderich-precision-cards,
  .wp-block-oderich-treatment-approach,
  .wp-block-oderich-clinical-research,
  .wp-block-oderich-card-grid,
  .wp-block-oderich-timeline,
  .wp-block-oderich-lectures-scroller,
  .wp-block-oderich-grants-accordion,
  .wp-block-oderich-accordion
) {
  padding-top: 0;
  padding-bottom: 0;
}

:is(
  .od-section,
  .od-section-builder,
  .od-block-introduction,
  .od-volume-split-block,
  .od-precision-cards-block
) {
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 0;
  padding-bottom: 0;
}

.od-row-block {
  padding-top: 120px;
  padding-bottom: 120px;
}

.od-row-block > .od-container {
  width: min(calc(100% - 3rem), var(--od-max-width));
  margin-inline: auto;
}

.od-row-block .wp-block-oderich-treatment-approach,
.od-row-block .wp-block-oderich-treatment-approach > .od-section-builder {
  width: 100%;
  max-width: 100%;
}

.od-row-block .wp-block-oderich-treatment-approach .od-container {
  width: 100%;
  max-width: 100%;
  margin-inline: 0;
}

.od-row-block__intro {
  margin-bottom: 64px;
}

.od-row-block > .od-container > .od-row-block__intro:last-child {
  margin-bottom: 0;
}

.od-row-block__intro--center {
  text-align: center;
}

.od-row-block__intro--center .od-rule {
  margin-left: auto;
  margin-right: auto;
}

.od-row-block__subheading {
  margin: 0;
  font-size: 1.06rem;
  line-height: 1.9;
  color: var(--od-muted);
}

.od-row-block__divider {
  margin-bottom: 1.5rem;
}

@media (min-width: 1200px) {
  .od-row-block__intro {
    padding-left: 241px;
    padding-right: 241px;
  }
}

.wp-block-post-content.is-layout-constrained > .wp-block-oderich-row:first-child {
  margin-top: 4rem;
}

body:not(.od-front-page) .od-page-header + .wp-block-oderich-row,
body:not(.od-front-page) .od-page-header + .wp-block-group > .wp-block-oderich-row:first-child {
  margin-top: 0;
}

.od-section--tight {
  padding-block: clamp(3rem, 6vw, 5rem);
}

.od-surface {
  background: linear-gradient(180deg, #ffffff 0%, var(--od-surface) 100%);
}

.od-page-header {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 18%, rgba(92, 113, 135, 0.25), transparent 18rem),
    linear-gradient(135deg, var(--od-primary-dark) 0%, #1A2C49 58%, #14253E 100%);
  color: #ffffff;
  padding: 10rem 0 5rem;
}

.od-page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.4;
  pointer-events: none;
}

.od-page-header > * {
  position: relative;
  z-index: 1;
}

.od-page-header h1 {
  font-size: clamp(3.2rem, 7vw, var(--od-page-heading-size));
  color: inherit;
  margin: 0 0 1.25rem;
}

.od-page-header p {
  color: rgba(255,255,255,0.82);
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
}

.od-rule {
  width: 4rem;
  height: 4px;
  border-radius: 999px;
  background: var(--od-primary);
  margin: 0 0 2rem;
}

.od-custom-divider-block {
  width: 100%;
}

.od-custom-divider {
  display: block;
}

.od-custom-divider--left {
  margin-left: 0;
  margin-right: auto;
}

.od-custom-divider--center {
  margin-left: auto;
  margin-right: auto;
}

.od-custom-divider--right {
  margin-left: auto;
  margin-right: 0;
}

.od-hero {
  position: relative;
  overflow: hidden;
  min-height: 100svh;
  display: flex;
  align-items: center;
  color: #ffffff;
  background-color: #0F1B2E;
  background:
    radial-gradient(circle at 25% 28%, rgba(34, 64, 107, 0.2), transparent 22rem),
    radial-gradient(circle at 76% 72%, rgba(34, 64, 107, 0.3), transparent 24rem),
    linear-gradient(180deg, #0F1B2E 0%, #0F1B2E 100%);
}

.od-hero::before,
.od-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.od-hero::after {
  background:
    radial-gradient(circle at 30% 30%, rgba(34, 64, 107, 0.16), transparent 0 14rem),
    radial-gradient(circle at 73% 63%, rgba(92, 113, 135, 0.18), transparent 0 18rem);
  animation: odPulse 14s ease-in-out infinite;
}

.od-hero__lines {
  position: absolute;
  inset: 0;
  opacity: 0.32;
  pointer-events: none;
}

.od-hero__lines svg {
  width: 100%;
  height: 100%;
}

.od-hero__inner {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 3rem), var(--od-max-width));
  max-width: min(calc(100% - 3rem), var(--od-max-width));
  margin-inline: auto;
  padding: 8rem 0 5rem;
  text-align: center;
}

.od-eyebrow {
  display: inline-block;
  margin: 0 0 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.82rem;
  color: var(--od-accent);
}

.od-display {
  margin: 0;
  font-size: clamp(3rem, 8vw, var(--od-display-size));
  line-height: 0.98;
  letter-spacing: -0.03em;
  font-weight: 400;
  color: #ffffff;
}

.od-display .has-accent {
  background: linear-gradient(90deg, #ffffff 0%, #22406B 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.od-lead {
  max-width: 48rem;
  margin: 2rem auto 0;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.8;
  color: rgba(255,255,255,0.84);
}

.od-hero-copy {
  max-width: 48rem;
  margin: 2rem auto 0;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.8;
  color: rgba(255,255,255,0.84);
}

.od-card,
.od-archive-card,
.od-stat-card,
.od-focus-card,
.od-grant-item,
.od-timeline-card {
  background: #ffffff;
  border: 1px solid var(--od-border);
  border-radius: var(--od-radius);
  box-shadow: var(--od-shadow);
}

.od-card,
.od-focus-card,
.od-stat-card,
.od-timeline-card {
  padding: clamp(1.5rem, 2vw, 2rem);
}

.od-grid {
  display: grid;
  gap: 2rem;
}

.od-grid--cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.od-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 6vw, 4rem);
  align-items: center;
}

.od-portrait-shell {
  position: relative;
}

.od-portrait-shell--editable {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: inherit;
  cursor: pointer;
}

.od-portrait-shell::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 3px;
  height: 8rem;
  transform: translateY(-50%);
  background: var(--od-accent);
}

.od-portrait-shell::after {
  content: "";
  position: absolute;
  right: -1rem;
  bottom: -1rem;
  width: 12rem;
  height: 12rem;
  border-radius: 999px;
  background: rgba(92, 113, 135, 0.12);
  filter: blur(28px);
  z-index: -1;
}

.od-portrait-card {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 35%, rgba(92, 113, 135, 0.12), transparent 35%),
    linear-gradient(180deg, #F4F6F9 0%, #E2E8F2 100%);
  display: grid;
  place-items: center;
}

.od-portrait-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.od-portrait-card p {
  color: rgba(100, 116, 139, 0.8);
  font-size: 1.15rem;
}

.od-portrait-edit-label {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.75rem;
  background: rgba(12, 20, 34, 0.82);
  color: #ffffff;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.od-section-heading {
  font-size: clamp(2.4rem, 6vw, var(--od-section-heading-size));
  margin: 0 0 1rem;
}

.od-section-copy,
.od-section-copy p {
  font-size: 1.06rem;
  line-height: 1.9;
}

.od-section-intro {
  margin-bottom: 2.5rem;
}

.wp-block-post-content.is-layout-constrained > .od-section-intro,
.is-layout-constrained > .od-section-intro {
  margin-bottom: 2.5rem !important;
  margin-block-end: 2.5rem !important;
}

.od-feature-list {
  display: grid;
  gap: 1.25rem;
}

.od-feature-list li {
  list-style: none;
  margin: 0;
  padding-left: 1.4rem;
  position: relative;
}

.od-feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 999px;
  background: var(--od-primary);
}

.od-split-dark {
  background: var(--od-primary-dark);
  color: #ffffff;
}

.od-split-dark p,
.od-split-dark li {
  color: rgba(255,255,255,0.78);
}

.od-dark-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--od-radius);
  padding: 2rem;
  backdrop-filter: blur(6px);
}

.od-dark-card h3,
.od-dark-card h4 {
  color: #ffffff;
}

.od-dark-card p {
  color: rgba(255,255,255,0.68);
}

.od-volume-list {
  margin-bottom: 2rem;
}

.od-volume-list li {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.92);
}

.od-volume-quote {
  border-left: 2px solid var(--od-primary);
  padding-left: 1.5rem;
  font-style: italic;
  font-size: 1.125rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.8);
}

.od-volume-card-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: end;
}

.od-volume-card--offset {
  margin-top: 3rem;
}

.od-volume-card__icon {
  width: 2rem;
  height: 2rem;
  border-radius: 0;
  background: transparent;
  color: var(--od-rust);
  margin-bottom: 1rem;
}

.od-volume-card__icon svg {
  width: 2rem;
  height: 2rem;
}

.od-volume-card__icon img {
  width: 2rem;
  height: 2rem;
  object-fit: contain;
  display: block;
}

.od-volume-split-block .od-section-heading {
  color: #ffffff;
  margin-bottom: 1.5rem;
}

.od-volume-split-block .od-rule {
  width: 4rem;
  height: 4px;
  background: var(--od-accent);
  margin-bottom: 2rem;
}

.od-volume-split-block > .od-container > div > p:first-of-type {
  color: rgba(255,255,255,0.8);
  font-size: 1.125rem;
  line-height: 1.75;
  margin-bottom: 2rem;
}

.od-volume-split-block .od-feature-list.od-volume-list {
  gap: 1.5rem;
}

.od-volume-split-block .od-feature-list.od-volume-list li {
  display: flex;
  align-items: center;
  padding-left: 0;
}

.od-volume-split-block .od-feature-list.od-volume-list li.od-volume-list__item {
  gap: 0;
}

.od-volume-list__remove {
  margin-left: auto;
  padding-left: 0.75rem;
}

.od-volume-list__actions {
  margin: 1rem 0 0;
}

.od-volume-split-block .od-feature-list.od-volume-list li::before {
  position: static;
  flex: 0 0 auto;
  width: 0.5rem;
  height: 0.5rem;
  margin-right: 1rem;
  transform: none;
  background: var(--od-primary);
}

.od-volume-split-block .od-volume-card-stack {
  gap: 1.5rem;
  align-items: end;
}

.od-volume-split-block .od-dark-card.od-volume-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 2rem;
  backdrop-filter: blur(6px);
  box-shadow: none;
  border-radius: 0.125rem;
}

.od-volume-split-block .od-volume-card-stack > .od-volume-card:first-child {
  padding-bottom: 4rem;
}

.od-volume-split-block .od-volume-card-stack > .od-volume-card.od-volume-card--offset {
  min-height: 0;
}

.od-volume-split-block .od-volume-card h4 {
  font-family: var(--od-font-serif);
  font-size: 1.25rem;
  line-height: 1.3;
  margin: 0 0 0.5rem;
  color: #ffffff;
}

.od-volume-split-block .od-volume-card p {
  color: rgba(255,255,255,0.6);
  font-size: 0.875rem;
  line-height: 1.6;
  margin: 0;
}

.od-volume-split-block .od-volume-card--offset {
  margin-top: 3rem;
}

.od-volume-split-block .od-volume-card__icon {
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 1rem;
  color: inherit;
  min-width: 2.5rem;
}

.od-volume-split-block .od-volume-card__icon.od-custom-icon {
  border-radius: 0;
  background: transparent;
}

.od-volume-split-block .od-volume-card__icon svg,
.od-volume-split-block .od-volume-card__icon img {
  width: 2rem;
  height: 2rem;
}

.od-treatment-grid {
  --od-treatment-gap: 2rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--od-treatment-gap, 2rem);
  row-gap: var(--od-treatment-gap, 2rem);
  column-gap: var(--od-treatment-gap, 2rem);
  align-items: stretch;
}

.od-treatment-grid--cols-1 {
  grid-template-columns: 1fr;
}

.od-treatment-grid--cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.od-treatment-grid--cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.od-treatment-grid--cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.od-treatment-card {
  background: #EBEEF3;
  border-left: 4px solid var(--od-primary);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
  padding: 2.5rem;
  border-radius: 0.125rem;
  min-width: 0;
}

.od-treatment-card--span-2 {
  grid-column: span 2;
}

.od-treatment-card--span-3 {
  grid-column: span 3;
}

.od-treatment-card--span-4 {
  grid-column: span 4;
}

.od-treatment-card__icon {
  display: inline-flex;
  width: 32px;
  height: 32px;
  min-width: 32px;
  margin-bottom: 1.5rem;
  color: var(--od-primary);
  line-height: 1;
}

.od-treatment-card__icon svg,
.od-treatment-card__icon img {
  width: 32px;
  height: 32px;
  display: block;
  object-fit: contain;
}

.od-treatment-card__icon .od-custom-icon,
.od-treatment-card__item-icon .od-custom-icon {
  width: 100%;
  height: 100%;
  min-width: 0;
  padding: 0;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  color: inherit;
}

.od-treatment-card__icon .od-custom-icon {
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
}

.od-treatment-card__item-icon .od-custom-icon svg,
.od-treatment-card__item-icon .od-custom-icon img {
  width: 100%;
  height: 100%;
}

.od-treatment-card__title {
  margin: 0 0 1rem;
  font-family: var(--od-font-serif);
  font-size: 1.5rem;
  line-height: 1.35;
  color: var(--od-heading);
}

.od-treatment-card__body {
  margin: 0 0 1.5rem;
  color: var(--od-muted);
  font-size: 1rem;
  line-height: 1.75;
}

.od-treatment-card__body:last-child {
  margin-bottom: 0;
}

.od-treatment-card__body-group p {
  margin: 0 0 1.5rem;
  color: var(--od-muted);
  font-size: 1rem;
  line-height: 1.75;
}

.od-treatment-card__body-group p:last-child {
  margin-bottom: 0;
}

.od-treatment-card__split-copy,
.od-treatment-card__split-copy p,
.od-treatment-card__split-copy li,
.od-treatment-card__split-copy .block-editor-rich-text__editable,
.od-treatment-card__split-copy .rich-text {
  color: var(--od-muted);
}

.od-treatment-card__list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.od-treatment-card__item {
  display: flex;
  align-items: center;
  color: var(--od-muted);
}

.od-treatment-card__item--empty {
  justify-content: flex-start;
}

.od-treatment-card__item-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin-right: 12px;
  color: var(--od-primary);
  line-height: 1;
}

.od-treatment-card__item-icon .od-custom-icon {
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
}

.od-treatment-card__item-icon svg,
.od-treatment-card__item-icon img {
  width: 18px;
  height: 18px;
  display: block;
  object-fit: contain;
}

.od-treatment-card__icon .od-custom-icon svg,
.od-treatment-card__icon .od-custom-icon img {
  width: 32px !important;
  height: 32px !important;
}

.od-treatment-card__item-icon .od-custom-icon svg,
.od-treatment-card__item-icon .od-custom-icon img {
  width: 18px !important;
  height: 18px !important;
}

.od-treatment-card__icon .od-custom-icon svg,
.od-treatment-card__item-icon .od-custom-icon svg {
  stroke-width: 2;
}

.od-treatment-card__item-text {
  color: var(--od-muted);
  line-height: 1.6;
  flex: 1 1 auto;
}

.od-treatment-card__item .block-editor-rich-text__editable,
.od-treatment-card__item .rich-text {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.6 !important;
}

.od-treatment-card__note {
  margin: 0;
  color: var(--od-muted);
  font-size: 0.875rem;
  line-height: 1.7;
  font-style: italic;
}

.od-treatment-card__list-actions {
  margin-top: -0.5rem;
  margin-bottom: 1.5rem;
}

.od-treatment-card__remove-item.components-button.is-tertiary,
.od-treatment-card__list-actions .components-button {
  min-height: 0;
  padding: 0.2rem 0.45rem;
  border-radius: 0;
}

.od-treatment-card__split-copy {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}

.od-treatment-card__split-column {
  display: flex;
  flex-direction: column;
}

.od-treatment-card__split-column .od-treatment-card__body,
.od-treatment-card__split-column .od-treatment-card__list {
  margin-bottom: 1.5rem;
}

.od-treatment-card__split-column .od-treatment-card__body:last-child,
.od-treatment-card__split-column .od-treatment-card__list:last-child,
.od-treatment-card__split-column .od-treatment-card__note:last-child {
  margin-bottom: 0;
}

.od-treatment-card__note--full-width {
  grid-column: 1 / -1;
  margin-top: 0;
}

.od-treatment-card--split .od-treatment-card__title {
  margin-bottom: 1rem;
}

.od-treatment-card--split .od-treatment-card__body {
  margin-bottom: 1.5rem;
}

.od-treatment-grid--balance.od-treatment-grid--cols-2 > .od-treatment-card:last-child:nth-child(2n + 1) {
  grid-column: 1 / -1;
}

.od-treatment-grid--balance.od-treatment-grid--cols-3 > .od-treatment-card:last-child:nth-child(3n + 1) {
  grid-column: 1 / -1;
}

.od-treatment-grid--balance.od-treatment-grid--cols-3 > .od-treatment-card:nth-last-child(2):nth-child(3n + 1) {
  grid-column: span 2;
}

.od-treatment-grid--balance.od-treatment-grid--cols-4 > .od-treatment-card:last-child:nth-child(4n + 1) {
  grid-column: 1 / -1;
}

.od-treatment-grid--balance.od-treatment-grid--cols-4 > .od-treatment-card:nth-last-child(2):nth-child(4n + 1),
.od-treatment-grid--balance.od-treatment-grid--cols-4 > .od-treatment-card:last-child:nth-child(4n + 2) {
  grid-column: span 2;
}

.od-treatment-grid--balance.od-treatment-grid--cols-4 > .od-treatment-card:nth-last-child(3):nth-child(4n + 1) {
  grid-column: span 2;
}

.od-clinical-grid {
  --od-clinical-gap: 2rem;
  --od-clinical-card-bg: rgba(255, 255, 255, 0.05);
  --od-clinical-card-border: #ffffff1a;
  --od-clinical-text: #ffffff;
  --od-clinical-bullet: var(--od-primary);
  --od-clinical-icon: var(--od-rust);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--od-clinical-gap, 2rem);
  align-items: stretch;
}

.od-clinical-card {
  min-width: 0;
  padding: 2rem;
  background: var(--od-clinical-card-bg);
  border: 1px solid var(--od-clinical-card-border);
  border-radius: 0.125rem;
}

.od-clinical-card--span-2 {
  grid-column: span 2;
}

.od-clinical-card--span-3 {
  grid-column: 1 / -1;
}

.od-clinical-card__icon {
  display: inline-flex;
  width: 28px;
  height: 28px;
  min-width: 28px;
  margin-bottom: 1.5rem;
  color: var(--od-clinical-icon);
}

.od-clinical-card__icon svg,
.od-clinical-card__icon img,
.od-clinical-card__icon .od-custom-icon,
.od-clinical-card__icon .od-custom-icon svg,
.od-clinical-card__icon .od-custom-icon img {
  width: 28px !important;
  height: 28px !important;
  min-width: 28px !important;
  display: block;
  object-fit: contain;
}

.od-clinical-card__icon .od-custom-icon {
  background: transparent !important;
  padding: 0 !important;
  box-shadow: none !important;
  color: inherit !important;
}

.od-clinical-card__icon svg,
.od-clinical-card__icon .od-custom-icon svg,
.od-clinical-card__icon img,
.od-clinical-card__icon .od-custom-icon img {
  color: inherit !important;
  stroke: currentColor;
}

.od-clinical-card__title {
  margin: 0 0 1rem;
  font-family: var(--od-font-serif);
  font-size: 1.5rem;
  line-height: 1.35;
  color: var(--od-clinical-text);
}

.od-clinical-card__body {
  margin: 0 0 1.5rem;
  color: var(--od-clinical-text);
  opacity: 0.8;
  line-height: 1.75;
}

.od-clinical-card__body:last-child {
  margin-bottom: 0;
}

.od-clinical-card__body-group {
  color: var(--od-clinical-text);
  opacity: 0.8;
}

.od-clinical-card__body-group p {
  margin: 0 0 1.5rem;
  line-height: 1.75;
}

.od-clinical-card__body-group p:last-child {
  margin-bottom: 0;
}

.od-clinical-card__body-group--prelist {
  margin-bottom: 1.5rem;
}

.od-clinical-card__body-group--prelist:last-child {
  margin-bottom: 0;
}

.od-clinical-card__content {
  color: var(--od-clinical-text);
  opacity: 0.8;
}

.od-clinical-card__content > *:first-child {
  margin-top: 0;
}

.od-clinical-card__content > *:last-child {
  margin-bottom: 0;
}

.od-clinical-card__content p {
  margin: 0 0 1.5rem;
  line-height: 1.75;
}

.od-clinical-card__content ul,
.od-clinical-card__content ol {
  margin: 0 0 1.5rem;
  padding: 0;
}

.od-clinical-card__content ul {
  list-style: none;
}

.od-clinical-card__content ul li,
.od-clinical-card__content ol li {
  position: relative;
  margin: 0 0 0.75rem;
  line-height: 1.65;
}

.od-clinical-card__content ul li {
  padding-left: 1.125rem;
}

.od-clinical-card__content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--od-clinical-bullet);
}

.od-clinical-card__content--cols-2 ul {
  columns: 2;
  column-gap: 1.5rem;
}

.od-clinical-card__content--cols-2 ul li {
  break-inside: avoid;
}

.od-clinical-card__list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.od-clinical-card__list--cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.5rem;
}

.od-clinical-card__item {
  display: flex;
  align-items: flex-start;
  color: var(--od-clinical-text);
  opacity: 0.9;
}

.od-clinical-card__item--empty {
  justify-content: flex-start;
}

.od-clinical-card__bullet {
  width: 6px;
  height: 6px;
  min-width: 6px;
  margin-right: 0.75rem;
  margin-top: 0.7rem;
  border-radius: 999px;
  background: var(--od-clinical-bullet);
}

.od-clinical-card__item-text {
  flex: 1 1 auto;
  line-height: 1.65;
}

.od-clinical-card__item .block-editor-rich-text__editable,
.od-clinical-card__item .rich-text {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.65 !important;
}

.od-clinical-card__note {
  margin: 0;
  color: var(--od-clinical-text);
  opacity: 0.6;
  font-size: 0.875rem;
  line-height: 1.7;
  font-style: italic;
}


.od-clinical-card__remove-item.components-button.is-tertiary,
.od-clinical-card__list-actions .components-button {
  min-height: 0;
  padding: 0.2rem 0.45rem;
  border-radius: 0;
}

.od-clinical-card__list-actions {
  margin-top: -0.5rem;
  margin-bottom: 1.5rem;
}

.od-precision-grid {
  display: grid;
  gap: 3rem;
  max-width: 80rem;
  margin: 0 auto;
}

.od-precision-grid--cols-1 {
  grid-template-columns: 1fr;
}

.od-precision-grid--cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.od-precision-grid--cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.od-precision-card {
  background: #E8ECF2;
  border-left: 4px solid var(--od-primary);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
  padding: 40px;
  border-radius: 0.125rem;
}

.od-precision-card__pretitle-slot {
  margin: 0 0 0.75rem;
}

.od-precision-card__pretitle-slot > * {
  margin: 0 !important;
}

.od-precision-card__pretitle-slot .wp-block-paragraph,
.od-precision-card__pretitle-slot .block-editor-rich-text__editable,
.od-precision-card__pretitle-slot .rich-text {
  margin: 0 !important;
}

.od-precision-card__pretitle {
  color: #64748B;
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

.od-precision-card__title {
  font-family: var(--od-font-serif);
  font-size: 1.5rem;
  line-height: 1.35;
  color: var(--od-heading);
  margin: 0 0 1.5rem;
}

.od-precision-card__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.od-precision-card__item {
  display: flex;
  align-items: center;
  gap: 0;
}

.od-precision-card__remove {
  margin-left: auto;
  padding-left: 0.75rem;
}

.od-precision-card__icon-wrap {
  color: var(--od-primary);
  display: inline-flex;
  align-items: flex-start;
  flex: 0 0 auto;
  margin-top: 0;
  margin-right: 0.75rem;
  line-height: 1;
}

.od-precision-card__icon {
  width: 1.25rem;
  height: 1.25rem;
  min-width: 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0 !important;
  background: transparent !important;
  color: inherit !important;
  padding: 0 !important;
  box-shadow: none !important;
}

.od-precision-card__icon svg,
.od-precision-card__icon img {
  width: 1.25rem;
  height: 1.25rem;
  display: block;
  object-fit: contain;
}

.od-precision-card__icon svg {
  stroke-width: 2;
}

.od-precision-card__text {
  color: #64748B;
  font-size: 1rem;
  line-height: 1.45;
  display: inline-block;
  padding-top: 0;
  margin: 0;
}

.od-precision-card__item .block-editor-rich-text__editable,
.od-precision-card__item .rich-text {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.45 !important;
  display: inline-block;
}

.od-precision-card__actions {
  margin-top: 0;
}

.od-inline-control-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: end;
  margin-bottom: 0.75rem;
}

.od-details-list {
  display: grid;
  gap: 1rem;
}

.od-details-item {
  overflow: hidden;
}

.od-details-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.6rem 1.8rem;
  position: relative;
  font-family: var(--od-font-serif);
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  color: var(--od-heading);
}

.od-details-item summary::-webkit-details-marker {
  display: none;
}

.od-details-item summary::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--od-primary);
}

.od-details-item summary::after {
  content: "+";
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--od-font-sans);
  font-size: 1.4rem;
  color: var(--od-muted);
}

.od-details-item[open] summary {
  color: var(--od-primary);
}

.od-details-item[open] summary::after {
  content: "−";
  color: var(--od-primary);
}

.od-details-body {
  padding: 0 1.8rem 1.8rem;
}

.od-archive-card,
.od-research-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.od-archive-card:hover,
.od-research-card:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 64, 107, 0.22);
  box-shadow: var(--od-shadow-hover);
}

.od-card-strip {
  position: absolute;
  left: -1px;
  right: -1px;
  top: -1px;
  height: 4px;
  background: linear-gradient(90deg, var(--od-primary), var(--od-secondary));
  opacity: 0;
  transition: opacity 0.25s ease;
  border-radius: var(--od-radius) var(--od-radius) 0 0;
}

.od-research-card:hover .od-card-strip {
  opacity: 1;
}

.od-card-meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.od-card-meta__topics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.od-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(34, 64, 107, 0.08);
  color: var(--od-primary);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.od-chip--journal {
  padding: 0.25rem 0.5rem;
  border-radius: 0.125rem;
  background: rgba(34, 64, 107, 0.1);
  color: var(--od-primary);
  font-weight: 600;
}

.od-chip--category {
  padding: 0.25rem 0.5rem;
  border-radius: 0.125rem;
  background: #F4F6F9;
  color: var(--od-text);
  font-weight: 500;
}

.od-year,
.od-card-journal,
.od-grant-meta,
.od-label {
  font-size: 0.88rem;
  color: var(--od-muted);
}

.od-card-title {
  margin: 0;
  font-size: clamp(1.4rem, 2vw, 1.7rem);
  line-height: 1.24;
}

.od-card-title a,
.od-inline-link {
  text-decoration: none;
}

.od-card-summary {
  margin: 0;
  color: var(--od-text);
}

.od-card-link-row {
  margin-top: auto;
  padding-top: 0.5rem;
}

.od-builder-grid {
  margin-top: 0;
}

.od-builder-grid--cols-1 {
  grid-template-columns: 1fr;
}

.od-builder-grid--cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.od-builder-grid--cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.od-builder-grid--cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.od-builder-card__header {
  display: grid;
  gap: 1rem;
  align-items: start;
}

.od-custom-icon {
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(34, 64, 107, 0.1);
  color: var(--od-primary);
}

.od-custom-icon svg {
  width: 1.2rem;
  height: 1.2rem;
}

.od-custom-icon img {
  width: 1.2rem;
  height: 1.2rem;
  object-fit: contain;
  display: block;
}

.od-inline-link {
  color: var(--od-primary);
  font-weight: 600;
}

.od-builder-grid--style-why-best .od-builder-card {
  background: #ffffff;
  border: 1px solid rgba(100, 116, 139, 0.1);
  border-left: 4px solid var(--od-primary);
  box-shadow: 0 1px 2px rgba(12, 20, 34, 0.06);
  padding: 2rem;
}

.od-builder-grid--style-why-best .od-builder-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 18px rgba(12, 20, 34, 0.08);
  border-color: rgba(100, 116, 139, 0.1);
  border-left-color: var(--od-primary);
}

.od-builder-grid--style-why-best .od-card-strip,
.od-builder-grid--style-why-best .od-card-meta,
.od-builder-grid--style-why-best .od-card-link-row,
.od-builder-grid--style-why-best .od-card-summary {
  display: none;
}

.od-builder-grid--style-why-best .od-builder-card__header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.od-builder-grid--style-why-best .od-custom-icon {
  width: 1.5rem;
  height: 1.5rem;
  min-width: 1.5rem;
  border-radius: 0;
  background: transparent;
  color: var(--od-primary);
  margin-top: 0.15rem;
}

.od-builder-grid--style-why-best .od-custom-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  stroke-width: 1.9;
}

.od-builder-grid--style-why-best .od-custom-icon img {
  width: 1.5rem;
  height: 1.5rem;
}

.od-builder-grid--style-why-best .od-card-title {
  font-family: var(--od-font-sans);
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.7;
  color: var(--od-heading);
  margin: 0;
}

.od-builder-grid--style-feature .od-card-strip,
.od-builder-grid--style-feature .od-card-meta,
.od-builder-grid--style-feature .od-card-link-row {
  display: none;
}

.od-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

.od-filter-pill {
  border: 1px solid rgba(12, 20, 34, 0.1);
  background: #ffffff;
  color: var(--od-text);
  border-radius: 999px;
  padding: 0.625rem 1.25rem;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.od-filter-pill:hover,
.od-filter-pill.is-active {
  color: #ffffff;
  border-color: transparent;
  background: var(--od-primary);
  box-shadow: 0 8px 18px rgba(34, 64, 107, 0.16);
}

.od-research-card.is-hidden {
  display: none;
}

.od-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.25rem;
}

.od-pagination__status {
  color: var(--od-text);
  font-size: 0.95rem;
}

.od-filter-bar--editor .od-filter-pill {
  pointer-events: none;
}

.od-builder-grid--style-research {
  gap: 2rem;
}

.od-builder-grid--style-research .od-builder-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 2rem;
  background: #fff;
  border: 1px solid #F4F6F9;
  border-radius: 0.125rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.od-builder-grid--style-research .od-builder-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 35px rgba(15, 23, 42, 0.12);
}

.od-builder-grid--style-research .od-builder-card__header,
.od-builder-grid--style-research .od-custom-icon {
  display: none;
}

.od-builder-grid--style-research .od-card-strip {
  height: 4px;
  background: transparent;
  opacity: 1;
}

.od-builder-grid--style-research .od-builder-card:hover .od-card-strip {
  background: var(--od-primary);
}

.od-builder-grid--style-research .od-card-meta {
  margin-bottom: 1rem;
}

.od-builder-grid--style-research .od-card-meta__topics {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
}

.od-builder-grid--style-research .od-year {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--od-text);
}

.od-builder-grid--style-research .od-card-title {
  margin: 0 0 0.75rem;
  font-family: var(--od-font-serif);
  font-size: 1.25rem;
  line-height: 1.35;
  color: var(--od-heading);
  transition: color 0.3s ease;
}

.od-builder-grid--style-research .od-builder-card:hover .od-card-title {
  color: var(--od-primary);
}

.od-builder-grid--style-research .od-card-summary {
  margin: 0 0 1.5rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--od-text);
  flex-grow: 1;
}

.od-card-link-row--research {
  margin-top: auto;
  padding-top: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--od-heading);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
}

.od-card-link-row--research:hover {
  color: var(--od-primary);
}

.od-card-link-row--research .od-inline-link {
  color: inherit;
}

.od-card-link-icon {
  display: inline-flex;
  width: 1rem;
  height: 1rem;
}

.od-card-link-icon svg {
  width: 1rem;
  height: 1rem;
}

.od-timeline {
  position: relative;
  display: grid;
  gap: 4rem;
  max-width: 64rem;
  margin: 0 auto;
}

.od-timeline::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 50%;
  width: 2px;
  background: var(--od-surface);
  transform: translateX(-50%);
}

.od-timeline-row {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 0;
  align-items: start;
}

.od-js .od-timeline-node,
.od-js .od-timeline-card {
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.od-js .od-timeline-node {
  opacity: 0;
  transform: scale(0.92);
}

.od-js .od-timeline-card {
  opacity: 0;
  transform: translateY(18px);
}

.od-js .od-timeline-row.is-node-visible .od-timeline-node {
  opacity: 1;
  transform: scale(1);
}

.od-js .od-timeline-row.is-card-visible .od-timeline-card {
  opacity: 1;
  transform: translateY(0);
}

.od-timeline-row:nth-child(odd) .od-timeline-card {
  grid-column: 1;
  margin-right: 4rem;
  text-align: right;
}

.od-timeline-row:nth-child(even) .od-timeline-card {
  grid-column: 2;
  margin-left: 4rem;
  text-align: left;
}

.od-timeline-node {
  position: absolute;
  left: 50%;
  top: 0.25rem;
  width: 3rem;
  height: 3rem;
  margin-left: -1.5rem;
  border-radius: 999px;
  background: #ffffff;
  border: 4px solid var(--od-surface);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--od-primary);
  z-index: 2;
}

.od-timeline-node__icon,
.od-timeline-node__icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.od-timeline-card {
  background: #E8ECF2;
  border-left: 4px solid var(--od-primary);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(100, 116, 139, 0.05);
  padding: 2rem;
  border-radius: 0.125rem;
  transition: box-shadow 0.3s ease;
}

.od-timeline-card:hover {
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.1);
}

.od-timeline-card .od-chip {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.25rem 0.75rem;
  background: rgba(34, 64, 107, 0.1);
  color: var(--od-primary);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 0.125rem;
}

.od-timeline-card h3 {
  margin: 0 0 0.5rem;
  font-family: var(--od-font-serif);
  font-size: 1.5rem;
  color: var(--od-heading);
}

.od-timeline-card .od-year {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--od-muted);
}

.od-timeline-card > p:last-child {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--od-muted);
}

.od-accordion-list,
.od-grants-accordion {
  display: grid;
  gap: 1rem;
}

.od-accordion-list--simple .od-grant-summary {
  padding: 1.5rem 2rem;
  position: relative;
  display: flex;
  align-items: center;
}

.od-accordion-list--simple .od-grant-summary__content {
  gap: 0;
}

.od-accordion-list--simple .od-grant-title {
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  color: var(--od-heading);
}

.od-accordion-list--simple .od-grant-meta,
.od-accordion-list--simple .od-grant-info-strip {
  display: none;
}

.od-accordion-list--simple .od-grant-panel {
  padding: 0.5rem 1.8rem 1.8rem;
}

.od-accordion-list--simple .od-grant-panel > * + * {
  margin-top: 0.75rem;
}

.od-accordion-list--simple .od-grant-toggle {
  width: 1.5rem;
  height: 1.5rem;
  margin-top: 0;
}

.od-accordion-list--simple .od-grant-item[open] .od-grant-title {
  color: var(--od-heading);
}

.od-accordion-list--detailed .od-grant-meta,
.od-accordion-list--detailed .od-grant-info-strip {
  display: flex;
}

.od-grant-item {
  overflow: hidden;
  position: relative;
  border-radius: 0;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}

.od-grant-item::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--od-primary);
  z-index: 2;
}

.od-grant-summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 1.5rem 1.5rem 1.75rem;
  transition: background 0.25s ease;
}

.od-grant-summary::-webkit-details-marker {
  display: none;
}

.od-grant-summary:hover {
  background: rgba(100, 116, 139, 0.05);
}

.od-grant-summary__content {
  display: grid;
  gap: 0.75rem;
  padding-right: 2rem;
}

.od-grant-title {
  margin: 0;
  font-size: clamp(1.35rem, 2.3vw, 1.75rem);
  line-height: 1.3;
  color: var(--od-heading);
}

.od-grant-toggle {
  flex: 0 0 auto;
  width: 1.5rem;
  height: 1.5rem;
  position: relative;
  margin-top: 0.15rem;
  color: var(--od-muted);
}

.od-grant-toggle::before,
.od-grant-toggle::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 1rem;
  height: 2px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform 0.25s ease, opacity 0.25s ease, background 0.25s ease;
}

.od-grant-toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.od-accordion-list--toggle-chevron .od-grant-toggle::before,
.od-accordion-list--toggle-chevron .od-grant-toggle::after {
  width: 0.7rem;
  height: 2px;
}

.od-accordion-list--toggle-chevron .od-grant-toggle::before {
  transform: translate(-68%, -30%) rotate(45deg);
}

.od-accordion-list--toggle-chevron .od-grant-toggle::after {
  transform: translate(-8%, -30%) rotate(-45deg);
}

.od-accordion-list--toggle-chevron .od-grant-item[open] .od-grant-toggle {
  color: var(--od-primary);
}

.od-accordion-list--toggle-chevron .od-grant-item[open] .od-grant-toggle::before {
  transform: translate(-68%, -30%) rotate(-45deg);
}

.od-accordion-list--toggle-chevron .od-grant-item[open] .od-grant-toggle::after {
  transform: translate(-8%, -30%) rotate(45deg);
}

.od-accordion-list--toggle-plus-minus .od-grant-item[open] .od-grant-toggle {
  color: var(--od-primary);
}

.od-accordion-list--toggle-plus-minus .od-grant-item[open] .od-grant-toggle::after {
  opacity: 0;
}

.od-grant-panel {
  padding: 0.5rem 1.5rem 1.5rem 1.75rem;
}

.od-grant-description {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--od-muted);
}

.od-grant-description > * + * {
  margin-top: 1rem;
}

.od-grant-description ul,
.od-grant-description ol {
  padding-left: 1.25rem;
}

.od-grant-description li + li {
  margin-top: 0.5rem;
}

.od-grant-info-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 2rem;
  padding: 1rem 1.25rem;
  border-radius: 0;
  background: var(--od-surface);
  margin-bottom: 1.5rem;
}

.od-grant-info-strip > div {
  display: block;
}

.od-label {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.od-grant-info-strip strong {
  display: inline-flex;
  align-items: center;
  gap: 0.125rem;
  color: var(--od-heading);
  margin-top: 0;
  line-height: 1.4;
}

.od-grant-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  font-size: 0.875rem;
  color: var(--od-muted);
  line-height: 1.4;
}

.od-grant-meta__item,
.od-grant-amount {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  line-height: 1.4;
}

.od-grant-meta__icon,
.od-grant-amount__icon {
  width: 0.875rem;
  height: 0.875rem;
  min-width: 0.875rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  background: transparent;
  color: inherit;
}

.od-grant-meta__icon svg,
.od-grant-amount__icon svg {
  width: 0.875rem;
  height: 0.875rem;
  display: block;
}

.od-grant-amount {
  color: var(--od-primary) !important;
}

.od-lectures-scroller {
  position: relative;
  overflow: hidden;
  color: var(--od-lecture-color, var(--od-primary-dark));
  padding: 0.25rem 0;
  mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}

.od-lectures-marquee {
  display: inline-flex;
  align-items: center;
  width: max-content;
  min-width: max-content;
  animation: od-lecture-scroll var(--od-lecture-duration, 34s) linear infinite;
  will-change: transform;
}

.od-lectures-marquee--editor {
  animation: none;
  display: flex;
  width: 100%;
  min-width: 0;
}

.od-lectures-track {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  white-space: nowrap;
  gap: var(--od-lecture-gap, 2.5rem);
  margin-right: var(--od-lecture-gap, 2.5rem);
}

.od-lecture-item {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--od-lecture-logo-height, 2.75rem);
  white-space: nowrap;
  opacity: 0.7;
}

.od-lecture-text {
  display: inline-flex;
  align-items: center;
  font-family: var(--od-font-serif);
  font-size: 1.25rem;
  line-height: 1.15;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 700;
  color: inherit;
}

.od-lecture-logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--od-lecture-logo-height, 2.75rem);
}

.od-lecture-logo {
  display: block;
  flex: 0 0 auto;
  color: inherit;
}

.od-lecture-logo--mask {
  width: calc(var(--od-lecture-logo-height, 2.75rem) * 3.4);
  height: var(--od-lecture-logo-height, 2.75rem);
  background-color: currentColor;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-position: center;
  mask-position: center;
}

.od-lecture-logo--image {
  width: auto;
  max-width: calc(var(--od-lecture-logo-height, 2.75rem) * 4.5);
  height: var(--od-lecture-logo-height, 2.75rem);
  object-fit: contain;
  vertical-align: middle;
  display: block;
  filter: grayscale(1) brightness(0.26) sepia(0.22) saturate(1.2) hue-rotate(84deg);
  opacity: 1;
}

@keyframes od-lecture-scroll {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-25%, 0, 0);
  }
}

.od-accordion-list--detailed .od-grant-item[open] .od-grant-title,
.od-accordion-list--detailed .od-grant-item[open] .od-grant-toggle {
  color: var(--od-primary);
}

.od-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  transition: background 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease, padding 0.28s ease, transform 0.28s ease;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(12, 20, 34, 0.08);
}

.od-front-page .od-header {
  background: #0F1B2E;
  backdrop-filter: none;
  border-bottom-color: rgba(255, 255, 255, 0.06);
  box-shadow: none;
}

.od-front-page.od-scrolled .od-header {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  border-bottom-color: rgba(12, 20, 34, 0.08);
  box-shadow: 0 12px 32px rgba(12, 20, 34, 0.08);
}

.od-header .od-container {
  width: min(calc(100% - 3rem), var(--od-max-width));
}

.od-site-brand {
  gap: 0.08rem;
  align-items: flex-start;
  flex-shrink: 0;
}

.od-header .wp-block-site-title {
  margin: 0;
  font-family: var(--od-font-serif);
  font-size: clamp(1.14rem, 1.32vw, 1.46rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: 0.03em;
}

.od-header .wp-block-site-title a,
.od-header .wp-block-site-tagline,
.od-header .wp-block-navigation-item__content {
  color: var(--od-heading);
  text-decoration: none;
  transition: color 0.2s ease;
}

.od-front-page .od-header .wp-block-site-title a,
.od-front-page .od-header .wp-block-site-tagline,
.od-front-page .od-header .wp-block-navigation-item__content {
  color: #ffffff;
}

.od-front-page.od-scrolled .od-header .wp-block-site-title a,
.od-front-page.od-scrolled .od-header .wp-block-site-tagline,
.od-front-page.od-scrolled .od-header .wp-block-navigation-item__content {
  color: var(--od-heading);
}

.od-header .wp-block-site-tagline {
  margin-top: 0.25rem;
  font-family: var(--od-font-sans);
  font-size: 0.72rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  line-height: 1.15;
  opacity: 0.88;
}

.od-header .wp-block-navigation {
  font-size: 0.9rem;
}

.od-header-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  position: relative;
}

.od-header-nav br {
  display: none !important;
}

.od-nav-toggle {
  display: none;
  appearance: none;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  transition: color 0.2s ease;
}

.od-nav-toggle__icon {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 24px;
  height: 24px;
  color: inherit;
  flex-shrink: 0;
}

.od-nav-toggle__icon span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.od-front-page:not(.od-scrolled) .od-nav-toggle {
  color: #ffffff;
}

.od-front-page.od-scrolled .od-nav-toggle,
body:not(.od-front-page) .od-nav-toggle {
  color: var(--od-heading);
}

.od-header-nav.is-open .od-nav-toggle__icon span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.od-header-nav.is-open .od-nav-toggle__icon span:nth-child(2) {
  opacity: 0;
}

.od-header-nav.is-open .od-nav-toggle__icon span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.od-nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 1.7rem;
}

.od-header .wp-block-navigation-item__content {
  position: relative;
  font-family: var(--od-font-sans);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding-top: 0.1rem;
  padding-bottom: 0.08rem;
}

.od-front-page:not(.od-scrolled) .od-header .wp-block-navigation-item__content:hover,
.od-front-page:not(.od-scrolled) .od-header .current-menu-item > .wp-block-navigation-item__content,
.od-front-page:not(.od-scrolled) .od-header .current_page_item > .wp-block-navigation-item__content {
  color: #ffffff;
}

.od-header .current-menu-item > .wp-block-navigation-item__content,
.od-header .current_page_item > .wp-block-navigation-item__content,
.od-header .wp-block-navigation-item__content:hover {
  color: var(--od-primary);
}

.od-header .wp-block-navigation-item {
  position: relative;
}

.od-header .current-menu-item > .wp-block-navigation-item__content::after,
.od-header .current_page_item > .wp-block-navigation-item__content::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.5rem;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.od-front-page:not(.od-scrolled) .od-header .current-menu-item > .wp-block-navigation-item__content::after,
.od-front-page:not(.od-scrolled) .od-header .current_page_item > .wp-block-navigation-item__content::after {
  background: #ffffff;
}

.od-header .wp-block-navigation__responsive-container.is-menu-open {
  padding-top: 6rem;
  background: rgba(255, 255, 255, 0.98);
}

.od-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content,
.od-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close {
  color: var(--od-heading);
}

.od-header .wp-block-navigation__responsive-container-content {
  align-items: flex-start;
}

.od-header .wp-block-navigation__container {
  gap: 1.7rem;
}

.wp-element-button,
.wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  border-radius: 0;
  font-family: var(--od-font-sans);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-transform: none;
  transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.od-hero-actions {
  margin-top: 48px;
}

.od-button--hero .wp-block-button__link,
.od-hero .wp-block-button__link {
  background: var(--od-primary);
  color: #ffffff;
  border-radius: 0;
  padding: 1rem 2.05rem;
  font-weight: 400 !important;
  box-shadow: 0 8px 20px rgba(12, 20, 34, 0.16);
}

.od-button--hero .wp-block-button__link::after,
.od-hero .wp-block-button__link::after {
  content: "";
  width: 1.1rem;
  height: 1.1rem;
  flex: 0 0 1.1rem;
  display: inline-block;
  background-color: currentColor;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E");
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E");
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
}

.od-button--hero .wp-block-button__link:hover,
.od-hero .wp-block-button__link:hover {
  background: #22406B;
  color: #ffffff;
}

.od-footer {
  background:
    radial-gradient(circle at 80% 20%, rgba(92, 113, 135, 0.22), transparent 18rem),
    linear-gradient(180deg, #0F1B2E 0%, #141F33 100%);
  color: rgba(255,255,255,0.82);
  margin-top: 0;
  padding-block: 4rem;
}

.wp-site-blocks > .wp-block-template-part,
.wp-site-blocks > .wp-block-template-part.has-global-padding {
  margin-block-start: 0;
  margin-top: 0;
}

.od-footer .od-container {
  width: min(calc(100% - 3rem), var(--od-max-width));
  max-width: min(calc(100% - 3rem), var(--od-max-width));
}

.od-footer a,
.od-footer .wp-block-site-title a {
  color: #ffffff;
  text-decoration: none;
}

.od-footer .wp-block-heading {
  color: #ffffff;
}

.od-footer .wp-block-separator {
  opacity: 0.2;
}

.od-footer__columns {
  gap: 3rem;
}

.od-footer__name {
  margin: 0 0 1rem;
  font-family: var(--od-font-serif);
  font-size: 1.5rem;
  line-height: 1.2;
  color: #fff;
}

.od-footer__summary {
  max-width: 32rem;
  margin: 0 0 1.5rem;
  font-size: 0.875rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.8);
}

.od-footer__label {
  margin: 0 0 1rem;
  font-family: var(--od-font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
}

.od-footer__nav {
  gap: 0.75rem;
}

.od-footer__nav .wp-block-navigation-item {
  font-size: 0.875rem;
}

.od-footer__nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.8rem;
}

.od-footer__nav-item {
  margin: 0;
}

.od-footer__nav .wp-block-navigation-item__content {
  color: rgba(255, 255, 255, 0.8);
}

.od-footer__nav .wp-block-navigation-item__content:hover {
  color: var(--od-primary);
}

.od-footer__contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  font-size: 0.875rem;
}

.od-footer__contact-item {
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.8);
}

.od-footer__contact-item--address {
  align-items: flex-start;
}

.od-footer__contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin-right: 0.75rem;
  color: var(--od-rust);
}

.od-footer__contact-item--address .od-footer__contact-icon {
  margin-top: 0.125rem;
}

.od-footer__contact-icon svg {
  width: 18px;
  height: 18px;
}

.od-footer__divider {
  opacity: 0.12 !important;
  margin: 4rem 0 2rem !important;
  background: rgba(255, 255, 255, 0.16) !important;
  color: rgba(255, 255, 255, 0.16) !important;
}

.od-footer__meta {
  gap: 1rem;
}

.od-footer__meta p,
.od-footer__policies p {
  margin: 0;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.72);
}

.od-footer__policies {
  gap: 1.5rem;
}

.od-footer__policies a {
  color: rgba(255, 255, 255, 0.72);
}

.od-footer__policies a:hover {
  color: #fff;
}

.od-query-empty {
  text-align: center;
  color: var(--od-muted);
  padding: 2rem 0;
}

.od-admin-note {
  margin-top: 1rem;
  background: #ffffff;
  border-left: 4px solid var(--od-primary);
  padding: 1rem 1.25rem;
}

@keyframes odPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.85;
  }
  50% {
    transform: scale(1.08);
    opacity: 1;
  }
}

@media (max-width: 960px) {
  .od-grid--cards,
  .od-intro-grid,
  .od-timeline-row,
  .od-precision-grid {
    grid-template-columns: 1fr;
  }

  .od-treatment-grid {
    grid-template-columns: 1fr;
  }

  .od-treatment-card--span-2 {
    grid-column: auto;
  }

  .od-treatment-card--span-3,
  .od-treatment-card--span-4 {
    grid-column: auto;
  }

  .od-treatment-card__split-copy {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .od-clinical-grid {
    grid-template-columns: 1fr;
  }

  .od-clinical-card--span-2,
  .od-clinical-card--span-3 {
    grid-column: auto;
  }

  .od-clinical-card__list--cols-2 {
    grid-template-columns: 1fr;
  }

  .od-footer__columns {
    gap: 2rem;
  }

  .od-footer__meta {
    align-items: flex-start !important;
  }

  .od-footer__policies {
    width: 100%;
    gap: 1rem;
  }

  .od-builder-grid--cols-2,
  .od-builder-grid--cols-3,
  .od-builder-grid--cols-4 {
    grid-template-columns: 1fr 1fr;
  }

  .od-timeline::before {
    left: 1.5rem;
    transform: none;
  }

  .od-timeline-node {
    left: 1.5rem;
    margin-left: 0;
    width: 3rem;
    height: 3rem;
  }

  .od-timeline-card,
  .od-timeline-row:nth-child(even) .od-timeline-card,
  .od-timeline-row:nth-child(odd) .od-timeline-card {
    grid-column: auto;
    margin-left: 4rem;
    margin-right: 0;
    text-align: left;
  }

  .editor-styles-wrapper .od-timeline > .block-editor-inner-blocks > .block-editor-block-list__layout > .wp-block:nth-child(even) .od-timeline-card,
  .editor-styles-wrapper .od-timeline > .block-editor-inner-blocks > .block-editor-block-list__layout > .wp-block:nth-child(odd) .od-timeline-card {
    grid-column: auto;
    margin-left: 4rem;
    margin-right: 0;
    text-align: left;
  }
}

@media (max-width: 781px) {
  .wp-block-post-content.is-layout-constrained > [class*="wp-block-oderich-"]:not(.wp-block-oderich-accordion):not(.wp-block-oderich-grants-accordion) {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }

  .wp-block-oderich-introduction > .od-container.od-intro-grid,
  .editor-styles-wrapper .wp-block[data-type="oderich/introduction"] > .block-editor-block-list__block-edit .od-container.od-intro-grid,
  .editor-styles-wrapper .wp-block-oderich-introduction > .block-editor-block-list__block-edit .od-container.od-intro-grid {
    width: min(calc(100% - 3.5rem), var(--od-max-width)) !important;
    max-width: min(calc(100% - 3.5rem), var(--od-max-width)) !important;
    margin-inline: auto !important;
  }

  .wp-block-post-content.is-layout-constrained > [class*="wp-block-oderich-"]:not(.wp-block-oderich-accordion):not(.wp-block-oderich-grants-accordion) > .od-container,
  .wp-block-post-content.is-layout-constrained > [class*="wp-block-oderich-"]:not(.wp-block-oderich-accordion):not(.wp-block-oderich-grants-accordion) > .od-hero__inner,
  .editor-styles-wrapper [class*="wp-block-oderich-"]:not(.wp-block-oderich-accordion):not(.wp-block-oderich-grants-accordion) > .od-container,
  .editor-styles-wrapper [class*="wp-block-oderich-"]:not(.wp-block-oderich-accordion):not(.wp-block-oderich-grants-accordion) > .od-hero__inner {
    width: min(calc(100% - 3.5rem), var(--od-max-width)) !important;
    max-width: min(calc(100% - 3.5rem), var(--od-max-width)) !important;
    margin-inline: auto !important;
  }

  .wp-block-oderich-card-grid > .od-container {
    width: min(calc(100% - 3.5rem), var(--od-max-width)) !important;
    max-width: min(calc(100% - 3.5rem), var(--od-max-width)) !important;
    margin-inline: auto !important;
  }

  .od-row-block > .od-container > [class*="wp-block-oderich-"] > .od-container,
  .od-row-block > .od-container > [class*="wp-block-oderich-"] > .od-hero__inner,
  .od-row-block > .od-container > [class*="wp-block-oderich-"] > .od-container.od-intro-grid,
  .editor-styles-wrapper .wp-block[data-type="oderich/row"] > .block-editor-block-list__block-edit .od-row-block > .od-container > [class*="wp-block-oderich-"] > .od-container,
  .editor-styles-wrapper .wp-block[data-type="oderich/row"] > .block-editor-block-list__block-edit .od-row-block > .od-container > [class*="wp-block-oderich-"] > .od-hero__inner {
    width: 100% !important;
    max-width: 100% !important;
    margin-inline: 0 !important;
  }

  .od-research-card,
  .od-archive-card {
    padding: 1.5rem;
    gap: 0.85rem;
  }

  .od-card-meta {
    gap: 0.5rem;
  }

  .od-card-meta__topics {
    gap: 0.35rem;
  }

  .od-card-link-row--research {
    padding-top: 0.25rem;
  }

  .wp-block-oderich-accordion > .od-container.od-container--narrow,
  .wp-block-oderich-grants-accordion > .od-container.od-container--narrow {
    width: 100%;
    max-width: 100%;
    margin-inline: 0;
  }

  .wp-block-oderich-timeline > .od-container.od-container--narrow {
    width: min(calc(100% - 3rem), var(--od-max-width-narrow));
    max-width: min(calc(100% - 3rem), var(--od-max-width-narrow));
    margin-inline: auto;
  }

  .od-timeline {
    border-left: 0;
    margin-left: 0;
    padding-left: 0;
  }

  .od-timeline::before {
    display: block;
    left: 50%;
    transform: translateX(-50%);
  }

  .od-timeline-node {
    position: relative;
    left: auto;
    top: auto;
    margin: 0 auto;
    width: 3rem;
    height: 3rem;
  }

  .od-timeline-row {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    grid-template-columns: 1fr;
    padding-top: 0;
    gap: 5rem;
  }

  .od-timeline-card,
  .od-timeline-row:nth-child(even) .od-timeline-card,
  .od-timeline-row:nth-child(odd) .od-timeline-card,
  .editor-styles-wrapper .od-timeline > .block-editor-inner-blocks > .block-editor-block-list__layout > .wp-block:nth-child(even) .od-timeline-card,
  .editor-styles-wrapper .od-timeline > .block-editor-inner-blocks > .block-editor-block-list__layout > .wp-block:nth-child(odd) .od-timeline-card {
    grid-column: 1;
    margin-left: 0;
    margin-right: 0;
    text-align: left;
  }

  .od-timeline {
    gap: 5rem;
  }

  .wp-block-post-content.is-layout-constrained > .wp-block-oderich-row:first-child {
    margin-top: 4rem;
  }

  .od-row-block {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }

  .od-row-block__intro {
    margin-bottom: 3rem;
  }

  body:not(.od-front-page) .od-page-header + .wp-block-oderich-row,
  body:not(.od-front-page) .od-page-header + .wp-block-group > .wp-block-oderich-row:first-child {
    margin-top: 0;
  }

  .od-volume-split-block .od-intro-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem;
  }

  .od-volume-split-block .od-volume-card-stack {
    grid-template-columns: 1fr;
    gap: 1rem;
    align-items: stretch;
  }

  .od-volume-split-block .od-volume-card-stack > .od-volume-card:first-child,
  .od-volume-split-block .od-volume-card-stack > .od-volume-card.od-volume-card--offset {
    min-height: 0;
  }

  .od-volume-split-block .od-volume-card--offset {
    margin-top: 0;
  }

  .wp-block-post-content.is-layout-constrained > :is(
    p,
    ul,
    ol,
    blockquote,
    pre,
    .wp-block-heading,
    .wp-block-paragraph,
    .wp-block-list,
    .wp-block-quote,
    .wp-block-preformatted,
    .wp-block-separator
  ):not(.alignfull):not(.alignwide):not(.alignleft):not(.alignright) {
    width: min(calc(100% - 3rem), var(--od-max-width));
    margin-inline: auto !important;
  }

  .od-container,
  .od-container.wp-block-group,
  .od-container--narrow,
  .od-container--narrow.wp-block-group,
  .od-container--reading,
  .od-container--reading.wp-block-group,
  .od-hero__inner {
    width: min(calc(100% - 3rem), var(--od-max-width));
  }

  .wp-block-post-content.is-layout-constrained > [class*="wp-block-oderich-"]:not(.wp-block-oderich-accordion):not(.wp-block-oderich-grants-accordion) > :is(.od-container, .od-container.od-intro-grid, .od-container.od-container--narrow, .od-container.od-container--reading, .od-hero__inner),
  .editor-styles-wrapper [class*="wp-block-oderich-"]:not(.wp-block-oderich-accordion):not(.wp-block-oderich-grants-accordion) > :is(.od-container, .od-container.od-intro-grid, .od-container.od-container--narrow, .od-container.od-container--reading, .od-hero__inner) {
    width: min(calc(100% - 3.5rem), var(--od-max-width)) !important;
    max-width: min(calc(100% - 3.5rem), var(--od-max-width)) !important;
    margin-inline: auto !important;
  }

  .od-hero__inner {
    padding-top: 7rem;
    padding-bottom: 4rem;
  }

  .od-page-header {
    padding-top: 8rem;
    padding-bottom: 4rem;
  }

  .od-header .wp-block-site-title {
    font-size: 1.08rem;
  }

  .od-header .wp-block-site-tagline {
    font-size: 0.64rem;
    letter-spacing: 0.24em;
  }

  .od-nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-right: -0.125rem;
    position: relative;
    z-index: 42;
    color: inherit !important;
  }

  .od-header-nav {
    position: relative;
  }

  .od-header-nav .od-custom-navigation {
    position: absolute;
    top: 100%;
    left: calc(50% - 50vw);
    right: auto;
    width: 100vw;
    max-width: 100vw;
    min-width: 0;
    margin-top: 0.85rem;
    background: rgba(255, 255, 255, 0.98);
    border-top: 1px solid rgba(12, 20, 34, 0.08);
    box-shadow: 0 18px 40px rgba(12, 20, 34, 0.12);
    padding: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 40;
  }

  .od-header-nav.is-open .od-custom-navigation {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .od-header-nav .od-nav-menu {
    display: grid;
    gap: 0.1rem;
    width: min(calc(100% - 3rem), var(--od-max-width));
    margin-inline: auto;
    padding: 1rem 0 1.25rem;
  }

  .od-header .wp-block-navigation__container {
    gap: 0;
  }

  .od-header .current-menu-item > .wp-block-navigation-item__content::after,
  .od-header .current_page_item > .wp-block-navigation-item__content::after {
    display: none;
  }

  .od-header-nav .wp-block-navigation-item {
    width: 100%;
  }

  .od-header-nav .wp-block-navigation-item__content {
    color: var(--od-heading) !important;
    display: block;
    width: 100%;
    padding: 0.5rem 0;
    font-size: 1.125rem;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.35;
  }

  .od-grant-summary {
    padding: 1.3rem;
  }

  .od-accordion-list--simple .od-grant-summary {
    padding: 1rem 1.5rem;
  }

  .od-accordion-list--simple .od-grant-panel {
    padding: 0.5rem 1.5rem 1rem;
  }

  .od-accordion-list--simple .od-grant-title {
    font-size: clamp(1.15rem, 5vw, 1.4rem);
    line-height: 1.35;
  }

  .od-grant-summary {
    padding: 1rem 1.5rem;
  }

  .od-grant-panel {
    padding: 0.5rem 1.5rem 1rem 1.5rem;
  }

  .od-grant-description {
    font-size: 0.95rem;
    line-height: 1.7;
  }

  .od-clinical-grid {
    gap: 1rem;
  }

  .od-clinical-card {
    padding: 1.1rem;
  }

  .od-clinical-card__icon {
    margin-bottom: 0.85rem;
  }

  .od-clinical-card__title {
    margin-bottom: 0.65rem;
    font-size: 1.2rem;
  }

  .od-clinical-card__body,
  .od-clinical-card__body-group p,
  .od-clinical-card__list,
  .od-clinical-card__note {
    margin-bottom: 0.85rem;
  }

  .od-clinical-card__body,
  .od-clinical-card__body-group p,
  .od-clinical-card__item-text,
  .od-clinical-card__note {
    font-size: 0.95rem;
    line-height: 1.65;
  }

  .od-clinical-card__list--cols-2 {
    gap: 0.65rem;
  }

  .od-builder-grid--cols-2,
  .od-builder-grid--cols-3,
  .od-builder-grid--cols-4 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1024px) {
  .od-nav-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: inherit !important;
  }

  .od-nav-toggle__icon {
    display: inline-flex !important;
  }

  .od-nav-toggle__icon span {
    background-color: currentColor !important;
  }

  .od-front-page:not(.od-scrolled) .od-nav-toggle {
    color: #ffffff !important;
  }

  .od-front-page.od-scrolled .od-nav-toggle,
  body:not(.od-front-page) .od-nav-toggle {
    color: var(--od-heading) !important;
  }

  .od-header-nav {
    position: relative;
  }

  .od-header-nav .od-custom-navigation {
    position: fixed;
    left: 0;
    right: 0;
    top: 84px;
    width: 100vw;
    max-width: 100vw;
    margin-top: 0;
    padding: 0;
    background: rgba(255, 255, 255, 0.985);
    border-top: 1px solid rgba(12, 20, 34, 0.08);
    box-shadow: 0 18px 40px rgba(12, 20, 34, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 998;
  }

  .od-header-nav.is-open .od-custom-navigation {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .od-header-nav .od-nav-menu {
    display: grid;
    gap: 0.1rem;
    width: min(calc(100% - 3rem), var(--od-max-width));
    margin-inline: auto;
    padding: 1rem 0 1.25rem;
  }

  .od-header-nav .wp-block-navigation-item {
    width: 100%;
  }

  .od-header-nav .wp-block-navigation-item__content {
    display: block;
    width: 100%;
    padding: 0.5rem 0;
    color: var(--od-heading) !important;
    font-size: 1.125rem;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.35;
  }

  .od-header .current-menu-item > .wp-block-navigation-item__content::after,
  .od-header .current_page_item > .wp-block-navigation-item__content::after {
    display: none;
  }
}

.editor-styles-wrapper .od-builder-grid--cols-1 {
  grid-template-columns: 1fr !important;
}

.editor-styles-wrapper .od-builder-grid--cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.editor-styles-wrapper .od-builder-grid--cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

.editor-styles-wrapper .od-builder-grid--cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

.editor-styles-wrapper .od-builder-grid > .block-editor-inner-blocks {
  width: 100%;
  max-width: 100%;
  display: contents;
}

.editor-styles-wrapper .wp-block-oderich-card-grid,
.editor-styles-wrapper .wp-block-oderich-timeline,
.editor-styles-wrapper .wp-block-oderich-accordion,
.editor-styles-wrapper .wp-block-oderich-treatment-approach,
.editor-styles-wrapper .wp-block[data-type="oderich/card-grid"],
.editor-styles-wrapper .wp-block[data-type="oderich/timeline"],
.editor-styles-wrapper .wp-block[data-type="oderich/accordion"],
.editor-styles-wrapper .wp-block[data-type="oderich/treatment-approach"] {
  width: min(calc(100% - 3rem), var(--od-max-width)) !important;
  max-width: var(--od-max-width) !important;
  margin-inline: auto !important;
}

.editor-styles-wrapper .wp-block[data-type="oderich/card-grid"] > .block-editor-block-list__block-edit,
.editor-styles-wrapper .wp-block[data-type="oderich/timeline"] > .block-editor-block-list__block-edit,
.editor-styles-wrapper .wp-block[data-type="oderich/accordion"] > .block-editor-block-list__block-edit,
.editor-styles-wrapper .wp-block[data-type="oderich/treatment-approach"] > .block-editor-block-list__block-edit,
.editor-styles-wrapper .wp-block[data-type="oderich/card-grid"] > .block-editor-block-list__block-edit > div,
.editor-styles-wrapper .wp-block[data-type="oderich/timeline"] > .block-editor-block-list__block-edit > div,
.editor-styles-wrapper .wp-block[data-type="oderich/accordion"] > .block-editor-block-list__block-edit > div,
.editor-styles-wrapper .wp-block[data-type="oderich/treatment-approach"] > .block-editor-block-list__block-edit > div {
  width: 100% !important;
  max-width: none !important;
}

.editor-styles-wrapper .wp-block[data-type="oderich/card-grid"] .od-container,
.editor-styles-wrapper .wp-block[data-type="oderich/timeline"] .od-container,
.editor-styles-wrapper .wp-block[data-type="oderich/accordion"] .od-container,
.editor-styles-wrapper .wp-block[data-type="oderich/treatment-approach"] .od-container {
  width: 100% !important;
  max-width: 100% !important;
  margin-inline: 0 !important;
}

.editor-styles-wrapper .od-timeline > .block-editor-inner-blocks,
.editor-styles-wrapper .od-timeline > .block-editor-inner-blocks > .block-editor-block-list__layout {
  display: contents;
}

.editor-styles-wrapper .od-timeline > .block-editor-inner-blocks > .block-editor-block-list__layout > .wp-block {
  width: 100% !important;
  max-width: none !important;
}

.editor-styles-wrapper .od-timeline > .block-editor-inner-blocks > .block-editor-block-list__layout > .wp-block:nth-child(odd) .od-timeline-card {
  grid-column: 1;
  margin-right: 4rem;
  margin-left: 0;
  text-align: right;
}

.editor-styles-wrapper .od-timeline > .block-editor-inner-blocks > .block-editor-block-list__layout > .wp-block:nth-child(even) .od-timeline-card {
  grid-column: 2;
  margin-left: 4rem;
  margin-right: 0;
  text-align: left;
}

.editor-styles-wrapper .od-accordion-list > .block-editor-inner-blocks {
  width: 100%;
  max-width: 100%;
}

.editor-styles-wrapper .od-accordion-list > .block-editor-inner-blocks > .block-editor-block-list__layout {
  display: grid;
  gap: var(--od-accordion-gap, 16px) !important;
}

.editor-styles-wrapper .od-accordion-list > .block-editor-inner-blocks > .block-editor-block-list__layout > .wp-block {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.editor-styles-wrapper .od-accordion-list > .block-editor-inner-blocks > .block-editor-block-list__layout > .wp-block > .block-editor-block-list__block-edit,
.editor-styles-wrapper .od-accordion-list > .block-editor-inner-blocks > .block-editor-block-list__layout > .wp-block > .block-editor-block-list__block-edit > div {
  width: 100% !important;
  max-width: none !important;
}

.editor-styles-wrapper .od-accordion-list .block-list-appender {
  width: 100%;
  max-width: none;
}

.od-accordion-list__actions {
  margin-top: 1rem;
}

.editor-styles-wrapper .od-builder-grid > .block-editor-inner-blocks > .block-editor-block-list__layout {
  display: contents !important;
}

.editor-styles-wrapper .od-builder-grid > .block-editor-inner-blocks > .block-editor-block-list__layout > .wp-block {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.editor-styles-wrapper .od-builder-grid > .block-editor-inner-blocks > .block-editor-block-list__layout > .wp-block > .block-editor-block-list__block-edit,
.editor-styles-wrapper .od-builder-grid > .block-editor-inner-blocks > .block-editor-block-list__layout > .wp-block > .block-editor-block-list__block-edit > div {
  width: 100% !important;
  max-width: none !important;
}

.editor-styles-wrapper .od-builder-grid .block-list-appender {
  width: 100%;
  max-width: none;
}

.editor-styles-wrapper .od-builder-grid--cols-1 > .block-editor-inner-blocks > .block-editor-block-list__layout {
  grid-template-columns: 1fr !important;
}

.editor-styles-wrapper .od-builder-grid--cols-2 > .block-editor-inner-blocks > .block-editor-block-list__layout {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.editor-styles-wrapper .od-builder-grid--cols-3 > .block-editor-inner-blocks > .block-editor-block-list__layout {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

.editor-styles-wrapper .od-builder-grid--cols-4 > .block-editor-inner-blocks > .block-editor-block-list__layout {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

.editor-styles-wrapper .od-precision-grid > .block-editor-inner-blocks {
  width: 100%;
  max-width: 100%;
  display: contents;
}

.editor-styles-wrapper .od-precision-grid > .block-editor-inner-blocks > .block-editor-block-list__layout {
  display: contents !important;
}

.editor-styles-wrapper .od-precision-grid > .block-editor-inner-blocks > .block-editor-block-list__layout > .wp-block {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.editor-styles-wrapper .od-precision-grid > .block-editor-inner-blocks > .block-editor-block-list__layout > .wp-block > .block-editor-block-list__block-edit,
.editor-styles-wrapper .od-precision-grid > .block-editor-inner-blocks > .block-editor-block-list__layout > .wp-block > .block-editor-block-list__block-edit > div {
  width: 100% !important;
  max-width: none !important;
}

.editor-styles-wrapper .od-precision-grid .block-list-appender {
  width: 100%;
  max-width: none;
}

.editor-styles-wrapper .od-precision-grid--cols-1 > .block-editor-inner-blocks > .block-editor-block-list__layout {
  grid-template-columns: 1fr !important;
}

.editor-styles-wrapper .od-precision-grid--cols-2 > .block-editor-inner-blocks > .block-editor-block-list__layout {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.editor-styles-wrapper .od-precision-grid--cols-3 > .block-editor-inner-blocks > .block-editor-block-list__layout {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

.editor-styles-wrapper .od-treatment-grid {
  display: grid !important;
  width: 100% !important;
  max-width: none !important;
  --od-treatment-gap: var(--od-treatment-gap, 2rem);
  gap: var(--od-treatment-gap, 2rem) !important;
  row-gap: var(--od-treatment-gap, 2rem) !important;
  column-gap: var(--od-treatment-gap, 2rem) !important;
}

.editor-styles-wrapper .od-treatment-grid > .block-editor-inner-blocks {
  width: 100%;
  max-width: 100%;
  display: contents;
}

.editor-styles-wrapper .od-treatment-grid > .block-editor-inner-blocks > .block-editor-block-list__layout {
  display: contents !important;
}

.editor-styles-wrapper .od-treatment-grid > .block-editor-inner-blocks > .block-editor-block-list__layout > .wp-block {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  display: flex;
  align-self: stretch;
  box-sizing: border-box;
}

.editor-styles-wrapper .od-treatment-grid > .block-editor-inner-blocks > .block-editor-block-list__layout > .wp-block > .block-editor-block-list__block-edit,
.editor-styles-wrapper .od-treatment-grid > .block-editor-inner-blocks > .block-editor-block-list__layout > .wp-block > .block-editor-block-list__block-edit > div {
  width: 100% !important;
  max-width: none !important;
  display: flex;
  flex: 1 1 auto;
}

.editor-styles-wrapper .od-treatment-grid .block-list-appender {
  width: 100%;
  max-width: none;
}

.editor-styles-wrapper .od-treatment-grid--cols-1 {
  grid-template-columns: 1fr !important;
}

.editor-styles-wrapper .od-treatment-grid--cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.editor-styles-wrapper .od-treatment-grid--cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

.editor-styles-wrapper .od-treatment-grid--cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

.editor-styles-wrapper .od-treatment-grid > .block-editor-inner-blocks > .block-editor-block-list__layout > .wp-block:has(.od-treatment-card--span-2) {
  grid-column: span 2;
}

.editor-styles-wrapper .od-treatment-grid > .block-editor-inner-blocks > .block-editor-block-list__layout > .wp-block:has(.od-treatment-card--span-3) {
  grid-column: span 3;
}

.editor-styles-wrapper .od-treatment-grid > .block-editor-inner-blocks > .block-editor-block-list__layout > .wp-block:has(.od-treatment-card--span-4) {
  grid-column: span 4;
}

.editor-styles-wrapper .od-treatment-grid--balance.od-treatment-grid--cols-2 > .block-editor-inner-blocks > .block-editor-block-list__layout > .wp-block:last-child:nth-child(2n + 1) {
  grid-column: 1 / -1;
}

.editor-styles-wrapper .od-treatment-grid--balance.od-treatment-grid--cols-3 > .block-editor-inner-blocks > .block-editor-block-list__layout > .wp-block:last-child:nth-child(3n + 1) {
  grid-column: 1 / -1;
}

.editor-styles-wrapper .od-treatment-grid--balance.od-treatment-grid--cols-3 > .block-editor-inner-blocks > .block-editor-block-list__layout > .wp-block:nth-last-child(2):nth-child(3n + 1) {
  grid-column: span 2;
}

.editor-styles-wrapper .od-treatment-grid--balance.od-treatment-grid--cols-4 > .block-editor-inner-blocks > .block-editor-block-list__layout > .wp-block:last-child:nth-child(4n + 1) {
  grid-column: 1 / -1;
}

.editor-styles-wrapper .od-treatment-grid--balance.od-treatment-grid--cols-4 > .block-editor-inner-blocks > .block-editor-block-list__layout > .wp-block:nth-last-child(2):nth-child(4n + 1),
.editor-styles-wrapper .od-treatment-grid--balance.od-treatment-grid--cols-4 > .block-editor-inner-blocks > .block-editor-block-list__layout > .wp-block:last-child:nth-child(4n + 2) {
  grid-column: span 2;
}

.editor-styles-wrapper .od-treatment-grid--balance.od-treatment-grid--cols-4 > .block-editor-inner-blocks > .block-editor-block-list__layout > .wp-block:nth-last-child(3):nth-child(4n + 1) {
  grid-column: span 2;
}

.editor-styles-wrapper .od-treatment-card__split-copy {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.editor-styles-wrapper .od-clinical-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  width: 100% !important;
  max-width: none !important;
  gap: var(--od-clinical-gap, 2rem) !important;
}

.editor-styles-wrapper .od-clinical-grid > .block-editor-inner-blocks {
  width: 100%;
  max-width: 100%;
  display: contents;
}

.editor-styles-wrapper .od-clinical-grid > .block-editor-inner-blocks > .block-editor-block-list__layout {
  display: contents !important;
}

.editor-styles-wrapper .od-clinical-grid > .block-editor-inner-blocks > .block-editor-block-list__layout > .wp-block {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  display: flex;
}

.editor-styles-wrapper .od-clinical-grid > .block-editor-inner-blocks > .block-editor-block-list__layout > .wp-block > .block-editor-block-list__block-edit,
.editor-styles-wrapper .od-clinical-grid > .block-editor-inner-blocks > .block-editor-block-list__layout > .wp-block > .block-editor-block-list__block-edit > div {
  width: 100% !important;
  max-width: none !important;
  display: flex;
  flex: 1 1 auto;
}

.editor-styles-wrapper .od-clinical-grid > .block-editor-inner-blocks > .block-editor-block-list__layout > .wp-block:has(.od-clinical-card--span-2) {
  grid-column: span 2;
}

.editor-styles-wrapper .od-clinical-grid > .block-editor-inner-blocks > .block-editor-block-list__layout > .wp-block:has(.od-clinical-card--span-3) {
  grid-column: 1 / -1;
}

.editor-styles-wrapper .od-clinical-grid .block-list-appender {
  width: 100%;
  max-width: none;
}

.editor-styles-wrapper .od-clinical-card__content {
  min-height: 2.75rem;
}

.editor-styles-wrapper .od-clinical-card__content > .block-editor-inner-blocks > .block-editor-block-list__layout {
  min-height: 2.75rem;
}

.editor-styles-wrapper .od-clinical-card__content .block-list-appender,
.editor-styles-wrapper .od-clinical-card__content .block-editor-default-block-appender,
.editor-styles-wrapper .od-clinical-card__content .block-editor-button-block-appender,
.editor-styles-wrapper .od-grant-description .block-list-appender,
.editor-styles-wrapper .od-grant-description .block-editor-default-block-appender,
.editor-styles-wrapper .od-grant-description .block-editor-button-block-appender {
  display: block;
  width: 100%;
  margin-top: 0.75rem;
  position: relative;
  z-index: 1;
}

.editor-styles-wrapper .od-grant-description {
  min-height: 2.75rem;
}

.editor-styles-wrapper .od-grant-description > .block-editor-inner-blocks > .block-editor-block-list__layout {
  min-height: 2.75rem;
}

.editor-styles-wrapper .od-clinical-card__list--cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.editor-styles-wrapper .od-precision-card__item {
  align-items: center;
}

.editor-styles-wrapper .od-precision-card__icon-wrap {
  margin-top: 0;
}

.editor-styles-wrapper .od-precision-card__text,
.editor-styles-wrapper .od-precision-card__item .block-editor-rich-text__editable,
.editor-styles-wrapper .od-precision-card__item .rich-text {
  line-height: 1.45 !important;
}


/* =====================================================================
   BLUE REBRAND — light image-driven hero, header legibility, motion
   (appended overrides; later rules win over earlier definitions)
   ===================================================================== */

/* ---- Hero: light, airy, split layout with watercolor portrait ---- */
.od-hero {
  min-height: 88svh;
  color: var(--od-heading);
  background-color: #ffffff;
  background:
    radial-gradient(circle at 16% 20%, rgba(92, 113, 135, 0.30), transparent 44%),
    radial-gradient(circle at 90% 82%, rgba(120, 134, 156, 0.26), transparent 46%),
    linear-gradient(180deg, #ffffff 0%, var(--od-surface) 100%);
}

.od-hero::after {
  background:
    radial-gradient(circle at 30% 30%, rgba(92, 113, 135, 0.10), transparent 0 14rem),
    radial-gradient(circle at 73% 63%, rgba(120, 134, 156, 0.10), transparent 0 18rem);
}

.od-hero__lines {
  opacity: 0.16;
}

.od-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  text-align: left;
  padding-top: clamp(8rem, 13vh, 11rem);
  padding-bottom: clamp(4rem, 8vh, 6rem);
}

.od-hero__content {
  max-width: 36rem;
}

.od-hero .od-eyebrow {
  color: var(--od-primary);
}

.od-hero .od-display {
  color: var(--od-heading);
}

.od-hero .od-display .has-accent {
  background: linear-gradient(95deg, var(--od-primary) 0%, var(--od-secondary) 55%, var(--od-accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.od-hero .od-hero-copy,
.od-hero .od-lead {
  color: var(--od-muted);
  margin-left: 0;
  margin-right: 0;
}

.od-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2.25rem;
}

.od-hero-actions .od-button--hero .wp-block-button__link,
.od-hero-actions .od-button--hero .wp-element-button {
  background: var(--od-primary);
  color: #ffffff;
  border: 0;
  box-shadow: 0 14px 30px rgba(34, 64, 107, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.od-hero-actions .od-button--hero:hover .wp-block-button__link {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(34, 64, 107, 0.34);
}

.od-hero-actions .od-button--hero-secondary .wp-block-button__link,
.od-hero-actions .od-button--hero-secondary .wp-element-button {
  background: transparent;
  color: var(--od-primary);
  box-shadow: inset 0 0 0 2px var(--od-primary);
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.od-hero-actions .od-button--hero-secondary:hover .wp-block-button__link {
  background: var(--od-primary);
  color: #ffffff;
  transform: translateY(-2px);
}

/* ---- Hero portrait: feathered so it bleeds into the wash ---- */
.od-hero__media {
  position: relative;
  display: flex;
  justify-content: center;
}

.od-hero__portrait {
  display: block;
  width: 100%;
  max-width: 30rem;
  height: auto;
  filter: drop-shadow(0 34px 64px rgba(12, 20, 34, 0.20));
  -webkit-mask-image: radial-gradient(115% 115% at 50% 42%, #000 62%, transparent 93%);
  mask-image: radial-gradient(115% 115% at 50% 42%, #000 62%, transparent 93%);
  animation: odHeroFloat 9s ease-in-out infinite;
}

.od-hero__portrait-placeholder {
  width: 100%;
  max-width: 26rem;
  aspect-ratio: 4 / 5;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 2rem;
  border: 2px dashed rgba(34, 64, 107, 0.4);
  border-radius: var(--od-radius);
  background: rgba(92, 113, 135, 0.08);
  color: var(--od-muted);
}

@keyframes odHeroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ---- Front-page header: legible glass over the light hero ---- */
.od-front-page .od-header {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  border-bottom-color: rgba(12, 20, 34, 0.08);
  box-shadow: inset 0 -1px 0 rgba(12, 20, 34, 0.04);
}

.od-front-page .od-header .wp-block-site-title a,
.od-front-page .od-header .wp-block-site-tagline,
.od-front-page .od-header .wp-block-navigation-item__content {
  color: var(--od-heading);
}

.od-front-page .od-header .current-menu-item > .wp-block-navigation-item__content,
.od-front-page .od-header .current_page_item > .wp-block-navigation-item__content,
.od-front-page .od-header .wp-block-navigation-item__content:hover {
  color: var(--od-primary);
}

.od-front-page .od-header .current-menu-item > .wp-block-navigation-item__content::after,
.od-front-page .od-header .current_page_item > .wp-block-navigation-item__content::after {
  background: var(--od-primary);
}

/* ---- Hero responsive stacking ---- */
@media (max-width: 860px) {
  .od-hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }
  .od-hero__content {
    max-width: 40rem;
    margin-inline: auto;
  }
  .od-hero-actions {
    justify-content: center;
  }
  .od-hero__portrait {
    max-width: 17rem;
  }
}

/* ---- Scroll-reveal motion system (driven by theme.js) ---- */
.od-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.od-reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Stagger children when a container is revealed */
.od-reveal--stagger.is-visible > * {
  animation: odRevealIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.od-reveal--stagger.is-visible > *:nth-child(2) { animation-delay: 0.08s; }
.od-reveal--stagger.is-visible > *:nth-child(3) { animation-delay: 0.16s; }
.od-reveal--stagger.is-visible > *:nth-child(4) { animation-delay: 0.24s; }
.od-reveal--stagger.is-visible > *:nth-child(5) { animation-delay: 0.32s; }
.od-reveal--stagger.is-visible > *:nth-child(6) { animation-delay: 0.40s; }

@keyframes odRevealIn {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}

/* ---- Respect reduced-motion preferences ---- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .od-reveal,
  .od-reveal--stagger.is-visible > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }
  .od-hero::after,
  .od-hero__portrait {
    animation: none !important;
  }
}

/* ---- Home landing: stats band + teaser helpers ---- */
.od-stats-band {
  background:
    radial-gradient(circle at 85% 20%, rgba(92, 113, 135, 0.22), transparent 18rem),
    linear-gradient(135deg, var(--od-primary-dark) 0%, #1A2C49 100%);
  color: #ffffff;
}
.od-stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.5rem;
  text-align: center;
}
.od-stat__num {
  font-family: var(--od-font-serif);
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1;
  color: #ffffff;
}
.od-stat__num .has-accent { color: var(--od-secondary); }
.od-stat__label {
  margin: 0.5rem 0 0;
  font-size: 0.85rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.78);
}
.od-teaser-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.od-section-heading .has-accent {
  background: linear-gradient(95deg, var(--od-primary) 0%, var(--od-accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
@media (max-width: 860px) {
  .od-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem 1rem; }
}


/* =====================================================================
   ROUND 2 — full-bleed bands, magazine components, hero curve
   ===================================================================== */

/* ---- Full-bleed band helper (content stays in inner .od-container) ---- */
.wp-block-post-content.is-layout-constrained > .od-band,
.editor-styles-wrapper .od-band {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

/* ---- Section rhythm normalization ---- */
.od-section { padding-block: clamp(4rem, 7vw, 6.5rem); }
.od-section--tight { padding-block: clamp(2.5rem, 4vw, 3.5rem); }
.od-section-intro .od-section-copy { max-width: 46rem; }

/* ---- Stats band: spacing + soft curve rising into the hero ---- */
.od-stats-band { position: relative; }
.od-stats-band::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: 64px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 64' preserveAspectRatio='none'%3E%3Cpath d='M0 64 L0 30 Q720 -30 1440 30 L1440 64 Z' fill='%231B2A44'/%3E%3C/svg%3E");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  pointer-events: none;
}
.od-stats { gap: 0; align-items: stretch; }
.od-stat {
  padding: 0.5rem 1.25rem;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}
.od-stat:last-child { border-right: 0; }
@media (max-width: 860px) {
  .od-stat:nth-child(2n) { border-right: 0; }
  .od-stat { padding-block: 1rem; }
}

/* ---- Reusable soft curve helper (dark band rising into prior section) ---- */
.od-curve-top { position: relative; }
.od-curve-top::before {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 100%;
  height: 64px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 64' preserveAspectRatio='none'%3E%3Cpath d='M0 64 L0 30 Q720 -30 1440 30 L1440 64 Z' fill='%231B2A44'/%3E%3C/svg%3E");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  pointer-events: none;
}

/* ---- Image tiles (magazine) ---- */
.od-tile-grid {
  display: grid;
  grid-template-columns: repeat(var(--od-tile-cols, 3), minmax(0, 1fr));
  gap: 1.5rem;
}
.od-tile {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--od-radius);
  min-height: 17rem;
  color: #ffffff;
  text-decoration: none;
  box-shadow: var(--od-shadow);
  isolation: isolate;
}
.od-tile__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.od-tile__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.od-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(12, 20, 34, 0.10) 0%, rgba(12, 20, 34, 0.78) 100%);
}
.od-tile:hover .od-tile__media img { transform: scale(1.06); }
.od-tile__body {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.od-tile__eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--od-accent);
}
.od-tile__title {
  margin: 0;
  font-family: var(--od-font-serif);
  font-size: 1.4rem;
  line-height: 1.2;
  color: #ffffff;
}
.od-tile__text { margin: 0; font-size: 0.92rem; color: rgba(255, 255, 255, 0.85); }
.od-tile__cue { margin-top: 0.25rem; font-size: 0.85rem; color: #ffffff; opacity: 0.9; }

/* ---- On-brand placeholder (swap for real photos) ---- */
.od-placeholder {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100%;
  background:
    radial-gradient(circle at 28% 24%, rgba(92, 113, 135, 0.45), transparent 60%),
    radial-gradient(circle at 78% 80%, rgba(120, 134, 156, 0.40), transparent 60%),
    linear-gradient(135deg, #14253E 0%, #22406B 100%);
  color: rgba(255, 255, 255, 0.92);
}
.od-placeholder__label {
  position: relative;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}
.od-tile .od-placeholder { z-index: -2; }

/* ---- Alternating feature rows (image + text) ---- */
.od-feature-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.od-feature-row + .od-feature-row { margin-top: clamp(3rem, 6vw, 5rem); }
.od-feature-row__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--od-radius);
  box-shadow: var(--od-shadow);
}
.od-feature-row__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.od-feature-row--reverse .od-feature-row__media { order: 2; }
.od-feature-row__title { margin: 0 0 0.85rem; }
.od-feature-row__eyebrow {
  display: inline-block;
  margin-bottom: 0.75rem;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--od-primary);
}

/* ---- Affiliation logo strip ---- */
.od-logo-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 1.5rem;
}
.od-logo-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.4rem;
  border: 1px solid var(--od-border);
  border-radius: var(--od-radius);
  background: #ffffff;
  color: var(--od-heading);
  font-family: var(--od-font-serif);
  font-size: 1rem;
  line-height: 1.2;
  text-align: center;
  box-shadow: 0 1px 2px rgba(12, 20, 34, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.od-logo-chip:hover { transform: translateY(-3px); box-shadow: var(--od-shadow); }
.od-logo-strip__label {
  width: 100%;
  text-align: center;
  margin: 0 0 0.5rem;
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--od-muted);
}

/* ---- Visit-guide stepper ---- */
.od-stepper {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  counter-reset: od-step;
}
.od-step {
  position: relative;
  padding: 2rem 1.5rem 1.5rem;
  background: #ffffff;
  border: 1px solid var(--od-border);
  border-radius: var(--od-radius);
  box-shadow: 0 1px 2px rgba(12, 20, 34, 0.06);
}
.od-step::before {
  counter-increment: od-step;
  content: counter(od-step);
  position: absolute;
  top: -1.1rem;
  left: 1.5rem;
  width: 2.6rem;
  height: 2.6rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--od-primary);
  color: #ffffff;
  font-family: var(--od-font-serif);
  font-size: 1.2rem;
  box-shadow: 0 8px 18px rgba(34, 64, 107, 0.28);
}
.od-step__title { margin: 0.5rem 0 0.5rem; font-family: var(--od-font-serif); font-size: 1.2rem; color: var(--od-heading); }
.od-step__text { margin: 0; font-size: 0.92rem; line-height: 1.6; color: var(--od-muted); }

/* ---- Checklist ---- */
.od-checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.85rem; }
.od-checklist li {
  position: relative;
  padding-left: 2rem;
  line-height: 1.6;
  color: var(--od-text);
}
.od-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15rem;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 999px;
  background: var(--od-primary);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='m9 16.2-3.5-3.5L4 14.2 9 19.2 20 8.2l-1.5-1.5z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='m9 16.2-3.5-3.5L4 14.2 9 19.2 20 8.2l-1.5-1.5z'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* ---- Responsive ---- */
@media (max-width: 860px) {
  .od-tile-grid { grid-template-columns: 1fr 1fr; }
  .od-feature-row { grid-template-columns: 1fr; }
  .od-feature-row--reverse .od-feature-row__media { order: 0; }
  .od-stepper { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .od-tile-grid { grid-template-columns: 1fr; }
  .od-stepper { grid-template-columns: 1fr; }
}

/* ---- Reveal additions ---- */
@media (prefers-reduced-motion: reduce) {
  .od-tile__media img { transition: none !important; }
}


/* =====================================================================
   ROUND 3 — rotating hero, curve color fix, spacing, pull-quote, footer
   ===================================================================== */

/* ---- Hero (carousel) full-bleed + more bottom breathing room ---- */
.wp-block-post-content.is-layout-constrained > .od-hero,
.editor-styles-wrapper .od-hero--carousel {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
.od-hero__inner {
  padding-bottom: clamp(6.5rem, 12vh, 9.5rem);
}

/* ---- Curve now matches the band: vertical gradient, navy at the top ---- */
.od-stats-band {
  background:
    radial-gradient(circle at 82% 118%, rgba(92, 113, 135, 0.22), transparent 55%),
    linear-gradient(180deg, #0F1B2E 0%, #1A2C49 100%) !important;
  margin-top: -1px;
}
/* keep the existing ::before curve (already #0F1B2E) — it now meets a navy band top */

/* ---- Hero carousel ---- */
.od-hero--carousel .od-hero__slides { position: relative; width: 100%; }
.od-hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease;
}
.od-hero__slide.is-active {
  position: relative;
  opacity: 1;
  visibility: visible;
}
.od-js .od-hero--carousel .od-hero__slide { will-change: opacity; }
/* right-column gradient panel for slides without a portrait */
.od-hero__panel {
  width: 100%;
  max-width: 30rem;
  margin-inline: auto;
  aspect-ratio: 4 / 5;
  border-radius: var(--od-radius);
  background:
    radial-gradient(circle at 28% 22%, rgba(92, 113, 135, 0.55), transparent 60%),
    radial-gradient(circle at 78% 82%, rgba(120, 134, 156, 0.5), transparent 60%),
    linear-gradient(135deg, #14253E 0%, #22406B 100%);
  box-shadow: var(--od-shadow);
}
/* dots */
.od-hero__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: clamp(4.5rem, 8vh, 6rem);
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  z-index: 4;
}
.od-hero__dot {
  width: 0.7rem;
  height: 0.7rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(12, 20, 34, 0.22);
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}
.od-hero__dot.is-active { background: var(--od-primary); transform: scale(1.25); }
/* prev / next */
.od-hero__nav {
  position: absolute;
  top: 45%;
  width: 2.8rem;
  height: 2.8rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--od-border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(6px);
  color: var(--od-primary);
  cursor: pointer;
  z-index: 4;
  transition: background 0.2s ease, transform 0.2s ease;
}
.od-hero__nav:hover { background: #ffffff; transform: scale(1.05); }
.od-hero__nav--prev { left: clamp(0.75rem, 3vw, 2rem); }
.od-hero__nav--next { right: clamp(0.75rem, 3vw, 2rem); }
.od-hero__nav svg { width: 1.2rem; height: 1.2rem; }
@media (max-width: 860px) {
  .od-hero__nav { display: none; }
  .od-hero__dots { bottom: 3rem; }
}

/* ---- Light-background pull-quote (fixes white-on-white) ---- */
.od-pullquote {
  margin: 1.75rem 0;
  padding: 0.25rem 0 0.25rem 1.5rem;
  border-left: 3px solid var(--od-primary);
  font-family: var(--od-font-serif);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  line-height: 1.45;
  color: var(--od-heading);
  font-style: italic;
}

/* ---- Featured procedures emphasis (reuses .od-treatment-card) ---- */
.od-featured-grid .od-treatment-card { padding: 2.5rem; }

/* ---- Publications list ---- */
.od-pub-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.od-pub-list li {
  padding: 1.25rem 1.5rem;
  background: #ffffff;
  border: 1px solid var(--od-border);
  border-left: 4px solid var(--od-primary);
  border-radius: var(--od-radius);
  box-shadow: 0 1px 2px rgba(12, 20, 34, 0.06);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.od-pub-list li:hover { transform: translateY(-2px); box-shadow: var(--od-shadow); }
.od-pub-list a { color: var(--od-heading); text-decoration: none; font-weight: 500; line-height: 1.5; }
.od-pub-list a:hover { color: var(--od-primary); }

/* ---- Testimonials ---- */
.od-quote-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.od-quote-card {
  padding: 2rem;
  background: #ffffff;
  border: 1px solid var(--od-border);
  border-radius: var(--od-radius);
  box-shadow: var(--od-shadow);
}
.od-quote-card__text { margin: 0 0 1rem; font-family: var(--od-font-serif); font-size: 1.15rem; line-height: 1.5; color: var(--od-heading); font-style: italic; }
.od-quote-card__text::before { content: "\201C"; color: var(--od-accent); font-size: 2rem; line-height: 0; vertical-align: -0.4rem; margin-right: 0.15rem; }
.od-quote-card__who { margin: 0; font-size: 0.85rem; color: var(--od-muted); }
@media (max-width: 860px) { .od-quote-grid { grid-template-columns: 1fr; } }

/* ---- Recognition list ---- */
.od-recognition { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 2rem; }
.od-recognition li { list-style: none; padding-left: 1.6rem; position: relative; line-height: 1.6; color: var(--od-text); }
.od-recognition li::before { content: ""; position: absolute; left: 0; top: 0.55rem; width: 0.5rem; height: 0.5rem; border-radius: 999px; background: var(--od-accent); }
@media (max-width: 860px) { .od-recognition { grid-template-columns: 1fr; } }

/* ---- Footer: society strip, legal row, disclaimer ---- */
.od-society {
  margin-top: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.od-society__label {
  margin: 0 0 0.75rem;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.od-society__strip {
  display: flex;
  gap: 0.6rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scrollbar-width: thin;
}
.od-society__strip::-webkit-scrollbar { height: 6px; }
.od-society__strip::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.18); border-radius: 999px; }
.od-society__item {
  flex: 0 0 auto;
  padding: 0.5rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.82);
  white-space: nowrap;
}
.od-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin: 1.75rem 0 1rem;
  font-size: 0.85rem;
}
.od-legal a { color: rgba(255, 255, 255, 0.8); text-decoration: none; }
.od-legal a:hover { color: #ffffff; }
.od-disclaimer {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.5);
  max-width: 70rem;
}

/* ---- Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  .od-hero__slide { transition: none !important; }
}


/* =====================================================================
   ROUND 4 — hero transparency/variety, gradient curve, dark headings,
   visual sections, page-header width, accordion blocks
   ===================================================================== */

/* 1. Hero watercolor — truly transparent (PNG is RGBA); drop mask + heavy shadow */
.od-hero__portrait {
  -webkit-mask-image: none !important;
  mask-image: none !important;
  filter: drop-shadow(0 16px 30px rgba(12, 20, 34, 0.10));
  max-width: 32rem;
}

/* 2. Hero slide layout variety + more clearance above the curve */
.od-hero__inner { padding-bottom: clamp(8.5rem, 15vh, 12rem); }
.od-hero__slide--reverse .od-hero__media { order: -1; }
.od-hero__slide--center .od-hero__inner { grid-template-columns: 1fr; text-align: center; }
.od-hero__slide--center .od-hero__content { max-width: 52rem; margin-inline: auto; }
.od-hero__slide--center .od-hero__media { display: none; }
.od-hero__slide--center .od-hero-actions { justify-content: center; }
@media (max-width: 860px) {
  .od-hero__slide--reverse .od-hero__media { order: 0; }
}

/* 3. Curved break = the band's own gradient (continuous), via clip-path */
.od-stats-band::before { content: none !important; }
.od-stats-band {
  margin-top: -3rem;
  padding-top: 6rem;
  -webkit-clip-path: url(#od-band-curve);
  clip-path: url(#od-band-curve);
}

/* 4. Dark sections — headings must be white (was navy-on-navy) */
.od-split-dark .od-section-heading,
.od-split-dark h2,
.od-split-dark h3,
.od-split-dark .wp-block-heading { color: #ffffff; }
.od-split-dark .od-rule { background: var(--od-accent); }

/* 5. Featured Procedures — graphic + icon cards */
.od-proc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
.od-proc-card {
  display: flex; flex-direction: column;
  background: #ffffff; border: 1px solid var(--od-border);
  border-radius: var(--od-radius); overflow: hidden; box-shadow: var(--od-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.od-proc-card:hover { transform: translateY(-4px); box-shadow: var(--od-shadow-hover); }
.od-proc-card__media { position: relative; aspect-ratio: 16 / 7; }
.od-proc-card__icon {
  position: absolute; left: 1.5rem; bottom: -1.5rem;
  width: 3.2rem; height: 3.2rem; border-radius: 999px;
  background: #ffffff; color: var(--od-primary);
  display: grid; place-items: center; box-shadow: var(--od-shadow);
}
.od-proc-card__icon svg { width: 1.5rem; height: 1.5rem; }
.od-proc-card__body { padding: 2.5rem 1.75rem 1.75rem; }
.od-proc-card__title { margin: 0 0 0.75rem; font-family: var(--od-font-serif); font-size: 1.5rem; line-height: 1.3; color: var(--od-heading); }
.od-proc-card__text { margin: 0 0 1rem; color: var(--od-muted); line-height: 1.7; }
.od-proc-card .od-inline-link { margin-top: auto; }
@media (max-width: 860px) { .od-proc-grid { grid-template-columns: 1fr; } }

/* 6. Research & Publications — feature panel + cards */
.od-research-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 2.5rem; align-items: start; }
.od-research-feature {
  position: relative; overflow: hidden; color: #ffffff;
  padding: 2.5rem; border-radius: var(--od-radius); box-shadow: var(--od-shadow);
  background:
    radial-gradient(circle at 25% 20%, rgba(92, 113, 135, 0.5), transparent 60%),
    radial-gradient(circle at 80% 85%, rgba(120, 134, 156, 0.45), transparent 60%),
    linear-gradient(135deg, #0F1B2E 0%, #22406B 100%);
}
.od-research-feature__icon { width: 3rem; height: 3rem; color: #ffffff; margin-bottom: 1rem; }
.od-research-feature__icon svg { width: 100%; height: 100%; }
.od-research-feature__num { font-family: var(--od-font-serif); font-size: clamp(2.2rem, 4vw, 3rem); line-height: 1; }
.od-research-feature__num + .od-research-feature__num { margin-top: 1.25rem; }
.od-research-feature__label { margin: 0.25rem 0 0; color: rgba(255, 255, 255, 0.82); font-size: 0.95rem; }
@media (max-width: 860px) { .od-research-grid { grid-template-columns: 1fr; } }

/* 7. Recognition — icon cards */
.od-icon-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.od-icon-card {
  display: flex; gap: 1rem; padding: 1.75rem;
  background: #ffffff; border: 1px solid var(--od-border); border-left: 4px solid var(--od-primary);
  border-radius: var(--od-radius); box-shadow: 0 1px 2px rgba(12, 20, 34, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.od-icon-card:hover { transform: translateY(-3px); box-shadow: var(--od-shadow); }
.od-icon-card__icon { flex: 0 0 auto; width: 2.75rem; height: 2.75rem; border-radius: 999px; background: rgba(34, 64, 107, 0.1); color: var(--od-primary); display: grid; place-items: center; }
.od-icon-card__icon svg { width: 1.4rem; height: 1.4rem; }
.od-icon-card h3 { margin: 0 0 0.35rem; font-family: var(--od-font-serif); font-size: 1.15rem; color: var(--od-heading); }
.od-icon-card p { margin: 0; color: var(--od-muted); font-size: 0.95rem; line-height: 1.6; }
@media (max-width: 860px) { .od-icon-grid { grid-template-columns: 1fr; } }

/* 8. Page headers full-width */
.wp-block-post-content.is-layout-constrained > .od-page-header {
  width: 100vw; max-width: 100vw;
  margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw);
}

/* 9. Accordions read as clear blocks */
.od-details-list { gap: 1rem; }
.od-details-item {
  background: #ffffff; border: 1px solid var(--od-border);
  border-radius: var(--od-radius); box-shadow: 0 1px 2px rgba(12, 20, 34, 0.06);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.od-details-item:hover { box-shadow: var(--od-shadow); }
.od-details-item[open] { border-color: rgba(34, 64, 107, 0.35); box-shadow: var(--od-shadow); }
.od-details-item[open] summary { background: var(--od-surface); }

/* 10. About accordion content — visual helpers */
.od-details-body h4 { margin: 1.5rem 0 0.6rem; font-family: var(--od-font-sans); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--od-primary); }
.od-details-body h4:first-child { margin-top: 0; }
.od-chip-list { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0; padding: 0; list-style: none; }
.od-chip-list .od-chip { font-size: 0.8rem; }
.od-badge-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1rem; }
.od-badge-card { display: flex; align-items: center; gap: 0.85rem; padding: 1rem 1.25rem; background: var(--od-surface); border-radius: var(--od-radius); }
.od-badge-card__icon { flex: 0 0 auto; width: 2rem; height: 2rem; color: var(--od-primary); }
.od-badge-card__icon svg { width: 100%; height: 100%; }
.od-badge-card strong { display: block; color: var(--od-heading); }
.od-badge-card span { font-size: 0.85rem; color: var(--od-muted); }
.od-pres-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.od-pres-list li { display: flex; gap: 0.6rem; align-items: baseline; line-height: 1.5; color: var(--od-text); }
.od-year-chip { flex: 0 0 auto; min-width: 3.4rem; text-align: center; padding: 0.12rem 0.5rem; border-radius: 0.2rem; background: rgba(34, 64, 107, 0.1); color: var(--od-primary); font-size: 0.76rem; font-weight: 600; }

/* =====================================================================
   ROUND 5 — membership logo marquee + accordion retune
   ===================================================================== */

/* Marquee (auto-scroll, no scrollbar) */
.od-marquee {
  position: relative;
  overflow: hidden;
  width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.od-marquee__track {
  display: flex;
  align-items: center;
  gap: clamp(2.5rem, 6vw, 5rem);
  width: max-content;
  animation: odMarquee 50s linear infinite;
}
.od-marquee:hover .od-marquee__track { animation-play-state: paused; }
@keyframes odMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.od-logo { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; }
.od-logo img {
  height: clamp(2.6rem, 4.2vw, 3.4rem);
  width: auto;
  max-width: 11rem;
  object-fit: contain;
  display: block;
}
@media (prefers-reduced-motion: reduce) {
  .od-marquee { -webkit-mask-image: none; mask-image: none; }
  .od-marquee__track { animation: none; width: 100%; flex-wrap: wrap; justify-content: center; gap: 2rem 3rem; }
  .od-marquee__track .od-logo--dup { display: none; }
}

/* Logo wall (About — Professional Organizations) */
.od-logo-wall {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.75rem 2rem;
  align-items: center;
  justify-items: center;
}
.od-logo-wall .od-logo img { height: 3rem; max-width: 11rem; }

/* Accordion retune — all .od-details-item (About + FAQ) */
.od-details-list { max-width: 56rem; margin-inline: auto; }
.od-details-item summary { font-size: clamp(1.05rem, 1.6vw, 1.25rem); padding: 1.05rem 1.4rem; }
.od-details-item summary::after { right: 1.25rem; font-size: 1.25rem; }
.od-details-item summary::before { width: 3px; }
.od-details-item[open] summary { background: transparent; }
.od-details-body { padding: 0.85rem 1.4rem 1.5rem; }

/* =====================================================================
   ROUND 6 — section animations, mobile hero, global marquee, accordion align
   ===================================================================== */

/* Reveal: a touch more pop (scale-in) */
.od-reveal { transform: translateY(28px) scale(0.985); }
.od-reveal.is-visible { transform: none; }

/* Global logos-only band (above footer on non-home pages) */
.od-marquee-band {
  padding-block: clamp(2rem, 4vw, 3rem);
  background: #ffffff;
  border-top: 1px solid var(--od-border);
}

/* About / FAQ accordion: left-align list so it lines up with the section intro */
.od-details-list { margin-inline: 0; }

/* Mobile hero: photo first + smaller, remove the white gap before the stats curve */
@media (max-width: 860px) {
  .od-hero { min-height: auto; }
  .od-hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.5rem;
    padding-top: 7rem;
    padding-bottom: 4.5rem;
  }
  .od-hero__media,
  .od-hero__slide--reverse .od-hero__media { order: -1; }
  .od-hero__portrait { max-width: 12rem; }
  .od-hero__panel { max-width: 16rem; aspect-ratio: 4 / 3; }
  .od-hero__slide--center .od-hero__media { display: none; }
  .od-hero__dots { position: static; bottom: auto; margin-top: 1.25rem; }
  .od-stats-band { margin-top: -2rem; }
}

/* =====================================================================
   ROUND 7 — centered accordions, mobile hero dots/stat, Treatments cards
   ===================================================================== */

/* Accordions centered + intro centered above them (About, Patient Info FAQ) */
.od-details-list { margin-inline: auto; }
.od-section:has(.od-details-list) .od-section-intro {
  max-width: 56rem;
  margin-inline: auto;
  text-align: center;
}
.od-section:has(.od-details-list) .od-section-intro .od-rule { margin-inline: auto; }

/* Mobile hero: stack dots below the slide (was pushed right by flex row) + center lone last stat */
@media (max-width: 860px) {
  .od-hero { flex-direction: column; }
  .od-hero__slides { width: 100%; }
  .od-stats .od-stat:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

/* Treatments — expandable procedure cards */
.od-proc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  align-items: start;
}
.od-proc-detail {
  background: #ffffff;
  border: 1px solid var(--od-border);
  border-left: 4px solid var(--od-primary);
  border-radius: var(--od-radius);
  box-shadow: 0 1px 2px rgba(12, 20, 34, 0.06);
  overflow: hidden;
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}
.od-proc-detail:hover { transform: translateY(-3px); box-shadow: var(--od-shadow); }
.od-proc-detail[open] { box-shadow: var(--od-shadow); border-left-color: var(--od-accent); }
.od-proc-detail > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1.2rem 1.35rem;
}
.od-proc-detail > summary::-webkit-details-marker { display: none; }
.od-proc-detail__title {
  font-family: var(--od-font-serif);
  font-size: 1.12rem;
  line-height: 1.3;
  color: var(--od-heading);
}
.od-proc-detail__tag {
  display: block;
  margin-top: 0.25rem;
  font-family: var(--od-font-sans);
  font-size: 0.85rem;
  line-height: 1.4;
  color: var(--od-muted);
}
.od-proc-detail__toggle {
  flex: 0 0 auto;
  position: relative;
  width: 1.5rem;
  height: 1.5rem;
  margin-top: 0.15rem;
  color: var(--od-primary);
}
.od-proc-detail__toggle::before,
.od-proc-detail__toggle::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0.85rem;
  height: 2px;
  background: currentColor;
  transform: translate(-50%, -50%);
}
.od-proc-detail__toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: opacity 0.2s ease;
}
.od-proc-detail[open] .od-proc-detail__toggle { color: var(--od-accent); }
.od-proc-detail[open] .od-proc-detail__toggle::after { opacity: 0; }
.od-proc-detail__body {
  padding: 0 1.35rem 1.35rem;
  color: var(--od-muted);
  line-height: 1.7;
}
.od-proc-detail__body p { margin: 0; }
.od-proc-cat + .od-proc-cat { margin-top: clamp(2.5rem, 5vw, 4rem); }
.od-proc-cat__title { margin: 0 0 1.25rem; }

.od-proc-detail__title { display: block; flex: 1 1 auto; }

/* =====================================================================
   ROUND 8 — Treatments image cards (equal height) + smaller category headings
   ===================================================================== */
.od-proc-cat__title { font-size: clamp(1.5rem, 3vw, 1.9rem); }
.od-tile-grid { align-items: stretch; }
.od-proc-cat .od-tile { min-height: 14rem; }
.od-detail-back { display: inline-block; margin-top: 1.25rem; color: rgba(255,255,255,0.85); text-decoration: none; }
.od-detail-back:hover { color: #ffffff; }

/* =====================================================================
   ROUND 9 — hero photo blend, solid dots, testimonial slider
   ===================================================================== */

/* Hero: feather a real photo into the wash (blend, seamless edges) */
.od-hero__portrait {
  -webkit-mask-image: radial-gradient(125% 125% at 50% 42%, #000 52%, transparent 86%);
  mask-image: radial-gradient(125% 125% at 50% 42%, #000 52%, transparent 86%);
  filter: none;
  border-radius: var(--od-radius);
}

/* About education cards: solid dot instead of icons */
.od-dot { display: inline-block; width: 0.7rem; height: 0.7rem; border-radius: 999px; background: var(--od-primary); flex: 0 0 auto; }
.od-icon-card__icon:has(.od-dot),
.od-badge-card__icon:has(.od-dot),
.od-timeline-node__icon:has(.od-dot) {
  background: transparent !important;
  box-shadow: none !important;
  width: auto; height: auto; min-width: 0;
}
.od-icon-card__icon:has(.od-dot) { display: grid; place-items: center; width: 2.75rem; }

/* Testimonials — one at a time */
.od-quote-slider { position: relative; max-width: 48rem; margin-inline: auto; }
.od-quote-slide { display: none; }
.od-quote-slide.is-active { display: block; }
.od-quote-slider .od-quote-card { text-align: center; }
.od-quote-slider__dots { display: flex; justify-content: center; gap: 0.5rem; margin-top: 1.5rem; }
.od-quote-slider__dot { width: 0.6rem; height: 0.6rem; border: 0; padding: 0; border-radius: 999px; background: rgba(16, 24, 38, 0.2); cursor: pointer; transition: background 0.25s ease, transform 0.25s ease; }
.od-quote-slider__dot.is-active { background: var(--od-primary); transform: scale(1.25); }

/* =====================================================================
   ROUND 10 — header always-light, row-block align/spacing, equal cards, icons
   ===================================================================== */

/* 1. Front-page header always light (hero is light now) */
.od-front-page .od-header {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom-color: rgba(12, 20, 34, 0.08);
  box-shadow: 0 12px 32px rgba(12, 20, 34, 0.06);
}
.od-front-page .od-header .wp-block-site-title a,
.od-front-page .od-header .wp-block-site-tagline,
.od-front-page .od-header .wp-block-navigation-item__content { color: var(--od-heading); }
.od-front-page .od-header .wp-block-navigation-item__content:hover { color: var(--od-primary); }
.od-front-page:not(.od-scrolled) .od-nav-toggle { color: var(--od-heading); }

/* 3. Research/Grants row-block: align heading + tighten spacing */
.od-row-block__intro { padding-left: 0 !important; padding-right: 0 !important; margin-bottom: 2rem !important; }
.od-row-block { padding-top: clamp(2.5rem, 5vw, 3.5rem) !important; padding-bottom: clamp(2.5rem, 5vw, 3.5rem) !important; }

/* 4. Equal-height cards in a row (Contact, Featured Procedures, Clinical Trials) */
.od-treatment-grid, .od-proc-grid { align-items: stretch; }
.od-treatment-grid > .od-treatment-card, .od-proc-grid > .od-proc-card { height: 100%; }
.od-proc-card__body { flex: 1 1 auto; display: flex; flex-direction: column; }
.od-proc-card__body .od-inline-link { margin-top: auto; }

/* 2. Larger icons inside icon/badge card circles */
.od-icon-card__icon { width: 3rem; height: 3rem; }
.od-icon-card__icon svg { width: 2rem; height: 2rem; }
.od-badge-card__icon { width: 2.6rem; height: 2.6rem; }
.od-badge-card__icon svg { width: 1.7rem; height: 1.7rem; }

/* =====================================================================
   ROUND 11 — equal-height row/grid cards stay top-aligned (fade only)
   ===================================================================== */
.od-treatment-card.od-reveal,
.od-proc-card.od-reveal,
.od-icon-card.od-reveal,
.od-tile.od-reveal,
.od-stat.od-reveal,
.od-badge-card.od-reveal,
.od-pub-list > li.od-reveal { transform: none !important; }

/* =====================================================================
   ROUND 12 — restore Research/Grants content spacing (top ~half, bottom kept)
   ===================================================================== */
.page-id-77 .wp-block-oderich-card-grid,
.page-id-136 .wp-block-oderich-grants-accordion {
  padding-top: 3.5rem !important;
  padding-bottom: 5rem !important;
}

/* =====================================================================
   ROUND 13 — procedure illustrations (lead image + how-it's-performed figures)
   ===================================================================== */
.od-feature-row__media.od-rx-media {
  aspect-ratio: auto;
  background: #ffffff;
  border: 1px solid var(--od-border);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.od-feature-row__media.od-rx-media img { width: auto; max-width: 100%; max-height: 26rem; object-fit: contain; }
.od-rx-figs { display: flex; flex-wrap: wrap; gap: 1.25rem; justify-content: center; margin-top: 2.25rem; }
.od-rx-figs figure { margin: 0; background: #ffffff; border: 1px solid var(--od-border); border-radius: var(--od-radius); padding: 1rem; text-align: center; box-shadow: 0 1px 2px rgba(12, 20, 34, 0.06); }
.od-rx-figs img { display: block; height: 15rem; width: auto; max-width: 100%; object-fit: contain; margin-inline: auto; }
.od-rx-figs figcaption { margin-top: 0.6rem; font-size: 0.8rem; color: var(--od-muted); max-width: 22rem; }
@media (max-width: 860px) { .od-rx-figs img { height: 12rem; } }

/* =====================================================================
   ROUND 14 — Slides deck data: outcomes/evidence metric band
   ===================================================================== */
.od-metric-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.25rem;
  align-items: stretch;
  margin-top: 0.5rem;
}
.od-metric {
  background: #ffffff;
  border: 1px solid var(--od-border);
  border-radius: var(--od-radius);
  padding: 1.5rem 1.25rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  box-shadow: 0 1px 2px rgba(12, 20, 34, 0.06);
}
.od-metric__num {
  font-family: var(--od-heading-font, 'Playfair Display', serif);
  font-size: clamp(2rem, 4vw, 2.9rem);
  line-height: 1;
  font-weight: 600;
  color: var(--od-primary);
}
.od-metric__label { font-size: 0.95rem; font-weight: 600; color: var(--od-heading); }
.od-metric__src { font-size: 0.72rem; line-height: 1.35; color: var(--od-muted); margin-top: auto; }
.od-evidence-note { margin-top: 1.5rem; font-size: 0.8rem; font-style: italic; color: var(--od-muted); max-width: 46rem; }
.od-metric.od-reveal { transform: none !important; }

/* =====================================================================
   ROUND 15 — page-builder conversion compat layer
   Maps editable core blocks (media-text, gallery, pullquote, details,
   group/paragraph patterns) onto the existing od-* component styling.
   ===================================================================== */

/* --- core/media-text as .od-feature-row ------------------------------ */
.wp-block-media-text.od-feature-row {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.wp-block-media-text.od-feature-row > .wp-block-media-text__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--od-radius);
  box-shadow: var(--od-shadow);
  margin: 0;
  align-self: center;
}
.wp-block-media-text.od-feature-row > .wp-block-media-text__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.wp-block-media-text.od-feature-row > .wp-block-media-text__content { padding: 0; }
/* illustration variant (white panel, contain) — class set on the block root */
.wp-block-media-text.od-feature-row.od-rx-media > .wp-block-media-text__media {
  aspect-ratio: auto;
  background: #ffffff;
  border: 1px solid var(--od-border);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.wp-block-media-text.od-feature-row.od-rx-media > .wp-block-media-text__media img {
  width: auto;
  max-width: 100%;
  max-height: 26rem;
  object-fit: contain;
}
@media (max-width: 860px) {
  .wp-block-media-text.od-feature-row {
    grid-template-columns: 1fr !important;
  }
  .wp-block-media-text.od-feature-row > .wp-block-media-text__media,
  .wp-block-media-text.od-feature-row > .wp-block-media-text__content {
    grid-column: 1 !important;
  }
  .wp-block-media-text.od-feature-row > .wp-block-media-text__media { grid-row: 1; }
}

/* --- core/gallery as marquee & logo wall ------------------------------ */
figure.wp-block-gallery.od-marquee { display: block; }
.od-marquee .wp-block-image { margin: 0; }
.od-marquee .wp-block-image figcaption { display: none; }
figure.wp-block-gallery.od-logo-wall {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.75rem 2rem;
  align-items: center;
  justify-items: center;
}
.od-logo-wall .wp-block-image { margin: 0; width: auto !important; }
.od-logo-wall .wp-block-image img {
  height: 3rem;
  width: auto;
  max-width: 11rem;
  object-fit: contain;
  display: block;
}

/* --- core/pullquote as testimonial quote card ------------------------- */
.wp-block-pullquote.od-quote-card {
  border: none;
  margin: 0;
  padding: 2rem;
  font-size: inherit;
  text-align: center;
}
.wp-block-pullquote.od-quote-card blockquote { margin: 0; padding: 0; border: none; }
.od-quote-card blockquote p {
  margin: 0 0 1rem;
  font-family: var(--od-font-serif);
  font-size: 1.15rem;
  line-height: 1.5;
  color: var(--od-heading);
  font-style: italic;
}
.od-quote-card blockquote p::before {
  content: "\201C";
  color: var(--od-accent);
  font-size: 2rem;
  line-height: 0;
  vertical-align: -0.4rem;
  margin-right: 0.15rem;
}
.od-quote-card cite,
.od-quote-card blockquote cite {
  display: block;
  margin: 0;
  font-size: 0.85rem;
  color: var(--od-muted);
  font-style: normal;
}

/* --- core/details as accordion item ----------------------------------- */
.wp-block-details.od-details-item { margin: 0; padding: 0; }
.wp-block-details.od-details-item > summary { list-style: none; }

/* --- pattern-built groups: zero default paragraph margins -------------- */
.od-metric p, .od-step p, .od-stat p, .od-chip-list p { margin: 0; }

/* --- EDITOR canvas overrides (style.css loads as editor style) --------- */
.editor-styles-wrapper .od-hero__slide {
  position: static !important;
  opacity: 1 !important;
  visibility: visible !important;
  margin-bottom: 1.25rem;
  outline: 1px dashed rgba(34, 64, 107, 0.4);
  outline-offset: 4px;
}
.editor-styles-wrapper .od-quote-slide { display: block !important; margin-bottom: 1rem; }
.editor-styles-wrapper figure.wp-block-gallery.od-marquee {
  display: flex;
  flex-wrap: wrap;
  -webkit-mask-image: none;
  mask-image: none;
}

/* tile-grid column helpers (replaces inline --od-tile-cols style) */
.od-tile-grid--2 { --od-tile-cols: 2; }
.od-tile-grid--3 { --od-tile-cols: 3; }
.od-tile-grid--4 { --od-tile-cols: 4; }

/* --- R15 Phase 4: core navigation + block-based footer ---------------- */
/* desktop menu row (port of .od-nav-menu) */
.od-header .od-header-nav .wp-block-navigation__container {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 1.7rem;
}
/* hamburger / close buttons (port of .od-nav-toggle) */
.od-header .wp-block-navigation__responsive-container-open,
.od-header .wp-block-navigation__responsive-container-close {
  color: var(--od-heading);
  background: transparent;
  border: 0;
  cursor: pointer;
}
.od-header .wp-block-navigation__responsive-container-open {
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
}
.od-header .wp-block-navigation__responsive-container-open svg,
.od-header .wp-block-navigation__responsive-container-close svg { width: 24px; height: 24px; }
/* collapse to hamburger at the site breakpoint (960px), not core's 600px */
@media (max-width: 960px) {
  .od-header .od-header-nav .wp-block-navigation__responsive-container:not(.is-menu-open) { display: none !important; }
  .od-header .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex !important; }
}
/* overlay menu items stack + spacing (open state bg already styled) */
.od-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
  display: grid;
  gap: 0.6rem;
  align-items: start;
}
/* footer quick links */
.od-footer__nav .wp-block-navigation__container {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
/* footer contact paragraphs with mask icons */
p.od-footer__contact-item {
  display: block;
  position: relative;
  padding-left: 1.9rem;
  margin: 0 0 0.9rem;
}
p.od-footer__contact-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15em;
  width: 18px;
  height: 18px;
  background-color: currentColor;
  -webkit-mask: var(--od-ci) center / contain no-repeat;
  mask: var(--od-ci) center / contain no-repeat;
}
p.od-footer__contact-item--address { --od-ci: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E"); }
p.od-footer__contact-item--phone { --od-ci: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E"); }
p.od-footer__contact-item--email { --od-ci: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='20' height='16' x='2' y='4' rx='2'/%3E%3Cpath d='m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7'/%3E%3C/svg%3E"); }
/* Home has its own marquee section — hide the footer band there */
.od-front-page .od-footer-marquee-band { display: none; }

/* --- R15 Phase 6: converted-content shapes -------------------------------- */
/* empty media-text media = branded gradient placeholder (was .od-placeholder) */
.wp-block-media-text.od-feature-row > .wp-block-media-text__media:empty {
  background:
    radial-gradient(circle at 28% 24%, rgba(92, 113, 135, 0.45), transparent 60%),
    radial-gradient(circle at 78% 80%, rgba(120, 134, 156, 0.40), transparent 60%),
    linear-gradient(135deg, #14253E 0%, #22406B 100%);
}
/* back-to-treatments link (was a.od-detail-back inside raw html) */
.od-detail-back-row { margin-top: 1.25rem; }
.od-detail-back-row a { display: inline-block; color: rgba(255, 255, 255, 0.85); text-decoration: none; }
.od-detail-back-row a:hover { color: #ffffff; }

/* --- R15 Phase 6 batches 3/4: converted Home + About shapes ------------ */
.od-logo-strip--spaced { margin-top: 2.5rem; }
.od-logo-strip p { margin: 0; }
p.od-logo-strip__label { width: 100%; }
.od-research-feature p { margin: 0; }
.od-timeline-card p, .od-icon-card p, .od-badge-card p, .od-proc-card p { margin: 0; }
.od-badge-card p > span { display: block; font-weight: 400; }
p.od-chip { display: inline-flex; }

/* =====================================================================
   ROUND 16 — fix R15 conversion regressions
   ===================================================================== */

/* Fix A: neutralize core flow-layout block-gap (margin-block-start:1.25rem)
   on the DIRECT children of HORIZONTAL containers only. These lay out in a
   row/grid and define their own `gap`; the injected vertical margin was
   pushing children 2..N down so the first item appeared higher. */
.od-stats > *,
.od-proc-grid > *,
.od-icon-grid > *,
.od-research-grid > *,
.od-badge-grid > *,
.od-metric-grid > *,
.od-stepper > *,
.od-tile-grid > *,
.od-logo-strip > *,
.od-chip-list > *,
.od-timeline-row > * { margin-block: 0 !important; }

/* Fix C: core gallery (has-nested-images flex + is-cropped cover) was sizing
   the marquee/wall logos to fill oversized flex cells. Constrain figure + img. */
.od-marquee.has-nested-images figure.wp-block-image:not(#individual-image),
.od-logo-wall.has-nested-images figure.wp-block-image:not(#individual-image) {
  width: auto !important;
  flex: 0 0 auto !important;
  margin: 0 !important;
}
.od-marquee.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image) img,
.od-marquee.has-nested-images figure.wp-block-image:not(#individual-image) img {
  width: auto !important;
  height: clamp(2.6rem, 4.2vw, 3.4rem) !important;
  max-width: 11rem !important;
  object-fit: contain !important;
  flex: 0 0 auto !important;
}
.od-logo-wall.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image) img,
.od-logo-wall.has-nested-images figure.wp-block-image:not(#individual-image) img {
  width: auto !important;
  height: 3rem !important;
  max-width: 11rem !important;
  object-fit: contain !important;
  flex: 0 0 auto !important;
}

/* Fix B: icon-card block — icon+title header, details below.
   (New oderich/icon-card block; overrides the old 2-col .od-icon-card.) */
.od-icon-card { flex-direction: column; align-items: stretch; gap: 0.85rem; }
.od-icon-card__header { display: flex; align-items: center; gap: 0.85rem; }
.od-icon-card__header h3 { margin: 0; font-family: var(--od-font-serif); font-size: 1.15rem; line-height: 1.25; color: var(--od-heading); }
.od-icon-card > p { margin: 0; color: var(--od-muted); font-size: 0.95rem; }
.od-icon-card > .od-inline-link { margin-top: 0.35rem; }
/* editor preview */
.od-icon-card-editor .od-icon-card-editor__title { font-family: var(--od-font-serif); }
.editor-styles-wrapper .od-proc-card.od-icon-card-editor .od-proc-card__title { font-size: 1.5rem; font-family: var(--od-font-serif); }

/* =====================================================================
   ROUND 17 — polish after client added real images
   ===================================================================== */

/* Fix 1: constrain Featured Procedures banner img to the 16:7 media box.
   Absolute-fill so the in-flow img's natural ratio can't stretch the box
   (aspect-ratio can't give a definite height for a height:100% flow child). */
.od-proc-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }

/* Fix 2: "In partnership with" chips are <p.od-logo-chip> inside a dark band;
   .od-split-dark p forced near-white text on the white chip. Restore dark text. */
.od-split-dark .od-logo-chip { color: var(--od-heading); }

/* Fix 3: treatment tiles now have busy image backgrounds. Make the tiles a
   bit taller so ~a strip of clear image shows above the (bottom-anchored)
   text, and give the text its own dark backing so it is always legible
   regardless of how much clear image sits above it. */
.od-proc-cat .od-tile { min-height: 18rem; }
/* tile-wide scrim: clear image at top, gentle fade toward the text zone */
.od-tile::after {
  background: linear-gradient(180deg,
    rgba(12, 20, 34, 0) 0%,
    rgba(12, 20, 34, 0) 24%,
    rgba(12, 20, 34, 0.14) 46%,
    rgba(12, 20, 34, 0.42) 72%,
    rgba(12, 20, 34, 0.7) 100%);
}
/* dark panel behind just the text block — fades in above the text so the
   title/eyebrow are always readable no matter the image behind them */
.od-tile__body {
  padding: 2.75rem 1.5rem 1.5rem;
  background: linear-gradient(180deg,
    rgba(12, 20, 34, 0) 0%,
    rgba(12, 20, 34, 0.62) 42%,
    rgba(12, 20, 34, 0.9) 100%);
}

/* Fix 4: Clinical Trials / Contact cards live in .od-treatment-grid (core
   flow-layout) which R16 missed — kill the injected block-gap on children. */
.od-treatment-grid > *,
.od-featured-grid > * { margin-block: 0 !important; }
