/* ---------- 1. Design tokens ---------- */

:root {
  --pw-primary: #4f46e5;
  --pw-primary-rgb: 79, 70, 229;
  --pw-primary-dark: #4338ca;
  --pw-violet: #7c3aed;
  --pw-accent: #06b6d4;
  --pw-success: #10b981;
  --pw-success-rgb: 16, 185, 129;
  --pw-danger: #f43f5e;
  --pw-danger-rgb: 244, 63, 94;
  --pw-warning: #f59e0b;
  --pw-warning-rgb: 245, 158, 11;
  --pw-info: #0ea5e9;
  --pw-info-rgb: 14, 165, 233;
  --pw-ink: #0f172a;
  --pw-body: #1e293b;
  --pw-muted: #64748b;
  --pw-line: rgba(15, 23, 42, .10);
  --pw-radius: 1rem;
  --pw-radius-lg: 1.5rem;
  --pw-shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 4px 12px -6px rgba(15, 23, 42, .18);
  --pw-shadow: 0 12px 30px -14px rgba(15, 23, 42, .38);
  --pw-shadow-lg: 0 32px 64px -34px rgba(15, 23, 42, .55);
  --pw-grad: linear-gradient(120deg, #4f46e5 0%, #7c3aed 55%, #06b6d4 100%);
  --pw-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --bs-primary: #4f46e5;
  --bs-primary-rgb: 79, 70, 229;
  --bs-secondary-rgb: 100, 116, 139;
  --bs-success: #10b981;
  --bs-success-rgb: 16, 185, 129;
  --bs-danger: #f43f5e;
  --bs-danger-rgb: 244, 63, 94;
  --bs-warning: #f59e0b;
  --bs-warning-rgb: 245, 158, 11;
  --bs-info: #0ea5e9;
  --bs-info-rgb: 14, 165, 233;
  --bs-link-color: #4338ca;
  --bs-link-hover-color: #3730a3;
  --bs-body-color: #1e293b;
  --bs-body-font-family: var(--pw-font);
  --bs-border-radius: .75rem;
  --bs-border-radius-sm: .55rem;
  --bs-border-radius-lg: 1rem;
  --bs-border-radius-xl: 1.25rem;
  --bs-border-color: var(--pw-line);
}

/* ---------- 2. Base ---------- */

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--pw-font);
  color: var(--pw-body);
  background-color: #eef2f7;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--pw-font);
  letter-spacing: -.015em;
  color: var(--pw-ink);
}

a {
  text-underline-offset: .18em;
}

:focus-visible {
  outline: 2px solid var(--pw-primary);
  outline-offset: 2px;
  border-radius: .35rem;
}

::selection {
  background: rgba(79, 70, 229, .22);
}

* {
  scrollbar-width: thin;
  scrollbar-color: rgba(79, 70, 229, .45) transparent;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(79, 70, 229, .40);
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: content-box;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(79, 70, 229, .65);
  background-clip: content-box;
}

/* Sfondo fotografico: leggero zoom + velatura per la leggibilita */

#bg {
  object-fit: cover;
  transform: scale(1.06);
  transform-origin: center top;
  filter: saturate(1.06) contrast(1.02);
  pointer-events: none;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(2, 6, 23, .62) 0%, rgba(2, 6, 23, .18) 28%, rgba(2, 6, 23, .58) 78%, rgba(2, 6, 23, .85) 100%);
}

section {
  position: relative;
  z-index: 1;
  scroll-margin-top: 96px;
}

/* ---------- 3. Navbar ---------- */

.navbar {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(15, 23, 42, .72) !important;
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .10);
  box-shadow: 0 14px 34px -24px rgba(2, 6, 23, .95);
  padding-top: .7rem !important;
  padding-bottom: .7rem !important;
}

.navbar-brand {
  gap: .6rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}

#Logo {
  max-height: 46px;
  margin-top: 0;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .45));
}

.navbar-brand span {
  letter-spacing: .22em;
  text-shadow: 0 0 18px rgba(250, 204, 21, .45);
}

.navbar .nav-link {
  position: relative;
  border-radius: 999px;
  padding: .45rem .95rem !important;
  font-weight: 500;
  color: rgba(255, 255, 255, .82) !important;
  transition: color .2s ease, background-color .2s ease;
}

.navbar .nav-link:hover, .navbar .nav-link:focus {
  color: #fff !important;
  background: rgba(255, 255, 255, .10);
}

.navbar .nav-link.active {
  color: #fff !important;
  background: rgba(255, 255, 255, .12);
}

.dropdown-toggle.nav-link.text-bg-primary, #UsrEntraBtn .dropdown-toggle {
  background: rgba(255, 255, 255, .10) !important;
  border: 1px solid rgba(255, 255, 255, .22);
  color: #fff !important;
  font-weight: 600;
}

#UsrEntraBtn .dropdown-toggle:hover {
  background: rgba(255, 255, 255, .18) !important;
}

.navbar-toggler {
  border: 1px solid rgba(255, 255, 255, .22) !important;
  border-radius: .75rem;
  padding: .4rem .6rem;
}

.navbar-toggler-icon {
  filter: invert(1) grayscale(1) brightness(2);
}

.dropdown-menu {
  border: 1px solid rgba(15, 23, 42, .06);
  border-radius: 1.15rem;
  padding: .85rem;
  box-shadow: var(--pw-shadow-lg);
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: pw-pop .18s ease-out;
}

.dropdown-item {
  border-radius: .6rem;
  font-weight: 500;
}

.dropdown-item:active, .dropdown-item:hover {
  background: rgba(79, 70, 229, .10);
  color: var(--pw-primary-dark);
}

/* ---------- 4. Bottoni ---------- */

.btn {
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: .01em;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease, background-color .18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  --bs-btn-bg: transparent;
  --bs-btn-border-color: transparent;
  --bs-btn-hover-bg: transparent;
  --bs-btn-hover-border-color: transparent;
  --bs-btn-active-bg: transparent;
  --bs-btn-active-border-color: transparent;
  --bs-btn-disabled-bg: transparent;
  --bs-btn-disabled-border-color: transparent;
  background-image: var(--pw-grad);
  color: #fff;
  box-shadow: 0 12px 26px -14px rgba(79, 70, 229, .95);
}

.btn-primary:hover {
  color: #fff;
  filter: saturate(1.15) brightness(1.05);
  box-shadow: 0 18px 34px -16px rgba(79, 70, 229, 1);
}

.btn-success {
  --bs-btn-bg: transparent;
  --bs-btn-border-color: transparent;
  --bs-btn-hover-bg: transparent;
  --bs-btn-hover-border-color: transparent;
  --bs-btn-active-bg: transparent;
  --bs-btn-active-border-color: transparent;
  background-image: linear-gradient(120deg, #059669 0%, #34d399 100%);
  border: 0;
  color: #fff;
  box-shadow: 0 12px 24px -14px rgba(5, 150, 105, .95);
}

.btn-info {
  --bs-btn-bg: transparent;
  --bs-btn-border-color: transparent;
  --bs-btn-hover-bg: transparent;
  --bs-btn-hover-border-color: transparent;
  --bs-btn-active-bg: transparent;
  --bs-btn-active-border-color: transparent;
  background: rgba(79, 70, 229, .06);
  border: 1px solid rgba(79, 70, 229, .28);
  color: var(--pw-primary-dark);
}

.btn-info:hover {
  background: rgba(79, 70, 229, .13);
  color: var(--pw-primary-dark);
}

.btn-xs {
  font-size: .8rem;
  padding: .42rem .95rem;
  line-height: 1.3;
}

#ginosidemenu-btn {
  background-color: transparent !important;
  background-image: var(--pw-grad) !important;
  border-radius: .8rem !important;
  color: #fff;
}

/* ---------- 5. Pannelli (.bb) ---------- */

.row.bb {
  margin-top: 1.5rem;
  padding: 1.35rem;
  background: rgba(255, 255, 255, .84);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  border: 1px solid rgba(15, 23, 42, .07);
  border-radius: var(--pw-radius-lg);
  box-shadow: var(--pw-shadow-lg);
  animation: pw-rise .6s cubic-bezier(.22, .68, .35, 1) both;
}

#corsi .container > .row.bb:nth-of-type(1) {
  animation-delay: .05s;
}

#corsi .container > .row.bb:nth-of-type(2) {
  animation-delay: .12s;
}

#corsi .container > .row.bb:nth-of-type(3) {
  animation-delay: .19s;
}

#corsi .container > .row.bb:nth-of-type(4) {
  animation-delay: .26s;
}

/* Eccezione: blocchi informativi gestiti dal CMS (.infor) non devono
   essere trasformati in "card" da modern.css. Questo evita che le colonne
   Bootstrap (.col-lg-6) all'interno vengano mandate a capo su schermi grandi. */

#corsi .row.bb:has(.infor) {
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin-bottom: 1.5rem !important;
  animation: none !important;
}

#corsi .row.bb:has(.infor) > .infor {
  display: block;
  width: 100%;
  max-width: 100%;
}

#corsi .row.bb:has(.infor) .row.g-4 {
  margin-left: 0;
  margin-right: 0;
}

#corsi .row.bb:has(.infor) .row.g-4 > [class*="col-"] {
  padding-left: calc(var(--bs-gutter-x, 1.5rem) * .5);
  padding-right: calc(var(--bs-gutter-x, 1.5rem) * .5);
}

/* Blocco "IMPORTANTE PER I NUOVI ISCRITTI" (contenuto modificabile dal gestore) */

#corsi .infov {
  display: block;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, .08);
  border-left: 5px solid #ff6600;
  border-radius: var(--pw-radius);
  padding: 1.35rem 1.6rem;
  box-shadow: var(--pw-shadow);
  color: var(--pw-body);
  font-size: .95rem;
  line-height: 1.8;
}

/* Quando il blocco aggiornabile dal gestore e' presente, la card statica con
   le stesse informazioni (modalita' di pagamento) viene nascosta: il testo
   del gestore resta l'unica versione mostrata, senza duplicazioni. 

#corsi:has(.infov) .row.g-4 > .col-lg-6:has(.card-header.bg-warning) {
  display: none;
}

#corsi:has(.infov) .row.g-4 > .col-lg-6:not(:has(.card-header.bg-warning)) {
  flex: 0 0 100%;
  max-width: 100%;
} */

#corsi .infov > b:first-child {
  display: inline-block;
  padding: .32rem .8rem;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .02em;
  box-shadow: 0 8px 16px -10px rgba(255, 102, 0, .95);
}

#corsi .infov span {
  color: var(--pw-body) !important;
}

#corsi .infov font[color="#339966"] {
  color: #0f766e !important;
}

/* ---------- 6. Barra contatto ---------- */

#corsi .d-inline-flex.p-3.bg-secondary.text-white {
  width: 100%;
  background-color: transparent !important;
  background-image: var(--pw-grad) !important;
  border-radius: var(--pw-radius);
  box-shadow: var(--pw-shadow);
  padding: 1rem 1.25rem !important;
  font-size: 1.02rem;
  font-weight: 500;
  align-items: center;
  gap: .35rem;
}

#corsi .d-inline-flex.p-3.bg-secondary.text-white > .p-2 {
  background: transparent !important;
}

#corsi .d-inline-flex.p-3.bg-secondary.text-white h3 {
  display: inline-flex;
  align-items: center;
  margin: 0;
}

#corsi .badge.bg-primary {
  background: rgba(255, 255, 255, .95) !important;
  color: var(--pw-primary-dark) !important;
  padding: .45rem .9rem;
  font-size: .98rem;
  box-shadow: 0 10px 24px -12px rgba(2, 6, 23, .8);
}

/* ---------- 7. Alert ---------- */

#corsi .alert {
  border-left-width: 5px !important;
  border-left-style: solid !important;
  border-radius: var(--pw-radius) !important;
  box-shadow: var(--pw-shadow-sm);
  padding: 1rem 1.15rem;
  line-height: 1.6;
}

#corsi .alert-danger {
  --bs-alert-bg: #fff1f3;
  --bs-alert-color: #9f1239;
  --bs-alert-border-color: #fda4af;
  border-left-color: var(--pw-danger) !important;
}

#corsi .alert-success {
  --bs-alert-bg: #ecfdf5;
  --bs-alert-color: #065f46;
  --bs-alert-border-color: #a7f3d0;
  border-left-color: var(--pw-success) !important;
}

#corsi .alert-warning {
  --bs-alert-bg: #fffbeb;
  --bs-alert-color: #92400e;
  --bs-alert-border-color: #fde68a;
  border-left-color: var(--pw-warning) !important;
}

#corsi .alert-info {
  --bs-alert-bg: #f0f9ff;
  --bs-alert-color: #075985;
  --bs-alert-border-color: #bae6fd;
  border-left-color: var(--pw-info) !important;
}

/* ---------- 8. Card informative ---------- */

#corsi .card {
  max-width: none;
  min-width: 0;
  margin: 0;
  text-align: left;
  font-family: inherit;
  border: 1px solid rgba(15, 23, 42, .08) !important;
  border-radius: var(--pw-radius-lg) !important;
  background: #fff;
  box-shadow: var(--pw-shadow) !important;
  transition: transform .25s ease, box-shadow .25s ease;
}

#corsi .card:hover {
  transform: translateY(-3px);
  box-shadow: var(--pw-shadow-lg) !important;
}

#corsi .card-header {
  border: 0;
  border-bottom: 1px solid rgba(15, 23, 42, .07);
  border-radius: calc(var(--pw-radius-lg) - 1px) calc(var(--pw-radius-lg) - 1px) 0 0 !important;
  padding: .9rem 1.1rem;
  font-weight: 700;
  letter-spacing: .01em;
}

#corsi .card-header.bg-primary {
  background-image: linear-gradient(120deg, #4f46e5, #6366f1) !important;
}

#corsi .card-header.bg-success {
  background-image: linear-gradient(120deg, #059669, #34d399) !important;
}

#corsi .card-header.bg-warning {
  background-image: linear-gradient(120deg, #f59e0b, #fbbf24) !important;
  color: #1f2937 !important;
}

#corsi .card-header.bg-dark {
  background-image: linear-gradient(120deg, #0f172a, #334155) !important;
}

#corsi .card-header .fs-5 {
  opacity: .9;
}

#corsi .card-body {
  padding: 1.15rem 1.25rem 1.35rem;
}

#corsi .card-body p, #corsi .card-body li {
  line-height: 1.7;
}

#corsi .card-body h4.text-uppercase {
  font-size: .78rem;
  letter-spacing: .12em;
  color: var(--pw-primary) !important;
  font-weight: 700;
}

#corsi .card-body h5 {
  font-size: .92rem;
  letter-spacing: .01em;
}

#corsi .card-body .border.rounded-4 {
  border: 1px solid rgba(15, 23, 42, .10) !important;
  border-radius: var(--pw-radius) !important;
  background: rgba(248, 250, 252, .85);
}

/* Elenchi puntati con badge numerati */

#corsi .card-body ol {
  counter-reset: pw-step;
  list-style: none;
  padding-left: 0 !important;
  margin-bottom: 1rem;
}

#corsi .card-body ol li {
  counter-increment: pw-step;
  position: relative;
  padding-left: 2.35rem;
  margin-bottom: .55rem;
}

#corsi .card-body ol li::before {
  content: counter(pw-step);
  position: absolute;
  left: 0;
  top: .1rem;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 50%;
  background-image: var(--pw-grad);
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 16px -8px rgba(79, 70, 229, .9);
}

/* Liste con icona */

#corsi .list-group-item {
  background: transparent;
  border-color: rgba(15, 23, 42, .07);
  color: var(--pw-body);
  padding-top: .45rem;
  padding-bottom: .45rem;
}

#corsi .list-group-item .bi {
  color: var(--pw-primary) !important;
  font-size: 1.05rem;
}

#corsi .list-unstyled li {
  padding-left: .1rem;
}

/* IBAN in evidenza */

#corsi .font-monospace {
  letter-spacing: .04em;
  color: var(--pw-ink);
}

/* ---------- 9. Card corsi ---------- */

#corsi .card:has(.pulsconf) {
  flex: 1 1 280px;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

#corsi .row.bb:has(.pulsconf) {
  justify-content: center;
  gap: .5rem;
}

#corsi .card:has(.pulsconf) img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  transition: transform .55s cubic-bezier(.22, .68, .35, 1);
}

#corsi .card:has(.pulsconf):hover img {
  transform: scale(1.07);
}

#corsi .card:has(.pulsconf) h1 {
  font-size: 1.3rem;
  font-weight: 800;
  margin: 1.05rem 1.1rem .3rem;
  letter-spacing: -.02em;
}

#corsi .card:has(.pulsconf) p {
  margin: 0 1.1rem .3rem;
  color: var(--pw-muted);
}

#corsi .card:has(.pulsconf) p.fascia {
  display: inline-block;
  align-self: flex-start;
  margin: .25rem 1.1rem .9rem;
  padding: .28rem .8rem;
  border-radius: 999px;
  background: rgba(79, 70, 229, .09);
  color: var(--pw-primary-dark);
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .02em;
}

#corsi .card:has(.pulsconf) p:empty {
  display: none;
}

#corsi .card:has(.pulsconf) p:has(button) {
  margin-bottom: .8rem;
}

#corsi .card:has(.pulsconf) .pulsconf {
  margin-top: auto;
  padding: 0 1.1rem 1.2rem;
}

#corsi .card button.iscriviti {
  position: static;
  width: 100%;
  border: 0;
  border-radius: 999px;
  padding: .78rem 1rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .02em;
  background-color: transparent;
  background-image: var(--pw-grad);
  color: #fff;
  box-shadow: 0 14px 26px -14px rgba(79, 70, 229, .95);
  transition: transform .18s ease, box-shadow .18s ease;
}

#corsi .card button.iscriviti:hover {
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: 0 20px 32px -14px rgba(79, 70, 229, 1);
}

#corsi .card button.nessunaiscriz {
  position: static;
  width: 100%;
  border: 0;
  border-radius: 999px;
  padding: .78rem 1rem;
  font-size: .98rem;
  font-weight: 600;
  background: #e2e8f0;
  color: #64748b;
  cursor: not-allowed;
}

/* ---------- 10. Login dropdown ---------- */

.dropdown-menu .card {
  border: 0 !important;
  border-radius: var(--pw-radius) !important;
  box-shadow: none !important;
  background: transparent;
}

.dropdown-menu .card-body {
  padding: .5rem;
}

.dropdown-menu .bs-icon-circle.bs-icon-primary {
  background-image: var(--pw-grad);
  color: #fff;
  box-shadow: 0 10px 22px -10px rgba(79, 70, 229, .95);
}

.form-control {
  border-radius: .8rem;
  border-color: rgba(15, 23, 42, .14);
  padding: .6rem .9rem;
  background-color: #f8fafc;
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.form-control:focus {
  background-color: #fff;
  border-color: var(--pw-primary);
  box-shadow: 0 0 0 .25rem rgba(79, 70, 229, .16);
}

.dropdown-menu .text-muted a {
  color: var(--pw-primary-dark) !important;
  font-weight: 600;
}

/* ---------- 11. Footer ---------- */

footer.footer.sidefooter {
  display: block;
  float: none;
  width: 100%;
  background: linear-gradient(180deg, #0f172a 0%, #020617 100%) !important;
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 2.75rem 0 2rem;
  margin-top: 2.5rem;
}

footer h4 {
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: .75rem;
}

footer p {
  color: rgba(255, 255, 255, .68);
  line-height: 1.85;
}

footer .text-muted {
  color: rgba(255, 255, 255, .40) !important;
  font-size: .85rem;
  letter-spacing: .04em;
}

footer .columnEn {
  float: none;
  width: 100%;
  padding: 0;
  height: 1rem;
}

#inform {
  color: #a5b4fc !important;
  text-shadow: none;
  font-size: .78rem;
  letter-spacing: .06em;
  text-decoration: none;
  border-bottom: 1px dotted rgba(165, 180, 252, .55);
}

#inform:hover {
  color: #c7d2fe !important;
}

/* ---------- 12. Animazioni ---------- */

@keyframes pw-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pw-pop {
  from {
    opacity: 0;
    transform: translateY(-6px) scale(.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes pw-fade {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-text {
  animation: pw-fade .8s cubic-bezier(.22, .68, .35, 1) both;
}

/* ---------- 13. Responsive ---------- */

@media (max-width: 991.98px) {
  .row.bb {
    padding: 1.1rem;
    border-radius: 1.25rem;
  }
}

@media (max-width: 991.98px) {
  #corsi .card:has(.pulsconf) {
    max-width: 100%;
  }
}

@media (max-width: 991.98px) {
  #corsi .d-inline-flex.p-3.bg-secondary.text-white {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 767.98px) {
  body {
    font-size: .97rem;
  }
}

@media (max-width: 767.98px) {
  .navbar-brand span {
    letter-spacing: .14em;
  }
}

@media (max-width: 767.98px) {
  .row.bb {
    margin-top: 1rem;
    padding: .9rem;
  }
}

@media (max-width: 767.98px) {
  #corsi .card-body {
    padding: 1rem;
  }
}

@media (max-width: 767.98px) {
  #corsi .card:has(.pulsconf) h1 {
    font-size: 1.15rem;
  }
}

@media (max-width: 767.98px) {
  #corsi .d-inline-flex.p-3.bg-secondary.text-white {
    font-size: .95rem;
    padding: .85rem 1rem !important;
  }
}

@media (max-width: 767.98px) {
  #corsi .badge.bg-primary {
    font-size: .88rem;
  }
}

@media (max-width: 767.98px) {
  .dropdown-menu {
    border-radius: 1rem;
  }
}

@media (max-width: 575.98px) {
  .row.bb {
    border-radius: 1rem;
  }
}

@media (max-width: 575.98px) {
  #corsi .card-body ol li {
    padding-left: 2.1rem;
  }
}

@media (max-width: 575.98px) {
  footer.footer.sidefooter {
    padding: 2rem 0 1.5rem;
  }
}

/* ---------- 14. Preferenze utente ---------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .row.bb, .card {
    transform: none !important;
  }
}

/* ---------- 15. Stampa ---------- */

