/** Shopify CDN: Minification failed

Line 582:0 Expected "}" to go with "{"

**/
/* ============================================================
   AII — CSS custom estratto da base.css (22/09/2026)

   Perche': questo codice viveva dentro assets/base.css, che e' un file
   del tema Horizon. Al primo aggiornamento del tema sarebbe stato
   sovrascritto, portandosi via la striscia tricolore, l'header
   semitrasparente, il drawer mobile, la sezione "Rappresentanza e valore"
   della home e il template articolo news.

   Caricato da snippets/aii-assets.liquid insieme agli altri asset aii-*.
   ============================================================ */

/* ==============================
   STRISCIA TRICOLORE FULL WIDTH
   sopra l'header (Shopify)
============================== */

.announcement-bar {
  position: relative;
  overflow: visible;
}

/* striscia tricolore */
.announcement-bar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;       /* forza larghezza viewport */
  height: 6px;        /* identica allo screenshot */
  background:
    linear-gradient(
      to right,
      #008C45 0%,
      #008C45 33.33%,
      #ffffff 33.33%,
      #ffffff 66.66%,
      #CD212A 66.66%,
      #CD212A 100%
    );
  z-index: 1000;
}


/* =========================================================
   Mobile drawer accordion (stile Talent Garden)
   ========================================================= */
@media (max-width: 749px) {

  /* Divider tra voci */
  .menu-drawer__menu.has-submenu > li {
    border-bottom: 1px solid rgba(0,0,0,.10);
  }

  /* Riga principale (padre) */
  .menu-drawer__menu-item--mainlist {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 18px;
    font-size: 38px;   /* aumenta/diminuisci per matchare TG */
    line-height: 1.05;
  }

  /* NASCONDI i figli quando la tendina è chiusa */
  accordion-custom details:not([open]) .details-content {
    display: none !important;
  }

  /* Mostra quando è aperta */
  accordion-custom details[open] .details-content {
    display: block !important;
  }

  /* Pannello figli in “box” chiaro */
  .menu-drawer__menu--childlist.details-content {
    background: rgba(0,0,0,.04);
    border-radius: 18px;
    margin: 0 18px 18px;
    padding: 12px;
  }

  .menu-drawer__menu--childlist.details-content .menu-drawer__menu-item--child {
    padding: 14px 12px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 650;
  }

  .menu-drawer__menu--childlist.details-content .menu-drawer__list-item + .menu-drawer__list-item {
    border-top: 1px solid rgba(0,0,0,.06);
  }

  /* Se vuoi la freccia stile TG: ruota l’icona quando open */
  .menu-drawer__menu-item--mainlist .svg-wrapper {
    transition: transform .2s ease, opacity .2s ease;
    opacity: .75;
  }
  accordion-custom details[open] > summary .svg-wrapper {
    transform: rotate(180deg);
    opacity: 1;
  }

  /* (opzionale) se l’icona è un PLUS e vuoi che sembri una caret:
     puoi sostituire in liquid icon-plus con icon-caret (vedi punto sotto) */
}
@media (max-width: 749px){
  accordion-custom details > summary .icon-caret{
    transition: transform .2s ease, opacity .2s ease;
    opacity: .75;
  }
  accordion-custom details[open] > summary .icon-caret{
    transform: rotate(180deg);
    opacity: 1;
  }
}


/* =========================================================
   FIX: Mobile menu drawer must be scrollable when accordions open
   ========================================================= */
@media (max-width: 749px) {
  /* rende il drawer un "contenitore" a schermo intero */
  header-drawer .menu-drawer,
  header-drawer details[open] .menu-drawer {
    height: 100dvh;
    max-height: 100dvh;
  }

  /* abilita lo scroll sul contenuto del drawer */
  header-drawer .menu-drawer__inner-container,
  header-drawer .menu-drawer__navigation {
    max-height: calc(100dvh - 80px); /* lascia spazio a header/close */
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* evita che il body scrolli dietro */
  body.overflow-hidden,
  body.overflow-hidden-tablet {
    overflow: hidden !important;
  }
}

@media (max-width: 749px) {
  /* se una tendina ha tanti figli, scorre lei */
  .menu-drawer__menu--childlist {
    max-height: 45vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
}



/* =========================================================
   Header semi-trasparente
   ========================================================= */

/* header principale */
.header-wrapper,
.header {
  background: rgba(255, 255, 255, 0.85); /* regola qui la trasparenza */
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* rimuove eventuali background solidi */
.header,
.header__inner,
.header__row {
  background-color: transparent;
}

/* migliora contrasto testi/icona */
.header a,
.header svg {
  color: #111;
  fill: #111;
}

/* =========================
   AII — RAPPRESENTANZA E VALORE
   Spostato dal Custom Liquid per ridurre layout shift
========================== */

.aii-rv{
  --blue-950:#0B1733;
  --emerald-600:#10B981;
  --text-muted:#94A3B8;
  --shadow: 0 24px 60px rgba(15, 23, 42, .25);
  --radius: 12px;

  --pad: 32px;
  --pad-lg: 80px;
  --img-min-h: 260px;
  --img-min-h-lg: 520px;

  --img: url('/cdn/shop/files/closeup-friendly-meeting-handshake-business-woman-businessman-with-sunlight.jpg?v=1775750078&width=1200');

  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.aii-rv,
.aii-rv *{
  box-sizing: border-box;
}

.aii-rv__wrap{
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 16px 52px;
}

.aii-rv__card{
  background: var(--blue-950);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-height: 260px;
}

.aii-rv__left{
  position: relative;
  padding: var(--pad);
  color: #fff;
  display:flex;
  flex-direction: column;
  justify-content: center;
  border-left: 8px solid var(--emerald-600);
  min-height: 260px;
}

.aii-rv__title{
  margin: 0 0 18px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.05;
  font-size: clamp(26px, 4vw, 30px);
}

.aii-rv__text{
  margin: 0 0 26px;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.75;
  font-weight: 300;
  max-width: 56ch;
}

.aii-rv__ctas{
  display:flex;
  flex-wrap: wrap;
  gap: 14px;
}

.aii-rv__btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height: 44px;
  padding: 0 28px;
  border-radius: 6px;
  text-decoration:none;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 10px;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease, opacity .18s ease;
  user-select:none;
  white-space: nowrap;
}

.aii-rv__btn--white{
  background:#fff;
  color: var(--blue-950);
  border: 1px solid rgba(255,255,255,.95);
}

.aii-rv__btn--outline{
  background: transparent;
  color: #fff;
  border: 1px solid rgba(51, 65, 85, .85);
}

@media (hover:hover){
  .aii-rv__btn:hover{
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(0,0,0,.18);
    opacity: .98;
  }

  .aii-rv__btn--outline:hover{
    background: rgba(255,255,255,.05);
    border-color: rgba(255,255,255,.18);
  }
}

.aii-rv__right{
  position: relative;
  min-height: var(--img-min-h);
  background-image: var(--img);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: grayscale(50%);
}

.aii-rv__right::before{
  content:"";
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.5);
}

.aii-rv__right::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(0deg, rgba(11,23,51,.45), rgba(11,23,51,.45)),
    linear-gradient(
      270deg,
      rgba(11,23,51,1) 0%,
      rgba(11,23,51,.55) 22%,
      rgba(11,23,51,0) 58%,
      rgba(11,23,51,0) 100%
    );
  pointer-events:none;
}

@media (min-width: 990px){
  .aii-rv__card{
    flex-direction: row;
    min-height: 520px;
  }

  .aii-rv__left,
  .aii-rv__right{
    width: 50%;
  }

  .aii-rv__left{
    padding: var(--pad-lg);
    min-height: var(--img-min-h-lg);
  }

  .aii-rv__right{
    min-height: var(--img-min-h-lg);
  }

  .aii-rv__text{
    font-size: 18px;
    margin-bottom: 32px;
  }
}


/* Nasconde le frecce del menu anche su tablet */
@media screen and (max-width: 989px) {
  .menu-drawer summary .icon-caret,
  .menu-drawer__menu-item .icon-caret,
  .menu-drawer__back-button .icon-caret {
    display: none !important;
  }
}
/* =========================================================
   AII — NEWS ARTICLE TEMPLATE
   Valido per tutti gli articoli del blog/news
========================================================= */

.aii-news-article {
  background: #fff;
}

.aii-news-article__inner {
  max-width: 1320px;
  margin: 0 auto;
}

.aii-news-article__header {
  max-width: 1100px;
  margin: 0 auto 28px;
  text-align: center;
}

/* Titolo principale */
.aii-news-article h1,
.aii-news-article .text-block.h2 > h1,
.aii-news-article .text-block.h2 h1,
.aii-news-article .custom-typography h1 {
  margin: 0 0 18px;
  font-size: clamp(40px, 5.2vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 900;
  color: #003b6c !important;
  text-wrap: balance;
}
.aii-news-article .text-block.h2,
.aii-news-article .text-block.h2 > *,
.aii-news-article .custom-typography,
.aii-news-article .custom-typography > * {
  color: #003b6c;
}
/* Data / dettagli */
.aii-news-article__header .caption,
.aii-news-article__header .caption-with-letter-spacing,
.aii-news-article__header .blog-post-info,
.aii-news-article__header .article__meta,
.aii-news-article__header time,
.aii-news-article__header [class*="date"] {
  color: #64748b;
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: 0.03em;
}

/* Blocco immagine meno impattante */
.aii-news-article__media {
  width: 100%;
  max-width: 1040px; /* uguale al contenuto testo */
  margin: 0 auto 42px;
}

.aii-news-article__media .media,
.aii-news-article__media picture,
.aii-news-article__media .image,
.aii-news-article__media > * {
  width: 100%;
}

.aii-news-article__media img,
.aii-news-article__media picture img,
.aii-news-article__media .media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

/* Corpo articolo più largo */
.aii-news-article__content {
  max-width: 1040px;
  margin: 0 auto;
}

/* Testo generale */
.aii-news-article__content,
.aii-news-article__content .rte,
.aii-news-article .rte {
  color: #1e293b;
  font-size: 18px;
  line-height: 1.9;
}

/* Paragrafi */
.aii-news-article__content p,
.aii-news-article .rte p {
  margin: 0 0 22px;
}

/* Heading interni */
.aii-news-article__content h2,
.aii-news-article__content h3,
.aii-news-article__content h4,
.aii-news-article .rte h2,
.aii-news-article .rte h3,
.aii-news-article .rte h4 {
  margin: 42px 0 14px;
  color: #003b6c;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.aii-news-article__content h2,
.aii-news-article .rte h2 {
  font-size: 32px;
}

.aii-news-article__content h3,
.aii-news-article .rte h3 {
  font-size: 27px;
}

.aii-news-article__content h4,
.aii-news-article .rte h4 {
  font-size: 22px;
}

/* Liste */
.aii-news-article__content ul,
.aii-news-article__content ol,
.aii-news-article .rte ul,
.aii-news-article .rte ol {
  margin: 0 0 24px;
  padding-left: 26px;
}

.aii-news-article__content li,
.aii-news-article .rte li {
  margin-bottom: 10px;
}

/* Link nel testo */
.aii-news-article__content a,
.aii-news-article .rte a {
  color: #003b6c;
  text-underline-offset: 3px;
}

/* Commenti / blocchi sotto */
.aii-news-article .blog-post-comments-container {
  max-width: 1040px;
  margin: 56px auto 0;
}

@media (max-width: 989px) {
  .aii-news-article__header {
    max-width: 100%;
    margin-bottom: 20px;
  }

  .aii-news-article h1 {
    font-size: clamp(34px, 9vw, 52px);
    line-height: 1.05;
  }

 .aii-news-article__media {
  max-width: 100%;
  margin-bottom: 28px;
}

.aii-news-article__media img,
.aii-news-article__media picture img,
.aii-news-article__media .media img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
}
  .aii-news-article__content {
    max-width: 100%;
  }

  .aii-news-article__content,
  .aii-news-article__content .rte,
  .aii-news-article .rte {
    font-size: 16px;
    line-height: 1.8;
  }

  .aii-news-article__content h2,
  .aii-news-article .rte h2 {
    font-size: 28px;
  }

  .aii-news-article__content h3,
  .aii-news-article .rte h3 {
    font-size: 24px;
  }

  .aii-news-article__content h4,
  .aii-news-article .rte h4 {
    font-size: 20px;
  }
