/** Shopify CDN: Minification failed

Line 19:0 Unexpected "<"
Line 95:0 Unexpected "<"
Line 197:12 Expected identifier but found whitespace
Line 197:14 Unexpected "{"
Line 197:23 Expected ":"
Line 197:57 Expected ":"
Line 216:8 Expected identifier but found whitespace
Line 216:10 Unexpected "{"
Line 216:19 Expected ":"
Line 389:8 Expected identifier but found whitespace
... and 11 more hidden warnings

**/


/* CSS from section stylesheet tags */
<style>
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

.custom-cards-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  padding-bottom: 10px;
  font-family: 'Roboto', sans-serif;
}

.custom-cards-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 16px;
}

.custom-card {
  flex: 0 0 80%;
  min-width: 260px;
  max-width: 300px;
  scroll-snap-align: start;
  background-color: var(--card-bg, #fff);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.custom-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.custom-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
}

.custom-card .custom-button {
  margin-top: 16px;
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  font-family: 'Roboto', sans-serif;
}

/* Mobile-only horizontal scroll */
@media screen and (max-width: 767px) {
  .custom-cards-grid {
    overflow-x: auto;
  }
}

/* Desktop layout */
@media screen and (min-width: 768px) {
  .custom-cards-wrapper {
    overflow-x: unset;
  }
  .custom-cards-grid {
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
  }
  .custom-card {
    flex: 1 1 calc(100% / var(--cards-per-row) - 20px);
    max-width: calc(100% / var(--cards-per-row) - 20px);
  }
}
</style>
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

.impact-landing-wrapper {
  display: flex;
  flex-direction: column;
  height: 100vh; /* sempre intera altezza */
  width: 100%;
  position: relative;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  font-family: 'Roboto', sans-serif;
  text-align: center;
}

.impact-landing-body {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  /* spazio dinamico tolti header e footer */
  min-height: calc(100vh - 120px);
  width: 100%;
  box-sizing: border-box;
}

.impact-content {
  width: 100%;
  max-width: 900px;
  box-sizing: border-box;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.impact-landing-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  box-sizing: border-box;
  z-index: 10;
}

#menu-toggle {
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: inherit;
}

.hamburger-menu {
  position: relative;
}

.hamburger-links {
  position: absolute;
  top: 50px;
  left: 0;
  background-color: #EFA693;
  color: #000;
  border: 1px solid #ccc;
  padding: 10px 20px;
  z-index: 10000;
}

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

.hamburger-links li {
  margin-bottom: 10px;
}

.hamburger-links a {
  color: inherit;
  text-decoration: none;
  width: 100%; 
  white-space: nowrap;
  font-size: 18px;
}

.impact-landing-logo img {
  height: auto;
  width: auto;
  max-width: 100%;
}

.impact-richtext {
  margin-bottom: 1rem;
  color: inherit;
  font-size: {{ section.settings.secondary_text_size }}px;
}

.impact-button {
  margin-top: 2rem;
  display: inline-block;
  background-color: white;
  color: #00586F;
  border: none;
  cursor: pointer;
  font-weight: normal;
  padding: 12px 32px;
  line-height: 1.4;
}

.impact-footer-note {
  font-size: 14px;
  text-align: center;
  padding: 16px 12px;
  color: {{ section.settings.text_color }};
  opacity: 0.8;
  margin-top: auto; /* resta in fondo */
}

.slide-menu {
  position: fixed;
  top: 0;
  left: -50%;
  height: 100%;
  width: 50%;
  background-color: #EFA693;
  color: #fff;
  padding: 20px;
  box-sizing: border-box;
  transition: left 0.3s ease-in-out;
  z-index: 9999;
}

.slide-menu.open {
  left: 0;
}

.slide-menu ul {
  list-style: none;
  padding: 0;
}

.slide-menu li {
  margin-bottom: 20px;
}

.slide-menu a {
  color: white;
  text-decoration: none;
  font-size: 40px;
  display: block;
  text-align: left;
  font-family: 'Roboto', sans-serif;
}

.slide-menu {
  text-align: left;
}

.overlay {
  display: none;
  position: fixed;
  z-index: 9998;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
}

.overlay.visible {
  display: block;
}

/* ---------------- MOBILE ---------------- */
@media (max-width: 767px) {
  .impact-landing-header {
    padding: 10px;
  }

  .impact-content {
    padding: 1rem;
    max-width: 100%;
  }

  /* titolo */
  .impact-richtext:first-of-type {
    font-size: clamp(22px, 7vw, 36px) !important;
    line-height: 1.2;
    margin-bottom: 0.5rem;
    padding: 0 !important;
    width: 100%;
  }

  /* sottotitolo */
  .impact-richtext:nth-of-type(2) {
    font-size: clamp(18px, 5vw, 26px) !important;
    line-height: 1.3;
    margin-bottom: 1rem;
    padding: 0 !important;
    width: 100%;
  }

  /* bottone centrato sotto */
  .impact-button {
    display: block;
    margin: 1rem auto 0 auto;
    font-size: clamp(16px, 4.5vw, 20px);
    padding: 10px 24px;
  }

  /* corpo pagina adattato */
  .impact-landing-body {
    min-height: calc(100vh - 100px);
  }

  .impact-footer-note {
    font-size: 12px;
    padding: 8px;
  }

  /* slide menu più grande ma leggibile */
  .slide-menu {
    left: -80%;
    width: 80%;
  }

  .slide-menu a {
    font-size: clamp(28px, 7vw, 36px); /* ridotto ma ancora "imponente" */
    text-align: center; /* centrato a tutta larghezza */
    padding: 12px 0;
  }
}
.custom-topic-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 60px 20px;
  text-align: center;
  font-family: 'Roboto', sans-serif;
  min-height: 100vh;
  position: relative;
}

.impact-landing-logo {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 10;
}

.impact-landing-logo img {
  display: block;
  height: auto;
  width: auto;
  max-width: 100%;
}

.custom-topic-title {
  font-weight: 700;
  margin-top: 40px; /* ← padding sopra il titolo */
  margin-bottom: 16px;
}

.custom-topic-subtitle {
  font-style: italic;
  margin-bottom: 32px;
}

.custom-topic-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  max-width: 60vw;
  margin-left: auto;
  margin-right: auto;
}
.custom-topic-buttons a {
  display: inline-block;
  padding: 10px 20px;
  border: 0px solid black;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 500;
  color: {{ section.settings.base_text_color }};
  transition: all 0.3s ease;
}

.custom-topic-buttons a:hover {
  background-color: {{ section.settings.hover_bg_color }};
  color: {{ section.settings.hover_text_color }};
}

.custom-topic-actions {
  margin-top: 32px;
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.custom-action-primary {
  background-color: #00586F;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.custom-action-primary:hover {
  background-color: #FFFFFF;
  color: #00586F
}

.custom-action-secondary {
  display: flex;
  align-items: center;
  font-weight: 600;
  text-decoration: none;
  color: inherit;
}

.custom-action-secondary::before {
  content: "↑";
  display: inline-block;
  margin-right: 6px;
}

.custom-topic-outer {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  padding: 40px 0;
}

.custom-topic-footer-note {
  font-size: 16px;
  color: {{ section.settings.base_text_color }};
  padding: 24px 0 12px;
  text-align: center;
  margin-top: auto;
}

.tooltip-wrapper {
  position: relative;
  display: inline-block;
}

.tooltip-text {
  visibility: hidden;
  background-color: #FFFFFF;
  color: #00586F;
  text-align: center;
  border-radius: 6px;
  padding: 6px 8px;
  position: absolute;
  z-index: 20;
  bottom: 125%; /* sopra il bottone */
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.3s;
  font-size: 14px;
  white-space: nowrap;
  pointer-events: none;
}

.tooltip-wrapper:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}

/* 📱 Responsive e più compatto per mobile */
/* --- Mobile ultra-compatto per smartphone piccoli (<480px) --- */
@media (max-width: 480px) {

  /* Sezione principale più compatta con spazio per il logo */
  .custom-topic-section {
    padding: 100px 10px 20px 10px; /* top, right, bottom, left */
    min-height: auto;
  } 

  /* Titolo mobile: forzato con !important */
  .custom-topic-section .impact-richtext:first-of-type,
  .custom-topic-section h1,
  .custom-topic-section .custom-topic-title {
    font-size: 28px !important;
    line-height: 1.2 !important;
    margin-bottom: 0.5rem !important;
    padding: 0 !important;
    width: 100% !important;
    word-break: break-word;
    hyphens: auto;
  }

  /* Sottotitolo mobile: forzato con !important */
  .custom-topic-section .impact-richtext:nth-of-type(2),
  .custom-topic-section h2,
  .custom-topic-section .custom-topic-subtitle {
    font-size: 20px !important;
    line-height: 1.3 !important;
    margin-bottom: 0.8rem !important;
    padding: 0 !important;
    width: 100% !important;
    word-break: break-word;
    hyphens: auto;
  }

  /* Bottoni principali: almeno 2 per riga e compatti */
  .custom-topic-buttons {
    max-width: 100% !important;
    gap: 8px !important;
    margin-bottom: 16px !important;
  }

  .custom-topic-buttons a {
    flex: 1 1 calc(50% - 8px) !important;
    padding: 8px 12px !important;
    font-size: 14px !important;
    text-align: center !important;
  }

  /* Bottoni secondari / azioni */
  .custom-topic-actions {
    margin-top: 16px !important;
    gap: 12px !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
  }
}