/*
 * CARIGEN components — ported from mockup/assets/shared.css.
 * Colours come from theme.json presets; the short aliases keep rules readable
 * and match the mockup so the two can be diffed side by side.
 */
:root {
	--teal: var(--wp--preset--color--teal);
	--teal-d: var(--wp--preset--color--teal-dark);
	--teal-l: var(--wp--preset--color--teal-light);
	--teal-bright: var(--wp--preset--color--teal-bright); /* only on dark backgrounds */
	--gold: var(--wp--preset--color--gold);
	--gold-l: var(--wp--preset--color--gold-light);
	--dark: var(--wp--preset--color--dark);
	--mid: var(--wp--preset--color--mid);
	--muted: var(--wp--preset--color--muted);
	--text: var(--wp--preset--color--text);
	--bg: var(--wp--preset--color--background);
	--white: var(--wp--preset--color--white);
	--radius: var(--wp--custom--radius);
	--shadow: var(--wp--custom--shadow);
	--gutter: var(--wp--custom--gutter);
}
html { scroll-behavior: smooth; }
body { margin: 0; }
h1, h2, h3, h4, p, ul { margin: 0; }
/* Imported content mirrors the mockup's global reset (shared.css: * { margin: 0; padding: 0; box-sizing: border-box }).
   Zero specificity, so every component rule still wins. Paragraphs marked from-span/from-div were other elements
   in the mockup, so theme rules written for real <p> elements exclude them. */
:where(.wp-block-post-content) :where(*, *::before, *::after) { box-sizing: border-box; margin: 0; padding: 0; }

/* HEADER
 * - 44px minimum tap targets; no font-weight change on hover (avoids layout shift)
 * - active/current item shown by colour + underline, not colour alone
 * - visible :focus-visible rings for keyboard users
 * - Book a Test moves into the overlay menu on phones instead of squeezing the bar
 */
/* The template part (<header>) is the sticky element; the inner group is just layout. */
.wp-site-blocks > header.wp-block-template-part { position: sticky; top: 0; z-index: 100; }
.admin-bar .wp-site-blocks > header.wp-block-template-part { top: var(--wp-admin--admin-bar--height, 32px); }
.site-header { min-height: 72px; padding: 8px var(--gutter); background: var(--white); box-shadow: 0 1px 0 #ddf0f4, 0 2px 12px rgba(30,143,160,.06); gap: 24px; box-sizing: border-box; }
.logo { display: flex; align-items: center; text-decoration: none; border-radius: 8px; flex-shrink: 0; }
.logo-img { height: 56px; width: auto; display: block; }
.site-header .nav-links { flex: 1; }
.site-header .nav-links .wp-block-navigation__container { gap: 8px; }
.site-header .nav-links .wp-block-navigation-item__content,
.site-header .nav-links .wp-block-navigation-submenu__toggle { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 8px; text-decoration: none; font-size: .9rem; font-weight: 500; color: var(--mid); transition: color .15s, background-color .15s; }
.site-header .nav-links .wp-block-navigation-item__content:hover,
.site-header .nav-links .wp-block-navigation-submenu__toggle:hover { color: var(--teal); background: var(--teal-l); }
.site-header .nav-links .current-menu-item > .wp-block-navigation-item__content,
.site-header .nav-links .current-menu-ancestor > .wp-block-navigation-item__content,
.site-header .nav-links .current-menu-ancestor > .wp-block-navigation-submenu__toggle,
.site-header .nav-links .current-menu-item > .wp-block-navigation-submenu__toggle { color: var(--teal); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
/* Dropdown */
.site-header .wp-block-navigation__submenu-container { min-width: 240px !important; padding: 8px !important; border: 1px solid #ddf0f4 !important; border-radius: 12px; box-shadow: 0 12px 32px rgba(7,19,24,.12); background: var(--white) !important; }
.site-header .wp-block-navigation__submenu-container .wp-block-navigation-item__content { display: flex; width: 100%; box-sizing: border-box; }
/* Chevron drawn inside the toggle (core's icon sits outside the button). */
.site-header .wp-block-navigation__submenu-icon { display: none !important; }
.site-header .wp-block-navigation-submenu__toggle { gap: 6px; }
.site-header .wp-block-navigation-submenu__toggle::after { content: ''; width: 7px; height: 7px; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-2px) rotate(45deg); transition: transform .15s; }
.site-header .wp-block-navigation-submenu__toggle[aria-expanded="true"]::after { transform: translateY(2px) rotate(-135deg); }
.nav-cta-mobile { display: none !important; }
/* Mobile overlay */
.site-header .wp-block-navigation__responsive-container-open,
.site-header .wp-block-navigation__responsive-container-close { min-width: 44px; min-height: 44px; align-items: center; justify-content: center; border-radius: 8px; color: var(--dark); }
.site-header .wp-block-navigation__responsive-container.is-menu-open { padding: 16px var(--gutter) 32px; }
.site-header .is-menu-open .wp-block-navigation__container { gap: 4px !important; width: 100%; }
.site-header .is-menu-open .wp-block-navigation-item { width: 100%; }
.site-header .is-menu-open .wp-block-navigation-item__content { width: 100%; font-size: 1.05rem; min-height: 48px; }
.site-header .is-menu-open .has-child { flex-direction: column; align-items: stretch !important; }
.site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container { border: none !important; box-shadow: none; padding: 0 0 0 16px !important; margin: 0; position: static !important; left: auto !important; width: 100%; box-sizing: border-box; }
.site-header .is-menu-open .wp-block-navigation-submenu__toggle::after { display: none; } /* submenu is always expanded in the overlay */
.site-header .is-menu-open .nav-cta-mobile { display: block !important; margin-top: 16px; }
.site-header .is-menu-open .nav-cta-mobile > .wp-block-navigation-item__content { justify-content: center; background: var(--teal); color: #fff; font-weight: 600; }
/* Focus */
.site-header a:focus-visible, .site-header button:focus-visible,
.breadcrumb a:focus-visible, .btn:focus-visible, .wp-block-button__link:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
.skip-link.screen-reader-text:focus { z-index: 1000; }
html { scroll-padding-top: 96px; } /* anchors land below the sticky header */
@media (max-width: 600px) {
	.site-header { min-height: 64px; }
	.logo-img { height: 44px; }
	.site-header .header-cta { display: none; }
	.site-header .nav-links { justify-content: flex-end; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.site-header * { transition: none !important; }
}

/* BUTTONS (plain links and core/button) */
.btn, .wp-block-button.btn .wp-block-button__link { display: inline-block; text-decoration: none; border-radius: 8px; padding: 10px 22px; font-weight: 600; font-size: .9rem; cursor: pointer; transition: background .2s; border: none; font-family: inherit; line-height: normal; }
.wp-block-button.btn { padding: 0; background: none; }
.btn-primary, .wp-block-button.btn-primary .wp-block-button__link { background: var(--teal); color: #fff; }
.btn-primary:hover, .wp-block-button.btn-primary .wp-block-button__link:hover { background: var(--teal-d); }

/* BREADCRUMB */
.breadcrumb { background: var(--white); padding: 14px var(--gutter); font-size: .82rem; color: var(--muted); border-bottom: 1px solid #ddf0f4; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.breadcrumb a { color: var(--teal); text-decoration: none; font-weight: 500; }
.breadcrumb a:hover { text-decoration: underline; }

/* PAGE HERO */
.page-hero { background: linear-gradient(135deg, var(--dark) 0%, #0a2a30 55%, var(--teal-d) 100%); padding: 72px var(--gutter) 64px; position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2340cad6' fill-opacity='0.07'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); }
.page-hero-content { position: relative; max-width: 700px; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(64,202,214,.25); border: 1px solid rgba(64,202,214,.5); color: #8ee8f0; padding: 6px 14px; border-radius: 100px; font-size: .8rem; font-weight: 600; letter-spacing: .04em; margin-bottom: 18px; }
.hero-badge:empty { display: none; }
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); color: #fff; line-height: 1.15; margin-bottom: 14px; }
.page-hero p:not(.hero-badge) { color: rgba(255,255,255,.72); font-size: 1rem; line-height: 1.7; }

/* SECTIONS */
.carigen-section { padding: 72px var(--gutter); }
.carigen-section.is-white { background: var(--white); }
.carigen-section.is-tinted { background: var(--bg); }
.section-label { display: inline-block; color: var(--teal); font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 10px; }
.section-title { font-size: clamp(1.5rem, 3vw, 2.2rem); color: var(--dark); margin-bottom: 14px; line-height: 1.2; }
.section-sub { color: var(--muted); font-size: .97rem; line-height: 1.72; max-width: 640px; }
/* .wp-block-group raises specificity above the flow-layout margin resets. */
.wp-block-group.section-head, .section-head { margin-bottom: 44px; }
.section-head.center { text-align: center; }
.section-head.center .section-sub { margin: 0 auto; }
.section-lead { color: var(--muted); font-size: .95rem; line-height: 1.8; max-width: 760px; }
.column-title { font-size: 1rem; color: var(--dark); margin: 10px 0 14px; }

/* TYPE PILL (Bacterial / Viral / ...) */
.type-pill { display: inline-block; padding: 4px 14px; border-radius: 100px; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 14px; }
.type-pill.is-bacterial { background: #fff3cd; color: #856404; }
.type-pill.is-viral { background: #f8d7da; color: #842029; }
.type-pill.is-fungal { background: #d4edda; color: #155724; }
.type-pill.is-parasitic { background: #d1ecf1; color: #0c5460; }
.type-pill.is-syndrome { background: #e2e3e5; color: #383d41; }

/* SPLIT (core/columns with .split) */
.wp-block-columns.split { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: start; margin: 0; }
.wp-block-columns.split > .wp-block-column { flex-basis: auto; align-self: start; } /* core sets align-items: normal !important */

/* INFO BOX */
/* .wp-block-group raises specificity above the flow-layout margin resets in global styles. */
.wp-block-group.info-box, .info-box { border-radius: var(--radius); padding: 24px 22px; margin: 24px 0; }
.info-box.is-teal { background: var(--teal-l); border: 1.5px solid #a8e0e8; }
.info-box.is-gold { background: var(--gold-l); border: 1.5px solid #e8c87a; }
.info-box.is-dark { background: #1a2e29; border: 1.5px solid #2a4a42; color: rgba(255,255,255,.85); }
.info-box h4 { font-size: .92rem; margin-bottom: 8px; color: var(--teal-d); }
.info-box p:where(:not([class*="from-"])), .info-box li { font-size: .87rem; line-height: 1.65; color: var(--mid); }
.info-box.is-dark p, .info-box.is-dark li { color: rgba(255,255,255,.75); }
.info-box ul.wp-block-list, .info-box ul { padding-left: 16px; display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }

/* TAG CLOUD (core/list.tag-cloud; mockup: div.tag-cloud > span.tag) */
.wp-block-list.tag-cloud { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 9px; margin-top: 16px; }
.tag, .tag-cloud > li { background: var(--white); border: 1.5px solid #b8e6ee; color: var(--teal-d); border-radius: 100px; padding: 6px 16px; font-size: .83rem; font-weight: 600; }
.tag-teal { background: var(--teal-l); border-color: #a8e0e8; color: var(--teal-d); }
.tag-gold { background: var(--gold-l); border-color: #e8c87a; color: #7a5600; }

/* SPLIT VISUAL (dark card column) */
.wp-block-column.split-visual { background: linear-gradient(145deg, var(--teal-d), var(--dark)); border-radius: 18px; padding: 40px 32px; color: #fff; position: relative; overflow: hidden; box-sizing: border-box; }
.split-visual::after { content: ''; position: absolute; right: -40px; bottom: -40px; width: 160px; height: 160px; border-radius: 50%; background: rgba(255,255,255,.05); }
.split-visual h3 { font-size: 1.3rem; margin-bottom: 14px; color: #fff; }
.split-visual p:where(:not([class*="from-"])) { font-size: .9rem; line-height: 1.75; color: rgba(255,255,255,.8); margin-bottom: 12px; }

/* Feature items kept as groups (icons other than the check mark keep their own SVG). Ported from shared.css. */
.wp-block-group.feature-list { display: flex; flex-direction: column; gap: 14px; margin-top: 8px; }
.feature-item { display: flex; align-items: flex-start; gap: 14px; }
.feature-dot { width: 32px; height: 32px; border-radius: 8px; background: var(--teal-l); display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; }
.feature-dot svg { width: 16px; height: 16px; stroke: var(--teal); fill: none; stroke-width: 2.5; stroke-linecap: round; }
/* Dark panels: the bright teal, as the standard teal disappears on them. */
.split-visual .feature-dot svg { stroke: #40cad6; }
.feature-item p:where(:not([class*="from-"])) { font-size: .88rem; color: var(--muted); line-height: 1.65; padding-top: 6px; }
.feature-item strong { display: block; font-size: .9rem; color: var(--dark); margin-bottom: 2px; }

/* FEATURE LIST (core/list.feature-list; mockup: .feature-item = check dot + p). The dot is ::before, the check ::after. */
.wp-block-list.feature-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 14px; margin-top: 8px; }
.feature-list > li { position: relative; box-sizing: border-box; min-height: 34px; padding: 6px 0 0 46px; font-size: .88rem; color: var(--muted); line-height: 1.65; }
.feature-list > li::before { content: ''; position: absolute; left: 0; top: 2px; width: 32px; height: 32px; border-radius: 8px; background: var(--teal-l); }
.feature-list > li::after { content: ''; position: absolute; left: 8px; top: 10px; width: 16px; height: 16px; background: var(--teal); -webkit-mask: var(--check) center / contain no-repeat; mask: var(--check) center / contain no-repeat; }
.feature-list { --check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E"); }
.feature-list > li strong { display: block; font-size: .9rem; color: var(--dark); margin-bottom: 2px; }
/* On the dark card the mockup overrides dot/text colours inline, and .split-visual p adds a 12px bottom margin. */
.split-visual .feature-list > li { color: rgba(255,255,255,.82); padding-bottom: 12px; }
.split-visual .feature-list > li::before { background: rgba(255,255,255,.15); }
.split-visual .feature-list > li::after { background: #40cad6; }

/* CARDS (archive listing) */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; list-style: none; padding: 0; }
.card { background: var(--white); border-radius: var(--radius); padding: 28px 24px; border: 1.5px solid #ddf0f4; transition: box-shadow .25s, transform .2s, border-color .2s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: var(--teal); }
/* Archive listings wrap each card in a post-template <li>; stretch to equal heights. */
.wp-block-post-template.cards-grid .card { height: 100%; box-sizing: border-box; }
.card-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--teal-l); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.card-icon svg { width: 24px; height: 24px; stroke: var(--teal); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: .98rem; color: var(--dark); margin-bottom: 8px; }
.card h3 a { text-decoration: none; }
.card p:where(:not([class*="from-"])) { font-size: .86rem; color: var(--muted); line-height: 1.65; }

/* CTA SECTION */
.cta-section { background: linear-gradient(135deg, var(--teal-d), var(--dark)); padding: 64px var(--gutter); text-align: center; color: #fff; }
.cta-section h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 12px; }
.cta-section p { color: rgba(255,255,255,.7); margin: 0 auto 26px; font-size: .97rem; max-width: 480px; }
.cta-section .btn-primary { padding: 12px 32px; }
.cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
/* Secondary CTA button on the dark band (mockup sets these inline). */
.cta-section .btn-outline { border-color: rgba(255,255,255,.6); color: #fff; }

/* FOOTER */
.site-footer { background: #070f0d; color: rgba(255,255,255,.55); padding: 48px var(--gutter) 28px; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand .logo-img { height: 64px; }
.footer-brand p { font-size: .86rem; line-height: 1.7; margin-top: 14px; margin-bottom: 20px; }
.social-links.wp-block-social-links { gap: 10px; }
.social-links .wp-social-link { width: 36px; height: 36px; border-radius: 8px; background: rgba(255,255,255,.07) !important; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.7) !important; }
.social-links .wp-social-link a { padding: 0; display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.social-links .wp-social-link svg { width: 16px; height: 16px; }
.social-links .wp-social-link:hover { background: var(--teal) !important; }
.footer-col h4 { font-size: .85rem; font-weight: 700; color: rgba(255,255,255,.85); margin-bottom: 16px; text-transform: uppercase; letter-spacing: .06em; }
.footer-col ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { text-decoration: none; font-size: .85rem; color: rgba(255,255,255,.5); transition: color .2s; }
.footer-col ul a:hover { color: var(--teal-bright); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.06); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; font-size: .8rem; flex-wrap: wrap; gap: 12px; }
.cap-badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(64,202,214,.2); border: 1px solid rgba(64,202,214,.4); border-radius: 6px; padding: 4px 10px; font-size: .75rem; color: var(--teal-bright); font-weight: 600; }

/* PHOTO HEROES / CARD THUMBNAILS (stock images in assets/images/hero and /thumb).
   A page hero with a photo: set --hero-photo on .page-hero.has-photo. The photo is faded to the
   dark teal on the text side. A card thumbnail sits at the top of a card, bleeding to its edges
   (--card-pt / --card-px are the card's padding). */
.page-hero.has-photo { background-image: linear-gradient(90deg, rgba(10,42,48,.94) 0%, rgba(10,42,48,.82) 42%, rgba(10,42,48,.3) 100%), var(--hero-photo); background-size: cover; background-position: center; }
.card-thumb { display: block; height: 140px; margin: calc(-1 * var(--card-pt, 32px)) calc(-1 * var(--card-px, 28px)) 20px; background-size: cover; background-position: center; border-radius: calc(var(--radius) - 2px) calc(var(--radius) - 2px) 0 0; }

/* SALE BANNER (reusable promo: uploaded image, copy, button; the carigen/sale-banner block).
   Full-bleed band that follows the uploaded image's own shape: no cropping on desktop. Recommended artwork is
   2400x504 (about 4.8:1, ~300px tall at 1440px wide) with the left ~30% left open for the copy, which scales
   with the page width. Stacks below 1100px; there the left 24% of the image (the open area) is cropped away. */
.sale-banner { background: var(--white); }
.sale-banner-card { --sale-accent: var(--teal-d); position: relative; overflow: hidden; background: var(--teal-l); }
.sale-banner-img { display: block; width: 100%; height: auto; }
.sale-banner-copy { position: absolute; left: 3vw; top: 50%; transform: translateY(-50%); width: 25vw; max-width: 520px; }
.sale-banner-tag { display: inline-block; background: var(--sale-accent); color: #fff; font-size: clamp(.62rem, .8vw, .75rem); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 3px 10px; border-radius: 100px; margin-bottom: 8px; }
.sale-banner-title { font-family: 'Sora', sans-serif; font-size: clamp(1rem, 1.6vw, 1.7rem); line-height: 1.2; color: #1b1b1b; margin: 0 0 8px; }
.sale-banner-text { font-size: clamp(.78rem, .95vw, .95rem); line-height: 1.5; color: #3a3a3a; margin: 0 0 14px; }
.sale-banner .sale-banner-copy .btn { background: var(--sale-accent); color: #fff; padding: 9px 18px; font-size: clamp(.78rem, .9vw, .9rem); }
@media (max-width: 1100px) {
  .sale-banner-img { width: 131.6%; max-width: none; margin-left: -31.6%; }
  .sale-banner-copy { position: static; transform: none; width: auto; max-width: none; padding: 18px 22px 24px; }
  .sale-banner-title { font-size: 1.35rem; }
  .sale-banner-text { font-size: .95rem; }
  .sale-banner .sale-banner-copy .btn { font-size: .9rem; padding: 10px 22px; }
}

/* ACCREDITATION LOGOS (CAP certificate, AABB mark) */
.accred-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.accred-row img { display: block; width: auto; }
.accred-row .accred-cap { height: 44px; }
.footer-bottom .accred-row .accred-cap { height: 40px; }
.accred-row .accred-aabb { height: 22px; }
.footer-bottom .accred-row .accred-aabb { height: 40px; }

/* RESPONSIVE */
@media (max-width: 900px) {
	.wp-block-columns.split { grid-template-columns: 1fr; }
	.footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
	.footer-top { grid-template-columns: 1fr; }
}

/* FINE PRINT (regulatory disclaimers) */
.fine-print, .info-box p.fine-print { font-size: .78rem; line-height: 1.5; margin-top: 10px; color: var(--muted); }

/* BUTTON VARIANTS (ported from mockup shared.css) */
.btn-outline { background: transparent; color: var(--teal); border: 2px solid var(--teal); }
.btn-outline:hover { background: var(--teal-l); }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: #a87808; }
.btn-white { background: #fff; color: var(--teal-d); }
.btn-white:hover { background: #e8f8f5; }

/* DATA TABLE + RESULT CARDS (ported from mockup shared.css) */
.data-table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: .86rem; }
.data-table th { background: var(--teal); color: #fff; padding: 10px 14px; text-align: left; font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; }
.data-table td { padding: 10px 14px; border-bottom: 1px solid #ddf0f4; color: var(--text); }
.data-table tr:nth-child(even) td { background: var(--bg); }
.data-table .match { color: var(--teal-d); font-weight: 700; }
.data-table .no-match { color: #b91c1c; font-weight: 700; }
.result-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.result-card { border-radius: var(--radius); padding: 28px 24px; text-align: center; }
.result-card.include { background: var(--teal-l); border: 2px solid #a8e0e8; }
.result-card.exclude { background: #fdecea; border: 2px solid #f5b8b2; }
.result-pct { font-family: 'Sora', sans-serif; font-size: 2.2rem; font-weight: 800; margin-bottom: 8px; }
.result-card.include .result-pct { color: var(--teal-d); }
.result-card.exclude .result-pct { color: #b91c1c; }
.result-card h3 { font-size: .95rem; margin-bottom: 8px; }
.result-card.include h3 { color: var(--teal-d); }
.result-card.exclude h3 { color: #b91c1c; }
.result-card p:where(:not([class*="from-"])) { font-size: .84rem; line-height: 1.65; color: var(--mid); }
@media (max-width: 900px) { .result-cards { grid-template-columns: 1fr; } }

/* LINK CARDS on the service category archives (ported from mockup services.html). Scoped: home, services and
   food-testing have their own .service-card rules in their generated page CSS. */
.service-category .services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.service-category .service-card { border: 1.5px solid #ddf0f4; border-radius: var(--radius); padding: 32px 28px; background: var(--white); transition: box-shadow .25s, transform .2s, border-color .2s; text-decoration: none; display: block; color: var(--text); }
.service-category .service-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: var(--teal); }
.service-category .service-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--dark); margin-bottom: 10px; }
.service-category .service-card p:where(:not([class*="from-"])) { font-size: .87rem; color: var(--muted); line-height: 1.68; margin-bottom: 18px; }
.service-category .service-card .card-link { display: inline-flex; align-items: center; gap: 6px; font-size: .83rem; font-weight: 600; color: var(--teal); }
@media (prefers-reduced-motion: reduce) { .service-category .service-card, .service-category .service-card:hover { transition: none; transform: none; } }

/* CTA band built from blocks (patterns): the buttons paragraph, and the bright outline
   button used on dark bands (mockup services.html sets these colours inline). */
.cta-section .cta-actions { max-width: none; margin: 0; font-size: 1rem; color: inherit; }
.cta-section .btn-outline.is-bright { color: var(--wp--preset--color--teal-bright); border-color: var(--wp--preset--color--teal-bright); }
