/*
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.4.0
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 {
	background: var(--pc-red);
	color: var(--pc-white);
	font-size: 14px;
	padding: 14px 26px;
	letter-spacing: 0.04em;
}

.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__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-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;
}

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

.pc-subscribe {
	background: var(--pc-cream);
}

.pc-subscribe__inner {
	padding-top: 44px;
	padding-bottom: 44px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
}

.pc-subscribe__title {
	margin: 8px 0 0;
	font-family: var(--pc-font-serif);
	font-size: 34px;
	font-weight: 800;
	color: var(--pc-black);
	line-height: 1.1;
}

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

.pc-subscribe__cta {
	flex: none;
	text-align: center;
}

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

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

.pc-subscribe__cta .pc-btn {
	margin-top: 10px;
	padding: 14px 32px;
}

/* ================================================================
   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);
}
