/* Squeeze (news): /news, post archives, single posts (inc/news.php, home.php, single-post.php). r2 2026-11-11.
   Pink ground and white type as on /portfolio; the article text sits on the white paper sheet (paper exception).
   Client work is always full colour. Nothing is hidden before JS runs (news.js only adds the rubrica filter).
   Class names avoid ad-block words (pubblicita, banner, sponsor, promo, adv, ads). */

/* ---------- 0. Shell ---------- */
body.cj-nw,
body.cj-nw #main-container,
body.cj-nw #main { background-color: var(--cj-pink); }
body.cj-nw #main { color: var(--cj-white); }

.cj-nw-page {
	width: calc(100% - 2 * clamp(16px, 5vw, 48px));
	max-width: 1290px;
	margin-inline: auto;
	padding-block: clamp(1.5rem, 5vh, 3.5rem) 0;
	color: var(--cj-white);
}
.cj-nw-page :is(h1, h2, h3, p, dt, dd, li) { color: inherit; }
.cj-nw-page a { color: inherit; }
.cj-nw-page :focus-visible { outline: 2px solid var(--cj-white); outline-offset: 3px; }

/* Small print (labels, eyebrow, meta): bold, spaced caps. */
.cj-nw-label,
.cj-nw-eyebrow,
.cj-nw-facts dt,
.cj-nw-row__meta,
.cj-nw-lead__meta,
.cj-nw-adj__dir {
	font-size: 0.8rem;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}
.cj-nw-label { margin: 0 0 1.25rem; }

/* ---------- 1. Head ---------- */
.cj-nw-head { margin-bottom: clamp(2.5rem, 7vh, 4.5rem); }
.cj-nw-eyebrow { margin: 0 0 1.25rem; }
.cj-nw-eyebrow a { text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, 0.6); }
.cj-nw-eyebrow a:is(:hover, :focus-visible) { border-bottom-color: currentColor; }
.cj-nw-eyebrow span { margin-inline: 0.35em; }

/* ---------- 1b. The /news H1: «squeeze», peel skin, lit like the drop, one drop of juice (r3) ----------
   A named type exception (audit §2): Cherry Bomb One, whose rounded q tail is where the drop gathers (Fraunces and
   Jost stay as review variants: their q stems are cut flat), subsets in assets/fonts/squeeze/. Yellow on Hot Pink is the SQUEEZE exception (display size, 3:1 rule).
   .cj-sq__word: the visible word, peel tile clipped to the text, then the SVG lighting filter (inc/news.php).
   .cj-sq__ghost: an invisible copy stacked on top that carries the drop (the filter region would clip it).
   One drop every 7.3 s; the word is pressed once on arrival and then left alone. Reduced motion: the bead hangs still. */
.cj-nw-h1 { margin: 0 0 clamp(2rem, 5vh, 3.25rem); }
.cj-sq__defs { position: absolute; width: 0; height: 0; overflow: hidden; }
/* Face, tracking and line-height come from inc/news.php (CJ_NW_TESTATE); news.js fits --sq-size to the column. */
.cj-sq { display: block; --sq-face: var(--cj-font); --sq-size: clamp(5rem, 0.6rem + 22vw, 15rem); --sq-track: -0.02em; --sq-lh: 0.9; }
.cj-sq__art { display: inline-grid; max-width: 100%; transform-origin: 50% 100%; }
.cj-sq__word,
.cj-sq__ghost {
	grid-area: 1 / 1;
	/* end padding: the last «e» overhangs its advance width, and the clipped skin stops at the box (r2 cropped it) */
	padding: 0 0.09em 0.08em 0.02em;
	font-family: var(--sq-face);
	font-size: var(--sq-size);
	font-weight: 700;
	line-height: var(--sq-lh);
	letter-spacing: var(--sq-track);
	text-transform: none;
	white-space: nowrap;
}
.cj-sq__word {
	color: #ffe81f;
	background-color: #ffe81f;
	background-image:
		radial-gradient(120% 70% at 30% 18%, rgba(255, 255, 240, 0.4), rgba(255, 255, 240, 0) 46%),
		linear-gradient(to bottom, rgba(150, 105, 0, 0) 50%, rgba(150, 105, 0, 0.22) 100%),
		var(--sq-peel, url("../../img/squeeze-scorza.svg"));
	background-size: 100% 100%, 100% 100%, 120px 120px;
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	filter: url(#cj-sq-gel-l);
}
@media (max-width: 1099.98px) { .cj-sq__word { filter: url(#cj-sq-gel-m); } }
@media (max-width: 599.98px) { .cj-sq__word { filter: url(#cj-sq-gel-s); } }
/* The ghost's letters are generated content, so the H1's text stays «squeeze» once (no duplicate for search engines). */
.cj-sq__ghost [data-t]::before { content: attr(data-t); }
/* Peel strength (?scorza=1|2|3 on review; default in inc/news.php). Tiles: scripts/build-squeeze-peel.py */
.cj-sq--scorza-2 { --sq-peel: url("../../img/squeeze-scorza-2.svg"); }
.cj-sq--scorza-3 { --sq-peel: url("../../img/squeeze-scorza-3.svg"); }
.cj-sq__ghost { color: transparent; -webkit-text-fill-color: transparent; pointer-events: none; user-select: none; }
.cj-sq__q { position: relative; }

.cj-sq__bead,
.cj-sq__drop {
	position: absolute;
	/* tip of the q's tail: news.js measures it on a canvas for whatever face is set */
	left: var(--sq-x, 0.5em);
	top: var(--sq-y, 1.2em);
	width: 0.07em;
	height: 0.098em;
	margin-left: -0.035em;
	background: url("../../img/squeeze-goccia.svg") center / contain no-repeat;
	transform-origin: 50% 0;
	-webkit-text-fill-color: initial;
}
.cj-sq__bead { transform: scale(0.55); }
.cj-sq__drop { opacity: 0; }

/* Masthead line */
.cj-nw-page .cj-sq__by {
	display: block;
	margin-top: calc(var(--sq-size) * 0.16); /* clears the q's tail */
	font-family: var(--cj-font);
	font-size: clamp(0.8rem, 0.7rem + 0.35vw, 1rem);
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--cj-white);
}

@media (prefers-reduced-motion: no-preference) {
	.cj-sq__bead { animation: cj-sq-bead 7.3s cubic-bezier(0.45, 0, 0.55, 1) 0.8s infinite; }
	.cj-sq__drop { animation: cj-sq-fall 7.3s linear 0.8s infinite; }
	.cj-sq__art { animation: cj-sq-press 1.1s cubic-bezier(0.3, 1.5, 0.5, 1) both; }
}
@keyframes cj-sq-press {
	0% { transform: scale(1.04, 0.86); }
	100% { transform: none; }
}
@keyframes cj-sq-bead { /* gathers, stretches under its weight, lets go, a little is left behind */
	0% { transform: scale(0.3); }
	62% { transform: scale(0.95, 1.05); }
	70% { transform: scale(1, 1.32); }
	71.5% { transform: scale(0.42, 0.5); }
	76% { transform: scale(0.5, 0.45); }
	100% { transform: scale(0.3); }
}
@keyframes cj-sq-fall { /* takes the bead's place at the release, then falls (ease-in) and fades */
	0%, 70% { opacity: 0; transform: translateY(0) scale(1, 1.32); }
	70.5% { opacity: 1; transform: translateY(0.02em) scale(1, 1.32); animation-timing-function: cubic-bezier(0.5, 0, 0.95, 0.5); }
	96% { opacity: 0.85; transform: translateY(42vh) scale(0.85, 1.45); }
	100% { opacity: 0; transform: translateY(46vh) scale(0.85, 1.45); }
}

/* ?testata=svg: the old content block, for comparison */
.cj-nw-h1__svg { display: block; line-height: 0; }
.cj-nw-h1__svg figure { margin: 0; }
.cj-nw-h1 #squeezeheading { display: block; width: min(100%, 860px); max-width: none; margin: 0; }

.cj-nw-page .cj-nw-title {
	max-width: 22ch;
	margin: 0 0 clamp(1.25rem, 3vh, 2rem);
	font-size: clamp(2.4rem, 0.9rem + 5vw, 6.5rem);
	font-weight: 700;
	line-height: 0.95;
	letter-spacing: -0.03em;
	text-transform: none;
	overflow-wrap: break-word;
}
.cj-nw-page .cj-nw-standfirst {
	max-width: 32ch;
	margin: 0;
	font-size: clamp(1.4rem, 1rem + 1.6vw, 2.4rem);
	font-weight: 500;
	line-height: 1.18;
	letter-spacing: -0.01em;
}

/* ---------- 2. Rubrica filter (as the portfolio's discipline filter) ---------- */
.cj-nw-filter { margin-bottom: clamp(2.5rem, 7vh, 4.5rem); }
.cj-nw-filter ul { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0; padding: 0; list-style: none; }
.cj-nw-filter a {
	display: inline-flex;
	padding: 0.55em 0.8em;
	border: 1.5px solid rgba(255, 255, 255, 0.75);
	border-radius: 4px;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	line-height: 1.2;
	text-transform: uppercase;
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease;
}
.cj-nw-filter a:is(:hover, :focus-visible) { border-color: var(--cj-white); }
.cj-nw-page .cj-nw-filter a[aria-current] { background: var(--cj-white); border-color: var(--cj-white); color: var(--cj-pink); }

/* ---------- 3. Latest post ---------- */
.cj-nw-lead { margin-bottom: clamp(3.5rem, 10vh, 7rem); }
.cj-nw-lead > a {
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	gap: clamp(1.25rem, 3vw, 3rem);
	align-items: end;
	text-decoration: none;
}
.cj-nw-lead__media { display: block; overflow: hidden; border-radius: 4px; }
.cj-nw-lead__media img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.1, 1); }
.cj-nw-lead > a:is(:hover, :focus-visible) .cj-nw-lead__media img { transform: scale(1.035); }
.cj-nw-lead__text { display: flex; flex-direction: column; gap: 1rem; }
.cj-nw-lead__title { font-size: clamp(2rem, 1rem + 3vw, 4rem); font-weight: 700; line-height: 1; letter-spacing: -0.025em; }
.cj-nw-lead__sf { font-size: clamp(1.125rem, 1.05rem + 0.3vw, 1.3125rem); font-weight: 450; line-height: 1.5; }
.cj-nw-lead__more { align-self: start; font-size: 1.125rem; font-weight: 700; border-bottom: 2px solid currentColor; padding-bottom: 0.1em; }
.cj-nw-lead__more::after { content: " →"; }

/* ---------- 4. Year ledger ---------- */
.cj-nw-archive { margin-bottom: clamp(3.5rem, 10vh, 7rem); }
.cj-nw-years { margin-bottom: clamp(1.5rem, 4vh, 2.5rem); }
.cj-nw-years ul { display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; margin: 0; padding: 0; list-style: none; }
.cj-nw-years a { font-size: 1.125rem; font-weight: 700; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, 0.45); }
.cj-nw-years a:is(:hover, :focus-visible) { border-bottom-color: currentColor; }

/* The ledger: years beside their posts. --cj-nw-gap is shared with the juice level, which runs down the gutter. */
.cj-nw-ledger { --cj-nw-gap: clamp(1.5rem, 3vw, 3rem); position: relative; }
.cj-nw-year {
	display: grid;
	grid-template-columns: minmax(0, 3fr) minmax(0, 9fr);
	column-gap: var(--cj-nw-gap);
	padding-top: 1.25rem;
	border-top: 1px solid rgba(255, 255, 255, 0.55);
	scroll-margin-top: calc(var(--header-height, 90px) + 1rem);
}
.cj-nw-year + .cj-nw-year { margin-top: clamp(2rem, 5vh, 3.5rem); }
.cj-nw-year__side { position: sticky; top: calc(var(--header-height, 90px) + 1.5rem); align-self: start; }
.cj-nw-page .cj-nw-year__h {
	margin: 0;
	font-size: clamp(2.5rem, 1rem + 4vw, 5.5rem);
	font-weight: 700;
	line-height: 0.9;
	letter-spacing: -0.035em;
	font-variant-numeric: lining-nums;
}
.cj-nw-list { margin: 0; padding: 0; list-style: none; }
.cj-nw-row + .cj-nw-row { border-top: 1px solid rgba(255, 255, 255, 0.35); }
.cj-nw-row a {
	display: grid;
	grid-template-columns: 5.5rem minmax(0, 1fr) clamp(140px, 16vw, 220px);
	gap: 0.5rem clamp(1rem, 2vw, 2rem);
	align-items: center;
	padding: clamp(0.9rem, 2vh, 1.25rem) 0;
	text-decoration: none;
}
.cj-nw-row:first-child a { padding-top: 0; }
.cj-nw-row__date { align-self: start; padding-top: 0.35em; font-size: 0.9rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; white-space: nowrap; }
.cj-nw-row__main { display: flex; flex-direction: column; gap: 0.45rem; transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.1, 1); }
.cj-nw-row__title { font-size: clamp(1.4rem, 1rem + 1.4vw, 2.4rem); font-weight: 700; line-height: 1.05; letter-spacing: -0.02em; }
.cj-nw-row__thumb { display: block; overflow: hidden; border-radius: 4px; }
.cj-nw-row__thumb img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.1, 1); }
@media (hover: hover) {
	.cj-nw-row a:is(:hover, :focus-visible) .cj-nw-row__main { transform: translateX(0.4rem); }
	.cj-nw-row a:is(:hover, :focus-visible) .cj-nw-row__thumb img { transform: scale(1.05); }
}
.cj-nw-empty { margin: 0 0 4rem; font-size: 1.25rem; font-weight: 500; }

/* ---------- 4b. The year's numbers (bi:public, inc/bi.php): what the agency delivered, not only what was written ---------- */
.cj-nw-page .cj-nw-year__bi { display: flex; flex-direction: column; gap: 0.2rem; margin: 0.9rem 0 0; font-size: 0.95rem; font-weight: 500; line-height: 1.3; }
.cj-nw-year__bi b { font-size: 1.35rem; font-weight: 700; letter-spacing: -0.01em; font-variant-numeric: tabular-nums lining-nums; }
.cj-nw-year__note { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.85; }

/* ---------- 4c. Juice level: a yellow line fills down the gutter as the years scroll by (news.js sets --juice 0–1) ---------- */
.cj-nw-juice {
	position: absolute;
	top: 0;
	bottom: 0;
	left: calc((100% - var(--cj-nw-gap)) * 0.25 + var(--cj-nw-gap) / 2 - 1.5px);
	width: 3px;
	border-radius: 2px;
	background: rgba(255, 255, 255, 0.18);
	pointer-events: none;
}
.cj-nw-juice__fill {
	position: absolute;
	inset: 0 0 auto;
	height: calc(var(--juice, 0) * 100%);
	border-radius: inherit;
	background: linear-gradient(to bottom, #ffe81f, #ffd400);
	box-shadow: 0 0 10px rgba(255, 232, 31, 0.45);
}
.cj-nw-juice__fill::after { /* the leading drop */
	content: "";
	position: absolute;
	left: 50%;
	bottom: -12px;
	width: 12px;
	height: 17px;
	margin-left: -6px;
	background: url("../../img/squeeze-goccia.svg") center / contain no-repeat;
	opacity: var(--juice-drop, 0);
}

/* ---------- 4d. «Abbiamo parlato di:»: the clients, each filters the page ---------- */
.cj-nw-clients { margin-bottom: clamp(3.5rem, 10vh, 6rem); padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, 0.55); }
.cj-nw-clients ul { display: flex; flex-wrap: wrap; gap: 0.1em 0; margin: 0; padding: 0; list-style: none; font-size: clamp(1.75rem, 1rem + 2.6vw, 3.4rem); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; }
.cj-nw-clients li:not(:last-child)::after { content: "·"; margin-inline: 0.3em; opacity: 0.6; }
.cj-nw-clients a { text-decoration: none; border-bottom: 2px solid transparent; transition: border-color 0.2s ease, color 0.2s ease; }
.cj-nw-clients a:is(:hover, :focus-visible) { border-bottom-color: currentColor; }
.cj-nw-page .cj-nw-clients a[aria-current] { color: #ffe81f; border-bottom-color: #ffe81f; }

/* ---------- 2b. Live event (inc/news.php cj_nw_live): a pulsing dot while the fair is on ---------- */
.cj-nw-page .cj-nw-live {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.4rem 1rem;
	margin: 0 0 clamp(2rem, 5vh, 3rem);
	padding: 1rem 1.25rem;
	border: 1.5px solid rgba(255, 255, 255, 0.75);
	border-radius: 4px;
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease;
}
.cj-nw-page .cj-nw-live:is(:hover, :focus-visible) { background: var(--cj-white); color: var(--cj-pink); }
.cj-nw-live__dot { position: relative; flex: none; width: 14px; height: 14px; border-radius: 50%; background: #ffe81f; box-shadow: 0 0 0 2px rgba(122, 0, 56, 0.25); }
.cj-nw-live__dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #ffe81f; }
@media (prefers-reduced-motion: no-preference) {
	.cj-nw-live__dot::after { animation: cj-nw-pulse 1.6s cubic-bezier(0.2, 0.6, 0.3, 1) infinite; }
	.cj-nw-live__dot { animation: cj-nw-beat 1.6s ease-in-out infinite; }
}
@keyframes cj-nw-pulse { 0% { transform: scale(1); opacity: 0.8; } 100% { transform: scale(3.2); opacity: 0; } }
@keyframes cj-nw-beat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.18); } 30% { transform: scale(1); } }
.cj-nw-live__kicker { display: inline-flex; align-items: center; gap: 0.75rem; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.cj-nw-live__title { flex: 1 1 18rem; font-size: clamp(1.25rem, 1rem + 0.9vw, 1.75rem); font-weight: 700; line-height: 1.15; }
.cj-nw-live__title::after { content: " →"; }

/* ---------- 3b. Newsletter sign-up (inc/squeeze-signup.php): the masthead's yellow, anthracite type ---------- */
.cj-nw-sub {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: 1.5rem clamp(1.5rem, 4vw, 4rem);
	align-items: center;
	margin-bottom: clamp(3.5rem, 10vh, 7rem);
	padding: clamp(1.75rem, 5vw, 3.5rem);
	border-radius: 4px;
	background: #ffe81f;
	color: var(--cj-anthracite);
	--cj-btn-bg: var(--cj-pink); --cj-btn-fg: var(--cj-white); --cj-btn-wipe: var(--cj-pink-40); --cj-btn-wipe-fg: var(--cj-white);
}
.cj-nw-page .cj-nw-sub :is(h2, p, label) { color: var(--cj-anthracite); }
.cj-nw-page .cj-nw-sub h2 { margin: 0 0 0.75rem; font-size: clamp(1.9rem, 1rem + 2.6vw, 3.25rem); font-weight: 700; line-height: 1; letter-spacing: -0.025em; }
.cj-nw-sub__text p { margin: 0; font-size: 1.125rem; line-height: 1.5; }
.cj-nw-sub__form > p { margin: 0; }
.cj-nw-sub__row { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.cj-nw-sub__row input {
	flex: 1 1 16rem;
	min-height: 3.25rem;
	padding: 0 1rem;
	border: 2px solid var(--cj-anthracite);
	border-radius: 4px;
	background: var(--cj-white);
	color: var(--cj-anthracite);
	font: 500 1.125rem/1.2 var(--cj-font);
}
.cj-nw-sub__row input:focus-visible { outline: 3px solid var(--cj-pink); outline-offset: 2px; }
/* base.css styles a.cj-btn only: the same look for this real <button> (pink, white type, darker wipe on hover). */
.cj-nw-sub__row button.cj-btn {
	min-height: 3.25rem;
	padding: 0.95em 1.6em;
	border: 0;
	border-radius: 4px;
	background: linear-gradient(var(--cj-pink-40), var(--cj-pink-40)) no-repeat left / 0% 100%, var(--cj-pink);
	color: var(--cj-white);
	font: 700 1rem/1.2 var(--cj-font);
	letter-spacing: 0.06em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-size 0.4s cubic-bezier(0.2, 0.7, 0.1, 1);
}
.cj-nw-sub__row button.cj-btn:is(:hover, :focus-visible) { background-size: 100% 100%, auto; }
.cj-nw-sub__row button.cj-btn:focus-visible { outline: 3px solid var(--cj-anthracite); outline-offset: 2px; }
.cj-nw-sub__row button.cj-btn:disabled { opacity: 0.6; cursor: progress; }
.cj-nw-sub__consent { display: flex; gap: 0.6rem; align-items: flex-start; margin-top: 0.9rem !important; font-size: 0.95rem; line-height: 1.4; }
.cj-nw-sub__consent input { flex: none; width: 1.15rem; height: 1.15rem; margin-top: 0.1rem; accent-color: var(--cj-pink-40); }
.cj-nw-page .cj-nw-sub a { color: var(--cj-pink-40); text-decoration: underline; text-underline-offset: 0.15em; }
.cj-nw-sub__msg { min-height: 1.4em; margin-top: 0.75rem !important; font-weight: 700; }
.cj-nw-sub__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- 5. Single: lead image, facts, the paper sheet ---------- */
.cj-nw-hero { margin: 0 0 clamp(2.5rem, 7vh, 5rem); }
.cj-nw-hero img { display: block; width: 100%; height: auto; max-height: 82vh; object-fit: cover; border-radius: 4px; }

.cj-nw-body {
	display: grid;
	grid-template-columns: minmax(0, 3fr) minmax(0, 9fr);
	column-gap: clamp(1rem, 2.5vw, 2.5rem);
	align-items: start;
	margin-bottom: clamp(3.5rem, 10vh, 6rem);
}
.cj-nw-facts { position: sticky; top: calc(var(--header-height, 90px) + 1.5rem); display: grid; gap: 1.1rem; margin: 0; }
.cj-nw-facts > div { padding-top: 0.75rem; border-top: 1px solid rgba(255, 255, 255, 0.55); }
.cj-nw-facts dt { margin: 0 0 0.3rem; font-size: 0.75rem; letter-spacing: 0.14em; }
.cj-nw-facts dd { margin: 0; font-size: 1.125rem; font-weight: 500; line-height: 1.35; }
.cj-nw-facts dd a { text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, 0.6); }
.cj-nw-facts dd a:is(:hover, :focus-visible) { border-bottom-color: currentColor; }

.cj-nw-paper {
	min-width: 0;
	max-width: 52rem;
	padding: clamp(1.5rem, 4vw, 3.5rem);
	border-radius: 4px;
	background: var(--cj-white);
	color: var(--cj-anthracite);
}
.cj-nw-page .cj-nw-paper :is(p, li, h2, h3, h4, blockquote, figcaption) { color: var(--cj-anthracite); }
.cj-nw-paper > * { margin-block: 0 1.25rem; }
.cj-nw-paper > :last-child { margin-bottom: 0; }
.cj-nw-paper :is(p, li) { font-size: 1.125rem; font-weight: 400; line-height: 1.65; }
.cj-nw-paper :is(h2, h3, h4) { margin-top: 2rem; font-weight: 700; line-height: 1.15; letter-spacing: -0.01em; }
.cj-nw-paper h2 { font-size: 1.75rem; }
.cj-nw-paper h3 { font-size: 1.375rem; }
.cj-nw-page .cj-nw-paper a { color: var(--cj-pink-20); text-decoration: underline; text-underline-offset: 0.15em; }
.cj-nw-paper :focus-visible { outline-color: var(--cj-pink-20); }
.cj-nw-paper blockquote { margin-inline: 0; padding-left: 1.25rem; border-left: 3px solid var(--cj-pink); font-size: 1.25rem; font-weight: 500; }
.cj-nw-paper :is(img, video, iframe) { max-width: 100%; height: auto; }
.cj-nw-paper img { border-radius: 2px; }
.cj-nw-paper iframe { width: 100%; aspect-ratio: 16 / 9; }
/* Old classic posts: images inserted at "medium" with fixed sizes, and the [gallery] shortcode. */
.cj-nw-paper :is(.alignnone, .aligncenter, .wp-caption) { display: block; margin-inline: 0; }
.cj-nw-paper .wp-caption { max-width: 100% !important; }
.cj-nw-paper .wp-caption-text,
.cj-nw-paper figcaption { font-size: 0.9rem; line-height: 1.45; color: var(--cj-slate); }
.cj-nw-paper .gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 0.75rem; margin-bottom: 1.25rem; }
.cj-nw-paper .gallery br { display: none; }
.cj-nw-paper .gallery .gallery-item { width: auto !important; margin: 0 !important; }
.cj-nw-paper .gallery img { width: 100%; height: auto; border: 0 !important; }
.cj-nw-paper .gallery-columns-1 { grid-template-columns: minmax(0, 1fr); }
.cj-nw-paper .gallery-columns-1 img,
.cj-nw-paper p > img:only-child,
.cj-nw-paper p > a:only-child > img { width: 100%; }
/* Brand mark (inc/news-brand.php): the client's SVG logo at the top of the content block, balanced, never a hero. */
.cj-nw-paper .cj-nw-brand { margin: 0 0 1.75rem; padding-bottom: 1.5rem; border-bottom: 1px solid rgba(0, 0, 0, 0.08); }
.cj-nw-paper .cj-nw-brand img { display: block; width: auto; height: auto; max-width: min(55%, 15rem); max-height: 4.5rem; border-radius: 0; }
/* Block galleries (Squeeze r4 posts): a grid like the classic one. Beats the customizer's Additional CSS, which sets
   every nested-gallery figure outside the portfolio to width 100% (logo-clienti rule, specificity 1,4,2). */
.cj-nw-paper .wp-block-gallery.has-nested-images.columns-default { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 0.75rem; margin-bottom: 1.25rem; }
.cj-nw-paper .wp-block-gallery.has-nested-images.columns-default figure.wp-block-image:not(#individual-image) { width: auto; height: auto; max-height: none; margin: 0; }
.cj-nw-paper .wp-block-gallery.has-nested-images.columns-default figure.wp-block-image img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }

/* ---------- 6. The portfolio entry for the same job ---------- */
.cj-nw-pf { margin-bottom: clamp(3.5rem, 10vh, 6rem); padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, 0.55); }
.cj-nw-pf > a { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(1.25rem, 3vw, 3rem); align-items: end; text-decoration: none; }
.cj-nw-pf__media { display: block; overflow: hidden; border-radius: 4px; }
.cj-nw-pf__media img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.1, 1); }
.cj-nw-pf > a:is(:hover, :focus-visible) img { transform: scale(1.035); }
.cj-nw-pf__name { display: flex; flex-direction: column; gap: 0.35rem; }
.cj-nw-pf__client { font-size: clamp(1.8rem, 1rem + 2.4vw, 3.4rem); font-weight: 700; line-height: 1; letter-spacing: -0.025em; }
.cj-nw-pf__project { font-size: clamp(1.125rem, 1rem + 0.5vw, 1.5rem); font-weight: 500; line-height: 1.25; }
.cj-nw-pf__more { align-self: start; margin-top: 0.75rem; font-size: 1.125rem; font-weight: 700; border-bottom: 2px solid currentColor; padding-bottom: 0.1em; }
.cj-nw-pf__more::after { content: " →"; }

/* ---------- 7. Older / newer ---------- */
.cj-nw-adj { margin-bottom: clamp(3.5rem, 10vh, 6rem); }
.cj-nw-adj ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 2.5rem); margin: 0; padding: 0; list-style: none; }
.cj-nw-adj__item { padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, 0.55); }
.cj-nw-adj__item--next { text-align: right; }
.cj-nw-adj__item--none { border-top-color: transparent; }
.cj-nw-adj a { display: flex; flex-direction: column; gap: 0.5rem; text-decoration: none; }
.cj-nw-adj__item--next a { align-items: flex-end; }
.cj-nw-adj__item--prev .cj-nw-adj__dir::before { content: "← "; }
.cj-nw-adj__item--next .cj-nw-adj__dir::after { content: " →"; }
.cj-nw-adj__date { font-size: 0.95rem; font-weight: 500; }
.cj-nw-adj__title { max-width: 22ch; font-size: clamp(1.4rem, 1rem + 1.4vw, 2.4rem); font-weight: 700; line-height: 1.05; letter-spacing: -0.02em; }

/* CTA band: cj_pf_cta() markup, styled here because portfolio.css is not loaded on news pages. */
.cj-nw-page .cj-pf-cta {
	margin-bottom: clamp(3rem, 8vh, 5rem);
	padding: clamp(3rem, 10vh, 6.5rem) clamp(16px, 6vw, 96px);
	border-radius: 4px;
	background: var(--cj-white);
	color: var(--cj-pink);
	--cj-btn-bg: var(--cj-pink); --cj-btn-fg: var(--cj-white); --cj-btn-wipe: var(--cj-pink-40); --cj-btn-wipe-fg: var(--cj-white);
}
.cj-nw-page .cj-pf-cta h2 { margin: 0 0 clamp(1.75rem, 4vh, 2.75rem); max-width: 16ch; font-size: clamp(2.25rem, 1rem + 5vw, 6rem); font-weight: 700; line-height: 1; letter-spacing: -0.03em; color: var(--cj-pink); }
.cj-nw-page .cj-pf-cta p { margin: 0; }

/* ---------- 8. Tablet and phone ---------- */
@media (max-width: 899.98px) {
	.cj-nw-lead > a,
	.cj-nw-pf > a { grid-template-columns: minmax(0, 1fr); }
	.cj-nw-year,
	.cj-nw-body { grid-template-columns: minmax(0, 1fr); }
	.cj-nw-year__side { position: static; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.25rem 1.25rem; margin-bottom: 1rem; }
	.cj-nw-page .cj-nw-year__bi { margin: 0; }
	.cj-nw-juice { display: none; }
	.cj-nw-sub { grid-template-columns: minmax(0, 1fr); }
	.cj-nw-clients ul { font-size: clamp(1.5rem, 1rem + 2.5vw, 2.25rem); }
	.cj-nw-facts { position: static; grid-template-columns: repeat(auto-fit, minmax(min(100%, 140px), 1fr)); gap: 1rem 1.5rem; margin-bottom: 1.75rem; }
	.cj-nw-row a {
		grid-template-columns: 88px minmax(0, 1fr);
		grid-template-areas: "thumb date" "thumb main";
		align-items: start;
		gap: 0.25rem 1rem;
	}
	.cj-nw-row__thumb { grid-area: thumb; }
	.cj-nw-row__thumb img { aspect-ratio: 1; }
	.cj-nw-row__date { grid-area: date; padding-top: 0; font-size: 0.75rem; }
	.cj-nw-row__main { grid-area: main; }
	.cj-nw-row__title { font-size: 1.3rem; }
	.cj-nw-row__meta { font-size: 0.7rem; }
}
@media (max-width: 599.98px) {
	.cj-nw-adj ul { grid-template-columns: minmax(0, 1fr); }
	.cj-nw-adj__item--next { text-align: left; }
	.cj-nw-adj__item--next a { align-items: flex-start; }
	.cj-nw-adj__item--none { display: none; }
	.cj-nw-paper { margin-inline: calc(-1 * clamp(16px, 5vw, 48px) + 8px); padding: 1.5rem 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
	.cj-nw-page *,
	.cj-nw-page *::before,
	.cj-nw-page *::after { transition: none !important; }
	.cj-nw-h1 svg,
	.cj-nw-h1 svg * { animation: none !important; }
	.cj-nw-page a:is(:hover, :focus-visible) img { transform: none !important; }
}

/* ---------- 4d. «Momenti» (inc/news-moments.php): dated markers between the posts, not articles (mock-up 2026-11-12).
   Dashed hairline where posts have a solid one; the glyph sits in a hollow white ring (no fills, no translucent text). */
.cj-nw-mo {
	display: grid;
	grid-template-columns: 5.5rem minmax(0, 1fr);
	gap: 0.25rem clamp(1rem, 2vw, 2rem);
	align-items: center;
	padding: 0.75rem 0;
	border-top: 1px dashed rgba(255, 255, 255, 0.55);
}
.cj-nw-mo:first-child { padding-top: 0; border-top: 0; }
.cj-nw-mo + .cj-nw-row { border-top: 1px solid rgba(255, 255, 255, 0.35); }
.cj-nw-mo__date { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; white-space: nowrap; }
.cj-nw-mo__body { display: flex; align-items: center; gap: 0.7rem; font-size: 1.05rem; font-weight: 500; line-height: 1.25; }
.cj-nw-mo__glyph {
	flex: none;
	display: grid;
	place-items: center;
	width: 2.1rem;
	height: 2.1rem;
	border: 1.5px solid var(--cj-white);
	border-radius: 50%;
}
.cj-nw-mo__glyph svg { width: 1.15rem; height: 1.15rem; fill: none; stroke: var(--cj-white); stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.cj-nw-page a.cj-nw-mo__label { color: var(--cj-white); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
.cj-nw-page a.cj-nw-mo__label:is(:hover, :focus-visible) { color: var(--cj-white); text-decoration-thickness: 2px; }
@media (max-width: 899.98px) {
	.cj-nw-mo { grid-template-columns: 88px minmax(0, 1fr); gap: 0.25rem 1rem; }
	.cj-nw-mo__date { font-size: 0.7rem; }
	.cj-nw-mo__body { font-size: 0.95rem; }
}
