/*
Theme Name: The Paw Collar
Theme URI: https://thepawcollar.com/
Author: The Paw Collar
Description: A lightweight, accessible editorial theme for pet-care publishing. Content-first layouts, a comfortable reading column, generated table of contents, editorial callout blocks and native WordPress search. No jQuery, no external requests, one small deferred script.
Version: 1.2.0
Requires at least: 6.3
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: thepawcollar
Tags: blog, news, one-column, two-columns, custom-logo, custom-menu, featured-images, editor-style, threaded-comments, translation-ready, accessibility-ready
*/

/* ==========================================================================
   1. Fonts (self-hosted Inter variable + metric-matched fallback = no CLS)
   ========================================================================== */
@font-face {
	font-family: "Inter";
	src: url("assets/fonts/inter-var.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Inter Fallback";
	src: local("Arial");
	ascent-override: 90.44%;
	descent-override: 22.52%;
	line-gap-override: 0%;
	size-adjust: 107.12%;
}

/* ==========================================================================
   2. Tokens
   ========================================================================== */
:root {
	--pc-bg: #F6FAF9;
	--pc-surface: #FFFFFF;
	--pc-soft: #E3F6F3;
	--pc-primary: #0E8C82;        /* UI fills, borders, icons, large text */
	--pc-primary-strong: #0A7A71; /* link text + button fills (AA contrast) */
	--pc-deep: #0B3B3A;
	--pc-yellow: #F5B21A;
	--pc-text: #26403F;
	--pc-muted: #55706E;
	--pc-line: #D6E8E5;
	--pc-line-strong: #BFDAD5;

	--pc-font: "Inter", "Inter Fallback", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

	--pc-fs-xs: 0.8125rem;  /* 13 */
	--pc-fs-sm: 0.875rem;   /* 14 */
	--pc-fs-base: 1.0625rem;/* 17 */
	--pc-fs-body: 1.0625rem;
	--pc-fs-h3: 1.3125rem;
	--pc-fs-h2: clamp(1.5rem, 1.2rem + 1vw, 2.125rem);
	--pc-fs-h1: clamp(1.875rem, 1.3rem + 2.2vw, 3.125rem);
	--pc-fs-hero: clamp(2rem, 1.2rem + 3.1vw, 3.375rem);

	--pc-radius-xl: 28px;
	--pc-radius-lg: 20px;
	--pc-radius: 14px;
	--pc-radius-sm: 10px;

	--pc-gutter: 20px;
	--pc-max: 1200px;
	--pc-read: 720px;
	--pc-section: clamp(3rem, 2rem + 3vw, 5rem);
	--pc-header-h: 64px;

	--pc-shadow-hover: 0 10px 28px -12px rgba(11, 59, 58, 0.22);
	--pc-ease: cubic-bezier(.2, .7, .2, 1);
}
@media (min-width: 768px) {
	:root { --pc-gutter: 32px; --pc-fs-body: 1.125rem; --pc-header-h: 72px; }
}

/* ==========================================================================
   3. Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--pc-header-h) + 16px); }
body {
	margin: 0;
	background: var(--pc-bg);
	color: var(--pc-text);
	font-family: var(--pc-font);
	font-size: var(--pc-fs-base);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-wrap: break-word;
	font-feature-settings: "cv11", "ss01";
}
img, svg, video { max-width: 100%; height: auto; display: block; }
svg { flex-shrink: 0; }
a { color: var(--pc-primary-strong); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--pc-deep); }
h1, h2, h3, h4, h5, h6 {
	color: var(--pc-deep);
	line-height: 1.2;
	font-weight: 700;
	letter-spacing: -0.015em;
	margin: 0 0 .5em;
	text-wrap: balance;
}
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
hr { border: 0; border-top: 1px solid var(--pc-line); margin: 2.5rem 0; }

:focus-visible {
	outline: 3px solid var(--pc-primary);
	outline-offset: 3px;
	border-radius: 4px;
}
::selection { background: var(--pc-soft); color: var(--pc-deep); }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0;
	position: absolute !important; word-wrap: normal !important;
}
.skip-link:focus {
	clip: auto; clip-path: none; height: auto; width: auto; margin: 0;
	position: fixed !important; top: 12px; left: 12px; z-index: 1000;
	background: var(--pc-deep); color: #fff; padding: 12px 18px; border-radius: var(--pc-radius-sm);
	text-decoration: none; font-weight: 600;
}
.pc-main:focus { outline: none; }

/* ==========================================================================
   4. Layout
   ========================================================================== */
.pc-container {
	width: 100%;
	max-width: calc(var(--pc-max) + var(--pc-gutter) * 2);
	margin-inline: auto;
	padding-inline: var(--pc-gutter);
}
.pc-section { padding-block: var(--pc-section) 0; }
.pc-section__head {
	display: flex; align-items: baseline; justify-content: space-between;
	gap: 1rem; flex-wrap: wrap; margin-bottom: 1.75rem;
}
.pc-section__title { font-size: var(--pc-fs-h2); margin: 0; }
.pc-section__intro { color: var(--pc-muted); margin: .35rem 0 0; max-width: 56ch; }
.pc-section__link { font-weight: 600; font-size: var(--pc-fs-sm); white-space: nowrap; }

/* ==========================================================================
   5. Header & navigation
   ========================================================================== */
.pc-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(255, 255, 255, .94);
	-webkit-backdrop-filter: saturate(1.4) blur(10px);
	backdrop-filter: saturate(1.4) blur(10px);
	border-bottom: 1px solid var(--pc-line);
}
.admin-bar .pc-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .pc-header { top: 0; } }
.pc-header__inner {
	display: flex; align-items: center; gap: 1.5rem;
	min-height: var(--pc-header-h);
}
.pc-brand { display: flex; align-items: center; margin-right: auto; }
.pc-brand a { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--pc-deep); }
.pc-brand .custom-logo { max-height: 44px; width: auto; }
.pc-brand__mark {
	display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
	background: var(--pc-yellow); color: var(--pc-deep);
	box-shadow: 0 0 0 3px var(--pc-surface), 0 0 0 5px var(--pc-primary);
}
.pc-brand__name { font-weight: 750; font-size: 1.1875rem; letter-spacing: -0.02em; }

.pc-nav { display: none; }
.pc-nav ul { list-style: none; margin: 0; padding: 0; }
.pc-nav .menu > li { position: relative; }
.pc-nav a {
	display: block; text-decoration: none; color: var(--pc-deep);
	font-weight: 550; font-size: .9688rem; padding: .5rem .75rem; border-radius: var(--pc-radius-sm);
	transition: color .15s, background-color .15s;
}
.pc-nav a:hover { color: var(--pc-primary-strong); background: var(--pc-soft); }
.pc-nav .current-menu-item > a,
.pc-nav .current-menu-ancestor > a,
.pc-nav .current-category-ancestor > a,
.pc-nav .current-post-ancestor > a { color: var(--pc-primary-strong); box-shadow: inset 0 -2px 0 var(--pc-primary); border-radius: 0; }

.pc-header__actions { display: flex; align-items: center; gap: .25rem; }
.pc-icon-btn {
	display: inline-grid; place-items: center; width: 44px; height: 44px;
	border: 0; border-radius: 50%; background: transparent; color: var(--pc-deep); cursor: pointer;
	transition: background-color .15s;
}
.pc-icon-btn:hover { background: var(--pc-soft); }
.pc-icon-btn[aria-expanded="true"] { background: var(--pc-soft); color: var(--pc-primary-strong); }
.pc-menu-toggle .pc-i-close, .pc-menu-toggle[aria-expanded="true"] .pc-i-menu { display: none; }
.pc-menu-toggle[aria-expanded="true"] .pc-i-close { display: block; }

.pc-search-panel {
	border-top: 1px solid var(--pc-line); background: var(--pc-surface);
	padding-block: 1rem;
}
.no-js .pc-search-panel[hidden] { display: block; }
.js .pc-search-panel:not([hidden]) { animation: pc-drop .18s var(--pc-ease); }
@keyframes pc-drop { from { opacity: 0; transform: translateY(-6px); } }

/* Mobile nav */
@media (max-width: 1023px) {
	.pc-nav {
		position: absolute; left: 0; right: 0; top: 100%;
		background: var(--pc-surface); border-bottom: 1px solid var(--pc-line);
		padding: .75rem var(--pc-gutter) 1.25rem;
		max-height: calc(100vh - var(--pc-header-h)); max-height: calc(100dvh - var(--pc-header-h)); overflow-y: auto; overscroll-behavior: contain;
		box-shadow: 0 18px 30px -20px rgba(11, 59, 58, .35);
	}
	.pc-header.is-nav-open .pc-nav, .no-js .pc-nav { display: block; }
	.no-js .pc-nav { position: static; box-shadow: none; }
	.no-js .pc-menu-toggle, .no-js .pc-search-toggle { display: none; }
	.pc-nav a { padding: .8rem .5rem; font-size: 1.0625rem; border-radius: var(--pc-radius-sm); }
	.pc-nav .menu > li + li { border-top: 1px solid var(--pc-line); }
	.pc-nav .sub-menu { padding-left: 1rem; margin-bottom: .5rem; }
	.pc-nav .sub-menu a { font-weight: 450; padding-block: .55rem; }
}
/* Desktop nav */
@media (min-width: 1024px) and (max-width: 1239px) {
	.pc-nav a { padding-inline: .5rem; font-size: .9063rem; }
}
@media (min-width: 1024px) {
	.pc-nav { display: block; }
	.pc-nav .menu { display: flex; align-items: center; gap: .125rem; }
	.pc-menu-toggle { display: none; }
	.pc-nav .sub-menu {
		position: absolute; top: calc(100% + 6px); left: 0; min-width: 230px;
		background: var(--pc-surface); border: 1px solid var(--pc-line); border-radius: var(--pc-radius);
		padding: .4rem; box-shadow: var(--pc-shadow-hover);
		opacity: 0; visibility: hidden; transform: translateY(4px);
		transition: opacity .15s, transform .15s, visibility .15s;
	}
	.pc-nav .sub-menu a { font-weight: 500; }
	.pc-nav li:hover > .sub-menu,
	.pc-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
	.pc-nav .menu-item-has-children > a::after {
		content: ""; display: inline-block; width: .4em; height: .4em; margin-left: .45em;
		border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
		transform: translateY(-.2em) rotate(45deg);
	}
}

/* ==========================================================================
   6. Buttons & forms
   ========================================================================== */
.pc-btn,
.wp-block-button__link,
input[type="submit"],
button[type="submit"]:not(.pc-icon-btn) {
	display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
	min-height: 48px; padding: .7rem 1.35rem;
	background: var(--pc-primary-strong); color: #fff;
	border: 0; border-radius: 999px; cursor: pointer;
	font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none;
	transition: background-color .15s, color .15s;
}
.pc-btn:hover, .wp-block-button__link:hover, input[type="submit"]:hover, button[type="submit"]:not(.pc-icon-btn):hover { background: var(--pc-deep); color: #fff; }
.pc-btn--ghost { background: transparent; color: var(--pc-deep); box-shadow: inset 0 0 0 1.5px var(--pc-line-strong); }
.pc-btn--ghost:hover { background: var(--pc-surface); color: var(--pc-primary-strong); box-shadow: inset 0 0 0 1.5px var(--pc-primary); }
.is-style-outline .wp-block-button__link { background: transparent; color: var(--pc-primary-strong); box-shadow: inset 0 0 0 1.5px currentColor; }

input[type="text"], input[type="email"], input[type="url"], input[type="search"],
input[type="password"], input[type="number"], input[type="tel"], textarea, select {
	width: 100%; min-height: 48px; padding: .7rem 1rem;
	background: var(--pc-surface); border: 1.5px solid var(--pc-line-strong); border-radius: var(--pc-radius-sm);
	transition: border-color .15s, box-shadow .15s;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--pc-primary); box-shadow: 0 0 0 4px rgba(14, 140, 130, .18); }
label { font-weight: 600; font-size: var(--pc-fs-sm); color: var(--pc-deep); }

/* Search form */
.pc-searchform { position: relative; display: flex; align-items: center; max-width: 640px; }
.pc-searchform__icon { position: absolute; left: 1rem; color: var(--pc-muted); pointer-events: none; }
.pc-searchform input[type="search"] {
	min-height: 56px; padding: .8rem 6.75rem .8rem 2.75rem; border-radius: 999px; font-size: 1.0625rem;
	-webkit-appearance: none; appearance: none;
}
.pc-searchform input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; }
.pc-searchform__submit.pc-btn { position: absolute; right: 5px; min-height: 46px; padding-inline: 1.1rem; font-size: .9375rem; }
.pc-searchform--compact input[type="search"] { min-height: 48px; }
.pc-searchform--compact .pc-searchform__submit.pc-btn { min-height: 38px; }

/* ==========================================================================
   7. Collar tags (category labels) & meta
   ========================================================================== */
.pc-tag {
	display: inline-flex; align-items: center; gap: .45em;
	padding: .3em .8em .3em .55em;
	background: var(--pc-soft); color: var(--pc-primary-strong);
	border-radius: 999px; font-size: var(--pc-fs-xs); font-weight: 650; line-height: 1.3;
	text-decoration: none; position: relative; z-index: 2;
	transition: background-color .15s, color .15s;
}
/* the tag's "ring hole" */
.pc-tag::before {
	content: ""; width: .5em; height: .5em; border-radius: 50%;
	background: var(--pc-surface); box-shadow: 0 0 0 1.5px currentColor;
}
a.pc-tag:hover { background: var(--pc-primary-strong); color: #fff; }
.pc-tag--featured { background: var(--pc-yellow); color: var(--pc-deep); }
.pc-tag--featured::before { background: var(--pc-yellow); box-shadow: 0 0 0 1.5px var(--pc-deep); }
.pc-tag--plain { background: var(--pc-surface); box-shadow: inset 0 0 0 1px var(--pc-line-strong); }
.pc-tags { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 0; padding: 0; }

.pc-meta {
	display: flex; flex-wrap: wrap; align-items: center; gap: .25rem 1rem;
	color: var(--pc-muted); font-size: var(--pc-fs-sm); line-height: 1.4;
}
.pc-meta > span { display: inline-flex; align-items: center; gap: .35rem; }
.pc-meta svg { color: var(--pc-primary); }
.pc-meta a { color: inherit; text-decoration: none; font-weight: 600; }
.pc-meta a:hover { color: var(--pc-primary-strong); text-decoration: underline; }

/* ==========================================================================
   8. Homepage hero
   ========================================================================== */
.pc-hero { padding-block: clamp(2rem, 1rem + 4vw, 4.5rem) 0; }
.pc-hero__grid { position: relative; display: grid; gap: 2.5rem; align-items: center; }
.pc-hero__title {
	font-size: var(--pc-fs-hero); font-weight: 780; letter-spacing: -0.035em; line-height: 1.04;
	margin-bottom: 1.1rem; max-width: 15ch;
}
.pc-hero__lede { font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem); color: var(--pc-muted); max-width: 44ch; margin-bottom: 1.75rem; }
.pc-hero__topics { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-top: 1.25rem; }
.pc-hero__topics-label { font-size: var(--pc-fs-sm); color: var(--pc-muted); margin-right: .25rem; }
.pc-hero__topics .pc-tag { font-size: var(--pc-fs-sm); }

.pc-hero__art { position: relative; justify-self: center; width: 100%; max-width: 560px; }
.pc-hero__photo {
	width: 100%; aspect-ratio: 5 / 4; object-fit: cover;
	border-radius: var(--pc-radius-xl) var(--pc-radius-xl) var(--pc-radius-xl) 120px;
	background: var(--pc-soft);
}
/* The collar tag: the site's one bold motif */
.pc-hero__collar {
	position: absolute; left: -10px; bottom: -18px;
	width: clamp(88px, 18vw, 124px); aspect-ratio: 1; border-radius: 50%;
	display: grid; place-items: center; background: var(--pc-yellow); color: var(--pc-deep);
	box-shadow: 0 0 0 6px var(--pc-bg), 0 14px 30px -12px rgba(11, 59, 58, .45);
	transform: rotate(-10deg);
}
.pc-hero__collar::before { /* ring that clips to the collar */
	content: ""; position: absolute; top: -22px; left: 50%; width: 30px; height: 30px; margin-left: -15px;
	border-radius: 50%; border: 5px solid var(--pc-primary); background: transparent;
}
.pc-hero__collar svg { width: 46%; height: auto; }
.pc-hero__art--illustration { max-width: 420px; }
@media (max-width: 899px) {
	.pc-hero__art--illustration { display: none; }
	.pc-hero__photo { aspect-ratio: 16 / 9; border-radius: var(--pc-radius-lg) var(--pc-radius-lg) var(--pc-radius-lg) 64px; }
	.pc-hero__collar { width: 72px; left: 12px; bottom: -14px; }
	.pc-hero__collar::before { top: -16px; width: 22px; height: 22px; margin-left: -11px; border-width: 4px; }
}
.pc-hero__illustration { width: 100%; height: auto; }

@media (min-width: 900px) {
	.pc-hero__grid { grid-template-columns: 1.05fr .95fr; gap: 4rem; }
	.pc-hero__art { justify-self: end; }
}

/* ==========================================================================
   9. Category tiles
   ========================================================================== */
.pc-topics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; list-style: none; margin: 0; padding: 0; }
@media (min-width: 700px) { .pc-topics { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; } }
.pc-topic {
	position: relative; display: flex; gap: .9rem; align-items: flex-start; height: 100%;
	padding: 1rem; background: var(--pc-surface);
	border: 1px solid var(--pc-line); border-radius: var(--pc-radius);
	text-decoration: none; color: inherit;
	transition: border-color .15s, background-color .15s;
}
.pc-topic:hover { border-color: var(--pc-primary); background: #FBFEFD; color: inherit; }
.pc-topic__icon {
	display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
	background: var(--pc-soft); color: var(--pc-primary); flex: none;
	transition: background-color .15s, color .15s;
}
.pc-topic:hover .pc-topic__icon { background: var(--pc-primary-strong); color: #fff; }
.pc-topic__name { display: block; font-weight: 700; color: var(--pc-deep); line-height: 1.25; font-size: 1.0313rem; }
.pc-topic__desc { display: block; font-size: var(--pc-fs-sm); color: var(--pc-muted); line-height: 1.45; margin-top: .2rem; }
.pc-topic__count { display: block; font-size: var(--pc-fs-xs); color: var(--pc-primary-strong); font-weight: 600; margin-top: .4rem; }
@media (max-width: 519px) {
	.pc-topic { flex-direction: column; gap: .6rem; padding: .9rem; }
	.pc-topic__desc { display: none; }
}

/* ==========================================================================
   10. Article previews
   ========================================================================== */
.pc-media { position: relative; display: block; overflow: hidden; background: var(--pc-soft); border-radius: var(--pc-radius); }
.pc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s var(--pc-ease); }
.pc-media--16x9, .pc-media--16x10 { aspect-ratio: 16 / 9; }
.pc-media--square { aspect-ratio: 1; }
.pc-media__placeholder { display: grid; place-items: center; width: 100%; height: 100%; color: var(--pc-primary); opacity: .55; }
.pc-media__placeholder svg { width: 22%; min-width: 28px; max-width: 64px; }

/* Grid card */
.pc-grid { display: grid; gap: 2rem 1.5rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .pc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .pc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem 2rem; } }
.pc-card { display: flex; flex-direction: column; gap: .9rem; }
.pc-card__body { display: flex; flex-direction: column; align-items: flex-start; gap: .55rem; }
.pc-card__title { text-wrap: pretty; font-size: clamp(1.1875rem, 1.1rem + .3vw, 1.3125rem); line-height: 1.3; margin: 0; }
.pc-card__title a { color: var(--pc-deep); text-decoration: none; background-image: linear-gradient(currentColor, currentColor); background-size: 0 1.5px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .25s var(--pc-ease); }
.pc-card__title a:hover { color: var(--pc-deep); background-size: 100% 1.5px; }
.pc-card__excerpt { color: var(--pc-muted); font-size: .9688rem; line-height: 1.55; margin: 0; }
.pc-card:hover .pc-media img, .pc-lead:hover .pc-media img, .pc-row:hover .pc-media img { transform: scale(1.035); }

/* Lead story */
.pc-featured { display: grid; gap: 2rem; }
@media (min-width: 960px) { .pc-featured { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 3rem; } }
.pc-lead { display: flex; flex-direction: column; gap: 1.1rem; }
.pc-lead .pc-media { border-radius: var(--pc-radius-lg); }
.pc-lead__title { text-wrap: pretty; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.125rem); line-height: 1.15; letter-spacing: -0.025em; margin: 0; }
.pc-lead__title a { color: var(--pc-deep); text-decoration: none; }
.pc-lead__title a:hover { color: var(--pc-primary-strong); }
.pc-lead__excerpt { font-size: 1.0625rem; color: var(--pc-muted); margin: 0; max-width: 60ch; }
.pc-lead__body { display: flex; flex-direction: column; align-items: flex-start; gap: .7rem; }

/* Row item (featured list, search results) */
.pc-rows { list-style: none; margin: 0; padding: 0; }
.pc-rows > li + li { border-top: 1px solid var(--pc-line); }
.pc-row { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 1rem; align-items: start; padding-block: 1.1rem; }
.pc-rows > li:first-child .pc-row { padding-top: 0; }
.pc-row .pc-media { border-radius: var(--pc-radius-sm); }
.pc-row__body { display: flex; flex-direction: column; align-items: flex-start; gap: .4rem; min-width: 0; }
.pc-row__title { font-size: 1.0625rem; line-height: 1.35; margin: 0; }
.pc-row__title a { color: var(--pc-deep); text-decoration: none; }
.pc-row__title a:hover { color: var(--pc-primary-strong); text-decoration: underline; }
.pc-row__excerpt { color: var(--pc-muted); font-size: .9375rem; line-height: 1.55; margin: 0; }
.pc-rows--large .pc-row { grid-template-columns: 120px minmax(0, 1fr); }
@media (min-width: 640px) {
	.pc-rows--large .pc-row { grid-template-columns: 200px minmax(0, 1fr); gap: 1.5rem; padding-block: 1.5rem; }
	.pc-rows--large .pc-row .pc-media { aspect-ratio: 16 / 9; }
	.pc-rows--large .pc-row__title { font-size: 1.25rem; }
}
.pc-featured__aside-title { font-size: 1rem; color: var(--pc-muted); font-weight: 600; margin-bottom: 1rem; letter-spacing: 0; }

/* ==========================================================================
   11. Guides panel & newsletter
   ========================================================================== */
.pc-panel {
	background: var(--pc-soft); border-radius: var(--pc-radius-xl);
	padding: clamp(1.5rem, 1rem + 3vw, 3.5rem);
	display: grid; gap: 2rem;
}
@media (min-width: 900px) { .pc-panel { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 3.5rem; align-items: start; } }
.pc-panel__title { font-size: var(--pc-fs-h2); }
.pc-panel__text { color: var(--pc-text); max-width: 42ch; margin-bottom: 1.5rem; }
.pc-guide-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.pc-guide-list a {
	display: flex; align-items: center; gap: .9rem; padding: .9rem 1.1rem;
	background: var(--pc-surface); border-radius: var(--pc-radius); text-decoration: none; color: var(--pc-deep);
	font-weight: 600; line-height: 1.35; border: 1px solid transparent; transition: border-color .15s;
}
.pc-guide-list a:hover { border-color: var(--pc-primary); color: var(--pc-deep); }
.pc-guide-list svg { color: var(--pc-primary); }
.pc-guide-list small { display: block; font-weight: 450; color: var(--pc-muted); font-size: var(--pc-fs-xs); margin-top: .15rem; }

.pc-newsletter {
	background: var(--pc-surface); border: 1px solid var(--pc-line); border-radius: var(--pc-radius-lg);
	padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); display: grid; gap: 1.25rem; align-items: center;
}
@media (min-width: 860px) { .pc-newsletter { grid-template-columns: 1fr 1fr; gap: 3rem; } }
.pc-newsletter__title { font-size: 1.5rem; margin-bottom: .35rem; }
.pc-newsletter__text { color: var(--pc-muted); margin: 0; }
.pc-newsletter__form { display: flex; gap: .5rem; flex-wrap: wrap; }
.pc-newsletter__form input[type="email"] { flex: 1 1 220px; border-radius: 999px; padding-inline: 1.25rem; }

/* ==========================================================================
   12. Footer
   ========================================================================== */
.pc-footer { background: var(--pc-deep); color: #CFE6E2; margin-top: var(--pc-section); padding-block: 3.5rem 1.75rem; font-size: .9688rem; }
.pc-footer a { color: #fff; text-decoration: none; }
.pc-footer a:hover { color: var(--pc-yellow); text-decoration: underline; }
.pc-footer__grid { display: grid; gap: 2.5rem; }
@media (min-width: 600px) { .pc-footer__grid { grid-template-columns: 1fr 1fr; } .pc-footer__grid > :first-child { grid-column: 1 / -1; } }
@media (min-width: 900px) { .pc-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 3rem; } .pc-footer__grid > :first-child { grid-column: auto; } }
.pc-footer .pc-brand a { color: #fff; }
.pc-footer .pc-brand__mark { box-shadow: 0 0 0 3px var(--pc-deep), 0 0 0 5px var(--pc-primary); }
.pc-footer__about { margin: 1rem 0 1.25rem; max-width: 38ch; }
.pc-footer__heading { color: #fff; font-size: 1rem; margin-bottom: 1rem; letter-spacing: 0; }
.pc-footer__menu { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.pc-social { display: flex; gap: .5rem; list-style: none; margin: 0; padding: 0; }
.pc-social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .08); color: #fff; }
.pc-social a:hover { background: var(--pc-yellow); color: var(--pc-deep); }
.pc-footer__bottom {
	margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .14);
	display: flex; flex-wrap: wrap; gap: .75rem 2rem; justify-content: space-between; font-size: var(--pc-fs-sm);
}
.pc-footer__bottom p { margin: 0; max-width: 70ch; }

/* ==========================================================================
   13. Archive, search & breadcrumbs
   ========================================================================== */
.pc-breadcrumbs { font-size: var(--pc-fs-sm); color: var(--pc-muted); margin-bottom: 1.25rem; }
.pc-breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: .25rem; }
.pc-breadcrumbs li { display: inline-flex; align-items: center; gap: .25rem; min-width: 0; }
.pc-breadcrumbs li + li::before {
	content: ""; width: .38em; height: .38em; margin: 0 .35em 0 .1em;
	border-right: 1.5px solid var(--pc-line-strong); border-top: 1.5px solid var(--pc-line-strong); transform: rotate(45deg);
}
.pc-breadcrumbs a { color: var(--pc-muted); text-decoration: none; }
.pc-breadcrumbs a:hover { color: var(--pc-primary-strong); text-decoration: underline; }
.pc-breadcrumbs [aria-current] { color: var(--pc-deep); font-weight: 550; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 36ch; }
/* plugin breadcrumbs (Yoast / Rank Math) */
.pc-breadcrumbs--plugin a { color: var(--pc-muted); }

.pc-archive-head { padding-block: clamp(2rem, 1.5rem + 2vw, 3.5rem) 2rem; border-bottom: 1px solid var(--pc-line); margin-bottom: 2.5rem; }
.pc-archive-head__title { font-size: var(--pc-fs-h1); letter-spacing: -0.03em; margin-bottom: .6rem; }
.pc-archive-head__desc { color: var(--pc-muted); font-size: 1.0625rem; max-width: 64ch; }
.pc-archive-head__desc p:last-child { margin-bottom: 0; }
.pc-archive-head__count { display: inline-block; margin-top: .9rem; font-size: var(--pc-fs-sm); color: var(--pc-muted); }
.pc-archive-head .pc-tags { margin-top: 1.25rem; }
.pc-archive-head__author { display: flex; gap: 1.25rem; align-items: center; }
.pc-archive-head__author img { border-radius: 50%; }
.pc-archive-head .pc-searchform { margin-top: 1.25rem; }

.pc-archive-lead { margin-bottom: 3rem; }
@media (min-width: 900px) {
	.pc-archive-lead .pc-lead { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 2.5rem; align-items: center; }
}

.pc-empty { background: var(--pc-surface); border: 1px solid var(--pc-line); border-radius: var(--pc-radius-lg); padding: clamp(1.5rem, 1rem + 2vw, 2.75rem); }
.pc-empty h2 { font-size: 1.375rem; }
.pc-empty > * + h2 { margin-top: 2rem; }

/* Pagination */
.pc-pagination { margin-top: 3.5rem; }
.pc-pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; }
.pc-pagination .page-numbers {
	display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 .9rem;
	border-radius: 999px; text-decoration: none; color: var(--pc-deep); font-weight: 600;
	background: var(--pc-surface); border: 1px solid var(--pc-line);
}
.pc-pagination a.page-numbers:hover { border-color: var(--pc-primary); color: var(--pc-primary-strong); }
.pc-pagination .page-numbers.current { background: var(--pc-deep); border-color: var(--pc-deep); color: #fff; }
.pc-pagination .page-numbers.dots { background: transparent; border: 0; }

/* ==========================================================================
   14. Single article
   ========================================================================== */
.pc-article { max-width: calc(760px + var(--pc-gutter) * 2); margin-inline: auto; padding-inline: var(--pc-gutter); }
.pc-article.has-toc { max-width: calc(1080px + var(--pc-gutter) * 2); }
.pc-article__header { padding-top: clamp(1.75rem, 1rem + 2vw, 3rem); max-width: 820px; }
.pc-article__title { font-size: var(--pc-fs-h1); letter-spacing: -0.03em; line-height: 1.1; margin: .9rem 0 1rem; }
.pc-article__dek { font-size: clamp(1.125rem, 1.05rem + .35vw, 1.3125rem); color: var(--pc-muted); line-height: 1.5; margin-bottom: 1.5rem; max-width: 60ch; }
.pc-byline { display: flex; align-items: center; gap: .85rem; padding-block: 1.1rem; border-top: 1px solid var(--pc-line); border-bottom: 1px solid var(--pc-line); }
.pc-byline img { border-radius: 50%; }
.pc-byline__name { font-weight: 650; color: var(--pc-deep); font-size: .9688rem; }
.pc-byline__name a { color: inherit; text-decoration: none; }
.pc-byline__name a:hover { color: var(--pc-primary-strong); text-decoration: underline; }
.pc-byline .pc-meta { margin-top: .15rem; }
.pc-review-line {
	display: flex; gap: .6rem; align-items: flex-start; margin-top: 1rem;
	font-size: var(--pc-fs-sm); color: var(--pc-text); background: var(--pc-soft);
	padding: .7rem 1rem; border-radius: var(--pc-radius-sm);
}
.pc-review-line svg { color: var(--pc-primary); margin-top: .1rem; }
.pc-article__figure { margin: 2rem 0 0; }
.pc-article__figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--pc-radius-lg); background: var(--pc-soft); }
.pc-article__figure figcaption { font-size: var(--pc-fs-sm); color: var(--pc-muted); margin-top: .6rem; }

.pc-article__layout { display: grid; gap: 2rem; padding-top: 2.5rem; }
.pc-article__body { min-width: 0; max-width: var(--pc-read); }
@media (min-width: 1100px) {
	.has-toc .pc-article__layout { grid-template-columns: minmax(0, var(--pc-read)) 280px; gap: 80px; justify-content: space-between; }
	.has-toc .pc-article__body { grid-column: 1; grid-row: 1; }
	.has-toc .pc-toc-wrap { grid-column: 2; grid-row: 1; }
	.pc-toc { position: sticky; top: calc(var(--pc-header-h) + 24px); max-height: calc(100vh - var(--pc-header-h) - 48px); overflow-y: auto; }
}

/* Table of contents */
.pc-toc { background: var(--pc-surface); border: 1px solid var(--pc-line); border-radius: var(--pc-radius); font-size: .9375rem; }
.pc-toc summary {
	display: flex; align-items: center; justify-content: space-between; gap: 1rem;
	padding: .9rem 1.1rem; cursor: pointer; list-style: none; font-weight: 700; color: var(--pc-deep);
}
.pc-toc summary::-webkit-details-marker { display: none; }
.pc-toc summary::after {
	content: ""; width: .5em; height: .5em; border-right: 2px solid var(--pc-primary); border-bottom: 2px solid var(--pc-primary);
	transform: translateY(-.15em) rotate(45deg); transition: transform .2s;
}
.pc-toc[open] summary::after { transform: translateY(.1em) rotate(-135deg); }
.pc-toc ol { list-style: none; margin: 0; padding: 0 .6rem .8rem; }
.pc-toc li ol { padding: 0 0 0 .85rem; }
.pc-toc a {
	display: block; padding: .38rem .6rem; border-radius: 8px; color: var(--pc-text); text-decoration: none; line-height: 1.4;
	border-left: 2px solid transparent;
}
.pc-toc a:hover { background: var(--pc-soft); color: var(--pc-deep); }
.pc-toc a.is-active { color: var(--pc-primary-strong); font-weight: 600; border-left-color: var(--pc-primary); border-radius: 0 8px 8px 0; background: var(--pc-soft); }
.pc-toc .pc-toc__h3 a { font-size: .875rem; color: var(--pc-muted); }

/* Entry content — the reading column */
.entry-content { font-size: var(--pc-fs-body); line-height: 1.75; color: var(--pc-text); overflow-wrap: break-word; }
.entry-content > * { margin-top: 0; margin-bottom: 1.35em; }
.entry-content > *:last-child { margin-bottom: 0; }
.entry-content h2 { font-size: clamp(1.5rem, 1.3rem + .7vw, 1.875rem); margin: 2.1em 0 .6em; letter-spacing: -0.022em; }
.entry-content h3 { font-size: clamp(1.25rem, 1.15rem + .35vw, 1.4375rem); margin: 1.8em 0 .5em; }
.entry-content h4 { font-size: 1.125rem; margin: 1.6em 0 .4em; }
.entry-content h2:first-child, .entry-content h3:first-child { margin-top: 0; }
.entry-content :is(h2, h3, h4) { scroll-margin-top: calc(var(--pc-header-h) + 20px); }
.entry-content a { text-decoration-color: rgba(10, 122, 113, .45); text-decoration-thickness: 1.5px; }
.entry-content a:hover { text-decoration-color: currentColor; }
.entry-content strong { color: var(--pc-deep); font-weight: 650; }
.entry-content ul, .entry-content ol { padding-left: 1.4em; }
.entry-content li { margin-bottom: .45em; padding-left: .2em; }
.entry-content li::marker { color: var(--pc-primary); font-weight: 700; }
.entry-content li > ul, .entry-content li > ol { margin-top: .45em; }
.entry-content img { border-radius: var(--pc-radius); }
.entry-content figure { margin-inline: 0; }
.entry-content figcaption, .entry-content .wp-caption-text, .entry-content .wp-element-caption {
	font-size: var(--pc-fs-sm); color: var(--pc-muted); line-height: 1.5; margin-top: .6rem; text-align: left;
}
.entry-content blockquote, .entry-content .wp-block-quote {
	margin-inline: 0; padding: 1.1rem 1.4rem; border-left: 4px solid var(--pc-primary);
	background: var(--pc-surface); border-radius: 0 var(--pc-radius) var(--pc-radius) 0;
	font-size: 1.125em; color: var(--pc-deep);
}
.entry-content blockquote p:last-of-type { margin-bottom: 0; }
.entry-content blockquote cite { display: block; margin-top: .6rem; font-size: var(--pc-fs-sm); font-style: normal; color: var(--pc-muted); }
.entry-content code { background: var(--pc-soft); padding: .1em .35em; border-radius: 5px; font-size: .9em; }
.entry-content pre { background: var(--pc-deep); color: #E3F6F3; padding: 1.1rem; border-radius: var(--pc-radius); overflow-x: auto; font-size: .9rem; }
.entry-content pre code { background: none; padding: 0; }
.entry-content hr { margin: 2.5em auto; }
.entry-content iframe { max-width: 100%; border-radius: var(--pc-radius); }

/* Tables */
.entry-content table { width: 100%; border-collapse: collapse; font-size: .9375rem; line-height: 1.5; background: var(--pc-surface); }
.entry-content .wp-block-table { overflow-x: auto; border: 1px solid var(--pc-line); border-radius: var(--pc-radius); }
.entry-content .wp-block-table table { border: 0; }
.entry-content th, .entry-content td { padding: .75rem 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--pc-line); }
.entry-content .wp-block-table :is(td, th) { border: 0; border-bottom: 1px solid var(--pc-line); }
.entry-content .wp-block-table :is(thead, tfoot) { border: 0; }
.entry-content thead th, .entry-content table tr:first-child th { background: var(--pc-soft); color: var(--pc-deep); font-weight: 700; }
.entry-content tbody tr:last-child td { border-bottom: 0; }
.entry-content .is-style-stripes tbody tr:nth-child(odd) { background: #F9FCFB; }
@media (max-width: 700px) {
	.entry-content > table { display: block; overflow-x: auto; border: 1px solid var(--pc-line); border-radius: var(--pc-radius); }
}

/* Editorial callouts (block styles on core/group) */
.entry-content [class*="is-style-pc-"] {
	position: relative; padding: 1.2rem 1.35rem 1.2rem 3.4rem;
	border-radius: var(--pc-radius); background: var(--pc-soft); border-left: 4px solid var(--pc-primary);
	font-size: .96em; line-height: 1.65;
}
.entry-content [class*="is-style-pc-"] > *:last-child { margin-bottom: 0; }
.entry-content [class*="is-style-pc-"] > * { margin-bottom: .6em; }
.entry-content [class*="is-style-pc-"]::before {
	content: ""; position: absolute; left: 1.1rem; top: 1.3rem; width: 22px; height: 22px;
	background: var(--pc-primary);
	-webkit-mask: var(--pc-callout-icon) center / contain no-repeat; mask: var(--pc-callout-icon) center / contain no-repeat;
}
.pc-callout__label { font-weight: 700; color: var(--pc-deep); margin-bottom: .35em !important; }
.entry-content .is-style-pc-tip { --pc-callout-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18h6M10 21h4M12 3a6 6 0 0 0-4 10.5c.6.6 1 1.4 1 2.5h6c0-1.1.4-1.9 1-2.5A6 6 0 0 0 12 3Z'/%3E%3C/svg%3E"); }
.entry-content .is-style-pc-important { border-left-color: var(--pc-deep); --pc-callout-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v6M12 16.5h.01'/%3E%3C/svg%3E"); }
.entry-content .is-style-pc-important::before { background: var(--pc-deep); }
.entry-content .is-style-pc-safety { background: #FFF8E6; border-left-color: var(--pc-yellow); --pc-callout-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10.3 3.9 2.4 18a2 2 0 0 0 1.7 3h15.8a2 2 0 0 0 1.7-3L13.7 3.9a2 2 0 0 0-3.4 0Z'/%3E%3Cpath d='M12 9v4M12 17h.01'/%3E%3C/svg%3E"); }
.entry-content .is-style-pc-safety::before { background: var(--pc-deep); }
.entry-content .is-style-pc-takeaways { background: var(--pc-surface); border: 1.5px solid var(--pc-primary); border-left-width: 4px; --pc-callout-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 11l3 3 8-8'/%3E%3Cpath d='M20 12v6a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h9'/%3E%3C/svg%3E"); }
.entry-content .is-style-pc-takeaways ul { margin-bottom: 0; }

/* FAQ (core/details) */
.entry-content .wp-block-details, .entry-content details.is-style-pc-faq-item {
	background: var(--pc-surface); border: 1px solid var(--pc-line); border-radius: var(--pc-radius);
	padding: 0; margin-bottom: .6rem;
}
.entry-content .wp-block-details summary {
	cursor: pointer; padding: 1rem 3rem 1rem 1.2rem; font-weight: 650; color: var(--pc-deep); position: relative; list-style: none;
}
.entry-content .wp-block-details summary::-webkit-details-marker { display: none; }
.entry-content .wp-block-details summary::after {
	content: ""; position: absolute; right: 1.3rem; top: 50%; width: 12px; height: 12px; margin-top: -6px;
	background: linear-gradient(var(--pc-primary), var(--pc-primary)) center / 12px 2px no-repeat, linear-gradient(var(--pc-primary), var(--pc-primary)) center / 2px 12px no-repeat;
	transition: transform .2s;
}
.entry-content .wp-block-details[open] summary::after { transform: rotate(45deg); }
.entry-content .wp-block-details > *:not(summary) { padding-inline: 1.2rem; }
.entry-content .wp-block-details > *:last-child { padding-bottom: 1rem; margin-bottom: 0; }

/* Article footer bits */
.pc-disclaimer {
	margin-top: 2.5rem; padding: 1rem 1.2rem; border: 1px dashed var(--pc-line-strong); border-radius: var(--pc-radius);
	font-size: var(--pc-fs-sm); color: var(--pc-muted); line-height: 1.6;
}
.pc-disclaimer strong { color: var(--pc-deep); }
.pc-article__tags { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.pc-article__tags-label { font-size: var(--pc-fs-sm); font-weight: 650; color: var(--pc-deep); }
.pc-author-box {
	margin-top: 3rem; display: grid; grid-template-columns: 72px 1fr; gap: 1.25rem;
	padding: 1.5rem; background: var(--pc-surface); border: 1px solid var(--pc-line); border-radius: var(--pc-radius-lg);
}
.pc-author-box img { border-radius: 50%; }
.pc-author-box__name { font-size: 1.125rem; margin-bottom: .3rem; }
.pc-author-box__name a { color: inherit; text-decoration: none; }
.pc-author-box__bio { color: var(--pc-muted); font-size: .9688rem; margin-bottom: .5rem; }
.pc-author-box__link { font-size: var(--pc-fs-sm); font-weight: 600; }

.pc-post-nav { margin-top: 3rem; display: grid; gap: 1rem; }
@media (min-width: 640px) { .pc-post-nav { grid-template-columns: 1fr 1fr; } }
.pc-post-nav a {
	display: block; height: 100%; padding: 1.1rem 1.25rem; border: 1px solid var(--pc-line); border-radius: var(--pc-radius);
	text-decoration: none; background: var(--pc-surface); color: var(--pc-deep); font-weight: 650; line-height: 1.4;
}
.pc-post-nav a:hover { border-color: var(--pc-primary); }
.pc-post-nav span { display: block; font-size: var(--pc-fs-xs); color: var(--pc-muted); font-weight: 500; margin-bottom: .3rem; }
.pc-post-nav__next { text-align: right; }

.pc-related { padding-top: var(--pc-section); }
.pc-related__title { font-size: var(--pc-fs-h2); margin-bottom: 1.75rem; }

/* Pages */
.pc-page { max-width: calc(var(--pc-read) + var(--pc-gutter) * 2); margin-inline: auto; padding-inline: var(--pc-gutter); }
.pc-page .pc-article__title { margin-top: 0; }

/* Comments */
.pc-comments { margin-top: 3.5rem; padding-top: 2.5rem; border-top: 1px solid var(--pc-line); }
.pc-comments__title { font-size: 1.5rem; }
.comment-list { list-style: none; padding: 0; margin: 0 0 2rem; }
.comment-list .children { list-style: none; padding-left: clamp(1rem, 4vw, 2.5rem); }
.comment-body { padding: 1.25rem 0; border-bottom: 1px solid var(--pc-line); }
.comment-author { display: flex; align-items: center; gap: .6rem; font-weight: 650; color: var(--pc-deep); }
.comment-author img { border-radius: 50%; }
.comment-author .says { display: none; }
.comment-metadata { font-size: var(--pc-fs-xs); margin: .25rem 0 .75rem; }
.comment-metadata a { color: var(--pc-muted); text-decoration: none; }
.comment-content { font-size: 1rem; }
.reply a { font-size: var(--pc-fs-sm); font-weight: 600; }
.comment-form { display: grid; gap: 1rem; }
.comment-form p { margin: 0; }
.comment-form label { display: block; margin-bottom: .35rem; }
.comment-form-cookies-consent { display: flex; gap: .5rem; align-items: flex-start; }
.comment-form-cookies-consent label { font-weight: 450; margin: 0; }

/* WordPress core classes */
.alignleft { float: left; margin: .3em 1.5em 1em 0; }
.alignright { float: right; margin: .3em 0 1em 1.5em; }
.aligncenter { display: block; margin-inline: auto; }
@media (min-width: 1100px) {
	.pc-article:not(.has-toc) .entry-content .alignwide { margin-inline: -120px; max-width: none; }
}
.wp-caption { max-width: 100%; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: .75rem; }
.sticky, .bypostauthor, .gallery-caption { /* required by theme review */ }
.page-links { margin-top: 2rem; font-weight: 600; display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; }

/* 404 */
.pc-notfound { padding-block: clamp(2.5rem, 2rem + 3vw, 5rem) 0; }
.pc-notfound__code { display: inline-grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: var(--pc-yellow); color: var(--pc-deep); font-weight: 800; font-size: 1.5rem; margin-bottom: 1.5rem; box-shadow: 0 0 0 5px var(--pc-bg), 0 0 0 7px var(--pc-primary); }

/* ==========================================================================
   15. Motion & print
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
	.pc-card:hover .pc-media img, .pc-lead:hover .pc-media img, .pc-row:hover .pc-media img { transform: none; }
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

@media print {
	.pc-header, .pc-footer, .pc-toc-wrap, .pc-related, .pc-post-nav, .pc-newsletter, .pc-comments, .pc-breadcrumbs { display: none !important; }
	body { background: #fff; color: #000; }
	.pc-article.has-toc .pc-article__layout { display: block; }
	.entry-content a::after { content: " (" attr(href) ")"; font-size: .8em; color: #555; }
}
.pc-results { max-width: 880px; }
.pc-related .pc-section__head .pc-related__title { margin: 0; }
.pc-page__content { padding-top: 2rem; }

/* ==========================================================================
   16. Page templates (About, Contact, Start here)
   ========================================================================== */
.pc-page-head { padding-block: clamp(1.75rem, 1rem + 2vw, 3rem) 0; max-width: 760px; }
.pc-page-head__title { font-size: var(--pc-fs-h1); letter-spacing: -0.03em; line-height: 1.08; margin-bottom: .75rem; }
.pc-page-head__dek { font-size: clamp(1.125rem, 1.05rem + .35vw, 1.3125rem); color: var(--pc-muted); line-height: 1.5; margin: 0; max-width: 58ch; }

/* About */
.pc-about__intro { display: grid; gap: 2rem; align-items: end; }
@media (min-width: 960px) { .pc-about__intro.has-image { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 4rem; align-items: center; } }
.pc-about__figure { position: relative; margin: 0; }
.pc-about__figure img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; border-radius: var(--pc-radius-xl) var(--pc-radius-xl) 96px var(--pc-radius-xl); }
.pc-about__figure .pc-hero__collar { left: auto; right: 18px; bottom: -16px; width: 84px; }
.pc-about__content { max-width: var(--pc-read); padding-top: 2.5rem; }
.pc-people { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
@media (min-width: 700px) { .pc-people { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .pc-people { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pc-person { display: grid; grid-template-columns: 64px 1fr; gap: 1rem; padding: 1.25rem; background: var(--pc-surface); border: 1px solid var(--pc-line); border-radius: var(--pc-radius); }
.pc-person img { border-radius: 50%; }
.pc-person__name { font-size: 1.0625rem; margin-bottom: .3rem; }
.pc-person__name a { color: inherit; text-decoration: none; }
.pc-person__name a:hover { color: var(--pc-primary-strong); text-decoration: underline; }
.pc-person__bio { font-size: .9375rem; color: var(--pc-muted); line-height: 1.55; margin-bottom: .5rem; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.pc-person__link { font-size: var(--pc-fs-sm); font-weight: 600; }
.pc-callout-band { display: flex; flex-wrap: wrap; gap: 1.25rem 2rem; align-items: center; justify-content: space-between; padding: clamp(1.5rem, 1rem + 2vw, 2.25rem); background: var(--pc-soft); border-radius: var(--pc-radius-lg); }
.pc-callout-band__title { font-size: 1.375rem; margin-bottom: .3rem; }
.pc-callout-band p { margin: 0; color: var(--pc-text); }

/* Contact */
.pc-contact { display: grid; gap: 2rem; padding-top: 2.25rem; }
@media (min-width: 960px) { .pc-contact { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 4rem; align-items: start; } }
.pc-contact--plugin { grid-template-columns: minmax(0, var(--pc-read)); }
.pc-contact__info .entry-content { font-size: 1.0625rem; }
.pc-contact__note { display: flex; gap: .75rem; margin-top: 1.5rem; padding: 1rem 1.1rem; background: var(--pc-surface); border: 1px solid var(--pc-line); border-radius: var(--pc-radius); font-size: .9375rem; }
.pc-contact__note svg { color: var(--pc-primary); margin-top: .15rem; }
.pc-contact__note p { margin: 0; }
.pc-contact__social { margin-top: 2rem; }
.pc-contact__subhead { font-size: 1rem; letter-spacing: 0; margin-bottom: .75rem; }
.pc-contact__social .pc-social a { background: var(--pc-soft); color: var(--pc-primary-strong); }
.pc-contact__social .pc-social a:hover { background: var(--pc-primary-strong); color: #fff; }

.pc-form-card { background: var(--pc-surface); border: 1px solid var(--pc-line); border-radius: var(--pc-radius-lg); padding: clamp(1.25rem, 1rem + 2vw, 2.25rem); scroll-margin-top: calc(var(--pc-header-h) + 16px); }
.pc-form-card:focus { outline: none; }
.pc-form-card__title { font-size: 1.375rem; margin-bottom: 1.25rem; }
.pc-form__row { display: grid; gap: 0 1rem; }
@media (min-width: 600px) { .pc-form__row { grid-template-columns: 1fr 1fr; } }
.pc-field { display: grid; gap: .4rem; margin-bottom: 1.1rem; align-content: start; }
.pc-field textarea { resize: vertical; min-height: 160px; line-height: 1.6; }
.pc-field select { appearance: none; -webkit-appearance: none; padding-right: 2.5rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E8C82' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .9rem center; background-size: 18px; }
.pc-field [aria-invalid="true"] { border-color: #B42318; }
.pc-field [aria-invalid="true"]:focus { box-shadow: 0 0 0 4px rgba(180, 35, 24, .15); }
.pc-field__error { color: #B42318; font-size: var(--pc-fs-sm); font-weight: 550; }
.pc-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.pc-form__footer { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; margin-top: .5rem; }
.pc-form__privacy { margin: 0; font-size: var(--pc-fs-sm); color: var(--pc-muted); }

.pc-notice { display: flex; gap: .85rem; padding: 1rem 1.15rem; border-radius: var(--pc-radius); margin-bottom: 1.5rem; font-size: .9688rem; }
.pc-notice:focus { outline: 3px solid var(--pc-primary); outline-offset: 2px; }
.pc-notice p, .pc-notice ul { margin: 0; }
.pc-notice ul { padding-left: 1.1rem; margin-top: .35rem; }
.pc-notice__title { font-size: 1.0625rem; font-weight: 700; color: var(--pc-deep); margin: 0 0 .25rem; letter-spacing: 0; }
.pc-notice--success { background: var(--pc-soft); border-left: 4px solid var(--pc-primary); margin-bottom: 0; }
.pc-notice--success svg { color: var(--pc-primary); }
.pc-notice--success a { display: inline-block; margin-top: .6rem; font-weight: 600; }
.pc-notice--error { background: #FEF3F2; border-left: 4px solid #B42318; }
.pc-notice--error a { color: #912018; }

/* Start here */
.pc-start__intro { display: grid; gap: 1.5rem; }
@media (min-width: 960px) { .pc-start__intro { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 4rem; align-items: end; } .pc-start__intro .pc-searchform { margin-bottom: .4rem; } }
.pc-start__content { max-width: var(--pc-read); padding-top: 2rem; }
.pc-jump { margin-top: 2.25rem; padding: 1.1rem 1.25rem; background: var(--pc-surface); border: 1px solid var(--pc-line); border-radius: var(--pc-radius); }
.pc-jump__label { font-size: var(--pc-fs-sm); font-weight: 650; color: var(--pc-deep); margin-bottom: .7rem; }
.pc-start__topics { margin-top: 1rem; }
.pc-start-topic { display: grid; gap: 1.5rem; padding-block: 2.75rem; border-bottom: 1px solid var(--pc-line); scroll-margin-top: calc(var(--pc-header-h) + 16px); }
@media (min-width: 960px) {
	.pc-start-topic { grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: 4rem; }
	.pc-start-topic__head { position: sticky; top: calc(var(--pc-header-h) + 24px); align-self: start; }
}
.pc-start-topic__head .pc-topic__icon { margin-bottom: 1rem; }
.pc-start-topic__title { font-size: var(--pc-fs-h2); margin-bottom: .5rem; }
.pc-start-topic__desc { color: var(--pc-muted); margin-bottom: 1rem; max-width: 42ch; }
.pc-start__more { margin-top: 3.5rem; padding: clamp(1.5rem, 1rem + 3vw, 3rem); background: var(--pc-soft); border-radius: var(--pc-radius-xl); }
.pc-start__more .pc-searchform { margin-block: 1.25rem; }
.pc-about__intro { padding-top: clamp(1.75rem, 1rem + 2vw, 3rem); }
.pc-about__intro .pc-page-head { padding-top: 0; }
.pc-initials { display: inline-grid; place-items: center; flex: none; border-radius: 50%; background: var(--pc-soft); color: var(--pc-primary-strong); font-weight: 700; letter-spacing: .02em; box-shadow: inset 0 0 0 1.5px var(--pc-line-strong); }

/* ==========================================================================
   17. About & trust profile (E-A-T)
   ========================================================================== */
.pc-eat { padding-top: var(--pc-section); }
.pc-eat__card {
	position: relative; display: grid; overflow: hidden;
	background: var(--pc-surface); border: 1px solid var(--pc-line);
	border-radius: var(--pc-radius-lg) var(--pc-radius-lg) var(--pc-radius-lg) 56px;
	box-shadow: 0 28px 50px -36px rgba(11, 59, 58, .45);
}
@media (min-width: 900px) {
	.pc-eat__card { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); border-radius: var(--pc-radius-xl) var(--pc-radius-xl) var(--pc-radius-xl) 110px; }
}

/* Brand panel: the logo "hangs" from a collar strap + tag */
.pc-eat__brand {
	position: relative; overflow: hidden;
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.5rem;
	padding: 118px clamp(1.25rem, 1rem + 2vw, 2.5rem) clamp(1.75rem, 1rem + 2vw, 2.75rem);
	background: var(--pc-soft); text-align: center;
}
.pc-eat__brand::before { /* collar strap */
	content: ""; position: absolute; left: -20%; right: -20%; top: -128px; height: 184px;
	border-bottom: 13px solid var(--pc-primary); border-radius: 0 0 50% 50%;
}
.pc-eat__brand::after { /* stitching */
	content: ""; position: absolute; left: -20%; right: -20%; top: -131px; height: 184px;
	border-bottom: 1.5px dashed rgba(255, 255, 255, .65); border-radius: 0 0 50% 50%;
}
.pc-eat__tag {
	position: absolute; top: 58px; left: 50%; z-index: 1;
	display: grid; place-items: center; width: 50px; height: 50px; margin-left: -25px; border-radius: 50%;
	background: var(--pc-yellow); color: var(--pc-deep); transform: rotate(-8deg);
	box-shadow: 0 0 0 4px var(--pc-soft), 0 8px 16px -8px rgba(11, 59, 58, .5);
}
.pc-eat__tag::before { /* ring */
	content: ""; position: absolute; top: -13px; left: 50%; width: 16px; height: 16px; margin-left: -8px;
	border: 3.5px solid var(--pc-deep); border-radius: 50%;
}
.pc-eat__logo { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: .4rem; width: 100%; }
.pc-eat__logo-img { width: auto; max-width: min(320px, 100%); max-height: 128px; object-fit: contain; }
.pc-eat__wordmark { display: inline-flex; align-items: center; gap: .6rem; font-weight: 780; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); letter-spacing: -0.03em; color: var(--pc-deep); line-height: 1.1; }
.pc-eat__wordmark svg { color: var(--pc-primary); width: 1.25em; height: 1.25em; }
.pc-eat__tagline { font-size: var(--pc-fs-sm); color: var(--pc-muted); max-width: 30ch; }
.pc-eat__points { position: relative; z-index: 1; list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; text-align: left; width: 100%; max-width: 320px; }
.pc-eat__points li { display: flex; align-items: flex-start; gap: .6rem; font-size: .9375rem; font-weight: 550; color: var(--pc-deep); line-height: 1.4; }
.pc-eat__points svg { flex: none; width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--pc-primary-strong); color: #fff; stroke-width: 2.6; margin-top: -1px; }

/* Body */
.pc-eat__body { padding: clamp(1.5rem, 1rem + 2.5vw, 3rem); min-width: 0; }
.pc-eat__title { display: flex; align-items: center; gap: .65rem; font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem); letter-spacing: -0.025em; margin-bottom: 1rem; }
.pc-eat__title-icon { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 50%; background: var(--pc-soft); color: var(--pc-primary-strong); }
.pc-eat__text { font-size: var(--pc-fs-body); line-height: 1.72; color: var(--pc-text); max-width: 62ch; }
.pc-eat__text p:last-child { margin-bottom: 0; }

.pc-eat__person {
	display: flex; align-items: center; gap: 1rem; margin-top: 1.5rem; padding: .9rem 1rem;
	background: var(--pc-bg); border: 1px solid var(--pc-line); border-radius: var(--pc-radius);
}
.pc-eat__person-img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none; font-size: 20px; }
.pc-eat__person > div { display: flex; flex-direction: column; gap: .1rem; min-width: 0; }
.pc-eat__person-label { font-size: var(--pc-fs-xs); color: var(--pc-muted); font-weight: 550; }
.pc-eat__person-name { font-weight: 700; color: var(--pc-deep); line-height: 1.3; }
.pc-eat__person-name a { color: inherit; }
.pc-eat__person-bio { font-size: var(--pc-fs-sm); color: var(--pc-muted); line-height: 1.45; }

.pc-eat__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.pc-eat__follow { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; margin-top: 1.75rem; padding-top: 1.5rem; border-top: 1px solid var(--pc-line); }
.pc-eat__follow-title { margin: 0; font-weight: 700; color: var(--pc-deep); font-size: 1.0625rem; }

@media (max-width: 899px) {
	.pc-eat__points { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); max-width: 560px; }
}
@media (max-width: 479px) {
	.pc-eat__actions .pc-btn { flex: 1 1 100%; }
	.pc-eat__title-icon { width: 36px; height: 36px; }
	.pc-eat__follow { flex-direction: column; align-items: flex-start; }
}

/* Brand-coloured social circles */
.pc-social--brand { flex-wrap: wrap; gap: .5rem; }
.pc-social--brand a {
	display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
	color: #fff; background: var(--pc-deep); transition: transform .15s var(--pc-ease), box-shadow .15s;
}
.pc-social--brand a:hover { transform: translateY(-2px); box-shadow: 0 8px 16px -8px rgba(0, 0, 0, .45); color: #fff; }
.pc-social--brand .pc-social__facebook { background: #1877F2; }
.pc-social--brand .pc-social__youtube { background: #E00000; }
.pc-social--brand .pc-social__pinterest { background: #D5001F; }
.pc-social--brand .pc-social__instagram { background: radial-gradient(circle at 30% 107%, #FDB03A 0%, #F7682F 30%, #E1306C 60%, #8A3AB9 100%); }
.pc-social--brand .pc-social__x, .pc-social--brand .pc-social__threads { background: #111; }
.pc-social--brand .pc-social__linkedin { background: #0A66C2; }

/* Front-end "Edit" button (admins only) */
.pc-edit-link {
	position: absolute; top: 12px; right: 12px; z-index: 5;
	display: inline-flex; align-items: center; gap: .35rem; padding: .4rem .75rem;
	background: var(--pc-deep); color: #fff; border-radius: 999px; font-size: var(--pc-fs-xs); font-weight: 650; text-decoration: none;
	box-shadow: 0 6px 16px -8px rgba(11, 59, 58, .6);
}
.pc-edit-link:hover { background: var(--pc-yellow); color: var(--pc-deep); }
.pc-hero__grid > .pc-edit-link { top: -8px; right: var(--pc-gutter); }

/* ==========================================================================
   18. Screen-size refinements
   ========================================================================== */
/* Tiny phones (≤ 380px): tighter gutters, icon-only search button */
.pc-searchform__submit-icon { display: none; }
@media (max-width: 380px) {
	:root { --pc-gutter: 16px; }
	.pc-searchform input[type="search"] { padding-right: 3.75rem; font-size: 1rem; }
	.pc-searchform__submit.pc-btn { padding-inline: .8rem; min-width: 46px; }
	.pc-searchform__submit-icon { display: inline-flex; }
	.pc-searchform__submit-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; width: 1px; overflow: hidden; position: absolute; }
	.pc-brand__name { font-size: 1.0625rem; }
	.pc-topic__name { font-size: .9688rem; }
	.pc-row { grid-template-columns: 80px minmax(0, 1fr); gap: .8rem; }
}
/* Touch screens: roomier tap targets for small links */
@media (pointer: coarse) {
	.pc-tag { padding: .45em .95em .45em .7em; }
	.pc-breadcrumbs a { display: inline-block; padding-block: .25rem; }
	.pc-toc a { padding-block: .55rem; }
	.pc-footer__menu { gap: .35rem; }
	.pc-footer__menu a { display: inline-block; padding-block: .35rem; }
}
/* Phones in landscape / short screens */
@media (max-height: 520px) and (orientation: landscape) {
	.pc-header { position: relative; }
	.pc-hero { padding-top: 1.5rem; }
	.pc-toc { position: static; max-height: none; }
}
/* Large desktops and 2K+ screens */
@media (min-width: 1600px) {
	:root { --pc-max: 1320px; --pc-section: 5.5rem; }
	.pc-grid { gap: 3rem 2.5rem; }
}
@media (min-width: 2200px) {
	html { font-size: 112.5%; }
	:root { --pc-max: 1440px; }
}
@media (max-width: 479px) {
	.pc-social--brand { gap: .4rem; }
	.pc-social--brand a { width: 40px; height: 40px; }
}
