/*==============================================================
  GOLINE — Deep Space restyle (2026-10-11)
  Stesso linguaggio del footer Fix 65. Tutto scoped sotto body.ds
  (anteprima ?ds=1, vedi inc/inc-deep-space.php).
  Regole di prestazione: si animano solo opacity/transform; il cielo
  è un unico layer fisso; niente backdrop-filter sui blocchi grandi.
==============================================================*/

body.ds {
  --ds-bg: #0b1631;
  --ds-bg-2: #070d22;
  --ds-bg-rgb: 11, 22, 49;
  --ds-teal: #2bc4e6;
  --ds-gold: #ffc451;
  --ds-violet: #8f6bff;
  --ds-magenta: #d64fc4;
  --ds-text: rgba(225, 236, 248, .74);
  --ds-text-dim: rgba(225, 236, 248, .52);
  --ds-glass: rgba(255, 255, 255, .035);
  --ds-glass-2: rgba(255, 255, 255, .06);
  --ds-line: rgba(255, 255, 255, .10);
  --ds-line-teal: rgba(43, 196, 230, .28);
  --ds-radius: 20px;
  --ds-ease: cubic-bezier(.2, .7, .2, 1);
  background: var(--ds-bg);
  color: var(--ds-text);
}

/*---------------- Cielo fisso ----------------*/
body.ds #ds-space {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(120% 60% at 50% 0%, rgba(43, 196, 230, .10), transparent 60%),
    linear-gradient(180deg, #0e1c3f 0%, var(--ds-bg) 45%, var(--ds-bg-2) 100%);
}
body.ds #ds-space > span { position: absolute; display: block; }
body.ds .ds-stars { inset: -10% 0; will-change: transform; }
body.ds .ds-stars-1 {
  background-image:
    radial-gradient(2px 2px at 23px 41px, #fff 50%, transparent 51%),
    radial-gradient(2px 2px at 97px 13px, rgba(255,255,255,.8) 50%, transparent 51%),
    radial-gradient(2px 2px at 151px 88px, #fff 50%, transparent 51%),
    radial-gradient(2px 2px at 61px 162px, rgba(255,255,255,.7) 50%, transparent 51%),
    radial-gradient(2px 2px at 199px 141px, #fff 50%, transparent 51%),
    radial-gradient(2px 2px at 131px 211px, rgba(255,255,255,.6) 50%, transparent 51%),
    radial-gradient(2px 2px at 223px 37px, rgba(255,255,255,.9) 50%, transparent 51%),
    radial-gradient(2px 2px at 11px 227px, #fff 50%, transparent 51%);
  background-size: 300px 300px;
  opacity: .45;
}
body.ds .ds-stars-2 {
  background-image:
    radial-gradient(3px 3px at 51px 73px, #fff 50%, transparent 51%),
    radial-gradient(3px 3px at 283px 29px, #cfefff 50%, transparent 51%),
    radial-gradient(4px 4px at 173px 251px, #fff 50%, transparent 51%),
    radial-gradient(3px 3px at 331px 191px, #e6dcff 50%, transparent 51%),
    radial-gradient(3px 3px at 109px 331px, #fff 50%, transparent 51%);
  background-size: 433px 433px;
  animation: ds-twinkle 5s ease-in-out infinite alternate;
}
body.ds .ds-stars-3 {
  background-image:
    radial-gradient(1.5px 1.5px at 40px 90px, rgba(159,230,247,.9) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 160px 20px, rgba(203,185,255,.9) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 120px 170px, rgba(255,255,255,.8) 50%, transparent 51%);
  background-size: 197px 197px;
  animation: ds-twinkle 7s ease-in-out 1s infinite alternate-reverse;
}
body.ds .ds-nebula {
  inset: -25% -15%;
  background:
    radial-gradient(32% 40% at 10% 25%, rgba(143, 107, 255, .16), transparent 70%),
    radial-gradient(30% 36% at 90% 45%, rgba(43, 196, 230, .13), transparent 70%),
    radial-gradient(28% 32% at 40% 95%, rgba(214, 79, 196, .10), transparent 70%);
  animation: ds-drift 40s ease-in-out infinite alternate;
}
body.ds .ds-shoot {
  top: 14%;
  left: 0;
  width: 160px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, rgba(207, 239, 255, .9));
  transform-origin: 0 50%;
  opacity: 0;
  animation: ds-shoot 11s linear 3s infinite;
}
body.ds .ds-shoot-2 { top: 58%; width: 120px; animation-duration: 14s; animation-delay: 9s; }
@keyframes ds-shoot {
  0% { transform: rotate(18deg) translateX(-10vw); opacity: 0; }
  1% { opacity: 1; }
  9% { transform: rotate(18deg) translateX(70vw); opacity: 0; }
  100% { transform: rotate(18deg) translateX(70vw); opacity: 0; }
}
@keyframes ds-twinkle { from { opacity: .3; } to { opacity: 1; } }
@keyframes ds-drift { from { transform: translate3d(-3%, 0, 0) scale(1); } to { transform: translate3d(3%, -4%, 0) scale(1.08); } }

/* Parallasse delle stelle con lo scroll (scroll-driven animations: Chrome/Edge;
   negli altri browser il cielo resta semplicemente fermo). */
@supports (animation-timeline: scroll()) {
  body.ds .ds-stars-1 { animation: ds-par-1 linear both; animation-timeline: scroll(root); }
  body.ds .ds-stars-3 { animation: ds-par-3 linear both; animation-timeline: scroll(root); }
  @keyframes ds-par-1 { to { transform: translate3d(0, -8%, 0); } }
  @keyframes ds-par-3 { to { transform: translate3d(0, -4%, 0); } }

  body.ds #ds-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    z-index: 1100;
    background: linear-gradient(90deg, var(--ds-teal), var(--ds-violet), var(--ds-gold));
    box-shadow: 0 0 12px rgba(43, 196, 230, .8);
    transform-origin: 0 50%;
    transform: scaleX(0);
    animation: ds-progress linear both;
    animation-timeline: scroll(root);
  }
  @keyframes ds-progress { to { transform: scaleX(1); } }
}
body.ds #ds-progress { pointer-events: none; }

/*---------------- Header: capsula di vetro fluttuante ----------------*/
body.ds #header {
  position: fixed;
  top: 14px;
  left: 50%;
  right: auto;
  width: min(1340px, calc(100% - 28px));
  transform: translateX(-50%);
  z-index: 1000;
  padding: 8px 12px 8px 24px !important;
  border-radius: 999px;
  background: linear-gradient(160deg, rgba(14, 24, 56, .88), rgba(6, 10, 26, .9)) !important;
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .95), inset 0 1px 0 rgba(255, 255, 255, .10), 0 0 60px -20px rgba(43, 196, 230, .55);
  transition: padding .4s var(--ds-ease), box-shadow .4s ease, top .4s var(--ds-ease);
}
body.ds #header .ds-hdr-ring {
  /* bordo "aurora": maschera ad anello di 1.5px; dentro ruota un quadrato con il gradiente conico (solo transform) */
  position: absolute;
  inset: -1.5px;
  border-radius: inherit;
  padding: 1.5px;
  overflow: hidden;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
}
body.ds #header .ds-hdr-ring i {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1500px;
  height: 1500px;
  margin: -750px 0 0 -750px;
  background: conic-gradient(from 0deg, rgba(43, 196, 230, 0) 0%, rgba(43, 196, 230, .9) 12%, rgba(143, 107, 255, .9) 28%, rgba(255, 196, 81, .8) 40%, rgba(43, 196, 230, 0) 52%, rgba(43, 196, 230, 0) 100%);
  animation: ds-aurora 7s linear infinite;
  will-change: transform;
}
@keyframes ds-aurora { to { transform: rotate(1turn); } }
body.ds #header::after {
  /* bagliore interno in alto */
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(60% 120% at 50% -40%, rgba(43, 196, 230, .22), transparent 70%);
  pointer-events: none;
}
body.ds #header .ds-hdr-beam {
  /* cometa che percorre il bordo inferiore */
  position: absolute;
  left: 6%;
  bottom: 0;
  width: 18%;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, #bff1fb, #fff, #cbb9ff, transparent);
  box-shadow: 0 0 14px rgba(43, 196, 230, 1), 0 0 30px rgba(143, 107, 255, .7);
  animation: ds-beam 5s cubic-bezier(.45, 0, .55, 1) infinite alternate;
  pointer-events: none;
  z-index: 1;
}
@keyframes ds-beam { from { transform: translateX(0); opacity: .6; } 50% { opacity: 1; } to { transform: translateX(400%); opacity: .6; } }
body.ds #header.header-scrolled { top: 10px; padding: 5px 10px 5px 20px !important; background: rgba(8, 13, 32, .76) !important; -webkit-backdrop-filter: blur(14px) saturate(150%); backdrop-filter: blur(14px) saturate(150%); box-shadow: 0 24px 60px -24px rgba(0, 0, 0, .95), inset 0 1px 0 rgba(255, 255, 255, .10), 0 0 50px -16px rgba(43, 196, 230, .75); }
body.ds #header.slide-out, body.ds #header.slide-in { animation: none !important; }
/* logo con alone che respira */
body.ds #header > a { position: relative; display: inline-block; z-index: 2; isolation: isolate; }
body.ds #header > a::before {
  content: "";
  position: absolute;
  inset: -16px -30px;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(43, 196, 230, .45), rgba(143, 107, 255, .16) 55%, transparent);
  animation: ds-halo 4s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes ds-halo { from { opacity: .5; transform: scale(.9); } to { opacity: 1; transform: scale(1.08); } }
body.ds #header > a img { max-height: 56px; width: auto; filter: drop-shadow(0 0 10px rgba(43, 196, 230, .55)); transition: transform .4s var(--ds-ease); }
body.ds #header.header-scrolled > a img { max-height: 46px; }
body.ds #header > a:hover img { transform: translateY(-1px) scale(1.04); }
/* voci di menu */
body.ds #header > .d-flex { position: relative; z-index: 2; }
body.ds #navbar > ul { position: relative; gap: 2px; }
body.ds #navbar > ul > li > a,
body.ds #navbar > ul > li > a:link,
body.ds #navbar > ul > li > a:visited {
  position: relative;
  z-index: 1;
  padding: 10px 16px !important;
  border-radius: 999px;
  font-family: "Poppins", "Poppins Fallback", sans-serif;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: .01em;
  color: rgba(225, 236, 248, .85);
  transition: color .25s ease, text-shadow .25s ease;
}
body.ds #navbar > ul > li:hover > a,
body.ds #navbar > ul > li > a:hover,
body.ds #navbar > ul > li.active > a,
body.ds #navbar > ul > li.current-menu-item > a { color: #fff; text-shadow: 0 0 16px rgba(43, 196, 230, .9); }
body.ds #navbar > ul > li.active > a::after,
body.ds #navbar > ul > li.current-menu-item > a::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 5px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--ds-teal), var(--ds-violet));
  box-shadow: 0 0 10px rgba(43, 196, 230, .8);
}
/* indicatore che scivola sotto la voce (posizionato da js/deep-space.js) */
body.ds #navbar .ds-nav-ind {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(160deg, rgba(43, 196, 230, .26), rgba(143, 107, 255, .18));
  border: 1px solid rgba(43, 196, 230, .4);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 8px 24px -10px rgba(43, 196, 230, .9);
  opacity: 0;
  transition: transform .35s var(--ds-ease), width .35s var(--ds-ease), opacity .25s ease;
  pointer-events: none;
}
body.ds #navbar .ds-nav-ind.on { opacity: 1; }
/* ultima voce (Contact Us) = pulsante oro con riflesso */
body.ds #navbar > ul > li:last-child { margin-left: 10px; }
body.ds #navbar > ul > li:last-child > a,
body.ds #navbar > ul > li:last-child > a:link,
body.ds #navbar > ul > li:last-child > a:visited {
  overflow: hidden;
  color: #0a1024;
  background: linear-gradient(135deg, #ffd47a, var(--ds-gold) 55%, #ffab3d);
  box-shadow: 0 10px 26px -10px rgba(255, 196, 81, .9), 0 0 24px -6px rgba(255, 196, 81, .6);
  text-shadow: none;
  transition: transform .25s ease, box-shadow .25s ease;
}
body.ds #navbar > ul > li:last-child > a::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent);
  transform: translateX(-150%) skewX(-18deg);
  animation: ds-btn-sheen 4s ease-in-out 1s infinite;
}
@keyframes ds-btn-sheen { 0% { transform: translateX(-150%) skewX(-18deg); } 35%, 100% { transform: translateX(350%) skewX(-18deg); } }
body.ds #navbar > ul > li:last-child > a:hover,
body.ds #navbar > ul > li:last-child:hover > a { color: #0a1024; text-shadow: none; transform: translateY(-2px); box-shadow: 0 14px 34px -8px rgba(255, 196, 81, 1); }
body.ds #navbar > ul > li:last-child > a::after { display: none; }
/* menu a tendina in vetro */
body.ds #navbar .dropdown ul {
  top: calc(100% + 18px) !important;
  left: 6px;
  padding: 10px !important;
  border-radius: 18px;
  background: rgba(8, 13, 32, .92) !important;
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 30px 70px -24px rgba(0, 0, 0, .95), 0 0 36px -14px rgba(43, 196, 230, .45) !important;
  transform: translateY(8px) scale(.98);
  transform-origin: 20px 0;
  transition: opacity .25s ease, transform .3s var(--ds-ease), visibility .25s !important;
}
body.ds #navbar .dropdown ul::before {
  content: "";
  position: absolute;
  top: 0;
  left: 18px;
  right: 18px;
  height: 1px;
  background: linear-gradient(90deg, var(--ds-teal), var(--ds-violet), transparent);
}
body.ds #navbar .dropdown:hover > ul { top: calc(100% + 8px) !important; transform: none; }
body.ds #navbar .dropdown ul li { min-width: 240px; }
body.ds #navbar .dropdown ul a,
body.ds #navbar .dropdown ul a:link,
body.ds #navbar .dropdown ul a:visited {
  justify-content: flex-start !important;
  padding: 9px 14px !important;
  border-radius: 10px;
  color: var(--ds-text) !important;
  font-size: 14px;
  transition: background-color .2s ease, color .2s ease, padding-left .2s ease;
}
body.ds #navbar .dropdown ul a::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--ds-teal);
  box-shadow: 0 0 8px var(--ds-teal);
  opacity: .35;
  transition: opacity .2s ease;
}
body.ds #navbar .dropdown ul a:hover,
body.ds #navbar .dropdown ul li:hover > a { background: rgba(43, 196, 230, .12) !important; color: #fff !important; padding-left: 18px !important; }
body.ds #navbar .dropdown ul a:hover::before { opacity: 1; }
/* pulsante mobile (tre puntini) */
body.ds #navbar button.menu {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(43, 196, 230, .4);
  box-shadow: 0 0 18px -4px rgba(43, 196, 230, .7);
}
/* spazio sotto la capsula nelle pagine interne (la barra è fissa) */
body.ds:not(.home) main.site-main { padding-top: 96px; }
@media (max-width: 991.98px) {
  body.ds #header { top: 8px; width: calc(100% - 16px); padding: 6px 10px 6px 16px !important; }
  body.ds #header > a::before { inset: -10px -16px; }
  body.ds #header > a img { max-height: 44px; }
  body.ds:not(.home) main.site-main { padding-top: 84px; }
}
@media (prefers-reduced-motion: reduce) {
  body.ds #header .ds-hdr-ring i, body.ds #header .ds-hdr-beam, body.ds #header > a::before, body.ds #navbar > ul > li:last-child > a::before { animation: none; }
}

/*---------------- Hero: dissolvenza nello spazio ----------------*/
body.ds #hero { background-color: transparent !important; }
body.ds #hero .hero-waves { display: none !important; }
body.ds #hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 220px;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(var(--ds-bg-rgb), 0) 0%, rgba(var(--ds-bg-rgb), .75) 60%, var(--ds-bg) 100%);
}
body.ds #hero .icon-box {
  background: linear-gradient(160deg, rgba(43, 196, 230, .16), rgba(143, 107, 255, .10)) !important;
  border: 1px solid rgba(43, 196, 230, .35) !important;
  border-radius: 18px !important;
  box-shadow: 0 20px 50px -25px rgba(43, 196, 230, .6), inset 0 1px 0 rgba(255, 255, 255, .08);
  transition: transform .45s var(--ds-ease), box-shadow .45s ease, border-color .45s ease !important;
}
body.ds #hero .icon-box:hover {
  transform: translateY(-6px);
  border-color: var(--ds-gold) !important;
  box-shadow: 0 30px 60px -25px rgba(255, 196, 81, .55), inset 0 1px 0 rgba(255, 255, 255, .12);
}

/*---------------- Contenitori: tutto trasparente sul cielo ----------------*/
/* le stelle del cielo fisso compaiono gradualmente sotto l'hero (niente stacco) */
body.ds main#main { background: linear-gradient(180deg, var(--ds-bg) 0, rgba(var(--ds-bg-rgb), .85) 120px, rgba(var(--ds-bg-rgb), 0) 420px); }
body.ds .services-section-bg,
body.ds .sysarch-section,
body.ds .network-section,
body.ds .solutions-section-bg,
body.ds .news-grid-section,
body.ds .news-section,
body.ds .partners-section,
body.ds .trust-bar {
  background: transparent !important;
  border: 0 !important;
}
body.ds .services-section-bg::before,
body.ds .services-section-bg::after,
body.ds .sysarch-section::before,
body.ds .sysarch-section::after,
body.ds .news-section::before,
body.ds .news-section::after,
body.ds .partners-section::before { display: none !important; }
body.ds .section-divider {
  max-width: 900px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--ds-teal), var(--ds-violet), transparent);
  box-shadow: 0 0 18px rgba(43, 196, 230, .6);
  opacity: .6;
}

/*---------------- Tipografia ----------------*/
body.ds p { color: var(--ds-text); }
body.ds strong { color: #fff; }
body.ds .section-title h2 {
  color: var(--ds-gold) !important;
  font-family: "Poppins", "Poppins Fallback", sans-serif;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: .24em;
}
body.ds .section-title h2::after {
  width: 64px;
  height: 2px;
  border-radius: 2px;
  vertical-align: middle;
  background: linear-gradient(90deg, var(--ds-teal), var(--ds-violet));
  box-shadow: 0 0 10px rgba(43, 196, 230, .7);
}
body.ds .section-title h3,
body.ds .section-title p {
  font-family: "Poppins", "Poppins Fallback", sans-serif !important;
  font-weight: 700 !important;
  font-size: clamp(28px, 3.4vw, 46px) !important;
  line-height: 1.12 !important;
  letter-spacing: -.01em;
  text-transform: none !important;
  background: linear-gradient(92deg, #fff 20%, #9fe6f7 60%, #cbb9ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
}
body.ds .section-title h3 strong { color: inherit !important; font-weight: inherit; }

/*---------------- Intro ----------------*/
body.ds .home-intro-heading {
  font-family: "Poppins", "Poppins Fallback", sans-serif !important;
  font-size: clamp(34px, 5vw, 68px) !important;
  line-height: 1.05 !important;
  letter-spacing: -.025em;
  text-align: center;
  background: linear-gradient(95deg, #ffffff 0%, #d6f5fc 40%, #2bc4e6 70%, #8f6bff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
}
body.ds .home-intro-heading strong { color: transparent !important; }
body.ds .home-intro-heading + * , body.ds .home-intro-heading ~ p { text-align: center; }
body.ds [data-aos] > p[style*="#444"] {
  color: var(--ds-text) !important;
  text-align: center;
  max-width: 720px;
  margin-left: auto !important;
  margin-right: auto !important;
  font-size: 1.15rem !important;
}
body.ds .capability-strip { margin-top: 56px; }

/*---------------- Card "glass" condivise ----------------*/
body.ds .capability-highlight,
body.ds .expertise-card,
body.ds .service-card,
body.ds .sysarch-card,
body.ds .solution-tile,
body.ds .network-link {
  position: relative;
  background: linear-gradient(160deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .015)) !important;
  border: 1px solid var(--ds-line) !important;
  border-radius: var(--ds-radius) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 16px 32px -22px rgba(0, 0, 0, .9) !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  overflow: hidden;
  isolation: isolate;
  transition: transform .5s var(--ds-ease), border-color .4s ease, box-shadow .5s ease !important;
}
/* luce che segue il puntatore (--mx/--my impostati da js/deep-space.js) */
body.ds .ds-spot::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: -1 !important;
  display: block !important;
  width: auto !important;
  height: auto !important;
  border-radius: inherit;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, -30%), rgba(43, 196, 230, .16), transparent 45%) !important;
  opacity: 0;
  transition: opacity .4s ease !important;
  pointer-events: none;
  transform: none !important;
}
body.ds .ds-spot:hover::before { opacity: 1; }
body.ds .capability-highlight:hover,
body.ds .expertise-card:hover,
body.ds .service-card:hover,
body.ds .sysarch-card:hover,
body.ds .solution-tile:hover,
body.ds .network-link:hover {
  transform: translateY(-6px);
  border-color: var(--ds-line-teal) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 30px 70px -30px rgba(43, 196, 230, .45) !important;
}
body.ds .expertise-card::after,
body.ds .solution-tile::after,
body.ds .service-card::after { display: none !important; }

/* Icone a "orbita" luminosa */
body.ds .capability-highlight .capability-icon,
body.ds .service-card .service-icon,
body.ds .solution-tile .solution-icon {
  background: radial-gradient(circle at 35% 30%, rgba(43, 196, 230, .35), rgba(143, 107, 255, .12) 70%) !important;
  border: 1px solid rgba(43, 196, 230, .35) !important;
  box-shadow: 0 0 24px -4px rgba(43, 196, 230, .55);
  border-radius: 50% !important;
}
body.ds .capability-highlight i,
body.ds .expertise-card i,
body.ds .service-card .service-icon i,
body.ds .sysarch-card i,
body.ds .solution-tile .solution-icon i,
body.ds .network-link i {
  color: #bff1fb !important;
  text-shadow: 0 0 10px rgba(43, 196, 230, .75);
}
body.ds .capability-highlight:hover i,
body.ds .expertise-card:hover i,
body.ds .service-card:hover i,
body.ds .sysarch-card:hover i,
body.ds .solution-tile:hover i { color: var(--ds-gold) !important; text-shadow: 0 0 12px rgba(255, 196, 81, .8); filter: none !important; }

body.ds .capability-highlight h3,
body.ds .expertise-card h4,
body.ds .service-card h4,
body.ds .sysarch-card h4,
body.ds .solution-tile h4,
body.ds .network-link span {
  color: #fff !important;
  font-family: "Poppins", "Poppins Fallback", sans-serif;
  font-weight: 500;
}
body.ds .capability-highlight p,
body.ds .expertise-card p,
body.ds .service-card p,
body.ds .sysarch-card p,
body.ds .solution-tile p,
body.ds .network-link small { color: var(--ds-text-dim) !important; }

body.ds .expertise-card { border-left: 1px solid var(--ds-line) !important; padding: 44px 36px !important; }
body.ds .expertise-card::marker { content: none; }
body.ds .expertise-card .expertise-tags span {
  background: rgba(43, 196, 230, .08) !important;
  color: #cdeff8 !important;
  border: 1px solid rgba(43, 196, 230, .28) !important;
}
body.ds .expertise-card:hover .expertise-tags span {
  background: rgba(255, 196, 81, .10) !important;
  color: #ffe2a3 !important;
  border-color: rgba(255, 196, 81, .35) !important;
}
body.ds .service-card .service-arrow { color: var(--ds-teal) !important; }

/*---------------- Numeri (trust bar) ----------------*/
body.ds .trust-bar {
  position: relative;
  margin-left: auto;
  margin-right: auto;
  max-width: 1296px;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(120deg, rgba(43, 196, 230, .10), rgba(143, 107, 255, .10) 60%, rgba(255, 196, 81, .06)) !important;
  box-shadow: 0 30px 60px -36px rgba(43, 196, 230, .5), inset 0 1px 0 rgba(255, 255, 255, .08);
}
/* bordo luminoso che ruota */
body.ds .trust-bar::before {
  content: "" !important;
  position: absolute !important;
  inset: auto !important;
  top: 50% !important;
  left: 50% !important;
  width: 1400px !important;
  height: 1400px !important;
  margin: -700px 0 0 -700px;
  z-index: -1;
  background: conic-gradient(from 0deg, transparent 0 70%, rgba(43, 196, 230, .9) 80%, rgba(255, 196, 81, .9) 88%, transparent 96%) !important;
  animation: ds-spin 9s linear infinite !important;
}
body.ds .trust-bar::after {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: -1;
  border-radius: 27px;
  background: linear-gradient(120deg, #08112a, #0b0f2a 60%, #120d26);
}
body.ds .trust-bar { isolation: isolate; }
@keyframes ds-spin { to { transform: rotate(1turn); } }
body.ds .trust-bar .trust-item::after { background: linear-gradient(180deg, transparent, rgba(43, 196, 230, .45), transparent) !important; }
body.ds .trust-bar .trust-item .trust-number {
  font-family: "Poppins", "Poppins Fallback", sans-serif !important;
  font-size: clamp(2.2rem, 4.2vw, 3.6rem) !important;
  font-weight: 700 !important;
  background: linear-gradient(180deg, #fff6dd 0%, var(--ds-gold) 55%, #ff9f43 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
  text-shadow: none !important;
}
body.ds .trust-bar .trust-item .trust-label { color: var(--ds-text-dim) !important; letter-spacing: .22em; }

/*---------------- Spotlight prodotto ----------------*/
body.ds .gofresh-spotlight,
body.ds .routepulse-spotlight,
body.ds .gotrust-spotlight,
body.ds .gorecruit-spotlight {
  --acc: 43, 196, 230;
  position: relative;
  isolation: isolate;
  border-radius: 28px !important;
  border: 1px solid rgba(var(--acc), .28) !important;
  background:
    radial-gradient(70% 90% at 100% 0%, rgba(var(--acc), .16), transparent 60%),
    radial-gradient(60% 80% at 0% 100%, rgba(143, 107, 255, .10), transparent 60%),
    linear-gradient(160deg, rgba(10, 18, 40, .92), rgba(5, 8, 22, .92)) !important;
  box-shadow: 0 30px 70px -40px rgba(var(--acc), .55), inset 0 1px 0 rgba(255, 255, 255, .07) !important;
  overflow: hidden;
}
body.ds .gofresh-spotlight { --acc: 255, 196, 81; }
body.ds .routepulse-spotlight { --acc: 0, 212, 170; }
body.ds .gotrust-spotlight { --acc: 77, 216, 232; }
body.ds .gorecruit-spotlight { --acc: 92, 160, 255; }
/* riflesso che attraversa la card */
body.ds .gofresh-spotlight::before,
body.ds .routepulse-spotlight::before,
body.ds .gotrust-spotlight::before,
body.ds .gorecruit-spotlight::before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: auto !important;
  bottom: auto !important;
  width: 35% !important;
  height: 100% !important;
  z-index: 0 !important;
  opacity: 1 !important;
  border-radius: 0 !important;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .06), transparent) !important;
  transform: translateX(-150%) skewX(-18deg);
  animation: ds-sheen 9s ease-in-out infinite;
  pointer-events: none;
}
body.ds .gotrust-spotlight::before { animation-delay: 2s; }
body.ds .routepulse-spotlight::before { animation-delay: 4s; }
body.ds .gorecruit-spotlight::before { animation-delay: 6s; }
@keyframes ds-sheen { 0% { transform: translateX(-150%) skewX(-18deg); } 30%, 100% { transform: translateX(420%) skewX(-18deg); } }
body.ds .gofresh-spotlight > *,
body.ds .routepulse-spotlight > *,
body.ds .gotrust-spotlight > *,
body.ds .gorecruit-spotlight > * { position: relative; z-index: 1; }
body.ds .gofresh-spotlight h3,
body.ds .routepulse-spotlight h3,
body.ds .gotrust-spotlight h3,
body.ds .gorecruit-spotlight h3 {
  font-family: "Poppins", "Poppins Fallback", sans-serif;
  font-size: clamp(2rem, 3.4vw, 3rem) !important;
  font-weight: 700 !important;
  letter-spacing: -.02em !important;
  color: rgb(var(--acc)) !important;
  text-shadow: 0 0 40px rgba(var(--acc), .45) !important;
}
/* moduli/screenshot: inclinazione 3D al passaggio */
body.ds .gofresh-module,
body.ds .routepulse-module,
body.ds .gotrust-module,
body.ds .gorecruit-module {
  border-radius: 14px !important;
  border: 1px solid rgba(var(--acc), .25) !important;
  background: rgba(255, 255, 255, .03) !important;
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateZ(0);
  transition: transform .35s var(--ds-ease), box-shadow .4s ease, border-color .4s ease !important;
}
body.ds .gofresh-module:hover,
body.ds .routepulse-module:hover,
body.ds .gotrust-module:hover,
body.ds .gorecruit-module:hover {
  border-color: rgba(var(--acc), .7) !important;
  box-shadow: 0 24px 50px -20px rgba(var(--acc), .6) !important;
}
body.ds .gofresh-spotlight .btn-outline-light,
body.ds .routepulse-btn,
body.ds .gotrust-btn,
body.ds .gorecruit-btn {
  border-radius: 999px !important;
  padding: 12px 26px !important;
  border: 1px solid rgba(var(--acc), .6) !important;
  color: #fff !important;
  background: rgba(var(--acc), .10) !important;
  font-family: "Poppins", "Poppins Fallback", sans-serif;
  font-weight: 500;
  letter-spacing: .04em;
  transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease !important;
}
body.ds .gofresh-spotlight .btn-outline-light:hover,
body.ds .routepulse-btn:hover,
body.ds .gotrust-btn:hover,
body.ds .gorecruit-btn:hover {
  transform: translateY(-2px);
  background: rgba(var(--acc), .22) !important;
  box-shadow: 0 12px 30px -8px rgba(var(--acc), .7);
}

/*---------------- Rete AS202032: orbite ----------------*/
body.ds .network-section { isolation: isolate; }
body.ds .network-section::before {
  content: "" !important;
  position: absolute !important;
  top: 50% !important;
  left: 72% !important;
  width: 760px !important;
  height: 760px !important;
  margin: -380px 0 0 -380px;
  border-radius: 50%;
  z-index: -1;
  background:
    radial-gradient(circle, rgba(43, 196, 230, .10) 0, transparent 55%),
    repeating-radial-gradient(circle, transparent 0 88px, rgba(43, 196, 230, .12) 89px 90px, transparent 91px 120px) !important;
  animation: ds-pulse 8s ease-in-out infinite !important;
  transform: none;
}
body.ds .network-section::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 72%;
  width: 540px;
  height: 540px;
  margin: -270px 0 0 -270px;
  border-radius: 50%;
  z-index: -1;
  border: 1px dashed rgba(143, 107, 255, .25);
  background:
    radial-gradient(6px 6px at 50% 0, var(--ds-gold) 50%, transparent 55%),
    radial-gradient(5px 5px at 100% 50%, var(--ds-teal) 50%, transparent 55%),
    radial-gradient(4px 4px at 12% 80%, #cbb9ff 50%, transparent 55%);
  animation: ds-spin 40s linear infinite;
}
@keyframes ds-pulse { 0%, 100% { opacity: .55; transform: scale(.97); } 50% { opacity: 1; transform: scale(1.03); } }
body.ds .network-section .as-badge,
body.ds .network-section h2 {
  background: linear-gradient(90deg, #6ff3d6, var(--ds-teal), #cbb9ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
}

/*---------------- News ----------------*/
body.ds .news-posts-grid .wp-block-latest-posts li {
  border-radius: var(--ds-radius) !important;
  border: 1px solid var(--ds-line) !important;
  background: linear-gradient(160deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015)) !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}
body.ds .news-posts-grid .wp-block-latest-posts__featured-image { border-radius: var(--ds-radius) var(--ds-radius) 0 0 !important; }
body.ds .news-posts-grid .wp-block-latest-posts li:hover .wp-block-latest-posts__post-title { color: var(--ds-teal) !important; }
body.ds .news-cta-btn { color: var(--ds-gold) !important; }

/*---------------- Partner: loghi su chip chiari ----------------*/
body.ds .partners-section .wpls-logo-showcase img,
body.ds .partners-section img {
  background: rgba(255, 255, 255, .94);
  border-radius: 14px;
  padding: 10px 14px;
  box-shadow: 0 16px 40px -18px rgba(43, 196, 230, .55);
  transition: transform .35s var(--ds-ease), box-shadow .35s ease;
}
body.ds .partners-section img:hover { transform: translateY(-4px) scale(1.04); box-shadow: 0 20px 44px -16px rgba(255, 196, 81, .6); }
body.ds .partners-section .slick-arrow { filter: invert(1) hue-rotate(180deg); opacity: .8; }

/*---------------- Footer: nessuna onda (sopra è già "spazio") ----------------*/
body.ds #footer.gf .gf-wave { display: none; }
body.ds #footer.gf { background: transparent !important; }
/* Stesso fondo e stesso cielo (stelle, nebulose, stella cadente) del footer Fix 65:
   il bordo superiore sfuma dal cielo della pagina al blu del footer. */
body.ds #footer.gf .gf-body {
  padding-top: 40px;
  background: linear-gradient(180deg, transparent 0%, rgba(3, 5, 13, .45) 60%, rgba(3, 5, 13, .8) 100%) !important;
}
body.ds #footer.gf .gf-sky { display: none; }

/*---------------- Comparsa allo scroll (classi da js/deep-space.js) ----------------*/
body.ds .ds-rv { opacity: 0; transform: translate3d(0, 36px, 0) scale(.98); transition: opacity 1s var(--ds-ease), transform 1s var(--ds-ease); transition-delay: var(--d, 0s); }
body.ds .ds-rv.ds-in { opacity: 1; transform: none; }

/*---------------- Responsive ----------------*/
@media (max-width: 991.98px) {
  body.ds .network-section::before,
  body.ds .network-section::after { left: 50% !important; opacity: .5; }
  body.ds .trust-bar { border-radius: 22px; margin-left: 12px; margin-right: 12px; }
}
@media (max-width: 575.98px) {
  body.ds .gofresh-spotlight,
  body.ds .routepulse-spotlight,
  body.ds .gotrust-spotlight,
  body.ds .gorecruit-spotlight { border-radius: 22px !important; padding: 36px 22px !important; }
  body.ds .expertise-card { padding: 32px 24px !important; }
}
@media (prefers-reduced-motion: reduce) {
  body.ds #ds-space > span,
  body.ds .ds-shoot,
  body.ds .trust-bar::before,
  body.ds .network-section::before,
  body.ds .network-section::after,
  body.ds .gofresh-spotlight::before,
  body.ds .routepulse-spotlight::before,
  body.ds .gotrust-spotlight::before,
  body.ds .gorecruit-spotlight::before,
  body.ds #ds-progress { animation: none !important; }
  body.ds .ds-rv { opacity: 1; transform: none; transition: none; }
}

/*---------------- Hero: orizzonte del pianeta ----------------*/
body.ds #hero::after { height: 90px; z-index: 2; background: linear-gradient(180deg, rgba(var(--ds-bg-rgb), 0), var(--ds-bg)); }
/* Fix perf: niente box-shadow sfocate su un cerchio di 2600 px (raster molto costoso,
   soprattutto sulle CPU lente di GTmetrix). Bordo, alone e luce interna sono gradienti
   radiali concentrici calcolati sul raggio --R: stesso aspetto, raster quasi gratuito. */
body.ds .ds-planet {
  --R: 1300px;
  position: absolute;
  left: 50%;
  top: calc(100% - 150px);
  width: calc(var(--R) * 2);
  height: calc(var(--R) * 2);
  margin-left: calc(var(--R) * -1);
  border-radius: 50%;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(50% 6% at 50% 0%, rgba(120, 220, 255, .55), transparent 100%),
    radial-gradient(circle closest-side, transparent calc(var(--R) - 70px), rgba(43, 196, 230, .32) calc(var(--R) - 2px), rgba(200, 245, 255, .95) var(--R)),
    radial-gradient(circle at 50% 0%, #1a3f80 0, #112856 40px, #0d1c42 95px, var(--ds-bg) 150px);
}
/* alone atmosferico esterno: anello concentrico più grande, trasparente all'interno */
body.ds .ds-planet::before {
  content: "";
  position: absolute;
  inset: -160px;
  border-radius: 50%;
  z-index: -1;
  background: radial-gradient(circle closest-side,
    transparent calc(var(--R) - 1px),
    rgba(80, 210, 240, .8) calc(var(--R) + 2px),
    rgba(43, 196, 230, .3) calc(var(--R) + 30px),
    rgba(143, 107, 255, .14) calc(var(--R) + 90px),
    transparent calc(var(--R) + 160px));
}
/* "alba" dietro l'orizzonte, respira lentamente */
body.ds .ds-planet-dawn {
  position: absolute;
  left: 50%;
  top: -160px;
  width: 1100px;
  height: 320px;
  margin-left: -550px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 236, 190, .55), rgba(255, 196, 81, .22) 35%, rgba(143, 107, 255, .12) 65%, transparent 100%);
  animation: ds-dawn 7s ease-in-out infinite alternate;
}
@keyframes ds-dawn { from { opacity: .55; transform: scale(.94); } to { opacity: 1; transform: scale(1.04); } }
@media (max-width: 991.98px) {
  body.ds .ds-planet { --R: 800px; top: calc(100% - 110px); }
  body.ds .ds-planet-dawn { width: 700px; height: 220px; margin-left: -350px; top: -110px; }
}
@media (prefers-reduced-motion: reduce) { body.ds .ds-planet-dawn { animation: none; } }

/* Partner: i loghi hanno già fondo bianco, solo arrotondamento e alone */
body.ds .partners-section img { padding: 0 !important; background: none !important; }

@media (max-width: 991.98px) {
  /* hero a contenuto variabile: spazio per l'orizzonte sotto l'ultima card */
  body.ds #hero { padding-bottom: 170px; height: auto; min-height: 100vh; }
}
@media (max-width: 575.98px) {
  body.ds .trust-bar .trust-item .trust-number { font-size: 1.9rem !important; }
  body.ds .trust-bar .trust-item:first-child .trust-number { font-size: 1.45rem !important; line-height: 1.6; }
}

@media (max-width: 575.98px) {
  body.ds .trust-bar::before { width: 760px !important; height: 760px !important; margin: -380px 0 0 -380px; }
}

/*==============================================================
  PARTNER: due file che scorrono in direzioni opposte
==============================================================*/
body.ds .ds-partners {
  display: grid;
  gap: 18px;
  margin: 10px 0 20px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
}
body.ds .ds-partner-row { overflow: hidden; }
body.ds .ds-partner-track { display: flex; width: max-content; animation: ds-marquee 60s linear infinite; }
body.ds .ds-partner-row-2 .ds-partner-track { animation-direction: reverse; animation-duration: 70s; }
body.ds .ds-partner-row:hover .ds-partner-track { animation-play-state: paused; }
body.ds .ds-partner-set { display: flex; gap: 16px; padding-right: 16px; }
@keyframes ds-marquee { to { transform: translate3d(-50%, 0, 0); } }
body.ds a.ds-partner,
body.ds a.ds-partner:link,
body.ds a.ds-partner:visited {
  --brand: #9fe6f7;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  height: 72px;
  padding: 0 26px 0 20px;
  border-radius: 18px;
  border: 1px solid var(--ds-line);
  background: linear-gradient(160deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .015));
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color .3s ease, background-color .3s ease, transform .3s var(--ds-ease);
}
body.ds a.ds-partner:hover { border-color: var(--ds-line-teal); transform: translateY(-3px); }
body.ds .ds-partner-icon {
  width: 30px;
  height: 30px;
  flex: none;
  fill: rgba(235, 245, 255, .88);
  transition: fill .3s ease;
}
body.ds a.ds-partner:hover .ds-partner-icon { fill: var(--brand); }
body.ds .ds-partner-dot {
  width: 10px;
  height: 10px;
  flex: none;
  border-radius: 50%;
  background: var(--ds-teal);
  box-shadow: 0 0 12px var(--ds-teal);
}
body.ds .ds-partner-text { display: flex; flex-direction: column; line-height: 1.15; }
body.ds .ds-partner-name {
  font-family: "Poppins", "Poppins Fallback", sans-serif;
  font-weight: 500;
  font-size: 18px;
  letter-spacing: -.005em;
  color: rgba(240, 246, 255, .92);
}
body.ds .ds-partner-tag {
  margin-top: 4px;
  font-family: "Poppins", "Poppins Fallback", sans-serif;
  font-weight: 500;
  font-size: 10.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ds-gold);
}
@media (max-width: 575.98px) {
  body.ds a.ds-partner { height: 60px; padding: 0 18px 0 14px; }
  body.ds .ds-partner-name { font-size: 15px; }
  body.ds .ds-partner-icon { width: 24px; height: 24px; }
}

/*==============================================================
  NEWS: timeline
==============================================================*/
body.ds .news-subtitle { color: var(--ds-text) !important; }
body.ds .news-posts-grid { max-width: 1100px; margin: 0 auto; }
body.ds .ds-tl { position: relative; margin: 40px 0 10px; }
body.ds .ds-tl-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  margin-left: -1px;
  overflow: hidden;
  background: linear-gradient(180deg, transparent, rgba(43, 196, 230, .45) 6%, rgba(143, 107, 255, .45) 94%, transparent);
}
/* luce che scorre lungo la linea */
body.ds .ds-tl-pulse { position: absolute; inset: 0; animation: ds-tl-pulse 5s cubic-bezier(.45, 0, .55, 1) infinite; }
body.ds .ds-tl-pulse::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 18%;
  background: linear-gradient(180deg, transparent, #bff1fb 70%, #fff);
  box-shadow: 0 0 14px #2bc4e6;
}
@keyframes ds-tl-pulse { from { transform: translateY(-20%); } to { transform: translateY(100%); } }
body.ds .ds-tl-list { list-style: none; margin: 0; padding: 0; }
body.ds .ds-tl-item {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 96px 1fr;
  align-items: center;
  margin: 0 0 34px;
}
body.ds .ds-tl-left .ds-tl-card { grid-column: 1; grid-row: 1; }
body.ds .ds-tl-left .ds-tl-date { grid-column: 3; grid-row: 1; text-align: left; }
body.ds .ds-tl-right .ds-tl-card { grid-column: 3; grid-row: 1; }
body.ds .ds-tl-right .ds-tl-date { grid-column: 1; grid-row: 1; text-align: right; }
body.ds .ds-tl-node {
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
  position: relative;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--ds-bg);
  border: 2px solid var(--ds-teal);
  box-shadow: 0 0 0 6px rgba(43, 196, 230, .12), 0 0 18px rgba(43, 196, 230, .8);
  z-index: 1;
}
body.ds .ds-tl-latest .ds-tl-node { border-color: var(--ds-gold); box-shadow: 0 0 0 6px rgba(255, 196, 81, .14), 0 0 22px rgba(255, 196, 81, .9); }
body.ds .ds-tl-latest .ds-tl-node::after {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 1px solid rgba(255, 196, 81, .6);
  animation: ds-ping 2.4s ease-out infinite;
}
@keyframes ds-ping { from { transform: scale(.6); opacity: 1; } to { transform: scale(2.2); opacity: 0; } }
body.ds .ds-tl-date { display: flex; flex-direction: column; font-family: "Poppins", "Poppins Fallback", sans-serif; color: var(--ds-text-dim); }
body.ds .ds-tl-date b {
  font-weight: 700;
  font-size: 40px;
  line-height: 1;
  background: linear-gradient(180deg, #fff, #9fe6f7);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
body.ds .ds-tl-date span { font-size: 13px; letter-spacing: .2em; text-transform: uppercase; margin-top: 6px; }
body.ds .ds-tl-latest .ds-tl-date b { background-image: linear-gradient(180deg, #fff6dd, var(--ds-gold)); }
body.ds a.ds-tl-card,
body.ds a.ds-tl-card:link,
body.ds a.ds-tl-card:visited {
  position: relative;
  display: flex;
  gap: 20px;
  align-items: center;
  padding: 18px;
  border-radius: var(--ds-radius);
  border: 1px solid var(--ds-line);
  background: linear-gradient(160deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .015));
  color: inherit;
  text-decoration: none;
  transition: transform .45s var(--ds-ease), border-color .35s ease, box-shadow .45s ease;
}
/* "braccio" luminoso che collega la card alla linea */
body.ds .ds-tl-card::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, rgba(43, 196, 230, .7), transparent);
}
body.ds .ds-tl-left .ds-tl-card::after { right: -40px; transform: scaleX(-1); }
body.ds .ds-tl-right .ds-tl-card::after { left: -40px; }
body.ds a.ds-tl-card:hover { transform: translateY(-5px); border-color: var(--ds-line-teal); box-shadow: 0 26px 50px -28px rgba(43, 196, 230, .6); }
body.ds .ds-tl-latest a.ds-tl-card { border-color: rgba(255, 196, 81, .35); }
body.ds .ds-tl-thumb { flex: none; width: 128px; height: 80px; border-radius: 12px; overflow: hidden; background: #fff; }
body.ds .ds-tl-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ds-ease); }
body.ds a.ds-tl-card:hover .ds-tl-thumb img { transform: scale(1.06); }
body.ds .ds-tl-body { display: flex; flex-direction: column; min-width: 0; }
body.ds .ds-tl-badge {
  align-self: flex-start;
  margin-bottom: 8px;
  padding: 3px 10px;
  border-radius: 999px;
  font-family: "Poppins", "Poppins Fallback", sans-serif;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #0a1024;
  background: linear-gradient(135deg, #ffd47a, var(--ds-gold));
}
body.ds .ds-tl-title { font-family: "Poppins", "Poppins Fallback", sans-serif; font-weight: 500; font-size: 17px; line-height: 1.3; color: #fff; }
body.ds .ds-tl-excerpt {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ds-text-dim);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
body.ds .ds-tl-more { margin-top: 8px; font-size: 13px; font-weight: 600; color: var(--ds-teal); }
body.ds .ds-tl-more i { display: inline-block; transition: transform .25s ease; }
body.ds a.ds-tl-card:hover .ds-tl-more i { transform: translateX(4px); }
/* comparsa laterale */
body.ds .ds-tl-left.ds-rv { transform: translate3d(-40px, 0, 0); }
body.ds .ds-tl-right.ds-rv { transform: translate3d(40px, 0, 0); }
body.ds .ds-tl-item.ds-rv.ds-in { transform: none; }
@media (max-width: 767.98px) {
  body.ds .ds-tl-line { left: 9px; }
  body.ds .ds-tl-item { grid-template-columns: 18px 1fr; column-gap: 18px; row-gap: 10px; }
  body.ds .ds-tl-node { grid-column: 1; grid-row: 1; }
  body.ds .ds-tl-left .ds-tl-date,
  body.ds .ds-tl-right .ds-tl-date { grid-column: 2; grid-row: 1; text-align: left; flex-direction: row; align-items: baseline; gap: 10px; }
  body.ds .ds-tl-date b { font-size: 26px; }
  body.ds .ds-tl-left .ds-tl-card,
  body.ds .ds-tl-right .ds-tl-card { grid-column: 2; grid-row: 2; }
  body.ds .ds-tl-card::after { display: none; }
  body.ds a.ds-tl-card { flex-direction: column; align-items: stretch; }
  body.ds .ds-tl-thumb { width: 100%; height: 150px; }
  body.ds .ds-tl-left.ds-rv,
  body.ds .ds-tl-right.ds-rv { transform: translate3d(0, 30px, 0); }
}
@media (prefers-reduced-motion: reduce) {
  body.ds .ds-partner-track,
  body.ds .ds-tl-pulse,
  body.ds .ds-tl-latest .ds-tl-node::after { animation: none !important; }
}
body.ds .ds-partner-badge { width: 74px; height: 52px; flex: none; object-fit: contain; }
body.ds .ds-partner-badge[src*="veeam"] { filter: drop-shadow(0 4px 10px rgba(0, 209, 95, .25)); }
body.ds .ds-partner-badge[src*="dynamics"] { width: 52px; }
body.ds .ds-partner-badge[src*="sunrise"] { width: 48px; height: 44px; }
@media (max-width: 575.98px) { body.ds .ds-partner-badge { width: 60px; height: 42px; } }

/* Partner: loghi al posto dei nomi */
body.ds .ds-partner-logo { height: 34px; width: auto; max-width: 180px; object-fit: contain; display: block; }
body.ds .ds-partner-tag-side { margin: 0 0 0 4px; padding-left: 14px; border-left: 1px solid rgba(255, 255, 255, .14); line-height: 1.3; }
body.ds .ds-partner-row-2 .ds-partner-logo { height: 30px; }
@media (max-width: 575.98px) {
  body.ds .ds-partner-logo, body.ds .ds-partner-row-2 .ds-partner-logo { height: 26px; max-width: 140px; }
}

/*==============================================================
  FASE 2 — PAGINE INTERNE (page.php, single.php, faq, contact,
  opportunities, archivio news, search, 404). Stesso cielo della home;
  i pannelli bianchi del vecchio tema diventano vetro scuro.
==============================================================*/
body.ds main.site-main { background: transparent !important; color: var(--ds-text); }
body.ds main.site-main.page,
body.ds main.site-main.single { padding-bottom: 40px; }

/* --- Intestazione di pagina (era la fascia teal .breadcrumbs) --- */
body.ds .breadcrumbs {
  background: transparent !important;
  padding: 56px 0 28px !important;
  min-height: 0;
  position: relative;
  color: #fff;
}
body.ds .breadcrumbs::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: min(1296px, calc(100% - 24px));
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, var(--ds-teal), var(--ds-violet) 50%, transparent);
  opacity: .55;
}
body.ds .breadcrumbs .d-flex { flex-direction: column-reverse !important; align-items: flex-start !important; gap: 10px; }
body.ds .breadcrumbs ol li {
  font-family: "Poppins", "Poppins Fallback", sans-serif;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--ds-gold);
}
body.ds .breadcrumbs ol li::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 2px;
  margin: 0 10px 4px 0;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--ds-teal), var(--ds-violet));
  vertical-align: middle;
}
body.ds .breadcrumbs h2 {
  font-family: "Poppins", "Poppins Fallback", sans-serif !important;
  font-weight: 700 !important;
  font-size: clamp(30px, 4vw, 52px) !important;
  line-height: 1.1;
  letter-spacing: -.02em;
  background: linear-gradient(92deg, #fff 20%, #9fe6f7 65%, #cbb9ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
}

/* --- Tipografia dei contenuti --- */
body.ds .inner-page,
body.ds main.single .container,
body.ds .entry-content { color: var(--ds-text); font-size: 17px; line-height: 1.75; }
body.ds .inner-page p,
body.ds .page p,
body.ds main.single p { color: var(--ds-text) !important; font-size: 17px; }
body.ds .inner-page h1, body.ds .inner-page h2, body.ds .inner-page h3, body.ds .inner-page h4,
body.ds main.single h1, body.ds main.single h2, body.ds main.single h3,
body.ds .entry-content h1, body.ds .entry-content h2, body.ds .entry-content h3,
body.ds .faq-title {
  font-family: "Poppins", "Poppins Fallback", sans-serif;
  color: #fff !important;
  letter-spacing: -.01em;
}
body.ds .inner-page h1, body.ds main.single h1 { font-size: clamp(28px, 3.2vw, 42px); font-weight: 700; line-height: 1.15; }
body.ds .inner-page h2, body.ds main.single h2 { font-size: clamp(22px, 2.4vw, 30px); font-weight: 600; margin-top: 1.4em; }
body.ds .inner-page h2::before,
body.ds main.single h2::before {
  content: "";
  display: block;
  width: 44px;
  height: 2px;
  margin-bottom: 12px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--ds-teal), var(--ds-violet));
  box-shadow: 0 0 10px rgba(43, 196, 230, .7);
}
body.ds .inner-page h3, body.ds main.single h3 { font-size: 21px; font-weight: 600; }
body.ds main.site-main strong, body.ds .page strong { color: #fff; }
body.ds main.site-main a:not(.btn):not(.gf-btn):not(.ds-partner):not(.ds-tl-card):not(.job-teaser):not(.job-btn),
body.ds main.site-main a:not(.btn):link { color: #7fe3f8; text-decoration: none; transition: color .2s ease; }
body.ds main.site-main a:not(.btn):hover { color: var(--ds-gold); }
body.ds .inner-page ul:not(.nav):not(.list-group):not(.job-facts):not(.wp-block-post-template):not(.wp-block-latest-posts):not(.gl-author-cert),
body.ds main.single .entry-content ul,
body.ds main.single section ul { list-style: none; padding-left: 0; }
body.ds .inner-page ul:not(.nav):not(.list-group):not(.job-facts):not(.wp-block-post-template):not(.wp-block-latest-posts):not(.gl-author-cert) > li,
body.ds main.single .entry-content ul > li,
body.ds main.single section ul > li { position: relative; padding-left: 26px; margin: 8px 0; }
body.ds .inner-page ul:not(.nav):not(.list-group):not(.job-facts):not(.wp-block-post-template):not(.wp-block-latest-posts):not(.gl-author-cert) > li::before,
body.ds main.single .entry-content ul > li::before,
body.ds main.single section ul > li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: .72em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ds-teal);
  box-shadow: 0 0 10px var(--ds-teal);
}
body.ds .inner-page ol:not(.breadcrumb) > li { margin: 8px 0; }
body.ds .inner-page ol:not(.breadcrumb) > li::marker { color: var(--ds-gold); font-weight: 600; }
body.ds hr, body.ds .wp-block-separator {
  border: 0 !important;
  height: 1px !important;
  margin: 40px auto !important;
  background: linear-gradient(90deg, transparent, var(--ds-teal), var(--ds-violet), transparent) !important;
  opacity: .6;
}
body.ds .inner-page img,
body.ds main.single img.img-fluid { border-radius: 16px; }
body.ds .inner-page figure { margin-bottom: 0; }
body.ds .inner-page .wp-block-media-text { gap: 32px; }
body.ds .inner-page .wp-block-image img { box-shadow: 0 24px 60px -30px rgba(0, 0, 0, .9); }
body.ds .inner-page table, body.ds main.single table { color: var(--ds-text); border-color: var(--ds-line); }
body.ds .inner-page table th { color: #fff; border-bottom: 1px solid var(--ds-line-teal); }
body.ds .inner-page table td { border-color: var(--ds-line); }
body.ds .text-muted, body.ds .text-secondary { color: var(--ds-text-dim) !important; }
body.ds .alert-info { background: rgba(43, 196, 230, .10); border: 1px solid var(--ds-line-teal); color: #cdeff8; border-radius: 14px; }

/* Pannelli bianchi del vecchio tema -> vetro scuro */
body.ds main.site-main .bg-white,
body.ds main.site-main .border.rounded-3,
body.ds main.site-main .card,
body.ds main.site-main .job-card,
body.ds main.site-main .job-teaser,
body.ds main.site-main .list-group-item,
body.ds main.site-main .wp-block-columns.has-background,
body.ds main.site-main .wp-block-group.has-background,
body.ds main.site-main [style*="background-color: white"],
body.ds main.site-main [style*="background-color:white"],
body.ds main.site-main [style*="background: white"],
body.ds main.site-main [style*="background:#fff"],
body.ds main.site-main [style*="background: #fff"],
body.ds main.site-main [style*="background-color:#fff"],
body.ds main.site-main [style*="background-color: #fff"],
body.ds main.site-main [style*="background-color:#f"],
body.ds main.site-main [style*="background-color: #f"] {
  background: linear-gradient(160deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02)) !important;
  border: 1px solid var(--ds-line) !important;
  border-radius: var(--ds-radius) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 24px 60px -30px rgba(0, 0, 0, .9) !important;
  color: var(--ds-text);
}
body.ds main.site-main .shadow,
body.ds main.site-main .shadow-lg { box-shadow: 0 30px 80px -40px rgba(43, 196, 230, .35) !important; }
/* i loghi/illustrazioni con fondo bianco restano su fondo bianco (sono immagini), ma arrotondati */
body.ds main.site-main img[src$=".jpg"], body.ds main.site-main img[src$=".jpeg"] { border-radius: 12px; }

/* --- Pulsanti --- */
body.ds main.site-main .btn-primary,
body.ds main.site-main .wpcf7-submit,
body.ds main.site-main .job-btn,
body.ds main.site-main .news-cta-btn {
  border: 0 !important;
  border-radius: 999px !important;
  padding: 12px 26px !important;
  font-family: "Poppins", "Poppins Fallback", sans-serif;
  font-weight: 500;
  color: #0a1024 !important;
  background: linear-gradient(135deg, #ffd47a, var(--ds-gold) 50%, #ffab3d) !important;
  box-shadow: 0 10px 30px -8px rgba(255, 196, 81, .55);
  transition: transform .25s ease, box-shadow .25s ease !important;
}
body.ds main.site-main .btn-primary:hover,
body.ds main.site-main .wpcf7-submit:hover,
body.ds main.site-main .job-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 38px -6px rgba(255, 196, 81, .75); color: #0a1024 !important; }
body.ds main.site-main .btn-outline-primary,
body.ds main.site-main .btn-outline-dark,
body.ds main.site-main .btn-outline-light,
body.ds main.site-main .btn-secondary {
  border-radius: 999px !important;
  border: 1px solid rgba(255, 255, 255, .28) !important;
  background: rgba(255, 255, 255, .04) !important;
  color: #fff !important;
}
body.ds main.site-main .btn-outline-primary:hover,
body.ds main.site-main .btn-outline-dark:hover,
body.ds main.site-main .btn-outline-light:hover { border-color: var(--ds-teal) !important; background: rgba(43, 196, 230, .12) !important; }

/* --- Form (CF7, ricerca FAQ) --- */
body.ds main.site-main .form-control,
body.ds main.site-main .form-select,
body.ds main.site-main input[type="text"],
body.ds main.site-main input[type="email"],
body.ds main.site-main input[type="tel"],
body.ds main.site-main input[type="search"],
body.ds main.site-main input[type="file"],
body.ds main.site-main textarea,
body.ds main.site-main select {
  background-color: rgba(5, 10, 28, .55) !important;
  border: 1px solid rgba(255, 255, 255, .16) !important;
  border-radius: 12px !important;
  color: #fff !important;
  box-shadow: none !important;
  transition: border-color .2s ease, box-shadow .2s ease;
}
body.ds main.site-main .form-control:focus,
body.ds main.site-main input:focus,
body.ds main.site-main textarea:focus,
body.ds main.site-main select:focus { border-color: var(--ds-teal) !important; box-shadow: 0 0 0 3px rgba(43, 196, 230, .2) !important; outline: 0; }
body.ds main.site-main ::placeholder { color: rgba(225, 236, 248, .45); }
body.ds main.site-main label, body.ds main.site-main .form-label, body.ds main.site-main .form-text { color: var(--ds-text) !important; }
body.ds main.site-main .form-select { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%239fe6f7' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") !important; }
body.ds main.site-main .wpcf7-form-control-wrap { display: block; }
body.ds main.site-main .wpcf7-not-valid-tip { color: #ffb0a0; }
body.ds main.site-main .wpcf7-response-output { border-color: var(--ds-line-teal) !important; border-radius: 12px; color: #cdeff8; }

/* --- Contact Us --- */
body.ds .contact__wrapper { background: transparent !important; border-radius: 28px !important; overflow: hidden; border: 1px solid var(--ds-line); }
body.ds .contact-form__wrapper { background: linear-gradient(160deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02)) !important; }
body.ds .gradient-brand-color {
  background: linear-gradient(160deg, rgba(43, 196, 230, .25), rgba(143, 107, 255, .18) 60%, rgba(255, 196, 81, .10)) !important;
  border-left: 1px solid var(--ds-line);
}
body.ds .gradient-brand-color h1 { font-family: "Poppins", "Poppins Fallback", sans-serif; color: #fff; }
body.ds .gradient-brand-color iframe { border-radius: 16px; filter: saturate(.85); }
body.ds .contact-info__list i { color: var(--ds-gold); }
body.ds main.site-main .wpcf7 label { color: var(--ds-text); }

/* --- FAQ (lista e singola) --- */
body.ds .page-id-1979 img[src*="faq_background.jpg"],
body.ds main.site-main > .container-fluid img[src*="faq_background"] { opacity: .9; }
body.ds .faq_lists .list-group-item { transition: transform .3s var(--ds-ease), border-color .3s ease; }
body.ds .faq_lists .list-group-item:hover { transform: translateY(-3px); border-color: var(--ds-line-teal) !important; }
body.ds .faq_lists .faq_title, body.ds .faq_lists .list-group-item a { color: #fff !important; }
body.ds .faq_lists .list-group-item i { color: var(--ds-teal); }
body.ds .faq_menu_single .nav-link { color: var(--ds-teal); }
body.ds .faq-title { font-size: clamp(24px, 2.6vw, 34px); }
body.ds .badge.bg-primary { background: rgba(43, 196, 230, .25) !important; border: 1px solid var(--ds-line-teal); }
body.ds .badge.bg-warning { background: rgba(255, 196, 81, .22) !important; color: #ffe2a3 !important; border: 1px solid rgba(255, 196, 81, .35); }
body.ds .badge.bg-warning a { color: #ffe2a3; }
body.ds .badge.bg-success { background: rgba(0, 212, 170, .2) !important; border: 1px solid rgba(0, 212, 170, .35); }
body.ds .page-numbers { color: var(--ds-text); border: 1px solid var(--ds-line); }
body.ds .page-numbers.current { background: linear-gradient(135deg, var(--ds-teal), var(--ds-violet)) !important; border-color: transparent; color: #0a1024; }
/* wpDiscuz */
body.ds #wpdcom, body.ds .wpd-thread-wrapper { color: var(--ds-text); }
body.ds #wpdcom .wpd-form-wrap, body.ds #wpdcom .wpd-comment-text { color: var(--ds-text); }
body.ds #wpdcom .wpd-field, body.ds #wpdcom textarea, body.ds #wpdcom .wpd-editor-wraper { background: rgba(5, 10, 28, .55) !important; border-color: var(--ds-line) !important; color: #fff !important; }
body.ds #wpdcom .wpd-sbs-title, body.ds #wpdcom .wpdiscuz-subscribe-bar span, body.ds #wpdcom .wpd-thread-head .wpd-thread-info { color: var(--ds-text) !important; }

/* --- News (singola e archivio) --- */
body.ds main.single header .text-muted { color: var(--ds-gold) !important; font-style: normal !important; letter-spacing: .14em; text-transform: uppercase; font-size: 12px; font-family: "Poppins", "Poppins Fallback", sans-serif; }
body.ds main.single figure img.img-fluid { max-height: 420px; object-fit: cover; width: 100%; box-shadow: 0 30px 80px -40px rgba(43, 196, 230, .45); }
body.ds .wp-block-query .wp-block-post { border-radius: var(--ds-radius); }

/* --- Opportunities (annunci) --- */
body.ds .job-intro h2, body.ds .job-head h2 { color: #fff !important; }
body.ds .job-intro p, body.ds .job-card p, body.ds .job-card li, body.ds .job-teaser-meta, body.ds .job-notes, body.ds .job-facts li { color: var(--ds-text) !important; }
body.ds .job-eyebrow, body.ds .job-list-title, body.ds .job-teaser-more { color: var(--ds-gold) !important; }
body.ds .job-teaser-title, body.ds .job-card h3, body.ds .job-apply-title, body.ds .job-facts li strong, body.ds .job-facts li b { color: #fff !important; }
body.ds .job-teaser { border-left: 4px solid var(--ds-teal) !important; }
body.ds .job-head { margin: 0 -32px 22px !important; border-radius: var(--ds-radius) var(--ds-radius) 0 0; background: linear-gradient(135deg, rgba(43, 196, 230, .35), rgba(143, 107, 255, .25) 60%, rgba(11, 22, 49, .4)) !important; }
body.ds .job-tag, body.ds .job-teaser-tag { color: #0a1024 !important; background: linear-gradient(135deg, #ffd47a, var(--ds-gold)) !important; }
body.ds .job-head .job-tag { color: #0a1024 !important; }
body.ds .job-plus, body.ds .job-apply, body.ds .job-spontaneous, body.ds .job-steps { background: rgba(43, 196, 230, .07) !important; border: 1px solid var(--ds-line-teal) !important; border-radius: 14px; color: var(--ds-text); }
body.ds .job-step-num { background: linear-gradient(135deg, var(--ds-teal), var(--ds-violet)) !important; color: #0a1024 !important; }
body.ds .job-card h3::before, body.ds .job-card h4::before { background: var(--ds-teal) !important; }

/* --- Ricerca / 404 --- */
body.ds main.site-main h2[style*="color:#000"], body.ds main.site-main h2[style*="color: #000"] { color: #fff !important; }
body.ds .error404 main.site-main, body.ds main.site-main[style*="background-color: black"] { background: transparent !important; height: auto !important; min-height: 50vh; }
body.ds .error404 .display-5 { background: linear-gradient(92deg, #fff 20%, #9fe6f7 65%, #cbb9ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent !important; }

@media (max-width: 991.98px) {
  body.ds .breadcrumbs { padding: 28px 0 20px !important; margin-top: 0 !important; }
}
@media (max-width: 575.98px) {
  body.ds .inner-page p, body.ds .page p, body.ds main.single p { font-size: 16px; }
  body.ds .job-head { margin: 0 -20px 18px !important; }
}
/* logo trasparente con testo scuro: fondo bianco (classe aggiunta da goline_ds_chip_logos) */
body.ds img.ds-logo-chip { background: #fff !important; border-radius: 14px !important; padding: 14px 20px; box-shadow: 0 16px 40px -18px rgba(43, 196, 230, .45); }

/*---------------- Template RoutePulse / GoTrust / GoRecruit: sezioni chiare -> spazio ----------------*/
body.ds .rp-light, body.ds .rp-light2 { background: transparent !important; }
body.ds .rp-light h2, body.ds .rp-light2 h2, body.ds .rp-light .rp-fcard h5, body.ds .rp-light2 .rp-fcard h5, body.ds .rp-ucard h5 { color: #fff !important; }
body.ds .rp-light .rp-sec-sub, body.ds .rp-light2 .rp-sec-sub, body.ds .rp-intro, body.ds .rp-ucard p, body.ds .rp-light p, body.ds .rp-light2 p, body.ds .rp-light li, body.ds .rp-light2 li { color: var(--ds-text) !important; }
body.ds .rp-ucard, body.ds .rp-light .rp-fcard, body.ds .rp-light2 .rp-fcard, body.ds .rp-light .rp-mini, body.ds .rp-light2 .rp-mini {
  background: linear-gradient(160deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02)) !important;
  border: 1px solid var(--ds-line) !important;
  border-radius: var(--ds-radius) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 24px 60px -30px rgba(0, 0, 0, .9) !important;
}
body.ds .rp-ucard:hover, body.ds .rp-fcard:hover { border-color: var(--ds-line-teal) !important; box-shadow: 0 30px 70px -30px rgba(43, 196, 230, .45) !important; }
body.ds .rp-section.rp-light [style*="color:#1a1a2e"], body.ds .rp-section.rp-light2 [style*="color:#1a1a2e"],
body.ds .rp-light [style*="color: #1a1a2e"], body.ds .rp-light2 [style*="color: #1a1a2e"] { color: #fff !important; }
/* mini-card e testi secondari nei template RoutePulse/GoTrust/GoRecruit */
body.ds .rp-mini h6, body.ds .rp-mini h5, body.ds .rp-light h3, body.ds .rp-light2 h3, body.ds .rp-light h4, body.ds .rp-light2 h4, body.ds .rp-light h5, body.ds .rp-light2 h5, body.ds .rp-light h6, body.ds .rp-light2 h6 { color: #fff !important; }
body.ds .rp-mini span, body.ds .rp-mini p, body.ds .rp-light span, body.ds .rp-light2 span, body.ds .rp-light small, body.ds .rp-light2 small { color: var(--ds-text) !important; }
body.ds .rp-mini .mi { background: rgba(43, 196, 230, .12) !important; border: 1px solid var(--ds-line-teal); border-radius: 12px; }
body.ds .rp-mini { background: linear-gradient(160deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02)) !important; border: 1px solid var(--ds-line) !important; }
/* badge AbuseIPDB (tema scuro fornito dal sito): nessuna base bianca, solo arrotondamento */
body.ds img[src*="abuseipdb.com/contributor"] { background: none !important; padding: 0 !important; border-radius: 10px; max-width: 100%; height: auto; }

/* test prestazioni (?dsnb=1): header senza backdrop-filter e senza anello aurora */
body.ds.ds-nobf #header { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(8, 13, 32, .92) !important; }
body.ds.ds-nobf #header .ds-hdr-ring, body.ds.ds-nobf #header > a::before { display: none; }
/* test prestazioni (?dsnb=1): anche senza cielo fisso e pianeta */
body.ds.ds-nobf #ds-space, body.ds.ds-nobf .ds-planet { display: none; }

/* Responsive (verifica 2026-10-11 a 360/768/1024 px) */
body.ds img.ds-logo-chip, body.ds picture.ds-logo-chip { max-width: 100%; box-sizing: border-box; height: auto; }
@media (max-width: 767.98px) {
  /* tabelle larghe (RoutePulse, FAQ): scorrono in orizzontale invece di allargare la pagina */
  body.ds main.site-main table { display: block; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
}
/* le card della timeline entrano da ±40px: finche' non sono in vista sporgevano di 4px a 768px (scroll orizzontale) */
body.ds .news-grid-section, body.ds .ds-tl { overflow-x: clip; }

/*==============================================================
  MOBILE (2026-10-11): hero a 2 colonne, cielo statico, pianeta fermo
==============================================================*/
@media (max-width: 575.98px) {
  /* 8 card dell'hero: 2 colonne invece di 8 righe impilate */
  body.ds #hero .services_header { flex: 0 0 50%; max-width: 50%; padding-left: 6px; padding-right: 6px; }
  body.ds #hero .row.gy-4 { --bs-gutter-y: 12px; }
  body.ds #hero .icon-box { padding: 18px 10px !important; }
  body.ds #hero .icon-box i { font-size: 24px; }
  body.ds #hero .icon-box h2 { font-size: 15px; line-height: 1.2; margin-top: 8px; }
  body.ds #hero .icon-box .hero-pillar-sub { font-size: .68rem; margin-top: 6px; }
  body.ds #hero { padding-bottom: 130px; }
  /* cielo statico: niente animazioni su stelle, nebulose, stelle cadenti, alba del pianeta */
  body.ds .ds-stars-2, body.ds .ds-stars-3, body.ds .ds-nebula, body.ds .ds-planet-dawn { animation: none !important; }
  body.ds .ds-shoot { display: none; }
  body.ds .ds-stars-3 { display: none; }
  body.ds #ds-progress { display: none; }
  /* effetti in loop che su un telefono costano batteria senza aggiungere nulla */
  body.ds .trust-bar::before, body.ds .network-section::before, body.ds .network-section::after,
  body.ds .gofresh-spotlight::before, body.ds .routepulse-spotlight::before, body.ds .gotrust-spotlight::before, body.ds .gorecruit-spotlight::before,
  body.ds .ds-tl-pulse, body.ds #header .ds-hdr-beam, body.ds #header > a::before, body.ds #navbar > ul > li:last-child > a::before { animation: none !important; }
  body.ds #header .ds-hdr-ring i { animation-duration: 14s; }
}
/* Hero su schermi bassi (laptop 1366x768, 1350x700): il blocco del titolo (min-height 80vh) era centrato
   verticalmente e finiva sotto la navbar fissa (preesistente). Ora parte sotto la barra. */
@media (min-width: 992px) {
  body.ds #hero { align-items: flex-start !important; padding-top: max(15vh, 112px) !important; }
}
/* ...e l'hero non taglia piu' la seconda fila di card: altezza minima 100vh invece di fissa */
@media (min-width: 992px) {
  body.ds #hero { height: auto !important; min-height: 100vh; padding-bottom: 170px; }
}
@media (min-width: 992px) {
  /* il min-height 80vh del contenitore serviva a non ricentrare l'hero al cambio font: con l'h1 bloccato e l'allineamento in alto non serve */
  body.ds #hero #section_text { min-height: 0; }
}

/*==============================================================
  PAGINA AUTORE (page-author.php)
==============================================================*/
body.ds .gl-author-card { display: flex; gap: 36px; align-items: center; padding: 36px; border-radius: 28px; border: 1px solid var(--ds-line); background: radial-gradient(70% 90% at 100% 0%, rgba(43, 196, 230, .14), transparent 60%), linear-gradient(160deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02)); margin-bottom: 36px; }
body.ds .gl-author-photo img { width: 180px; height: 180px; border-radius: 50%; object-fit: cover; border: 3px solid rgba(43, 196, 230, .55); box-shadow: 0 0 0 8px rgba(43, 196, 230, .12), 0 30px 60px -30px rgba(43, 196, 230, .8); }
body.ds .gl-author-role { font-family: "Poppins", "Poppins Fallback", sans-serif; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--ds-gold); margin: 0 0 8px; }
body.ds .gl-author-name { font-family: "Poppins", "Poppins Fallback", sans-serif; font-size: clamp(30px, 3.6vw, 44px) !important; font-weight: 700; margin: 0 0 6px; background: linear-gradient(92deg, #fff 20%, #9fe6f7 65%, #cbb9ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent !important; }
body.ds .gl-author-org { color: var(--ds-text-dim) !important; margin: 0 0 18px; }
body.ds .gl-author-links { display: flex; flex-wrap: wrap; gap: 10px; }
body.ds .gl-author-link, body.ds .gl-author-link:link, body.ds .gl-author-link:visited { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .04); color: #fff !important; font-size: 14px; font-weight: 500; transition: border-color .25s ease, background-color .25s ease, transform .25s ease; }
body.ds .gl-author-link:hover { border-color: var(--ds-teal); background: rgba(43, 196, 230, .12); transform: translateY(-2px); color: #fff !important; }
body.ds .gl-author-link i { color: var(--ds-teal); }
body.ds .gl-author-link .gl-author-ico { height: 18px; width: auto; max-width: 110px; display: block; fill: #fff; }
body.ds .gl-author-link-faq { border-color: rgba(255, 196, 81, .5); }
body.ds .gl-author-link-faq i { color: var(--ds-gold); }
body.ds .gl-author-bio { max-width: 900px; }
body.ds .gl-author-bio h3 { margin-top: 40px; }
body.ds .gl-author-career { list-style: none; padding: 0; margin: 20px 0 8px; }
body.ds .gl-author-career li { display: grid; grid-template-columns: 140px 1fr; gap: 4px 24px; padding: 18px 0; border-top: 1px solid var(--ds-line); }
body.ds .gl-author-career li:last-child { border-bottom: 1px solid var(--ds-line); }
body.ds .gl-author-career .when { font-family: "Poppins", "Poppins Fallback", sans-serif; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ds-gold); padding-top: 4px; }
body.ds .gl-author-career .what strong { display: block; font-family: "Poppins", "Poppins Fallback", sans-serif; font-weight: 600; color: #fff; font-size: 17px; }
body.ds .gl-author-career .what em { display: block; font-style: normal; color: var(--ds-teal); font-size: 14px; margin-top: 2px; }
body.ds .gl-author-career .what p { margin: 8px 0 0; }
body.ds .gl-author-cert { list-style: none; padding: 0; margin: 16px 0 8px; display: flex; flex-wrap: wrap; gap: 8px; }
body.ds .gl-author-cert li { padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .04); font-size: 13.5px; color: #fff; }
@media (max-width: 575.98px) { body.ds .gl-author-career li { grid-template-columns: 1fr; gap: 2px; } }
body.ds .gl-author-h2 { margin-top: 48px; }
body.ds .gl-author-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 24px 0 18px; }
body.ds .gl-author-item, body.ds .gl-author-item:link, body.ds .gl-author-item:visited { display: flex; flex-direction: column; gap: 8px; padding: 20px; border-radius: var(--ds-radius); border: 1px solid var(--ds-line); background: linear-gradient(160deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02)); color: var(--ds-text) !important; transition: transform .4s var(--ds-ease), border-color .3s ease; }
body.ds .gl-author-item:hover { transform: translateY(-4px); border-color: var(--ds-line-teal); }
body.ds .gl-author-item-cat { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ds-gold); }
body.ds .gl-author-item-title { font-family: "Poppins", "Poppins Fallback", sans-serif; font-weight: 500; color: #fff; line-height: 1.35; }
body.ds .gl-author-item-date { font-size: 12px; color: var(--ds-text-dim); }
body.ds .gl-author-all a { font-weight: 600; }
@media (max-width: 991.98px) { body.ds .gl-author-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 767.98px) { body.ds .gl-author-card { flex-direction: column; text-align: center; padding: 28px 20px; } body.ds .gl-author-links { justify-content: center; } }
@media (max-width: 575.98px) { body.ds .gl-author-grid { grid-template-columns: 1fr; } body.ds .gl-author-photo img { width: 140px; height: 140px; } }

/* Fix 76b: badge "in testing" nella pagina GoFresh Suite */
body.ds .gofresh-badge-testing { display: inline-block; vertical-align: middle; margin-left: 10px; padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #ffc451; border: 1px solid rgba(255, 196, 81, .45); background: rgba(255, 196, 81, .08); }

/* Fix 77e: blocco "On this page" (Rank Math TOC) nelle pagine lunghe */
body.ds .wp-block-rank-math-toc-block { background: var(--ds-glass); border: 1px solid var(--ds-line); border-radius: 14px; padding: 16px 22px 12px; margin: 6px 0 30px; }
body.ds .wp-block-rank-math-toc-block > p { margin: 0 0 8px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ds-text-dim); font-weight: 600; }
body.ds .wp-block-rank-math-toc-block ul { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 28px; }
body.ds .wp-block-rank-math-toc-block li { break-inside: avoid; padding: 3px 0; margin: 0; font-size: 15px; line-height: 1.5; }
body.ds .wp-block-rank-math-toc-block li::before { display: none !important; }
body.ds .wp-block-rank-math-toc-block ul > li { padding-left: 0 !important; }
body.ds .wp-block-rank-math-toc-block a { color: var(--ds-teal); text-decoration: none; }
body.ds .wp-block-rank-math-toc-block a:hover { color: #fff; }
@media (max-width: 575.98px) { body.ds .wp-block-rank-math-toc-block ul { columns: 1; } }
