/*
Theme Name: Osprey Accounting
Theme URI: https://ospreyaccountingsolutions.com/
Author: Osprey Accounting & Financial Solutions PLLC
Description: Custom block theme for Osprey Accounting & Financial Solutions. Charcoal #333333, Osprey blue #2966CC and gray #BFBFBF on white. After activating, open Appearance → Osprey Setup.
Requires at least: 6.4
Requires PHP: 7.4
Version: 1.6.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: osprey
*/

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { -webkit-font-smoothing: antialiased; }
h1, h2, h3 { text-wrap: balance; margin: 0; }
p, ul { margin: 0; }
img { max-width: 100%; height: auto; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
	outline: 3px solid #2966CC; outline-offset: 2px;
}
:where(.os-main) { display: block; }
.wp-site-blocks > * { margin-block-start: 0; }
.wp-site-blocks > * + * { margin-block-start: 0; }

/* Every Osprey container manages its own spacing; neutralise WordPress's flow margins inside them. */
.os-section, .os-section > *, .os-wrap > *, .os-stack > *, .os-grid > *, .os-split > *, .os-row > *,
.os-card > *, .os-tile > *, .os-box > *, .os-panel > *, .os-topline > *, .os-plan > *, .os-footer *,
.os-header *, .os-chips > *, .os-topic-chips > *, .os-byline > *, .os-featured > *, .os-info-box > *,
.os-page-content > *, .os-query > *, .os-query .wp-block-post-template > * { margin-block: 0; }

/* ---------- Layout primitives ---------- */
.os-wrap { max-width: 1200px; margin-inline: auto; padding-inline: 24px; box-sizing: border-box; width: 100%; }
.os-wrap--wide { max-width: 1400px; }
.os-wrap--article { max-width: 768px; }
.os-section { padding-block: 88px; }
.os-section--lg { padding-block: 96px; }
.os-section--cta { padding-block: 80px; }
.os-section--contact { padding-block: 72px 88px; }
.os-hero { padding-block: 88px; }
.os-hero--light { padding-block: 72px 56px; }
.os-section--featured { padding-block: 64px 32px; }
.os-section--posts { padding-block: 32px 88px; }
.os-section--posts-top { padding-top: 64px; }
.os-section--more { padding-block: 64px; }

.os-stack { display: flex; flex-direction: column; }
.os-row { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.os-row--between { justify-content: space-between; }
.os-row--end { align-items: flex-end; gap: 16px; }
.os-row--tight { gap: 6px; }
.os-split { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.os-split--top { align-items: flex-start; }
.os-split--end { align-items: flex-end; gap: 40px; }
.os-col { min-width: 0; box-sizing: border-box; }
.os-col--320 { flex: 1 1 320px; }
.os-col--340 { flex: 1 1 340px; }
.os-col--360 { flex: 1 1 360px; }
.os-col--380 { flex: 1 1 380px; }
.os-col--420 { flex: 1 1 420px; }
.os-col--440 { flex: 1 1 440px; }
.os-col--480 { flex: 1 1 480px; }
.os-col--520 { flex: 1 1 520px; }
.os-col--560 { flex: 1 1 560px; }
.os-col--grow2 { flex-grow: 2; }

.os-grid { display: grid; gap: 24px; }
.os-grid--200 { grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); }
.os-grid--220 { grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); }
.os-grid--240 { grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }
.os-grid--260 { grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); }
.os-grid--280 { grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); }
.os-grid--300 { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.os-grid--340 { grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); }
.os-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.os-grid--posts { gap: 40px 28px; }
/* Post grids use fixed columns so a short list doesn't stretch one card across the row. */
.os-query .os-grid--300 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.os-query .os-grid--260 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 960px) { .os-query .os-grid--300, .os-query .os-grid--260 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .os-query .os-grid--300, .os-query .os-grid--260 { grid-template-columns: 1fr; } }
ul.wp-block-post-template { list-style: none; padding: 0; margin: 0; }

.os-gap-2 { gap: 2px; } .os-gap-4 { gap: 4px; } .os-gap-8 { gap: 8px; } .os-gap-10 { gap: 10px; }
.os-gap-12 { gap: 12px; } .os-gap-14 { gap: 14px; } .os-gap-16 { gap: 16px; } .os-gap-18 { gap: 18px; }
.os-gap-20 { gap: 20px; } .os-gap-24 { gap: 24px; } .os-gap-32 { gap: 32px; } .os-gap-36 { gap: 36px; }
.os-gap-40 { gap: 40px; }
.os-pt-8 { padding-top: 8px; }

.os-maxw-440 { max-width: 440px; } .os-maxw-560 { max-width: 560px; } .os-maxw-640 { max-width: 640px; }
.os-maxw-680 { max-width: 680px; } .os-maxw-720 { max-width: 720px; } .os-maxw-760 { max-width: 760px; }
.os-maxw-820 { max-width: 820px; } .os-maxw-860 { max-width: 860px; }

/* ---------- Colour bands ---------- */
.os-bg-dark { background: #333333; color: #FFFFFF; }
.os-bg-tint { background: #F2F2F2; }
.os-bg-tint-light { background: #F7F7F7; }
.os-border-top { border-top: 1px solid #D9D9D9; }
.os-border-bottom { border-bottom: 1px solid #D9D9D9; }

/* ---------- Type ---------- */
.os-eyebrow { font-size: 14px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #2966CC; }
.os-eyebrow--light { color: #BFBFBF; }
.os-eyebrow-sm, .os-eyebrow-sm a { font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #2966CC; text-decoration: none; }
.os-label { font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #BFBFBF; }
.os-h1 { font-size: 52px; }
.os-h1--xl { font-size: 58px; }
.os-h1--article { font-size: 44px; }
.os-h2 { font-size: 40px; }
.os-h2-sm { font-size: 38px; }
.os-h2-xs { font-size: 34px; }
.os-h2-md { font-size: 32px; }
.os-h2-more { font-size: 30px; }
.os-h3-xl { font-size: 28px; }
.os-h3-lg { font-size: 23px; }
.os-h3 { font-size: 22px; }
.os-h3-card { font-size: 21px; }
.os-h3-md { font-size: 20px; }
.os-h3-sm { font-size: 19px; }
.os-panel .os-h3-lg, .os-info-box .os-h3-lg { font-size: 24px; }
.os-h2-sm.wp-block-post-title { font-size: 36px; }
.os-lead { font-size: 20px; }
.os-body-lg { font-size: 18px; color: #404040; }
.os-body { color: #404040; }
.os-muted { color: #595959; }
.os-small { font-size: 15px; }
.os-small-16 { font-size: 16px; }
.os-small-14 { font-size: 14px; }
.os-on-dark, .os-bg-dark h1, .os-bg-dark h2, .os-bg-dark h3 { color: #FFFFFF; }
.os-on-dark-soft { color: #E6E6E6; }
.os-bg-dark .os-body-lg { color: #E6E6E6; }
.os-break { word-break: break-word; }
.os-step-num { font-family: var(--wp--preset--font-family--heading); font-size: 40px; line-height: 1.2; color: #2966CC; }
.os-person-name { font-family: var(--wp--preset--font-family--heading); font-size: 22px; font-weight: 700; color: #333333; }
.os-quote-wrap { border-left: 1px solid #666666; padding-left: 32px; }
.os-quote { font-family: var(--wp--preset--font-family--heading); font-size: 24px; color: #FFFFFF; line-height: 1.35; }

@media (max-width: 640px) {
	.os-h1, .os-h1--xl, .os-h1--article, .os-h2-sm.wp-block-post-title { font-size: 38px; }
	.os-h2, .os-h2-sm, .os-h2-xs, .os-h2-md { font-size: 30px; }
	.os-section, .os-section--lg, .os-hero { padding-block: 64px; }
	.os-section--cta { padding-block: 56px; }
	.os-split { gap: 36px; }
}

/* ---------- Links ---------- */
.os-more, .os-more a, a.os-more { color: #2966CC; font-weight: 600; font-size: 16px; text-decoration: none; }
.os-more a:hover { color: #333333; }
.os-more--light a { color: #FFFFFF; }
.os-more--light a:hover { color: #BFBFBF; }
.os-back a { font-weight: 600; text-decoration: none; display: inline-block; padding: 10px 0; }
.os-strong-link a { color: #FFFFFF; font-weight: 600; text-decoration: none; }
.os-strong-link a:hover { color: #BFBFBF; }

/* ---------- Buttons ---------- */
.wp-block-buttons { gap: 12px; }
.wp-element-button, .wp-block-button__link { min-height: 44px; box-sizing: border-box; display: inline-flex; align-items: center; text-decoration: none; transition: background-color .15s, color .15s; }
.wp-block-button.is-style-light .wp-block-button__link { background: #FFFFFF; color: #333333; }
.wp-block-button.is-style-light .wp-block-button__link:hover { background: #F2F2F2; color: #333333; }
.wp-block-button.is-style-ghost .wp-block-button__link { background: transparent; color: #FFFFFF; border: 1px solid #BFBFBF; }
.wp-block-button.is-style-ghost .wp-block-button__link:hover { background: #444444; color: #FFFFFF; }
.wp-block-button.is-style-outline .wp-block-button__link { background: #FFFFFF; color: #333333; border: 1px solid #333333; padding: 11px 21px; }
.wp-block-button.is-style-outline .wp-block-button__link:hover { background: #333333; color: #FFFFFF; }
.wp-block-button.is-style-blue .wp-block-button__link { background: #2966CC; color: #FFFFFF; }
.wp-block-button.is-style-blue .wp-block-button__link:hover { background: #333333; color: #FFFFFF; }
.os-bg-dark .wp-block-buttons, .os-col > .wp-block-buttons { padding-top: 8px; }

/* ---------- Cards, tiles, boxes ---------- */
.os-card { position: relative; background: #FFFFFF; border: 1px solid #D9D9D9; border-radius: 6px; padding: 28px; transition: border-color .15s; }
.os-card:hover { border-color: #2966CC; }
.os-card .os-more a::after, .os-card .wp-block-read-more::after { content: ""; position: absolute; inset: 0; }
.os-card .wp-block-post-title a { color: inherit; text-decoration: none; }
.os-tile { background: #FFFFFF; border-radius: 6px; padding: 24px; }
.os-tile--lg { padding: 28px; }
.os-tile--xl { padding: 32px; }
.os-tile--lg .os-h3 { font-size: 21px; }
.os-box { background: #F7F7F7; border: 1px solid #D9D9D9; border-radius: 6px; padding: 32px; box-sizing: border-box; }
.os-box--white { background: #FFFFFF; }
.os-bg-tint .os-box--white { border-color: transparent; }
.os-box--sm { padding: 24px; }
.os-panel { background: #FFFFFF; color: #333333; border-radius: 6px; padding: 32px; }
.os-panel h2 { color: #333333; }
.os-topline { border-top: 3px solid #333333; padding-top: 18px; }
.os-plan { border: 1px solid #D9D9D9; border-radius: 6px; padding: 32px; }
.os-plan--featured { border: 2px solid #333333; padding: 31px; }
.os-feature-card { background: #333333; border-radius: 6px; padding: 40px; position: relative; }
.os-feature-card .os-more a::after { content: ""; position: absolute; inset: 0; }
.os-feature-card:hover { background: #3a3a3a; }

.os-num-item { position: relative; padding-left: 34px; }
.os-num { position: absolute; left: 0; top: 0; color: #2966CC; font-weight: 700; }

.os-list, .os-prose ul { display: flex; flex-direction: column; gap: 10px; padding-left: 20px; margin: 0; color: #404040; }
.os-list li::marker { color: #595959; }

.os-headshot img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; border-radius: 6px; display: block; }
.os-headshot.os-col { max-width: 420px; }
.os-cover img, .os-cover.wp-block-post-featured-image img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; display: block; }
.os-cover:empty { display: none; }

/* Only logged-in editors see placeholders; visitors never do. */
.os-placeholder { background: #E6E6E6; border: 1px dashed #BFBFBF; border-radius: 6px; display: flex; align-items: center; justify-content: center; color: #595959; font-size: 15px; text-align: center; padding: 24px; box-sizing: border-box; }
.os-placeholder--3x2 { aspect-ratio: 3 / 2; }
body:not(.logged-in) .os-placeholder { display: none; }

/* ---------- Header ---------- */
.os-header { background: #FFFFFF; border-bottom: 1px solid #D9D9D9; position: relative; z-index: 20; }
.os-header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; padding-block: 14px; }
.os-logo { margin: 0; }
.os-logo a { display: flex; padding: 4px 0; }
.os-logo { width: 446px; max-width: 100%; }
.os-logo img, .os-logo .components-resizable-box__container { width: 100% !important; height: auto !important; display: block; }
.os-header-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 22px; }
.os-nav .wp-block-navigation__container { gap: 4px 22px; }
.os-nav .wp-block-navigation-item__content { color: #333333; text-decoration: none; font-weight: 600; font-size: 16px; padding: 10px 0; display: inline-block; border-bottom: 2px solid transparent; }
.os-nav .wp-block-navigation-item__content:hover { color: #2966CC; }
.os-nav .current-menu-item > .wp-block-navigation-item__content { border-bottom-color: #2966CC; }
.os-header-buttons { gap: 12px; }
.os-nav .wp-block-navigation__responsive-container-open, .os-nav .wp-block-navigation__responsive-container-close { color: #333333; }
.os-nav .wp-block-navigation__responsive-container.is-menu-open { padding: 24px; }
.os-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { font-size: 20px; padding: 8px 0; }
@media (max-width: 599px) {
	.os-logo { width: 317px; }
	.os-header-nav { width: 100%; justify-content: space-between; }
	.os-header-buttons .wp-block-button__link { padding: 10px 14px; font-size: 15px; }
}

/* ---------- Footer ---------- */
.os-footer { background: #333333; color: #BFBFBF; padding-block: 64px 40px; font-size: 15px; }
.os-footer a { color: #BFBFBF; text-decoration: none; }
.os-footer a:hover { color: #FFFFFF; }
.os-footer-cols { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; }
.os-footer-brand { flex: 1 1 280px; max-width: 360px; }
.os-footer-logo { width: 280px; max-width: 100%; }
.os-footer-logo img, .os-footer-logo .components-resizable-box__container { width: 100% !important; height: auto !important; display: block; }
.os-footer-col { flex: 0 1 200px; }
.os-footer-col--wide { flex-basis: 240px; }
.os-footer-head { font-weight: 700; color: #FFFFFF; }
.os-footer-bottom { border-top: 1px solid #555555; padding-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; }
.os-social.wp-block-social-links { gap: 12px; padding-top: 4px; margin: 0; }
.os-social .wp-social-link { background: transparent !important; color: #BFBFBF !important; border: 1px solid #666666; border-radius: 6px !important; }
.os-social .wp-social-link a { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; padding: 0; }
.os-social .wp-social-link svg { width: 22px; height: 22px; }
.os-social .wp-social-link:hover { color: #FFFFFF !important; border-color: #BFBFBF; transform: none; }

/* ---------- Services sub-nav chips ---------- */
.os-subnav { border-bottom: 1px solid #D9D9D9; background: #F7F7F7; }
.os-chips { display: flex; flex-wrap: wrap; gap: 10px; padding-block: 20px; }
.os-chip a, .os-cat-chips a { display: inline-block; padding: 10px 16px; border: 1px solid #D9D9D9; border-radius: 999px; color: #333333; text-decoration: none; font-weight: 600; font-size: 15px; background: #FFFFFF; min-height: 44px; box-sizing: border-box; line-height: 22px; }
.os-chip a:hover, .os-cat-chips a:hover { border-color: #2966CC; color: #2966CC; }
.os-topic-chips { display: flex; flex-wrap: wrap; gap: 10px; border-top: 1px solid #D9D9D9; padding-top: 32px; align-items: center; }
.os-section--posts-top .os-topic-chips { border-top: 0; padding-top: 0; }
.os-cat-chips.wp-block-categories { display: contents; list-style: none; margin: 0; padding: 0; }
.os-cat-chips li { list-style: none; margin: 0; }
.os-cat-chips .current-cat a, .os-is-blog-index .os-chip-all a { background: #333333; color: #FFFFFF; border-color: #333333; }

/* ---------- Blog listing ---------- */
.os-post-card { position: relative; }
.os-post-card:not(.os-card) .wp-block-post-title a { color: #333333; text-decoration: none; }
.os-post-card:not(.os-card) .wp-block-post-title a::after { content: ""; position: absolute; inset: 0; }
.os-post-card:not(.os-card):hover .wp-block-post-title a { color: #2966CC; }
.os-post-card .wp-block-post-terms, .os-more-card .wp-block-post-terms { position: relative; z-index: 1; }
.os-card-excerpt .wp-block-post-excerpt__more-text { display: none; }
.os-h3-card.wp-block-post-title { font-size: 22px; }
.os-card .os-h3-card.wp-block-post-title { font-size: 21px; }
.os-featured { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.os-featured-media { flex: 1 1 480px; min-width: 0; }
.os-featured-text { flex: 1 1 400px; }
.os-featured .wp-block-post-title a { color: #333333; text-decoration: none; }
.os-featured .wp-block-post-title a:hover { color: #2966CC; }
.os-byline { display: flex; flex-wrap: wrap; gap: 6px; font-size: 15px; color: #595959; }
.os-byline--rule { border-bottom: 1px solid #D9D9D9; padding-bottom: 20px; }
.os-more-card { border-top: 1px solid #D9D9D9; padding-top: 16px; }
.os-more-card .wp-block-post-title a { color: #333333; text-decoration: none; }
.os-more-card .wp-block-post-title a:hover { color: #2966CC; }
.os-pagination { gap: 8px; font-weight: 600; }
.os-pagination a, .os-pagination .page-numbers { text-decoration: none; padding: 8px 12px; border-radius: 4px; }
.os-pagination .page-numbers.current { background: #333333; color: #FFFFFF; }

/* ---------- Article ---------- */
.os-article .os-wrap { padding-block: 56px 72px; }
.os-dek, .os-dek p { font-size: 21px; color: #333333; }
.os-dek .wp-block-post-excerpt__more-text { display: none; }
.os-prose > * { margin-block: 0; }
.os-prose > * + * { margin-top: 20px; }
.os-prose p, .os-prose li { font-size: 18px; color: #404040; }
.os-prose h2 { font-size: 28px; margin-top: 40px; }
.os-prose h3 { font-size: 22px; margin-top: 32px; }
.os-disclaimer { font-size: 14px; color: #595959; border-top: 1px solid #D9D9D9; padding-top: 16px; }
.os-article-cta { background: #F2F2F2; border-radius: 6px; padding: 32px; margin-top: 16px !important; }
.os-simple-page { padding-block: 72px 88px; }

/* ---------- FAQ ---------- */
.os-faq .wp-block-details { border-bottom: 1px solid #D9D9D9; padding: 20px 0; margin: 0; }
.os-faq .wp-block-details summary { cursor: pointer; font-weight: 700; color: #333333; font-size: 19px; min-height: 44px; display: flex; align-items: center; }
.os-faq .wp-block-details > p { padding-top: 8px; margin: 0; }

/* ---------- Contact ---------- */
.os-form-box { border: 1px solid #D9D9D9; border-radius: 6px; padding: 36px; box-sizing: border-box; }
.os-info-box { background: #333333; border-radius: 6px; padding: 32px; color: #E6E6E6; }
.os-divider-bottom { border-bottom: 1px solid #666666; padding-bottom: 18px; }
.os-map { width: 100%; aspect-ratio: 4 / 3; border: 0; border-radius: 6px; display: block; background: #E6E6E6; }
.os-form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 20px; margin-bottom: 20px; }
.os-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 20px; }
.os-form-grid .os-field { margin-bottom: 0; }
.os-field label { font-weight: 600; font-size: 15px; color: #333333; }
.os-field .wpcf7-form-control-wrap { display: block; }
.os-field input, .os-field select, .os-field textarea {
	min-height: 48px; padding: 10px 14px; border: 1px solid #BFBFBF; border-radius: 4px; font-size: 16px;
	font-family: inherit; color: #333333; background: #FFFFFF; box-sizing: border-box; width: 100%;
}
.os-field textarea { min-height: 140px; resize: vertical; }
.os-field input:focus, .os-field select:focus, .os-field textarea:focus { border-color: #2966CC; outline: 2px solid #2966CC; outline-offset: 0; }
.os-form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.os-submit, .wpcf7-submit {
	background: #333333; color: #FFFFFF; border: 0; border-radius: 4px; padding: 12px 22px; min-height: 44px;
	font: 600 16px/20px var(--wp--preset--font-family--body); cursor: pointer;
}
.os-submit:hover, .wpcf7-submit:hover { background: #2966CC; }
.wpcf7-not-valid-tip { color: #B3261E; font-size: 14px; margin-top: 4px; }
.wpcf7 form .wpcf7-response-output { margin: 16px 0 0; padding: 12px 16px; border-radius: 4px; }
.wpcf7-spinner { margin: 0 8px; }
.os-admin-note { background: #FFF8E1; border: 1px solid #E6C200; border-radius: 4px; padding: 12px 16px; font-size: 15px; }
.os-form-fallback { display: flex; flex-direction: column; gap: 16px; color: #404040; }

/* ---------- Fixes ---------- */
.os-cta-text { flex: 1 1 420px; max-width: 640px; }
.os-query .wp-block-post-template > li { display: flex; flex-direction: column; }
.os-query .wp-block-post-template > li > .os-card { flex: 1; box-sizing: border-box; }
.os-prose > ul, .os-prose > ol { margin-top: 20px; }
@media (max-width: 599px) { .os-header-nav .os-nav { order: 2; } }
/* Full-width bands also in the page editor. */
.os-section, .os-subnav { max-width: none !important; margin-inline: 0 !important; }
.editor-styles-wrapper .is-root-container > .os-section, .editor-styles-wrapper .is-root-container > .os-subnav { margin-inline: -24px !important; }
.os-nav .wp-block-navigation__responsive-container.is-menu-open { color: #333333; }
.os-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content,
.os-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { align-items: flex-start; }
.os-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { color: #333333; }

/* ---------- Article author box ---------- */
.os-author-box { display: flex; gap: 24px; align-items: flex-start; border-top: 1px solid #D9D9D9; padding-top: 28px; margin-top: 12px !important; }
.os-author-photo { flex: 0 0 96px; margin: 0; }
.os-author-photo img, .os-author-photo .components-resizable-box__container { width: 96px !important; height: 96px !important; object-fit: cover; object-position: center top; border-radius: 50%; display: block; }
.os-author-text { flex: 1; min-width: 0; }
.os-author-box .os-person-name { font-size: 20px; }
.os-author-bio { font-size: 16px; color: #404040; }
.os-author-links a { margin-right: 20px; }
@media (max-width: 520px) { .os-author-box { flex-direction: column; gap: 16px; } }

/* ---------- FAQ sections on Home / Services ---------- */
.os-faq-head { flex: 1 1 320px; }

/* Contact form honeypot: off-screen for people, still present for bots. */
.os-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* Reserve logo space before the image loads (prevents layout shift). */
.os-logo img { aspect-ratio: 892 / 124; }
.os-footer-logo img { aspect-ratio: 560 / 78; }
