/*
Theme Name: ProjectMetrics
Theme URI: https://projectmetrics.co.uk
Author: ProjectMetrics
Description: Executive digital publication theme for ProjectMetrics: topic hubs, oval image frames, executive takeaways, LinkedIn sharing, a live news radar, and built-in structured data, llms.txt and AI-crawler rules. Keeps existing URLs and categories.
Version: 1.3.0
Requires at least: 6.4
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: projectmetrics
Tags: blog, news, one-column, two-columns, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ---------- Tokens ---------- */
:root {
	--pm-ink: #0F172A;
	--pm-slate: #334155;
	--pm-slate-2: #475569;
	--pm-muted: #64748B;
	--pm-line: #E2E8F0;
	--pm-soft: #F1F5F9;
	--pm-paper: #F8FAFC;
	--pm-white: #FFFFFF;
	--pm-cyan: #0EA5E9;
	--pm-cyan-ink: #0369A1;
	--pm-cyan-tint: #E0F2FE;
	--pm-green: #10B981;
	--pm-green-ink: #047857;
	--pm-green-tint: #D1FAE5;
	--pm-violet: #8B5CF6;
	--pm-violet-ink: #6D28D9;
	--pm-orange: #F97316;
	--pm-orange-ink: #C2410C;
	--pm-linkedin: #0A66C2;
	--pm-sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	--pm-serif: "Newsreader", Georgia, "Times New Roman", serif;
	--pm-radius: 32px;
	--pm-radius-sm: 20px;
	--pm-shadow: 0 28px 60px -32px rgba(15, 23, 42, .45);
	--hub-fill: var(--pm-cyan);
	--hub-tint: var(--pm-cyan-tint);
	--hub-ink: var(--pm-cyan-ink);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--pm-paper); color: var(--pm-ink); font-family: var(--pm-sans); font-size: 16px; line-height: 1.6; overflow-x: hidden; }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--pm-cyan-ink); text-decoration: none; }
a:hover { color: #075985; }
:focus-visible { outline: 3px solid var(--pm-cyan); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3, h4 { font-family: var(--pm-sans); color: var(--pm-ink); letter-spacing: -0.025em; line-height: 1.15; margin: 0; }
p { margin: 0; }
.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; }
.pm-skip:focus { position: fixed !important; top: 12px; left: 12px; width: auto; height: auto; clip: auto; padding: 12px 18px; background: var(--pm-ink); color: #fff; border-radius: 999px; z-index: 1000; }
.pm-wrap { max-width: 1240px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.pm-muted { color: var(--pm-muted); font-size: 14px; }
.pm-lead { font-family: var(--pm-serif); font-size: 21px; line-height: 1.55; color: var(--pm-slate); max-width: 720px; }
.pm-admin-hint { padding: 12px 16px; border-radius: 14px; background: #FEF3C7; color: #78350F; font-size: 14px; }

/* ---------- Buttons ---------- */
.pm-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 50px; padding: 0 24px; border-radius: 999px; border: 0; font: 700 15px/1 var(--pm-sans); cursor: pointer; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; white-space: nowrap; }
.pm-btn:hover { transform: translateY(-2px); }
.pm-btn--sm { height: 46px; padding: 0 20px; }
.pm-btn--lg { height: 54px; padding: 0 26px; font-size: 16px; }
.pm-btn--dark { background: var(--pm-ink); color: #fff; }
.pm-btn--dark:hover { color: #fff; background: #1E293B; }
.pm-btn--outline { background: #fff; color: var(--pm-ink); box-shadow: inset 0 0 0 1.5px var(--pm-ink); }
.pm-btn--outline:hover { color: var(--pm-ink); }
.pm-btn--outline-ink { background: transparent; color: var(--pm-ink); box-shadow: inset 0 0 0 1.5px var(--pm-ink); }
.pm-btn--linkedin { background: var(--pm-linkedin); color: #fff; box-shadow: 0 14px 28px -16px rgba(10, 102, 194, .8); }
.pm-btn--linkedin:hover { color: #fff; background: #004182; }
.pm-btn--linkedin-outline { background: transparent; color: var(--pm-linkedin); box-shadow: inset 0 0 0 1.5px var(--pm-linkedin); }
.pm-btn--linkedin-outline:hover { color: #004182; }
.pm-btn.is-copied::after, .pm-icon-btn.is-copied::after { content: attr(data-pm-flash); position: absolute; transform: translateY(-46px); background: var(--pm-ink); color: #fff; font: 600 12px/1 var(--pm-sans); padding: 8px 10px; border-radius: 999px; white-space: nowrap; }
.pm-btn, .pm-icon-btn { position: relative; }
.pm-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.pm-icon-btn { width: 46px; height: 46px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; border: 1px solid var(--pm-line); background: #fff; color: var(--pm-ink); cursor: pointer; list-style: none; transition: background .2s ease, color .2s ease; }
.pm-icon-btn:hover { background: var(--pm-ink); color: #fff; }
.pm-icon-btn--round { background: var(--pm-soft); border-color: transparent; }
.pm-icon-btn--linkedin { background: var(--pm-linkedin); border-color: var(--pm-linkedin); color: #fff; }
.pm-icon-btn--linkedin:hover { background: #004182; color: #fff; }
.pm-link-strong { font-weight: 700; font-size: 15px; }

/* ---------- Header ---------- */
.pm-header-wrap { padding: 20px 24px 0; position: relative; z-index: 20; }
.pm-header { max-width: 1240px; margin: 0 auto; padding: 10px 10px 10px 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; background: rgba(255, 255, 255, .82); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid var(--pm-line); border-radius: 999px; box-shadow: 0 10px 30px -20px rgba(15, 23, 42, .35); }
.pm-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--pm-ink); }
.pm-brand:hover { color: var(--pm-ink); }
.pm-brand__name { font-size: 20px; font-weight: 800; letter-spacing: -0.03em; }
.pm-brand__name span { color: var(--pm-cyan-ink); }
.custom-logo { max-height: 40px; width: auto; }
.pm-brand__logo { display: block; height: 30px; width: auto; }
.pm-brand__logo--full { height: 40px; }
.pm-nav__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.pm-nav__list a { display: block; padding: 10px 16px; border-radius: 999px; color: var(--pm-slate); font-weight: 600; font-size: 15px; transition: background .2s ease; }
.pm-nav__list a:hover, .pm-nav__list .current-menu-item > a, .pm-nav__list a[aria-current="page"] { background: var(--pm-soft); color: var(--pm-ink); }
.pm-header__actions { display: flex; align-items: center; gap: 8px; }
.pm-search { position: relative; }
.pm-search summary::-webkit-details-marker { display: none; }
.pm-search__panel { position: absolute; right: 0; top: 56px; width: min(420px, 86vw); padding: 12px; border-radius: 24px; background: #fff; border: 1px solid var(--pm-line); box-shadow: var(--pm-shadow); }
.pm-searchform { display: flex; gap: 8px; }
.pm-searchform input[type="search"] { flex: 1; min-width: 0; height: 46px; padding: 0 18px; border-radius: 999px; border: 1px solid #CBD5E1; background: var(--pm-paper); font: 500 15px var(--pm-sans); color: var(--pm-ink); }

/* Theme chips */
.pm-themes { max-width: 1240px; margin: 18px auto 0; padding: 0 24px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pm-theme-chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--pm-line); color: var(--pm-slate); font-size: 14px; font-weight: 600; transition: background .2s ease, color .2s ease; }
.pm-theme-chip span { width: 8px; height: 8px; border-radius: 50%; background: var(--hub-fill); }
.pm-theme-chip:hover, .pm-theme-chip.is-current { background: var(--pm-ink); color: #fff; border-color: var(--pm-ink); }

/* ---------- Shared bits ---------- */
.pm-eyebrow { font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--pm-cyan-ink); margin-bottom: 8px; }
.pm-eyebrow--green { color: var(--pm-green-ink); }
.pm-eyebrow--violet { color: var(--pm-violet-ink); }
.pm-eyebrow--orange { color: var(--pm-orange-ink); }
.pm-eyebrow--cyan { color: var(--pm-cyan-ink); }
.pm-eyebrow--ink { color: var(--pm-ink); }
.pm-eyebrow--hub { color: var(--hub-ink); }
.pm-h1 { font-size: clamp(38px, 5vw, 58px); font-weight: 800; letter-spacing: -0.04em; line-height: 1.05; }
.pm-h2 { font-size: clamp(30px, 3.4vw, 42px); font-weight: 800; letter-spacing: -0.035em; margin-bottom: 8px; }
.pm-section { padding-top: 96px; padding-bottom: 96px; }
.pm-section--tight { padding-top: 0; }
.pm-section--top0 { padding-top: 24px; }
.pm-section__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 32px; }
.pm-band { background: #fff; border-top: 1px solid var(--pm-line); border-bottom: 1px solid var(--pm-line); }
.pm-card { background: #fff; border: 1px solid var(--pm-line); border-radius: var(--pm-radius); padding: 28px; }
.pm-lift { transition: transform .3s ease, box-shadow .3s ease; }
.pm-lift:hover { transform: translateY(-6px); box-shadow: var(--pm-shadow); }
.pm-glass { background: rgba(255, 255, 255, .78); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, .9); }
.pm-stretched::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.pm-chips { display: flex; flex-wrap: wrap; gap: 8px; position: relative; z-index: 2; }
.pm-chip { display: inline-block; padding: 6px 12px; border-radius: 999px; background: var(--hub-tint); color: var(--hub-ink); font-size: 13px; font-weight: 700; }
.pm-chip:hover { background: var(--hub-ink); color: #fff; }
.pm-badge { padding: 4px 10px; border-radius: 999px; background: var(--pm-green-tint); color: var(--pm-green-ink); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.pm-hl { box-shadow: inset 0 -0.3em 0 #7DD3FC; }
.pm-hl--green { box-shadow: inset 0 -0.3em 0 #6EE7B7; }
.pm-live { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--pm-green-tint); color: var(--pm-green-ink); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.pm-live span { width: 8px; height: 8px; border-radius: 50%; background: var(--pm-green); animation: pm-pulse 2s ease-in-out infinite; }
@keyframes pm-pulse { 50% { opacity: .35; } }

/* ---------- Oval frames ---------- */
.pm-oval { position: relative; height: 300px; }
.pm-oval--sm { height: 180px; }
.pm-oval--xl { height: 400px; }
.pm-oval__ring { position: absolute; inset: 14px -6px -10px 18px; border-radius: 50%; border: 2px solid var(--hub-fill); pointer-events: none; }
.pm-oval__dot { position: absolute; right: -4px; bottom: 6%; width: 44px; height: 44px; border-radius: 50%; background: var(--hub-fill); opacity: .9; pointer-events: none; }
.pm-oval--sm .pm-oval__dot { width: 22px; height: 22px; }
.pm-oval__frame { position: absolute; inset: 0 12px 4px 0; border-radius: 50%; overflow: hidden; background: var(--hub-tint); }
.pm-oval__media { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.pm-lift:hover .pm-oval__media { transform: scale(1.07); }
.pm-oval__label { position: absolute; right: 30px; top: 18px; padding: 8px 14px; border-radius: 999px; color: var(--pm-ink); font-size: 13px; font-weight: 700; }

/* ---------- Hero ---------- */
.pm-hero { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding-top: 72px; padding-bottom: 96px; }
.pm-hero__text { flex: 1 1 540px; min-width: 0; display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.pm-pill-link { display: inline-flex; align-items: center; gap: 10px; max-width: 100%; padding: 8px 16px 8px 8px; border-radius: 999px; background: #fff; border: 1px solid var(--pm-line); font-size: 14px; font-weight: 600; color: var(--pm-slate); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pm-hero .pm-eyebrow { margin: 0; }
.pm-hero__title { font-size: clamp(42px, 5.6vw, 68px); line-height: 1.02; letter-spacing: -0.045em; font-weight: 800; }
.pm-hero__intro { font-family: var(--pm-serif); font-size: 23px; line-height: 1.5; color: var(--pm-slate); max-width: 580px; }
.pm-stats { display: flex; flex-wrap: wrap; gap: 32px; margin: 8px 0 0; }
.pm-stats div { display: flex; flex-direction: column-reverse; }
.pm-stats dd { margin: 0; font-size: 30px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.2; }
.pm-stats dt { font-size: 14px; color: var(--pm-muted); }
.pm-stats__item--link { position: relative; }
.pm-stats__link { color: inherit; }
.pm-stats__link::after { content: ""; position: absolute; inset: -6px -10px; border-radius: 16px; }
.pm-stats__item--link:hover dt, .pm-stats__item--link:focus-within dt { color: var(--pm-cyan-ink); text-decoration: underline; text-underline-offset: 3px; }
.pm-stats__item--link:hover dd { color: var(--pm-cyan-ink); }
.pm-hero__visual { flex: 1 1 400px; min-width: 0; display: flex; justify-content: center; }
.pm-portrait { position: relative; width: 420px; max-width: 100%; aspect-ratio: 420 / 520; }
.pm-portrait__ring { position: absolute; left: 8%; top: 1%; width: 86%; height: 92%; border-radius: 50%; border: 2px solid var(--pm-green); }
.pm-portrait__dot { position: absolute; border-radius: 50%; }
.pm-portrait__dot--violet { right: 1%; top: 8%; width: 74px; height: 74px; background: var(--pm-violet); opacity: .9; }
.pm-portrait__dot--orange { left: 0; bottom: 14%; width: 34px; height: 34px; background: var(--pm-orange); }
.pm-portrait__frame { position: absolute; left: 3%; top: 5%; width: 86%; height: 92%; border-radius: 50%; overflow: hidden; background: var(--pm-cyan-tint); }
.pm-portrait__img { width: 100%; height: 100%; object-fit: cover; }
.pm-portrait__card { position: absolute; left: -10px; bottom: 0; width: min(290px, 80%); padding: 16px 18px; border-radius: 22px; box-shadow: 0 20px 40px -24px rgba(15, 23, 42, .45); display: flex; flex-direction: column; gap: 6px; color: var(--pm-ink); }
.pm-portrait__card:hover { color: var(--pm-ink); }
.pm-portrait__card-label { font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--pm-cyan-ink); }
.pm-portrait__card-title { font-size: 16px; font-weight: 700; line-height: 1.3; }

/* ---------- Featured ---------- */
.pm-featured { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 28px; }
.pm-feature { position: relative; display: flex; flex-direction: column; gap: 20px; padding: 28px; border-radius: 36px; background: #fff; border: 1px solid var(--pm-line); }
.pm-feature__title { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.12; letter-spacing: -0.03em; font-weight: 800; }
.pm-feature__title a { color: inherit; }
.pm-feature__excerpt { font-family: var(--pm-serif); font-size: 19px; line-height: 1.55; color: var(--pm-slate-2); }
.pm-feature__foot { display: flex; justify-content: space-between; gap: 12px; margin-top: auto; font-size: 15px; font-weight: 700; color: var(--pm-muted); }
.pm-feature__foot span { color: var(--hub-ink); }
.pm-feature--dark { background: var(--pm-ink); border-color: var(--pm-ink); color: #fff; }
.pm-feature--dark .pm-feature__title { color: #fff; }
.pm-feature--dark .pm-feature__excerpt { color: #CBD5E1; }
.pm-feature--dark .pm-feature__foot, .pm-feature--dark .pm-feature__foot span { color: #7DD3FC; }
.pm-feature--dark .pm-chip { background: #1E293B; color: #BAE6FD; }

/* ---------- Hubs ---------- */
.pm-hubs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 20px; }
.pm-hub { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: var(--pm-radius); background: var(--hub-tint); }
.pm-hub__icon { width: 60px; height: 60px; border-radius: 50%; background: #fff; color: var(--hub-ink); display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 18px -12px rgba(15, 23, 42, .5); }
.pm-hub__name { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; }
.pm-hub__name a { color: var(--pm-ink); }
.pm-hub__desc { font-size: 15px; line-height: 1.55; color: var(--pm-slate); }
.pm-hub__cats { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.pm-hub__cats a { display: inline-block; padding: 5px 11px; border-radius: 999px; background: #fff; color: var(--hub-ink); font-size: 13px; font-weight: 700; }
.pm-hub__cats a:hover { background: var(--hub-ink); color: #fff; }
.pm-hub__cats--lg a { padding: 8px 14px; font-size: 14px; }
.pm-hub__more { margin-top: auto; font-size: 15px; font-weight: 700; color: var(--hub-ink); }
.pm-ribbon { margin-top: 40px; padding: 18px 28px; border-radius: 999px; background: var(--pm-paper); border: 1px solid var(--pm-line); display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 28px; }
.pm-ribbon__label { font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--pm-muted); }
.pm-ribbon ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; }
.pm-ribbon li { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; }
.pm-ribbon li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--hub-fill); }

/* ---------- Split (list + radar) ---------- */
.pm-split { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.pm-split__main { flex: 999 1 600px; min-width: 0; }
.pm-split__main > .pm-btn { margin-top: 28px; }
.pm-row { display: flex; gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--pm-line); }
.pm-row__num { flex: 0 0 56px; height: 56px; border-radius: 50%; background: var(--hub-tint); color: var(--hub-ink); display: flex; align-items: center; justify-content: center; font-size: 17px; font-weight: 800; }
.pm-row__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.pm-row__meta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; font-size: 13px; color: var(--pm-muted); }
.pm-row__cat { font-weight: 700; color: var(--hub-ink); }
.pm-row__title { font-size: 23px; line-height: 1.25; letter-spacing: -0.02em; font-weight: 700; }
.pm-row__title a { color: var(--pm-ink); }
.pm-row__title a:hover { color: var(--pm-cyan-ink); }
.pm-row__excerpt { font-family: var(--pm-serif); font-size: 18px; line-height: 1.5; color: var(--pm-slate-2); }

/* ---------- News radar ---------- */
.pm-radar { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 16px; box-shadow: 0 24px 50px -36px rgba(15, 23, 42, .4); }
.pm-radar__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pm-radar__title { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; }
.pm-radar--side .pm-radar__title { font-size: 17px; }
.pm-radar__intro { font-size: 14px; line-height: 1.55; color: var(--pm-slate-2); }
.pm-tabs { display: flex; flex-wrap: wrap; gap: 6px; padding: 6px; border-radius: 26px; background: var(--pm-soft); }
.pm-tab { flex: 1 1 auto; height: 40px; padding: 0 14px; border: 0; border-radius: 999px; background: transparent; color: var(--pm-slate-2); font: 700 14px var(--pm-sans); cursor: pointer; transition: background .2s ease, color .2s ease; }
.pm-tab.is-active { background: #fff; color: var(--hub-ink); box-shadow: 0 4px 12px -6px rgba(15, 23, 42, .4); }
.pm-tabpanel__title { font-size: 15px; font-weight: 800; margin: 8px 0 4px; }
.js .pm-tabpanel__title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
.js .pm-tabpanel:not(.is-active) { display: none; }
.pm-news { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.pm-news__item { display: flex; gap: 14px; align-items: flex-start; padding: 12px; border-radius: 18px; color: var(--pm-ink); transition: background .2s ease; }
.pm-news__item:hover { background: var(--pm-soft); color: var(--pm-ink); }
.pm-news__item svg { flex: 0 0 16px; margin-top: 4px; color: var(--pm-muted); }
.pm-news__dot { flex: 0 0 10px; height: 10px; margin-top: 7px; border-radius: 50%; background: var(--hub-fill); }
.pm-news__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.pm-news__title { font-size: 15px; font-weight: 600; line-height: 1.4; }
.pm-radar--side .pm-news__title { font-size: 14px; }
.pm-news__meta { font-size: 13px; color: var(--pm-muted); }

/* ---------- Subscribe band ---------- */
.pm-subscribe { position: relative; overflow: hidden; border-radius: 44px; background: var(--pm-cyan); padding: clamp(32px, 5vw, 64px); display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.pm-subscribe__ring { position: absolute; right: -120px; top: -160px; width: 480px; height: 400px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .5); }
.pm-subscribe__blob { position: absolute; right: 120px; bottom: -120px; width: 260px; height: 220px; border-radius: 50%; background: var(--pm-green); opacity: .55; }
.pm-subscribe__text { position: relative; flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.pm-subscribe__text .pm-eyebrow { margin: 0; }
.pm-subscribe__title { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.05; letter-spacing: -0.04em; font-weight: 800; color: var(--pm-ink); max-width: 720px; }
.pm-connect { position: relative; flex: 1 1 300px; min-width: 0; padding: 28px; border-radius: var(--pm-radius); display: flex; flex-direction: column; gap: 16px; color: var(--pm-ink); }
.pm-connect__head { display: flex; align-items: center; gap: 14px; }
.pm-connect__img { width: 64px; height: 76px; border-radius: 50%; object-fit: cover; border: 2px solid var(--pm-cyan); }
.pm-connect__name { display: block; font-size: 18px; font-weight: 800; }
.pm-connect__role { display: block; font-size: 14px; color: var(--pm-slate-2); }
.pm-connect p { font-size: 15px; line-height: 1.55; color: var(--pm-slate); }
.pm-connect .pm-btn { flex: 1 1 auto; }

/* Newsletter form plugins (MailPoet and similar) */
.pm-newsletter form { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; }
.pm-newsletter input[type="email"], .pm-newsletter input[type="text"] { height: 50px; min-width: 0; flex: 1 1 240px; padding: 0 20px !important; border-radius: 999px !important; border: 0 !important; background: #fff !important; font: 500 16px var(--pm-sans) !important; color: var(--pm-ink); }
.pm-newsletter input[type="submit"], .pm-newsletter button[type="submit"] { height: 50px; padding: 0 26px !important; border-radius: 999px !important; border: 0 !important; background: var(--pm-ink) !important; color: #fff !important; font: 700 15px var(--pm-sans) !important; cursor: pointer; }
.pm-newsletter label { font-size: 14px; font-weight: 600; color: var(--pm-ink); }
.pm-newsletter--side input[type="email"], .pm-newsletter--side input[type="submit"], .pm-newsletter--side button[type="submit"] { flex-basis: 100%; width: 100%; }
/* MailPoet: drop the form designer's box, fonts and widths so the form takes the theme's look.
   MailPoet prints its styles with ID selectors and inline styles, hence !important. */
.pm-newsletter .mailpoet_form { margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: none !important; box-shadow: none !important; color: inherit !important; text-align: left !important; max-width: 100%; }
.pm-newsletter form.mailpoet_form { display: block; }
.pm-newsletter .mailpoet_form_columns_container { margin: 0; }
.pm-newsletter .mailpoet_form_columns { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px 16px; margin: 0 0 10px !important; }
.pm-newsletter .mailpoet_form_column { flex: 1 1 220px !important; min-width: 0; margin: 0 !important; padding: 0 !important; background: none !important; }
.pm-newsletter .mailpoet_form_column:empty, .pm-newsletter .mailpoet_spacer, .pm-newsletter .mailpoet_divider { display: none !important; }
.pm-newsletter .mailpoet_paragraph { margin: 0 0 10px !important; line-height: 1.4 !important; }
.pm-newsletter .mailpoet_form_column > .mailpoet_paragraph:last-child { margin-bottom: 0 !important; }
.pm-newsletter .mailpoet-heading { margin: 0 0 8px !important; font-family: var(--pm-sans) !important; font-size: clamp(22px, 2.4vw, 30px) !important; line-height: 1.1 !important; letter-spacing: -0.03em; font-weight: 800 !important; color: var(--pm-ink) !important; text-align: left !important; background: none !important; padding: 0 !important; }
.pm-newsletter .mailpoet_form_paragraph { margin: 0 0 10px !important; font-family: var(--pm-sans) !important; font-size: 15px !important; line-height: 1.55 !important; color: var(--pm-ink) !important; text-align: left !important; background: none !important; padding: 0 !important; }
.pm-newsletter .mailpoet_form .mailpoet-has-font, .pm-newsletter .mailpoet_form [style*="font-family"]:not(input) { font-family: inherit !important; }
.pm-newsletter .mailpoet_form :is(span, strong, em, mark, a)[style*="color"], .pm-newsletter .mailpoet_form .has-inline-color { color: inherit !important; background: none !important; }
.pm-newsletter .mailpoet_form a { color: inherit !important; text-decoration: underline; text-underline-offset: 3px; }
.pm-newsletter .mailpoet_form_image { margin: 0 0 10px !important; }
.pm-newsletter .mailpoet_form_image img { max-width: 100%; height: auto; }
.pm-newsletter .mailpoet_text_label, .pm-newsletter .mailpoet_segment_label, .pm-newsletter .mailpoet_select_label, .pm-newsletter .mailpoet_checkbox_label, .pm-newsletter .mailpoet_radio_label { display: block; margin-bottom: 6px; font: 600 14px/1.4 var(--pm-sans) !important; color: var(--pm-ink) !important; }
.pm-newsletter .mailpoet_checkbox_label, .pm-newsletter .mailpoet_radio_label { font-weight: 500 !important; font-size: 13px !important; }
.pm-newsletter .mailpoet_form input.mailpoet_text, .pm-newsletter .mailpoet_form select.mailpoet_select, .pm-newsletter .mailpoet_form textarea.mailpoet_textarea { display: block; width: 100% !important; max-width: 100%; box-sizing: border-box; height: 50px !important; margin: 0 !important; padding: 0 20px !important; border: 0 !important; border-radius: 999px !important; background: #fff !important; font: 500 16px/1 var(--pm-sans) !important; color: var(--pm-ink) !important; }
.pm-newsletter .mailpoet_form textarea.mailpoet_textarea { height: auto !important; min-height: 100px; padding: 14px 20px !important; border-radius: 24px !important; line-height: 1.5 !important; }
.pm-newsletter .mailpoet_form input.mailpoet_text::placeholder { color: var(--pm-muted) !important; }
.pm-newsletter .mailpoet_form input.mailpoet_submit, .pm-newsletter .mailpoet_form button.mailpoet_submit { display: block; width: 100% !important; max-width: 100%; height: 50px !important; margin: 0 !important; padding: 0 26px !important; border: 0 !important; border-radius: 999px !important; background: var(--pm-ink) !important; color: #fff !important; font: 700 15px/1 var(--pm-sans) !important; letter-spacing: 0 !important; white-space: nowrap; cursor: pointer; transition: transform .15s ease; }
.pm-newsletter .mailpoet_form input.mailpoet_submit:hover, .pm-newsletter .mailpoet_form button.mailpoet_submit:hover { transform: translateY(-1px); }
.pm-newsletter .mailpoet_form input.mailpoet_text:focus-visible, .pm-newsletter .mailpoet_form input.mailpoet_submit:focus-visible { outline: 3px solid var(--pm-ink) !important; outline-offset: 2px; }
.pm-newsletter .mailpoet_form .mailpoet_message { margin: 8px 0 0 !important; padding: 0 !important; font: 600 14px/1.5 var(--pm-sans); }
.pm-newsletter .mailpoet_form .mailpoet_validate_success { color: var(--pm-ink) !important; }
.pm-newsletter .mailpoet_form :is(.mailpoet_validate_error, .parsley-errors-list, .parsley-required, .parsley-custom-error-message) { color: #9F1239 !important; font-size: 13px; font-weight: 600; }
.pm-newsletter .mailpoet_form .parsley-errors-list { margin: 6px 0 0 16px; padding: 0; list-style: none; }
.pm-newsletter .mailpoet_form input.parsley-error, .pm-newsletter .mailpoet_form input.parsley-success { color: var(--pm-ink) !important; }
.pm-newsletter .mailpoet_form input.parsley-error { box-shadow: inset 0 0 0 2px #9F1239 !important; }
/* Sidebar: one column, smaller type */
.pm-newsletter--side .mailpoet_form_columns { flex-direction: column; align-items: stretch; }
.pm-newsletter--side .mailpoet_form_column { flex: 0 0 auto !important; width: 100%; }
.pm-newsletter--side .mailpoet-heading { font-size: 19px !important; }
.pm-newsletter--side .mailpoet_form_paragraph { font-size: 14px !important; }

/* ---------- Archive & hub heads ---------- */
.pm-archive-head { padding-top: 64px; padding-bottom: 24px; display: flex; flex-direction: column; gap: 14px; }
.pm-archive-head__intro { font-family: var(--pm-serif); font-size: 20px; line-height: 1.6; color: var(--pm-slate); max-width: 760px; }
.pm-archive-head__search { max-width: 520px; }
.pm-hub-head { margin-top: 48px; margin-bottom: 24px; padding-top: 48px; padding-bottom: 48px; border-radius: 44px; background: var(--hub-tint); display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; max-width: 1176px; }
.pm-hub-head__text { flex: 1 1 560px; display: flex; flex-direction: column; gap: 16px; }
.pm-hub-head__icon { width: 180px; height: 150px; border-radius: 50%; background: #fff; color: var(--hub-ink); display: flex; align-items: center; justify-content: center; }
.pm-prose--intro { font-size: 19px; }

/* ---------- Article ---------- */
.pm-article__hero { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; padding-top: 64px; padding-bottom: 56px; }
.pm-article__intro { flex: 1 1 600px; min-width: 0; display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.pm-article__visual { flex: 1 1 400px; min-width: 0; }
.pm-breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 14px; font-weight: 600; color: var(--pm-muted); }
.pm-breadcrumb a { color: var(--pm-muted); }
.pm-breadcrumb a:last-child { color: var(--hub-ink); }
.pm-article__title { font-size: clamp(36px, 4.6vw, 58px); line-height: 1.04; letter-spacing: -0.045em; font-weight: 800; }
.pm-article__dek { font-family: var(--pm-serif); font-size: 23px; line-height: 1.5; color: var(--pm-slate); }
.pm-byline { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.pm-byline__img { width: 48px; height: 56px; border-radius: 50%; object-fit: cover; border: 2px solid var(--hub-fill); }
.pm-byline__text { display: flex; flex-direction: column; }
.pm-byline__name { font-weight: 700; color: var(--pm-ink); }
.pm-readtime { padding: 8px 14px; border-radius: 999px; background: var(--pm-ink); color: #fff; font-size: 13px; font-weight: 700; }
.pm-share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.pm-article__layout { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; padding-bottom: 96px; }
.pm-article__main { flex: 999 1 600px; min-width: 0; max-width: 740px; }
.pm-article__side { flex: 1 1 320px; min-width: 0; align-self: stretch; display: flex; flex-direction: column; gap: 20px; }
.pm-article__side-track { flex: 1 1 auto; }
.pm-sticky { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 20px; }
.pm-article__author-inline { display: none; margin-top: 32px; }
.pm-article__extras { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 20px; margin-top: 36px; align-items: start; }
.pm-article__extras .pm-radar { box-shadow: none; }

.pm-takeaway { position: relative; overflow: hidden; padding: 32px 36px; border-radius: var(--pm-radius); background: var(--pm-cyan); color: var(--pm-ink); display: flex; flex-direction: column; gap: 16px; margin-bottom: 48px; }
.pm-takeaway__ring { position: absolute; right: -60px; top: -70px; width: 220px; height: 180px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .6); }
.pm-takeaway__label { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.pm-takeaway__label span { padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .7); letter-spacing: 0; font-size: 12px; }
.pm-takeaway__text { position: relative; font-family: var(--pm-serif); font-size: 26px; line-height: 1.4; font-weight: 500; }
.pm-takeaway .pm-actions { position: relative; }
.pm-tags--takeaway { position: relative; margin: 0; gap: 6px; }
.pm-tags--takeaway a { padding: 6px 12px; background: rgba(255, 255, 255, .75); border-color: transparent; color: var(--pm-ink); font-size: 13px; font-weight: 700; }
.pm-tags--takeaway a:hover { background: var(--pm-ink); color: #fff; }
.pm-takeaway__hint { position: relative; font-size: 13px; color: var(--pm-ink); opacity: .85; }

/* Article body */
.pm-prose { font-family: var(--pm-serif); font-size: 21px; line-height: 1.72; color: #1E293B; }
.pm-prose > * + * { margin-top: 1.2em; }
.pm-prose h2 { font-size: 32px; line-height: 1.15; letter-spacing: -0.03em; font-weight: 800; margin-top: 1.8em; scroll-margin-top: 24px; }
.pm-prose h3 { font-size: 24px; font-weight: 800; margin-top: 1.6em; }
.pm-prose a { color: var(--pm-cyan-ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.pm-prose ul, .pm-prose ol { padding-left: 1.3em; }
.pm-prose li + li { margin-top: .4em; }
.pm-prose img, .pm-prose figure img { border-radius: 24px; }
.pm-prose figure { margin-left: 0; margin-right: 0; }
.pm-prose figcaption { font-family: var(--pm-sans); font-size: 14px; color: var(--pm-muted); margin-top: 8px; }
.pm-prose blockquote, .pm-prose .wp-block-quote, .pm-prose .wp-block-pullquote { position: relative; margin: 1.6em 0; padding: 32px 36px 32px 96px; border-radius: var(--pm-radius); background: #fff; border: 1px solid var(--pm-line); font-style: italic; font-size: 28px; line-height: 1.38; color: var(--pm-ink); }
.pm-prose blockquote::before, .pm-prose .wp-block-pullquote::before { content: "\201C"; position: absolute; left: 28px; top: 30px; width: 50px; height: 42px; border-radius: 50%; background: var(--pm-green); color: #fff; font-size: 40px; line-height: 54px; text-align: center; font-style: normal; }
.pm-prose blockquote p { margin: 0; }
.pm-prose blockquote cite { display: block; margin-top: 12px; font: 700 14px var(--pm-sans); font-style: normal; color: var(--pm-green-ink); }
.pm-prose pre, .pm-prose code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .8em; }
.pm-prose pre { padding: 20px; border-radius: 20px; background: var(--pm-ink); color: #E2E8F0; overflow-x: auto; }
.pm-prose table { width: 100%; border-collapse: collapse; font-family: var(--pm-sans); font-size: 15px; }
.pm-prose th, .pm-prose td { padding: 10px 12px; border-bottom: 1px solid var(--pm-line); text-align: left; }
.pm-prose .wp-block-table { overflow-x: auto; }
.pm-prose--page { max-width: 760px; padding-bottom: 96px; }

.pm-tags { list-style: none; margin: 44px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pm-tags a { display: inline-block; padding: 8px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--pm-line); font-size: 14px; font-weight: 600; color: var(--pm-slate); }
.pm-tags a:hover { background: var(--pm-ink); color: #fff; }
.pm-discuss { margin-top: 36px; padding: 32px; border-radius: var(--pm-radius); background: var(--pm-cyan-tint); display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.pm-discuss > div { flex: 1 1 300px; display: flex; flex-direction: column; gap: 6px; }
.pm-discuss__title { font-size: 22px; font-weight: 800; }
.pm-discuss p { font-size: 15px; color: var(--pm-slate); }

/* Author card */
.pm-author { display: flex; flex-direction: column; gap: 16px; box-shadow: 0 24px 50px -36px rgba(15, 23, 42, .4); }
.pm-author__head { display: flex; align-items: center; gap: 16px; }
.pm-author__photo { position: relative; flex: 0 0 78px; height: 92px; }
.pm-author__ring { position: absolute; inset: -4px -6px 4px 6px; border-radius: 50%; border: 2px solid var(--pm-green); }
.pm-author__img { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; background: var(--pm-cyan-tint); }
.pm-author__name { display: block; font-size: 19px; font-weight: 800; letter-spacing: -0.02em; color: var(--pm-ink); }
.pm-author__role { display: block; font-size: 14px; color: var(--pm-slate-2); line-height: 1.4; }
.pm-author__creds { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; line-height: 1.45; color: var(--pm-slate); }
.pm-author__creds li { display: flex; gap: 10px; }
.pm-author__creds li::before { content: ""; flex: 0 0 8px; height: 8px; margin-top: 6px; border-radius: 50%; background: var(--hub-fill); }
.pm-author__bio { font-size: 14px; line-height: 1.55; color: var(--pm-slate); }
.pm-author__actions { display: flex; gap: 8px; }
.pm-author__actions .pm-btn { flex: 1 1 auto; height: 46px; }

/* TOC & side subscribe */
.pm-toc { padding: 24px 28px; }
.pm-toc__title { font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--pm-muted); margin-bottom: 12px; }
.pm-toc ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.pm-toc a { display: flex; gap: 12px; padding: 8px 10px; border-radius: 14px; color: var(--pm-slate); font-size: 15px; font-weight: 600; line-height: 1.35; }
.pm-toc a span { color: #94A3B8; }
.pm-toc a:hover { background: var(--hub-tint); color: var(--hub-ink); }
.pm-side-subscribe { padding: 28px; border-radius: 28px; background: var(--pm-green); color: var(--pm-ink); display: flex; flex-direction: column; gap: 12px; }
.pm-side-subscribe h2 { font-size: 20px; font-weight: 800; }
.pm-side-subscribe p { font-size: 14px; line-height: 1.55; }

/* Comments */
.pm-comments { margin-top: 56px; display: flex; flex-direction: column; gap: 18px; }
.pm-comments__title { font-size: 28px; font-weight: 800; }
.pm-comments__form { display: flex; flex-direction: column; gap: 14px; }
.pm-comments__social { display: flex; flex-direction: column; gap: 8px; padding-bottom: 14px; border-bottom: 1px solid var(--pm-line); }
.pm-comments__reply-title { font-size: 18px; font-weight: 800; }
.pm-comments .comment-form { display: flex; flex-direction: column; gap: 12px; }
.pm-comments .comment-form p { margin: 0; }
.pm-comments label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.pm-comments input[type="text"], .pm-comments input[type="email"], .pm-comments input[type="url"], .pm-comments textarea { width: 100%; padding: 12px 18px; border-radius: 20px; border: 1px solid #CBD5E1; background: var(--pm-paper); font: 500 16px var(--pm-sans); color: var(--pm-ink); }
.pm-comments .comment-form-cookies-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.pm-comments .comment-form-cookies-consent label { font-weight: 500; margin: 0; }
.pm-comment-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.pm-comment-list .children { list-style: none; margin: 14px 0 0 32px; padding: 0; }
.pm-comment-list .comment-body { padding: 20px 24px; border-radius: 24px; background: #fff; border: 1px solid var(--pm-line); }
.pm-comment-list .avatar { float: left; width: 40px; height: 40px; border-radius: 50%; margin-right: 12px; }
.pm-comment-list .comment-meta { font-size: 13px; color: var(--pm-muted); margin-bottom: 10px; }
.pm-comment-list .fn { font-style: normal; font-weight: 700; color: var(--pm-ink); }
.pm-comment-list .reply a { font-size: 14px; font-weight: 700; }

/* Cards (related) */
.pm-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 24px; margin-top: 24px; }
.pm-card--post { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 22px; background: var(--pm-paper); }
.pm-card__title { font-size: 21px; line-height: 1.25; letter-spacing: -0.02em; font-weight: 800; }
.pm-card__title a { color: var(--pm-ink); }

/* Pagination */
.pm-pagination { margin-top: 32px; }
.pm-pagination ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.pm-pagination a, .pm-pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 46px; height: 46px; padding: 0 16px; border-radius: 999px; background: #fff; border: 1px solid var(--pm-line); font-weight: 700; font-size: 15px; color: var(--pm-ink); }
.pm-pagination .current { background: var(--pm-ink); color: #fff; border-color: var(--pm-ink); }

/* ---------- Footer ---------- */
.pm-footer { background: #fff; border-top: 1px solid var(--pm-line); margin-top: 0; }
.pm-footer__grid { display: flex; flex-wrap: wrap; gap: 48px; justify-content: space-between; padding-top: 64px; padding-bottom: 40px; }
.pm-footer__brand { flex: 1 1 280px; display: flex; flex-direction: column; gap: 16px; }
.pm-footer__brand p { font-size: 15px; color: var(--pm-slate-2); max-width: 320px; }
.pm-footer__social { display: flex; gap: 8px; }
.pm-footer__cols { display: flex; flex-wrap: wrap; gap: 56px; }
.pm-footer__heading { font-size: 14px; font-weight: 800; margin-bottom: 10px; letter-spacing: 0; }
.pm-footer__links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.pm-footer__links a { color: var(--pm-slate-2); }
.pm-footer__links a:hover { color: var(--pm-ink); }
.pm-footer__base { padding-top: 20px; padding-bottom: 36px; border-top: 1px solid var(--pm-line); font-size: 13px; color: var(--pm-muted); }

/* ---------- WordPress core classes ---------- */
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { margin-left: auto; margin-right: auto; }
.pm-prose .alignwide { margin-left: -60px; margin-right: -60px; max-width: none; }
.wp-caption-text, .gallery-caption { font-size: 14px; color: var(--pm-muted); }
.sticky, .bypostauthor { display: block; }

/* Category hashtag cloud (bottom of the article sidebar) */
.pm-tagcloud { padding: 24px 28px; background: var(--hub-tint); border-color: transparent; position: relative; overflow: hidden; }
.pm-tagcloud::after { content: ""; position: absolute; right: -36px; bottom: -44px; width: 140px; height: 110px; border-radius: 50%; border: 2px solid var(--hub-fill); opacity: .45; pointer-events: none; }
.pm-tagcloud__title { margin: 0 0 14px; font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--pm-muted); }
.pm-tagcloud__title a { color: var(--hub-ink); }
.pm-tagcloud__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; position: relative; z-index: 1; }
.pm-tagcloud__tag { display: inline-block; padding: 2px 0; color: var(--pm-slate); font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; }
.pm-tagcloud__tag:hover { color: var(--hub-ink); text-decoration: underline; text-underline-offset: 3px; }
.pm-tagcloud__tag--1 { font-size: 13px; opacity: .8; }
.pm-tagcloud__tag--2 { font-size: 15px; }
.pm-tagcloud__tag--3 { font-size: 18px; font-weight: 700; }
.pm-tagcloud__tag--4 { font-size: 21px; font-weight: 700; color: var(--pm-ink); }
.pm-tagcloud__tag--5 { font-size: 25px; font-weight: 800; letter-spacing: -0.03em; color: var(--pm-ink); }
.pm-tagcloud__tag.is-current { padding: 2px 10px; border-radius: 999px; background: #fff; color: var(--hub-ink); opacity: 1; box-shadow: inset 0 0 0 2px var(--hub-fill); }
.pm-tagcloud__key { display: flex; align-items: center; gap: 8px; margin: 16px 0 0; font-size: 12px; font-weight: 600; color: var(--pm-muted); position: relative; z-index: 1; }
.pm-tagcloud__key span { width: 18px; height: 12px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 2px var(--hub-fill); }

/* ---------- Essay archive (All insights template) ---------- */
.pm-archive { padding-top: 56px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 36px; }
.pm-archive__intro { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 32px; }
.pm-archive__lead { flex: 1 1 620px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.pm-archive__lead .pm-eyebrow { margin: 0; }
.pm-archive__lead .pm-lead { margin: 0; max-width: 620px; font-size: 22px; line-height: 1.5; }
.pm-archive__title { margin: 0; font-size: clamp(40px, 5.2vw, 60px); line-height: 1.03; letter-spacing: -0.045em; font-weight: 800; }
.pm-archive__stats { display: flex; gap: 28px; margin: 0; }
.pm-archive__stats div { display: flex; flex-direction: column-reverse; }
.pm-archive__stats dd { margin: 0; font-size: 30px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.2; }
.pm-archive__stats dt { font-size: 14px; color: var(--pm-muted); }

.pm-hubpick { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.pm-hubpick__item { display: flex; flex-direction: column; gap: 10px; padding: 20px; border-radius: 28px; background: #fff; border: 2px solid var(--pm-line); color: var(--pm-ink); }
.pm-hubpick__item:hover { color: var(--pm-ink); border-color: var(--hub-fill); }
.pm-hubpick__item.is-active { background: var(--hub-tint); border-color: var(--hub-ink); }
.pm-hubpick__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.pm-hubpick__icon { width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--hub-ink); display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 14px -10px rgba(15, 23, 42, .5); }
.pm-hubpick__count { font-size: 13px; font-weight: 700; color: var(--hub-ink); }
.pm-hubpick__name { font-size: 17px; line-height: 1.25; font-weight: 800; letter-spacing: -0.01em; }

.pm-filterbar { position: sticky; top: 12px; z-index: 10; padding: 16px 18px; border-radius: 28px; background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid var(--pm-line); box-shadow: 0 18px 40px -30px rgba(15, 23, 42, .5); display: flex; flex-direction: column; gap: 14px; }
.admin-bar .pm-filterbar { top: 44px; }
.pm-filterbar__row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.pm-filterbar__search { flex: 1 1 320px; min-width: 0; position: relative; color: var(--pm-muted); }
.pm-filterbar__search svg { position: absolute; left: 18px; top: 15px; pointer-events: none; }
.pm-filterbar__search input { box-sizing: border-box; width: 100%; height: 48px; padding: 0 18px 0 46px; border: 1px solid #CBD5E1; border-radius: 999px; background: #fff; font: 500 15px var(--pm-sans); color: var(--pm-ink); }
.pm-filterbar select { height: 48px; padding: 0 16px; border: 1px solid #CBD5E1; border-radius: 999px; background: #fff; font: 600 15px var(--pm-sans); color: var(--pm-ink); }
.pm-filterbar__label { font-size: 14px; font-weight: 700; color: var(--pm-slate); }
.pm-filterbar__label--caps { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--pm-muted); }
.js .pm-filterbar__go { display: none; }
.pm-filterbar__themes { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.pm-themechips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.pm-themechip { display: flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 14px; border-radius: 999px; background: #fff; color: var(--pm-slate); border: 1px solid var(--pm-line); font-size: 14px; font-weight: 600; transition: background .2s ease, color .2s ease; }
.pm-themechip:hover, .pm-themechip.is-active { background: var(--pm-ink); border-color: var(--pm-ink); color: #fff; }
.pm-themechip__dot { width: 8px; height: 8px; border-radius: 4px; background: var(--hub-fill); flex: none; }

.pm-archive__feed { display: flex; flex-direction: column; gap: 28px; }
.pm-archive__feedhead { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }
.pm-archive__feedhead > div { display: flex; flex-direction: column; gap: 6px; max-width: 720px; }
.pm-archive__hub { margin: 0; font-size: clamp(30px, 3.4vw, 38px); letter-spacing: -0.035em; font-weight: 800; }
.pm-archive__hubdesc { margin: 0; font-size: 16px; line-height: 1.55; color: #475569; }
.pm-archive__progress { margin: 0; font-size: 15px; font-weight: 600; color: var(--pm-slate); }

.pm-essays { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(360px, 100%), 1fr)); gap: 28px; }
.pm-essays[aria-busy="true"] .pm-essay:not(.pm-essay--skeleton) { opacity: .55; transition: opacity .2s ease; }
.pm-essays__mark { grid-column: 1 / -1; height: 0; margin-bottom: -28px; scroll-margin-top: 200px; }
.pm-filterbar { scroll-margin-top: 12px; }
.pm-essay { display: flex; flex-direction: column; gap: 16px; padding: 24px; border-radius: 32px; background: #fff; border: 1px solid var(--pm-line); min-width: 0; }
.pm-essay__media { display: block; }
.pm-oval--essay { height: 230px; }
.pm-essay__cats { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--hub-ink); }
.pm-essay__title { margin: 0; font-size: 25px; line-height: 1.18; letter-spacing: -0.025em; font-weight: 800; }
.pm-essay__title a { color: var(--pm-ink); }
.pm-essay__title a:hover { color: var(--pm-cyan-ink); }
.pm-essay__excerpt { margin: 0; font-family: var(--pm-serif); font-size: 18px; line-height: 1.55; color: #475569; }
.pm-essay__foot { margin: auto 0 0; padding-top: 4px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; }
.pm-essay__foot time { color: var(--pm-muted); }
.pm-essay--skeleton { animation: pm-pulse 1.2s ease-in-out infinite; }
.pm-skel { display: block; height: 16px; width: 95%; border-radius: 8px; background: var(--pm-soft); }
.pm-skel--oval { height: 230px; width: 100%; border-radius: 50%; }
.pm-skel--short { height: 14px; width: 40%; background: var(--pm-line); }
.pm-skel--title { height: 26px; width: 85%; background: var(--pm-line); }
.pm-skel--line { width: 70%; }
@keyframes pm-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }

.pm-archive__more, .pm-archive__end { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.pm-archive__more p { margin: 0; }
.pm-nexthub { width: 100%; box-sizing: border-box; padding: 32px; border-radius: 32px; background: var(--hub-tint); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
.pm-nexthub .pm-eyebrow { margin: 0 0 4px; }
.pm-nexthub__title { margin: 0; font-size: 26px; font-weight: 800; letter-spacing: -0.025em; }
.pm-archive__empty { padding: 56px 32px; border-radius: 32px; background: #fff; border: 1.5px dashed #CBD5E1; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.pm-archive__empty h3 { margin: 0; font-size: 26px; font-weight: 800; letter-spacing: -0.02em; }
.pm-archive__empty p { margin: 0 0 6px; max-width: 520px; font-size: 16px; line-height: 1.55; color: #475569; }
[hidden] { display: none !important; }
@media (max-width: 760px) {
	.pm-archive { padding-top: 32px; padding-bottom: 64px; gap: 28px; }
	.pm-archive__lead .pm-lead { font-size: 19px; }
	.pm-hubpick { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.pm-hubpick__item { padding: 16px; border-radius: 24px; }
	.pm-hubpick__name { font-size: 15px; }
	.pm-filterbar { position: static; padding: 14px; border-radius: 24px; }
	.pm-filterbar__themes { flex-wrap: nowrap; }
	.pm-themechips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
	.pm-themechip { white-space: nowrap; }
	.pm-essay { padding: 18px; border-radius: 28px; }
	.pm-oval--essay { height: 200px; }
	.pm-essay__title { font-size: 22px; }
	.pm-nexthub { padding: 24px; }
	.pm-nexthub__title { font-size: 22px; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1060px) {
	.pm-article__author-side { display: none; }
	.pm-article__author-inline { display: block; }
	.pm-sticky { position: static; }
}
@media (max-width: 760px) {
	.pm-wrap { padding-left: 20px; padding-right: 20px; }
	.pm-header-wrap { padding: 12px 12px 0; }
	.pm-header { border-radius: 28px; padding: 10px 10px 10px 16px; }
	.pm-nav { order: 3; width: 100%; overflow-x: auto; scrollbar-width: none; }
	.pm-nav::-webkit-scrollbar, .pm-themes::-webkit-scrollbar { display: none; }
	.pm-themes { scrollbar-width: none; }
	.pm-header__actions .pm-btn { display: none; }
	.pm-nav__list { flex-wrap: nowrap; }
	.pm-nav__list a { white-space: nowrap; padding: 8px 12px; }
	.pm-themes { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
	.pm-theme-chip { white-space: nowrap; }
	.pm-hero { padding-top: 40px; padding-bottom: 64px; gap: 40px; }
	.pm-hero__intro, .pm-article__dek { font-size: 19px; }
	.pm-section { padding-top: 64px; padding-bottom: 64px; }
	.pm-oval { height: 220px; }
	.pm-oval--xl { height: 280px; }
	.pm-oval--sm { height: 160px; }
	.pm-feature { padding: 20px; border-radius: 28px; }
	.pm-row { gap: 14px; }
	.pm-row__num { flex-basis: 40px; height: 40px; font-size: 14px; }
	.pm-row__title { font-size: 20px; }
	.pm-prose { font-size: 19px; }
	.pm-prose blockquote, .pm-prose .wp-block-quote, .pm-prose .wp-block-pullquote { padding: 76px 24px 24px; font-size: 23px; }
	.pm-prose .alignwide { margin-left: 0; margin-right: 0; }
	.pm-takeaway { padding: 24px; }
	.pm-takeaway__text { font-size: 22px; }
	.pm-ribbon { border-radius: 28px; }
	.pm-subscribe { border-radius: 32px; }
	.pm-hub-head { border-radius: 32px; margin-left: 12px; margin-right: 12px; }
	.pm-hub-head__icon { display: none; }
	.pm-comment-list .children { margin-left: 12px; }
}
