/* ========================================================================== 
   BNI PERUGIA — BASE CSS PULITO v2
   Derivato da home-bni-italia3.css + recupero selettivo CSS dismessi
   Obiettivo: personalizzazioni locali senza ridefinire Bootstrap/BNI Connect.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. TOKENS / COLORI
   -------------------------------------------------------------------------- */
.page {
  --bni-red: #cf2030;
  --bni-text: #292727;
  --bni-text-soft: #64666a;
  --bni-surface: #f1f1f1;
  --bni-white: #ffffff;
}

/* --------------------------------------------------------------------------
   2. TIPOGRAFIA BNI — SOLO NELL'AREA PAGINA
   Nessuna regola globale su body, p, a, img, *, .row o .container.
   -------------------------------------------------------------------------- */
.page h2,
.page h4 {
  font-family: Arial, sans-serif;
}

.page h2 {
  font-size: 32px;
  line-height: 42px;
}

.page h4 {
  font-size: 24px;
  line-height: 28px;
}

.page p {
  font-size: 16px;
  line-height: 25px;
}

.page a {
  color: var(--bni-red);
  font-weight: 500;
  transition: color .3s ease, background-color .3s ease, border-color .3s ease;
}

/* --------------------------------------------------------------------------
   3. HOLDER BNI
   Manteniamo il contenimento, senza modificare .container o .row di Bootstrap.
   -------------------------------------------------------------------------- */
.page .holder {
  display: block;
  max-width: 1450px;
  margin: 0 auto;
  padding: 0 75px;
  overflow: hidden;
}

@media (max-width: 1199px) {
  .page .holder { padding-inline: 35px; }
}

@media (max-width: 991px) {
  .page .holder { padding-inline: 15px; }
}

/* --------------------------------------------------------------------------
   4. WIDGET TEXT COLUMNS
   -------------------------------------------------------------------------- */
.page .widgetTextColumns {
  clear: both;
  display: block;
  margin: 0;
  padding: 10px 0 0;
  overflow: hidden;
  background-color: var(--bni-white);
}

.page .widgetTextColumns h2,
.page .widgetTextColumns h4 {
  position: relative;
  display: block;
  margin: 0 0 20px;
  padding: 20px 0 10px;
  font-weight: 700;
  color: var(--bni-text);
  break-inside: avoid;
}

.page .widgetTextColumns h2::after,
.page .widgetTextColumns h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100px;
  height: 5px;
  background: var(--bni-red);
}

.page .widgetTextColumns p {
  display: block;
  margin: 0;
  padding: 8px 0;
  font-size: 16px;
  line-height: 25px;
  font-weight: 400;
  color: #444;
  break-inside: avoid;
}

.page .widgetTextColumns p:first-child {
  padding-top: 20px;
}

.page .widgetTextColumns p a {
  display: inline-block;
  font-size: inherit;
  font-weight: 500;
  color: var(--bni-red);
  text-decoration: underline;
}

.page .widgetTextColumns p a:hover {
  text-decoration: none;
}

/* Immagini inserite dal WYSIWYG: non tocchiamo le immagini globali */
.page .wysiwyg img {
  vertical-align: unset;
  max-width: 100%;
  height: auto;
}

/* --------------------------------------------------------------------------
   5. TITOLI DI SEZIONE
   -------------------------------------------------------------------------- */
.page .section-heading h2 {
  position: relative;
  margin-bottom: 25px;
  padding-top: 0;
  color: var(--bni-red);
  font-size: 36px;
  line-height: 44px;
}

.page .section-heading h2::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 77px;
  height: 5px;
  background: var(--bni-red);
}

.page .section-text p {
  margin-bottom: 10px;
  line-height: 27px;
}

.page .lineleft {
  width: 85px;
  height: 4px;
  margin: 0 0 15px;
  background: var(--bni-red);
}

.page .section-separator {
  height: 70px;
}

/* --------------------------------------------------------------------------
   6. ABOUT / GROW NETWORK
   -------------------------------------------------------------------------- */
.page #about .container {
  padding-inline: 0;
}

.page .about-us {
  padding-top: 5%;
  padding-bottom: 1%;
}

.page .about-us .left-image {
  position: relative;
  z-index: 1;
  width: 460px;
  max-width: 100%;
}

.page.home-page .grow-network-text,
.page .home-page .grow-network-text {
  position: relative;
  z-index: 0;
  margin: 83px 0 0 -50px;
  padding: 50px 50px 40px 80px;
  background: var(--bni-surface);
}

/* --------------------------------------------------------------------------
   7. STATISTICHE
   -------------------------------------------------------------------------- */
.page.home-page .stat-sec,
.page .home-page .stat-sec {
  padding-top: 60px;
  background-image: url(https://bni-italia.com/img/site/64830f95b932ee0014782720.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 60%;
}

.page.home-page .stat-sec-text,
.page .home-page .stat-sec-text {
  padding-right: 23px;
}

.page.home-page .stat-sec-text h2,
.page .home-page .stat-sec-text h2 {
  margin-bottom: 10px;
}

.page.home-page .stat-sec-text h4,
.page .home-page .stat-sec-text h4 {
  padding-top: 10px;
  padding-bottom: 0;
  color: var(--bni-red);
  font-size: 24px;
}

.page.home-page .stat-sec-text h4::after,
.page .home-page .stat-sec-text h4::after,
.page .stat-numbers h4::after {
  display: none;
}

.page.home-page .stat-numbers-top,
.page .home-page .stat-numbers-top {
  margin-bottom: 20px;
}

.page.home-page .stat-num,
.page .home-page .stat-num {
  width: 230px;
  height: 230px;
  padding: 55px 30px;
  border-radius: 33px;
  background: var(--bni-white);
  box-shadow: 0 7px 27px rgb(0 0 0 / 10%);
  text-align: center;
}

.page.home-page .stat-num h2,
.page .home-page .stat-num h2 {
  margin-bottom: 0;
  padding-bottom: 5px;
  color: var(--bni-red);
  font-size: 41px;
}

.page.home-page .stat-num h2::after,
.page .home-page .stat-num h2::after {
  display: none;
}

.page.home-page .stat-num p,
.page .home-page .stat-num p {
  font-size: 19px;
}

.page .stat-sec .stat-numbers h4 {
  color: var(--bni-red);
  font-size: 25px;
  text-align: center;
}

/* --------------------------------------------------------------------------
   8. GET INVITED / CTA
   -------------------------------------------------------------------------- */
.page #get-invited {
  padding-top: 3%;
  padding-bottom: 3%;
  background: var(--bni-red);
}

.page #get-invited .get-invited-title {
  color: var(--bni-white);
  font-size: 34px;
  font-weight: 600;
}

.page #get-invited .get-invited-sub-title {
  margin-top: 5px;
  color: var(--bni-white);
  font-size: 18px;
}

.page #get-invited .cc-theme-classic .cc-btn,
.page .big-text-btn .cc-theme-classic .cc-btn {
  display: inline-block;
  width: 250px;
  min-height: 50px;
  padding: 11px 24px;
  border-radius: 30px;
  background: var(--bni-white);
  color: var(--bni-red);
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

.page .big-text-btn .cc-theme-classic .cc-btn {
  margin-top: 8%;
}

/* --------------------------------------------------------------------------
   9. BENEFIT / SUCCEED
   -------------------------------------------------------------------------- */
.page .benefit-sec .bg-img-title {
  margin-bottom: 0;
  font-size: 21px;
  font-weight: 700;
}

.page .benefit-sec h4.bg-img-title::after,
.page .succeed-sec .section-heading h2::after,
.page h4.succeed-section-subtitle::after,
.page h4.succeed-inner-title::after {
  display: none;
}

.page .benefit-sec .section-heading h2 {
  margin-bottom: 35px;
  text-align: center;
}

.page .benefit-sec .section-heading h2::after {
  left: 45%;
}

.page .succeed-sec .section-heading h2 {
  margin-top: 40px;
  margin-bottom: 0;
}

.page .succeed-sec .section-heading h4 {
  padding-top: 10px;
  color: var(--bni-text-soft);
  font-size: 21px;
  line-height: 26px;
  font-weight: 300;
}

.page .succeed-section-img img {
  width: 100%;
  height: auto;
}

.page h4.succeed-inner-title {
  margin-top: 20px;
  margin-bottom: 0;
  padding-bottom: 0;
  color: var(--bni-red);
  font-size: 21px;
  font-weight: 700;
}

.page h4.succeed-section-subtitle {
  color: var(--bni-red);
  font-weight: 400;
}

/* --------------------------------------------------------------------------
   10. SEZIONI IMMAGINI SOVRAPPOSTE
   -------------------------------------------------------------------------- */
.page .right-img-section img {
  width: 428px;
  max-width: 100%;
  height: auto;
  padding-top: 8%;
}

.page .left-img-section {
  z-index: 1;
}

.page .left-img-section img {
  position: absolute;
  z-index: 1;
  width: 100%;
  height: auto;
  padding-top: 7%;
}

.page .memeber-overlapping {
  position: relative;
  z-index: 0;
  margin-right: -80px;
  padding: 90px 100px 95px;
  border-left: 4px solid var(--bni-red);
  background: var(--bni-surface);
}

.page .opportunity-overlapping {
  position: relative;
  z-index: 0;
  margin-left: -50px;
  padding: 120px 100px 141px;
  border-right: 4px solid var(--bni-red);
  background: var(--bni-surface);
}

.page .achiever-chapter {
  padding-bottom: 10px;
  color: #000;
  font-size: 18px;
  font-weight: 600;
}

.page .main-red-button-hover {
  margin-top: 25px;
}

.page .main-red-button-hover a {
  display: inline-block;
  padding: 3% 7%;
  border: 2px solid var(--bni-red);
  border-radius: 40px;
  background: var(--bni-red);
  color: var(--bni-white);
  font-size: 20px;
  font-weight: 600;
  text-decoration: none;
}

.page .main-red-button-hover a:hover {
  background: var(--bni-white);
  color: var(--bni-red);
}

.page .last-section-one {
  padding-top: 5%;
}

.page .last-section-two {
  padding-top: 5%;
  padding-bottom: 5%;
}

/* --------------------------------------------------------------------------
   11. VISIBILITA' RESPONSIVE
   -------------------------------------------------------------------------- */
.page .desktop-view { display: block; }
.page .mobile-view { display: none; }

.page .clear { clear: both; }

/* --------------------------------------------------------------------------
   12. RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 1199px) {
  .page .widgetTextColumns h2 {
    font-size: 25px;
    line-height: 34px;
  }

  .page .widgetTextColumns h4 {
    font-size: 18px;
    line-height: 24px;
  }

  .page .widgetTextColumns p {
    font-size: 16px;
    line-height: 22px;
  }
}

@media (max-width: 991px) {
  .page .widgetTextColumns {
    padding-top: 40px;
  }

  .page .widgetTextColumns h2 {
    font-size: 22px;
    line-height: 26px;
  }

  .page .widgetTextColumns h2::after,
  .page .widgetTextColumns h4::after {
    width: 70px;
  }

  .page .widgetTextColumns p {
    padding-bottom: 10px;
  }
}

@media (max-width: 900px) {
  .page .mobile-view { display: block; }
  .page .desktop-view { display: none; }

  .page .opportunity-overlapping,
  .page .memeber-overlapping {
    margin-inline: 0;
    padding: 20px;
    border-right: 0;
    border-left: 0;
  }

  .page .about-us .left-image {
    padding-bottom: 20px;
  }

  .page .last-section-one .india-help img {
    width: 100%;
    height: auto;
    margin-bottom: 30px;
  }
}

@media (max-width: 767px) {
  .page .widgetTextColumns {
    padding-top: 30px;
  }

  .page .widgetTextColumns h2 {
    font-size: 25px;
    line-height: 35px;
  }

  .page .widgetTextColumns h4 {
    font-size: 18px;
    line-height: 24px;
  }

  .page .widgetTextColumns p {
    font-size: 14px;
    line-height: 20px;
  }

  .page .section-separator {
    height: 30px;
  }

  .page .section-heading h2 {
    font-size: 30px;
    line-height: 40px;
  }

  .page .about-us {
    padding-top: 12%;
    padding-bottom: 10%;
  }

  .page .about-us .left-image {
    width: 100%;
  }

  .page.home-page .grow-network-text,
  .page .home-page .grow-network-text,
  .page .grow-network-text {
    margin: 0;
    padding: 20px 10px;
    background: var(--bni-white);
  }

  .page.home-page .stat-sec,
  .page .home-page .stat-sec {
    padding-top: 0;
  }

  .page.home-page .stat-num,
  .page .home-page .stat-num {
    width: 100%;
    height: auto;
    padding: 20px;
  }

  .page.home-page .stat-num h2,
  .page .home-page .stat-num h2 {
    font-size: 30px;
  }

  .page.home-page .stat-num.stat-num-right,
  .page .home-page .stat-num.stat-num-right {
    margin-top: 50px;
  }

  .page #get-invited {
    padding-top: 6%;
    padding-bottom: 6%;
  }

  .page #get-invited .get-invited-title {
    font-size: 25px;
    line-height: 32px;
    text-align: center;
  }

  .page #get-invited .get-invited-sub-title {
    text-align: center;
  }

  .page .left-img-section img {
    position: relative;
    width: 100%;
    margin-bottom: 20px;
  }

  .page .opportunity-overlapping,
  .page .memeber-overlapping {
    margin-inline: 0;
    padding: 20px 20px 30px;
    border: 0;
    border-top: 4px solid var(--bni-red);
    text-align: center;
  }

  .page .memeber-overlapping,
  .page .opportunity-overlapping {
    border-top: 0;
  }
}


/* --------------------------------------------------------------------------
   5B. H1 COMUNE BNI — recuperato in forma sicura dai CSS dismessi
   -------------------------------------------------------------------------- */
.page h1 {
  font-family: Arial, sans-serif;
  font-size: 32px;
  line-height: 1.35;
}

.page .widgetTextColumns h1 {
  position: relative;
  display: block;
  margin: 0 0 20px;
  padding: 5px 0 20px;
  font-weight: 700;
  color: #000;
  break-inside: avoid;
}

.page .widgetTextColumns h1::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100px;
  height: 5px;
  background: var(--bni-red);
}

/* --------------------------------------------------------------------------
   5C. COMPONENTE NUMERATO 1-2-3
   Recupera soltanto le regole specifiche utili di 1-2-3-uae25.css.
   Nessuna ridefinizione globale di p, img, div o colonne Bootstrap.
   -------------------------------------------------------------------------- */
.page p.num {
  margin: 0;
  font-size: 50px;
  line-height: 65px;
  font-weight: 700;
  color: var(--bni-red);
}

.page .num img {
  position: relative;
  top: -15px;
}

@media (max-width: 1199px) {
  .page .widgetTextColumns h1 {
    font-size: 40px;
    line-height: 46px;
  }
}

@media (max-width: 991px) {
  .page .widgetTextColumns h1 {
    font-size: 30px;
    line-height: 36px;
    padding: 20px 0 10px;
  }

  .page .widgetTextColumns h1::after {
    width: 70px;
  }
}

@media (max-width: 767px) {
  .page .widgetTextColumns h1 {
    font-size: 26px;
    line-height: 34px;
  }
}

@media (min-width: 768px) and (max-width: 900px) {
  .page .stat-numbers .col-12.col-md-6.col-lg-6 {
    width: 50%;
  }

  .page #get-invited .col-12 {
    width: 100%;
    text-align: center;
  }

  .page .last-section-two .left-img-section img {
    position: relative;
    width: 100%;
    margin-bottom: 30px;
  }
}

@media (min-width: 901px) and (max-width: 1200px) {
  .page.home-page .stat-num,
  .page .home-page .stat-num {
    width: 200px;
  }

  .page .memeber-overlapping {
    padding: 70px 100px 75px 70px;
  }

  .page .opportunity-overlapping {
    padding: 120px 70px 125px 100px;
  }

  .page .about-us .left-image {
    width: auto;
  }
}
