/*
Theme Name: Professione Casaro
Theme URI: https://casaro.magazine.nokweb.it
Author: NokWeb
Author URI: https://nokweb.it
Description: Tema custom per la rivista Professione Casaro — direzione editoriale "Audace". Sito-rivista per produttori di formaggio italiani con paywall, vendita cartaceo e spazi pubblicitari.
Version: 0.9.3
Requires at least: 6.0
Requires PHP: 8.1
License: Proprietary
Text Domain: professione-casaro
*/

/* ================================================================
   Design tokens.
   ================================================================ */

:root {
	/* Palette — brand */
	--pc-red: #AD2E2D;
	--pc-red-hover: #922524;
	--pc-gold: #e8b34f;

	/* Palette — carta / creme */
	--pc-cream: #ddcf9e;
	--pc-cream-paper: #f7f2e7;
	--pc-placeholder: #e2dcc9;
	--pc-page-bg: #e7e5df;

	/* Palette — testo */
	--pc-black: #1a1a1a;
	--pc-ink: #111;
	--pc-text: #141414;
	--pc-text-muted: #515151;
	--pc-text-soft: #888;
	--pc-caption: #8a8064;

	/* Palette — filetti / hairline */
	--pc-hairline: #e6e0d2;
	--pc-hairline-soft: #ece8dd;
	--pc-ad-label: #b3a981;

	/* Palette — footer scuro */
	--pc-footer-bg: #1a1a1a;
	--pc-footer-text: #cfc6b1;

	/* Palette — base */
	--pc-white: #ffffff;

	/* Tipografia — famiglie */
	--pc-font-serif: 'Spectral', Georgia, 'Times New Roman', serif;
	--pc-font-sans: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

	/* Tipografia — scala */
	--pc-fs-hero: 58px;
	--pc-fs-article-title: 50px;
	--pc-fs-section-title: 32px;
	--pc-fs-card-title: 22px;
	--pc-fs-lead: 22px;
	--pc-fs-body: 20px;
	--pc-fs-meta: 13px;
	--pc-fs-kicker: 11px;

	/* Tipografia — line height */
	--pc-lh-heading: 1.15;
	--pc-lh-body: 1.72;

	/* Tipografia — letter spacing per occhielli/kicker */
	--pc-ls-kicker: 0.14em;

	/* Layout */
	--pc-page-width: 1280px;
	--pc-section-padding: 40px;

	/* Border radius */
	--pc-radius-sm: 2px;
	--pc-radius-md: 3px;
	--pc-radius-lg: 5px;

	/* Transizioni */
	--pc-transition-fast: 0.18s ease;
	--pc-transition: 0.22s ease;
}

/* ================================================================
   Reset base.
   ================================================================ */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

body {
	margin: 0;
	font-family: var(--pc-font-sans);
	font-size: var(--pc-fs-body);
	line-height: var(--pc-lh-body);
	color: var(--pc-text);
	background: var(--pc-page-bg);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

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

a {
	color: inherit;
	text-decoration: none;
	transition: color var(--pc-transition-fast);
}

a:hover {
	color: var(--pc-red);
}

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

/* ================================================================
   Tipografia base.
   ================================================================ */

h1, h2, h3, h4, h5, h6 {
	margin: 0 0 0.4em;
	font-family: var(--pc-font-serif);
	font-weight: 700;
	line-height: var(--pc-lh-heading);
	color: var(--pc-black);
}

p {
	margin: 0 0 1em;
}

.pc-kicker {
	margin: 0;
	font-family: var(--pc-font-sans);
	font-size: var(--pc-fs-kicker);
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: var(--pc-ls-kicker);
	color: var(--pc-red);
}

/* ================================================================
   Layout skeleton — cornice pagina 1280px.
   ================================================================ */

.pc-page {
	min-height: 100vh;
	display: flex;
	justify-content: center;
	align-items: flex-start;
}

.pc-page__frame {
	width: var(--pc-page-width);
	background: var(--pc-white);
	border-radius: var(--pc-radius-sm);
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
	overflow: hidden;
}

.pc-container {
	padding-left: var(--pc-section-padding);
	padding-right: var(--pc-section-padding);
}

/* ================================================================
   Componenti — pulsanti.
   ================================================================ */

.pc-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--pc-font-sans);
	font-weight: 800;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	text-decoration: none;
	border-radius: var(--pc-radius-md);
	transition: background var(--pc-transition-fast), transform var(--pc-transition-fast), box-shadow var(--pc-transition-fast), color var(--pc-transition-fast);
	cursor: pointer;
}

.pc-btn--red, a.pc-btn.pc-btn--red {
	background: var(--pc-red);
	color: var(--pc-white);
	font-size: 14px;
	padding: 14px 26px;
	letter-spacing: 0.04em;
	text-decoration: none;
}

.pc-btn--red:hover, a.pc-btn.pc-btn--red:hover {
	background: var(--pc-red-hover);
	color: var(--pc-white);
	transform: translateY(-1px);
	box-shadow: 0 6px 16px rgba(173, 46, 45, 0.3);
}

.pc-btn--cream {
	background: var(--pc-cream);
	color: var(--pc-black);
	font-size: 13px;
	padding: 12px 24px;
	letter-spacing: 0.04em;
}

.pc-btn--cream:hover {
	background: #cbb989;
	color: var(--pc-black);
	transform: translateY(-1px);
}

/* ================================================================
   Componenti — badge.
   ================================================================ */

.pc-badge {
	display: inline-block;
	margin: 0;
	font-family: var(--pc-font-sans);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	padding: 6px 12px;
	border-radius: var(--pc-radius-sm);
}

.pc-badge--red {
	background: var(--pc-red);
	color: var(--pc-white);
}

/* ================================================================
   Componenti — media wrapper con aspect-ratio.
   ================================================================ */

.pc-media {
	display: block;
	overflow: hidden;
	border-radius: var(--pc-radius-sm);
	background: var(--pc-placeholder);
	position: relative;
}

.pc-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: filter var(--pc-transition);
}

.pc-media:hover img {
	filter: brightness(1.07);
}

.pc-media--169 { aspect-ratio: 16 / 9; }
.pc-media--1610 { aspect-ratio: 16 / 10; }
.pc-media--32 { aspect-ratio: 3 / 2; }

/* ================================================================
   Masthead — testata rossa.
   ================================================================ */

.pc-masthead {
	background: var(--pc-red);
	color: var(--pc-white);
}

.pc-masthead__utility {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 8px var(--pc-section-padding);
	border-bottom: 1px solid rgba(255, 255, 255, 0.18);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.pc-masthead__utility-right {
	display: flex;
	gap: 18px;
	letter-spacing: 0.06em;
}

.pc-masthead__partner {
	opacity: 0.85;
}

.pc-masthead__login {
	color: var(--pc-cream);
}

.pc-masthead__login:hover {
	color: var(--pc-white);
}

.pc-masthead__badge {
	display: inline-block;
	margin-left: 8px;
	padding: 2px 8px;
	background: var(--pc-gold);
	color: var(--pc-black);
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.06em;
	border-radius: 2px;
	vertical-align: middle;
}

.pc-masthead__brand {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 22px var(--pc-section-padding) 24px;
}

.pc-masthead__logo img {
	height: 46px;
	filter: brightness(0) invert(1);
}

/* ================================================================
   Nav — striscia scura.
   ================================================================ */

.pc-nav {
	display: flex;
	align-items: center;
	gap: 28px;
	padding: 13px var(--pc-section-padding);
	background: var(--pc-black);
	color: var(--pc-white);
	font-size: 13px;
	font-weight: 700;
}

.pc-nav__list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	align-items: center;
	gap: 28px;
}

.pc-nav__item {
	margin: 0;
}

.pc-nav__link,
.pc-nav a {
	color: inherit;
	transition: color var(--pc-transition-fast);
}

.pc-nav__link:hover,
.pc-nav a:hover {
	color: var(--pc-cream);
}

.pc-nav__search {
	margin-left: auto;
	color: var(--pc-gold);
	font-size: 12px;
}

.pc-nav__search:hover {
	color: var(--pc-cream);
}

/* ================================================================
   Home — lead / articolo di apertura.
   ================================================================ */

.pc-lead__inner {
	padding-top: 36px;
	padding-bottom: 32px;
	border-bottom: 3px solid var(--pc-black);
}

.pc-lead__inner .pc-badge {
	margin-bottom: 18px;
}

.pc-lead__grid {
	display: grid;
	grid-template-columns: 1fr 1.5fr;
	gap: 44px;
	align-items: center;
}

.pc-lead__title {
	margin: 0;
	font-family: var(--pc-font-serif);
	font-size: 52px;
	line-height: 1.04;
	font-weight: 800;
	color: var(--pc-ink);
	letter-spacing: -0.02em;
}

.pc-lead__title a {
	color: inherit;
	transition: color var(--pc-transition-fast);
}

.pc-lead__title a:hover {
	color: var(--pc-red);
}

.pc-lead__excerpt {
	font-family: var(--pc-font-serif);
	font-size: 20px;
	line-height: 1.5;
	color: #333;
	margin: 18px 0 0;
	font-weight: 400;
}

.pc-lead__byline {
	font-size: 13px;
	font-weight: 700;
	color: var(--pc-text-soft);
	margin: 18px 0 0;
	letter-spacing: 0.03em;
}

.pc-lead__text .pc-btn {
	margin-top: 20px;
	font-size: 15px;
}

.pc-lead__image {
	aspect-ratio: 16 / 10;
	border-radius: var(--pc-radius-md);
	overflow: hidden;
	background: var(--pc-placeholder);
	display: block;
	box-shadow: 0 14px 34px rgba(0, 0, 0, 0.16);
	transition: filter var(--pc-transition);
}

.pc-lead__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: filter var(--pc-transition);
}

.pc-lead__image:hover img {
	filter: brightness(1.07);
}

/* ================================================================
   Home — triptych (3 card in griglia densa).
   ================================================================ */

.pc-triptych {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0;
}

.pc-triptych__item {
	padding: 30px;
	border-right: 1px solid var(--pc-hairline);
}

.pc-triptych__item:first-child {
	padding-left: 0;
}

.pc-triptych__item:last-child {
	padding-right: 0;
	border-right: none;
}

.pc-triptych__item .pc-media {
	margin-bottom: 14px;
}

.pc-triptych__item .pc-kicker {
	margin-top: 0;
}

.pc-triptych__title {
	margin: 8px 0 0;
	font-family: var(--pc-font-serif);
	font-size: 25px;
	line-height: 1.15;
	font-weight: 700;
	color: var(--pc-ink);
}

.pc-triptych__title a {
	color: inherit;
	transition: color var(--pc-transition-fast);
}

.pc-triptych__title a:hover {
	color: var(--pc-red);
}

.pc-triptych__excerpt {
	font-size: 14px;
	color: #444;
	line-height: 1.55;
	margin: 10px 0 0;
}

.pc-triptych__date {
	font-size: 12px;
	font-weight: 700;
	color: #999;
	margin: 12px 0 0;
}

/* ================================================================
   Spazi pubblicitari — leaderboard / skyscraper.
   ================================================================ */

.pc-ad {
	text-align: center;
}

.pc-ad__label {
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--pc-ad-label);
	margin: 0 0 7px;
}

.pc-ad a {
	display: block;
	transition: opacity var(--pc-transition);
}

.pc-ad a:hover {
	opacity: 0.9;
}

.pc-ad img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: var(--pc-radius-md);
}

.pc-ad--leaderboard {
	margin: 0 var(--pc-section-padding);
	padding: 20px 0 4px;
}

.pc-ad--leaderboard.pc-container {
	padding-left: 0;
	padding-right: 0;
}

.pc-ad--skyscraper {
	padding-top: 20px;
}

.pc-ad--skyscraper img {
	max-width: 300px;
	margin: 0 auto;
}

/* ================================================================
   Editoriale del Direttore — pannello rosso.
   ================================================================ */

.pc-editorial {
	background: var(--pc-red);
	color: var(--pc-white);
	padding: 44px var(--pc-section-padding);
	margin: 0 var(--pc-section-padding);
	border-radius: var(--pc-radius-md);
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 40px;
	align-items: center;
}

.pc-editorial.pc-container {
	padding-left: var(--pc-section-padding);
	padding-right: var(--pc-section-padding);
}

.pc-editorial__label {
	flex: none;
}

.pc-editorial__kicker {
	margin: 0;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: var(--pc-ls-kicker);
	text-transform: uppercase;
	color: var(--pc-cream);
}

.pc-editorial__sub {
	margin: 8px 0 0;
	font-size: 15px;
	font-weight: 800;
	color: var(--pc-white);
}

.pc-editorial__body {
	border-left: 1px solid rgba(255, 255, 255, 0.3);
	padding-left: 40px;
}

.pc-editorial__quote {
	margin: 0;
	font-family: var(--pc-font-serif);
	font-size: 30px;
	line-height: 1.3;
	font-weight: 600;
	font-style: italic;
	color: var(--pc-white);
}

.pc-editorial__more {
	display: inline-block;
	margin-top: 18px;
	font-size: 13px;
	font-weight: 700;
	color: var(--pc-cream);
	letter-spacing: 0.03em;
}

.pc-editorial__more:hover {
	color: var(--pc-white);
}

/* ================================================================
   Sezioni "Dalle rubriche" + newsstand + skyscraper.
   ================================================================ */

.pc-sections {
	padding-top: 36px;
	padding-bottom: 36px;
	display: grid;
	grid-template-columns: 1fr 300px;
	gap: 40px;
	align-items: start;
}

.pc-sections--no-aside {
	grid-template-columns: 1fr;
}

.pc-section-title {
	margin: 0 0 22px;
	font-family: var(--pc-font-sans);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--pc-black);
	border-bottom: 2px solid var(--pc-black);
	padding-bottom: 10px;
}

/* Griglia 2×2 delle rubriche. */
.pc-rubriche {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 22px 26px;
}

/* Card riutilizzabile. */
.pc-card .pc-media {
	margin-bottom: 10px;
}

.pc-card .pc-kicker {
	margin-top: 0;
}

.pc-card__title {
	margin: 5px 0 0;
	font-family: var(--pc-font-serif);
	font-size: 17px;
	line-height: 1.2;
	font-weight: 700;
	color: var(--pc-ink);
}

.pc-card__title a {
	color: inherit;
	transition: color var(--pc-transition-fast);
}

.pc-card__title a:hover {
	color: var(--pc-red);
}

/* ================================================================
   Newsstand — "In edicola" + numeri arretrati.
   ================================================================ */

.pc-newsstand {
	background: var(--pc-cream-paper);
	border-radius: var(--pc-radius-lg);
	padding: 30px;
	margin-top: 30px;
	display: grid;
	grid-template-columns: 1.55fr 1fr;
	gap: 30px;
	align-items: center;
}

.pc-newsstand__current {
	display: flex;
	gap: 26px;
	align-items: center;
}

.pc-newsstand__cover {
	flex: none;
	display: block;
	transition: transform var(--pc-transition);
}

.pc-newsstand__cover:hover {
	transform: translateY(-3px);
}

.pc-newsstand__cover img {
	width: 160px;
	border-radius: var(--pc-radius-md);
	box-shadow: 0 14px 32px rgba(0, 0, 0, 0.2);
}

.pc-newsstand__title {
	margin: 8px 0 0;
	font-family: var(--pc-font-serif);
	font-size: 26px;
	line-height: 1.1;
	font-weight: 800;
	color: var(--pc-ink);
	letter-spacing: -0.01em;
}

.pc-newsstand__desc {
	margin: 8px 0 0;
	font-size: 13px;
	color: var(--pc-text-muted);
	line-height: 1.5;
}

.pc-newsstand__info .pc-btn {
	margin-top: 16px;
	font-size: 14px;
	padding: 13px 24px;
}

.pc-newsstand__past {
	border-left: 1px solid var(--pc-hairline);
	padding-left: 28px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 18px;
}

.pc-newsstand__past-label {
	margin: 0;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--pc-caption);
}

.pc-past-item {
	display: flex;
	gap: 12px;
	align-items: center;
	text-decoration: none;
	transition: transform var(--pc-transition);
}

.pc-past-item:hover {
	transform: translateX(3px);
}

.pc-past-item img {
	width: 52px;
	flex: none;
	display: block;
	border-radius: var(--pc-radius-sm);
	box-shadow: 0 5px 14px rgba(0, 0, 0, 0.18);
}

.pc-past-item__num {
	display: block;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.04em;
	color: var(--pc-red);
}

.pc-past-item__title {
	display: block;
	font-family: var(--pc-font-serif);
	font-size: 14px;
	font-weight: 700;
	color: var(--pc-text);
	line-height: 1.2;
	margin-top: 2px;
}

.pc-newsstand__all {
	display: block;
	margin-top: 6px;
	padding-top: 12px;
	border-top: 1px solid var(--pc-hairline);
	font-family: var(--pc-font-sans);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--pc-red);
	transition: color var(--pc-transition-fast);
}

.pc-newsstand__all:hover {
	color: var(--pc-red-hover);
}

/* ================================================================
   Striscia abbonamento.
   ================================================================ */

/* Striscia abbonamento — versione con due opzioni (Digitale / Carta+Digitale). */

.pc-subscribe {
	background: var(--pc-cream);
	padding: 70px var(--pc-section-padding);
}

.pc-subscribe__inner {
	max-width: 820px;
	margin: 0 auto;
	text-align: center;
}

.pc-subscribe__hero {
	margin: 0;
	font-family: var(--pc-font-serif);
	font-size: 82px;
	font-weight: 800;
	line-height: 0.95;
	letter-spacing: -0.02em;
	color: var(--pc-red);
}

.pc-subscribe__hero em {
	display: block;
	font-size: 62px;
	font-weight: 700;
	font-style: italic;
	color: var(--pc-red);
	margin-top: 4px;
}

.pc-subscribe__divider {
	position: relative;
	margin: 44px 0 36px;
	font-family: var(--pc-font-sans);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--pc-black);
}

.pc-subscribe__divider::before {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	top: 50%;
	height: 1px;
	background: var(--pc-black);
	z-index: 0;
}

.pc-subscribe__divider span {
	position: relative;
	z-index: 1;
	background: var(--pc-cream);
	padding: 0 20px;
}

.pc-subscribe__options {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
	align-items: start;
}

.pc-subscribe-option {
	text-align: center;
}

.pc-subscribe-option__row {
	display: flex;
	align-items: baseline;
	gap: 10px;
	margin-bottom: 18px;
	font-family: var(--pc-font-serif);
}

.pc-subscribe-option__name {
	font-family: var(--pc-font-serif);
	font-size: 20px;
	font-weight: 700;
	color: var(--pc-ink);
	flex: none;
}

.pc-subscribe-option__dots {
	flex: 1;
	border-bottom: 2px dotted #5a4f42;
	transform: translateY(-4px);
}

.pc-subscribe-option__price {
	font-family: var(--pc-font-serif);
	font-size: 22px;
	font-weight: 700;
	color: var(--pc-red);
	flex: none;
	white-space: nowrap;
}

.pc-subscribe-option__price small {
	font-size: 14px;
	color: var(--pc-red);
	font-weight: 600;
	margin-left: 4px;
}

.pc-subscribe-option .pc-btn {
	padding: 12px 40px;
}

/* Welcome bar — sostituisce la striscia abbonamento per chi è già abbonato. */

.pc-welcome {
	background: var(--pc-black);
	color: var(--pc-white);
	padding: 50px var(--pc-section-padding);
}

.pc-welcome__inner {
	max-width: 720px;
	margin: 0 auto;
	text-align: center;
}

.pc-welcome__title {
	margin: 8px 0 12px;
	font-family: var(--pc-font-serif);
	font-size: 42px;
	font-weight: 800;
	color: var(--pc-white);
	line-height: 1.1;
	letter-spacing: -0.01em;
}

.pc-welcome__desc {
	margin: 0 0 24px;
	font-size: 15px;
	color: rgba(255, 255, 255, 0.85);
	font-weight: 500;
}

/* ================================================================
   Il mio account — widget stato abbonamento + ultimi articoli.
   ================================================================ */

.pc-account-status {
	background: var(--pc-cream-paper);
	border-radius: var(--pc-radius-lg);
	padding: 30px;
	margin-bottom: 30px;
	border-left: 4px solid var(--pc-hairline);
}

.pc-account-status--active {
	background: var(--pc-black);
	color: var(--pc-white);
	border-left-color: var(--pc-gold);
}

.pc-account-status--active .pc-account-status__title,
.pc-account-status--active .pc-account-status__desc {
	color: var(--pc-white);
}

.pc-account-status--inactive {
	border-left-color: var(--pc-red);
}

.pc-account-status__title {
	margin: 6px 0 10px;
	font-family: var(--pc-font-serif);
	font-size: 30px;
	font-weight: 800;
	color: var(--pc-ink);
	line-height: 1.15;
}

.pc-account-status__desc {
	margin: 0 0 18px;
	font-size: 15px;
	line-height: 1.5;
	color: var(--pc-text-muted);
}

.pc-account-status--active .pc-account-status__desc {
	color: rgba(255, 255, 255, 0.85);
}

.pc-account-latest__heading {
	margin: 30px 0 14px;
	font-family: var(--pc-font-sans);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--pc-black);
	border-bottom: 2px solid var(--pc-black);
	padding-bottom: 8px;
}

.pc-account-latest {
	list-style: none;
	padding: 0;
	margin: 0 0 30px;
}

.pc-account-latest li {
	border-bottom: 1px solid var(--pc-hairline);
}

.pc-account-latest a {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 20px;
	padding: 14px 0;
	transition: color var(--pc-transition-fast);
}

.pc-account-latest a:hover .pc-account-latest__title {
	color: var(--pc-red);
}

.pc-account-latest__title {
	font-family: var(--pc-font-serif);
	font-size: 17px;
	font-weight: 700;
	color: var(--pc-ink);
	line-height: 1.25;
	transition: color var(--pc-transition-fast);
}

.pc-account-latest__date {
	flex: none;
	font-size: 12px;
	color: var(--pc-text-soft);
	font-weight: 600;
}

/* CTA sotto il form di login — "Non sei ancora abbonato?" */

.pc-account-login-cta {
	background: var(--pc-cream-paper);
	border-radius: var(--pc-radius-lg);
	padding: 30px;
	margin: 40px auto 0;
	max-width: 500px;
	text-align: center;
	border-top: 4px solid var(--pc-red);
}

.pc-account-login-cta h3 {
	margin: 8px 0 12px;
	font-family: var(--pc-font-serif);
	font-size: 24px;
	font-weight: 800;
	color: var(--pc-ink);
	line-height: 1.2;
}

.pc-account-login-cta p {
	margin: 0 0 20px;
	font-size: 14px;
	line-height: 1.5;
	color: var(--pc-text-muted);
}

/* ================================================================
   Elementi mobile — nascosti di default su desktop.
   Diventano visibili nella media query mobile in fondo al file.
   ================================================================ */

.pc-masthead__hamburger,
.pc-ticker,
.pc-tabbar,
.pc-menu,
.pc-menu-overlay,
.pc-show-mobile {
	display: none;
}

/* ================================================================
   Off-canvas menu — struttura base (attivo su mobile).
   ================================================================ */

.pc-menu {
	position: fixed;
	top: 0;
	left: 0;
	bottom: 0;
	width: 86vw;
	max-width: 380px;
	background: var(--pc-white);
	z-index: 1001;
	transform: translateX(-100%);
	transition: transform 0.28s ease;
	overflow-y: auto;
	box-shadow: 4px 0 24px rgba(0, 0, 0, 0.12);
}

.pc-menu[aria-hidden="false"] {
	transform: translateX(0);
}

.pc-menu__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 20px;
	background: var(--pc-red);
	color: var(--pc-white);
}

.pc-menu__logo img {
	height: 34px;
	filter: brightness(0) invert(1);
}

.pc-menu__close {
	background: transparent;
	border: none;
	color: var(--pc-white);
	font-size: 32px;
	line-height: 1;
	cursor: pointer;
	padding: 0 4px;
}

.pc-menu__nav {
	padding: 20px 0;
	border-bottom: 1px solid var(--pc-hairline);
}

.pc-menu__list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.pc-menu__list li {
	border-bottom: 1px solid var(--pc-hairline-soft);
}

.pc-menu__list a {
	display: block;
	padding: 14px 20px;
	font-family: var(--pc-font-sans);
	font-size: 14px;
	font-weight: 700;
	color: var(--pc-black);
	text-transform: uppercase;
	letter-spacing: 0.06em;
	transition: background var(--pc-transition-fast), color var(--pc-transition-fast);
}

.pc-menu__list a:hover {
	background: var(--pc-cream-paper);
	color: var(--pc-red);
}

.pc-menu__actions {
	padding: 20px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.pc-menu__link {
	display: block;
	padding: 12px 0;
	font-family: var(--pc-font-sans);
	font-size: 13px;
	font-weight: 700;
	color: var(--pc-text);
	text-transform: uppercase;
	letter-spacing: 0.06em;
	border-bottom: 1px solid var(--pc-hairline);
}

.pc-menu__actions .pc-btn {
	text-align: center;
	justify-content: center;
	margin-top: 8px;
}

/* Overlay dietro il menu quando è aperto. */
.pc-menu-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.55);
	z-index: 1000;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.28s ease;
}

.pc-menu-overlay[aria-hidden="false"] {
	opacity: 1;
	pointer-events: auto;
}

body.pc-menu-open {
	overflow: hidden;
}

/* ================================================================
   Hamburger — tre linee, animate quando aperto.
   ================================================================ */

.pc-masthead__hamburger {
	background: transparent;
	border: none;
	width: 32px;
	height: 32px;
	padding: 0;
	cursor: pointer;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 5px;
}

.pc-masthead__hamburger span {
	display: block;
	width: 22px;
	height: 2px;
	background: var(--pc-white);
	border-radius: 1px;
	transition: transform 0.22s ease, opacity 0.22s ease;
}

/* ================================================================
   Ticker "Ultima" — sotto la nav su mobile.
   ================================================================ */

.pc-ticker {
	align-items: center;
	gap: 10px;
	padding: 10px 16px;
	background: var(--pc-cream-paper);
	border-bottom: 1px solid var(--pc-hairline);
	overflow: hidden;
	font-size: 12px;
	white-space: nowrap;
}

.pc-ticker__label {
	background: var(--pc-red);
	color: var(--pc-white);
	font-family: var(--pc-font-sans);
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	font-size: 10px;
	padding: 3px 8px;
	border-radius: 2px;
	flex: none;
}

.pc-ticker__link {
	color: var(--pc-ink);
	font-weight: 600;
	overflow: hidden;
	text-overflow: ellipsis;
	min-width: 0;
	flex: 1;
}

.pc-ticker__link:hover {
	color: var(--pc-red);
}

/* ================================================================
   Bottom tab bar — mobile only.
   ================================================================ */

.pc-tabbar {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	background: var(--pc-white);
	border-top: 1px solid var(--pc-hairline);
	grid-template-columns: repeat(5, 1fr);
	z-index: 900;
	box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.06);
	padding-bottom: env(safe-area-inset-bottom);
}

.pc-tabbar__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
	padding: 10px 4px;
	text-decoration: none;
	background: transparent;
	border: none;
	cursor: pointer;
	color: var(--pc-text-muted);
	font-family: var(--pc-font-sans);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.03em;
	transition: color var(--pc-transition-fast);
}

.pc-tabbar__item svg {
	width: 22px;
	height: 22px;
}

.pc-tabbar__item:hover,
.pc-tabbar__item.is-active {
	color: var(--pc-red);
}

/* ================================================================
   Media query mobile — ≤ 768px.
   ================================================================ */

@media (max-width: 768px) {

	body {
		background: var(--pc-white);
		/* Spazio in fondo per la tab bar fissa. */
		padding-bottom: calc(64px + env(safe-area-inset-bottom));
	}

	/* --- Frame senza cornice / centratura --- */
	.pc-page__frame {
		width: 100%;
		box-shadow: none;
		border-radius: 0;
	}

	/* --- Visibilità elementi mobile --- */
	.pc-masthead__hamburger { display: flex; }
	.pc-ticker             { display: flex; }
	.pc-tabbar             { display: grid; }
	.pc-menu               { display: block; }
	.pc-menu-overlay       { display: block; }
	.pc-show-mobile        { display: inline; }
	.pc-hide-mobile        { display: none; }

	/* --- Masthead compatto --- */
	.pc-masthead__utility {
		display: none;
	}

	.pc-masthead__brand {
		display: grid;
		grid-template-columns: 32px 1fr auto;
		gap: 12px;
		align-items: center;
		padding: 12px 16px;
	}

	.pc-masthead__logo {
		justify-self: center;
	}

	.pc-masthead__logo img {
		height: 30px;
	}

	.pc-masthead__cta {
		font-size: 11px;
		padding: 8px 14px;
	}

	/* --- Nav — scroll orizzontale --- */
	.pc-nav {
		gap: 20px;
		padding: 10px 16px;
		font-size: 12px;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
	}

	.pc-nav::-webkit-scrollbar {
		display: none;
	}

	.pc-nav__list {
		gap: 20px;
		flex-wrap: nowrap;
	}

	.pc-nav__search {
		flex: none;
		margin-left: 12px;
	}

	/* --- Lead --- */
	.pc-lead__inner {
		padding-top: 20px;
		padding-bottom: 24px;
	}

	.pc-lead__inner .pc-badge {
		font-size: 10px;
		padding: 5px 10px;
	}

	.pc-lead__grid {
		display: flex;
		flex-direction: column;
		gap: 16px;
	}

	.pc-lead__image {
		order: -1;
	}

	.pc-lead__title {
		font-size: 28px;
		line-height: 1.08;
	}

	.pc-lead__excerpt {
		font-size: 16px;
		line-height: 1.5;
	}

	.pc-lead__byline {
		font-size: 12px;
	}

	.pc-lead__text .pc-btn {
		display: flex;
		width: 100%;
		justify-content: center;
		font-size: 13px;
	}

	/* --- Triptych → colonna singola --- */
	.pc-triptych {
		grid-template-columns: 1fr;
	}

	.pc-triptych__item {
		padding: 24px 0;
		border-right: none;
		border-bottom: 1px solid var(--pc-hairline);
	}

	.pc-triptych__item:first-child {
		padding-left: 0;
		padding-top: 8px;
	}

	.pc-triptych__item:last-child {
		border-bottom: none;
		padding-right: 0;
	}

	.pc-triptych__title {
		font-size: 22px;
	}

	/* --- Ad slots --- */
	.pc-ad--leaderboard {
		margin: 0 16px;
	}

	/* --- Editorial → verticale --- */
	.pc-editorial {
		grid-template-columns: 1fr;
		gap: 16px;
		padding: 24px 20px;
		margin: 0 16px;
	}

	.pc-editorial__body {
		border-left: none;
		border-top: 1px solid rgba(255, 255, 255, 0.3);
		padding-left: 0;
		padding-top: 16px;
	}

	.pc-editorial__quote {
		font-size: 22px;
	}

	/* --- Sezioni + skyscraper → una colonna, sidebar nascosta --- */
	.pc-sections {
		grid-template-columns: 1fr;
		gap: 30px;
		padding-top: 24px;
		padding-bottom: 24px;
	}

	.pc-sections__aside {
		display: none;
	}

	/* --- Rubriche → card orizzontali --- */
	.pc-rubriche {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.pc-rubriche .pc-card {
		display: grid;
		grid-template-columns: 100px 1fr;
		gap: 14px;
		align-items: start;
		padding: 16px 0;
		border-bottom: 1px solid var(--pc-hairline);
	}

	.pc-rubriche .pc-card:last-child {
		border-bottom: none;
	}

	.pc-rubriche .pc-card .pc-media {
		margin: 0;
	}

	.pc-rubriche .pc-card__title {
		font-size: 15px;
	}

	/* --- Newsstand → stacked --- */
	.pc-newsstand {
		grid-template-columns: 1fr;
		gap: 24px;
		padding: 24px 20px;
	}

	.pc-newsstand__current {
		flex-direction: column;
		text-align: center;
		gap: 20px;
	}

	.pc-newsstand__cover img {
		width: 180px;
		margin: 0 auto;
	}

	.pc-newsstand__title {
		font-size: 22px;
	}

	.pc-newsstand__info .pc-btn {
		display: flex;
		width: 100%;
		justify-content: center;
	}

	.pc-newsstand__past {
		border-left: none;
		border-top: 1px solid var(--pc-hairline);
		padding-left: 0;
		padding-top: 20px;
		gap: 14px;
	}

	/* --- Subscribe strip → una colonna --- */
	.pc-subscribe {
		padding: 44px 20px;
	}

	.pc-subscribe__hero {
		font-size: 52px;
	}

	.pc-subscribe__hero em {
		font-size: 38px;
	}

	.pc-subscribe__divider {
		margin: 32px 0 26px;
	}

	.pc-subscribe__options {
		grid-template-columns: 1fr;
		gap: 30px;
	}

	.pc-subscribe-option .pc-btn {
		width: 100%;
		justify-content: center;
	}

	/* --- Welcome bar --- */
	.pc-welcome {
		padding: 30px 20px;
	}

	.pc-welcome__title {
		font-size: 28px;
	}

	/* --- Footer --- */
	.pc-footer {
		flex-direction: column;
		gap: 16px;
		padding: 24px 16px;
		text-align: center;
	}

	.pc-footer__logo img {
		height: 24px;
	}

	.pc-footer__nav {
		flex-wrap: wrap;
		justify-content: center;
		gap: 18px;
	}

	/* --- Articolo — layout single column --- */
	.pc-article-layout {
		grid-template-columns: 1fr;
		padding-top: 0;
	}

	.pc-article {
		padding: 20px 0 30px;
		border-right: none;
	}

	.pc-article__title {
		font-size: 28px;
	}

	.pc-article__lead {
		font-size: 18px;
	}

	.pc-article__meta {
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
	}

	.pc-article__body {
		font-size: 17px;
		line-height: 1.7;
	}

	.pc-article__body > p:first-of-type::first-letter {
		font-size: 60px;
	}

	.pc-article__body h2 {
		font-size: 22px;
	}

	.pc-article__body blockquote,
	.pc-article__body .wp-block-pullquote {
		padding: 22px 20px;
		font-size: 22px;
	}

	.pc-rail {
		display: none;
	}

	.pc-paywall {
		padding: 26px 22px;
	}

	.pc-paywall__title {
		font-size: 22px;
	}

	.pc-paywall__price {
		font-size: 36px;
	}

	.pc-paywall__actions {
		flex-direction: column;
	}

	.pc-paywall__actions .pc-btn {
		width: 100%;
		justify-content: center;
	}

	/* --- Continua a leggere (fondo articolo) → card orizzontali --- */
	.pc-continue {
		padding-bottom: 30px;
	}

	.pc-continue__grid {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.pc-continue .pc-card {
		display: grid;
		grid-template-columns: 100px 1fr;
		gap: 14px;
		padding: 16px 0;
		border-bottom: 1px solid var(--pc-hairline);
	}

	.pc-continue .pc-card:last-child {
		border-bottom: none;
	}

	.pc-continue .pc-media {
		margin: 0;
	}

	.pc-continue .pc-card__title {
		font-size: 15px;
	}

	/* --- Pagina standard (about, contatti, WC-shortcode) --- */
	.pc-page-content__inner {
		padding: 24px 0;
	}

	.pc-page-content__title {
		font-size: 30px;
	}

	/* --- Account: widget stato --- */
	.pc-account-status {
		padding: 22px;
	}

	.pc-account-status__title {
		font-size: 24px;
	}

	/* --- WooCommerce responsive --- */
	.pc-woo__inner {
		padding: 24px 0;
	}

	.woocommerce ul.products {
		grid-template-columns: 1fr 1fr;
		gap: 20px;
	}

	.woocommerce ul.products li.product .woocommerce-loop-product__title {
		font-size: 16px;
	}

	.woocommerce ul.products li.product .price {
		font-size: 18px;
	}

	.woocommerce div.product {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.woocommerce div.product .product_title {
		font-size: 28px;
	}

	.woocommerce div.product p.price,
	.woocommerce div.product span.price {
		font-size: 26px;
	}

	.woocommerce div.product form.cart {
		flex-wrap: wrap;
	}

	.woocommerce div.product .woocommerce-tabs ul.tabs {
		display: flex;
		flex-wrap: wrap;
		gap: 12px;
	}

	.woocommerce div.product .woocommerce-tabs ul.tabs li {
		margin-right: 0;
	}

	/* Carrello e checkout: tabelle scorrevoli */
	.woocommerce table.shop_table {
		display: block;
		overflow-x: auto;
		white-space: nowrap;
	}

	/* Account: nav laterale sopra il contenuto */
	.woocommerce-account .woocommerce-MyAccount-navigation {
		margin-bottom: 20px;
	}

	.woocommerce-account .woocommerce-MyAccount-navigation ul {
		display: flex;
		flex-wrap: wrap;
		gap: 10px;
	}

	.woocommerce-account .woocommerce-MyAccount-navigation li {
		padding: 0;
		border: none;
	}
}

/* ================================================================
   Media query per schermi molto piccoli — ≤ 380px.
   Solo aggiustamenti minori dove il layout stretto crea problemi.
   ================================================================ */

@media (max-width: 380px) {
	.pc-subscribe__hero {
		font-size: 44px;
	}

	.pc-subscribe__hero em {
		font-size: 32px;
	}

	.pc-lead__title,
	.pc-article__title {
		font-size: 24px;
	}

	.pc-masthead__logo img {
		height: 26px;
	}
}

/* ================================================================
   Footer scuro.
   ================================================================ */

.pc-footer {
	background: var(--pc-footer-bg);
	padding: 36px var(--pc-section-padding);
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.pc-footer__logo img {
	height: 28px;
	filter: brightness(0) invert(1);
}

.pc-footer__nav {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	gap: 26px;
}

.pc-footer__nav a {
	font-size: 13px;
	color: var(--pc-footer-text);
	font-weight: 600;
	transition: color var(--pc-transition-fast);
}

.pc-footer__nav a:hover {
	color: var(--pc-white);
}

/* ================================================================
   Single article — layout 2 colonne (main + rail 340px).
   ================================================================ */

.pc-article-layout {
	display: grid;
	grid-template-columns: 1fr 340px;
	gap: 0;
	padding-top: 0;
	padding-bottom: 0;
}

.pc-article {
	padding: 34px 44px 40px 0;
	border-right: 1px solid var(--pc-hairline);
}

.pc-breadcrumb {
	font-size: 12px;
	font-weight: 700;
	color: #999;
	letter-spacing: 0.04em;
	margin-bottom: 18px;
}

.pc-breadcrumb a {
	color: inherit;
}

.pc-breadcrumb a:hover {
	color: var(--pc-red);
}

.pc-breadcrumb span {
	margin: 0 6px;
}

.pc-article__title {
	margin: 16px 0 0;
	font-family: var(--pc-font-serif);
	font-size: 50px;
	line-height: 1.04;
	font-weight: 800;
	color: var(--pc-ink);
	letter-spacing: -0.02em;
}

.pc-article__lead {
	margin: 18px 0 0;
	font-family: var(--pc-font-serif);
	font-size: 22px;
	line-height: 1.45;
	color: #3a3a3a;
	font-weight: 400;
}

.pc-article__meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 24px;
	padding: 16px 0;
	border-top: 1px solid var(--pc-hairline);
	border-bottom: 1px solid var(--pc-hairline);
}

.pc-article__byline {
	margin: 0;
	font-size: 13px;
	color: #4a4a4a;
	font-weight: 600;
}

.pc-article__byline strong {
	color: var(--pc-ink);
	font-weight: 800;
}

.pc-article__social {
	display: flex;
	gap: 10px;
}

.pc-social {
	width: 30px;
	height: 30px;
	border-radius: 50%;
	border: 1px solid #ddd;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
	font-weight: 800;
	color: #999;
	transition: border-color var(--pc-transition-fast), color var(--pc-transition-fast);
}

.pc-social:hover {
	border-color: var(--pc-red);
	color: var(--pc-red);
}

.pc-article__figure {
	margin: 24px 0 0;
}

.pc-article__image {
	width: 100%;
	height: auto;
	border-radius: var(--pc-radius-md);
	display: block;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	background: var(--pc-hairline-soft);
}

.pc-article__caption {
	margin-top: 8px;
	font-size: 12px;
	color: #999;
	font-weight: 600;
	font-style: italic;
}

/* ================================================================
   Corpo articolo — Spectral serif, drop cap sul primo paragrafo,
   pull quote su pannello rosso, sub-heading, fade-out del paywall.
   ================================================================ */

.pc-article__body {
	position: relative;
	margin-top: 28px;
	font-family: var(--pc-font-serif);
	font-size: 20px;
	line-height: 1.72;
	color: #1f1f1f;
}

.pc-article__body p {
	margin: 0 0 18px;
}

.pc-article__body > p:first-of-type::first-letter {
	float: left;
	font-family: var(--pc-font-serif);
	font-size: 80px;
	line-height: 0.76;
	font-weight: 800;
	color: var(--pc-red);
	margin: 8px 14px 0 0;
}

.pc-article__body h2,
.pc-article__body h3 {
	font-family: var(--pc-font-serif);
	color: var(--pc-ink);
	line-height: 1.15;
}

.pc-article__body h2 {
	font-size: 28px;
	font-weight: 800;
	margin: 34px 0 14px;
}

.pc-article__body h3 {
	font-size: 22px;
	font-weight: 700;
	margin: 28px 0 12px;
}

.pc-article__body a {
	color: var(--pc-red);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.pc-article__body a:hover {
	color: var(--pc-red-hover);
}

.pc-article__body ul,
.pc-article__body ol {
	margin: 0 0 18px;
	padding-left: 1.4em;
}

.pc-article__body img {
	max-width: 100%;
	height: auto;
	border-radius: var(--pc-radius-md);
	margin: 24px 0;
}

.pc-article__body blockquote,
.pc-article__body .wp-block-pullquote {
	background: var(--pc-red);
	color: var(--pc-white);
	border-radius: var(--pc-radius-lg);
	padding: 34px 36px;
	margin: 34px 0;
	font-family: var(--pc-font-serif);
	font-size: 30px;
	line-height: 1.28;
	font-weight: 700;
	font-style: italic;
	border: none;
}

.pc-article__body blockquote p,
.pc-article__body .wp-block-pullquote p {
	margin: 0;
}

.pc-article__body .wp-block-pullquote cite {
	display: block;
	margin-top: 14px;
	font-size: 14px;
	font-style: normal;
	font-weight: 700;
	color: var(--pc-cream);
	letter-spacing: 0.03em;
}

/* Fade overlay che sfuma la coda del contenuto prima del box paywall. */
.pc-article__fade {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 140px;
	pointer-events: none;
	background: linear-gradient(to bottom, rgba(255, 255, 255, 0), var(--pc-white));
}

/* ================================================================
   Paywall — box crema con prezzo e CTA.
   ================================================================ */

.pc-paywall {
	background: var(--pc-cream);
	border-radius: var(--pc-radius-lg);
	padding: 36px;
	text-align: center;
	margin-top: 8px;
}

.pc-paywall__title {
	margin: 10px 0 0;
	font-family: var(--pc-font-serif);
	font-size: 28px;
	font-weight: 800;
	color: var(--pc-black);
	line-height: 1.18;
}

.pc-paywall__desc {
	margin: 8px 0 0;
	font-size: 14px;
	color: #6b6450;
	font-weight: 600;
}

.pc-paywall__price {
	margin: 18px 0 0;
	font-size: 42px;
	font-weight: 900;
	color: var(--pc-red);
	letter-spacing: -0.02em;
	line-height: 1;
}

.pc-paywall__price span {
	font-size: 15px;
	color: #7a7259;
	font-weight: 700;
}

.pc-paywall__actions {
	display: flex;
	gap: 12px;
	justify-content: center;
	margin-top: 18px;
	flex-wrap: wrap;
}

.pc-btn--ghost {
	background: var(--pc-white);
	color: var(--pc-black);
	font-size: 14px;
	font-weight: 700;
	padding: 14px 28px;
	border: 1px solid var(--pc-hairline);
}

.pc-btn--ghost:hover {
	color: var(--pc-red);
	background: var(--pc-white);
}

/* ================================================================
   Sidebar rail — banner quadrato, top-list, related, newsletter.
   ================================================================ */

.pc-rail {
	padding: 34px 0 40px 36px;
}

.pc-ad--square {
	margin-bottom: 18px;
	text-align: center;
}

.pc-ad--square img {
	max-width: 331px;
	margin: 0 auto;
}

/* Section-title dentro il rail — spaziatura più compatta. */
.pc-rail .pc-section-title {
	margin-bottom: 0;
	padding-bottom: 10px;
}

.pc-rail .pc-section-title + .pc-toplist,
.pc-rail .pc-section-title + .pc-related {
	margin-top: 0;
}

.pc-rail .pc-section-title:not(:first-child) {
	margin-top: 30px;
}

/* Lista numerata "I più letti". */
.pc-toplist {
	list-style: none;
	padding: 0;
	margin: 0;
}

.pc-toplist__item {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	padding: 16px 0;
	border-bottom: 1px solid var(--pc-hairline);
}

.pc-toplist__num {
	font-family: var(--pc-font-serif);
	font-size: 30px;
	font-weight: 700;
	color: var(--pc-red);
	line-height: 1;
	flex: none;
	width: 26px;
}

.pc-toplist__title {
	font-family: var(--pc-font-serif);
	font-size: 16px;
	line-height: 1.25;
	font-weight: 600;
	color: var(--pc-text);
}

.pc-toplist__title:hover {
	color: var(--pc-red);
}

/* "Leggi anche" — card con foto nel rail. */
.pc-related {
	padding: 16px 0;
	border-bottom: 1px solid var(--pc-hairline);
}

.pc-related .pc-media {
	margin-bottom: 10px;
}

.pc-related .pc-card__title {
	font-size: 17px;
	line-height: 1.22;
	color: var(--pc-text);
	margin-top: 5px;
}

/* Newsletter box scuro. */
.pc-newsletter-box {
	background: var(--pc-black);
	border-radius: var(--pc-radius-lg);
	padding: 22px;
	margin-top: 24px;
}

.pc-kicker--gold {
	color: var(--pc-gold);
}

.pc-newsletter-box__title {
	margin: 8px 0 14px;
	font-family: var(--pc-font-serif);
	font-size: 18px;
	font-weight: 700;
	color: var(--pc-white);
	line-height: 1.25;
}

.pc-newsletter-form {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.pc-newsletter__input {
	background: var(--pc-white);
	border: none;
	border-radius: var(--pc-radius-sm);
	height: 38px;
	padding: 0 12px;
	font-size: 12px;
	color: #333;
	font-weight: 500;
}

.pc-newsletter__input::placeholder {
	color: #999;
}

.pc-newsletter__submit {
	background: var(--pc-red);
	color: var(--pc-white);
	text-align: center;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	padding: 11px;
	border-radius: var(--pc-radius-sm);
	border: none;
	cursor: pointer;
	transition: background var(--pc-transition-fast);
}

.pc-newsletter__submit:hover {
	background: var(--pc-red-hover);
}

/* ================================================================
   "Continua a leggere" — 3 card correlate a fondo articolo.
   ================================================================ */

.pc-continue {
	padding-top: 8px;
	padding-bottom: 40px;
}

.pc-continue__title {
	margin: 0 0 24px;
	font-family: var(--pc-font-sans);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--pc-black);
	border-top: 3px double var(--pc-black);
	border-bottom: 1px solid var(--pc-black);
	padding: 12px 0;
}

.pc-continue__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
}

.pc-continue .pc-card__title {
	font-size: 19px;
	line-height: 1.2;
	color: var(--pc-ink);
	margin-top: 6px;
}

/* ================================================================
   Override footer sul singolo articolo — rosso invece che scuro.
   WordPress aggiunge la classe .single al body sulle pagine post.
   ================================================================ */

body.single .pc-footer {
	background: var(--pc-red);
}

body.single .pc-footer__nav a {
	color: rgba(255, 255, 255, 0.85);
}

body.single .pc-footer__nav a:hover {
	color: var(--pc-white);
}

/* ================================================================
   WooCommerce — restyling globale sulla palette Audace.
   ================================================================ */

.pc-woo__inner {
	padding-top: 40px;
	padding-bottom: 60px;
}

/* Titoli h1/h2 sulle pagine WC — Spectral serif. */
.pc-woo h1,
.woocommerce h1,
.woocommerce-page h1 {
	font-family: var(--pc-font-serif);
	font-size: 42px;
	font-weight: 800;
	color: var(--pc-ink);
	letter-spacing: -0.01em;
	margin: 0 0 20px;
	line-height: 1.15;
}

.woocommerce h2,
.woocommerce-page h2 {
	font-family: var(--pc-font-serif);
	font-size: 28px;
	font-weight: 800;
	color: var(--pc-ink);
	margin: 30px 0 16px;
}

/* Pulsanti WC — rosso brand. */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce .single_add_to_cart_button,
.woocommerce-page a.button,
.woocommerce-page button.button {
	background: var(--pc-red);
	color: var(--pc-white);
	font-family: var(--pc-font-sans);
	font-weight: 800;
	font-size: 14px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	padding: 14px 26px;
	border-radius: var(--pc-radius-md);
	border: none;
	cursor: pointer;
	transition: background var(--pc-transition-fast), transform var(--pc-transition-fast), box-shadow var(--pc-transition-fast);
	text-decoration: none;
	display: inline-block;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce .single_add_to_cart_button:hover,
.woocommerce-page a.button:hover,
.woocommerce-page button.button:hover {
	background: var(--pc-red-hover);
	color: var(--pc-white);
	transform: translateY(-1px);
	box-shadow: 0 6px 16px rgba(173, 46, 45, 0.3);
}

/* Pulsanti secondari (es. "Applica coupon"). */
.woocommerce .button.alt {
	background: var(--pc-red);
}

.woocommerce .button--alt-dark,
.woocommerce a.button.wc-forward:not(.checkout-button) {
	background: var(--pc-black);
}

.woocommerce a.button.wc-forward:not(.checkout-button):hover {
	background: #333;
	color: var(--pc-white);
}

/* Prezzi — Spectral serif per l'estetica editoriale. */
.woocommerce .price,
.woocommerce-page .price,
.woocommerce ins {
	font-family: var(--pc-font-serif);
	color: var(--pc-red);
	font-weight: 700;
	text-decoration: none;
	background: transparent;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
	font-size: 32px;
	font-weight: 800;
	letter-spacing: -0.01em;
}

.woocommerce ul.products li.product .price {
	font-size: 22px;
}

.woocommerce del {
	color: #999;
	opacity: 0.7;
}

/* ================================================================
   Shop archive — griglia prodotti.
   ================================================================ */

.woocommerce ul.products {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px;
	list-style: none;
	padding: 0;
	margin: 0;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
	display: none;
}

.woocommerce ul.products li.product {
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	float: none !important;
	clear: none !important;
	text-align: left;
}

.woocommerce ul.products li.product a img {
	margin: 0 0 14px;
	border-radius: var(--pc-radius-md);
	transition: filter var(--pc-transition);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.woocommerce ul.products li.product a:hover img {
	filter: brightness(1.05);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
	font-family: var(--pc-font-serif);
	font-size: 22px;
	font-weight: 700;
	color: var(--pc-ink);
	line-height: 1.2;
	padding: 0;
	margin: 5px 0 10px;
	transition: color var(--pc-transition-fast);
}

.woocommerce ul.products li.product a:hover .woocommerce-loop-product__title {
	color: var(--pc-red);
}

.woocommerce ul.products li.product .price {
	display: block;
	margin: 0 0 14px;
}

/* Categorie/subcategorie sull'archivio negozio (se presenti). */
.woocommerce ul.products li.product-category h2.woocommerce-loop-category__title {
	font-family: var(--pc-font-serif);
	font-size: 20px;
	color: var(--pc-ink);
}

/* Ordinamento e results-count sopra la griglia. */
.woocommerce .woocommerce-result-count,
.woocommerce-page .woocommerce-result-count {
	font-family: var(--pc-font-sans);
	font-size: 13px;
	color: var(--pc-text-muted);
	margin: 0 0 22px;
}

.woocommerce .woocommerce-ordering select {
	padding: 8px 12px;
	border: 1px solid var(--pc-hairline);
	border-radius: var(--pc-radius-sm);
	font-family: var(--pc-font-sans);
	font-size: 13px;
	background: var(--pc-white);
}

/* ================================================================
   Prodotti correlati — slider orizzontale scrollabile.
   ================================================================ */

.woocommerce .related.products {
	margin-top: 60px;
	clear: both;
}

.woocommerce .related.products > h2 {
	margin-bottom: 24px;
	font-family: var(--pc-font-sans);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--pc-black);
	border-bottom: 2px solid var(--pc-black);
	padding-bottom: 10px;
}

.woocommerce .related.products ul.products {
	display: flex;
	grid-template-columns: none;
	overflow-x: auto;
	gap: 24px;
	padding: 4px 4px 16px;
	margin: 0 -4px;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
	scrollbar-color: var(--pc-hairline) transparent;
}

.woocommerce .related.products ul.products::-webkit-scrollbar {
	height: 8px;
}

.woocommerce .related.products ul.products::-webkit-scrollbar-thumb {
	background: var(--pc-hairline);
	border-radius: 4px;
}

.woocommerce .related.products ul.products::-webkit-scrollbar-track {
	background: transparent;
}

.woocommerce .related.products ul.products li.product {
	flex: 0 0 230px;
	scroll-snap-align: start;
}

/* ================================================================
   Single product page.
   ================================================================ */

.woocommerce div.product {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
	align-items: start;
}

.woocommerce div.product .woocommerce-product-gallery,
.woocommerce div.product .woocommerce-product-gallery__wrapper,
.woocommerce div.product .woocommerce-product-gallery__image {
	max-width: 100% ;
	float: none ;
	margin: 0 ;
	opacity: 1 ;
	overflow: hidden;
}

.woocommerce div.product .woocommerce-product-gallery__image img {
	width: 100% ;
	max-width: 100% ;
	height: auto ;
	display: block;
	border-radius: var(--pc-radius-md);
	box-shadow: 0 14px 34px rgba(0, 0, 0, 0.16);
}

.woocommerce div.product .summary {
	width: 100% ;
	float: none ;
	margin: 0;
}

.woocommerce div.product .product_title {
	font-family: var(--pc-font-serif);
	font-size: 40px;
	line-height: 1.05;
	font-weight: 800;
	color: var(--pc-ink);
	letter-spacing: -0.02em;
	margin: 0 0 20px;
}

.woocommerce div.product .woocommerce-product-details__short-description {
	font-family: var(--pc-font-serif);
	font-size: 18px;
	line-height: 1.5;
	color: #3a3a3a;
	margin: 0 0 24px;
}

.woocommerce div.product .woocommerce-product-details__short-description p {
	margin: 0 0 12px;
}

.woocommerce div.product form.cart {
	display: flex;
	align-items: center;
	gap: 16px;
	margin: 24px 0;
	padding: 20px 0;
	border-top: 1px solid var(--pc-hairline);
	border-bottom: 1px solid var(--pc-hairline);
}

.woocommerce div.product form.cart .quantity input.qty {
	width: 64px;
	height: 48px;
	padding: 0 8px;
	text-align: center;
	border: 1px solid var(--pc-hairline);
	border-radius: var(--pc-radius-md);
	font-size: 15px;
	font-weight: 700;
}

/* Tabs prodotto (Descrizione / Informazioni / Recensioni). */
.woocommerce div.product .woocommerce-tabs {
	grid-column: 1 / -1;
	margin-top: 50px;
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
	border-bottom: 2px solid var(--pc-black);
	padding: 0;
	margin: 0 0 24px;
}

.woocommerce div.product .woocommerce-tabs ul.tabs::before {
	display: none;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
	background: transparent;
	border: none;
	border-radius: 0;
	margin: 0 24px 0 0;
	padding: 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
	font-family: var(--pc-font-sans);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--pc-text-muted);
	padding: 12px 0;
	display: inline-block;
	border-bottom: 3px solid transparent;
	transition: color var(--pc-transition-fast), border-color var(--pc-transition-fast);
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
	color: var(--pc-black);
	border-bottom-color: var(--pc-red);
}

.woocommerce div.product .woocommerce-tabs .panel h2 {
	margin-top: 0;
}

/* Info aggiuntive (categorie/SKU) sotto il pulsante acquisto. */
.woocommerce div.product .product_meta {
	font-family: var(--pc-font-sans);
	font-size: 12px;
	color: var(--pc-text-muted);
	letter-spacing: 0.03em;
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px solid var(--pc-hairline);
}

.woocommerce div.product .product_meta > span {
	display: block;
	margin: 4px 0;
}

.woocommerce div.product .product_meta a {
	color: var(--pc-red);
}

.woocommerce div.product .product_meta a:hover {
	color: var(--pc-red-hover);
}

/* ================================================================
   Notifiche WooCommerce (successo, errore, info).
   ================================================================ */

.woocommerce-notices-wrapper {
	margin-bottom: 24px;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	background: var(--pc-cream-paper);
	border-top: 3px solid var(--pc-red);
	color: var(--pc-ink);
	font-family: var(--pc-font-sans);
	font-size: 14px;
	padding: 16px 20px;
	border-radius: var(--pc-radius-sm);
	list-style: none;
	margin: 0 0 20px;
}

.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before {
	color: var(--pc-red);
}

.woocommerce-error {
	border-top-color: #c53030;
}

.woocommerce-error::before {
	color: #c53030;
}

/* ================================================================
   Carrello — tabella + totali.
   ================================================================ */

.woocommerce table.shop_table {
	border: none;
	border-collapse: collapse;
	width: 100%;
	margin: 0 0 30px;
}

.woocommerce table.shop_table th {
	font-family: var(--pc-font-sans);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--pc-black);
	border-bottom: 2px solid var(--pc-black);
	padding: 12px 8px;
	text-align: left;
}

.woocommerce table.shop_table td {
	padding: 20px 8px;
	border-bottom: 1px solid var(--pc-hairline);
	font-size: 14px;
}

.woocommerce table.shop_table img {
	width: 80px;
	height: auto;
	border-radius: var(--pc-radius-sm);
}

.woocommerce a.remove {
	color: var(--pc-red) !important;
	font-size: 20px;
	line-height: 1;
	background: transparent !important;
	width: auto;
	height: auto;
}

.woocommerce a.remove:hover {
	color: var(--pc-red-hover) !important;
	background: transparent !important;
}

.woocommerce .cart-collaterals .cart_totals {
	background: var(--pc-cream-paper);
	padding: 24px;
	border-radius: var(--pc-radius-lg);
}

.woocommerce .cart-collaterals .cart_totals h2 {
	margin-top: 0;
	font-size: 22px;
}

/* ================================================================
   Checkout — form.
   ================================================================ */

.woocommerce form .form-row {
	margin-bottom: 16px;
}

.woocommerce form .form-row label {
	font-family: var(--pc-font-sans);
	font-size: 13px;
	font-weight: 700;
	color: var(--pc-black);
	margin-bottom: 6px;
	display: block;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce-page form .form-row input.input-text,
.woocommerce-page form .form-row textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid var(--pc-hairline);
	border-radius: var(--pc-radius-md);
	font-family: var(--pc-font-sans);
	font-size: 14px;
	background: var(--pc-white);
	transition: border-color var(--pc-transition-fast);
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus {
	outline: none;
	border-color: var(--pc-red);
}

.woocommerce #order_review {
	background: var(--pc-cream-paper);
	padding: 24px;
	border-radius: var(--pc-radius-lg);
	margin-top: 24px;
}

/* ================================================================
   Il mio account.
   ================================================================ */

.woocommerce-account .woocommerce-MyAccount-navigation {
	background: var(--pc-cream-paper);
	border-radius: var(--pc-radius-lg);
	padding: 20px;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation li {
	margin: 0;
	padding: 8px 0;
	border-bottom: 1px solid var(--pc-hairline);
}

.woocommerce-account .woocommerce-MyAccount-navigation li:last-child {
	border-bottom: none;
}

.woocommerce-account .woocommerce-MyAccount-navigation li a {
	font-family: var(--pc-font-sans);
	font-size: 13px;
	font-weight: 700;
	color: var(--pc-black);
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation li a:hover {
	color: var(--pc-red);
}

/* ================================================================
   Pagine standard — page.php (Chi siamo, Contatti, Carrello,
   Checkout, Il mio account, ecc.).
   ================================================================ */

.pc-page-content__inner {
	padding-top: 40px;
	padding-bottom: 60px;
}

.pc-page-content__header {
	margin-bottom: 30px;
	padding-bottom: 20px;
	border-bottom: 3px solid var(--pc-black);
}

.pc-page-content__title {
	margin: 0;
	font-family: var(--pc-font-serif);
	font-size: 42px;
	font-weight: 800;
	color: var(--pc-ink);
	letter-spacing: -0.01em;
	line-height: 1.1;
}

.pc-page-content__body {
	font-family: var(--pc-font-sans);
	font-size: 16px;
	line-height: 1.7;
	color: var(--pc-text);
}

.pc-page-content__body p {
	margin: 0 0 18px;
}

.pc-page-content__body h2 {
	font-family: var(--pc-font-serif);
	font-size: 28px;
	font-weight: 800;
	color: var(--pc-ink);
	margin: 30px 0 14px;
}

.pc-page-content__body h3 {
	font-family: var(--pc-font-serif);
	font-size: 22px;
	font-weight: 700;
	color: var(--pc-ink);
	margin: 24px 0 12px;
}

.pc-page-content__body a {
	color: var(--pc-red);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.pc-page-content__body a:hover {
	color: var(--pc-red-hover);
}

/* Sulle pagine WC (che usano page.php) il body contiene già
   il wrapper .woocommerce — nessun override extra necessario. */

/* ================================================================
   Cart icon nel masthead (aggiungeremo dopo se serve).
   ================================================================ */
