/*
Theme Name: Gianluca Rocci
Theme URI: https://www.gianlucarocci.com
Author: Gianluca Rocci
Author URI: https://www.gianlucarocci.com
Description: Sito Ufficiale d'Autore di Gianluca Rocci. Tema WordPress nativo, editoriale, pulito e privo di page builder.
Version: 3.0
Text Domain: gianlucarocci
Tags: author, books, editorial, literature, essays, clean, responsive
*/

/* ==========================================================================
   TIPOGRAFIA GLOBALE CENTRALIZZATA
   Modifica qui il font per cambiarlo su TUTTO il sito (Home, Libri, Articoli, Contatti)
   ========================================================================== */
:root {
  --font-base: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-heading: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Base reset e font */
body {
  font-family: var(--font-base);
  font-weight: 400;       /* peso normale per i testi generali */
  font-size: 16px;        /* dimensione base leggibile */
  line-height: 1.6;       /* spaziatura di riga comoda */
  color: #333333;         /* colore testo di base */
  background-color: #f3f6f9; /* Tema */
	 max-width: 100% !important;
}

/* Eredità universale del font su tutti gli elementi */
button, input, select, textarea {
  font-family: inherit;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
}


a {
    color: #0078D4;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

p {
    /* color: #0078D4; */   /* -> BLU */ 
	color: #333333; /* -> GRIGIO SCURO */
    margin-bottom: 1rem;
}

/* BREADCRUMB */
.breadcrumb {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 1rem;
}

.breadcrumb a {
  color: #0078D4;
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}


img.featured-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 2rem auto;
  border-radius: 8px;
}

/* Solo se l'immagine è troppo alta */
img.featured-image.tall {
  max-height: 100px;
  object-fit: contain;
}



/* Contenitore principale */

/* */
* {
  box-sizing: border-box;
}

.section-flex, .hero, section {
  max-width: 100%;
  overflow-x: hidden;
}

.section-flex > *, .hero, .blog-wrapper, .blog-main {
  min-width: 0;
}
/* CONTAINER PRINCIPALE */
.container {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.container-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  padding: 2rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
}


.hero {
  width: 100%;
  background-size: cover;
  background-position: center;
  padding: 6rem 1rem;
  text-align: center;
  color: white;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

/* Mobile fix */
@media (max-width: 768px) {
  .hero {
    padding: 4rem 1rem;
    background-position: center top;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }
}

/* SEZIONE 1 FRONT-PAGE */
.section-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 3rem 4rem;
}

.section-flex .text {
  flex: 1;
  min-width: 250px;
}

.section-flex .image {
  flex: 1;
  min-width: 250px;
}

.section-flex img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

/* MOBILE & TABLET FIX */
@media (max-width: 1024px) {
  .section-flex {
    flex-direction: column;
    padding: 2rem 1rem;
    text-align: center;
  }

  .section-flex .text,
  .section-flex .image {
    width: 100%;
    min-width: unset;
  }

  .section-flex img {
    width: 100%;
    max-width: 500px;
    height: auto;
    margin: 0 auto;
    display: block;
  }
}



.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  padding: 2rem 0;
}

.devtools-card {
  background: #fff;
  border-radius: 8px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  transition: transform 0.2s ease;
}

.devtools-card:hover {
  transform: translateY(-4px);
}

.devtools-image img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 1rem;
}

.devtools-meta {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 0.25rem;
}

.post-category {
  font-weight: 600;
  color: #0078D4;
}

.dot {
  margin: 0 0.4rem;
}

.devtools-title {
  font-size: 1.1rem;
  margin: 0.4rem 0 0.5rem;
}

.devtools-excerpt {
  font-size: 0.95rem;
  color: #444;
  margin-bottom: 1rem;
}

.category-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.category-card-image img {
  height: 160px;
}

.category-card-content {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.category-card-date {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 0.5rem;
}

.category-card h2 {
  font-size: 1.1rem;
  margin: 0.5rem 0;
}

.category-card p {
  font-size: 0.95rem;
  color: #444;
}

.btn-readmore {
 /*  font-size: 0.85rem;
  color: #0078D4;
  text-decoration: none;
  font-weight: 500; */
  margin-top: 1rem;
  display: inline-block;
  font-size: 0.85rem;
  color: #0078D4;
  text-decoration: none;
  font-weight: 500;
}


/****************************/
/****** PAGINA SINGOLA ******/
/****************************/
.page-wrapper {
  max-width: 900px;
  margin: 3rem auto;
  padding: 0 1.5rem;
}

.page-article h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.page-content {
  font-size: 1.125rem;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 1024px) {
  .page-wrapper {
    padding: 0 1rem;
  }

  .page-article h1 {
    font-size: 2rem;
  }

  .page-content {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .page-article h1 {
    font-size: 1.75rem;
  }

  .page-content {
    font-size: 0.95rem;
  }
}

/* PAGINA SU DI ME - BIO */
.author-name {
  font-size: 2rem;
  font-weight: 600;
  background: linear-gradient(90deg, #0078D4, #D83B01, #107C10, #5C2D91);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text; /* fallback */
  color: transparent;
}

.author-wrapper {
  max-width: 960px;
  margin: 4rem auto;
  padding: 0 1rem;
  font-family: system-ui, sans-serif;
}
.author-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
}
.author-avatar {
  flex-shrink: 0;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  overflow: hidden;
}
.author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.author-info {
  flex: 1;
}

.author-subtitle {
  font-size: 1.1rem;
  color: #444;
  margin-bottom: 1rem;
}
.author-bio {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
}

/* Titoli */
h1, h2, h3, h4, h5, h6 {
    /* color: #0078D4; */   /* -> BLU */ 
	color: #333333; /* -> GRIGIO SCURO */
    margin-bottom: 1rem;
}

/* SEZIONE COMMENTI */
.azure-comments {
  margin-top: 2rem;
  background-color: #f4f9fc;
  border: 1px solid #d2e4f2;
  border-radius: 6px;
  padding: 1.25rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  font-size: 0.95rem;
  color: #333;
}

.azure-comments h3,
#reply-title {
  font-size: 1.2rem;
  margin-bottom: 15rem;
  color: #0078d4;
  font-weight: 500;
}

.comment-list {
  margin-bottom: 1.5rem;
}

.comment-body {
	 line-height: 1.55;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e2eef7;
}

.comment-author {
  font-weight: 500;
  color: #1e1e1e;
  font-size: 0.95rem;
}

.comment-metadata {
  font-size: 0.75rem;
  color: #777;
}

.comment-content {
  margin-top: 0.4rem;
  font-size: 0.9rem;
  color: #222;
}

.comment-reply-link {
  font-size: 0.8rem;
  color: #0078d4;
  text-decoration: none;
}

.comment-reply-link:hover {
  text-decoration: underline;
}

#commentform input,
#commentform textarea {
  width: 100%;
  padding: 0.5rem;
  margin-bottom: 0.75rem;
  border: 1px solid #c9def1;
  border-radius: 4px;
  font-size: 0.95rem;
  background-color: #fff;
}

#commentform input[type="submit"] {
  background-color: #0078d4;
  color: white;
  border: none;
  padding: 0.6rem 1.25rem;
  border-radius: 4px;
  font-size: 0.95rem;
  cursor: pointer;
}

#commentform input[type="submit"]:hover {
  background-color: #005a9e;
}

#toggle-comment-form {
  display: block;
  margin: 1.5rem auto;
  background-color: transparent;
  color: #0078d4;
  font-size: 0.9rem;
  padding: 0.4rem 0.6rem;
  border: 1px solid #c2e0f4;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  max-width: 200px;
  text-align: center;
}

#toggle-comment-form:hover {
  background-color: #eaf3fb;
}




/* SEZIONE CENTRALE A TUTTA LARGHEZZA */
.section-fullwidth {
  padding: 0;
}

.section-fullwidth .image-wrapper {
  width: 100%;
  overflow: hidden;
  border-radius: 8px; /* Arrotonda i bordi dell'immagine */
}

.section-fullwidth .image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.section-fullwidth .community-content {
  text-align: center;
  padding: 4rem 1rem;
}


/* BLOCCO CON IMMAGINE IN CARD E TESTO A LATO */
.devex-card-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  padding: 4rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.devex-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
}

.devex-card img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 180px;
  border-radius: 8px;
  object-fit: cover;
}

.devex-card-text {
  max-width: 500px;
}

.devex-quote {
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.6;
  color: #1a1a1a;
  margin: 0;
}

.devex-cite {
  font-size: 0.95rem;
  color: #666;
  display: block;
  margin-top: 0.5rem;
}



/* Card con ombra e bordo arrotondato */
.card {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease;
}

.card:hover {
  transform: translateY(-5px);
}

.card-wide {
  flex: 1 1 100% !important;
}

.card:nth-child(odd) {
  background-color: #f9f9f9;
}
.card:nth-child(even) {
  background-color: #ffffff;
}

.news-card {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid #e2e2e2;
}


.news-image img {
  width: 140px;
  height: 100px;
  object-fit: cover;
  border-radius: 6px;
}

.news-content {
  flex: 1;
}

.news-meta {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.news-category {
  font-weight: 600;
  color: #0078D4;
}

.news-dot {
  font-size: 1rem;
  line-height: 1;
}

.news-title {
  font-size: 1.1rem;
  margin: 0.25rem 0 0.5rem;
}

.news-excerpt {
  font-size: 0.95rem;
  color: #444;
  margin-bottom: 0.5rem;
}

/* Pulsante primario con colori Microsoft e arrotondamento */
.btn-primary {
    background-color: #0078D4;
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
    display: inline-block;
    text-align: center;
    text-decoration: none;
}
.btn-primary:hover,
.btn-primary:focus {
    background-color: #005A9E;
    outline: none;
}

/* Form inputs arrotondati */
input[type="text"],
input[type="email"],
textarea,
select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
    margin-bottom: 1rem;
    box-sizing: border-box;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus,
select:focus {
    border-color: #0078D4;
    box-shadow: 0 0 0 3px rgba(0,120,212,0.3);
    outline: none;
}




.meta-sidebar {
  display: flex;
  flex-direction: column;
  justify-content: center;   /* centra verticale */
  align-items: center;       /* centra orizzontale */
  height: 100vh;             /* 100% altezza viewport */
  padding: 1rem;
}

/* HEADER */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
  box-sizing: border-box;
  padding: 0.55rem 3.6rem;
  background-color: rgba(255,255,255,0.95);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(8px);
}

/* BRANDING LOGO D'AUTORE (MONOCROMATICO ARDESIA + ACCENTO AMBRA) */
.site-brand-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none !important;
  color: inherit;
  transition: opacity 0.2s ease;
}

.site-brand-link:hover {
  text-decoration: none !important;
  opacity: 0.92;
}

.site-brand-badge {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 9px;
  background-color: #fffdfa;
  border: 2px solid #0f172a;
  color: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading, "Plus Jakarta Sans", sans-serif);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: -0.5px;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.site-brand-link:hover .site-brand-badge {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(180, 83, 9, 0.18);
  background-color: #fef3c7;
  border-color: #b45309;
  color: #b45309;
}

.site-brand-dot {
  position: absolute;
  top: -3px;
  right: -3px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: #b45309; /* ambra editoriale */
  border: 2px solid #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.site-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.site-brand-name {
  font-family: var(--font-heading, "Plus Jakarta Sans", sans-serif);
  font-size: 1.12rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.015em;
  white-space: nowrap;
}

.site-brand-roles {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-top: 3px;
  white-space: nowrap;
}

.role-tech {
  color: #64748b;
}

.role-separator {
  color: #cbd5e1;
  font-weight: 400;
  font-size: 0.65rem;
}

.role-author {
  color: #b45309; /* ambra coerente con la sezione narrativa */
  font-weight: 800;
  letter-spacing: 1px;
}

/* Tablet e smartphone */
@media (max-width: 1024px) {
  .site-header {
    padding: 0.55rem 1.5rem;
  }
}

@media (max-width: 768px) {
  .site-header {
    padding: 0.65rem 1.25rem;
  }
  .site-brand-badge {
    width: 36px;
    height: 36px;
    font-size: 13px;
  }
  .site-brand-name {
    font-size: 1.02rem;
  }
  .site-brand-roles {
    font-size: 0.62rem;
  }
}

@media (max-width: 480px) {
  .site-brand-roles {
    display: none; /* su smartphone stretto mantiene solo il nome per evitare collisioni */
  }
}



/* MENU PRINCIPALE */
.menu {
  display: flex;
  gap: 2rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.menu li {
  position: relative;
}

.menu li a {
  display: block;
  padding: 0.6rem 1rem;
  color: #1e1e1e;
  font-weight: 500;
  font-size: 0.95rem;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  background-color: transparent;
  transition: background-color 0.3s ease, color 0.3s ease;
  border-bottom: 2px solid transparent;
}

.menu li a:hover {
  color: #005A9E;
  background-color: #eaf4ff; /* azzurro leggero */
  cursor: pointer;
  /* border-bottom: 2px solid #005A9E; */
}

/* SOTTOMENU (2º livello) */
.sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #ffffff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
  border: 1px solid #e5e7eb;
  padding: 0.5rem 0;
  border-radius: 8px;
  min-width: 220px;
  z-index: 1000;
  list-style: none;
}

/* Mostra il dropdown su hover */
.menu li:hover > .sub-menu {
  display: block;
}

/* Link nel dropdown */
.sub-menu li {
  position: relative;
  padding: 0;
}

.sub-menu li a {
  display: block;
  padding: 0.6rem 1.2rem;
  font-size: 0.9rem;
  line-height: 1.3;
  color: #1e293b;
  text-decoration: none;
  white-space: nowrap;
  background-color: transparent;
  transition: all 0.2s ease;
}

.sub-menu li a:hover {
  background-color: #f1f5f9;
  color: #0078D4; 
  cursor: pointer;
  padding-left: 1.4rem;
}

/* Sicurezza per elementi separatore */
.sub-menu li.menu-divider,
.menu li.menu-divider {
  pointer-events: none;
  padding: 0;
  margin: 6px 0;
}

.sub-menu li.menu-divider a,
.menu li.menu-divider a {
  height: 1px;
  padding: 0;
  margin: 0 12px;
  background: #e2e8f0;
  font-size: 0;
  line-height: 0;
}

/* SOTTOMENU del SOTTOMENU (3º livello) */
.sub-menu .sub-menu {
  top: 0;
  left: 100%;
  display: none;
  position: absolute;
  background-color: white;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  padding: 0.5rem 0;
  border-radius: 6px;
  min-width: 200px;
  z-index: 1001;
}

.sub-menu .sub-menu li a {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  background-color: transparent;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.sub-menu .sub-menu li a:hover {
  background-color: #f4faff; /* sfondo coerente e sottile */
  color: #005A9E;
  cursor: pointer;
}

.sub-menu li:hover > .sub-menu {
  display: block;
}

/* MOBILE MENU */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
}

@media (max-width: 768px) {
  .site-header {
    flex-direction: column;
    align-items: center;
  }

  .site-nav {
    flex-direction: column;
    align-items: flex-end;
    display: none;
  }

  .site-nav.active {
    display: flex;
  }

  .menu {
    flex-direction: column;
    gap: 1rem;
  }

  .menu-toggle {
    display: block;
    margin-top: 1rem;
  }

  .sub-menu,
  .sub-menu .sub-menu {
    position: static;
    box-shadow: none;
    min-width: auto;
    background-color: transparent;
    padding: 0;
  }

  .sub-menu li a {
    padding-left: 1.5rem;
  }

  .sub-menu .sub-menu li a {
    padding-left: 2.5rem;
  }
}

@media (max-width: 992px) {
  .menu ul, .menu li {
    list-style: none !important;
  }
  .menu li {
    display: block !important;
  }
	 .menu li a {
    line-height: 1.5; /* o valore adatto al tuo tema */
  }
}

.menu .menu-rosso > a {
  color: rgba(255, 0, 0, 0.5) !important;
}

.menu .menu-verde > a {
  color: #009e44 !important;
}

.menu .menu-blu > a {
  color: #005A9E !important;
}

.menu .menu-divider {
  pointer-events: none; /* non cliccabile */
}

.menu .menu-divider > a {
  padding: 0;
  height: 1px;
  background: #ccc;
  display: block;
  margin: 8px 0;
  font-size: 0;
  line-height: 0;
}

/* ARTICOLI */
.ultimi-articoli .articoli-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.ultimi-articoli h2 {
  max-width: 1200px;
  margin: 0 auto 1rem auto;

}


/* Footer semplice */
.site-footer {
    background-color: #f3f6f9;
    padding: 2rem 1rem;
    text-align: center;
    color: #666;
    font-size: 0.9rem;
    border-top: 1px solid #ddd;
    margin-top: 4rem;
}

/* ==========================================================================
   HOMEPAGE: CINEMATIC EXECUTIVE / MUSSO + SPECTER LUXURY EDITORIAL
   ========================================================================== */

/* 1. Hero Cinematica */
.hero-cinematic {
  position: relative;
  background: #090e17; /* Deep Midnight Slate */
  color: #ffffff;
  padding: 5.5rem 1.5rem 5rem;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-cinematic-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 75% 30%, rgba(30, 58, 138, 0.22) 0%, rgba(9, 14, 23, 0.95) 75%);
  pointer-events: none;
}

.hero-cinematic-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
  position: relative;
  z-index: 2;
}

.hero-cinematic-content {
  flex: 1 1 620px;
}

.hero-cinematic-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #38bdf8; /* Sky Blue accent */
  margin-bottom: 1.25rem;
}

.hero-cinematic-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3.6rem;
  font-weight: 400;
  color: #f8fafc;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 1.75rem 0;
}

.hero-cinematic-quote {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  line-height: 1.7;
  color: #cbd5e1;
  font-style: italic;
  max-width: 600px;
  margin: 0 0 2.5rem 0;
  border-left: 2px solid rgba(56, 189, 248, 0.5);
  padding-left: 1.25rem;
}

.hero-cinematic-actions {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.btn-cinematic-primary {
  background: #0078D4;
  color: #ffffff !important;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 0.85rem 1.8rem;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.25s ease;
  display: inline-block;
  box-shadow: 0 4px 14px rgba(0, 120, 212, 0.35);
}

.btn-cinematic-primary:hover {
  background: #005A9E;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 120, 212, 0.45);
  text-decoration: none;
}

.btn-cinematic-secondary {
  background: transparent;
  color: #f1f5f9 !important;
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  padding: 0.85rem 1.8rem;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.25s ease;
  display: inline-block;
}

.btn-cinematic-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #ffffff;
  text-decoration: none;
}

/* Ritratto Executive/Musso */
.hero-cinematic-portrait {
  flex: 0 0 380px;
}

.portrait-frame {
  position: relative;
  width: 100%;
  height: 460px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.portrait-overlay-glow {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 35%;
  background: linear-gradient(to top, rgba(9, 14, 23, 0.85), transparent);
}

/* ==========================================================================
   2. VETRINA OPERE (SHOWCASE D'AUTORE)
   ========================================================================== */
.opere-showcase {
  background: #ffffff;
  padding: 5rem 1.5rem 4.5rem;
  border-bottom: 1px solid #e2e8f0;
}

.opere-showcase-container {
  max-width: 1200px;
  margin: 0 auto;
}

.showcase-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.5rem;
}

.showcase-pretitle {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #64748b;
  margin-bottom: 0.5rem;
}

.showcase-header h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.4rem;
  font-weight: 400;
  color: #0f172a;
  margin: 0 0 0.6rem;
}

.showcase-header p {
  font-size: 1.05rem;
  color: #475569;
  margin: 0;
}

.opere-dual-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

.opera-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 2.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.opera-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.06);
  border-color: #cbd5e1;
}

.opera-card-inner {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

.opera-cover-wrap {
  flex-shrink: 0;
  width: 150px;
  position: relative;
}

.opera-cover-wrap img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  display: block;
}

.opera-type-badge {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}

.opera-type-badge.tech {
  background: #e0f2fe;
  color: #0284c7;
}

.opera-type-badge.lit {
  background: #fef3c7;
  color: #b45309;
}

.opera-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.opera-year {
  font-size: 0.78rem;
  font-weight: 600;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.3rem;
}

.opera-info h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  font-weight: 600;
  color: #0f172a;
  margin: 0 0 0.5rem;
  line-height: 1.25;
}

.opera-subtitle {
  font-size: 0.95rem;
  color: #334155;
  font-weight: 500;
  line-height: 1.5;
  margin: 0 0 0.75rem;
}

.opera-abstract {
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.6;
  margin: 0 0 1.5rem;
}

.opera-cta-group {
  margin-top: auto;
  display: flex;
  gap: 1rem;
  align-items: center;
}

.opera-btn {
  font-size: 0.9rem;
  font-weight: 600;
  color: #0078D4;
  text-decoration: none;
  transition: gap 0.2s ease;
}

.opera-btn:hover {
  text-decoration: underline;
}

.opera-btn.lit {
  color: #b45309;
}

.opera-btn-ghost {
  font-size: 0.85rem;
  color: #64748b;
  text-decoration: none;
}

.opera-btn-ghost:hover {
  color: #0f172a;
  text-decoration: underline;
}

/* ==========================================================================
   3. STATEMENT SPECTER (NETTO, METRICO, EXECUTIVE)
   ========================================================================== */
.executive-statement {
  background: #0f172a; /* Slate 900 */
  color: #ffffff;
  padding: 3.5rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.executive-statement-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.statement-metric {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
}

.statement-metric .num {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: #38bdf8;
  line-height: 1;
}

.statement-metric .lbl {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #94a3b8;
  margin-top: 0.35rem;
}

.statement-text {
  flex: 1;
}

.statement-text p {
  font-size: 1.15rem;
  line-height: 1.65;
  color: #e2e8f0;
  margin: 0;
}

.statement-text strong {
  color: #ffffff;
}

.statement-action {
  flex-shrink: 0;
}

.btn-statement {
  background: transparent;
  color: #38bdf8 !important;
  border: 1px solid rgba(56, 189, 248, 0.4);
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
  display: inline-block;
  white-space: nowrap;
}

.btn-statement:hover {
  background: rgba(56, 189, 248, 0.1);
  border-color: #38bdf8;
  text-decoration: none;
}

/* Responsive Cinematic */
@media (max-width: 992px) {
  .hero-cinematic-container {
    flex-direction: column-reverse;
    text-align: center;
    gap: 3rem;
  }

  .hero-cinematic-quote {
    border-left: none;
    padding-left: 0;
    margin: 0 auto 2rem;
  }

  .hero-cinematic-actions {
    justify-content: center;
  }

  .hero-cinematic-portrait {
    flex: 0 0 auto;
    width: 100%;
    max-width: 320px;
  }

  .portrait-frame {
    height: 380px;
  }

  .opere-dual-grid {
    grid-template-columns: 1fr;
  }

  .executive-statement-container {
    flex-direction: column;
    text-align: center;
    gap: 1.75rem;
  }
}

/* Hero Enhancement (Vecchia hero mantenuta per retrocompatibilità) */
.hero-editorial {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 5.5rem 1.5rem 5rem;
  text-align: center;
  color: #ffffff;
  overflow: hidden;
}

.hero-editorial::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(16, 24, 40, 0.82) 0%, rgba(16, 24, 40, 0.90) 100%);
  z-index: 1;
}

.hero-editorial > * {
  position: relative;
  z-index: 2;
}

.hero-editorial .hero-container {
  max-width: 900px;
  margin: 0 auto;
}

.hero-editorial .hero-eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #60a5fa;
  font-weight: 600;
  margin-bottom: 1rem;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.35rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-editorial h1 {
  font-size: 2.8rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 1rem 0;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.hero-editorial .hero-lead {
  font-size: 1.2rem;
  line-height: 1.7;
  color: #e2e8f0;
  margin: 0 auto 2.5rem;
  max-width: 760px;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* Secondary & Ghost Buttons */
.btn-secondary {
  background-color: transparent;
  color: #ffffff !important;
  border: 2px solid rgba(255, 255, 255, 0.7);
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.25s ease;
  display: inline-block;
  text-align: center;
  text-decoration: none;
}

.btn-secondary:hover {
  background-color: #ffffff;
  color: #0078D4 !important;
  border-color: #ffffff;
  text-decoration: none;
}

/* Bivio / Dual Hub Section */
.dual-hub-section {
  padding: 4rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.dual-hub-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  align-items: stretch;
}

.hub-card {
  background: #ffffff;
  border: 1px solid #e1dfdd;
  border-radius: 12px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.hub-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
  border-color: #0078D4;
}

.hub-card-header {
  margin-bottom: 1.25rem;
}

.hub-badge {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 700;
  padding: 0.3rem 0.8rem;
  border-radius: 4px;
  margin-bottom: 0.75rem;
}

.hub-badge.it {
  background-color: #e6f2fb;
  color: #0078D4;
}

.hub-badge.creative {
  background-color: #fdf3e7;
  color: #c45500;
}

.hub-card h2 {
  font-size: 1.6rem;
  font-weight: 600;
  color: #201f1e;
  margin: 0.5rem 0 0.75rem 0;
  line-height: 1.3;
}

.hub-card p {
  color: #494544;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.hub-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
}

.hub-features li {
  padding: 0.5rem 0;
  font-size: 0.95rem;
  color: #323130;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #f3f2f1;
}

.hub-features li:last-child {
  border-bottom: none;
}

.hub-features li i,
.hub-features li span.icon {
  margin-right: 0.75rem;
  color: #0078D4;
  font-weight: bold;
}

.hub-card.creative .hub-features li i,
.hub-card.creative .hub-features li span.icon {
  color: #c45500;
}

.hub-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  color: #0078D4;
  text-decoration: none;
  margin-top: auto;
  transition: gap 0.2s ease;
}

.hub-card.creative .hub-cta-link {
  color: #c45500;
}

.hub-cta-link:hover {
  gap: 0.8rem;
  text-decoration: none;
}

/* Manifesto / Quote Section */
.manifesto-section {
  background: #ffffff;
  border-top: 1px solid #edebe9;
  border-bottom: 1px solid #edebe9;
  padding: 4.5rem 1.5rem;
  margin: 2rem 0;
  text-align: center;
}

.manifesto-container {
  max-width: 860px;
  margin: 0 auto;
}

.manifesto-quote {
  font-size: 1.45rem;
  line-height: 1.65;
  color: #201f1e;
  font-weight: 400;
  font-style: italic;
  margin: 0 0 1.25rem 0;
}

.manifesto-cite {
  font-size: 0.95rem;
  color: #605e5c;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
}

/* Section Header Styling */
.section-heading-wrapper {
  max-width: 1200px;
  margin: 3.5rem auto 1.5rem auto;
  padding: 0 1rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-bottom: 2px solid #e1dfdd;
  padding-bottom: 0.75rem;
}

.section-heading-wrapper h2 {
  font-size: 1.7rem;
  font-weight: 600;
  color: #201f1e;
  margin: 0;
}

.section-heading-wrapper .section-all-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: #0078D4;
}

/* Video Presentation Box */
.antologia-video-wrapper {
  max-width: 1200px;
  margin: 3.5rem auto;
  padding: 0 1rem;
}

.antologia-card {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e1dfdd;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
}

.antologia-card .text-col {
  flex: 1 1 360px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.antologia-card .video-col {
  flex: 1 1 480px;
  background: #000;
  min-height: 280px;
  position: relative;
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .dual-hub-grid {
    grid-template-columns: 1fr;
  }
  .hero-editorial h1 {
    font-size: 2.2rem;
  }
  .manifesto-quote {
    font-size: 1.2rem;
  }
  .section-heading-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}

/* ==========================================================================
   BIO & AUTHOR PAGE STYLING
   ========================================================================== */

.bio-page-container {
  max-width: 980px;
  margin: 3.5rem auto 5rem auto;
  padding: 0 1.5rem;
}

.bio-hero-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e1dfdd;
  padding: 3rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  display: flex;
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 2.5rem;
}

.bio-avatar-frame {
  flex-shrink: 0;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #f3f6f9;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.bio-avatar-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bio-hero-details {
  flex: 1;
}

.bio-pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.bio-pill {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: #eef2f6;
  color: #3b82f6;
}

.bio-pill.accent {
  background: #fef3c7;
  color: #b45309;
}

.bio-hero-title {
  font-size: 2.4rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 0.4rem 0;
  line-height: 1.2;
}

.bio-hero-role {
  font-size: 1.15rem;
  color: #64748b;
  font-weight: 500;
  margin: 0 0 1rem 0;
}

.bio-quote-callout {
  background: #f8fafc;
  border-left: 4px solid #0078D4;
  padding: 1rem 1.25rem;
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: #334155;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-top: 1rem;
}

.bio-quote-author {
  display: block;
  font-style: normal;
  font-size: 0.85rem;
  font-weight: 600;
  color: #64748b;
  margin-top: 0.35rem;
  text-align: right;
}

/* Bio Content Blocks */
.bio-content-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e1dfdd;
  padding: 3rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  margin-bottom: 2.5rem;
}

.bio-prose h2 {
  font-size: 1.6rem;
  color: #1e293b;
  margin: 2rem 0 1rem 0;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #f1f5f9;
}

.bio-prose h2:first-of-type {
  margin-top: 0;
}

.bio-prose p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #334155;
  margin-bottom: 1.25rem;
}

.bio-prose p.lead {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #0f172a;
  font-weight: 500;
}

/* Dual Pillar Showcase */
.bio-pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
}

.bio-pillar-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.75rem;
}

.bio-pillar-box.tech {
  border-top: 4px solid #0078D4;
}

.bio-pillar-box.creative {
  border-top: 4px solid #c45500;
}

.bio-pillar-box h3 {
  font-size: 1.25rem;
  margin: 0 0 0.75rem 0;
  color: #1e293b;
}

.bio-pillar-box ul {
  padding-left: 1.25rem;
  margin: 0;
  color: #475569;
}

.bio-pillar-box li {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Collaborations Badges */
.collab-badges-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.collab-badge {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  color: #334155;
  font-weight: 500;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

/* Bottom CTA Banner */
.bio-cta-banner {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border-radius: 16px;
  padding: 3rem 2.5rem;
  color: #ffffff;
  text-align: center;
}

.bio-cta-banner h2 {
  font-size: 1.8rem;
  color: #ffffff;
  margin: 0 0 0.75rem 0;
}

.bio-cta-banner p {
  color: #cbd5e1;
  font-size: 1.05rem;
  max-width: 650px;
  margin: 0 auto 2rem auto;
  line-height: 1.6;
}

.bio-cta-actions {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .bio-hero-card {
    flex-direction: column;
    text-align: center;
    padding: 2rem 1.5rem;
  }
  .bio-pillars-grid {
    grid-template-columns: 1fr;
  }
  .bio-content-card {
    padding: 2rem 1.5rem;
  }
  .bio-pill-group {
    justify-content: center;
  }
  .bio-quote-callout {
    text-align: left;
  }
}