/*!
 Theme Name:   Zephyr Child
 Template:     Zephyr
*/

/*
 Hand-written styles, loaded after style-legacy.css (the compiled Sass, left untouched).
 Plain, widely supported CSS only. Prefer Zephyr/WPBakery elements and design options
 over extra classes; add a class here only when a design is shared between pages.
*/

/* ---------- Tokens. pw-theme-backroom = dark (footer), pw-theme-paper = light ---------- */
:root, .pw-theme-paper {
	--paper: #F2EDE3;
	--paper-raised: #FBF8F2;
	--paper-white: #FFFFFF;
	--paper-shade: #E4DDCF;
	--ink: #231F20;
	--ink-muted: #5A5350;
	--hairline: #C9C0B2;
	--brass: #CC9933;
	--on-brass: #231F20;
	--brass-deep: #7E5914;
	--sand: #EBE2BE;
	--signal: #B8281A;
	--on-signal: #FBF8F2;
	--on-ink: #FBF8F2;
	--focus: var(--signal);
	--success: #487D30;
	--danger: #BD1926;
	--shove-sm: 3px 3px 0 #231F20;
	--shove-md: 6px 6px 0 #231F20;
	--shove-signal: 6px 6px 0 #B8281A;
}

.pw-theme-backroom {
	--paper: #161314;
	--paper-raised: #211D1E;
	--paper-white: #211D1E;
	--paper-shade: #2E2928;
	--ink: #F2EDE3;
	--ink-muted: #B3AAA0;
	--hairline: #4A4342;
	--brass: #D9A84A;
	--on-brass: #231F20;
	--brass-deep: #D9A84A;
	--sand: #3A3428;
	--signal: #FF6A4D;
	--on-signal: #231F20;
	--on-ink: #231F20;
	--focus: var(--signal);
	--success: #7DBA5E;
	--danger: #FF7A72;
	--shove-sm: 3px 3px 0 #F2EDE3;
	--shove-md: 6px 6px 0 #F2EDE3;
	--shove-signal: 6px 6px 0 #FF6A4D;
}

:root {
	--space-1: 4px;
	--space-2: 8px;
	--space-3: 12px;
	--space-4: 16px;
	--space-5: 24px;
	--space-6: 32px;
	--space-7: 48px;
	--space-8: 64px;
	--space-9: 96px;
	--rule: 2px;
	--rule-heavy: 6px;
	--cover-ratio: 20 / 29;
	/* Display and body come from Theme Options > Typography (Heading 1, Global Text). Mono is loaded there too,
	   under Additional Google Fonts, but Zephyr has no variable for it */
	--font-display: var(--h1-font-family), "Arial Narrow", Impact, sans-serif; /* Zephyr gives Big Shoulders no fallback */
	--font-serif: var(--font-family);
	--font-mono: "IBM Plex Mono", "Courier New", monospace;
}

/* ---------- Site-wide basics ---------- */
body {
	-webkit-font-smoothing: antialiased;
}

:focus-visible {
	outline: 3px solid var(--focus);
	outline-offset: 3px;
}

/* Buttons: everything but the hover lift is Theme Options > Buttons (Zephyr gives style 1 to plugin submit buttons too) */
.w-btn,
.button,
[type="submit"] {
	transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease, color 0.12s ease;
}

.no-touch .w-btn:hover,
.no-touch .button:hover,
.no-touch [type="submit"]:hover {
	transform: translate(-2px, -2px);
}

.w-btn:active,
.button:active,
[type="submit"]:active {
	box-shadow: none;
	transform: translate(2px, 2px);
}

/* Prices and dates are labels, so mono */
.price,
.woocommerce-Price-amount,
.w-post-elm.post_date {
	font-family: var(--font-mono);
}

/* ---------- Type helpers (used in text blocks) ---------- */
.pw-shout {
	font-family: var(--font-display);
	font-size: clamp(64px, 11vw, 120px);
	font-weight: 900;
	letter-spacing: -0.01em;
	line-height: 0.86;
	margin: 0;
	padding: 0;
	text-transform: uppercase;
}

.pw-headline {
	font-family: var(--font-display);
	font-size: clamp(44px, 7vw, 64px);
	font-weight: 800;
	line-height: 0.9;
	margin: 0;
	padding: 0;
	text-transform: uppercase;
}

.pw-kicker,
.pw-kicker a {
	font-family: var(--font-mono);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.08em;
	line-height: 1.3;
	text-transform: uppercase;
}

.pw-lede {
	color: var(--ink-muted);
	font-family: var(--font-serif);
	font-size: 24px;
	font-style: italic;
	line-height: 1.35;
	max-width: 30ch;
}

.pw-kicker p,
.pw-lede p {
	margin: 0;
}

/* A Text Block in a Horizontal Wrapper: the wrapper's gap spaces it, so its bottom margin doesn't push it off the
   middle (e.g. the Contact page's "Quick answers in the FAQ" kicker beside the chips) */
.w-hwrapper > .wpb_text_column {
	margin-bottom: 0;
}

/* The child theme's elements (inc/wpb-elements.php) space out like a Text Block */
.w-hw:not(:last-child) {
	margin-bottom: var(--text-block-margin-bottom, 0px);
}

.pw-hit {
	color: var(--signal);
}

.pw-strike {
	display: inline-block;
	position: relative;
}

.pw-strike::after {
	background: var(--signal);
	content: "";
	height: 0.09em;
	left: -2%;
	position: absolute;
	right: -2%;
	top: 52%;
	transform: rotate(-3deg);
}

/* ---------- Sections (rows) ---------- */
.l-section.pw-section--shade {
	background: var(--paper-shade);
}

.pw-halftone {
	background-image: radial-gradient(var(--paper-shade) 1.2px, transparent 1.3px);
	background-size: 8px 8px;
}

/* Section head: heavy rule, headline, mono link (Horizontal Wrapper "pw-sechead") */
.w-hwrapper.pw-sechead {
	border-top: var(--rule-heavy) solid var(--ink);
	margin-bottom: var(--space-7);
	padding-top: var(--space-4);
}

.pw-sechead .wpb_text_column {
	margin: 0;
}

.pw-sechead a {
	font-family: var(--font-mono);
	font-size: 15px;
	font-weight: 500;
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 4px;
}

.pw-sechead a:hover {
	color: var(--brass-deep);
}

/* ---------- Hero: copy + cover wall (row "pw-hero pw-halftone") ---------- */
.l-section.pw-hero {
	overflow: hidden;
}

.pw-hero__copy .wpb_wrapper {
	display: flex;
	flex-direction: column;
	gap: var(--space-5);
}

.pw-hero__copy .wpb_wrapper > * {
	margin: 0 !important;
}

/* Cover wall grid ("PW Cover wall" layout): covers knocked a few degrees off straight */
.pw-wall .w-grid-list {
	align-items: end;
}

.pw-wall .w-grid-item-h {
	background: transparent;
	transition: transform 0.15s ease;
}

.pw-wall .w-grid-item:nth-child(4n+1) .w-grid-item-h {
	transform: rotate(-3deg) translateY(12px);
}

.pw-wall .w-grid-item:nth-child(4n+2) .w-grid-item-h {
	transform: rotate(2deg);
}

.pw-wall .w-grid-item:nth-child(4n+3) .w-grid-item-h {
	transform: rotate(-1.5deg) translateY(20px);
}

.pw-wall .w-grid-item:nth-child(4n) .w-grid-item-h {
	transform: rotate(3deg) translateY(-8px);
}

.pw-wall .w-grid-item:hover .w-grid-item-h {
	position: relative;
	transform: rotate(0) translateY(-6px) scale(1.04);
	z-index: 2;
}

.w-grid-item.type-product .w-post-elm.pw-wall__cover img {
	background: var(--paper-shade);
	object-fit: cover;
}

/* The one featured cover */
.pw-wall .w-grid-item:nth-child(2) .pw-wall__cover {
	box-shadow: var(--shove-signal);
	position: relative;
	z-index: 1;
}

/* ---------- Book tile ("PW Book tile" layout, grids with "pw-shelf") ---------- */
.pw-shelf .w-grid-item-h {
	background: transparent;
}

.pw-book {
	width: 100%;
}

.w-post-elm.pw-book__cover {
	margin: 0;
	position: relative;
	width: 100%;
}

.w-post-elm.pw-book__title {
	font-family: var(--font-display);
	font-size: 22px;
	font-weight: 700;
	line-height: 1.05;
	margin: 0;
	padding: 0;
	text-transform: none;
}

.w-post-elm.pw-book__author {
	color: var(--ink-muted);
	font-size: 16px;
	line-height: 1.4;
}

.w-hwrapper.pw-book__meta {
	border-top: var(--rule) solid var(--ink);
	font-family: var(--font-mono);
	font-size: 15px;
	font-weight: 500;
	padding-top: var(--space-2);
	width: 100%;
}

.pw-book__price,
.pw-book__price .woocommerce-Price-amount {
	color: var(--ink);
	font-weight: 500;
}

.pw-book__price small {
	display: none;
}

.pw-book__format {
	color: var(--ink-muted);
	font-size: 12px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

/* ---------- Sticker. Grid stickers: "New" on the two newest, "Staff pick" on the first pick ---------- */
.pw-sticker,
.pw-shelf--new .w-grid-item:nth-child(-n+2) .pw-book__cover::after,
.pw-shelf--picks .w-grid-item:first-child .pw-book__cover::after {
	background: var(--signal);
	box-shadow: var(--shove-sm);
	color: var(--on-signal);
	display: inline-block;
	font-family: var(--font-mono);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.08em;
	line-height: 1;
	padding: var(--space-2) 10px;
	text-transform: uppercase;
	transform: rotate(-4deg);
}

.pw-shelf--new .w-grid-item:nth-child(-n+2) .pw-book__cover::after,
.pw-shelf--picks .w-grid-item:first-child .pw-book__cover::after {
	content: "New";
	position: absolute;
	right: -8px;
	top: -8px;
	z-index: 1;
}

.pw-shelf--picks .w-grid-item:first-child .pw-book__cover::after {
	background: var(--ink);
	color: var(--on-ink);
	content: "Staff pick";
	transform: rotate(-2deg);
}

/* ---------- Category strip (replaces the boxing-glove tiles) ---------- */
ul.pw-cats {
	border-top: var(--rule) solid var(--ink);
	list-style: none;
	margin: 0;
	padding: 0;
}

.pw-cats li {
	border-bottom: var(--rule) solid var(--ink);
	margin: 0;
}

.pw-cats a {
	align-items: baseline;
	color: var(--ink);
	display: grid;
	gap: var(--space-4);
	grid-template-columns: 56px 1fr auto;
	padding: var(--space-3) var(--space-2);
	text-decoration: none;
	transition: background 0.12s ease, padding 0.12s ease;
}

.pw-cats .n {
	color: var(--ink-muted);
	font-family: var(--font-mono);
	font-size: 13px;
}

.pw-cats .name {
	font-family: var(--font-display);
	font-size: clamp(32px, 5vw, 56px);
	font-weight: 800;
	line-height: 1;
	text-transform: uppercase;
}

.pw-cats .count {
	font-family: var(--font-mono);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.pw-cats a:hover {
	background: var(--brass);
	color: var(--on-brass);
	padding-left: var(--space-5);
}

.pw-cats a:hover .n {
	color: var(--on-brass);
}

/* Phones: the number column shrinks to fit, giving the names more room */
@media (max-width: 600px) {
	.pw-cats a {
		grid-template-columns: 0.1fr 1fr auto;
	}
}

/* ---------- News card ("PW News card" layout, grid "pw-news") ---------- */
.pw-news .w-grid-item-h {
	background: transparent;
}

.w-vwrapper.pw-newscard {
	border-top: var(--rule) solid var(--ink);
	padding-top: var(--space-4);
	width: 100%;
}

.pw-newscard .pw-kicker,
.pw-newscard .pw-kicker a {
	color: var(--brass-deep);
}

.pw-newscard .w-post-elm.post_title {
	font-family: var(--font-display);
	font-size: 26px;
	font-weight: 700;
	line-height: 1.02;
	margin: 0;
	padding: 0;
	text-transform: none;
}

.pw-newscard .post_title a:hover {
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 4px;
}

.pw-newscard .w-post-elm.post_date {
	color: var(--ink-muted);
	font-size: 12px;
}

/* ---------- Newsletter band (row "pw-subscribe pw-theme-paper", Optin Cat form 112) ---------- */
.l-section.pw-subscribe {
	background: var(--brass);
	color: var(--on-brass);
}

.pw-subscribe .pw-headline {
	font-size: clamp(36px, 5vw, 56px);
}

.pw-subscribe .fca_eoi_form_wrapper,
.pw-subscribe .fca_eoi_form,
.pw-subscribe .fca_eoi_layout_content_wrapper {
	background: none !important;
	border: 0 !important;
	box-shadow: none !important;
	display: block !important;
	margin: 0 !important;
	max-width: none !important;
	padding: 0 !important;
	width: 100% !important;
}

.pw-subscribe .fca_eoi_layout_inputs_wrapper {
	align-items: center; /* the fields (Input Fields height) and the button (Buttons style 1 size) can differ in height */
	display: flex;
}

.pw-subscribe .fca_eoi_layout_inputs_wrapper > div {
	background: none !important;
	border: 0 !important;
	border-radius: 0 !important;
	flex: 1 1 0;
	margin: 0 !important;
	min-width: 0;
	padding: 0 !important;
	width: auto !important;
}

.pw-subscribe .fca_eoi_layout_inputs_wrapper > .fca_eoi_layout_submit_button_wrapper {
	flex: 0 0 auto;
}

/* Fields follow Theme Options > Input Fields style 1 (the --inputs-* variables, with Zephyr's own fallbacks
   from common/css/base/_general.css), so a change there restyles them too. The plugin's own CSS is undone; :not(#hw-newsletter)
   gives the selector an ID's weight, to beat the form's own #fca_eoi_form_112 rules (e.g. font-size 18px !important) */
.pw-subscribe .fca_eoi_form .fca_eoi_layout_inputs_wrapper input.fca_eoi_form_input_element:not(#hw-newsletter) {
	background: var(--inputs-background, transparent) !important;
	border: var(--inputs-border-width, 1px) solid var(--inputs-border-color, currentColor) !important;
	border-radius: var(--inputs-border-radius, 0px) !important;
	box-shadow: var(--inputs-box-shadow, none) !important;
	color: var(--inputs-text-color, inherit) !important;
	font-family: var(--inputs-font-family, inherit) !important;
	font-size: var(--inputs-font-size, inherit) !important;
	font-weight: var(--inputs-font-weight, inherit) !important;
	height: auto !important;
	letter-spacing: var(--inputs-letter-spacing, inherit) !important;
	line-height: var(--inputs-height, 2em) !important;
	min-height: var(--inputs-height, 2em) !important;
	padding: 0 var(--inputs-padding, .6em) !important;
	text-transform: var(--inputs-text-transform, inherit) !important;
	transition: background .2s, border-color .2s, box-shadow .2s;
}

.pw-subscribe .fca_eoi_form .fca_eoi_layout_inputs_wrapper input.fca_eoi_form_input_element:not(#hw-newsletter):focus {
	background: var(--inputs-focus-background, transparent) !important;
	border-color: var(--inputs-focus-border-color, currentColor) !important;
	box-shadow: var(--inputs-focus-box-shadow, none) !important;
	color: var(--inputs-focus-text-color, inherit) !important;
	outline: none;
}

/* The button is Theme Options > Buttons style 1, which Zephyr gives every plugin submit button. Only the plugin's
   border: 0 !important is undone, with the border Zephyr sets for that style */
.pw-subscribe .fca_eoi_form .fca_eoi_layout_inputs_wrapper input.fca_eoi_form_button_element {
	border-color: var(--btn-border-color, transparent) !important;
	border-style: solid !important;
	border-width: var(--btn-border-width, 0px) !important;
	cursor: pointer;
	width: auto !important;
}

.no-touch .pw-subscribe .fca_eoi_form .fca_eoi_layout_inputs_wrapper input.fca_eoi_form_button_element:hover {
	border-color: var(--btn-hover-border-color, transparent) !important;
}

@media (max-width: 599px) {
	.pw-subscribe .fca_eoi_layout_inputs_wrapper {
		flex-wrap: wrap;
	}

	.pw-subscribe .fca_eoi_layout_inputs_wrapper > div,
	.pw-subscribe .fca_eoi_layout_inputs_wrapper > .fca_eoi_layout_submit_button_wrapper {
		flex-basis: 100%;
	}

	.pw-subscribe .fca_eoi_form .fca_eoi_layout_inputs_wrapper input.fca_eoi_form_button_element {
		width: 100% !important;
	}
}

/* ---------- Header (Default Header, ID 33) ---------- */
.l-header .l-subheader.at_middle {
	border-bottom: 0;
}

.l-header .at_middle .l-subheader-h {
	align-items: center;
	padding-top: 0;
}

.l-header .l-subheader.at_bottom {
	border-bottom: var(--rule) solid var(--ink);
	border-top: var(--rule) solid var(--ink);
}

@media (max-width: 899px) {
	.l-header .at_middle .at_left,
	.l-header.sticky .at_middle .at_left {
		height: auto;
		margin-top: 0;
	}

	.l-header .l-subheader.at_middle {
		border-bottom: var(--rule) solid var(--ink);
	}

	.l-header .l-subheader.at_bottom {
		border-top: 0;
	}
}

.l-header .pw-nav .w-nav-anchor {
	font-family: var(--font-mono);
	font-size: 15px;
	font-weight: 500;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}


.l-header .pw-nav .w-nav-list.level_2 {
	border: var(--rule) solid var(--ink);
	box-shadow: var(--shove-sm);
}

/* Cart: square ink-edged icon button, count in a signal square */
.l-header .pw-cart .w-cart-link {
	align-items: center;
	background: var(--paper);
	border: var(--rule) solid var(--ink);
	border-radius: 0;
	color: var(--ink);
	display: flex;
	height: 44px;
	justify-content: center;
	position: relative;
	width: 44px;
}

.l-header .pw-cart .w-cart-link:hover {
	background: var(--ink);
	box-shadow: none;
	color: var(--on-ink) !important;
}

/* The count sits on the button's corner, not the icon's */
.l-header .pw-cart .w-cart-icon {
	line-height: 1;
	position: static;
}

.l-header .pw-cart .w-cart-quantity {
	align-items: center;
	border-radius: 0;
	box-sizing: border-box;
	display: flex;
	font-family: var(--font-mono);
	font-size: 11px;
	font-weight: 600;
	height: 20px;
	justify-content: center;
	line-height: 1;
	min-width: 20px;
	padding: 0 4px;
	right: -10px;
	top: -10px;
}

/* Search: the Ajax Search Pro box restyled, same 44px height as the cart, white field.
 The legacy CSS stretches the first HTML element to 100% and sizes the box at 3rem. */
.l-header .w-hwrapper.pw-search {
	flex: 0 0 auto;
	width: 320px;
}

.l-header .pw-search .w-html {
	width: 100%;
}

.l-header .at_middle .at_right .pw-cart {
	margin-left: var(--space-3);
}

.l-header #ajaxsearchpro1_1,
.l-header #ajaxsearchpro1_1 .probox {
	background: transparent;
	border: 0;
	box-shadow: none;
	height: 44px;
	min-height: 44px;
}

/* The field takes Theme Options > Input Fields (the --inputs-* variables), the magnifier sits on the left */
.l-header #ajaxsearchpro1_1 .probox .proinput .orig {
	background: var(--inputs-background) !important;
	border: var(--inputs-border-width) solid var(--inputs-border-color);
	border-radius: var(--inputs-border-radius);
	box-sizing: border-box;
	color: var(--inputs-text-color);
	font-family: var(--inputs-font-family);
	font-size: var(--inputs-font-size);
	height: 44px;
	line-height: 40px;
	margin: 0 !important;
	min-height: 44px;
	padding: 0 40px 0 42px !important;
}

.l-header #ajaxsearchpro1_1 .probox .proinput {
	margin: 0;
	padding: 0;
}

.l-header #ajaxsearchpro1_1 .probox .proinput .autocomplete {
	border: var(--inputs-border-width) solid transparent;
	box-sizing: border-box;
	font-family: var(--inputs-font-family);
	font-size: var(--inputs-font-size);
	height: 44px;
	margin: -44px 0 0 !important;
	padding: 0 40px 0 42px !important;
}

.l-header #ajaxsearchpro1_1 .probox .proinput .orig::placeholder {
	color: var(--ink-muted);
	font-family: var(--inputs-font-family);
	font-size: var(--inputs-font-size) !important;
	opacity: 1;
}

.l-header #ajaxsearchpro1_1 .probox .promagnifier {
	align-items: center;
	display: flex;
	height: 44px;
	left: var(--space-3);
	right: auto;
	top: 0;
	z-index: 1;
}

/* ASP shows these only while typing, so centre them without touching display */
.l-header #ajaxsearchpro1_1 .probox .proclose,
.l-header #ajaxsearchpro1_1 .probox .proloading {
	top: 50%;
	transform: translateY(-50%);
}

.l-header #ajaxsearchpro1_1 .probox .proclose,
.l-header #ajaxsearchpro1_1 .probox .proloading {
	right: var(--space-3);
}

.l-header #ajaxsearchpro1_1 svg {
	fill: var(--ink) !important;
}

.l-header #ajaxsearchpro1_1 svg:hover {
	fill: var(--signal) !important;
}

/* ---------- Footer (Reusable Block "Default Footer", ID 9; rows "pw-footer pw-theme-backroom") ---------- */
.l-section.pw-footer {
	background: var(--paper);
	color: var(--ink-muted);
}

.pw-footer .pw-footer__logo {
	margin-bottom: var(--space-4);
}

.pw-footer .pw-footer__logo img {
	height: 72px;
	width: auto;
}

.pw-footer p {
	font-size: 16px;
	max-width: 34ch;
}

.pw-footer .pw-footer__head {
	color: var(--brass-deep) !important;
	font-family: var(--font-mono);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.08em;
	margin: 0 0 var(--space-4);
	padding: 0;
	text-transform: uppercase;
}

.pw-footer ul {
	font-family: var(--font-mono);
	font-size: 15px;
	line-height: 2;
	list-style: none;
	margin: 0;
	padding: 0;
}

.pw-footer li {
	margin: 0;
}

.pw-footer a {
	color: var(--ink);
	text-decoration: none;
}

.pw-footer a:hover {
	color: var(--signal);
	text-decoration: underline;
}

.pw-footer__social .wpb_wrapper {
	display: flex;
	gap: var(--space-3);
	margin-top: var(--space-4);
}

.pw-footer .pw-footer__social a {
	border: var(--rule) solid var(--ink);
	font-family: var(--font-mono);
	font-size: 13px;
	letter-spacing: 0.06em;
	padding: var(--space-2) var(--space-3);
	text-transform: uppercase;
}

.pw-footer .pw-footer__social a:hover {
	background: var(--ink);
	color: var(--on-ink);
	text-decoration: none;
}

.l-section.pw-footer--base {
	padding-bottom: var(--space-5);
	padding-top: 0;
}

.pw-footer--base .l-section-h {
	border-top: var(--rule) solid var(--hairline);
	padding-top: var(--space-4);
}

.pw-footer--base ul {
	color: var(--ink-muted);
	display: flex;
	flex-wrap: wrap;
	font-size: 12px;
	gap: var(--space-3) var(--space-5);
	justify-content: space-between;
	line-height: 1.5;
}

.pw-footer--base a {
	color: var(--ink-muted);
}

/* ==========================================================================
   Round 2 (2026-10-26): header contact strip + nav row, page head (shop, FAQ),
   shop list bar, reviews on the Book page, FAQ accordion
   ========================================================================== */
:root {
	--content-max: 1320px;
	--text-max: 68ch;
}

/* ---------- Header: nav row is 2px rule + 47px links + 2px rule (row height 51px in the header).
   Zephyr sizes the inner row and the links to the full 51px (links min 50px), which ran over the bottom rule.
   Desktop header only: the tablet state starts at 900px and the mobile bottom row holds the search. ---------- */
@media (min-width: 901px) {
	.l-header .l-subheader.at_bottom .l-subheader-h {
		height: calc(var(--header-area-height) - 2 * var(--rule));
	}

	.l-header .l-subheader.at_bottom .pw-nav .w-nav-anchor.level_1 {
		height: calc(var(--header-area-height) - 2 * var(--rule));
		min-height: 0;
	}
}

/* Contact strip beside the search: email (icon + address) and 32px Instagram / Facebook icons */
.l-header .pw-header__email {
	font-family: var(--font-mono);
	font-size: 13px;
}

.l-header .pw-header__email a {
	color: var(--ink-muted);
	text-decoration: none;
}

.l-header .pw-header__email a:hover {
	color: var(--ink);
	text-decoration: underline;
}

.l-header .pw-header__social .w-socials-list {
	display: flex;
	gap: var(--space-1);
	margin: 0;
}

.l-header .pw-header__social .w-socials-item {
	padding: 0;
}

.l-header .pw-header__social .w-socials-item-link {
	color: var(--ink);
	display: grid;
	font-size: 16px;
	height: 32px;
	line-height: 32px;
	place-items: center;
	width: 32px;
}

.l-header .pw-header__social .w-socials-item-link:hover {
	background: var(--ink);
	color: var(--on-ink);
}

@media (max-width: 1100px) {
	.l-header .pw-header__email .w-text-value {
		clip: rect(0 0 0 0);
		height: 1px;
		overflow: hidden;
		position: absolute;
		white-space: nowrap;
		width: 1px;
	}
}

/* ---------- Page head (row "pw-pagehead pw-halftone"): shop, categories, FAQ ---------- */
.l-section.pw-pagehead {
	border-bottom: var(--rule) solid var(--ink);
	padding-bottom: var(--space-7);
	padding-top: var(--space-8);
}

.pw-pagehead .pw-lede {
	margin-top: var(--space-4);
	max-width: 46ch;
}

.pw-pagehead .pw-shout {
	margin-top: 0;
}

/* Breadcrumbs: mono, "/" between items */
.g-breadcrumbs.pw-crumbs {
	color: var(--ink-muted);
	font-family: var(--font-mono);
	font-size: 13px;
	gap: var(--space-2);
	margin-bottom: var(--space-5);
}

.g-breadcrumbs.pw-crumbs .g-breadcrumbs-separator i {
	display: none;
}

.g-breadcrumbs.pw-crumbs .g-breadcrumbs-separator::before {
	color: var(--hairline);
	content: "/";
}

.g-breadcrumbs.pw-crumbs a {
	color: inherit;
	text-decoration: none;
}

.g-breadcrumbs.pw-crumbs a:hover {
	color: var(--ink);
	text-decoration: underline;
}

.g-breadcrumbs.pw-crumbs .g-breadcrumbs-item:last-child {
	color: var(--ink);
}

/* Chips: sibling shelves on shop pages ([hw_shop_chips]), section jumps on the FAQ */
.pw-chips-wrap {
	margin: var(--space-6) 0 0;
}

.pw-chips {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-2);
}

/* ---------- Shop & categories: list bar ([hw_shop_listbar]) with the sort boxes in place of the sort menu (1.9), Load more ---------- */
.pw-listbar-wrap {
	margin: 0;
}

.pw-listbar {
	align-items: center;
	border-bottom: var(--rule) solid var(--ink);
	color: var(--ink-muted);
	display: flex;
	flex-wrap: wrap;
	font-family: var(--font-mono);
	font-size: 13px;
	gap: var(--space-3);
	justify-content: space-between;
	letter-spacing: 0.06em;
	margin-bottom: var(--space-7);
	padding-bottom: var(--space-3);
	text-transform: uppercase;
}

.pw-sort {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-2);
}

.pw-sort > span {
	margin-right: var(--space-1);
}

.pw-sort a {
	background: var(--paper-raised);
	border: 1px solid var(--ink);
	color: var(--ink);
	font-size: 12px;
	font-weight: 600;
	padding: 6px var(--space-3);
	text-decoration: none;
}

.no-touch .pw-sort a:hover {
	background: var(--brass);
	color: var(--on-brass);
}

.pw-sort a[aria-current],
.no-touch .pw-sort a[aria-current]:hover {
	background: var(--ink);
	color: var(--on-ink);
}

.pw-shelf--shop .g-loadmore {
	margin-top: var(--space-8);
}

/* ---------- Reviews on the Book page ("PW Review quote" layout): pull quote, or the excerpt ---------- */
.w-vwrapper.pw-quote {
	background: var(--sand);
	color: var(--ink);
	height: 100%;
	padding: var(--space-6);
	position: relative;
}

.w-vwrapper.pw-quote::before {
	color: var(--brass);
	content: "\201C";
	font-family: var(--font-display);
	font-size: 140px;
	font-weight: 900;
	left: var(--space-4);
	line-height: 0.7;
	position: absolute;
	top: var(--space-4);
}

.pw-quote .pw-quote__text {
	font-family: var(--font-serif);
	font-size: 24px;
	font-style: italic;
	line-height: 1.35;
	margin: 0 0 var(--space-4);
	padding-left: var(--space-8);
}

.pw-quote .pw-quote__cite {
	font-family: var(--font-mono);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.06em;
	line-height: 1.4;
	padding-left: var(--space-8);
	text-transform: uppercase;
}

.pw-quote .pw-quote__cite a {
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 3px;
}

.pw-quote .pw-quote__cite a:hover {
	color: var(--brass-deep);
}

/* The book page's details-list divider (.single-product .post_custom_field) isn't for the quote */
.single-product .pw-quote .pw-quote__text {
	border-bottom: 0;
	padding-bottom: 0;
}

/* One review: under the description. Two or more: their own row */
.pw-reviews-head {
	border-top: var(--rule-heavy) solid var(--ink);
	margin-bottom: var(--space-5);
	padding-top: var(--space-4);
}

.pw-reviews-head--one {
	margin-top: var(--space-7);
}

.pw-reviews-head .pw-headline {
	font-size: clamp(36px, 5vw, 48px);
}

.pw-reviews--one .pw-quote .pw-quote__text {
	font-size: 22px;
}

@media (max-width: 600px) {
	.w-vwrapper.pw-quote {
		padding: var(--space-5);
	}

	.w-vwrapper.pw-quote::before {
		font-size: 96px;
		left: var(--space-3);
		top: var(--space-3);
	}

	.pw-quote .pw-quote__text,
	.pw-reviews--one .pw-quote .pw-quote__text {
		font-size: 20px;
		padding-left: var(--space-6);
	}

	.pw-quote .pw-quote__cite {
		padding-left: var(--space-6);
	}
}

/* ---------- Accordion (Zephyr "Accordion", Toggle style 1): the design's FAQ list, site-wide, no extra class.
   Ink rules, display-face questions, a 32px ink-edged square control: "+" closed, filled "-" open.
   Question size: the accordion's own Title Size setting (24px on the FAQ page). ---------- */
.w-tabs.accordion.toggle_style_1 > .w-tabs-sections {
	border-top: var(--rule) solid var(--ink);
}

.w-tabs.accordion.toggle_style_1 > div > .w-tabs-section,
.w-tabs.accordion.toggle_style_1 > div > .w-tabs-section:last-of-type {
	border-bottom: var(--rule) solid var(--ink);
	border-top: 0;
}

.w-tabs.accordion.toggle_style_1 .w-tabs-section-header {
	align-items: baseline;
	gap: var(--space-4);
	padding: var(--space-4) 0;
}

.no-touch .w-tabs.accordion.toggle_style_1 .w-tabs-section-header:hover {
	background: none;
	color: var(--brass-deep);
}

.w-tabs.accordion.toggle_style_1 > div > .w-tabs-section.active > .w-tabs-section-header {
	color: var(--ink);
}

.w-tabs.accordion.toggle_style_1 .w-tabs-section-title {
	font-family: var(--font-display);
	font-weight: 700;
	line-height: 1.1;
	text-transform: none;
}

.w-tabs.accordion.toggle_style_1 .w-tabs-section-control {
	align-self: center;
	border: var(--rule) solid var(--ink);
	box-sizing: border-box;
	height: 32px;
	position: relative;
	transform: none;
	width: 32px;
}

.w-tabs.accordion.toggle_style_1 .w-tabs-sections.icon_plus > .w-tabs-section.active > .w-tabs-section-header .w-tabs-section-control,
.w-tabs.accordion.toggle_style_1 .w-tabs-sections.icon_chevron > .w-tabs-section.active > .w-tabs-section-header .w-tabs-section-control {
	background: var(--ink);
	color: var(--on-ink);
	transform: none;
}

/* Both Plus and Chevron icons draw as the +/- square */
.w-tabs.accordion.toggle_style_1 .w-tabs-sections > div > .w-tabs-section-header .w-tabs-section-control::before,
.w-tabs.accordion.toggle_style_1 .w-tabs-sections > div > .w-tabs-section-header .w-tabs-section-control::after {
	background: currentColor;
	border: 0;
	border-radius: 0;
	content: "";
	position: absolute;
	transform: none;
}

.w-tabs.accordion.toggle_style_1 .w-tabs-sections > div > .w-tabs-section-header .w-tabs-section-control::before {
	height: auto;
	inset: 7px auto 7px calc(50% - 1px);
	width: 2px;
}

.w-tabs.accordion.toggle_style_1 .w-tabs-sections > div > .w-tabs-section-header .w-tabs-section-control::after {
	height: 2px;
	inset: calc(50% - 1px) 7px auto 7px;
	width: auto;
}

.w-tabs.accordion.toggle_style_1 .w-tabs-sections > .w-tabs-section.active > .w-tabs-section-header .w-tabs-section-control::before {
	display: none;
}

.w-tabs.accordion.toggle_style_1 > div > .w-tabs-section > .w-tabs-section-content {
	max-width: var(--text-max);
	padding: 0 var(--space-8) var(--space-5) 0;
}

.w-tabs.accordion.toggle_style_1 .w-tabs-section-content p {
	margin: 0 0 var(--space-3);
}

@media (max-width: 760px) {
	.w-tabs.accordion.toggle_style_1 > div > .w-tabs-section > .w-tabs-section-content {
		padding-right: 0;
	}
}

/* ==========================================================================
   Round 3 (2026-10-26): buttons, book cover hover, book page, review page and
   cards, footer, newsletter spacing, textareas
   ========================================================================== */

.pw-chips {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-2);
}

/* ---------- Book cover (PW Book tile, PW Book card, book page): fixed 20:29 box, three-layer hover.
   js/pw.js copies the cover image into a back cover and a page block behind it, and adds the corner piece.
   The layers tilt from their bottom-left corner, so the corners land on these offsets whatever the cover size. ---------- */
.w-post-elm.pw-book__cover {
	--book-front-x: 3px;
	--book-front-y: 2px;
	--book-back-x: 10px;
	--book-back-y: 5px;
	--book-edge: 1px; /* the strip of back cover showing below the pages */
}

.w-post-elm.pw-book__cover > a {
	aspect-ratio: var(--cover-ratio);
	display: grid;
	grid-template: minmax(0, 1fr) / minmax(0, 1fr);
	position: relative;
}

.w-grid-item .w-post-elm.pw-book__cover img,
.w-post-elm.pw-book__cover img {
	align-self: end;
	aspect-ratio: auto;
	background: none;
	grid-area: 1 / 1;
	height: 100%;
	justify-self: center;
	max-width: 100%;
	min-height: 0;
	min-width: 0;
	object-fit: contain;
	object-position: center bottom;
	transform-origin: left bottom;
	transition: transform 0.2s ease, opacity 0.2s ease;
	width: auto;
}

.pw-book__cover .pw-book__back,
.pw-book__cover .pw-book__pages {
	opacity: 0;
}

.pw-book__cover .pw-book__pages {
	border-top-right-radius: 10px 14px;
	filter: brightness(0) invert(0.97) sepia(0.12) drop-shadow(0 2px 1.5px rgba(35, 31, 32, 0.35));
}

.pw-book__cover .pw-book__front {
	position: relative;
}

.pw-book:hover .pw-book__front,
.pw-book:focus-within .pw-book__front {
	transform: translate(var(--book-front-x), var(--book-front-y)) rotate(-2deg);
}

.pw-book:hover .pw-book__pages,
.pw-book:focus-within .pw-book__pages {
	opacity: 1;
	transform: translate(calc(var(--book-back-x) - 2px), calc(var(--book-back-y) - var(--book-edge))) rotate(-1deg);
}

.pw-book:hover .pw-book__back,
.pw-book:focus-within .pw-book__back {
	opacity: 1;
	transform: translate(var(--book-back-x), var(--book-back-y)) rotate(-1deg);
}

/* Corner piece at the cover's bottom-left (placed by js/pw.js): the front's corner joined to the back cover's corner
   by a line as thick as the back cover's edge, and the little gap above it filled in page white */
.pw-book__corner {
	height: 0;
	opacity: 0;
	pointer-events: none;
	position: absolute;
	width: 0;
}

.pw-book__corner::before,
.pw-book__corner::after {
	content: "";
	left: var(--book-front-x);
	position: absolute;
	width: calc(var(--book-back-x) - var(--book-front-x));
}

.pw-book__corner::before {
	background: #fff;
	clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--book-edge)), 0 8px);
	filter: brightness(0) invert(0.97) sepia(0.12); /* the page block's colour */
	height: calc(var(--book-back-y) - var(--book-front-y) + 8px);
	top: calc(var(--book-front-y) - 8px);
}

.pw-book__corner::after {
	background: var(--book-edge-colour, var(--ink)); /* the back cover's own colour at that corner, from js/pw.js */
	clip-path: polygon(0 0, 100% calc(100% - var(--book-edge)), 100% 100%, 0 var(--book-edge));
	height: calc(var(--book-back-y) - var(--book-front-y));
	top: var(--book-front-y);
}

/* It shows once the layers have moved into place, and goes at once */
.pw-book:hover .pw-book__corner,
.pw-book:focus-within .pw-book__corner {
	opacity: 1;
	transition: opacity 0.08s ease 0.16s;
}

@media (prefers-reduced-motion: reduce) {
	.w-post-elm.pw-book__cover img,
	.pw-book:hover .pw-book__corner,
	.pw-book:focus-within .pw-book__corner {
		transition: none;
	}
}

/* Home "Book reviews": an ink Review sticker on each book */
.pw-shelf--reviews .pw-book__cover::after {
	background: var(--ink);
	box-shadow: var(--shove-sm);
	color: var(--on-ink);
	content: "Review";
	font-family: var(--font-mono);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.08em;
	line-height: 1;
	padding: var(--space-2) 10px;
	position: absolute;
	right: -8px;
	text-transform: uppercase;
	top: -8px;
	transform: rotate(-2deg);
	z-index: 1;
}

/* Underline (headline word): a red bar under the word, slightly askew */
.pw-underline {
	display: inline-block;
	isolation: isolate;
	position: relative;
}

.pw-underline::after {
	background: var(--signal);
	bottom: calc(0.02em - 4px);
	content: "";
	height: 0.16em;
	left: -3%;
	position: absolute;
	right: -4%;
	transform: rotate(-1.5deg);
	transform-origin: left center;
	z-index: -1;
}

/* ---------- Book page (content template "Book page") ---------- */
.l-section.pw-bookpage-crumbs .g-breadcrumbs.pw-crumbs,
.l-section.pw-reviewpage-crumbs .g-breadcrumbs.pw-crumbs {
	margin-bottom: 0;
}

.l-section.pw-bookpage {
	padding-top: var(--space-5);
}

/* The sticker hangs off the cover's corner. Anchored to the wrapper, not .vc_column-inner, whose padding
 puts its edge at the screen edge once the columns stack on phones (the sticker was cut off there) */
.pw-bookpage__cover .vc_column-inner > .wpb_wrapper {
	position: relative;
}

.pw-bookpage__sticker {
	left: -10px;
	margin: 0;
	position: absolute;
	top: -10px;
	z-index: 2;
}

.pw-bookpage__sticker .pw-sticker {
	font-size: 15px;
}

.w-post-elm.pw-book--feature {
	margin-bottom: var(--space-4);
	max-width: 440px;
	width: 100%;
}

.pw-enlarge {
	font-family: var(--font-mono);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.06em;
	margin-bottom: var(--space-5);
	text-transform: uppercase;
}

.pw-enlarge a {
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 4px;
}

/* Details under the cover: one fact per row, label left, value right; empty fields are hidden by the elements */
.w-vwrapper.pw-details {
	border-top: var(--rule) solid var(--ink);
	max-width: 440px;
}

.single-product .pw-details .w-post-elm {
	align-items: baseline;
	border-bottom: 1px solid var(--hairline);
	display: flex;
	font-family: var(--font-mono);
	font-size: 15px;
	font-variant-numeric: tabular-nums;
	font-weight: 500;
	gap: var(--space-4);
	justify-content: space-between;
	margin: 0;
	padding: var(--space-2) 0;
	text-align: right;
	width: 100%;
}

.single-product .pw-details .w-post-elm-before {
	color: var(--ink-muted);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-align: left;
	text-transform: uppercase;
}

/* Info column */
.pw-bookpage__info .wpb_wrapper > * + * {
	margin-top: var(--space-5);
}

.w-post-elm.pw-kicker,
.w-hw.pw-kicker {
	color: var(--brass-deep);
}

.w-post-elm.pw-booktitle {
	font-family: var(--font-display);
	font-size: clamp(48px, 7vw, 88px);
	font-weight: 900;
	line-height: 0.9;
	margin-bottom: 0;
	text-transform: none;
}

.w-post-elm.pw-byline {
	color: var(--ink-muted);
	font-family: var(--font-serif);
	font-size: 24px;
	font-style: italic;
}

.pw-byline a {
	color: var(--ink);
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 4px;
}

.single-product .pw-byline .w-post-elm-before {
	font-weight: 400;
}

.w-hwrapper.pw-buy {
	border-bottom: var(--rule) solid var(--ink);
	border-top: var(--rule) solid var(--ink);
	padding: var(--space-4) 0;
}

.single-product .product_field.pw-price {
	color: var(--ink);
	font-family: var(--font-display);
	font-size: 40px;
	font-weight: 800;
	line-height: 1;
	margin: 0 auto 0 0;
}

.pw-buy .add_to_cart {
	margin: 0;
}

.pw-buy form.cart {
	align-items: center;
	display: flex;
	gap: var(--space-3);
	margin: 0;
}

.pw-buy .quantity input.qty {
	font-family: var(--font-mono);
	font-size: 15px;
	height: 48px;
	text-align: center;
	width: 64px;
}

.w-post-elm.pw-prose {
	max-width: var(--text-max);
}

.pw-prose h2:first-child {
	display: none; /* WooCommerce's "Product Description" heading */
}

.pw-booktab {
	margin-top: var(--space-6);
	max-width: var(--text-max);
}

.pw-booktab h3 {
	border-top: var(--rule) solid var(--ink);
	font-size: 24px;
	margin: 0 0 var(--space-3);
	padding-top: var(--space-3);
}

.pw-price small {
	font-family: var(--font-mono);
	font-size: 13px;
	font-weight: 500;
	text-transform: none;
}

/* Reviews band (2+ reviews) and related shelf */
.pw-reviews-row .pw-sechead {
	margin-bottom: var(--space-6);
}

/* ---------- Review page (content template "Review page") ---------- */
.l-section.pw-reviewhead .l-section-h {
	border-bottom: var(--rule) solid var(--ink);
	padding-bottom: var(--space-6);
}

.pw-reviewhead .wpb_wrapper > * {
	max-width: 920px;
}

.pw-reviewhead .wpb_wrapper > * + * {
	margin-top: var(--space-4);
}

.pw-reviewhead .w-hwrapper.pw-kicker .wpb_text_column {
	margin: 0 var(--space-2) 0 0;
}

.pw-reviewhead .pw-sticker {
	transform: rotate(-2deg);
}

.pw-reviewhead .w-post-elm.pw-booktitle {
	font-size: clamp(40px, 6vw, 76px);
}

.pw-article__body .w-post-elm.pw-prose {
	font-size: 18px;
}

/* The first block, paragraph or not (some reviews were pasted in as nested divs) */
.pw-dropcap > :first-child::first-letter {
	color: var(--signal);
	float: left;
	font-family: var(--font-display);
	font-size: 5.2em;
	font-weight: 900;
	line-height: 0.78;
	margin: 0.06em var(--space-3) 0 0;
}

.w-hwrapper.pw-article__foot {
	border-top: 1px solid var(--hairline);
	margin-top: var(--space-6);
	padding-top: var(--space-4);
}

.pw-article__foot .wpb_text_column,
.pw-article__foot .w-hw {
	margin: 0;
}

/* Sharing Buttons, Outlined style (design share buttons): 40px ink squares, square corners, 8px apart */
.w-sharing.type_outlined .w-sharing-list {
	gap: var(--space-2);
	margin: 0;
}

.w-sharing.type_outlined .w-sharing-item {
	border: 0;
	border-radius: 0;
	box-shadow: inset 0 0 0 var(--rule); /* Zephyr's 2px outline, in the text colour */
	height: 40px;
	margin: 0;
	min-width: 0;
	padding: 0;
	width: 40px;
}

.w-sharing.type_outlined .w-sharing-item,
.w-sharing.type_outlined .w-sharing-item i {
	color: var(--ink) !important;
}

.w-sharing.type_outlined .w-sharing-item:hover,
.w-sharing.type_outlined .w-sharing-item:hover i {
	color: var(--on-ink) !important;
}

.w-sharing.type_outlined .w-sharing-item:hover {
	background: var(--ink);
}

.w-grid.pw-bookcard .w-grid-item-h {
	background: var(--paper-raised);
	border: var(--rule) solid var(--ink);
	box-shadow: var(--shove-md);
	padding: var(--space-5);
}

.pw-bookcard .pw-book__cover {
	max-width: 240px;
}

.pw-bookcard .pw-bookcard__cart,
.pw-bookcard .pw-bookcard__cart .button {
	width: 100%;
}

.pw-bookcard .pw-bookcard__cart .button {
	justify-content: center;
}

.pw-bookcard .pw-bookcard__link {
	font-family: var(--font-mono);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.pw-bookcard .pw-bookcard__link a {
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 4px;
}

/* Review cards ("PW Review card": More reviews, the Reviews archive) */
.w-hwrapper.pw-reviewcard {
	align-items: flex-start;
	border-top: var(--rule) solid var(--ink);
	flex-wrap: nowrap;
	padding-top: var(--space-4);
}

.w-post-elm.pw-reviewcard__cover {
	flex: 0 0 96px;
	margin: 0;
	overflow: visible; /* Zephyr hides overflow on images, which cut off the shadow and the hover tilt */
	width: 96px;
}

.pw-reviewcard__cover img {
	box-shadow: var(--shove-sm);
	transition: transform 0.15s ease;
}

.pw-reviewcard:hover .pw-reviewcard__cover img {
	transform: rotate(-2deg) translate(-2px, -2px);
}

.pw-reviewcard .pw-kicker {
	color: var(--brass-deep);
}

.w-post-elm.pw-reviewcard__title {
	font-family: var(--font-display);
	font-size: 24px;
	font-weight: 700;
	line-height: 1.05;
	margin: 0;
	text-transform: none;
}

.pw-reviewcard:hover .pw-reviewcard__title a {
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 4px;
}

.w-post-elm.pw-reviewcard__quote {
	font-size: 16px;
	font-style: italic;
	line-height: 1.45;
	margin: 0;
}

.w-post-elm.pw-reviewcard__by {
	color: var(--ink-muted);
	font-family: var(--font-mono);
	font-size: 12px;
}

.w-btn-wrapper.pw-loadmore {
	margin-top: var(--space-8);
}

@media (prefers-reduced-motion: reduce) {
	.pw-reviewcard__cover img {
		transition: none;
	}
}

/* ---------- Footer: buttons on the dark band (inside it --paper is dark and --ink is light) ---------- */
.pw-footer .pw-footer__actions {
	margin-top: var(--space-5);
}

/* Its buttons are Theme Options > Buttons styles 7 "Paper (on dark)" and 8 "Line (on dark)" */
.pw-footer .w-btn,
.no-touch .pw-footer .w-btn:hover {
	text-decoration: none;
}

.pw-footer .pw-footer__email i,
.pw-footer .pw-footer__social i {
	margin-right: var(--space-2);
}

/* WPBakery wraps the links in a paragraph */
.pw-footer .pw-footer__social .wpb_wrapper,
.pw-footer .pw-footer__social .wpb_wrapper > p {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-3);
	margin: 0;
}

.pw-footer .pw-footer__social {
	margin-top: var(--space-4);
}

.pw-footer .pw-footer__social a {
	align-items: center;
	display: inline-flex;
}

.pw-footer .widget_nav_menu ul li {
	font-family: var(--font-mono);
	font-size: 15px;
	line-height: 2;
	margin: 0;
}

/* ---------- Newsletter (Optin Cat form): space between the fields and the button, so each field has its full edge ---------- */
.pw-subscribe .fca_eoi_layout_inputs_wrapper {
	gap: var(--space-3);
}

/* ---------- Form fields: textareas match the other fields (style-legacy.css rounded them) ---------- */
form textarea {
	border-radius: var(--inputs-border-radius, 0);
}

/* ==========================================================================
   Round 4 (2026-10-26): book grids, cart dropdown, search results, chips,
   book details, review page, previous/next
   ========================================================================== */

/* ---------- Book grids (design "BookTile" / shelf): nothing clipped, prices on one line per row ---------- */
.w-post-elm.pw-book__cover {
	overflow: visible; /* Zephyr hides overflow on images, which cut off the hover layers and stickers */
}

.pw-shelf .w-grid-list {
	row-gap: var(--space-7);
}

.pw-shelf .w-grid-item-h,
.pw-shelf .w-vwrapper.pw-book {
	height: 100%;
}

.pw-shelf .w-hwrapper.pw-book__meta {
	margin-top: auto; /* price + format sit at the bottom of every tile */
}

/* Phones: tighter listings. Zephyr spaces grid items at twice the Items Gap (--gap), so 1.5rem showed as 54px.
 --gap is set inline on .w-grid, so it's redefined on the list, where Zephyr reads it */
@media (max-width: 600px) {
	.w-grid.pw-shelf .w-grid-list {
		--gap: 0.5rem;
		row-gap: var(--space-6);
	}

	.w-grid.pw-wall .w-grid-list {
		--gap: 0.375rem;
	}

	/* News cards stack one per row here */
	.w-grid.pw-news .w-grid-list {
		row-gap: var(--space-6);
	}
}

/* Small phones: the cover wall wraps at 3 and centres the last row (8 covers = 3 + 3 + 2) */
@media (max-width: 449px) {
	.w-grid.type_grid.pw-wall .w-grid-list {
		display: flex;
		flex-wrap: wrap;
		gap: var(--space-5) var(--space-4);
		justify-content: center;
	}

	.w-grid.type_grid.pw-wall .w-grid-list > .w-grid-item {
		flex: 0 0 calc((100% - 2 * var(--space-4)) / 3);
		margin: 0;
		padding: 0;
	}
}

/* Shop tiles (grids with "pw-shelf--buy": the Shop & categories template): a small brass Add to cart under each book,
   as design ShopPage. Other grids using "PW Book tile" (home, author pages, related books) leave it out. */
.w-grid.us_grid:not(.pw-shelf--buy) .w-grid-item .w-btn-wrapper.pw-book__cart {
	display: none; /* beats Zephyr's button alignment rule, which sets display: block */
}

.pw-shelf--buy .w-grid-item-h {
	display: flex;
	flex-direction: column;
	gap: var(--space-3);
}

.pw-shelf--buy .w-grid-item-h > .w-vwrapper.pw-book {
	flex: 1;
	height: auto;
}

.w-grid .w-btn-wrapper.pw-book__cart,
.w-grid .w-btn-wrapper.pw-book__cart .button {
	width: 100%;
}

/* Colours are the shop's button style 3; Zephyr has no size setting for Add to cart in grid layouts, so it's set here */
.w-grid .w-btn-wrapper.pw-book__cart .button {
	box-shadow: none;
	font-size: 13px;
	justify-content: center;
	padding: var(--space-2) var(--space-4);
}

.w-grid .w-btn-wrapper.pw-book__cart .button:hover {
	box-shadow: var(--shove-sm);
}

/* ---------- Header cart dropdown: white box with an ink edge, above the nav row ---------- */
.l-header .l-subheader.at_middle {
	position: relative;
	z-index: 2; /* the dropdown opened under the nav row */
}

.l-header .w-cart-content {
	background: #FFFFFF;
	border: var(--rule) solid var(--ink);
	border-radius: 0;
	box-shadow: var(--shove-md);
	color: var(--ink);
	padding: var(--space-4);
}

.l-header .w-cart-content .woocommerce-mini-cart-item {
	border-bottom: 1px solid var(--hairline);
	font-family: var(--font-mono);
	font-size: 14px;
}

.l-header .w-cart-content .woocommerce-mini-cart-item a:not(.remove) {
	font-family: var(--font-display);
	font-size: 18px;
	font-weight: 700;
	line-height: 1.1;
}

.l-header .w-cart-content .woocommerce-mini-cart__total {
	border-top: var(--rule) solid var(--ink);
	font-family: var(--font-mono);
	font-size: 14px;
	padding-top: var(--space-3);
}

.l-header .w-cart-notification {
	background: #FFFFFF;
	border: var(--rule) solid var(--ink);
	border-radius: 0;
	box-shadow: var(--shove-sm);
	color: var(--ink);
	font-family: var(--font-mono);
	font-size: 13px;
}

/* ---------- Search results (Ajax Search Pro, header box): white box with an ink edge, mono "no results" ---------- */
.asp_r.asp_r_1 {
	background: #FFFFFF !important;
	border: var(--rule) solid var(--ink) !important;
	border-radius: 0 !important;
	box-shadow: var(--shove-md) !important;
	margin-top: var(--space-1);
}

.asp_r.asp_r_1 .asp_nores {
	background: #FFFFFF !important;
	padding: var(--space-3) var(--space-4) !important;
	text-align: left !important;
}

.asp_r.asp_r_1 .asp_nores .asp_nores_header {
	color: var(--ink-muted) !important;
	font-family: var(--font-mono) !important;
	font-size: 13px !important;
	font-weight: 500 !important;
	letter-spacing: 0.02em;
}

.asp_r.asp_r_1 .item {
	background: #FFFFFF !important;
	border-bottom: 1px solid var(--hairline) !important;
}

.asp_r.asp_r_1 .item:hover {
	background: var(--paper) !important;
}

.asp_r.asp_r_1 .item h3,
.asp_r.asp_r_1 .item h3 a {
	color: var(--ink) !important;
	font-family: var(--font-display) !important;
	font-size: 18px !important;
	font-weight: 700 !important;
	line-height: 1.1 !important;
	text-transform: none !important;
}

/* ---------- Book details under the cover: label left, value right (several terms stay together with their commas) ---------- */
.single-product .pw-details .w-post-elm {
	display: block;
	text-align: right;
}

.single-product .pw-details .w-post-elm-before {
	float: left;
	padding-right: var(--space-4);
}

/* ---------- Previous / next (post navigation): shared by reviews and other posts ---------- */
.w-post-elm.post_navigation {
	border-top: var(--rule) solid var(--ink);
	padding-top: var(--space-4);
}

.w-post-elm.post_navigation .post_navigation-item-arrow {
	display: none;
}

.w-post-elm.post_navigation .post_navigation-item {
	padding: 0;
}

.w-post-elm.post_navigation .post_navigation-item-meta {
	color: var(--brass-deep);
	font-family: var(--font-mono);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.08em;
	margin-bottom: var(--space-2);
	opacity: 1;
	text-transform: uppercase;
}

.w-post-elm.post_navigation .post_navigation-item-title {
	font-family: var(--font-display);
	font-size: 24px;
	font-weight: 700;
	line-height: 1.1;
}

.no-touch .w-post-elm.post_navigation .post_navigation-item:hover .post_navigation-item-title span {
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 4px;
}

/* ---------- Review page ---------- */
.w-hwrapper.pw-reviewmeta {
	color: var(--ink-muted);
	font-family: var(--font-mono);
	font-size: 13px;
}

.pw-reviewmeta a {
	color: var(--ink);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.pw-reviewhead .w-hwrapper.pw-kicker .w-post-elm {
	color: var(--ink);
}

/* The pull quote inside the article (added after the second paragraph) */
blockquote.pw-quote {
	background: var(--sand);
	border: 0;
	color: var(--ink);
	margin: var(--space-6) 0;
	padding: var(--space-6);
	position: relative;
}

blockquote.pw-quote::before {
	color: var(--brass);
	content: "\201C";
	font-family: var(--font-display);
	font-size: 140px;
	font-weight: 900;
	left: var(--space-4);
	line-height: 0.7;
	position: absolute;
	top: var(--space-4);
}

blockquote.pw-quote p {
	font-family: var(--font-serif);
	font-size: 24px;
	font-style: italic;
	line-height: 1.35;
	margin: 0 0 var(--space-4);
	padding-left: var(--space-8);
}

blockquote.pw-quote p::first-letter {
	all: unset; /* not the drop cap */
}

blockquote.pw-quote cite {
	display: block;
	font-family: var(--font-mono);
	font-size: 13px;
	font-style: normal;
	font-weight: 600;
	letter-spacing: 0.06em;
	padding-left: var(--space-8);
	text-transform: uppercase;
}

.w-post-elm.pw-source {
	border-top: 1px solid var(--hairline);
	color: var(--ink-muted);
	font-family: var(--font-mono);
	font-size: 13px;
	margin-top: var(--space-6);
	padding-top: var(--space-4);
}

.pw-source a {
	color: var(--ink);
}

.pw-article__foot .wpb_text_column {
	margin: 0;
}

/* Chips on the left (wrapping in their own column), "Share" and its buttons together on the right;
   on phones the share row goes under the chips */
.w-hwrapper.pw-article__foot {
	align-items: center;
	column-gap: var(--space-2);
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto auto;
	row-gap: var(--space-4);
}

@media (max-width: 600px) {
	.w-hwrapper.pw-article__foot {
		display: flex;
		flex-wrap: wrap;
	}

	.pw-article__foot .pw-article__chips {
		flex: 1 1 100%;
	}
}

.pw-article__foot .wpb_text_column.pw-share .wpb_wrapper,
.pw-article__foot .wpb_text_column.pw-share .wpb_wrapper > p {
	align-items: center;
	display: flex;
	gap: var(--space-2);
	margin: 0;
}

.pw-reviewmeta .w-post-elm {
	margin-bottom: 0; /* Zephyr's side margins are the wrapper gap */
	margin-top: 0;
}

.pw-share .pw-kicker {
	color: var(--ink-muted);
	margin-right: var(--space-2);
}

.pw-copylink {
	align-items: center;
	background: transparent;
	border: var(--rule) solid var(--ink);
	color: var(--ink);
	cursor: pointer;
	display: inline-flex;
	height: 40px;
	justify-content: center;
	width: 40px;
}

.pw-copylink:hover,
.pw-copylink.is-copied {
	background: var(--ink);
	color: var(--on-ink);
}

/* "The book" card: the kicker sits inside the card */
.pw-bookcard .pw-bookcard__kicker {
	margin-bottom: var(--space-2);
}

/* A review of two books or more ("The 2 books in this review", design pw-bookcard--multi): one card round the books,
   side by side as book tiles, each with its own Add to cart */
.w-vwrapper.pw-bookcard--multi {
	background: var(--paper-raised);
	border: var(--rule) solid var(--ink);
	box-shadow: var(--shove-md);
	padding: var(--space-5);
}

.pw-bookcard__pair .pw-bookcard__kicker,
.pw-bookcard__pair .pw-bookcard__link {
	display: none;
}

.pw-bookcard__pair .w-post-elm.pw-book__title {
	font-size: 18px;
}

.pw-bookcard__pair .w-post-elm.pw-book__author {
	font-size: 14px;
}

.pw-bookcard__pair .pw-bookcard__cart,
.pw-bookcard__pair .pw-bookcard__cart .button {
	width: 100%;
}

.w-grid.pw-bookcard__pair .pw-bookcard__cart .button {
	font-size: 13px;
	justify-content: center;
	padding: var(--space-2) var(--space-3);
}

@media (max-width: 900px) {
	.pw-bookcard--multi:not(.pw-bookcard--wide) .pw-bookcard__pair {
		max-width: 480px;
	}
}

/* The same card full width (author pages: "5 books by Name"), four across */
.pw-bookcard--wide .g-loadmore {
	margin-top: var(--space-5);
}

/* Review cards: book title as the heading, quoted snippet, reviewer + publication + date */
.pw-reviewcard .w-post-elm.pw-kicker {
	color: var(--brass-deep);
}

.w-post-elm.pw-reviewcard__title,
.w-post-elm.pw-reviewcard__title a {
	font-family: var(--font-display);
	font-size: 24px;
	font-weight: 700;
	line-height: 1.05;
	margin: 0;
	text-transform: none;
}

/* ==========================================================================
   Round 5 (2026-10-26): news / reviews list cards, pagination, news posts,
   single covers at their own shape
   ========================================================================== */

/* ---------- List card ("PW List card": News & events, post archives, Reviews) ---------- */
.w-grid.pw-listgrid .w-grid-list {
	row-gap: var(--space-7);
}

@media (max-width: 600px) {
	.w-grid.pw-listgrid .w-grid-list {
		row-gap: var(--space-6);
	}
}

.pw-listgrid .w-grid-item-h {
	background: transparent;
	height: 100%;
}

.w-vwrapper.pw-listcard {
	height: 100%;
}

.w-post-elm.pw-listcard__media {
	aspect-ratio: 4 / 3;
	background-color: var(--paper-shade);
	border: var(--rule) solid var(--ink);
	margin: 0;
	overflow: hidden;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
	width: 100%;
}

.pw-listcard__media a {
	display: block;
	height: 100%;
}

.w-grid-item .w-post-elm.pw-listcard__media img {
	aspect-ratio: auto;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

/* Reviews: the book's cover on sand, whole, with a small offset shadow */
.w-grid-item.category-book-review .w-post-elm.pw-listcard__media {
	background: var(--sand);
	padding: var(--space-4);
}

.w-grid-item.category-book-review .pw-listcard__media a {
	display: grid;
	grid-template: minmax(0, 1fr) / minmax(0, 1fr); /* a sized cell, so the cover's 100% height resolves */
}

.w-grid-item.category-book-review .w-post-elm.pw-listcard__media img {
	align-self: center;
	box-shadow: var(--shove-sm);
	justify-self: center;
	max-width: 100%;
	min-height: 0;
	object-fit: contain;
	width: auto;
}

.pw-listcard:hover .w-post-elm.pw-listcard__media {
	box-shadow: var(--shove-md);
	transform: translate(-3px, -3px);
}

.pw-listcard .w-post-elm.pw-kicker {
	color: var(--brass-deep);
}

.w-post-elm.pw-listcard__title {
	font-family: var(--font-display);
	font-size: 26px;
	font-weight: 700;
	line-height: 1.1;
	margin: 0;
	text-transform: none;
}

.pw-listcard:hover .pw-listcard__title a {
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 4px;
}

.w-post-elm.pw-listcard__excerpt {
	color: var(--ink-muted);
	font-size: 16px;
	line-height: 1.45;
}

.w-post-elm.pw-listcard__by {
	font-family: var(--font-mono);
	font-size: 12px;
	font-weight: 600;
}

.w-post-elm.pw-listcard__date {
	border-top: 1px solid var(--hairline);
	color: var(--ink-muted);
	font-family: var(--font-mono);
	font-size: 12px;
	margin-top: auto;
	padding-top: var(--space-2);
	width: 100%;
}

@media (prefers-reduced-motion: reduce) {
	.w-post-elm.pw-listcard__media {
		transition: none;
	}
}

/* ---------- Numbered pagination (WordPress's own markup, every paged list) ---------- */
.pagination .nav-links {
	align-items: center;
	border-top: var(--rule) solid var(--ink);
	display: flex;
	flex-wrap: wrap;
	font-family: var(--font-mono);
	font-size: 15px;
	font-weight: 600;
	gap: var(--space-2);
	margin-top: var(--space-8);
	padding-top: var(--space-4);
}

.pagination .nav-links .page-numbers::before,
.pagination .nav-links .page-numbers::after {
	display: none;
}

/* Previous / Next read as "← Newer" / "Older →" (newest posts come first); the words stay for screen readers */
/* Page numbers are Theme Options > Buttons style 6 "Chip" (the Grid's Pagination Style); the current page takes that
   style's hover colours. Only the Previous / Next wording, the dots and the ends are styled here */
.pagination .nav-links[class*="us-nav-style_"] > * {
	border-style: solid;
	border-width: var(--btn-border-width, 0px); /* Zephyr sets the style's border colour on page numbers, not its width */
}

.pagination .nav-links .page-numbers.prev span,
.pagination .nav-links .page-numbers.next span {
	display: inline !important;
	font-size: 0;
}

.pagination .nav-links .page-numbers.prev::after,
.pagination .nav-links .page-numbers.next::after {
	display: inline !important;
	font-family: var(--font-mono) !important; /* Zephyr draws an icon-font arrow here, with !important */
	font-size: 15px !important;
	font-weight: 600 !important;
	padding: 0 !important;
	position: static !important;
	text-transform: uppercase !important;
}

.pagination .nav-links .page-numbers.prev::after {
	content: "← Newer" !important;
}

.pagination .nav-links .page-numbers.next::after {
	content: "Older →" !important;
}

.pagination .nav-links .page-numbers.dots {
	border-color: transparent;
}

/* Previous / Next as underlined words at either end */
.pagination .nav-links .page-numbers.prev,
.pagination .nav-links .page-numbers.next {
	border-color: transparent;
	letter-spacing: 0.04em;
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-transform: uppercase;
	text-underline-offset: 4px;
}

.pagination .nav-links .page-numbers.prev {
	margin-right: auto;
}

.pagination .nav-links .page-numbers.next {
	margin-left: auto;
}

.no-touch .pagination .nav-links .page-numbers.prev:hover,
.no-touch .pagination .nav-links .page-numbers.next:hover {
	background: none;
	color: var(--brass-deep);
}

/* ---------- News post (template "Post"): featured image, article headings and quotes ---------- */
.w-post-elm.pw-figure {
	margin: 0 0 var(--space-7);
}

.w-post-elm.pw-figure img {
	border: var(--rule) solid var(--ink);
	height: auto;
	width: 100%;
}

.pw-article__body .post_content h2 {
	font-family: var(--font-display);
	font-size: 36px;
	font-weight: 800;
	line-height: 1;
	margin: var(--space-6) 0 var(--space-3);
	text-transform: uppercase;
}

.pw-article__body .post_content blockquote:not(.pw-quote) {
	background: var(--sand);
	border: 0;
	font-family: var(--font-serif);
	font-size: 22px;
	font-style: italic;
	line-height: 1.4;
	margin: var(--space-6) 0;
	padding: var(--space-6) var(--space-6) var(--space-6) var(--space-9);
	position: relative;
}

.pw-article__body .post_content blockquote:not(.pw-quote)::before {
	color: var(--brass);
	content: "\201C";
	font-family: var(--font-display);
	font-size: 140px;
	font-style: normal;
	font-weight: 900;
	left: var(--space-4);
	line-height: 0.7;
	position: absolute;
	top: var(--space-4);
}

/* ---------- One cover on its own (book card, book page): the cover's own shape, no empty band above odd trims ---------- */
.pw-bookcard .w-post-elm.pw-book__cover > a,
.w-post-elm.pw-book--feature > a {
	aspect-ratio: auto;
}

.pw-bookcard .w-post-elm.pw-book__cover img,
.w-post-elm.pw-book--feature img {
	contain: none; /* WordPress sizes lazy images with sizes="auto" as 3000 x 1500 until this is undone */
	height: auto;
	width: 100%;
}

/* Brass sticker (news category on a post) */
.pw-sticker--brass {
	background: var(--brass);
	color: var(--on-brass);
	transform: rotate(3deg);
}

/* The book card is one tile in a tall sticky column: it keeps its own height (the shelf rule stretches tiles) */
.pw-bookcard .w-grid-item-h,
.pw-shelf.pw-bookcard .w-vwrapper.pw-book {
	height: auto;
}

/* On a single cover the front image alone sets the size; the back and page layers sit over it */
.pw-bookcard .w-post-elm.pw-book__cover > a,
.w-post-elm.pw-book--feature > a {
	display: block;
}

.pw-bookcard .w-post-elm.pw-book__cover img.pw-book__back,
.pw-bookcard .w-post-elm.pw-book__cover img.pw-book__pages,
.w-post-elm.pw-book--feature img.pw-book__back,
.w-post-elm.pw-book--feature img.pw-book__pages {
	height: 100%;
	inset: 0;
	object-fit: contain;
	object-position: center bottom;
	position: absolute;
	width: 100%;
}

/* style-legacy.css hides all pagination; Grids with numbered pages need it */
.w-grid .navigation.pagination {
	display: block !important;
}

/* ---------- Shop: subcategory nav ([hw_shop_subnav], design ShopPage): lighter boxes with book counts ---------- */
.pw-subnav-wrap {
	margin: 0;
}

.pw-subnav {
	align-items: center;
	border-top: 1px solid var(--hairline);
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-3) var(--space-5);
	margin-top: var(--space-5);
	padding-top: var(--space-4);
}

.pw-subnav .pw-kicker {
	color: var(--ink-muted);
}

.pw-subnav ul {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-2);
	list-style: none;
	margin: 0;
	padding: 0;
}

.pw-subnav li {
	margin: 0;
}

.pw-subnav a {
	align-items: baseline;
	background: var(--paper-raised);
	border: 1px solid var(--ink);
	color: var(--ink);
	display: inline-flex;
	font-family: var(--font-mono);
	font-size: 13px;
	font-weight: 500;
	gap: var(--space-2);
	padding: 6px var(--space-3);
	text-decoration: none;
}

.pw-subnav a span {
	color: var(--ink-muted);
	font-size: 11px;
	font-variant-numeric: tabular-nums;
}

.pw-subnav a:hover {
	background: var(--brass);
	color: var(--on-brass);
}

.pw-subnav a:hover span {
	color: var(--on-brass);
}

.pw-subnav a[aria-current] {
	background: var(--signal);
	border-color: var(--signal);
	color: var(--on-signal);
	font-weight: 600;
}

.pw-subnav a[aria-current] span {
	color: var(--on-signal);
}

/* ---------- Review card (design ReviewCard): the book author, "Reviewed by NAME" (name on sand), publication · date ---------- */
.w-post-elm.pw-reviewcard__author {
	color: var(--ink-muted);
	font-size: 15px;
	margin-top: -4px;
}

.w-post-elm.pw-reviewcard__reviewer {
	font-family: var(--font-mono);
	font-size: 13px;
}

.pw-reviewcard__reviewer strong {
	background: var(--sand);
	font-weight: 600;
	padding: 0 4px;
}

.w-grid.pw-reviewcards--stack .w-grid-list {
	row-gap: var(--space-4);
}

/* ---------- Authors index (page "Authors", [hw_authors], design AuthorsPage / AuthorGrid) ---------- */
.pw-az-wrap,
.pw-authors-wrap {
	margin: 0;
}

.pw-az ul {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-1);
	list-style: none;
	margin: var(--space-6) 0 0;
	padding: 0;
}

.pw-az li {
	margin: 0;
}

.pw-az a,
.pw-az span {
	background: var(--paper-raised);
	border: 1px solid var(--ink);
	color: var(--ink);
	display: grid;
	font-family: var(--font-display);
	font-size: 22px;
	font-weight: 800;
	height: 40px;
	place-items: center;
	text-decoration: none;
	width: 40px;
}

.pw-az a:hover {
	background: var(--brass);
	color: var(--on-brass);
}

.pw-az span {
	background: transparent;
	border-color: var(--hairline);
	color: var(--ink-muted);
}

.pw-authorwrap {
	display: flex;
	flex-direction: column;
	gap: var(--space-7);
}

.pw-authorgroup {
	display: grid;
	gap: var(--space-5);
	grid-template-columns: 96px minmax(0, 1fr);
	scroll-margin-top: calc(var(--header-sticky-height, 0px) + var(--space-6));
}

/* h2 in the selector: Zephyr zeroes the top padding of a first heading */
.pw-authorgroup h2.pw-authorgroup__letter {
	border-top: var(--rule-heavy) solid var(--ink);
	color: var(--signal);
	font-family: var(--font-display);
	font-size: 88px;
	font-weight: 900;
	line-height: 0.8;
	margin: 0;
	padding-top: var(--space-5);
}

.pw-authorgrid {
	border-top: var(--rule) solid var(--ink);
	column-gap: var(--space-6);
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	list-style: none;
	margin: 0;
	padding: 0;
}

.pw-authorgrid li {
	margin: 0;
}

.pw-author {
	align-items: baseline;
	border-bottom: 1px solid var(--hairline);
	color: var(--ink);
	display: flex;
	gap: var(--space-3);
	justify-content: space-between;
	padding: var(--space-3) var(--space-3) var(--space-3) 0;
	text-decoration: none;
}

.pw-author__name {
	font-family: var(--font-display);
	font-size: 22px;
	font-weight: 700;
	line-height: 1.1;
}

.pw-author__count {
	color: var(--ink-muted);
	flex: none;
	font-family: var(--font-mono);
	font-size: 12px;
	font-variant-numeric: tabular-nums;
}

.pw-author:hover .pw-author__name {
	text-decoration: underline;
	text-decoration-color: var(--brass);
	text-decoration-thickness: 2px;
	text-underline-offset: 4px;
}

@media (max-width: 600px) {
	.pw-authorgroup {
		gap: var(--space-3);
		grid-template-columns: 1fr;
	}

	.pw-authorgroup__letter {
		font-size: 64px;
	}

	.pw-az a,
	.pw-az span {
		font-size: 20px;
		height: 36px;
		width: 36px;
	}
}

/* ---------- Author page (template "Authors & Editors Page"): bio beside the photo ---------- */
.pw-pagehead .w-post-elm.pw-kicker,
.pw-pagehead .wpb_text_column.pw-kicker,
.pw-pagehead .w-hw.pw-kicker {
	color: var(--brass-deep);
	margin-bottom: var(--space-3);
}

.pw-authorbio .w-post-elm.pw-prose {
	font-size: 18px;
	max-width: var(--text-max);
}

.w-post-elm.pw-authorphoto img {
	border: var(--rule) solid var(--ink);
	box-shadow: var(--shove-md);
	height: auto;
	width: 100%;
}

/* ---------- Contact page (design ContactPage): contact cards, postcard, social tiles ([us_hw_contact_card] etc.) ---------- */
/* A card fills its column, so cards side by side line up (row option "Equal columns height") */
.wpb_wrapper:has(> .w-hw.hw_contact_card:only-child),
.wpb_wrapper:has(> .w-hw.hw_social_tile:only-child),
.w-hw.hw_contact_card,
.w-hw.hw_social_tile {
	height: 100%;
}

.pw-contactcard {
	background: var(--paper-raised);
	border: var(--rule) solid var(--ink);
	box-sizing: border-box;
	color: var(--ink);
	display: flex;
	flex-direction: column;
	gap: var(--space-3);
	height: 100%;
	min-width: 0;
	padding: var(--space-5);
	text-decoration: none;
}

.pw-contactcard .pw-kicker {
	color: var(--brass-deep);
}

.pw-contactcard h3 {
	color: inherit;
	font-family: var(--font-display);
	font-size: 32px;
	font-weight: 800;
	line-height: 1;
	margin: 0;
	padding: 0;
	text-transform: uppercase;
}

.pw-contactcard p {
	color: var(--ink-muted);
	font-size: 16px;
	line-height: 1.45;
	margin: 0;
}

.pw-contactcard__line {
	align-items: center;
	border-top: var(--rule) solid var(--ink);
	display: flex;
	font-family: var(--font-mono);
	font-size: 13px;
	font-weight: 500;
	gap: var(--space-2);
	justify-content: space-between;
	margin-top: auto;
	min-width: 0;
	padding-top: var(--space-3);
}

.pw-contactcard__line a {
	color: var(--ink);
	overflow-wrap: anywhere;
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* Copy is Theme Options > Buttons style 6 "Chip" (style 9 "Chip (current)" for a moment once copied); only the icon gap is set here */
.w-btn.pw-copy {
	align-items: center;
	display: inline-flex;
	flex: none;
	gap: var(--space-1);
}

a.pw-contactcard--link {
	background: var(--ink);
	box-shadow: var(--shove-signal);
	color: var(--on-ink);
	transition: transform 0.12s ease;
}

.no-touch a.pw-contactcard--link:hover {
	color: var(--on-ink);
	transform: translate(-2px, -2px);
}

.pw-contactcard--link .pw-kicker {
	color: var(--brass);
}

.pw-contactcard--link p {
	color: var(--on-ink);
	opacity: 0.85;
}

.pw-contactcard__go {
	border-top: var(--rule) solid var(--on-ink);
	font-family: var(--font-mono);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.06em;
	margin-top: auto;
	padding-top: var(--space-3);
	text-transform: uppercase;
}

/* Postcard: the postal address as a piece of mail. The stamp and postmark sit top-right; the postmark overlaps the
   address rather than pushing it, and its wavy lines fade out to the left so they don't fight the text. */
.pw-postcard {
	background: var(--sand);
	box-shadow: var(--shove-md);
	color: var(--ink);
	padding: var(--space-6);
	position: relative;
	transform: rotate(-1.5deg);
}

.pw-postcard .pw-kicker {
	color: var(--brass-deep);
	display: block;
	margin-bottom: var(--space-3);
}

.pw-postcard address {
	font-family: var(--font-mono);
	font-size: 18px;
	font-style: normal;
	font-weight: 500;
	line-height: 40px;
	margin: 0;
}

.pw-postcard__note {
	font-size: 16px;
	font-style: italic;
	margin: var(--space-4) 0 0;
}

/* The stamp: white, perforated edge (sand circles painted on each side, 10px pitch), thin red frame, the glove in halftone */
.pw-postcard__stamp {
	background:
		radial-gradient(circle at 50% 0, var(--sand) 3.6px, transparent 4.1px) 0 0 / 10px 10px repeat-x,
		radial-gradient(circle at 50% 100%, var(--sand) 3.6px, transparent 4.1px) 0 100% / 10px 10px repeat-x,
		radial-gradient(circle at 0 50%, var(--sand) 3.6px, transparent 4.1px) 0 0 / 10px 10px repeat-y,
		radial-gradient(circle at 100% 50%, var(--sand) 3.6px, transparent 4.1px) 100% 0 / 10px 10px repeat-y,
		var(--paper-white);
	height: 110px;
	position: absolute;
	right: var(--space-5);
	top: var(--space-5);
	transform: rotate(4deg);
	width: 100px;
}

.pw-postcard__stamp::before {
	border: 1.5px solid var(--signal);
	content: "";
	inset: 10px;
	position: absolute;
}

.pw-postcard__glove {
	fill: var(--signal);
	height: calc(100% - 28px);
	inset: 15px 13px 13px;
	position: absolute;
	width: calc(100% - 26px);
}

/* The postmark: ring over the stamp's left edge, P&W round the inside, NSW 2298 in the middle, wavy cancel lines */
.pw-postmark {
	height: auto;
	pointer-events: none;
	position: absolute;
	right: 52px;
	top: 60px;
	transform: rotate(-8deg);
	width: 214px;
	z-index: 1;
}

.pw-postmark__ink {
	fill: var(--ink);
	font-family: var(--font-mono);
	opacity: 0.72;
	stroke: var(--ink);
}

.pw-postmark__ink circle,
.pw-postmark__ink path {
	fill: none;
}

/* Narrow column: the stamp and postmark go above the address */
@media (max-width: 1100px) {
	.pw-postcard {
		padding-top: 150px;
	}
}

/* Social tiles */
.pw-socialtile {
	align-items: center;
	border: var(--rule) solid var(--ink);
	box-sizing: border-box;
	display: grid;
	gap: var(--space-1) var(--space-4);
	grid-template-areas: "icon name" "icon handle" "go go";
	grid-template-columns: auto 1fr;
	height: 100%;
	padding: var(--space-5);
	text-decoration: none;
	transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.pw-socialtile svg {
	grid-area: icon;
}

.pw-socialtile__name {
	font-family: var(--font-display);
	font-size: 36px;
	font-weight: 800;
	grid-area: name;
	line-height: 1;
	text-transform: uppercase;
}

.pw-socialtile__handle {
	font-family: var(--font-mono);
	font-size: 13px;
	grid-area: handle;
	overflow-wrap: anywhere;
}

.pw-socialtile__go {
	align-self: end;
	border-top: var(--rule) solid currentColor;
	font-family: var(--font-mono);
	font-size: 13px;
	font-weight: 600;
	grid-area: go;
	letter-spacing: 0.06em;
	margin-top: var(--space-4);
	padding-top: var(--space-3);
	text-transform: uppercase;
}

.pw-socialtile--ig,
.no-touch .pw-socialtile--ig:hover {
	background: var(--signal);
	border-color: var(--signal);
	color: var(--on-signal);
}

.pw-socialtile--fb,
.no-touch .pw-socialtile--fb:hover {
	background: var(--ink);
	color: var(--on-ink);
}

.pw-socialtile--news,
.no-touch .pw-socialtile--news:hover {
	background: var(--brass);
	color: var(--on-brass);
}

.no-touch .pw-socialtile:hover {
	box-shadow: var(--shove-md);
	transform: translate(-3px, -3px) rotate(-1deg);
}

@media (prefers-reduced-motion: reduce) {
	a.pw-contactcard--link,
	.pw-socialtile {
		transition: none;
	}
}

/* Three tiles in a narrow row: the icon goes over the name */
@media (max-width: 1100px) {
	.pw-socialtile {
		align-items: start;
		grid-template-areas: "icon" "name" "handle" "go";
		grid-template-columns: minmax(0, 1fr);
		grid-template-rows: auto auto 1fr auto;
	}

	.pw-socialtile svg {
		margin-bottom: var(--space-2);
	}

	.pw-socialtile__name {
		font-size: 30px;
	}
}

/* Stacked columns (under 768px): cards and tiles one under the other, as far apart as the rows */
@media (max-width: 767px) {
	.wpb_column:not(:last-child):has(> .vc_column-inner > .wpb_wrapper > .w-hw.hw_contact_card),
	.wpb_column:not(:last-child):has(> .vc_column-inner > .wpb_wrapper > .w-hw.hw_social_tile) {
		margin-bottom: 3rem;
	}

	.pw-socialtile {
		grid-template-areas: "icon name" "icon handle" "go go";
		grid-template-columns: auto 1fr;
	}

	.pw-socialtile svg {
		margin-bottom: 0;
	}

	.wpb_column:has(> .vc_column-inner > .wpb_wrapper > .w-hw.hw_postcard) {
		margin-top: var(--space-6);
	}
}

/* ---------- Gravity Forms (design "pw-field"): mono caps labels, red asterisk, hint text, a rule over the button ---------- */
/* The fields themselves are the Theme Options field style "Form" (the Gravity Form element's Field Style) */
.gform_wrapper .gfield_label,
.gform_wrapper .ginput_complex label {
	font-family: var(--font-mono);
	font-size: 13px !important;
	font-weight: 600 !important;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.gform_wrapper .gfield_required {
	color: var(--signal) !important;
	margin-left: 2px;
}

/* The name's own label is hidden, so its First / Last labels carry the asterisk */
.gform_wrapper .gfield_contains_required .ginput_complex label::after {
	color: var(--signal);
	content: "*";
	margin-left: 2px;
}

/* reCAPTCHA needs no label */
.gform_wrapper .gfield--type-captcha .gfield_label {
	display: none;
}

.gform_wrapper .gfield_description {
	color: var(--ink-muted);
	font-family: var(--font-mono);
	font-size: 12px !important;
}

.gform_wrapper .gform_footer {
	align-items: center;
	border-top: var(--rule) solid var(--ink);
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-4);
	justify-content: flex-end;
	margin-top: var(--space-5) !important;
	padding-top: var(--space-4) !important;
}

.gform_wrapper .gform_footer [type=submit] {
	margin: 0 !important;
}

/* Old Gravity Forms markup leaves 16px right of each field: the footer rule ends with the fields */
@media (min-width: 641px) {
	.gform_legacy_markup_wrapper .gform_footer {
		max-width: calc(100% - 16px);
	}
}
