/*
Theme Name: Purlwise
Theme URI: https://example.com/purlwise
Author: Amine Hachimi
Description: A reusable, premium WordPress theme for crochet pattern sites. Setup wizard for each website's identity and colors, generated legal & AdSense pages with a Pages Manager, secure contact form, a beautiful “Browse by category” grid and drag-and-drop homepage category sections.
Version: 2.9.0
Requires at least: 6.2
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: purlwise
Tags: blog, grid-layout, custom-colors, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, one-column, two-columns, right-sidebar
*/

/* ==========================================================================
   1. Tokens (overridden by Customizer output)
   ========================================================================== */
:root {
	--pw-bg: #fbf7f2;
	--pw-surface: #ffffff;
	--pw-soft: #f3ebe2;
	--pw-text: #2d2430;
	--pw-muted: #7a6e72;
	--pw-accent: #c8605a;
	--pw-accent-dark: #a4463f;
	--pw-secondary: #7f9a83;
	--pw-border: #eadfd3;
	--pw-header-bg: #fbf7f2;
	--pw-header-text: #2d2430;
	--pw-hero-bg: #f3e6dc;
	--pw-footer-bg: #2d2430;
	--pw-footer-text: #efe6e0;
	--pw-button-text: #ffffff;
	--pw-button-bg: var(--pw-accent);
	--pw-button-hover: var(--pw-accent-dark);
	--pw-logo-h: 56px;
	--pw-accent-rgb: 200, 96, 90;
	--pw-text-rgb: 45, 36, 48;
	--pw-font-heading: "Fraunces", Georgia, serif;
	--pw-font-body: "DM Sans", system-ui, sans-serif;
	--pw-font-size: 17px;
	--pw-radius: 18px;
	--pw-browse-cols: 7;
	--pw-archive-cols: 4;

	--pw-container: 1240px;
	--pw-gutter: clamp(18px, 4vw, 32px);
	--pw-shadow-sm: 0 1px 2px rgba(var(--pw-text-rgb), .06), 0 2px 8px rgba(var(--pw-text-rgb), .05);
	--pw-shadow: 0 10px 30px -12px rgba(var(--pw-text-rgb), .22);
	--pw-ease: cubic-bezier(.2, .7, .2, 1);

	/* Placeholder tones */
	--tone-1: #f6dcd6;
	--tone-2: #dfe8dc;
	--tone-3: #f7ecc8;
	--tone-4: #e6def0;
	--tone-5: #dbe7ef;
	--tone-6: #fbe2cc;
}

/* ==========================================================================
   2. Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html { font-size: var(--pw-font-size); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--pw-bg);
	color: var(--pw-text);
	font-family: var(--pw-font-body);
	font-size: 1rem;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

img, svg, video { max-width: 100%; height: auto; display: block; }

a { color: var(--pw-accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--pw-accent-dark); }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--pw-font-heading);
	font-weight: 500;
	line-height: 1.15;
	letter-spacing: -0.01em;
	margin: 0 0 .5em;
	color: var(--pw-text);
}
h1 em, h2 em, h3 em, .pw-page-title em { font-style: italic; color: var(--pw-accent); font-weight: inherit; }

p { margin: 0 0 1em; }

button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible { outline: 2px solid var(--pw-accent); outline-offset: 3px; border-radius: 4px; }

.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; z-index: 1000;
	top: 8px; left: 8px; padding: 12px 18px; background: var(--pw-surface); color: var(--pw-text);
	border-radius: 8px; box-shadow: var(--pw-shadow);
}

.pw-container { width: 100%; max-width: var(--pw-container); margin-inline: auto; padding-inline: var(--pw-gutter); }
.pw-container--narrow { max-width: 860px; }
.pw-container--mid { max-width: 1120px; }
.pw-page__content { padding-top: 2.5rem; padding-bottom: 3rem; }

.tone-1 { background-color: var(--tone-1); }
.tone-2 { background-color: var(--tone-2); }
.tone-3 { background-color: var(--tone-3); }
.tone-4 { background-color: var(--tone-4); }
.tone-5 { background-color: var(--tone-5); }
.tone-6 { background-color: var(--tone-6); }

/* ==========================================================================
   3. Buttons, labels, forms
   ========================================================================== */
.pw-btn,
.wp-block-button__link,
input[type="submit"],
button[type="submit"]:not(.pw-searchform button) {
	display: inline-flex; align-items: center; gap: .5em;
	padding: .8em 1.5em;
	background: var(--pw-button-bg);
	color: var(--pw-button-text);
	border: 1.5px solid var(--pw-button-bg);
	border-radius: 999px;
	font-weight: 600; font-size: .92rem; line-height: 1.2;
	cursor: pointer;
	transition: background .2s, border-color .2s, color .2s, transform .2s var(--pw-ease);
	text-decoration: none;
}
.pw-btn:hover, .wp-block-button__link:hover, input[type="submit"]:hover {
	background: var(--pw-button-hover); border-color: var(--pw-button-hover); color: var(--pw-button-text);
}
.pw-btn svg { transition: transform .25s var(--pw-ease); }
.pw-btn:hover svg { transform: translateX(3px); }

.pw-btn--ghost { background: transparent; color: var(--pw-text); border-color: rgba(var(--pw-text-rgb), .22); }
.pw-btn--ghost:hover { background: var(--pw-text); border-color: var(--pw-text); color: var(--pw-bg); }

.pw-eyebrow {
	display: inline-flex; align-items: center; gap: .55em;
	margin: 0 0 .8rem;
	font-family: var(--pw-font-body);
	font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
	color: var(--pw-accent);
}
.pw-eyebrow a { color: inherit; }
.pw-eyebrow::before { content: ""; width: 22px; height: 1.5px; background: currentColor; opacity: .7; }
.pw-hero__eyebrow::before { display: none; }
.pw-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--pw-secondary); box-shadow: 0 0 0 4px rgba(127, 154, 131, .2); }

.pw-pill {
	display: inline-block; padding: .35em 1em; margin-bottom: 1rem;
	border-radius: 999px; background: rgba(var(--pw-accent-rgb), .1); color: var(--pw-accent);
	font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}

input[type="text"], input[type="email"], input[type="url"], input[type="search"], input[type="password"], input[type="number"], textarea, select {
	width: 100%; padding: .8em 1em;
	background: var(--pw-surface); border: 1.5px solid var(--pw-border); border-radius: calc(var(--pw-radius) * .6);
	transition: border-color .2s, box-shadow .2s;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--pw-accent); box-shadow: 0 0 0 4px rgba(var(--pw-accent-rgb), .12); }

.pw-searchform { position: relative; display: flex; }
.pw-searchform input[type="search"] { border-radius: 999px; padding-right: 3.2em; }
.pw-searchform button {
	position: absolute; right: 5px; top: 50%; transform: translateY(-50%);
	width: 38px; height: 38px; display: grid; place-items: center;
	border: 0; border-radius: 50%; background: var(--pw-button-bg); color: var(--pw-button-text); cursor: pointer;
}
.pw-searchform button:hover { background: var(--pw-button-hover); }

/* ==========================================================================
   4. Header & navigation
   ========================================================================== */
.pw-header {
	position: relative; z-index: 50;
	background: var(--pw-header-bg); color: var(--pw-header-text);
	border-bottom: 1px solid var(--pw-border);
}
.pw-header.is-sticky { position: sticky; top: 0; }
.admin-bar .pw-header.is-sticky { top: 32px; }
@media (max-width: 782px) { .admin-bar .pw-header.is-sticky { top: 0; } }
.pw-header.is-scrolled { box-shadow: 0 6px 24px -14px rgba(var(--pw-text-rgb), .35); }

.pw-header__inner { display: flex; align-items: center; gap: 2rem; min-height: 78px; }

.pw-brand { flex-shrink: 0; }
.pw-brand__name {
	display: inline-flex; align-items: center; gap: .45em;
	font-family: var(--pw-font-heading); font-size: 1.55rem; font-weight: 600; letter-spacing: -.02em;
	color: var(--pw-header-text);
}
.pw-brand__name:hover { color: var(--pw-header-text); }
.pw-brand__mark {
	display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
	background: var(--pw-button-bg); color: var(--pw-button-text);
}
.pw-brand__tagline { margin: 0; font-size: .78rem; color: var(--pw-muted); }
.custom-logo-link { display: block; line-height: 0; }
.custom-logo {
	height: var(--pw-logo-h); width: auto; max-width: min(340px, 60vw); object-fit: contain;
	/* Logos supplied on a white background blend into the header color (the file itself is untouched). */
	mix-blend-mode: multiply;
	filter: brightness(1.015); /* lifts the off-white (252–254) edge to pure white so no box shows */
}
@media (max-width: 960px) { .custom-logo { height: min(var(--pw-logo-h), 60px); } }
@media (max-width: 480px) { .custom-logo { height: min(var(--pw-logo-h), 50px); max-width: 60vw; } }
.pw-header__inner { padding-block: 6px; }
.pw-brand__icon { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: #fff; overflow: hidden; flex-shrink: 0; }
.pw-brand__icon img { width: 36px; height: 36px; }

.pw-nav { margin-left: auto; }
.pw-menu, .pw-menu ul { list-style: none; margin: 0; padding: 0; }
.pw-menu { display: flex; align-items: center; gap: .25rem; }
.pw-menu > li { position: relative; }
.pw-menu a {
	display: flex; align-items: center; gap: .35em; white-space: nowrap;
	padding: .55em .95em; border-radius: 999px;
	color: var(--pw-header-text); font-weight: 500; font-size: .94rem;
	transition: background .2s, color .2s;
}
.pw-menu > li > a:hover, .pw-menu > .current-menu-item > a, .pw-menu > .current-menu-ancestor > a { background: rgba(var(--pw-accent-rgb), .1); color: var(--pw-accent); }
.pw-menu .menu-item-has-children > a::after {
	content: ""; width: 7px; height: 7px; margin-left: 2px; margin-top: -3px;
	border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg);
}

.pw-menu .sub-menu {
	position: absolute; top: calc(100% + 8px); left: 50%; min-width: 240px;
	padding: .6rem; background: var(--pw-surface); border: 1px solid var(--pw-border);
	border-radius: var(--pw-radius); box-shadow: var(--pw-shadow);
	opacity: 0; visibility: hidden; transform: translate(-50%, 6px);
	transition: opacity .2s, transform .2s var(--pw-ease), visibility .2s;
	display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
}
.pw-menu .sub-menu::before { content: ""; position: absolute; inset: -10px 0 auto; height: 10px; }
.pw-menu .sub-menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 .8rem; display: block; }
.pw-menu .sub-menu a { padding: .5em .8em; border-radius: calc(var(--pw-radius) * .55); font-size: .9rem; white-space: nowrap; }
.pw-menu .sub-menu a:hover { background: var(--pw-soft); color: var(--pw-accent); }
.pw-menu li:hover > .sub-menu, .pw-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

.pw-header__actions { display: flex; align-items: center; gap: .4rem; }
.pw-nav + .pw-header__actions { margin-left: .5rem; }
.pw-icon-btn {
	display: grid; place-items: center; width: 44px; height: 44px;
	border: 1.5px solid var(--pw-border); border-radius: 50%; background: transparent; color: var(--pw-header-text);
	cursor: pointer; transition: background .2s, border-color .2s;
}
.pw-icon-btn:hover { background: var(--pw-soft); border-color: transparent; }
.pw-menu-toggle { display: none; }
.pw-menu-toggle .pw-close { display: none; }
.pw-menu-toggle[aria-expanded="true"] .pw-open { display: none; }
.pw-menu-toggle[aria-expanded="true"] .pw-close { display: block; }

.pw-search-panel { border-top: 1px solid var(--pw-border); padding: 1.1rem 0; background: var(--pw-header-bg); animation: pw-drop .25s var(--pw-ease); }
.pw-search-panel .pw-searchform { max-width: 640px; margin-inline: auto; }
@keyframes pw-drop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

@media (max-width: 960px) {
	.pw-menu-toggle { display: grid; }
	.pw-header__inner { gap: 1rem; min-height: 68px; }
	.pw-header__actions, .pw-nav + .pw-header__actions { margin-left: auto; }
	.pw-nav {
		position: absolute; top: 100%; left: 0; right: 0; margin: 0;
		background: var(--pw-header-bg); border-bottom: 1px solid var(--pw-border);
		max-height: calc(100vh - 68px); overflow-y: auto;
		padding: .75rem var(--pw-gutter) 1.5rem;
		display: none; box-shadow: var(--pw-shadow);
	}
	.pw-nav.is-open { display: block; animation: pw-drop .25s var(--pw-ease); }
	.pw-menu { flex-direction: column; align-items: stretch; gap: 0; }
	.pw-menu a { border-radius: 12px; padding: .8em 1em; font-size: 1rem; }
	.pw-menu .menu-item-has-children > a::after { margin-left: auto; }
	.pw-menu .sub-menu {
		position: static; opacity: 1; visibility: visible; transform: none;
		box-shadow: none; border: 0; background: transparent; padding: 0 0 .5rem .6rem;
		display: none; grid-template-columns: 1fr 1fr;
	}
	.pw-menu li.is-open > .sub-menu { display: grid; }
	.pw-menu li:hover > .sub-menu { transform: none; }
}

/* ==========================================================================
   5. Hero
   ========================================================================== */
.pw-hero {
	position: relative; overflow: hidden;
	background:
		radial-gradient(60% 80% at 100% 0%, rgba(255, 255, 255, .55), transparent 60%),
		radial-gradient(40% 60% at 0% 100%, rgba(var(--pw-accent-rgb), .08), transparent 70%),
		var(--pw-hero-bg);
	padding: clamp(3rem, 7vw, 6rem) 0 clamp(3.5rem, 8vw, 6.5rem);
}
.pw-hero__inner { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.pw-hero__title { font-size: clamp(2.5rem, 5.4vw, 4.6rem); line-height: 1.04; letter-spacing: -.025em; margin-bottom: 1.4rem; }
.pw-hero__title em { display: inline; }
.pw-hero__text { font-size: 1.12rem; color: var(--pw-muted); max-width: 34em; margin-bottom: 2rem; }

.pw-hero-search {
	display: flex; align-items: center; gap: .5rem;
	max-width: 560px; padding: .45rem .45rem .45rem 1.2rem;
	background: var(--pw-surface); border-radius: 999px;
	box-shadow: 0 18px 40px -18px rgba(var(--pw-text-rgb), .35), 0 0 0 1px rgba(var(--pw-text-rgb), .05);
}
.pw-hero-search__icon { color: var(--pw-muted); flex-shrink: 0; }
.pw-hero-search input[type="search"] { flex: 1; border: 0; background: transparent; padding: .7em .3em; box-shadow: none; min-width: 0; font-size: 1rem; }
.pw-hero-search input[type="search"]:focus { box-shadow: none; }
.pw-hero-search .pw-btn { padding: .9em 1.6em; }

.pw-hero__tags { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-top: 1.4rem; font-size: .88rem; color: var(--pw-muted); }
.pw-hero__tags a {
	padding: .3em .9em; border-radius: 999px; border: 1px solid rgba(var(--pw-text-rgb), .14);
	color: var(--pw-text); background: rgba(255, 255, 255, .5); transition: background .2s, border-color .2s;
}
.pw-hero__tags a:hover { background: var(--pw-surface); border-color: var(--pw-accent); color: var(--pw-accent); }

.pw-hero__media { position: relative; min-height: 460px; }
.pw-hero__photo { position: absolute; overflow: hidden; box-shadow: var(--pw-shadow); }
.pw-hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.pw-hero__photo .pw-placeholder { object-fit: contain; padding: 14%; }
.pw-hero__photo--main { right: 0; top: 0; width: 76%; aspect-ratio: 4 / 5; border-radius: 999px 999px var(--pw-radius) var(--pw-radius); }
.pw-hero__photo--small { left: 0; bottom: 0; width: 44%; aspect-ratio: 1; border-radius: 50%; border: 8px solid var(--pw-hero-bg); }
.pw-hero__badge {
	position: absolute; left: 6%; top: 14%;
	display: inline-flex; align-items: center; gap: .6em;
	padding: .7em 1.2em .7em .7em; border-radius: 999px;
	background: var(--pw-surface); box-shadow: var(--pw-shadow);
	font-weight: 700; font-size: .9rem; animation: pw-float 6s ease-in-out infinite;
}
.pw-hero__badge-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--pw-secondary); color: #fff; }
.pw-hero__squiggle { position: absolute; right: -2%; bottom: 4%; width: 150px; color: var(--pw-accent); opacity: .55; }
@keyframes pw-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Centered layout */
.pw-hero--centered { text-align: center; padding: clamp(5rem, 12vw, 9rem) 0; }
.pw-hero--centered .pw-hero__inner { grid-template-columns: 1fr; justify-items: center; position: relative; z-index: 2; }
.pw-hero--centered .pw-hero__content { max-width: 820px; }
.pw-hero--centered .pw-hero__text { margin-inline: auto; }
.pw-hero--centered .pw-hero-search { margin-inline: auto; }
.pw-hero--centered .pw-hero__tags { justify-content: center; }
.pw-hero__bg { position: absolute; inset: 0; }
.pw-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.pw-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(251, 247, 242, .82), rgba(251, 247, 242, .9)); }

@media (max-width: 900px) {
	.pw-hero__inner { grid-template-columns: 1fr; }
	.pw-hero__media { min-height: 0; aspect-ratio: 1 / .9; max-width: 480px; width: 100%; margin-inline: auto; }
}
@media (max-width: 520px) {
	.pw-hero-search { padding-left: 1rem; }
	.pw-hero-search .pw-btn { padding: .9em 1.1em; }
	.pw-hero-search__icon { display: none; }
	.pw-hero__media { max-width: 330px; }
	.pw-hero__badge { font-size: .8rem; left: 0; }
	.pw-hero__eyebrow { align-items: flex-start; }
	.pw-hero__eyebrow .pw-dot { margin-top: .3em; flex-shrink: 0; }
}

/* ==========================================================================
   6. Sections
   ========================================================================== */
.pw-section { padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.pw-section--tight { padding-top: 2.5rem; }
.pw-section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem 2rem; margin-bottom: 2.4rem; flex-wrap: wrap; }
.pw-section__title { font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin-bottom: 0; letter-spacing: -.02em; }
.pw-section__intro { max-width: 640px; }
.pw-section__desc { margin: .8rem 0 0; color: var(--pw-muted); font-size: 1.03rem; }
.pw-section__meta { margin: 0; color: var(--pw-muted); font-size: .95rem; font-style: italic; font-family: var(--pw-font-heading); }

.pw-cat-section { border-top: 1px solid var(--pw-border); }
.pw-cat-section.is-alt { background: var(--pw-surface); }
.pw-browse + .pw-cat-section { border-top: 0; }

.pw-admin-hint { padding: 1.2rem 1.4rem; border: 1.5px dashed var(--pw-border); border-radius: var(--pw-radius); color: var(--pw-muted); font-size: .92rem; }

/* ==========================================================================
   7. Browse by category tiles
   ========================================================================== */
.pw-tiles { --pw-tile-gap: clamp(1rem, 2vw, 1.6rem); --pw-cols: var(--pw-browse-cols); display: flex; flex-wrap: wrap; justify-content: center; gap: var(--pw-tile-gap); }
.pw-tiles > .pw-tile { flex: 0 0 calc((100% - (var(--pw-cols) - 1) * var(--pw-tile-gap)) / var(--pw-cols)); min-width: 0; }

.pw-tile { display: flex; flex-direction: column; gap: .85rem; color: var(--pw-text); }
.pw-tile:hover { color: var(--pw-text); }
.pw-tile__media {
	position: relative; display: block; overflow: hidden; aspect-ratio: 1;
	border-radius: var(--pw-radius);
	transition: transform .35s var(--pw-ease), box-shadow .35s var(--pw-ease);
}
.pw-tile__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--pw-ease); }
.pw-tile__media.is-placeholder img { object-fit: contain; padding: 16%; }
.pw-tile:hover .pw-tile__media { transform: translateY(-4px); box-shadow: var(--pw-shadow); }
.pw-tile:hover .pw-tile__media img { transform: scale(1.06); }

.pw-tile__label { display: flex; flex-direction: column; gap: .1rem; padding-inline: .15rem; }
.pw-tile__name { font-family: var(--pw-font-heading); font-size: 1.08rem; font-weight: 500; line-height: 1.25; display: flex; align-items: baseline; gap: .1em; }
.pw-arrow { display: inline-block; color: var(--pw-accent); width: 0; opacity: 0; overflow: hidden; transition: width .3s var(--pw-ease), opacity .3s, margin .3s; }
.pw-tile:hover .pw-arrow, .pw-tile:focus-visible .pw-arrow { width: 1.1em; opacity: 1; }
.pw-tile__count { font-size: .8rem; color: var(--pw-muted); }

.pw-tiles--circle .pw-tile__media { border-radius: 50%; }
.pw-tiles--circle .pw-tile__label, .pw-tiles--circle .pw-tile__name { align-items: center; justify-content: center; text-align: center; }
.pw-tiles--portrait .pw-tile__media { aspect-ratio: 4 / 5; }
.pw-tiles--arch .pw-tile__media { aspect-ratio: 4 / 5; border-radius: 999px 999px var(--pw-radius) var(--pw-radius); }

/* Overlay labels */
.pw-tiles--label-overlay .pw-tile { position: relative; }
.pw-tiles--label-overlay .pw-tile__label {
	position: absolute; left: .7rem; right: .7rem; bottom: .7rem;
	padding: .55rem .8rem; border-radius: calc(var(--pw-radius) * .7);
	background: rgba(255, 255, 255, .92); backdrop-filter: blur(6px);
	box-shadow: var(--pw-shadow-sm); transition: transform .35s var(--pw-ease);
}
.pw-tiles--label-overlay .pw-tile:hover .pw-tile__label { transform: translateY(-4px); }
.pw-tiles--label-overlay.pw-tiles--circle .pw-tile__label { left: 12%; right: 12%; bottom: 6%; border-radius: 999px; }

@media (max-width: 1100px) { .pw-tiles { --pw-cols: min(var(--pw-browse-cols), 4); } }
@media (max-width: 760px) { .pw-tiles { --pw-cols: 3; } .pw-tile__name { font-size: .98rem; } }
@media (max-width: 480px) {
	.pw-tiles { gap: .9rem .7rem; }
	.pw-tile__name { font-size: .88rem; }
	.pw-tile__count { font-size: .72rem; }
	.pw-tiles--label-overlay .pw-tile__label { position: static; background: none; box-shadow: none; padding: 0; }
}
@media (max-width: 340px) { .pw-tiles { --pw-cols: 2; } }

/* ==========================================================================
   8. Pattern cards & grids
   ========================================================================== */
.pw-grid { display: grid; gap: clamp(1.2rem, 2.4vw, 2rem); grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pw-grid--grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pw-grid--grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.pw-grid--archive { grid-template-columns: repeat(var(--pw-archive-cols), minmax(0, 1fr)); row-gap: clamp(2rem, 3.5vw, 3rem); }

.pw-grid--feature { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pw-grid--feature .pw-card--feature { grid-column: span 2; grid-row: span 2; }
.pw-grid--feature .pw-card--feature .pw-card__media { aspect-ratio: auto; flex: 1; min-height: 320px; }
.pw-grid--feature .pw-card--feature .pw-card__title { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }

.pw-grid--carousel {
	display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, calc((100% - 3 * 2rem) / 4));
	grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1rem;
	scrollbar-width: thin; scrollbar-color: var(--pw-border) transparent;
}
.pw-grid--carousel > * { scroll-snap-align: start; }

.pw-card { display: flex; flex-direction: column; min-width: 0; }
.pw-card__frame { position: relative; }

/* Full, uncropped images (default) */
.pw-cards-natural .pw-grid { align-items: start; }
.pw-cards-natural .pw-card__media.has-image { aspect-ratio: auto; background: transparent; }
.pw-cards-natural .pw-card__media.has-image img { height: auto; object-fit: initial; }
.pw-cards-natural .pw-grid--feature .pw-card--feature .pw-card__media.has-image { aspect-ratio: auto; min-height: 0; flex: none; }

/* Pinterest "Save" button */
.pw-pin {
	position: absolute; top: .7rem; right: .7rem; z-index: 3;
	display: inline-flex; align-items: center; gap: .35em;
	padding: .5em .95em .5em .75em; border-radius: 999px;
	background: #e60023; color: #fff !important; text-decoration: none !important;
	font: 700 .82rem/1 var(--pw-font-body); box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .45);
	opacity: 0; transform: translateY(-4px); transition: opacity .2s, transform .2s, background .2s;
}
.pw-pin:hover { background: #ad081b; color: #fff; }
.pw-pin:focus-visible { opacity: 1; transform: none; outline: 2px solid #fff; outline-offset: 2px; }
.pw-card__frame:hover .pw-pin, .pw-pin-wrap:hover .pw-pin { opacity: 1; transform: none; }
.pw-pin--big { top: 1rem; right: 1rem; font-size: .92rem; padding: .65em 1.15em .65em .9em; }
@media (hover: none) { .pw-pin { opacity: 1; transform: none; padding: .45em .6em; } .pw-pin span { display: none; } }
.pw-pin-wrap { position: relative; display: inline-block; max-width: 100%; line-height: 0; }
.pw-pin-wrap > img, .pw-pin-wrap > a { line-height: normal; }
.pw-card__media {
	position: relative; display: block; overflow: hidden;
	aspect-ratio: 4 / 5; border-radius: var(--pw-radius);
}
.pw-cards-square .pw-card__media { aspect-ratio: 1; }
.pw-cards-landscape .pw-card__media { aspect-ratio: 4 / 3; }
.pw-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--pw-ease); }
.pw-card__media .pw-placeholder { object-fit: contain; padding: 22%; }
.pw-card--feature .pw-card__media .pw-placeholder { padding: 30%; }
.pw-card__media::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, .08)); opacity: 0; transition: opacity .3s; }
.pw-card:hover .pw-card__media img { transform: scale(1.05); }
.pw-card:hover .pw-card__media::after { opacity: 1; }

.pw-card__body { padding: 1rem .15rem 0; }
.pw-card__cat {
	display: inline-block; margin-bottom: .35rem;
	font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--pw-accent);
}
.pw-card__title { font-size: 1.14rem; line-height: 1.3; margin: 0; font-weight: 500; }
.pw-card__title a { color: var(--pw-text); background-image: linear-gradient(currentColor, currentColor); background-size: 0 1px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .35s var(--pw-ease); }
.pw-card:hover .pw-card__title a { background-size: 100% 1px; }
.pw-card__excerpt { margin: .5rem 0 0; font-size: .9rem; color: var(--pw-muted); line-height: 1.55; }
.pw-card__date { display: block; margin-top: .4rem; font-size: .8rem; color: var(--pw-muted); }

.pw-card--text { padding: 1.4rem; background: var(--pw-surface); border: 1px solid var(--pw-border); border-radius: var(--pw-radius); }
.pw-card--text .pw-card__body { padding: 0; }

@media (max-width: 1100px) {
	.pw-grid, .pw-grid--grid-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.pw-grid--archive { grid-template-columns: repeat(min(var(--pw-archive-cols), 3), minmax(0, 1fr)); }
	.pw-grid--feature .pw-card--feature { grid-column: span 3; grid-row: auto; }
	.pw-grid--feature .pw-card--feature .pw-card__media { aspect-ratio: 16 / 9; min-height: 0; flex: none; }
}
@media (max-width: 760px) {
	.pw-grid, .pw-grid--grid-3, .pw-grid--grid-5, .pw-grid--archive { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.pw-grid--feature .pw-card--feature { grid-column: span 2; }
	.pw-card__title { font-size: 1rem; }
	.pw-grid--carousel { grid-auto-columns: 70%; }
}

/* ==========================================================================
   9. About band
   ========================================================================== */
.pw-about { background: var(--pw-soft); }
.pw-about__inner { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 6vw, 5.5rem); align-items: center; }
.pw-about__media { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 999px 999px var(--pw-radius) var(--pw-radius); max-width: 440px; width: 100%; }
.pw-about__media img { width: 100%; height: 100%; object-fit: cover; }
.pw-about__media .pw-placeholder { object-fit: contain; padding: 18%; }
.pw-about__content .pw-section__title { margin-bottom: 1.4rem; }
.pw-about__content p:not(.pw-eyebrow) { color: var(--pw-muted); font-size: 1.05rem; max-width: 36em; }
.pw-about__content .pw-btn { margin-top: .8rem; }
@media (max-width: 860px) { .pw-about__inner { grid-template-columns: 1fr; } .pw-about__media { max-width: 340px; } }

/* ==========================================================================
   10. Archive / page headers
   ========================================================================== */
.pw-page-head { background: var(--pw-hero-bg); padding: clamp(2.2rem, 5vw, 3.8rem) 0; }
.pw-page-head__inner { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2rem; }
.pw-page-head--center { text-align: center; }
.pw-page-title { font-size: clamp(2.2rem, 4.6vw, 3.6rem); letter-spacing: -.025em; margin-bottom: .6rem; }
.pw-page-desc { color: var(--pw-muted); font-size: 1.08rem; max-width: 40em; }
.pw-page-desc p:last-child { margin-bottom: 0; }
.pw-page-head__media { width: clamp(140px, 18vw, 230px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 6px solid var(--pw-surface); box-shadow: var(--pw-shadow); }
.pw-page-head__media img { width: 100%; height: 100%; object-fit: cover; }
.pw-page-head__media.is-placeholder img { object-fit: contain; padding: 18%; }
.pw-page-search { max-width: 520px; margin-top: 1.4rem; }
.pw-404__inner .pw-page-search { margin: 1.4rem auto 2rem; }
@media (max-width: 640px) { .pw-page-head__inner { grid-template-columns: 1fr; } .pw-page-head__media { order: -1; width: 120px; } }

.pw-crumbs { display: flex; flex-wrap: wrap; gap: .5em; margin-bottom: 1rem; font-size: .84rem; color: var(--pw-muted); }
.pw-crumbs a { color: var(--pw-muted); }
.pw-crumbs a:hover { color: var(--pw-accent); }
.pw-crumbs span[aria-current] { color: var(--pw-text); }

.pw-chips { border-bottom: 1px solid var(--pw-border); background: var(--pw-bg); position: relative; }
.pw-chips__inner { display: flex; gap: .5rem; overflow-x: auto; padding-block: 1rem; scrollbar-width: none; }
.pw-chips__wrap { position: relative; }
.pw-chips .pw-chips__inner { scroll-behavior: smooth; overscroll-behavior-x: contain; scroll-padding-inline: 48px; }
/* Fade only on the side that has more categories, and leave room for the arrow there. */
.pw-chips__wrap.can-next .pw-chips__inner { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 72px), transparent calc(100% - 20px)); mask-image: linear-gradient(90deg, #000 calc(100% - 72px), transparent calc(100% - 20px)); }
.pw-chips__wrap.can-prev .pw-chips__inner { -webkit-mask-image: linear-gradient(90deg, transparent 20px, #000 72px); mask-image: linear-gradient(90deg, transparent 20px, #000 72px); }
.pw-chips__wrap.can-prev.can-next .pw-chips__inner { -webkit-mask-image: linear-gradient(90deg, transparent 20px, #000 72px, #000 calc(100% - 72px), transparent calc(100% - 20px)); mask-image: linear-gradient(90deg, transparent 20px, #000 72px, #000 calc(100% - 72px), transparent calc(100% - 20px)); }
.pw-chips__arrow {
	position: absolute; top: 50%; z-index: 2; transform: translateY(-50%);
	display: inline-flex; align-items: center; justify-content: center;
	width: 36px; height: 36px; padding: 0; border-radius: 50%; cursor: pointer;
	border: 1.5px solid var(--pw-border); background: var(--pw-surface, #fff); color: var(--pw-text);
	box-shadow: 0 4px 14px rgba(0, 0, 0, .1); transition: background .2s, color .2s, border-color .2s;
}
.pw-chips__arrow[hidden] { display: none; }
.pw-chips__arrow--prev { left: max(0px, calc(var(--pw-gutter, 1.25rem) - 18px)); }
.pw-chips__arrow--next { right: max(0px, calc(var(--pw-gutter, 1.25rem) - 18px)); }
.pw-chips__arrow:hover, .pw-chips__arrow:focus-visible { background: var(--pw-button-bg); border-color: var(--pw-button-bg); color: var(--pw-button-text); }
.pw-chips__inner::-webkit-scrollbar { display: none; }
.pw-chip {
	flex-shrink: 0; padding: .45em 1.1em; border-radius: 999px;
	border: 1.5px solid var(--pw-border); color: var(--pw-text); font-size: .88rem; font-weight: 500; white-space: nowrap;
	transition: background .2s, border-color .2s, color .2s;
}
.pw-chip:hover { border-color: var(--pw-accent); color: var(--pw-accent); }
.pw-chip.is-active { background: var(--pw-text); border-color: var(--pw-text); color: var(--pw-bg); }

/* Pagination */
.pagination { margin-top: 3.5rem; }
.nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; }
.page-numbers {
	display: grid; place-items: center; min-width: 46px; height: 46px; padding: 0 1rem;
	border-radius: 999px; border: 1.5px solid var(--pw-border); color: var(--pw-text); font-weight: 600; font-size: .92rem;
}
.page-numbers:hover { border-color: var(--pw-accent); color: var(--pw-accent); }
.page-numbers.current { background: var(--pw-button-bg); border-color: var(--pw-button-bg); color: var(--pw-button-text); }
.page-numbers.dots { border: 0; }

/* Empty state */
.pw-empty { text-align: center; max-width: 560px; margin: 2rem auto; padding: 3rem 1.5rem; }
.pw-empty__icon { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: rgba(var(--pw-accent-rgb), .1); color: var(--pw-accent); margin-bottom: 1.2rem; }
.pw-empty__icon svg { width: 30px; height: 30px; }
.pw-empty p { color: var(--pw-muted); }
.pw-empty__chips { justify-content: center; flex-wrap: wrap; overflow: visible; }

/* 404 */
.pw-404__inner { text-align: center; }
.pw-404__code { font-family: var(--pw-font-heading); font-size: clamp(5rem, 14vw, 9rem); line-height: 1; color: var(--pw-accent); opacity: .25; margin: 0; font-style: italic; }

/* ==========================================================================
   11. Single
   ========================================================================== */
.pw-single__head { padding: clamp(2.5rem, 6vw, 4.5rem) 0 2rem; text-align: center; }
.pw-single__head .pw-crumbs { justify-content: center; }
.pw-single__title { font-size: clamp(2.2rem, 5vw, 3.8rem); letter-spacing: -.025em; line-height: 1.08; }
.pw-single__lede { font-size: 1.15rem; color: var(--pw-muted); max-width: 40em; margin-inline: auto; }
.pw-single__meta { display: flex; justify-content: center; gap: .6em; font-size: .88rem; color: var(--pw-muted); margin: 0; }

.pw-single__hero { margin: 0 auto 3rem; text-align: center; }
/* Featured image is shown whole (tall Pinterest pins included), never cropped. */
.pw-single__hero .pw-pin-wrap { display: inline-block; max-width: min(100%, 680px); }
.pw-single__hero img { display: block; width: auto; max-width: 100%; height: auto; margin: 0 auto; border-radius: calc(var(--pw-radius) * 1.1); box-shadow: 0 24px 50px -28px rgba(var(--pw-text-rgb), .45); }
.pw-single__hero figcaption { text-align: center; font-size: .85rem; color: var(--pw-muted); margin-top: .7rem; }

.pw-single__layout { display: grid; grid-template-columns: minmax(0, 760px); justify-content: center; gap: 4rem; padding-bottom: 2rem; }
.pw-single__layout.has-sidebar { grid-template-columns: minmax(0, 1fr) 300px; max-width: 1180px; }
@media (max-width: 980px) { .pw-single__layout.has-sidebar { grid-template-columns: minmax(0, 1fr); } }

.pw-sidebar__inner { display: grid; gap: 1.5rem; align-content: start; }
.pw-sidebar .widget h2, .pw-footer .widget h2 { font-family: var(--pw-font-body); font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--pw-muted); margin-bottom: 1rem; }
.pw-footer .widget h2 { color: var(--pw-footer-text); opacity: .55; }
.pw-sidebar .widget li { padding: .3rem 0; font-size: .94rem; }
.pw-sidebar .widget li a { color: var(--pw-text); }
.pw-sidebar .widget li a:hover { color: var(--pw-accent); }
.wp-block-search__label { font-weight: 600; font-size: .9rem; display: block; margin-bottom: .5rem; }
.wp-block-search__inside-wrapper { display: flex; gap: .4rem; }
.wp-block-search__input { border-radius: 999px !important; }
.wp-block-search__button { margin: 0; padding: .7em 1.2em !important; }
.wp-block-latest-comments { padding: 0; }
.wp-block-latest-comments__comment { font-size: .92rem; line-height: 1.5; }
.widget-title { font-family: var(--pw-font-body); font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--pw-muted); margin-bottom: 1rem; }
.pw-sidebar .widget { padding: 1.4rem; background: var(--pw-surface); border: 1px solid var(--pw-border); border-radius: var(--pw-radius); }
.pw-sidebar .widget ul { list-style: none; margin: 0; padding: 0; }
.pw-sidebar .pw-side-cats li { padding: 0; }
.pw-side-cats li + li { margin-top: .1rem; }
.pw-side-cats a { display: flex; align-items: center; gap: .8rem; padding: .35rem; border-radius: 12px; color: var(--pw-text); font-weight: 500; font-size: .94rem; }
.pw-side-cats a:hover { background: var(--pw-soft); color: var(--pw-accent); }
.pw-side-cats__img { width: 40px; height: 40px; border-radius: 10px; overflow: hidden; flex-shrink: 0; }
.pw-side-cats__img img { width: 100%; height: 100%; object-fit: cover; }
.pw-side-cats__img.is-placeholder img { object-fit: contain; padding: 15%; }
.pw-side-cats__count { margin-left: auto; font-size: .78rem; color: var(--pw-muted); }

/* Prose */
.pw-prose { font-size: 1.06rem; line-height: 1.8; min-width: 0; }
.pw-prose > * { margin-top: 0; margin-bottom: 1.3em; }
.pw-prose h2 { font-size: 1.9rem; margin-top: 2em; }
.pw-prose h3 { font-size: 1.45rem; margin-top: 1.8em; }
.pw-prose h4 { font-size: 1.2rem; margin-top: 1.6em; }
.pw-prose a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.pw-prose ul, .pw-prose ol { padding-left: 1.3em; }
.pw-prose li { margin-bottom: .4em; }
.pw-prose li::marker { color: var(--pw-accent); }
.pw-prose img, .pw-prose .wp-block-image img { border-radius: var(--pw-radius); max-width: 100%; height: auto; }
/* Tall images in posts: shown whole and centered. */
.pw-prose .wp-block-image { text-align: center; }
.pw-prose .wp-block-image img { display: inline-block; }
.pw-prose blockquote {
	margin-left: 0; padding: 1.4rem 1.8rem; border-left: 3px solid var(--pw-accent);
	background: var(--pw-surface); border-radius: 0 var(--pw-radius) var(--pw-radius) 0;
	font-family: var(--pw-font-heading); font-size: 1.25rem; font-style: italic;
}
.pw-prose table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.pw-prose th, .pw-prose td { padding: .7em 1em; border-bottom: 1px solid var(--pw-border); text-align: left; }
.pw-prose th { background: var(--pw-soft); }
.pw-prose code { background: var(--pw-soft); padding: .15em .4em; border-radius: 6px; font-size: .9em; }
.pw-prose hr { border: 0; border-top: 1px solid var(--pw-border); margin: 2.5em 0; }
.pw-prose .wp-block-group.has-background,
.pw-prose .pw-box { padding: 1.6rem 1.8rem; border-radius: var(--pw-radius); }

.pw-single__tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2.5rem; }
.pw-single__tags a { padding: .35em 1em; border-radius: 999px; background: var(--pw-soft); color: var(--pw-text); font-size: .85rem; text-decoration: none; }
.pw-single__tags a:hover { background: var(--pw-button-bg); color: var(--pw-button-text); }

.post-navigation { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--pw-border); }
.post-navigation .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.post-navigation a { display: block; padding: 1.1rem 1.3rem; border: 1px solid var(--pw-border); border-radius: var(--pw-radius); text-decoration: none; height: 100%; background: var(--pw-surface); transition: border-color .2s, transform .2s; }
.post-navigation a:hover { border-color: var(--pw-accent); transform: translateY(-2px); }
.post-navigation .nav-next { text-align: right; grid-column: 2; }
.pw-nav-label { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--pw-accent); }
.pw-nav-title { display: block; font-family: var(--pw-font-heading); color: var(--pw-text); font-size: 1.08rem; line-height: 1.35; margin-top: .2rem; }

.pw-related { background: var(--pw-surface); border-top: 1px solid var(--pw-border); }

/* Comments */
.pw-comments { margin-top: 3.5rem; }
.pw-comment-list { list-style: none; padding: 0; margin: 0 0 2rem; }
.pw-comment-list .children { list-style: none; padding-left: 1.6rem; }
.pw-comment-list .comment-body { padding: 1.2rem 0; border-bottom: 1px solid var(--pw-border); font-size: .97rem; }
.pw-comment-list .avatar { border-radius: 50%; float: left; margin-right: .9rem; }
.comment-meta { font-size: .85rem; color: var(--pw-muted); margin-bottom: .5rem; }
.comment-author .fn { font-weight: 700; color: var(--pw-text); font-style: normal; }
.comment-respond { padding: 1.8rem; background: var(--pw-surface); border: 1px solid var(--pw-border); border-radius: var(--pw-radius); }
.comment-form p { margin-bottom: 1rem; }
.comment-form label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .3rem; }
.comment-form-cookies-consent label { display: inline; font-weight: 400; }

/* WordPress core classes */
.alignleft { float: left; margin: .3em 1.5em 1em 0; }
.alignright { float: right; margin: .3em 0 1em 1.5em; }
.aligncenter { margin-inline: auto; }
.wp-caption-text, .wp-element-caption { font-size: .85rem; color: var(--pw-muted); text-align: center; }
.sticky, .bypostauthor, .gallery-caption { outline: 0; }

/* ==========================================================================
   12. Footer
   ========================================================================== */
.pw-footer { background: var(--pw-footer-bg); color: var(--pw-footer-text); padding: clamp(3.5rem, 7vw, 5rem) 0 2rem; }
.pw-footer a { color: var(--pw-footer-text); opacity: .78; transition: opacity .2s, color .2s; }
.pw-footer a:hover { opacity: 1; color: var(--pw-footer-text); }
.pw-footer__grid { display: grid; grid-template-columns: 1.3fr 1.6fr .9fr 1.2fr; gap: 2.5rem; }
.pw-footer__grid--3 { grid-template-columns: 1.4fr 1.6fr 1fr; }
.pw-footer__grid--2 { grid-template-columns: 1.5fr 1fr; }
.pw-footer__grid--1 { grid-template-columns: 1fr; }
.pw-footer .pw-brand__name { color: var(--pw-footer-text); opacity: 1; margin-bottom: 1rem; }
.pw-footer__about { opacity: .72; font-size: .95rem; max-width: 26em; }
.pw-footer .widget-title { color: var(--pw-footer-text); opacity: .55; }
.pw-footer ul { list-style: none; margin: 0; padding: 0; }
.pw-footer li { margin-bottom: .5rem; font-size: .95rem; }
.pw-footer__cats ul { columns: 2; column-gap: 1.5rem; }
.pw-footer__cats li { break-inside: avoid; }
.pw-footer .pw-searchform input[type="search"] { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .15); color: var(--pw-footer-text); }
.pw-footer .pw-searchform input::placeholder { color: var(--pw-footer-text); opacity: .55; }
.pw-footer .widget { margin-bottom: 1.5rem; }
.pw-footer__bottom {
	display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
	margin-top: 3.5rem; padding-top: 1.6rem; border-top: 1px solid rgba(255, 255, 255, .12);
	font-size: .86rem; opacity: .7;
}
.pw-footer__bottom p { margin: 0; }
.pw-footer__bottom { opacity: 1; }
.pw-footer__copy { opacity: .7; }
.pw-footer__legal { display: flex; flex-wrap: wrap; gap: .3rem 0; }
.pw-footer__legal a { padding: 0 .8rem; border-left: 1px solid rgba(255, 255, 255, .22); line-height: 1.2; opacity: .75; }
.pw-footer__legal a:first-child { border-left: 0; padding-left: 0; }
@media (max-width: 760px) { .pw-footer__bottom { flex-direction: column-reverse; } }
@media (max-width: 960px) { .pw-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .pw-footer__grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   13. Generated pages, contact form, consent banner
   ========================================================================== */
.pw-updated { color: var(--pw-muted); font-size: .92rem; }
.pw-contact-block { padding: 1.3rem 1.5rem; background: var(--pw-surface); border: 1px solid var(--pw-border); border-radius: var(--pw-radius); line-height: 1.75; }
.pw-cat-list { columns: 2; column-gap: 2rem; }

.pw-page__content:has(.pw-contact) { max-width: none; }
.pw-contact { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(1.5rem, 3vw, 2.5rem); align-items: start; margin: 2rem 0; }
.pw-contact__card { padding: 2rem; border-radius: var(--pw-radius); background: var(--pw-hero-bg); line-height: 1.6; }
.pw-contact__card h2 { font-size: 1.6rem; margin: 1rem 0 .5rem; }
.pw-contact__card p { font-size: .97rem; color: var(--pw-muted); }
.pw-contact__icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--pw-button-bg); color: var(--pw-button-text); }
.pw-prose .pw-contact__email a { font-weight: 700; font-size: 1.05rem; color: var(--pw-text); text-decoration: none; overflow-wrap: anywhere; }
.pw-contact__biz, .pw-contact__extra { padding-top: 1rem; border-top: 1px solid rgba(var(--pw-text-rgb), .1); }
.pw-contact__form-wrap { padding: clamp(1.4rem, 3vw, 2.2rem); background: var(--pw-surface); border: 1px solid var(--pw-border); border-radius: var(--pw-radius); box-shadow: var(--pw-shadow-sm); }
.pw-contact-form { display: grid; gap: 1.1rem; }
.pw-contact-form p { margin: 0; }
.pw-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.pw-field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .35rem; }
.pw-field label span { color: var(--pw-accent); }
.pw-field.has-error input, .pw-field.has-error textarea { border-color: #c0392b; }
.pw-field__error { display: block; color: #b42318; font-size: .84rem; margin-top: .3rem; }
.pw-form-note { font-size: .85rem; color: var(--pw-muted); }
.pw-contact-form .pw-btn { justify-self: start; }
.pw-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.pw-alert { padding: 1rem 1.2rem; border-radius: calc(var(--pw-radius) * .6); margin-bottom: 1.2rem; font-size: .95rem; line-height: 1.5; }
.pw-alert strong { display: block; }
.pw-alert--success { background: #ecf7ef; border: 1px solid #b7e1c1; color: #1e5b2f; }
.pw-alert--error { background: #fdf0ef; border: 1px solid #f2c4bf; color: #8c2a1e; }
@media (max-width: 860px) { .pw-contact { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .pw-form-row { grid-template-columns: 1fr; } }

.pw-consent { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 999; display: flex; justify-content: center; }
.pw-consent[hidden] { display: none; }
.pw-consent__inner { display: flex; align-items: center; gap: 1.2rem 1.6rem; max-width: 960px; width: 100%; padding: 1.1rem 1.4rem; background: var(--pw-surface); border: 1px solid var(--pw-border); border-radius: var(--pw-radius); box-shadow: 0 20px 50px -18px rgba(var(--pw-text-rgb), .45); animation: pw-drop .3s var(--pw-ease); }
.pw-consent__text { margin: 0; font-size: .92rem; line-height: 1.5; }
.pw-consent__actions { display: flex; gap: .5rem; flex-shrink: 0; }
.pw-consent .pw-btn { padding: .7em 1.2em; font-size: .86rem; }
@media (max-width: 680px) { .pw-consent__inner { flex-direction: column; align-items: stretch; } .pw-consent__actions { justify-content: flex-end; } }

/* ==========================================================================
   14. Advertisement placements (all styles)
   ========================================================================== */
.pw-ad { margin: 2.2rem auto; text-align: center; clear: both; }
.pw-ad__label { display: block; margin-bottom: .4rem; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--pw-muted); }
.pw-ad__unit { display: flex; justify-content: center; }
.pw-ad__unit > * { max-width: 100%; }
.pw-ad--ad-home { margin: 0 auto 3rem; }

/* ==========================================================================
   15. Hero layout: "Centered text + category circles"
   ========================================================================== */
.pw-hero--atelier { text-align: center; }
.pw-hero--atelier .pw-hero__inner { grid-template-columns: 1fr; justify-items: center; gap: 0; }
.pw-hero--atelier .pw-hero__content { max-width: 860px; display: flex; flex-direction: column; align-items: center; }
.pw-hero--atelier .pw-hero__text { margin-inline: auto; }
.pw-hero--atelier .pw-hero-search { width: 100%; }
.pw-hero--atelier .pw-hero__tags { justify-content: center; }
.pw-stitch-line { display: block; width: min(560px, 90%); height: 34px; margin: 2.2rem auto 1.6rem; color: var(--pw-accent); opacity: .7; }
.pw-hero__cats { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.2rem 1.6rem; }
.pw-hero__cat { display: flex; flex-direction: column; align-items: center; gap: .55rem; color: var(--pw-text); width: 104px; }
.pw-hero__cat:hover { color: var(--pw-accent); }
.pw-hero__cat-img { width: 84px; height: 84px; border-radius: 50%; overflow: hidden; display: block; outline: 1.5px dashed rgba(var(--pw-accent-rgb), .55); outline-offset: 5px; transition: outline-color .25s, transform .3s var(--pw-ease); }
.pw-hero__cat-img img { width: 100%; height: 100%; object-fit: cover; }
.pw-hero__cat-img.is-placeholder img { object-fit: contain; padding: 18%; }
.pw-hero__cat:hover .pw-hero__cat-img { outline-color: var(--pw-accent); transform: translateY(-3px); }
.pw-hero__cat-name { font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; line-height: 1.3; }
@media (max-width: 560px) { .pw-hero__cat { width: 84px; } .pw-hero__cat-img { width: 64px; height: 64px; } .pw-hero__cat-name { font-size: .7rem; } }

/* ==========================================================================
   16. Header layout: logo centered, menu below
   ========================================================================== */
.pw-header-centered .pw-header__inner {
	display: grid; grid-template-columns: 1fr auto 1fr; grid-template-areas: ". brand actions" "nav nav nav";
	gap: .6rem 1rem; min-height: 0; padding-top: 1rem;
}
.pw-header-centered .pw-brand { grid-area: brand; display: flex; flex-direction: column; align-items: center; }
.pw-header-centered .pw-header__actions { grid-area: actions; justify-self: end; margin: 0; }
.pw-header-centered .pw-nav { grid-area: nav; margin: 0; display: flex; justify-content: center; border-top: 1px solid var(--pw-border); padding: .35rem 0; }
@media (max-width: 960px) {
	.pw-header-centered .pw-header__inner { grid-template-columns: 1fr auto; grid-template-areas: "brand actions"; padding-top: .5rem; padding-bottom: .5rem; }
	.pw-header-centered .pw-brand { align-items: flex-start; }
	.pw-header-centered .pw-nav { border-top: 0; display: none; padding: .75rem var(--pw-gutter) 1.5rem; }
	.pw-header-centered .pw-nav.is-open { display: block; }
}

/* ==========================================================================
   17. Design style: ATELIER
   Airy, light, "stitched" details: dashed thread lines, framed photos,
   tailored buttons, centered sections and a light footer.
   ========================================================================== */
.pw-style-atelier { --pw-shadow: 0 18px 40px -24px rgba(var(--pw-text-rgb), .35); }
.pw-style-atelier h1, .pw-style-atelier h2, .pw-style-atelier h3, .pw-style-atelier h4 { font-weight: 600; letter-spacing: -.005em; }
.pw-style-atelier h1 em, .pw-style-atelier h2 em, .pw-style-atelier .pw-page-title em { font-weight: 500; }

/* Navigation: small caps with a thread underline */
.pw-style-atelier .pw-menu a { border-radius: 0; font-size: .78rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; padding: .8em 1.1em; background: linear-gradient(var(--pw-accent), var(--pw-accent)) center calc(100% - .45em) / 0 1.5px no-repeat; transition: background-size .3s var(--pw-ease), color .2s; }
.pw-style-atelier .pw-menu > li > a:hover, .pw-style-atelier .pw-menu > .current-menu-item > a, .pw-style-atelier .pw-menu > .current-menu-ancestor > a { background-color: transparent; background-size: calc(100% - 2.2em) 1.5px; color: var(--pw-accent); }
.pw-style-atelier .pw-menu .sub-menu { border-radius: 6px; grid-template-columns: 1fr 1fr; padding: .8rem; border-top: 2px solid var(--pw-accent); }
.pw-style-atelier .pw-menu .sub-menu a { letter-spacing: .08em; font-size: .74rem; background: none; border-radius: 4px; }
.pw-style-atelier .pw-icon-btn { border-radius: 6px; }
.pw-style-atelier .pw-header { border-bottom: 1px solid var(--pw-border); }
@media (max-width: 960px) { .pw-style-atelier .pw-menu a { font-size: .86rem; } }

/* Buttons: tailored, uppercase */
.pw-style-atelier .pw-btn, .pw-style-atelier .wp-block-button__link, .pw-style-atelier input[type="submit"] { border-radius: 4px; text-transform: uppercase; letter-spacing: .14em; font-size: .74rem; padding: 1.05em 1.9em; }
.pw-style-atelier .pw-btn--ghost { border-color: var(--pw-accent); color: var(--pw-accent); }
.pw-style-atelier .pw-btn--ghost:hover { background: var(--pw-accent); border-color: var(--pw-accent); color: #fff; }
.pw-style-atelier .pw-searchform input[type="search"], .pw-style-atelier .pw-searchform button { border-radius: 4px; }

/* Hero */
.pw-style-atelier .pw-hero {
	background:
		radial-gradient(rgba(var(--pw-accent-rgb), .16) 1px, transparent 1.5px) 0 0 / 22px 22px,
		linear-gradient(180deg, var(--pw-hero-bg), var(--pw-bg));
	border-bottom: 1px dashed rgba(var(--pw-accent-rgb), .45);
}
.pw-style-atelier .pw-hero__title { font-size: clamp(2.6rem, 5.6vw, 4.8rem); line-height: 1.02; }
.pw-style-atelier .pw-hero__eyebrow { letter-spacing: .24em; }
.pw-style-atelier .pw-hero-search { border-radius: 6px; box-shadow: 0 0 0 1px var(--pw-border), 0 14px 34px -22px rgba(var(--pw-text-rgb), .4); }
.pw-style-atelier .pw-hero-search .pw-btn, .pw-style-atelier button[type="submit"].pw-btn { padding: 1.05em 1.6em; border-radius: 4px; }
.pw-style-atelier .pw-hero__tags a { border-radius: 4px; background: var(--pw-surface); border-style: dashed; }
.pw-style-atelier .pw-dot { background: var(--pw-accent); box-shadow: 0 0 0 4px rgba(var(--pw-accent-rgb), .18); }

/* Section headings: centered with stitched eyebrow */
.pw-style-atelier .pw-section__head { flex-direction: column; align-items: center; text-align: center; gap: 1rem; }
.pw-style-atelier .pw-section__intro { margin-inline: auto; }
.pw-style-atelier .pw-section__desc { margin-inline: auto; }
.pw-style-atelier .pw-eyebrow { letter-spacing: .22em; }
.pw-style-atelier .pw-section__head .pw-eyebrow::after, .pw-style-atelier .pw-about .pw-eyebrow::after { content: ""; width: 22px; height: 0; border-top: 1.5px dashed currentColor; }
.pw-style-atelier .pw-section__head .pw-eyebrow::before, .pw-style-atelier .pw-about .pw-eyebrow::before { height: 0; background: none; border-top: 1.5px dashed currentColor; opacity: 1; }
.pw-style-atelier .pw-section__meta { font-style: normal; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-family: var(--pw-font-body); }
.pw-style-atelier .pw-cat-section { border-top: 1px dashed rgba(var(--pw-accent-rgb), .4); }
.pw-style-atelier .pw-cat-section.is-alt { background: var(--pw-surface); }

/* Category tiles: stitched circles */
.pw-style-atelier .tone-1, .pw-style-atelier .tone-3, .pw-style-atelier .tone-5 { background-color: var(--pw-surface); }
.pw-style-atelier .tone-2, .pw-style-atelier .tone-4, .pw-style-atelier .tone-6 { background-color: var(--pw-soft); }
.pw-style-atelier .pw-tile { align-items: center; text-align: center; }
.pw-style-atelier .pw-tile__media { outline: 1.5px dashed rgba(var(--pw-accent-rgb), .55); outline-offset: 6px; box-shadow: 0 0 0 1px var(--pw-border); transition: outline-color .3s, outline-offset .3s var(--pw-ease); }
.pw-style-atelier .pw-tile:hover .pw-tile__media { transform: none; box-shadow: 0 0 0 1px var(--pw-border); outline-color: var(--pw-accent); outline-offset: 9px; }
.pw-style-atelier .pw-tile:hover .pw-tile__media img { transform: rotate(-4deg) scale(1.04); }
.pw-style-atelier .pw-tile__label { align-items: center; margin-top: .4rem; }
.pw-style-atelier .pw-tile__name { justify-content: center; font-size: 1.18rem; }
.pw-style-atelier .pw-arrow { display: none; }
.pw-style-atelier .pw-tile__count { letter-spacing: .1em; text-transform: uppercase; font-size: .68rem; }

/* Pattern cards: photos framed like prints */
.pw-style-atelier .pw-card__frame { background: var(--pw-surface); padding: 8px; border-radius: calc(var(--pw-radius) + 4px); border: 1px solid var(--pw-border); box-shadow: 0 1px 2px rgba(var(--pw-text-rgb), .04); transition: transform .35s var(--pw-ease), box-shadow .35s var(--pw-ease), border-color .3s; }
.pw-style-atelier .pw-card:hover .pw-card__frame { transform: translateY(-5px); box-shadow: var(--pw-shadow); border-color: rgba(var(--pw-accent-rgb), .45); }
.pw-style-atelier .pw-card:hover .pw-card__media img { transform: none; }
.pw-style-atelier .pw-card__media::after { display: none; }
.pw-style-atelier .pw-card__body { text-align: center; padding-top: 1.1rem; }
.pw-style-atelier .pw-card__cat { font-size: .66rem; letter-spacing: .2em; }
.pw-style-atelier .pw-card__title { font-size: 1.28rem; line-height: 1.25; }
.pw-style-atelier .pw-card__title a { background-image: none; transition: color .2s; }
.pw-style-atelier .pw-card:hover .pw-card__title a { color: var(--pw-accent); }
.pw-style-atelier .pw-pin { top: 1rem; right: 1rem; }

/* About band */
.pw-style-atelier .pw-about { background: var(--pw-surface); border-top: 1px dashed rgba(var(--pw-accent-rgb), .4); }
.pw-style-atelier .pw-about__media { border-radius: var(--pw-radius); aspect-ratio: 1; outline: 1.5px dashed rgba(var(--pw-accent-rgb), .55); outline-offset: 10px; background-color: var(--pw-soft); }

/* Category / page headers */
.pw-style-atelier .pw-page-head {
	background: radial-gradient(rgba(var(--pw-accent-rgb), .14) 1px, transparent 1.5px) 0 0 / 22px 22px, var(--pw-hero-bg);
	border-bottom: 1px dashed rgba(var(--pw-accent-rgb), .45);
}
.pw-style-atelier .pw-page-head__media { border: 0; outline: 1.5px dashed rgba(var(--pw-accent-rgb), .6); outline-offset: 6px; background-color: var(--pw-surface); }
.pw-style-atelier .pw-chip { border-radius: 4px; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.pw-style-atelier .pw-chip.is-active { background: var(--pw-accent); border-color: var(--pw-accent); color: #fff; }
.pw-style-atelier .page-numbers { border-radius: 4px; }

/* Article */
.pw-style-atelier .pw-single__head { border-bottom: 1px dashed rgba(var(--pw-accent-rgb), .4); margin-bottom: 2.5rem; padding-bottom: 2.4rem; background: linear-gradient(180deg, var(--pw-hero-bg), var(--pw-bg)); }
.pw-style-atelier .pw-pill { background: transparent; border: 1px solid var(--pw-accent); border-radius: 4px; letter-spacing: .16em; font-size: .68rem; }
.pw-style-atelier .pw-single__title { font-size: clamp(2.4rem, 5.2vw, 4rem); }
.pw-style-atelier .pw-single__hero .pw-pin-wrap { padding: 12px; background: var(--pw-surface); border: 1px solid var(--pw-border); border-radius: calc(var(--pw-radius) + 6px); box-shadow: var(--pw-shadow); }
.pw-style-atelier .pw-single__hero img { box-shadow: none; border-radius: var(--pw-radius); }
.pw-style-atelier .pw-single__hero .pw-pin--big { top: 1.6rem; right: 1.6rem; }
.pw-style-atelier .pw-prose h2 { padding-bottom: .4rem; border-bottom: 1.5px dashed rgba(var(--pw-accent-rgb), .45); }
.pw-style-atelier .pw-prose blockquote { border-left-style: dashed; background: var(--pw-soft); }
.pw-style-atelier .pw-sidebar .widget { border-radius: var(--pw-radius); border-style: dashed; border-color: rgba(var(--pw-accent-rgb), .45); }
.pw-style-atelier .pw-side-cats__img { border-radius: 50%; }
.pw-style-atelier .post-navigation a { border-style: dashed; }
.pw-style-atelier .pw-related { border-top: 1px dashed rgba(var(--pw-accent-rgb), .4); }

/* Contact */
.pw-style-atelier .pw-contact__card { border: 1px dashed rgba(var(--pw-accent-rgb), .55); }
.pw-style-atelier .pw-contact__icon { border-radius: 8px; }

/* Footer: light, stitched */
.pw-style-atelier .pw-footer { border-top: 2px dashed rgba(var(--pw-accent-rgb), .5); }
.pw-style-atelier .pw-footer a { opacity: 1; color: var(--pw-footer-text); }
.pw-style-atelier .pw-footer a:hover { color: var(--pw-accent); }
.pw-style-atelier .pw-footer__about, .pw-style-atelier .pw-footer__copy { opacity: .85; }
.pw-style-atelier .pw-footer .widget-title { opacity: 1; color: var(--pw-accent); }
.pw-style-atelier .pw-footer .pw-searchform input[type="search"] { background: var(--pw-surface); border-color: var(--pw-border); color: var(--pw-text); }
.pw-style-atelier .pw-footer .pw-searchform input::placeholder { color: var(--pw-muted); opacity: 1; }
.pw-style-atelier .pw-footer__bottom { border-top: 1px dashed rgba(var(--pw-accent-rgb), .45); }
.pw-style-atelier .pw-footer__legal a { border-left-color: rgba(var(--pw-text-rgb), .2); opacity: 1; }
.pw-style-atelier .pw-brand__icon { background: var(--pw-surface); border: 1px solid var(--pw-border); width: 46px; height: 46px; border-radius: 50%; }

/* ==========================================================================
   18. Top bar, "split" header, "mosaic" hero (all styles)
   ========================================================================== */
.pw-topbar { background: var(--pw-button-bg); color: var(--pw-button-text); text-align: center; font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; padding: .55rem 0; }
.pw-header-split .pw-header__inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.pw-header-split .pw-nav { margin: 0; justify-self: center; }
.pw-header-split .pw-header__actions { justify-self: end; margin: 0; }
@media (max-width: 960px) { .pw-header-split .pw-header__inner { grid-template-columns: 1fr auto; } }

.pw-hero--mosaic .pw-hero__inner { grid-template-columns: 1.05fr .95fr; }
.pw-mosaic { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; align-items: start; max-width: 520px; margin-left: auto; width: 100%; }
.pw-mosaic__item { position: relative; display: block; overflow: hidden; border-radius: calc(var(--pw-radius) * 1.2); box-shadow: 0 24px 48px -26px rgba(var(--pw-text-rgb), .5); background: var(--pw-surface); }
.pw-mosaic__item img { width: 100%; height: auto; display: block; transition: transform .6s var(--pw-ease); }
.pw-mosaic__item--2 { margin-top: 3.5rem; }
.pw-mosaic__item:hover img { transform: scale(1.03); }
.pw-mosaic__title { position: absolute; left: .6rem; right: .6rem; bottom: .6rem; padding: .5rem .7rem; border-radius: 10px; background: rgba(255, 255, 255, .92); color: var(--pw-text); font-size: .78rem; font-weight: 600; line-height: 1.3; opacity: 0; transform: translateY(6px); transition: opacity .25s, transform .25s; }
.pw-mosaic__item:hover .pw-mosaic__title, .pw-mosaic__item:focus-visible .pw-mosaic__title { opacity: 1; transform: none; }
.pw-mosaic.is-empty .pw-mosaic__item { aspect-ratio: 3 / 4; display: grid; place-items: center; }
.pw-mosaic.is-empty .pw-placeholder { width: 60%; height: auto; }
.pw-mosaic__badge { position: absolute; left: -1rem; bottom: 1.5rem; padding: .7rem 1.2rem; border-radius: 999px; background: var(--pw-surface); box-shadow: var(--pw-shadow); font-weight: 700; font-size: .85rem; }
@media (max-width: 900px) { .pw-hero--mosaic .pw-hero__inner { grid-template-columns: 1fr; } .pw-mosaic { margin: 0 auto; max-width: 420px; } .pw-mosaic__badge { left: .5rem; } }

/* ==========================================================================
   19. Design style: BOUTIQUE
   Warm editorial: top bar, numbered sections, arch tiles with labels,
   rich caramel footer, articles with the photo beside the title.
   ========================================================================== */
.pw-style-boutique { counter-reset: pwsec; }
.pw-style-boutique h1, .pw-style-boutique h2, .pw-style-boutique h3, .pw-style-boutique h4 { font-weight: 400; letter-spacing: -.01em; }
.pw-style-boutique h1 em, .pw-style-boutique h2 em, .pw-style-boutique .pw-page-title em { font-style: italic; }

/* Header & navigation */
.pw-style-boutique .pw-header { border-bottom: 0; box-shadow: 0 1px 0 var(--pw-border); }
.pw-style-boutique .pw-menu > li > a { font-size: .86rem; font-weight: 600; letter-spacing: .02em; border-radius: 0; background: none; position: relative; }
.pw-style-boutique .pw-menu > li > a::before { content: ""; position: absolute; left: 50%; bottom: .15rem; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--pw-button-bg); transform: scale(0); transition: transform .25s var(--pw-ease); }
.pw-style-boutique .pw-menu > li > a:hover, .pw-style-boutique .pw-menu > .current-menu-item > a, .pw-style-boutique .pw-menu > .current-menu-ancestor > a { background: none; color: var(--pw-accent); }
.pw-style-boutique .pw-menu > li > a:hover::before, .pw-style-boutique .pw-menu > .current-menu-item > a::before { transform: scale(1); }
.pw-style-boutique .pw-menu .sub-menu { border-radius: 16px; border: 0; box-shadow: 0 24px 50px -20px rgba(var(--pw-text-rgb), .35); }
.pw-style-boutique .pw-icon-btn { background: var(--pw-soft); border-color: transparent; }
@media (max-width: 960px) { .pw-style-boutique .pw-menu > li > a::before { display: none; } }

/* Buttons */
.pw-style-boutique .pw-btn, .pw-style-boutique .wp-block-button__link, .pw-style-boutique input[type="submit"] { font-weight: 600; letter-spacing: .02em; padding: .95em 1.7em; box-shadow: 0 10px 22px -12px rgba(var(--pw-accent-rgb), .8); }
.pw-style-boutique .pw-btn:hover { transform: translateY(-2px); }
.pw-style-boutique .pw-btn--ghost, .pw-style-boutique .pw-view-all { background: none; border: 0; box-shadow: none; padding: .3em 0; color: var(--pw-text); border-bottom: 2px solid var(--pw-button-bg); border-radius: 0; }
.pw-style-boutique .pw-btn--ghost:hover, .pw-style-boutique .pw-view-all:hover { background: none; color: var(--pw-accent); transform: none; }

/* Hero */
.pw-style-boutique .pw-hero { background: radial-gradient(60% 90% at 85% 30%, rgba(var(--pw-accent-rgb), .16), transparent 70%), var(--pw-hero-bg); }
.pw-style-boutique .pw-hero__title { font-size: clamp(2.7rem, 5.6vw, 4.9rem); line-height: 1.02; }
.pw-style-boutique .pw-hero__eyebrow { background: var(--pw-surface); padding: .5em 1em; border-radius: 999px; box-shadow: var(--pw-shadow-sm); }
.pw-style-boutique .pw-hero-search { box-shadow: 0 18px 40px -22px rgba(var(--pw-accent-rgb), .7); }
.pw-style-boutique .pw-hero__tags a { background: transparent; border-color: rgba(var(--pw-accent-rgb), .4); }

/* Numbered section headings */
.pw-style-boutique .pw-cat-section { counter-increment: pwsec; border-top: 0; }
.pw-style-boutique .pw-cat-section.is-alt { background: var(--pw-surface); }
.pw-style-boutique .pw-cat-section .pw-section__intro { position: relative; padding-left: 5.2rem; }
.pw-style-boutique .pw-cat-section .pw-section__intro::before { content: counter(pwsec, decimal-leading-zero); position: absolute; left: 0; top: -.2rem; font-family: var(--pw-font-heading); font-size: 4.2rem; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(var(--pw-accent-rgb), .75); }
.pw-style-boutique .pw-eyebrow::before { width: 8px; height: 8px; border-radius: 50%; background: var(--pw-button-bg); opacity: 1; }
@media (max-width: 640px) { .pw-style-boutique .pw-cat-section .pw-section__intro { padding-left: 0; padding-top: 3.4rem; } .pw-style-boutique .pw-cat-section .pw-section__intro::before { font-size: 3rem; } }

/* Category tiles: arches with labels */
.pw-style-boutique .tone-1, .pw-style-boutique .tone-4 { background-color: var(--pw-soft); }
.pw-style-boutique .tone-2, .pw-style-boutique .tone-5 { background-color: var(--pw-hero-bg); }
.pw-style-boutique .tone-3, .pw-style-boutique .tone-6 { background-color: var(--pw-surface); }
.pw-style-boutique .pw-tile__media { box-shadow: inset 0 0 0 1px rgba(var(--pw-accent-rgb), .18); }
.pw-style-boutique .pw-tile:hover .pw-tile__media { box-shadow: 0 22px 40px -22px rgba(var(--pw-accent-rgb), .9); }
.pw-style-boutique .pw-tiles--label-overlay .pw-tile__label { left: 50%; right: auto; bottom: .8rem; transform: translateX(-50%); width: max-content; max-width: 88%; text-align: center; border-radius: 999px; padding: .45rem .95rem; }
.pw-style-boutique .pw-tiles--label-overlay .pw-tile:hover .pw-tile__label { transform: translate(-50%, -4px); background: var(--pw-button-bg); color: var(--pw-button-text); }
.pw-style-boutique .pw-tiles--label-overlay .pw-tile:hover .pw-tile__count { color: inherit; }
.pw-style-boutique .pw-tile__name { font-size: .95rem; justify-content: center; }
.pw-style-boutique .pw-arrow { display: none; }
.pw-style-boutique .pw-tile__count { font-size: .7rem; }
/* Keep the drawing in the upper part of the arch, above the label. */
.pw-style-boutique .pw-tiles--label-overlay .pw-tile__media.is-placeholder img { padding: 16% 22% 44%; }
@media (max-width: 480px) {
	.pw-style-boutique .pw-tiles--label-overlay .pw-tile__label,
	.pw-style-boutique .pw-tiles--label-overlay .pw-tile:hover .pw-tile__label { left: auto; transform: none; width: auto; max-width: none; background: none; color: inherit; padding: 0; }
	.pw-style-boutique .pw-tiles--label-overlay .pw-tile__media.is-placeholder img { padding: 16%; }
	.pw-style-boutique .pw-tile__name { font-size: .85rem; }
}
@media (max-width: 560px) { .pw-topbar { font-size: .64rem; letter-spacing: .1em; } }

/* Pattern cards */
.pw-style-boutique .pw-card__media { border-radius: calc(var(--pw-radius) * 1.25); transition: transform .35s var(--pw-ease), box-shadow .35s var(--pw-ease); }
.pw-style-boutique .pw-card:hover .pw-card__media { transform: translateY(-6px); box-shadow: 0 26px 44px -26px rgba(var(--pw-accent-rgb), .95); }
.pw-style-boutique .pw-card:hover .pw-card__media img { transform: none; }
.pw-style-boutique .pw-card__media::after { display: none; }
.pw-style-boutique .pw-card__cat { padding: .3em .8em; border-radius: 999px; background: var(--pw-soft); letter-spacing: .08em; font-size: .66rem; }
.pw-style-boutique .pw-card__title { font-size: 1.3rem; line-height: 1.22; }
.pw-style-boutique .pw-card__title a { background-image: linear-gradient(var(--pw-button-bg), var(--pw-button-bg)); background-size: 0 2px; }
.pw-style-boutique .pw-pin { left: .7rem; right: auto; }

/* About band: image on the right */
.pw-style-boutique .pw-about { background: var(--pw-hero-bg); }
.pw-style-boutique .pw-about__inner { grid-template-columns: 1.15fr .85fr; }
.pw-style-boutique .pw-about__media { order: 2; margin-left: auto; }
@media (max-width: 860px) { .pw-style-boutique .pw-about__inner { grid-template-columns: 1fr; } .pw-style-boutique .pw-about__media { order: 0; margin: 0 auto; } }

/* Category / page headers */
.pw-style-boutique .pw-page-head { background: radial-gradient(50% 120% at 90% 50%, rgba(var(--pw-accent-rgb), .16), transparent 70%), var(--pw-hero-bg); }
.pw-style-boutique .pw-page-head__media { border-radius: 999px 999px 24px 24px; aspect-ratio: 4 / 5; border-width: 5px; }
.pw-style-boutique .pw-chip.is-active { background: var(--pw-button-bg); border-color: var(--pw-button-bg); color: var(--pw-button-text); }

/* Article: title beside the (full, uncropped) featured image */
.pw-style-boutique .pw-single__top { box-shadow: 0 0 0 100vmax var(--pw-hero-bg); clip-path: inset(0 -100vmax); background: var(--pw-hero-bg); margin-bottom: 3rem; }
@media (min-width: 900px) {
	.pw-style-boutique .pw-single__top.has-image { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 3.5rem; align-items: center; max-width: 1180px; margin-inline: auto; padding: 3rem var(--pw-gutter) 3.5rem; }
	.pw-style-boutique .pw-single__top.has-image > * { max-width: none; padding: 0; margin: 0; }
	.pw-style-boutique .pw-single__top.has-image .pw-single__head { text-align: left; }
	.pw-style-boutique .pw-single__top.has-image .pw-crumbs, .pw-style-boutique .pw-single__top.has-image .pw-single__meta { justify-content: flex-start; }
	.pw-style-boutique .pw-single__top.has-image .pw-single__lede { margin-inline: 0; }
	.pw-style-boutique .pw-single__top.has-image .pw-pin-wrap { max-width: 100%; }
}
.pw-style-boutique .pw-single__top .pw-single__hero { margin-bottom: 0; padding-bottom: 2.5rem; }
.pw-style-boutique .pw-single__hero img { border-radius: 24px; box-shadow: 0 30px 60px -30px rgba(var(--pw-accent-rgb), .9); }
.pw-style-boutique .pw-single__title { font-size: clamp(2.4rem, 4.8vw, 3.9rem); }
.pw-style-boutique .pw-pill { background: var(--pw-button-bg); color: var(--pw-button-text); }
.pw-style-boutique .pw-prose h2 { font-size: 2rem; }
.pw-style-boutique .pw-prose h2::before { content: ""; display: block; width: 36px; height: 3px; border-radius: 3px; background: var(--pw-button-bg); margin-bottom: .7rem; }
.pw-style-boutique .pw-prose blockquote { border-left: 0; border-radius: 20px; background: var(--pw-hero-bg); }
.pw-style-boutique .pw-sidebar .widget { border: 0; background: var(--pw-soft); border-radius: 20px; }

/* Footer: rich caramel */
.pw-style-boutique .pw-footer { border-radius: 40px 40px 0 0; }
.pw-style-boutique .pw-footer .widget-title { color: var(--pw-footer-text); opacity: .65; }
.pw-style-boutique .pw-footer a { opacity: .9; }
.pw-style-boutique .pw-brand__icon { background: var(--pw-footer-text); border-radius: 14px; }
.pw-style-boutique .pw-footer .pw-searchform button { background: var(--pw-footer-text); color: var(--pw-footer-bg); }

/* ==========================================================================
   20. Bento hero, pill category buttons, reading progress (all styles)
   ========================================================================== */
.pw-hero--bento .pw-hero__inner { grid-template-columns: 1.05fr .95fr; }
.pw-bento { display: grid; grid-template-columns: 1.05fr 1fr; grid-template-rows: 1fr 1fr; gap: 1rem; }
.pw-bento__pin { grid-row: span 2; position: relative; display: block; overflow: hidden; border-radius: 28px; background: var(--pw-surface); box-shadow: 0 30px 60px -34px rgba(var(--pw-accent-rgb), .9); }
.pw-bento__pin img { display: block; width: 100%; height: auto; }
.pw-bento__pin.is-empty { display: grid; place-items: center; min-height: 380px; }
.pw-bento__pin.is-empty img { width: 60%; }
.pw-bento__label { position: absolute; top: .8rem; left: .8rem; z-index: 2; padding: .35rem .8rem; border-radius: 999px; background: var(--pw-surface); font-size: .72rem; font-weight: 800; letter-spacing: .04em; color: var(--pw-accent); box-shadow: var(--pw-shadow-sm); }
.pw-bento__title { position: absolute; left: .8rem; right: .8rem; bottom: .8rem; padding: .6rem .8rem; border-radius: 16px; background: rgba(255, 255, 255, .94); color: var(--pw-text); font-weight: 700; font-size: .86rem; line-height: 1.3; }
.pw-bento__cat { display: flex; flex-direction: column; justify-content: space-between; gap: .6rem; padding: 1.2rem; border-radius: 28px; background: var(--pw-surface); color: var(--pw-text); box-shadow: var(--pw-shadow-sm); transition: transform .3s var(--pw-ease), box-shadow .3s; }
.pw-bento__cat--2 { background: var(--pw-button-bg); color: var(--pw-button-text); }
.pw-bento__cat:hover { transform: translateY(-4px) rotate(-1deg); box-shadow: var(--pw-shadow); color: inherit; }
.pw-bento__cat--2:hover { color: var(--pw-button-text); }
.pw-bento__cat-img { width: 64px; height: 64px; border-radius: 20px; overflow: hidden; background: var(--pw-soft); display: grid; place-items: center; }
.pw-bento__cat-img img { width: 100%; height: 100%; object-fit: cover; }
.pw-bento__cat-img.is-placeholder img { object-fit: contain; padding: 14%; }
.pw-bento__cat-name { font-family: var(--pw-font-heading); font-weight: 700; font-size: 1.25rem; line-height: 1.15; }
.pw-bento__cat-count { display: inline-flex; align-items: center; gap: .4rem; font-size: .8rem; font-weight: 700; opacity: .8; }
@media (max-width: 900px) { .pw-hero--bento .pw-hero__inner { grid-template-columns: 1fr; } .pw-bento { max-width: 520px; width: 100%; margin: 0 auto; } }
@media (max-width: 480px) { .pw-bento { gap: .7rem; } .pw-bento__cat { padding: .9rem; border-radius: 22px; } .pw-bento__cat-name { font-size: 1.02rem; } .pw-bento__cat-img { width: 48px; height: 48px; border-radius: 14px; } }

.pw-tiles--pill { --pw-tile-gap: .9rem; }
.pw-tiles--pill .pw-tile { flex-direction: row; align-items: center; gap: .9rem; padding: .55rem 1.2rem .55rem .55rem; border-radius: 999px; background: var(--pw-surface); box-shadow: 0 0 0 1px var(--pw-border); transition: box-shadow .3s, transform .3s var(--pw-ease), background .3s; }
.pw-tiles--pill .pw-tile__media { width: 56px; height: 56px; flex-shrink: 0; border-radius: 50%; aspect-ratio: 1; }
.pw-tiles--pill .pw-tile__media.is-placeholder img { padding: 14%; }
.pw-tiles--pill .pw-tile__label { position: static; padding: 0; background: none; box-shadow: none; min-width: 0; }
.pw-tiles--pill .pw-tile__name { font-size: 1rem; }
.pw-tiles--pill .pw-arrow { display: none; }
.pw-tiles--pill .pw-tile:hover { transform: translateY(-3px); box-shadow: 0 0 0 2px var(--pw-button-bg), var(--pw-shadow); }
.pw-tiles--pill .pw-tile:hover .pw-tile__media { transform: none; box-shadow: none; }
@media (max-width: 1100px) { .pw-tiles--pill { --pw-cols: min(var(--pw-browse-cols), 3); } }
@media (max-width: 760px) { .pw-tiles--pill { --pw-cols: 2; } }
@media (max-width: 480px) { .pw-tiles--pill .pw-tile { padding-right: .7rem; gap: .6rem; } .pw-tiles--pill .pw-tile__media { width: 44px; height: 44px; } .pw-tiles--pill .pw-tile__name { font-size: .88rem; } }

.pw-progress { position: fixed; top: 0; left: 0; right: 0; height: 4px; z-index: 1000; background: linear-gradient(90deg, var(--pw-button-bg), var(--pw-accent)); transform: scaleX(0); transform-origin: 0 50%; }
.admin-bar .pw-progress { top: 32px; }

/* ==========================================================================
   21. Design style: BLOOM
   Soft & playful: floating pill header with a segmented menu, rounded sans
   headings with a marker highlight, sections as rounded cards, pill category
   buttons, tilted hovers and an inset plum footer.
   ========================================================================== */
.pw-style-bloom { background: radial-gradient(70% 40% at 100% 0%, rgba(var(--pw-accent-rgb), .12), transparent 70%), var(--pw-bg); }
.pw-style-bloom h1, .pw-style-bloom h2, .pw-style-bloom h3, .pw-style-bloom h4 { font-weight: 700; letter-spacing: -.02em; }
.pw-style-bloom h1 em, .pw-style-bloom h2 em, .pw-style-bloom .pw-page-title em {
	font-style: normal; color: inherit;
	background: linear-gradient(transparent 58%, rgba(var(--pw-accent-rgb), .32) 58%, rgba(var(--pw-accent-rgb), .32) 92%, transparent 92%);
	padding: 0 .08em; -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

/* Floating header */
.pw-style-bloom .pw-header { background: transparent; border: 0; padding: .8rem var(--pw-gutter) 0; }
.pw-style-bloom .pw-header__inner { background: var(--pw-header-bg); border-radius: 999px; box-shadow: 0 10px 30px -18px rgba(var(--pw-text-rgb), .35), 0 0 0 1px var(--pw-border); min-height: 70px; padding-inline: 1.4rem .7rem; max-width: calc(var(--pw-container) - 2 * var(--pw-gutter)); }
.pw-style-bloom .pw-header.is-scrolled { box-shadow: none; }
.pw-style-bloom .pw-header.is-scrolled .pw-header__inner { box-shadow: 0 16px 36px -18px rgba(var(--pw-text-rgb), .45), 0 0 0 1px var(--pw-border); }
.pw-style-bloom .pw-search-panel { border: 0; background: transparent; }
.pw-style-bloom .pw-menu { background: var(--pw-soft); border-radius: 999px; padding: .3rem; gap: .1rem; }
.pw-style-bloom .pw-menu > li > a { font-weight: 700; font-size: .9rem; padding: .55em 1.05em; }
.pw-style-bloom .pw-menu > li > a:hover { background: rgba(255, 255, 255, .7); color: var(--pw-text); }
.pw-style-bloom .pw-menu > .current-menu-item > a, .pw-style-bloom .pw-menu > .current-menu-ancestor > a { background: var(--pw-surface); color: var(--pw-text); box-shadow: 0 2px 8px -2px rgba(var(--pw-text-rgb), .2); }
.pw-style-bloom .pw-menu .sub-menu { border-radius: 24px; }
.pw-style-bloom .pw-icon-btn { background: var(--pw-button-bg); color: var(--pw-button-text); border-color: transparent; }
@media (max-width: 960px) {
	.pw-style-bloom .pw-header__inner { padding-inline: 1rem .5rem; min-height: 60px; }
	.pw-style-bloom .pw-nav { top: calc(100% + .5rem); left: var(--pw-gutter); right: var(--pw-gutter); border-radius: 28px; border: 1px solid var(--pw-border); }
	.pw-style-bloom .pw-menu { background: none; padding: 0; }
}

/* Buttons */
.pw-style-bloom .pw-btn, .pw-style-bloom button[type="submit"].pw-btn, .pw-style-bloom .wp-block-button__link, .pw-style-bloom input[type="submit"] { background: linear-gradient(135deg, var(--pw-button-bg), var(--pw-accent)); border: 0; font-weight: 800; padding: .95em 1.7em; box-shadow: 0 12px 24px -14px rgba(var(--pw-accent-rgb), .95); }
.pw-style-bloom .pw-btn:hover, .pw-style-bloom button[type="submit"].pw-btn:hover { background: linear-gradient(135deg, var(--pw-accent), var(--pw-button-hover)); transform: translateY(-2px); }
.pw-style-bloom .pw-btn, .pw-style-bloom .pw-btn:hover { color: #fff; }
.pw-style-bloom .pw-btn--ghost, .pw-style-bloom .pw-view-all { background: var(--pw-surface); color: var(--pw-text); box-shadow: 0 0 0 1.5px var(--pw-border); }
.pw-style-bloom .pw-btn--ghost:hover, .pw-style-bloom .pw-view-all:hover { background: var(--pw-text); color: var(--pw-bg); box-shadow: none; }
.pw-style-bloom .pw-view-all svg { width: 16px; }

/* Hero: a rounded card inside the page */
.pw-style-bloom .pw-hero { background: transparent; padding: 1.4rem 0 1rem; }
.pw-style-bloom .pw-hero__inner { background: radial-gradient(80% 90% at 0% 0%, rgba(255, 255, 255, .75), transparent 60%), linear-gradient(135deg, var(--pw-hero-bg), var(--pw-soft)); border-radius: 40px; padding: clamp(2rem, 5vw, 4rem); box-shadow: 0 0 0 1px var(--pw-border); max-width: calc(var(--pw-container) - 2 * var(--pw-gutter)); }
.pw-style-bloom .pw-hero__title { font-size: clamp(2.4rem, 5vw, 4.2rem); line-height: 1.05; }
.pw-style-bloom .pw-hero__eyebrow { background: var(--pw-surface); padding: .45em 1em; border-radius: 999px; color: var(--pw-text); }
.pw-style-bloom .pw-hero-search { box-shadow: 0 0 0 1px var(--pw-border), 0 18px 34px -22px rgba(var(--pw-accent-rgb), .9); }
.pw-style-bloom .pw-hero__tags a { background: var(--pw-surface); border-color: transparent; font-weight: 600; }
@media (max-width: 560px) { .pw-style-bloom .pw-hero__inner { border-radius: 28px; padding: 1.6rem 1.1rem; } }

/* Sections as rounded cards */
.pw-style-bloom .pw-section { padding: 1rem 0; }
.pw-style-bloom .pw-browse > .pw-container, .pw-style-bloom .pw-cat-section > .pw-container, .pw-style-bloom .pw-related > .pw-container {
	background: var(--pw-surface); border-radius: 40px; padding: clamp(1.6rem, 4vw, 3rem); box-shadow: 0 0 0 1px var(--pw-border);
	max-width: calc(var(--pw-container) - 2 * var(--pw-gutter));
}
.pw-style-bloom .pw-cat-section, .pw-style-bloom .pw-cat-section.is-alt, .pw-style-bloom .pw-related { background: transparent; border: 0; }
.pw-style-bloom .pw-cat-section.is-alt > .pw-container { background: linear-gradient(160deg, var(--pw-surface), var(--pw-soft)); }
.pw-style-bloom .pw-section__head { margin-bottom: 1.8rem; }
.pw-style-bloom .pw-eyebrow { color: var(--pw-accent); background: var(--pw-soft); padding: .4em .9em; border-radius: 999px; letter-spacing: .08em; }
.pw-style-bloom .pw-eyebrow::before { display: none; }
.pw-style-bloom .pw-section__meta { font-family: var(--pw-font-body); font-style: normal; font-weight: 700; }
@media (max-width: 560px) { .pw-style-bloom .pw-browse > .pw-container, .pw-style-bloom .pw-cat-section > .pw-container, .pw-style-bloom .pw-related > .pw-container { border-radius: 28px; margin-inline: .6rem; max-width: none; width: auto; padding: 1.4rem 1rem; } }

/* Tiles & cards */
.pw-style-bloom .tone-1, .pw-style-bloom .tone-3, .pw-style-bloom .tone-5 { background-color: var(--pw-soft); }
.pw-style-bloom .tone-2, .pw-style-bloom .tone-4, .pw-style-bloom .tone-6 { background-color: var(--pw-hero-bg); }
.pw-style-bloom .pw-tile__name { font-weight: 700; font-family: var(--pw-font-heading); }
.pw-style-bloom .pw-card__media { border-radius: 24px; transition: transform .35s var(--pw-ease), box-shadow .35s; }
.pw-style-bloom .pw-card:hover .pw-card__media { transform: rotate(-1.2deg) translateY(-4px); box-shadow: 0 24px 40px -24px rgba(var(--pw-accent-rgb), 1); }
.pw-style-bloom .pw-card:hover .pw-card__media img { transform: none; }
.pw-style-bloom .pw-card__media::after { display: none; }
.pw-style-bloom .pw-card__cat { display: inline-flex; align-items: center; gap: .4em; color: var(--pw-muted); letter-spacing: .06em; }
.pw-style-bloom .pw-card__cat::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--pw-button-bg); }
.pw-style-bloom .pw-card__title { font-weight: 700; font-size: 1.1rem; }
.pw-style-bloom .pw-card__title a { background-image: none; transition: color .2s; }
.pw-style-bloom .pw-card:hover .pw-card__title a { color: var(--pw-accent); }

/* About */
.pw-style-bloom .pw-about { background: transparent; }
.pw-style-bloom .pw-about__inner { background: linear-gradient(135deg, var(--pw-soft), var(--pw-hero-bg)); border-radius: 40px; padding: clamp(1.6rem, 4vw, 3.5rem); max-width: calc(var(--pw-container) - 2 * var(--pw-gutter)); }
.pw-style-bloom .pw-about__media { border-radius: 32px; aspect-ratio: 1; background-color: var(--pw-surface); transform: rotate(-3deg); }
@media (max-width: 560px) { .pw-style-bloom .pw-about__inner { border-radius: 28px; margin-inline: .6rem; max-width: none; width: auto; } }

/* Category / page headers */
.pw-style-bloom .pw-page-head { background: transparent; padding: 1.4rem 0; }
.pw-style-bloom .pw-page-head > .pw-container, .pw-style-bloom .pw-page-head__inner { background: linear-gradient(135deg, var(--pw-hero-bg), var(--pw-soft)); border-radius: 40px; padding: clamp(1.6rem, 4vw, 3rem); max-width: calc(var(--pw-container) - 2 * var(--pw-gutter)); }
.pw-style-bloom .pw-page-head__media { border-radius: 32px; transform: rotate(3deg); }
.pw-style-bloom .pw-chips { border: 0; background: transparent; }
.pw-style-bloom .pw-chip { background: var(--pw-surface); font-weight: 700; }
.pw-style-bloom .pw-chip.is-active { background: var(--pw-button-bg); border-color: var(--pw-button-bg); color: var(--pw-button-text); }

/* Article */
.pw-style-bloom .pw-single__title { font-size: clamp(2.2rem, 4.6vw, 3.5rem); }
.pw-style-bloom .pw-pill { background: var(--pw-soft); color: var(--pw-text); border-radius: 999px; }
.pw-style-bloom .pw-single__hero .pw-pin-wrap { position: relative; }
.pw-style-bloom .pw-single__hero .pw-pin-wrap::before { content: ""; position: absolute; inset: 6% -6% -4% 6%; border-radius: 40px; background: linear-gradient(135deg, var(--pw-button-bg), var(--pw-hero-bg)); transform: rotate(4deg); z-index: -1; opacity: .7; }
.pw-style-bloom .pw-single__hero img { border-radius: 28px; }
.pw-style-bloom .pw-prose h2, .pw-style-bloom .pw-prose h3 { display: inline-block; background: linear-gradient(transparent 60%, rgba(var(--pw-accent-rgb), .25) 60%); padding-inline: .1em; }
.pw-style-bloom .pw-prose blockquote { border: 0; border-radius: 28px; background: var(--pw-soft); font-family: var(--pw-font-heading); font-style: normal; font-weight: 600; }
.pw-style-bloom .pw-sidebar .widget { border-radius: 28px; }
.pw-style-bloom .post-navigation a { border-radius: 24px; }

/* Footer: an inset plum card */
.pw-style-bloom .pw-footer { margin: 2rem var(--pw-gutter) var(--pw-gutter); border-radius: 40px; background: radial-gradient(70% 90% at 100% 0%, rgba(var(--pw-accent-rgb), .45), transparent 70%), var(--pw-footer-bg); }
.pw-style-bloom .pw-footer .widget-title { color: var(--pw-footer-text); opacity: .7; letter-spacing: .08em; }
.pw-style-bloom .pw-brand__icon { background: var(--pw-footer-text); border-radius: 50%; }
.pw-style-bloom .pw-footer .pw-searchform button { background: var(--pw-footer-text); color: var(--pw-footer-bg); }
@media (max-width: 560px) { .pw-style-bloom .pw-footer { margin: 1.5rem .6rem .6rem; border-radius: 28px; } }

/* ==========================================================================
   22. Editorial hero, category index, footer wordmark (all styles)
   ========================================================================== */
.pw-hero--editorial .pw-hero__inner { grid-template-columns: 1fr; gap: 0; }
.pw-hero--editorial .pw-hero__content { display: grid; grid-template-columns: 1.15fr 1fr; gap: 0 3.5rem; align-items: end; }
.pw-hero--editorial .pw-hero__eyebrow, .pw-hero--editorial .pw-hero__title { grid-column: 1 / -1; }
.pw-hero--editorial .pw-hero__text { grid-column: 1; margin: 0; }
.pw-hero--editorial .pw-hero-search { grid-column: 2; grid-row: 3; max-width: none; }
.pw-hero--editorial .pw-hero__tags { grid-column: 2; }
@media (max-width: 860px) { .pw-hero--editorial .pw-hero__content { grid-template-columns: 1fr; } .pw-hero--editorial .pw-hero-search, .pw-hero--editorial .pw-hero__tags { grid-column: 1; grid-row: auto; margin-top: 1.4rem; } }
.pw-strip { margin-top: clamp(2.5rem, 5vw, 4rem); }
.pw-strip__label { display: flex; align-items: center; gap: 1rem; margin: 0 0 1.4rem; font-size: .72rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; }
.pw-strip__label::after { content: ""; flex: 1; height: 1px; background: currentColor; opacity: .3; }
.pw-strip__row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.4rem; align-items: start; }
.pw-strip__item { position: relative; display: block; color: var(--pw-text); }
.pw-strip__item img { display: block; width: 100%; height: auto; transition: opacity .3s; }
.pw-strip__item:hover img { opacity: .88; }
.pw-strip__num { position: absolute; top: .6rem; left: .6rem; padding: .2rem .5rem; background: var(--pw-bg); font-family: var(--pw-font-heading); font-style: italic; font-size: .9rem; }
.pw-strip__title { display: block; margin-top: .7rem; font-family: var(--pw-font-heading); font-size: 1.05rem; line-height: 1.3; }
.pw-strip__item:hover .pw-strip__title { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 860px) { .pw-strip__row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.pw-tiles--index { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 3rem; counter-reset: pwidx; }
.pw-tiles--index > .pw-tile { flex: none; counter-increment: pwidx; flex-direction: row; align-items: center; gap: 1.1rem; padding: 1rem 0; border-bottom: 1px solid var(--pw-border); text-align: left; }
.pw-tiles--index > .pw-tile::before { content: counter(pwidx, decimal-leading-zero); font-family: var(--pw-font-heading); font-style: italic; font-size: .95rem; color: var(--pw-accent); width: 1.8rem; flex-shrink: 0; }
.pw-tiles--index .pw-tile__media { width: 54px; height: 54px; flex-shrink: 0; border-radius: 50%; aspect-ratio: 1; }
.pw-tiles--index .pw-tile__media.is-placeholder img { padding: 14%; }
.pw-tiles--index .pw-tile__label { position: static; flex: 1; flex-direction: row; align-items: baseline; justify-content: space-between; gap: 1rem; background: none; box-shadow: none; padding: 0; }
.pw-tiles--index .pw-tile__name { font-size: clamp(1.15rem, 2vw, 1.5rem); transition: color .2s; }
.pw-tiles--index .pw-tile__count { white-space: nowrap; letter-spacing: .1em; text-transform: uppercase; font-size: .68rem; }
.pw-tiles--index .pw-tile:hover .pw-tile__media { transform: scale(1.08); box-shadow: none; }
.pw-tiles--index .pw-tile:hover .pw-tile__name { color: var(--pw-accent); font-style: italic; }
.pw-tiles--index .pw-arrow { display: none; }
@media (max-width: 760px) { .pw-tiles--index { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .pw-tiles--index .pw-tile__media { width: 44px; height: 44px; } .pw-tiles--index .pw-tile__label { flex-direction: column; gap: .1rem; } }

.pw-footer__wordmark { margin: 3rem 0 0; font-family: var(--pw-font-heading); font-size: clamp(3.5rem, 15vw, 13rem); line-height: .85; letter-spacing: -.04em; text-align: center; white-space: nowrap; overflow: hidden; color: var(--pw-footer-text); opacity: .9; }

/* ==========================================================================
   23. Design style: MAISON
   Luxury magazine: fine rules, small-caps navigation, poster headline,
   numbered category index, crisp unrounded photos, drop caps, ivory footer
   with the site name set large.
   ========================================================================== */
.pw-style-maison h1, .pw-style-maison h2, .pw-style-maison h3, .pw-style-maison h4 { font-weight: 500; letter-spacing: -.015em; }
.pw-style-maison h1 em, .pw-style-maison h2 em, .pw-style-maison .pw-page-title em { font-style: italic; font-weight: 400; }

/* Header: ruled, small caps */
.pw-style-maison .pw-header { border-bottom: 3px double rgba(var(--pw-text-rgb), .55); }
.pw-style-maison .pw-header.is-scrolled { box-shadow: 0 8px 24px -20px rgba(var(--pw-text-rgb), .6); }
.pw-style-maison .pw-menu { gap: 0; }
.pw-style-maison .pw-menu > li + li { border-left: 1px solid rgba(var(--pw-text-rgb), .2); }
.pw-style-maison .pw-menu > li > a { border-radius: 0; background: none; font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; padding: .5em 1.3em; }
.pw-style-maison .pw-menu > li > a:hover, .pw-style-maison .pw-menu > .current-menu-item > a, .pw-style-maison .pw-menu > .current-menu-ancestor > a { background: none; color: var(--pw-accent); }
.pw-style-maison .pw-menu .sub-menu { border-radius: 0; border: 1px solid rgba(var(--pw-text-rgb), .2); box-shadow: 0 20px 40px -24px rgba(var(--pw-text-rgb), .5); }
.pw-style-maison .pw-menu .sub-menu a { border-radius: 0; letter-spacing: .06em; }
.pw-style-maison .pw-icon-btn { border-radius: 0; border-color: rgba(var(--pw-text-rgb), .35); }
@media (max-width: 960px) { .pw-style-maison .pw-menu > li + li { border-left: 0; border-top: 1px solid var(--pw-border); } }

/* Buttons: sharp, ink */
.pw-style-maison .pw-btn, .pw-style-maison button[type="submit"].pw-btn, .pw-style-maison .wp-block-button__link, .pw-style-maison input[type="submit"] { border-radius: 0; background: var(--pw-text); border-color: var(--pw-text); color: var(--pw-bg); text-transform: uppercase; letter-spacing: .18em; font-size: .72rem; padding: 1.15em 2em; }
.pw-style-maison .pw-btn:hover, .pw-style-maison button[type="submit"].pw-btn:hover { background: var(--pw-button-bg); border-color: var(--pw-button-bg); color: var(--pw-button-text); }
.pw-style-maison .pw-btn--ghost, .pw-style-maison .pw-view-all { background: none; color: var(--pw-text); border: 0; padding: .4em 0; border-bottom: 1px solid currentColor; }
.pw-style-maison .pw-btn--ghost:hover, .pw-style-maison .pw-view-all:hover { background: none; color: var(--pw-accent); }
.pw-style-maison .pw-searchform input[type="search"], .pw-style-maison .pw-searchform button { border-radius: 0; }
.pw-style-maison input[type="text"], .pw-style-maison input[type="email"], .pw-style-maison textarea { border-radius: 0; }

/* Hero: poster headline */
.pw-style-maison .pw-hero { background: var(--pw-bg); padding-top: clamp(2.5rem, 6vw, 4.5rem); }
.pw-style-maison .pw-hero__title { font-size: clamp(3rem, 8.2vw, 7.4rem); line-height: .94; letter-spacing: -.035em; margin-bottom: 2rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(var(--pw-text-rgb), .25); }
.pw-style-maison .pw-hero__eyebrow { letter-spacing: .26em; color: var(--pw-text); }
.pw-style-maison .pw-dot { border-radius: 0; width: 18px; height: 1px; box-shadow: none; background: currentColor; }
.pw-style-maison .pw-hero__text { font-family: var(--pw-font-heading); font-size: clamp(1.15rem, 1.8vw, 1.4rem); font-style: italic; color: var(--pw-text); line-height: 1.5; }
.pw-style-maison .pw-hero-search { border-radius: 0; box-shadow: none; border: 1px solid rgba(var(--pw-text-rgb), .4); padding: .3rem .3rem .3rem 1rem; }
.pw-style-maison .pw-hero__tags a { border-radius: 0; background: none; border: 0; border-bottom: 1px solid rgba(var(--pw-text-rgb), .3); padding: .1em 0; margin-right: .6rem; }

/* Sections */
.pw-style-maison .pw-section__head { align-items: flex-end; border-bottom: 1px solid rgba(var(--pw-text-rgb), .25); padding-bottom: 1.2rem; }
.pw-style-maison .pw-eyebrow { color: var(--pw-text); letter-spacing: .24em; }
.pw-style-maison .pw-eyebrow::before { background: var(--pw-button-bg); height: 2px; width: 28px; opacity: 1; }
.pw-style-maison .pw-section__title { font-size: clamp(2.1rem, 4.2vw, 3.4rem); }
.pw-style-maison .pw-section__desc { font-family: var(--pw-font-heading); font-style: italic; font-size: 1.1rem; }
.pw-style-maison .pw-section__meta { font-style: italic; }
.pw-style-maison .pw-cat-section { border-top: 0; }
.pw-style-maison .pw-cat-section.is-alt { background: var(--pw-soft); }

/* Tiles & cards: crisp, unrounded */
.pw-style-maison .tone-1, .pw-style-maison .tone-2, .pw-style-maison .tone-3, .pw-style-maison .tone-4, .pw-style-maison .tone-5, .pw-style-maison .tone-6 { background-color: var(--pw-soft); }
.pw-style-maison .pw-card__media { border-radius: 0; }
.pw-style-maison .pw-card__media::after { display: none; }
.pw-style-maison .pw-card:hover .pw-card__media img { transform: none; opacity: .88; }
.pw-style-maison .pw-card__media img { transition: opacity .3s; }
.pw-style-maison .pw-card__body { padding-top: .9rem; }
.pw-style-maison .pw-card__cat { font-family: var(--pw-font-heading); font-style: italic; text-transform: none; letter-spacing: 0; font-size: .95rem; font-weight: 400; color: var(--pw-accent); }
.pw-style-maison .pw-card__title { font-size: 1.3rem; line-height: 1.25; font-weight: 500; }
.pw-style-maison .pw-pin { border-radius: 0; }

/* About: offset frame + quote mark */
.pw-style-maison .pw-about { background: var(--pw-soft); }
.pw-style-maison .pw-about__media { border-radius: 0; aspect-ratio: 4 / 5; background-color: var(--pw-bg); box-shadow: 18px 18px 0 var(--pw-button-bg); }
.pw-style-maison .pw-about__content { position: relative; }
.pw-style-maison .pw-about__content::before { content: "\201C"; position: absolute; top: -3.2rem; left: -.5rem; font-family: var(--pw-font-heading); font-size: 8rem; line-height: 1; color: var(--pw-button-bg); opacity: .6; }

/* Category / page headers */
.pw-style-maison .pw-page-head { background: var(--pw-bg); border-bottom: 1px solid rgba(var(--pw-text-rgb), .25); }
.pw-style-maison .pw-page-title { font-size: clamp(2.6rem, 6vw, 5rem); }
.pw-style-maison .pw-page-head__media { border-radius: 0; border: 0; box-shadow: 12px 12px 0 var(--pw-button-bg); }
.pw-style-maison .pw-chip { border-radius: 0; text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; font-weight: 700; }
.pw-style-maison .pw-chip.is-active { background: var(--pw-text); border-color: var(--pw-text); color: var(--pw-bg); }
.pw-style-maison .page-numbers { border-radius: 0; }

/* Article */
.pw-style-maison .pw-single__title { font-size: clamp(2.6rem, 6vw, 4.8rem); line-height: 1; letter-spacing: -.03em; }
.pw-style-maison .pw-single__lede { font-family: var(--pw-font-heading); font-style: italic; font-size: 1.3rem; color: var(--pw-text); }
.pw-style-maison .pw-pill { background: none; border-radius: 0; color: var(--pw-text); border-bottom: 2px solid var(--pw-button-bg); padding: .2em 0; letter-spacing: .22em; }
.pw-style-maison .pw-single__hero img { border-radius: 0; box-shadow: none; outline: 1px solid rgba(var(--pw-text-rgb), .25); outline-offset: 10px; }
@media (max-width: 560px) { .pw-style-maison .pw-single__hero img { outline-offset: 5px; } }
.pw-style-maison .pw-prose > p:first-of-type::first-letter { float: left; font-family: var(--pw-font-heading); font-size: 4.4em; line-height: .82; padding: .06em .1em 0 0; color: var(--pw-accent); }
.pw-style-maison .pw-prose h2 { font-size: 2.1rem; border-top: 1px solid rgba(var(--pw-text-rgb), .2); padding-top: 1.2rem; }
.pw-style-maison .pw-prose blockquote { border-left: 0; border-top: 1px solid var(--pw-text); border-bottom: 1px solid var(--pw-text); border-radius: 0; background: none; text-align: center; font-size: 1.5rem; padding: 1.6rem 1rem; }
.pw-style-maison .pw-sidebar .widget { border-radius: 0; background: var(--pw-soft); border: 0; }
.pw-style-maison .post-navigation a { border-radius: 0; }
.pw-style-maison .pw-contact__card, .pw-style-maison .pw-contact__form-wrap { border-radius: 0; }
.pw-style-maison .pw-contact__icon { border-radius: 0; }

/* Footer: ivory, ruled, big name */
.pw-style-maison .pw-footer { border-top: 3px double rgba(var(--pw-text-rgb), .55); padding-bottom: 1.5rem; }
.pw-style-maison .pw-footer a { opacity: 1; color: var(--pw-footer-text); }
.pw-style-maison .pw-footer a:hover { color: var(--pw-accent); }
.pw-style-maison .pw-footer__about { opacity: .85; font-family: var(--pw-font-heading); font-style: italic; font-size: 1.05rem; }
.pw-style-maison .pw-footer .widget-title { opacity: 1; color: var(--pw-footer-text); letter-spacing: .22em; }
.pw-style-maison .pw-footer .pw-searchform input[type="search"] { background: var(--pw-bg); border-color: rgba(var(--pw-text-rgb), .3); color: var(--pw-text); }
.pw-style-maison .pw-footer .pw-searchform input::placeholder { color: var(--pw-muted); opacity: 1; }
.pw-style-maison .pw-footer .pw-searchform button { background: var(--pw-text); color: var(--pw-bg); }
.pw-style-maison .pw-footer__bottom { border-top: 1px solid rgba(var(--pw-text-rgb), .25); margin-top: 2rem; }
.pw-style-maison .pw-footer__legal a { border-left-color: rgba(var(--pw-text-rgb), .25); opacity: 1; }
.pw-style-maison .pw-footer__wordmark { color: var(--pw-button-bg); opacity: 1; }
.pw-style-maison .pw-brand__icon { background: transparent; border-radius: 0; }

/* ==========================================================================
   24. Stacked header, spotlight hero, sticker tiles (all styles)
   ========================================================================== */
.pw-header-stacked .pw-header__inner { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "brand search actions" "nav nav nav"; gap: 0 2rem; padding-top: .9rem; }
.pw-header-stacked .pw-brand { grid-area: brand; }
.pw-header-stacked .pw-header__search { grid-area: search; max-width: 560px; width: 100%; justify-self: center; }
.pw-header-stacked .pw-header__actions { grid-area: actions; margin: 0; }
.pw-header-stacked .pw-search-toggle { display: none; }
.pw-header-stacked .pw-nav { grid-area: nav; margin: .9rem 0 0; display: flex; justify-content: center; background: var(--pw-button-bg); position: relative; isolation: isolate; padding: .25rem 0; }
/* Full-bleed bar drawn by a pseudo element (no clip-path), so dropdown menus are not cut off. */
.pw-header-stacked .pw-nav::before { content: ""; position: absolute; inset: 0 -100vmax; background: var(--pw-button-bg); z-index: -1; pointer-events: none; }
.pw-header-stacked .site-header, .pw-header-stacked .pw-header { overflow-x: clip; }
@media (max-width: 960px) {
	.pw-header-stacked .pw-header__inner { grid-template-columns: 1fr auto; grid-template-areas: "brand actions"; padding-bottom: .6rem; }
	.pw-header-stacked .pw-header__search { display: none; }
	.pw-header-stacked .pw-search-toggle { display: grid; }
	.pw-header-stacked .pw-nav { display: none; margin: 0; box-shadow: var(--pw-shadow); clip-path: none; background: var(--pw-header-bg); }
	.pw-header-stacked .pw-nav.is-open { display: block; }
	.pw-header-stacked .pw-nav::before { display: none; }
}

.pw-hero--spotlight .pw-hero__inner { grid-template-columns: 1.1fr .9fr; }
.pw-spot { display: flex; justify-content: center; }
.pw-spot__card { position: relative; display: block; width: min(100%, 340px); background: #fff; color: var(--pw-text); border: 3px solid var(--pw-text); border-radius: 18px; overflow: hidden; box-shadow: 12px 12px 0 var(--pw-text); transform: rotate(2.5deg); transition: transform .3s var(--pw-ease), box-shadow .3s; }
.pw-spot__card:hover { transform: rotate(0deg) translate(-3px, -3px); box-shadow: 16px 16px 0 var(--pw-text); color: var(--pw-text); }
.pw-spot__card img { display: block; width: 100%; height: auto; }
.pw-spot__card.is-empty { min-height: 360px; display: grid; place-items: center; }
.pw-spot__card.is-empty img { width: 60%; }
.pw-spot__tag { position: absolute; top: .8rem; left: .8rem; z-index: 2; padding: .35rem .75rem; background: #fff; border: 2px solid var(--pw-text); border-radius: 8px; font-weight: 800; font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; box-shadow: 3px 3px 0 var(--pw-text); }
.pw-spot__title { display: flex; align-items: center; justify-content: space-between; gap: .8rem; padding: .9rem 1rem; border-top: 3px solid var(--pw-text); font-weight: 800; line-height: 1.3; }
@media (max-width: 900px) { .pw-hero--spotlight .pw-hero__inner { grid-template-columns: 1fr; } .pw-spot { margin-top: 1rem; } }

.pw-tiles--sticker .pw-tile__media { border: 2px solid var(--pw-text); border-radius: 16px; box-shadow: 5px 5px 0 var(--pw-text); background-color: #fff; }
.pw-tiles--sticker .pw-tile:hover .pw-tile__media { transform: translate(-3px, -3px); box-shadow: 8px 8px 0 var(--pw-button-bg); }
.pw-tiles--sticker .pw-tile:hover .pw-tile__media img { transform: rotate(-6deg) scale(1.05); }
.pw-tiles--sticker .pw-tile__label { align-items: center; text-align: center; margin-top: .3rem; }
.pw-tiles--sticker .pw-tile__name { justify-content: center; font-weight: 800; }
.pw-tiles--sticker .pw-arrow { display: none; }

/* ==========================================================================
   25. Design style: POP
   Bold & graphic: heavy type, black outlines with offset shadows, a bright
   color-block hero, menu in a color bar, wavy underlines and a black footer.
   ========================================================================== */
.pw-style-pop h1, .pw-style-pop h2, .pw-style-pop h3, .pw-style-pop h4 { font-weight: 800; letter-spacing: -.03em; }
.pw-style-pop h1 em, .pw-style-pop h2 em, .pw-style-pop .pw-page-title em { font-style: normal; color: inherit; text-decoration: underline wavy var(--pw-button-bg); text-decoration-thickness: .08em; text-underline-offset: .12em; text-decoration-skip-ink: none; }

/* Header & menu bar */
.pw-style-pop .pw-header { border-bottom: 3px solid var(--pw-text); }
.pw-style-pop .pw-menu > li > a { color: var(--pw-text); font-weight: 800; font-size: .86rem; letter-spacing: .06em; text-transform: uppercase; border-radius: 8px; padding: .6em 1em; }
.pw-style-pop .pw-menu > li > a:hover, .pw-style-pop .pw-menu > .current-menu-item > a, .pw-style-pop .pw-menu > .current-menu-ancestor > a { background: var(--pw-text); color: #fff; }
.pw-style-pop .pw-menu .sub-menu { border: 2px solid var(--pw-text); border-radius: 12px; box-shadow: 6px 6px 0 var(--pw-text); }
.pw-style-pop .pw-menu .sub-menu a { text-transform: none; letter-spacing: 0; font-weight: 700; }
.pw-style-pop .pw-menu .sub-menu a:hover { background: var(--pw-button-bg); color: var(--pw-text); }
.pw-style-pop .pw-icon-btn { border: 2px solid var(--pw-text); border-radius: 10px; box-shadow: 3px 3px 0 var(--pw-text); }
.pw-style-pop .pw-header__search .pw-searchform input[type="search"] { border: 2px solid var(--pw-text); border-radius: 12px; box-shadow: 4px 4px 0 var(--pw-text); }
.pw-style-pop .pw-searchform button { border-radius: 9px; background: var(--pw-text); color: #fff; }
@media (max-width: 960px) { .pw-style-pop .pw-nav { border: 2px solid var(--pw-text); border-top: 0; } .pw-style-pop .pw-menu > li > a { text-transform: none; letter-spacing: 0; font-size: 1rem; } }

/* Buttons */
.pw-style-pop .pw-btn, .pw-style-pop button[type="submit"].pw-btn, .pw-style-pop .wp-block-button__link, .pw-style-pop input[type="submit"] { border: 2px solid var(--pw-text); border-radius: 10px; box-shadow: 4px 4px 0 var(--pw-text); font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: .82rem; padding: .95em 1.5em; }
.pw-style-pop .pw-btn:hover, .pw-style-pop button[type="submit"].pw-btn:hover { background: var(--pw-button-bg); border-color: var(--pw-text); color: var(--pw-button-text); transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--pw-text); }
.pw-style-pop .pw-btn--ghost, .pw-style-pop .pw-view-all { background: #fff; color: var(--pw-text); }
.pw-style-pop .pw-btn--ghost:hover, .pw-style-pop .pw-view-all:hover { background: var(--pw-button-bg); color: var(--pw-text); }

/* Hero: color block */
.pw-style-pop .pw-hero { background: var(--pw-button-bg); color: var(--pw-text); border-bottom: 3px solid var(--pw-text); }
.pw-style-pop .pw-hero__title { color: var(--pw-text); font-size: clamp(2.7rem, 6vw, 5.2rem); line-height: .98; }
.pw-style-pop .pw-hero__title em { color: #fff; text-decoration: none; -webkit-text-stroke: 2px var(--pw-text); paint-order: stroke fill; }
.pw-style-pop .pw-hero__text { color: var(--pw-text); font-weight: 500; }
.pw-style-pop .pw-hero__eyebrow { background: #fff; color: var(--pw-text); border: 2px solid var(--pw-text); border-radius: 8px; padding: .45em .9em; box-shadow: 3px 3px 0 var(--pw-text); }
.pw-style-pop .pw-dot { background: var(--pw-button-bg); box-shadow: none; }
.pw-style-pop .pw-hero-search { border: 2px solid var(--pw-text); border-radius: 14px; box-shadow: 6px 6px 0 var(--pw-text); }
.pw-style-pop .pw-hero-search .pw-btn { background: var(--pw-text); color: #fff; box-shadow: none; }
.pw-style-pop .pw-hero-search .pw-btn:hover { background: var(--pw-text); color: #fff; transform: none; box-shadow: none; }
.pw-style-pop .pw-hero__tags { color: var(--pw-text); }
.pw-style-pop .pw-hero__tags a { background: #fff; border: 2px solid var(--pw-text); border-radius: 8px; font-weight: 700; }

/* Sections */
.pw-style-pop .pw-eyebrow { display: inline-flex; background: var(--pw-button-bg); color: var(--pw-text); border: 2px solid var(--pw-text); border-radius: 6px; padding: .35em .8em; letter-spacing: .1em; }
.pw-style-pop .pw-eyebrow::before { display: none; }
.pw-style-pop .pw-section__title { font-size: clamp(2rem, 4vw, 3.1rem); }
.pw-style-pop .pw-section__meta { font-family: var(--pw-font-body); font-style: normal; font-weight: 800; }
.pw-style-pop .pw-cat-section { border-top: 3px solid var(--pw-text); }
.pw-style-pop .pw-cat-section.is-alt { background: var(--pw-soft); }
.pw-style-pop .tone-1, .pw-style-pop .tone-2, .pw-style-pop .tone-3, .pw-style-pop .tone-4, .pw-style-pop .tone-5, .pw-style-pop .tone-6 { background-color: #fff; }

/* Cards: outlined with offset shadows */
.pw-style-pop .pw-card__frame { border: 2px solid var(--pw-text); border-radius: 16px; overflow: hidden; box-shadow: 6px 6px 0 var(--pw-text); background: #fff; transition: transform .25s var(--pw-ease), box-shadow .25s; }
.pw-style-pop .pw-card__media { border-radius: 0; }
.pw-style-pop .pw-card:hover .pw-card__frame { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--pw-button-bg); }
.pw-style-pop .pw-card:hover .pw-card__media img { transform: none; }
.pw-style-pop .pw-card__media::after { display: none; }
.pw-style-pop .pw-card__body { padding-top: 1.1rem; }
.pw-style-pop .pw-card__cat { background: var(--pw-text); color: #fff; padding: .25em .6em; border-radius: 5px; font-size: .64rem; }
.pw-style-pop .pw-card__title { font-weight: 800; font-size: 1.12rem; }
.pw-style-pop .pw-card__title a { background-image: linear-gradient(var(--pw-button-bg), var(--pw-button-bg)); background-size: 0 3px; }
.pw-style-pop .pw-pin { border: 2px solid #fff; }

/* About */
.pw-style-pop .pw-about { background: var(--pw-soft); border-top: 3px solid var(--pw-text); }
.pw-style-pop .pw-about__media { border-radius: 18px; border: 3px solid var(--pw-text); box-shadow: 12px 12px 0 var(--pw-button-bg); aspect-ratio: 1; background-color: #fff; }

/* Category / page headers */
.pw-style-pop .pw-page-head { background: var(--pw-soft); border-bottom: 3px solid var(--pw-text); }
.pw-style-pop .pw-page-head__media { border: 3px solid var(--pw-text); border-radius: 18px; box-shadow: 8px 8px 0 var(--pw-button-bg); }
.pw-style-pop .pw-chip { border: 2px solid var(--pw-text); border-radius: 8px; font-weight: 800; }
.pw-style-pop .pw-chip:hover { background: var(--pw-button-bg); color: var(--pw-text); border-color: var(--pw-text); }
.pw-style-pop .pw-chip.is-active { background: var(--pw-text); color: #fff; }
.pw-style-pop .page-numbers { border: 2px solid var(--pw-text); border-radius: 10px; }

/* Article */
.pw-style-pop .pw-single__title { font-size: clamp(2.3rem, 5vw, 3.8rem); line-height: 1.02; }
.pw-style-pop .pw-pill { background: var(--pw-button-bg); color: var(--pw-text); border: 2px solid var(--pw-text); border-radius: 8px; box-shadow: 3px 3px 0 var(--pw-text); }
.pw-style-pop .pw-single__hero img { border: 3px solid var(--pw-text); border-radius: 18px; box-shadow: 12px 12px 0 var(--pw-button-bg); }
.pw-style-pop .pw-prose h2 { padding-left: .9rem; border-left: 6px solid var(--pw-button-bg); }
.pw-style-pop .pw-prose blockquote { border: 3px solid var(--pw-text); border-radius: 16px; background: #fff; box-shadow: 8px 8px 0 var(--pw-button-bg); font-family: var(--pw-font-heading); font-style: normal; font-weight: 700; }
.pw-style-pop .pw-sidebar .widget { border: 2px solid var(--pw-text); border-radius: 16px; box-shadow: 5px 5px 0 var(--pw-text); }
.pw-style-pop .post-navigation a { border: 2px solid var(--pw-text); border-radius: 14px; box-shadow: 4px 4px 0 var(--pw-text); }
.pw-style-pop .pw-contact__card { border: 3px solid var(--pw-text); }
.pw-style-pop .pw-contact__form-wrap { border: 3px solid var(--pw-text); box-shadow: 8px 8px 0 var(--pw-button-bg); }

/* Footer: black with a color edge */
.pw-style-pop .pw-footer { border-top: 6px solid var(--pw-button-bg); }
.pw-style-pop .pw-footer .widget-title { color: var(--pw-button-bg); opacity: 1; font-weight: 800; }
.pw-style-pop .pw-footer a { opacity: .85; }
.pw-style-pop .pw-footer a:hover { opacity: 1; color: var(--pw-button-bg); }
.pw-style-pop .pw-brand__icon { background: #fff; border-radius: 12px; }
.pw-style-pop .pw-footer .pw-searchform button { background: var(--pw-button-bg); color: var(--pw-text); }

/* ==========================================================================
   26. Pill-menu header, trio hero, leaf tiles (all styles)
   ========================================================================== */
.pw-header-pillnav .pw-header__inner { display: grid; grid-template-columns: 1fr auto 1fr; gap: 1.5rem; }
.pw-header-pillnav .pw-brand { justify-self: start; }
.pw-header-pillnav .pw-nav { margin: 0; justify-self: center; }
.pw-header-pillnav .pw-header__actions { justify-self: end; margin: 0; }
.pw-header-pillnav .pw-menu { background: var(--pw-soft); border: 1px solid var(--pw-border); border-radius: 999px; padding: 5px; gap: 2px; }
.pw-header-pillnav .pw-menu > li > a { border-radius: 999px; padding: .55em 1.05em; }
.pw-header-pillnav .pw-menu > li > a:hover { background: rgba(255, 255, 255, .75); }
.pw-header-pillnav .pw-menu > .current-menu-item > a, .pw-header-pillnav .pw-menu > .current-menu-ancestor > a { background: #fff; box-shadow: 0 2px 10px rgba(var(--pw-accent-rgb), .18); color: var(--pw-text); }
@media (max-width: 960px) {
	.pw-header-pillnav .pw-header__inner { display: flex; }
	.pw-header-pillnav .pw-nav + .pw-header__actions { margin-left: auto; }
	.pw-header-pillnav .pw-menu { background: transparent; border: 0; border-radius: 0; padding: 0; }
}

.pw-hero--trio { padding-bottom: clamp(5rem, 10vw, 8rem); }
.pw-hero--trio .pw-hero__inner { grid-template-columns: 1fr 1fr; position: relative; z-index: 2; }
.pw-trio { position: relative; padding-bottom: 3.2rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.7rem, 1.6vw, 1.2rem); align-items: start; }
.pw-trio.has-1 { grid-template-columns: minmax(0, 300px); justify-content: center; }
.pw-trio.has-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pw-trio__item { position: relative; display: block; background: #fff; border-radius: 20px; padding: 7px; box-shadow: 0 18px 40px -18px rgba(var(--pw-accent-rgb), .45), 0 2px 6px rgba(0, 0, 0, .05); color: var(--pw-text); transition: transform .35s var(--pw-ease), box-shadow .35s; }
.pw-trio__item img { display: block; width: 100%; height: auto; border-radius: 14px; }
.pw-trio__item.is-placeholder img { aspect-ratio: 3 / 4; object-fit: contain; padding: 18%; background: var(--pw-soft); }
.pw-trio__item--2 { margin-top: clamp(2rem, 5vw, 3.5rem); }
.pw-trio__item--3 { margin-top: clamp(.8rem, 2vw, 1.4rem); }
.pw-trio__item:hover { transform: translateY(-6px); color: var(--pw-text); box-shadow: 0 26px 50px -20px rgba(var(--pw-accent-rgb), .55); }
.pw-trio__title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; padding: .55rem .35rem .25rem; font-size: .8rem; font-weight: 600; line-height: 1.3; }
.pw-trio__badge { position: absolute; left: 0; bottom: 0; z-index: 3; display: inline-flex; align-items: center; gap: .45rem; padding: .55rem 1rem; background: #fff; border-radius: 999px; box-shadow: 0 10px 26px -10px rgba(0, 0, 0, .25); font-weight: 700; font-size: .85rem; color: var(--pw-text); }
.pw-trio__badge svg { width: 18px; height: 18px; color: var(--pw-accent); }
.pw-hero__wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(36px, 6vw, 80px); z-index: 1; display: block; }
@media (max-width: 900px) {
	.pw-hero--trio .pw-hero__inner { grid-template-columns: 1fr; }
	.pw-trio { margin-top: .5rem; }
	.pw-trio__badge { left: 50%; transform: translateX(-50%); white-space: nowrap; }
}
@media (max-width: 480px) { .pw-trio__title { display: none; } .pw-trio__item { padding: 5px; border-radius: 14px; } .pw-trio__item img { border-radius: 10px; } }

.pw-tiles--leaf .pw-tile__media { aspect-ratio: 1; border-radius: 46% 12% 46% 12%; }
.pw-tiles--leaf .pw-tile:nth-child(even) .pw-tile__media { border-radius: 12% 46% 12% 46%; }
.pw-tiles--leaf .pw-tile:hover .pw-tile__media { border-radius: 30%; box-shadow: 0 16px 30px -14px rgba(var(--pw-accent-rgb), .55); }
.pw-tiles--leaf .pw-tile__media { transition: border-radius .45s var(--pw-ease), transform .45s var(--pw-ease), box-shadow .45s; }
.pw-tiles--leaf .pw-tile__label, .pw-tiles--leaf .pw-tile__name { align-items: center; justify-content: center; text-align: center; }
.pw-tiles--leaf .pw-arrow { display: none; }

/* ==========================================================================
   27. Design style: MEADOW
   Fresh & airy: soft mint surfaces, a pill menu, white framed cards with
   rounded photos, marker-highlighted headings, organic shapes and a deep
   forest footer with a wavy edge.
   ========================================================================== */
.pw-style-meadow { --pw-meadow-deep: color-mix(in srgb, var(--pw-accent) 55%, #06301c); }
.pw-style-meadow h1, .pw-style-meadow h2, .pw-style-meadow h3, .pw-style-meadow h4 { font-weight: 700; letter-spacing: -.02em; }
.pw-style-meadow h1 em, .pw-style-meadow h2 em, .pw-style-meadow .pw-page-title em { font-style: normal; color: inherit; background: linear-gradient(transparent 58%, rgba(var(--pw-accent-rgb), .32) 58%, rgba(var(--pw-accent-rgb), .32) 92%, transparent 92%); padding: 0 .08em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* Header */
/* Solid white, so a logo on a white background sits on the header with no visible box. */
.pw-style-meadow .pw-header { background: #fff; border-bottom: 1px solid var(--pw-border); box-shadow: 0 6px 24px -18px rgba(var(--pw-accent-rgb), .6); }
.pw-style-meadow .pw-menu > li > a { font-weight: 600; font-size: .93rem; color: var(--pw-text); }
.pw-style-meadow .pw-menu .sub-menu { border-radius: 18px; border: 1px solid var(--pw-border); box-shadow: 0 20px 40px -18px rgba(var(--pw-accent-rgb), .45); padding: .5rem; }
.pw-style-meadow .pw-menu .sub-menu a { border-radius: 12px; }
.pw-style-meadow .pw-menu .sub-menu a:hover { background: var(--pw-soft); color: var(--pw-text); }
.pw-style-meadow .pw-icon-btn { background: var(--pw-soft); border: 1px solid var(--pw-border); border-radius: 50%; }
.pw-style-meadow .pw-icon-btn:hover { background: var(--pw-button-bg); color: var(--pw-button-text); border-color: var(--pw-button-bg); }

/* Buttons */
.pw-style-meadow .pw-btn, .pw-style-meadow button[type="submit"].pw-btn, .pw-style-meadow .wp-block-button__link, .pw-style-meadow input[type="submit"] { border-radius: 999px; font-weight: 700; box-shadow: 0 10px 22px -12px rgba(var(--pw-accent-rgb), .9); }
.pw-style-meadow .pw-btn:hover, .pw-style-meadow button[type="submit"].pw-btn:hover { transform: translateY(-2px); }
.pw-style-meadow .pw-view-all { border-radius: 999px; background: var(--pw-soft); border: 1px solid var(--pw-border); color: var(--pw-text); box-shadow: none; }
.pw-style-meadow .pw-view-all:hover { background: var(--pw-button-bg); border-color: var(--pw-button-bg); color: var(--pw-button-text); }

/* Hero */
.pw-style-meadow .pw-hero { background:
	radial-gradient(38% 55% at 92% 18%, rgba(var(--pw-accent-rgb), .22), transparent 70%),
	radial-gradient(30% 45% at 6% 92%, rgba(var(--pw-accent-rgb), .16), transparent 70%),
	linear-gradient(180deg, var(--pw-hero-bg), color-mix(in srgb, var(--pw-hero-bg) 70%, #fff)); }
.pw-style-meadow .pw-hero__title { font-size: clamp(2.6rem, 5.6vw, 4.8rem); line-height: 1.02; letter-spacing: -.035em; font-weight: 800; }
.pw-style-meadow .pw-hero__eyebrow { display: inline-flex; background: #fff; color: var(--pw-meadow-deep); border-radius: 999px; padding: .45em 1em; box-shadow: 0 6px 16px -8px rgba(var(--pw-accent-rgb), .6); letter-spacing: .08em; }
.pw-style-meadow .pw-dot { background: var(--pw-button-bg); box-shadow: 0 0 0 4px rgba(var(--pw-accent-rgb), .2); }
.pw-style-meadow .pw-hero-search { border-radius: 999px; border: 1px solid var(--pw-border); box-shadow: 0 18px 40px -20px rgba(var(--pw-accent-rgb), .7); }
.pw-style-meadow .pw-hero__tags a { background: rgba(255, 255, 255, .8); border-color: transparent; font-weight: 600; }
.pw-style-meadow .pw-hero__tags a:hover { background: #fff; color: var(--pw-meadow-deep); }

/* Sections */
.pw-style-meadow .pw-eyebrow { color: var(--pw-meadow-deep); letter-spacing: .12em; }
.pw-style-meadow .pw-eyebrow::before { content: ""; width: 14px; height: 14px; border-radius: 0 60% 0 60%; background: var(--pw-button-bg); transform: rotate(-12deg); }
.pw-style-meadow .pw-section__title { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.pw-style-meadow .pw-section__meta { font-family: var(--pw-font-body); font-style: normal; }
.pw-style-meadow .pw-cat-section { border-top: 0; }
.pw-style-meadow .pw-cat-section.is-alt { background: transparent; position: relative; isolation: isolate; }
.pw-style-meadow .pw-cat-section.is-alt::before { content: ""; position: absolute; inset: 0 max(0px, calc((100vw - var(--pw-container)) / 2 - 1.5rem)); z-index: -1; background: var(--pw-soft); border-radius: clamp(20px, 3vw, 36px); pointer-events: none; }
.pw-style-meadow .tone-1, .pw-style-meadow .tone-2, .pw-style-meadow .tone-3, .pw-style-meadow .tone-4, .pw-style-meadow .tone-5, .pw-style-meadow .tone-6 { background-color: var(--pw-soft); }

/* Cards: white frame around a rounded photo */
.pw-style-meadow .pw-card__frame { background: #fff; padding: 8px; border-radius: 22px; box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 12px 30px -20px rgba(var(--pw-accent-rgb), .55); transition: transform .3s var(--pw-ease), box-shadow .3s; }
.pw-style-meadow .pw-card__media { border-radius: 16px; }
.pw-style-meadow .pw-card:hover .pw-card__frame { transform: translateY(-5px); box-shadow: 0 24px 44px -22px rgba(var(--pw-accent-rgb), .7); }
.pw-style-meadow .pw-card:hover .pw-card__media img { transform: none; }
.pw-style-meadow .pw-card__media::after { display: none; }
.pw-style-meadow .pw-card__cat { display: inline-flex; align-items: center; gap: .4em; color: var(--pw-meadow-deep); font-weight: 700; }
.pw-style-meadow .pw-card__cat::before { content: ""; width: 8px; height: 8px; border-radius: 0 60% 0 60%; background: var(--pw-button-bg); }
.pw-style-meadow .pw-card__title { font-weight: 700; }
.pw-style-meadow .pw-card__title a { background-image: linear-gradient(rgba(var(--pw-accent-rgb), .35), rgba(var(--pw-accent-rgb), .35)); background-size: 0 .45em; background-position: 0 88%; }
.pw-style-meadow .pw-pin { border-radius: 999px; }

/* About: organic photo shape */
.pw-style-meadow .pw-about { background: transparent; position: relative; isolation: isolate; margin-top: clamp(1rem, 3vw, 2rem); }
.pw-style-meadow .pw-about::before { content: ""; position: absolute; inset: 0 max(0px, calc((100vw - var(--pw-container)) / 2 - 1.5rem)); z-index: -1; background: linear-gradient(135deg, var(--pw-soft), var(--pw-hero-bg)); border-radius: clamp(20px, 3vw, 36px); pointer-events: none; }
.pw-style-meadow .pw-about__media { border-radius: 58% 42% 52% 48% / 46% 54% 46% 54%; aspect-ratio: 1; background-color: #fff; box-shadow: 0 30px 60px -30px rgba(var(--pw-accent-rgb), .7); }

/* Category & page headers */
.pw-style-meadow .pw-page-head { background: linear-gradient(180deg, var(--pw-hero-bg), var(--pw-bg)); }
.pw-style-meadow .pw-page-head__media { border-radius: 46% 12% 46% 12%; box-shadow: 0 20px 40px -24px rgba(var(--pw-accent-rgb), .7); }
.pw-style-meadow .pw-chips { background: transparent; border-bottom: 0; }
.pw-style-meadow .pw-chip { background: #fff; border: 1px solid var(--pw-border); font-weight: 600; }
.pw-style-meadow .pw-chip:hover { border-color: var(--pw-button-bg); color: var(--pw-text); background: var(--pw-soft); }
.pw-style-meadow .pw-chip.is-active { background: var(--pw-button-bg); border-color: var(--pw-button-bg); color: var(--pw-button-text); }
.pw-style-meadow .page-numbers { border-radius: 50%; }

/* Article */
.pw-style-meadow .pw-single__title { font-size: clamp(2.2rem, 4.6vw, 3.6rem); line-height: 1.06; font-weight: 800; }
.pw-style-meadow .pw-pill { background: var(--pw-soft); color: var(--pw-meadow-deep); border: 1px solid var(--pw-border); font-weight: 700; }
.pw-style-meadow .pw-single__hero img { border-radius: 22px; border: 8px solid #fff; box-shadow: 0 30px 60px -32px rgba(var(--pw-accent-rgb), .75); }
.pw-style-meadow .pw-prose h2 { display: flex; align-items: center; gap: .55rem; }
.pw-style-meadow .pw-prose h2::before { content: ""; flex: 0 0 auto; width: .55em; height: .55em; border-radius: 0 60% 0 60%; background: var(--pw-button-bg); }
.pw-style-meadow .pw-prose blockquote { border: 0; border-radius: 22px; background: var(--pw-soft); padding: 1.4rem 1.6rem; font-family: var(--pw-font-heading); font-style: normal; font-weight: 600; }
.pw-style-meadow .pw-sidebar .widget { background: #fff; border: 1px solid var(--pw-border); border-radius: 22px; box-shadow: 0 12px 30px -24px rgba(var(--pw-accent-rgb), .6); }
.pw-style-meadow .post-navigation a { border-radius: 20px; background: var(--pw-soft); border: 1px solid var(--pw-border); }
.pw-style-meadow .pw-contact__form-wrap { border-radius: 26px; box-shadow: 0 30px 60px -36px rgba(var(--pw-accent-rgb), .7); }

/* Footer: deep forest with a wavy top edge */
.pw-style-meadow .pw-footer { position: relative; margin-top: clamp(30px, 5vw, 60px); }
.pw-style-meadow .pw-footer::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: clamp(30px, 5vw, 60px); background: var(--pw-footer-bg); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath d='M0 34 C 240 0, 480 60, 720 30 S 1200 0, 1440 30 L1440 60 L0 60 Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath d='M0 34 C 240 0, 480 60, 720 30 S 1200 0, 1440 30 L1440 60 L0 60 Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat; pointer-events: none; }
.pw-style-meadow .pw-footer .widget-title { color: var(--pw-button-bg); opacity: 1; }
.pw-style-meadow .pw-footer a:hover { color: var(--pw-button-bg); }
.pw-style-meadow .pw-brand__icon { background: #fff; border-radius: 50%; }
.pw-style-meadow .pw-footer .pw-searchform button { background: var(--pw-button-bg); color: var(--pw-button-text); }

/* ==========================================================================
   28. Search-pill header, marquee hero, heart tiles (all styles)
   ========================================================================== */
.pw-search-toggle__label { display: none; }
.pw-header-searchpill .pw-nav { margin-left: clamp(1rem, 3vw, 2.6rem); }
.pw-header-searchpill .pw-header__actions { margin-left: auto; }
.pw-header-searchpill .pw-search-toggle { display: inline-flex; flex-direction: row; align-items: center; width: auto; min-width: 230px; justify-content: flex-start; gap: .6rem; padding: 0 1.2rem; border-radius: 999px; border: 1px solid var(--pw-border); background: var(--pw-soft); color: var(--pw-muted); }
.pw-header-searchpill .pw-search-toggle:hover { border-color: var(--pw-accent); color: var(--pw-text); }
.pw-header-searchpill .pw-search-toggle__label { display: inline; font-size: .9rem; font-weight: 500; white-space: nowrap; }
@media (max-width: 1180px) { .pw-header-searchpill .pw-search-toggle { min-width: 0; } .pw-header-searchpill .pw-search-toggle__label { display: none; } .pw-header-searchpill .pw-search-toggle { padding: 0; width: 44px; justify-content: center; } }
@media (max-width: 960px) { .pw-header-searchpill .pw-nav { margin-left: 0; } }

.pw-hero--marquee { text-align: center; padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.pw-hero--marquee .pw-hero__inner { grid-template-columns: 1fr; justify-items: center; gap: clamp(2rem, 4vw, 3rem); }
.pw-hero--marquee .pw-hero__content { max-width: 840px; }
.pw-hero--marquee .pw-hero__text, .pw-hero--marquee .pw-hero-search { margin-inline: auto; }
.pw-hero--marquee .pw-hero__tags { justify-content: center; }
.pw-marquee { --pw-mq-h: clamp(200px, 19vw, 270px); width: 100vw; margin-inline: calc(50% - 50vw); overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.pw-marquee__track { display: flex; width: max-content; animation: pw-marquee 60s linear infinite; }
.pw-marquee:hover .pw-marquee__track, .pw-marquee:focus-within .pw-marquee__track { animation-play-state: paused; }
.pw-marquee__list { display: flex; gap: clamp(.8rem, 1.6vw, 1.2rem); list-style: none; margin: 0; padding: 0 clamp(.4rem, .8vw, .6rem); }
.pw-marquee__list--static { justify-content: center; flex-wrap: wrap; width: 100%; }
.pw-marquee__item a { position: relative; display: block; color: var(--pw-text); }
.pw-marquee__item img { display: block; height: var(--pw-mq-h); width: auto; max-width: none; border-radius: var(--pw-radius); box-shadow: 0 14px 30px -18px rgba(var(--pw-accent-rgb), .6); transition: transform .35s var(--pw-ease); }
.pw-marquee__item.is-placeholder img { width: calc(var(--pw-mq-h) * .75); padding: 18%; background: var(--pw-surface); object-fit: contain; }
.pw-marquee__item a:hover img { transform: translateY(-5px); }
.pw-marquee__title { display: block; width: 0; min-width: 100%; box-sizing: border-box; padding-inline: .3rem; margin: .65rem 0 0; font-size: .82rem; font-weight: 600; line-height: 1.3; text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@keyframes pw-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
	.pw-marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
	.pw-marquee__list[aria-hidden="true"] { display: none; }
}

.pw-tiles--heart .pw-tile__media { aspect-ratio: 100 / 92; border-radius: 0; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 92'%3E%3Cpath d='M50 90 C 22 70 2 52 2 28 C 2 12 14 2 28 2 C 38 2 46 8 50 16 C 54 8 62 2 72 2 C 86 2 98 12 98 28 C 98 52 78 70 50 90 Z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 92'%3E%3Cpath d='M50 90 C 22 70 2 52 2 28 C 2 12 14 2 28 2 C 38 2 46 8 50 16 C 54 8 62 2 72 2 C 86 2 98 12 98 28 C 98 52 78 70 50 90 Z'/%3E%3C/svg%3E") center / contain no-repeat; }
.pw-tiles--heart .pw-tile__media.is-placeholder img { padding: 24% 22% 26%; }
.pw-tiles--heart .pw-tile:hover .pw-tile__media { transform: translateY(-4px) scale(1.04); box-shadow: none; }
.pw-tiles--heart .pw-tile:hover .pw-tile__media img { transform: none; }
.pw-tiles--heart .pw-tile__label, .pw-tiles--heart .pw-tile__name { align-items: center; justify-content: center; text-align: center; }
.pw-tiles--heart .pw-arrow { display: none; }

/* ==========================================================================
   29. Design style: ROMANCE
   Elegant & feminine: a high-contrast serif, centered section heads with a
   heart divider, centered cards with a fine inner frame line, scalloped
   (crochet-edge) bands, a polaroid about photo and a plum footer.
   ========================================================================== */
.pw-style-romance { --pw-plum: color-mix(in srgb, var(--pw-accent) 35%, #1d0614); }
.pw-style-romance h1, .pw-style-romance h2, .pw-style-romance h3, .pw-style-romance h4, .pw-style-romance .pw-card__title, .pw-style-romance .pw-tile__name { font-weight: 400; letter-spacing: -.01em; }
.pw-style-romance h1 em, .pw-style-romance h2 em, .pw-style-romance .pw-page-title em { font-style: normal; color: var(--pw-accent); }

/* Header */
.pw-style-romance .pw-header { background: #fff; border-bottom: 1px solid var(--pw-border); }
.pw-style-romance .pw-menu > li > a { font-weight: 600; font-size: .84rem; letter-spacing: .1em; text-transform: uppercase; color: var(--pw-text); background: none; position: relative; }
.pw-style-romance .pw-menu > li > a::after { content: ""; position: absolute; left: 1em; right: 1em; bottom: .35em; height: 1.5px; background: var(--pw-accent); transform: scaleX(0); transition: transform .3s var(--pw-ease); }
.pw-style-romance .pw-menu > li > a:hover, .pw-style-romance .pw-menu > .current-menu-item > a { color: var(--pw-accent); background: none; }
.pw-style-romance .pw-menu > li > a:hover::after, .pw-style-romance .pw-menu > .current-menu-item > a::after { transform: scaleX(1); }
.pw-style-romance .pw-menu .sub-menu { border-radius: 6px; border-top: 2px solid var(--pw-accent); }
.pw-style-romance .pw-menu .sub-menu a { text-transform: none; letter-spacing: 0; font-size: .92rem; }
@media (max-width: 960px) { .pw-style-romance .pw-menu > li > a { font-size: .95rem; } .pw-style-romance .pw-menu > li > a::after { display: none; } }

/* Buttons */
.pw-style-romance .pw-btn, .pw-style-romance button[type="submit"].pw-btn, .pw-style-romance .wp-block-button__link, .pw-style-romance input[type="submit"] { border-radius: 4px; font-weight: 600; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; padding: 1.05em 1.8em; }
.pw-style-romance .pw-view-all { background: none; border: 0; border-bottom: 1.5px solid currentColor; border-radius: 0; padding: .2em 0; color: var(--pw-accent); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; font-size: .78rem; box-shadow: none; }
.pw-style-romance .pw-view-all:hover { background: none; color: var(--pw-text); }

/* Hero: soft pink with a fine stitch-dot texture */
.pw-style-romance .pw-hero { background:
	radial-gradient(rgba(var(--pw-accent-rgb), .13) 1.2px, transparent 1.6px) 0 0 / 18px 18px,
	linear-gradient(180deg, var(--pw-hero-bg), var(--pw-bg)); }
.pw-style-romance .pw-hero__title { font-size: clamp(2.7rem, 6vw, 5.3rem); line-height: 1.02; }
.pw-style-romance .pw-hero__eyebrow { display: inline-flex; align-items: center; gap: .8rem; color: var(--pw-accent); letter-spacing: .2em; }
.pw-style-romance .pw-hero__eyebrow .pw-dot { display: none; }
.pw-style-romance .pw-hero .pw-hero__eyebrow::before, .pw-style-romance .pw-hero .pw-hero__eyebrow::after { content: ""; display: block; width: 30px; height: 1px; background: currentColor; opacity: .6; }
.pw-style-romance .pw-hero-search { border-radius: 6px; border: 1px solid var(--pw-border); box-shadow: 0 18px 40px -26px rgba(var(--pw-accent-rgb), .8); }
.pw-style-romance .pw-hero-search .pw-btn { border-radius: 3px; }
.pw-style-romance .pw-hero__tags a { background: #fff; border-color: var(--pw-border); border-radius: 4px; }

/* Section heads: centered, with a heart divider */
.pw-style-romance .pw-section__head { flex-direction: column; align-items: center; text-align: center; gap: .9rem; }
.pw-style-romance .pw-section__intro { display: flex; flex-direction: column; align-items: center; }
.pw-style-romance .pw-section__head .pw-section__desc, .pw-style-romance .pw-section__head p:not(.pw-eyebrow) { margin-inline: auto; }
.pw-style-romance .pw-eyebrow { display: inline-flex; align-items: center; gap: .8rem; color: var(--pw-accent); letter-spacing: .2em; }
.pw-style-romance .pw-eyebrow::before, .pw-style-romance .pw-eyebrow::after { content: ""; width: 30px; height: 1px; background: currentColor; opacity: .6; border-radius: 0; transform: none; }
.pw-style-romance .pw-section__title { font-size: clamp(2.1rem, 4.2vw, 3.3rem); }
.pw-style-romance .pw-section__title::after { content: "♥"; display: block; margin-top: .35rem; font-size: .9rem; color: var(--pw-accent); font-family: var(--pw-font-body); }
.pw-style-romance .pw-section__meta { font-family: var(--pw-font-body); font-style: normal; }
.pw-style-romance .pw-cat-section { border-top: 0; }

/* Scalloped (crochet-edge) bands */
.pw-style-romance .pw-cat-section.is-alt { background: var(--pw-soft); position: relative; margin-block: 14px; }
.pw-style-romance .pw-cat-section.is-alt::before, .pw-style-romance .pw-cat-section.is-alt::after { content: ""; position: absolute; left: 0; right: 0; height: 14px; pointer-events: none; }
.pw-style-romance .pw-cat-section.is-alt::before { bottom: 100%; background: radial-gradient(circle at 50% 100%, var(--pw-soft) 13px, transparent 13.5px) 0 0 / 28px 14px repeat-x; }
.pw-style-romance .pw-cat-section.is-alt::after { top: 100%; background: radial-gradient(circle at 50% 0, var(--pw-soft) 13px, transparent 13.5px) 0 0 / 28px 14px repeat-x; }
.pw-style-romance .tone-1, .pw-style-romance .tone-2, .pw-style-romance .tone-3, .pw-style-romance .tone-4, .pw-style-romance .tone-5, .pw-style-romance .tone-6 { background-color: var(--pw-soft); }
.pw-style-romance .pw-cat-section.is-alt .tone-1, .pw-style-romance .pw-cat-section.is-alt .tone-2, .pw-style-romance .pw-cat-section.is-alt .tone-3, .pw-style-romance .pw-cat-section.is-alt .tone-4, .pw-style-romance .pw-cat-section.is-alt .tone-5, .pw-style-romance .pw-cat-section.is-alt .tone-6 { background-color: #fff; }

/* Cards: centered text, fine inner frame line on the photo */
.pw-style-romance .pw-card__media { border-radius: 6px; }
.pw-style-romance .pw-card__media::after { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(255, 255, 255, .85); border-radius: 3px; opacity: 1; background: none; pointer-events: none; }
.pw-style-romance .pw-card:hover .pw-card__media img { transform: none; }
.pw-style-romance .pw-card__frame { transition: transform .3s var(--pw-ease); }
.pw-style-romance .pw-card:hover .pw-card__frame { transform: translateY(-4px); }
.pw-style-romance .pw-card__body { text-align: center; align-items: center; }
.pw-style-romance .pw-card__cat { color: var(--pw-accent); letter-spacing: .16em; }
.pw-style-romance .pw-card__title { font-family: var(--pw-font-heading); font-size: 1.22rem; line-height: 1.25; }
.pw-style-romance .pw-card__title a { background-image: linear-gradient(var(--pw-accent), var(--pw-accent)); background-size: 0 1px; }
.pw-style-romance .pw-card__date { letter-spacing: .08em; }

/* Browse */
.pw-style-romance .pw-tile__name { font-size: 1.12rem; }

/* About: polaroid photo with a strip of tape */
.pw-style-romance .pw-about { background: var(--pw-bg); }
.pw-style-romance .pw-about__media { position: relative; aspect-ratio: 4 / 4.6; border-radius: 2px; background-color: #fff; border: 14px solid #fff; border-bottom-width: 60px; box-shadow: 0 30px 50px -30px rgba(0, 0, 0, .35); transform: rotate(-2.5deg); overflow: visible; }
.pw-style-romance .pw-about__media::before { content: ""; position: absolute; top: -26px; left: 50%; width: 120px; height: 30px; transform: translateX(-50%) rotate(3deg); background: rgba(var(--pw-accent-rgb), .28); z-index: 2; }
.pw-style-romance .pw-about__media > * { overflow: hidden; }

/* Category & page headers */
.pw-style-romance .pw-page-head { background:
	radial-gradient(rgba(var(--pw-accent-rgb), .12) 1.2px, transparent 1.6px) 0 0 / 18px 18px,
	var(--pw-hero-bg); }
.pw-style-romance .pw-page-head__media { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 92'%3E%3Cpath d='M50 90 C 22 70 2 52 2 28 C 2 12 14 2 28 2 C 38 2 46 8 50 16 C 54 8 62 2 72 2 C 86 2 98 12 98 28 C 98 52 78 70 50 90 Z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 92'%3E%3Cpath d='M50 90 C 22 70 2 52 2 28 C 2 12 14 2 28 2 C 38 2 46 8 50 16 C 54 8 62 2 72 2 C 86 2 98 12 98 28 C 98 52 78 70 50 90 Z'/%3E%3C/svg%3E") center / contain no-repeat; border-radius: 0; box-shadow: none; }
.pw-style-romance .pw-chip { border-radius: 4px; font-weight: 600; letter-spacing: .04em; background: #fff; }
.pw-style-romance .pw-chip.is-active { background: var(--pw-button-bg); border-color: var(--pw-button-bg); color: var(--pw-button-text); }
.pw-style-romance .page-numbers { border-radius: 4px; }

/* Article */
.pw-style-romance .pw-single__title { font-size: clamp(2.3rem, 5vw, 3.9rem); line-height: 1.06; }
.pw-style-romance .pw-pill { background: none; border: 0; color: var(--pw-accent); letter-spacing: .2em; font-weight: 700; }
.pw-style-romance .pw-pill::before, .pw-style-romance .pw-pill::after { content: "♥"; margin: 0 .5em; font-size: .85em; }
.pw-style-romance .pw-single__hero img { border-radius: 6px; outline: 1px solid rgba(var(--pw-accent-rgb), .35); outline-offset: 10px; }
.pw-style-romance .pw-prose h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); }
.pw-style-romance .pw-prose h2::after { content: ""; display: block; width: 46px; height: 2px; margin-top: .5rem; background: var(--pw-accent); }
.pw-style-romance .pw-prose blockquote { border: 0; border-top: 1px solid var(--pw-border); border-bottom: 1px solid var(--pw-border); border-radius: 0; background: none; text-align: center; font-family: var(--pw-font-heading); font-style: normal; font-size: 1.35rem; padding: 1.6rem 1rem; }
.pw-style-romance .pw-sidebar .widget { border-radius: 6px; border: 1px solid var(--pw-border); background: #fff; }
.pw-style-romance .pw-sidebar .widget-title, .pw-style-romance .pw-sidebar .wp-block-heading { color: var(--pw-accent); letter-spacing: .16em; }
.pw-style-romance .post-navigation a { border-radius: 6px; }
.pw-style-romance .pw-contact__form-wrap { border-radius: 8px; }

/* Footer: plum with a scalloped top edge */
.pw-style-romance .pw-footer { position: relative; margin-top: 14px; }
.pw-style-romance .pw-footer::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 14px; background: radial-gradient(circle at 50% 100%, var(--pw-footer-bg) 13px, transparent 13.5px) 0 0 / 28px 14px repeat-x; pointer-events: none; }
.pw-style-romance .pw-footer .widget-title { color: #fff; opacity: .8; letter-spacing: .18em; }
.pw-style-romance .pw-footer a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--pw-button-bg); text-underline-offset: 4px; }
.pw-style-romance .pw-brand__icon { background: #fff; border-radius: 50%; }
.pw-style-romance .pw-footer .pw-searchform button { background: var(--pw-button-bg); color: var(--pw-button-text); }

/* ==========================================================================
   30. Motion preferences
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
