/* =============================================
RESET BASE
============================================= */

#idContentMain {
  overflow-x: hidden !important;
  max-width: 100%;
}
.row {
  --bs-gutter-x: 0 !important;
}
.cg-top-header {
  top: 0 !important;
}
/* div.smartbanner.smartbanner--android.js_smartbanner,
div.smartbanner.smartbanner--ios.js_smartbanner {
  display: none !important;
  height: 0px !important;
}
.smartbanner ~ #idContentMain#idContentMain {
  margin-top: 0 !important;
} */
.cg-menuTabMobile {
  display: none;
}

.w24__header__button::after {
  display: none !important;
}

.w24-container {
  padding: 26px !important;
}

#nascondimenu {
  display: none !important;
}

main#panel {
  padding-top: 0 !important;
}

#idContentMain > .main_home__container > div {
  max-width: 100% !important;
  margin: 0 !important;
}

.container-fluid {
  padding: 0 !important;
}

.carousel-inner,
.mlp-section,
.blockBanner {
  max-width: 1440px !important;
  margin: 0 auto !important;
  padding: 0 26px;
}

.w24-container .w24 {
  max-width: 1352px !important;
}

#carouselExampleIndicators,
.mlp-section,
.blockBanner,
.w24-container .w24 {
  margin-bottom: 16px !important;
}

.mlp-card,
.w24-container .w24 {
  box-shadow: 2px 2px 8px 0 rgba(0, 0, 0, 0.08);
}

.header-affiliati {
  display: flex;
  width: 100%;
  justify-content: flex-start;
  align-items: center;
  background-color: #ffffff;
  padding: 12px 44px;
  height: 68px;
  box-shadow: 2px 2px 8px 0 rgba(0, 0, 0, 0.08);
}

.tc-padding-rm {
  padding: 0 !important;
}

.blockBanner__backdrop {
  background: transparent !important;
}

.blockCarousel__heading {
  display: none;
}

.mlp-footer__label {
  color: #ffffff !important;
}


.mlp-come-funziona__title,
.mlp-steps {
  margin-bottom: 16px;
}

.contentMainPaddings {
  padding-bottom: 0 !important;
  padding-top: 0 !important;
}

/* =============================================
SHARED (mobile base)
============================================= */
.mlp-card {
  background: #fff;
  border-radius: 12px;
  margin: 0 auto;
}

.mlp-card--dark {
  background: #15366f;
}

/* =============================================
SEZIONE 1: COME FUNZIONA (mobile base)
============================================= */
.mlp-come-funziona {
  padding: 25px 20px 30px;
  text-align: left;
}

.mlp-come-funziona__title {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}

/* Steps - verticali su mobile */
.mlp-steps {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
}

/* Nessuna linea orizzontale su mobile */
.mlp-steps::before {
  display: none;
}

/* Singolo step - riga su mobile */
.mlp-step {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  position: relative;
  z-index: 1;
  padding-bottom: 18px;
}

.mlp-step:last-child {
  padding-bottom: 0;
}

/* Linea verticale tra step (mobile) */
.mlp-step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 17px;
  top: 38px;
  bottom: 0;
  width: 2px;
  background: #fff;
}

.mlp-step__circle {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 50%;
  background: #15366f;
  color: #fff;
  border: 2px solid #fff;
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mlp-step__label {
  font-size: 15px;
  color: #fff;
  text-align: left;
}

/* CTA bianco (su sfondo scuro) - mobile: full width */
.mlp-btn--outline {
  display: block;
  width: 100%;
  text-align: center;
  background: #fff;
  color: #15366f;
  border: 2px solid #fff;
  border-radius: 15px;
  padding: 14px 20px;
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s;
}

.mlp-btn--outline:hover {
  background: #ffffff;
  color: #15366f;
}

/* CTA pieno - mobile: full width */
.mlp-btn--solid {
  display: block;
  width: 100%;
  text-align: center;
  background: #15366f;
  color: #fff;
  border: 2px solid #15366f;
  border-radius: 15px;
  padding: 14px 20px;
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 22px;
}

.mlp-btn--solid:hover {
  background: #15366f;
  color: #ffffff;
}

/* =============================================
SEZIONE 2: DESCRIZIONE (mobile base)
============================================= */
.mlp-descrizione {
  padding: 25px 20px 30px;
}

.mlp-descrizione p {
  font-size: 14px;
  line-height: 1.65;
  color: #333;
  margin-bottom: 16px;
}

.mlp-descrizione p:last-of-type {
  margin-bottom: 0;
}

.mlp-descrizione strong {
  font-weight: 700;
  color: #15366f;
}

.mlp-descrizione ul {
  margin: 6px 0 18px 0;
  padding-left: 22px;
  list-style: disc;
}

.mlp-descrizione ul li {
  font-size: 14px;
  line-height: 1.65;
  color: #333;
  margin-bottom: 4px;
}

/* =============================================
SEZIONE 3: TERMINI E CONDIZIONI (CMS Accordion w24)
(mobile base)
============================================= */
.w24-container {
  margin: 0 auto;
  font-family: "Poppins", sans-serif;
}

.w24-container .w24 {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
}

/* Header accordion */
.w24-container .w24__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  transition: background 0.2s;
}

.w24-container .w24__header__text {
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #15366f;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.w24-container .w24__header__button {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  position: relative;
  transition: transform 0.3s ease;
}

/* Icona freccia via CSS */
.w24-container .w24__header__button::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  border-right: 5px solid #15366f;
  border-bottom: 5px solid #15366f;
  border-top: 5px solid transparent;
  border-left: 5px solid transparent;
  transform: translate(-50%, -65%) rotate(45deg);
  transition: transform 0.3s ease;
}

.w24-container .w24__header[aria-expanded="true"] .w24__header__button::before {
  transform: translate(-50%, -35%) rotate(-135deg);
}

/* Contenuto accordion */
.w24-container .w24__collapse__content {
  padding: 0 20px 25px;
}

/* Body testo T&C */
.mlp-tc__body p {
  font-family: "Poppins", sans-serif;
  font-size: 13px;
  line-height: 1.7;
  color: #555;
  margin: 16px 0 0 0;
}

.mlp-tc__body p:first-child {
  margin-top: 0;
}

.mlp-tc__body a {
  color: #15366f;
  text-decoration: underline;
}

.mlp-tc__body ul {
  margin: 8px 0 0 0;
  padding-left: 20px;
  list-style: disc;
}

.mlp-tc__body ul li {
  font-family: "Poppins", sans-serif;
  font-size: 13px;
  line-height: 1.7;
  color: #555;
  margin-bottom: 2px;
}

/* =============================================
SEZIONE 4: FOOTER (mobile base)
============================================= */
.mlp-footer {
  background-color: #15366f;
  padding: 20px 15px;
  font-family: "Poppins", sans-serif;
  color: #fff;
}

.mlp-footer .mlp-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
}

/* Colonna sinistra */
.mlp-footer .mlp-footer__left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.mlp-footer .mlp-footer__label {
  font-size: 10px;
  font-weight: 700;
  color: #d4a843;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0;
}

.mlp-footer .mlp-footer__logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.mlp-footer .mlp-footer__logos img {
  height: 30px;
  max-height: 30px;
  width: auto;
  max-width: 120px;
  display: block;
  object-fit: contain;
}

/* Concessione + ADM */
.mlp-footer .mlp-footer__center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.mlp-footer .mlp-footer__conc {
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.3px;
  margin: 0;
}

.mlp-footer .mlp-footer__adm {
  display: block;
}

.mlp-footer .mlp-footer__adm img {
  height: 24px;
  max-height: 24px;
  width: auto;
  max-width: 100px;
  display: block;
  object-fit: contain;
}

/* Colonna destra */
.mlp-footer .mlp-footer__right {
  text-align: center;
  flex-shrink: 1;
  min-width: 0;
}

.mlp-footer .mlp-footer__company {
  font-size: 9px;
  color: #fff;
  line-height: 1.6;
  margin: 0;
}

/* =============================================
SEZIONE 5: STICKY BUTTON (mobile base)
============================================= */
.sticky-bar-cms {
  width: 105.5%;
  padding: 13px 15px;
  z-index: 1000;
  transition: position 0.3s ease-in-out;
  background-color: white;
  position: fixed;
  box-shadow: 0px -10px 20px rgba(0, 0, 0, 0.4);
  bottom: 0;
}

.content-sticky-bar-cms {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* icone metodi di pagamento */
.loghiPagamentoSize {
  width: 15%;
}

/* =============================================
DESKTOP (min-width: 769px)
============================================= */
@media (min-width: 769px) {
  .carousel-inner,
  .mlp-section,
  .blockBanner {
    padding: 0 44px;
  }

  .w24-container {
    padding: 0 !important;
  }

  /* Sezione 1 */
  .mlp-come-funziona {
    padding: 40px 50px 45px;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .mlp-come-funziona__title {
    font-size: 22px;
  }

  /* Steps - orizzontali su desktop */
  .mlp-steps {
    flex-direction: row;
    justify-content: space-between;
    padding: 16px 110px;
  }

  /* Linea orizzontale tra step (desktop) */
  .mlp-steps::before {
    display: block;
    content: "";
    position: absolute;
    top: 35px;
    left: 12%;
    right: 14%;
    height: 2px;
    background: #fff;
    z-index: 0;
  }

  .mlp-step {
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding-bottom: 0;
  }

  /* Rimuovi linea verticale su desktop */
  .mlp-step:not(:last-child)::after {
    display: none;
  }

  .mlp-step__circle {
    width: 40px;
    height: 40px;
    min-width: 40px;
    font-size: 16px;
    margin-bottom: 12px;
  }

  .mlp-step__label {
    text-align: center;
  }

  /* CTA - inline su desktop */
  .mlp-btn--outline {
    display: inline-block;
    width: auto;
    padding: 12px 50px;
    max-width: 320px;
  }

  .mlp-btn--solid {
    display: inline-block;
    width: auto;
    padding: 14px 55px;
    width: 320px;
  }

  /* Sezione 2 */
  .mlp-descrizione {
    padding: 35px 40px 40px;
  }

  .mlp-descrizione p,
  .mlp-descrizione ul li {
    font-size: 15px;
  }

  /* Sezione 3 - Accordion CMS */
  .w24-container .w24__header {
    padding: 22px 40px;
  }

  .w24-container .w24__header__text {
    font-size: 16px;
  }

  .w24-container .w24__collapse__content {
    padding: 0 40px 30px;
  }

  /* icone metodi di pagamento */
  .loghiPagamentoSize {
    width: 5%;
  }

  /* Sezione 4 - Footer */
  .mlp-footer {
    padding: 25px 40px;
  }

  .mlp-footer .mlp-footer__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    gap: 30px;
  }

  .mlp-footer .mlp-footer__left {
    align-items: flex-start;
  }

  .mlp-footer .mlp-footer__logos {
    justify-content: flex-start;
    flex-wrap: nowrap;
  }

  .mlp-footer .mlp-footer__logos img {
    height: 36px;
    max-height: 36px;
  }

  .mlp-footer .mlp-footer__center {
    align-items: flex-start;
  }

  .mlp-footer .mlp-footer__right {
    text-align: right;
  }

  .mlp-footer .mlp-footer__company {
    font-size: 10px;
  }
}

@media (max-width: 1205px) {
  .mlp-steps::before {
    top: 35px;
    left: 15%;
    right: 17%;
  }
}

/* =============================================
BARRA BALDUZZI
/* ============================================= */
/* .barra-superiore {
display: none !important;
} */

/* =============================================
FOOTER PRINCIPALE DEL SITO 
/* ============================================= */

/* #cg-footer {
  display: none !important;
} */

/* "SCOPRI TUTTI I NOSTRI GIOCHI" */
#cg-footer-top {
  display: none !important;
}

/* PREFOOTER */
#cg-footer-center {
  display: none !important;
}

/* FOOTER */
@media (max-width: 769px) {
  #cg-footer-bottom {
    margin-bottom: 70px !important;
  }
}

/* ============================================= */
