
/* Base */
body {
  font-family: 'Inter', sans-serif;
  background: #f4f6fa;
  color:#005eb8 !important;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  text-align: left;
}

/* Media */
.img-fluid {
  width: 100%;
  max-width:850px;
  border-radius: 16px;
  margin-bottom: 20px;
}

/* Titoli promo */
.titolo__promo {
  font-size: 32px !important;
  font-weight: 700;
  color:#005eb8; /* Blu Marathonbet */
  margin-bottom:10px;
}

.sottotitolo__promo {
  font-size: 20px !important;
  color:#005eb8 !important;
  margin-bottom: 25px;
}

.avviso__promo {
  margin-bottom: 25px;
}

/* Intro box */
.blocco_intro {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  margin-bottom: 16px;
  text-align: left;
}

.blocco_intro h3 {
  font-weight: 600;
  font-size: 18px !important;
  margin-bottom: 15px;
}

.blocco_intro ol {
  padding-left: 20px;
}

.blocco_intro li {
  margin-bottom: 12px;
}

.blocco_intro ol,
.blocco_intro ul,
.blocco_intro p {
    font-size: 16px !important;
    line-height: 1.7;
}

.blocco_intro p em {
  font-size: 14px;
  color: #555;
}

/* CTA */
.bottone__promo {
  display: inline-block;
  padding: 12px 24px;
  font-weight: 600;
  font-size: 16px;
  color: #fff !important;
  background-color: #005eb8;
  border-radius: 8px;
  text-align: center;
  text-decoration: none;
  transition: background 0.2s ease;
  margin-top: 15px;
}

.bottone__promo:hover {
  background-color: #004999;
}

/* Accordion */
.blocco__accordion {
  background: #fff;
  border-radius: 12px;
  margin-bottom: 16px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  text-align: left;
}

.promo__accordion {
  background: #e8f1fb;
  padding: 16px 20px;
  width: 100%;
  text-align: left;
  font-weight: 600;
  border: none;
  font-size: 18px !important;
  font-weight: 600;
	border: none;
  cursor: pointer;
  color: #005eb8;
  position: relative;
  padding-right: 48px;
  outline: none !important;
}

.promo__accordion.promo__active::after {
    content: "−";
}

.promo__accordion__panel {
  display: none;
  background:#ffffff !important;
  padding: 20px;
  font-size: 16px !important;
  line-height: 1.7;
  animation: fadeIn 0.3s ease-in-out;
}

.promo__accordion__panel ul {
    padding-left: 20px;
}

.promo__accordion__panel li {
    margin-bottom: 12px;
}

.promo__accordion.promo__active + .promo__accordion__panel {
    display: block !important;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* Link */
a {
  color:#005eb8;
    text-decoration:none;
}

a:hover {
  text-decoration: underline;
}
/* STEP */
.steps-grid{
    display:grid;
    gap:14px;
}

.step-card{
    display:flex;
    gap:14px;
    background:#f7fafd;
    border-radius:10px;
    padding:14px;
    border:1px solid #e2edf8;
}

.step-number{
    min-width:36px;
    height:36px;
    background:#005eb8;
    color:white;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:700;
    font-size:18px;
}

.step-content,
.step-desc,
.nota-info{
    font-size:16px;        
    line-height:1.7;
    color:#005eb8 !important;
}

.step-card > div > strong {
    font-size:20px;
    color:#005eb8 !important;
}

.step-desc{
    margin-top:5px;
    color:#555;
}

/* DESKTOP layout */
@media (min-width:900px){
    .steps-grid{
        display:block;
    }

    .step-card{
        background:transparent;
        border:none;
        padding:0;
        margin-bottom:16px;
    }

    .step-number{
        background:#005eb8;
        margin-right:10px;
    }
}

/* Template layout */
.template__promo {
  width: 100vw;
  /* Estende il contenitore a tutta la larghezza dello schermo */
  margin: 0;
  padding: 0;
  display: block;
}

.template__promo--banner {
  width: 100vw;
  margin: 0;
  padding: 0;
}

.template__promo--banner img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 0;
}

.template__promo--content {
  max-width: 900px;
  /* stessa larghezza dei contenuti <li> */
  margin: 0 auto;
  padding: 20px;
}

/* ==========================
   Tabella premi promozione
   ========================== */
table.promo-table {
  width: 100%;
  /* piena larghezza del contenitore */
  border-collapse: collapse;
  margin-top: 20px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  /* arrotondamenti agli angoli */
}

table.promo-table thead tr {
  background-color: #005eb8;
  /* intestazione rossa */
  color: #fff;
  /* testo bianco */
}

table.promo-table th,
table.promo-table td {
  border: 1px solid #e5e7eb;
  /* grigio chiaro */
  padding: 10px 12px;
  text-align: left;
}

table.promo-table th {
  font-weight: 700;
  /* <strong> */
}

table.promo-table tbody tr:nth-child(even) {
  background: #fafafa;
  /* zebra light */
}

/* Responsive */
@media (max-width: 640px) {
  .titolo__promo {
    font-size: 26px;
  }

  .sottotitolo__promo {
    font-size: 18px;
  }

  .template__promo--content {
    padding: 16px;
  }

  table.promo-table th,
  table.promo-table td {
    padding: 8px;
  }
}

.nota-info{
    margin-top:8px;
    background:#e8f1fb; /* Azzurro chiaro coordinato */
    border-left:4px solid #005eb8;
    padding:10px;
    border-radius:6px;
}

.promo-code{
    display:inline-block;
    margin-top:4px;
    font-weight:700;
    color:#005eb8;
}

/* STILE BOTTONI INGRANDITI E MIGLIORATI */
.bottone-link{
    display: inline-block;
    background: #005eb8;
    color: white !important;
    padding: 15px 35px; 
    border-radius: 8px;
    font-weight: 700;
    font-size: 18px; 
    margin-top: 20px;
    text-decoration: none !important;
    transition: background 0.2s ease-in-out, transform 0.1s ease-in-out; 
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 94, 184, 0.2);
}

.bottone-link:hover {
    background: #004a91;
    box-shadow: 0 6px 8px rgba(0, 94, 184, 0.3);
}

.bottone-link:active {
    transform: translateY(1px);
    box-shadow: 0 2px 4px rgba(0, 94, 184, 0.2);
}

/* Ottimizzazione Tabella Responsive */
@media (max-width: 1024px) {
  table.promo-table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  table.promo-table th,
  table.promo-table td {
    white-space: nowrap;
  }
}