/* CT25 shared Master Hero. Extracted from OceanWP Child supplied CSS (2026-10-11).
   Kept original selector structure for Elementor HTML and dynamic hero. */

/* =========================================================
   HERO MASTER GENERICO - CT25
   Da usare per tutti i master
   Wrapper consigliato: .ct25-master-hero
========================================================= */

.ct25-master-hero,
.ct25-master-hero *{
  box-sizing:border-box;
}

.ct25-master-hero{
  font-family:Arial,Helvetica,sans-serif;
  color:#0b1b3a;
  padding:30px 0;
  background:
    radial-gradient(1200px 420px at 20% 0%, rgba(11,60,255,.20), transparent 55%),
    radial-gradient(900px 360px at 90% 10%, rgba(255,212,0,.18), transparent 50%),
    linear-gradient(180deg,#f6f9ff 0%, #ffffff 65%);
}

.ct25-master-hero .ct25-master-hero-wrap{
  max-width:1100px;
  margin:0 auto;
  padding:0 14px;
}

.ct25-master-hero .ct25-master-hero-grid{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:18px;
  align-items:stretch;
}

.ct25-master-hero .ct25-master-hero-left{
  display:grid;
  gap:12px;
  background:#fff;
  border:1px solid #e4ecff;
  border-radius:18px;
  padding:18px 18px 16px;
  box-shadow:0 14px 34px rgba(2,18,52,.08);
}

.ct25-master-hero .ct25-master-hero-badges{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  justify-content:center;
}

.ct25-master-hero .ct25-master-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:6px 12px;
  border-radius:999px;
  font-weight:900;
  font-size:14px;
  letter-spacing:.3px;
  line-height:1;
  white-space:nowrap;
}

.ct25-master-hero .ct25-master-badge-red{
  background:#ff2d2d;
  color:#fff;
}

.ct25-master-hero .ct25-master-badge-yellow{
  background:#ffd400;
  color:#0b1b3a;
}

.ct25-master-hero .ct25-master-hero-title{
  margin:0;
  font-size:38px;
  line-height:1.06;
  font-weight:900;
  letter-spacing:.2px;
  text-align:center;
}

.ct25-master-hero .ct25-master-hero-subtitle{
  margin:0;
  font-size:18px;
  line-height:1.45;
  color:#1a2b55;
  text-align:center;
}

.ct25-master-hero .ct25-master-hero-imgwrap{
  display:flex;
  justify-content:center;
  margin-top:2px;
}

.ct25-master-hero .ct25-master-hero-img{
  width:150px;
  height:150px;
  object-fit:cover;
  border-radius:16px;
  border:1px solid #e4ecff;
  box-shadow:0 12px 26px rgba(0,0,0,.10);
  background:#fff;
}

.ct25-master-hero .ct25-master-hero-list{
  margin:0;
  padding:0;
  list-style:none;
  display:grid;
  gap:10px;
}

.ct25-master-hero .ct25-master-hero-list li{
  background:#f6f9ff;
  border:1px solid #e6ecff;
  border-radius:14px;
  padding:11px 12px;
  font-size:16.5px;
  line-height:1.25;
}

.ct25-master-hero .ct25-master-hero-actions{
  margin-top:4px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  justify-content:center;
}

.ct25-master-hero .ct25-master-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:210px;
  padding:13px 18px;
  border:0;
  border-radius:14px;
  text-decoration:none !important;
  cursor:pointer;
  font-weight:900;
  font-size:16.5px;
  line-height:1.1;
  user-select:none;
  box-shadow:0 12px 26px rgba(0,0,0,.12);
  transition:transform .16s ease, box-shadow .16s ease;
}

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

.ct25-master-hero .ct25-master-btn-primary{
  background:linear-gradient(180deg,#0b3cff 0%, #0040b3 100%);
  color:#fff;
}

.ct25-master-hero .ct25-master-btn-secondary{
  background:#ffd400;
  color:#0b1b3a;
  box-shadow:0 16px 34px rgba(0,0,0,.18);
}

.ct25-master-hero .ct25-master-hero-note{
  display:flex;
  align-items:flex-start;
  justify-content:center;
  gap:8px;
  margin-top:2px;
  color:#1a2b55;
  font-size:15.5px;
  text-align:center;
}

.ct25-master-hero .ct25-master-dot{
  flex:0 0 10px;
  width:10px;
  height:10px;
  margin-top:5px;
  border-radius:50%;
  background:#ffd400;
}

/* RIGHT CARD */
.ct25-master-hero .ct25-master-card{
  overflow:hidden;
  color:#fff;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.16);
  background:linear-gradient(180deg,#0b3cff 0%, #0040b3 70%, #002b7a 100%);
  box-shadow:0 20px 60px rgba(0,0,0,.20);
}

.ct25-master-hero .ct25-master-card-top{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:12px;
  padding:16px 16px 14px;
  background:rgba(0,0,0,.12);
}

.ct25-master-hero .ct25-master-card-kicker{
  font-size:14px;
  opacity:.92;
  font-weight:800;
  letter-spacing:.35px;
}

.ct25-master-hero .ct25-master-card-title{
  margin-top:4px;
  font-size:18px;
  font-weight:1000;
  line-height:1.15;
}

.ct25-master-hero .ct25-master-pricebox{
  padding:10px 12px;
  border-radius:14px;
  text-align:right;
  background:#ff2d2d;
  border:1px solid rgba(255,255,255,.26);
  box-shadow:0 14px 34px rgba(0,0,0,.22);
}

.ct25-master-hero .ct25-master-price{
  color:#fff;
  font-size:26px;
  font-weight:1000;
  line-height:1;
}

.ct25-master-hero .ct25-master-price-meta{
  margin-top:4px;
  color:#fff;
  font-size:14px;
  font-weight:900;
}

.ct25-master-hero .ct25-master-card-body{
  padding:14px 16px 16px;
}

.ct25-master-hero .ct25-master-card-row{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  justify-content:center;
  margin-bottom:12px;
}

.ct25-master-hero .ct25-master-chip{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:7px 10px;
  border-radius:999px;
  font-weight:900;
  font-size:14px;
  text-align:center;
  white-space:nowrap;
  background:rgba(255,255,255,.14);
  border:1px solid rgba(255,255,255,.18);
}

.ct25-master-hero .ct25-master-chip-yellow{
  background:#ffd400;
  color:#0b1b3a;
  border:1px solid rgba(255,212,0,.65);
}

.ct25-master-hero .ct25-master-card-points{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:10px;
  margin-bottom:12px;
}

.ct25-master-hero .ct25-master-point{
  padding:10px;
  border-radius:14px;
  text-align:center;
  background:rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.18);
}

.ct25-master-hero .ct25-master-point-label{
  font-size:13.5px;
  opacity:.92;
  font-weight:800;
  letter-spacing:.2px;
}

.ct25-master-hero .ct25-master-point-value{
  margin-top:4px;
  font-size:18px;
  font-weight:1000;
}

/* ACF BOXES */
.ct25-master-hero .ct25-master-acf{
  margin-top:10px;
  display:grid;
  gap:8px;
}

.ct25-master-hero .ct25-master-acf-row{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:10px;
  padding:12px 14px;
  border-radius:14px;
  color:#fff;
  background:linear-gradient(135deg,#e5181f 0%, #b80f15 100%);
  border:1px solid rgba(255,255,255,.25);
}

.ct25-master-hero .ct25-master-acf-k{
  color:#fff;
  font-weight:900;
  font-size:14.5px;
  white-space:nowrap;
}

.ct25-master-hero .ct25-master-acf-v{
  color:#fff;
  font-weight:1000;
  font-size:14.5px;
  text-align:right;
  line-height:1.25;
}

.ct25-master-hero .ct25-master-card-cta{
  margin-top:12px;
  display:grid;
  gap:12px;
  justify-items:center;
  text-align:center;
}

/* BENEFITS */
.ct25-master-hero .ct25-master-benefits{
  width:100%;
  margin-top:2px;
  padding:12px 12px 10px;
  border-radius:16px;
  text-align:left;
  background:rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.18);
}

.ct25-master-hero .ct25-master-benefits-title{
  margin:0 0 10px;
  color:#ffd400;
  font-size:14px;
  font-weight:1000;
  text-transform:uppercase;
  letter-spacing:.4px;
  text-align:center;
}

.ct25-master-hero .ct25-master-benefits-list{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  gap:8px;
}

.ct25-master-hero .ct25-master-benefits-list li{
  display:flex;
  align-items:flex-start;
  gap:10px;
  font-size:14.5px;
  line-height:1.35;
  font-weight:800;
  text-align:left;
}

.ct25-master-hero .ct25-master-benefit-dot{
  flex:0 0 10px;
  width:10px;
  height:10px;
  margin-top:5px;
  border-radius:50%;
  background:#ffd400;
  box-shadow:0 0 0 4px rgba(255,212,0,.16);
}

.ct25-master-hero .ct25-master-benefits-list li > span:not(.ct25-master-benefit-dot){
  min-width:0;
}

.ct25-master-hero .ct25-master-benefits-list li strong{
  display:inline;
}

/* RESPONSIVE */
@media (max-width:860px){
  .ct25-master-hero .ct25-master-hero-grid{
    grid-template-columns:1fr;
  }

  .ct25-master-hero .ct25-master-hero-title{
    font-size:34px;
  }
}

@media (max-width:520px){
  .ct25-master-hero{
    padding:14px 0;
  }

  .ct25-master-hero .ct25-master-hero-left{
    gap:9px;
    padding:13px 12px;
    border-radius:16px;
  }

  .ct25-master-hero .ct25-master-hero-badges{
    width:100%;
    max-width:100%;
    justify-content:center;
    gap:6px;
  }

  .ct25-master-hero .ct25-master-badge{
    max-width:100%;
    white-space:normal;
    text-align:center;
    line-height:1.15;
    font-size:11.5px;
    padding:6px 9px;
  }

  .ct25-master-hero .ct25-master-badge-yellow{
    max-width:100%;
    overflow-wrap:anywhere;
  }

  .ct25-master-hero .ct25-master-hero-imgwrap{
    margin-top:0;
  }

  .ct25-master-hero .ct25-master-hero-img{
    width:92px;
    height:92px;
    border-radius:14px;
  }

  .ct25-master-hero .ct25-master-hero-title{
    font-size:27px;
    line-height:1.05;
  }

  .ct25-master-hero .ct25-master-hero-subtitle{
    font-size:14.5px;
    line-height:1.38;
  }

  .ct25-master-hero .ct25-master-hero-list{
    gap:7px;
  }

  .ct25-master-hero .ct25-master-hero-list li{
    padding:9px 10px;
    font-size:14px;
    line-height:1.28;
    border-radius:12px;
  }

  .ct25-master-hero .ct25-master-hero-list li:nth-child(3){
    display:none;
  }

  .ct25-master-hero .ct25-master-hero-actions{
    margin-top:2px;
    gap:8px;
  }

  .ct25-master-hero .ct25-master-btn{
    width:100%;
    min-width:0;
    min-height:43px;
    padding:11px 14px;
    font-size:14.5px;
    border-radius:13px;
  }

  .ct25-master-hero .ct25-master-hero-note{
    display:block;
    max-width:290px;
    margin:8px auto 0;
    padding:8px 10px;
    font-size:13px;
    line-height:1.35;
    text-align:center;
  }

  .ct25-master-hero .ct25-master-dot,
  .ct25-master-hero .ct25-master-card-row,
  .ct25-master-hero .ct25-master-point:nth-child(3){
    display:none;
  }

  .ct25-master-hero .ct25-master-card-top{
    flex-direction:column;
    align-items:center;
    text-align:center;
  }

  .ct25-master-hero .ct25-master-pricebox,
  .ct25-master-hero .ct25-master-card-name,
  .ct25-master-hero .ct25-master-card-title,
  .ct25-master-hero .ct25-master-card-kicker,
  .ct25-master-hero .ct25-master-card-body,
  .ct25-master-hero .ct25-master-card-cta{
    text-align:center;
    justify-content:center;
    justify-items:center;
    align-items:center;
  }

  .ct25-master-hero .ct25-master-card-points{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:10px;
    width:100%;
    max-width:230px;
    margin:0 auto 12px;
    text-align:center;
    justify-content:center;
    justify-items:center;
    align-items:center;
  }

  .ct25-master-hero .ct25-master-point{
    width:100%;
    min-width:0;
    padding:10px 8px;
  }

  .ct25-master-hero .ct25-master-point-label{
    font-size:13px;
  }

  .ct25-master-hero .ct25-master-point-value{
    font-size:17px;
    white-space:nowrap;
  }

  .ct25-master-hero .ct25-master-acf-row{
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:4px;
    text-align:center;
  }

  .ct25-master-hero .ct25-master-acf-k,
  .ct25-master-hero .ct25-master-acf-v{
    width:100%;
    text-align:center;
    white-space:normal;
  }

  .ct25-master-hero .ct25-master-benefits{
    padding:13px 14px 12px;
  }

  .ct25-master-hero .ct25-master-benefits-list{
    gap:9px;
  }
}

@media(max-width:390px){
  .ct25-master-hero .ct25-master-hero-title{
    font-size:26px;
  }

  .ct25-master-hero .ct25-master-hero-subtitle{
    font-size:14px;
  }

  .ct25-master-hero .ct25-master-badge{
    font-size:11px;
    padding:6px 8px;
  }

  .ct25-master-hero .ct25-master-hero-list li{
    font-size:13.5px;
  }

  .ct25-master-hero .ct25-master-btn{
    font-size:14px;
  }
}


