/* ==========================================================================
   Controcorrente · L'Osservatorio — bacheca e pagine articolo
   Usa le variabili di /assets/restyling/restyling.css (tema chiaro/scuro).
   Prefisso .cc-* per non toccare le schede .oss-* della striscia in home.
   Caratteri: solo var(--font-sans) e var(--font-mono), da
   /assets/restyling/caratteri.css (gli stessi del filmato in home).
   ========================================================================== */

:root,
:root[data-theme="dark"] {
  --cc-li: #0A66C2;
  --cc-card: var(--bg-card-solid);
  --cc-meta: #A1A1B5;
  --cc-accent: #A78BFA;
  --cc-pill-dot-danger: #F87171;
  --cc-pill-dot-emerald: #34D399;
  --cc-pill-dot-cyan: #22D3EE;
  --cc-pill-dot-violet: #C084FC;
}
:root[data-theme="light"] {
  --cc-meta: var(--fg-secondary);
  --cc-accent: #6D28D9;
  --cc-pill-dot-danger: #B91C1C;
  --cc-pill-dot-emerald: #047857;
  --cc-pill-dot-cyan: #0E7490;
  --cc-pill-dot-violet: #6D28D9;
}

.cc-vh {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.cc-hero [hidden], .cc-board [hidden], .cc-article [hidden] { display: none !important; }

/* Logo LinkedIn: ufficiale (blu) e monocromo (grigio) */
.cc-li { display: block; flex: 0 0 auto; width: 18px; height: 18px; }
.cc-li--mono rect { fill: currentColor; }
.cc-li--mono path { fill: var(--cc-card); }

/* ── Testata ──────────────────────────────────────────────────── */
.cc-hero { position: relative; padding: 148px 0 34px; }
.cc-hero::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 520px; pointer-events: none;
  background:
    radial-gradient(60% 70% at 12% 0%, var(--ambient-glow-1), transparent 70%),
    radial-gradient(45% 60% at 92% 10%, var(--ambient-glow-2), transparent 70%);
}
.cc-hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: end; }
.cc-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 11.5px/1 var(--font-mono); letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--cc-accent);
}
.cc-eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-danger); box-shadow: 0 0 0 4px var(--accent-danger-soft); }
.cc-h1-board {
  margin: 18px 0 0; font-family: var(--font-sans); font-size: clamp(2.5rem, 4.6vw, 4rem); font-weight: 700; line-height: 1.05;
  letter-spacing: -0.03em; text-wrap: balance; color: var(--fg-primary);
}
.cc-accent { font-style: normal; color: var(--cc-accent); }
.cc-lead { position: relative; margin: 22px 0 0; max-width: 62ch; font-size: clamp(1.02rem, 1.25vw, 1.14rem); line-height: 1.65; color: var(--fg-secondary); text-wrap: pretty; }
.cc-lead-short { display: none; }

.cc-author {
  display: grid; gap: 14px; padding: 20px; border-radius: 18px;
  background: var(--cc-card); border: 1px solid var(--border-subtle); box-shadow: var(--shadow-card);
}
.cc-author-id { display: flex; align-items: center; gap: 14px; min-width: 0; }
.cc-author-id img { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--border-medium); background: #fff; flex: 0 0 auto; }
.cc-author-name { font-size: 16px; font-weight: 700; line-height: 1.25; color: var(--fg-primary); }
.cc-author-role { margin-top: 3px; font-size: 13px; line-height: 1.4; color: var(--fg-muted); }
.cc-author p { margin: 0; font-size: 13.8px; line-height: 1.55; color: var(--fg-secondary); }

/* Bottone LinkedIn pieno (blu ufficiale): solo «Segui» in testata, fascia finale, «Leggi su LinkedIn» */
.cc-btn-li {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 0 20px; border-radius: 999px;
  background: var(--cc-li); color: #fff; font-size: 14.5px; font-weight: 650; letter-spacing: -0.005em;
  border: 1px solid var(--cc-li); text-decoration: none; white-space: nowrap;
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.cc-btn-li .cc-li { width: 20px; height: 20px; }
.cc-btn-li .cc-li rect { fill: #fff; }
.cc-btn-li .cc-li path { fill: var(--cc-li); }
.cc-btn-li:hover, .cc-btn-li:focus-visible { background: #004182; border-color: #004182; transform: translateY(-1px); box-shadow: 0 10px 26px -10px rgba(10, 102, 194, 0.7); }
.cc-author .cc-btn-li { width: 100%; }

/* ── Barra filtri ─────────────────────────────────────────────── */
.cc-board { position: relative; padding: 8px 0 40px; }
.cc-toolbar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px;
  padding: 16px 0; border-top: 1px solid var(--border-subtle); border-bottom: 1px solid var(--border-subtle);
}
.cc-filters { display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; }
.cc-chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; flex: 0 0 auto;
  border-radius: 999px; border: 1px solid var(--border-medium); background: transparent;
  font-size: 14px; font-weight: 600; color: var(--fg-secondary); cursor: pointer; white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.cc-chip:hover { border-color: var(--fg-muted); color: var(--fg-primary); }
.cc-chip[aria-pressed="true"] { background: var(--fg-primary); border-color: var(--fg-primary); color: var(--bg-page); }
.cc-chip-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cc-pill-dot-violet); }
.cc-chip--danger .cc-chip-dot { background: var(--cc-pill-dot-danger); }
.cc-chip--emerald .cc-chip-dot { background: var(--cc-pill-dot-emerald); }
.cc-chip--cyan .cc-chip-dot { background: var(--cc-pill-dot-cyan); }
.cc-chip-sep { flex: 0 0 auto; width: 1px; margin: 6px 6px; background: var(--border-medium); }
.cc-count { font: 500 13px/1 var(--font-sans); font-variant-numeric: tabular-nums; color: var(--cc-meta); white-space: nowrap; }
.cc-desc { margin: 18px 0 0; max-width: 70ch; font-size: 15px; line-height: 1.55; color: var(--cc-meta); }

/* ── Griglia e schede ─────────────────────────────────────────── */
.cc-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 28px; margin-top: 30px; }
.cc-card {
  position: relative; grid-column: span 2; display: flex; flex-direction: column; min-width: 0;
  border-radius: 18px; overflow: hidden; background: var(--cc-card);
  border: 1px solid var(--border-subtle); box-shadow: var(--shadow-card);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}
.cc-card.cc-w3 { grid-column: span 3; }
.cc-card.cc-wfull { grid-column: 1 / -1; }
.cc-card:hover { transform: translateY(-3px); border-color: var(--border-medium); box-shadow: var(--shadow-elevated); }
.cc-card:focus-within { outline: 2px solid var(--accent-violet); outline-offset: 3px; }
.cc-stretch:focus-visible { outline: none; }
.cc-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #0b0910; }
.cc-media picture, .cc-media img { display: block; width: 100%; height: 100%; }
.cc-media img { object-fit: cover; transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1); }
.cc-card:hover .cc-media img { transform: scale(1.035); }
.cc-media::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(0deg, rgba(10, 8, 20, 0.55), transparent 50%); }
.cc-overlay {
  position: absolute; left: 16px; bottom: 14px; z-index: 1;
  font: 600 10.5px/1 var(--font-mono); letter-spacing: 0.14em; text-transform: uppercase; color: rgba(248, 250, 252, 0.88);
}
.cc-cover {
  position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 22px 24px 40px;
  background:
    radial-gradient(110% 90% at 88% 0%, rgba(34, 211, 238, 0.30), transparent 60%),
    radial-gradient(90% 90% at 0% 100%, rgba(168, 85, 247, 0.42), transparent 62%),
    #0b0910;
  color: #F8FAFC;
}
.cc-cover-title { font-family: var(--font-sans); font-size: clamp(56px, 6vw, 88px); font-weight: 600; line-height: 0.9; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; opacity: 0.92; }

.cc-body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 18px 22px 18px; min-width: 0; }
.cc-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.cc-pill {
  display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px 6px 9px; border-radius: 999px;
  background: var(--bg-subtle); border: 1px solid var(--border-subtle);
  font: 600 10.5px/1 var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-secondary);
}
.cc-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--cc-pill-dot-violet); }
.cc-pill--danger::before { background: var(--cc-pill-dot-danger); }
.cc-pill--emerald::before { background: var(--cc-pill-dot-emerald); }
.cc-pill--cyan::before { background: var(--cc-pill-dot-cyan); }
.cc-kicker { font: 600 10.5px/1 var(--font-mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--cc-accent); }
.cc-lang { font: 600 10.5px/1 var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--cc-meta); }
.cc-title {
  margin: 2px 0 0; font-family: var(--font-sans); font-size: 20px; font-weight: 600; line-height: 1.24;
  letter-spacing: -0.01em; color: var(--fg-primary); text-wrap: balance;
}
.cc-stretch { color: inherit; text-decoration: none; }
.cc-stretch::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; }
.cc-excerpt {
  margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--fg-secondary);
  display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.cc-foot {
  margin-top: auto; padding-top: 14px; border-top: 1px solid var(--border-subtle);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.cc-meta { font: 500 13px/1.3 var(--font-sans); font-variant-numeric: tabular-nums; color: var(--cc-meta); }
.cc-src { display: inline-flex; align-items: center; gap: 7px; font: 600 13px/1 var(--font-sans); color: var(--cc-meta); white-space: nowrap; transition: color 0.2s ease; }
.cc-src .cc-li { width: 16px; height: 16px; }
.cc-card:hover .cc-src { color: var(--fg-primary); }
.cc-empty { grid-column: 1 / -1; margin: 10px 0; color: var(--fg-muted); }

/* Scheda orizzontale: la più recente («Ultimo») o l'unica di un filtro */
.cc-card--feature { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); }
.cc-card--feature .cc-media { aspect-ratio: 16 / 9; }
.cc-card--feature .cc-body { padding: 34px 38px 26px; gap: 14px; justify-content: center; }
.cc-card--feature .cc-title { font-size: clamp(28px, 2.6vw, 38px); line-height: 1.1; letter-spacing: -0.02em; }
.cc-card--feature .cc-excerpt { font-size: 16.5px; line-height: 1.62; -webkit-line-clamp: 4; line-clamp: 4; }
.cc-card--feature .cc-foot { margin-top: 12px; }
.cc-card--feature .cc-overlay { left: 22px; bottom: 18px; }
.cc-card--feature .cc-cover-title { font-size: clamp(90px, 10vw, 150px); }

@keyframes ccIn { from { opacity: 0; transform: translate3d(0, 14px, 0); } to { opacity: 1; transform: none; } }
.cc-grid--in .cc-card { animation: ccIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) both; }
.cc-grid--in .cc-card:nth-child(2) { animation-delay: 50ms; }
.cc-grid--in .cc-card:nth-child(3) { animation-delay: 100ms; }
.cc-grid--in .cc-card:nth-child(4) { animation-delay: 150ms; }
.cc-grid--in .cc-card:nth-child(n+5) { animation-delay: 200ms; }

/* ── Fascia «Segui Lorenzo su LinkedIn» ───────────────────────── */
.cc-follow { padding: 40px 0 112px; }
.cc-follow-box {
  position: relative; overflow: hidden; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 28px;
  padding: 34px 38px; border-radius: 24px; background: var(--cc-card); border: 1px solid var(--border-subtle); box-shadow: var(--shadow-card);
}
.cc-follow-box::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 140% at 0% 50%, rgba(10, 102, 194, 0.18), transparent 70%); }
.cc-follow-box > * { position: relative; }
.cc-follow-logo .cc-li { width: 60px; height: 60px; border-radius: 13px; box-shadow: 0 16px 40px -14px rgba(10, 102, 194, 0.8); }
.cc-follow h2 { margin: 0; font-family: var(--font-sans); font-size: clamp(24px, 2.3vw, 30px); font-weight: 600; letter-spacing: -0.015em; line-height: 1.15; color: var(--fg-primary); }
.cc-follow p { margin: 8px 0 0; max-width: 58ch; font-size: 15px; line-height: 1.6; color: var(--fg-secondary); }

/* ── Search & Archivio UI ─────────────────────────────────────── */
.cc-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 20px; }
.cc-toolbar-right { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-left: auto; }
.cc-search-wrap {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--border-subtle); background: var(--cc-card);
  color: var(--fg-secondary); transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.cc-search-wrap:focus-within {
  border-color: var(--cc-accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--cc-accent) 22%, transparent);
}
.cc-search-wrap svg { width: 16px; height: 16px; flex: none; color: var(--fg-muted); }
.cc-search-input {
  border: 0; background: transparent; color: var(--fg-primary);
  font: 500 14px/1.3 var(--font-sans); min-width: 210px; max-width: 100%; padding: 8px 0;
  outline: none;
}
.cc-search-input::placeholder { color: var(--fg-muted); }
.cc-archive-link {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px;
  border-radius: 999px; border: 1px solid var(--border-subtle); background: var(--bg-subtle);
  font: 600 13px/1.2 var(--font-mono); letter-spacing: 0.04em; color: var(--fg-primary);
  text-decoration: none; white-space: nowrap; transition: border-color 0.2s ease, color 0.2s ease;
}
.cc-archive-link:hover, .cc-archive-link:focus-visible { border-color: var(--cc-accent); color: var(--cc-accent); }
@media (max-width: 759px) {
  .cc-toolbar-right { width: 100%; justify-content: space-between; margin-left: 0; }
  .cc-search-wrap { flex: 1 1 220px; }
  .cc-search-input { min-width: 0; width: 100%; }
}

/* ── Pagina articolo (griglia comune 1312 px, Priorita 1.2 + 1b) ── */
.cc-article { position: relative; padding: 0 0 96px; }
:root[data-theme="dark"] .cc-article {
  background-color: #060409;
  background-image:
    radial-gradient(60% 45% at 12% 8%, var(--ambient-glow-1), transparent 72%),
    radial-gradient(55% 45% at 88% 18%, var(--ambient-glow-2), transparent 72%);
}
.cc-art-sec { padding-top: clamp(32px, 4vw, 48px); }
.cc-art-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.72fr) minmax(300px, 1fr);
  gap: clamp(32px, 4.2vw, 60px);
  align-items: start;
}
.cc-art-layout--solo {
  grid-template-columns: minmax(0, 1fr);
}
.cc-art-main { min-width: 0; width: 100%; max-width: 72ch; }
.cc-art-aside {
  position: sticky;
  top: 124px;
  display: grid;
  gap: 18px;
  min-width: 0;
}
.cc-read { max-width: none; width: 100%; margin-inline: 0; }
.cc-draft {
  max-width: none; margin: 0 0 24px; padding: 12px 16px; border-radius: 12px;
  border: 1px dashed var(--accent-amber); background: var(--accent-amber-soft); color: var(--accent-amber);
  font: 600 12px/1.45 var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase;
}
.cc-read-head { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.cc-back { font: 600 13px/1.3 var(--font-sans); color: var(--cc-meta); text-decoration: none; }
.cc-back:hover { color: var(--fg-primary); }
.cc-h1 {
  margin: 0; font-family: var(--font-sans); font-size: clamp(2.125rem, 3.6vw, 3.25rem); font-weight: 800; line-height: 1.08;
  letter-spacing: -0.028em; text-wrap: balance; color: var(--fg-primary);
}
.cc-dek { margin: 0; font-family: var(--font-sans); font-size: 1.0625rem; line-height: 1.6; color: var(--fg-secondary); text-wrap: pretty; }
.cc-byline {
  display: flex; align-items: center; gap: 12px; width: 100%;
  padding: 12px 16px; border-radius: 14px;
  border: 1px solid var(--border-subtle); background: var(--cc-card);
}
.cc-avatar { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--border-medium); background: #fff; flex: 0 0 auto; }
.cc-byline-text { flex: 1; min-width: 0; }
.cc-byline-name { font-size: 14.5px; font-weight: 700; color: var(--fg-primary); }
.cc-byline-meta { margin-top: 2px; font: 500 12.5px/1.4 var(--font-sans); font-variant-numeric: tabular-nums; color: var(--cc-meta); }
.cc-share {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 999px;
  border: 1px solid var(--border-subtle); background: var(--bg-subtle); color: var(--fg-secondary);
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}
.cc-share:hover, .cc-share:focus-visible { color: var(--fg-primary); border-color: var(--border-medium); background: var(--bg-card-solid); }
.cc-share .cc-li { width: 17px; height: 17px; }

.cc-hero-img { max-width: 100%; margin: 0; border-radius: 20px; overflow: hidden; border: 1px solid var(--border-subtle); background: #0b0910; }
.cc-hero-img img { display: block; width: 100%; height: auto; object-fit: cover; }
.cc-hero-img--blog { max-width: 100%; aspect-ratio: 16 / 9; }
.cc-hero-img--blog img { width: 100%; height: 100%; object-fit: cover; }
.cc-hero-img figcaption { padding: 12px 16px; font-size: 12.5px; line-height: 1.5; color: var(--fg-muted); border-top: 1px solid var(--border-subtle); background: var(--cc-card); }
.cc-rule { height: 1px; background: var(--border-subtle); margin: 24px 0 28px; }

.cc-brief { padding: 22px 24px; border-radius: 18px; background: var(--cc-card); border: 1px solid var(--border-subtle); box-shadow: var(--shadow-card); }
.cc-brief-h { margin: 0 0 12px; font: 600 11.5px/1 var(--font-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--cc-accent); }
.cc-brief ul { margin: 0; padding: 0 0 0 18px; display: grid; gap: 10px; }
.cc-brief li { font-size: 15px; line-height: 1.6; color: var(--fg-primary); }
.cc-sources { margin: 0; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--border-subtle); background: var(--bg-subtle); font-size: 13.5px; line-height: 1.6; color: var(--fg-secondary); }
.cc-sources strong { color: var(--fg-primary); }
.cc-li-cta { margin: 28px 0 0; }
.cc-notfound { font-size: 19px; color: var(--fg-primary); margin: 0 0 18px; }
.cc-fallback { font-size: 16px; line-height: 1.6; color: var(--fg-secondary); margin: 18px 0; }
.cc-fallback a { color: var(--cc-accent); font-weight: 600; }

/* Testo completo articoli di blog (.cc-prose, misura leggibile <= 70ch nella griglia comune) */
.cc-prose { margin: 0; font-family: var(--font-sans); font-size: 18px; line-height: 1.72; color: var(--fg-primary); text-wrap: pretty; }
.cc-prose > :first-child { margin-top: 0; }
.cc-prose p { margin: 0 0 22px; }
.cc-prose h2 {
  margin: 44px 0 14px; font-family: var(--font-sans); font-size: clamp(22px, 2.3vw, 28px); font-weight: 700;
  line-height: 1.22; letter-spacing: -0.015em; text-wrap: balance; color: var(--fg-primary);
}
.cc-prose h3 {
  margin: 30px 0 10px; font-family: var(--font-sans); font-size: 19.5px; font-weight: 700;
  line-height: 1.3; color: var(--fg-primary);
}
.cc-prose ul, .cc-prose ol { margin: 0 0 22px; padding-left: 22px; display: grid; gap: 8px; }
.cc-prose li { color: var(--fg-primary); }
.cc-prose li::marker { color: var(--cc-accent); }
.cc-prose strong { font-weight: 700; color: var(--fg-primary); }
.cc-prose a { color: var(--cc-accent); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.cc-prose a:hover { color: var(--fg-primary); }
.cc-prose blockquote {
  margin: 26px 0; padding: 14px 20px; border-left: 3px solid var(--cc-accent);
  background: var(--bg-subtle); border-radius: 0 12px 12px 0; color: var(--fg-secondary);
}
.cc-prose blockquote p:last-child { margin-bottom: 0; }
.cc-prose code { font: 500 0.88em/1.4 var(--font-mono); padding: 2px 6px; border-radius: 6px; background: var(--bg-subtle); border: 1px solid var(--border-subtle); }
.cc-prose hr { height: 1px; border: 0; background: var(--border-subtle); margin: 34px 0; }
.cc-table-wrap {
  margin: 28px 0; overflow-x: auto; max-inline-size: 100%; container-type: inline-size;
  border-radius: 14px; border: 1px solid var(--border-subtle); background: var(--cc-card);
}
.cc-table-wrap:focus-visible { outline: 2px solid var(--cc-accent); outline-offset: 2px; }
.cc-prose table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 15px; line-height: 1.5; font-variant-numeric: tabular-nums; }
.cc-prose thead { position: sticky; inset-block-start: 0; z-index: 1; background: var(--bg-subtle); }
.cc-prose th { text-align: left; font: 600 12px/1.3 var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg-secondary); border-bottom: 1px solid var(--border-medium); }
.cc-prose th, .cc-prose td { padding: 11px 14px; vertical-align: top; }
.cc-prose tbody tr:not(:last-child) td { border-bottom: 1px solid var(--border-subtle); }
.cc-prose tbody tr:nth-child(even) td { background: rgba(148, 163, 184, 0.04); }

.cc-authorbox {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: center;
  padding: 20px; border-radius: 18px; background: var(--cc-card); border: 1px solid var(--border-subtle); box-shadow: var(--shadow-card);
}
.cc-authorbox img { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--border-medium); background: #fff; }
.cc-authorbox-name { font-size: 15.5px; font-weight: 700; color: var(--fg-primary); }
.cc-authorbox-role { margin-top: 3px; font-size: 13px; line-height: 1.45; color: var(--fg-muted); }
.cc-authorbox-link { display: inline-block; margin-top: 8px; font-size: 13.5px; font-weight: 600; color: var(--cc-accent); text-decoration: none; }
.cc-authorbox-link:hover { text-decoration: underline; }

.cc-aside-index {
  display: grid; gap: 10px; padding: 18px 20px; border-radius: 18px;
  background: var(--cc-card); border: 1px solid var(--border-subtle);
}
.cc-aside-index-k { font: 600 11px/1.2 var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--cc-accent); }
.cc-aside-index p { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--fg-secondary); }
.cc-aside-links { display: grid; gap: 6px; padding-top: 6px; border-top: 1px solid var(--border-subtle); }
.cc-aside-links a { font-size: 13.5px; font-weight: 600; color: var(--fg-primary); text-decoration: none; display: inline-flex; justify-content: space-between; gap: 8px; }
.cc-aside-links a:hover { color: var(--cc-accent); }

/* ── Adattivo mobile e tablet ─────────────────────────────────── */
@media (max-width: 960px) {
  .cc-art-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .cc-art-main { max-width: 100%; }
  .cc-art-aside { position: static; }
  .cc-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .cc-grid { gap: 22px; }
  .cc-card, .cc-card.cc-w3, .cc-card.cc-w2 { grid-column: span 3; }
  .cc-card--feature, .cc-card.cc-wfull { grid-column: 1 / -1; }
  .cc-card--feature { grid-template-columns: minmax(0, 1fr); }
  .cc-follow-box { grid-template-columns: auto minmax(0, 1fr); }
  .cc-follow-box .cc-btn-li { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 759px) {
  .cc-board { padding: 12px 0 56px; }
  .cc-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; margin-top: 22px; }
  .cc-card, .cc-card.cc-w3, .cc-card.cc-w2, .cc-card--feature, .cc-card.cc-wfull { grid-column: 1 / -1; }
  .cc-card--feature .cc-body { padding: 20px 18px 18px; }
  .cc-card--feature .cc-title { font-size: clamp(22px, 6vw, 28px); }
  .cc-card--feature .cc-cover-title { font-size: clamp(48px, 14vw, 84px); }
  .cc-follow { padding: 24px 0 64px; }
  .cc-follow-box { padding: 22px 18px; gap: 14px 16px; }
  .cc-follow-logo .cc-li { width: 46px; height: 46px; }
  .cc-prose { font-size: 16.5px; line-height: 1.65; }
}
@media (prefers-reduced-motion: reduce) {
  .cc-grid--in .cc-card { animation: none !important; }
  .cc-card, .cc-card img, .cc-chip, .cc-btn-li, .cc-share { transition: none !important; }
}
