/* -------------------------------------------------------------------------
 * NuvolaTech - token di design
 * Tutto il tema legge da qui. Cambia un valore e cambia in tutto il sito.
 * ---------------------------------------------------------------------- */

/* ---- Poppins self-hosted (niente chiamate a Google, niente problemi GDPR) ---- */
@font-face{font-family:'Poppins';font-style:normal;font-weight:400;font-display:swap;
  src:url('../fonts/poppins-400-latin.woff2') format('woff2');
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Poppins';font-style:normal;font-weight:400;font-display:swap;
  src:url('../fonts/poppins-400-latin-ext.woff2') format('woff2');
  unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Poppins';font-style:normal;font-weight:500;font-display:swap;
  src:url('../fonts/poppins-500-latin.woff2') format('woff2');
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Poppins';font-style:normal;font-weight:500;font-display:swap;
  src:url('../fonts/poppins-500-latin-ext.woff2') format('woff2');
  unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Poppins';font-style:normal;font-weight:600;font-display:swap;
  src:url('../fonts/poppins-600-latin.woff2') format('woff2');
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Poppins';font-style:normal;font-weight:600;font-display:swap;
  src:url('../fonts/poppins-600-latin-ext.woff2') format('woff2');
  unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Poppins';font-style:normal;font-weight:700;font-display:swap;
  src:url('../fonts/poppins-700-latin.woff2') format('woff2');
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Poppins';font-style:normal;font-weight:700;font-display:swap;
  src:url('../fonts/poppins-700-latin-ext.woff2') format('woff2');
  unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}

:root{
  /* ---- Colori ---- */
  --nt-brand-rgb: 255,66,0;              /* sovrascritto dal Personalizza */
  --nt-brand: rgb(var(--nt-brand-rgb));
  --nt-brand-dark: rgb(214,55,0);

  --nt-ink-rgb: 34,45,102;               /* titoli */
  --nt-ink: rgb(var(--nt-ink-rgb));
  --nt-ink-2: rgb(20,31,89);
  --nt-ink-3: rgb(12,19,53);             /* testo corrente */

  --nt-link-rgb: 61,100,255;
  --nt-link: rgb(var(--nt-link-rgb));
  --nt-link-hover: rgb(38,73,214);

  --nt-grey-1: rgb(174,180,210);
  --nt-grey-2: rgb(163,168,192);
  --nt-grey-3: rgb(143,148,176);
  --nt-grey-4: rgb(123,128,152);
  --nt-grey-5: rgb(62,68,97);

  --nt-surface: rgb(255,255,255);
  --nt-surface-2: rgb(246,247,252);
  --nt-surface-3: rgb(239,241,249);
  --nt-surface-4: rgb(230,233,246);

  --nt-amber: rgb(255,187,0);
  --nt-orange: rgb(255,141,0);
  --nt-red: rgb(204,45,5);
  --nt-green: rgb(22,163,74);

  --nt-border: rgba(34,45,102,.12);
  --nt-shadow: 0 2px 12px rgba(12,19,53,.06);
  --nt-shadow-lg: 0 8px 30px rgba(12,19,53,.10);

  /* ---- Misure ---- */
  --nt-content-width: 1140px;   /* colonna contenuti massima */
  --nt-wide-width: 1320px;      /* sezioni piu larghe (caroselli, hero) */
  --nt-reading-width: 750px;    /* larghezza di lettura di un articolo */
  --nt-sidebar-width: 300px;
  --nt-gutter: 20px;
  --nt-gap: 30px;
  --nt-radius: 10px;
  --nt-radius-sm: 6px;
  --nt-header-height: 100px;

  /* ---- Tipografia (mobile first) ---- */
  --nt-font: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Verdana, sans-serif;
  --nt-font-mono: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, 'Liberation Mono', monospace;

  --nt-title-main: 1.688rem;        --nt-title-main-lh: 1.18;
  --nt-title-section: 1.5rem;       --nt-title-section-lh: 1.15;
  --nt-title-card: 1.063rem;        --nt-title-card-lh: 1.35;
  --nt-title-card-sm: .938rem;      --nt-title-card-sm-lh: 1.35;
  --nt-subtitle: 1.063rem;          --nt-subtitle-lh: 1.4;
  --nt-body: .938rem;               --nt-body-lh: 1.7;
  --nt-meta: .75rem;                --nt-meta-lh: 1.4;

  --nt-transition: .22s ease;
}

@media (min-width: 782px){
  :root{
    --nt-gutter: 25px;
    --nt-header-height: 120px;
    --nt-title-main: 2.625rem;    --nt-title-main-lh: 1.19;
    --nt-title-section: 1.875rem; --nt-title-section-lh: 1.17;
    --nt-title-card: 1.313rem;    --nt-title-card-lh: 1.19;
    --nt-title-card-sm: 1rem;
    --nt-subtitle: 1.375rem;      --nt-subtitle-lh: 1.36;
    --nt-body: 1rem;              --nt-body-lh: 1.875;
    --nt-meta: .813rem;
  }
}
