/*
 * Canine Breeder 2026 revamp. Loaded with the Elementor header, footer and pages (functions.php cb_revamp_on()).
 * Words, pictures, colours, type and spacing live in Elementor (widgets and Site Settings); this sheet only does
 * what Elementor's own controls cannot: picture tiles, the directory widgets, hover and motion, small-screen fixes.
 */

body.cb-revamp {
	--ground: #F3F3F1;
	--tile: #E7E6E2;
	--tile-2: #DCDAD5;
	--tile-3: #D0CDC7;
	--ink: #111111;
	--ink-2: #4B4B4B;
	--paper: #FFFFFF;
	--accent: #E2001A;
	--accent-dark: #B30014;
	--r: 8px;
	--ease: cubic-bezier(.2, .7, .2, 1);
	--f-head: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
	--f-text: 'Inter', system-ui, sans-serif;
	--shade-0: #F4B8BF;
	--shade-1: #EC7A88;
	--shade-2: #E43E52;
	--shade-3: #B30014;
	background: var(--ground);
	color: var(--ink);
	font: 400 18px/1.55 var(--f-text);
	-webkit-font-smoothing: antialiased;
}
.cb-revamp .site-main, .cb-revamp .page-content { max-width: none; padding: 0; margin: 0; }
.cb-revamp .sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cb-revamp :focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.cb-revamp .elementor-widget-text-editor p { margin: 0 0 .6em; max-width: 65ch; }
.cb-revamp .elementor-widget-text-editor p:last-child { margin-bottom: 0; }
.cb-revamp .elementor-widget-text-editor a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.cb-revamp .elementor-heading-title { text-wrap: balance; }
.cb-revamp .elementor-button { min-height: 52px; transition: transform .15s var(--ease), background-color .15s; }
.cb-revamp .elementor-button:active { transform: scale(.97); }
.cb-push { margin-top: auto !important; }
.cb-h1 .elementor-heading-title { max-width: 12ch; }

/* Buttons printed by the Canine Breeder widgets (search, near me) */
.cb-revamp .cb-wbtn { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 22px; border-radius: var(--r); border: 0; background: var(--accent); color: var(--paper); font: 600 18px/1 var(--f-text); text-decoration: none; cursor: pointer; transition: transform .15s var(--ease), background-color .15s; }
.cb-revamp .cb-wbtn:hover { background: var(--accent-dark); color: var(--paper); }
.cb-revamp .cb-wbtn:active { transform: scale(.97); }
.cb-revamp .cb-wbtn--paper { background: var(--paper); color: var(--ink); }
.cb-revamp .cb-wbtn--paper:hover { background: var(--tile); color: var(--ink); }
.cb-ico { width: 22px; height: 22px; flex: none; fill: currentColor; }

/* ---------- Header (saved template) ---------- */
.cb-top { position: relative; z-index: 20; }
.cb-revamp .cb-top__logo { text-align: left; }
.cb-top__logo img { display: block; width: 100%; height: auto; }
.cb-top__nav { margin-left: auto; }
.cb-top__nav .elementor-icon-list-items { gap: 6px; }
.cb-top__nav .elementor-icon-list-item > a { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 14px; border-radius: var(--r); transition: background-color .15s; }
.cb-top__nav .elementor-icon-list-item > a:hover, .cb-top__nav .elementor-icon-list-item > a:focus-visible { background: var(--tile); }
.cb-top__nav .elementor-icon-list-icon svg { width: 22px; height: 22px; }

/* ---------- Picture tiles: the whole tile is the link; the label sits on the photo ---------- */
.cb-pic { position: relative; overflow: hidden; }
.e-con.cb-pic__link { position: absolute; inset: 0; --width: 100%; text-decoration: none; color: inherit; }
.cb-pic__img, .cb-job__img, .cb-act__img { position: absolute !important; inset: 0; margin: 0 !important; }
.cb-pic__img img, .cb-job__img img, .cb-act__img img { width: 100% !important; height: 100% !important; max-width: none; object-fit: cover; transition: transform .6s var(--ease); }
.cb-pic__link:hover .cb-pic__img img, .cb-pic__link:focus-visible .cb-pic__img img,
.cb-job:hover .cb-job__img img, .cb-job:focus-visible .cb-job__img img { transform: scale(1.05); }
.cb-revamp .e-con.cb-pic__label { --width: auto; --flex-wrap: nowrap; --flex-wrap-mobile: nowrap; position: relative; border-radius: 0 var(--r) 0 0; }
.cb-revamp .cb-pic__label > .e-con { --width: auto; }
.cb-pic__note p { margin: 0; }
.cb-pic--hero .cb-pic__img img { animation: cb-drift 24s ease-in-out infinite alternate; }
@keyframes cb-drift { from { transform: scale(1); } to { transform: scale(1.07) translateX(-1.5%); } }

/* Read aloud buttons */
.elementor-widget-cb-read-aloud.cb-say--corner-yes { position: absolute !important; top: 12px; right: 12px; z-index: 3; width: auto !important; }
.cb-revamp .cb-say { width: 48px; height: 48px; padding: 0; border-radius: 50%; border: 0; background: var(--paper); color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: transform .15s var(--ease), background-color .15s; }
.cb-revamp .cb-say:hover { background: var(--tile); color: var(--ink); }
.cb-revamp .cb-say:active { transform: scale(.92); }
.cb-revamp .cb-say[aria-pressed="true"] { background: var(--accent); color: var(--paper); }
.cb-revamp .cb-say svg { width: 22px; height: 22px; fill: currentColor; }
.cb-no-speech .elementor-widget-cb-read-aloud { display: none; }
.cb-step, .cb-near-tile, .cb-stars__intro { position: relative; }
/* Keep the first heading clear of a corner read-aloud button. */
.e-con:has(> .elementor-widget-cb-read-aloud.cb-say--corner-yes) > .elementor-widget-heading:first-child { padding-right: 56px; }

/* ---------- Hero search ---------- */
.cb-find { display: grid; grid-template-columns: 1fr 1fr auto; gap: 8px; margin: 0; }
.cb-find label { display: block; margin: 0; line-height: 0; }
.cb-find input { display: block; width: 100%; height: 56px; border: 0; border-radius: var(--r); padding: 0 14px; font: 500 17px var(--f-text); background: var(--paper); color: var(--ink); box-shadow: none; }
.cb-find input::placeholder { color: #666; }
.cb-find .cb-wbtn { height: 56px; }
.cb-hero__or .elementor-icon-list-icon svg { width: 18px; height: 18px; }

/* Near me tile */
.cb-near { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto 1fr auto; column-gap: 18px; height: 100%; color: var(--paper); }
.cb-near__ico { width: 46px; height: 46px; grid-row: 1 / 3; }
.cb-near__title { margin: 0; font: 800 clamp(30px, 3.1vw, 48px)/1.02 var(--f-head); letter-spacing: -0.03em; color: var(--paper); }
.cb-near__out { grid-column: 2; margin: 6px 0 18px; font-weight: 600; max-width: 30ch; }
.cb-near .cb-wbtn { grid-column: 1 / 3; justify-self: start; align-self: end; }
.elementor-widget-cb-near-me { height: 100%; }

/* ---------- Breed tiles ---------- */
.cb-breedgrid { --cols: 4; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: 8px; }
.cb-revamp .cb-breed { display: flex; flex-direction: column; height: 100%; border-radius: var(--r); overflow: hidden; text-decoration: none; color: var(--ink); background: var(--tile); transition: background-color .2s, color .2s; }
.cb-breed__pic { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--tile-2); }
.cb-breed__pic img { width: 100%; height: 100%; object-fit: cover; object-position: center 62%; transition: transform .5s var(--ease); }
.cb-revamp .cb-breed:hover, .cb-revamp .cb-breed:focus-visible { background: var(--ink); color: var(--paper); }
.cb-breed:hover img, .cb-breed:focus-visible img { transform: scale(1.05); }
.cb-breed__label { display: block; padding: 14px 18px 16px; }
.cb-breed__name { display: block; font: 800 clamp(20px, 1.6vw, 24px)/1.15 var(--f-head); letter-spacing: -0.02em; }
.cb-breed__count { display: block; font-size: 15px; font-weight: 500; margin-top: 3px; }

/* ---------- Before you pay ---------- */
.cb-step { overflow: hidden; }
.cb-step__img { margin: 0 !important; }
.cb-step__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.cb-step--photo .cb-step__img { flex: 1 1 auto; position: relative; min-height: 300px; }
.cb-step--photo .cb-step__img img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; }

/* ---------- Star ratings table ---------- */
.cb-bands { width: 100%; border-collapse: separate; border-spacing: 0 4px; margin: -4px 0; border: 0; }
.cb-bands caption, .cb-bands thead, .cb-bands tr { border: 0; background: none; }
.cb-bands thead th { text-align: left; font: 600 15px var(--f-text); padding: 0 24px 6px; background: none; border: 0; }
.cb-bands tbody th, .cb-bands td { background: var(--tile); padding: 20px 24px; text-align: left; vertical-align: middle; font-weight: 400; border: 0; }
.cb-bands tbody tr:nth-child(even) th, .cb-bands tbody tr:nth-child(even) td { background: var(--tile-2); }
.cb-bands tbody th { border-radius: var(--r) 0 0 var(--r); width: 168px; }
.cb-bands td:last-child { border-radius: 0 var(--r) var(--r) 0; }
.cb-bands__stars { display: flex; gap: 3px; color: var(--accent); }
.cb-bands__stars svg { width: 26px; height: 26px; fill: currentColor; }
.cb-bands b { font: 700 18px/1.2 var(--f-text); display: block; }
.cb-bands__count { text-align: right !important; font: 800 clamp(20px, 1.6vw, 24px)/1 var(--f-head); font-variant-numeric: tabular-nums; }
.cb-bands thead th:last-child { text-align: right; }
.cb-bar { display: block; height: 10px; background: var(--paper); border-radius: 5px; margin-top: 8px; overflow: hidden; }
.cb-bar i { display: block; height: 100%; background: var(--ink); width: 0; transition: width 1s var(--ease); }

/* ---------- Map ---------- */
.cb-map__map { flex: 1 1 auto; min-width: 0; }
.cb-map__svg { display: block; width: 100%; height: 100%; max-height: 720px; }
.cb-map__region { cursor: pointer; }
.cb-map__region:focus-visible { outline: none; }
.cb-map__shape { stroke: var(--tile); stroke-width: 1.5; transition: fill .2s; }
.cb-map__shape--0, .cb-map__swatch--0 { fill: var(--shade-0); background: var(--shade-0); }
.cb-map__shape--1, .cb-map__swatch--1 { fill: var(--shade-1); background: var(--shade-1); }
.cb-map__shape--2, .cb-map__swatch--2 { fill: var(--shade-2); background: var(--shade-2); }
.cb-map__shape--3, .cb-map__swatch--3 { fill: var(--shade-3); background: var(--shade-3); }
.cb-map__region:hover .cb-map__shape, .cb-map__region:focus-visible .cb-map__shape, .cb-map__region.is-on .cb-map__shape { fill: var(--ink); }
.cb-map__now { margin-top: 10px; background: var(--paper); border-radius: var(--r); padding: 18px; min-height: 96px; }
.cb-map__now b { display: block; font: 800 clamp(20px, 1.6vw, 24px)/1.1 var(--f-head); }
.cb-map__key { margin-top: 18px; display: grid; gap: 6px; font-size: 15px; }
.cb-map__key span { display: flex; align-items: center; gap: 10px; }
.cb-map__key i { width: 22px; height: 14px; border-radius: 3px; display: inline-block; }
.cb-regions { list-style: none; margin: 0; padding: 0; display: grid; grid-auto-rows: 1fr; gap: 4px; height: 100%; }
.cb-regions a { display: flex; justify-content: space-between; align-items: center; height: 100%; min-height: 48px; padding: 0 20px; border-radius: var(--r); background: var(--tile); color: var(--ink); text-decoration: none; font-weight: 600; transition: background-color .15s, color .15s; }
.cb-regions li:nth-child(even) a { background: var(--tile-2); }
.cb-regions a:hover, .cb-regions a.is-on, .cb-regions a:focus-visible { background: var(--ink); color: var(--paper); }
.cb-regions__n { font: 800 18px var(--f-head); font-variant-numeric: tabular-nums; }
.elementor-widget-cb-region-list { height: 100%; }

/* ---------- Dogs with a job ---------- */
.cb-job { position: relative; overflow: hidden; text-decoration: none; }
.cb-revamp .cb-job, .cb-revamp .cb-pic__link, .cb-revamp .cb-foot__go, .cb-revamp .cb-map__region { color: var(--ink); }
.cb-revamp .cb-job__label { position: absolute !important; left: 0; bottom: 0; width: auto !important; max-width: 90%; background: var(--paper); padding: 12px 18px; border-radius: 0 var(--r) 0 0; }

/* ---------- Breed dogs? ---------- */
.cb-act__pic { position: relative; overflow: hidden; }
.cb-ticks .elementor-icon-list-items { display: grid; gap: 8px; }
.cb-ticks .elementor-icon-list-item { background: var(--accent-dark); border-radius: var(--r); padding: 16px 20px !important; margin: 0 !important; }
.cb-ticks .elementor-icon-list-icon svg { width: 26px; height: 26px; }

/* ---------- Questions (Elementor accordion) ---------- */
.cb-sticky .elementor-heading-title { position: sticky; top: 24px; }
.cb-qa .e-n-accordion { display: grid; gap: 8px; }
.cb-qa .e-n-accordion-item { background: var(--tile); border-radius: var(--r); overflow: hidden; }
.cb-qa .e-n-accordion-item-title { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; padding: 0 26px; border: 0 !important; background: none !important; cursor: pointer; }
.cb-qa .e-n-accordion-item-title-text { font: 600 18px/1.3 var(--f-text); letter-spacing: 0; color: inherit; margin: 0; }
.cb-qa .e-n-accordion-item-title-icon svg { width: 18px; height: 18px; fill: currentColor; }
.cb-qa .e-n-accordion-item[open] { background: var(--ink); color: var(--paper); }
.cb-qa .e-n-accordion-item[open] .elementor-widget-text-editor, .cb-qa .e-n-accordion-item[open] .elementor-widget-text-editor * { color: var(--paper) !important; }
.cb-qa .cb-qa__a { padding: 0 26px 26px !important; border: 0 !important; background: none !important; }

/* ---------- Footer (saved template): a dark band ---------- */
.cb-foot .cb-foot__logo img { width: 100%; height: auto; }
.cb-foot .cb-foot__links .elementor-icon-list-items { display: grid; gap: 8px; }
.cb-revamp .cb-foot a:hover .elementor-icon-list-text, .cb-revamp .cb-foot__legal a:hover .elementor-icon-list-text { color: var(--paper) !important; text-decoration: underline; text-underline-offset: 3px; }
.cb-revamp .cb-foot__safe a { color: var(--paper); text-decoration: underline; }
.cb-foot__safe p { margin: 0; }
.cb-foot__legal .elementor-icon-list-items { gap: 6px 18px; }
@media (max-width: 767px) { .cb-foot__intro .elementor-widget-text-editor p { font-size: 18px; } }
/* (older footer rules below kept for the tiles they still style) */
.cb-foot-wrap { margin: 0; }
.cb-foot__links .elementor-icon-list-items { display: grid; gap: 6px; }
.cb-foot__links a:hover, .cb-foot__legal a:hover, .cb-foot__mail a:hover { text-decoration: underline; }
.cb-foot__logo img { width: 100%; height: auto; }
.cb-foot__go { text-decoration: none; }
.cb-foot__go-title .elementor-heading-title { max-width: 10ch; }
.cb-foot__go-arrow { align-self: flex-end; transition: transform .2s var(--ease); }
.cb-foot__go:hover .cb-foot__go-arrow { transform: translateX(6px); }
.cb-foot__legal .elementor-icon-list-items { gap: 4px 18px; }
.cb-foot__credit p { max-width: 90ch; }
.cb-foot__mail .elementor-icon-list-text { overflow-wrap: anywhere; }

/* =========================================================================
 * Directory pages (theme PHP templates, not yet rebuilt in Elementor) in the new look:
 * one column width with the header, flat tiles instead of red-topped boxes, no shadows or gradients.
 * ====================================================================== */
.cb-revamp .site-main { max-width: 1240px; padding-left: 32px; padding-right: 32px; }
.cb-revamp .cb-shell { max-width: 1176px; }
.cb-revamp :is(h1, h2, h3, .entry-title, .cb-banner__title) { font-family: var(--f-head); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; color: var(--ink); text-wrap: balance; }
.cb-revamp .page-content > h2, .cb-revamp .cb-shell__main h2 { font-size: clamp(26px, 2.4vw, 36px); }
.cb-revamp .page-content p, .cb-revamp .page-content li { max-width: 70ch; }

/* Photo banner: the photo with an ink label in its corner, like the home tiles. */
.cb-revamp .cb-banner { border: 0; border-radius: var(--r); min-height: clamp(220px, 24vw, 320px); margin: 8px 0 32px; background: var(--tile-2); }
.cb-revamp .cb-banner::after { content: none; }
.cb-revamp .cb-banner__inner { background: var(--ink); border-radius: 0 var(--r) 0 0; padding: 20px 28px 22px; max-width: min(46rem, 92%); }
.cb-revamp .cb-banner .cb-banner__title { font-size: clamp(30px, 3.1vw, 48px); text-shadow: none; color: var(--paper); }
.cb-revamp .cb-banner__crumbs ol { font-size: 15px; letter-spacing: 0; font-weight: 500; }
.cb-revamp .cb-banner__crumbs li + li::before { color: var(--shade-0); }
.cb-revamp .cb-banner__lead, .cb-revamp .cb-banner__lead p { font-size: 17px; color: #E6E6E6; }

/* Breed pages: the breed's own photo beside an ink title tile. */
.cb-revamp .cb-banner--breed { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 8px; align-items: stretch; background: none; min-height: 0; overflow: visible; }
.cb-revamp .cb-banner--breed .cb-banner__pic { border-radius: var(--r); overflow: hidden; background: var(--tile-2); aspect-ratio: 4 / 3; }
.cb-revamp .cb-banner--breed .cb-banner__pic img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; display: block; }
.cb-revamp .cb-banner--breed .cb-banner__inner { border-radius: var(--r); max-width: none; display: flex; flex-direction: column; justify-content: flex-end; padding: 32px; }
@media (max-width: 767px) {
	.cb-revamp .cb-banner--breed { grid-template-columns: 1fr; }
	.cb-revamp .cb-banner--breed .cb-banner__inner { padding: 18px 20px 20px; border-radius: var(--r); }
}

/* Tiles: cards, index groups, guides, filters, profile head, notices. */
.cb-revamp :is(.cb-card, .cb-index__group, .cb-guides .cb-card, .cb-filters-wrap, .cb-profile__head, .cb-legal-list li, .cb-404__search) { background: var(--tile); border: 0; border-radius: var(--r); box-shadow: none; }
.cb-revamp a.cb-card--link:hover, .cb-revamp a.cb-card--link:focus-visible, .cb-revamp .cb-card--listing:hover, .cb-revamp .cb-card--listing:focus-within { transform: none; box-shadow: none; background: var(--tile-2); }
.cb-revamp .cb-card strong { font-family: var(--f-head); font-weight: 800; letter-spacing: -0.02em; }
.cb-revamp .cb-sponsored { border: 0 !important; box-shadow: inset 0 0 0 2px var(--accent); }
.cb-revamp :is(.cb-invite, .cb-showcase) { border: 0; border-radius: var(--r); }
.cb-revamp :is(.cb-invite--strip, .cb-showcase__testimonials figure, .cb-sponsored-label) { border: 0; background: var(--tile); }
.cb-revamp .cb-showcase { border-top: 0; }
.cb-revamp .cb-breeds__img { border-bottom: 0; }
.cb-revamp .cb-chips a { border: 0; background: var(--tile); border-radius: var(--r); min-height: 44px; display: inline-flex; align-items: center; }
.cb-revamp .cb-chips a:hover, .cb-revamp .cb-chips a:focus-visible { background: var(--ink); color: var(--paper); }
.cb-revamp .cb-filters__summary::after { color: var(--ink); }
.cb-revamp :is(.cb-filters input, .cb-filters select) { border-radius: var(--r); }

/* Claim box (ink tile, like "Breed dogs?" on the home page) and house adverts. */
.cb-revamp .cb-claim { background: var(--ink); color: #E6E6E6; border: 0; border-radius: var(--r); padding: 28px; }
.cb-revamp .cb-claim h2 { color: var(--paper); }
.cb-revamp .cb-claim a:not(.cb-btn) { color: var(--paper); }
.cb-revamp .cb-ad--house { border: 0; background: var(--tile); }
.cb-revamp .cb-ad img { border: 0; border-radius: var(--r); }

/* Empty breed, puppies and stud pages (cb_empty_state). */
.cb-empty { display: grid; gap: 32px; margin: 0 0 40px; }
.cb-empty__tile { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 8px; }
.cb-empty__tile:not(:has(.cb-empty__pic)) { grid-template-columns: 1fr; }
.cb-empty__pic { border-radius: var(--r); overflow: hidden; background: var(--tile-2); min-height: 260px; }
.cb-empty__pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cb-empty__text { background: var(--ink); color: #E6E6E6; border-radius: var(--r); padding: 32px; display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.cb-revamp .cb-empty__text h2 { color: var(--paper); font-size: clamp(26px, 2.6vw, 40px); margin: 0; padding-right: 48px; }
.cb-empty__text p { margin: 0; font-size: 20px; line-height: 1.4; max-width: 36ch; }
.cb-empty__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px !important; }
.cb-revamp .cb-empty a.cb-btn.cb-btn--paper { background: var(--paper); color: var(--ink); border: 0; border-radius: var(--r); min-height: 48px; display: inline-flex; align-items: center; padding: 0 20px; text-decoration: none; font-weight: 600; }
.cb-revamp .cb-empty a.cb-btn.cb-btn--paper:hover { background: var(--tile); }
.cb-empty .cb-say { position: absolute; top: 12px; right: 12px; }
.cb-empty__breeder { font-size: 15px; color: var(--ink-2); }
.cb-chips__n { font-weight: 800; margin-left: 6px; }
@media (max-width: 767px) {
	.cb-empty__tile { grid-template-columns: 1fr; }
	.cb-empty__pic { min-height: 0; aspect-ratio: 4 / 3; }
	.cb-empty__text { padding: 22px 20px; }
	.cb-empty__text p { font-size: 18px; }
}

/* Location pages (mu-plugins/cb-locations.php). */
.cb-loc-block { margin: 48px 0 0; }
.cb-loc-block > h2 { margin: 0 0 10px; }
.cb-loc-block > p { margin: 0 0 16px; }
.cb-loc-note { font-size: 16px; color: var(--ink-2); margin-top: 12px !important; }
.cb-bands--small { max-width: 560px; }
.cb-bands--small tbody th { width: 160px; padding: 12px 18px; }
.cb-bands--small td { padding: 12px 18px; }
.cb-bands--small .cb-bar { margin: 0; }
.cb-bands--small .cb-bands__stars svg { width: 22px; height: 22px; }
.cb-councilgrid, .cb-placegrid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 8px; }
.cb-council { background: var(--tile); border-radius: var(--r); padding: 18px 20px; display: flex; flex-direction: column; gap: 6px; }
.cb-council b { font: 800 20px/1.2 var(--f-head); letter-spacing: -0.02em; }
.cb-council span { font-size: 15px; color: var(--ink-2); }
.cb-revamp .cb-council__go { align-self: flex-start; margin-top: 8px; display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: var(--r); background: var(--ink); color: var(--paper); font-weight: 600; text-decoration: none; }
.cb-revamp .cb-council__go:hover { background: #333; color: var(--paper); }
.cb-placegrid li { margin: 0; }
.cb-revamp .cb-placegrid a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 10px 18px; border-radius: var(--r); background: var(--tile); color: var(--ink); font-weight: 600; text-decoration: none; }
.cb-placegrid li:nth-child(even) a { background: var(--tile-2); }
.cb-revamp .cb-placegrid a:hover, .cb-revamp .cb-placegrid a:focus-visible { background: var(--ink); color: var(--paper); }
.cb-placegrid small { display: block; font-size: 14px; font-weight: 500; opacity: .8; }
.cb-placegrid__n { font: 800 18px var(--f-head); font-variant-numeric: tabular-nums; }
.cb-revamp .cb-lead { font-size: clamp(20px, 1.6vw, 24px); line-height: 1.35; max-width: 46ch; }

/* Places with breeders (cb-place-index widget). */
.cb-pindex { margin: 0 0 36px; }
.cb-revamp .cb-pindex__title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin: 0 0 12px; font-size: clamp(22px, 2vw, 28px); }
.cb-revamp .cb-pindex__title a { color: inherit; text-decoration: none; }
.cb-revamp .cb-pindex__title a:hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 4px; }
.cb-pindex__n { font: 600 16px var(--f-text); letter-spacing: 0; color: var(--ink-2); }
@media (max-width: 767px) {
	.cb-councilgrid { grid-template-columns: 1fr; }
	.cb-placegrid { grid-template-columns: 1fr 1fr; }
	.cb-revamp .cb-placegrid a { min-height: 52px; padding: 8px 12px; font-size: 15px; line-height: 1.25; }
}

/* Content pages built in Elementor: tiles, link tiles, big lists. */
.cb-herotile, .cb-tile, .cb-linktile { position: relative; }
.cb-linktile { text-decoration: none; transition: filter .15s; }
.cb-linktile .elementor-icon-wrapper, .cb-linktile .elementor-heading-title { text-align: left; }
.cb-revamp .e-con.cb-linktile:hover, .cb-revamp .e-con.cb-linktile:focus-visible { filter: brightness(.94); }
.cb-biglist .elementor-icon-list-items { display: grid; gap: 12px; }
.cb-biglist .elementor-icon-list-item { align-items: flex-start !important; }
.cb-biglist .elementor-icon-list-icon { padding-top: 3px; }
.cb-biglist .elementor-icon-list-text { font-size: 20px; line-height: 1.35; }
.e-con:has(> .elementor-widget-cb-read-aloud.cb-say--corner-yes) > .elementor-widget-icon:first-child + .elementor-widget-heading { padding-right: 56px; }

/* Price tables (plan compare, all prices, advert prices): rows as tiles, no rules. */
.cb-revamp :is(.cb-prices, .cb-table) { border-collapse: separate; border-spacing: 0 4px; background: none; border-radius: 0; margin: -4px 0; width: 100%; }
.cb-revamp :is(.cb-prices, .cb-table) th { background: none; color: var(--ink); font: 600 15px var(--f-text); border: 0; padding: 0 18px 6px; }
.cb-revamp :is(.cb-prices, .cb-table) td { background: var(--tile); border: 0; padding: 16px 18px; vertical-align: top; }
.cb-revamp :is(.cb-prices, .cb-table) tbody tr:nth-child(even) td { background: var(--tile-2); }
.cb-revamp :is(.cb-prices, .cb-table) td:first-child { border-radius: var(--r) 0 0 var(--r); font-weight: 700; }
.cb-revamp :is(.cb-prices, .cb-table) td:last-child { border-radius: 0 var(--r) var(--r) 0; }
.cb-revamp .cb-prices td:nth-child(2) { white-space: nowrap; font: 800 18px var(--f-head); }
.cb-pricetable { overflow-x: auto; }
@media (max-width: 767px) {
	.cb-revamp :is(.cb-prices, .cb-table) thead { display: none; }
	.cb-revamp :is(.cb-prices, .cb-table), .cb-revamp :is(.cb-prices, .cb-table) tbody, .cb-revamp :is(.cb-prices, .cb-table) tr, .cb-revamp :is(.cb-prices, .cb-table) td { display: block; }
	.cb-revamp :is(.cb-prices, .cb-table) tr { margin-bottom: 6px; }
	.cb-revamp :is(.cb-prices, .cb-table) td { border-radius: 0 !important; padding: 10px 16px; }
	.cb-revamp :is(.cb-prices, .cb-table) td:first-child { border-radius: var(--r) var(--r) 0 0 !important; padding-top: 14px; }
	.cb-revamp :is(.cb-prices, .cb-table) td:last-child { border-radius: 0 0 var(--r) var(--r) !important; padding-bottom: 14px; }
	.cb-revamp .cb-plans td:nth-child(2)::before { content: "Free: "; font-weight: 600; }
	.cb-revamp .cb-plans td:nth-child(3)::before { content: "Premium: "; font-weight: 600; }
	.cb-revamp .cb-plans td:nth-child(2), .cb-revamp .cb-plans td:nth-child(3) { text-align: left; }
}

/* All breeds (cb-breed-index widget). */
.cb-bindex__tools { display: grid; gap: 12px; margin: 0 0 32px; }
.cb-bfind input { width: 100%; max-width: 560px; height: 60px; border: 0; border-radius: var(--r); padding: 0 18px; font: 500 20px var(--f-text); background: var(--paper); color: var(--ink); }
.cb-revamp .cb-bindex__jump { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.cb-revamp .cb-bindex__jump a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: var(--r); background: var(--tile); color: var(--ink); font-weight: 600; text-decoration: none; }
.cb-revamp .cb-bindex__jump a:hover { background: var(--ink); color: var(--paper); }
.cb-bindex__group { margin: 0 0 48px; scroll-margin-top: 24px; }
.cb-bindex__group[hidden], .cb-bindex li[hidden] { display: none; }
.cb-revamp .cb-bindex__title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin: 0 0 14px; font-size: clamp(26px, 2.4vw, 36px); }
.cb-revamp .cb-bindex__title a { color: inherit; text-decoration: none; }
.cb-bindex__none { font-size: 20px; font-weight: 600; }
.cb-breed__pic--none { display: grid; place-items: center; }
.cb-breed__none { width: 38%; height: auto; fill: var(--tile-3); }
.cb-revamp .cb-breed:hover .cb-breed__none { fill: var(--ink-2); }
.cb-bindex .cb-breed__name { font-size: clamp(17px, 1.3vw, 20px); }

/* Breeder profile: licence card and nearby breeders (cb-premium.php). */
.cb-licence { background: var(--tile); border-radius: var(--r); padding: 28px; margin: 24px 0 8px; display: grid; gap: 12px; }
.cb-licence.is-soon { background: #FBE7C6; }
.cb-licence.is-ended { background: #F4B8BF; }
.cb-revamp .cb-licence h2 { margin: 0; font-size: clamp(24px, 2.2vw, 32px); }
.cb-licence__stars { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 0; }
.cb-licence__row { display: inline-flex; gap: 3px; }
.cb-licence__row svg { width: 30px; height: 30px; display: block; }
.cb-licence__row .on svg { fill: var(--accent); }
.cb-licence__row .off svg { fill: var(--tile-3); }
.cb-licence__stars b { font: 800 20px var(--f-head); }
.cb-licence__note, .cb-licence__tip { margin: 0; color: var(--ink-2); font-size: 16px; }
.cb-licence .cb-facts { margin: 0; }
.cb-licence__state { display: block; margin-top: 4px; }
.cb-revamp .cb-licence__go { display: inline-flex; align-items: center; min-height: 48px; padding: 0 18px; border-radius: var(--r); background: var(--ink); color: var(--paper); font-weight: 600; text-decoration: none; }
.cb-revamp .cb-licence__go:hover { background: #333; color: var(--paper); }
.cb-nearby { margin-top: 40px; }

/* ---------- Owner's changes, 26 Oct 2026 ---------- */

/* 1. Listings without a logo: the Canine Breeder mark on a white tile, the same everywhere. */
.cb-revamp img.cb-logo-img--ph { object-fit: contain !important; background: var(--paper) !important; padding: 14%; border: 0 !important; border-radius: 12px; box-sizing: border-box; }
.cb-revamp .cb-profile__logo img.cb-logo-img--ph { padding: 16%; border-radius: 16px; }

/* Claimed listings: a green tick. */
.cb-claimed { display: inline-flex; align-items: center; gap: 4px; vertical-align: middle; color: #137333; font: 700 14px/1 var(--f-text); letter-spacing: 0; white-space: nowrap; }
.cb-claimed__ico { width: 16px; height: 16px; fill: #1E8E3E; flex: none; }
.cb-card__title .cb-claimed__text, .cb-nearcard .cb-claimed__text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.cb-trust .cb-claimed { background: #E6F4EA; border-radius: 999px; padding: 6px 10px; margin-right: 6px; font-size: 14px; }
.cb-trust .cb-claimed .cb-claimed__ico { width: 18px; height: 18px; }

/* 2. Empty advert spaces: a dashed box the size of a real advert. */
.cb-revamp .cb-ad--house.cb-adslot { background: none; border: 0; padding: 0; width: 300px; max-width: 100%; }
.cb-adslot .cb-ad__label { display: block; font: 600 13px/1.2 var(--f-text); color: var(--ink-2); margin: 0 0 6px; text-transform: none; letter-spacing: 0; }
.cb-adslot__box { position: relative; aspect-ratio: 300 / 250; min-height: max-content; border: 2px dashed #A8A49C; border-radius: var(--r); background: repeating-linear-gradient(135deg, rgba(17,17,17,.025) 0 12px, transparent 12px 24px), var(--ground); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 18px; text-align: center; }
.cb-adslot__ico { width: 34px; height: 34px; fill: var(--ink-2); opacity: .7; }
.cb-adslot__box strong { font: 800 20px/1.15 var(--f-head); letter-spacing: -0.02em; color: var(--ink); }
.cb-adslot__line { font-size: 15px; line-height: 1.35; color: var(--ink-2); max-width: 24ch; }
.cb-revamp .cb-adslot .cb-btn { min-height: 44px; margin-top: 4px; }
.cb-adslot__size { font: 600 12px/1 var(--f-text); color: #8A867E; margin-top: 2px; }

/* 3. Other breeders near here: equal cards with logos. */
.cb-nearcards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); grid-auto-rows: 1fr; gap: 8px; }
.cb-nearcards li { margin: 0; }
.cb-revamp .cb-nearcard { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; align-items: center; gap: 14px; height: 100%; min-height: 96px; padding: 14px 16px; border-radius: var(--r); background: var(--tile); color: var(--ink); text-decoration: none; transition: background-color .15s; }
.cb-revamp .cb-nearcard:hover, .cb-revamp .cb-nearcard:focus-visible { background: var(--tile-2); }
.cb-nearcard__logo, .cb-nearcard__logo img { width: 56px; height: 56px; display: block; border-radius: 12px; object-fit: contain; background: var(--paper); }
.cb-nearcard__body { min-width: 0; display: grid; gap: 4px; }
.cb-nearcard__name { font: 700 17px/1.25 var(--f-text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cb-nearcard__sub { font-size: 14px; line-height: 1.35; color: var(--ink-2); }
.cb-nearcard__stars { font: 800 16px/1 var(--f-head); color: var(--accent); white-space: nowrap; }
.cb-nearcard .cb-claimed { position: absolute; top: 8px; right: 8px; }

/* 5. Profile header: source line and claim button. */
.cb-profile__source { margin: 10px 0 0; font-size: 15px; color: var(--ink-2); max-width: 60ch; }
.cb-profile__source b { color: var(--ink); }
.cb-profile__claim { margin: 14px 0 0; }
.cb-revamp a.cb-btn.cb-btn--claim { display: inline-flex; align-items: center; gap: 10px; background: #1E8E3E; color: var(--paper); min-height: 48px; padding: 0 18px; border-radius: var(--r); font-weight: 700; text-decoration: none; }
.cb-revamp a.cb-btn.cb-btn--claim:hover { background: #137333; }
.cb-btn--claim .cb-ico { width: 18px; height: 18px; fill: currentColor; }
.cb-claim { scroll-margin-top: 24px; }

/* 6. The breeder advert: headline, four picture tiles, one big button. */
.cb-upsell { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 8px; margin: 32px 0; }
.cb-upsell__main { background: var(--accent); color: var(--paper); border-radius: var(--r); padding: 32px; display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.cb-upsell__tag { align-self: flex-start; margin: 0; background: var(--accent-dark); color: var(--paper); border-radius: 999px; padding: 6px 12px; font: 700 14px/1 var(--f-text); }
.cb-revamp .cb-upsell h2 { color: var(--paper); margin: 0; font-size: clamp(28px, 2.8vw, 42px); max-width: 16ch; }
.cb-upsell__line { margin: 0; font-size: 19px; line-height: 1.4; max-width: 32ch; }
.cb-revamp .cb-upsell a.cb-upsell__go { align-self: flex-start; display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 0 24px; border-radius: var(--r); background: var(--paper); color: var(--ink); font: 700 19px/1 var(--f-text); text-decoration: none; margin-top: 6px; }
.cb-revamp .cb-upsell a.cb-upsell__go:hover { background: var(--tile); }
.cb-upsell__arrow { width: 18px; height: 18px; fill: currentColor; }
.cb-upsell__small { margin: 0; font-size: 15px; color: #FFD9DD; }
.cb-upsell__small a { color: var(--paper); text-decoration: underline; }
.cb-upsell__perks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cb-upsell__perks li { margin: 0; background: var(--ink); color: #E6E6E6; border-radius: var(--r); padding: 22px; display: flex; flex-direction: column; gap: 6px; }
.cb-upsell__ico { width: 30px; height: 30px; fill: var(--accent); margin-bottom: 4px; }
.cb-upsell__perks b { font: 800 20px/1.15 var(--f-head); color: var(--paper); letter-spacing: -0.02em; }
.cb-upsell__perks span { font-size: 15px; line-height: 1.4; }
.cb-adbar { display: flex; align-items: center; gap: 16px; background: var(--ink); color: #E6E6E6; border-radius: var(--r); padding: 18px 22px; margin: 32px 0; }
.cb-adbar p { margin: 0; flex: 1; }
.cb-adbar strong { color: var(--paper); }
.cb-adbar__ico { width: 30px; height: 30px; fill: var(--accent); flex: none; }
.cb-revamp .cb-adbar a.cb-btn--paper { background: var(--paper); color: var(--ink); border: 0; border-radius: var(--r); min-height: 46px; display: inline-flex; align-items: center; padding: 0 18px; font-weight: 700; text-decoration: none; white-space: nowrap; }

@media (max-width: 1024px) {
	.cb-upsell { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
	.cb-nearcards { grid-auto-rows: auto; }
	.cb-upsell__main { padding: 24px 20px; }
	.cb-upsell__perks { grid-template-columns: 1fr 1fr; }
	.cb-upsell__perks li { padding: 16px; }
	.cb-upsell__perks b { font-size: 17px; }
	.cb-adbar { flex-wrap: wrap; }
	.cb-revamp .cb-ad--house.cb-adslot { margin: 0 auto; }
}

/* ---------- Report or remove a listing (cb-requests.php) ---------- */

/* At the foot of every listing: three big buttons. */
.cb-report { margin: 48px 0 0; padding: 28px; border-radius: var(--r); background: var(--tile); }
.cb-revamp .cb-report h2 { margin: 0 0 6px; font-size: clamp(22px, 2vw, 28px); }
.cb-report > p { margin: 0 0 18px; color: var(--ink-2); }
.cb-report__btns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.cb-revamp a.cb-report__btn { display: flex; align-items: flex-start; gap: 14px; min-height: 88px; padding: 18px; border-radius: var(--r); background: var(--paper); color: var(--ink); text-decoration: none; border: 2px solid transparent; transition: border-color .15s, background-color .15s; }
.cb-revamp a.cb-report__btn:hover, .cb-revamp a.cb-report__btn:focus-visible { border-color: var(--ink); }
.cb-report__ico { width: 26px; height: 26px; flex: none; fill: var(--ink); margin-top: 2px; }
.cb-report__btn--remove .cb-report__ico { fill: var(--accent); }
.cb-report__btn--concern .cb-report__ico { fill: #B06000; }
.cb-report__btn span { display: grid; gap: 4px; }
.cb-report__btn b { font: 700 18px/1.2 var(--f-text); }
.cb-report__btn small { font-size: 15px; line-height: 1.35; color: var(--ink-2); }

/* The request page. */
.cb-rq { display: grid; gap: 16px; max-width: 860px; }
.cb-rq [hidden] { display: none !important; }
.cb-rq__ico { width: 24px; height: 24px; fill: currentColor; flex: none; }
.cb-rq__error { margin: 0; padding: 14px 18px; border-radius: var(--r); background: #FCE8EA; color: #8C0010; font-weight: 600; border-left: 6px solid var(--accent); }
.cb-rq__note { display: flex; gap: 12px; margin: 0; padding: 14px 18px; border-radius: var(--r); background: #E6F4EA; color: #0D5223; }
.cb-rq__note .cb-rq__ico { fill: #1E8E3E; }
.cb-revamp .cb-rq__note a { color: #0D5223; font-weight: 700; }
.cb-rq__h { margin: 0; font-size: clamp(24px, 2.4vw, 32px); }

/* The listing it is about. */
.cb-rq__listing { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--r); background: var(--tile); color: var(--ink); text-decoration: none; }
.cb-rq__logo, .cb-rq__logo img { width: 56px; height: 56px; display: block; flex: none; border-radius: 12px; object-fit: contain; background: var(--paper); }
.cb-rq__lname { display: grid; gap: 2px; min-width: 0; flex: 1; }
.cb-rq__lname b { font: 700 18px/1.25 var(--f-text); }
.cb-rq__lname small { font-size: 15px; color: var(--ink-2); }
.cb-revamp .cb-rq__pick { flex: none; font-weight: 700; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.cb-revamp a.cb-rq__listing:hover { background: var(--tile-2); }

/* Finder. */
.cb-rq__find { display: grid; gap: 10px; padding: 28px; border-radius: var(--r); background: var(--tile); }
.cb-rq__find p { margin: 0; }
.cb-rq__findrow { display: flex; gap: 8px; margin-top: 6px; }
.cb-rq__findrow input { flex: 1; min-width: 0; }
.cb-rq__found { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.cb-rq__found li { margin: 0; }
.cb-rq__none { margin: 0; }

/* The form: numbered steps of big tappable choices. */
.cb-rq__form { display: grid; gap: 16px; }
.cb-rq__step { margin: 0; padding: 28px; border: 0; border-radius: var(--r); background: var(--tile); display: grid; gap: 16px; min-width: 0; }
.cb-rq__step legend { float: left; width: 100%; padding: 0; display: flex; align-items: center; gap: 12px; font: 800 clamp(22px, 2vw, 26px)/1.2 var(--f-head); letter-spacing: -0.02em; color: var(--ink); }
.cb-rq__step legend + * { clear: both; }
.cb-rq__n { display: inline-grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--ink); color: var(--paper); font: 800 20px/1 var(--f-head); }
.cb-rq__lead { margin: 0; }
.cb-rq__choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 8px; }
.cb-rq__choice { position: relative; display: block; cursor: pointer; margin: 0; }
.cb-rq__choice input, .cb-rq__trap { position: absolute; opacity: 0; width: 1px; height: 1px; overflow: hidden; }
.cb-rq__trap { left: -9999px; }
.cb-rq__card { display: grid; gap: 6px; align-content: start; height: 100%; padding: 18px 40px 18px 18px; border-radius: var(--r); background: var(--paper); border: 3px solid transparent; transition: border-color .15s, box-shadow .15s; box-sizing: border-box; }
.cb-rq__card .cb-rq__ico { width: 30px; height: 30px; fill: var(--ink-2); margin-bottom: 4px; }
.cb-rq__card b { font: 700 18px/1.2 var(--f-text); color: var(--ink); }
.cb-rq__card small { font-size: 15px; line-height: 1.4; color: var(--ink-2); }
.cb-rq__choice:hover .cb-rq__card { border-color: #A8A49C; }
.cb-rq__choice input:checked + .cb-rq__card { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.cb-rq__choice input:checked + .cb-rq__card .cb-rq__ico { fill: var(--accent); }
.cb-rq__choice input:focus-visible + .cb-rq__card { outline: 3px solid var(--accent); outline-offset: 2px; }
.cb-rq__choice input:checked + .cb-rq__card::after { content: ""; position: absolute; top: 12px; right: 12px; width: 22px; height: 22px; border-radius: 50%; background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='3' d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 16px no-repeat; }
.cb-rq__panel { display: grid; gap: 8px; }
.cb-rq__panel p { display: flex; gap: 10px; margin: 0; }
.cb-rq__panel p.cb-rq__small { display: block; }
.cb-rq__list { display: grid; gap: 6px; }
.cb-rq__row { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 10px 16px; border-radius: var(--r); background: var(--paper); cursor: pointer; margin: 0; border: 2px solid transparent; }
.cb-rq__row:has(input:checked) { border-color: var(--ink); }
.cb-rq__row input, .cb-rq__tick input { width: 22px; height: 22px; flex: none; accent-color: var(--ink); margin: 0; }
.cb-rq__urgent { display: flex; gap: 12px; padding: 16px 18px; border-radius: var(--r); background: var(--ink); color: #E6E6E6; }
.cb-rq__urgent p { margin: 0; font-size: 16px; line-height: 1.5; }
.cb-rq__urgent b { color: var(--paper); }
.cb-rq__urgent .cb-rq__ico { fill: var(--accent); }
.cb-revamp .cb-rq__urgent a { color: var(--paper); font-weight: 700; white-space: nowrap; }

/* Fields. */
.cb-rq__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
.cb-rq__field { display: grid; gap: 6px; margin: 0; }
.cb-rq__field > span { font: 700 16px/1.3 var(--f-text); color: var(--ink); }
.cb-rq__field i { font-style: normal; font-weight: 400; color: var(--ink-2); }
.cb-rq__field b { font-weight: 700; }
.cb-rq input[type="text"], .cb-rq input[type="email"], .cb-rq input[type="search"], .cb-rq textarea { width: 100%; min-height: 52px; padding: 12px 14px; border: 2px solid #A8A49C; border-radius: var(--r); background: var(--paper); color: var(--ink); font: 400 18px/1.4 var(--f-text); box-sizing: border-box; }
.cb-rq textarea { min-height: 130px; resize: vertical; }
.cb-rq input:focus, .cb-rq textarea:focus { outline: 3px solid var(--accent); outline-offset: 1px; border-color: var(--ink); }
.cb-rq input[type="file"] { width: 100%; padding: 14px; border: 2px dashed #A8A49C; border-radius: var(--r); background: var(--paper); font-size: 16px; box-sizing: border-box; }
.cb-rq__tick { display: flex; align-items: flex-start; gap: 12px; margin: 0; padding: 14px 16px; border-radius: var(--r); background: var(--paper); cursor: pointer; font-weight: 600; }
.cb-rq__small { margin: 0; font-size: 15px; line-height: 1.45; color: var(--ink-2); }

/* Send. */
.cb-rq__send { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 20px; }
.cb-rq__send .cb-rq__small { flex: 1; min-width: 220px; }
.cb-revamp .cb-rq .cb-rq__go { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 28px; border: 0; border-radius: var(--r); background: var(--accent); color: var(--paper); font: 700 19px/1 var(--f-text); cursor: pointer; }
.cb-revamp .cb-rq .cb-rq__go:hover { background: var(--accent-dark); }
.cb-rq__go .cb-rq__ico { width: 18px; height: 18px; }
.cb-rq__go.is-busy { opacity: .6; cursor: progress; }

/* Result. */
.cb-rq__result { display: grid; gap: 14px; padding: 32px; border-radius: var(--r); background: var(--tile); }
.cb-rq__result > .cb-rq__ico { width: 44px; height: 44px; }
.cb-rq__result--done > .cb-rq__ico { fill: #1E8E3E; }
.cb-rq__result--wait > .cb-rq__ico { fill: var(--ink); }
.cb-rq__result p { margin: 0; }
.cb-rq__code { display: flex; align-items: stretch; gap: 8px; flex-wrap: wrap; }
.cb-rq__code code { flex: 1; min-width: 0; padding: 16px 18px; border-radius: var(--r); background: var(--paper); border: 2px dashed var(--ink); font: 700 clamp(20px, 3vw, 28px)/1.2 ui-monospace, Menlo, Consolas, monospace; color: var(--ink); overflow-wrap: anywhere; user-select: all; }
.cb-revamp .cb-rq__copy { display: inline-flex; align-items: center; gap: 8px; min-height: 56px; padding: 0 20px; border: 0; border-radius: var(--r); background: var(--ink); color: var(--paper); font: 700 17px/1 var(--f-text); cursor: pointer; }
.cb-rq__copy .cb-rq__ico { width: 18px; height: 18px; }
.cb-rq__how { margin: 0; padding-left: 1.3em; display: grid; gap: 8px; }
.cb-rq__ref { padding-top: 14px; border-top: 1px solid #C9C5BE; font-size: 16px; }

@media (max-width: 1024px) {
	.cb-report__btns { grid-template-columns: 1fr; }
	.cb-revamp a.cb-report__btn { min-height: 0; }
}
@media (max-width: 767px) {
	.cb-report { padding: 20px; margin-top: 32px; }
	.cb-rq__step, .cb-rq__find, .cb-rq__result { padding: 20px; }
	.cb-rq__pair { grid-template-columns: 1fr; }
	.cb-rq__findrow { flex-direction: column; }
	.cb-revamp .cb-rq .cb-rq__go { width: 100%; }
	.cb-rq__listing { flex-wrap: wrap; }
}

/* Buttons printed by the old templates. */
.cb-revamp .cb-btn:not(.cb-btn--ghost) { background: var(--accent); border-radius: var(--r); min-height: 48px; box-shadow: none; }
.cb-revamp .cb-btn:not(.cb-btn--ghost):hover { background: var(--accent-dark); }

@media (max-width: 1024px) {
	.cb-revamp .site-main { padding-left: 24px; padding-right: 24px; }
}
@media (max-width: 767px) {
	.cb-revamp .site-main { padding-left: 16px; padding-right: 16px; }
	/* Phone banner: the photo first, then its ink label underneath (no text over the picture). */
	.cb-revamp .cb-banner { flex-direction: column; align-items: stretch; min-height: 0; background: var(--ink); }
	.cb-revamp .cb-banner__img { position: relative; inset: auto; height: auto; aspect-ratio: 16 / 9; }
	.cb-revamp .cb-banner__inner { padding: 16px 18px 18px; max-width: 100%; border-radius: 0; }
}

/* ---------- Motion: the first screen assembles itself, the rest rises in (cb-revamp.js) ---------- */
.cb-herotile, .cb-pic, .cb-near-tile { animation: cb-up .6s var(--ease) both; }
.cb-pic--hero { animation-delay: .08s; }
.cb-pic--hero .cb-pic__img { animation: cb-shutter 1.1s var(--ease) .1s both; }
.e-con:has(> .cb-pic) > :nth-child(2) { animation-delay: .16s; }
.e-con:has(> .cb-pic) > :nth-child(3) { animation-delay: .24s; }
@keyframes cb-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes cb-shutter { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.cb-rise { opacity: 0; transform: translateY(24px); transition: opacity .5s var(--ease), transform .5s var(--ease); transition-delay: calc(var(--cb-i, 0) * 60ms); }
.cb-rise.cb-in { opacity: 1; transform: none; }

/* ---------- Motion off for people who ask for it ---------- */
@media (prefers-reduced-motion: reduce) {
	.cb-revamp *, .cb-revamp *::before, .cb-revamp *::after { animation: none !important; transition: none !important; }
	.cb-revamp .elementor-invisible { visibility: visible !important; }
}

/* ---------- Tablet (Elementor: 1024px and down) ---------- */
@media (max-width: 1024px) {
	.cb-top__nav .elementor-icon-list-item > a { flex-direction: column; justify-content: center; gap: 3px; min-height: 56px; padding: 6px 10px; }
	.cb-top__nav .elementor-icon-list-text { font-size: 13px; line-height: 1.1; }
	.cb-pic__note { display: none; }
}

/* ---------- Phone (Elementor: 767px and down) ---------- */
@media (max-width: 767px) {
	body.cb-revamp { font-size: 17px; }
	.cb-top__logo { flex: 1 1 auto; }
	.cb-top__nav { margin: 0; width: 100%; }
	.cb-top__nav .elementor-icon-list-items { display: grid !important; grid-template-columns: repeat(4, 1fr); gap: 6px; }
	.cb-top__nav .elementor-icon-list-item { margin: 0 !important; }
	.cb-top__nav .elementor-icon-list-item > a { flex-direction: column; justify-content: center; gap: 4px; min-height: 60px; padding: 6px 4px; background: var(--tile); width: 100%; }
	.cb-top__nav .elementor-icon-list-text { display: block; font-size: 13px; line-height: 1.1; }
	.cb-find { grid-template-columns: 1fr; }
	.cb-near__ico { width: 38px; height: 38px; }
	.cb-near__title { font-size: 30px; }
	.elementor-widget-cb-read-aloud.cb-say--corner-yes { top: 8px; right: 8px; }
	.cb-revamp .cb-say { width: 44px; height: 44px; }
	.cb-breed__label { padding: 12px 14px 14px; }
	.cb-bands thead { display: none; }
	.cb-bands, .cb-bands tbody, .cb-bands tr { display: block; }
	.cb-bands tr { display: grid; grid-template-columns: 1fr auto; margin-bottom: 4px; }
	.cb-bands tbody th, .cb-bands td { display: block; padding: 12px 16px; border-radius: 0 !important; }
	.cb-bands tbody th { grid-column: 1 / 3; width: auto; border-radius: var(--r) var(--r) 0 0 !important; }
	.cb-bands td:nth-child(2) { grid-column: 1 / 3; }
	.cb-bands td:nth-child(3) { border-radius: 0 0 0 var(--r) !important; }
	.cb-bands td:last-child { border-radius: 0 0 var(--r) 0 !important; }
	.cb-regions { grid-auto-rows: auto; }
	.cb-revamp .cb-job__label { padding: 10px 14px; }
	.cb-qa .e-n-accordion-item-title { min-height: 64px; padding: 0 18px; }
	.cb-qa .cb-qa__a { padding: 0 18px 20px !important; }
}
