/*
Theme Name: Betheme Child
Theme URI: https://themes.muffingroup.com/betheme
Author: Muffin group
Author URI: https://muffingroup.com
Description: Child Theme for Betheme
Template: betheme
Version: 2.0.2
*/

/*---->Generale<-----*/
:root {
  /* VARIABILI TUO TEMA ESISTENTI */
  --azzurro: #009bda;
  --primario: #2E3379; /* Blu scuro principale del tema */
  --bianco: #ffffff;
  --primary-color: #2E3379;
  --accent-blue-light: #00c7e0; /* Ciano per accenti */
  --card-bg: #f9f9f9;
  --card-shadow: rgba(0, 0, 0, 0.08);
/*speciali*/
--por-blue: #007bff;
--por-cyan: #00c7e0;
--por-wa: #25D366;
--por-dark: #041E42;
  /* VARIABILI AGGIUNTE E ARMONIZZATE PER IL NUOVO DESIGN */
  --btn-gradient-start: #007bff; /* Blu intenso per CTA */
  --btn-gradient-end: #00c7e0;
  --btn-shadow: rgba(0, 123, 255, 0.3);

  /* Variabili di base riarmonizzate con la palette del sito */
  --main-color: var(--primario); /* colore aziendale */
  --accent-blue: var(--btn-gradient-start);
  --accent-light: var(--accent-blue-light);
  --shadow-light: rgba(0, 0, 0, 0.1);
  --shadow-medium: rgba(0, 0, 0, 0.25);
  --bg-light: #f4f7fa; /* Sfondo chiaro per le sezioni */
  --text-dark: #333;
}

.menuo-sub-active #Top_bar .menu > li ul li.current-menu-item > a,
.menuo-sub-active #Top_bar .menu > li ul li.current-menu-ancestor > a {
  background: rgba(0, 0, 0, .00);
}

.info-corsi-row {
  background: linear-gradient(90deg, var(--btn-gradient-start) 0%, var(--btn-gradient-end) 100%);
}

h2.bnr-inf-crs {
  color: var(--bianco);
}

.bnr-inf-crs-stx {
  color: var(--bianco);
}
/*global per gli articoli ---->Da sistemare bene<----*/
.blog-article {
    font-family: 'Montserrat', Arial, sans-serif;
    color: #2E1424;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto 40px auto;
    padding: 25px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  }

  .blog-article h2 {
    color: #3B1C2E;
    font-size: 24px;
    margin-bottom: 15px;
    border-bottom: 2px solid #E8E3DF;
    padding-bottom: 10px;
  }

  .blog-article h4 {
    color: #2E1424;
    font-size: 18px;
    margin-top: 25px;
    margin-bottom: 10px;
  }

  .blog-article ul {
    margin-bottom: 20px;
    padding-left: 20px;
  }

  .blog-article li {
    margin-bottom: 8px;
  }

  .cta-box {
    background-color: #FAF8F5;
    border-left: 5px solid #2E1424;
    padding: 20px;
    margin-top: 30px;
    border-radius: 0 8px 8px 0;
  }

  .cta-button {
    display: inline-block;
    background-color: #25D366;
    color: #ffffff !important;
    font-weight: bold;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 30px;
    margin-top: 15px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.16);
    transition: background-color 0.3s ease;
  }

  .cta-button:hover {
    background-color: #1EBE5D;
  }
/*---------------------------------------------------------------------------------------------------*/
/*---->MENU<-----*/
.btn-primary-area{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(90deg, var(--btn-gradient-start) 0%, var(--btn-gradient-end) 100%);
    color: white;
    padding: 1px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
    box-shadow: 0 8px 20px var(--btn-shadow);
    transition: all 0.3s
ease;
    margin-top: 0px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}
/*---->Particolari: Atenei e Griglie<-----*/

.atenei-section {
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 20px;
  text-align: center;
}

.atenei-section-title {
  font-size: 32px;
  color: var(--primary-color);
  margin-bottom: 50px;
  font-weight: 700;
}

.atenei-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.ateneo-card {
  flex: 1 1 280px;
  max-width: 350px;
  background-color: #ffffff;
  border-radius: 15px;
  box-shadow: 0 8px 25px var(--card-shadow);
  padding: 30px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ateneo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.ateneo-logo {
  max-height: 80px;
  width: auto;
  margin-bottom: 25px;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.1));
}

.ateneo-cta {
  display: flex;
  align-items: center;
  font-size: 17px;
  font-weight: 600;
  color: var(--accent-light);
  margin-top: auto;
}

.ateneo-cta .arrow-icon {
  margin-left: 8px;
  font-size: 18px;
  transition: transform 0.3s ease;
}

.ateneo-card:hover .arrow-icon {
  transform: translateX(5px);
}

/* GRIGLIA DI CARD (Specializzazioni) */
.specializzazioni-grid {
  background-color: var(--bg-light);
  padding: 60px 20px;
  text-align: center;
  margin-top: 0;
}

.grid-title {
  color: var(--accent-light);
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 15px;
}

.grid-intro {
  font-size: 18px;
  color: #666;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.grid-aree {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
}

.area-card {
  flex: 1 1 200px;
  max-width: 250px;
  background-color: white;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 15px var(--shadow-light);
  display: flex;
  align-items: center;
  font-weight: 600;
  font-size: 16px;
  color: var(--main-color);
  transition: transform 0.2s ease;
}

.area-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px var(--shadow-medium);
}

.area-icon {
  font-size: 24px;
  margin-right: 15px;
}

.grid-footer {
  font-size: 15px;
  color: #777;
  margin-top: 20px;
}
/* Stile per il box di convalida CFU (il blocco blu) */
.cfu-validation-box {
    background: linear-gradient(135deg, var(--azzurro) 0%, #00c7e0 100%); /* Sfumatura blu/ciano */
    padding: 40px;
    border-radius: 15px; /* Angoli arrotondati */
    color: white; /* Rende il testo interno bianco */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: 100%; /* Importante per allungarsi con l'altra colonna */
}

.cfu-validation-box h2,
.cfu-validation-box p {
    color: white; /* Assicura che testo e intestazioni siano bianchi */
}

/* Stile per il pulsante RICHEDI VALUTAZIONE CFU */
.cfu-validation-box .wpb_button {
    background-color: white !important; /* Bottone bianco */
    color: var(--primario) !important; /* Testo del bottone blu */
    border: none !important;
    font-weight: bold;
    padding: 15px 30px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

/* Rende la riga responsive */
.page-hero-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start; /* Allinea in alto */
}
.btn-cfu-intermediate {
    display: inline-block;
    background-color: white; /* Bottone bianco su sfondo colorato */
    color: var(--accent-blue);
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 17px;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.btn-cfu-intermediate:hover {
    background-color: #eee;
    transform: translateY(-2px);
}
.section-card {
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 0 8px 25px var(--shadow-light);
    padding: 40px;
    text-align: left;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.section-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px var(--shadow-medium);
}
/*---------------------------------------------------------------------------------------------------*/

/*---->Elementi Home e Generici<----*/

#fascia-uno {
  margin-top: 50px;
}

.secondo-intro {
  margin-top: 40px;
  border-bottom: 1px solid #009bda;
}

.contact-title,
.cntc-txt {
  color: var(--bianco);
}

.cf-box {
  background-color: var(--azzurro);
  border-radius: 11px;
}

.cf-text {
  padding: 20px;
}

.cf-text > h3,
.cf-text > p {
  color: var(--bianco);
}

.fld {
  margin-bottom: 5px;
}

.btn-invia,
.btn-invia-info {
  background-color: #8BC34A !important;
}

a.info {
  color: var(--primario);
}

a.info:hover {
  color: var(--bianco);
}

.txt-inf-crs > p {
  color: var(--bianco);
}

.vetro-lilla {
  /* 1. Sfondo Semitrasparente:
     Colore #e6e6fa con opacità del 50% (0.5) */
  background-color: rgba(230, 230, 250, 0.5);

  /* 2. Filtro di Sfuocatura:
     Sfoca lo sfondo dietro l'elemento */
  backdrop-filter: blur(10px);
  /* Aggiungi il prefisso per maggiore compatibilità con alcuni browser (meno necessario oggi) */
  -webkit-backdrop-filter: blur(10px);

  /* 3. Bordo Leggero e Trasparente (Opzionale) */
  border: 1px solid rgba(255, 255, 255, 0.3);

  /* 4. Altre proprietà comuni (Opzionali) */
  border-radius: 16px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1); /* Ombra leggera */
}

/*---------------------------------------------------------------------------------------------------*/

/*----------->PAGINA LAUREE GENERALE<---------*/
/* ---- HERO SECTION PRINCIPALE (HEADER DELLA PAGINA) ---- */
.hero-section-full-width {
    background: linear-gradient(135deg, var(--primario) 0%, var(--azzurro) 100%);
    padding: 100px 20px 80px 20px;
    text-align: center;
    color: var(--bianco);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

/* Limita la larghezza del contenuto interno */
.hero-section-full-width .container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Stile per il titolo principale */
.hero-section-full-width .main-hero-title {
    color: var(--bianco);
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 30px;
    line-height: 1.2;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
}

/* Stile per la descrizione */
.hero-section-full-width .hero-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 19px;
    max-width: 900px;
    margin: 0 auto 60px auto;
    line-height: 1.7;
}

/* ---- LOGHI PARTNER ---- */
.partner-logo-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    padding-top: 50px;
    margin-top: 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.partner-logo-container.secondary-logos {
    padding-top: 30px;
    margin-top: 30px;
    border-top: none;
    gap: 30px;
}

.partner-logo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 0 1 280px;
}

.partner-logo-item img {
    max-height: 70px;
    width: auto;
    /*filter: brightness(0) invert(1) drop-shadow(0 0 8px rgba(255,255,255,0.4));*/
    opacity: 0.9;
    transition: all 0.3s ease;
    margin-bottom: 15px;
}

.partner-logo-container.secondary-logos .partner-logo-item img {
    max-height: 50px;
    /*filter: brightness(0) invert(1) drop-shadow(0 0 5px rgba(255,255,255,0.3));*/
}

.partner-logo-item img:hover {
    opacity: 1;
    transform: scale(1.05);
    /*filter: brightness(0) invert(1) drop-shadow(0 0 12px rgba(255,255,255,0.6));*/
}

.partner-logo-item .logo-description {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
    margin-top: 0;
    line-height: 1.4;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 992px) {
    .hero-section-full-width {
        padding: 80px 15px 60px 15px;
    }
    .hero-section-full-width .main-hero-title {
        font-size: 38px;
    }
    .hero-section-full-width .hero-description {
        font-size: 17px;
        margin-bottom: 40px;
    }
    .partner-logo-container {
        gap: 25px;
        padding-top: 30px;
        margin-top: 30px;
    }
    .partner-logo-item {
        flex: 0 1 45%;
    }
    .partner-logo-item img {
        max-height: 60px;
    }
    .partner-logo-container.secondary-logos .partner-logo-item img {
        max-height: 45px;
    }
}

/*---------------------------------------------------------------------------------------------------*/


/*----------->PAGINA MAGISTRALI E CORSI<---------*/

.magistrali-hero {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
  text-align: center;
  font-family: Arial, sans-serif;
}

.hero-title {
  color: var(--primary-color);
  font-size: 38px;
  margin-bottom: 25px;
  font-weight: bold;
}

.hero-intro,
.hero-subintro {
  font-size: 18px;
  color: #555;
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.magistrali-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 50px;
}

.feature-card {
  flex: 1 1 45%;
  min-width: 300px;
  background-color: #ffffff;
  border-radius: 15px;
  box-shadow: 0 10px 30px var(--card-shadow);
  padding: 40px;
  text-align: left;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.feature-title {
  font-size: 28px;
  color: var(--primary-color);
  margin-bottom: 25px;
  font-weight: 700;
  text-align: center;
}

.feature-card p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-dark);
  margin-bottom: 15px;
}

.feature-card ul {
  list-style: none;
  padding: 0;
  margin: 20px 0 30px 0;
}

.feature-card ul li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 12px;
  font-size: 16px;
  color: var(--text-dark);
  line-height: 1.5;
}

.feature-card .icon-dot {
  font-size: 14px;
  color: var(--accent-light);
  margin-right: 10px;
  line-height: 1;
}

.feature-card .icon-check {
  font-size: 16px;
  color: #28a745;
  margin-right: 10px;
  line-height: 1;
}

.feature-footer {
  font-size: 16px;
  color: #666;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid #eee;
  text-align: center;
}

.btn-primary-magistrali {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(90deg, var(--btn-gradient-start) 0%, var(--btn-gradient-end) 100%);
  color: white;
  padding: 18px 35px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 18px;
  font-weight: 700;
  box-shadow: 0 8px 20px var(--btn-shadow);
  transition: all 0.3s ease;
  margin-top: 30px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.btn-primary-magistrali:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(0, 123, 255, 0.4);
}

.btn-primary-magistrali .arrow-icon {
  margin-left: 10px;
  font-size: 20px;
  transition: transform 0.3s ease;
}

.btn-primary-magistrali:hover .arrow-icon {
  transform: translateX(5px);
}

/*---------------------------------------------------------------------------------------------------*/

/* ===> BOX INFO CORSO MODERNO <=== */

.course-info-box-modern {
  min-width: 280px;
  max-width: 350px;
  background-color: #ffffff;
  border-radius: 15px;
  box-shadow: 0 10px 30px var(--shadow-light);
  padding: 30px;
  text-align: left;
  font-family: Arial, sans-serif;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.info-box-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--primario);
  margin-bottom: 25px;
  text-align: center;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
}

.info-list {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
}

.info-list li {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  font-size: 17px;
  color: var(--text-dark);
}

.info-list li:last-child {
  margin-bottom: 0;
}

.info-list .info-icon {
  font-size: 20px;
  color: var(--accent-blue);
  margin-right: 15px;
  width: 25px;
  text-align: center;
}

.info-list .status-iscrizioni.status-aperte .info-icon {
  color: #28a745;
}

.info-list .status-iscrizioni.status-chiuse .info-icon {
  color: #dc3545;
}

.btn-info-request {
  display: block;
  width: 100%;
  text-align: center;
  background: linear-gradient(90deg, var(--btn-gradient-start) 0%, var(--btn-gradient-end) 100%);
  color: white;
  padding: 15px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 18px;
  font-weight: 700;
  box-shadow: 0 6px 15px var(--btn-shadow);
  transition: all 0.3s ease;
  margin-top: auto;
}

.btn-info-request:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 123, 255, 0.4);
}

/*---------------------------------------------------------------------------------------------------*/


/*---->Pagina dei contatti<------*/
/* Stile Generale per la Sezione Contatti */
#contact-details {
    max-width: 1200px;
    margin: 40px auto; /* Spazio sopra e sotto */
    padding: 0 20px;
    font-family: Arial, sans-serif;
}

/* Griglia per i Contatti Diretti (Desktop) */
.contact-grid {
    display: flex;
    flex-wrap: wrap; /*  a capo su schermi più piccoli */
    gap: 30px; /* Spazio tra i blocchi */
    margin-top: 30px;
}

/* Stile per ogni singolo blocco di contatto */
.contact-item {
    flex: 1 1 300px; /* Cresce e occupa 300px minimo, poi si adatta (speriamo) */
    background-color: #f8f8f8;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.contact-item h3 {
    color: ;
    font-size: 1.3em;
    margin-bottom: 15px;
    border-bottom: 2px solid #007bff;
    padding-bottom: 5px;
}

.contact-item p {
    margin-bottom: 10px;
}

.contact-item a {
    color: var(--primario);
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}


/* Stile per Note e Disclaimer */
.contact-item small {
    display: block;
    margin-top: 10px;
    color: #6c757d;
    font-size: 0.85em;
}

/*---->Footer<-------*/

.prefooter {
  background-color: #e0e0e0;
  padding: 20px 0;
}

.prefooter .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.prefooter img {
  max-height: 90px;
  width: auto;
}

.title-ft {
  font-size: 25px;
  font-weight: bold;
  color: var(--azzurro);
}

.social-ftimg {
  width: 16%;
}

.insta {
  margin-left: 10px;
}
/*---------------------------------------------------------------------------------------------------*/
/*------------------>PAGINA ARTICOLO--------------*/

/*banner contatti pre footer*/
.por-cta-wrapper {
    margin: 40px 0;
    padding: 30px;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.05) 0%, rgba(0, 199, 224, 0.05) 100%);
    border-left: 5px solid var(--por-blue);
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.por-cta-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.por-cta-text {
    flex: 2 1 350px;
}

.por-cta-text h3 {
    margin: 0 0 10px 0;
    color: var(--por-dark);
    font-size: 24px;
    font-weight: 800;
}

.por-cta-text p {
    margin: 0;
    color: #555;
    font-size: 16px;
    line-height: 1.5;
}

.por-cta-action {
    flex: 1 1 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px; /* Aumentato leggermente per i due bottoni */
}

/* Stile Base Bottoni */
.por-btn-call, .por-btn-wa {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 15px 25px;
    color: #fff !important;
    text-decoration: none !important;
    font-weight: 900;
    font-size: 16px;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Gradienti Specifici */
.por-btn-call {
    background: linear-gradient(90deg, var(--por-blue) 0%, var(--por-cyan) 100%);
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.25);
}

.por-btn-wa {
    background: linear-gradient(90deg, #25D366 0%, #128C7E 100%);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.25);
}

/* Hover Effects */
.por-btn-call:hover, .por-btn-wa:hover {
    transform: scale(1.03);
    filter: brightness(1.1);
}

.por-cta-action small {
    font-size: 11px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
}


/*---------------------------------------------------------------------------------------------------*/

/*------------------>SPECIALI: WhatsApp e Sticky<--------------*/

.whatsapp-button {
  position: fixed;
  bottom: 80px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
  z-index: 9999;
  text-decoration: none;
}

.whatsapp-button:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-button:active {
  transform: scale(1.05);
}

.whatsapp-button svg {
  width: 32px;
  height: 32px;
  fill: white;
}

.notification-badge {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 18px;
  height: 18px;
  background-color: #ff3b30;
  border-radius: 50%;
  border: 2px solid white;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.8;
  }
}

.whatsapp-tooltip {
  position: absolute;
  right: 75px;
  top: 50%;
  transform: translateY(-50%);
  background-color: #1f2937;
  color: white;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 14px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  pointer-events: none;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  right: -8px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 8px 0 8px 8px;
  border-color: transparent transparent transparent #1f2937;
}

.whatsapp-button:hover .whatsapp-tooltip {
  opacity: 1;
  visibility: visible;
  right: 80px;
}

.floating-sticky-box {
  position: static;
  transition: top 0.2s ease;
}

@media (min-width: 1025px) {
  .floating-sticky-box.sticky-active {
    position: fixed;
    top: 120px;
    width: 350px;
    z-index: 90;
  }

  .floating-sticky-box.sticky-stop {
    position: absolute;
  }
}

/*---------------------------------------------------------------------------------------------------*/

/*------->RESPONSIVE<-------*/

@media (max-width: 992px) {
  .hero-title {
    font-size: 32px;
  }
  .magistrali-features {
    flex-direction: column;
    align-items: center;
  }
  .feature-card {
    width: 90%;
    max-width: 600px;
  }
}

@media (max-width: 768px) {
  .whatsapp-button {
    bottom: 20px;
    right: 20px;
    width: 55px;
    height: 55px;
  }

  .whatsapp-button svg {
    width: 28px;
    height: 28px;
  }

  .whatsapp-tooltip {
    display: none;
  }

  .hero-title {
    font-size: 28px;
  }

  .feature-card {
    padding: 30px 25px;
  }

  .feature-title {
    font-size: 24px;
  }

  .btn-primary-magistrali {
    font-size: 16px;
    padding: 15px 25px;
  }

  .grid-title {
    font-size: 28px;
  }

  .area-card {
    width: 100%;
    max-width: 100%;
  }
  .hero-section-full-width {
      padding: 60px 10px 40px 10px;
  }
  .hero-section-full-width .main-hero-title {
      font-size: 30px;
      margin-bottom: 20px;
  }
  .hero-section-full-width .hero-description {
      font-size: 16px;
      margin-bottom: 30px;
  }
  .partner-logo-container {
      gap: 20px;
      padding-top: 25px;
      margin-top: 25px;
  }
  .partner-logo-item {
      flex: 1 1 100%;
      max-width: 250px;
  }
  .partner-logo-item img {
      max-height: 50px;
  }
  .partner-logo-container.secondary-logos .partner-logo-item img {
      max-height: 35px;
  }
  .partner-logo-item .logo-description {
      font-size: 13px;
  }
  .contact-grid {
      flex-direction: column; /* I blocchi si stackano uno sopra l'altro */
  }
}


@media (max-width: 600px) {
  .course-info-box-modern {
    padding: 20px;
    max-width: 100%;
    margin: 20px auto;
  }
  .por-cta-wrapper {
      text-align: center;
      padding: 25px;
  }
  .por-cta-content {
      justify-content: center;
  }
}
