@charset "UTF-8";
/* ==========================================================
CSS di progetto sopra Nexigrid
----------------------------------------------------------
Ripartenza pulita: rimosso TUTTO il custom ereditato dal portale sorgente.
Qui vive SOLO ciò che NG non copre. Palette/tema auto: da definire.
========================================================== */
/* --- Tipografia: font di progetto Urbanist (no italic, max bold 700) --- */
:root {
  --ng-font-base: "Urbanist", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --ng-font-sans: "Urbanist", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* --- Font-size globale NG: root 1rem (default) --- */
html {
  font-size: 1rem;
}

/* --- Palette: override PRIMARY Nexigrid da #9b094d (raspberry) --- */
:root {
  --ng-primary: #D26505;
  --ng-primary-bg: #D26505;
  --ng-primary-text: #ffffff;
  --ng-primary-border: #B35605;
  --ng-primary-hover: #BD5B05;
  --ng-primary-dark: #9A4A04;
  --ng-primary-active: #813E03;
  --ng-primary-light: #FA8A29;
  --ng-primary-soft: #FDEFE2;
  --ng-primary-focus: #B35605;
  --ng-primary-outline: #B35605;
  --ng-primary-disabled: #EBB78C;
  --ng-primary-ring: rgba(210, 101, 5, .35);
}

/* --- Palette: SECONDARY di brand (petrolio/navy) — override default NG #7d2342 --- */
:root {
  --ng-secondary: #16323C;
  --ng-secondary-bg: #16323C;
  --ng-secondary-text: #ffffff;
  --ng-secondary-border: #0f242c;
  --ng-secondary-hover: #1e4351;
  --ng-secondary-dark: #0e1f26;
  --ng-secondary-active: #0b191f;
  --ng-secondary-light: #4e6a73;
  --ng-secondary-soft: #e3e9eb;
  --ng-secondary-focus: #16323c;
  --ng-secondary-outline: #16323c;
  --ng-secondary-disabled: #a7b7bc;
  --ng-secondary-ring: rgba(22, 50, 60, .35);
}

/* --- Palette: override YELLOW Nexigrid da #ffd200 → base brand #D8AC00 (oro) --- */
:root {
  --ng-yellow: #D8AC00;
  --ng-yellow-bg: #D8AC00;
  --ng-yellow-text: #3d2f00;
  --ng-yellow-border: #b8920a;
  --ng-yellow-hover: #c49b00;
  --ng-yellow-dark: #a8850a;
  --ng-yellow-active: #b08c00;
  --ng-yellow-light: #e6c94d;
  --ng-yellow-soft: #f7edc4;
  --ng-yellow-focus: #c49b00;
  --ng-yellow-outline: #b8920a;
  --ng-yellow-disabled: #ecdfa0;
  --ng-yellow-ring: rgba(216, 172, 0, .35);
}

/* --- Header nativo (ng-header v1.1.0) — tema GlossarioAuto --- */
/* Main header: NERO quando solido, testo bianco, border bianco 25% (trasp. 75%).
   In home l'attributo data-transparent lo rende trasparente sull'hero. */
.ng-header {
  --ng-header-background: #000000;
  --ng-header-color: #ffffff;
  --ng-header-border-bottom: rgba(255,255,255,.12);
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

.ng-header[data-transparent] {
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

/* Topbar: bg emerald scuro (token brand, non un hex a parte), testo bianco. */
.ng-header .ng-header-topbar {
  --ng-header-topbar-bg: var(--ng-primary-dark);
  --ng-header-topbar-color: #ffffff;
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

/* Topbar solo-mobile (< md): resta Guida/FAQ/Blog; via tagline, Pubblicità, Collabora.
   NG .ng-hide-mobile taglia sotto lg (nasconde anche il tablet) → scoped a 767px. */
@media (max-width: 767px) {
  .app-topbar-hide-mobile {
    display: none !important;
  }
}
/* Pseudo-logo testuale: segue il colore header (bianco). */
.ng-header .ng-header-brand {
  color: var(--ng-header-color);
}

/* Saluto utente post-login: il componente ng-meta NON è stilizzato fuori dalle
   liste NG (regole scoped a .ng-list-meta-content) → nell'header gli span sono
   inline ("Ciao Claudio Pistidda" su una riga). Scoped: "Ciao" eyebrow piccolo,
   bold, emerald chiaro; nome sotto. */
.ng-header-menu-trigger.ng-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.ng-header-menu-trigger .ng-meta-body {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.15;
}

.ng-header-menu-trigger .ng-meta-text {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ng-primary-light);
}

.ng-header-menu-trigger .ng-meta-title {
  white-space: nowrap;
}

/* In home l'hero passa DIETRO l'header fisso: azzero la compensazione sticky. */
.ng-header[data-transparent].sticky-header ~ .ng-content,
.ng-header[data-transparent].sticky-header ~ .ng-container {
  margin-top: 0 !important;
}

/* --- Hero home full-bleed (NG non ha primitive hero) --- */
.app-hero {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  min-height: calc(90vh - 200px);
  display: flex;
  align-items: center;
  color: #fff;
  background: #10131a var(--app-hero-img, url("../media/gla-hero-desk-01.webp")) center/cover no-repeat;
}

/* Taglio verticale quando il viewport e' in portrait: li' il box dell'hero diventa
   piu' alto che largo e l'immagine panoramica verrebbe tagliata alla sola fascia
   centrale. Uso l'aspect-ratio e non una max-width cosi' un telefono in landscape
   (box largo) resta correttamente sul taglio desktop. */
@media (max-aspect-ratio: 1/1) {
  .app-hero {
    background-image: var(--app-hero-img-mobile, url("../media/gla-hero-mobile-01.webp"));
  }
}

/* Su viewport basse (laptop) il contenuto centrato finiva sotto l'header fisso
   trasparente. Riservo lo spazio dell'header con padding-top + box-sizing: hero
   corto/testo alto → cresce e il testo resta sotto la barra; hero alto → centrato.
   Solo desktop (tablet/mobile hanno header non sovrapposto, sono ok). */
@media (min-width: 992px) {
  .app-hero {
    box-sizing: border-box;
    padding-top: 130px;
    padding-bottom: 40px;
  }
}
.app-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  /* Gradiente VERTICALE: testo e soggetto delle hero sono entrambi centrati, quindi
     il velo va scuro in alto (dietro al titolo) e piu' pulito al centro-basso dove
     sta l'auto. Un gradiente orizzontale coprirebbe il soggetto. */
  background: linear-gradient(180deg, rgba(6, 10, 18, 0.88) 0%, rgba(6, 10, 18, 0.6) 38%, rgba(6, 10, 18, 0.3) 68%, rgba(6, 10, 18, 0.55) 100%);
}

.app-hero-content {
  position: relative;
  z-index: 1;
}

.app-hero-inner {
  max-width: 680px;
  text-align: center;
  margin-inline: auto;
}

.app-hero-title {
  font-size: clamp(2.4rem, 5.2vw, 4.25rem);
  line-height: 1.04;
}

.app-hero .app-hero-title,
.app-hero h1,
.app-hero p,
.app-hero .app-hero-lead {
  color: #fff;
}

.app-hero-lead {
  max-width: 52ch;
  opacity: 0.9;
  margin-inline: auto;
}

/* Badge feature hero: size NG `lg` + padding generoso (knob NG, specificità 0,2,0
   per battere il default medium), light semi-trasparente, niente border. */
.app-hero .app-hero-badge {
  --ng-badge-font-size: 1rem;
  --ng-badge-padding-y: .95em;
  --ng-badge-padding-x: 1.9em;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  backdrop-filter: blur(4px);
}

/* Icona-spia (SVG) nel term-card del glossario. NG non ha size per <img>. */
.app-spia-icon {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  display: block;
}

/* --- Sezioni pagina: respiro sopra ogni blocco (label non attaccata al contenuto
   sopra) + stacco label→titolo. Header di sezione = .app-tracked (badge) + h2. --- */
.app-section {
  padding-top: 8rem;
} /* spazio fra sezioni raddoppiato (più aria) */
.app-tracked {
  display: inline-block;
  margin-bottom: 0.75rem;
}

/* Testata di sezione (occhiello + titolo) più distanziata dal contenuto sotto */
.app-sec-head {
  margin-bottom: 3rem;
}

/* Home: sponsor ribbon sotto l'hero — più aria dall'hero, meno verso "Categorie".
   (la prima sezione sotto l'hero non usa gli 8rem globali di .app-section) */
.app-home-top .app-sponsor-ribbon {
  margin-top: 3rem;
  margin-bottom: 0.25rem;
}

.app-home-top > .app-section {
  padding-top: 2.5rem;
} /* prima sezione sotto hero/ribbon */
/* Benefit "step": icona SVG line-art centrata sopra titolo+testo (NG non ha size per <img>). */
.app-benefit {
  padding: 0 0.75rem;
}

.app-benefit-ico {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.1rem;
}

.app-benefit-ico svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* Benefits — testata "hero" (rif. img): occhiello grigio maiuscolo + titolo grande/bold.
   Solo ciò che gli helper NG non danno: letter-spacing, leading e wrap del titolo. */
.app-eyebrow {
  display: inline-block;
  margin-bottom: 0.9rem;
  letter-spacing: 0.14em;
}

.app-h2-hero {
  line-height: 1.07;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

/* ===========================================================
Card categoria (home "Categorie più visitate") — migrato.
Card con watermark d'angolo tenue (ritagliato) + cerchio-icona fisso.
=========================================================== */
.app-card-cat {
  position: relative;
  overflow: hidden;
}
.app-card-cat .app-card-watermark {
  position: absolute;
  bottom: -30px;
  right: -20px;
  font-size: 160px;
  line-height: 1;
  color: rgba(26, 26, 26, 0.04);
  z-index: 0;
  pointer-events: none;
}
.app-card-cat .ng-card-body {
  position: relative;
  z-index: 1;
}

/* Cerchi-icona (scala sm/md/lg) — migrato */
.app-circle-icon-sm,
.app-circle-icon-md,
.app-circle-icon-lg {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.app-circle-icon-sm {
  width: 38px;
  height: 38px;
}

.app-circle-icon-md {
  width: 54px;
  height: 54px;
}

.app-circle-icon-lg {
  width: 62px;
  height: 62px;
}

/* Icona PNG categoria (primo piano) — centrata, proporzionata, visibile */
.app-cat-ico {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: auto;
  height: auto;
  max-width: 74px;
  max-height: 60px;
}

/* ===========================================================
Numeri di striscia stats prima del footer (migrato, palette emerald).
=========================================================== */
.app-stats-strip {
  margin-top: 56px;
  background: var(--ng-primary-soft);
  border-top: 1px solid var(--ng-color-border-light);
}

.app-stats-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: flex-start;
  gap: 12px 24px;
  text-align: center;
}

.app-stat-item {
  flex: 1 1 0;
  min-width: 110px;
}

.app-stat-num {
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ng-primary-dark);
}

.app-stat-label {
  font-size: 12px;
  color: var(--ng-g-50);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  margin-top: 6px;
}

/* ===========================================================
"Ultimi glossari inseriti" — card con icona-cerchio emerald "appesa" in basso.
=========================================================== */
.app-glo-grid {
  row-gap: 3.25rem;
} /* spazio per il cerchio che sporge sotto la card */
.app-glo-card {
  position: relative;
  display: block;
  background: #f4f5f4;
  border-radius: 16px;
  padding: 26px 22px 44px;
  text-decoration: none;
  color: inherit;
  transition: background 0.15s ease, transform 0.15s ease;
}

.app-glo-card:hover {
  background: #eef0ee;
  transform: translateY(-2px);
}

/* Spaziatura testi card (scoped → batte my-zero per specificità, no !important) */
.app-glo-card h3 {
  margin: 24px 0 16px;
} /* badge→titolo 24 · titolo→testo 16 */
.app-glo-card p {
  margin: 0 0 22px;
} /* testo→data 22 */
.app-glo-card time {
  display: block;
}

/* ===========================================================
"Glossari più visitati" — card DARK: icona sx, numero termini (linguetta) dx,
watermark semitrasparente, barra accent in basso. (rif. proposta approvata)
=========================================================== */
.app-gv-card {
  position: relative;
  overflow: hidden;
  display: block;
  background: #161c24;
  border-radius: 16px;
  padding: 24px 22px 30px;
  min-height: 210px;
  text-decoration: none;
  transition: transform 0.15s ease;
}

.app-gv-card:hover {
  transform: translateY(-3px);
}

.app-gv-wm {
  position: absolute;
  right: -16px;
  bottom: -26px;
  font-size: 150px;
  line-height: 1;
  color: rgba(250, 138, 41, 0.07);
  pointer-events: none;
}

.app-gv-ico {
  position: relative;
  color: #FA8A29;
  font-size: 30px;
}

.app-gv-num {
  position: absolute;
  top: 0;
  right: 0;
  background: #fff;
  color: #14181f;
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  padding: 11px 16px;
  border-bottom-left-radius: 16px;
}

.app-gv-card h3 {
  position: relative;
  color: #F5A05C;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
  margin: 34px 0 10px;
}

.app-gv-card p {
  position: relative;
  color: #aab3bf;
  font-size: 13.5px;
  line-height: 1.55;
  margin: 0;
}

.app-gv-bar {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 5px;
  width: 100%;
  background: var(--ng-primary);
}

/* ===========================================================
Pagine di servizio (Guida/FAQ/Pubblicità/Collabora) — tipografia + form.
Migrato; heading di sezione in emerald (colori del portale).
=========================================================== */
.app-h1 {
  margin: 0 0 12px;
  font-size: 42px;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #14181f;
}

.app-h1-hero {
  margin: 14px 0 20px;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1;
  letter-spacing: -0.04em;
  color: #14181f;
}

.app-h2-section {
  margin: 0;
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--ng-primary);
}

.app-h3-card {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.15;
}

.app-lead {
  max-width: 720px;
}

.app-lead-hero {
  max-width: 620px;
  color: #4c4c4c;
}

.app-text-body {
  color: #333;
  line-height: 1.6;
}

/* Collabora: checkbox + label sulla stessa riga */
.app-check {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  cursor: pointer;
}

.app-check input {
  margin-top: 0.2rem;
  flex: 0 0 auto;
}

/* ===========================================================
Pagine legali (Privacy/Cookie/Termini) — documento leggibile.
ng-prose non è compilato in questo build → il corpo cadeva a .85rem e le
classi .app-h2/.app-list erano prive di stile. Blocco scoped allineato alle
pagine servizio (heading emerald, testo da lettura, tabelle/note NG-like).
=========================================================== */
.app-legal {
  color: #333;
}

.app-legal p,
.app-legal li {
  font-size: 1rem;
  line-height: 1.7;
}

.app-legal h2,
.app-legal .app-h2 {
  font-size: 1.375rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ng-primary);
}

.app-legal .app-lead {
  font-size: 1.125rem;
}

/* Liste con bullet emerald */
.app-legal .app-list {
  list-style: none;
  padding-left: 0;
  margin: 1rem 0;
}

.app-legal .app-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
}

.app-legal .app-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--ng-primary);
}

/* Tabelle (finalità, cookie) — sostituiscono gli stili inline */
.app-legal table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.app-legal thead th {
  text-align: left;
  padding: 10px 8px;
  border-bottom: 2px solid var(--ng-g-10, #ebebeb);
}

.app-legal tbody td {
  padding: 10px 8px;
  border-bottom: 1px solid var(--ng-g-10, #ebebeb);
  vertical-align: top;
}

.app-legal tbody tr:last-child td {
  border-bottom: 0;
}

/* Box disclaimer "in attesa di revisione" */
.app-legal .app-note {
  border-left: 3px solid var(--ng-warning, #dd7900);
}

.app-glo-badge {
  position: absolute;
  left: 50%;
  bottom: -24px;
  transform: translateX(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--ng-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 0 0 6px #fff;
}

/* #5 — Pagine interne (senza hero): il body va sotto l'header fisso (topbar + barra).
   La home resta margin-top:0 (hero dietro l'header trasparente). */
.ng-header:not([data-transparent]).sticky-header ~ .ng-content,
.ng-header:not([data-transparent]).sticky-header ~ .ng-container {
  margin-top: calc(var(--ng-header-height, 4.5rem) + var(--ng-header-topbar-min-h, 2.25rem) + 2.5rem);
}

/* ===========================================================
FOOTER (dark, layout "portal" a colonne, rif. reference)
Tema dark via KNOB del componente NG ng-footer (uso previsto, non custom nuovo);
struttura = markup NG (ng-footer-col / ng-footer-nav). Custom solo per gli
elementi che NG non copre: chevron dei link, brand condiviso, social.
=========================================================== */
.app-footer {
  --ng-footer-bg: #1e1e1e;
  --ng-footer-color: #c9c9c9;
  --ng-footer-mtop: 0;
  --ng-footer-link-hover-color: var(--ng-primary);
  --ng-footer-link-hover-decoration: none;
}

/* Link colonne con chevron ">" (border-based: nessuna dipendenza da font-icon) */
.app-footer-nav a {
  position: relative;
  padding-left: 1.15em;
  line-height: 1.9;
}

.app-footer-nav a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 0.34em;
  height: 0.34em;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.6;
}

/* Bottom bar: separatore su fondo scuro + gruppi allineati */
.app-footer .app-footer-bottom {
  margin-top: 0;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.app-footer-copy {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.app-footer-copy .app-brand {
  color: #fff;
}

/* Social: icone semplici bianche → emerald all'hover */
.app-footer-social {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}

.app-footer-social a {
  color: #fff;
  font-size: 1.15rem;
  transition: color 0.15s ease;
}

.app-footer-social a:hover {
  color: var(--ng-primary);
}

/* Brand CONDIVISO header + footer: emblema SVG (logo-glossarioauto) + wordmark testuale. */
.app-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.app-brand-logo {
  display: block;
  width: auto;
}

.app-brand-md .app-brand-logo {
  height: 2rem;
} /* header */
.app-brand-sm .app-brand-logo {
  height: 1.55rem;
} /* footer (più piccolo) */
@media (max-width: 767px) {
  .app-footer .app-footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}
/* #3 — Badge perfettamente circolari (pill) su entrambi i lati. Solo .ng-badge, via knob NG. */
.ng-badge {
  --ng-badge-radius: var(--ng-radius-pill);
  border-radius: var(--ng-radius-pill);
}

/* ===========================================================
COOKIE CONSENT (migrato, adattato) (banner sticky + modal preferenze)
=========================================================== */
.app-cc-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 9000;
  /* dark inkito: distacco netto dal sito (chiaro) e dal viola brand (hero/footer) */
  background: #16172A;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.app-cc-banner.is-open {
  transform: translateY(0);
  opacity: 1;
}

.app-cc-banner-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 18px 22px;
  max-width: 1280px;
  margin: 0 auto;
}

.app-cc-banner-text {
  min-width: 0;
  flex: 1;
}

.app-cc-banner-title {
  display: block;
  font-size: 15px;
  font-weight: 900;
  margin-bottom: 4px;
  color: #fff;
}

.app-cc-banner-msg {
  margin: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.5;
}

.app-cc-banner-msg strong {
  color: rgba(255, 255, 255, 0.92);
}

.app-cc-link {
  color: #8D91EE;
  font-weight: 700;
}

.app-cc-link:hover {
  color: #fff;
}

/* sui pulsanti del banner dark, garantiamo contrasto degli outline secondary */
.app-cc-banner .ng-btn-secondary-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.app-cc-banner .ng-btn-secondary-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #fff;
  color: #fff;
}

.app-cc-banner-actions {
  display: flex;
  gap: 8px;
  flex: none;
  flex-wrap: wrap;
  justify-content: flex-end;
}

@media (max-width: 768px) {
  .app-cc-banner {
    left: 8px;
    right: 8px;
    bottom: 8px;
  }
  .app-cc-banner-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 16px 18px;
  }
  .app-cc-banner-actions {
    justify-content: stretch;
  }
  .app-cc-banner-actions .ng-btn {
    flex: 1;
  }
}
/* (Categorie modal cookie ora con ng-list divided — niente CSS custom necessario) */
/* Ricerca: voce sponsorizzata nell'autocomplete (palette arancio primary) */
.app-search-ac .ng-autocomplete-menu [role=option].is-sponsored {
  position: relative;
  border-left: 5px solid var(--ng-primary, #E48A1F);
  background: color-mix(in srgb, var(--ng-primary, #E48A1F) 12%, #fff);
  box-shadow: inset 0 -1px 0 color-mix(in srgb, var(--ng-primary, #E48A1F) 20%, transparent);
}

.app-search-ac .ng-autocomplete-menu [role=option].is-sponsored:hover,
.app-search-ac .ng-autocomplete-menu [role=option].is-sponsored.is-active {
  background: color-mix(in srgb, var(--ng-primary, #E48A1F) 22%, #fff) !important;
}

.app-search-ac .ng-autocomplete-menu [role=option].is-sponsored .ph-megaphone-simple {
  color: var(--ng-primary, #E48A1F);
  font-size: 1.2em;
}

/* la label/sublabel dello sponsor in arancio scuro per maggior contrasto */
.app-search-ac .ng-autocomplete-menu [role=option].is-sponsored strong,
.app-search-ac .ng-autocomplete-menu [role=option].is-sponsored .ng-autocomplete-label {
  color: var(--ng-primary-dark, #B46C16);
  font-weight: 900;
}

/* Flag "ANNUNCIO" grande, evidente, prima del label */
.app-search-ac-flag {
  display: inline-block;
  margin: 0 10px 0 6px;
  padding: 3px 9px;
  background: var(--ng-primary, #E48A1F);
  color: #fff !important;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  vertical-align: middle;
  line-height: 1.4;
  box-shadow: 0 1px 2px rgba(180, 108, 22, 0.25);
}

/* ===========================================================
Gioco "L'Intruso" (widget sidebar, ~300x250)
=========================================================== */
.app-game {
  margin-bottom: 24px;
  background: #fff;
  border: 1px solid var(--ng-g-10, #EBEBEB);
  box-shadow: 0 2px 10px rgba(26, 22, 104, 0.04);
}

.app-game-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

/* (icona widget: usa classi NG `text-secondary fs-2xl` direttamente nel markup) */
/* ===========================================================
Cruciverba Tech (pagina /giochi/cruciverba)
=========================================================== */
.app-cw {
  display: inline-block;
  max-width: 100%;
}

.app-cw-grid {
  border-collapse: collapse;
  margin: 0 auto;
}

.app-cw-grid td {
  width: 56px;
  height: 56px;
  padding: 0;
  margin: 0;
  border: 1px solid var(--ng-g-20, #C8C8C8);
  position: relative;
  background: #fff;
}

.app-cw-block {
  background: var(--ng-secondary-dark, #1A1668) !important;
  border-color: var(--ng-secondary-dark, #1A1668) !important;
}

.app-cw-cell {
  background: #fff;
}

.app-cw-cell input {
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  outline: none;
  background: transparent;
  text-align: center;
  font-size: 22px;
  font-weight: 800;
  color: var(--ng-secondary-dark, #1A1668);
  text-transform: uppercase;
  font-family: inherit;
}

.app-cw-num {
  position: absolute;
  top: 2px;
  left: 4px;
  font-size: 10px;
  font-weight: 800;
  color: var(--ng-g-50, #777);
  pointer-events: none;
  line-height: 1;
}

/* Stati */
.app-cw-cell.is-word-active {
  background: color-mix(in srgb, var(--ng-secondary, #009B77) 12%, #fff);
}

.app-cw-cell.is-active {
  background: color-mix(in srgb, var(--ng-secondary, #009B77) 24%, #fff);
}

.app-cw-cell.is-correct {
  background: color-mix(in srgb, var(--ng-success, #1DA571) 22%, #fff);
}

.app-cw-cell.is-wrong {
  background: color-mix(in srgb, var(--ng-danger, #C0392B) 22%, #fff);
}

.app-cw-cell.is-correct input {
  color: var(--ng-success-dark, #18875D);
}

.app-cw-cell.is-wrong input {
  color: var(--ng-danger-dark, #962e22);
}

/* Actions */
.app-cw-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Status box */
.app-cw-status {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.5;
  border-left: 3px solid var(--ng-secondary, #009B77);
  background: var(--ng-g-5, #F5F5F5);
}

.app-cw-status.is-success {
  border-color: var(--ng-success, #1DA571);
  background: color-mix(in srgb, var(--ng-success, #1DA571) 10%, #fff);
}

.app-cw-status.is-warning {
  border-color: var(--ng-warning, #E48A1F);
  background: color-mix(in srgb, var(--ng-warning, #E48A1F) 10%, #fff);
}

.app-cw-status.is-info {
  border-color: var(--ng-secondary, #009B77);
}

.app-cw-status a {
  color: var(--ng-secondary, #009B77);
  font-weight: 700;
}

/* Clue list */
.app-cw-clue-h {
  margin: 0 0 12px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ng-secondary, #009B77);
}

.app-cw-clue {
  cursor: pointer;
  transition: background 0.12s ease, border-left-color 0.12s ease;
  border-left: 3px solid transparent;
  padding-left: 8px;
  margin-left: -8px;
  min-height: 3.25em;
  display: flex;
  align-items: center;
}

.app-cw-clue:hover {
  background: color-mix(in srgb, var(--ng-secondary, #009B77) 6%, transparent);
}

.app-cw-clue.is-active {
  background: color-mix(in srgb, var(--ng-secondary, #009B77) 14%, transparent);
  border-left-color: var(--ng-secondary, #009B77);
}

.app-cw-clue.is-active .app-cw-clue-num {
  color: var(--ng-secondary, #009B77);
}

.app-cw-status-cta {
  display: inline-block;
  margin-left: 6px;
  font-weight: 800;
}

/* Catalogo cruciverba */
.app-cw-catalog-h {
  margin: 0 0 16px;
  font-size: 18px;
  font-weight: 900;
  color: var(--ng-secondary-dark, #1A1668);
  display: flex;
  align-items: center;
}

.app-cw-cat-item.is-active .ng-list-title {
  color: var(--ng-secondary, #009B77);
  font-weight: 800;
}

.app-cw-clue-num {
  display: inline-block;
  min-width: 22px;
  color: var(--ng-secondary-dark, #1A1668);
  font-weight: 900;
  margin-right: 6px;
}

.app-cw-clue-text {
  font-size: 13px;
  color: var(--ng-g-70, #444);
  line-height: 1.55;
}

@media (max-width: 576px) {
  .app-cw-grid td {
    width: 44px;
    height: 44px;
  }
  .app-cw-cell input {
    font-size: 18px;
  }
}
.app-game-eyebrow {
  display: block;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ng-secondary, #009B77);
  margin-bottom: 2px;
}

.app-game-title {
  margin: 0;
  font-size: 18px;
  font-weight: 900;
  color: var(--ng-secondary-dark, #1A1668);
  line-height: 1.1;
}

.app-game-q {
  margin: 0 0 14px;
  font-size: 13px;
  color: var(--ng-g-70, #4A4A6A);
  line-height: 1.5;
}

.app-game-q strong {
  color: var(--ng-secondary-dark, #1A1668);
}

.app-game-opts {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.app-game-opt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  padding: 10px 14px;
  background: var(--ng-g-5, #F5F5F5);
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ng-g-90, #222);
  text-align: left;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.1s ease;
}

.app-game-opt:hover:not(:disabled) {
  background: color-mix(in srgb, var(--ng-secondary, #009B77) 8%, var(--ng-g-5, #F5F5F5));
  border-color: color-mix(in srgb, var(--ng-secondary, #009B77) 24%, transparent);
}

.app-game-opt:active:not(:disabled) {
  transform: scale(0.99);
}

.app-game-opt:disabled {
  cursor: default;
}

.app-game-opt-arrow {
  color: var(--ng-g-40, #A9AAAD);
  font-size: 14px;
  flex: none;
  transition: color 0.15s ease, transform 0.15s ease;
}

.app-game-opt:hover:not(:disabled) .app-game-opt-arrow {
  color: var(--ng-secondary, #009B77);
  transform: translateX(2px);
}

/* Reveal states */
.app-game-opt.is-correct {
  background: color-mix(in srgb, var(--ng-success, #1DA571) 14%, #fff) !important;
  border-color: var(--ng-success, #1DA571) !important;
  color: var(--ng-success-dark, #18875D) !important;
}

.app-game-opt.is-wrong {
  background: color-mix(in srgb, var(--ng-danger, #C0392B) 14%, #fff) !important;
  border-color: var(--ng-danger, #C0392B) !important;
  color: var(--ng-danger-dark, #962e22) !important;
}

.app-game-opt.is-correct .app-game-opt-arrow,
.app-game-opt.is-wrong .app-game-opt-arrow {
  color: inherit;
}

/* Icona esito (check/x) impostata via classe Phosphor nel JS (ph-check / ph-x),
   non piu' via CSS content: robusto rispetto alla versione del font. */

.app-game.is-revealed .app-game-opt:not(.is-correct):not(.is-wrong) {
  opacity: 0.55;
}

/* Feedback box */
.app-game-feedback {
  margin-top: 14px;
  padding: 12px 14px;
  background: var(--ng-g-5, #F5F5F5);
  border-radius: 8px;
  border-left: 3px solid var(--ng-secondary, #009B77);
  animation: app-game-reveal 0.25s ease both;
}

.app-game-feedback-msg {
  font-size: 13px;
  color: var(--ng-g-70, #444);
  line-height: 1.55;
  margin-bottom: 12px;
}

.app-game-feedback-msg strong {
  color: var(--ng-secondary-dark, #1A1668);
}

.app-game-feedback-msg em {
  color: var(--ng-secondary, #009B77);
  font-style: normal;
  font-weight: 700;
}

.app-game-again {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--ng-secondary, #009B77);
  color: #fff;
  border: 0;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease;
}

.app-game-again:hover {
  background: var(--ng-secondary-dark, #1A1668);
}

.app-game-again:active {
  transform: scale(0.97);
}

@keyframes app-game-reveal {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Modal cookie: close button minimale (solo icona Phosphor, no bg grigio default NG) */
#app-cc-modal .ng-modal-close {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  color: var(--ng-g-50, #777) !important;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.4rem;
  padding: 0;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

#app-cc-modal .ng-modal-close:hover {
  background: var(--ng-g-5, #F5F5F5) !important;
  color: var(--ng-g-90, #222) !important;
}

/* Toggle switch custom scoped al cookie consent (NG non ha un toggle switch ready-to-use) */
.app-cc-switch {
  position: relative;
  flex: none;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  width: 44px;
  height: 24px;
}

.app-cc-switch input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.app-cc-switch-track {
  display: inline-block;
  width: 44px;
  height: 24px;
  background: var(--ng-g-20, #C8C8C8);
  border-radius: 999px;
  position: relative;
  transition: background 0.15s ease;
}

.app-cc-switch-thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  transition: transform 0.15s ease;
}

.app-cc-switch input:checked + .app-cc-switch-track {
  background: var(--ng-secondary, #009B77);
}

.app-cc-switch input:checked + .app-cc-switch-track .app-cc-switch-thumb {
  transform: translateX(20px);
}

.app-cc-switch input:focus-visible + .app-cc-switch-track {
  box-shadow: 0 0 0 3px rgba(0, 155, 119, 0.35);
}

/* Preferiti/Vota/Permalink pill (NG non ha .ng-btn.pill; uso il knob --ng-btn-radius). */
.app-btn-pill {
  --ng-btn-radius: var(--ng-radius-pill);
  border-radius: var(--ng-radius-pill);
}

/* ============================================================================
   GLOSSARIO CARD — "Style 01"   (namespace: .app-glocard-01)
   Card orizzontale della pagina /glossari. Parte alta scura con immagine di
   sfondo (opacity 65%), parte bassa #EBEBEB. Costruita su componenti NG
   (.ng-card, .ng-btn dei bottoni fav/vote) con OVERRIDE scoped nel namespace:
   TUTTE le regole vivono sotto .app-glocard-01 (Style 01 ingloba i suoi stili).
   Colori: Titolo=primary · Desc=white · Fav=warning · Vota=info · Termini=primary
           · Freccia circolare=warning.
   ============================================================================ */
.app-glocard-01 {
  --glo01-radius: 18px;
  --glo01-foot-h: 66px;
  --glo01-arrow: 80px;
  position: relative;
  display: block;
  padding: 0; /* override .ng-card */
  border: 0; /* override .ng-card */
  border-radius: var(--glo01-radius);
  overflow: hidden;
  background: transparent;
  box-shadow: 0 12px 32px rgba(15, 25, 34, 0.16);
}

/* --- Parte alta: scura + immagine (65%) --- */
.app-glocard-01-top {
  position: relative;
  padding: 2.5rem 2.6rem 2.3rem;
  min-height: 216px;
  background-color: #0f1922;
  color: #fff;
  overflow: hidden;
}

.app-glocard-01-top::before { /* immagine di sfondo @ opacity 65% */
  content: "";
  position: absolute;
  inset: 0;
  background: #0f1922 url("/themes/thm-nexi/assetsApp/media/glossari/glocard-01-bg.jpg") center/cover no-repeat;
  opacity: 0.1;
  z-index: 0;
}

.app-glocard-01-top::after { /* velo sinistro per leggibilità testo */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(9, 15, 21, 0.65) 0%, rgba(9, 15, 21, 0.18) 55%, rgba(9, 15, 21, 0) 100%);
  z-index: 0;
}

.app-glocard-01-top > * {
  position: relative;
  z-index: 1;
}

.app-glocard-01-dots {
  position: absolute;
  top: 2.8rem;
  right: 2.6rem; /* allineato in verticale col titolo (eyebrow) */
  line-height: 1;
}

.app-glocard-01-dots img {
  display: block;
  width: 54px;
  height: auto;
  opacity: 0.9;
}

.app-glocard-01-titlewrap {
  display: block;
  max-width: 80%;
}

.app-glocard-01-titlewrap:hover .app-glocard-01-desc {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.app-glocard-01-eyebrow {
  display: block;
  color: var(--ng-yellow); /* Titolo = Yellow #D8AC00 */
  font-weight: 800;
  font-size: 1.18rem;
  letter-spacing: 0.01em;
  margin-bottom: 0.85rem;
}

.app-glocard-01-desc {
  display: block;
  color: #fff; /* Desc = White */
  font-weight: 300;
  font-size: 2.35rem;
  line-height: 1.14;
}

/* --- Freccia circolare (bianca, icona warning) a cavallo del seam --- */
.app-glocard-01-arrow {
  position: absolute;
  right: 2.2rem;
  bottom: calc(var(--glo01-foot-h) - var(--glo01-arrow) / 2);
  z-index: 3;
  width: var(--glo01-arrow);
  height: var(--glo01-arrow);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 6px 18px rgba(15, 25, 34, 0.22);
  transition: transform 0.15s ease;
}

.app-glocard-01-arrow:hover {
  transform: translateX(3px);
}

.app-glocard-01-arrow i {
  color: var(--ng-warning);
  font-size: 2.9rem;
  line-height: 1;
}

/* --- Parte bassa: striscia #EBEBEB --- */
.app-glocard-01-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--glo01-foot-h);
  padding: 0.6rem 2.6rem;
  background: #EBEBEB;
}

.app-glocard-01-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* Fav/Vota → solo icona: override totale del .ng-btn (label nascosta). */
.app-glocard-01-actions .ng-btn {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  min-height: 0 !important;
  padding: 0.35rem !important;
  font-size: 0 !important; /* nasconde "Preferiti"/"Vota" */
  line-height: 1 !important;
}

.app-glocard-01-actions .ng-btn i {
  font-size: 1.55rem !important;
  margin: 0 !important;
}

.app-glocard-01-actions .ph-star {
  color: var(--ng-warning);
} /* Preferiti = warning */
.app-glocard-01-actions .ph-thumbs-up {
  color: var(--ng-info);
} /* Vota = info */
.app-glocard-01-count {
  color: var(--ng-primary); /* Termini = Primary */
  font-size: 1.02rem;
  letter-spacing: 0.01em;
  margin-left: 0.75rem; /* 3ª posizione a sx dopo Preferiti/Vota */
}

.app-glocard-01-count strong {
  font-weight: 900;
  font-size: 1.12rem;
}

@media (max-width: 640px) {
  .app-glocard-01-top {
    padding: 1.9rem 1.6rem;
    min-height: 180px;
  }
  .app-glocard-01-titlewrap {
    max-width: 100%;
  }
  .app-glocard-01-desc {
    font-size: 1.7rem;
  }
  .app-glocard-01-foot {
    padding: 0.5rem 1.6rem;
  }
  .app-glocard-01 {
    --glo01-arrow: 64px;
  }
  .app-glocard-01-arrow {
    right: 1.4rem;
  }
  .app-glocard-01-arrow i {
    font-size: 2.35rem;
  }
}
/* STILE 01 — variante pagina categoria: immagine di sfondo dedicata + più visibile */
.app-glocards-cat .app-glocard-01-top::before {
  background-image: url("/themes/thm-nexi/assetsApp/media/glossari/bg-stile-1-2.jpg");
  opacity: 1;
}

/* STILE 01 — variante pagina "Tutte le categorie": immagine dedicata */
.app-glocards-cats .app-glocard-01-top::before {
  background-image: url("/themes/thm-nexi/assetsApp/media/glossari/bg-stile-1-3.jpg");
  opacity: 1;
}

/* Pagine interne: la PRIMA .app-section non deve avere il padding-top 8rem globale
   (pensato per lo stacco fra sezioni home) → altrimenti gap enorme sotto l'header.
   Un'unica regola per tutte le pagine; la home non è toccata (primo figlio = .app-home-top). */
.ng-container > .app-section:first-child {
  padding-top: 1.5rem;
}

/* Pagina /cerca: input di ricerca a larghezza adattiva (riempie fino al button) */
.app-search-form .app-searchbox-input {
  inline-size: 100%;
  width: 100%;
}

/* Ricerca in HEADER — lente (solo icona) che apre l'input con suggerimenti live (toggle) */
.app-hsearch {
  display: inline-flex;
  align-items: center;
}

.app-hsearch-form {
  display: flex;
  align-items: center;
  max-width: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-width 0.28s ease, opacity 0.18s ease;
}

.app-hsearch.is-open .app-hsearch-form {
  max-width: 340px;
  opacity: 1;
  overflow: visible;
}

.app-hsearch-ac {
  position: relative;
  inline-size: 240px;
  max-inline-size: 60vw;
}

.app-hsearch-input {
  inline-size: 100%;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  color: #fff;
  border: 0;
  border-bottom: 1px solid #3c4147;
  border-radius: 0;
  padding: 0.45rem 0.3rem;
  margin: 0;
  font-size: 0.95rem;
  outline: none;
  box-shadow: none;
}

.app-hsearch-input::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.app-hsearch-input::-webkit-search-decoration,
.app-hsearch-input::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
}

/* niente ring/4-border emerald su focus/active/hover: SOLO border-bottom (override NG .ng-input:focus). Scoped a questa input. */
.app-hsearch-ac .app-hsearch-input:focus,
.app-hsearch-ac .app-hsearch-input:focus-visible,
.app-hsearch-ac .app-hsearch-input:active,
.app-hsearch-ac .app-hsearch-input:hover {
  border: 0;
  border-bottom: 1px solid #3c4147;
  border-radius: 0;
  box-shadow: none;
  outline: none;
}

.app-hsearch-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  color: inherit;
  cursor: pointer;
  padding: 0.35rem;
  font-size: 1.2rem;
  line-height: 1;
}

/* menu suggerimenti (bianco) sotto l'input scuro dell'header */
.app-hsearch-ac-menu {
  min-inline-size: 260px;
  inline-size: 340px;
  max-inline-size: 92vw;
}
/* Titoli/descrizioni lunghi (articoli) vanno a capo invece di sforare il menu.
   NG di default forza white-space:nowrap + ellipsis su label/sublabel. */
.app-search-ac .ng-autocomplete-item {
  align-items: flex-start;
}
.app-search-ac .ng-autocomplete-label,
.app-search-ac .ng-autocomplete-sublabel {
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
}

/* ============================================================================
   BLOG — card articolo griglia /blog (moderna: cover + data accavallata + Leggi)
   ============================================================================ */
.app-artcard {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--ng-g-10, #EBEBEB);
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(15, 25, 34, 0.06);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.app-artcard:hover {
  box-shadow: 0 14px 32px rgba(15, 25, 34, 0.12);
  transform: translateY(-2px);
}

/* Cover (immagine di sfondo con angoli tondi, inset nella card) */
.app-artcard-media {
  position: relative;
  display: block;
  height: 190px;
  margin: 6px 6px 0;
  border-radius: 12px;
  background: #d9dde2 center/cover no-repeat;
}

.app-artcard-media.is-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--ng-primary) 0%, var(--ng-primary-dark) 100%);
  color: rgba(255, 255, 255, 0.7);
}

.app-artcard-media.is-placeholder i {
  font-size: 3.2rem;
}

.app-artcard-spons {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 6px;
}

/* Badge data giorno/mese, accavallato in basso a dx dell'immagine */
.app-artcard-date {
  position: absolute;
  right: 16px;
  bottom: -18px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: center;
  min-width: 52px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(15, 25, 34, 0.22);
}

.app-artcard-date strong {
  background: var(--ng-primary);
  color: #fff;
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1;
  padding: 10px 8px 8px;
}

.app-artcard-date span {
  background: #EBEBEB;
  color: var(--ng-g-90, #1a1a1a);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 5px 8px;
}

/* Corpo */
.app-artcard-body {
  padding: 24px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.app-artcard-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin-bottom: 12px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ng-g-70, #555);
}

.app-artcard-meta > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.app-artcard-meta > span > i {
  color: var(--ng-primary);
  font-size: 1rem;
}

/* il badge livello mantiene i suoi colori (icona gauge non forzata a emerald) */
.app-artcard-meta .ng-badge i {
  color: inherit;
}

.app-artcard-title {
  margin: 0 0 10px;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.22;
}

.app-artcard-title a {
  color: var(--ng-g-90, #1a1a1a);
}

.app-artcard-title a:hover {
  color: var(--ng-primary);
}

.app-artcard-excerpt {
  margin: 0 0 18px;
  color: var(--ng-g-50, #777);
  font-size: 0.95rem;
  line-height: 1.55;
}

.app-artcard-more {
  margin-top: auto;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 800;
  color: var(--ng-g-90, #1a1a1a);
}

.app-artcard-more:hover {
  color: var(--ng-primary);
}

.app-artcard-more i {
  transition: transform 0.15s ease;
}

.app-artcard-more:hover i {
  transform: translateX(3px);
}

/* ============================================================================
   BLOG — dettaglio articolo (/blog/:slug)
   ============================================================================ */
.app-blog-hero {
  margin-bottom: 36px;
}

.app-blog-hero-eyebrow {
  display: inline-block;
  color: var(--ng-primary);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.7rem;
}

.app-blog-hero-spons {
  display: inline-block;
  margin-bottom: 0.5rem;
  background: color-mix(in srgb, var(--ng-warning) 16%, transparent);
  color: var(--ng-warning);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 6px;
}

.app-blog-hero h1 {
  margin: 0 0 1.6rem;
} /* più margine sotto il titolo */
.app-blog-hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ng-g-70, #555);
}

.app-blog-hero-meta > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.app-blog-hero-meta i {
  color: var(--ng-primary);
}

.app-blog-hero-meta .ng-badge i {
  color: inherit;
}

/* Cover top articolo (badge data accavallato, come card lista) */
.app-blog-cover2 {
  position: relative;
  aspect-ratio: 1200 / 494;
  border-radius: 16px;
  margin: 0 0 3.4rem; /* margine sotto la cover, prima del testo */
  background: #d9dde2 center/cover no-repeat;
}

/* Thumbnail articoli nella sidebar blog (unico pezzo custom; resto = classi NG) */
.app-sb-thumb {
  display: block;
  flex: 0 0 auto;
  width: 68px;
  height: 62px;
  border-radius: 8px;
  overflow: hidden;
  background: #d9dde2 center/cover no-repeat;
}

.app-sb-thumb.is-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--ng-primary) 0%, var(--ng-primary-dark) 100%);
  color: rgba(255, 255, 255, 0.7);
}

.app-sb-thumb.is-placeholder i {
  font-size: 1.6rem;
}

/* Titolo blocco sidebar (margine sotto affidabile: my-zero+mb-16 non combinano per ordine sorgente) */
.app-sb-h {
  margin: 0 0 16px;
}

.app-blog-cover2.is-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--ng-primary) 0%, var(--ng-primary-dark) 100%);
  color: rgba(255, 255, 255, 0.7);
}

.app-blog-cover2.is-placeholder i {
  font-size: 4.5rem;
}

/* Corpo articolo: ng-prose non compilato in questo build NG → il testo ricadeva
   sul default globale --ng-fs-body (.85rem/13.6px). NG applica font-size diretto su
   `p` (non solo su body), quindi va colpito il figlio, non solo il container. */
.app-article-body {
  font-size: 1rem;
  line-height: 1.7;
}

.app-article-body :where(p, li, blockquote, td, th) {
  font-size: inherit;
}

/* Bullet "belli" (icona circle-check emerald) nelle liste del corpo articolo */
.app-article-body ul {
  list-style: none;
  padding-left: 0;
  margin: 1rem 0;
}

.app-article-body ul li {
  position: relative;
  padding-left: 2.2rem;
  margin-bottom: 0.7rem;
  line-height: 1.55;
}

.app-article-body ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.12em;
  width: 1.35em;
  height: 1.35em;
  background: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20256%20256'%20fill='none'%20stroke='%23009B77'%20stroke-width='16'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Ccircle%20cx='128'%20cy='128'%20r='96'/%3E%3Cpath%20d='M172%20104l-56%2056-32-32'/%3E%3C/svg%3E") no-repeat center/contain;
}

/* Liste numerate (OL) — numero in cerchio emerald (ordine preservato) */
.app-article-body ol {
  list-style: none;
  padding-left: 0;
  margin: 1rem 0;
  counter-reset: app-ol;
}

.app-article-body ol li {
  position: relative;
  padding-left: 2.7rem;
  margin-bottom: 0.7rem;
  line-height: 1.55;
  counter-increment: app-ol;
}

.app-article-body ol li::before {
  content: counter(app-ol);
  position: absolute;
  left: 0;
  top: 0;
  width: 1.75em;
  height: 1.75em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ng-primary);
  color: #fff;
  border-radius: 50%;
  font-size: 0.82em;
  font-weight: 800;
  line-height: 1;
}

/* Tabelle nel corpo articolo — ng-prose non compilato → stile scoped.
   Wrapper .app-table-wrap per scroll orizzontale su mobile. */
.app-table-wrap {
  overflow-x: auto;
  margin: 1.4rem 0;
  -webkit-overflow-scrolling: touch;
}

.app-article-body table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
  font-size: 0.95rem;
  background: #fff;
  border: 1px solid var(--ng-g-15, #e2e2e2);
  border-radius: 10px;
  overflow: hidden;
}

.app-article-body thead th {
  background: var(--ng-primary);
  color: #fff;
  text-align: left;
  font-weight: 700;
  font-size: 0.9rem;
}

.app-article-body th, .app-article-body td {
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid var(--ng-g-10, #eee);
  vertical-align: top;
  line-height: 1.5;
}

.app-article-body td + td, .app-article-body th + th {
  border-left: 1px solid var(--ng-g-10, #eee);
}

.app-article-body tbody tr:last-child td {
  border-bottom: 0;
}

.app-article-body tbody tr:nth-child(even) {
  background: color-mix(in srgb, var(--ng-primary) 3%, transparent);
}

/* Fonti (E-E-A-T) + badge "Fonti verificate" (QC art_review_status) */
.app-src-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: color-mix(in srgb, var(--ng-primary) 12%, transparent);
  color: var(--ng-primary-dark, #007a5e);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.12rem 0.55rem;
  border-radius: 999px;
  white-space: nowrap;
}

.app-src-badge i {
  font-size: 1.05em;
}

.app-sources {
  border-top: 1px solid var(--ng-g-15, #e2e2e2);
  padding-top: 20px;
}

.app-sources-title {
  display: flex;
  align-items: center;
  margin: 0 0 12px;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--ng-secondary);
}

.app-sources-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.app-sources-list li {
  position: relative;
  padding-left: 1.5rem;
  line-height: 1.5;
}

.app-sources-list li::before {
  content: "↗";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--ng-primary);
  font-weight: 700;
}

.app-sources-list a {
  color: var(--ng-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
  word-break: break-word;
}

.app-sources-list a:hover {
  color: var(--ng-primary-dark);
}

/* "Continua il percorso" — piatto + link visibili */
.app-continua.ng-panel {
  background: color-mix(in srgb, var(--ng-primary) 4%, transparent);
  border: 0;
  border-left: 3px solid var(--ng-primary);
  border-radius: 12px;
  box-shadow: none;
}

.app-continua .ng-panel-body {
  padding: 22px 24px;
}

.app-continua-title {
  margin: 0 0 14px;
  color: var(--ng-primary);
  font-size: 1.15rem;
  font-weight: 800;
  display: flex;
  align-items: center;
}

.app-continua-intro {
  margin: 0 0 8px;
}

.app-continua-list {
  list-style: none;
  padding-left: 0;
  margin: 0 0 14px;
}

.app-continua-list li {
  margin-bottom: 12px;
}

.app-continua a {
  color: var(--ng-primary);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.app-continua a:hover {
  color: var(--ng-primary-dark);
}

.app-continua-exc {
  display: block;
  color: var(--ng-g-50, #777);
  font-size: 0.88rem;
  margin-top: 2px;
}

.app-continua {
  margin: 0;
  color: var(--ng-g-70, #555);
}

/* ===========================================================
Decoder Spie — griglia + filtro colore + scheda. Colori spia
(red/amber/green/blue) non coperti da NG → scoped.
=========================================================== */
.app-spia-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.app-spia-chip[data-color=red] {
  background: #fdeceb;
  color: #b42318;
  border: 1px solid #f3c4bf;
}

.app-spia-chip[data-color=amber] {
  background: #fff5e6;
  color: #8a5300;
  border: 1px solid #f2d6a6;
}

.app-spia-chip[data-color=green] {
  background: #e7f7ef;
  color: #05683c;
  border: 1px solid #bfe8d2;
}

.app-spia-chip[data-color=blue] {
  background: #eaf6fc;
  color: #0a5a7d;
  border: 1px solid #bfe3f4;
}

.app-spia-chip[data-color=all] {
  background: var(--ng-g-05, #f3f4f6);
  color: var(--ng-g-60, #555);
  border: 1px solid var(--ng-g-15, #e2e2e2);
}

.app-spia-chip.is-active {
  box-shadow: inset 0 0 0 2px currentColor;
  font-weight: 800;
}

.app-spia-chip-n {
  opacity: 0.6;
  font-weight: 800;
  margin-left: 0.3rem;
}

.app-spia-search {
  flex: 1 1 220px;
  min-width: 180px;
  padding: 0.5rem 0.85rem;
  border: 1px solid var(--ng-g-15, #dcdcdc);
  border-radius: var(--ng-radius-md, 6px);
  font: inherit;
  background: #fff;
}

.app-spia-dot {
  display: inline-block;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  vertical-align: middle;
}

.app-spia-dot-red {
  background: #d92d20;
}

.app-spia-dot-amber {
  background: #dd7900;
}

.app-spia-dot-green {
  background: #12b76a;
}

.app-spia-dot-blue {
  background: #119bdc;
}

.app-spia-grid {
  gap: 1rem;
}

.app-spia-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.6rem;
  padding: 1.1rem 0.8rem;
  text-decoration: none;
  color: inherit;
  border: 1.5px solid var(--ng-g-10, #e6e6e6);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.app-spia-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.09);
}

.app-spia-card .app-spia-icon {
  width: 52px;
  height: 52px;
}

.app-spia-card-name {
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.2;
}

/* colore spia ora nel punto in alto a sx (.app-spia-cardot), non nel border */
.app-spia-hero {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 1.2rem;
}

.app-spia-hero-ico {
  flex: 0 0 auto;
  width: 104px;
  height: 104px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: #f4f5f7;
}

.app-spia-hero-color {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ng-g-50, #777);
  margin-left: 0.3rem;
}

.app-spia-sev {
  padding: 0.8rem 1rem;
  border-radius: 8px;
  margin-bottom: 1.6rem;
  font-size: 0.95rem;
  border-left: 4px solid;
}

.app-spia-sev-stop {
  background: #fdeceb;
  border-left-color: #d92d20;
  color: #7a1c15;
}

.app-spia-sev-soon {
  background: #fff5e6;
  border-left-color: #dd7900;
  color: #7a4600;
}

.app-spia-sev-info {
  background: #eaf6fc;
  border-left-color: #119bdc;
  color: #0a5a7d;
}

.app-decoder-h2 {
  font-size: 1.375rem;
  color: var(--ng-primary);
  margin: 1.4rem 0 0.5rem;
}

.app-decoder-body {
  font-size: 1rem;
  line-height: 1.7;
  color: #333;
}

/* Decoder Spie — card come <button> + filtro (hide via classe) + pannello aside sticky */
.app-spia-card {
  width: 100%;
  background: #fff;
  cursor: pointer;
  font: inherit;
}

.app-spia-card:focus-visible {
  outline: 2px solid #98a2b3;
  outline-offset: 2px;
}

.app-spia-card.is-selected {
  outline: 2px solid #98a2b3;
  outline-offset: 2px;
  border-color: #98a2b3;
}

.app-spia-hide {
  display: none !important;
}

.app-spia-panel {
  position: sticky;
  top: 120px;
}

.app-spia-panel-empty {
  text-align: center;
  padding: 1.6rem 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.app-spia-panel-empty[hidden] {
  display: none;
}

.app-spia-panel .app-spia-hero {
  margin-bottom: 1rem;
}

.app-spia-panel .app-spia-hero-ico {
  width: 84px;
  height: 84px;
}

@media (max-width: 991px) {
  .app-spia-panel {
    position: static;
    margin-top: 1.5rem;
  }
}
.app-spia-hint {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.95rem;
}

.app-spia-card {
  position: relative;
}

.app-spia-cardot {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  width: 0.6rem;
  height: 0.6rem;
}

.app-spia-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.4rem;
  font-size: 0.9rem;
  color: var(--ng-g-60, #555);
}

.app-spia-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.app-spia-icon-fb {
  font-size: 52px;
  color: var(--ng-g-40, #999);
  line-height: 1;
}

.app-spia-hero-ico .app-spia-icon-fb {
  font-size: 72px;
}

.app-spia-dot-white {
  background: #fff;
  box-shadow: inset 0 0 0 1px #cbd2d9;
}

.app-spia-chip[data-color=white] {
  background: #f6f8fa;
  color: #475569;
  border: 1px solid #e2e8f0;
}

/* ===== Strumento Pneumatici — blocco 1+2 (decoder misura) ===== */
.app-tire-inputbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.75rem;
}

.app-tire-inputlabel {
  flex: 1 0 100%;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ng-secondary, #16323C);
}

.app-tire-input {
  flex: 1 1 100%;
  min-width: 0;
  height: 48px;
  padding: 0 1rem;
  font-family: var(--ng-font-mono, ui-monospace, monospace);
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  color: var(--ng-secondary, #16323C);
  background: #fff;
  border: 1px solid #c9ced2;
  border-radius: var(--ng-radius-md, 6px);
}

.app-tire-input:focus {
  outline: none;
  border-color: var(--ng-primary, #009B77);
  box-shadow: 0 0 0 3px rgba(0, 155, 119, 0.15);
}

.app-tire-inputhint {
  flex: 1 0 100%;
}

/* card con sfondo immagine */
.app-tire-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  min-height: 96px;
  padding: 0.85rem 1rem;
  border: 0;
  color: #fff;
  background-color: #16323C;
  background-size: cover;
  background-position: center;
}

.app-tire-card-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
}

.app-tire-card-val {
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1.15;
  color: #fff;
}

.app-tire-card-sub {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.8);
}

.app-tire-card-w {
  background-image: url(../media/decoder/decoder-bg-larghezza.jpg);
}

.app-tire-card-a {
  background-image: url(../media/decoder/decoder-bg-spalla.jpg);
}

.app-tire-card-r {
  background-image: url(../media/decoder/decoder-bg-cerchio.jpg);
}

.app-tire-card-l, .app-tire-card-s, .app-tire-card-d {
  background-image: url(../media/decoder/decoder-bg-violet.jpg);
}

/* pneumatico (div con foto), misura al centro */
.app-tire-photo {
  position: relative;
  width: 100%;
  max-width: 340px;
  aspect-ratio: 1/1;
  margin: 0 auto;
  background: url(../media/decoder/decoder-pneumatico.jpg) center/contain no-repeat;
}

.app-tire-photo-mid {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  background: rgba(255, 255, 255, 0.86);
  border-radius: var(--ng-radius-pill, 999px);
  padding: 0.3rem 0.9rem;
}

.app-tire-photo-size {
  display: block;
  font-family: var(--ng-font-mono, ui-monospace, monospace);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ng-secondary, #16323C);
}

.app-tire-photo-idx {
  display: block;
  font-family: var(--ng-font-mono, ui-monospace, monospace);
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--ng-g-60, #555);
}

@media (max-width: 767px) {
  .app-tire-photo {
    max-width: 260px;
    margin-bottom: 1.25rem;
  }
}
/* Pneumatici — blocco 3 (DOT) + 4 (plus-sizing) */
.app-tire-sec {
  border-top: 1px solid #e6e9ea;
  margin-top: 4rem;
}

.app-tire .app-section {
  padding-top: 0;
}
.app-tire .app-tire-sec {
  padding-top: 3rem;
}

.app-tire-tabs .ng-tabs-nav {
  gap: .5rem;
  border-bottom: 2px solid #e6e9ea;
}
.app-tire-tabs .ng-tabs-nav .ng-tab {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ng-g-60, #5a6570);
  padding: .85rem 1.25rem;
  border-radius: 8px 8px 0 0;
}
.app-tire-tabs .ng-tabs-nav .ng-tab:hover {
  background: #f4f6f7;
  color: var(--ng-secondary, #16323C);
}
.app-tire-tabs .ng-tabs-nav .ng-tab.is-active {
  color: var(--ng-primary, #009B77);
  box-shadow: inset 0 -3px 0 0 var(--ng-primary, #009B77);
}

.app-veh-select {
  width: 100%;
  height: 44px;
  padding: 0 0.75rem;
  border: 1px solid #c9ced2;
  border-radius: var(--ng-radius-md, 6px);
  background: #fff;
  font-size: 0.95rem;
  color: var(--ng-secondary, #16323C);
}

.app-veh-select:disabled {
  background: #f4f5f6;
  color: #9aa2a8;
  cursor: not-allowed;
}

.app-tire-h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ng-secondary, #16323C);
}

.app-veh-size {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  padding: 0.8rem 1rem;
  background: #fff;
  border: 1px solid #e6e9ea;
  border-left: 4px solid #c9ced2;
  border-radius: 8px;
}

.app-veh-size-val {
  font-family: var(--ng-font-mono, ui-monospace, monospace);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--ng-secondary, #16323C);
}

.app-veh-size-oe {
  border-left-color: #009B77;
}

.app-veh-size-opt {
  border-left-color: #2f6f8f;
}

.app-veh-size-calc {
  border-left-color: #D8AC00;
}

.app-tire-h2 {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--ng-secondary, #16323C);
  margin: 0 0 0.5rem;
}

.app-tire-input-sm {
  flex: 0 0 auto;
  max-width: 150px;
  text-align: center;
  letter-spacing: 3px;
}

.app-tire-doth-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.app-tire-dotbody .app-tire-dotimg {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin-bottom: 1.5rem;
}

.app-tire-dotbody p {
  margin: 0 0 1rem;
}

.app-tire-dotbody .ng-alert {
  margin-top: 1.25rem;
}

.app-tire-agebadge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.app-tire-agebar {
  position: relative;
  display: flex;
  height: 16px;
  border-radius: 8px;
  overflow: hidden;
  margin: 0.5rem 0 0.35rem;
}

.app-tire-agezone {
  display: block;
  height: 100%;
}

.app-tire-agezone-ok {
  width: 41.6%;
  background: #b9e4d4;
}

.app-tire-agezone-warn {
  width: 41.6%;
  background: #f6d38a;
}

.app-tire-agezone-bad {
  width: 16.8%;
  background: #ef9a9a;
}

.app-tire-agemark {
  position: absolute;
  top: -3px;
  width: 4px;
  height: 22px;
  background: var(--ng-secondary, #16323C);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: left 0.25s ease;
}

.app-tire-agescale {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--ng-g-50, #6b7280);
}

.app-tire-agenote {
  max-width: none;
}

.app-tire-cmpwrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.app-tire-cardinfo {
  position: absolute;
  top: 0.55rem;
  right: 0.6rem;
  font-size: 1rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.75);
  cursor: help;
}

.app-tire-cardinfo:hover {
  color: #fff;
}

.app-tire-comparesvg {
  width: 100%;
  max-width: 220px;
  height: auto;
}

.app-tire-cmplegend {
  display: flex;
  gap: 1.25rem;
  font-size: 0.85rem;
  color: var(--ng-g-60, #555);
}

.app-tire-cmpleg {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.app-tire-cmpdot {
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
}

.app-tire-cmpdot-1 {
  background: #009B77;
}

.app-tire-cmpdot-2 {
  background: #c0397f;
}

.app-tire-verdict {
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.5;
  white-space: normal;
}

.app-tire-cmpfields {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.app-tire-cmpfield {
  flex: 1 1 0;
  min-width: 140px;
}

.app-tire-cmpfield .app-tire-input {
  width: 100%;
}

.app-tire-cmpfield .app-tire-inputlabel {
  display: block;
  margin-bottom: 0.4rem;
}

/* Pneumatici — blocco 5 (marcature stagionali) */
.app-tire-mark {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.35rem;
  padding: 1.1rem 1rem;
}

.app-tire-mark-sym {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  height: 46px;
  margin-bottom: 0.15rem;
}

.app-tire-mark-txt {
  font-family: var(--ng-font-mono, ui-monospace, monospace);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--ng-secondary, #16323C);
}

.app-tire-mark-ico {
  font-size: 40px;
  line-height: 1;
  color: var(--ng-primary, #009B77);
}

.app-tire-mark-name {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--ng-secondary, #16323C);
}

.app-tire-mark-desc {
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--ng-g-60, #555);
}

/*# sourceMappingURL=custom.css.map *//* ============================================================
   Link — override scoped al testo formattato (.ng-prose).
   1) Prose (definizioni + articoli): SOLO sottolineatura tratteggiata,
      colore/peso lasciati al default NG. Niente effetto su button,
      liste, sidebar, nav (che sono fuori da .ng-prose).
   2) Articoli del blog: in piu' bold + rosso NG.
   ============================================================ */
.ng-prose a {
	text-decoration: underline dashed;   /* shorthand crossbrowser */
	text-decoration-line: underline;
	text-decoration-style: dashed;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.15em;
}
.app-article-body a {
	color: var(--ng-danger);
	font-weight: 700;
}

/* Tag articolo: badge #tag nella card blog e in fondo al dettaglio. */
.app-artcard-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0 12px;
}
.app-article-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
