/*
 * OutreachCompare Child: design system (assets/css/main.css)
 * Parent: Twenty Twenty-Five v1.5. Tokens mirror theme.json.
 *
 * Colour rules (PLAN.md §1.1, audit M-5):
 *  - Teal TEXT is always #0B7A6E (verified 5.22:1 on white, WCAG AA pass).
 *  - Bright teal #0E9A8B (3.49:1) is used ONLY for fills, badges, icons and
 *    large/bold text, never normal/small text on white.
 *  - Amber #F5A623 is the only CTA background; text on it is navy #0F2A44.
 */

/* ---------- Tokens ---------- */
:root {
	--oc-navy: #0f2a44;
	--oc-teal: #0e9a8b;
	--oc-teal-text: #0b7a6e;
	--oc-amber: #f5a623;
	--oc-body: #111111;
	--oc-muted: #5a6572; /* 14px muted text; >= 4.5:1 on white */
	--oc-border: #e6ebf0;
	--oc-surface: #ffffff;
	--oc-radius: 12px;
	--oc-font: "Manrope", sans-serif;
}

/* ---------- Base / overflow guard ---------- */
html, body { overflow-x: clip; }
body {
	font-family: var(--oc-font);
	color: var(--oc-body);
	background: var(--oc-surface);
}
img, video, iframe { max-width: 100%; }
img { height: auto; }
a { text-underline-offset: .1em; }
:focus-visible { outline: 2px solid var(--oc-teal-text); outline-offset: 2px; }
.oc-teal-text, .has-teal-text-color { color: var(--oc-teal-text); }
/* Bright teal as TEXT is forbidden for normal/small sizes. Any legacy
   teal-coloured small text is forced to the AA-passing dark teal. */
a[style*="#0E9A8B"], a[style*="#0e9a8b"] { color: var(--oc-teal-text); }

/* Type scale, mobile-first (PLAN.md §1.2) */
h1, .wp-block-post-title { font-size: clamp(2rem, 5vw, 2.75rem); line-height: 1.15; font-weight: 800; color: var(--oc-navy); }
h2 { font-size: clamp(1.625rem, 4vw, 1.875rem); line-height: 1.2; font-weight: 700; color: var(--oc-navy); }
h3 { font-size: clamp(1.3125rem, 3vw, 1.4375rem); line-height: 1.25; font-weight: 700; color: var(--oc-navy); }
p, li { font-size: 1.125rem; line-height: 1.6; }
small, .oc-small, .oc-last-checked { font-size: .875rem; line-height: 1.5; color: var(--oc-teal-text); }
.oc-last-checked { font-weight: 600; }

/* ---------- Buttons & tap targets (44px minimum, PLAN.md §1.4) ---------- */
.wp-block-button__link, .oc-btn, .oc-cta,
.wp-block-navigation a, .wp-block-navigation button,
.oc-back-to-top, .oc-sticky-bar button, .oc-sticky-bar a,
.oc-hero__arrow, .oc-carousel__arrow,
.wp-block-search__button, input[type="submit"], button {
	min-height: 44px;
}
.oc-btn, .oc-cta {
	display: inline-flex; align-items: center; justify-content: center;
	gap: .5rem; padding: .75rem 1.25rem; min-height: 44px; box-sizing: border-box;
	border-radius: 9px; font-size: 1rem; font-weight: 700; line-height: 1.2;
	text-decoration: none; border: 1px solid transparent; cursor: pointer;
}
.oc-btn--primary, .oc-cta--primary { background: var(--oc-amber); color: var(--oc-navy); }
.oc-btn--secondary, .oc-cta--secondary { background: var(--oc-surface); color: var(--oc-navy); border-color: var(--oc-navy); }
/* wp:button wrapper carries the .oc-btn class; the visible button is the inner link.
   Without this, the wrapper paints amber AND the link paints navy, a button inside a button. */
.wp-block-button.oc-btn, .wp-block-button.oc-cta { background: transparent; border: 0; padding: 0; box-shadow: none; }
.wp-block-button.oc-btn .wp-block-button__link, .wp-block-button.oc-cta .wp-block-button__link { background: var(--oc-amber); color: var(--oc-navy); border-radius: 9px; padding: .75rem 1.25rem; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; border: 1px solid transparent; }
.wp-block-button.oc-btn--secondary .wp-block-button__link { background: var(--oc-surface); color: var(--oc-navy); border: 1px solid var(--oc-navy); }
.oc-btn--primary:hover, .oc-cta--primary:hover { filter: brightness(.95); }
@media (max-width: 767px) {
	.oc-btn--block-mobile, .oc-cta--block-mobile { width: 100%; }
}

/* ---------- Header (sticky) ---------- */
.oc-header { position: sticky; top: 0; z-index: 100; background: var(--oc-surface); border-bottom: 1px solid var(--oc-border); }
.oc-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; max-width: 1340px; margin-inline: auto; padding: .75rem 1rem; }
.oc-wordmark { font-size: 1.375rem; font-weight: 800; color: var(--oc-navy); text-decoration: none; line-height: 1.2; min-height: 44px; display: inline-flex; align-items: center; }
.oc-wordmark:hover { color: var(--oc-teal-text); }
/* Header search (button-only icon): never let the button grow in the flex header,
   an unconstrained .wp-block-search__button rendered as a huge black circle at 390px. */
.oc-header-search { flex: 0 0 auto; max-width: 44px; }
.oc-header-search .wp-block-search__inside-wrapper { display: flex; }
.oc-header-search .wp-block-search__button { width: 44px; height: 44px; min-width: 44px; padding: 0; border-radius: 50%; flex: 0 0 auto; background: var(--oc-navy); color: #fff; }
.oc-header-search .wp-block-search__button svg { width: 20px; height: 20px; }
/* Mobile menu overlay: left-aligned links (PLAN.md §1.7/§4.2), core defaults to right-aligned.
   The !important is needed: core's overlay rule sets align-items on the same element. */
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content { text-align: left; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__container { align-items: flex-start !important; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item { text-align: left; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container { align-items: flex-start !important; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item.has-child { align-items: flex-start !important; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item { align-items: flex-start !important; text-align: left; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { text-align: left; }
/* Core navigation: 44px tap targets, visible focus on every item. */
.oc-header .wp-block-navigation a, .oc-header .wp-block-navigation button { min-height: 44px; display: inline-flex; align-items: center; padding: .5rem .75rem; }
/* Nav icons (v0.2.1): distinct inline SVG per menu/category item. */
.oc-nav-icon { width: 18px; height: 18px; flex: 0 0 auto; margin-right: 6px; color: inherit; }
.wp-block-navigation-item__label { display: inline-flex; align-items: center; }
.oc-card h3 .oc-nav-icon, .oc-footer__heading .oc-nav-icon { width: 20px; height: 20px; margin-right: 8px; vertical-align: -4px; color: #0B7A6E; }
.oc-footer__heading .oc-nav-icon { color: #F5A623; }
@media (max-width: 390px) {
	.oc-header .wp-block-navigation a, .oc-header .wp-block-navigation button { padding: .5rem .6rem; }
}
.oc-header .wp-block-navigation__responsive-container-open,
.oc-header .wp-block-navigation__responsive-container-close { min-width: 44px; min-height: 44px; padding: 10px; }
.oc-header .wp-block-navigation__responsive-container.is-menu-open { text-align: left; }
.oc-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item a { justify-content: flex-start; }

/* ---------- Footer (real <footer>, navy) ---------- */
.oc-footer { background: var(--oc-navy); color: #fff; margin-top: 0; }
.oc-footer a { color: #fff; }
.oc-footer a:hover { color: var(--oc-amber); }
.oc-footer__inner { max-width: 1340px; margin-inline: auto; padding: 3rem 1rem 2rem; }
.oc-footer__columns { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem 1.5rem; }
@media (min-width: 768px) { .oc-footer__columns { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .oc-footer__columns { grid-template-columns: repeat(6, 1fr); } }
.oc-footer h3, .oc-footer__heading { color: #fff; font-size: 1rem; margin: 0 0 .75rem; }
.oc-footer ul { list-style: none; margin: 0; padding: 0; }
.oc-footer li { margin: 0; }
.oc-footer li a { display: inline-flex; align-items: center; min-height: 44px; font-size: .9375rem; text-decoration: none; }
.oc-footer__tagline { font-size: 1rem; line-height: 1.6; color: #fff; max-width: 75ch; }
.oc-footer__legal { border-top: 1px solid rgba(255, 255, 255, .25); margin-top: 2rem; padding-top: 1.5rem; font-size: .875rem; line-height: 1.6; color: rgba(255, 255, 255, .85); }
.oc-footer__legal p { font-size: .875rem; }

/* ---------- Homepage sections ---------- */
.oc-section { padding: 2rem 1rem; max-width: 1160px; margin-inline: auto; }
@media (min-width: 768px) { .oc-section { padding: 3rem 1.5rem; } }
.oc-section--wide { max-width: 1340px; }
.oc-section__title { margin: 0 0 .5rem; }
.oc-section__intro { margin: 0 0 1.5rem; max-width: 75ch; }

/* Hero slider, FIXED height, no CLS (PLAN.md §A.2). */
.oc-hero { background: var(--oc-navy); color: #fff; }
.oc-hero__inner { max-width: 1160px; margin-inline: auto; padding: 1rem; }
.oc-hero-slider { position: relative; height: 340px; overflow: hidden; }
@media (min-width: 768px) { .oc-hero-slider { height: 440px; } .oc-hero__inner { padding: 2rem 1rem; } }
/* Article heroes: live posts use .oc-hero blocks in post content. They must not
   inherit homepage slider styling, and their headings must stay white on navy. */
.wp-block-post-content .oc-hero, .entry-content .oc-hero { padding: 1.5rem; border-radius: 12px; }
.wp-block-post-content .oc-hero h2, .entry-content .oc-hero h2 { color: #fff; }
.wp-block-post-content .oc-hero p, .entry-content .oc-hero p { color: rgba(255, 255, 255, .92); }
.oc-hero__slide { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 1rem; opacity: 0; visibility: hidden; transition: opacity .3s ease-out; }
.oc-hero__slide.is-active { opacity: 1; visibility: visible; }
.oc-hero__slide h1, .oc-hero__slide h2 { color: #fff; margin: 0; max-width: 22ch; }
.oc-hero__slide p { color: rgba(255, 255, 255, .92); margin: 0; max-width: 60ch; }
.oc-hero__controls { display: flex; align-items: center; gap: .5rem; margin-top: 1rem; }
.oc-hero__arrow { min-width: 44px; min-height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .5); background: transparent; color: #fff; font-size: 1.25rem; cursor: pointer; }
.oc-hero__dots { display: flex; gap: .5rem; margin-left: .5rem; }
.oc-hero__dot { width: 44px; min-height: 44px; padding: 0; background: transparent; border: 0; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.oc-hero__dot::after { content: ""; width: 12px; height: 12px; border-radius: 50%; background: rgba(255, 255, 255, .5); }
.oc-hero__dot[aria-current="true"]::after { background: var(--oc-amber); }
.oc-hero__pills { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.oc-hero__pills a { display: inline-flex; align-items: center; min-height: 44px; padding: .5rem .875rem; border: 1px solid rgba(255, 255, 255, .5); border-radius: 999px; color: #fff; text-decoration: none; font-size: .9375rem; }
/* Quick-links strip directly under the hero (pills moved out of the hero, PLAN.md §2 target ≤480px). */
.oc-quick-links { background: var(--oc-surface); border-bottom: 1px solid var(--oc-border); padding: .75rem 1rem; }
.oc-quick-links p { display: flex; gap: .5rem; overflow-x: auto; margin: 0; }
.oc-quick-links a { flex: 0 0 auto; white-space: nowrap; display: inline-flex; align-items: center; min-height: 44px; padding: .5rem .875rem; border: 1px solid var(--oc-navy); border-radius: 999px; color: var(--oc-navy); text-decoration: none; font-size: .9375rem; }
.oc-quick-links .oc-small { margin: .5rem 0 0; display: block; }
/* Table CTAs must not wrap to two lines in narrow columns (measured 70px tall before this fix). */
.oc-cta { white-space: nowrap; }
.oc-table-wrap .oc-cta { padding: .625rem .875rem; font-size: .9375rem; }

/* ---------- Cards (one style everywhere, PLAN.md §1.5) ---------- */
.oc-cards { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 768px) { .oc-cards { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; } }
@media (min-width: 1024px) { .oc-cards--3 { grid-template-columns: repeat(3, 1fr); } }
.oc-card { background: var(--oc-surface); border: 1px solid var(--oc-border); border-radius: var(--oc-radius); padding: 1rem; box-shadow: 0 1px 3px rgba(15, 42, 68, .08); display: flex; flex-direction: column; gap: .75rem; }
@media (min-width: 768px) { .oc-card { padding: 1.5rem; } }
.oc-card h3 { margin: 0; }
.oc-card p { margin: 0; font-size: 1rem; }
.oc-card__head { display: flex; align-items: center; gap: .75rem; }
.oc-card__foot { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: auto; padding-top: .5rem; }
.oc-card__foot a { display: inline-flex; align-items: center; min-height: 44px; }
.oc-best-for { display: inline-block; background: var(--oc-teal); color: #fff; font-size: .8125rem; font-weight: 700; line-height: 1.2; padding: .375rem .625rem; border-radius: 999px; }
.oc-best-for--top { background: var(--oc-amber); color: var(--oc-navy); }
.oc-rank { display: inline-flex; align-items: center; justify-content: center; min-width: 2rem; height: 2rem; border-radius: 50%; background: var(--oc-amber); color: var(--oc-navy); font-weight: 800; }

/* Logo chip, white, initials monogram on navy (no real logos, Phase 5 pilot). */
.oc-logo-chip { flex: 0 0 auto; width: 48px; height: 48px; border-radius: 10px; background: var(--oc-surface); border: 1px solid var(--oc-border); display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1rem; color: var(--oc-navy); overflow: hidden; }
@media (min-width: 768px) { .oc-logo-chip { width: 56px; height: 56px; } }
.oc-logo-chip--sm { width: 32px; height: 32px; font-size: .75rem; }
.oc-logo-chip--monogram { background: var(--oc-navy); color: #fff; border-color: var(--oc-navy); }
.oc-logo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (min-width: 768px) { .oc-logo-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px) { .oc-logo-grid { grid-template-columns: repeat(6, 1fr); } }
.oc-logo-grid__item { display: flex; align-items: center; gap: .75rem; min-height: 44px; border: 1px solid var(--oc-border); border-radius: var(--oc-radius); padding: .75rem; text-decoration: none; color: var(--oc-body); font-weight: 700; font-size: .9375rem; }

/* ---------- Carousels (scroll-snap, no autoplay) ---------- */
.oc-carousel { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; max-width: 100%; padding-bottom: .5rem; -webkit-overflow-scrolling: touch; }
.oc-carousel > * { flex: 0 0 min(85vw, 340px); scroll-snap-align: start; }
@media (min-width: 1024px) {
	.oc-carousel { display: grid; grid-template-columns: repeat(3, 1fr); overflow: visible; }
	.oc-carousel > * { flex: none; }
}
.oc-carousel__nav { display: flex; gap: .5rem; margin-top: 1rem; }
.oc-carousel__arrow { min-width: 44px; min-height: 44px; border-radius: 50%; border: 1px solid var(--oc-navy); background: var(--oc-surface); color: var(--oc-navy); font-size: 1.25rem; cursor: pointer; }
@media (min-width: 1024px) { .oc-carousel__nav { display: none; } }

/* ---------- Tables (scroll cue + sticky first column, PLAN.md §1.6) ---------- */
.wp-block-table, .oc-table-wrap { overflow-x: auto; max-width: 100%; position: relative; }
@media (max-width: 768px) {
	.wp-block-table::after, .oc-table-wrap::after {
		content: "Scroll \2192"; position: sticky; float: right; display: block;
		font-size: .8125rem; font-weight: 700; color: var(--oc-teal-text);
		background: linear-gradient(to left, #fff 60%, transparent); padding: .25rem 0 .25rem 2rem; pointer-events: none;
	}
	.wp-block-table { background: linear-gradient(to left, rgba(15, 42, 68, .08), transparent 24px) right center / 24px 100% no-repeat; }
}
table { border-collapse: collapse; width: 100%; font-size: .875rem; line-height: 1.45; }
@media (min-width: 769px) { table { font-size: .9375rem; } }
thead th { background: var(--oc-navy); color: #fff; text-align: left; padding: .75rem; }
tbody th, tbody td { padding: .75rem; border-bottom: 1px solid var(--oc-border); text-align: left; vertical-align: top; }
tbody tr:nth-child(even) { background: #f7f9fb; }
tbody th:first-child, tbody td:first-child, thead th:first-child {
	position: sticky; left: 0; background: #fff; border-right: 1px solid var(--oc-border); font-weight: 700; z-index: 1;
}
thead th:first-child { background: var(--oc-navy); }
.post-date, .wp-block-post-date { white-space: nowrap; }

/* ---------- Sticky bar, one per page, 320px-safe (audit M-4, C-2) ---------- */
.oc-sticky-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; max-width: 100vw; background: var(--oc-navy); color: #fff; }
.oc-sticky-bar__inner { display: flex; align-items: center; gap: .75rem; max-width: 1160px; margin-inline: auto; padding: .625rem 1rem; }
.oc-sticky-bar p { margin: 0; font-size: .9375rem; flex: 1; }
.oc-sticky-bar .oc-btn { flex: 0 0 auto; }
.oc-sticky-bar__dismiss { min-width: 44px; min-height: 44px; background: transparent; border: 0; color: #fff; font-size: 1.375rem; cursor: pointer; flex: 0 0 auto; }
@media (max-width: 360px) {
	.oc-sticky-bar__inner { padding: .5rem .625rem; gap: .5rem; }
	.oc-sticky-bar p { font-size: .8125rem; }
	.oc-sticky-bar { max-height: 76px; overflow: hidden; }
}
/* Desktop sidebar: ONLY >= 1850px (article template rule, do not change). */
@media (max-width: 1849px) { .oc-desktop-sidebar { display: none !important; } }

/* ---------- Single-post layout guard (template v1, DO NOT NARROW) ---------- */
body.single-post main .wp-block-post-content,
body.single-post .entry-content { max-width: 1160px; margin-inline: auto; }
body.single-post .wp-block-post-content { padding-inline: 1rem; }
@media (min-width: 769px) { body.single-post .wp-block-post-content { padding-inline: 1.5rem; } }

/* ---------- Breadcrumbs ---------- */
.oc-breadcrumbs { font-size: .875rem; color: var(--oc-muted); padding: .75rem 0; }
.oc-breadcrumbs a { color: var(--oc-teal-text); }
.oc-breadcrumbs__sep { margin-inline: .25rem; }

/* ---------- Reading progress + back-to-top (single posts) ---------- */
.oc-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; background: transparent; z-index: 120; }
.oc-progress__bar { height: 100%; width: 0; background: var(--oc-teal-text); }
.oc-back-to-top { position: fixed; right: 1rem; bottom: 6.5rem; z-index: 95; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--oc-navy); background: var(--oc-surface); color: var(--oc-navy); font-size: 1.25rem; cursor: pointer; display: none; box-shadow: 0 1px 3px rgba(15, 42, 68, .2); }
.oc-back-to-top.is-visible { display: inline-flex; align-items: center; justify-content: center; }

/* ---------- Mini-TOC ("On this page", single posts) ---------- */
/* Hidden until the reader has scrolled a screen, it must not float over the hero on load. */
.oc-toc { position: fixed; right: 1rem; bottom: 11rem; z-index: 95; display: none; }
.oc-toc.is-visible { display: block; }
.oc-toc__toggle { min-height: 44px; padding: .625rem 1rem; border-radius: 999px; border: 1px solid var(--oc-navy); background: var(--oc-surface); color: var(--oc-navy); font-weight: 700; font-size: .9375rem; cursor: pointer; box-shadow: 0 1px 3px rgba(15, 42, 68, .2); }
.oc-toc__panel { display: none; position: absolute; right: 0; bottom: 3.5rem; width: min(85vw, 320px); max-height: 60vh; overflow-y: auto; background: var(--oc-surface); border: 1px solid var(--oc-border); border-radius: var(--oc-radius); padding: 1rem; box-shadow: 0 4px 16px rgba(15, 42, 68, .2); }
.oc-toc__panel.is-open { display: block; }
.oc-toc__panel ul { list-style: none; margin: 0; padding: 0; }
.oc-toc__panel a { display: block; min-height: 44px; padding: .375rem 0; font-size: .9375rem; color: var(--oc-teal-text); text-decoration: none; }

/* ---------- Lead magnet ---------- */
.oc-lead-magnet { background: #f7f9fb; border: 1px solid var(--oc-border); border-radius: var(--oc-radius); padding: 1.5rem; }
.oc-lead-magnet h2, .oc-lead-magnet h3 { margin-top: 0; }
.oc-lead-magnet ul { margin: 0 0 1rem; }
.oc-lead-magnet li { font-size: 1rem; }
.oc-lead-magnet form { display: grid; gap: .75rem; max-width: 560px; }
.oc-lead-magnet label { font-weight: 700; font-size: .9375rem; }
.oc-lead-magnet input[type="text"], .oc-lead-magnet input[type="email"] { width: 100%; min-height: 44px; padding: .625rem .75rem; border: 1px solid var(--oc-border); border-radius: 9px; font-size: 1rem; font-family: inherit; }
.oc-lead-magnet__consent { display: flex; gap: .5rem; align-items: flex-start; font-weight: 400; font-size: .875rem; line-height: 1.5; }
.oc-lead-magnet__consent input { width: 22px; height: 22px; min-width: 22px; margin-top: 0; accent-color: var(--oc-teal-text); }
.oc-lead-magnet__privacy { font-size: .875rem; color: var(--oc-muted); margin: 0; }
.oc-form-notice { border-radius: 9px; padding: .75rem 1rem; font-size: .9375rem; }
.oc-form-notice--success { background: #e6f4f1; color: var(--oc-teal-text); }
.oc-form-notice--error { background: #fdecea; color: #7a1f1a; }

/* ---------- Value / LinkedIn blocks ---------- */
.oc-value-cards { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 768px) { .oc-value-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .oc-value-cards { grid-template-columns: repeat(4, 1fr); } }
.oc-linkedin { background: #f7f9fb; border-top: 1px solid var(--oc-border); border-bottom: 1px solid var(--oc-border); }
.oc-risk { font-size: .9375rem; color: var(--oc-body); border-left: 3px solid var(--oc-amber); padding-left: .75rem; }

/* ---------- Reveal animation (JS adds .is-visible) ---------- */
.oc-reveal { opacity: 0; transform: translateY(12px); transition: opacity .3s ease-out, transform .3s ease-out; }
.oc-reveal.is-visible { opacity: 1; transform: none; }
.oc-card:hover { transform: translateY(-2px); transition: transform .2s ease-out; }

/* ---------- Reduced motion: disable ALL animation/autoplay ---------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
	.oc-reveal { opacity: 1; transform: none; }
	.oc-hero__slide { transition: none; }
}

/* ================================================================== */
/* v0.2.0, redesign: ranking is the hero (REDESIGN-REPORT.md)        */
/* Whole-card click-out, charts by need, enterprise polish.           */
/* ================================================================== */

/* ---------- Trust strip + hero (no slider) ---------- */
.oc-trustbar { background: var(--oc-navy); color: #fff; }
.oc-trustbar p { max-width: 1160px; margin: 0 auto; padding: .625rem 1rem; display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; font-size: .875rem; font-weight: 600; line-height: 1.5; }
.oc-trustbar strong { color: var(--oc-amber); }
.oc-trustbar__badge { background: var(--oc-teal); color: #fff; border-radius: 999px; padding: .125rem .625rem; font-size: .8125rem; }
.oc-hero2 { background: linear-gradient(180deg, #fff 0%, #f4f7f9 100%); border-bottom: 1px solid var(--oc-border); padding: 1.75rem 1rem .5rem; max-width: 1160px; margin-inline: auto; }
.oc-hero2 h1 { max-width: 640px; }
.oc-hero2 h1 em { font-style: normal; color: var(--oc-teal-text); }
.oc-hero2__sub { margin-top: .625rem; font-size: 1.0625rem; color: #33465a; max-width: 640px; }
.oc-short-answer { background: var(--oc-surface); border: 1px solid var(--oc-border); border-left: 5px solid var(--oc-amber); border-radius: 12px; padding: 1rem; margin: 1.125rem 0; box-shadow: 0 1px 4px rgba(15, 42, 68, .08); }
.oc-short-answer h2 { font-size: .9375rem; margin: 0 0 .375rem; }
.oc-short-answer p { font-size: .96875rem; color: #33465a; margin: 0; }
.oc-summary-rank { background: var(--oc-surface); border: 1px solid var(--oc-border); border-radius: 12px; padding: 1rem 1.25rem; margin: 0 0 1.5rem; }
.oc-summary-rank h2 { font-size: 1.125rem; margin: 0 0 .5rem; }
.oc-summary-rank ol { margin: 0 0 .5rem; padding-left: 1.375rem; }
.oc-summary-rank li { font-size: 1rem; padding: .125rem 0; }
.oc-summary-rank li strong { color: var(--oc-navy); }
.oc-eyebrow { font-size: .8125rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--oc-teal-text); margin: 0 0 .375rem; }
.oc-section--tint { background: #f4f7f9; border-top: 1px solid var(--oc-border); border-bottom: 1px solid var(--oc-border); max-width: none; }
.oc-section--tint > * { max-width: 1160px; margin-inline: auto; }

/* ---------- Ranked cards, whole-card click-out ---------- */
.oc-rank-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 768px) {
	.oc-rank-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
	.oc-rank-grid .oc-rank-card--top { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
	.oc-rank-grid--3 { grid-template-columns: repeat(3, 1fr); }
	.oc-rank-grid--3 .oc-rank-card--top { grid-column: auto; }
}
.oc-price-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 768px) { .oc-price-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; } }
@media (min-width: 1280px) { .oc-price-grid { grid-template-columns: repeat(3, 1fr); } .oc-price-grid .oc-rank-card:last-child { grid-column: 2 / 3; } }
.oc-rank-card { position: relative; background: var(--oc-surface); border: 1px solid var(--oc-border); border-radius: 14px; padding: 1.125rem 1rem 1.25rem; box-shadow: 0 1px 4px rgba(15, 42, 68, .07); display: flex; flex-direction: column; gap: .625rem; cursor: pointer; }
@media (min-width: 768px) { .oc-rank-card { padding: 1.375rem 1.5rem; } }
.oc-rank-card:hover { box-shadow: 0 6px 20px rgba(15, 42, 68, .14); border-color: #c9d6e2; transform: translateY(-2px); transition: box-shadow .2s ease-out, transform .2s ease-out, border-color .2s ease-out; }
.oc-rank-card--top { border: 2px solid var(--oc-amber); box-shadow: 0 4px 16px rgba(245, 166, 35, .22); }
.oc-rank-card__link { position: absolute; inset: 0; z-index: 1; border-radius: 14px; text-decoration: none; }
.oc-rank-card:has(.oc-rank-card__link:focus-visible) { outline: 2px solid var(--oc-teal-text); outline-offset: 2px; }
.oc-rank-card__ribbon { position: absolute; top: -12px; left: 1rem; z-index: 2; background: var(--oc-amber); color: var(--oc-navy); font-size: .78125rem; font-weight: 800; padding: .25rem .75rem; border-radius: 999px; text-transform: uppercase; letter-spacing: .04em; }
.oc-rank-card__top { display: flex; gap: .875rem; align-items: flex-start; }
.oc-rank-card__id { min-width: 0; }
.oc-rank-card__id h3 { margin: 0; font-size: 1.25rem; line-height: 1.2; }
.oc-rankno { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 12px; background: var(--oc-navy); color: #fff; font-size: 1.375rem; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
.oc-rank-card--top .oc-rankno { background: var(--oc-amber); color: var(--oc-navy); }
.oc-logo-chip--in { background: #e8f6f3; color: #0b7a6e; border-color: #c8e8e2; }
.oc-logo-chip--sm { background: #fff4d6; color: #8a5e00; border-color: #f0dc9e; }
.oc-logo-chip--le { background: #eaf0fa; color: #1d4e9e; border-color: #cdddf5; }
.oc-logo-chip--ap { background: #f3eafb; color: #6b2fb3; border-color: #e0cdf5; }
.oc-logo-chip--hu { background: #fdecec; color: #a02323; border-color: #f5c9c9; }
.oc-bestfor { display: inline-block; margin-top: .375rem; background: var(--oc-teal); color: #fff; font-size: .8125rem; font-weight: 700; line-height: 1.2; padding: .25rem .6875rem; border-radius: 999px; }
.oc-bestfor--top { background: var(--oc-amber); color: var(--oc-navy); }
.oc-rank-card__verdict { margin: 0; font-size: .96875rem; color: #33465a; }
.oc-rank-card__verdict b { color: var(--oc-navy); }
.oc-ticks { list-style: none; margin: 0; padding: 0; }
.oc-ticks li { position: relative; padding: .1875rem 0 .1875rem 1.625rem; font-size: .9375rem; color: #33465a; }
.oc-ticks li::before { content: "✓"; position: absolute; left: 2px; color: var(--oc-teal-text); font-weight: 800; }
.oc-rank-card__foot { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; margin-top: auto; padding-top: .5rem; pointer-events: none; }
.oc-rank-card__foot .oc-btn { pointer-events: none; }
.oc-review-link { pointer-events: auto; }
.oc-review-link { position: relative; z-index: 2; display: inline-flex; align-items: center; min-height: 44px; padding: .375rem .25rem; font-weight: 700; font-size: .9375rem; color: var(--oc-teal-text); text-decoration: none; }
.oc-review-link:hover { text-decoration: underline; }
.oc-price-note { font-size: .8125rem; color: var(--oc-muted); font-weight: 600; }
.oc-price-badge { display: inline-block; align-self: flex-start; background: var(--oc-navy); color: #fff; font-size: .8125rem; font-weight: 800; padding: .25rem .75rem; border-radius: 999px; }
.oc-price-card .oc-price-badge { background: var(--oc-teal); }
.oc-deal-card .oc-price-badge { background: var(--oc-amber); color: var(--oc-navy); }

/* ---------- Compact ranked rows (leads / deliverability / podcasts) ---------- */
.oc-rows { display: flex; flex-direction: column; gap: .875rem; }
.oc-row { position: relative; display: flex; flex-wrap: wrap; gap: .875rem; align-items: flex-start; background: var(--oc-surface); border: 1px solid var(--oc-border); border-radius: 14px; padding: 1rem; box-shadow: 0 1px 4px rgba(15, 42, 68, .07); cursor: pointer; }
.oc-row:hover { box-shadow: 0 6px 20px rgba(15, 42, 68, .14); border-color: #c9d6e2; }
.oc-row:has(.oc-rank-card__link:focus-visible) { outline: 2px solid var(--oc-teal-text); outline-offset: 2px; }
.oc-row__body { flex: 1 1 220px; min-width: 0; }
.oc-row__body h3 { margin: 0; font-size: 1.1875rem; }
.oc-row__verdict { margin: .25rem 0 0; font-size: .9375rem; color: #33465a; }
.oc-row__verdict b { color: var(--oc-navy); }
.oc-row__spec { margin: .375rem 0 0; font-size: .8125rem; color: var(--oc-muted); font-weight: 600; }
.oc-row__cta { position: relative; z-index: 2; pointer-events: none; flex: 0 0 auto; }
.oc-row__review { position: relative; z-index: 2; flex: 0 0 auto; }
.oc-pod-row { cursor: default; }
.oc-pod-row .oc-row__review { margin-left: auto; }
@media (min-width: 768px) {
	.oc-row { flex-wrap: nowrap; align-items: center; padding: 1.125rem 1.25rem; }
	.oc-row__cta { margin-left: auto; }
	.oc-row__review { margin-left: 0; }
}

/* ---------- Why-trust strip ---------- */
.oc-whytrust ul { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .625rem; }
.oc-whytrust li { background: #f4f7f9; border-radius: 10px; padding: .75rem .875rem; font-size: .875rem; color: #33465a; line-height: 1.5; }
.oc-whytrust li strong { display: block; color: var(--oc-navy); font-size: .9375rem; }
@media (min-width: 768px) { .oc-whytrust ul { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Webinar block ---------- */
.oc-webinar { background: var(--oc-navy); color: #fff; border-radius: 16px; padding: 1.5rem 1.125rem; }
.oc-webinar h2 { color: #fff; margin: 0 0 .5rem; }
.oc-webinar p { color: #d7e2ec; }
.oc-webinar strong { color: #fff; }
.oc-webinar .oc-eyebrow { color: var(--oc-amber); }
.oc-webinar .oc-small { color: #9fb4c6; }
@media (min-width: 768px) { .oc-webinar { padding: 2rem 1.75rem; } }

/* ---------- FAQ ---------- */
.oc-faq details { border: 1px solid var(--oc-border); border-radius: 12px; padding: .875rem 1rem; margin-bottom: .625rem; background: var(--oc-surface); }
.oc-faq summary { font-weight: 700; color: var(--oc-navy); cursor: pointer; font-size: 1rem; min-height: 44px; display: flex; align-items: center; }
.oc-faq p { margin: .5rem 0 0; font-size: .96875rem; color: #33465a; }

/* ---------- Join block: distinct navy panel around the lead form ---------- */
#oc-join .oc-lead-magnet { background: var(--oc-navy); color: #fff; border-color: var(--oc-navy); }
#oc-join .oc-lead-magnet h2 { color: #fff; }
#oc-join .oc-lead-magnet p { color: #d7e2ec; }
#oc-join .oc-lead-magnet label { color: #fff; }
#oc-join .oc-lead-magnet__privacy { color: #9fb4c6; }
#oc-join .oc-lead-magnet__privacy a { color: var(--oc-amber); }
#oc-join .oc-lead-magnet__consent span { color: #d7e2ec; }

/* ---------- Header: one nav row at 1024 to 1279px, no stray hamburger ---------- */
@media (min-width: 1024px) {
	.oc-header .wp-block-navigation__responsive-container-open { display: none !important; }
	.oc-header .wp-block-navigation__responsive-container { display: flex !important; visibility: visible !important; position: static !important; width: auto !important; height: auto !important; overflow: visible !important; opacity: 1 !important; }
	.oc-header .wp-block-navigation__responsive-container .wp-block-navigation__container { display: flex !important; flex-wrap: nowrap !important; }
}
@media (min-width: 1024px) and (max-width: 1399px) {
	.oc-header__inner { gap: .5rem; padding: .75rem .5rem; }
	.oc-header .wp-block-navigation { gap: 0; }
	.oc-header .wp-block-navigation a, .oc-header .wp-block-navigation button { padding: .5rem .375rem; font-size: .875rem; }
	.oc-wordmark { font-size: 1.125rem; }
	/* Seven nav items now (Questions added, v0.2.8): shrink the nav
	   icons so the row still fits at 1024px without clipping
	   Categories. Labels stay readable; icons stay visible. */
	.oc-header .wp-block-navigation .oc-nav-icon { width: 16px; height: 16px; margin-right: 4px; }
}
@media (min-width: 1280px) {
	.oc-header__inner { max-width: 1340px; }
}

/* ---------- Enterprise polish: consistent rhythm, no visual noise ---------- */
.oc-home .oc-section { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.oc-home .oc-section__title { letter-spacing: -.02em; }
@media (min-width: 768px) { .oc-home .oc-section { padding-top: 3rem; padding-bottom: 3rem; } }
@media (prefers-reduced-motion: reduce) {
	.oc-rank-card:hover, .oc-row:hover { transform: none; transition: none; }
}

/* ---------- Next steps / keep reading (internal linking) ---------- */
.oc-next-steps { background: #f4f7f9; border: 1px solid var(--oc-border); border-radius: 14px; padding: 1.25rem 1rem; margin: 2rem 0; }
.oc-next-steps h2 { font-size: 1.25rem; margin: 0 0 .75rem; }
.oc-next-steps ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: .5rem; }
.oc-next-steps li a { display: block; background: var(--oc-surface); border: 1px solid var(--oc-border); border-radius: 10px; padding: .75rem .875rem; text-decoration: none; min-height: 44px; }
.oc-next-steps li a strong { display: block; color: var(--oc-navy); font-size: 1rem; }
.oc-next-steps li a span { display: block; color: #33465a; font-size: .875rem; }
.oc-next-steps li a:hover { border-color: var(--oc-teal-text); }
@media (min-width: 768px) { .oc-next-steps ul { grid-template-columns: repeat(2, 1fr); } .oc-next-steps { padding: 1.5rem; } }

/* ---------- Hub hero (page-hub / page-resource templates) ---------- */
.oc-hub-hero { background: linear-gradient(180deg, #fff 0%, #f4f7f9 100%); border-bottom: 1px solid var(--oc-border); padding: 2rem 1rem 1.5rem; max-width: 1160px; margin-inline: auto; }
.oc-hub-hero h1 { max-width: 640px; }
.oc-hub-hero__note { margin-top: .625rem; color: #33465a; max-width: 640px; }
.oc-hub-hero--resource { background: var(--oc-navy); border-bottom: 0; }
.oc-hub-hero--resource h1 { color: #fff; }
.oc-hub-hero--resource .oc-hub-hero__note { color: #d7e2ec; }

/* ---------- Footer join strip ---------- */
.oc-footer__join { border: 1px solid rgba(255, 255, 255, .35); border-radius: 12px; padding: 1rem 1.125rem; margin-bottom: 2rem; }
.oc-footer__join p { margin: 0; font-size: 1rem; }
.oc-footer__join a { color: var(--oc-amber); font-weight: 700; }

/* ---------- Speed/SEO: lazy images below the fold are handled by WP core (loading=lazy on post images); featured images in queries keep explicit aspect ratio via the template (3/2). No extra CSS needed. ---------- */

/* ================================================================== */
/* v0.2.2 - logo, icons, mega menu, search, back-to-top, join pages   */
/* ================================================================== */

/* ---------- Logo (original mark, inline SVG, no external request) ---------- */
.oc-logo { display: inline-flex; align-items: center; gap: 10px; }
.oc-logo__mark { width: 36px; height: 36px; flex: 0 0 auto; }
.oc-logo__word { display: inline-flex; font-size: 1.375rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1; white-space: nowrap; }
.oc-logo__word--a { color: var(--oc-navy); }
.oc-logo__word--b { color: var(--oc-teal-text); }
.oc-wordmark a { text-decoration: none; }
.oc-logo--footer .oc-logo__word--a { color: #fff; }
.oc-logo--footer .oc-logo__word--b { color: var(--oc-amber); }
.oc-logo--footer .oc-logo__mark rect { fill: #fff; }
.oc-footer__tagline .oc-logo { margin-right: 6px; vertical-align: -8px; }
@media (max-width: 390px) {
	.oc-logo__mark { width: 32px; height: 32px; }
	.oc-logo__word { font-size: 1.1875rem; }
}

/* ---------- Nav icons, redesigned (v0.2.2) ---------- */
.oc-header .wp-block-navigation a, .oc-header .wp-block-navigation button { gap: 0; }
.oc-nav-icon { width: 20px; height: 20px; flex: 0 0 auto; margin-right: 8px; color: var(--oc-teal-text); vertical-align: -4px; }
.wp-block-navigation-item__label { display: inline-flex; align-items: center; }
/* Best: solid star in an amber chip, larger, with breathing room. */
.oc-nav-icon--star { width: 24px; height: 24px; background: var(--oc-amber); color: var(--oc-navy); border-radius: 8px; padding: 3px; box-sizing: border-box; box-shadow: 0 1px 3px rgba(15, 42, 68, .25); }
/* Every other top-level icon sits in a soft tinted chip so the row reads
   as a designed set, not a row of loose strokes. */
.oc-header .wp-block-navigation > .wp-block-navigation__container > .wp-block-navigation-item > a .oc-nav-icon:not(.oc-nav-icon--star),
.oc-header .wp-block-navigation > .wp-block-navigation__container > .wp-block-navigation-item > button .oc-nav-icon:not(.oc-nav-icon--star) { background: #eef4f3; border-radius: 8px; padding: 3px; box-sizing: border-box; }
/* Footer + card headings keep the plain teal icon, larger than before. */
.oc-card h3 .oc-nav-icon, .oc-footer__heading .oc-nav-icon { width: 22px; height: 22px; margin-right: 8px; vertical-align: -5px; color: #0B7A6E; }
.oc-footer__heading .oc-nav-icon { color: #F5A623; }
.oc-footer__heading .oc-nav-icon--star { background: var(--oc-amber); color: var(--oc-navy); border-radius: 8px; padding: 3px; box-sizing: border-box; }

/* ---------- Mega menu, desktop only (v0.2.2) ---------- */
.oc-mega-desc { display: none; }
@media (min-width: 1024px) {
	/* The Categories submenu becomes a wide panel across the screen,
	   aligned to the content width, not a narrow vertical list. */
	.oc-header .wp-block-navigation .has-child .wp-block-navigation__submenu-container {
		position: fixed !important; left: 50% !important; transform: translateX(-50%) !important;
		top: 68px !important; width: min(1160px, calc(100vw - 32px)) !important;
		max-height: calc(100vh - 84px); overflow-y: auto;
		background: #fff !important; border: 1px solid var(--oc-border) !important;
		border-radius: 16px !important; box-shadow: 0 16px 48px rgba(15, 42, 68, .22) !important;
		padding: 20px 24px 24px !important; z-index: 200 !important;
		display: grid !important; grid-template-columns: repeat(2, 1fr) !important;
		gap: 4px 24px !important;
	}
	.oc-header .wp-block-navigation .has-child .wp-block-navigation__submenu-container::before {
		content: "Browse by category"; grid-column: 1 / -1;
		font-size: .8125rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
		color: var(--oc-teal-text); padding: 0 0 8px; border-bottom: 1px solid var(--oc-border); margin-bottom: 8px;
	}
	/* Core hides the submenu (width/height 0, opacity 0). Show it on
	   hover, keyboard focus, or our JS .oc-mega-open class. */
	.oc-header .wp-block-navigation .has-child:hover > .wp-block-navigation__submenu-container,
	.oc-header .wp-block-navigation .has-child:focus-within > .wp-block-navigation__submenu-container,
	.oc-header .wp-block-navigation .has-child.oc-mega-open > .wp-block-navigation__submenu-container {
		visibility: visible !important; opacity: 1 !important; width: min(1160px, calc(100vw - 32px)) !important; height: auto !important; overflow-y: auto !important;
	}
	.oc-header .wp-block-navigation .has-child .wp-block-navigation__submenu-container .wp-block-navigation-item { align-items: stretch !important; }
	.oc-header .wp-block-navigation .has-child .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
		display: flex !important; align-items: flex-start !important; gap: 12px;
		padding: 12px !important; border-radius: 12px; min-height: 44px; width: 100%;
	}
	.oc-header .wp-block-navigation .has-child .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover { background: #f4f7f9; }
	.oc-header .wp-block-navigation .has-child .wp-block-navigation__submenu-container .oc-nav-icon {
		width: 40px; height: 40px; flex: 0 0 40px; margin: 0; padding: 9px; box-sizing: border-box;
		background: #eef4f3; color: var(--oc-teal-text); border-radius: 12px;
	}
	.oc-header .wp-block-navigation .has-child .wp-block-navigation__submenu-container .wp-block-navigation-item__label {
		display: block; font-weight: 700; font-size: 1rem; color: var(--oc-navy); line-height: 1.3;
	}
	.oc-mega-desc { display: block; font-size: .875rem; font-weight: 400; color: #5a6572; line-height: 1.45; margin-top: 2px; }
	/* The Categories trigger itself gets a chevron that rotates open. */
	.oc-header .wp-block-navigation .has-child > .wp-block-navigation-item__content .wp-block-navigation__submenu-icon { transition: transform .2s ease-out; }
	.oc-header .wp-block-navigation .has-child:hover > .wp-block-navigation-item__content .wp-block-navigation__submenu-icon,
	.oc-header .wp-block-navigation .has-child:focus-within > .wp-block-navigation-item__content .wp-block-navigation__submenu-icon,
	.oc-header .wp-block-navigation .has-child.oc-mega-open > .wp-block-navigation-item__content .wp-block-navigation__submenu-icon { transform: rotate(180deg); }
}
@media (min-width: 1280px) {
	.oc-header .wp-block-navigation .has-child .wp-block-navigation__submenu-container { grid-template-columns: repeat(2, 1fr); width: min(1160px, calc(100vw - 48px)) !important; }
}
/* Mobile: the overlay menu stays vertical/stacked, as before. The mega
   panel rules above are desktop-only, and the overlay resets the submenu. */
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container {
	position: static !important; transform: none !important; width: auto !important; max-height: none !important;
	display: flex !important; flex-direction: column !important; background: transparent !important;
	border: 0 !important; box-shadow: none !important; padding: 0 0 0 28px !important; border-radius: 0 !important;
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container::before { content: none !important; }
.wp-block-navigation__responsive-container.is-menu-open .oc-mega-desc { display: none !important; }
.wp-block-navigation__responsive-container.is-menu-open .oc-nav-icon--star { width: 24px; height: 24px; }

/* ---------- Search button: magnifier perfectly centred (v0.2.2) ---------- */
.oc-search-btn {
	width: 44px; height: 44px; min-width: 44px; min-height: 44px; flex: 0 0 auto;
	padding: 0; border: 0; border-radius: 50%; background: var(--oc-navy); color: #fff;
	display: inline-flex; align-items: center; justify-content: center; cursor: pointer; line-height: 0;
}
.oc-search-btn:hover { background: var(--oc-teal-text); }
.oc-search-btn__icon { display: block; width: 20px; height: 20px; margin: 0; flex: 0 0 auto; }
/* Legacy core search button, if it ever renders again: same centring. */
.oc-header-search .wp-block-search__button { display: inline-flex; align-items: center; justify-content: center; padding: 0; line-height: 0; }
.oc-header-search .wp-block-search__button svg { display: block; margin: 0; }

/* ---------- Search panel: large and usable (v0.2.2) ---------- */
.oc-search-panel { position: fixed; left: 0; right: 0; top: 0; z-index: 300; background: #fff; border-bottom: 1px solid var(--oc-border); box-shadow: 0 16px 48px rgba(15, 42, 68, .22); }
.oc-search-panel[hidden] { display: none; }
.oc-search-panel__inner { max-width: 860px; margin: 0 auto; padding: 2rem 1rem 1.5rem; position: relative; }
.oc-search-panel__label { display: block; font-size: 1.375rem; font-weight: 800; color: var(--oc-navy); margin-bottom: .75rem; }
.oc-search-panel__row { display: flex; gap: .75rem; }
.oc-search-panel__row input[type="search"] {
	flex: 1; min-width: 0; min-height: 56px; padding: .75rem 1rem; font-size: 1.125rem; font-family: inherit;
	border: 2px solid var(--oc-navy); border-radius: 12px; background: #fff; color: var(--oc-body);
}
.oc-search-panel__row input[type="search"]:focus { outline: 2px solid var(--oc-teal-text); outline-offset: 2px; border-color: var(--oc-teal-text); }
.oc-search-panel__submit { min-height: 56px; padding: .75rem 1.5rem; font-size: 1.0625rem; }
.oc-search-panel__popular { margin: .875rem 0 0; font-size: .9375rem; color: #5a6572; }
.oc-search-panel__popular span { font-weight: 700; color: var(--oc-navy); }
.oc-search-panel__popular a { color: var(--oc-teal-text); font-weight: 700; margin-right: .875rem; }
.oc-search-panel__close {
	position: absolute; top: 1rem; right: 1rem; min-width: 44px; min-height: 44px;
	background: transparent; border: 1px solid var(--oc-border); border-radius: 999px;
	color: var(--oc-navy); font-weight: 700; font-size: .9375rem; cursor: pointer; padding: .5rem .875rem;
}
@media (max-width: 767px) {
	.oc-search-panel { bottom: 0; border-bottom: 0; }
	.oc-search-panel__inner { padding: 4.5rem 1rem 1.5rem; max-width: none; }
	.oc-search-panel__row { flex-direction: column; }
	.oc-search-panel__submit { width: 100%; }
	.oc-search-panel__close { top: .75rem; }
}

/* ---------- Back-to-top, all pages (v0.2.2) ---------- */
.oc-back-to-top { bottom: 1rem; }
@media (max-width: 767px) { .oc-back-to-top { bottom: 5.5rem; } }

/* ---------- Comparisons hub list (v0.2.2) ---------- */
.oc-comparisons__count { font-weight: 700; color: var(--oc-navy); }
.oc-comparisons__list { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; grid-template-columns: 1fr; gap: .75rem; }
@media (min-width: 768px) { .oc-comparisons__list { grid-template-columns: repeat(2, 1fr); } }
.oc-comparisons__item a { display: block; background: var(--oc-surface); border: 1px solid var(--oc-border); border-radius: 12px; padding: 1rem 1.125rem; text-decoration: none; min-height: 44px; }
.oc-comparisons__item a:hover { border-color: var(--oc-teal-text); box-shadow: 0 4px 16px rgba(15, 42, 68, .12); }
.oc-comparisons__item a strong { display: block; color: var(--oc-navy); font-size: 1.0625rem; line-height: 1.35; }
.oc-comparisons__item a span { display: block; color: var(--oc-teal-text); font-weight: 700; font-size: .9375rem; margin-top: .375rem; }
.oc-comparisons__note { font-size: .9375rem; color: #33465a; }

/* ---------- Join / free-resource pages: appealing redesign (v0.2.2) ---------- */
.oc-resource .oc-hub-hero--resource { padding: 2.5rem 1rem 2rem; }
.oc-resource .oc-hub-hero--resource h1 { font-size: clamp(2rem, 5vw, 2.75rem); }
.oc-join-hero { background: var(--oc-navy); color: #fff; border-radius: 16px; padding: 1.75rem 1.25rem; margin-bottom: 1.5rem; }
.oc-join-hero h2 { color: #fff; margin: 0 0 .5rem; font-size: clamp(1.5rem, 4vw, 1.875rem); }
.oc-join-hero p { color: #d7e2ec; margin: 0 0 .875rem; }
.oc-join-hero .oc-eyebrow { color: var(--oc-amber); }
.oc-join-hero ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: .5rem; }
@media (min-width: 768px) { .oc-join-hero ul { grid-template-columns: repeat(2, 1fr); } }
.oc-join-hero li { position: relative; padding-left: 1.625rem; font-size: .96875rem; color: #fff; }
.oc-join-hero li::before { content: "✓"; position: absolute; left: 2px; color: var(--oc-amber); font-weight: 800; }
/* The lead-magnet form as a white card: clear hierarchy, amber CTA. */
.oc-lead-magnet { background: var(--oc-surface); border: 1px solid var(--oc-border); border-radius: 16px; padding: 1.75rem 1.25rem; box-shadow: 0 4px 20px rgba(15, 42, 68, .1); }
@media (min-width: 768px) { .oc-lead-magnet { padding: 2rem 1.75rem; } }
.oc-lead-magnet h2 { font-size: clamp(1.375rem, 3.5vw, 1.625rem); }
.oc-lead-magnet > ul { list-style: none; margin: 0 0 1rem; padding: 0; }
.oc-lead-magnet > ul li { position: relative; padding: .1875rem 0 .1875rem 1.625rem; }
.oc-lead-magnet > ul li::before { content: "✓"; position: absolute; left: 2px; color: var(--oc-teal-text); font-weight: 800; }
.oc-lead-magnet form p:last-child { margin-bottom: 0; }
.oc-lead-magnet form .oc-btn { width: 100%; min-height: 52px; font-size: 1.0625rem; }
@media (min-width: 768px) { .oc-lead-magnet form .oc-btn { width: auto; } }
.oc-lead-magnet__trust { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; font-size: .875rem; font-weight: 600; color: var(--oc-teal-text); margin: .875rem 0 0; }
/* Join block on the homepage keeps its navy panel, but the form inside
   is now the same white card, so it reads as one appealing unit. */
#oc-join .oc-lead-magnet { background: var(--oc-surface); color: var(--oc-body); border-color: var(--oc-border); }
#oc-join .oc-lead-magnet h2 { color: var(--oc-navy); }
#oc-join .oc-lead-magnet p { color: #33465a; }
#oc-join .oc-lead-magnet label { color: var(--oc-body); }
#oc-join .oc-lead-magnet__privacy { color: var(--oc-muted); }
#oc-join .oc-lead-magnet__privacy a { color: var(--oc-teal-text); }
#oc-join .oc-lead-magnet__consent span { color: #33465a; }

/* ================================================================== */
/* v0.2.2 - hover + focus effects (tasteful, enterprise, fast)        */
/* No layout shift on hover; no hover-only information; reduced motion */
/* disables all movement.                                             */
/* ================================================================== */
a, button, .oc-card, .oc-rank-card, .oc-row, .oc-comparisons__item a, .oc-next-steps li a {
	transition: color .18s ease-out, background-color .18s ease-out, border-color .18s ease-out, box-shadow .18s ease-out, transform .18s ease-out;
}
/* Buttons: lift + deepen. */
.oc-btn--primary:hover, .oc-cta--primary:hover, .wp-block-button.oc-btn .wp-block-button__link:hover { filter: brightness(.93); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(245, 166, 35, .45); }
.oc-btn--secondary:hover, .wp-block-button.oc-btn--secondary .wp-block-button__link:hover { background: var(--oc-navy); color: #fff; border-color: var(--oc-navy); transform: translateY(-1px); }
/* Links: colour shift + underline. */
a:hover { color: var(--oc-teal-text); }
.oc-footer a:hover { color: var(--oc-amber); transform: translateX(2px); }
.oc-review-link:hover { text-decoration: underline; color: var(--oc-navy); }
/* Ranking cards + rows: lift, soft shadow, border highlight. */
.oc-rank-card:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(15, 42, 68, .16); border-color: var(--oc-teal); }
.oc-rank-card--top:hover { border-color: var(--oc-amber); box-shadow: 0 10px 28px rgba(245, 166, 35, .3); }
.oc-row:hover { transform: translateY(-2px); border-color: var(--oc-teal); }
.oc-card:hover { border-color: #c9d6e2; box-shadow: 0 6px 20px rgba(15, 42, 68, .12); }
/* Nav items: clear hover + active state. */
.oc-header .wp-block-navigation a:hover, .oc-header .wp-block-navigation button:hover { color: var(--oc-teal-text); background: #eef4f3; border-radius: 10px; }
.oc-header .wp-block-navigation a:hover .oc-nav-icon, .oc-header .wp-block-navigation button:hover .oc-nav-icon { color: var(--oc-teal-text); }
.oc-header .wp-block-navigation .current-menu-item > a, .oc-header .wp-block-navigation .wp-block-navigation-item.current-menu-item > a { color: var(--oc-teal-text); font-weight: 800; }
/* Tables: row highlight. */
tbody tr:hover { background: #eef4f3; }
/* Next steps + comparison list links: lift + border highlight. */
.oc-next-steps li a:hover { border-color: var(--oc-teal-text); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(15, 42, 68, .1); }
.oc-comparisons__item a:hover { transform: translateY(-1px); }
/* Search button + back-to-top: lift on hover. */
.oc-search-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(15, 42, 68, .35); }
.oc-back-to-top:hover { background: var(--oc-navy); color: #fff; }
/* Focus-visible: always clear, for keyboard users. */
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible { outline: 2px solid var(--oc-teal-text); outline-offset: 2px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) {
	.oc-rank-card:hover, .oc-row:hover, .oc-card:hover, .oc-btn--primary:hover, .oc-search-btn:hover, .oc-next-steps li a:hover, .oc-comparisons__item a:hover { transform: none; box-shadow: none; }
}

/* ---------- Real brand logos in chips (v0.2.2 logo pilot) ---------- */
.oc-logo-chip { padding: 4px; box-sizing: border-box; overflow: hidden; }
.oc-logo-chip img { display: block; width: 100%; height: 100%; object-fit: contain; border-radius: 6px; }
.oc-logo-grid__item .oc-logo-chip { width: 32px; height: 32px; }

/* ---------- Footer: providers, request a review (v0.2.2) ---------- */
.oc-footer__providers { border: 1px solid rgba(255, 255, 255, .35); border-radius: 12px; padding: 1rem 1.125rem; margin-bottom: 1rem; }
.oc-footer__providers h3 { color: #fff; font-size: 1rem; margin: 0 0 .375rem; display: flex; align-items: center; gap: 8px; }
.oc-footer__providers h3 .oc-nav-icon { color: var(--oc-amber); width: 22px; height: 22px; margin: 0; }
.oc-footer__providers p { margin: 0; font-size: .9375rem; color: rgba(255, 255, 255, .85); }
.oc-footer__providers a { color: var(--oc-amber); font-weight: 700; }

/* ---------- 404 page: friendly, SEO-smart (v0.2.2) ---------- */
.oc-404__search { background: #f4f7f9; border: 1px solid var(--oc-border); border-radius: 16px; padding: 1.5rem 1.25rem; margin: 1.5rem 0 2rem; }
.oc-404__search h2 { margin-top: 0; }
.oc-404__searchform .wp-block-search__inside-wrapper { border: 2px solid var(--oc-navy); border-radius: 12px; overflow: hidden; }
.oc-404__searchform .wp-block-search__input { min-height: 56px; font-size: 1.125rem; padding: .75rem 1rem; border: 0; }
.oc-404__searchform .wp-block-search__button { min-height: 56px; padding: .75rem 1.5rem; background: var(--oc-amber); color: var(--oc-navy); font-weight: 700; border: 0; }
.oc-404 .oc-card h3 { display: flex; align-items: center; gap: .75rem; }

/* ---------- Nav labels never wrap at desktop widths (v0.2.2 fix) ---------- */
@media (min-width: 1024px) {
	.oc-header .wp-block-navigation-item__label { white-space: nowrap; }
	.oc-header .wp-block-navigation-item__content { white-space: nowrap; }
}

/* ================================================================== */
/* v0.2.3 - mega-menu clipping fix, sticky-bar logos, mobile tables   */
/* as stacked labelled cards (reference: ranking lists are cards,    */
/* not wide tables, on Top10VPN / vpnMentor / Cybernews).             */
/* ================================================================== */

/* ---------- Fix 0: mega menu must fit the viewport (was clipped) ---------- */
/* Root cause (v0.2.2): the category link's label and its description were
   two flex items sitting SIDE BY SIDE inside the link, so the description
   ran off the right edge of its column and was clipped. The description
   now drops BELOW the label, aligned under it, and the panel can never
   be wider than the viewport. */
@media (min-width: 1024px) {
	.oc-header .wp-block-navigation .has-child .wp-block-navigation__submenu-container {
		box-sizing: border-box !important;
		width: min(1120px, calc(100vw - 32px)) !important;
	}
	.oc-header .wp-block-navigation .has-child:hover > .wp-block-navigation__submenu-container,
	.oc-header .wp-block-navigation .has-child:focus-within > .wp-block-navigation__submenu-container,
	.oc-header .wp-block-navigation .has-child.oc-mega-open > .wp-block-navigation__submenu-container {
		width: min(1120px, calc(100vw - 32px)) !important;
	}
	.oc-header .wp-block-navigation .has-child .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
		flex-wrap: wrap !important;
		row-gap: 0 !important;
	}
	.oc-header .wp-block-navigation .has-child .wp-block-navigation__submenu-container .wp-block-navigation-item__label {
		flex: 1 1 calc(100% - 52px);
		white-space: normal;
	}
	.oc-mega-desc {
		flex: 1 1 100%;
		margin: 2px 0 0 52px;
		white-space: normal;
	}
}

/* ---------- Fix 1: provider logo in the sticky bar + desktop sidebar ---------- */
/* The sticky bar lives in article post content (template v1), so the theme
   adds the logo with JS (main.js) from the local logo register. These
   styles size the chip. The bar's own inline post CSS already lays it out
   as a flex row at <=1024px, so the chip sits first, beside the text. */
.oc-sticky-logo {
	flex: 0 0 auto; width: 56px; height: 56px; border-radius: 10px;
	background: #fff; border: 1px solid #e6ebf0;
	display: inline-flex; align-items: center; justify-content: center;
	overflow: hidden; padding: 3px; box-sizing: border-box;
}
.oc-sticky-logo img { display: block; width: 100%; height: 100%; object-fit: contain; }
.oc-sticky-logo--monogram { background: var(--oc-amber); color: var(--oc-navy); font-weight: 800; font-size: .875rem; }
@media (max-width: 390px) {
	.oc-sticky-logo { width: 48px; height: 48px; }
}
/* Desktop sidebar (post content, >=1850px): logo after the rank number. */
.oc-sidebar-logo {
	flex: 0 0 auto; width: 48px; height: 48px; border-radius: 10px;
	background: #fff; border: 1px solid #e6ebf0;
	display: inline-flex; align-items: center; justify-content: center;
	overflow: hidden; padding: 2px; box-sizing: border-box;
}
.oc-sidebar-logo img { display: block; width: 100%; height: 100%; object-fit: contain; }
.oc-sidebar-logo--monogram { background: var(--oc-amber); color: var(--oc-navy); font-weight: 800; font-size: .75rem; }

/* ---------- Logos in table headers + comparison lists (v0.2.3) ---------- */
.oc-comparisons__logos { display: flex; gap: .375rem; margin-bottom: .5rem; }
.oc-comparisons__logos .oc-logo-chip { width: 40px; height: 40px; }
.oc-card__logos { display: flex; gap: .5rem; margin: 0 0 .5rem; }
.oc-card__logos .oc-logo-chip { width: 40px; height: 40px; }
table th .oc-logo-chip, table td .oc-logo-chip { vertical-align: middle; }
table th .oc-logo-chip { width: 48px; height: 48px; margin-right: 8px; }
table td .oc-logo-chip { width: 48px; height: 48px; margin-right: 8px; }

/* ---------- Fix 2: mobile tables become stacked labelled cards ---------- */
/* Desktop tables stay tables (semantic <table>, thead, sticky first
   column, as before). On mobile the table is unreadable, so each row
   becomes a card and every cell shows its column label in front of it
   (JS adds data-label from the <thead>). No horizontal scrolling, row
   labels always visible. Feature matrices (first header "Feature", 3+
   columns) are transposed by JS into one card per tool instead, because
   a per-feature card would list 8 tools per row; the transposed cards
   are generated from the same table data, and the table stays in the
   DOM for desktop and SEO. */
@media (max-width: 768px) {
	/* No more "Scroll right" cue: there is nothing to scroll. */
	.wp-block-table, .oc-table-wrap { overflow-x: visible; background: none; }
	.wp-block-table::after, .oc-table-wrap::after { display: none !important; }
	.oc-table--cards table { display: block; width: 100%; }
	/* Template v1 post content sets .oc-table-wrap table{min-width:720px}
	   in an inline <style> that loads after this sheet, so at equal
	   specificity it wins and the card rows stay 720px wide inside a
	   266px wrapper, with values off-screen. Higher specificity here
	   beats it, so cards fit the viewport. Desktop keeps the min-width. */
	.oc-table-wrap.oc-table--cards table { min-width: 0; }
	.oc-table--cards thead {
		position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
		overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
	}
	.oc-table--cards tbody { display: block; width: 100%; }
	.oc-table--cards tbody tr {
		display: block; width: 100%; background: #fff;
		border: 1px solid var(--oc-border); border-radius: 14px;
		box-shadow: 0 1px 4px rgba(15, 42, 68, .07);
		margin-bottom: 1rem; padding: .25rem 0; overflow: hidden;
	}
	.oc-table--cards tbody td {
		display: flex; justify-content: space-between; align-items: flex-start;
		gap: 1rem; padding: .625rem .875rem; min-height: 44px;
		border-bottom: 1px solid var(--oc-border); text-align: right;
		font-size: .9375rem; line-height: 1.5;
	}
	.oc-table--cards tbody td:last-child { border-bottom: 0; }
	.oc-table--cards tbody td::before {
		content: attr(data-label); flex: 0 0 42%; text-align: left;
		font-weight: 700; color: var(--oc-navy);
	}
	/* First cell is the card header: tool / plan name + logo + badge. */
	.oc-table--cards tbody td:first-child {
		display: flex; align-items: center; flex-wrap: wrap; gap: .375rem .5rem;
		background: #f4f7f9; font-weight: 800; color: var(--oc-navy); text-align: left;
	}
	.oc-table--cards tbody td:first-child::before { display: none; }
	.oc-table--cards tbody td:first-child .oc-logo-chip { margin-right: 0; width: 48px; height: 48px; }
	/* Ranking tables (# + Tool): the first two cells form the header strip. */
	.oc-table--ranked tbody td:nth-child(2) {
		display: flex; align-items: center; flex-wrap: wrap; gap: .375rem .5rem;
		background: #f4f7f9; font-weight: 800; color: var(--oc-navy); text-align: left;
	}
	.oc-table--ranked tbody td:nth-child(2)::before { display: none; }
	.oc-table--ranked tbody td:nth-child(2) .oc-logo-chip { margin-right: 0; width: 48px; height: 48px; }
	/* Visit cell: full-width amber button, no label needed. */
	.oc-table--cards tbody td.oc-cell--visit { display: block; text-align: left; }
	.oc-table--cards tbody td.oc-cell--visit::before { display: none; }
	.oc-table--cards tbody td.oc-cell--visit a {
		display: flex; min-height: 44px; align-items: center; justify-content: center;
		background: var(--oc-amber); color: var(--oc-navy); font-weight: 800;
		border-radius: 9px; text-decoration: none;
	}
	/* Feature-matrix transposed cards (JS-generated, mobile only). */
	.oc-table--matrix table { display: none; }
	table.oc-table--matrix { display: none; }
	.oc-matrix-cards { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1.5rem; }
	.oc-matrix-card {
		background: #fff; border: 1px solid var(--oc-border); border-radius: 14px;
		box-shadow: 0 1px 4px rgba(15, 42, 68, .07); padding: 1rem;
	}
	.oc-matrix-card__head { display: flex; align-items: center; gap: .75rem; margin-bottom: .375rem; }
	.oc-matrix-card__head .oc-logo-chip { width: 56px; height: 56px; flex: 0 0 auto; }
	.oc-matrix-card__head h3 { margin: 0; font-size: 1.125rem; }
	.oc-matrix-card dl { margin: 0; }
	.oc-matrix-card__row {
		display: flex; justify-content: space-between; gap: 1rem;
		padding: .5rem 0; border-top: 1px solid var(--oc-border); font-size: .9375rem;
	}
	.oc-matrix-card__row dt { flex: 0 0 46%; font-weight: 700; color: var(--oc-navy); }
	.oc-matrix-card__row dd { margin: 0; text-align: right; color: #33465a; }
	.oc-matrix-card__row dd .oc-visit { display: inline-flex; min-height: 44px; align-items: center; }
}
@media (min-width: 769px) {
	.oc-matrix-cards { display: none !important; }
}

/* v0.2.3 fix: wrapped cell values wrap inside their own flex item. */
@media (max-width: 768px) {
	.oc-table--cards tbody td .oc-cell-value { flex: 1 1 auto; min-width: 0; text-align: right; }
	.oc-table--cards tbody td .oc-cell-value .oc-visit-note { display: block; font-size: .8125rem; color: var(--oc-muted); }
}

/* ---------- Hub shortcodes: Best / Reviews / Guides (v0.2.6) ---------- */
.oc-hub-count { font-weight: 700; color: var(--oc-navy); }
.oc-hub-group { margin: 0 0 2rem; }
.oc-hub-group > h2 { margin-top: 0; }
.oc-comparisons__item a span.oc-hub-item__desc { display: block; color: #33465a; font-weight: 400; font-size: .9375rem; line-height: 1.5; margin-top: .25rem; }
.oc-rank-card__top3-label { margin: 0; font-size: .8125rem; color: var(--oc-muted); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.oc-rank-card__top3 { display: flex; flex-wrap: wrap; gap: .375rem .875rem; align-items: center; margin: 0; }
.oc-rank-card__top3 .oc-logo-chip { width: 32px; height: 32px; }
.oc-rank-card__top3-name { display: inline-flex; align-items: center; gap: .375rem; font-weight: 700; font-size: .9375rem; color: var(--oc-navy); }

/* ---------- Q&A section (v0.2.8) ---------- */
/* Short answer box: the quotable 1-2 sentence answer at the top of
   every Q&A article. Same text as the post excerpt (shown in the hub
   accordion) and as the first answer in the Yoast FAQ block. */
.oc-short-answer {
	background: var(--oc-surface);
	border: 1px solid var(--oc-border);
	border-left: 4px solid var(--oc-teal-text);
	border-radius: 12px;
	padding: 1rem 1.125rem;
	margin: 0 0 1.5rem;
}
.oc-short-answer p { margin: 0; color: #1c2f42; }
.oc-short-answer strong { color: var(--oc-navy); }

/* Hub: theme index chips. */
.oc-qa-index ul {
	list-style: none; margin: 0 0 2rem; padding: 0;
	display: flex; flex-wrap: wrap; gap: .5rem;
}
.oc-qa-index a {
	display: inline-block; padding: .5rem .875rem; min-height: 44px;
	border: 1px solid var(--oc-border); border-radius: 999px;
	background: var(--oc-surface); color: var(--oc-navy);
	font-weight: 700; font-size: .9375rem; text-decoration: none;
}
.oc-qa-index a:hover { border-color: var(--oc-teal-text); color: var(--oc-teal-text); }

/* Hub: accordion items. One question per item; the button is the whole
   row so the hit area is large on mobile. */
.oc-qa-group { margin: 0 0 2rem; }
.oc-qa-group > h2 { margin-top: 0; }
.oc-qa-item {
	background: #fff; border: 1px solid var(--oc-border);
	border-radius: 12px; margin: 0 0 .625rem; overflow: hidden;
}
.oc-qa-item__q { margin: 0; font-size: 1.0625rem; line-height: 1.35; }
.oc-qa-item__btn {
	display: flex; align-items: center; justify-content: space-between;
	gap: .75rem; width: 100%; min-height: 44px; padding: .875rem 1rem;
	background: none; border: 0; cursor: pointer; text-align: left;
	font: inherit; font-weight: 700; color: var(--oc-navy);
}
.oc-qa-item__btn:hover { color: var(--oc-teal-text); }
.oc-qa-item__btn:focus-visible {
	outline: 3px solid var(--oc-teal-text); outline-offset: -3px;
}
.oc-qa-item__label { flex: 1 1 auto; min-width: 0; }
.oc-qa-item__chev {
	flex: 0 0 auto; width: 10px; height: 10px;
	border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
	transform: rotate(45deg); margin-top: -4px;
}
.oc-qa-item__btn[aria-expanded="true"] .oc-qa-item__chev { transform: rotate(-135deg); margin-top: 3px; }
@media (prefers-reduced-motion: no-preference) {
	.oc-qa-item__chev { transition: transform 150ms ease-out; }
}
.oc-qa-item__panel { padding: 0 1rem 1rem; border-top: 1px solid var(--oc-border); }
.oc-qa-item__panel p { margin: .75rem 0 0; color: #33465a; }
.oc-qa-item__panel p:first-child { margin-top: .875rem; }
.oc-qa-item__more { font-weight: 700; color: var(--oc-teal-text); }

/* Hub: "Ask a question" box. */
.oc-qa-ask {
	background: var(--oc-surface); border: 1px solid var(--oc-border);
	border-radius: 14px; padding: 1.25rem 1.375rem; margin: 2rem 0 0;
}
.oc-qa-ask h2 { margin-top: 0; }
.oc-qa-ask p:last-child { margin-bottom: 0; }

/* Single Q&A: "Tools that help with this" + "More questions". */
.oc-qa-tools, .oc-qa-more {
	background: var(--oc-surface); border: 1px solid var(--oc-border);
	border-radius: 14px; padding: 1.25rem 1.375rem; margin: 2rem 0 0;
}
.oc-qa-tools h2, .oc-qa-more h2 { margin-top: 0; }
.oc-qa-tools ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.oc-qa-tools li a {
	display: flex; align-items: center; gap: .625rem;
	font-weight: 700; color: var(--oc-navy); text-decoration: none;
}
.oc-qa-tools li a:hover { color: var(--oc-teal-text); }
.oc-qa-tools li .oc-logo-chip { width: 32px; height: 32px; flex: 0 0 auto; }
.oc-qa-tools p:last-child { margin-bottom: 0; font-size: .9375rem; color: #33465a; }
.oc-qa-more ul { margin: 0 0 .75rem; padding-left: 1.25rem; }
.oc-qa-more li { margin: 0 0 .375rem; }
.oc-qa-more p:last-child { margin-bottom: 0; }

/* Yoast FAQ block on Q&A articles: keep it readable, on-brand. */
.schema-faq .schema-faq-section { margin: 0 0 1.25rem; }
.schema-faq .schema-faq-question { display: block; color: var(--oc-navy); font-size: 1.0625rem; line-height: 1.35; margin-bottom: .375rem; }
.schema-faq .schema-faq-answer { margin: 0; }

/* ---------- Pick and mix comparison builder (v0.2.10) ---------- */
.oc-compare { margin: 0 0 2rem; }
.oc-compare__filter {
	width: 100%; max-width: 28rem; min-height: 44px; box-sizing: border-box;
	padding: .625rem .875rem; font: inherit; font-size: 1rem;
	border: 1px solid var(--oc-border); border-radius: 10px; background: var(--oc-surface);
}
.oc-compare__filter:focus-visible { outline: 2px solid var(--oc-teal-text); outline-offset: 2px; }
.oc-compare__tray {
	display: flex; flex-wrap: wrap; align-items: center; gap: .5rem;
	margin: 1rem 0; min-height: 44px;
}
.oc-compare__count { font-weight: 700; color: var(--oc-navy); margin: 0 0 .5rem; }
.oc-compare__pill {
	display: inline-flex; align-items: center; gap: .375rem;
	background: #e8f6f3; border: 1px solid #c8e8e2; border-radius: 999px;
	padding: .25rem .25rem .25rem .5rem; font-weight: 700; color: var(--oc-navy); font-size: .9375rem;
}
/* Logo chips in the builder use their own size classes, so the theme's
   --sm monogram-colour rule never tints a real logo, and a logo chip
   never inherits flex-grow from a parent selector. */
.oc-logo-chip--c24 { width: 24px; height: 24px; }
.oc-logo-chip--c32 { width: 32px; height: 32px; }
.oc-logo-chip--c48 { width: 48px; height: 48px; }
.oc-logo-chip--mono { background: var(--oc-navy); color: #fff; border-color: var(--oc-navy); }
.oc-compare__pill .oc-logo-chip--c24 { width: 24px; height: 24px; }
.oc-compare__pill-x {
	min-width: 32px; min-height: 32px; border-radius: 50%; border: 0; cursor: pointer;
	background: var(--oc-navy); color: #fff; font-weight: 700; line-height: 1; padding: 0;
}
.oc-compare__clear {
	min-height: 44px; padding: .5rem 1rem; border-radius: 10px; cursor: pointer;
	border: 1px solid var(--oc-border); background: var(--oc-surface); font: inherit; font-weight: 700; color: var(--oc-navy);
}
.oc-compare__clear:disabled { opacity: .45; cursor: default; }
.oc-compare__group { margin: 1.25rem 0 0; }
.oc-compare__group-title { font-size: 1.0625rem; margin: 0 0 .5rem; }
.oc-compare__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: .5rem; }
@media (min-width: 480px) { .oc-compare__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 768px) { .oc-compare__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .oc-compare__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.oc-compare__chip {
	display: flex; align-items: center; gap: .375rem; min-height: 56px; width: 100%;
	padding: .5rem; box-sizing: border-box; text-align: left; cursor: pointer;
	background: var(--oc-surface); border: 1px solid var(--oc-border); border-radius: 10px;
	font: inherit; color: var(--oc-navy);
}
@media (min-width: 768px) { .oc-compare__chip { gap: .5rem; padding: .5rem .625rem; } }
.oc-compare__chip:hover { border-color: var(--oc-teal-text); }
.oc-compare__chip[aria-pressed="true"] { border: 2px solid var(--oc-teal-text); background: #e8f6f3; padding: calc(.5rem - 1px); }
@media (min-width: 768px) { .oc-compare__chip[aria-pressed="true"] { padding: calc(.5rem - 1px) calc(.625rem - 1px); } }
.oc-compare__chip:hover { border-color: var(--oc-teal-text); }
.oc-compare__chip[aria-pressed="true"] { border: 2px solid var(--oc-teal-text); background: #e8f6f3; padding: calc(.5rem - 1px) calc(.625rem - 1px); }
.oc-compare__chip-text { flex: 1 1 auto; min-width: 0; }
.oc-compare__chip-name { display: block; font-weight: 700; font-size: .875rem; line-height: 1.25; overflow-wrap: break-word; }
@media (min-width: 768px) { .oc-compare__chip-name { font-size: .9375rem; } }
.oc-compare__chip-cat { display: block; font-size: .8125rem; color: var(--oc-muted); font-weight: 400; }
.oc-compare__chip-state { margin-left: auto; flex: 0 0 auto; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--oc-border); background: #fff; }
@media (min-width: 768px) { .oc-compare__chip-state { width: 22px; height: 22px; } }
.oc-compare__chip[aria-pressed="true"] .oc-compare__chip-state { border-color: var(--oc-teal-text); background: var(--oc-teal-text) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/14px no-repeat; }
.oc-compare__share { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin: 1rem 0; }
.oc-compare__share-url {
	flex: 1 1 16rem; min-height: 44px; box-sizing: border-box; padding: .5rem .75rem;
	font: inherit; font-size: .9375rem; border: 1px solid var(--oc-border); border-radius: 10px;
}
.oc-compare__copy {
	min-height: 44px; padding: .5rem 1rem; border-radius: 10px; cursor: pointer;
	border: 0; background: var(--oc-amber); color: var(--oc-navy); font: inherit; font-weight: 700;
}
.oc-compare__hint {
	background: #f2f6f9; border: 1px solid var(--oc-border); border-radius: var(--oc-radius);
	padding: 1rem 1.125rem; margin: 1rem 0;
}
.oc-compare__article {
	background: #e8f6f3; border: 1px solid #c8e8e2; border-radius: var(--oc-radius);
	padding: 1rem 1.125rem; margin: 1.25rem 0 0;
}
.oc-compare__article--none { background: #f2f6f9; border-color: var(--oc-border); }
.oc-compare__vs { margin: 1.5rem 0 .75rem; }
.oc-compare__cards { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; }
@media (min-width: 768px) {
	.oc-compare__results[data-count="2"] .oc-compare__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.oc-compare__results[data-count="3"] .oc-compare__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
	.oc-compare__results[data-count="3"] .oc-compare__cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.oc-compare__card {
	background: var(--oc-surface); border: 1px solid var(--oc-border); border-radius: var(--oc-radius);
	padding: 1rem 1.125rem; min-width: 0; display: flex; flex-direction: column;
}
.oc-compare__card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: .5rem; }
.oc-compare__brand {
	display: flex; align-items: center; gap: .625rem; font-weight: 800; color: var(--oc-navy);
	font-size: 1rem; line-height: 1.25; text-decoration: none; min-width: 0; flex: 1 1 auto;
}
@media (min-width: 480px) { .oc-compare__brand { font-size: 1.125rem; } }
.oc-compare__brand-name { flex: 1 1 auto; min-width: 0; overflow-wrap: break-word; }
.oc-compare__brand:hover { color: var(--oc-teal-text); }
.oc-compare__brand .oc-logo-chip { width: 40px; height: 40px; }
@media (min-width: 480px) { .oc-compare__brand .oc-logo-chip { width: 48px; height: 48px; } }
.oc-compare__remove {
	flex: 0 0 auto; min-height: 44px; padding: .25rem .625rem; cursor: pointer;
	border: 1px solid var(--oc-border); background: var(--oc-surface); border-radius: 8px;
	font: inherit; font-size: .875rem; font-weight: 700; color: var(--oc-navy);
}
.oc-compare__bestfor { font-size: .9375rem; color: #33465a; margin: .75rem 0 0; }
.oc-compare__rows { margin: .75rem 0 0; display: grid; gap: 0; }
.oc-compare__row {
	display: grid; grid-template-columns: minmax(0, 1fr); gap: .125rem;
	padding: .625rem 0; border-top: 1px solid var(--oc-border); font-size: .9375rem;
}
.oc-compare__row dt { font-weight: 700; color: var(--oc-navy); }
.oc-compare__row dd { margin: 0; overflow-wrap: anywhere; }
.oc-compare__note { font-size: .875rem; color: var(--oc-muted); }
.oc-compare__actions { margin: auto 0 0; padding-top: 1rem; display: grid; gap: .5rem; }
.oc-compare__visit { width: 100%; }
.oc-compare__review { font-size: .9375rem; text-align: center; }
.oc-compare__none { color: var(--oc-muted); }
.oc-compare__status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) {
	.oc-compare__chip, .oc-compare__chip-state { transition: none; }
}

/* ---------- Compare button + dedicated full view (v0.3.1) ---------- */
/* The button is the way into the full comparison. It is big, full
   width on phones, and disabled with a plain-language reason until
   2 brands are picked. The copy-link box is gone from the picker;
   sharing is a small secondary action inside the full view only. */
.oc-compare__go-wrap { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin: 1rem 0; }
.oc-compare__go {
	flex: 1 1 100%; min-height: 56px; padding: .875rem 1.25rem; box-sizing: border-box;
	border: 0; border-radius: 12px; cursor: pointer; font: inherit; font-size: 1.125rem;
	font-weight: 800; color: var(--oc-navy); background: var(--oc-amber);
}
@media (min-width: 768px) { .oc-compare__go { flex: 0 1 28rem; } }
.oc-compare__go:hover:not(:disabled) { filter: brightness(1.05); }
.oc-compare__go:focus-visible { outline: 3px solid var(--oc-teal-text); outline-offset: 2px; }
.oc-compare__go:disabled {
	background: #e6ebf0; color: #5a6b7d; cursor: not-allowed; opacity: 1;
}
.oc-compare__go-wrap .oc-compare__clear { flex: 0 0 auto; }
.oc-logo-chip--c64 { width: 64px; height: 64px; font-size: 1.25rem; }
.oc-compare--full .oc-compare__picker,
.oc-compare--full .oc-compare__filter,
.oc-compare--full .oc-compare__filter-label,
.oc-compare--full .oc-compare__tray,
.oc-compare--full .oc-compare__results,
.oc-compare--full .oc-compare__go-wrap { display: none; }
.oc-compare__full[hidden] { display: none; }
.oc-compare__full { margin: 0 0 2rem; }
.oc-compare__full-back { margin: 0 0 .5rem; }
.oc-compare__change {
	min-height: 44px; padding: .5rem 1rem; border-radius: 10px; cursor: pointer;
	border: 1px solid var(--oc-border); background: var(--oc-surface);
	font: inherit; font-weight: 700; color: var(--oc-navy);
}
.oc-compare__change:focus-visible { outline: 2px solid var(--oc-teal-text); outline-offset: 2px; }
.oc-compare__full-title { margin: .25rem 0 .375rem; font-size: clamp(1.5rem, 5vw, 2rem); }
.oc-compare__full-title:focus { outline: none; }
.oc-compare__full-sub { color: #33465a; margin: 0 0 1rem; }
.oc-compare__card--full .oc-logo-chip { width: 56px; height: 56px; }
@media (min-width: 480px) { .oc-compare__card--full .oc-logo-chip { width: 64px; height: 64px; } }
.oc-compare__card--full .oc-compare__brand { font-size: 1.125rem; }
@media (min-width: 480px) { .oc-compare__card--full .oc-compare__brand { font-size: 1.25rem; } }
.oc-compare__share-small { margin: 1.25rem 0 0; font-size: .9375rem; color: #33465a; }
.oc-compare__share-link {
	min-height: 44px; padding: .25rem .5rem; border: 0; background: none; cursor: pointer;
	font: inherit; font-weight: 700; color: var(--oc-teal-text); text-decoration: underline;
}
.oc-compare__share-link:focus-visible { outline: 2px solid var(--oc-teal-text); outline-offset: 2px; }
.oc-compare__share-done { font-size: .875rem; color: var(--oc-teal-text); }

/* ---------- Article hero logo strip (v0.3.1) ---------- */
/* Comparison articles carry no logos in the hero in post content, so
   main.js builds a strip from the hero Visit links (data-provider):
   large real logos, 64px desktop, 56px on phones. */
.oc-hero__logos { display: flex; flex-wrap: wrap; gap: .75rem 1rem; align-items: center; margin: 0 0 1rem; }
.oc-hero__logos .oc-logo-chip { width: 56px; height: 56px; }
@media (min-width: 768px) { .oc-hero__logos .oc-logo-chip { width: 64px; height: 64px; } }
.oc-hero__logo { display: inline-flex; align-items: center; gap: .5rem; font-weight: 800; color: #fff; font-size: 1rem; }
.oc-hero__vs { color: var(--oc-amber); font-weight: 800; }

/* ---------- Comparisons hub: three distinct sections (v0.3.1) ---------- */
.oc-methodology {
	background: var(--oc-surface); border: 1px solid var(--oc-border);
	border-left: 5px solid var(--oc-teal-text); border-radius: var(--oc-radius);
	padding: 1.25rem 1.375rem; margin: 1.5rem 0;
}
.oc-methodology h2 { margin-top: 0; }
.oc-hub-jump { display: flex; flex-wrap: wrap; gap: .5rem 1rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.oc-hub-jump a { font-weight: 700; }

/* ---------- Comparisons hub: builder CTA + featured (v0.2.10) ---------- */
.oc-hub-cta {
	background: var(--oc-navy); color: #fff; border-radius: var(--oc-radius);
	padding: 1.25rem 1.375rem; margin: 1.5rem 0;
}
.oc-hub-cta h2 { color: #fff; margin: 0 0 .375rem; }
.oc-hub-cta p { color: #dbe5ef; margin: 0 0 1rem; }
.oc-hub-cta .oc-btn { background: var(--oc-amber); color: var(--oc-navy); }
/* Hub card logos sit side by side. The generic card-link span rule
   (.oc-comparisons__item a span, display block) outranks the plain
   .oc-comparisons__logos flex rule, so this more specific rule restores
   the row. Same fix the featured descriptions already rely on. */
.oc-comparisons__item a span.oc-comparisons__logos { display: flex; margin-top: 0; }
.oc-featured { margin: 2rem 0 0; }
.oc-featured__desc { font-size: .9375rem; color: #33465a; margin: .25rem 0 0; }
.oc-comparisons__item a .oc-featured__desc { color: #33465a; }
.oc-compare__share[hidden] { display: none; }
.oc-compare__filter-label { display: block; font-weight: 700; color: var(--oc-navy); margin: 0 0 .375rem; }
