/*
Theme Name: PivoBlog
Theme URI: https://pivoseo.com/pivoblog
Author: PivoSEO
Author URI: https://pivoseo.com
Description: Content-first niche blog theme from PivoSEO: readable article column, server-side table of contents, author box with E-E-A-T fields, related posts, Pinterest-ready images, share buttons without tracking, dark mode, and AdSense-friendly reserved ad slots that never cause layout shift. Styles PivoSEO Companion product cards when the plugin is active; works fully without it.
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 7.4
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pivoblog
Domain Path: /languages
Update URI: https://pivoseo.com/downloads/pivoblog-theme
Tags: blog, news, one-column, two-columns, right-sidebar, custom-colors, custom-logo, custom-menu, editor-style, featured-images, full-site-editing, block-patterns, style-variations, threaded-comments, translation-ready, wide-blocks
*/

/* ==================================================================
   Tokens (same values as the PivoBlog Next.js theme; light-dark() follows
   color-scheme, which the dark-mode switch sets through <html data-theme>)
   ================================================================== */
:root {
	color-scheme: light dark;
	--pb-brand: var(--wp--custom--brand, #e05d26);
	--pb-radius: var(--wp--custom--radius, 12px);
	--pb-font-heading: var(--wp--preset--font-family--nunito, ui-sans-serif, system-ui, sans-serif);
	--pb-font-body: var(--wp--preset--font-family--inter, ui-sans-serif, system-ui, sans-serif);

	--pb-bg: light-dark(#fbfaf8, #141413);
	--pb-surface: light-dark(#ffffff, #1c1c1b);
	--pb-surface-2: light-dark(#f4f1ec, #242422);
	--pb-fg: light-dark(#1f1d1a, #ecebe7);
	--pb-muted: light-dark(#5d5850, #aaa59c);
	--pb-border: light-dark(#e6e1d9, #33322f);
	--pb-border-strong: light-dark(#d4cdc2, #45433f);
	--pb-brand-ink: light-dark(color-mix(in oklab, var(--pb-brand) 72%, black), color-mix(in oklab, var(--pb-brand) 62%, white));
	--pb-brand-btn: color-mix(in oklab, var(--pb-brand) 80%, black);
	--pb-brand-soft: light-dark(color-mix(in oklab, var(--pb-brand) 9%, white), color-mix(in oklab, var(--pb-brand) 16%, #1c1c1b));
	--pb-brand-line: light-dark(color-mix(in oklab, var(--pb-brand) 35%, white), color-mix(in oklab, var(--pb-brand) 45%, #1c1c1b));
	--pb-shadow-sm: 0 1px 2px light-dark(rgb(31 29 26 / 0.06), rgb(0 0 0 / 0.4));
	--pb-shadow: 0 1px 2px light-dark(rgb(31 29 26 / 0.05), rgb(0 0 0 / 0.35)), 0 8px 24px -12px light-dark(rgb(31 29 26 / 0.18), rgb(0 0 0 / 0.6));
	--pb-radius-sm: calc(var(--pb-radius) * 0.6);
	--pb-radius-lg: calc(var(--pb-radius) * 1.4);
	--pb-header-h: 64px;
	--pb-sticky-top: var(--wp-admin--admin-bar--height, 0px);
	--pb-tip: light-dark(#e9f6ee, #17291f);
	--pb-tip-line: light-dark(#3e9a62, #4fb77a);
	--pb-warn: light-dark(#fff4e0, #2e2414);
	--pb-warn-line: light-dark(#d08a12, #e0a63a);
	--pb-info: light-dark(#e8f1fb, #16233a);
	--pb-info-line: light-dark(#3a78c2, #6aa0e0);
	--pb-note: light-dark(#f2eff9, #241f33);
	--pb-note-line: light-dark(#7a63c4, #9d88e0);
	/* Ad slots: reserved heights (no layout shift) and breathing room next to images/product cards. */
	--pb-ad-min: 280px;
	--pb-ad-min-sidebar: 600px;
	--pb-ad-gap: 2.5rem;
}
:root[data-theme="light"] {
	color-scheme: light;
}
:root[data-theme="dark"] {
	color-scheme: dark;
}

/* ==================================================================
   Base
   ================================================================== */
*,
::before,
::after {
	box-sizing: border-box;
}
html {
	-webkit-text-size-adjust: 100%;
	scroll-padding-top: calc(var(--pb-sticky-top) + var(--pb-header-h) + 16px);
}
body {
	margin: 0;
	background: var(--pb-bg);
	color: var(--pb-fg);
	font-family: var(--pb-font-body);
	font-size: 1rem;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
.wp-site-blocks {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}
:where(.wp-site-blocks) > * {
	margin-block: 0;
}
.wp-site-blocks > .pb-main,
.wp-site-blocks > main {
	flex: 1;
}
/* Preflight for theme markup only (page-builder content keeps its own spacing). */
:where(.pb-site-header, .pb-site-footer, .pb-main) :where(h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd):not(.pb-builder-content *) {
	margin: 0;
}
:is(.pb-site, .editor-styles-wrapper *) :where(.pb-site-header, .pb-site-footer, .pb-main, .wp-block-template-part, .wp-block-query, .wp-block-post-template, .wp-block-post) > *,
:is(.pb-site, .editor-styles-wrapper *) :where(.pb-site-header, .pb-site-footer, .pb-main, .pb-post-layout, .pb-post, .pb-post-header, .pb-page, .pb-page-layout, .pb-card, .pb-card__body, .pb-card__meta, .pb-section, .pb-archive-header, .pb-home-intro, .pb-not-found, .pb-site-header__inner, .pb-site-header__tools, .pb-site-brand, .pb-site-footer__inner, .pb-site-footer__about, .pb-site-footer__follow, .pb-site-footer__bottom, .pb-related, .pb-comment, .pb-comments) > * {
	margin-block: 0;
}
h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--pb-font-heading);
	line-height: 1.2;
	letter-spacing: -0.01em;
	text-wrap: balance;
	font-weight: 750;
}
a {
	color: inherit;
	text-decoration: none;
}
img,
video {
	max-width: 100%;
	height: auto;
}
button,
input,
select,
textarea {
	font: inherit;
	color: inherit;
}
:focus-visible {
	outline: 3px solid var(--pb-brand-line);
	outline-offset: 2px;
	border-radius: 4px;
}
::selection {
	background: color-mix(in oklab, var(--pb-brand) 25%, transparent);
}
@media (prefers-reduced-motion: no-preference) {
	html {
		scroll-behavior: smooth;
	}
}
.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
	word-wrap: normal !important;
}
.pb-site .skip-link.screen-reader-text:focus {
	clip: auto;
	width: auto;
	height: auto;
	left: 16px;
	top: 12px;
	z-index: 100000;
	background: var(--pb-brand-btn);
	color: #fff;
	padding: 10px 16px;
	border-radius: var(--pb-radius-sm);
	font-weight: 600;
	font-size: 1rem;
	line-height: 1.4;
	text-decoration: none;
	box-shadow: var(--pb-shadow);
}
.pb-dyn-hint {
	/* Only ever visible in the editor: on the front end the placeholder group is replaced. */
	margin: 4px 0;
	padding: 6px 10px;
	border: 1px dashed var(--pb-border-strong);
	border-radius: 6px;
	color: var(--pb-muted);
	font: 500 0.78rem/1.4 var(--pb-font-body);
	letter-spacing: 0;
	text-transform: none;
}
.pb-container {
	width: 100%;
	max-width: 1280px;
	margin-inline: auto;
	padding-inline: 16px;
}
@media (min-width: 640px) {
	.pb-container {
		padding-inline: 24px;
	}
}
@media (min-width: 1024px) {
	.pb-container {
		padding-inline: 32px;
	}
}

/* ==================================================================
   Buttons, pills, chips, tags
   ================================================================== */
.pb-button,
.wp-element-button,
.wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	padding: 10px 18px;
	border-radius: 999px;
	font-weight: 650;
	font-size: 0.95rem;
	line-height: 1.2;
	border: 1px solid transparent;
	transition: background-color 0.15s, border-color 0.15s, color 0.15s;
	cursor: pointer;
	text-align: center;
	text-decoration: none;
}
.wp-element-button,
.wp-block-button__link,
.pb-button--primary {
	background: var(--pb-brand-btn);
	color: #fff;
}
.wp-element-button:hover,
.wp-block-button__link:hover,
.pb-button--primary:hover {
	background: color-mix(in oklab, var(--pb-brand) 68%, black);
	color: #fff;
}
.pb-button--ghost,
.wp-block-button.is-style-pb-ghost .wp-block-button__link,
.wp-block-button.is-style-outline .wp-block-button__link {
	border-color: var(--pb-border-strong);
	background: var(--pb-surface);
	color: var(--pb-fg);
}
.pb-button--ghost:hover,
.wp-block-button.is-style-pb-ghost .wp-block-button__link:hover,
.wp-block-button.is-style-outline .wp-block-button__link:hover {
	border-color: var(--pb-brand-ink);
	color: var(--pb-brand-ink);
	background: var(--pb-surface);
}
.pb-icon-button {
	display: inline-grid;
	place-items: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border-radius: 999px;
	color: var(--pb-fg);
	border: 1px solid transparent;
	background: transparent;
	cursor: pointer;
	transition: background-color 0.15s;
}
.pb-icon-button:hover {
	background: var(--pb-surface-2);
}
.pb-icon {
	display: inline-block;
	flex-shrink: 0;
	vertical-align: middle;
}
.pb-eyebrow,
:is(.pb-site, .editor-styles-wrapper *) .wp-block-post-terms.pb-eyebrow {
	display: inline-block;
	font-size: 0.75rem;
	font-weight: 750;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--pb-brand-ink);
}
.pb-eyebrow a:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}
/* Only the primary (first) category is shown, as in PivoBlog. */
.wp-block-post-terms.pb-eyebrow a ~ a,
.wp-block-post-terms.pb-eyebrow .wp-block-post-terms__separator {
	display: none;
}
.pb-eyebrow--muted {
	color: var(--pb-muted);
}
.pb-pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 14px;
	border-radius: 999px;
	border: 1px solid var(--pb-border);
	background: var(--pb-surface);
	font-weight: 600;
	font-size: 0.9rem;
	white-space: nowrap;
	transition: border-color 0.15s, color 0.15s;
}
.pb-pill:hover {
	border-color: var(--pb-brand-ink);
	color: var(--pb-brand-ink);
}
.pb-pill__count {
	font-size: 0.75rem;
	color: var(--pb-muted);
	background: var(--pb-surface-2);
	border-radius: 999px;
	padding: 1px 8px;
}
.pb-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
	padding: 0;
	margin: 0 0 20px;
}
.pb-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	border-radius: 999px;
	background: var(--pb-brand-soft);
	color: var(--pb-fg);
	font-size: 0.875rem;
}
.pb-tag-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
	padding: 0;
	margin: 0;
}
.pb-tag {
	display: inline-block;
	padding: 5px 12px;
	border-radius: 999px;
	background: var(--pb-surface-2);
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--pb-fg);
}
a.pb-tag:hover {
	color: var(--pb-brand-ink);
}
.pb-tag--plain {
	font-weight: 500;
}

/* ==================================================================
   Header
   ================================================================== */
.wp-site-blocks > header.wp-block-template-part,
.wp-site-blocks > .wp-block-template-part:has(> .pb-site-header) {
	position: sticky;
	top: var(--pb-sticky-top);
	z-index: 40;
}
@media (max-width: 600px) {
	.wp-site-blocks > header.wp-block-template-part {
		top: 0;
	}
}
.pb-site-header {
	background: color-mix(in oklab, var(--pb-bg) 94%, transparent);
	backdrop-filter: saturate(1.4) blur(10px);
	-webkit-backdrop-filter: saturate(1.4) blur(10px);
	border-bottom: 1px solid var(--pb-border);
}
.pb-site-header__inner {
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: var(--pb-header-h);
}
.pb-site-brand {
	display: inline-flex;
	align-items: center;
	min-width: 0;
	margin-right: auto;
}
:is(.pb-site, .editor-styles-wrapper *) .pb-site-brand__title {
	font-family: var(--pb-font-heading);
	font-weight: 800;
	font-size: 1.2rem;
	line-height: 1.5;
	letter-spacing: -0.02em;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	margin: 0;
}
.pb-site-brand__title::before {
	content: "";
	display: inline-block;
	width: 10px;
	height: 10px;
	margin-right: 8px;
	border-radius: 3px;
	background: var(--pb-brand);
	transform: rotate(45deg) translateY(-2px);
}
.pb-site-brand__logo {
	margin: 0;
}
.pb-site-brand__logo img {
	height: 40px;
	width: auto;
	max-width: 100%;
	object-fit: contain;
	object-position: left center;
}
.pb-site-brand:has(.pb-site-brand__logo img) .pb-site-brand__title {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
}
@media (min-width: 640px) {
	.pb-site-header__inner {
		gap: 24px;
	}
	.pb-site-brand {
		flex-shrink: 0;
	}
	:is(.pb-site, .editor-styles-wrapper *) .pb-site-brand__title {
		font-size: 1.35rem;
	}
}
.pb-site-header__tools {
	display: flex;
	flex-shrink: 0;
	align-items: center;
	gap: 4px;
}

/* Core navigation block: horizontal from 1200px, hamburger + dropdown panel below. */
.pb-site-nav.wp-block-navigation {
	gap: 4px;
	font-size: 0.95rem;
}
.pb-site-nav .wp-block-navigation__container {
	gap: 4px;
}
.pb-site-nav .wp-block-navigation-item__content.wp-block-navigation-item__content {
	display: block;
	padding: 8px 12px;
	border-radius: 999px;
	font-weight: 600;
	color: var(--pb-fg);
	white-space: nowrap;
}
.pb-site-nav .wp-block-navigation-item__content:hover {
	background: var(--pb-surface-2);
	color: var(--pb-brand-ink);
}
.pb-site-nav .wp-block-navigation__responsive-container-open,
.pb-site-nav .wp-block-navigation__responsive-container-close {
	width: 40px;
	height: 40px;
	border-radius: 999px;
	align-items: center;
	justify-content: center;
	color: var(--pb-fg);
}
.pb-site-nav .wp-block-navigation__responsive-container-open:hover {
	background: var(--pb-surface-2);
}
@media (max-width: 1199px) {
	.pb-site-nav.wp-block-navigation {
		order: 3;
	}
	.pb-site-nav .wp-block-navigation__responsive-container-open:not(.always-shown) {
		display: flex;
	}
	.pb-site-nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
		display: none;
	}
	.pb-site-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close {
		display: flex;
	}
}
.pb-site-nav .wp-block-navigation__responsive-container.is-menu-open {
	top: calc(var(--pb-sticky-top) + var(--pb-header-h));
	bottom: auto;
	max-height: calc(100vh - var(--pb-sticky-top) - var(--pb-header-h));
	overflow-y: auto;
	padding: 16px;
	background: var(--pb-bg) !important;
	color: var(--pb-fg) !important;
	border-bottom: 1px solid var(--pb-border);
	box-shadow: var(--pb-shadow);
	animation: none;
}
.pb-site-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
	padding-top: 40px;
	align-items: stretch;
}
.pb-site-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
	gap: 0;
	align-items: stretch;
	width: 100%;
}
.pb-site-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item {
	width: 100%;
}
.pb-site-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content.wp-block-navigation-item__content {
	padding: 12px 4px;
	font-weight: 650;
	font-size: 1.05rem;
	border-radius: 0;
	border-bottom: 1px solid var(--pb-border);
	width: 100%;
}
.pb-site-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content:hover {
	background: transparent;
}

.pb-search-form {
	display: flex;
	align-items: center;
	margin: 0;
	background: var(--pb-surface);
	border: 1px solid var(--pb-border-strong);
	border-radius: 999px;
	padding: 4px 4px 4px 16px;
	transition: border-color 0.15s, box-shadow 0.15s;
}
.pb-search-form:focus-within {
	border-color: var(--pb-brand-ink);
	box-shadow: 0 0 0 3px color-mix(in oklab, var(--pb-brand) 20%, transparent);
}
.pb-search-form input {
	flex: 1;
	min-width: 0;
	border: 0;
	background: transparent;
	color: var(--pb-fg);
	font-size: 1rem;
	padding: 6px 0;
	outline: none;
	-webkit-appearance: none;
	appearance: none;
}
.pb-search-form input::placeholder {
	color: var(--pb-muted);
}
.pb-search-form input::-webkit-search-cancel-button {
	display: none;
}
.pb-search-form button {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: var(--pb-brand-btn);
	color: #fff;
	cursor: pointer;
	flex-shrink: 0;
}
.pb-search-form--large {
	max-width: 560px;
	margin-top: 20px;
	padding: 6px 6px 6px 20px;
}
.pb-search-form--large button {
	width: 44px;
	height: 44px;
}
.pb-search-form.pb-site-header__search {
	display: none;
}
@media (min-width: 1360px) {
	.pb-search-form.pb-site-header__search {
		display: flex;
		width: 220px;
	}
	.pb-site-header__search-link {
		display: none;
	}
}
.pb-theme-toggle__moon {
	display: none;
}
:root[data-theme="dark"] .pb-theme-toggle__sun {
	display: none;
}
:root[data-theme="dark"] .pb-theme-toggle__moon {
	display: block;
}
@media (prefers-color-scheme: dark) {
	:root:not([data-theme]) .pb-theme-toggle__sun {
		display: none;
	}
	:root:not([data-theme]) .pb-theme-toggle__moon {
		display: block;
	}
}

/* ==================================================================
   Footer
   ================================================================== */
.pb-site-footer {
	margin-top: 72px;
	border-top: 1px solid var(--pb-border);
	background: var(--pb-surface);
	font-size: 0.95rem;
}
.pb-site-footer__inner {
	display: grid;
	gap: 32px;
	padding-block: 48px 32px;
}
@media (min-width: 768px) {
	.pb-site-footer__inner {
		grid-template-columns: 2fr 1fr 1fr;
	}
}
:is(.pb-site, .editor-styles-wrapper *) .pb-site-footer__title {
	font-family: var(--pb-font-heading);
	font-weight: 800;
	font-size: 1.25rem;
	line-height: 1.5;
	margin: 0;
}
:is(.pb-site, .editor-styles-wrapper *) .pb-site-footer__tagline,
:is(.pb-site, .editor-styles-wrapper *) .pb-site-footer__text {
	color: var(--pb-muted);
	margin-top: 8px;
	max-width: 48ch;
	white-space: pre-line;
}
.pb-site-footer__list,
.pb-site-footer__legal {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 8px;
}
.pb-site-footer a:hover {
	color: var(--pb-brand-ink);
}
.pb-site-footer__heading {
	font-weight: 700;
	margin-bottom: 8px !important;
}
.pb-social-links {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	list-style: none;
	padding: 0;
	margin: 0 0 0 -8px;
}
.pb-social-links--small {
	margin-top: 12px;
}
.pb-social-links .pb-icon-button {
	color: var(--pb-muted);
}
.pb-social-links .pb-icon-button:hover {
	color: var(--pb-brand-ink);
}
.pb-site-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 12px;
	padding-block: 20px 28px;
	border-top: 1px solid var(--pb-border);
	color: var(--pb-muted);
	font-size: 0.875rem;
}
.pb-site-footer__bottom .pb-site-footer__nav {
	margin: 0;
}
.pb-site-footer__legal {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
}

/* ==================================================================
   Home
   ================================================================== */
.pb-home-intro {
	padding-top: 40px;
	padding-bottom: 8px;
}
:is(.pb-site, .editor-styles-wrapper *) .pb-home-intro__title {
	font-family: var(--pb-font-heading);
	font-size: clamp(1.9rem, 4vw, 2.75rem);
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: -0.01em;
}
:is(.pb-site, .editor-styles-wrapper *) .pb-home-intro__tagline {
	margin-top: 8px;
	color: var(--pb-muted);
	font-size: 1.1rem;
	max-width: 60ch;
}
.pb-category-strip ul {
	display: flex;
	gap: 8px;
	list-style: none;
	padding: 16px 0 4px;
	margin: 0;
	overflow-x: auto;
	scrollbar-width: none;
}
.pb-category-strip ul::-webkit-scrollbar {
	display: none;
}
.pb-hero-query {
	margin-top: 24px;
}
.pb-hero {
	display: grid;
	gap: 24px;
	list-style: none;
	margin: 0;
	padding: 0;
}
@media (min-width: 640px) {
	.pb-hero:has(> li:nth-child(2)) {
		grid-template-columns: 1fr 1fr;
	}
	.pb-hero > li:first-child {
		grid-column: 1 / -1;
	}
}
@media (min-width: 1024px) {
	.pb-hero:has(> li:nth-child(2)) {
		grid-template-columns: 1.65fr 1fr;
		grid-auto-rows: 1fr;
	}
	.pb-hero > li:first-child {
		grid-column: 1;
		grid-row: 1 / span 3;
	}
	.pb-hero > li:not(:first-child) {
		grid-column: 2;
	}
}
.pb-section {
	margin-top: 48px;
}
:is(.pb-site, .editor-styles-wrapper *) .pb-section__title {
	font-size: 1.5rem;
	margin-bottom: 20px;
	display: flex;
	align-items: center;
	gap: 12px;
}
.pb-section__title::after {
	content: "";
	flex: 1;
	height: 1px;
	background: var(--pb-border);
}
.pb-empty {
	color: var(--pb-muted);
	padding: 32px 0;
}

/* ==================================================================
   Cards (Query Loop)
   ================================================================== */
.pb-card-grid {
	display: grid;
	gap: 28px 24px;
	grid-template-columns: 1fr;
	list-style: none;
	margin: 0;
	padding: 0;
}
@media (min-width: 640px) {
	.pb-card-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media (min-width: 1024px) {
	.pb-card-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}
.pb-related .pb-card-grid {
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
}
.pb-card-grid > li,
.pb-hero > li {
	display: flex;
	min-width: 0;
	margin: 0;
}
.pb-card {
	position: relative;
	display: flex;
	flex-direction: column;
	flex: 1;
	background: var(--pb-surface);
	border-radius: var(--pb-radius-lg);
	box-shadow: var(--pb-shadow);
	overflow: hidden;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	min-width: 0;
}
.pb-card:hover {
	transform: translateY(-2px);
}
:is(.pb-site, .editor-styles-wrapper *) .pb-card__media {
	display: block;
	aspect-ratio: 3 / 2;
	background: var(--pb-surface-2);
	overflow: hidden;
	margin: 0;
	flex-shrink: 0;
}
.pb-card__media a {
	display: block;
	height: 100%;
}
:is(.pb-site, .editor-styles-wrapper *) .pb-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}
.pb-card:hover .pb-card__media img {
	transform: scale(1.03);
}
.pb-card__placeholder {
	display: block;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, var(--pb-brand-soft), var(--pb-surface-2));
}
.pb-card__body {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 18px 20px 20px;
	flex: 1;
}
.pb-card .pb-eyebrow {
	position: relative;
	z-index: 1;
	align-self: flex-start;
}
:is(.pb-site, .editor-styles-wrapper *) .pb-card__title {
	font-size: 1.2rem;
	line-height: 1.3;
}
.pb-card__title a:hover {
	color: var(--pb-brand-ink);
}
.pb-card__title a::after {
	content: "";
	position: absolute;
	inset: 0;
}
.pb-card__excerpt {
	color: var(--pb-muted);
	font-size: 0.95rem;
}
.pb-card__excerpt p {
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.pb-card__excerpt .wp-block-post-excerpt__more-text {
	display: none;
}
.pb-card__meta {
	margin-top: auto !important;
	padding-top: 4px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 14px;
	font-size: 0.8rem;
	color: var(--pb-muted);
}
.pb-card__reading {
	display: inline-flex;
	align-items: center;
	gap: 4px;
}
/* Hero: lead card + compact side cards. */
.pb-hero > li:first-child .pb-card__media {
	aspect-ratio: 16 / 10;
}
:is(.pb-site, .editor-styles-wrapper *) .pb-hero > li:first-child .pb-card__title {
	font-size: clamp(1.45rem, 3vw, 2rem);
}
.pb-hero > li:first-child .pb-card__body {
	padding: 22px 24px 24px;
}
.pb-hero > li:not(:first-child) .pb-card {
	flex-direction: row;
}
.pb-hero > li:not(:first-child) .pb-card__media {
	width: 42%;
	aspect-ratio: 4 / 3;
}
.pb-hero > li:not(:first-child) .pb-card__body {
	padding: 14px 16px;
}
:is(.pb-site, .editor-styles-wrapper *) .pb-hero > li:not(:first-child) .pb-card__title {
	font-size: 1.05rem;
}
.pb-hero > li:not(:first-child) .pb-card__excerpt {
	display: none;
}
@media (min-width: 640px) and (max-width: 1023px) {
	.pb-hero > li:not(:first-child) .pb-card {
		flex-direction: column;
	}
	.pb-hero > li:not(:first-child) .pb-card__media {
		width: 100%;
	}
}
@media (min-width: 1024px) {
	.pb-hero > li:not(:first-child) .pb-card__media {
		aspect-ratio: auto;
		height: auto;
		align-self: stretch;
	}
	:is(.pb-site, .editor-styles-wrapper *) .pb-hero > li:not(:first-child) .pb-card__title {
		font-size: 1.125rem;
	}
}

/* ==================================================================
   Pagination
   ================================================================== */
.pb-pagination {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 12px;
	margin-top: 40px !important;
}
.pb-pagination > :last-child {
	justify-self: end;
}
.pb-pagination__status {
	color: var(--pb-muted);
	font-size: 0.9rem;
}

/* ==================================================================
   Archive headers, author card, 404
   ================================================================== */
.pb-archive-header {
	padding-top: 32px;
}
:is(.pb-site, .editor-styles-wrapper *) .pb-archive-header__title {
	font-size: clamp(1.9rem, 4vw, 2.6rem);
	font-weight: 800;
	margin-top: 6px;
}
:is(.pb-site, .editor-styles-wrapper *) .pb-archive-header__description {
	color: var(--pb-muted);
	font-size: 1.075rem;
	max-width: 68ch;
	margin-top: 10px;
}
:is(.pb-site, .editor-styles-wrapper *) .pb-archive-header__count {
	margin-top: 10px;
	font-size: 0.9rem;
	color: var(--pb-muted);
}
.pb-author-header__card {
	display: flex;
	flex-direction: column;
	gap: 20px;
	margin-top: 16px;
	padding: 24px;
	background: var(--pb-surface);
	border-radius: var(--pb-radius-lg);
	box-shadow: var(--pb-shadow);
}
@media (min-width: 640px) {
	.pb-author-header__card {
		flex-direction: row;
		align-items: flex-start;
	}
}
.pb-not-found {
	padding-top: 48px;
}
:is(.pb-site, .editor-styles-wrapper *) .pb-not-found__code {
	font-family: var(--pb-font-heading);
	font-weight: 800;
	font-size: clamp(4rem, 14vw, 7rem);
	line-height: 1;
	color: var(--pb-brand-line);
}
.pb-not-found__actions {
	margin-top: 20px !important;
}

/* ==================================================================
   Breadcrumbs
   ================================================================== */
.pb-breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	list-style: none;
	padding: 0;
	margin: 0 0 14px;
	font-size: 0.85rem;
	color: var(--pb-muted);
}
.pb-breadcrumbs li {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	min-width: 0;
}
.pb-breadcrumbs li + li::before {
	content: "/";
	opacity: 0.5;
}
.pb-breadcrumbs a:hover {
	color: var(--pb-brand-ink);
	text-decoration: underline;
}
.pb-breadcrumbs [aria-current] {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	max-width: 32ch;
}

/* ==================================================================
   Post layout (article + sticky TOC + ad rail)
   ================================================================== */
.pb-post-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	grid-template-areas: "main";
	gap: 48px;
	padding-top: 28px;
}
.pb-post {
	grid-area: main;
	min-width: 0;
	max-width: 760px;
	width: 100%;
	margin-inline: auto;
}
.pb-sidebar-part {
	display: contents;
}
.pb-toc--side,
.pb-post-rail {
	display: none;
}
@media (min-width: 1024px) {
	.pb-post-layout.has-toc,
	.pb-post-layout.has-rail {
		grid-template-columns: minmax(0, 1fr) 300px;
		grid-template-rows: auto 1fr;
		grid-template-areas: "main toc" "main rail";
	}
	.pb-post-layout.has-toc:not(.has-rail) {
		grid-template-areas: "main toc" "main toc";
	}
	.pb-post-layout.has-rail:not(.has-toc) {
		grid-template-areas: "main rail" "main rail";
	}
	.pb-toc--side {
		display: block;
		grid-area: toc;
		align-self: start;
	}
	.pb-post-layout.has-toc:not(.has-rail) .pb-toc--side {
		position: sticky;
		top: calc(var(--pb-sticky-top) + var(--pb-header-h) + 24px);
	}
	.pb-post-rail {
		display: block;
		grid-area: rail;
	}
	.pb-post-rail__inner {
		position: sticky;
		top: calc(var(--pb-sticky-top) + var(--pb-header-h) + 24px);
	}
	.pb-toc--mobile {
		display: none;
	}
}
@media (min-width: 1280px) {
	.pb-post-layout.has-toc.has-rail {
		grid-template-columns: 220px minmax(0, 1fr) 300px;
		grid-template-rows: auto;
		grid-template-areas: "toc main rail";
		gap: 40px;
	}
	.pb-post-layout.has-toc.has-rail .pb-toc--side {
		position: sticky;
		top: calc(var(--pb-sticky-top) + var(--pb-header-h) + 24px);
	}
}
.pb-page-layout {
	padding-top: 28px;
}
.pb-page {
	max-width: 760px;
	margin-inline: auto;
}
.pb-page-layout--narrow .pb-page {
	max-width: 680px;
}
.pb-page-layout--wide .pb-page {
	max-width: 1040px;
}
.pb-post-header {
	margin-bottom: 24px !important;
}
:is(.pb-site, .editor-styles-wrapper *) .pb-post-title {
	font-size: clamp(2rem, 5vw, 3rem);
	font-weight: 800;
	line-height: 1.12;
	margin-top: 8px;
	letter-spacing: -0.02em;
}
.pb-byline {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 24px;
	margin-top: 20px;
}
.pb-byline__author {
	display: inline-flex;
	align-items: center;
	gap: 12px;
}
.pb-byline__author > span {
	display: flex;
	flex-direction: column;
	line-height: 1.3;
}
.pb-byline__name {
	font-weight: 700;
}
.pb-byline__author:hover .pb-byline__name {
	color: var(--pb-brand-ink);
}
.pb-byline__job {
	font-size: 0.85rem;
	color: var(--pb-muted);
}
:is(.pb-site, .editor-styles-wrapper *) .pb-byline__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 16px;
	font-size: 0.875rem;
	color: var(--pb-muted);
	margin: 0;
}
.pb-byline__reading {
	display: inline-flex;
	align-items: center;
	gap: 4px;
}
.pb-avatar {
	display: block;
	border-radius: 999px;
	object-fit: cover;
	flex-shrink: 0;
	background: var(--pb-surface-2);
}
.pb-avatar--initials {
	display: inline-grid;
	place-items: center;
	font-weight: 800;
	color: #fff;
	background: var(--pb-brand-btn);
	line-height: 1;
}
:is(.pb-site, .editor-styles-wrapper *) .pivoseo-affiliate-disclosure {
	margin: 20px 0 0;
	padding: 12px 16px;
	border-left: 3px solid var(--pb-border-strong);
	background: var(--pb-surface-2);
	border-radius: 0 var(--pb-radius-sm) var(--pb-radius-sm) 0;
	font-size: 0.85rem;
	line-height: 1.6;
	color: var(--pb-muted);
	display: grid;
	gap: 4px;
}
.pb-prose .pivoseo-affiliate-disclosure {
	margin: 0 0 16px;
	opacity: 1;
}
.pivoseo-affiliate-disclosure > * {
	margin: 0 !important;
}
.pivoseo-affiliate-disclosure strong {
	color: var(--pb-fg);
}
:is(.pb-site, .editor-styles-wrapper *) .pb-featured {
	position: relative;
	margin: 0 0 28px;
}
:is(.pb-site, .editor-styles-wrapper *) .pb-featured img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: var(--pb-radius-lg);
	background: var(--pb-surface-2);
}
.pb-summary-box {
	margin: 0 0 28px;
	padding: 20px 22px;
	border-radius: var(--pb-radius);
	background: var(--pb-brand-soft);
	border: 1px solid var(--pb-brand-line);
	font-size: 1.05rem;
	line-height: 1.65;
}
:is(.pb-site, .editor-styles-wrapper *) .pb-summary-box__title {
	font-family: var(--pb-font-heading);
	font-weight: 800;
	color: var(--pb-brand-ink);
	font-size: 0.8rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	margin-bottom: 6px;
}

/* ==================================================================
   Table of contents
   ================================================================== */
.pb-toc {
	border: 1px solid var(--pb-border);
	border-radius: var(--pb-radius);
	background: var(--pb-surface);
	font-size: 0.925rem;
	line-height: 1.6;
}
.pb-prose .pb-toc--mobile {
	margin: 0 0 28px;
}
.pb-toc--mobile > summary {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 14px 18px;
	font-weight: 750;
	cursor: pointer;
	list-style: none;
}
.pb-toc--mobile > summary::-webkit-details-marker {
	display: none;
}
.pb-toc__chevron {
	transition: transform 0.2s;
}
details[open] > summary .pb-toc__chevron {
	transform: rotate(180deg);
}
.pb-toc--mobile nav {
	padding: 0 18px 16px;
}
.pb-toc--side {
	padding: 18px;
	max-height: calc(100vh - var(--pb-header-h) - 48px);
	overflow-y: auto;
}
:is(.pb-site, .editor-styles-wrapper *) .pb-toc__title {
	font-weight: 800;
	font-size: 0.8rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--pb-muted);
	margin-bottom: 10px;
}
:is(.pb-site, .editor-styles-wrapper *) .pb-toc__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 2px;
}
:is(.pb-site, .editor-styles-wrapper *) .pb-toc__list li {
	margin: 0;
	padding: 0;
}
:is(.pb-site, .editor-styles-wrapper *) .pb-toc__list a {
	display: block;
	padding: 5px 0 5px 12px;
	border-left: 2px solid var(--pb-border);
	color: var(--pb-muted);
	line-height: 1.35;
	text-decoration: none;
}
:is(.pb-site, .editor-styles-wrapper *) .pb-toc__list a:hover {
	color: var(--pb-brand-ink);
	border-left-color: var(--pb-brand);
}
:is(.pb-site, .editor-styles-wrapper *) .pb-toc__sub a {
	padding-left: 26px;
	font-size: 0.875rem;
}

/* ==================================================================
   Prose (article body = core/post-content)
   ================================================================== */
.pb-prose {
	font-size: 1.125rem;
	line-height: 1.75;
	color: var(--pb-fg);
	overflow-wrap: break-word;
}
.pb-prose :where(p, ul, ol, dl, blockquote, pre, figure, table, details, hr, aside, section, .wp-block-group, .wp-block-buttons, .wp-block-columns, .wp-block-embed):not(.pb-builder-content *) {
	margin-block: 0 1.25em;
}
.pb-prose :where(h2) {
	font-size: clamp(1.5rem, 3vw, 1.85rem);
	margin: 1.9em 0 0.6em;
}
.pb-prose :where(h3) {
	font-size: clamp(1.2rem, 2.4vw, 1.4rem);
	margin: 1.6em 0 0.5em;
}
.pb-prose :where(h4, h5, h6) {
	font-size: 1.1rem;
	margin: 1.4em 0 0.4em;
}
.pb-prose > :where(h2, h3):first-child,
.pb-prose > .pb-toc + :where(h2, h3) {
	margin-top: 0;
}
.pb-prose :where(a:not(.wp-element-button, .pb-pin, .pb-share-button, [class*="pivoseo-"])) {
	color: var(--pb-brand-ink);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}
.pb-prose :where(a:not(.wp-element-button, .pb-pin, .pb-share-button, [class*="pivoseo-"])):hover {
	text-decoration-thickness: 2px;
}
.pb-prose :where(strong, b) {
	font-weight: 700;
}
.pb-prose :where(ul, ol) {
	padding-left: 1.5em;
}
.pb-prose :where(li) {
	margin-block: 0.35em;
	padding-left: 0.2em;
}
.pb-prose :where(li)::marker {
	color: var(--pb-brand-ink);
}
.pb-prose :where(blockquote) {
	border-left: 4px solid var(--pb-brand);
	padding: 4px 0 4px 20px;
	font-style: italic;
	color: var(--pb-muted);
}
.pb-prose :where(blockquote) > :last-child {
	margin-bottom: 0;
}
.pb-prose :where(img, video) {
	max-width: 100%;
	height: auto;
	border-radius: var(--pb-radius);
}
.pb-prose :where(figure.wp-block-image) {
	position: relative;
	text-align: center;
}
.pb-prose :where(figure.wp-block-image img) {
	display: inline-block;
	vertical-align: top;
}
.pb-prose :where(figcaption),
.pb-prose .wp-element-caption {
	font-size: 0.875rem;
	color: var(--pb-muted);
	margin-top: 8px;
	margin-bottom: 0;
	text-align: center;
}
.pb-prose :where(hr),
.pb-prose .wp-block-separator {
	border: 0;
	border-top: 1px solid var(--pb-border);
	margin-block: 2.5em;
	opacity: 1;
}
.pb-prose :where(code) {
	font-size: 0.9em;
	background: var(--pb-surface-2);
	padding: 2px 6px;
	border-radius: 6px;
}
.pb-prose :where(pre) {
	background: var(--pb-surface-2);
	padding: 16px 18px;
	border-radius: var(--pb-radius);
	overflow-x: auto;
	font-size: 0.9rem;
	line-height: 1.6;
}
.pb-prose :where(pre code) {
	background: none;
	padding: 0;
}
.pb-prose :where(mark) {
	background: color-mix(in oklab, var(--pb-brand) 22%, transparent);
	color: inherit;
	padding: 0 2px;
	border-radius: 3px;
}
.pb-prose .wp-block-table {
	overflow-x: auto;
	border: 1px solid var(--pb-border);
	border-radius: var(--pb-radius);
	-webkit-overflow-scrolling: touch;
}
.pb-prose .wp-block-table table {
	margin: 0;
}
.pb-prose .wp-block-table :is(th, td) {
	border: 0;
	border-bottom: 1px solid var(--pb-border);
}
.pb-prose .wp-block-table thead {
	border-bottom: 0;
}
.pb-prose .wp-block-table tr:last-child td {
	border-bottom: 0;
}
.pb-prose :where(table) {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.95rem;
	line-height: 1.5;
}
.pb-prose :where(th, td) {
	padding: 10px 14px;
	border: 0;
	border-bottom: 1px solid var(--pb-border);
	text-align: left;
	vertical-align: top;
}
.pb-prose :where(th) {
	background: var(--pb-surface-2);
	font-weight: 700;
	white-space: nowrap;
}
.pb-prose :where(thead) {
	border-bottom: 0;
}
.pb-prose :where(tr:last-child td) {
	border-bottom: 0;
}
.pb-prose .wp-block-embed__wrapper iframe,
.pb-prose :where(iframe) {
	max-width: 100%;
	border-radius: var(--pb-radius);
}
.pb-builder-content {
	font-size: 1rem;
	line-height: 1.6;
}

/* Callouts (Group block styles) */
:is(.pb-site, .editor-styles-wrapper *) .wp-block-group[class*="is-style-pb-callout"] {
	--c-bg: var(--pb-note);
	--c-line: var(--pb-note-line);
	background: var(--c-bg);
	border: 1px solid color-mix(in oklab, var(--c-line) 35%, transparent);
	border-left: 4px solid var(--c-line);
	border-radius: var(--pb-radius-sm);
	padding: 16px 20px;
	font-size: 1.025rem;
	line-height: 1.65;
}
:is(.pb-site, .editor-styles-wrapper *) .wp-block-group.is-style-pb-callout-tip {
	--c-bg: var(--pb-tip);
	--c-line: var(--pb-tip-line);
}
:is(.pb-site, .editor-styles-wrapper *) .wp-block-group.is-style-pb-callout-warning {
	--c-bg: var(--pb-warn);
	--c-line: var(--pb-warn-line);
}
:is(.pb-site, .editor-styles-wrapper *) .wp-block-group.is-style-pb-callout-info {
	--c-bg: var(--pb-info);
	--c-line: var(--pb-info-line);
}
.wp-block-group[class*="is-style-pb-callout"] > * {
	margin-block: 0 0.75em !important;
}
.wp-block-group[class*="is-style-pb-callout"] > :last-child {
	margin-bottom: 0 !important;
}
.wp-block-group[class*="is-style-pb-callout"] :where(strong:first-child) {
	color: var(--c-line);
}
:is(.pb-site, .editor-styles-wrapper *) .wp-block-group.is-style-pb-card-box {
	background: var(--pb-surface);
	border: 1px solid var(--pb-border);
	border-radius: var(--pb-radius);
	padding: 20px;
}

/* Steps (List block style "Numbered steps") */
:is(.pb-site, .editor-styles-wrapper *) ol.is-style-pb-steps {
	list-style: none;
	padding: 0;
	counter-reset: step;
}
:is(.pb-site, .editor-styles-wrapper *) ol.is-style-pb-steps > li {
	counter-increment: step;
	position: relative;
	padding: 18px 20px 18px 68px;
	margin-block: 0 14px;
	background: var(--pb-surface);
	border: 1px solid var(--pb-border);
	border-radius: var(--pb-radius);
}
:is(.pb-site, .editor-styles-wrapper *) ol.is-style-pb-steps > li::before {
	content: counter(step);
	position: absolute;
	left: 18px;
	top: 16px;
	width: 34px;
	height: 34px;
	border-radius: 999px;
	display: grid;
	place-items: center;
	background: var(--pb-brand-btn);
	color: #fff;
	font-weight: 800;
	font-size: 0.95rem;
	font-family: var(--pb-font-heading);
	line-height: 1;
}
:is(.pb-site, .editor-styles-wrapper *) ol.is-style-pb-steps > li::marker {
	content: none;
}
:is(.pb-site, .editor-styles-wrapper *) ol.is-style-pb-steps > li :where(h3, h4, strong:first-child) {
	display: block;
	margin: 2px 0 6px;
	font-family: var(--pb-font-heading);
	font-size: 1.1rem;
}
:is(.pb-site, .editor-styles-wrapper *) ol.is-style-pb-steps img {
	margin-top: 12px;
}
/* Checklist (List block style) */
:is(.pb-site, .editor-styles-wrapper *) ul.is-style-pb-checklist {
	list-style: none;
	padding: 0;
	border: 1px solid var(--pb-border);
	border-radius: var(--pb-radius);
	background: var(--pb-surface);
	overflow: hidden;
}
:is(.pb-site, .editor-styles-wrapper *) ul.is-style-pb-checklist > li {
	position: relative;
	margin: 0;
	padding: 12px 16px 12px 48px;
	font-size: 1rem;
	line-height: 1.5;
}
:is(.pb-site, .editor-styles-wrapper *) ul.is-style-pb-checklist > li + li {
	border-top: 1px solid var(--pb-border);
}
:is(.pb-site, .editor-styles-wrapper *) ul.is-style-pb-checklist > li::before {
	content: "";
	position: absolute;
	left: 16px;
	top: 14px;
	width: 20px;
	height: 20px;
	border-radius: 6px;
	background: var(--pb-brand-soft) no-repeat center / 14px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b14a1d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E");
	border: 1px solid var(--pb-brand-line);
}

/* FAQ (Details blocks) */
:is(.pb-site, .editor-styles-wrapper *) .wp-block-details {
	border: 1px solid var(--pb-border);
	border-radius: var(--pb-radius);
	background: var(--pb-surface);
	margin-block: 0 10px;
	padding: 0;
}
:is(.pb-site, .editor-styles-wrapper *) .wp-block-details > summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 18px;
	font-weight: 700;
	font-family: var(--pb-font-heading);
	cursor: pointer;
	list-style: none;
	line-height: 1.4;
}
:is(.pb-site, .editor-styles-wrapper *) .wp-block-details > summary::-webkit-details-marker {
	display: none;
}
:is(.pb-site, .editor-styles-wrapper *) .wp-block-details > summary::after {
	content: "";
	width: 18px;
	height: 18px;
	flex-shrink: 0;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
	transition: transform 0.2s;
}
:is(.pb-site, .editor-styles-wrapper *) .wp-block-details[open] > summary::after {
	transform: rotate(180deg);
}
:is(.pb-site, .editor-styles-wrapper *) .wp-block-details > :not(summary) {
	padding-inline: 18px;
	margin-block: 0 12px;
	line-height: 1.7;
}
:is(.pb-site, .editor-styles-wrapper *) .wp-block-details > :last-child {
	padding-bottom: 14px;
	margin-bottom: 0;
}

/* Sections from the patterns */
.pb-materials,
.pb-howto,
.pb-faq {
	margin-top: 48px !important;
}
:is(.pb-site, .editor-styles-wrapper *) :is(.pb-materials, .pb-howto, .pb-faq) > h2 {
	font-size: clamp(1.5rem, 3vw, 1.85rem);
	margin: 0 0 16px;
}
:is(.pb-site, .editor-styles-wrapper *) .pb-materials > h3 {
	font-family: var(--pb-font-body);
	font-size: 1rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--pb-muted);
	margin: 24px 0 10px;
}
.pb-howto .pb-chips {
	margin-bottom: 20px;
}
.pb-ideas-item {
	margin-top: 40px !important;
}

:is(.pb-site, .editor-styles-wrapper *) .pb-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
	padding: 0;
	margin: 0 0 20px;
}
:is(.pb-site, .editor-styles-wrapper *) .pb-chips > li {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 0;
	padding: 6px 12px;
	border-radius: 999px;
	background: var(--pb-brand-soft);
	color: var(--pb-fg);
	font-size: 0.875rem;
	line-height: 1.4;
}
:is(.pb-site, .editor-styles-wrapper *) .pb-chips > li::marker {
	content: none;
}
:is(.pb-site, .editor-styles-wrapper *) .pb-chips > li strong {
	font-weight: 650;
}
/* Hero banner and newsletter CTA patterns */
:is(.pb-site, .editor-styles-wrapper *) .pb-banner {
	display: grid;
	gap: 24px;
	align-items: center;
	padding: clamp(24px, 4vw, 48px);
	border-radius: var(--pb-radius-lg);
	background: var(--pb-brand-soft);
	border: 1px solid var(--pb-brand-line);
}
@media (min-width: 900px) {
	:is(.pb-site, .editor-styles-wrapper *) .pb-banner {
		grid-template-columns: 1.1fr 1fr;
	}
}
.pb-banner > * {
	margin: 0 !important;
}
.pb-banner__text > * + * {
	margin-top: 12px !important;
}
:is(.pb-site, .editor-styles-wrapper *) .pb-banner__title {
	font-size: clamp(1.9rem, 4vw, 2.75rem);
	font-weight: 800;
}
:is(.pb-site, .editor-styles-wrapper *) .pb-banner__lead {
	color: var(--pb-muted);
	font-size: 1.1rem;
}
.pb-banner__media img {
	display: block;
	width: 100%;
	border-radius: var(--pb-radius);
}
.pb-banner .wp-block-buttons {
	margin-top: 20px !important;
	gap: 10px;
}
:is(.pb-site, .editor-styles-wrapper *) .pb-cta {
	padding: 28px;
	border-radius: var(--pb-radius-lg);
	background: var(--pb-surface);
	border: 1px solid var(--pb-border);
	box-shadow: var(--pb-shadow);
	text-align: center;
}
.pb-cta > * {
	margin: 0 auto !important;
	max-width: 56ch;
}
.pb-cta > * + * {
	margin-top: 12px !important;
}
:is(.pb-site, .editor-styles-wrapper *) .pb-cta__title {
	font-size: 1.5rem;
}
.pb-cta .wp-block-buttons {
	justify-content: center;
	margin-top: 18px !important;
}

/* Pinterest: tall 2:3 images and the "Pin it" button */
:is(.pb-site, .editor-styles-wrapper *) .wp-block-image.is-style-pb-pin {
	max-width: 560px;
	margin-inline: auto;
}
:is(.pb-site, .editor-styles-wrapper *) .wp-block-image.is-style-pb-pin img {
	width: 100%;
	aspect-ratio: 2 / 3;
	object-fit: cover;
}
.pb-pin {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 12px;
	border-radius: 999px;
	background: #c8232c;
	color: #fff !important;
	font-family: var(--pb-font-body);
	font-size: 0.8rem;
	font-weight: 700;
	line-height: 1;
	text-decoration: none !important;
	box-shadow: 0 2px 8px rgb(0 0 0 / 0.25);
	opacity: 0;
	transition: opacity 0.15s;
}
:is(.pb-site, .editor-styles-wrapper *) .wp-block-post-featured-image .pb-pin {
	display: inline-flex;
	width: auto;
	height: auto;
}
.pb-pin:hover {
	background: #a51d24;
}
figure:hover > .pb-pin,
figure:focus-within > .pb-pin,
.pb-pin:focus-visible {
	opacity: 1;
}
@media (hover: none) {
	.pb-pin {
		opacity: 1;
	}
}
.pb-prose figure.wp-block-image:has(> .pb-pin) {
	display: table;
	margin-inline: auto;
}
.pb-prose figure.wp-block-image.is-style-pb-pin:has(> .pb-pin),
.pb-prose figure.wp-block-image.alignwide:has(> .pb-pin),
.pb-prose figure.wp-block-image.alignfull:has(> .pb-pin) {
	display: block;
}

/* ==================================================================
   PivoSEO Companion 2.12 products (wordpress/pivoseo-companion/includes/products.php)
   Markup: p.pivoseo-affiliate-disclosure;
   div.pivoseo-product-card[.pivoseo-merchant-*][.pivoseo-product-card--compact]
     > a__media > img, div__body > span__badge, (p|h3)__title, p__description, ul__features > li,
       div__price > span__amount + span__checked + span__disclaimer, a__button[, a__button--see-price[hidden]];
   section.pivoseo-product-grid[.pivoseo-shop-the-look] > h2__title, figure.pivoseo-shop-the-look__image, div__items.
   Companion prints its own minimal CSS after this stylesheet: every rule here is one class more specific.
   Look of the PivoBlog product card (.pb-product in the Next.js theme). Older names (__brand, __name, __note,
   __meta, __actions, __button--primary) stay as harmless aliases.
   ================================================================== */
:is(.pb-site, .editor-styles-wrapper *) .pivoseo-product-card {
	display: grid;
	grid-template-columns: 96px minmax(0, 1fr);
	gap: 16px;
	align-items: start;
	margin: 0 0 1.25em;
	padding: 16px;
	background: var(--pb-surface);
	color: var(--pb-fg);
	border: 1px solid var(--pb-border);
	border-radius: var(--pb-radius);
	box-shadow: var(--pb-shadow-sm);
	font-size: 1rem;
	line-height: 1.5;
	text-align: left;
}
:is(.pb-site, .editor-styles-wrapper *) .pivoseo-product-card:not(:has(> .pivoseo-product-card__media)) {
	grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 640px) {
	:is(.pb-site, .editor-styles-wrapper *) .pivoseo-product-card {
		grid-template-columns: 140px minmax(0, 1fr);
		gap: 20px;
		padding: 20px;
	}
}
:is(.pb-site, .editor-styles-wrapper *) .pivoseo-product-card .pivoseo-product-card__media,
:is(.pb-site, .editor-styles-wrapper *) .pivoseo-product-card > .pivoseo-product-card__image {
	display: grid;
	place-items: center;
	width: 100%;
	aspect-ratio: 1;
	margin: 0;
	flex: none;
	overflow: hidden;
	background: #fff;
	border: 1px solid var(--pb-border);
	border-radius: var(--pb-radius-sm);
}
:is(.pb-site, .editor-styles-wrapper *) .pivoseo-product-card .pivoseo-product-card__media img,
:is(.pb-site, .editor-styles-wrapper *) .pivoseo-product-card > .pivoseo-product-card__image img {
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	object-fit: contain;
	border-radius: 0;
	background: #fff;
}
:is(.pb-site, .editor-styles-wrapper *) .pivoseo-product-card .pivoseo-product-card__body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
	min-width: 0;
}
:is(.pb-site, .editor-styles-wrapper *) .pivoseo-product-card .pivoseo-product-card__body > * {
	margin: 0;
	max-width: 100%;
}
:is(.pb-site, .editor-styles-wrapper *) .pivoseo-product-card :is(.pivoseo-product-card__badge, .pivoseo-product-card__brand) {
	display: inline-flex;
	align-self: flex-start;
	padding: 2px 10px;
	border-radius: 999px;
	background: var(--pb-brand-soft);
	color: var(--pb-brand-ink);
	font-size: 0.72rem;
	font-weight: 750;
	line-height: 1.6;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}
:is(.pb-site, .editor-styles-wrapper *) .pivoseo-product-card :is(.pivoseo-product-card__title, .pivoseo-product-card__name) {
	margin: 0;
	color: var(--pb-fg);
	font-family: var(--pb-font-heading);
	font-size: 1.1rem;
	font-weight: 750;
	line-height: 1.3;
	letter-spacing: -0.01em;
}
:is(.pb-site, .editor-styles-wrapper *) .pivoseo-product-card :is(.pivoseo-product-card__description, .pivoseo-product-card__note) {
	color: var(--pb-muted);
	font-size: 0.925rem;
	line-height: 1.5;
}
:is(.pb-site, .editor-styles-wrapper *) .pivoseo-product-card .pivoseo-product-card__features {
	display: grid;
	gap: 2px;
	margin: 2px 0 0;
	padding: 0;
	list-style: none;
	font-size: 0.875rem;
	line-height: 1.45;
}
:is(.pb-site, .editor-styles-wrapper *) .pivoseo-product-card .pivoseo-product-card__features li {
	position: relative;
	margin: 0;
	padding: 0 0 0 20px;
}
:is(.pb-site, .editor-styles-wrapper *) .pivoseo-product-card .pivoseo-product-card__features li::before {
	content: "";
	position: absolute;
	left: 2px;
	top: 0.42em;
	width: 11px;
	height: 6px;
	border-left: 2px solid var(--pb-brand-ink);
	border-bottom: 2px solid var(--pb-brand-ink);
	transform: rotate(-45deg);
}
:is(.pb-site, .editor-styles-wrapper *) .pivoseo-product-card :is(.pivoseo-product-card__price, .pivoseo-product-card__meta) {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 2px 10px;
	margin-top: 4px;
}
:is(.pb-site, .editor-styles-wrapper *) .pivoseo-product-card .pivoseo-product-card__amount {
	color: var(--pb-fg);
	font-size: 1.1rem;
	font-weight: 800;
	opacity: 1;
}
:is(.pb-site, .editor-styles-wrapper *) .pivoseo-product-card :is(.pivoseo-product-card__checked, .pivoseo-product-card__price-note) {
	color: var(--pb-muted);
	font-size: 0.75rem;
	opacity: 1;
}
:is(.pb-site, .editor-styles-wrapper *) .pivoseo-product-card .pivoseo-product-card__disclaimer {
	flex-basis: 100%;
	color: var(--pb-muted);
	font-size: 0.7rem;
	line-height: 1.4;
	opacity: 1;
}
:is(.pb-site, .editor-styles-wrapper *) .pivoseo-product-card :is(.pivoseo-product-card__actions, .pivoseo-product-card__buttons) {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 10px;
}
:is(.pb-site, .editor-styles-wrapper *) .pivoseo-product-card .pivoseo-product-card__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	align-self: flex-start;
	min-height: 40px;
	margin-top: 10px;
	padding: 8px 16px;
	border: 1px solid transparent;
	border-radius: 999px;
	background: var(--pb-brand-btn);
	color: #fff;
	font-size: 0.9rem;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	opacity: 1;
	transition: background-color 0.15s;
}
:is(.pb-site, .editor-styles-wrapper *) .pivoseo-product-card .pivoseo-product-card__button:is(:hover, :focus-visible) {
	background: color-mix(in oklab, var(--pb-brand) 68%, black);
	color: #fff;
	opacity: 1;
}
:is(.pb-site, .editor-styles-wrapper *) .pivoseo-product-card :is(.pivoseo-product-card__actions, .pivoseo-product-card__buttons) .pivoseo-product-card__button {
	margin-top: 0;
}
:is(.pb-site, .editor-styles-wrapper *) .pivoseo-product-card .pivoseo-product-card__button + .pivoseo-product-card__button {
	margin-top: 8px;
}
:is(.pb-site, .editor-styles-wrapper *) .pivoseo-product-card .pivoseo-product-card__button[hidden] {
	display: none;
}

/* Product grid (pivoseo/product-grid "grid"): equal-height vertical cards, at most --pivoseo-columns per row. */
:is(.pb-site, .editor-styles-wrapper *) .pivoseo-product-grid {
	display: block;
	margin: 0 0 1.5em;
	padding: 0;
}
:is(.pb-site, .editor-styles-wrapper *) .pivoseo-product-grid .pivoseo-product-grid__title {
	margin: 0 0 14px;
	font-family: var(--pb-font-heading);
	font-size: clamp(1.25rem, 2.6vw, 1.5rem);
	line-height: 1.25;
}
:is(.pb-site, .editor-styles-wrapper *) .pivoseo-product-grid .pivoseo-product-grid__items {
	display: grid;
	gap: 16px;
	grid-template-columns: minmax(0, 1fr);
	margin: 0;
	padding: 0;
	list-style: none;
}
@media (min-width: 480px) {
	:is(.pb-site, .editor-styles-wrapper *) .pivoseo-product-grid .pivoseo-product-grid__items {
		grid-template-columns: repeat(auto-fit, minmax(max(170px, calc((100% - 32px) / var(--pivoseo-columns, 3))), 1fr));
	}
	:is(.pb-site, .editor-styles-wrapper *) .pivoseo-product-grid .pivoseo-product-card {
		display: flex;
		flex-direction: column;
		gap: 12px;
		height: 100%;
		margin: 0;
		padding: 14px;
	}
	:is(.pb-site, .editor-styles-wrapper *) .pivoseo-product-grid .pivoseo-product-card .pivoseo-product-card__body {
		flex: 1;
	}
	:is(.pb-site, .editor-styles-wrapper *) .pivoseo-product-grid:not(.pivoseo-shop-the-look) .pivoseo-product-card .pivoseo-product-card__media {
		aspect-ratio: 4 / 3;
	}
	:is(.pb-site, .editor-styles-wrapper *) .pivoseo-product-grid .pivoseo-product-card .pivoseo-product-card__button {
		align-self: stretch;
		margin-top: auto;
		font-size: 0.85rem;
	}
	:is(.pb-site, .editor-styles-wrapper *) .pivoseo-product-grid .pivoseo-product-card .pivoseo-product-card__price + .pivoseo-product-card__button,
	:is(.pb-site, .editor-styles-wrapper *) .pivoseo-product-grid .pivoseo-product-card .pivoseo-product-card__button + .pivoseo-product-card__button {
		margin-top: 10px;
	}
	:is(.pb-site, .editor-styles-wrapper *) .pivoseo-product-grid .pivoseo-product-card .pivoseo-product-card__price {
		margin-top: auto;
		padding-top: 6px;
	}
	:is(.pb-site, .editor-styles-wrapper *) .pivoseo-product-grid .pivoseo-product-card .pivoseo-product-card__title {
		font-size: 1rem;
	}
}
@media (max-width: 479px) {
	/* Phones: stacked rows like PivoBlog's "Malzemeler ve aletler" list. */
	:is(.pb-site, .editor-styles-wrapper *) .pivoseo-product-grid .pivoseo-product-card {
		grid-template-columns: 72px minmax(0, 1fr);
		gap: 12px;
		margin: 0;
		padding: 12px;
	}
	:is(.pb-site, .editor-styles-wrapper *) .pivoseo-product-grid .pivoseo-product-card .pivoseo-product-card__title {
		font-size: 1rem;
	}
}
/* Optional list variant (not emitted by Companion 2.12): .pivoseo-product-grid.is-list / --list */
:is(.pb-site, .editor-styles-wrapper *) :is(.pivoseo-product-grid.is-list, .pivoseo-product-grid--list) .pivoseo-product-grid__items,
:is(.pb-site, .editor-styles-wrapper *) .pivoseo-product-grid.is-list,
:is(.pb-site, .editor-styles-wrapper *) .pivoseo-product-grid--list {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 0;
}
:is(.pb-site, .editor-styles-wrapper *) :is(.pivoseo-product-grid.is-list, .pivoseo-product-grid--list) .pivoseo-product-card {
	display: grid;
	grid-template-columns: 72px minmax(0, 1fr);
	gap: 12px 16px;
	margin: 0;
	padding: 14px 16px;
	border-radius: 0;
	box-shadow: none;
	border-width: 0 1px 1px;
}
:is(.pb-site, .editor-styles-wrapper *) :is(.pivoseo-product-grid.is-list, .pivoseo-product-grid--list) .pivoseo-product-card:first-child {
	border-top-width: 1px;
	border-radius: var(--pb-radius) var(--pb-radius) 0 0;
}
:is(.pb-site, .editor-styles-wrapper *) :is(.pivoseo-product-grid.is-list, .pivoseo-product-grid--list) .pivoseo-product-card:last-child {
	border-radius: 0 0 var(--pb-radius) var(--pb-radius);
}

/* Shop the look (style "shop-the-look", compact cards): PivoBlog "Projenin alışveriş listesi" strip. */
:is(.pb-site, .editor-styles-wrapper *) .pivoseo-product-grid.pivoseo-shop-the-look {
	display: block;
	margin: 0 0 28px;
	padding: 16px 0 12px;
	border-top: 1px solid var(--pb-border);
	border-bottom: 1px solid var(--pb-border);
}
:is(.pb-site, .editor-styles-wrapper *) .pivoseo-shop-the-look .pivoseo-product-grid__title {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 12px;
	font-size: 1rem;
	font-weight: 800;
}
:is(.pb-site, .editor-styles-wrapper *) .pivoseo-shop-the-look .pivoseo-product-grid__title::before {
	content: "";
	width: 18px;
	height: 18px;
	flex: none;
	background: var(--pb-brand-ink);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='20' r='1.3'/%3E%3Ccircle cx='18' cy='20' r='1.3'/%3E%3Cpath d='M2.5 3.5h2.6l2.4 11.2a1.5 1.5 0 0 0 1.5 1.2h8.7a1.5 1.5 0 0 0 1.5-1.2l1.3-7.2H6'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='20' r='1.3'/%3E%3Ccircle cx='18' cy='20' r='1.3'/%3E%3Cpath d='M2.5 3.5h2.6l2.4 11.2a1.5 1.5 0 0 0 1.5 1.2h8.7a1.5 1.5 0 0 0 1.5-1.2l1.3-7.2H6'/%3E%3C/svg%3E") center / contain no-repeat;
}
:is(.pb-site, .editor-styles-wrapper *) .pivoseo-shop-the-look .pivoseo-product-grid__items {
	display: flex;
	gap: 12px;
	margin: 0;
	padding: 0 0 8px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: thin;
}
:is(.pb-site, .editor-styles-wrapper *) .pivoseo-shop-the-look .pivoseo-product-card {
	display: flex;
	flex: 0 0 132px;
	flex-direction: column;
	gap: 6px;
	height: auto;
	margin: 0;
	padding: 0;
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	scroll-snap-align: start;
}
:is(.pb-site, .editor-styles-wrapper *) .pivoseo-shop-the-look .pivoseo-product-card .pivoseo-product-card__body {
	gap: 2px;
}
:is(.pb-site, .editor-styles-wrapper *) .pivoseo-shop-the-look .pivoseo-product-card .pivoseo-product-card__title {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-family: var(--pb-font-body);
	font-size: 0.8rem;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: 0;
}
:is(.pb-site, .editor-styles-wrapper *) .pivoseo-shop-the-look .pivoseo-product-card .pivoseo-product-card__badge {
	padding: 1px 8px;
	font-size: 0.62rem;
}
:is(.pb-site, .editor-styles-wrapper *) .pivoseo-shop-the-look .pivoseo-product-card .pivoseo-product-card__price {
	margin-top: 2px;
	gap: 0 6px;
}
:is(.pb-site, .editor-styles-wrapper *) .pivoseo-shop-the-look .pivoseo-product-card .pivoseo-product-card__amount {
	font-size: 0.9rem;
}
:is(.pb-site, .editor-styles-wrapper *) .pivoseo-shop-the-look .pivoseo-product-card :is(.pivoseo-product-card__checked, .pivoseo-product-card__disclaimer) {
	font-size: 0.64rem;
}
/* Compact cards: the call to action is a small text link (a 132px pill would wrap). */
:is(.pb-site, .editor-styles-wrapper *) .pivoseo-shop-the-look .pivoseo-product-card .pivoseo-product-card__button {
	display: inline;
	min-height: 0;
	margin-top: 4px;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
	color: var(--pb-brand-ink);
	font-size: 0.78rem;
	font-weight: 700;
	line-height: 1.35;
	text-align: left;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}
:is(.pb-site, .editor-styles-wrapper *) .pivoseo-shop-the-look .pivoseo-product-card .pivoseo-product-card__button:is(:hover, :focus-visible) {
	background: none;
	color: var(--pb-brand-ink);
	text-decoration-thickness: 2px;
}
:is(.pb-site, .editor-styles-wrapper *) .pivoseo-shop-the-look .pivoseo-product-card .pivoseo-product-card__button[hidden] {
	display: none;
}
:is(.pb-site, .editor-styles-wrapper *) .pivoseo-shop-the-look .pivoseo-product-card .pivoseo-product-card__button + .pivoseo-product-card__button {
	margin-top: 4px;
}
/* With a look image: the image beside (desktop) or above (phones) the products. */
:is(.pb-site, .editor-styles-wrapper *) .pivoseo-shop-the-look .pivoseo-shop-the-look__image {
	margin: 0 0 14px;
}
:is(.pb-site, .editor-styles-wrapper *) .pivoseo-shop-the-look .pivoseo-shop-the-look__image img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 560px;
	object-fit: cover;
	border-radius: var(--pb-radius);
}
@media (min-width: 782px) {
	:is(.pb-site, .editor-styles-wrapper *) .pivoseo-product-grid.pivoseo-shop-the-look:has(> .pivoseo-shop-the-look__image) {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		gap: 0 20px;
		align-items: start;
	}
	:is(.pb-site, .editor-styles-wrapper *) .pivoseo-shop-the-look:has(> .pivoseo-shop-the-look__image) .pivoseo-product-grid__title {
		grid-column: 1 / -1;
	}
	:is(.pb-site, .editor-styles-wrapper *) .pivoseo-shop-the-look:has(> .pivoseo-shop-the-look__image) .pivoseo-shop-the-look__image {
		margin: 0;
	}
	:is(.pb-site, .editor-styles-wrapper *) .pivoseo-shop-the-look:has(> .pivoseo-shop-the-look__image) .pivoseo-product-grid__items {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 14px 12px;
		overflow: visible;
		padding: 0;
	}
}

/* ==================================================================
   Post footer: tags, share, author box, prev/next, comments
   ================================================================== */
.pb-post-tags {
	margin-top: 40px;
}
.pb-share {
	margin-top: 32px;
	padding: 18px 0;
	border-top: 1px solid var(--pb-border);
	border-bottom: 1px solid var(--pb-border);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 16px;
}
:is(.pb-site, .editor-styles-wrapper *) .pb-share__title {
	font-weight: 750;
}
.pb-share__list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.pb-share-button {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 40px;
	min-width: 40px;
	justify-content: center;
	padding: 8px 12px;
	border-radius: 999px;
	border: 1px solid var(--pb-border-strong);
	background: var(--pb-surface);
	color: var(--pb-fg);
	font-weight: 650;
	font-size: 0.875rem;
	line-height: 1.2;
	cursor: pointer;
}
.pb-share-button:hover {
	border-color: var(--pb-brand-ink);
	color: var(--pb-brand-ink);
}
.pb-share-button--pinterest {
	background: #c8232c;
	border-color: #c8232c;
	color: #fff;
}
.pb-share-button--pinterest:hover {
	background: #a51d24;
	color: #fff;
}
.pb-author-box {
	display: flex;
	gap: 20px;
	align-items: flex-start;
	margin-top: 32px;
	padding: 24px;
	background: var(--pb-surface);
	border: 1px solid var(--pb-border);
	border-radius: var(--pb-radius-lg);
}
:is(.pb-site, .editor-styles-wrapper *) .pb-author-box__name {
	font-size: 1.35rem;
	margin-top: 2px;
}
.pb-author-box__name a:hover {
	color: var(--pb-brand-ink);
}
:is(.pb-site, .editor-styles-wrapper *) .pb-author-box__job {
	color: var(--pb-muted);
	font-weight: 600;
	font-size: 0.95rem;
	margin-top: 2px;
}
:is(.pb-site, .editor-styles-wrapper *) .pb-author-box__bio {
	margin-top: 10px;
	line-height: 1.65;
}
:is(.pb-site, .editor-styles-wrapper *) .pb-author-box__credentials {
	margin-top: 10px;
	font-size: 0.925rem;
}
.pb-author-box__expertise {
	margin-top: 12px;
}
@media (max-width: 520px) {
	.pb-author-box {
		flex-direction: column;
	}
}
.pb-prev-next {
	display: grid;
	gap: 12px;
	margin-top: 40px;
}
@media (min-width: 640px) {
	.pb-prev-next {
		grid-template-columns: 1fr 1fr;
	}
}
.pb-prev-next__link {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 16px 20px;
	border: 1px solid var(--pb-border);
	border-radius: var(--pb-radius);
	background: var(--pb-surface);
}
.pb-prev-next__link:hover {
	border-color: var(--pb-brand-ink);
}
.pb-prev-next__link--next {
	text-align: right;
	align-items: flex-end;
}
.pb-prev-next__dir {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 0.8rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--pb-muted);
}
.pb-prev-next__title {
	font-family: var(--pb-font-heading);
	font-weight: 750;
}
.pb-comments {
	margin-top: 3rem !important;
	padding-top: 2rem;
	border-top: 1px solid var(--pb-border);
}
:is(.pb-site, .editor-styles-wrapper *) .pb-comments__title {
	font-size: 1.35rem;
	margin-bottom: 1rem;
}
.pb-comments .wp-block-comment-template {
	list-style: none;
	padding: 0;
	margin: 1rem 0 2rem;
	display: grid;
	gap: 1rem;
}
.pb-comments .wp-block-comment-template ol {
	list-style: none;
	padding-left: 1.5rem;
	margin: 1rem 0 0;
	display: grid;
	gap: 1rem;
}
.pb-comment {
	padding: 1rem 1.25rem;
	border: 1px solid var(--pb-border);
	border-radius: var(--pb-radius);
	background: var(--pb-surface);
}
.pb-comment__meta {
	gap: 4px 12px;
	font-size: 0.9rem;
	color: var(--pb-muted);
}
.pb-comment__meta .wp-block-comment-author-name {
	color: var(--pb-fg);
	font-weight: 700;
}
.pb-comment .wp-block-comment-content p {
	margin: 0.35rem 0;
}
.pb-comment .wp-block-comment-reply-link {
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--pb-brand-ink);
}
.pb-comments .comment-reply-title {
	margin: 1.5rem 0 0.75rem;
	font-size: 1.15rem;
}
.pb-comments .comment-form {
	display: grid;
	gap: 14px;
}
.pb-comments .comment-form p {
	margin: 0;
}
.pb-comments .comment-form label {
	display: block;
	font-weight: 650;
	font-size: 0.925rem;
	margin-bottom: 6px;
}
.pb-comments .comment-form :is(input[type="text"], input[type="email"], input[type="url"], textarea),
.woocommerce :is(input.input-text, select, textarea) {
	width: 100%;
	font-size: 1rem;
	color: var(--pb-fg);
	background: var(--pb-bg);
	border: 1px solid var(--pb-border-strong);
	border-radius: var(--pb-radius-sm);
	padding: 10px 12px;
}
.pb-comments .comment-form :is(input, textarea):focus {
	outline: none;
	border-color: var(--pb-brand-ink);
	box-shadow: 0 0 0 3px color-mix(in oklab, var(--pb-brand) 20%, transparent);
}
.pb-comments .comment-form-cookies-consent {
	display: flex;
	gap: 8px;
	align-items: flex-start;
	font-size: 0.875rem;
}
.pb-comments .comment-form-cookies-consent label {
	font-weight: 400;
}
.pb-comments .wp-block-comments-pagination {
	margin-block: 1rem;
}

/* ==================================================================
   Ad slots (reserved height, label, desktop-only sidebar)
   ================================================================== */
.pb-ad-slot {
	display: block;
	position: relative;
	min-height: var(--pb-ad-min);
	margin: var(--pb-ad-gap) auto;
	padding: 22px 0 8px;
	background: var(--pb-surface-2);
	border-top: 1px solid var(--pb-border);
	border-bottom: 1px solid var(--pb-border);
	text-align: center;
	overflow: hidden;
	clear: both;
	font-size: 1rem;
	line-height: 1.4;
}
.pb-prose .pb-ad-slot {
	margin-block: var(--pb-ad-gap);
}
/* Density: extra distance when an image, embed or product card is next to a slot. */
.pb-prose :is(figure, .wp-block-image, .wp-block-embed, .wp-block-gallery, .pivoseo-product-card, .pivoseo-product-grid, .pivoseo-shop-the-look, table, .pb-materials, .pb-howto, .pb-faq) + .pb-ad-slot,
.pb-prose .pb-ad-slot + :is(figure, .wp-block-image, .wp-block-embed, .wp-block-gallery, .pivoseo-product-card, .pivoseo-product-grid, .pivoseo-shop-the-look, table) {
	margin-top: calc(var(--pb-ad-gap) * 1.6);
}
.pb-ad-slot__label {
	position: absolute;
	top: 4px;
	left: 0;
	right: 0;
	font-size: 0.68rem;
	line-height: 1.2;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--pb-muted);
	font-family: var(--pb-font-body);
	font-style: normal;
}
.pb-ad-slot ins.adsbygoogle {
	margin-inline: auto;
}
.pb-ad-slot--sidebar {
	min-height: var(--pb-ad-min-sidebar);
	margin: 0;
	border: 1px solid var(--pb-border);
	border-radius: var(--pb-radius-sm);
}
.pb-ad-slot--preview {
	display: grid;
	place-items: center;
	background: repeating-linear-gradient(-45deg, var(--pb-surface-2), var(--pb-surface-2) 10px, var(--pb-surface) 10px, var(--pb-surface) 20px);
	border: 2px dashed var(--pb-border-strong);
}
.pb-ad-slot__preview {
	padding: 16px;
	font-size: 0.85rem;
	color: var(--pb-muted);
}
@media (max-width: 1023px) {
	.pb-ad-slot--sidebar,
	.pb-post-rail {
		display: none;
	}
}

/* ==================================================================
   WooCommerce (basic) and page builders
   ================================================================== */
.woocommerce ul.products,
.wc-block-grid__products {
	display: grid;
	gap: 24px;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
	list-style: none;
	padding: 0;
}
.woocommerce ul.products::before,
.woocommerce ul.products::after {
	display: none;
}
.woocommerce ul.products li.product,
.wc-block-grid__product {
	width: auto !important;
	margin: 0 !important;
	float: none !important;
	max-width: none !important;
}
.wc-block-product-template .wc-block-components-product-image img,
.woocommerce ul.products li.product img {
	border-radius: var(--pb-radius);
	background: var(--pb-surface-2);
}
.woocommerce .price,
.wc-block-components-product-price {
	color: var(--pb-fg);
	font-weight: 700;
}
.woocommerce :is(.button, button.button, a.button),
.wc-block-components-button:not(.is-link) {
	border-radius: 999px;
	background: var(--pb-brand-btn);
	color: #fff;
	font-weight: 650;
}
.woocommerce-message,
.woocommerce-info {
	border-top-color: var(--pb-brand);
	background: var(--pb-surface-2);
	color: var(--pb-fg);
}
/* Templates that other plugins provide (WooCommerce block templates, …): theme container + spacing. */
.wp-site-blocks > main:not(.pb-main),
.wp-site-blocks > .wp-block-group.woocommerce {
	width: 100%;
	max-width: 1280px;
	margin-inline: auto;
	padding: 32px 16px 0;
}
@media (min-width: 640px) {
	.wp-site-blocks > main:not(.pb-main),
	.wp-site-blocks > .wp-block-group.woocommerce {
		padding-inline: 24px;
	}
}
@media (min-width: 1024px) {
	.wp-site-blocks > main:not(.pb-main),
	.wp-site-blocks > .wp-block-group.woocommerce {
		padding-inline: 32px;
	}
}
.wp-site-blocks > footer.wp-block-template-part {
	margin-top: auto;
}
.pb-page-builder .pb-page {
	max-width: none;
}
.pb-full-width .pb-builder-content,
.pb-canvas .pb-builder-content,
.pb-page-builder .pb-builder-content {
	max-width: none;
}
.pb-full-width .pb-builder-content > :not(.alignfull):not(.elementor):not(.e-con) {
	max-width: 1280px;
	margin-inline: auto;
	padding-inline: 16px;
}

@media (prefers-reduced-motion: reduce) {
	.pb-card,
	.pb-card__media img,
	.pb-toc__chevron {
		transition: none;
	}
	.pb-card:hover,
	.pb-card:hover .pb-card__media img {
		transform: none;
	}
}
