:root {
  --tpb-green: #3c7450;
  --tpb-green-dark: #2f5d40;
  --tpb-green-light: #e8f3ec;
  --tpb-red: #c41e3a;
  --tpb-text: #1a1a1a;
  --tpb-muted: #5c6670;
  --tpb-radius: 12px;
  --tpb-shadow: 0 8px 24px rgba(26, 26, 26, 0.08);
}

body {
  -webkit-font-smoothing: antialiased;
}

/* Menu professionale: override Amatic SC */
.ush_menu_1,
.ush_menu_1 .w-nav-anchor,
.l-header .menu-item a {
  font-family: Montserrat, sans-serif !important;
  font-weight: 600 !important;
  font-size: 0.95rem !important;
  letter-spacing: 0.02em !important;
  text-transform: none !important;
}

/* Header: evita overlap voce menu ↔ icone social (celle flex-grow uguali Impreza) */
.l-subheader.at_middle .l-subheader-cell.at_left,
.l-subheader.at_middle .l-subheader-cell.at_right {
  flex: 0 0 auto;
}

.l-subheader.at_middle .l-subheader-cell.at_center {
  flex: 1 1 auto;
  min-width: 0;
}

.l-subheader.at_middle .l-subheader-cell.at_right {
  position: relative;
  z-index: 2;
  padding-left: 0.5rem;
}

.ush_menu_1.type_desktop {
  --menu-items-gap: 1.1rem !important;
}

@media (min-width: 901px) and (max-width: 1200px) {
  .ush_menu_1.type_desktop {
    --menu-items-gap: 0.7rem !important;
  }

  .ush_menu_1,
  .ush_menu_1 .w-nav-anchor,
  .l-header .menu-item a {
    font-size: 0.88rem !important;
  }
}

.tpb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.tpb-btn--primary {
  background: var(--tpb-green);
  color: #fff !important;
}

.tpb-btn--primary:hover {
  background: var(--tpb-green-dark);
  transform: translateY(-1px);
  box-shadow: var(--tpb-shadow);
}

.tpb-btn--outline {
  background: transparent;
  color: #fff !important;
  border: 2px solid #fff;
}

.tpb-btn--outline:hover {
  background: rgba(255, 255, 255, 0.12);
}

.tpb-btn--secondary {
  background: #fff;
  color: var(--tpb-green) !important;
  border: 2px solid var(--tpb-green);
}

.tpb-btn--secondary:hover {
  background: var(--tpb-green-light);
}

.tpb-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.5rem 1rem;
  background: var(--tpb-green);
  color: #fff;
}

.tpb-stat {
  text-align: center;
  padding: 0.5rem;
}

.tpb-stat__num {
  display: block;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  line-height: 1.1;
}

.tpb-stat__label {
  display: block;
  font-size: 0.85rem;
  opacity: 0.9;
  margin-top: 0.35rem;
  line-height: 1.35;
}

.tpb-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  padding: 1.5rem 1rem 2.5rem;
}

.tpb-events {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem;
}

.tpb-event-card {
  background: #fff;
  border-left: 4px solid var(--tpb-green);
  border-radius: var(--tpb-radius);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--tpb-shadow);
}

.tpb-event-card__date {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--tpb-green);
}

.tpb-event-card h3 {
  margin: 0.5rem 0 0;
  font-size: 1.05rem;
}

.tpb-event-card h3 a {
  color: var(--tpb-text);
  text-decoration: none;
}

.tpb-event-card h3 a:hover {
  color: var(--tpb-green);
}

.tpb-section__link {
  text-align: center;
  margin-top: 1.5rem;
}

.tpb-section__link a {
  color: var(--tpb-green);
  font-weight: 600;
  text-decoration: none;
}

.tpb-section__link a:hover {
  text-decoration: underline;
}

.tpb-sostieni {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1rem 4rem;
}

.tpb-sostieni__header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.tpb-sostieni__header h1 {
  font-size: clamp(2rem, 4vw, 2.6rem);
  margin-bottom: 0.75rem;
}

.tpb-sostieni__header p {
  color: var(--tpb-muted);
  max-width: 58ch;
  margin: 0 auto;
  line-height: 1.6;
}

.tpb-sostieni__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.tpb-sostieni-card {
  background: #fff;
  border-radius: var(--tpb-radius);
  padding: 2rem;
  box-shadow: var(--tpb-shadow);
}

.tpb-sostieni-card--featured {
  background: var(--tpb-green);
  color: #fff;
  grid-column: 1 / -1;
}

.tpb-sostieni-card--featured h2,
.tpb-sostieni-card--featured p {
  color: #fff;
}

.tpb-sostieni-card h2 {
  margin: 0 0 0.75rem;
  font-size: 1.35rem;
  color: var(--tpb-green);
}

.tpb-sostieni-card p {
  color: var(--tpb-muted);
  line-height: 1.55;
  margin: 0 0 1rem;
}

.tpb-sostieni-card__cf {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.tpb-diretta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.tpb-diretta__info {
  margin-top: 2rem;
  padding: 1.5rem;
  background: var(--tpb-green-light);
  border-radius: var(--tpb-radius);
}

.tpb-diretta__info h2 {
  margin: 0 0 0.75rem;
  font-size: 1.2rem;
  color: var(--tpb-green);
}

.tpb-diretta__info ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
  line-height: 1.6;
  color: var(--tpb-muted);
}

.tpb-diretta__info a {
  color: var(--tpb-green);
  font-weight: 600;
}

/* Tipografia e layout globali */
.l-main h1,
.l-main h2,
.l-main h3 {
  font-family: Montserrat, sans-serif;
  letter-spacing: -0.01em;
}

.l-main p,
.l-main li {
  line-height: 1.65;
}

.l-header {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06) !important;
}

#page-footer {
  padding-bottom: 0 !important;
}

.tpb-legal-bar {
  margin-top: 0;
}

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

.ProgettiHome li {
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(60, 116, 80, 0.12);
}

.ProgettiHome a {
  font-weight: 600;
}

.SfondoForms {
  margin-top: 2rem;
}

.tpb-stats-row {
  background: var(--tpb-green) !important;
  padding: 2rem 0 !important;
}

.tpb-stats-row .wpb_column {
  margin-bottom: 0 !important;
}

.tpb-diretta__header h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin: 0.5rem 0;
  color: var(--tpb-text);
}

@media (max-width: 900px) {
  .tpb-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .tpb-sostieni__grid {
    grid-template-columns: 1fr;
  }

  .tpb-sostieni-card--featured {
    grid-column: auto;
  }
}

.tpb-hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 4rem 1.5rem;
}

.tpb-hero__inner {
  max-width: 820px;
  margin: 0 auto;
}

.tpb-hero__eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  opacity: 0.92;
}

.tpb-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  line-height: 1.15;
  margin: 0 0 1rem;
  color: #fff !important;
}

.tpb-hero p {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.6;
  margin: 0 auto 2rem;
  max-width: 58ch;
  opacity: 0.95;
}

.tpb-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.tpb-section {
  padding: 4rem 0;
}

.tpb-section--alt {
  background: var(--tpb-green-light);
}

.tpb-section__title {
  text-align: center;
  margin-bottom: 0.75rem;
}

.tpb-section__subtitle {
  text-align: center;
  color: var(--tpb-muted);
  max-width: 62ch;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}

.tpb-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem;
}

.tpb-pillar {
  background: #fff;
  border-radius: var(--tpb-radius);
  padding: 2rem 1.5rem;
  box-shadow: var(--tpb-shadow);
  text-align: center;
}

.tpb-pillar__icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.tpb-pillar h3 {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
  color: var(--tpb-green);
}

.tpb-pillar p {
  margin: 0;
  color: var(--tpb-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.tpb-projects-group {
  max-width: 1140px;
  margin: 0 auto 2.5rem;
  padding: 0 1rem;
}

.tpb-projects-group:last-of-type {
  margin-bottom: 0;
}

.tpb-projects-group__title {
  margin: 0 0 1rem;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--tpb-green);
  letter-spacing: 0.02em;
}

.tpb-projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0;
}

.tpb-projects-grid--active {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.tpb-projects-grid--active .tpb-project-card {
  border-top: 4px solid var(--tpb-red);
}

.tpb-project-card {
  background: #fff;
  border-radius: var(--tpb-radius);
  overflow: hidden;
  box-shadow: var(--tpb-shadow);
  transition: transform 0.2s ease;
}

.tpb-project-card:hover {
  transform: translateY(-3px);
}

.tpb-project-card__body {
  padding: 1.25rem;
}

.tpb-project-card__tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--tpb-green);
  background: var(--tpb-green-light);
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  margin-bottom: 0.6rem;
}

.tpb-project-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

.tpb-project-card h3 a {
  color: var(--tpb-text);
  text-decoration: none;
}

.tpb-project-card h3 a:hover {
  color: var(--tpb-green);
}

.tpb-project-card p {
  margin: 0;
  color: var(--tpb-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.tpb-cf-box {
  background: var(--tpb-green);
  color: #fff;
  border-radius: var(--tpb-radius);
  padding: 2.5rem 2rem;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.tpb-cf-box__number {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  margin: 1rem 0;
}

.tpb-partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.25rem;
  max-width: 980px;
  margin: 0 auto;
  padding: 0 1rem;
}

.tpb-partners-grid--full {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  max-width: 1100px;
}

.tpb-partner-card {
  background: #fff;
  border: 1px solid var(--tpb-border, #e5e7eb);
  border-radius: 12px;
  padding: 1.25rem 1rem;
  text-align: center;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.tpb-partner-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.tpb-partner-card__link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.tpb-partner-card__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  margin-bottom: 0.75rem;
}

.tpb-partner-card__logo img {
  max-height: 64px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
}

.tpb-partner-card__label,
.tpb-partner-card__name {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--tpb-text, #1f2937);
  line-height: 1.3;
}

.tpb-partner-card__name {
  font-size: 1rem;
  margin: 0 0 0.35rem;
}

.tpb-partner-card__projects {
  margin: 0;
  font-size: 0.85rem;
  color: var(--tpb-muted, #6b7280);
  line-height: 1.4;
}

.tpb-partners {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: center;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1rem;
  color: var(--tpb-muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.tpb-press-grid {
  display: grid;
  gap: 1rem;
  max-width: 980px;
  margin: 0 auto;
  padding: 0 1rem;
}

.tpb-press-card {
  background: #fff;
  border: 1px solid var(--tpb-border, #e5e7eb);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  transition: box-shadow 0.2s ease;
}

.tpb-press-card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.07);
}

.tpb-press-card__meta {
  font-size: 0.8rem;
  color: var(--tpb-muted, #6b7280);
  margin: 0 0 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.tpb-press-card__title {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
  line-height: 1.4;
  color: var(--tpb-text, #1f2937);
}

.tpb-press-card__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  font-size: 0.9rem;
}

.tpb-press-card__links a {
  color: var(--tpb-green, #3c7450);
  font-weight: 600;
  text-decoration: none;
}

.tpb-press-card__links a:hover {
  text-decoration: underline;
}

.tpb-press-intro {
  max-width: 720px;
  margin: 0 auto 2rem;
  text-align: center;
  color: var(--tpb-muted, #6b7280);
  line-height: 1.6;
}

.tpb-legal-bar {
  background: #1f2937;
  color: #d1d5db;
  font-size: 0.85rem;
  padding: 1rem 1.5rem;
}

.tpb-legal-bar__inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  align-items: center;
  justify-content: space-between;
}

.tpb-legal-bar a {
  color: #e5e7eb;
  text-decoration: none;
}

.tpb-legal-bar a:hover {
  color: #fff;
  text-decoration: underline;
}

.tpb-legal-bar__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}

.tpb-diretta {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1rem 3rem;
}

.tpb-diretta__header h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin: 0.5rem 0;
  color: var(--tpb-text);
}

.tpb-diretta__header p {
  color: var(--tpb-muted);
  max-width: 60ch;
}

.tpb-diretta__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.tpb-diretta__player,
.tpb-diretta__chat {
  background: #111;
  border-radius: var(--tpb-radius);
  overflow: hidden;
  box-shadow: var(--tpb-shadow);
  min-height: 420px;
}

.tpb-diretta__player iframe,
.tpb-diretta__chat iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
}

.tpb-diretta__offline {
  margin-top: 1rem;
  color: var(--tpb-muted);
  font-size: 0.95rem;
}

.tpb-diretta-yt {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(60, 116, 80, 0.15);
}

.tpb-diretta-yt__header {
  text-align: center;
  margin-bottom: 2rem;
}

.tpb-diretta-yt__header h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--tpb-text);
}

.tpb-diretta-yt__header p {
  margin: 0 auto;
  max-width: 58ch;
  color: var(--tpb-muted);
  line-height: 1.6;
}

.tpb-diretta-yt-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.tpb-diretta-yt-card {
  background: #fff;
  border-radius: var(--tpb-radius);
  box-shadow: var(--tpb-shadow);
  overflow: hidden;
  border: 1px solid rgba(60, 116, 80, 0.08);
}

.tpb-diretta-yt-card .tpb-yt {
  border-radius: 0;
  box-shadow: none;
}

.tpb-diretta-yt-card__title {
  margin: 1rem 1.25rem 0;
  font-size: 0.98rem;
  line-height: 1.4;
  color: var(--tpb-text);
}

.tpb-diretta__cta {
  margin-top: 1rem;
}

.tpb-live-badge,
.tpb-nav-live {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.tpb-live-badge {
  background: #fee2e2;
  color: #b91c1c;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
}

.tpb-nav-live {
  color: var(--tpb-text) !important;
  text-decoration: none !important;
}

.tpb-live-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
  animation: tpb-pulse 1.8s infinite;
}

@keyframes tpb-pulse {
  0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(239, 68, 68, 0); }
  100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

@media (max-width: 900px) {
  .tpb-pillars {
    grid-template-columns: 1fr;
  }

  .tpb-diretta__grid {
    grid-template-columns: 1fr;
  }

  .tpb-diretta-yt-grid {
    grid-template-columns: 1fr;
  }

  .tpb-diretta__chat {
    min-height: 320px;
  }

  .tpb-diretta__chat iframe {
    min-height: 320px;
  }

  .tpb-legal-bar__inner {
    flex-direction: column;
    text-align: center;
  }
}

.w-post-elm.color_link_inherit a:hover {
  color: var(--tpb-green) !important;
}

.w-btn,
button,
input[type="submit"],
.wpforms-form button[type="submit"] {
  border-radius: 999px !important;
}

#page-footer .wpb_text_column p[style*="Copyright"] {
  font-size: 0.9rem;
}

/* —— Banner nuovo protocollo —— */
.tpb-protocol-banner {
  background: linear-gradient(105deg, #3c7450 0%, #2f5d40 55%, #c41e3a 160%);
  color: #fff;
  padding: 1rem 1.25rem;
}

.tpb-protocol-banner__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
}

.tpb-protocol-banner__badge {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tpb-protocol-banner__text {
  flex: 1 1 240px;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  line-height: 1.45;
}

.tpb-protocol-banner__text strong {
  font-size: 1.05rem;
}

.tpb-protocol-banner__text span {
  opacity: 0.92;
  font-size: 0.92rem;
}

.tpb-protocol-banner__btn {
  background: #fff !important;
  color: var(--tpb-green-dark) !important;
  flex-shrink: 0;
}

.tpb-protocol-banner__btn:hover {
  background: var(--tpb-green-light) !important;
  transform: translateY(-1px);
}

/* —— Sportelli —— */
.tpb-sportelli {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1rem;
}

.tpb-cf-box__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1rem;
}

.tpb-collabora {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem;
}

.tpb-collabora-card {
  background: #fff;
  border-radius: var(--tpb-radius);
  padding: 1.5rem 1.35rem;
  box-shadow: var(--tpb-shadow);
  border-top: 4px solid var(--tpb-green);
}

.tpb-collabora-card h3 {
  margin: 0 0 0.6rem;
  font-size: 1.15rem;
  color: var(--tpb-green);
}

.tpb-collabora-card p {
  margin: 0 0 1.1rem;
  color: var(--tpb-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.tpb-mappa {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem;
}

.tpb-mappa-card {
  background: #fff;
  border-radius: var(--tpb-radius);
  overflow: hidden;
  box-shadow: var(--tpb-shadow);
}

.tpb-mappa-card__map {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #e8f3ec;
}

.tpb-mappa-card__map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.tpb-mappa-card__body {
  padding: 1.25rem 1.35rem 1.4rem;
}

.tpb-mappa-card__body h3 {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
}

.tpb-mappa-card__address {
  margin: 0 0 0.45rem;
  font-weight: 700;
  color: var(--tpb-green);
  font-size: 0.92rem;
}

.tpb-mappa-card__body p {
  margin: 0 0 0.75rem;
  color: var(--tpb-muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.tpb-mappa-card__body a {
  color: var(--tpb-green);
  font-weight: 600;
  text-decoration: none;
}

.tpb-sportello {
  background: #fff;
  border-radius: var(--tpb-radius);
  padding: 1.5rem 1.35rem;
  box-shadow: var(--tpb-shadow);
  border-top: 4px solid var(--tpb-green);
}

.tpb-sportello--featured {
  border-top-color: var(--tpb-red);
}

.tpb-sportello__name {
  margin: 0 0 0.6rem;
  font-size: 1.15rem;
  color: var(--tpb-green);
}

.tpb-sportello__name a {
  color: inherit;
  text-decoration: none;
}

.tpb-sportello__name a:hover {
  text-decoration: underline;
}

.tpb-sportello__desc {
  margin: 0 0 1rem;
  color: var(--tpb-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.tpb-sportello__schedule {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--tpb-text);
}

.tpb-sportello__schedule span {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--tpb-green);
  margin-bottom: 0.2rem;
}

.tpb-sportello__contacts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.92rem;
  font-weight: 600;
}

.tpb-sportello__contacts a {
  color: var(--tpb-text);
  text-decoration: none;
}

.tpb-sportello__contacts a:hover {
  color: var(--tpb-green);
}

/* —— Sharing Tower timeline —— */
.tpb-timeline {
  list-style: none;
  margin: 0 auto;
  padding: 0 1rem;
  max-width: 720px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.tpb-timeline__item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 1rem;
  align-items: stretch;
  background: #fff;
  border-radius: var(--tpb-radius);
  box-shadow: var(--tpb-shadow);
  overflow: hidden;
  border: 1px solid rgba(60, 116, 80, 0.1);
}

.tpb-timeline__item--upcoming {
  border-color: rgba(196, 30, 58, 0.35);
  box-shadow: 0 8px 28px rgba(196, 30, 58, 0.1);
}

.tpb-timeline__date {
  background: var(--tpb-green);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem 0.5rem;
  text-align: center;
}

.tpb-timeline__item--upcoming .tpb-timeline__date {
  background: var(--tpb-red);
}

.tpb-timeline__day {
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1;
}

.tpb-timeline__month {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 0.25rem;
  opacity: 0.92;
}

.tpb-timeline__body {
  padding: 1.1rem 1.25rem 1.2rem 0;
}

.tpb-timeline__badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--tpb-red);
  background: #fde8ec;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  margin-bottom: 0.4rem;
}

.tpb-timeline__body h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  color: var(--tpb-text);
}

.tpb-timeline__meta {
  margin: 0 0 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--tpb-green);
}

.tpb-timeline__note {
  margin: 0;
  font-size: 0.9rem;
  color: var(--tpb-muted);
  line-height: 1.45;
}

/* —— YouTube lite embeds —— */
.tpb-yt-featured {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 1rem;
}

.tpb-yt {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #111;
  border-radius: var(--tpb-radius);
  overflow: hidden;
  box-shadow: var(--tpb-shadow);
}

.tpb-yt iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.tpb-yt__facade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  cursor: pointer;
  background: #111;
}

.tpb-yt__thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tpb-yt__play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 68px;
  height: 48px;
  margin: -24px 0 0 -34px;
  background: var(--tpb-red);
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.tpb-yt__play::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  margin: -8px 0 0 -4px;
  border-style: solid;
  border-width: 9px 0 9px 16px;
  border-color: transparent transparent transparent #fff;
}

.tpb-yt__facade:hover .tpb-yt__play,
.tpb-yt__facade:focus-visible .tpb-yt__play {
  transform: scale(1.05);
  transition: transform 0.15s ease;
}

.tpb-yt-placeholder {
  background: #fff;
  border: 1px dashed rgba(60, 116, 80, 0.35);
  border-radius: var(--tpb-radius);
  padding: 2.5rem 1.5rem;
  text-align: center;
  color: var(--tpb-muted);
  line-height: 1.6;
}

.tpb-yt-placeholder p {
  margin: 0;
  max-width: 48ch;
  margin-inline: auto;
}

.tpb-yt-cta {
  text-align: center;
  margin: 1.75rem 0 0;
}

.tpb-btn--youtube {
  background: var(--tpb-red);
  color: #fff !important;
  max-width: 36rem;
  text-align: center;
  line-height: 1.35;
  padding: 1rem 1.5rem;
}

.tpb-btn--youtube:hover {
  background: #a01830;
  transform: translateY(-1px);
  box-shadow: var(--tpb-shadow);
}

/* —— Media e Podcast —— */
.tpb-media {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1rem 4rem;
}

.tpb-media__header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.tpb-media__header h1 {
  font-size: clamp(2rem, 4vw, 2.6rem);
  margin: 0 0 0.75rem;
}

.tpb-media__header p {
  color: var(--tpb-muted);
  max-width: 58ch;
  margin: 0 auto;
  line-height: 1.6;
}

.tpb-media-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.tpb-media-card {
  background: #fff;
  border-radius: var(--tpb-radius);
  box-shadow: var(--tpb-shadow);
  overflow: hidden;
  padding-bottom: 1rem;
}

.tpb-media-card .tpb-yt {
  border-radius: 0;
  box-shadow: none;
}

.tpb-media-card__title {
  margin: 1rem 1.25rem 0;
  font-size: 1rem;
  color: var(--tpb-text);
}

@media (max-width: 900px) {
  .tpb-sportelli,
  .tpb-collabora,
  .tpb-mappa {
    grid-template-columns: 1fr;
  }

  .tpb-media-grid {
    grid-template-columns: 1fr;
  }

  .tpb-protocol-banner__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .tpb-timeline__item {
    grid-template-columns: 64px 1fr;
  }

  .tpb-timeline__body {
    padding-right: 1rem;
  }
}
