/*
 * Pest ID | Block styles for the Gutenberg body inside the Oxygen templates.
 *
 * Loaded on the front end (pages with blocks) and inside the editor canvas, unmodified, by
 * pestid-templates.php. Scope: :is(.piv-content, .editor-styles-wrapper), deliberately one class of specificity so it beats Oxygen's bare h1-h6 rules and WordPress's inline .wp-block-button__link rules. .piv-content is the Oxygen Post Content wrapper on the front end,
 * .editor-styles-wrapper is the canvas body in the editor, so every rule matches in both places.
 *
 * Values come from Kelly's Figma (Service, Commercial, Area, FAQ and Contact frames, Oct 2026).
 * Colours mirror the piv-* variables in Oxygen; they are repeated here as literals on purpose,
 * because the editor canvas does not load Oxygen's variables.css.
 *
 * Breakpoints match Oxygen's: 1119, 1023, 767, 479.
 */

:is(.piv-content, .editor-styles-wrapper) {
	--piv-red: #c4203b;
	--piv-red-hover: #a81b32;
	--piv-dark: #181818;
	--piv-mid: #3d4142;
	--piv-cyan: #3dbed9;
	--piv-cyan-hover: #34a8c1;
	--piv-light: #f3f7fa;
	--piv-line: #e6ecf2;
	--piv-on-dark: #d8dee5;
	--piv-muted: #b5bdc7;
	--piv-tick: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23181818' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	font-family: "Poppins", sans-serif;
	font-size: 16px;
	line-height: 28px;
	color: var(--piv-mid);
}

/* -------------------------------------------------------------------------
 * Base typography
 * ---------------------------------------------------------------------- */

:is(.piv-content, .editor-styles-wrapper) :where(p, ul, ol, h1, h2, h3, h4, figure) {
	margin: 0;
}

:is(.piv-content, .editor-styles-wrapper) :where(h1, h2, h3, h4) {
	font-family: "Poppins", sans-serif;
	font-weight: 600;
	color: var(--piv-dark);
}

:is(.piv-content, .editor-styles-wrapper) :where(h2) {
	font-size: 34px;
	line-height: 40.12px;
	letter-spacing: -0.68px;
}

:is(.piv-content, .editor-styles-wrapper) :where(h3) {
	font-size: 20px;
	line-height: 26px;
	letter-spacing: -0.4px;
}

:is(.piv-content, .editor-styles-wrapper) :where(a) {
	color: var(--piv-red);
	text-decoration: none;
}

:is(.piv-content, .editor-styles-wrapper) :where(a:hover) {
	text-decoration: underline;
}

:is(.piv-content, .editor-styles-wrapper) :where(strong, b) {
	font-weight: 600;
	color: var(--piv-dark);
}

:is(.piv-content, .editor-styles-wrapper) :where(ul, ol):not([class*="is-style-piv"]) {
	padding-left: 1.25em;
}

/* Vertical rhythm. Every stack of blocks spaces itself with the top margin of the next block. */
:is(.piv-content, .editor-styles-wrapper) :where(.wp-block-group, .wp-block-column, .wp-block-accordion-panel, .is-root-container) > * + * {
	margin-top: 18px;
}

:is(.piv-content, .editor-styles-wrapper) .is-style-piv-intro {
	max-width: 640px;
}

:is(.piv-content, .editor-styles-wrapper) .is-style-piv-lead {
	font-size: 18px;
	line-height: 30.6px;
	font-weight: 500;
	color: var(--piv-dark);
}

:is(.piv-content, .editor-styles-wrapper) .is-style-piv-emph {
	font-weight: 600;
	color: var(--piv-dark);
}

:is(.piv-content, .editor-styles-wrapper) h2.is-style-piv-h2-lg {
	font-size: 38px;
	line-height: 43.7px;
	letter-spacing: -0.76px;
}

:is(.piv-content, .editor-styles-wrapper) .is-style-piv-label {
	font-size: 15px;
	line-height: 22px;
	font-weight: 600;
	letter-spacing: 0.9px;
	text-transform: uppercase;
	color: var(--piv-red);
}

:is(.piv-content, .editor-styles-wrapper) * + .is-style-piv-label {
	margin-top: 26px;
}

:is(.piv-content, .editor-styles-wrapper) .is-style-piv-label + * {
	margin-top: 14px;
}

/* -------------------------------------------------------------------------
 * Bands: full-width sections with the content held to 1176px
 * ---------------------------------------------------------------------- */

.wp-block-group:is(.is-style-piv-band, .is-style-piv-band-cta) {
	padding: 84px 100px;
	margin-top: 0;
}

.wp-block-group:is(.is-style-piv-band, .is-style-piv-band-cta) > * {
	max-width: 1176px;
	margin-left: auto;
	margin-right: auto;
}

/* Bands sit edge to edge, so they never take the stack margin. */
:is(.piv-content, .editor-styles-wrapper) * + .wp-block-group:is(.is-style-piv-band, .is-style-piv-band-cta) {
	margin-top: 0;
}

.wp-block-group.is-style-piv-band.has-light-background-color {
	border-top: 1px solid var(--piv-line);
	border-bottom: 1px solid var(--piv-line);
}

.wp-block-group.is-style-piv-band.has-light-background-color + .wp-block-group.has-light-background-color {
	border-top: 0;
}

/* Dark grounds: headings white, body copy light. */
.wp-block-group:is(.has-dark-background-color, .has-mid-background-color) {
	color: var(--piv-on-dark);
}

.wp-block-group:is(.has-dark-background-color, .has-mid-background-color) :where(h2, h3, strong) {
	color: #fff;
}

/* Text links on dark grounds: the red link colour is unreadable on charcoal, so cyan as in the header. */
.wp-block-group:is(.has-dark-background-color, .has-mid-background-color, .is-style-piv-card-dark) :where(p, li) a {
	color: var(--piv-cyan);
}

/* Call to action band: centred heading, copy and buttons. */
.wp-block-group.is-style-piv-band-cta {
	padding-top: 76px;
	padding-bottom: 76px;
	text-align: center;
}

.wp-block-group.is-style-piv-band-cta > h2 {
	max-width: 860px;
	line-height: 40.8px;
}

.wp-block-group.is-style-piv-band-cta > p {
	max-width: 1040px;
	font-size: 17px;
	line-height: 28.9px;
}

.wp-block-group.is-style-piv-band-cta.has-dark-background-color > p {
	color: var(--piv-line);
}

.wp-block-group.is-style-piv-band-cta > .wp-block-buttons {
	justify-content: center;
	margin-top: 26px;
}

@media (max-width: 1119px) {
	.wp-block-group:is(.is-style-piv-band, .is-style-piv-band-cta) {
		padding: 72px 48px;
	}
}

@media (max-width: 767px) {
	.wp-block-group:is(.is-style-piv-band, .is-style-piv-band-cta) {
		padding: 52px 20px;
	}
}

/* Anything an editor drops straight into the page outside a band still lines up with the site. */
.piv-content > :not(.wp-block-group):not(.alignfull) {
	max-width: 1176px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 32px;
	padding-right: 32px;
}

/* -------------------------------------------------------------------------
 * Column layouts
 * ---------------------------------------------------------------------- */

.wp-block-columns:is(.is-style-piv-split, .is-style-piv-split-top, .is-style-piv-split-intro, .is-style-piv-split-wide, .is-style-piv-split-cta) {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 64px;
	margin-bottom: 0;
}

.wp-block-columns:is(.is-style-piv-split, .is-style-piv-split-top, .is-style-piv-split-intro, .is-style-piv-split-wide, .is-style-piv-split-cta) > .wp-block-column {
	flex-basis: auto !important;
	margin: 0;
}

.wp-block-columns.is-style-piv-split > .wp-block-column,
.wp-block-columns.is-style-piv-split-cta > .wp-block-column {
	align-self: center;
}

.wp-block-columns:is(.is-style-piv-split-top, .is-style-piv-split-intro, .is-style-piv-split-wide) > .wp-block-column {
	align-self: start;
}

.wp-block-columns.is-style-piv-split-intro {
	grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
}

.wp-block-columns.is-style-piv-split-wide {
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

/* Text two thirds, a small photo one third (Suffolk's low-resolution montage, 19 Oct 2026). */
.wp-block-columns.is-style-piv-split-third {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
	gap: 64px;
	align-items: center;
	margin-bottom: 0;
}

.wp-block-columns.is-style-piv-split-third > .wp-block-column {
	flex-basis: auto !important;
	margin: 0;
}

@media (max-width: 1023px) {
	.wp-block-columns.is-style-piv-split-third {
		grid-template-columns: minmax(0, 1fr);
		gap: 40px;
	}

	.wp-block-columns.is-style-piv-split-third > .wp-block-column:last-child {
		max-width: 320px;
	}
}

.wp-block-columns.is-style-piv-split-cta {
	grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
}

/* Heading-left intros use the larger heading. */
.wp-block-columns.is-style-piv-split-intro > .wp-block-column:first-child > h2,
.wp-block-columns.is-style-piv-split-cta > .wp-block-column:first-child > h2 {
	font-size: 38px;
	line-height: 43.7px;
	letter-spacing: -0.76px;
}

.wp-block-columns.is-style-piv-split-cta > .wp-block-column:first-child > h2 {
	font-size: 36px;
	line-height: 42.48px;
	letter-spacing: -0.72px;
}

/* A split row ending on a button, with more content after it in the same band (Commercial's
   "Business Properties Where Infestations Can Occur", 19 Oct 2026): room under the button. */
.wp-block-columns.is-style-piv-split-intro:has(> .wp-block-column:last-child > .wp-block-buttons:last-child) + .wp-block-columns {
	margin-top: 56px;
}

@media (max-width: 767px) {
	.wp-block-columns.is-style-piv-split-intro:has(> .wp-block-column:last-child > .wp-block-buttons:last-child) + .wp-block-columns {
		margin-top: 40px;
	}
}

/* An H3 heading a split row on its own (Site Audits, 19 Oct 2026): a step down from the H2 size. */
.wp-block-columns.is-style-piv-split-intro > .wp-block-column:first-child > h3 {
	font-size: 30px;
	line-height: 36px;
	letter-spacing: -0.6px;
}

.wp-block-columns.is-style-piv-split-intro > .wp-block-column + .wp-block-column > * + * {
	margin-top: 20px;
}

@media (max-width: 1023px) {
	.wp-block-columns:is(.is-style-piv-split, .is-style-piv-split-top, .is-style-piv-split-intro, .is-style-piv-split-wide, .is-style-piv-split-cta) {
		grid-template-columns: minmax(0, 1fr);
		gap: 40px;
	}
}

@media (max-width: 767px) {
	.wp-block-columns.is-style-piv-split-intro > .wp-block-column:first-child > h2,
	.wp-block-columns.is-style-piv-split-cta > .wp-block-column:first-child > h2,
	:is(.piv-content, .editor-styles-wrapper) h2.is-style-piv-h2-lg {
		font-size: 30px;
		line-height: 36px;
	}

	:is(.piv-content, .editor-styles-wrapper) :where(h2) {
		font-size: 28px;
		line-height: 34px;
	}

	.wp-block-columns.is-style-piv-split-intro > .wp-block-column:first-child > h3 {
		font-size: 24px;
		line-height: 30px;
	}
}

/* Numbered steps: each column is a card, numbered automatically. */
.wp-block-columns.is-style-piv-steps {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
	margin-top: 44px;
	margin-bottom: 0;
	counter-reset: piv-step;
}

.wp-block-columns.is-style-piv-steps > .wp-block-column {
	flex-basis: auto !important;
	margin: 0;
	padding: 28px;
	background: #fff;
	border: 1px solid var(--piv-line);
	border-radius: 18px;
	counter-increment: piv-step;
	font-size: 14px;
	line-height: 23.8px;
}

.wp-block-columns.is-style-piv-steps > .wp-block-column::before {
	content: counter(piv-step);
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	margin-bottom: 14px;
	border-radius: 999px;
	background: var(--piv-red);
	color: #fff;
	font-weight: 600;
	font-size: 16px;
	line-height: 1;
}

.wp-block-columns.is-style-piv-steps > .wp-block-column > * + * {
	margin-top: 14px;
}

.wp-block-columns.is-style-piv-steps h3 {
	font-size: 19px;
	line-height: 24.7px;
	letter-spacing: -0.38px;
}

.wp-block-columns.is-style-piv-steps :where(ul) {
	margin-top: 8px;
}

.wp-block-columns.is-style-piv-steps :where(li) {
	font-size: 14px;
	line-height: 23.8px;
}

/* Desktop: three steps fill the row in thirds and five sit on one row, rather than leaving an
   empty slot or a lone card on a second row. Four (and any other count) keep the default. */
@media (min-width: 1024px) {
	.wp-block-columns.is-style-piv-steps:has(> .wp-block-column:nth-child(3):last-child) {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

/* Six steps (Site Audits services, 18 Oct 2026) sit three to a row rather than four and two. */
@media (min-width: 1024px) {
	.wp-block-columns.is-style-piv-steps:has(> .wp-block-column:nth-child(6):last-child) {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (min-width: 1120px) {
	.wp-block-columns.is-style-piv-steps:has(> .wp-block-column:nth-child(5):last-child) {
		grid-template-columns: repeat(5, minmax(0, 1fr));
		gap: 16px;
	}
}

@media (max-width: 1023px) {
	.wp-block-columns.is-style-piv-steps {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 479px) {
	.wp-block-columns.is-style-piv-steps {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* Ticked feature cards. */
.wp-block-columns.is-style-piv-features {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	margin-bottom: 0;
}

.wp-block-columns.is-style-piv-features > .wp-block-column {
	flex-basis: auto !important;
	margin: 0;
	padding: 32px;
	border: 1px solid var(--piv-line);
	border-radius: 20px;
	font-size: 15px;
	line-height: 25.5px;
}

.wp-block-columns.is-style-piv-features > .wp-block-column::before {
	content: "";
	display: block;
	width: 34px;
	height: 34px;
	margin-bottom: 12px;
	border-radius: 999px;
	background: var(--piv-cyan) var(--piv-tick) center / 16px 16px no-repeat;
}

.wp-block-columns.is-style-piv-features > .wp-block-column > * + * {
	margin-top: 12px;
}

@media (max-width: 1023px) {
	.wp-block-columns.is-style-piv-features {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* Icon tiles (12 Oct 2026): a small icon and a linked title per column, as many to a row as fit,
   still two to a row on a phone. Built for the Pest Identification Guide's pest entries (the live
   red pest badges), which stacked one per screen as plain columns. */
.wp-block-columns.is-style-piv-tiles {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	gap: 16px;
	margin-bottom: 0;
}

.wp-block-columns.is-style-piv-tiles > .wp-block-column {
	flex-basis: auto !important;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	margin: 0;
	padding: 20px 14px;
	border: 1px solid var(--piv-line);
	border-radius: 16px;
	background-color: #fff;
	text-align: center;
}

.wp-block-columns.is-style-piv-tiles .wp-block-image {
	margin: 0;
}

.wp-block-columns.is-style-piv-tiles .wp-block-image img {
	display: block;
	width: 96px;
	height: 96px;
	object-fit: contain;
	border-radius: 0;
}

.wp-block-columns.is-style-piv-tiles h3 {
	margin: 0;
	font-size: 16px;
	line-height: 22px;
}

/* Words-only tiles (19 Oct 2026, Kelly): the pest icons are gone, so each tile is its linked title
   in a box, and the whole box is the link. */
.wp-block-columns.is-style-piv-tiles > .wp-block-column {
	position: relative;
	justify-content: center;
	min-height: 64px;
	padding: 16px 14px;
	transition: border-color 0.15s, box-shadow 0.15s;
}

.wp-block-columns.is-style-piv-tiles h3 a {
	color: var(--piv-dark);
	text-decoration: none;
}

.wp-block-columns.is-style-piv-tiles h3 a::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
}

.wp-block-columns.is-style-piv-tiles > .wp-block-column:hover {
	border-color: var(--piv-red);
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.wp-block-columns.is-style-piv-tiles > .wp-block-column:hover h3 a {
	color: var(--piv-red);
}

@media (max-width: 479px) {
	.wp-block-columns.is-style-piv-tiles {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
	}
}

/* -------------------------------------------------------------------------
 * Cards
 * ---------------------------------------------------------------------- */

.wp-block-group:is(.is-style-piv-card, .is-style-piv-card-dark) {
	display: flex;
	flex-direction: column;
	padding: 38px;
	border-radius: 20px;
}

.wp-block-group:is(.is-style-piv-card, .is-style-piv-card-dark) > * + * {
	margin-top: 18px;
}

.wp-block-group.is-style-piv-card {
	border: 1px solid var(--piv-line);
	background: #fff;
}

.wp-block-group.is-style-piv-card-dark {
	background: var(--piv-mid);
	color: var(--piv-on-dark);
}

.wp-block-group.is-style-piv-card-dark :where(h2, h3, strong) {
	color: #fff;
}

.wp-block-group.is-style-piv-card-dark .is-style-piv-label {
	color: var(--piv-cyan);
}

/* Emphasis lines on dark grounds (19 Oct 2026, Kelly): the base emphasis rule sets dark text, which
   vanished on the dark card (Moth Removal's commercial card). */
.wp-block-group:is(.is-style-piv-card-dark, .has-dark-background-color, .has-mid-background-color) .is-style-piv-emph {
	color: #fff;
}

/* Inside a two-column row the cards match heights, and a closing emphasis line drops to the base. */
.wp-block-column > .wp-block-group:is(.is-style-piv-card, .is-style-piv-card-dark):only-child {
	height: 100%;
}

.wp-block-group:is(.is-style-piv-card, .is-style-piv-card-dark) > .is-style-piv-emph:last-child {
	margin-top: auto;
	padding-top: 30px;
}

.wp-block-group:is(.is-style-piv-card, .is-style-piv-card-dark) h2 {
	font-size: 30px;
	line-height: 36px;
	letter-spacing: -0.6px;
}

.wp-block-group.is-style-piv-card-dark .wp-block-image {
	margin-top: 22px;
}

.wp-block-group.is-style-piv-card-dark .wp-block-image img {
	border-radius: 18px;
}

@media (max-width: 767px) {
	.wp-block-group:is(.is-style-piv-card, .is-style-piv-card-dark) {
		padding: 28px 24px;
	}

	.wp-block-group:is(.is-style-piv-card, .is-style-piv-card-dark) h2 {
		font-size: 26px;
		line-height: 32px;
	}
}

/* -------------------------------------------------------------------------
 * Lists
 * ---------------------------------------------------------------------- */

:is(.piv-content, .editor-styles-wrapper) ul:is(.is-style-piv-pills, .is-style-piv-pills-white, .is-style-piv-pills-2col, .is-style-piv-pills-3col, .is-style-piv-bullets, .is-style-piv-ticks) {
	list-style: none;
	padding: 0;
}

ul:is(.is-style-piv-pills, .is-style-piv-pills-white, .is-style-piv-pills-2col, .is-style-piv-pills-3col, .is-style-piv-bullets) > li {
	position: relative;
	padding-left: 20px;
	font-size: 15px;
	line-height: 24px;
	color: var(--piv-dark);
}

ul:is(.is-style-piv-pills, .is-style-piv-pills-white, .is-style-piv-pills-2col, .is-style-piv-pills-3col, .is-style-piv-bullets) > li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 8px;
	width: 8px;
	height: 8px;
	border-radius: 999px;
	background: var(--piv-red);
}

ul:is(.is-style-piv-pills, .is-style-piv-pills-white) {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

ul:is(.is-style-piv-pills, .is-style-piv-pills-white, .is-style-piv-pills-2col, .is-style-piv-pills-3col) > li {
	padding: 14px 18px 14px 38px;
	border-radius: 12px;
	background: var(--piv-light);
}

ul:is(.is-style-piv-pills, .is-style-piv-pills-white, .is-style-piv-pills-2col, .is-style-piv-pills-3col) > li::before {
	left: 18px;
	top: 22px;
}

ul:is(.is-style-piv-pills-white, .is-style-piv-pills-2col, .is-style-piv-pills-3col) > li {
	background: #fff;
	border: 1px solid var(--piv-line);
}

/* Outlined pills on charcoal bands (Site Audits "Who Needs a Pest Audit?", 19 Oct 2026). */
.wp-block-group:is(.has-dark-background-color, .has-mid-background-color) ul:is(.is-style-piv-pills-white, .is-style-piv-pills-2col, .is-style-piv-pills-3col) > li {
	background: rgba(255, 255, 255, 0.06);
	border-color: rgba(255, 255, 255, 0.16);
	color: #fff;
}

ul.is-style-piv-pills-2col {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

/* Three columns of white pills (19 Oct 2026, Kelly): long lists of short items, first used for
   "The Pests We Remove" on Domestic Pest Removal. Two across on tablet and phone, as one column
   ran 1,300px tall on a phone. */
ul.is-style-piv-pills-3col {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
}

/* Compact pills (19 Oct 2026, Kelly: "take up less height"): one or two words each, so less padding. */
ul.is-style-piv-pills-3col > li {
	padding-top: 9px;
	padding-bottom: 9px;
}

ul.is-style-piv-pills-3col > li::before {
	top: 17px;
}

@media (max-width: 767px) {
	ul.is-style-piv-pills-3col {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
	}
}
/* Pills straight in a full-width band (18 Oct 2026, Chay): one short item per 1176px row looked
   long and empty (data centre, care home, golf course, sterile zone, privacy statements). Tile
   them instead: four across on desktop, two on tablet, one on a phone. Every such list has short
   items (32 characters at most). Pills inside columns and cards are unchanged. */
.wp-block-group.is-style-piv-band > ul:is(.is-style-piv-pills, .is-style-piv-pills-white) {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 10px;
}

ul.is-style-piv-bullets {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

/* On dark cards and bands the bullets turn cyan and the text white. */
:is(.is-style-piv-card-dark, .has-dark-background-color, .has-mid-background-color) ul.is-style-piv-bullets > li {
	color: #fff;
}

:is(.is-style-piv-card-dark, .has-dark-background-color, .has-mid-background-color) ul.is-style-piv-bullets > li::before {
	background: var(--piv-cyan);
}

/* Tick cards, two up, an odd last card spans the row. */
ul.is-style-piv-ticks {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

ul.is-style-piv-ticks > li {
	padding: 22px;
	border: 1px solid var(--piv-line);
	border-radius: 16px;
	background: #fff;
	font-size: 15px;
	line-height: 24px;
	font-weight: 500;
	color: var(--piv-dark);
}

ul.is-style-piv-ticks > li::before {
	content: "";
	display: block;
	width: 30px;
	height: 30px;
	margin-bottom: 10px;
	border-radius: 999px;
	background: var(--piv-cyan) var(--piv-tick) center / 14px 14px no-repeat;
}

ul.is-style-piv-ticks > li:last-child:nth-child(odd) {
	grid-column: 1 / -1;
}

@media (max-width: 479px) {
	ul:is(.is-style-piv-pills-2col, .is-style-piv-ticks) {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* -------------------------------------------------------------------------
 * Images and buttons
 * ---------------------------------------------------------------------- */

:is(.piv-content, .editor-styles-wrapper) .wp-block-image {
	margin-bottom: 0;
}

.wp-block-image.is-style-piv-rounded img {
	display: block;
	width: 100%;
	border-radius: 20px;
	object-fit: cover;
}

:is(.piv-content, .editor-styles-wrapper) .wp-block-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

:is(.piv-content, .editor-styles-wrapper) .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 15px 26px;
	border: 1px solid transparent;
	border-radius: 999px;
	background: var(--piv-red);
	color: #fff;
	font-family: "Poppins", sans-serif;
	font-size: 15px;
	font-weight: 600;
	line-height: 22.5px;
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

:is(.piv-content, .editor-styles-wrapper) .wp-block-button__link:hover {
	background: var(--piv-red-hover);
	color: #fff;
	text-decoration: none;
}

.wp-block-button.is-style-piv-cyan > .wp-block-button__link {
	background: var(--piv-cyan);
	color: var(--piv-dark);
}

.wp-block-button.is-style-piv-cyan > .wp-block-button__link:hover {
	background: var(--piv-cyan-hover);
	color: var(--piv-dark);
}

.wp-block-button.is-style-piv-outline-light > .wp-block-button__link {
	background: transparent;
	border-color: #fff;
	color: #fff;
}

.wp-block-button.is-style-piv-outline-light > .wp-block-button__link:hover {
	background: rgba(255, 255, 255, 0.12);
}

.wp-block-button.is-style-piv-outline-dark > .wp-block-button__link {
	background: transparent;
	border-color: var(--piv-muted);
	color: var(--piv-dark);
}

.wp-block-button.is-style-piv-outline-dark > .wp-block-button__link:hover {
	background: var(--piv-light);
}

:is(.piv-content, .editor-styles-wrapper) * + .wp-block-buttons {
	margin-top: 26px;
}

@media (max-width: 479px) {
	:is(.piv-content, .editor-styles-wrapper) .wp-block-button {
		width: 100%;
	}

	:is(.piv-content, .editor-styles-wrapper) .wp-block-button__link {
		width: 100%;
	}
}

/* -------------------------------------------------------------------------
 * FAQ accordion
 * ---------------------------------------------------------------------- */

.wp-block-accordion.is-style-piv-faq {
	display: flex;
	flex-direction: column;
	gap: 14px;
	max-width: 836px;
	margin-left: auto;
	margin-right: auto;
}

.wp-block-accordion.is-style-piv-faq > .wp-block-accordion-item {
	margin: 0;
	border: 1px solid var(--piv-line);
	border-radius: 18px;
	overflow: hidden;
	background: #fff;
}

.is-style-piv-faq .wp-block-accordion-heading {
	margin: 0;
	font-size: 21px;
	line-height: 28.35px;
	letter-spacing: -0.42px;
}

.is-style-piv-faq .wp-block-accordion-heading__toggle {
	display: flex;
	align-items: center;
	gap: 20px;
	width: 100%;
	padding: 24px 28px;
	border: 0;
	background: #fff;
	color: var(--piv-dark);
	font: inherit;
	font-weight: 600;
	letter-spacing: inherit;
	text-align: left;
	cursor: pointer;
}

.is-style-piv-faq .wp-block-accordion-heading__toggle-title {
	flex: 1 1 auto;
	text-decoration: none;
}

/* The plus and minus are drawn, so the core "+" glyph is hidden and never flips to the wrong sign. */
.is-style-piv-faq .wp-block-accordion-heading__toggle-icon {
	position: relative;
	flex: 0 0 32px;
	width: 32px;
	height: 32px;
	border-radius: 999px;
	background: var(--piv-light);
	font-size: 0;
	color: transparent;
	transform: none;
}

.is-style-piv-faq .wp-block-accordion-heading__toggle-icon::before,
.is-style-piv-faq .wp-block-accordion-heading__toggle-icon::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 11px;
	height: 2px;
	margin: -1px 0 0 -5.5px;
	border-radius: 2px;
	background: var(--piv-red);
	transition: transform 0.2s ease;
}

.is-style-piv-faq .wp-block-accordion-heading__toggle-icon::after {
	transform: rotate(90deg);
}

.is-style-piv-faq .wp-block-accordion-item.is-open .wp-block-accordion-heading__toggle-icon::after {
	transform: rotate(0deg);
}

/* Core rotates the whole icon 45 degrees when open (its "+" becomes an "x"); ours is drawn, so keep it square. */
.is-style-piv-faq .wp-block-accordion-item .wp-block-accordion-heading__toggle-icon,
.is-style-piv-faq .wp-block-accordion-item.is-open .wp-block-accordion-heading__toggle-icon {
	transform: none;
}

.is-style-piv-faq .wp-block-accordion-panel {
	padding: 22px 28px 28px;
	border-top: 1px solid var(--piv-line);
}

.is-style-piv-faq .wp-block-accordion-panel > * + * {
	margin-top: 16px;
}

.is-style-piv-faq .wp-block-accordion-panel :where(ul, ol) {
	padding-left: 1.25em;
}

.is-style-piv-faq .wp-block-accordion-panel :where(li + li) {
	margin-top: 10px;
}

/* The line under the list ("View our Ant Pest Control page...") sits on the same measure. */
:is(.piv-content, .editor-styles-wrapper) .wp-block-accordion.is-style-piv-faq + p {
	max-width: 836px;
	margin-left: auto;
	margin-right: auto;
}

@media (max-width: 767px) {
	.is-style-piv-faq .wp-block-accordion-heading {
		font-size: 18px;
		line-height: 25px;
	}

	.is-style-piv-faq .wp-block-accordion-heading__toggle {
		padding: 20px;
		gap: 14px;
	}

	.is-style-piv-faq .wp-block-accordion-panel {
		padding: 18px 20px 22px;
	}
}

/* -------------------------------------------------------------------------
 * Contact page cards and form
 * ---------------------------------------------------------------------- */

.wp-block-group:is(.is-style-piv-contact-phone, .is-style-piv-contact-email, .is-style-piv-contact-place, .is-style-piv-contact-hours) {
	position: relative;
	padding: 26px 28px 26px 92px;
	border: 1px solid var(--piv-line);
	border-radius: 18px;
	background: #fff;
	min-height: 98px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.wp-block-group:is(.is-style-piv-contact-phone, .is-style-piv-contact-email, .is-style-piv-contact-place, .is-style-piv-contact-hours) > * + * {
	margin-top: 4px;
}

.wp-block-group:is(.is-style-piv-contact-phone, .is-style-piv-contact-email, .is-style-piv-contact-place)::before {
	content: "";
	position: absolute;
	left: 28px;
	top: 26px;
	width: 46px;
	height: 46px;
	border-radius: 999px;
	background: var(--piv-light) center / 20px 20px no-repeat;
}

.wp-block-group:is(.is-style-piv-contact-phone, .is-style-piv-contact-email)::before {
	top: 50%;
	margin-top: -23px;
}

.wp-block-group.is-style-piv-contact-phone::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 9C6.70649 11.3682 8.63183 13.2935 11 14.5L12.8333 12.6667C13.0833 12.4167 13.4167 12.3333 13.6667 12.5C14.6667 12.8333 15.6667 13 16.6667 13C17.1667 13 17.5 13.3333 17.5 13.8333V16.6667C17.5 17.1667 17.1667 17.5 16.6667 17.5C8.91667 17.5 2.5 11.0833 2.5 3.33333C2.5 2.83333 2.83333 2.5 3.33333 2.5H6.25C6.75 2.5 7.08333 2.83333 7.08333 3.33333C7.08333 4.41667 7.25 5.41667 7.58333 6.33333C7.66667 6.66667 7.58333 7 7.41667 7.16667L5.5 9Z' fill='%23C4203B'/%3E%3C/svg%3E");
}

.wp-block-group.is-style-piv-contact-email::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M2.5 4.16667H17.5C18 4.16667 18.3333 4.5 18.3333 5V15C18.3333 15.5 18 15.8333 17.5 15.8333H2.5C2 15.8333 1.66667 15.5 1.66667 15V5C1.66667 4.5 2 4.16667 2.5 4.16667ZM10 10.9167L16.1667 6.66667H3.83333L10 10.9167Z' fill='%23C4203B'/%3E%3C/svg%3E");
}

.wp-block-group.is-style-piv-contact-place::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 1.66667C8.4529 1.66667 6.96917 2.28125 5.87521 3.37521C4.78125 4.46917 4.16667 5.9529 4.16667 7.5C4.16667 11.8333 10 18.3333 10 18.3333C10 18.3333 15.8333 11.8333 15.8333 7.5C15.8333 5.9529 15.2188 4.46917 14.1248 3.37521C13.0308 2.28125 11.5471 1.66667 10 1.66667ZM10 9.58333C9.44747 9.58333 8.91756 9.36384 8.52686 8.97314C8.13616 8.58244 7.91667 8.05253 7.91667 7.5C7.91667 6.94747 8.13616 6.41756 8.52686 6.02686C8.91756 5.63616 9.44747 5.41667 10 5.41667C10.5525 5.41667 11.0824 5.63616 11.4731 6.02686C11.8638 6.41756 12.0833 6.94747 12.0833 7.5C12.0833 8.05253 11.8638 8.58244 11.4731 8.97314C11.0824 9.36384 10.5525 9.58333 10 9.58333Z' fill='%23C4203B'/%3E%3C/svg%3E");
}

.wp-block-group.is-style-piv-contact-hours {
	padding-left: 28px;
	background: var(--piv-light);
}

/* First line of every contact card is its small uppercase label. */
.wp-block-group:is(.is-style-piv-contact-phone, .is-style-piv-contact-email, .is-style-piv-contact-place, .is-style-piv-contact-hours) > p:first-child {
	font-size: 12px;
	line-height: 18px;
	letter-spacing: 0.96px;
	text-transform: uppercase;
	color: var(--piv-mid);
}

.wp-block-group:is(.is-style-piv-contact-phone, .is-style-piv-contact-email, .is-style-piv-contact-place, .is-style-piv-contact-hours) > p:not(:first-child),
.wp-block-group:is(.is-style-piv-contact-phone, .is-style-piv-contact-email) a {
	color: var(--piv-dark);
}

.wp-block-group.is-style-piv-contact-phone > p:not(:first-child) {
	font-size: 22px;
	line-height: 30px;
	font-weight: 600;
}

.wp-block-group.is-style-piv-contact-email > p:not(:first-child) {
	font-size: 19px;
	line-height: 28px;
	font-weight: 600;
	overflow-wrap: anywhere;
}

.wp-block-group.is-style-piv-contact-place > p:not(:first-child) {
	font-size: 16px;
	line-height: 27.2px;
}

.wp-block-group.is-style-piv-contact-hours > p:not(:first-child) {
	font-size: 15px;
	line-height: 27px;
}

.wp-block-group.is-style-piv-contact-hours > p:nth-child(2) {
	margin-top: 10px;
}

.wp-block-group.is-style-piv-contact-hours > p:nth-child(n+3) {
	margin-top: 0;
}

:is(.piv-content, .editor-styles-wrapper) .wp-block-column > .wp-block-group[class*="is-style-piv-contact"] + .wp-block-group[class*="is-style-piv-contact"] {
	margin-top: 16px;
}

/* The form card and the Contact Form 7 markup inside it. */
.wp-block-group.is-style-piv-form-card {
	padding: 40px;
	border: 1px solid var(--piv-line);
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 24px 60px rgba(24, 24, 24, 0.06);
}

.wp-block-group.is-style-piv-form-card > h2 {
	font-size: 26px;
	line-height: 32.5px;
	letter-spacing: -0.52px;
}

.wp-block-group.is-style-piv-form-card > * + * {
	margin-top: 26px;
}

.piv-form-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.piv-form-grid .piv-form-wide {
	grid-column: 1 / -1;
}

.piv-form-grid p,
.piv-form-grid label {
	margin: 0;
}

.piv-form-grid label {
	display: flex;
	flex-direction: column;
	gap: 8px;
	font-family: "Poppins", sans-serif;
	font-size: 13px;
	line-height: 19.5px;
	font-weight: 500;
	color: var(--piv-mid);
}

.piv-form-grid .wpcf7-form-control-wrap {
	display: block;
}

.piv-form-grid :is(input[type="text"], input[type="email"], input[type="tel"], textarea) {
	display: block;
	width: 100%;
	box-sizing: border-box;
	padding: 14px 16px;
	border: 1px solid var(--piv-line);
	border-radius: 12px;
	background: #fff;
	font-family: "Poppins", sans-serif;
	font-size: 15px;
	line-height: 22.5px;
	font-weight: 400;
	color: var(--piv-dark);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.piv-form-grid textarea {
	height: 120px;
	min-height: 120px;
	resize: vertical;
}

.piv-form-grid :is(input, textarea)::placeholder {
	color: var(--piv-muted);
	opacity: 1;
}

.piv-form-grid :is(input, textarea):focus {
	outline: none;
	border-color: var(--piv-cyan);
	box-shadow: 0 0 0 3px rgba(61, 190, 217, 0.18);
}

.piv-form-submit {
	margin-top: 26px;
}

.piv-form-submit input[type="submit"] {
	display: inline-flex;
	padding: 15.5px 34px 16px;
	border: 0;
	border-radius: 999px;
	background: var(--piv-red);
	color: #fff;
	font-family: "Poppins", sans-serif;
	font-size: 15px;
	font-weight: 600;
	line-height: 22.5px;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.piv-form-submit input[type="submit"]:hover {
	background: var(--piv-red-hover);
}

.piv-form-grid .wpcf7-not-valid-tip {
	margin-top: 6px;
	font-size: 13px;
	color: var(--piv-red);
}

.wpcf7 .wpcf7-response-output {
	margin: 18px 0 0;
	padding: 12px 16px;
	border-radius: 12px;
	font-family: "Poppins", sans-serif;
	font-size: 14px;
}

.piv-form-submit .wpcf7-spinner {
	vertical-align: middle;
}

@media (max-width: 767px) {
	.wp-block-group.is-style-piv-form-card {
		padding: 28px 22px;
	}

	.piv-form-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.wp-block-group:is(.is-style-piv-contact-phone, .is-style-piv-contact-email, .is-style-piv-contact-place) {
		padding-left: 86px;
		padding-right: 22px;
	}

	.wp-block-group:is(.is-style-piv-contact-phone, .is-style-piv-contact-email, .is-style-piv-contact-place)::before {
		left: 22px;
	}
}

/* -------------------------------------------------------------------------
   Embedded video (12 Oct 2026). [embed] YouTube iframes come out at a fixed 500px wide and
   overflowed a phone screen on /bird-control/pigeon-solar-panel-proofing/. Fit them to the column
   at 16:9 instead.
   ---------------------------------------------------------------------- */

:where(.piv-content, .editor-styles-wrapper) iframe[src*="youtube"],
:where(.piv-content, .editor-styles-wrapper) iframe[src*="vimeo"] {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
}

/* -------------------------------------------------------------------------
   Figma review fixes (13 Oct 2026, figma-review-2026-10-13.md)
   ---------------------------------------------------------------------- */

/* Body copy is #3d4142. Oxygen's ".breakdance .bde-rich-text" colour (two classes) beat the
   one-class scope above and turned every paragraph #374151. */
.breakdance .piv-content.bde-rich-text {
	color: #3d4142;
}

/* Service: the residential and commercial cards are an equal-height pair 28px apart, and the
   light card's closing line sits on the base (the card rules above push it down). */
.wp-block-columns.is-style-piv-split-top:has(> .wp-block-column:first-child > .is-style-piv-card:only-child):has(> .wp-block-column:last-child > .is-style-piv-card-dark:only-child) {
	gap: 28px;
}

.wp-block-columns.is-style-piv-split-top:has(> .wp-block-column:first-child > .is-style-piv-card:only-child):has(> .wp-block-column:last-child > .is-style-piv-card-dark:only-child) > .wp-block-column {
	align-self: stretch;
}

.piv-type-service .wp-block-image.is-style-piv-rounded img {
	border-radius: 18px;
}

/* Process and other large section headings sit 16px above their intro line. */
:is(.piv-content, .editor-styles-wrapper) .wp-block-group > h2.is-style-piv-h2-lg + .is-style-piv-intro {
	margin-top: 16px;
}

/* FAQ: the open answer's divider sits straight under the question (WordPress's flow layout added
   a 24px top margin), and the list band is 56px top, 80px bottom. */
.is-style-piv-faq .wp-block-accordion-item > .wp-block-accordion-panel {
	margin-top: 0;
}

.wp-block-group.is-style-piv-band:has(> .wp-block-accordion.is-style-piv-faq) {
	padding-top: 56px;
	padding-bottom: 80px;
}

/* Contact: 72px top, 88px bottom, 56px between the cards and the form, message box as Figma. */
.wp-block-group.is-style-piv-band:has(.is-style-piv-form-card) {
	padding-top: 72px;
	padding-bottom: 88px;
}

.wp-block-columns.is-style-piv-split-wide:has(.is-style-piv-form-card) {
	gap: 56px;
}

.piv-form-grid textarea {
	height: 145px;
	min-height: 145px;
	resize: none;
}

/* Two columns, wider left (About approach): 1.1 / 0.9, top aligned, 24px between photo and card. */
.wp-block-columns.is-style-piv-split-text {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
	gap: 64px;
	margin-bottom: 0;
}

.wp-block-columns.is-style-piv-split-text > .wp-block-column {
	flex-basis: auto !important;
	margin: 0;
	align-self: start;
}

:is(.piv-content, .editor-styles-wrapper) .wp-block-columns.is-style-piv-split-text > .wp-block-column + .wp-block-column > * + * {
	margin-top: 24px;
}

/* Quote card: light ground, italic quote, a rule above the name, role underneath. */
.wp-block-group.is-style-piv-quote {
	padding: 32px;
	border: 1px solid var(--piv-line);
	border-radius: 20px;
	background: var(--piv-light);
}

:is(.piv-content, .editor-styles-wrapper) .wp-block-group.is-style-piv-quote > p:first-child {
	font-size: 17px;
	line-height: 28.9px;
	font-style: italic;
	color: var(--piv-dark);
}

:is(.piv-content, .editor-styles-wrapper) .wp-block-group.is-style-piv-quote > p:nth-child(2) {
	margin-top: 16px;
	padding-top: 16px;
	border-top: 1px solid var(--piv-line);
	font-size: 15px;
	line-height: 22.5px;
	font-weight: 600;
	color: var(--piv-dark);
}

:is(.piv-content, .editor-styles-wrapper) .wp-block-group.is-style-piv-quote > p:nth-child(3) {
	margin-top: 2px;
	font-size: 14px;
	line-height: 21px;
}

/* Red quote card (19 Oct 2026, Kelly): a customer review retyped from an image, on brand red.
   Five white stars above (decorative), the quote, then the source under a light rule. */
.wp-block-group.is-style-piv-quote-red {
	padding: 38px;
	border-radius: 20px;
	background: var(--piv-red);
	color: #fff;
}

.wp-block-group.is-style-piv-quote-red::before {
	content: "\2605\2605\2605\2605\2605";
	display: block;
	margin-bottom: 18px;
	font-size: 22px;
	letter-spacing: 4px;
	line-height: 1;
	color: #fff;
}

:is(.piv-content, .editor-styles-wrapper) .wp-block-group.is-style-piv-quote-red > p:first-child {
	font-size: 19px;
	line-height: 31px;
	font-weight: 500;
	color: #fff;
}

:is(.piv-content, .editor-styles-wrapper) .wp-block-group.is-style-piv-quote-red > p:nth-child(2) {
	margin-top: 22px;
	padding-top: 18px;
	border-top: 1px solid rgba(255, 255, 255, 0.35);
	font-size: 15px;
	line-height: 22.5px;
	font-weight: 600;
	color: #fff;
}

@media (max-width: 767px) {
	.wp-block-group.is-style-piv-quote-red {
		padding: 28px;
	}

	:is(.piv-content, .editor-styles-wrapper) .wp-block-group.is-style-piv-quote-red > p:first-child {
		font-size: 17px;
		line-height: 28px;
	}
}

/* Tick cards, three up (About): 28px padding, 18px radius, 34px tick, an optional note in <em>. */
:is(.piv-content, .editor-styles-wrapper) ul.is-style-piv-ticks-3 {
	list-style: none;
	padding: 0;
}

ul.is-style-piv-ticks-3 {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	align-items: stretch;
	gap: 20px;
	margin-top: 44px !important;
}

ul.is-style-piv-ticks-3 > li {
	padding: 28px;
	border: 1px solid var(--piv-line);
	border-radius: 18px;
	background: #fff;
	font-size: 16px;
	line-height: 25.6px;
	font-weight: 500;
	color: var(--piv-dark);
}

ul.is-style-piv-ticks-3 > li::before {
	content: "";
	display: block;
	width: 34px;
	height: 34px;
	margin-bottom: 14px;
	border-radius: 999px;
	background: var(--piv-cyan) var(--piv-tick) center / 15px 15px no-repeat;
}

ul.is-style-piv-ticks-3 > li em {
	display: block;
	margin-top: 13.5px;
	font-style: normal;
	font-size: 14px;
	line-height: 23.1px;
	font-weight: 400;
	color: var(--piv-mid);
}

/* About welcome: heading column 0.85 / 1.15, with the Meet The Team button 6px lower. */
.piv-page-about .wp-block-columns.is-style-piv-split-intro {
	grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
}

.piv-page-about .wp-block-columns.is-style-piv-split-intro .wp-block-buttons {
	margin-top: 26px;
}

@media (max-width: 1023px) {
	.wp-block-columns.is-style-piv-split-text,
	.piv-page-about .wp-block-columns.is-style-piv-split-intro {
		grid-template-columns: minmax(0, 1fr);
		gap: 40px;
	}

	ul.is-style-piv-ticks-3 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.wp-block-group.is-style-piv-band:has(> .wp-block-accordion.is-style-piv-faq),
	.wp-block-group.is-style-piv-band:has(.is-style-piv-form-card) {
		padding-top: 52px;
		padding-bottom: 52px;
	}

	.wp-block-group.is-style-piv-quote {
		padding: 26px 22px;
	}

	ul.is-style-piv-ticks-3 {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* -------------------------------------------------------------------------
   Tables (18 Nov 2026). The cookie policy's [ckm_cookie_table] sits in a figure.wp-block-table;
   at 390px its five columns ran 509px wide and pushed the whole page sideways. The figure scrolls
   instead, and rows take the site's line colour. The table's "Cookie details" caption repeats the
   "Placed cookies" heading, so it stays for screen readers only.
   ---------------------------------------------------------------------- */

:is(.piv-content, .editor-styles-wrapper) .wp-block-table {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

:is(.piv-content, .editor-styles-wrapper) .wp-block-table table {
	width: 100%;
	border-collapse: collapse;
	font-size: 15px;
	line-height: 22px;
}

:is(.piv-content, .editor-styles-wrapper) .wp-block-table :is(th, td) {
	padding: 10px 14px 10px 0;
	border: 0;
	border-bottom: 1px solid var(--piv-line);
	text-align: left;
	vertical-align: top;
}

:is(.piv-content, .editor-styles-wrapper) .wp-block-table th {
	font-weight: 600;
	color: var(--piv-dark);
	border-bottom-color: var(--piv-dark);
}

.ckm-cookie-table caption {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

@media (max-width: 767px) {
	:is(.piv-content, .editor-styles-wrapper) .wp-block-table table {
		min-width: 560px;
	}
}
