/**
 * ASD Hope Running APS - Design System Core v1.1 (opt-in)
 * Hope Running Core Performance 1.5.10
 *
 * Si applica solo a HTML che utilizza <article class="hope-ds" lang="it">.
 * Non modifica il tema, Elementor, i moduli esistenti o la tipografia globale.
 * I font sono ereditati dalle impostazioni globali Elementor/tema.
 */

.hope-ds {
  --hope-ds-yellow: var(--hope-yellow, #ffd600);
  --hope-ds-dark: var(--hope-dark, #111714);
  --hope-ds-green: var(--hope-green, #214b39);
  --hope-ds-deep: #18261c;
  --hope-ds-light: #f7f8f7;
  --hope-ds-white: #ffffff;
  --hope-ds-ink: #29342f;
  --hope-ds-muted: #5a695f;
  --hope-ds-border: #dfe7e0;
  --hope-ds-max: 1120px;
  --hope-ds-reading: 820px;
  --hope-ds-gutter: clamp(16px, 2.5vw, 28px);
  --hope-ds-vspace: clamp(52px, 7vw, 96px);
  --hope-ds-radius: 12px;
  /* Inherit when Elementor globals are not available; do not invent a font. */
  --hope-ds-font-body: var(--e-global-typography-text-font-family, inherit);
  --hope-ds-font-heading: var(--e-global-typography-primary-font-family, inherit);
  color: var(--hope-ds-ink);
  background: var(--hope-ds-white);
  font-family: var(--hope-ds-font-body);
  font-size: clamp(18px, 1.4vw, 20px);
  line-height: 1.75;
  width: 100%;
  overflow-wrap: break-word;
}

.hope-ds,
.hope-ds *,
.hope-ds *::before,
.hope-ds *::after { box-sizing: border-box; }

.hope-ds .hope-ds__container {
  width: min(var(--hope-ds-max), calc(100% - 2 * var(--hope-ds-gutter)));
  margin-inline: auto;
}
.hope-ds .hope-ds__prose { max-width: var(--hope-ds-reading); }
.hope-ds .hope-ds__section { padding-block: var(--hope-ds-vspace); }
.hope-ds .hope-ds__section--light { background: var(--hope-ds-light); }
.hope-ds .hope-ds__section--dark { background: var(--hope-ds-dark); color: #fff; }
.hope-ds .hope-ds__hero {
  padding-block: clamp(72px, 9vw, 126px);
  color: #fff;
  background: radial-gradient(circle at 83% 15%, rgba(255,214,0,.15), transparent 37%),
              linear-gradient(128deg, var(--hope-ds-dark), var(--hope-ds-deep));
}
.hope-ds .hope-ds__title,
.hope-ds .hope-ds__h2,
.hope-ds .hope-ds__h3 {
  font-family: var(--hope-ds-font-heading);
  font-weight: 800;
  letter-spacing: -.025em;
  text-wrap: balance;
  margin: 0 0 .6em;
  color: inherit;
}
.hope-ds .hope-ds__title { font-size: clamp(42px, 5.4vw, 70px); line-height: 1.12; }
.hope-ds .hope-ds__h2 { font-size: clamp(32px, 3.8vw, 52px); line-height: 1.16; }
.hope-ds .hope-ds__h3 { font-size: clamp(22px, 2.2vw, 29px); line-height: 1.25; }
.hope-ds .hope-ds__eyebrow {
  display: block;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #806b00;
  margin-bottom: 18px;
}
.hope-ds .hope-ds__hero .hope-ds__eyebrow,
.hope-ds .hope-ds__section--dark .hope-ds__eyebrow { color: var(--hope-ds-yellow); }
.hope-ds .hope-ds__lead {
  font-size: clamp(20px, 1.75vw, 24px);
  line-height: 1.55;
  max-width: var(--hope-ds-reading);
  margin: 0 0 24px;
  text-align: justify;
  hyphens: auto;
  -webkit-hyphens: auto;
}
.hope-ds .hope-ds__p,
.hope-ds .hope-ds__prose p {
  font-family: var(--hope-ds-font-body);
  font-size: clamp(18px, 1.4vw, 20px);
  line-height: 1.75;
  margin: 0 0 1.25em;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  -webkit-hyphens: auto;
  overflow-wrap: break-word;
}
.hope-ds .hope-ds__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 2vw, 28px);
}
.hope-ds .hope-ds__grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hope-ds .hope-ds__card {
  background: #fff;
  color: var(--hope-ds-ink);
  border: 1px solid var(--hope-ds-border);
  border-radius: var(--hope-ds-radius);
  padding: clamp(24px, 3vw, 36px);
  min-width: 0;
}
.hope-ds .hope-ds__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 23px;
  background: var(--hope-ds-yellow);
  color: var(--hope-ds-dark) !important;
  font-family: var(--hope-ds-font-body);
  font-weight: 800;
  font-size: 15px;
  line-height: 1.3;
  text-decoration: none !important;
  border: 2px solid transparent;
  border-radius: 7px;
  text-align: center;
  transition: background-color .2s ease, transform .2s ease;
}
.hope-ds .hope-ds__cta:hover { background: #ffe44d; transform: translateY(-2px); }
.hope-ds .hope-ds__cta--secondary { background: var(--hope-ds-green); color: #fff !important; }
.hope-ds .hope-ds__cta--secondary:hover { background: #2d5b45; }
.hope-ds a:focus-visible { outline: 3px solid var(--hope-ds-yellow); outline-offset: 4px; }
.hope-ds .hope-ds__media { margin: 0; }
.hope-ds .hope-ds__media img { display: block; width: 100%; height: auto; }
.hope-ds .hope-ds__caption {
  font-family: var(--hope-ds-font-body);
  font-size: 14px;
  line-height: 1.5;
  color: var(--hope-ds-muted);
  margin-top: 10px;
}
.hope-ds .hope-ds__notice {
  padding: clamp(20px, 3vw, 30px);
  border-left: 5px solid var(--hope-ds-yellow);
  background: var(--hope-ds-light);
  border-radius: 0 var(--hope-ds-radius) var(--hope-ds-radius) 0;
}
@media (max-width: 767px) {
  .hope-ds .hope-ds__grid,
  .hope-ds .hope-ds__grid--3 { grid-template-columns: minmax(0, 1fr); }
  .hope-ds .hope-ds__title { font-size: clamp(38px, 9vw, 44px); }
  .hope-ds .hope-ds__h2 { font-size: clamp(30px, 7.5vw, 36px); }
  .hope-ds .hope-ds__lead { font-size: 19px; }
  .hope-ds .hope-ds__cta { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .hope-ds .hope-ds__cta { transition: none; }
  .hope-ds .hope-ds__cta:hover { transform: none; }
}


/* =============================================================
   DESIGN SYSTEM V1.1 - HOME VISUAL LANGUAGE, OPT-IN ONLY
   Si applica unicamente a .hope-ds e ai relativi componenti.
   La homepage e gli altri moduli CSS restano INVARIATI.
   Home visual language: edge-to-edge layout, 1220px container,
   gradient hero, full-width green area, bright yellow CTA,
   dark/high-contrast copy, editorial spacing and cards.
============================================================= */
.hope-ds {
  --hope-ds-max: 1220px;
  --hope-ds-reading: 850px;
  --hope-ds-radius: 22px;
  --hope-ds-vspace: clamp(70px, 7.5vw, 100px);
  --hope-ds-muted: #45564c;
  --hope-ds-border: #d8e2dc;
  position: relative;
  left: 50%;
  width: 100vw;
  max-width: 100vw;
  margin-left: -50vw;
  overflow: hidden;
  background: var(--hope-ds-white);
  color: var(--hope-ds-ink);
  font-size: clamp(18px, 1.5vw, 20px);
  line-height: 1.8;
  isolation: isolate;
}
.hope-ds .hope-ds__container {
  width: min(var(--hope-ds-max), calc(100% - 40px));
  max-width: var(--hope-ds-max);
}
.hope-ds .hope-ds__prose {max-width:var(--hope-ds-reading);}
.hope-ds .hope-ds__section {padding: var(--hope-ds-vspace) 0;}
.hope-ds .hope-ds__section--light {
  background:#f6f8f6;
  color:var(--hope-ds-ink);
}
.hope-ds .hope-ds__section--dark {
  background:linear-gradient(135deg,#101612 0%,#17241d 55%,#20392d 100%);
  color:#fff;
}
.hope-ds .hope-ds__section--green {
  background:
    radial-gradient(circle at 91% 9%,rgba(255,214,0,.09),transparent 32%),
    linear-gradient(135deg,#214b39,#153226);
  color:#fff;
}
.hope-ds .hope-ds__section--yellow {
  background:linear-gradient(145deg,#ffd600,#ffe36a);
  color:#111714;
}
.hope-ds .hope-ds__hero {
  position:relative;
  display:flex;
  align-items:center;
  min-height:600px;
  padding:clamp(80px,9vw,130px) 0;
  overflow:hidden;
  background:
    radial-gradient(circle at 82% 18%,rgba(255,214,0,.17),transparent 28%),
    radial-gradient(circle at 8% 92%,rgba(65,130,95,.17),transparent 32%),
    linear-gradient(135deg,#101612 0%,#17241d 55%,#20392d 100%);
  color:#fff;
}
.hope-ds .hope-ds__hero::after {
  content:"HOPE";
  position:absolute;
  right:-25px;
  bottom:-55px;
  color:rgba(255,255,255,.03);
  font-size:clamp(120px,19vw,270px);
  font-weight:950;
  line-height:.8;
  letter-spacing:-.06em;
  pointer-events:none;
}
.hope-ds .hope-ds__hero .hope-ds__container {position:relative;z-index:2;}
.hope-ds .hope-ds__title {
  max-width:1000px;
  margin:0 0 28px;
  font-size:clamp(46px,6.6vw,82px);
  line-height:1.02;
  font-weight:900;
  letter-spacing:-.045em;
  color:inherit;
}
.hope-ds .hope-ds__title span,
.hope-ds .hope-ds__h2 span {color:var(--hope-ds-yellow);}
.hope-ds .hope-ds__h2 {
  max-width:940px;
  font-size:clamp(34px,4.4vw,52px);
  line-height:1.1;
  font-weight:900;
  letter-spacing:-.035em;
  color:#111714;
}
.hope-ds .hope-ds__h3 {
  font-size:clamp(23px,2.3vw,29px);
  font-weight:850;
  line-height:1.18;
  color:#111714;
}
.hope-ds .hope-ds__eyebrow {
  display:inline-flex;
  align-items:center;
  gap:11px;
  font-size:clamp(12px,1vw,14px);
  font-weight:850;
  letter-spacing:.11em;
  color:#726100;
  line-height:1.5;
}
.hope-ds .hope-ds__eyebrow::before {
  content:"";
  display:block;
  width:38px;
  height:3px;
  flex:0 0 38px;
  border-radius:99px;
  background:var(--hope-ds-yellow);
}
.hope-ds .hope-ds__lead {
  max-width:790px;
  color:#e2ebe4;
  font-size:clamp(20px,2vw,23px);
  line-height:1.72;
  font-weight:400;
}
.hope-ds .hope-ds__p,
.hope-ds .hope-ds__prose p {
  color:#29342f;
  font-size:clamp(18px,1.5vw,20px);
  line-height:1.85;
  text-align:justify;
  text-justify:inter-word;
  -webkit-hyphens:auto;
  hyphens:auto;
}
.hope-ds .hope-ds__section--dark .hope-ds__p,
.hope-ds .hope-ds__section--dark .hope-ds__prose p,
.hope-ds .hope-ds__section--green .hope-ds__p,
.hope-ds .hope-ds__section--green .hope-ds__prose p {color:#e6f0e9;}
.hope-ds .hope-ds__section--dark strong,
.hope-ds .hope-ds__section--green strong {color:#fff;}
.hope-ds .hope-ds__section--dark .hope-ds__h2,
.hope-ds .hope-ds__section--dark .hope-ds__h3,
.hope-ds .hope-ds__section--green .hope-ds__h2,
.hope-ds .hope-ds__section--green .hope-ds__h3 {color:#fff;}
.hope-ds .hope-ds__section--dark .hope-ds__eyebrow,
.hope-ds .hope-ds__section--green .hope-ds__eyebrow {color:var(--hope-ds-yellow);}
.hope-ds .hope-ds__section--yellow .hope-ds__eyebrow {color:#111714;}
.hope-ds .hope-ds__section--yellow .hope-ds__p,
.hope-ds .hope-ds__section--yellow .hope-ds__h2 {color:#111714;}
.hope-ds .hope-ds__card {
  padding:clamp(28px,3vw,38px);
  border-radius:22px;
  box-shadow:0 10px 30px rgba(17,23,20,.04);
  color:#29342f;
}
.hope-ds .hope-ds__card .hope-ds__h3,
.hope-ds .hope-ds__card .hope-ds__p {color:#29342f;}
.hope-ds .hope-ds__card .hope-ds__p {font-size:clamp(17px,1.3vw,19px);}
.hope-ds .hope-ds__card--green {
  border:0;
  color:#fff;
  background:linear-gradient(145deg,#214b39,#153226);
}
.hope-ds .hope-ds__card--dark {
  border:0;
  color:#fff;
  background:linear-gradient(145deg,#131a16,#243c30);
}
.hope-ds .hope-ds__card--yellow {
  color:#111714;
  background:linear-gradient(145deg,#ffd600,#ffe36a);
  border-color:#ead858;
}
.hope-ds .hope-ds__card--green .hope-ds__h3,
.hope-ds .hope-ds__card--green .hope-ds__p,
.hope-ds .hope-ds__card--dark .hope-ds__h3,
.hope-ds .hope-ds__card--dark .hope-ds__p {color:#fff;}
.hope-ds .hope-ds__cta {
  min-height:52px;
  padding:15px 24px;
  border-radius:999px;
  font-size:clamp(14px,1.2vw,16px);
  font-weight:850;
  line-height:1.25;
}
.hope-ds .hope-ds__cta--secondary {
  background:#214b39;
  color:#fff!important;
}
.hope-ds .hope-ds__cta--dark {
  background:#111714;
  color:#fff!important;
}
.hope-ds .hope-ds__cta--light {
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.45);
  color:#fff!important;
}
.hope-ds .hope-ds__actions {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:12px;
  margin-top:32px;
}
.hope-ds .hope-ds__notice {
  border-left:5px solid var(--hope-ds-yellow);
  background:#f4f7f4;
  color:#29342f;
  margin:30px 0;
  padding:28px 30px;
}
.hope-ds .hope-ds__notice .hope-ds__p,
.hope-ds .hope-ds__notice p {color:#29342f!important;margin-bottom:0;}
.hope-ds .hope-ds__section--green .hope-ds__notice,
.hope-ds .hope-ds__section--dark .hope-ds__notice {background:#f4f7f4;color:#29342f;}
.hope-ds .hope-ds__quote {
  margin:32px 0;
  padding:35px 38px;
  background:#111714;
  color:#fff;
  border-radius:22px;
}
.hope-ds .hope-ds__quote .hope-ds__p,
.hope-ds .hope-ds__quote p {color:#fff!important;margin:0;}
.hope-ds .hope-ds__grid {gap:clamp(22px,2.3vw,30px);}
.hope-ds .hope-ds__grid--3 {gap:22px;}
.hope-ds .hope-ds__section--green a:not(.hope-ds__cta),
.hope-ds .hope-ds__section--dark a:not(.hope-ds__cta) {color:#ffe25a;text-decoration:underline;}
.hope-ds .hope-ds__section--green .hope-ds__card a:not(.hope-ds__cta),
.hope-ds .hope-ds__section--dark .hope-ds__card a:not(.hope-ds__cta) {color:#214b39;}
@media(max-width:767px) {
  .hope-ds {width:100vw;max-width:100vw;left:50%;margin-left:-50vw;}
  .hope-ds .hope-ds__container {width:calc(100% - 32px);}
  .hope-ds .hope-ds__hero {min-height:0;padding:78px 0;}
  .hope-ds .hope-ds__title {font-size:clamp(40px,8.9vw,52px);}
  .hope-ds .hope-ds__h2 {font-size:clamp(31px,7.2vw,39px);}
  .hope-ds .hope-ds__lead {font-size:19px;}
  .hope-ds .hope-ds__actions {flex-direction:column;align-items:stretch;}
  .hope-ds .hope-ds__cta {width:100%;}
  .hope-ds .hope-ds__card {padding:25px;}
  .hope-ds .hope-ds__notice {padding:22px;}
}


/* ================================================================
   v1.5.11 · CORREZIONE CARD EDITORIALI / SFONDI SCURI
   - Con testi in colonne strette, no giustificazione forzata
     (i paragrafi fuori dalle card restano giustificati).
   - Le superfici bianche nelle sezioni scure non ereditano
     strong bianco né eyebrow giallo a basso contrasto.
   - Limitato al namespace .hope-ds, senza toccare il footer.
================================================================ */
.hope-ds .hope-ds__card .hope-ds__p,
.hope-ds .hope-ds__card p:not(.hope-ds__lead) {
  text-align: left;
  text-justify: auto;
  hyphens: none;
  -webkit-hyphens: none;
  overflow-wrap: break-word;
  word-break: normal;
  text-wrap: pretty;
}
.hope-ds .hope-ds__section--dark .hope-ds__card:not(.hope-ds__card--dark):not(.hope-ds__card--green) strong,
.hope-ds .hope-ds__section--green .hope-ds__card:not(.hope-ds__card--dark):not(.hope-ds__card--green) strong {
  color: #17241d;
}
.hope-ds .hope-ds__section--dark .hope-ds__card:not(.hope-ds__card--dark):not(.hope-ds__card--green) .hope-ds__eyebrow,
.hope-ds .hope-ds__section--green .hope-ds__card:not(.hope-ds__card--dark):not(.hope-ds__card--green) .hope-ds__eyebrow {
  color: #5b4c00;
}
.hope-ds .hope-ds__card:not(.hope-ds__card--dark):not(.hope-ds__card--green) .hope-ds__p,
.hope-ds .hope-ds__card:not(.hope-ds__card--dark):not(.hope-ds__card--green) .hope-ds__h3 {
  color: #29342f;
}

.hope-ds .hope-ds__section--dark .hope-ds__notice strong,
.hope-ds .hope-ds__section--green .hope-ds__notice strong {
  color: #17241d !important;
}

/* Riquadri informativi: non giustificare testi su colonne strette. */
.hope-ds .hope-ds__notice .hope-ds__p,
.hope-ds .hope-ds__notice p {
  text-align: left;
  text-justify: auto;
  hyphens: none;
  -webkit-hyphens: none;
}
/* Su smartphone stretti la lettura viene prima della giustificazione. */
@media (max-width: 520px) {
  .hope-ds .hope-ds__p,
  .hope-ds .hope-ds__prose p,
  .hope-ds .hope-ds__lead {
    text-align: left;
    text-justify: auto;
    hyphens: none;
    -webkit-hyphens: none;
  }
}
