/* WordPress-specific adjustments for the V5 page templates (of-pages.css is generated from the design and not edited).
   Core blocks wrap content in their own elements; these rules give them the design's layout. */

/* The page frame spans the full width (the theme constrains page content by default). */
body:not(#ofh) .entry-content:has(>.ofh-page){padding-left:0!important;padding-right:0!important}
body:not(#ofh) .entry-content>.ofh-page{max-width:none!important;width:auto!important;margin-left:0!important;margin-right:0!important}
/* WordPress's default gap between blocks is removed; the design's own margins (stronger rules) set the spacing. */
body:not(#ofh) :where(.ofh-page) :where(.is-layout-flow,.is-layout-constrained,.wp-block-group)>*{margin-block-start:0}
/* Block wrappers carry no margin of their own (the legacy Crate stylesheet adds 1.5em below groups); design rules for
   grids, figures, quotes and tables are stronger and set theirs. */
body:not(#ofh) :where(.ofh-page) :is(.wp-block-group,.wp-block-buttons,.wp-block-image,.wp-block-table,.wp-block-details,.wp-block-quote,.wp-block-embed){margin-block-start:0;margin-block-end:0}


/* Images inside cards and grids take the design's sizes. */
body:not(#ofh) .ofh-page .v-quote>.wp-block-image{margin:0}
/* WordPress lays out resized images as a table (caption squeezed to the image); the design's figure is a block. */
body:not(#ofh) .ofh-page .wp-block-image.is-resized{display:block}
body:not(#ofh) .ofh-page .wp-block-image.is-resized figcaption{display:block}
body:not(#ofh) .ofh-page .v-quote>.wp-block-image img{width:72px!important;height:72px!important;border-radius:50%;object-fit:cover;margin-bottom:12px}

/* Live Gravity Forms take the design's form styling (the plugin adds .v-form to the form). */
body:not(#ofh) .ofh-page .v-gform .gform_wrapper{margin:0}

/* The legacy Crate stylesheet sets size and line height on each paragraph and list item (".hentry .entry-content p").
   In the design, text takes these from its container, so text elements inherit them here. :where() keeps this reset
   weaker than every design rule and stronger than Crate's. */
body:not(#ofh) :where(.ofh-page) :is(p,li,a,span,strong,em,b,i,u,small,figcaption,cite,dt,dd,blockquote,td,th,summary,label,time){font-family:inherit;font-size:inherit;font-style:inherit;line-height:inherit;letter-spacing:inherit;overflow-wrap:inherit}

/* Buttons: the style guide's primary, outline (secondary) and accent buttons, with the arrow drawn as an icon. Colours are
   !important because the legacy Crate stylesheet forces button colours with !important. Same rules as the homepage. */
body:not(#ofh) .ofh-page .wp-block-buttons{display:flex;flex-wrap:wrap;align-items:center;gap:12px}
body:not(#ofh) .ofh-page .wp-block-button{margin:0}
body:not(#ofh) .ofh-page .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 #016f70;border-radius:0;background:#016f70!important;color:#fff!important;font:600 16px/1.4 "Avenir Next","Segoe UI",Arial,sans-serif;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) .ofh-page .wp-block-button .wp-block-button__link{transition:color .15s ease,background-color .15s ease,border-color .15s ease}
body:not(#ofh) .ofh-page .wp-block-button .wp-block-button__link:hover{background:#00585a!important;border-color:#00585a!important;color:#fff!important}
body:not(#ofh) .ofh-page .wp-block-button .wp-block-button__link:active{background:#004446!important;border-color:#004446!important;color:#fff!important}
body:not(#ofh) .ofh-page .wp-block-button .wp-block-button__link:active{transform:translateY(1px)}
body:not(#ofh) .ofh-page .wp-block-button.is-style-outline .wp-block-button__link{background:#fff!important;color:#016f70!important;border-color:#016f70!important}
body:not(#ofh) .ofh-page .wp-block-button.is-style-outline .wp-block-button__link:hover{background:#016f70!important;border-color:#016f70!important;color:#fff!important}
body:not(#ofh) .ofh-page .wp-block-button.is-style-outline .wp-block-button__link:active{background:#00585a!important;border-color:#00585a!important;color:#fff!important}
body:not(#ofh) .ofh-page .wp-block-button.is-style-accent .wp-block-button__link{background:#932478!important;border-color:#932478!important;color:#fff!important}
body:not(#ofh) .ofh-page .wp-block-button.is-style-accent .wp-block-button__link:hover{background:#761c60!important;border-color:#761c60!important;color:#fff!important}
body:not(#ofh) .ofh-page .wp-block-button.is-style-accent .wp-block-button__link:active{background:#5e164c!important;border-color:#5e164c!important;color:#fff!important}
body:not(#ofh) .ofh-page .wp-block-button .wp-block-button__link:hover::after{transform:translateX(4px)}
body:not(#ofh) .ofh-page .wp-block-button .wp-block-button__link:focus-visible{outline:3px solid #932478;outline-offset:4px}
body:not(#ofh) .ofh-page .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: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") center/19px 19px no-repeat;mask: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") center/19px 19px no-repeat;text-decoration:none;transition:transform .15s ease}
body:not(#ofh) .ofh-page .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) .ofh-page :is(.of-text-link,.of-audience-links li) a[target="_blank"]:hover::after,body:not(#ofh) .ofh-page .wp-block-button .wp-block-button__link[target="_blank"]:hover::after{transform:none}

/* Accordions: the design's page accordions use the text colour and size of the content (the site-wide details style is teal). */
body:not(#ofh) .ofh-page .v-prose details.wp-block-details summary{margin:0;color:inherit;font:inherit;font-weight:650}
body:not(#ofh) .ofh-page details.wp-block-details summary{margin:0}

/* In the design, page buttons sit in the text flow with 6px above and below each row and 12px between buttons. */
body:not(#ofh) .ofh-page .v-prose .wp-block-buttons{padding:6px 0;gap:12px}
body:not(#ofh) .ofh-page .wp-block-buttons{gap:12px}

/* Testimonials and embedded forms are groups (div) in WordPress; in the design they are figures, which span the full content width. */
body:not(#ofh) .ofh-page .v-prose>:is(.v-quote,.v-quiz,.v-embed-form){max-width:none}

/* Videos: the design shows each video at 480 x 360 (the live embed size), not the full column width. */
body:not(#ofh) .ofh-page .wp-block-embed.is-provider-youtube{max-width:480px}

/* News & Events: the live post list in the design's listing style (title, "author · date", excerpt, "Continue reading"). */
body:not(#ofh) .ofh-page .v-news-query .wp-block-post-template{margin:0;padding:0;list-style:none}
body:not(#ofh) .ofh-page .v-news-query .wp-block-post{margin:0 0 32px;padding:0 0 28px;border-bottom:1px solid var(--line)}
body:not(#ofh) .ofh-page .v-news-query .wp-block-post-title{margin:0 0 8px}
body:not(#ofh) .ofh-page .v-news-query .wp-block-post-title a{color:var(--ink);text-decoration:none}
body:not(#ofh) .ofh-page .v-news-query .wp-block-post-title a:hover{color:var(--plum);text-decoration:underline;text-underline-offset:5px}
body:not(#ofh) .ofh-page .v-news-meta{display:flex;flex-wrap:wrap;gap:0;margin:0 0 12px;color:var(--muted);font-size:15px}
body:not(#ofh) .ofh-page .v-news-meta>*+*::before{content:"·";margin:0 8px}
body:not(#ofh) .ofh-page .v-news-query .wp-block-post-excerpt__excerpt{margin:0 0 10px}
body:not(#ofh) .ofh-page .v-news-query .wp-block-post-excerpt__more-text{margin:0}
body:not(#ofh) .ofh-page .v-news-query .wp-block-post-excerpt__more-link{color:var(--accent);font-weight:600;text-decoration:underline;text-underline-offset:4px}
body:not(#ofh) .ofh-page .v-news-query .wp-block-query-pagination{gap:16px;margin-top:8px}

/* Live Gravity Forms: the plugin's own column styles leave name and address parts at half width; the design fills each column. */
body:not(#ofh) .ofh-page .v-form .ginput_complex>span{display:block;width:100%;max-width:none;padding:0;margin:0}
body:not(#ofh) .ofh-page .v-form :is(.gform_body,.gform_fields){margin:0;padding:0}

/* An invisible jump target kept before a cell's first heading (as in the design, where it keeps that heading's top spacing). */
body:not(#ofh) .ofh-page .v-anchor-holder{margin:0!important;height:0;line-height:0;overflow:hidden}

/* Images that sit directly in the text in the design (no figure) have no margin of their own. */
body:not(#ofh) .ofh-page figure.wp-block-image.v-img-plain{margin:0}

/* Where the design sizes images by CSS (card grids, the section photo, video stills), that beats the image's own width,
   as an HTML width attribute would. WordPress stores the width inline, so these need !important. */
body:not(#ofh) .ofh-page .v-grid--cards .v-cell img,body:not(#ofh) .ofh-page .v-intro-media img,body:not(#ofh) .ofh-page .x-video img{width:100%!important}

/* The breadcrumb has no margin of its own (the legacy stylesheet adds one to nav elements). */
body:not(#ofh) .ofh-page nav.v-breadcrumb{margin:0}

/* Image captions: no padding (the theme adds 16px). */
body:not(#ofh) .ofh-page figcaption{padding:0}

/* Headings: the site-wide design-system stylesheet tightens heading letter spacing; V5 pages use the design's own (normal unless a design rule sets it). */
body:not(#ofh) :where(.ofh-page) :is(h1,h2,h3,h4,h5,h6){letter-spacing:normal;overflow-wrap:normal}

/* Action rows (.actions) space their buttons 16px by 20px, as in the design. */
body:not(#ofh) .ofh-page .actions .wp-block-buttons{gap:16px 20px}
/* Buttons on the teal closing band are inverted, as in the design (!important to match the button rules above). */
body:not(#ofh) .ofh-page .x-cta .wp-block-button .wp-block-button__link{background:#fff!important;color:var(--accent)!important;border-color:#fff!important}
body:not(#ofh) .ofh-page .x-cta .wp-block-button.is-style-outline .wp-block-button__link{background:transparent!important;color:#fff!important;border-color:#fff!important}
body:not(#ofh) .ofh-page .x-cta .wp-block-button .wp-block-button__link:hover{background:var(--tint)!important;color:var(--accent-strong)!important}
body:not(#ofh) .ofh-page .x-cta .wp-block-button.is-style-outline .wp-block-button__link:hover{background:#fff!important;color:var(--accent)!important}
body:not(#ofh) .ofh-page .x-cta a:focus-visible{outline-color:#fff}

/* File downloads (File block): the file name, then a Download button on the same line, as in the design. */
body:not(#ofh) .ofh-page .wp-block-file{display:flex;flex-wrap:wrap;align-items:center;gap:12px 16px;margin:0;font-size:inherit}
body:not(#ofh) .ofh-page .wp-block-file .wp-block-file__button{display:inline-flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;margin:6px 0;padding:11px 18px;border:2px solid #016f70;border-radius:0;background:#016f70!important;color:#fff!important;font:600 16px/1.4 "Avenir Next","Segoe UI",Arial,sans-serif;text-decoration:none;opacity:1}
body:not(#ofh) .ofh-page .wp-block-file .wp-block-file__button::after{content:"";width:19px;height:19px;background:currentColor;-webkit-mask: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") center/19px 19px no-repeat;mask: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") center/19px 19px no-repeat}
body:not(#ofh) .ofh-page .wp-block-file .wp-block-file__button:hover{background:#00585a!important;border-color:#00585a}
body:not(#ofh) .ofh-page .wp-block-file.is-style-outline .wp-block-file__button{background:#fff!important;color:#016f70!important}
body:not(#ofh) .ofh-page .wp-block-file.is-style-outline .wp-block-file__button:hover{background:#016f70!important;color:#fff!important}

/* Buttons are never underlined (the design's body-text link rule excludes .button, which WordPress buttons do not carry). */
body:not(#ofh) .ofh-page :is(.wp-block-button__link,.wp-block-file__button){text-decoration:none!important}

/* Sample quizzes: each quiz on its own coloured band (colours from the live page), as on the live site. */
body:not(#ofh) .ofh-page .v-quiz{margin:0 0 24px;padding:clamp(32px,4vw,56px) clamp(12px,3vw,40px)}

/* Form errors: a compact alert in the body text style (not a page heading), and clear field-level messages.
   Error red #b3261e (6.2:1 on white, 5.6:1 on the form tint). */
body:not(#ofh) .ofh-page .v-gform .gform_validation_errors{margin:0 0 24px;padding:14px 18px;border:0;border-left:4px solid #b3261e;border-radius:0;background:#fff;box-shadow:none;text-align:left}
body:not(#ofh) .ofh-page .v-gform .gform_validation_errors>h2,body:not(#ofh) .ofh-page .v-gform .gform_submission_error{display:flex;align-items:flex-start;gap:10px;margin:0;padding:0;color:var(--ink);font:650 16px/1.5 var(--sans);letter-spacing:normal;text-align:left;max-width:none}
body:not(#ofh) .ofh-page .v-gform .gform_validation_errors .gform-icon{position:static;flex:none;margin:2px 0 0;color:#b3261e;font-size:18px;line-height:1;border:0;background:none}
body:not(#ofh) .ofh-page .v-gform .gfield_error :is(input:not([type=checkbox]):not([type=radio]),select,textarea){border-color:#b3261e;box-shadow:inset 0 0 0 1px #b3261e}
body:not(#ofh) .ofh-page .v-gform .gfield_error .gfield_label{color:var(--ink)}
body:not(#ofh) .ofh-page .v-gform :is(.gfield_validation_message,.validation_message){margin:8px 0 0;padding:0;border:0;background:none;color:#b3261e;font:600 15px/1.5 var(--sans)}

/* Multi-page forms (the donation form). The legacy Crate stylesheet and the Gravity Forms / Multi-Page Navigation styles
   draw the current step as a dark box, a finished step as a grey box with a check, stack the choice buttons full width,
   round the buttons and blow the AJAX loader up to 128px. These rules restore the design's step bar, choice buttons and
   square buttons. !important only where Crate or Gravity Forms use it. */
body:not(#ofh) .ofh-page .v-gform .gf_page_steps{display:flex;gap:8px;margin:0 0 28px;padding:0;border:0}
body:not(#ofh) .ofh-page .v-gform .gf_page_steps .gf_step{flex:1 1 0;display:flex;align-items:center;justify-content:flex-start;gap:10px;min-width:0;margin:0!important;height:auto!important;padding:0 0 12px;border-bottom:3px solid var(--line);opacity:1;white-space:normal;color:var(--muted);font:600 15px/1.3 var(--sans)}
body:not(#ofh) .ofh-page .v-gform .gf_page_steps .gf_step .gf_step_number{position:static;display:grid!important;place-items:center;flex:none;width:32px;height:32px;margin:0;padding:0;border:2px solid currentColor;border-radius:50%;background:none;color:inherit;font:600 14px/1 var(--sans)}
body:not(#ofh) .ofh-page .v-gform .gf_page_steps .gf_step .gf_step_number::before,body:not(#ofh) .ofh-page .v-gform .gf_page_steps .gf_step .gf_step_number::after{content:none;display:none}
body:not(#ofh) .ofh-page .v-gform .gf_page_steps .gf_step .gf_step_label{flex:0 1 auto;margin:0;padding:0!important;height:auto;background:none!important;color:inherit!important;font:inherit;text-align:left;text-decoration:none}
body:not(#ofh) .ofh-page .v-gform .gf_page_steps .gf_step.gf_step_active{color:var(--accent);border-bottom-color:var(--accent)}
body:not(#ofh) .ofh-page .v-gform .gf_page_steps .gf_step.gf_step_active .gf_step_number{background:var(--accent);border-color:var(--accent);color:#fff}
body:not(#ofh) .ofh-page .v-gform .gf_page_steps .gf_step.gf_step_completed{color:var(--ink);border-bottom-color:var(--accent)}
body:not(#ofh) .ofh-page .v-gform .gf_page_steps .gf_step.gf_step_completed .gf_step_number{border-color:var(--accent);background:none;color:var(--accent)}
/* A finished step links back to its page (Multi-Page Navigation): same look, underline on hover, focus ring. */
body:not(#ofh) .ofh-page .v-gform .gf_page_steps .gf_step a{display:flex;align-items:center;gap:10px;min-width:0;margin:0;padding:0!important;border:0;background:none!important;color:inherit!important;text-decoration:none}
body:not(#ofh) .ofh-page .v-gform .gf_page_steps .gf_step a:hover .gf_step_label{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:4px}
body:not(#ofh) .ofh-page .v-gform .gf_page_steps .gf_step a:hover .gf_step_number{background:var(--accent);color:#fff}
body:not(#ofh) .ofh-page .v-gform .gf_page_steps .gf_step a:focus-visible{outline:3px solid var(--plum);outline-offset:3px}
@media(max-width:600px){
body:not(#ofh) .ofh-page .v-gform .gf_page_steps .gf_step{justify-content:center}
body:not(#ofh) .ofh-page .v-gform .gf_page_steps .gf_step .gf_step_label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
body:not(#ofh) .ofh-page .v-gform .gf_page_steps .gf_step.gf_step_active .gf_step_label{position:static;width:auto;height:auto;overflow:visible;clip:auto;white-space:normal}
}
/* Choice buttons (amount, Yes/No) sit in a row and wrap, as in the design. */
body:not(#ofh) .ofh-page .v-gform .gfield_radio{display:flex!important;flex-wrap:wrap;gap:10px;grid-template-columns:none;place-content:normal;place-items:normal;justify-content:flex-start;align-items:stretch;text-align:left}
body:not(#ofh) .ofh-page .v-gform .gfield_radio .gchoice{flex:none;width:auto;max-width:none;margin:0}
body:not(#ofh) .ofh-page .v-gform .gfield_radio label{width:auto;max-width:none;border-radius:0;background:#fff;color:var(--ink);border-color:#617579}
body:not(#ofh) .ofh-page .v-gform .gfield_radio label:hover{background:#fff;border-color:var(--accent);color:var(--accent)}
body:not(#ofh) .ofh-page .v-gform .gfield_radio input:checked+label{background:var(--accent);border-color:var(--accent);color:#fff}
/* Page buttons: the style guide's square primary button; Back is the outline button. */
body:not(#ofh) .ofh-page .v-gform :is(.gform_page_footer,.gform_footer){display:flex;flex-wrap:wrap;align-items:center;gap:12px;justify-content:space-between;margin:8px 0 0;padding:20px 0 0;border-top:1px solid var(--line)}
body:not(#ofh) .ofh-page .v-gform :is(.gform_page_footer,.gform_footer) .button{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:12px;width:auto;min-height:48px;margin:0;padding:11px 18px;border:2px solid #016f70;border-radius:0;background:#016f70!important;color:#fff!important;font:600 16px/1.4 var(--sans);text-transform:none;letter-spacing:normal;box-shadow:none;cursor:pointer}
body:not(#ofh) .ofh-page .v-gform :is(.gform_page_footer,.gform_footer) .button:hover{background:#00585a!important;border-color:#00585a;color:#fff!important}
body:not(#ofh) .ofh-page .v-gform :is(.gform_page_footer,.gform_footer) .button:active{background:#004446!important;border-color:#004446;transform:translateY(1px)}
body:not(#ofh) .ofh-page .v-gform :is(.gform_page_footer,.gform_footer) .button:focus-visible{outline:3px solid #932478;outline-offset:4px}
body:not(#ofh) .ofh-page .v-gform :is(.gform_page_footer,.gform_footer) .gform_previous_button{background:#fff!important;color:#016f70!important;border-color:#016f70}
body:not(#ofh) .ofh-page .v-gform :is(.gform_page_footer,.gform_footer) .gform_previous_button:hover{background:#016f70!important;color:#fff!important;border-color:#016f70}
body:not(#ofh) .ofh-page .v-gform :is(.gform_page_footer,.gform_footer) :is(.gform_next_button,.gform_button){margin-left:auto}
/* The loader Gravity Forms puts inside the button after Next / Donate: a small white ring beside the label. */
body:not(#ofh) .ofh-page .v-gform .gform-loader{position:static!important;inset:auto;display:inline-block;flex:none;align-self:center;width:18px!important;height:18px!important;inline-size:18px!important;block-size:18px!important;margin:0!important;padding:0;border:2.5px solid rgba(255,255,255,.4)!important;border-top-color:#fff!important;border-radius:50%;background:none;font-size:0;transform:none;animation:ofds-form-spin .8s linear infinite!important}
body:not(#ofh) .ofh-page .v-gform .gform_previous_button .gform-loader{border-color:rgba(1,111,112,.3)!important;border-top-color:#016f70!important}
body:not(#ofh) .ofh-page .v-gform img.gform_ajax_spinner{position:static;display:inline-block;width:18px;height:18px;margin:0 0 0 12px;vertical-align:middle}
@keyframes ofds-form-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){body:not(#ofh) .ofh-page .v-gform .gform-loader{animation:ofds-form-spin 2s linear infinite!important}}

/* Quiz bands: the live page's navy / cyan / orange fills made the quiz progress line unreadable. Every band uses the
   design's tint instead (!important: the fill is an inline style on each band). They used to alternate tint and white,
   which read as a mistake (editor question, 19 Nov 2026). */
body:not(#ofh) .ofh-page .v-quiz{background:#ecf5f4!important}

/* People pages (Meet Our Board, Meet Our Team; blocks from people_pages.py). One profile pattern: a fixed-size photo with
   the same crop for everyone, then role label (16px semibold teal), name, affiliation and place (15px muted) and the
   bio at the 18px / 1.7 body size and a ~72 character measure. Long bios show their first paragraph; the rest opens
   from "More about <name>" (the design's bio disclosure). Directors have no bios, so they are a grid of photo cards. */
body:not(#ofh) .ofh-page .v-people-intro{display:grid;justify-items:start;gap:20px;margin:0}
body:not(#ofh) .ofh-page .v-people-intro .lead{max-width:72ch;margin:0}
body:not(#ofh) .ofh-page .v-people-intro .wp-block-buttons{padding:0}
body:not(#ofh) .ofh-page .v-people-intro .is-style-jump-links{width:100%;margin:4px 0 0}
body:not(#ofh) .ofh-page .v-people-heading{margin:clamp(48px,6vw,72px) 0 8px;scroll-margin-top:24px}
body:not(#ofh) .ofh-page .v-people{display:grid;margin:0}
body:not(#ofh) .ofh-page .v-people-intro+.v-people{margin-top:clamp(32px,4vw,48px)}
body:not(#ofh) .ofh-page .v-person{min-width:0;margin:0}
body:not(#ofh) .ofh-page .v-person .v-person__photo{width:100%;max-width:none;margin:0!important}
body:not(#ofh) .ofh-page .v-person .v-person__photo img{display:block;width:100%!important;max-width:none;height:auto!important;aspect-ratio:4/5;object-fit:cover;object-position:50% 22%;background:var(--tint)}
body:not(#ofh) .ofh-page .v-person .v-person__role{margin:0 0 6px;color:var(--accent);font:600 16px/1.4 var(--sans)}
body:not(#ofh) .ofh-page .v-person .v-person__name{max-width:none;margin:0 0 6px;color:var(--ink);font:400 clamp(24px,2.1vw,30px)/1.2 var(--display)}
body:not(#ofh) .ofh-page .v-person .v-person__meta{margin:0 0 16px;color:var(--muted);font:400 15px/1.5 var(--sans)}
/* Profiles: photo beside the text, a rule between people. */
body:not(#ofh) .ofh-page .v-person--profile{display:grid;grid-template-columns:clamp(140px,17vw,200px) minmax(0,1fr);gap:clamp(20px,3vw,40px);align-items:start;padding:clamp(28px,3vw,40px) 0;border-top:1px solid var(--line)}
body:not(#ofh) .ofh-page .v-people--profiles>.v-person--profile:last-child{border-bottom:1px solid var(--line)}
body:not(#ofh) .ofh-page .v-person--profile.v-person--no-photo{grid-template-columns:minmax(0,1fr)}
body:not(#ofh) .ofh-page .v-person__body{min-width:0;max-width:72ch}
body:not(#ofh) .ofh-page .v-person__body>p:not([class*="v-person__"]),body:not(#ofh) .ofh-page .v-person__more p{max-width:72ch;margin:0 0 16px;color:var(--ink);font-size:18px;line-height:1.7}
body:not(#ofh) .ofh-page .v-prose .v-person details.v-person__more,body:not(#ofh) .ofh-page .v-person details.v-person__more{max-width:none;margin:0;padding:0;border:0}
body:not(#ofh) .ofh-page .v-prose .v-person details.v-person__more>summary,body:not(#ofh) .ofh-page .v-person details.v-person__more>summary{position:relative;display:inline-flex;align-items:center;min-height:44px;margin:0;padding:8px 32px 8px 0;list-style:none;cursor:pointer;color:var(--accent);font:600 16px/1.4 var(--sans)}
body:not(#ofh) .ofh-page .v-person details.v-person__more>summary::-webkit-details-marker{display:none}
body:not(#ofh) .ofh-page .v-prose .v-person details.v-person__more>summary::after,body:not(#ofh) .ofh-page .v-person details.v-person__more>summary::after{content:"+";position:absolute;right:6px;top:50%;transform:translateY(-52%);font-size:24px;font-weight:400;line-height:1;color:var(--accent)}
body:not(#ofh) .ofh-page .v-prose .v-person details.v-person__more[open]>summary::after,body:not(#ofh) .ofh-page .v-person details.v-person__more[open]>summary::after{content:"\2013"}
body:not(#ofh) .ofh-page .v-person details.v-person__more>summary:hover{color:var(--plum-strong,#761c60);text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:4px}
body:not(#ofh) .ofh-page .v-person details.v-person__more>summary:hover::after{color:var(--plum-strong,#761c60)}
body:not(#ofh) .ofh-page .v-person details.v-person__more[open]>summary{margin-bottom:8px}
body:not(#ofh) .ofh-page .v-person details.v-person__more>:not(summary){padding:0}
/* Directors: photo cards, four or five across on wide screens, two on phones. */
body:not(#ofh) .ofh-page .v-people--grid{grid-template-columns:repeat(auto-fill,minmax(176px,1fr));gap:40px 24px;padding-top:24px;border-top:1px solid var(--line)}
body:not(#ofh) .ofh-page .v-person--card .v-person__photo{margin:0 0 14px!important}
body:not(#ofh) .ofh-page .v-person--card .v-person__name{margin:0 0 6px;font-size:20px;line-height:1.25}
body:not(#ofh) .ofh-page .v-person--card .v-person__affil{margin:0 0 4px;color:var(--ink);font:400 16px/1.45 var(--sans)}
body:not(#ofh) .ofh-page .v-person--card .v-person__meta{margin:0}
body:not(#ofh) .ofh-page .v-person--card.v-person--no-photo{padding-top:16px;border-top:3px solid var(--accent)}
@media(max-width:600px){
body:not(#ofh) .ofh-page .v-person--profile{grid-template-columns:minmax(0,1fr);gap:16px}
body:not(#ofh) .ofh-page .v-person--profile .v-person__photo{max-width:160px}
body:not(#ofh) .ofh-page .v-people--grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:32px 16px}
body:not(#ofh) .ofh-page .v-person--card .v-person__name{font-size:18px}
}
/* People sections use the full content width (the bios inside keep the ~72 character measure). */
body:not(#ofh) .ofh-page .v-prose :is(.v-people,.v-people-heading,.v-people-intro){max-width:none}
body:not(#ofh) .ofh-page .v-people-intro ul.is-style-jump-links{padding:14px 16px!important}
/* The design's lighter .v-person pattern (Faculty Development) caps width and rules every person; inside .v-people the
   profile and card rules above apply instead. */
body:not(#ofh) .ofh-page .v-prose .v-people .v-person{max-width:none}
body:not(#ofh) .ofh-page .v-prose .v-people .v-person--card{padding:0;border-top:0}
body:not(#ofh) .ofh-page .v-prose .v-people .v-person--card.v-person--no-photo{padding-top:16px;border-top:3px solid var(--accent)}
body:not(#ofh) .ofh-page .v-prose .v-people .v-person--profile{padding:clamp(28px,3vw,40px) 0;border-top:1px solid var(--line)}

/* Headings re-levelled for screen readers (convert_pages.py: the live pages skip levels) keep the look of their
   original level: v-as-h3 looks like an H3, v-as-h4 / v-as-h5 like an H4. Same values as the design's .v-prose rules. */
body:not(#ofh) .ofh-page .v-prose :is(h2,h3,h4).v-as-h3{font:400 clamp(23px,2vw,28px)/1.25 var(--display);margin:1.4em 0 .5em;letter-spacing:-.025em}
body:not(#ofh) .ofh-page .v-prose :is(h2,h3,h4).v-as-h4,body:not(#ofh) .ofh-page .v-prose :is(h2,h3,h4).v-as-h5{font:650 19px/1.4 var(--sans);margin:1.3em 0 .4em;letter-spacing:normal}
body:not(#ofh) .ofh-page .v-prose :is(h2,h3,h4):is(.v-as-h3,.v-as-h4,.v-as-h5):first-child{margin-top:0}
body:not(#ofh) .ofh-page .v-prose .v-person :is(h2,h3,h4).v-as-h4{margin:0 0 2px}

/* Page not found (inc/not-found.php): site search with the style guide's input and primary button. */
body:not(#ofh) .ofh-page .v-search{max-width:640px;margin:28px 0 0}
body:not(#ofh) .ofh-page .v-search label{display:block;margin:0 0 8px;color:var(--ink);font:650 16px/1.4 var(--sans)}
body:not(#ofh) .ofh-page .v-search-row{display:flex;flex-wrap:wrap;gap:12px}
body:not(#ofh) .ofh-page .v-search input[type=search]{flex:1 1 240px;min-width:0;min-height:48px;margin:0;padding:10px 12px;border:1px solid #617579;border-radius:0;background:#fff;color:var(--ink);font:400 16px/1.4 var(--sans);box-shadow:none}
body:not(#ofh) .ofh-page .v-search input[type=search]:focus-visible{outline:3px solid #932478;outline-offset:2px}
body:not(#ofh) .ofh-page .v-search .button{display:inline-flex;align-items:center;justify-content:center;min-height:48px;margin:0;padding:11px 18px;border:2px solid #016f70;border-radius:0;background:#016f70!important;color:#fff!important;font:600 16px/1.4 var(--sans);cursor:pointer}
body:not(#ofh) .ofh-page .v-search .button:hover{background:#00585a!important;border-color:#00585a}
body:not(#ofh) .ofh-page .v-search .button:active{background:#004446!important;border-color:#004446;transform:translateY(1px)}
body:not(#ofh) .ofh-page .v-search .button:focus-visible{outline:3px solid #932478;outline-offset:4px}

/* Phones: breadcrumb links get a 44px tap area without moving (test plan G9). */
@media (max-width:600px){
body:not(#ofh) .ofh-page nav.v-breadcrumb a{display:inline-block;padding-block:12px;margin-block:-12px}
}

/* Long button labels wrap instead of pushing the column past the screen edge on phones (test plan G10, A6); intro
   columns may shrink below their longest word. */
body:not(#ofh) .ofh-page .wp-block-button .wp-block-button__link{max-width:100%;white-space:normal;overflow-wrap:anywhere}
body:not(#ofh) .ofh-page .v-intro-row>*{min-width:0}

/* Side menu: child pages of the current branch (e.g. Subspecialty examinations > Glaucoma, Retina) */
body:not(#ofh) .ofh-page .v-subnav .v-subnav-sub{margin:0 0 4px 12px}
body:not(#ofh) .ofh-page .v-subnav .v-subnav-sub li a{padding:5px 0 5px 12px;font-size:14px}
body:not(#ofh) .ofh-page .v-subnav li a.is-ancestor{border-left-color:var(--line,#cfdbd8);color:var(--accent);font-weight:650}
/* Phones and tablets: every side menu link is a 44px tap target (test plan G9). */
@media(max-width:960px){body:not(#ofh) .ofh-page .v-subnav li a{display:flex;align-items:center;min-height:44px;padding-top:4px;padding-bottom:4px;box-sizing:border-box}}
/* Form labels: the field label names the question (bold, 16px, above); a sub-label names one box inside it
   (e.g. "Card details", "Cardholder name"): regular weight, 14px, muted, directly above its box. */
body:not(#ofh) .ofh-page .v-gform .gform-field-label--type-sub{display:block;margin:0 0 6px;padding:0;font:400 14px/1.4 var(--sans);color:var(--muted);letter-spacing:0;text-transform:none}
body:not(#ofh) .ofh-page .v-gform .ginput_stripe_creditcard .StripeElement{margin:0}
/* Side menu items with child pages: the link plus a chevron button (same chevron and states as the header menu). */
body:not(#ofh) .ofh-page .v-subnav .v-subnav-row{display:flex;align-items:stretch}
body:not(#ofh) .ofh-page .v-subnav .v-subnav-row>a{flex:1 1 auto;min-width:0}
body:not(#ofh) .ofh-page .v-subnav .v-subnav-toggle{display:grid;place-items:center;flex:none;width:36px;min-height:34px;margin:0;padding:0;border:0;background:transparent;color:var(--ink);cursor:pointer}
body:not(#ofh) .ofh-page .v-subnav .v-subnav-toggle svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;transition:transform .15s ease}
body:not(#ofh) .ofh-page .v-subnav .v-subnav-toggle[aria-expanded=true] svg{transform:rotate(180deg)}
body:not(#ofh) .ofh-page .v-subnav .v-subnav-toggle:hover{color:var(--plum)}
body:not(#ofh) .ofh-page .v-subnav .v-subnav-toggle:focus-visible{outline:3px solid var(--plum);outline-offset:-3px}
body:not(#ofh) .ofh-page .v-subnav .v-subnav-sub[hidden]{display:none}
@media(max-width:960px){body:not(#ofh) .ofh-page .v-subnav .v-subnav-toggle{width:44px;min-height:44px}}
@media(prefers-reduced-motion:reduce){body:not(#ofh) .ofh-page .v-subnav .v-subnav-toggle svg{transition:none}}
/* Multi-box fields (address, name): no Gravity Forms grid-row side margins, so their boxes line up with single boxes. */
body:not(#ofh) .ofh-page .v-form .ginput_complex{margin-left:0;margin-right:0;width:auto}
/* Thank-you message after a gift (Gravity Forms confirmation; markup set by wordpress/donation-messages.php). */
body:not(#ofh) .ofh-page .v-gform .gform_confirmation_message{margin:0;padding:0;color:var(--ink);font:400 17px/1.6 var(--sans)}
body:not(#ofh) .ofh-page .v-gform .ofds-thanks>*{max-width:62ch}
body:not(#ofh) .ofh-page .v-gform .ofds-thanks h2{margin:0 0 12px;font:400 32px/1.2 var(--display);color:var(--ink);letter-spacing:normal;text-transform:none}
body:not(#ofh) .ofh-page .v-gform .ofds-thanks p{margin:0 0 14px}
body:not(#ofh) .ofh-page .v-gform .ofds-thanks .ofds-thanks-lead{font-size:19px}
body:not(#ofh) .ofh-page .v-gform .ofds-thanks dl{display:grid;grid-template-columns:max-content minmax(0,1fr);gap:8px 20px;margin:20px 0;padding:16px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);font-size:16px}
body:not(#ofh) .ofh-page .v-gform .ofds-thanks dt{margin:0;color:var(--muted);font-weight:400}
body:not(#ofh) .ofh-page .v-gform .ofds-thanks dd{margin:0;font-weight:600;overflow-wrap:anywhere}
body:not(#ofh) .ofh-page .v-gform .ofds-thanks a{color:var(--accent);text-decoration:underline;text-underline-offset:3px}
@media(max-width:600px){body:not(#ofh) .ofh-page .v-gform .ofds-thanks h2{font-size:26px}body:not(#ofh) .ofh-page .v-gform .ofds-thanks dl{grid-template-columns:minmax(0,1fr);gap:2px}body:not(#ofh) .ofh-page .v-gform .ofds-thanks dd{margin-bottom:10px}}
/* Side menu groups (hub or heading) open and close like pages with child pages; a heading group is one button. */
body:not(#ofh) .ofh-page .v-subnav .v-subnav-toggle.v-subnav-head{flex:1 1 auto;width:auto;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:7px 10px 7px 12px;border-left:3px solid transparent;font:inherit;line-height:1.35;text-align:left}
body:not(#ofh) .ofh-page .v-subnav .v-subnav-toggle.v-subnav-head svg{flex:none}
body:not(#ofh) .ofh-page .v-subnav .v-subnav-toggle.v-subnav-head:hover span{text-decoration:underline;text-underline-offset:4px}
body:not(#ofh) .ofh-page .v-subnav .v-subnav-head.is-ancestor{border-left-color:var(--line,#cfdbd8);color:var(--accent);font-weight:650}
body:not(#ofh) .ofh-page .v-subnav .v-subnav-grp+.v-subnav-grp{margin-top:2px}
@media(max-width:960px){body:not(#ofh) .ofh-page .v-subnav .v-subnav-toggle.v-subnav-head{width:auto;min-height:44px;padding-right:14px}}
body:not(#ofh) .ofh-page .v-gform .ofds-pay-alert{margin:0 0 20px;padding:14px 18px;border-left:4px solid #b3261e;background:#fbebeb;color:var(--ink);font:400 16px/1.5 var(--sans)}body:not(#ofh) .ofh-page .v-gform .ofds-pay-alert p{margin:0 0 6px}body:not(#ofh) .ofh-page .v-gform .ofds-pay-alert p:last-child{margin:0}body:not(#ofh) .ofh-page .v-gform .ofds-pay-alert__head{font-weight:650;color:#b3261e}body:not(#ofh) .ofh-page .v-gform .ofds-pay-alert:focus{outline:2px solid #b3261e;outline-offset:2px}body:not(#ofh) .ofh-page .v-gform .ofds-payment-declined{display:none}
/* Safari: Gravity Forms makes a button's text transparent while its spinner shows (-webkit-text-fill-color, Safari only),
   so iPhone donors saw a blank button instead of "Processing payment...". Our spinner sits beside the text, so keep it. */
body:not(#ofh) .ofh-page .v-gform .button.gform-has-spinner{-webkit-text-fill-color:currentColor!important}
/* The thank-you message is scrolled to the top of the screen after a gift; leave a little space above it. */
body:not(#ofh) .ofh-page .v-gform .gform_confirmation_wrapper{scroll-margin-top:24px}
body:not(#ofh) .ofh-page .v-gform .gform_confirmation_wrapper :is(h1,h2,h3):focus:not(:focus-visible){outline:none}

/* 3- and 4-column grids (Foundation review, 17 Nov 2026; punchlist 6-7). The base .v-grid fits as many 240px columns
   as it can, so beside the side menu at about 1440px a 4-column grid fell to 3 + 1 (Donors, Exam partners, Faculty
   Development). The column count now follows the block's setting: 4 (or 3) across, then 2 x 2, then 1; never 3 + 1.
   Five or six cards sit balanced instead of leaving one alone on a row. */
body:not(#ofh) .ofh-page .v-grid--4{grid-template-columns:repeat(4,minmax(0,1fr));gap:28px 24px}
body:not(#ofh) .ofh-page .v-grid--3{grid-template-columns:repeat(3,minmax(0,1fr));gap:28px 24px}
@media (min-width:1280px){
body:not(#ofh) .ofh-page .v-grid--4:has(>:nth-child(5):last-child){grid-template-columns:repeat(5,minmax(0,1fr));gap:28px 20px}
}
@media (min-width:1101px) and (max-width:1279px){
body:not(#ofh) .ofh-page .v-grid--4:has(>:nth-child(5):last-child){grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (min-width:1101px){
body:not(#ofh) .ofh-page .v-grid--4:has(>:nth-child(6):last-child){grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:1100px){
body:not(#ofh) .ofh-page .v-grid--4{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:760px){
body:not(#ofh) .ofh-page .v-grid--3{grid-template-columns:minmax(0,1fr)}
}
@media (max-width:520px){
body:not(#ofh) .ofh-page .v-grid--4{grid-template-columns:minmax(0,1fr)}
}

/* Logo wall (Gallery block, "Logos" style; About › Partners and Membership): laid out like the Our donors cards, so
   the two pages match. Each logo is scaled to fit a white square inside a tinted card, 4 across, then 2, then 1, on the
   same breakpoints as .v-grid--4. The grid doesn't rely on the Gallery's own flex layout, which wasn't applied (the
   logos stacked in one column). Foundation review, 17 Nov 2026; punchlist 10; partner logos like donors, 18 Nov. */
body:not(#ofh) .ofh-page .wp-block-gallery.is-style-logos{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:28px 24px;margin:1.2em 0 2em;padding:0}
body:not(#ofh) .ofh-page .wp-block-gallery.is-style-logos .wp-block-image{display:block!important;width:auto!important;max-width:none;height:auto;margin:0!important;padding:24px;background:var(--tint);border:0}
body:not(#ofh) .ofh-page .wp-block-gallery.is-style-logos .wp-block-image img{display:block;width:100%!important;max-width:100%;height:auto!important;max-height:none;aspect-ratio:1/1;padding:9%;object-fit:contain!important;background:#fff;box-sizing:border-box}
@media (max-width:1100px){body:not(#ofh) .ofh-page .wp-block-gallery.is-style-logos{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:520px){body:not(#ofh) .ofh-page .wp-block-gallery.is-style-logos{grid-template-columns:minmax(0,1fr)}}

/* People cards from photos of any shape (Passing Candidates): the same square crop for everyone, faces kept in
   frame. Foundation review, 17 Nov 2026; punchlist 12. */
body:not(#ofh) .ofh-page .v-grid--people .v-cell img{display:block;width:100%!important;height:auto!important;aspect-ratio:1/1;object-fit:cover;object-position:50% 25%;background:var(--tint)}
body:not(#ofh) .ofh-page .v-grid--people .v-cell :is(p,.wp-block-paragraph){margin:0 0 4px;font-size:15px;line-height:1.45}
body:not(#ofh) .ofh-page .v-grid--people .v-cell figure{margin:0 0 12px}

/* Newsletter sign-up (Mailchimp embed): the embed's own CSS sized the fields wider than their column, so beside the
   side menu at about 1440px the form ran off the page. Fields now fill the column, in V5 type. Style only; the Mailchimp
   form is unchanged. Foundation review, 17 Nov 2026; punchlist 11.
   Columns (18 Nov): the form and the committee text sit side by side whenever each gets at least 300px, and stack
   (form first) when they can't. Beside the side menu that's 1100px and wider; with the menu above, about 720-960px;
   phones get one column. Two columns at most. */
body:not(#ofh) .ofh-page .v-grid--2:has(#mc_embed_shell){grid-template-columns:repeat(auto-fit,minmax(min(100%,max(300px,calc(50% - 20px))),1fr))}
body:not(#ofh) .ofh-page #mc_embed_shell,body:not(#ofh) .ofh-page #mc_embed_signup{width:auto!important;max-width:100%;min-width:0;margin:0;padding:0;background:none;font:400 16px/1.5 var(--sans);color:var(--ink)}
body:not(#ofh) .ofh-page #mc_embed_signup :is(*,*::before,*::after){box-sizing:border-box}
body:not(#ofh) .ofh-page #mc_embed_signup form{margin:0;padding:0}
body:not(#ofh) .ofh-page #mc_embed_signup h2{margin:0 0 12px;font:400 clamp(28px,2.6vw,36px)/1.15 var(--display);color:var(--ink)}
body:not(#ofh) .ofh-page #mc_embed_signup .mc-field-group{width:100%!important;min-height:0;padding:0 0 16px;margin:0}
body:not(#ofh) .ofh-page #mc_embed_signup .mc-field-group label,body:not(#ofh) .ofh-page #mc_embed_signup .indicates-required{display:block;margin:0 0 6px;font:600 15px/1.4 var(--sans);color:var(--ink)}
body:not(#ofh) .ofh-page #mc_embed_signup :is(input[type=email],input[type=text],select,textarea){display:block;width:100%!important;max-width:100%;min-height:44px;padding:10px 12px;font:400 16px/1.4 var(--sans);color:var(--ink);background:#fff;border:1px solid var(--line);border-radius:0}
body:not(#ofh) .ofh-page #mc_embed_signup :is(input[type=email],input[type=text],select,textarea):focus-visible{outline:3px solid var(--accent);outline-offset:1px}
body:not(#ofh) .ofh-page #mc_embed_signup :is(ul,li){margin:0;padding:0;list-style:none}
body:not(#ofh) .ofh-page #mc_embed_signup li::before{content:none}
body:not(#ofh) .ofh-page #mc_embed_signup li label{display:flex;align-items:flex-start;gap:10px;margin:0 0 8px;font:400 15px/1.45 var(--sans);overflow-wrap:anywhere}
body:not(#ofh) .ofh-page #mc_embed_signup :is(input[type=checkbox],input[type=radio]){flex:none;width:20px;height:20px;margin:2px 0 0}
body:not(#ofh) .ofh-page #mc_embed_signup .clear{width:auto;float:none}
/* Mailchimp puts each checkbox/radio beside its label (input, then label), not inside it, so the boxes sat above their
   words. Each option is now one row: box, then words, aligned to the first line. 18 Nov 2026. */
body:not(#ofh) .ofh-page #mc_embed_signup .input-group>strong{display:block;margin:0 0 10px;font:600 15px/1.4 var(--sans);color:var(--ink)}
body:not(#ofh) .ofh-page #mc_embed_signup .input-group li{display:flex;align-items:flex-start;gap:10px;margin:0 0 10px}
body:not(#ofh) .ofh-page #mc_embed_signup .input-group li label{display:block;flex:1 1 auto;min-width:0;margin:0;font:400 15px/1.45 var(--sans);color:var(--ink);cursor:pointer}
body:not(#ofh) .ofh-page #mc_embed_signup .input-group li :is(input[type=checkbox],input[type=radio]){margin:1px 0 0;cursor:pointer;accent-color:var(--accent)}

/* Testimonial Pro views (Candidate experiences): the plugin's own cards, layout and "Read more" pop-up, as on live, in
   V5 type and colours. Foundation review, 17 Nov 2026; punchlist 13. */
body:not(#ofh) .ofh-page .sp-testimonial-pro-section-title{margin:1.6em 0 .6em!important;font:400 clamp(28px,2.6vw,36px)/1.15 var(--display)!important;color:var(--ink)!important;text-align:start!important;text-transform:none!important}
body:not(#ofh) .ofh-page :is(.sp-testimonial-pro-item,.sp-tpro-modal-testimonial) :is(.sp-tpro-testimonial-title,.sp-tpro-testimonial-title *){font:600 20px/1.3 var(--sans)!important;color:var(--ink)!important;text-transform:none!important}
body:not(#ofh) .ofh-page :is(.sp-testimonial-pro-item,.sp-tpro-modal-testimonial) :is(.tpro-testimonial-content,.tpro-testimonial-content p){font:400 17px/1.6 var(--sans)!important;color:var(--ink)!important}
body:not(#ofh) .ofh-page :is(.sp-testimonial-pro-item,.sp-tpro-modal-testimonial) .tpro-client-name{font:600 17px/1.4 var(--sans)!important;color:var(--accent)!important;text-transform:none!important}
body:not(#ofh) .ofh-page :is(.sp-testimonial-pro-item,.sp-tpro-modal-testimonial) :is(.tpro-client-designation,.tpro-client-company-name,.tpro-client-location){font:400 15px/1.45 var(--sans)!important;color:var(--muted)!important}
body:not(#ofh) .ofh-page .sp-testimonial-pro-item :is(.tpro-read-more,a.tpro-read-more,.sp-tpro-read-more){font:600 16px/1.4 var(--sans)!important;color:var(--accent)!important;text-decoration:underline;text-underline-offset:3px}

/* Follow-up from the staging check (18 Nov 2026): Testimonial Pro views keep the full content width (the 72ch reading
   measure squeezed 3 cards into about 700px); live shows them about 380px wide. */
body:not(#ofh) .ofh-page .v-prose>:is(.wp-block-sp-testimonial-pro-shortcode,div:has(>.sp-testimonial-pro-wrapper),.sp-testimonial-pro-wrapper){max-width:none}
/* Testimonial carousel arrows (live, 19 Nov 2026): clicks did nothing. Testimonial Pro's swiper.min.css (Swiper 11) nests
   the disabled-arrow styles inside the arrow rule (&.swiper-button-disabled{cursor:auto;pointer-events:none}).
   Perfmatters' "Remove unused CSS" doesn't understand CSS nesting and flattened them onto every arrow, so the arrows
   ignored the mouse. Enabled arrows get their pointer back; an arrow at the first or last card stays inactive. Arrows
   use the site teal on hover instead of the plugin's default blue. */
body:not(#ofh) .sp-testimonial-pro-wrapper :is(.swiper-button-prev,.swiper-button-next):not(.swiper-button-disabled){pointer-events:auto;cursor:pointer}
body:not(#ofh) .sp-testimonial-pro-wrapper .tpro-arrow:not(.swiper-button-disabled):is(:hover,:focus-visible){background:#016f70!important;border-color:#016f70!important;color:#fff!important}
body:not(#ofh) .sp-testimonial-pro-wrapper .tpro-arrow:focus-visible{outline:3px solid #932478;outline-offset:2px}

/* Editor questions, 19 Nov 2026 (plugin 0.4.69). */
/* Testimonial Pro photos sit centred in their card, as on the old site. The page stylesheet makes images block-level,
   so the plugin's text-align:center no longer moved them; auto side margins do. */
body:not(#ofh) .ofh-page .tpro-client-image img{margin-inline:auto}
/* The same for a photo made narrower than its column (Image › Width) and set to Align › Center: it sits centred over
   its caption. */
body:not(#ofh) .ofh-page .wp-block-image.aligncenter img{margin-inline:auto}
/* Card photos are cropped to 4:3. Crop from the upper part of the photo so heads stay in frame (headshots in Person
   cards were losing the tops of heads with a centred crop). */
body:not(#ofh) .ofh-page .v-grid--cards:not(.v-grid--people) .v-cell img{object-position:50% 8%}
/* Group style "Line above": the teal rule that cards have, on any row (for example between webinars). */
body:not(#ofh) .ofh-page .wp-block-group.is-style-rule-above{border-top:3px solid var(--accent);padding-top:18px}
body:not(#ofh) .ofh-page .v-prose>.wp-block-group.is-style-rule-above{margin-top:2.4em}
