html,
body {
  width: 100%;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: #000;
}

@media (min-width: 640px) {
  .container {
    max-width: 640px;
  }
}

@media (min-width: 1020px) {
  .container {
    max-width: 1020px;
  }
}

@media (min-width: 1400px) {
  .container {
    max-width: 1200px;
  }
}

a {
  color: #333;
  text-decoration: none;
}

a:hover {
  color: #333;
  text-decoration: underline;
}

.Inter {
  font-family: "Inter", sans-serif;
}


.Mery {
  font-family: "Merriweather", serif;
}

.text-body-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}
.text-headline-sm {
  font-family: Inter, sans-serif !important;
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.user-icon {
  font-size: 32px;
}

.user-face {
  font-size: 0.8rem;
  line-height: 1rem;
}

.testata-menu {
  font-size: 0.8rem;
}

.testata-menu a {
  transition: all 0.2s ease;
  font-weight: 500;
}

.testata-menu a:hover {
  color: #333 !important;
  text-decoration: underline;
  transform: translateY(-1px);
}

@media (max-width: 992px) {
  .margin {
    margin: 0 -12px;
  }
}

.dida{
  font-size: 0.875rem;
  color: #555;
}

/* USER DROPDOWN */
button.user-icon {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  line-height: 1;
}

button.user-icon.dropdown-toggle::after {
  display: none;
}

.user-dropdown-menu {
  min-width: 180px;
  border: 1px solid #e8e8e8;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  padding: 0.4rem 0;
  margin-top: 0.5rem !important;
}

.user-dropdown-menu .dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #333;
  padding: 0.55rem 1.1rem;
  border-radius: 0;
}

.user-dropdown-menu .dropdown-item i {
  width: 1rem;
  text-align: center;
  font-size: 0.8rem;
  color: #bbb;
  flex-shrink: 0;
}

.user-dropdown-menu .dropdown-item:hover {
  background: #f8f8f8;
  color: #000;
}

.user-dropdown-menu .dropdown-item:hover i {
  color: #555;
}

.user-dropdown-menu .dropdown-divider {
  margin: 0.3rem 0;
  border-color: #f0f0f0;
}

.user-dropdown-menu .dropdown-item--danger {
  color: #c00;
}

.user-dropdown-menu .dropdown-item--danger i {
  color: #c00;
}

.user-dropdown-menu .dropdown-item--danger:hover {
  background: #fff5f5;
  color: #a00;
}

/* Hero Image with Title Overlay */
.hero-image-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 0 0 4px 4px;
}

.hero-image-wrapper::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 75%;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.92) 0%,
    rgba(0, 0, 0, 0.75) 16%,
    rgba(0, 0, 0, 0.45) 35%,
    rgba(0, 0, 0, 0.15) 54%,
    rgba(0, 0, 0, 0) 100%
  );
  pointer-events: none;
  border-radius: 0 0 4px 4px;
}

.hero-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 3rem 4rem;
  z-index: 2;
  color: #fff;
  border-radius: 0 0 4px 4px;
  max-width: 900px;
}

.hero-content .title {
  color: #fff;
  font-family: "Merriweather", serif;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6),
               0 1px 3px rgba(0, 0, 0, 0.8);
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.hero-content .signature {
  color: #fff;
  font-size: 0.875rem;
}

@media (max-width: 992px) {
  .hero-content {
    padding: 1.5rem;
  }
}


/* Article */
.article {
  padding-bottom: 12px;
  margin-bottom: 12px;
}

.article p {
  margin-top: 1.25em;
  margin-bottom: 1.25em;
}

.article .img img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
  background-color: #ccc;
  border-radius: 4px;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

img.gdbplus-icon {
  width: 30px;
  height: auto;
  background-color: transparent;
}

.article .title {
  font-weight: 600;
  font-family: "Merriweather", serif;
}

.article .title a {
  transition: color 0.2s ease;
}

.article .title a:hover {
  color: #000;
  text-decoration: underline;
}
.article.territori .title {
  font-weight: 700;
  font-family: "Merriweather", serif;
  font-size: 1.1rem;
  line-height: 1.375rem;
}

.article.special {
  padding: 12px;
  margin-bottom: 12px;
  background-color: #f3f3f3;
}

/* Territori Container - Stile migliorato */
.territori.bg-light {
  background: linear-gradient(to bottom, #fafafa 0%, #f5f5f5 100%) !important;
  border-top: 3px solid #0570a4;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  position: relative;
}

.territori.bg-light::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #0570a4 0%, #0891d1 100%);
}

/* Sovrascrivi i border-end predefiniti */
.territori.bg-light .border-end {
  border-right: 1px solid #e0e0e0 !important;
}

.article.territori {
  position: relative;
  transition: all 0.3s ease;
  cursor: pointer;
}

.article.territori:hover {
  background-color: rgba(5, 112, 164, 0.03);
  transform: translateY(-2px);
}

.article.territori:hover .title {
  color: #0570a4;
}

.article.territori .img img {
  border-radius: 6px;
  transition: transform 0.3s ease;
}

.article.territori:hover .img img {
  transform: scale(1.03);
}

/* Title size */
.title-sm {
  font-size: 1rem;
  line-height: 1.2rem;
}

.title-md {
  font-size: 1.2rem;
  line-height: 1.5rem;
}

.title-lg {
  font-size: 1.4rem;
  line-height: 1.7rem;
}

.title-xl {
  font-size: 2.1rem;
  line-height: 2.4rem;
}

.title-xxl {
  font-size: 2.5rem;
  line-height: 2.8rem;
}

.title-display {
  font-size: 2.5rem;
  line-height: 3rem;
}

@media (max-width: 640px) {
  .title-md {
    font-size: 1rem;
    line-height: 1.125rem;
  }

  .title-lg {
    font-size: 1.2rem;
  }

  .title-xl {
    font-size: 1.5rem;
    line-height: 1.875rem;
  }

  .title-xxl {
    font-size: 2rem;
    line-height: 1.9rem;
  }
  .title-display {
    font-size: 2rem;
    line-height: 2.4rem;
  }
}

@media (max-width: 1400px) {
  .title-md {
    font-size: 1.1rem;
    line-height: 1.4rem;
  }

  .title-lg {
    font-size: 1.3rem;
    line-height: 1.7rem;
  }

  .title-xl {
    font-size: 2rem;
    line-height: 2.1rem;
  }

  .title-xxl {
    font-size: 2rem;
    line-height: 2.2rem;
  }
  .title-display {
    font-size: 2.2rem;
    line-height: 2.6rem;
  }
}

.article .summary {
  font-size: 0.875rem;
  color: #555;
  line-height: 1.5;
  margin-top: 5px;
}

.article.territori .summary {
  font-size: 0.875rem;
  margin-top: 0.5rem;
}

.category {
  font-size: 0.7rem;
  font-weight: 600;
  color: #000;
  display: inline-block;
  padding: 3px 0px;
  border-radius: 3px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.category.plus {
  background-color: #ffdd00;
  color: #000;
  padding: 3px 8px;
}

.category.sponsored {
  background-color: #ffe4e4;
  color: #000;
  padding: 3px 8px;
}

.article .gdbplus {
  background: linear-gradient(90deg, #fff 20%, #fff095 100%);
  border-radius: 0 20px 20px 0;
  padding: 2px 6px;
}

.etichetta-rossa {
  font-size: 0.7rem;
  font-weight: 600;
  background-color: #e60b0b;
  color: #fff;
  display: inline-block;
  padding: 3px 8px;
  border-radius: 3px;
  letter-spacing: 0.3px;
}

.adv {
  width: 300px;
  height: 250px;
  background-color: #fd716c;
  margin: 0 auto;
}

.adv.musthead {
  width: 970px;
  height: 250px;
}

.signature {
  font-size: 0.875rem;
  color: #555;
  font-weight: 500;
  margin-top: 5px;
}

.related-articles {
  font-size: 0.875rem;
  color: #333;
}

.related-articles ul {
  list-style-type: square;
}

.related-articles ul li::marker {
  color: #ffdd00;
}

.fotoEditoriale img {
  width: 70px;
  height: auto;
  border-radius: 50%;
  border: 3px solid #ffdd00;
}

.TitleEditoriale {
  font-family: "Merriweather", serif;
  font-size: 0.9rem;
  line-height: 1.2;
  font-weight: 700;
}

.fotoEditoriale i {
  font-size: 45px;
  color: #333;
  border: 2px solid #ffdd00;
  border-radius: 50%;
  color: #ccc;
}

.ContainerEditoriale .signature {
  font-size: 0.7rem;
  color: #555;
  font-weight: 600;
  margin-top: 5px;
}

.titoletto {
  font-size: 1.3rem;
  font-weight: 600;
  color: #333;
}

.titoletto.plus {
  border-left: 4px solid #ffdd00;
  padding-left: 12px;
}

.titoletto-small {
  font-size: 1rem;
  font-weight: 700;
  color: #333;
}

.border-bottom-yellow {
  border-bottom: 2px solid #ffdd00 !important;
}

/*Icon Media*/
.icon-media {
  position: absolute;
  bottom: -1px;
  left: -1px;
  color: #fff;
  font-size: 1.8rem;
  background: transparent;
  padding: 0 10px;
  border-radius: 0 6px 0 0;
}

/* Off-topic section */
.off-topic {
  background-color: #f8f9fa;
  border-radius: 8px;
  padding: 12px 16px !important;
  font-size: 0.875rem;
  font-weight: 500;
}

.off-topic div {
  padding: 4px 12px;
  border-right: 1px solid #dee2e6;
}

.off-topic div:last-child {
  border-right: none;
}

/* Editoriali section improvements */
.editoriali {
  transition: transform 0.2s ease;
}

.editoriali:hover {
  transform: translateX(3px);
}

/* Box with shadow for highlighted articles */
.article-box-shadow {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border-radius: 8px;
  transition: box-shadow 0.3s ease;
}

.article-box-shadow:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

/* Related articles improvements */
.related-articles ul {
  padding: 0 0 0 1.2rem;
  margin: 0;
}

.related-articles li {
  margin-bottom: 0.4rem;
  line-height: 1.5;
}

/* Read more / Leggi anche box */
.read-more-box {
  border-top: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
}

.read-more-label {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #555;
  margin-bottom: 0.5rem;
}

.read-more-link {
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.5;
  color: #000;
  text-decoration: none;
  display: inline-block;
  transition: color 0.2s ease;
  position: relative;
}

.read-more-link i {
  color: #ffdd00;
}



@media (max-width: 767px) {

  .read-more-label {
    font-size: 0.688rem;
  }
  
  .read-more-link {
    font-size: 0.875rem;
  }
}

/* Background section improvements */
.bg-secondary {
  border-radius: 4px;
  padding: 0 !important;
  overflow: hidden;
}

.bg-secondary .border-end:last-child {
  border-right: none !important;
}

/* Main container background */

/* Article hover effect */
.article {
  transition: all 0.2s ease;
}

/* Signature color improvement */
.signature {
  color: #777;
}

/* ADV placeholder styling */
.adv {
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  color: white;
  font-weight: 600;
}

/* Marketing Box Vertical (per colonne strette) */
.article-box {
  border-radius: 8px;
  position: relative;
  transition: all 0.3s ease;
  border: 0px solid #ffdd00;
  padding-bottom: 20px;
  /* box-shadow: 0 4px 10px rgba(255, 221, 0, 0.3); */
  background: #f8e358;
  padding: 0px 0px 20px 0px;
}
.article-box .img img {
  border-radius: 8px 8px 0 0;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.label {
  position: absolute;
  top: -13px;
  left: 15px;
  background-color: #ffdd00;
  padding: 3px 10px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  border-radius: 21px;
  border: 2px solid #ffdd00;
}

.article-box .article-overlay {
  padding: 20px;
  border-radius: 10px;
  margin: -60px 20px 0 20px;
  position: relative;
  align-self: center;
  text-align: center;
  background-color: #fff;
}

.article-box .article-box-title {
  font-family: "Merriweather", serif;
}

.article-box .article-box-description {
  font-size: 0.875rem;
  line-height: 1.4;
  color: #555;
}

/* Section */
.main-title {
  font-family: "Merriweather", serif;
  font-size: 2rem;
  font-weight: 700;
  color: #333;
  margin: 0;
  line-height: 1.2;
}

.territori-section,
.lettere-direttore-section,
.podcast-section-new,
.eventi-section-new,
.zoom-section {
  background: linear-gradient(180deg, #edf0f1 10%, #ffffff 100%);
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 1px 0 0 rgba(0, 0, 0, 0.08) inset,
    0 2px 8px rgba(0, 0, 0, 0.04),
    0 1px 3px rgba(0, 0, 0, 0.06);
}

/* Elemento decorativo angolo superiore sinistro - accento sottile */
.territori-section::before,
.lettere-direttore-section::before,
.podcast-section-new::before,
.eventi-section-new::before,
.zoom-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.12) 0%, transparent 100%);
  z-index: 1;
}

/* Elemento decorativo angolo superiore destro - luce delicata */
.territori-section::after,
.lettere-direttore-section::after,
.podcast-section-new::after,
.eventi-section-new::after,
.zoom-section::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 120px;
  height: 120px;
  background: radial-gradient(
    circle at top right,
    rgba(255, 255, 255, 0.6) 0%,
    transparent 65%
  );
  pointer-events: none;
  z-index: 0;
}

/* ========================================
   SEZIONE PODCAST - REDESIGN COMPATTO
   ======================================== */

/* Header */

@media (min-width: 992px) {
  .podcast-new-header {
    border-right: 1px solid #ccc;
    width: 300px;
    flex-shrink: 0;
  }
}

.podcast-logo {
  width: 80px;
  height: auto;
}

.podcast-new-title {
  font-family: "Merriweather", serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: #2c3e50;
  margin: 0;
  line-height: 1.2;
}

.podcast-new-subtitle {
  font-size: 0.9rem;
  color: #666;
  margin: 0;
  font-weight: 400;
}

.podcast-new-platforms {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.platform-label {
  font-size: 0.85rem;
  color: #666;
  font-weight: 500;
  margin-right: 0.25rem;
}

.platform-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #e0e0e0;
  color: #666;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.platform-badge:hover {
  background: #ffdd00;
  border-color: #ffdd00;
  color: #333;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(255, 221, 0, 0.3);
}

/* Grid Compatto */
.podcast-grid-compact {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.podcast-item-compact {
  position: relative;
}

.podcast-compact-inner {
  background: #fff;
  overflow: hidden;
  border: 1px solid #e8eaed;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.podcast-compact-inner:hover {
  border-color: #ffdd00;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

/* Cover con Play Button */
.podcast-compact-cover {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
}

.podcast-compact-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.podcast-compact-inner:hover .podcast-compact-cover img {
  transform: scale(1.08);
}

/* Play Button */
.podcast-compact-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  background: rgba(255, 221, 0, 0.95);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  font-size: 1.2rem;
  opacity: 0;
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.podcast-compact-play i {
  padding-left: 2px;
}

.podcast-compact-inner:hover .podcast-compact-play {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.1);
}

/* Onde Sonore Decorative */
.podcast-compact-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: linear-gradient(
    to top,
    rgba(255, 221, 0, 0.8) 0%,
    transparent 100%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.podcast-compact-inner:hover .podcast-compact-wave {
  opacity: 1;
}

/* Contenuto */
.podcast-compact-content {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex-grow: 1;
}

.podcast-compact-badge {
  display: inline-block;
  background: #f16e1e;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  align-self: flex-start;
}

.podcast-compact-title {
  font-family: "Merriweather", serif;
  font-size: 1rem;
  font-weight: 700;
  color: #222;
  line-height: 1.3;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.podcast-compact-desc {
  font-size: 0.8rem;
  color: #666;
  line-height: 1.4;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1;
}

.podcast-compact-meta {
  display: flex;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: #888;
  font-weight: 500;
  margin-top: auto;
  padding-top: 0.5rem;
  border-top: 1px solid #f0f0f0;
}

.podcast-compact-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.podcast-compact-meta i {
  color: #ffdd00;
  font-size: 0.85rem;
}



/* FOOTER */
.footer-header {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
  margin-bottom: 0.5rem;
}

.footer-header a {
  font-size: 0.85rem;
  color: #ffffffa6;
  text-decoration: none;
}

.footer-header a:hover {
  color: #ffffff;
  text-decoration: underline;
}


a.footer-brand {
  font-size: 1.25rem !important;
}

.list-footer {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.title-footer-section {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
  margin-bottom: 0.8rem;
}

.footer-text {
  font-size: 0.78rem;
  color: #8C8C8C;
}

.footer-text a {
  color: #8C8C8C;
}


/* App Buttons */
.footer-app-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.app-button {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  border: 1px solid #7c7c7c;
  border-radius: 10px;
  color: #fff !important;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.app-button-label {
  font-size: 0.75rem;
  color: #999;
  font-weight: 400;
}

.app-button:hover .app-button-label{
  color: #ffdd00 !important;
  text-decoration: none !important;
}

.app-button i {
  font-size: 1.75rem;
  flex-shrink: 0;
}

.app-button-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}


.app-button-name {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #ccc;
}

.footer-header a.app-button:hover,
.footer-header a.app-button:hover .app-button-name {
  color: #ffdd00 !important;
  text-decoration: none !important;
}



.podcast-all-link {
  display: inline-flex;
  align-items: center;
  font-size: 1rem;
  font-weight: 600;
  color: #2c3e50;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border: 2px solid #2c3e50;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.podcast-all-link:hover {
  background: #2c3e50;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(44, 62, 80, 0.3);
}

.podcast-all-link i:last-child {
  transition: transform 0.3s ease;
}

.podcast-all-link:hover i:last-child {
  transform: translateX(4px);
}

/* Responsive */
@media (max-width: 1200px) {
  .podcast-grid-compact {
    grid-template-columns: repeat(3, 1fr);
  }

  .podcast-item-compact:nth-child(4) {
    display: none;
  }
}

@media (max-width: 991px) {
  .podcast-grid-compact {
    grid-template-columns: repeat(2, 1fr);
  }

  .podcast-item-compact:nth-child(3),
  .podcast-item-compact:nth-child(4) {
    display: block;
  }
}

@media (max-width: 767px) {
  .podcast-new-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .podcast-new-title {
    font-size: 1.5rem;
  }

  .podcast-new-platforms {
    width: 100%;
    justify-content: flex-start;
  }

  .podcast-grid-compact {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .podcast-compact-content {
    padding: 0.75rem;
  }

  .podcast-compact-title {
    font-size: 0.9rem;
  }

  .podcast-compact-desc {
    font-size: 0.75rem;
  }
}

@media (max-width: 576px) {
  .podcast-grid-compact {
    grid-template-columns: 1fr;
  }

  .podcast-compact-inner {
    display: flex;
    flex-direction: row;
    gap: 0.75rem;
  }

  .podcast-compact-cover {
    width: 100px;
    aspect-ratio: 1;
    flex-shrink: 0;
  }

  .podcast-compact-content {
    flex-grow: 1;
    padding: 0.5rem;
  }
}

/* ========================================
   SEZIONE EVENTI - Design Compatto
   ======================================== */

@media (min-width: 992px) {
  .eventi-header {
    width: 300px;
    flex-shrink: 0;
    border-right: 1px solid #ccc;
  }
}

.eventi-new-title {
  font-family: "Merriweather", serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: #2c3e50;
}

.eventi-new-subtitle {
  font-size: 0.9rem;
  color: #333;
  font-weight: 400;
}

.all-button-new {
  color: #777777;
  font-size: 0.875rem;
  text-transform: uppercase;
  /* border: 1px solid #ccc; */
  display: inline-block;
  font-weight: 400;
  padding: 9px;
  outline: 0;
  -webkit-transition: 0.2s;
  -moz-transition: 0.2s;
  -o-transition: 0.2s;
  -ms-transition: 0.2s;
  transition: 0.2s;
  letter-spacing: 2px;
  font-family: "Days One", sans-serif;
}

.all-button-new.active {
  border-bottom: 3px solid #2c3e50;
  color: #2c3e50;
  font-weight: 600;
}

/* evento corpo*/
.cnt-event-style-3 {
  width: 100%;
}
.cnt-event-style-3 .cnt-image {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
}
.cnt-event-style-3 .cnt-image > a,
.cnt-event-style-3 .cnt-image > a:visited {
  position: relative;
  height: 100%;
  width: 100%;
  display: block;
}
.cnt-event-style-3 .cnt-image .img-thumb {
  width: 100%;
  display: block;
  transition: transform 0.4s ease;
  aspect-ratio: 3 / 2;
}
.cnt-event-style-3 .cnt-content {
  position: relative;
  padding: 10px 0px;
}
.cnt-event-style-3 .cnt-title {
  line-height: 20px;
  font-weight: 400;
  letter-spacing: 0px;
  font-family: "Days One", sans-serif;
}
.cnt-event-style-3 .cnt-title a {
  color: #333;
  transition: transform 0.4s ease;
  text-decoration: none;
}
.cnt-category a,
.cnt-category a:visited {
  color: #cd1313;
  display: inline-block;
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 2px;
  background: #ededed;
  padding: 2px 8px;
  border-radius: 5px;
  text-decoration: none;
  text-transform: uppercase;
  transition: all 0.3s ease;
}
.cnt-event-style-3 .cnt-details {
  margin-bottom: 0px;
  width: 100%;
  display: flex;
  align-items: start;
  flex-wrap: wrap;
  flex-direction: column;
}

.cnt-event-style-3 .cnt-details > div {
  margin-right: 20px;
  margin-bottom: 5px;
}
.cnt-event-style-3 .cnt-status,
.cnt-event-style-3 .cnt-location,
.cnt-event-style-3 .cnt-date,
.cnt-event-style-3 .cnt-time,
.cnt-event-style-3 .cnt-text {
  font-size: 12px;
  color: #555;
  align-items: center;
  display: flex;
}
.cnt-event-style-3 .cnt-location i,
.cnt-event-style-3 .cnt-date i,
.cnt-event-style-3 .cnt-time i {
  font-size: 16px;
}

.cnt-event-style-3 .cnt-details > div {
  margin-right: 20px;
  margin-bottom: 5px;
}
.event-title {
  background: linear-gradient(45deg, #ffdd00, #ffbb00);
  border-radius: 15px;
  width: 70px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

/* ========================================
   CAROUSEL TERRITORI - Sistema Compatto
   ======================================== */
/* Header della sezione */

.territori-header {
  text-align: center;
  padding-top: 20px;
  position: relative;
}

.territori-subtitle {
  font-size: 0.9rem;
  color: #666;
  font-weight: 400;
  margin-bottom: 0;
}

/* Controlli di navigazione */
.territori-nav-controls {
  display: flex;
  gap: 0.5rem;
}

/* Variante CON BORDI */
.territori-nav-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid #3a3a3a;
  background: #fff;
  color: #3a3a3a;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.territori-nav-btn:hover:not(:disabled) {
  background: #555;
  border-color: #555;
  color: #fff;
  transform: scale(1.08);
}

.territori-nav-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  border-color: #ccc;
  color: #ccc;
}

/* Container carousel */
.territori-carousel-container {
  overflow: hidden;
  position: relative;
}

.territori-carousel {
  display: flex;
  gap: 1rem;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0 0.5rem;
}

/* Singolo item carousel */
.territori-carousel-item {
  flex: 0 0 calc(33.333% - 0.667rem);
  min-width: 0;
}

/* Card compatta */
.territori-card-compact {
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  height: 100%;
}

.territori-card-compact .img {
  overflow: hidden;
  border-radius: 4px;
  position: relative;
  aspect-ratio: 16/9;
  position: relative;
}

.badge-territori {
  position: absolute;
  top: 8px;
  right: 8px;
  background-color: #1565c0;
  padding: 3px 8px;
  border-radius: 4px;
  display: inline-block;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  z-index: 100;
}

.territori-card-compact .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.territori-card-compact .title {
  font-family: "Merriweather", serif;
  font-size: 1.2rem;
  line-height: 1.6rem;
  font-weight: 600;
  flex-grow: 1;
}

.territori-card-compact .title a:hover {
  text-decoration: underline;
}

.territori-card-compact .summary {
  font-size: 0.85rem;
  line-height: 1.3rem;
  color: #666;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Indicatori */
.territori-indicators {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.territori-indicator-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e0e0e0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.territori-indicator-dot:hover {
  background: #888;
  transform: scale(1.2);
}

.territori-indicator-dot.active {
  background: #555;
  width: 28px;
  border-radius: 5px;
}

/* Responsive Carousel */
@media (max-width: 991px) {
  .territori-carousel-item {
    flex: 0 0 calc(50% - 0.5rem);
  }
}

@media (max-width: 767px) {
  .territori-carousel-item {
    flex: 0 0 100%;
  }

  .territori-nav-btn {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }
}

/* ========================================
   SEZIONE LETTERE AL DIRETTORE - REDESIGN COMPATTO
   ======================================== */

/* Header sezione */

.lettere-subtitle {
  font-size: 0.9rem;
  color: #666;
  font-weight: 400;
  line-height: 1.5;
}

/* COLONNA SINISTRA - Lettera in evidenza */
.lettera-featured {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e8eaed;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Immagine evocativa lettera */
.lettera-featured-image {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
}

.lettera-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
}

/* Badge "Risponde il Direttore" sull'immagine */
.lettera-badge-featured {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #2c3e50;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 6px 14px;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Contenuto lettera */
.lettera-featured-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.lettera-featured-title {
  font-family: "Merriweather", serif;
  font-weight: 600;
  color: #222;
  margin-bottom: 1rem;
}

.lettera-featured-title a {
  color: #222;
  text-decoration: none;
  transition: color 0.2s ease;
}

.lettera-featured-title a:hover {
  color: #2c3e50;
  text-decoration: none;
}

.lettera-featured-excerpt {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #555;
  font-style: italic;
  margin-bottom: 1.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Footer con firma direttore */
.lettera-featured-footer {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1rem;
  margin-top: auto;
  border-top: 1px solid #e8eaed;
}

.direttore-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid #ffdd00;
  object-fit: cover;
  flex-shrink: 0;
}

.direttore-info {
  flex-grow: 1;
}

.direttore-label {
  font-size: 0.7rem;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.direttore-name {
  font-family: "Merriweather", serif;
  font-size: 1rem;
  font-weight: 700;
  color: #2c3e50;
}

/* COLONNA DESTRA - Ultime 3 lettere */
.lettere-list-container {
  background: #fff;
  border-radius: 8px;
  padding: 1.5rem;
  border: 1px solid #e8eaed;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.lettere-list-title {
  font-family: "Merriweather", serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #f0f0f0;
}

.lettere-list {
  list-style: none;
  padding: 0;
  margin: 0;
  flex-grow: 1;
}

.lettere-list-item {
  padding: 1rem 0;
  border-bottom: 1px solid #f0f0f0;
  transition: all 0.2s ease;
}

.lettere-list-item:last-child {
  border-bottom: none;
}

.lettere-list-item:hover {
  background: #fafafa;
  padding-left: 0.5rem;
  margin-left: -0.5rem;
  padding-right: 0.5rem;
  margin-right: -0.5rem;
  border-radius: 4px;
}

.lettere-list-item a {
  text-decoration: none;
  color: inherit;
}

.lettera-item-title {
  font-family: "Merriweather", serif;
  font-weight: 600;
  color: #333;
  margin-bottom: 0.4rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.lettere-list-item:hover .lettera-item-title {
  color: #2c3e50;
}

.lettera-item-date {
  font-size: 0.8rem;
  color: #888;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.lettera-item-date i {
  font-size: 0.75rem;
  color: #aaa;
}

/* CALL TO ACTION - Invio lettera */
.lettere-cta {
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  color: #fff;
  border-radius: 8px;
  padding: 1.5rem 2rem;
  text-align: center;
  margin-top: 2rem;
  position: relative;
  overflow: hidden;
}

.lettere-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #ffdd00 0%, #ffbb00 100%);
}

.lettere-cta-title {
  font-family: "Merriweather", serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

.lettere-cta-text {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

.lettere-cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #ffdd00;
  color: #000;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(255, 221, 0, 0.3);
}

.lettere-cta-button:hover {
  background: #ffee44;
  color: #000;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 221, 0, 0.4);
}

.lettere-cta-button i {
  transition: transform 0.3s ease;
}

.lettere-cta-button:hover i {
  transform: translateX(3px);
}

/* Responsive */
@media (max-width: 991px) {
  .lettera-featured,
  .lettere-list-container {
    margin-bottom: 1.5rem;
  }

  .lettera-featured-image {
    height: 180px;
  }
}

@media (max-width: 767px) {
  .lettere-subtitle {
    font-size: 0.85rem;
  }

  .lettera-featured-image {
    height: 160px;
  }

  .lettera-featured-content {
    padding: 1.25rem;
  }

  .lettera-featured-excerpt {
    font-size: 0.85rem;
  }

  .lettere-list-container {
    padding: 1.25rem;
  }

  .lettere-cta {
    padding: 1.25rem 1.5rem;
  }

  .lettere-cta-title {
    font-size: 1.1rem;
  }

  .lettere-cta-text {
    font-size: 0.85rem;
  }
}

/* ========================================
   BOTTONI COMUNI
   ======================================== */
.btn-dark {
  color: #fff;
  background-color: #333;
  font-size: 0.875rem;
  padding: 8px 18px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
}

.btn-dark:hover {
  text-decoration: underline;
  color: #fff;
}

.btn-outline-dark {
  color: #333;
  background-color: transparent;
  border: 1px solid #333;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 6px 18px;
  text-align: center;
}

.bg-yellow {
  background-color: #ffdd00;
}

.btn-yellow {
  color: #000;
  font-size: 0.9rem;
  background: #ffdd00;
  font-size: 0.875rem;
  padding: 8px 18px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
}

.btn-yellow:hover {
  color: #000;
  text-decoration: underline;
  transition: all 0.3s ease;
}

/* ========================================
   MARKETING BOX - Design pulito ed elegante
   ======================================== */

.mktg-box {
  background: #f7f7f7;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
  border-radius: 4px;
}

.mktg-title {
  font-family: "Merriweather", serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #000;
  line-height: 1.3;
}

.mktg-description {
  font-size: 0.875rem;
  color: #444;
  line-height: 1.5;
  margin-bottom: 0;
}

.mktg-img img {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 4px;
  border: 1px solid #e0e0e0;
}

.mktg-cta-button {
  display: inline-block;
  color: #333;
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.mktg-cta-button:hover {
  text-decoration: underline;
}

.mktg-cta-button i {
  transition: transform 0.2s ease;
}

.mktg-cta-button:hover i {
  transform: translateX(3px);
}

/* Versione speculare per alternare */
.mktg-box.mktg-reverse .d-flex {
  flex-direction: row-reverse;
}

.mktg-box.mktg-reverse .mktg-img .shape {
  right: auto;
  left: -1px;
  clip-path: polygon(0% 0%, 0% 100%, 100% 100%);
}

/* ========================================
   SEZIONE ZOOM - FOTOGRAFIE LETTORI
   ======================================== */

.zoom-section {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* Header */

.zoom-subtitle {
  font-size: 0.85rem;
  color: #666;
  margin: 0;
  font-weight: 400;
}

/* Controlli navigazione */
.zoom-nav-controls {
  display: flex;
  gap: 0.5rem;
}

.zoom-nav-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid #3a3a3a;
  background: #fff;
  color: #3a3a3a;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.zoom-nav-btn:hover:not(:disabled) {
  background: #000;
  border-color: #000;
  color: #fff;
  transform: scale(1.08);
}

.zoom-nav-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  border-color: #ccc;
  color: #ccc;
}

/* Intro */
.zoom-intro {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.zoom-description {
  font-size: 0.875rem;
  color: #555;
  line-height: 1.5;
  margin: 0;
}

/* Carosello container */
.zoom-carousel-container {
  overflow: hidden;
  position: relative;
  margin-bottom: 1rem;
}

.zoom-carousel {
  display: flex;
  gap: 1rem;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0 0.5rem;
}

/* Singolo item carosello */
.zoom-carousel-item {
  flex: 0 0 calc(33.333% - 0.667rem);
  min-width: 0;
}

.zoom-photo-card {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  background: #f8f9fa;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.zoom-photo-card:hover {
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.12);
  transform: translateY(-3px);
}

.zoom-photo-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

/* Indicatori */
.zoom-indicators {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.zoom-indicator-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e0e0e0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.zoom-indicator-dot:hover {
  background: #888;
  transform: scale(1.2);
}

.zoom-indicator-dot.active {
  background: #000;
  width: 28px;
  border-radius: 5px;
}

/* Call to Action */
.zoom-cta-button {
  display: inline-flex;
  align-items: center;
  background: #000;
  color: #ffdd00;
  padding: 0.9rem 1.8rem;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(5, 5, 5, 0.35);
}

.zoom-cta-button:hover {
  background: #ffdd00;
  color: #000;
  text-decoration: none;
  box-shadow: 0 12px 40px rgba(255, 221, 0, 0.4);
}

.zoom-cta-button i.fa-arrow-right {
  transition: transform 0.3s ease;
}

.zoom-cta-button:hover i.fa-arrow-right {
  transform: translateX(4px);
}

.zoom-cta-subtitle {
  font-size: 0.85rem;
  color: #888;
  margin: 0;
}

/* Responsive */
@media (max-width: 991px) {
  .zoom-carousel-item {
    flex: 0 0 calc(50% - 0.5rem);
  }

  .zoom-photo-card img {
    height: 180px;
  }
}

@media (max-width: 767px) {
  .zoom-subtitle {
    font-size: 0.8rem;
  }

  .zoom-description {
    font-size: 0.85rem;
  }

  .zoom-carousel-item {
    flex: 0 0 100%;
  }

  .zoom-photo-card img {
    height: 220px;
  }

  .zoom-cta-button {
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
  }

  .zoom-nav-controls {
    justify-content: center !important;
    margin-top: 1rem;
  }
}

/* Bottoni carousel header — coerenti con navbar bg-yellow */
.btn-carousel-nav {
  background: none;
  border: none;
  padding: 4px 7px;
  cursor: pointer;
  color: #333;
  font-size: 0.9rem;
  line-height: 1;
  border-radius: 3px;
  transition:
    color 0.15s,
    background 0.15s;
}

.btn-carousel-nav:hover,
.btn-carousel-nav:focus-visible {
  background: #ffdd00;
  color: #000;
  outline: none;
}

/* Strip promozionale abbonamento */
.abbonamento-strip {
  background:
    linear-gradient(
      105deg,
      rgba(44, 62, 80, 0.93) 20%,
      rgba(44, 62, 80, 0.62) 100%
    ),
    url("https://images.unsplash.com/photo-1504711434969-e33886168f5c?w=1200&q=70")
      center 30% / cover no-repeat;
  border-radius: 12px;
  padding: 2rem 2.5rem;
  color: #fff;
}

.abbonamento-strip-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: #ffdd00;
  color: #000;
  padding: 0.25rem 0.7rem;
  border-radius: 4px;
  margin-bottom: 0.8rem;
}

.abbonamento-strip-title {
  font-family: "Merriweather", serif;
  font-size: 1.45rem;
  font-weight: 900;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.abbonamento-strip-title em {
  color: #ffdd00;
  font-style: italic;
}

.abbonamento-strip-sub {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
}

.abbonamento-strip-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #ffdd00;
  color: #000;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.7rem 1.55rem;
  border-radius: 50px;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition:
    background 0.2s,
    box-shadow 0.2s;
  box-shadow: 0 4px 14px rgba(255, 221, 0, 0.35);
}

.abbonamento-strip-btn:hover {
  background: #ffee44;
  color: #000;
  box-shadow: 0 6px 20px rgba(255, 221, 0, 0.55);
}

@media (max-width: 767px) {
  .abbonamento-strip {
    padding: 1.5rem 1.25rem;
  }

  .abbonamento-strip-title {
    font-size: 1.15rem;
  }
}


/* article */
.detail-meta-author {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.detail-meta-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #ffdd00;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.detail-meta-avatar img {
    border: 2px solid #fff;
}



.detail-meta-name {
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    color: #333;
    line-height: 1.2;
}

.detail-meta-role {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    color: #777;
}

.detail-meta-sep {
    width: 1px;
    height: 26px;
    background: rgba(75, 75, 75, 0.2);
}

.detail-meta-pills {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}


.detail-meta-pill i {
    color: #ffdd00;
    font-size: 0.7rem;
}


.detail-meta-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    color: #555;
    padding: 0.275rem 0.7rem;
    background: transparent;
    border: none;
    transition: color 0.2s ease;
    position: relative;
}

.detail-meta-pill:not(:last-child)::after {
    content: '•';
    position: absolute;
    right: -0.5rem;
    color: #d5d5d5;
    font-size: 0.7rem;
}

.detail-meta-pill:hover {
    color: #000;
}

.detail-meta-pill i {
    color: #ffdd00;
    font-size: 0.95rem;
}

@media (max-width: 767px) {
    .detail-hero-meta {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 0.75rem !important;
    }
    
    .detail-meta-sep {
        display: none;
    }
    
    .detail-meta-pills {
        gap: 0.65rem;
    }
    
    .detail-meta-pill:not(:last-child)::after {
        right: -0.45rem;
    }
}

.hero-content .detail-meta-avatar {
    border: 2px solid #ffdd00;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.hero-content .detail-meta-name {
    color: #fff;
}

.hero-content .detail-meta-role {
    color: #f7f7f7;
}

.hero-content .detail-meta-sep {
    background: rgba(255, 255, 255, 0.3);
}

.hero-content .detail-meta-pill {
    color: #fff;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 20px;
    padding: 0.35rem 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.detail-meta-pill i {
    color: #ffdd00;
    font-size: 0.7rem;
}

/* ================================================================
   SHARE BAR - Modern circular icon buttons
   ================================================================ */



.share-bar__label {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.share-bar__buttons {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.share-btn i {
    font-size: 1.05rem;
    transition: transform 0.25s;
}

.share-btn span {
    display: none;
}

/* Colori brand */
.share-btn:hover {
    transform: translateY(-3px) scale(1.08);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.share-btn:hover i {
    transform: scale(1.15);
}

/* WhatsApp */
.share-bar__buttons .share-btn:nth-child(1) {
    background: #25D366;
}

/* Telegram */
.share-bar__buttons .share-btn:nth-child(2) {
    background: #0088cc;
}

/* Facebook */
.share-bar__buttons .share-btn:nth-child(3) {
    background: #1877f2;
}

/* X/Twitter */
.share-bar__buttons .share-btn:nth-child(4) {
    background: #000;
}

/* LinkedIn */
.share-bar__buttons .share-btn:nth-child(5) {
    background: #0077b5;
}

/* Email */
.share-bar__buttons .share-btn:nth-child(6) {
    background: #555;
    color: #fff;
}

.share-bar__buttons .share-btn:nth-child(6):hover {
    background: #ffdd00;
    color: #000;
}

@media (max-width: 767px) {
    .share-bar {
        gap: 1rem;
    }
    
    .share-bar__buttons {
        gap: 0.5rem;
    }
    
    .share-btn {
        width: 40px;
        height: 40px;
    }
    
    .share-btn i {
        font-size: 1rem;
    }
}

/* Tags */
.article-tags {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    padding: 1.75rem 0;
    border-bottom: 1px solid #eee;
    margin-top: 0.5rem;
}

.article-tags-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #555;
    flex-shrink: 0;
}

.article-tag {
    display: inline-block;
    padding: 0.3rem 0.875rem;
    background: #f5f5f5;
    color: #555;
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-size: 0.8125rem;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.article-tag:hover {
    background: #ffdd00;
    color: #000;
    text-decoration: none;
}

.article-body {
    font-family: 'Merriweather', serif;
    font-size: 1rem;
    line-height: 1.5;
    color: #2d2d2d;
}

.article-body.premium {
    line-height: 1.7;
}

/* Drop cap primo paragrafo - solo figli diretti di .article-body */

.article-body > p:first-of-type::first-letter {
    font-family: 'Merriweather', serif;
    font-size: 5rem;
    font-weight: 700;
    line-height: 0.82;
    float: left;
    margin-right: 0.12em;
    margin-top: 0.06em;
    color: #111;
}

.article-body h2 {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin: 2rem 0 1.25rem;
    padding-left: 1rem;
    border-left: 4px solid #ffdd00;
    line-height: 1.3;
}

.article-body h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
    margin: 2.25rem 0 0.875rem;
    line-height: 1.4;
}

.article-body p {
    margin-bottom: 1.5rem;
}

.lead{
    font-size: 1rem;
    color: #1a1a1a;
}

@media (max-width: 991px) {
    .lead { font-size: 0.875rem; }
}



.gallery-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #666;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}


/* Solo la prima foto visibile — le altre restano nel DOM per GLightbox */
.gallery-mosaic-item:not(:first-child) {
    display: none;
}

.gallery-mosaic-item {
    position: relative;
    background: #e0e0e0;
    overflow: hidden;
    cursor: zoom-in;
    border-radius: 10px;
}

.gallery-mosaic-item a {
    display: block;
    width: 100%;
    height: 100%;
    cursor: zoom-in;
}

.gallery-mosaic-item a img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

.gallery-mosaic-item:hover a img {
    transform: scale(1.04);
}

.gallery-mosaic-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2.5rem 1rem 0.75rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.65));
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 0.825rem;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.gallery-mosaic-item:hover .gallery-mosaic-caption {
    opacity: 1;
}

/* Badge contatore foto — sempre visibile */
.gallery-mobile-counter {
    display: inline-flex;
    position: absolute;
    bottom: 12px;
    right: 12px;
    align-items: center;
    gap: 0.35rem;
    background: rgba(0,0,0,0.62);
    backdrop-filter: blur(6px);
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.3rem 0.75rem;
    border-radius: 50px;
    pointer-events: none;
    z-index: 4;
}

.gallery-mobile-counter i {
    color: #ffdd00;
    font-size: 0.75rem;
}

/* MAIN MENU */
.main-menu a {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.07em;
    color: #333;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: color 0.15s, border-color 0.15s;
}

.main-menu .btn-none {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.07em;
    color: #333;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    padding: 0;
    line-height: normal;
    vertical-align: baseline;
    box-shadow: none;
    transition: color 0.15s, border-color 0.15s;
}

.main-menu .dropdown {
    display: flex;
    align-items: center;
}


/* HERO PAGEs */

.hero-page {
    background: #1a1a1a;
    color: #fff;
    border-bottom: 3px solid #ffdd00;
}

.hero-page .hero-label {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #ffdd00;
    margin-bottom: 1rem;
}

.hero-page h1 {
    font-family: "Merriweather", serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 1.25rem;
}

.hero-page p.description {
    font-size: 0.9rem;
    line-height: 1.75;
    color: #ccc;
    max-width: 600px;
    margin-bottom: 0;
}

.hero-stat-val {
    font-size: 2.2rem;
    font-weight: 800;
    color: #ffdd00;
    line-height: 1;
}

.hero-stat-lbl {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, .45);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}




/* article widget */

/* ================================================================
   detail.css â€” Dettaglio Articolo Â· Agenda GdB
   Design  : Editorial Portal (hero full-bleed + layout 2 colonne)
   Palette : #000 / #fff / #ffdd00
   Dipende : gdb2.css Â· personal-area.css
   ================================================================ */


/* ================================================================
   HERO FULL-BLEED â€” immagine di copertina con titolo sovrapposto
   ================================================================ */

.detail-img-agenda {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 4px;
}


/* Indicatore scroll animato */
.detail-scroll-hint {
    position: absolute;
    bottom: 1.25rem;
    right: 1.5rem;
    z-index: 3;
    color: rgba(255,255,255,0.3);
    font-size: 1.1rem;
    animation: arrowBounce 1.8s ease infinite;
}

@keyframes arrowBounce {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(7px); }
}


/* ================================================================
   LAYOUT PRINCIPALE â€” 2 colonne: articolo + sidebar
   ================================================================ */

.detail-main {
    padding: 3.5rem 0 4rem;
}

/* Sidebar sticky */
.detail-sidebar {
    position: sticky;
    top: 66px;
    align-self: flex-start;
}


/* ================================================================
   TIPOGRAFIA ARTICOLO
   ================================================================ */



/* Pull quote laterale */
blockquote {
    border-left: 4px solid #ffdd00;
    padding: 1.25rem 1.5rem;
    margin: 2.5rem 0;
    background: #fafafa;
    border-radius: 0 10px 10px 0;
}

blockquote p {
    font-family: 'Merriweather', serif;
    font-size: 1.2rem;
    font-style: italic;
    line-height: 1.65;
    color: #333;
    margin: 0 0 0 0.4rem !important;
}


/* Foto interna */
.article-inline-figure {
    margin: 2.5rem 0;
}

.article-inline-figure img {
    width: 100%;
    border-radius: 8px;
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.article-inline-figure figcaption {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    color: #aaa;
    margin-top: 0.6rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.article-inline-figure figcaption i {
    color: #ffdd00;
    font-size: 0.7rem;
}




/* ================================================================
   SIDEBAR â€” componenti card
   ================================================================ */

.sidebar-card {
    border-radius: 12px;
    overflow: hidden;
}

/* ---- Card Multimedia ---- */
.sidebar-media {
    background: #fff;
    border: 1.5px solid #e8e8e8;
    margin-bottom: 1rem;
}

.sidebar-media-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-media-list li {
    border-bottom: 1px solid #f5f5f5;
}

.sidebar-media-list li:last-child {
    border-bottom: none;
}

.sml-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    text-decoration: none;
    color: inherit;
    transition: background 0.15s;
}

.sml-item:hover {
    background: #fafafa;
    text-decoration: none;
    color: inherit;
}

.sml-thumb {
    flex-shrink: 0;
    width: 64px;
    height: 48px;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
    background: #e8e8e8;
}

.sml-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sml-thumb--video::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.3);
}

.sml-type-badge {
    position: absolute;
    bottom: 4px;
    right: 4px;
    background: #ffdd00;
    color: #000;
    border-radius: 4px;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.55rem;
    z-index: 2;
}

.sml-type-badge--video {
    background: #e00;
    color: #fff;
}

.sml-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.sml-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #bbb;
}

.sml-title {
    font-family: 'Inter', sans-serif;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #222;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sml-count {
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    color: #aaa;
}

.sml-arrow {
    flex-shrink: 0;
    color: #ddd;
    font-size: 0.75rem;
    transition: color 0.2s, transform 0.2s;
}

.sml-item:hover .sml-arrow {
    color: #111;
    transform: translateX(3px);
}

/* ---- Card Info Evento ---- */
.sidebar-event-info {
    background: #fff;
    border: 1.5px solid #e8e8e8;
}

.sc-header {
    padding: 0.625rem 1.125rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    background: #f7f7f7;
    color: #888;
    border-bottom: 1px solid #eeeeee;
}

.sc-body {
    padding: 1rem 1.125rem;
}

.sc-title {
    font-family: 'Merriweather', serif;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.35;
    color: #111;
    margin-bottom: 1rem;
    padding-left: 15px;
    border-left: 4px solid #ffdd00;
}

.sc-row {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.55rem 0;
    border-bottom: 1px solid #f5f5f5;
}

.sc-row:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}

.sc-icon {
    width: 24px;
    height: 24px;
    background: #f7f7f7;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
    border:1px solid #eeeeee;
}

.sc-icon i {
    font-size: 0.7rem;
    color: #555;
}

.sc-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #333;
    margin-bottom: 2px;
}

.sc-value {
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    color: #666;
    line-height: 1.4;
}

.sc-value a {
    color: #111;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.2s;
}

.sc-value a:hover {
    color: #c8a800;
    text-decoration: underline;
}



.sc-cta {
    display: block;
    text-align: center;
    background: #ffdd00;
    color: #000;
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.8rem;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
}

.sc-cta:hover {
    background: #f5d200;
    color: #000;
    text-decoration: none;
    transform: translateY(-1px);
}


/* ---- Mini eventi sidebar ---- */
.sidebar-events {
    background: #fff;
    border: 1.5px solid #eeeeee;
}

.sidebar-events-hdr {
    background: #f7f7f7;
    padding: 0.625rem 1.125rem;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sehdr-title {
    font-family: 'Inter', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #444;
}

.sehdr-link {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    color: #555;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    transition: color 0.2s;
}

.sehdr-link:hover {
    color: #000;
    text-decoration: none;
}

.sidebar-events ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-events li {
    border-bottom: 1px solid #f5f5f5;
}

.sidebar-events li:last-child {
    border-bottom: none;
}

.se-link {
    display: flex;
    align-items: start;
    gap: 0.75rem;
    padding: 0.75rem 1.125rem;
    text-decoration: none;
    color: inherit;
    transition: background 0.15s;
}

.se-link:hover {
    background: #fafafa;
    text-decoration: none;
    color: inherit;
}


.box-title {
    font-family: 'Merriweather', serif;
    font-size: 1rem;
    color: #111;
    line-height: 1.3;
    margin-bottom: 0.15rem;
    font-weight: 600;
}

.box-date {
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    color: #555;
}

.box-date i {
    color: #ffdd00;
}


/* ================================================================
   CORRELATI â€” card orizzontali editoriali
   ================================================================ */

.related-section {
    padding: 4.5rem 0;
    background: #f7f7f7;
    border-top: 1px solid #eeeeee;
}

/* Header di sezione con riga nera */
.section-hdr {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #111;
    gap: 1rem;
}

.section-hdr h2 {
    font-family: 'Days One', sans-serif;
    font-size: 1.375rem;
    color: #111;
    margin: 0;
}

.section-hdr h2 em {
    display: inline-block;
    width: 24px;
    height: 4px;
    background: #ffdd00;
    border-radius: 2px;
    vertical-align: middle;
    margin-right: 0.5rem;
    font-style: normal;
}

.section-hdr-link {
    font-family: 'Inter', sans-serif;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #888;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.section-hdr-link:hover {
    color: #000;
    text-decoration: none;
}

/* Card orizzontale correlato */
.related-h-card {
    display: flex;
    align-items: stretch;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    border: 1.5px solid #eeeeee;
    transition: box-shadow 0.25s, transform 0.2s;
    margin-bottom: 0.875rem;
}

.related-h-card:last-child {
    margin-bottom: 0;
}

.related-h-card:hover {
    box-shadow: 0 6px 24px rgba(0,0,0,0.09);
    transform: translateY(-2px);
    text-decoration: none;
    color: inherit;
}

.related-h-img {
    flex-shrink: 0;
    width: 200px;
    position: relative;
    overflow: hidden;
    background: #e8e8e8;
}

.related-h-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s;
}

.related-h-card:hover .related-h-img img {
    transform: scale(1.06);
}

.related-h-cat {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #ffdd00;
    color: #000;
    font-family: 'Inter', sans-serif;
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
}

.related-h-body {
    padding: 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
    min-width: 0;
}

.related-h-title {
    font-family: 'Merriweather', serif;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.4;
    color: #111;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-h-lead {
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    color: #777;
    line-height: 1.6;
    margin-bottom: 0.875rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-h-meta {
    font-family: 'Inter', sans-serif;
    font-size: 0.775rem;
    color: #555;
}

.related-h-meta i {
    color: #ffdd00;
    margin-right: 0.25rem;
    font-size: 0.7rem;
}

.related-h-arrow {
    display: flex;
    align-items: center;
}




.related-h-card:hover .related-h-arrow {
    color: #111;
    transform: translateX(4px);
}


/* ================================================================
   NEWSLETTER â€” sfondo scuro
   ================================================================ */

.newsletter-section {
    background: #ffdd00;
    padding: 3.5rem 0;
}

.newsletter-inner {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.newsletter-icon-wrap {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    background: #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffdd00;
    font-size: 1.5rem;
}

.newsletter-copy {
    flex: 1;
    min-width: 200px;
}

.newsletter-copy h3 {
    font-family: 'Days One', sans-serif;
    font-size: 1.375rem;
    color: #111;
    margin-bottom: 0.25rem;
}

.newsletter-copy p {
    font-family: 'Inter', sans-serif;
    font-size: 0.9375rem;
    color: #333;
    margin: 0;
}

.newsletter-form {
    display: flex;
    gap: 0.625rem;
    flex-shrink: 0;
}

.newsletter-form input[type="email"] {
    padding: 0.7rem 1.25rem;
    border: 1.5px solid rgba(255,255,255,0.1);
    border-radius: 50px;
    font-size: 0.9375rem;
    font-family: 'Inter', sans-serif;
    width: 250px;
    background: #fff;
    color: #333;
    outline: none;
    transition: border-color 0.2s;
}

.newsletter-form input[type="email"]::placeholder { color: #555; }

.newsletter-form input[type="email"]:focus {
    border-color: #ffdd00;
}

.newsletter-form button {
    background: #333;
    color: #ffdd00;
    border: none;
    border-radius: 50px;
    padding: 0.7rem 1.5rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    cursor: pointer;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: background 0.2s, transform 0.2s;
}

.newsletter-form button:hover {
    background: #f5d200;
    transform: scale(1.03);
}

/* ================================================================
   SIDEBAR - EVENTI (Dettagli specifici)
   ================================================================ */

.se-date {
    background: #333;
    border-radius: 7px;
    padding: 0.45rem 0.6rem;
    text-align: center;
    flex-shrink: 0;
    min-width: 48px;
}

.se-day {
    font-family: 'Days One', sans-serif;
    font-size: 1.125rem;
    line-height: 1;
    color: #ffdd00;
}

.se-month {
    font-size: 0.6rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
}

.se-loc {
    font-size: 0.72rem;
    color: #555;
}

.se-loc i {
    color: #ffdd00;
}


/* tabellino */
.tabellino {
  border: 1px solid #e8e8e8;
  border-radius: 10px;
  height: 100%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  overflow: hidden;
}
.tabellino:hover {
  border-color: #ffdd00;
  box-shadow: 0 6px 20px rgba(255, 221, 0, 0.18);
  transform: translateY(-2px);
}
.tabellino:hover .img-scudetto-big {
  transform: scale(1.08);
}

/* Area principale risultato */
.tabellino-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

/* Colonna squadra */
.tabellino-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
  min-width: 0;
}

.tabellino-team-name {
  font-size: 0.75rem;
  font-weight: 600;
  color: #222;
  text-align: center;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

/* Blocco score centrale */
.tabellino-score {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  gap: 4px;
}

.score-values {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 6px 14px;
  font-size: 1.625rem;
  font-weight: 600;
  color: #111;
  line-height: 1;

}

.score-values .score-value {
  font-size: 2rem;
  font-weight: 600;
  color: #333;
  line-height: 1;
}

.score-values .score-sep {
  padding:0px 10px;
}

.score-values .score-sep::after {
  content: "";
  height:30px;
  width: 1px;
  background: #ccc;
  display: flex;
  align-items: center;
  justify-content: center;
}


/* -- Blocco punteggio partita -- */
.score-block {
  padding: 8px 16px;
  background: #ffdd00;
  border-radius: 6px;
  text-align: center;
  min-width: 84px;
}


.score-sep {
  font-size: 1.125rem;
  font-weight: 600;
  color: #555;
  margin: 0 3px;
  line-height: 1;
}

.score-date {
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #888;
  display: block;
  margin-top: 4px;
}

/* -- Pulsante "vedi tabellino" -- */
.btn-tabellino-link {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #555;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  border: 1px solid #e0e0e0;
  border-radius: 20px;
  background: transparent;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.btn-tabellino-link:hover {
  border-color: #111;
  color: #111;
  background: #f5f5f5;
}


/* Footer card: data + link */
.tabellino-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 1rem 0.75rem;
  border-top: 1px solid #f0f0f0;
  margin-top: 0.75rem;
}

.tabellino-date {
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #666;
  font-weight: 500;
}

.bg-gray {
  background-color: #f4f7fc;
}

table.bg-gray {
  border-collapse: collapse;
  width: 100%;
}

table.bg-gray,
table.bg-gray th,
table.bg-gray td {
  border: 5px solid #fff;
  font-weight: bold;
}

table.bg-gray td {
  padding: 5px 10px;
}

.table-classifica thead th {
    background: #efefef !important;
    color: #333 !important;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  border-bottom: none;
  padding: 9px 10px;
}

.table-classifica thead th:first-child {
  border-top-left-radius: 8px;
  text-align: center;
  width: 44px;
}

.table-classifica thead th:last-child {
  border-top-right-radius: 8px;
  text-align: center;
  width: 44px;
}

.table-classifica tbody tr {
  border-bottom: 1px solid #f0f0f0;
  transition: background 0.1s;
}

.table-classifica tbody tr:hover {
  background: #fafafa;
}

.img-scudetto-big {
    max-width: 38px;
    height: 38px;
    transition: transform 0.2s ease;
}


/* ================================================================
   RESPONSIVE
   ================================================================ */

@media (max-width: 991px) {
    .detail-hero { height: 70vh; }
    .detail-sidebar { position: static; }
    .detail-main { padding: 2rem 0 1.5rem; }
    .events-img-grid { grid-template-columns: repeat(2, 1fr); }
    .related-h-img { width: 140px; }
}

@media (max-width: 767px) {
    .detail-hero { height: 65vh; min-height: 420px; }
    .detail-meta-sep { display: none; }
    .events-img-grid { grid-template-columns: 1fr; }
    .related-h-card { flex-direction: column; }
    .related-h-img { width: 100%; height: 180px; }
    .related-h-arrow { display: none; }
    .newsletter-inner { flex-direction: column; text-align: center; }
    .newsletter-form { flex-direction: column; width: 100%; }
    .newsletter-form input[type="email"] { width: 100%; }
    .newsletter-icon-wrap { margin: 0 auto; }
    .article-body .first-paragraph::first-letter { font-size: 3.5rem; }
    .events-section-hdr { flex-direction: column; align-items: flex-start; }
    .section-hdr { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 575px) {
    .detail-hero-content { padding: 1.25rem 0 2rem; }
    .sidebar-share-btns { flex-direction: row; flex-wrap: wrap; gap: 0.35rem; }
    .ss-btn { flex: 1 1 calc(50% - 0.175rem); justify-content: center; }
}


/* ================================================================
   SIDEBAR AUTORE — pagina Autori
   ================================================================ */

.biografia {
    font-family: 'Inter', sans-serif;
    font-size: 0.8325rem;
    line-height: 1.7;
    color: #444;
}

.biografia p {
    margin-bottom: 0.9rem;
}

.biografia p:last-child {
    margin-bottom: 0;
}
