/* Ophthalmology Foundation V5 homepage modules (pattern "Homepage – V5").
   Every rule is scoped to .of-home, the outer Group of the pattern, so nothing else on the site changes.
   Values come from the approved V5 design (oph-foundation-v5/designs: v5.css over the V4 sheets it layers on).
   Selectors target the markup WordPress core blocks output: Groups carry the module class names.
   Every selector starts with body:not(#ofh), which adds ID-level weight. The live site still loads the old "Crate"
   stylesheet (crate_style), whose ".hentry .entry-content ..." rules change paragraph size and spacing and round the
   buttons; this keeps the approved V5 values on top without !important. */

body:not(#ofh) .of-home{
  --ofh-ink:#363840;--ofh-muted:#46545b;--ofh-teal:#016f70;--ofh-teal-dark:#00585a;--ofh-teal-pressed:#004446;--ofh-plum-pressed:#5e164c;--ofh-plum:#932478;--ofh-plum-dark:#761c60;
  --ofh-tint:#ecf5f4;--ofh-line:#bfcfce;--ofh-display:Georgia,"Times New Roman",serif;--ofh-sans:"Avenir Next","Segoe UI",Arial,sans-serif;
  --ofh-gutter:clamp(20px,4.5vw,80px);--ofh-arrow:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5'%3E%3Cpath d='M4 12h15m-6-6 6 6-6 6'/%3E%3C/svg%3E");--ofh-section:clamp(60px,6vw,100px);
  margin:0;padding:0;max-width:none;background:#fff;color:var(--ofh-ink);font:18px/1.65 var(--ofh-sans);-webkit-font-smoothing:antialiased
}
/* Spacing is set per module below, so the theme's and WordPress's default gaps between blocks are reset here. */
/* The page template is already full width, so the theme's full-bleed shift (100vw, which counts the scrollbar) is undone. */
body:not(#ofh) .entry-content:has(>.of-home.alignfull){padding-left:0!important;padding-right:0!important}
body:not(#ofh) .of-home.alignfull{width:auto!important;max-width:none!important;margin-inline:0!important;transform:none!important;left:auto!important}
body:not(#ofh) .of-home :is(p,h1,h2,h3,figure,ul,blockquote){margin:0;max-width:none}
body:not(#ofh) .of-home>*,body:not(#ofh) .of-home :is(.is-layout-flow,.wp-block-group)>*{margin-block:0}
body:not(#ofh) .of-home img{display:block;max-width:100%;height:auto}
body:not(#ofh) .of-home :is(h1,h2,h3){font-family:var(--ofh-display);font-weight:400;color:var(--ofh-ink);text-wrap:balance}
body:not(#ofh) .of-home h2{font-size:clamp(34px,3.3vw,53px);line-height:1.09;letter-spacing:-.042em}
body:not(#ofh) .of-home h3{font-size:23px;line-height:1.25;letter-spacing:-.025em}
body:not(#ofh) .of-home p{font-family:var(--ofh-sans);color:inherit}
body:not(#ofh) .of-home :is(p,li,a,span,strong,em,figcaption,cite,dt,dd,blockquote){font-family:inherit;font-size:inherit;font-style:inherit;line-height:inherit;letter-spacing:inherit}
body:not(#ofh) .of-home :is(h2,h3) a{color:inherit;text-decoration:none}
body:not(#ofh) .of-home .of-wrap{width:calc(100% - var(--ofh-gutter)*2);max-width:1440px;margin-inline:auto}
body:not(#ofh) .of-home .of-section{padding-block:var(--ofh-section)}
body:not(#ofh) .of-home .of-label{display:block;margin-bottom:18px;color:var(--ofh-teal);font:600 16px/1.5 var(--ofh-sans)}
body:not(#ofh) .of-home .wp-block-buttons{display:flex;flex-wrap:wrap;align-items:center;gap:12px}
body:not(#ofh) .of-home .wp-block-button{margin:0}
body:not(#ofh) .of-home .wp-block-button .wp-block-button__link{display:inline-flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;padding:11px 18px;border:2px solid var(--ofh-teal);border-radius:0;background:var(--ofh-teal)!important;color:#fff!important;font:600 16px/1.4 var(--ofh-sans);letter-spacing:normal;text-decoration:none;box-shadow:none}
/* Button states, as in the style guide: hover darkens and the arrow moves 4px; pressed darkens further and moves down 1px; Outline fills teal; Accent (giving) uses plum. Colours are !important because the legacy Crate stylesheet forces the Outline text colour with !important on hover. */
body:not(#ofh) .of-home .wp-block-button .wp-block-button__link{transition:color .15s ease,background-color .15s ease,border-color .15s ease}
body:not(#ofh) .of-home .wp-block-button .wp-block-button__link:hover{background:var(--ofh-teal-dark)!important;border-color:var(--ofh-teal-dark)!important;color:#fff!important}
body:not(#ofh) .of-home .wp-block-button .wp-block-button__link:active{background:var(--ofh-teal-pressed)!important;border-color:var(--ofh-teal-pressed)!important;color:#fff!important}
body:not(#ofh) .of-home .wp-block-button .wp-block-button__link:active{transform:translateY(1px)}
body:not(#ofh) .of-home .wp-block-button.is-style-outline .wp-block-button__link{background:#fff!important;color:var(--ofh-teal)!important;border-color:var(--ofh-teal)!important}
body:not(#ofh) .of-home .wp-block-button.is-style-outline .wp-block-button__link:hover{background:var(--ofh-teal)!important;border-color:var(--ofh-teal)!important;color:#fff!important}
body:not(#ofh) .of-home .wp-block-button.is-style-outline .wp-block-button__link:active{background:var(--ofh-teal-dark)!important;border-color:var(--ofh-teal-dark)!important;color:#fff!important}
body:not(#ofh) .of-home .wp-block-button.is-style-accent .wp-block-button__link{background:var(--ofh-plum)!important;border-color:var(--ofh-plum)!important;color:#fff!important}
body:not(#ofh) .of-home .wp-block-button.is-style-accent .wp-block-button__link:hover{background:var(--ofh-plum-dark)!important;border-color:var(--ofh-plum-dark)!important;color:#fff!important}
body:not(#ofh) .of-home .wp-block-button.is-style-accent .wp-block-button__link:active{background:var(--ofh-plum-pressed)!important;border-color:var(--ofh-plum-pressed)!important;color:#fff!important}
body:not(#ofh) .of-home .wp-block-button .wp-block-button__link:hover::after{transform:translateX(4px)}
body:not(#ofh) .of-home .wp-block-button .wp-block-button__link:focus-visible{outline:3px solid var(--ofh-plum);outline-offset:4px}

/* Tertiary link: teal underlined text with an arrow (↗ when it opens another site). */
body:not(#ofh) .of-home :is(.of-text-link,.of-audience-links li) a{display:inline-flex;align-items:center;gap:10px;min-height:44px;color:var(--ofh-teal);font:600 16px/1.4 var(--ofh-sans);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:6px;transition:color .15s ease}
/* Arrows are drawn as a 19px icon (the design's SVG arrow), not a text character, so the link underline never runs under them. */
body:not(#ofh) .of-home :is(.of-text-link,.of-audience-links li) a::after,body:not(#ofh) .of-home .of-date-label a::after,body:not(#ofh) .of-home :is(.of-pathway-action,.of-read-story)::after,body:not(#ofh) .of-home .wp-block-button .wp-block-button__link::after{content:"";display:inline-block;flex:none;width:19px;height:19px;margin:0;padding:0;border:0;background:currentColor;-webkit-mask:var(--ofh-arrow) center/19px 19px no-repeat;mask:var(--ofh-arrow) center/19px 19px no-repeat;text-decoration:none;transition:transform .15s ease}
/* Links to other sites end with an underlined ↗ that is part of the link text, as in the design. */
body:not(#ofh) .of-home :is(.of-text-link,.of-audience-links li) a[target="_blank"]{gap:0}
body:not(#ofh) .of-home :is(.of-text-link,.of-audience-links li) a[target="_blank"]::after{content:"\2197";content:"\2197" / "";width:auto;height:auto;margin-left:.28em;background:none;-webkit-mask:none;mask:none;font-size:1em;line-height:inherit}
body:not(#ofh) .of-home .wp-block-button .wp-block-button__link[target="_blank"]::after{content:"\2197";content:"\2197" / "";width:auto;height:auto;background:none;-webkit-mask:none;mask:none;font-size:1.05em;line-height:1}
body:not(#ofh) .of-home :is(.of-text-link,.of-audience-links li) a:hover{color:var(--ofh-plum);text-decoration-thickness:2px}
body:not(#ofh) .of-home :is(.of-text-link,.of-audience-links li) a:hover::after{transform:translateX(4px)}
body:not(#ofh) .of-home :is(.of-text-link,.of-audience-links li) a[target="_blank"]:hover::after,body:not(#ofh) .of-home .wp-block-button .wp-block-button__link[target="_blank"]:hover::after{transform:none}
body:not(#ofh) .of-home a:focus-visible{outline:3px solid var(--ofh-plum);outline-offset:4px}

/* Whole-card links: the heading's link stretches over its card. */
body:not(#ofh) .of-home :is(.of-pathway,.of-news-item,.of-date-item){position:relative}
body:not(#ofh) .of-home :is(.of-pathway,.of-news-item) h3 a::before,body:not(#ofh) .of-home .of-date-label a::before{content:"";position:absolute;inset:0;z-index:1}
body:not(#ofh) .of-home :is(.of-pathway,.of-news-item):focus-within{outline:3px solid var(--ofh-plum);outline-offset:4px}
body:not(#ofh) .of-home :is(.of-pathway,.of-news-item) h3 a:focus-visible{outline:none}

/* ---- Hero: promise on the left, three-image carousel on the right (stacks under the copy on tablets and phones). ---- */
body:not(#ofh) .of-home .of-hero{position:relative;isolation:isolate;display:flex;align-items:center;min-height:660px;overflow:hidden;background:#fff}
body:not(#ofh) .of-home .of-hero-copy{max-width:48%;padding-block:56px}
body:not(#ofh) .of-home .of-hero h1{margin-bottom:22px;font-size:clamp(48px,5vw,76px);line-height:1.06;letter-spacing:-.045em}
body:not(#ofh) .of-home .of-hero .of-label{margin-bottom:25px}
body:not(#ofh) .of-home .of-lead{max-width:48ch;color:var(--ofh-muted);font-size:19px;line-height:1.65}
body:not(#ofh) .of-home .of-hero .of-actions{margin-top:26px}
body:not(#ofh) .of-home .of-hero-carousel{position:absolute;inset:0 0 0 53%;z-index:1;display:block;margin:0;overflow:hidden;background:#203538;border-left:10px solid var(--ofh-plum)}
body:not(#ofh) .of-home .of-hero-carousel>.wp-block-image{position:absolute;inset:0;width:auto!important;margin:0!important;transition:opacity .45s ease,visibility 0s linear .45s}
body:not(#ofh) .of-home .of-hero-carousel>.wp-block-image img{width:100%!important;height:100%!important;object-fit:cover}
body:not(#ofh) .of-home .of-hero-carousel>.wp-block-image:nth-child(1) img{object-position:66% center}
body:not(#ofh) .of-home .of-hero-carousel>.wp-block-image:nth-child(2) img{object-position:62% 58%}
body:not(#ofh) .of-home .of-hero-carousel>.wp-block-image:nth-child(3) img{object-position:38% center}
/* Before the script runs (and in the editor) only the first photo shows; captions live in the control bar. */
body:not(#ofh) .of-home .of-hero-carousel>.wp-block-image:not(:first-child){opacity:0;visibility:hidden}
body:not(#ofh) .of-home .of-hero-carousel>.wp-block-image figcaption{display:none}
body:not(#ofh) .of-home .of-hero-carousel.is-ready>.wp-block-image{opacity:0;visibility:hidden}
body:not(#ofh) .of-home .of-hero-carousel.is-ready>.wp-block-image.is-active{opacity:1;visibility:visible;transition:opacity .45s ease}
body:not(#ofh) .of-home .of-hero-controls{position:absolute;left:0;right:0;bottom:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 20px;background:rgba(28,40,44,.9);color:#fff}
body:not(#ofh) .of-home .of-hero-caption{display:flex;flex-direction:column;min-width:0;margin:0;color:#fff;font-size:15px;line-height:1.35}
body:not(#ofh) .of-home .of-hero-caption strong{font-weight:650}
body:not(#ofh) .of-home .of-hero-caption span{color:#dce8e8;font-size:14px}
body:not(#ofh) .of-home .of-hero-nav{display:flex;align-items:center;gap:6px;flex-shrink:0}
body:not(#ofh) .of-home .of-hero-nav button{margin:0;font:inherit;box-shadow:none}
body:not(#ofh) .of-home .of-hero-prev,body:not(#ofh) .of-home .of-hero-next{display:inline-grid;place-items:center;width:44px;height:44px;padding:0;border:1px solid #ffffffb3;border-radius:50%;background:transparent;color:#fff;cursor:pointer;transition:background-color .15s ease,color .15s ease}
body:not(#ofh) .of-home .of-hero-prev svg,body:not(#ofh) .of-home .of-hero-next svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6}
body:not(#ofh) .of-home .of-hero-prev:hover,body:not(#ofh) .of-home .of-hero-next:hover{background:#fff;color:var(--ofh-teal)}
body:not(#ofh) .of-home .of-hero-dots{display:flex}
body:not(#ofh) .of-home .of-hero-dot{display:grid;place-items:center;width:28px;height:44px;padding:0;border:0;background:transparent;cursor:pointer}
body:not(#ofh) .of-home .of-hero-dot::before{content:"";width:11px;height:11px;border:2px solid #fff;border-radius:50%;transition:background-color .15s ease}
body:not(#ofh) .of-home .of-hero-dot:hover::before{background:#ffffff80}
body:not(#ofh) .of-home .of-hero-dot[aria-current=true]::before{background:#fff}
body:not(#ofh) .of-home .of-hero-controls button:focus-visible{outline:3px solid #fff;outline-offset:2px}

/* ---- Audience routes. ---- */
body:not(#ofh) .of-home .of-audience{background:#fff;border-bottom:1px solid var(--ofh-line)}
body:not(#ofh) .of-home .of-audience-grid{display:grid;grid-template-columns:1.1fr 1.1fr 1fr;gap:40px;padding-block:36px}
body:not(#ofh) .of-home .of-audience-col+.of-audience-col{padding-left:32px;border-left:1px solid var(--ofh-line)}
body:not(#ofh) .of-home .of-audience h2{margin:0 0 12px;color:var(--ofh-ink);font:650 23px/1.3 var(--ofh-sans);letter-spacing:-.02em}
body:not(#ofh) .of-home .of-audience-col>p{max-width:42ch;margin-bottom:12px;color:var(--ofh-muted);font-size:17px;line-height:1.65}
body:not(#ofh) .of-home .of-audience-links{display:flex;flex-direction:column;align-items:flex-start;gap:3px;margin:0;padding:0;list-style:none}
body:not(#ofh) .of-home .of-audience-links li{margin:0;padding:0}
body:not(#ofh) .of-home .of-audience-links li::before{content:none}
body:not(#ofh) .of-home .of-audience-links li a{text-underline-offset:5px}

/* ---- Key dates band. ---- */
body:not(#ofh) .of-home .of-dates{padding:25px 0;background:var(--ofh-plum);color:#fff}
body:not(#ofh) .of-home .of-dates-inner{display:grid;grid-template-columns:.8fr 1fr 1fr 1.05fr;align-items:center;gap:30px}
body:not(#ofh) .of-home .of-dates h2{color:#fff;font:600 21px/1.09 var(--ofh-sans);letter-spacing:-.02em}
body:not(#ofh) .of-home .of-dates-heading p{display:block;margin-top:5px;color:#fff;font-size:16px}
body:not(#ofh) .of-home .of-date-item{padding-left:25px;border-left:1px solid #cc98bf}
body:not(#ofh) .of-home .of-date-value{display:flex;align-items:baseline;gap:8px;color:#fff;font-size:18px;white-space:nowrap}
body:not(#ofh) .of-home .of-date-value strong{font:400 36px/1.1 var(--ofh-display);letter-spacing:-.05em}
body:not(#ofh) .of-home .of-date-label{margin-top:8px;font-size:16px}
body:not(#ofh) .of-home .of-date-label a{display:inline-flex;align-items:center;gap:20px;color:#fff;text-decoration:none}
body:not(#ofh) .of-home .of-date-item:hover .of-date-value{text-decoration:underline;text-underline-offset:5px}
body:not(#ofh) .of-home .of-dates-more{color:#fff;font-size:16px}
body:not(#ofh) .of-home .of-dates-more .of-text-link a{display:flex;width:max-content;max-width:100%;min-height:38px;margin-top:4px;color:#fff}
body:not(#ofh) .of-home .of-dates a:focus-visible{outline-color:#fff}

/* ---- Section head: label, heading and introduction read as one block. ---- */
body:not(#ofh) .of-home .of-section-head{display:block;max-width:64ch;margin-bottom:35px}
body:not(#ofh) .of-home .of-section-head>p:not(.of-label){max-width:62ch;margin-top:18px;color:var(--ofh-muted);font-size:18px;line-height:1.7}

/* ---- Four programs. ---- */
body:not(#ofh) .of-home .of-pathway-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:30px;align-items:stretch}
body:not(#ofh) .of-home .of-pathway{display:flex;flex-direction:column;align-items:flex-start;min-width:0;padding-top:27px;border-top:2px solid var(--ofh-teal)}
body:not(#ofh) .of-home .of-program-photo{width:100%;margin-bottom:22px!important}
body:not(#ofh) .of-home .of-program-photo img{width:100%;aspect-ratio:1.5;height:auto;object-fit:cover;object-position:center}
body:not(#ofh) .of-home .of-program-photo.of-photo-nelson img{object-position:67% 34%}
body:not(#ofh) .of-home .of-program-photo img[src*="ccreditation"],body:not(#ofh) .of-home .of-pathway:nth-child(4) .of-program-photo img{object-fit:contain;background:var(--ofh-tint)}
body:not(#ofh) .of-home .of-audience-label{margin-bottom:10px;color:var(--ofh-muted);font-size:16px;line-height:1.5}
body:not(#ofh) .of-home .of-pathway h3{margin-bottom:20px;font:400 30px/1.15 var(--ofh-display);letter-spacing:-.03em;overflow-wrap:normal}
body:not(#ofh) .of-home .of-pathway>p:not([class*="of-"]){max-width:38ch;margin-bottom:28px;color:var(--ofh-muted);font-size:18px}
body:not(#ofh) .of-home .of-pathway-action{display:flex;justify-content:space-between;align-items:center;gap:16px;width:100%;min-height:44px;margin-top:auto!important;border-bottom:1px solid var(--ofh-line);color:var(--ofh-teal);font-size:16px;font-weight:600}
body:not(#ofh) .of-home .of-pathway:hover h3{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:6px}
body:not(#ofh) .of-home .of-pathway:hover .of-pathway-action{color:var(--ofh-plum);border-color:var(--ofh-plum)}
body:not(#ofh) .of-home :is(.of-pathway,.of-news-item):hover :is(.of-pathway-action,.of-read-story)::after{transform:translateX(4px)}
/* Rows line up across the four cards even when an audience line wraps. */
@media(min-width:601px){
  body:not(#ofh) .of-home .of-pathway{display:grid;grid-row:span 5;grid-template-rows:subgrid;row-gap:0;align-items:start}
  body:not(#ofh) .of-home .of-pathway .of-audience-label{align-self:end}
  body:not(#ofh) .of-home .of-pathway-action{align-self:end}
}

/* ---- Network figures. ---- */
body:not(#ofh) .of-home .of-proof{padding:40px 0;background:var(--ofh-tint)}
body:not(#ofh) .of-home .of-proof-grid{display:grid;grid-template-columns:1fr 1.6fr;gap:20px 70px;align-items:center}
body:not(#ofh) .of-home .of-proof-intro h2{margin-bottom:12px;font-size:32px}
body:not(#ofh) .of-home .of-proof-intro p{max-width:36ch;color:var(--ofh-muted);font-size:17px}
body:not(#ofh) .of-home .of-proof-numbers{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:30px}
body:not(#ofh) .of-home .of-proof-figure{display:flex;flex-direction:column;gap:12px}
body:not(#ofh) .of-home .of-proof-figure p{color:var(--ofh-muted);font-size:17px}
body:not(#ofh) .of-home .of-proof-figure .of-proof-value{color:var(--ofh-teal);font:400 58px/1 var(--ofh-display);letter-spacing:-.045em}
body:not(#ofh) .of-home .of-proof-source{grid-column:1/-1;margin-top:8px!important;color:var(--ofh-muted);font-size:15px;line-height:1.6}
body:not(#ofh) .of-home .of-proof-source a{color:inherit!important;text-decoration:underline;text-underline-offset:3px}

/* ---- Vision. ---- */
body:not(#ofh) .of-home .of-vision-layout{display:grid;grid-template-columns:1.3fr 1fr;gap:clamp(45px,9vw,150px);align-items:start}
body:not(#ofh) .of-home .of-vision-description{max-width:48ch;margin:26px 0 18px!important;color:var(--ofh-muted);font-size:18px;line-height:1.7}
body:not(#ofh) .of-home .of-teaching-note{padding-left:40px;border-left:1px solid var(--ofh-plum)}
body:not(#ofh) .of-home .of-teaching-note h3{margin-bottom:24px;font:400 32px/1.3 var(--ofh-display);letter-spacing:-.025em}
body:not(#ofh) .of-home .of-teaching-note>p:not([class*="of-"]){max-width:38ch;margin-bottom:20px;color:var(--ofh-muted);font-size:18px;line-height:1.7}

/* ---- Learning in practice. ---- */
body:not(#ofh) .of-home .of-learning{background:#f2f5f7}
body:not(#ofh) .of-home .of-learning-grid{display:grid;grid-template-columns:1.25fr 1fr;gap:60px;align-items:start}
body:not(#ofh) .of-home .of-learning-photo img{width:100%;height:auto;aspect-ratio:4/3;object-fit:cover}
body:not(#ofh) .of-home .of-learning-photo figcaption{margin:14px 0 0;padding:0;color:var(--ofh-muted);font-size:15px;line-height:1.6;text-align:left}
body:not(#ofh) .of-home .of-learning-photo figcaption a{color:inherit!important;text-decoration:underline;text-underline-offset:3px}
body:not(#ofh) .of-home .of-learning-sequence{padding-left:30px;border-left:3px solid var(--ofh-plum)}
body:not(#ofh) .of-home .of-learning-step+.of-learning-step{margin-top:28px!important}
body:not(#ofh) .of-home .of-learning-step h3{margin:0 0 8px;font:600 25px/1.3 var(--ofh-sans);letter-spacing:-.02em}
body:not(#ofh) .of-home .of-learning-step p{max-width:46ch;color:var(--ofh-muted);font-size:18px}
body:not(#ofh) .of-home .of-program-intro{display:flex;align-items:center;justify-content:space-between;gap:40px;margin-top:45px!important;padding-top:35px;border-top:1px solid #aabfc0}
body:not(#ofh) .of-home .of-program-intro h3{margin-bottom:12px;font:400 27px/1.25 var(--ofh-sans);letter-spacing:-.025em}
body:not(#ofh) .of-home .of-program-intro p{max-width:65ch;color:var(--ofh-muted);font-size:18px}
body:not(#ofh) .of-home .of-program-intro .wp-block-button__link{min-width:250px;max-width:330px;justify-content:space-between}

/* ---- A candidate's perspective. ---- */
body:not(#ofh) .of-home .of-story{padding:clamp(56px,7vw,96px) 0;background:var(--ofh-tint)}
body:not(#ofh) .of-home .of-story-card{display:grid;grid-template-columns:auto minmax(0,1fr);gap:clamp(28px,4vw,56px);align-items:start;max-width:1100px;margin:0 auto;padding:clamp(28px,4vw,56px);background:#fff;border-top:4px solid var(--ofh-plum)}
body:not(#ofh) .of-home .of-story-portrait img{width:144px;height:144px;border-radius:50%;max-width:none;object-fit:cover;object-position:center;box-shadow:0 0 0 6px var(--ofh-tint)}
body:not(#ofh) .of-home .of-story-body .of-label{margin-bottom:12px}
body:not(#ofh) .of-home .of-story-body h2{margin:0 0 26px;font-size:clamp(30px,3vw,44px);line-height:1.15}
body:not(#ofh) .of-home .of-story-quote{max-width:36ch;margin:0 0 18px!important;padding:0 0 0 24px;font:400 clamp(24px,2.5vw,39px)/1.36 var(--ofh-display);letter-spacing:-.025em;border:0;border-left:3px solid var(--ofh-teal);background:none;quotes:none}
body:not(#ofh) .of-home .of-story-quote::before,body:not(#ofh) .of-home .of-story-quote::after{content:none}
body:not(#ofh) .of-home .of-story-quote p{max-width:44ch;color:var(--ofh-ink);font:400 clamp(21px,1.9vw,26px)/1.5 var(--ofh-display);font-style:normal;letter-spacing:calc(clamp(24px,2.5vw,39px)*-.025)}
body:not(#ofh) .of-home .of-story-attribution{display:flex;flex-direction:column;gap:2px;margin:0 0 30px!important;padding-left:27px;font-size:17px;line-height:1.5}
body:not(#ofh) .of-home .of-story-attribution p{color:var(--ofh-muted);font-size:15px}
body:not(#ofh) .of-home .of-story-attribution .of-story-name{color:var(--ofh-ink);font-size:17px;font-weight:650}
body:not(#ofh) .of-home .of-story-attribution .of-story-credit{margin-top:4px!important;font-size:14px}
body:not(#ofh) .of-home .of-story-actions{display:flex;flex-wrap:wrap;align-items:center;gap:16px 28px}

/* ---- From the Foundation. ---- */
body:not(#ofh) .of-home .of-news-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:45px}
body:not(#ofh) .of-home .of-news-item{display:flex;flex-direction:column;align-items:flex-start;padding-top:24px;border-top:1px solid var(--ofh-line)}
body:not(#ofh) .of-home .of-news-meta{margin-bottom:16px;color:var(--ofh-muted);font-size:15px;line-height:1.5}
body:not(#ofh) .of-home .of-news-item h3{margin-bottom:18px;font:400 27px/1.2 var(--ofh-display);letter-spacing:-.025em}
body:not(#ofh) .of-home .of-news-item:hover h3{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px}
body:not(#ofh) .of-home .of-news-item>p:not([class*="of-"]){max-width:66ch;margin-bottom:24px;color:var(--ofh-muted);font-size:18px;line-height:1.7}
body:not(#ofh) .of-home .of-read-story{display:flex;align-items:center;gap:20px;min-height:44px;margin-top:auto!important;color:var(--ofh-teal);font-size:16px;font-weight:600}
body:not(#ofh) .of-home .of-news-item:hover .of-read-story{color:var(--ofh-plum)}
body:not(#ofh) .of-home .of-news-more{display:flex;justify-content:center;margin-top:clamp(36px,4vw,56px)!important;padding-top:32px;border-top:1px solid var(--ofh-line)}

/* ---- Support and newsletter. ---- */
body:not(#ofh) .of-home .of-support{padding:70px 0;background:var(--ofh-tint)}
body:not(#ofh) .of-home .of-support-grid{display:grid;grid-template-columns:1.3fr 1fr;gap:90px;align-items:center}
body:not(#ofh) .of-home .of-support-main>p:not([class*="of-"]){max-width:48ch;margin-top:24px!important;color:var(--ofh-muted);font-size:18px;line-height:1.7}
body:not(#ofh) .of-home .of-support-actions{display:flex;flex-wrap:wrap;align-items:center;gap:16px 20px;margin-top:30px!important}
body:not(#ofh) .of-home .of-newsletter{padding-left:45px;border-left:1px solid var(--ofh-line)}
body:not(#ofh) .of-home .of-newsletter h3{font:400 31px/1.2 var(--ofh-display);letter-spacing:-.03em}
body:not(#ofh) .of-home .of-newsletter>p:not([class*="of-"]){max-width:48ch;margin:20px 0 24px!important;color:var(--ofh-muted);font-size:18px;line-height:1.7}

/* The design system's general link styles (for links in body text) are stronger than these module rules,
   so the module link colors are fixed here. */
body:not(#ofh) .of-home :is(.of-text-link,.of-audience-links li) a{color:var(--ofh-teal)!important;text-decoration:underline!important;text-decoration-thickness:1px!important;text-underline-offset:6px!important}
body:not(#ofh) .of-home :is(.of-text-link,.of-audience-links li) a:hover{color:var(--ofh-plum)!important;text-decoration-thickness:2px!important}
body:not(#ofh) .of-home :is(.of-text-link,.of-audience-links li) a:active,body:not(#ofh) .of-home :is(.of-pathway,.of-news-item):active :is(.of-pathway-action,.of-read-story){color:var(--ofh-plum-dark)!important}
body:not(#ofh) .of-home .of-dates a,body:not(#ofh) .of-home .of-dates .of-text-link a,body:not(#ofh) .of-home .of-dates .of-text-link a:hover{color:#fff!important}
body:not(#ofh) .of-home .of-date-label a{text-decoration:none!important}
body:not(#ofh) .of-home :is(h2,h3) a{color:inherit!important;text-decoration:none!important}
body:not(#ofh) .of-home .of-proof-source a,body:not(#ofh) .of-home .of-learning-photo figcaption a{text-underline-offset:3px!important}

/* ---- Wide screens. ---- */

/* ---- Laptops and tablets. ---- */
@media(max-width:1200px){
  body:not(#ofh) .of-home .of-hero h1{font-size:56px}
  body:not(#ofh) .of-home .of-pathway-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:1150px){
  body:not(#ofh) .of-home .of-dates-inner{grid-template-columns:.8fr 1fr 1fr;gap:20px}
  body:not(#ofh) .of-home .of-dates-more{display:none}
  body:not(#ofh) .of-home .of-proof-numbers{gap:20px}
  body:not(#ofh) .of-home .of-proof-grid{gap:25px 40px}
  body:not(#ofh) .of-home .of-support-grid{gap:50px}
  body:not(#ofh) .of-home .of-newsletter{padding-left:30px}
  body:not(#ofh) .of-home .of-news-grid{gap:30px}
}
@media(max-width:850px){
  body:not(#ofh) .of-home .of-hero{flex-direction:column;align-items:stretch;min-height:0}
  body:not(#ofh) .of-home .of-hero>.of-wrap{order:-1}
  body:not(#ofh) .of-home .of-hero-copy{max-width:100%;padding-block:35px}
  body:not(#ofh) .of-home .of-lead{max-width:60ch}
  body:not(#ofh) .of-home .of-hero-carousel{position:relative;inset:auto;width:100%;height:440px;border-left:0}
  body:not(#ofh) .of-home .of-audience-grid{grid-template-columns:1fr;gap:24px}
  body:not(#ofh) .of-home .of-audience-col+.of-audience-col{padding:24px 0 0;border-left:0;border-top:1px solid var(--ofh-line)}
  body:not(#ofh) .of-home .of-audience-links{flex-direction:row;flex-wrap:wrap;gap:6px 24px}
  body:not(#ofh) .of-home .of-audience-col>p{max-width:65ch}
  body:not(#ofh) .of-home .of-dates-inner{grid-template-columns:1fr 1fr}
  body:not(#ofh) .of-home .of-dates-heading{grid-column:1/-1}
  body:not(#ofh) .of-home .of-dates-more{display:block;grid-column:1/-1}
  body:not(#ofh) .of-home .of-date-item{padding:0;border:0}
  body:not(#ofh) .of-home .of-date-value strong{font-size:40px}
  body:not(#ofh) .of-home .of-proof-grid{grid-template-columns:1fr}
  body:not(#ofh) .of-home .of-proof-numbers{margin-top:8px}
  body:not(#ofh) .of-home .of-vision-layout{grid-template-columns:1fr;gap:40px}
  body:not(#ofh) .of-home .of-teaching-note{padding:0;border:0}
  body:not(#ofh) .of-home .of-learning-grid{grid-template-columns:1fr;gap:32px}
  body:not(#ofh) .of-home .of-learning-sequence{display:grid;grid-template-columns:1fr 1fr 1fr;gap:24px;padding-left:0;border-left:0}
  body:not(#ofh) .of-home .of-learning-step{padding-top:20px;border-top:3px solid var(--ofh-plum)}
  body:not(#ofh) .of-home .of-learning-step+.of-learning-step{margin-top:0!important}
  body:not(#ofh) .of-home .of-program-intro{display:block}
  body:not(#ofh) .of-home .of-program-intro .wp-block-buttons{margin-top:24px}
  body:not(#ofh) .of-home .of-news-grid{grid-template-columns:1fr;gap:25px}
  body:not(#ofh) .of-home .of-news-item h3{font-size:23px}
  body:not(#ofh) .of-home .of-support-grid{gap:40px}
  body:not(#ofh) .of-home .of-newsletter h3{font-size:27px}
}
@media(max-width:800px){
  body:not(#ofh) .of-home .of-hero-caption{font-size:16px}
  body:not(#ofh) .of-home .of-proof-intro p{max-width:none}
}
@media(min-width:601px) and (max-width:800px){
  body:not(#ofh) .of-home .of-section-head h2{font-size:38px}
}
@media(max-width:700px){
  body:not(#ofh) .of-home .of-story-card{grid-template-columns:1fr;gap:22px}
  body:not(#ofh) .of-home .of-story-portrait img{width:112px;height:112px}
  body:not(#ofh) .of-home .of-story-quote{padding-left:18px}
  body:not(#ofh) .of-home .of-story-attribution{padding-left:21px}
}

/* ---- Phones. ---- */
@media(max-width:600px){
  body:not(#ofh) .of-home .of-section{padding-block:55px}
  body:not(#ofh) .of-home h2{font-size:34px;line-height:1.09}
  body:not(#ofh) .of-home .of-hero h1{margin-bottom:18px;font-size:clamp(38px,10.5vw,54px);line-height:1.1}
  body:not(#ofh) .of-home .of-hero .of-label{margin-bottom:18px}
  body:not(#ofh) .of-home .of-lead{font-size:18px}
  body:not(#ofh) .of-home .of-hero .of-actions{gap:12px 20px;margin-top:20px}
  body:not(#ofh) .of-home .of-hero .of-actions .wp-block-button,body:not(#ofh) .of-home .of-support-actions .wp-block-buttons,body:not(#ofh) .of-home .of-support-actions .wp-block-button{width:100%}
  body:not(#ofh) .of-home .of-hero .of-actions .wp-block-button__link,body:not(#ofh) .of-home .of-support-actions .wp-block-button__link{width:100%;justify-content:space-between}
  body:not(#ofh) .of-home .of-hero-carousel{height:380px}
  body:not(#ofh) .of-home .of-hero-controls{gap:10px;padding:8px 12px}
  body:not(#ofh) .of-home .of-hero-caption{font-size:17px}
  body:not(#ofh) .of-home .of-hero-caption span{font-size:13px}
  body:not(#ofh) .of-home .of-proof-figure p:not(.of-proof-value){line-height:1.5}
  body:not(#ofh) .of-home .of-audience-grid{padding-block:30px}
  body:not(#ofh) .of-home .of-audience h2{font-size:24px}
  body:not(#ofh) .of-home .of-audience-col>p{font-size:18px}
  body:not(#ofh) .of-home .of-dates{padding:22px 0}
  body:not(#ofh) .of-home .of-dates-inner{grid-template-columns:1fr 1fr;gap:18px}
  body:not(#ofh) .of-home .of-dates-heading p{margin-top:5px}
  body:not(#ofh) .of-home .of-date-item:nth-child(3){padding-left:18px;border-left:1px solid #cc98bf}
  body:not(#ofh) .of-home .of-date-value{flex-wrap:wrap;gap:6px;font-size:16px}
  body:not(#ofh) .of-home .of-date-label a{align-items:start;gap:12px}
  body:not(#ofh) .of-home .of-section-head{margin-bottom:28px}
  body:not(#ofh) .of-home .of-pathway-grid{grid-template-columns:1fr}
  body:not(#ofh) .of-home .of-pathway{padding:23px 0;border-top-width:1px}
  body:not(#ofh) .of-home .of-pathway>p:not([class*="of-"]){margin-bottom:8px}
  body:not(#ofh) .of-home .of-vision-layout{gap:32px}
  body:not(#ofh) .of-home .of-teaching-note{padding-top:25px;border-top:1px solid var(--ofh-plum)}
  body:not(#ofh) .of-home .of-support-actions{margin-top:24px!important}
  body:not(#ofh) .of-home .of-pathway h3{margin-bottom:12px}
  body:not(#ofh) .of-home .of-proof{padding:32px 0}
  body:not(#ofh) .of-home .of-proof-numbers{grid-template-columns:1fr;gap:25px}
  body:not(#ofh) .of-home .of-proof-figure{flex-direction:row;align-items:baseline;gap:20px}
  body:not(#ofh) .of-home .of-proof-figure .of-proof-value{min-width:120px;font-size:48px}
  body:not(#ofh) .of-home .of-proof-source{margin-top:0!important}
  body:not(#ofh) .of-home .of-vision-layout h2{font-size:35px}
  body:not(#ofh) .of-home .of-vision-description{margin:20px 0 12px!important}
  body:not(#ofh) .of-home .of-teaching-note h3{margin-bottom:16px}
  body:not(#ofh) .of-home .of-teaching-note>p:not([class*="of-"]){max-width:45ch;margin-bottom:10px}
  body:not(#ofh) .of-home .of-learning-sequence{grid-template-columns:1fr}
  body:not(#ofh) .of-home .of-program-intro .wp-block-button,body:not(#ofh) .of-home .of-program-intro .wp-block-button__link{width:100%;min-width:0;max-width:100%}
  body:not(#ofh) .of-home .of-news-item{padding-top:22px}
  body:not(#ofh) .of-home .of-news-item h3{max-width:23ch;margin-bottom:12px;font-size:27px}
  body:not(#ofh) .of-home .of-news-item>p:not([class*="of-"]){max-width:48ch;margin-bottom:8px}
  body:not(#ofh) .of-home .of-news-meta{margin-bottom:13px}
  body:not(#ofh) .of-home .of-news-more{justify-content:stretch}
  body:not(#ofh) .of-home .of-news-more :is(.wp-block-buttons,.wp-block-button,.wp-block-button__link){width:100%;justify-content:space-between}
  body:not(#ofh) .of-home .of-support{padding:50px 0}
  body:not(#ofh) .of-home .of-support-grid{grid-template-columns:1fr;gap:35px}
  body:not(#ofh) .of-home .of-support-grid h2{font-size:35px}
  body:not(#ofh) .of-home .of-support-main>p:not([class*="of-"]){margin-top:18px!important}
  body:not(#ofh) .of-home .of-newsletter{padding:30px 0 0;border-left:0;border-top:1px solid var(--ofh-line)}
  body:not(#ofh) .of-home .of-newsletter>p:not([class*="of-"]){margin:18px 0 22px!important}
}
@media(max-width:400px){body:not(#ofh) .of-home .of-hero-caption span{display:none}}
@media(prefers-reduced-motion:reduce){
  body:not(#ofh) .of-home *,body:not(#ofh) .of-home *::before,body:not(#ofh) .of-home *::after{transition:none!important}
}
