/* ==========================================================================
   Citazioni d'Amore — stili del tema
   ========================================================================== */

@font-face { font-family: "Cormorant"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/cormorant-garamond-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Cormorant"; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/cormorant-garamond-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Cormorant"; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/cormorant-garamond-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Cormorant"; font-style: italic; font-weight: 400; font-display: swap; src: url(../fonts/cormorant-garamond-latin-400-italic.woff2) format("woff2"); }
@font-face { font-family: "Cormorant"; font-style: italic; font-weight: 500; font-display: swap; src: url(../fonts/cormorant-garamond-latin-500-italic.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/inter-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/inter-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/inter-latin-600-normal.woff2) format("woff2"); }

:root {
	--cream: #FAF8F5;
	--paper: #FFFFFF;
	--blush: #F8E9E7;
	--rose: #EDC3BF;
	--ink: #1E1A1B;
	--muted: #69605F;
	--line: #E7E1DD;
	--wine: #BF323A;
	--wine-dark: #9C262D;
	--wine-deep: #1E1A1B;
	--paper-grey: #E0E2E6;
	--gold: #B58B55;

	--serif: "Cormorant", "Cormorant Garamond", Georgia, "Times New Roman", serif;
	--sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

	--radius: 14px;
	--shadow: 0 1px 2px rgba(43, 29, 34, .04), 0 8px 24px rgba(43, 29, 34, .06);
	--container: 1160px;
	--narrow: 720px;
	--gutter: clamp(16px, 4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--cream);
	color: var(--ink);
	font: 400 17px/1.65 var(--sans);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--wine); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--wine-dark); }
:focus-visible { outline: 2px solid var(--wine); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(var(--narrow) + 2 * var(--gutter)); }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip-link:focus { left: 8px; }

.cda-eyebrow {
	font: 600 12px/1.4 var(--sans);
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--wine);
	margin: 0 0 14px;
}
.cda-eyebrow a { color: inherit; text-decoration: none; }

/* ---------- Pulsanti e link ---------- */
.cda-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 12px 24px;
	border-radius: 999px; border: 1px solid transparent;
	font: 500 15px/1.2 var(--sans); text-decoration: none; cursor: pointer;
	transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.cda-btn:hover { transform: translateY(-1px); }
.cda-btn--primary { background: var(--wine); color: #fff; }
.cda-btn--primary:hover { background: var(--wine-dark); color: #fff; }
.cda-btn--ghost { background: transparent; color: var(--wine); border-color: var(--rose); }
.cda-btn--ghost:hover { border-color: var(--wine); color: var(--wine-dark); }
.cda-btn--light { background: #fff; color: var(--wine-deep); }
.cda-btn--light:hover { background: var(--blush); color: var(--wine-deep); }
.cda-btn--lg { min-height: 56px; padding: 14px 32px; font-size: 16px; }
.cda-btn--sm { min-height: 40px; padding: 8px 16px; font-size: 14px; }
.cda-btn .icon { width: 18px; height: 18px; }

.cda-link { font: 500 15px/1.4 var(--sans); color: var(--wine); text-decoration: none; border-bottom: 1px solid var(--rose); padding-bottom: 2px; }
.cda-link:hover { border-color: var(--wine); }
.cda-link--light { color: #fff; border-color: rgba(255, 255, 255, .45); }
.cda-link--light:hover { color: #fff; border-color: #fff; }

.cda-admin-hint { background: #FFF6DB; border: 1px dashed #D9B44A; padding: 14px 18px; border-radius: 10px; font-size: 14px; margin: 32px 0; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(250, 248, 245, .94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; position: relative; } }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 90px; gap: 24px; }
.site-title { display: inline-flex; align-items: center; gap: 10px; font: italic 500 26px/1 var(--serif); color: var(--ink); text-decoration: none; }
.site-title__mark { color: var(--wine); font-style: normal; font-size: 22px; }
.custom-logo { max-height: 56px; width: auto; }
.site-logo { display: block; line-height: 0; }
.site-logo img { height: 70px; width: auto; }
@media (max-width: 820px) { .site-logo img { height: 56px; } }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav .menu { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.site-nav .menu a { font: 500 15px/1 var(--sans); color: var(--ink); text-decoration: none; padding: 8px 0; border-bottom: 1px solid transparent; }
.site-nav .menu a:hover, .site-nav .current-menu-item > a { border-color: var(--wine); color: var(--wine); }
.site-nav__ig { display: inline-flex; color: var(--ink); }
.site-nav__ig:hover { color: var(--wine); }

.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; position: relative; }
.nav-toggle__bar, .nav-toggle__bar::before, .nav-toggle__bar::after { position: absolute; left: 11px; width: 22px; height: 1.5px; background: var(--ink); content: ""; transition: transform .25s, opacity .25s; }
.nav-toggle__bar { top: 21px; }
.nav-toggle__bar::before { left: 0; top: -7px; }
.nav-toggle__bar::after { left: 0; top: 7px; }
.nav-open .nav-toggle__bar { background: transparent; }
.nav-open .nav-toggle__bar::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle__bar::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 820px) {
	.nav-toggle { display: block; }
	.site-nav {
		position: absolute; left: 0; right: 0; top: 100%;
		flex-direction: column; align-items: stretch; gap: 0;
		background: var(--cream); border-bottom: 1px solid var(--line);
		padding: 8px var(--gutter) 20px;
		display: none;
	}
	.nav-open .site-nav { display: flex; }
	.site-nav .menu { flex-direction: column; gap: 0; }
	.site-nav .menu a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
	.site-nav__ig { padding-top: 16px; }
}

/* ---------- Hero / citazione del giorno ---------- */
.hero { padding: clamp(48px, 8vw, 112px) 0 clamp(48px, 7vw, 96px); background: radial-gradient(1200px 500px at 85% 0%, var(--blush), transparent 70%); }
.hero__grid { display: grid; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__grid--image { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.hero__grid:not(.hero__grid--image) .hero__quote { max-width: 860px; }
.hero__title { font-size: clamp(40px, 6vw, 72px); font-style: italic; }
.hero__lead { font-size: 19px; color: var(--muted); max-width: 560px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.big-quote { margin: 0; position: relative; }
.big-quote::before {
	content: "“"; display: block;
	font: 400 120px/0.6 var(--serif); color: var(--rose);
	margin: 24px 0 8px -6px; height: 48px;
}
.big-quote p {
	font: italic 400 clamp(30px, 4.2vw, 50px)/1.22 var(--serif);
	color: var(--ink); margin: 0; text-wrap: balance;
}
.big-quote--long p { font-size: clamp(24px, 3vw, 34px); line-height: 1.35; text-wrap: pretty; }
.big-quote__author { font: 500 17px/1.4 var(--sans); color: var(--muted); margin: 24px 0 0; }
.big-quote__author a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--rose); }
.big-quote__author a:hover { border-color: var(--wine); }

.hero__image { position: relative; display: block; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transform: rotate(1.2deg); transition: transform .3s; background: var(--paper); }
.hero__image:hover { transform: rotate(0); }
.hero__image img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.hero__image-badge { position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; background: rgba(255, 255, 255, .92); color: var(--ink); font: 500 13px/1 var(--sans); padding: 8px 12px; border-radius: 999px; }
.hero__image-badge .icon { width: 16px; height: 16px; }

@media (max-width: 860px) {
	.hero__grid--image { grid-template-columns: 1fr; }
	.hero__image { max-width: 420px; transform: none; }
}

/* ---------- Banda libro ---------- */
.book-band { background: var(--paper-grey); color: var(--ink); padding: clamp(40px, 6vw, 80px) 0; overflow: hidden; }
.book-band__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: center; }
.cda-book-page__cover img:not(.cda-book-cover--mockup), .cda-book-box__cover img:not(.cda-book-cover--mockup), .book-band__cover img:not(.cda-book-cover--mockup) { border-radius: 4px 10px 10px 4px; box-shadow: 0 2px 4px rgba(0,0,0,.2), 0 24px 48px rgba(0,0,0,.25); }
.book-band__title { font-size: clamp(38px, 5vw, 60px); }
.book-band__subtitle { font: italic 400 clamp(20px, 2.4vw, 26px)/1.35 var(--serif); color: var(--wine); margin-bottom: 20px; }
.book-band__desc { color: #3a3435; max-width: 560px; }
.book-band__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 28px; }
.book-band__price { margin: 16px 0 0; font-size: 14px; color: var(--muted); }
.book-band .cda-btn--light { background: var(--wine); color: #fff; }
.book-band .cda-btn--light:hover { background: var(--wine-dark); color: #fff; }
.book-band .cda-link--light { color: var(--ink); border-color: rgba(30,26,27,.3); }
.book-band .cda-link--light:hover { color: var(--wine); border-color: var(--wine); }
@media (max-width: 760px) {
	.book-band__grid { grid-template-columns: 1fr; }
	.book-band__cover { max-width: 320px; margin-inline: auto; }
}

/* ---------- Sezioni ---------- */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section--flush { padding-top: 16px; }
.section--tint { background: var(--paper); border-block: 1px solid var(--line); }
.section__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 24px; margin-bottom: 36px; }
.section__title { font-size: clamp(32px, 4vw, 44px); margin: 0; }
.section__lead { color: var(--muted); margin: 8px 0 0; }

/* ---------- Card citazioni ---------- */
.quote-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 24px; }
.quote-card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .25s, transform .25s; }
.quote-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.quote-card__link { flex: 1; display: block; color: inherit; text-decoration: none; }
.quote-card--text .quote-card__link { padding: 28px 28px 8px; }
.quote-card__text { margin: 0; font: italic 400 23px/1.35 var(--serif); color: var(--ink); }
.quote-card__text p { margin: 0; }
.quote-card--text .quote-card__text::before { content: "“"; display: block; font: 400 56px/0.5 var(--serif); color: var(--rose); height: 22px; margin-top: 12px; }
.quote-card__img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.quote-card__meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 28px 22px; font-size: 13px; color: var(--muted); }
.quote-card--image .quote-card__meta { padding-top: 14px; }
.quote-card__author { font-weight: 600; color: var(--ink); text-decoration: none; }
.quote-card__author:hover { color: var(--wine); }
.quote-card__meta time { margin-left: auto; }

/* ---------- Card articoli ---------- */
.article-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 28px; }
.article-card { display: flex; flex-direction: column; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.section--tint .article-card { background: var(--cream); }
.article-card__media { display: block; aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--blush), var(--rose)); overflow: hidden; }
.article-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.article-card:hover .article-card__media img { transform: scale(1.03); }
.article-card__placeholder { display: grid; place-items: center; height: 100%; font-size: 44px; color: var(--wine); opacity: .6; }
.article-card__body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.article-card__body .cda-eyebrow { margin-bottom: 10px; }
.article-card__title { font-size: 26px; margin-bottom: 10px; }
.article-card__title a { color: var(--ink); text-decoration: none; }
.article-card__title a:hover { color: var(--wine); }
.article-card__excerpt { color: var(--muted); font-size: 15.5px; }
.article-card__meta { margin: auto 0 0; font-size: 13px; color: var(--muted); }

/* ---------- Instagram CTA ---------- */
.ig-cta { padding: clamp(56px, 8vw, 96px) 0; text-align: center; }
.ig-cta__inner { max-width: 640px; }
.ig-cta .icon { width: 36px; height: 36px; color: var(--wine); margin: 0 auto 16px; display: block; }
.ig-cta__title { font-size: clamp(32px, 4vw, 44px); }
.ig-cta p { color: var(--muted); margin-bottom: 28px; }

/* ---------- Testate pagina ---------- */
.page-head { padding: clamp(48px, 7vw, 88px) 0 32px; }
.page-head--center { text-align: center; padding-bottom: 96px; }
.page-head__title { font-size: clamp(40px, 6vw, 64px); font-style: italic; }
.page-head__desc { color: var(--muted); max-width: 640px; font-size: 18px; }
.page-head--center .page-head__desc { margin-inline: auto; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 28px 0 0; padding: 0; }
.chip { display: inline-block; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--ink); font-size: 14px; text-decoration: none; }
.chip:hover { border-color: var(--wine); color: var(--wine); }
.chip.is-active { background: var(--wine); border-color: var(--wine); color: #fff; }

/* ---------- Citazione singola ---------- */
.quote-single { padding: clamp(48px, 7vw, 96px) 0 24px; background: radial-gradient(1000px 420px at 90% 0%, var(--blush), transparent 70%); }
.quote-single__grid { display: grid; gap: clamp(32px, 5vw, 72px); align-items: start; }
.quote-single__grid--image { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
.quote-single__grid:not(.quote-single__grid--image) .quote-single__text { max-width: 860px; }
.quote-single__image { margin: 0; }
.quote-single__image img { border-radius: var(--radius); box-shadow: var(--shadow); }
.quote-single__image figcaption { margin-top: 12px; font-size: 14px; }
.quote-single__image figcaption a { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.quote-single__image .icon { width: 16px; height: 16px; }
@media (max-width: 860px) { .quote-single__grid--image { grid-template-columns: 1fr; } .quote-single__image { max-width: 460px; } }

.share { margin-top: 40px; }
.share__label { font: 600 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.share__list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.share__btn { display: inline-flex; align-items: center; min-height: 42px; padding: 8px 18px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--ink); font: 500 14px/1 var(--sans); text-decoration: none; cursor: pointer; }
.share__btn:hover { border-color: var(--wine); color: var(--wine); }
.share__btn--whatsapp { background: #1F7A4D; border-color: #1F7A4D; color: #fff; }
.share__btn--whatsapp:hover { background: #17603c; color: #fff; border-color: #17603c; }

.quote-nav { display: flex; justify-content: space-between; gap: 16px; padding-top: 48px; padding-bottom: 8px; font-size: 15px; }
.quote-nav a { text-decoration: none; }

/* ---------- Box libro (shortcode) ---------- */
.cda-book-box { display: grid; grid-template-columns: 180px 1fr; gap: 28px; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; margin: 48px 0; }
.cda-book-box__title { font: 500 28px/1.15 var(--serif); margin: 0 0 6px; }
.cda-book-box__subtitle { font: italic 400 19px/1.4 var(--serif); color: var(--muted); margin: 0 0 18px; }
.cda-book-box__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.cda-book-box .cda-eyebrow { margin-bottom: 8px; }
@media (max-width: 520px) { .cda-book-box { grid-template-columns: 110px 1fr; gap: 18px; padding: 20px; } .cda-book-box__title { font-size: 23px; } }

/* ---------- Pagina libro ---------- */
.cda-book-page { display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: start; padding: clamp(40px, 6vw, 88px) 0 48px; }
.cda-book-page__cover { position: sticky; top: 112px; }
.cda-book-cover--mockup { filter: drop-shadow(0 18px 28px rgba(30, 26, 27, .18)); }
.book-band__cover { max-width: 440px; justify-self: center; }
.cda-book-page__title { font-size: clamp(40px, 5.5vw, 64px); margin-bottom: 8px; }
.cda-book-page__subtitle { font: italic 400 clamp(21px, 2.4vw, 27px)/1.35 var(--serif); color: var(--wine); margin-bottom: 28px; }
.cda-book-page__desc { font-size: 17.5px; }
.cda-book-page__buy { margin: 32px 0; padding: 24px 0; border-block: 1px solid var(--line); }
.cda-book-page__price { margin: 12px 0 0; color: var(--muted); font-size: 14px; }
.cda-book-page__details { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 16px; margin: 0; }
.cda-book-page__details dt { font: 600 12px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.cda-book-page__details dd { margin: 0; }
.cda-book-excerpt { max-width: var(--narrow); margin: 24px auto 96px; padding: 48px clamp(24px, 5vw, 56px); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.cda-book-excerpt__text { font: 400 22px/1.55 var(--serif); margin-bottom: 24px; }
@media (max-width: 760px) { .cda-book-page { grid-template-columns: 1fr; } .cda-book-page__cover { position: static; max-width: 260px; } }

/* ---------- Articolo ---------- */
.article { padding: clamp(48px, 7vw, 88px) 0 24px; }
.article__head { margin-bottom: 40px; }
.article__title { font-size: clamp(38px, 5.5vw, 60px); }
.article__lead { font: italic 400 clamp(20px, 2.4vw, 25px)/1.45 var(--serif); color: var(--muted); }
.article__meta { font-size: 14px; color: var(--muted); }
.article__image { margin: 0 auto 48px; }
.article__image img { border-radius: var(--radius); width: 100%; }

.entry-content { font-size: 18px; line-height: 1.75; }
.entry-content > * + * { margin-top: 1.1em; }
.entry-content p { margin-bottom: 0; }
.entry-content h2 { font-size: clamp(28px, 3.4vw, 36px); margin: 1.8em 0 .5em; }
.entry-content h3 { font-size: 26px; margin: 1.6em 0 .4em; }
.entry-content blockquote, .entry-content .wp-block-quote {
	margin: 1.8em 0; padding: 4px 0 4px 28px; border-left: 2px solid var(--wine);
	font: italic 400 25px/1.45 var(--serif); color: var(--ink);
}
.entry-content blockquote p { margin: 0; }
.entry-content blockquote cite { display: block; margin-top: 10px; font: 500 14px/1.4 var(--sans); font-style: normal; color: var(--muted); }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content img { border-radius: 10px; }
.entry-content .alignwide { max-width: 1000px; margin-inline: auto; }

/* ---------- Paginazione ---------- */
.pagination { margin-top: 56px; }
.nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.page-numbers { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); text-decoration: none; }
.page-numbers.current { background: var(--wine); border-color: var(--wine); color: #fff; }
a.page-numbers:hover { border-color: var(--wine); color: var(--wine); }

/* ---------- Ricerca ---------- */
.search-form { display: flex; gap: 8px; max-width: 480px; margin-top: 16px; }
.search-field { flex: 1; min-height: 48px; padding: 0 18px; border: 1px solid var(--line); border-radius: 999px; font: inherit; background: var(--paper); }
.search-submit { min-height: 48px; padding: 0 22px; border: 0; border-radius: 999px; background: var(--wine); color: #fff; font: 500 15px var(--sans); cursor: pointer; }

/* ---------- Footer ---------- */
.site-footer { background: var(--wine-deep); color: rgba(255, 255, 255, .78); padding: 64px 0 32px; font-size: 15px; }
.site-footer a { color: #fff; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-footer__logo { width: 150px; height: auto; margin-bottom: 16px; }
.site-footer__title { font: italic 500 28px/1.1 var(--serif); color: #fff; margin-bottom: 8px; }
.site-footer__desc { max-width: 340px; }
.site-footer .cda-btn--ghost { color: #fff; border-color: rgba(255,255,255,.35); }
.site-footer .cda-btn--ghost:hover { border-color: #fff; color: #fff; }
.site-footer .menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer .menu a { text-decoration: none; }
.site-footer .menu a:hover { text-decoration: underline; }
.site-footer .cda-eyebrow { color: var(--rose); }
.site-footer__book-title { font: italic 500 24px/1.2 var(--serif); color: #fff; }
.site-footer .cda-link { color: #fff; border-color: rgba(255,255,255,.4); }
.site-footer__legal { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 13px; color: rgba(255, 255, 255, .6); }
.site-footer__legal p { margin: 0; }
.site-footer__legal a { color: rgba(255, 255, 255, .8); }
@media (max-width: 760px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* ---------- Shortcode vari ---------- */
.cda-qotd blockquote { border: 0; padding: 0; }
.cda-quote-list { list-style: none; padding: 0; }
.cda-quote-list li { padding: 14px 0; border-bottom: 1px solid var(--line); }

/* ---------- Commenti essenziali ---------- */
.comment-respond, .comments-area { margin: 48px 0; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; font: inherit; background: var(--paper); }
.comment-form .submit { min-height: 48px; padding: 0 24px; border: 0; border-radius: 999px; background: var(--wine); color: #fff; font: 500 15px var(--sans); cursor: pointer; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
	.hero__image, .book-band__cover img { transform: none; }
}

/* Shortcode del libro dentro i contenuti */
.entry-content .cda-book-page h2.cda-book-page__title { margin: 0 0 8px; }
.entry-content .cda-book-page p:empty, .entry-content .cda-book-excerpt p:empty { display: none; }
.entry-content .cda-book-page__desc p + p, .entry-content .cda-book-excerpt__text p + p { margin-top: 1em; }
.entry-content .cda-book-excerpt .cda-eyebrow { margin-bottom: 16px; }
.entry-content .cda-book-box p { margin: 0 0 6px; }
.entry-content .cda-book-box .cda-book-box__subtitle { margin-bottom: 18px; }
.entry-content .cda-book-page { padding-top: 8px; }
.entry-content .cda-book-page .cda-eyebrow { margin-bottom: 14px; }
.entry-content .cda-book-page__subtitle { margin: 4px 0 28px; }

/* ---------- Dedica ---------- */
.dedication { padding: clamp(56px, 8vw, 104px) 0; text-align: center; background: var(--cream); }
.dedication__heart { width: 40px; height: 40px; margin: 0 auto 18px; }
.dedication__text { margin: 0; }
.dedication__text p { font: italic 400 clamp(26px, 3.4vw, 38px)/1.4 var(--serif); color: var(--ink); margin: 0 auto; max-width: 680px; text-wrap: balance; }
.site-footer__legal a { text-decoration: none; }
.site-footer__legal a:hover { text-decoration: underline; }
.site-footer__contact { margin: 0 0 18px; }
.site-footer__contact a { color: #fff; text-decoration: underline; text-decoration-color: rgba(255,255,255,.4); text-underline-offset: 3px; }
.site-footer__contact a:hover { text-decoration-color: #fff; }
