@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500&family=Inter:wght@300;400;500;600&display=swap');
@import url('https://cdn.jsdelivr.net/npm/@tabler/icons-webfont@3.19.0/dist/tabler-icons.min.css');

/* SFONDO PAGINA — solo background, niente font-family/color per non rompere il nav */
body {
  background-color: #F5F0ED !important;
  background-image: url('http://staging.cesarecatania.eu/storage/media/images/2026/06/paper-ivory.jpg') !important;
  background-size: 700px !important;
  background-repeat: repeat !important;
}

/* ═══════════════════════════════════════════
   CC-BIO WRAPPER
   CRITICAL FIX: min-width:0 previene l'espansione del grid item
   Il sito ha: .page-variant-biography .article-content { display: grid }
   Senza min-width:0, .cc-bio si espande a 1897px (100vw) perché
   .cc-hero ha width:100vw, rendendo calc(50%-50vw)=0 invece di -318px
═══════════════════════════════════════════ */
.cc-bio {
  --paper: #F5F0ED;
  --ink: #1C191E;
  --bronze: #87684C;
  --gold: #B59A6E;
  --red: #C0392B;
  --shadow-card: 0 18px 40px -24px rgba(28,25,30,0.35);
  --shadow-soft: 0 8px 24px -16px rgba(28,25,30,0.30);
  --texture: url('http://staging.cesarecatania.eu/storage/media/images/2026/06/paper-ivory.jpg');
  --border-card: 1px solid rgba(135,104,76,0.22);
  --radius: 6px;
  font-family: 'Inter', sans-serif;
  color: #1C191E;
  min-width: 0;
}

/* ── HERO FULL-BLEED ── */
.cc-bio .cc-hero {
  position: relative;
  left: calc(50% - 50vw) !important;
  width: 100vw !important;
  max-width: none !important;
  height: 78vh;
  min-height: 560px;
  max-height: 900px;
  overflow: hidden;
}
.cc-bio .cc-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.cc-bio .cc-hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(28,25,30,0.15) 0%, rgba(28,25,30,0.55) 60%, rgba(28,25,30,0.75) 100%);
}
.cc-bio .cc-hero__content {
  position: relative;
  z-index: 2;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 40px 72px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.cc-bio .cc-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(52px, 6.5vw, 88px);
  font-weight: 300;
  line-height: 1.06;
  color: #fff;
  margin-bottom: 24px;
  max-width: 680px;
}
.cc-bio .cc-hero__lead {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.72;
  color: rgba(255,255,255,0.78);
  max-width: 520px;
}

/* ── EYEBROW ── */
.cc-bio .cc-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 16px;
}
.cc-bio .cc-eyebrow--white { color: rgba(255,255,255,0.65); }
.cc-bio .cc-eyebrow--red { color: var(--red); }
.cc-bio .cc-eyebrow--bronze { color: var(--bronze); }

/* ── SEPARATORS ── */
.cc-bio .cc-rule-single {
  border: none;
  border-top: 1px solid rgba(135,104,76,0.28);
  margin: 0;
}

/* ── SECTION / CONTAINER ── */
.cc-bio .cc-section { padding: 88px 0; }
.cc-bio .cc-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 40px;
}
.cc-bio .cc-section-hd { margin-bottom: 52px; }
.cc-bio .cc-section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(34px, 3.8vw, 50px);
  font-weight: 300;
  line-height: 1.13;
  color: var(--ink);
  margin-bottom: 16px;
}
.cc-bio .cc-section-lead {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.76;
  color: rgba(28,25,30,0.68);
  max-width: 580px;
}

/* ── CARD ── */
.cc-bio .cc-card {
  background-color: var(--paper);
  background-image: var(--texture);
  background-size: 700px;
  border: var(--border-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

/* ── ATLANTE VISIVO ── */
.cc-bio .cc-atlas-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 360px 300px;
  gap: 16px;
}
.cc-bio .cc-atlas-tile {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-card);
}
.cc-bio .cc-atlas-tile img,
.cc-bio .cc-atlas-tile video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cc-bio .cc-atlas-label {
  position: absolute;
  bottom: 14px;
  left: 14px;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  background: rgba(28,25,30,0.5);
  backdrop-filter: blur(4px);
  padding: 4px 10px;
  border-radius: 3px;
}
.cc-bio .cc-atlas-quote-inner {
  padding: 38px 38px 34px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.cc-bio .cc-atlas-quote-sup {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 22px;
  display: block;
}
.cc-bio .cc-atlas-quote-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 21px;
  font-weight: 400;
  font-style: italic;
  line-height: 1.58;
  color: var(--ink);
}
.cc-bio .cc-atlas-quote-rule {
  width: 36px;
  height: 1px;
  background: var(--bronze);
  opacity: 0.6;
  margin-top: 28px;
}

/* ── CHAPTERS ── */
.cc-bio .cc-chapters-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 72px;
  align-items: start;
}
.cc-bio .cc-chapters-sticky { position: sticky; top: 84px; }
.cc-bio .cc-chapters-sidebar-text {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.76;
  color: rgba(28,25,30,0.65);
  margin-top: 16px;
}
.cc-bio .cc-chapters-sidebar-img {
  width: 100%;
  border-radius: var(--radius);
  margin-top: 28px;
  box-shadow: 0 24px 56px -20px rgba(28,25,30,0.45);
  display: block;
}
.cc-bio .cc-chapters-list { padding: 0 40px; }
.cc-bio .cc-chapter-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  padding: 36px 0;
  border-bottom: 1px solid rgba(135,104,76,0.16);
}
.cc-bio .cc-chapter-item:last-child { border-bottom: none; }
.cc-bio .cc-chapter-icon-wrap {
  padding-top: 4px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  min-width: 100px;
}
.cc-bio .cc-chapter-icon { width: 80px; height: 80px; object-fit: contain; }
.cc-bio .cc-chapter-cap {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 8px;
  display: block;
}
.cc-bio .cc-chapter-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 400;
  line-height: 1.22;
  color: var(--ink);
  margin-bottom: 16px;
}
.cc-bio .cc-chapter-text {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.78;
  color: rgba(28,25,30,0.78);
}
.cc-bio .cc-chapter-text p + p { margin-top: 12px; }

/* ── LINGUAGGI ARTISTICI ── */
.cc-bio .cc-linguaggi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 52px;
}
.cc-bio .cc-linguaggio-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: var(--border-card);
  display: flex;
  flex-direction: column;
}
.cc-bio .cc-linguaggio-img-wrap {
  position: relative;
  overflow: hidden;
  height: 220px;
  flex-shrink: 0;
}
.cc-bio .cc-linguaggio-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.cc-bio .cc-linguaggio-card:hover .cc-linguaggio-img-wrap img { transform: scale(1.05); }
.cc-bio .cc-linguaggio-panel {
  background-color: var(--paper);
  background-image: var(--texture);
  background-size: 700px;
  padding: 18px 20px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-top: 1px solid rgba(135,104,76,0.18);
}
.cc-bio .cc-linguaggio-tag {
  font-family: 'Inter', sans-serif;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bronze);
  display: block;
}
.cc-bio .cc-linguaggio-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.15;
  color: var(--ink);
  display: block;
}
.cc-bio .cc-linguaggio-desc {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 300;
  line-height: 1.55;
  color: rgba(28,25,30,0.65);
  display: block;
  flex: 1;
}
.cc-bio .cc-linguaggio-cta {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bronze);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 4px;
}

/* ── RELATED ── */
.cc-bio .cc-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 52px;
}
.cc-bio .cc-related-card {
  padding: 34px 30px 30px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cc-bio .cc-related-tag {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bronze);
}
.cc-bio .cc-related-card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.25;
  color: var(--ink);
}
.cc-bio .cc-related-desc {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 300;
  line-height: 1.65;
  color: rgba(28,25,30,0.6);
  flex: 1;
}
.cc-bio .cc-related-cta {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bronze);
  text-decoration: none;
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ── MOBILE ── */
@media (max-width: 768px) {
  .cc-bio .cc-container { padding: 0 20px; }
  .cc-bio .cc-hero { height: 60vh; min-height: 380px; }
  .cc-bio .cc-hero__content { padding: 0 20px 48px; }
  .cc-bio .cc-hero h1 { font-size: clamp(36px, 9vw, 52px); max-width: 100%; }
  .cc-bio .cc-hero__lead { font-size: 13px; max-width: 100%; }
  .cc-bio .cc-section { padding: 56px 0; }
  .cc-bio .cc-section-hd { margin-bottom: 36px; }
  .cc-bio .cc-atlas-grid { grid-template-columns: 1fr; grid-template-rows: auto; gap: 12px; }
  .cc-bio .cc-atlas-tile { grid-column: 1 !important; grid-row: auto !important; }
  .cc-bio .cc-atlas-tile:first-child { height: 260px; }
  .cc-bio .cc-atlas-tile:nth-child(2) { height: 220px; }
  .cc-bio .cc-atlas-tile:nth-child(3) { height: 200px; }
  .cc-bio .cc-atlas-tile:nth-child(4) { height: auto; }
  .cc-bio .cc-atlas-quote-inner { padding: 28px 24px; }
  .cc-bio .cc-atlas-quote-text { font-size: 17px; }
  .cc-bio .cc-chapters-layout { grid-template-columns: 1fr; gap: 36px; }
  .cc-bio .cc-chapters-sticky { position: static; top: auto; }
  .cc-bio .cc-chapters-list { padding: 0 20px; }
  .cc-bio .cc-chapter-item { grid-template-columns: 72px 1fr; padding: 28px 0; }
  .cc-bio .cc-chapter-icon-wrap { min-width: 72px; }
  .cc-bio .cc-chapter-icon { width: 56px; height: 56px; }
  .cc-bio .cc-linguaggi-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 36px; }
  .cc-bio .cc-linguaggio-img-wrap { height: 160px; }
  .cc-bio .cc-related-grid { grid-template-columns: 1fr; gap: 14px; margin-top: 36px; }
  .cc-bio .cc-related-card { padding: 24px 22px 22px; }
}