/*
Theme Name: Enfold Child
Description: A <a href='http://codex.wordpress.org/Child_Themes'>Child Theme</a> for the Enfold Wordpress Theme. If you plan to do a lot of file modifications we recommend to use this Theme instead of the original Theme. Updating will be much easier then.
Version: 1.0
Author: Kriesi
Author URI: http://www.kriesi.at
Template: enfold
*/



/*Add your own styles here:*/

.video-wrapper-enfold {
  display: flex;
  justify-content: center;
  align-items: center; /* opzionale, utile se vuoi anche centrarlo verticalmente */
  padding: 20px; /* opzionale, per respirare */
}

.video-wrapper-enfold video {
  width: 100%;
  max-width: 400px; /* o quanto vuoi largo */
  height: auto;
  border-radius: 12px;
  display: block;
}



#top .flex_column .template-blog .post-title {
  font-size: 10pt;
}

/*----- Cambio dimensione a font titoli blog -----*/
.page-id-2123 .avia-content-slider h3.slide-entry-title {
  font-size: 16px;
  color: #000;
}

/*----- Gestione cursore mouse nelle lezioni -----*/
/* BLOCCO SELEZIONE + CURSORI SOLO NELLE LEZIONI */
body.viewing-course-item.course-item-lp_lesson,
body.viewing-course-item.course-item-lp_lesson * {
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
    cursor: default !important;
}

/* LINK E BOTTONI → MANINA */
body.viewing-course-item.course-item-lp_lesson a,
body.viewing-course-item.course-item-lp_lesson a *,
body.viewing-course-item.course-item-lp_lesson button,
body.viewing-course-item.course-item-lp_lesson .lp-button {
    cursor: pointer !important;
}

/* CAMPI INPUT → CURSORE TESTO (E SELEZIONE ATTIVA) */
body.viewing-course-item.course-item-lp_lesson input,
body.viewing-course-item.course-item-lp_lesson textarea,
body.viewing-course-item.course-item-lp_lesson select,
body.viewing-course-item.course-item-lp_lesson [contenteditable="true"] {
    cursor: text !important;
    -webkit-user-select: text !important;
    -moz-user-select: text !important;
    -ms-user-select: text !important;
    user-select: text !important;
}


/*----- GESTIONE ARTICOLI SLIDER CORSI ARCHIVIATI IN HOME -----*/
/* SOLO HOME (ID 19) + TEST (ID 2638) */
.page-id-19 .avia-content-slider .slide-entry-title,
.page-id-19 .avia-content-slider .slide-entry-title a,
.page-id-2638 .avia-content-slider .slide-entry-title,
.page-id-2638 .avia-content-slider .slide-entry-title a {
    font-size: 18px !important;
    line-height: 1.25 !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    word-break: break-word;
    overflow-wrap: anywhere;
}

/* Titolo max 3 righe */
.page-id-19 .avia-content-slider .slide-entry-title a,
.page-id-2638 .avia-content-slider .slide-entry-title a {
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 3 !important;
    overflow: hidden !important;
    text-overflow: ellipsis;
    min-height: calc(1.25em * 3);
}

/* Nasconde dicitura "corsi in archivio" SOLO in home (19) + test (2638) */
.page-id-19 .avia-content-slider .slide-meta,
.page-id-19 .avia-content-slider .blog-categories,
.page-id-2638 .avia-content-slider .slide-meta,
.page-id-2638 .avia-content-slider .blog-categories {
    display: none !important;
}


/* ----- GRID CORSI OLD HOME TOLTI I CORSI CONCLUSI -----------*/

.ul-instructor-courses,
.learn-press-courses {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.ul-instructor-courses > li.course,
.learn-press-courses > li.course {
    width: 100% !important;
    margin: 0 !important;
}

.ul-instructor-courses > li.course .course-item,
.learn-press-courses > li.course .course-item {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.ul-instructor-courses > li.course .course-content,
.learn-press-courses > li.course .course-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.ul-instructor-courses > li.course .course-info,
.learn-press-courses > li.course .course-info {
    margin-top: auto;
}

.ul-instructor-courses > li.course .wap-course-title,
.learn-press-courses > li.course .wap-course-title {
    min-height: 60px;
}
/* Responsive corsi: tablet */
@media only screen and (max-width: 989px) {
    .ul-instructor-courses,
    .learn-press-courses {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 25px !important;
        padding: 0 10px !important;
    }
}

/* Responsive corsi: mobile */
@media only screen and (max-width: 767px) {
    .ul-instructor-courses,
    .learn-press-courses {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
        padding: 0 20px !important;
    }

    .ul-instructor-courses > li.course,
    .learn-press-courses > li.course {
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* Sfondo bianco slot corsi */
.ul-instructor-courses > li.course .course-item,
.learn-press-courses > li.course .course-item {
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
}

.ul-instructor-courses > li.course .course-item,
.learn-press-courses > li.course .course-item {
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ul-instructor-courses > li.course .course-item:hover,
.learn-press-courses > li.course .course-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}


/*--------------- LAYOUT HERO SECTION HOMEPAGE ---------------*/
.ppa-hero-section {
  position: relative;
  overflow: hidden;
}

.ppa-hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(3,18,35,0.92) 0%,
    rgba(3,18,35,0.82) 34%,
    rgba(3,18,35,0.42) 65%,
    rgba(3,18,35,0.10) 100%
  );
  z-index: 1;
}

.ppa-hero-section .container {
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
  position: relative;
  z-index: 2;
}

/* === HERO WRAPPER === */
.ppa-hero-custom {
  min-height: 600px;
  display: flex;
  align-items: center;
  position: relative;
  background: transparent !important;
}

/* disattiva eventuale overlay precedente */
.ppa-hero-custom::before {
  display: none !important;
}

/* === HERO INNER === */
.ppa-hero-inner {
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
  padding: 50px 90px;
}

/* === HERO COPY === */
.ppa-hero-copy {
  max-width: 850px;
}

/* === KICKER === */
.ppa-hero-kicker {
  position: absolute;
  left: -9999px;
}

/* === TITLE === */
.ppa-hero-copy h1 {
  color: #ffffff;
  font-size: 48px;
  line-height: 1.05;
  font-weight: 700;
  margin: 0 0 22px 0;
}

.ppa-hero-copy h1 span {
  color: #f4bc16;
}

/* === SUBTITLE === */
.ppa-hero-sub {
  color: #ffffff;
  font-size: 22px;
  line-height: 1.35;
  margin: 0 0 16px 0;
  max-width: 820px;
}

/* === DESCRIPTION === */
.ppa-hero-desc {
  color: rgba(255,255,255,0.82);
  font-size: 17px;
  line-height: 1.6;
  margin: 0 0 30px 0;
  max-width: 780px;
}

/* === FEATURES === */
.ppa-hero-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 34px;
  max-width: 820px;
}

.ppa-hero-features div {
  border-left: 2px solid rgba(244,188,22,0.65);
  padding-left: 14px;
}

.ppa-hero-features strong {
  display: block;
  color: #ffffff;
  font-size: 14px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.ppa-hero-features span {
  display: block;
  color: rgba(255,255,255,0.75);
  font-size: 14px;
  line-height: 1.35;
}

/* === BUTTON === */
.ppa-hero-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f4bc16;
  color: #061b33 !important;
  padding: 18px 32px;
  border-radius: 4px;
  font-weight: 800;
  text-transform: uppercase;
  text-decoration: none !important;
  letter-spacing: 0.3px;
  transition: all 0.2s ease;
}

.ppa-hero-button:hover {
  transform: translateY(-2px);
}

/* === TABLET === */
@media only screen and (max-width: 989px) {

  .ppa-hero-custom {
    min-height: 600px;
  }

  .ppa-hero-inner {
    padding: 58px 36px;
  }

  .ppa-hero-copy {
    max-width: 720px;
  }

  .ppa-hero-copy h1 {
    font-size: 42px;
  }

  .ppa-hero-sub {
    font-size: 20px;
  }

  .ppa-hero-features {
    grid-template-columns: 1fr;
    gap: 14px;
    max-width: 520px;
  }
}

/* === MOBILE === */
@media only screen and (max-width: 767px) {

  .ppa-hero-section::before {
    background: linear-gradient(
      90deg,
      rgba(3,18,35,0.95) 0%,
      rgba(3,18,35,0.86) 100%
    );
  }

  .ppa-hero-custom {
    min-height: auto;
  }

  .ppa-hero-inner {
    padding: 64px 24px;
  }

  .ppa-hero-copy h1 {
    font-size: 34px;
  }

  .ppa-hero-sub {
    font-size: 18px;
  }

  .ppa-hero-desc {
    font-size: 15px;
  }

  .ppa-hero-button {
    width: 100%;
    padding: 18px 20px;
  }
}

/*------------------------ LAYOUT CARD HOMEPAGE -------------------*/

.ppa-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
  max-width: 1480px;
  margin: 0 auto;
}

.ppa-card-custom {
  display: flex;
  align-items: stretch;
  min-height: 280px;
  background: #fff;
  border-radius: 12px;
  overflow: visible;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  position: relative;
}

.ppa-card-text {
  width: 36%;
  padding: 40px 14px 20px 14px;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  overflow: visible;
}

.ppa-card-text::before {
  content: "";
  position: absolute;
  top: -2px;
  right: -54px;
  width: 110px;
  height: calc(100% + 2px);
  background: #fff;
  transform: skewX(-15deg);
  z-index: -1;
}

.ppa-card-image {
  width: 64%;
  min-height: 280px;
  overflow: hidden;
  border-radius: 0 12px 12px 0;
  clip-path: inset(0 0 0 0);
}

.ppa-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0 12px 12px 0;
}

.ppa-icon {
  width: 50px;
  height: 50px;
  background: #0f2b4c;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
  font-size: 20px;
  position: absolute;
  top: -18px;
  left: 18px;
}

.ppa-card-text h3 {
  font-size: 18px;
  margin-bottom: 10px;
  line-height: 1.2;
  width: 100%;
}

.ppa-card-text p {
  font-size: 14px;
  margin-bottom: 15px;
  line-height: 1.5;
  flex-grow: 1;
}

.ppa-card-text a {
  color: #2b5fab;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.ppa-icon-blue {
  background: #08294a;
}

.ppa-icon-purple {
  background: #6f4cc3;
}

.ppa-icon-green {
  background: #6bbf3a;
}

/* CARD OTTIMIZZATE PER TABLET */
@media only screen and (max-width: 989px) {
  .ppa-card-grid {
    grid-template-columns: 1fr;
    max-width: 700px;
    gap: 40px;
  }

  .ppa-card-custom {
    margin: 0 auto;
    width: 100%;
  }
}

/* CARD OTTIMIZZATE PER MOBILE */
@media only screen and (max-width: 767px) {
  .ppa-card-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
    gap: 30px;
  }

  .ppa-card-custom {
    width: 100%;
  }

.ppa-card-text a {
    font-size: 12px;
    gap: 4px;
  }

  .ppa-card-text a span {
    font-size: 11px;
  }
}

/*--------- SEZIONE STEP HOME - GESTIONE COLORI ---------*/
.ppa-step {
  color: #ffffff;
  text-align: center;
  max-width: 220px;
  margin: 0 auto;
}

.ppa-step h3 {
  color: #ffffff;
  font-size: 15px;
  margin-top: 15px;
  letter-spacing: 0.5px;
}

.ppa-step p {
  color: rgba(255,255,255,0.9);
  font-size: 14px;
  line-height: 1.4;
  margin-top: 10px;
}

.ppa-step-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto;
  border-radius: 50%;
  background: rgba(255,255,255,0.6);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

/* SEZIONE STEP HOME - GESTIONE RIGA ORIZZ */
.ppa-arrow {
  position: absolute;
  top: 34px;
  right: -60px;
  width: 48px;
  height: 2px;
  background: rgba(255,255,255,0.6);
  z-index: 50;
  font-size: 0;
  line-height: 0;
  color: transparent;
}

.ppa-arrow::after {
  content: "";
  position: absolute;
  right: -8px;
  top: -4px;
  width: 0;
  height: 0;
  border-left: 8px solid rgba(255,255,255,0.6);
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}

@media only screen and (max-width: 767px) {
  .ppa-arrow {
    display: none !important;
  }
}

/*--------------- CONTATORI HOME STATS GRID -----------------*/
.ppa-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
}

.ppa-stats-grid .ppa-stat-box {
  text-align: center;
  padding: 0 28px;
  position: relative;
}

.ppa-stats-grid .ppa-stat-box:not(:last-child) {
  border-right: 1px solid rgba(0,0,0,0.12);
}

.ppa-stat-icon {
  font-size: 32px;
  margin-bottom: 10px;
}

.ppa-stat-number {
  font-size: 34px;
  font-weight: 800;
  color: #0f2b4c;
  line-height: 1;
  margin-bottom: 8px;
}

.ppa-stat-label {
  font-size: 15px;
  color: #5f6670;
}

@media only screen and (max-width: 767px) {
  .ppa-stats-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .ppa-stats-grid .ppa-stat-box {
    padding: 0;
    border-right: none !important;
  }

  .ppa-stats-grid .ppa-stat-box:not(:last-child) {
    border-bottom: 1px solid rgba(0,0,0,0.10);
    padding-bottom: 28px;
  }

  .ppa-stat-number {
    font-size: 34px;
  }

  .ppa-stat-label {
    font-size: 15px;
  }
}

/*------------- HOME TESTIMONIALS ---------------------*/
.ppa-testimonials {
  position: relative;
  max-width: 520px;
  min-height: 230px;
}

.ppa-testimonial-card {
  background: #fff;
  border-radius: 14px;
  padding: 26px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  position: absolute;
  inset: 0;
  opacity: 0;
}

.ppa-testimonial-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.ppa-testimonial-top img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
}

.ppa-testimonial-name {
  font-weight: 700;
  font-size: 14px;
  color: #0f2b4c;
}

.ppa-testimonial-role {
  font-size: 13px;
  color: #6b7280;
}

.ppa-testimonial-card p {
  font-size: 15px;
  line-height: 1.6;
  color: #2f3a48;
  margin: 0;
}

.ppa-t1 {
  animation: ppaT1 21s infinite;
}

.ppa-t2 {
  animation: ppaT2 21s infinite;
}

.ppa-t3 {
  animation: ppaT3 21s infinite;
}

@keyframes ppaT1 {
  0% { opacity: 0; }
  4% { opacity: 1; }
  28% { opacity: 1; }
  33% { opacity: 0; }
  100% { opacity: 0; }
}

@keyframes ppaT2 {
  0% { opacity: 0; }
  33% { opacity: 0; }
  37% { opacity: 1; }
  61% { opacity: 1; }
  66% { opacity: 0; }
  100% { opacity: 0; }
}

@keyframes ppaT3 {
  0% { opacity: 0; }
  66% { opacity: 0; }
  70% { opacity: 1; }
  94% { opacity: 1; }
  100% { opacity: 0; }
}

/*----------------- PARTNER HOME -----------------*/
.ppa-partners-strip {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 24px 0 10px 0;
  border-top: 1px solid rgba(0,0,0,0.08);
}

.ppa-partners-label,
.ppa-partners-more {
  flex: 0 0 auto;
  font-size: 14px;
  font-weight: 700;
  color: #0f2b4c;
}

.ppa-partners-marquee {
  overflow: hidden;
  flex: 1;
}

.ppa-partners-track {
  display: flex;
  align-items: center;
  gap: 42px;
  width: max-content;
  animation: ppaPartnersScroll 60s linear infinite;
}

.ppa-partners-track img {
  max-height: 60px;
  width: auto;
  display: block;
  object-fit: contain;
  filter: saturate(1.05);
}

@keyframes ppaPartnersScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
.ppa-partners-strip {
  margin-top: 40px;
}
@media only screen and (max-width: 767px) {

  .ppa-partners-strip {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
  }

  .ppa-partners-label,
  .ppa-partners-more {
    width: 100%;
  }

  .ppa-partners-marquee {
    width: 100%;
    overflow: hidden;
  }

  .ppa-partners-track {
    animation: ppaPartnersScroll 60s linear infinite;
  }

  .ppa-partners-track img {
    max-height: 54px;
  }

}

/*--------------- CAROSELLO CORSI IN HOME ----------*/

.ppa-home-course-carousel {
    position: relative;
    padding: 0 60px; /* spazio per le frecce */
    overflow: hidden;
}

/* TRACK */
.ppa-home-course-carousel .learn-press-courses {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 0 !important; /* IMPORTANTISSIMO */
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none;
}

/* SLOT CORSO */
.ppa-home-course-carousel .learn-press-courses > li.course {
    flex: 0 0 25% !important; /* 4 precise */
    max-width: 25% !important;
    padding: 0 15px; /* spazio interno tipo layout originale */
    box-sizing: border-box;
}

/* STRUTTURA */
.ppa-home-course-carousel .course-item {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* CONTENUTO */
.ppa-home-course-carousel .course-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* FOOTER */
.ppa-home-course-carousel .course-info {
    margin-top: auto;
}

/* ===== FRECCE ===== */

.ppa-carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #ffffff;
    color: #222;
    font-size: 28px;
    cursor: pointer;
    border: none;
    box-shadow: 0 6px 18px rgba(0,0,0,0.2);
}

.ppa-carousel-arrow.ppa-prev {
    left: 10px;
}

.ppa-carousel-arrow.ppa-next {
    right: 10px;
}

.ppa-carousel-arrow.is-disabled {
    opacity: 0.3;
    pointer-events: none;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 989px) {
    .ppa-home-course-carousel .learn-press-courses > li.course {
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }
}

@media (max-width: 767px) {

  .ppa-home-course-carousel {
    padding: 0 !important;
    overflow: hidden !important;
  }

  .ppa-carousel-arrow {
    display: none !important;
  }

  .ppa-home-course-carousel .learn-press-courses {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 16px !important;
    padding: 0 calc((100vw - 76vw) / 2) 14px !important;
    margin: 0 !important;
    transform: none !important;
  }

  .ppa-home-course-carousel .learn-press-courses > li.course {
    flex: 0 0 76vw !important;
    max-width: 76vw !important;
    width: 76vw !important;
    padding: 0 !important;
    margin: 0 !important;
    scroll-snap-align: center;
    scroll-snap-stop: always;
    box-sizing: border-box;
  }

  .ppa-home-course-carousel .course-item {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    box-sizing: border-box;
  }

  .ppa-home-course-carousel .course-content {
    padding: 22px !important;
    box-sizing: border-box;
  }

  .ppa-home-course-carousel .course-title,
  .ppa-home-course-carousel h3 {
    font-size: 26px !important;
    line-height: 1.2 !important;
  }

  .ppa-home-course-carousel .learn-press-courses::-webkit-scrollbar {
    display: none;
  }

  .ppa-home-course-carousel .learn-press-courses {
    scrollbar-width: none;
  }

.ppa-swipe-hint {
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  margin-top: 8px;
  letter-spacing: 0.5px;
  animation: ppaSwipe 1.8s ease-in-out infinite;
}

@keyframes ppaSwipe {
  0%   { transform: translateX(0); opacity: 0.7; }
  50%  { transform: translateX(6px); opacity: 1; }
  100% { transform: translateX(0); opacity: 0.7; }
}

@media (min-width: 768px) {
  .ppa-swipe-hint {
    display: none;
  }
}
}

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

/* ========================================================= */
/* PPA MEGA MENU - BASE CARD */
/* ========================================================= */

/* --- Contenitore principale mega menu --- */

#top #header .avia_mega_div {
  width: min(1180px, calc(100vw - 64px)) !important;
  padding: 10px 0px !important;
  background: #ffffff !important;
  border-radius: 12px !important;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08) !important;
  box-sizing: border-box !important;
}

/* --- Forza anche eventuale UL interna di Enfold a seguire il bordo --- */

#top #header .avia_mega_div > ul,
#top #header .avia_mega_div > .sub-menu {
  padding-left: 8px !important;
  padding-right: 8px !important;
  border-radius: 12px !important;
  background: transparent !important;
}

/* --- Colonne --- */

#top #header .avia_mega_div li.ppa-mega-col {
  padding: 0 20px !important;
}

/* --- Rimuove bullet/freccette native Enfold --- */

#top #header .avia_mega_div .avia-bullet {
  display: none !important;
}

/* --- Link sotto le colonne --- */

#top #header .avia_mega_div li.ppa-mega-col ul li a {
  font-size: 15px;
  color: #1f2d3d !important;
  padding: 6px 0 !important;
  display: block;
  text-decoration: none !important;
}

/* --- Hover link --- */

#top #header .avia_mega_div li.ppa-mega-col ul li a:hover {
  color: #2b5fab !important;
}


/* ========================================================= */
/* PPA MEGA MENU - DESCRIZIONI */
/* ========================================================= */

/* --- Base descrizioni --- */

#top #header .avia_mega_div li.ppa-mega-col > ul {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

#top #header .avia_mega_div li.ppa-mega-col > ul::before {
  content: "";
  display: block;
  margin: -2px 0 16px 0;
  padding-bottom: 10px;
  max-width: 260px;
  font-size: 14px;
  line-height: 1.6;
  font-weight: 400;
  color: #6b7280;
  text-transform: none;
  white-space: normal;

  background-image: linear-gradient(#2b5fab, #2b5fab);
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: 48px 2px;
}

/* --- Testi descrizione colonne --- */

#top #header .avia_mega_div li.ppa-mega-webinar > ul::before {
  content: "Approfondimenti e formazione online con esperti del settore.";
}

#top #header .avia_mega_div li.ppa-mega-eventi > ul::before {
  content: "Incontra professionisti,\00a0 partecipa a eventi e fai networking.";
}

#top #header .avia_mega_div li.ppa-mega-esperienze > ul::before {
  content: "Visite didattiche e attività esperienziali nei parchi.";
}

#top #header .avia_mega_div li.ppa-mega-cta > ul::before {
  content: "Scopri il percorso più adatto a te e ai tuoi obiettivi.";
}


/* ========================================================= */
/* PPA MEGA MENU - ICONE PNG */
/* ========================================================= */

/* --- Base cerchio bianco icone colonne --- */

#top #header .avia_mega_div li.ppa-mega-col > .mega_menu_title::before {
  content: "" !important;
  display: block !important;
  width: 56px !important;
  height: 56px !important;
  border-radius: 50% !important;
  background-color: #ffffff !important;
  background-image: none !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
  background-size: 34px 34px !important;
  box-shadow: 0 8px 22px rgba(0,0,0,0.12) !important;
}

/* --- Base icona colorata sopra il cerchio --- */

#top #header .avia_mega_div li.ppa-mega-col > .mega_menu_title::after {
  content: "" !important;
  display: block !important;
  width: 34px !important;
  height: 34px !important;
  grid-column: 1 !important;
  grid-row: 1 / span 2 !important;
  justify-self: center !important;
  align-self: center !important;
  background-color: #2b5fab !important;
  background-image: none !important;

  -webkit-mask-repeat: no-repeat !important;
  -webkit-mask-position: center center !important;
  -webkit-mask-size: contain !important;

  mask-repeat: no-repeat !important;
  mask-position: center center !important;
  mask-size: contain !important;

  z-index: 2 !important;
  pointer-events: none !important;
}

/* --- Icona Webinar --- */

#top #header .avia_mega_div li.ppa-mega-webinar > .mega_menu_title::after {
  background-color: #2b5fab !important;
  -webkit-mask-image: url("https://academy.parksplanet.it/wp-content/uploads/2026/05/ico-corsi.png") !important;
  mask-image: url("https://academy.parksplanet.it/wp-content/uploads/2026/05/ico-corsi.png") !important;
}

/* --- Icona Eventi --- */

#top #header .avia_mega_div li.ppa-mega-eventi > .mega_menu_title::after {
  background-color: #2b5fab !important;
  -webkit-mask-image: url("https://academy.parksplanet.it/wp-content/uploads/2026/05/ico-academy-day.png") !important;
  mask-image: url("https://academy.parksplanet.it/wp-content/uploads/2026/05/ico-academy-day.png") !important;
}

/* --- Icona Esperienze --- */

#top #header .avia_mega_div li.ppa-mega-esperienze > .mega_menu_title::after {
  background-color: #2b5fab !important;
  -webkit-mask-image: url("https://academy.parksplanet.it/wp-content/uploads/2026/05/ico-esperienze.png") !important;
  mask-image: url("https://academy.parksplanet.it/wp-content/uploads/2026/05/ico-esperienze.png") !important;
}

/* --- Icona Percorso --- */

#top #header .avia_mega_div li.ppa-mega-cta > .mega_menu_title::after {
  background-color: #2b5fab !important;
  -webkit-mask-image: url("https://academy.parksplanet.it/wp-content/uploads/2026/05/ico-percorso.png") !important;
  mask-image: url("https://academy.parksplanet.it/wp-content/uploads/2026/05/ico-percorso.png") !important;
}


/* ========================================================= */
/* PPA MEGA MENU - TITOLI COLONNE */
/* ========================================================= */

/* --- Layout titolo con icona --- */

#top #header .avia_mega_div li.ppa-mega-col > .mega_menu_title {
  display: grid !important;
  grid-template-columns: 56px 1fr !important;
  grid-template-rows: max-content max-content !important;
  column-gap: 14px !important;
  row-gap: 0 !important;
  align-items: center !important;
  min-height: 58px !important;
  line-height: 1 !important;
}

#top #header .avia_mega_div li.ppa-mega-col > .mega_menu_title::before {
  grid-column: 1 !important;
  grid-row: 1 / span 2 !important;
}

/* --- Prima riga titolo --- */

#top #header .avia_mega_div li.ppa-mega-col > .mega_menu_title .ppa-mega-title-big {
  grid-column: 2 !important;
  grid-row: 1 !important;
  align-self: end !important;
  display: block !important;
  font-size: 19px !important;
  line-height: 1 !important;
  font-weight: 800 !important;
  color: #0f2b4c !important;
  text-transform: uppercase !important;
  letter-spacing: 0.2px !important;
}

/* --- Seconda riga titolo --- */

#top #header .avia_mega_div li.ppa-mega-col > .mega_menu_title .ppa-mega-title-small {
  grid-column: 2 !important;
  grid-row: 2 !important;
  align-self: start !important;
  display: block !important;
  margin-top: 4px !important;
  font-size: 14px !important;
  line-height: 1.05 !important;
  font-weight: 800 !important;
  color: #0f2b4c !important;
  text-transform: uppercase !important;
  letter-spacing: 0.2px !important;
}


/* ========================================================= */
/* PPA MEGA MENU - FIX OMBRA ICONE TITOLI */
/* ========================================================= */

/* --- Evita il taglio dell'ombra sotto le icone --- */

#top #header .avia_mega_div li.ppa-mega-col {
  overflow: visible !important;
}

#top #header .avia_mega_div li.ppa-mega-col > .mega_menu_title {
  overflow: visible !important;
  padding-bottom: 8px !important;
}


/* ========================================================= */
/* PPA MEGA MENU - CTA BUTTON */
/* ========================================================= */

/* --- Bottone base --- */

#top #header .avia_mega_div li.ppa-mega-button-link {
  margin: 14px 0 14px 0 !important;
  padding: 0 !important;
}

#top #header .avia_mega_div li.ppa-mega-button-link > a {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: auto !important;
  padding: 14px 22px !important;
  background: #2b5fab !important;
  border-radius: 6px !important;
  text-decoration: none !important;
  line-height: 1.2 !important;
}

/* --- Testo bottone base --- */

#top #header .avia_mega_div li.ppa-mega-button-link > a .avia-menu-text {
  color: #ffffff !important;
  font-weight: 700 !important;
}

/* --- Hover bottone base --- */

#top #header .avia_mega_div li.ppa-mega-button-link > a:hover {
  background: #1e4a8c !important;
}

#top #header .avia_mega_div li.ppa-mega-button-link > a:hover .avia-menu-text {
  color: #ffffff !important;
}


/* ========================================================= */
/* PPA MEGA MENU - SEPARATORI VERTICALI */
/* ========================================================= */

/* --- Base colonne per separatori responsive --- */

#top #header .avia_mega_div li.ppa-mega-col {
  position: relative !important;
}

/* --- Separatori menu Formazione --- */

#top #header .avia_mega_div li.ppa-mega-eventi::after,
#top #header .avia_mega_div li.ppa-mega-esperienze::after,

/* --- Separatori menu Campus --- */

#top #header .avia_mega_div li.ppa-campus-vita::after,
#top #header .avia_mega_div li.ppa-campus-accesso::after,

/* --- Separatori menu Progetti --- */

#top #header .avia_mega_div li.ppa-progetti-metodo::after,
#top #header .avia_mega_div li.ppa-progetti-idea::after {
  content: "";
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 0;
  width: 1px;
  height: auto;
  background: rgba(15, 43, 76, 0.12);
  pointer-events: none;
  z-index: 10;
}


/* ========================================================= */
/* PPA MEGA MENU - FRECCE LINK */
/* ========================================================= */

/* --- Link con spazio per freccia --- */

#top #header .avia_mega_div li.ppa-mega-col ul li:not(.ppa-mega-button-link):not(.ppa-mega-img) > a {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-right: 14px !important;
  overflow: visible !important;
}

/* --- Freccia finale --- */

#top #header .avia_mega_div li.ppa-mega-col ul li:not(.ppa-mega-button-link):not(.ppa-mega-img) > a::after {
  content: "›";
  flex: 0 0 auto;
  font-size: 22px;
  line-height: 1;
  color: #0f2b4c;
  opacity: 0.85;
  transition: transform 0.2s ease, color 0.2s ease;
}

/* --- Hover freccia --- */

#top #header .avia_mega_div li.ppa-mega-col ul li:not(.ppa-mega-button-link):not(.ppa-mega-img) > a:hover::after {
  transform: translateX(3px);
  color: #2b5fab;
}


/* ========================================================= */
/* PPA MEGA MENU - IMMAGINI FINALI COLONNE */
/* ========================================================= */

/* --- Voce immagine decorativa base --- */

#top #header .avia_mega_div li.ppa-mega-img {
  display: block !important;
  margin-top: 18px !important;
  padding: 0 !important;
  line-height: 0 !important;
  pointer-events: none !important;
}

/* --- Box immagine decorativa --- */

#top #header .avia_mega_div li.ppa-mega-img > a {
  display: block !important;
  width: 100% !important;
  max-width: 220px !important;
  height: 108px !important;
  min-height: 108px !important;
  padding: 0 !important;
  margin: 0 auto !important;
  line-height: 0 !important;
  font-size: 0 !important;
  color: transparent !important;
  border-radius: 12px !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
  background-size: cover !important;
  box-shadow: 0 8px 22px rgba(0,0,0,0.08) !important;
  overflow: hidden !important;
}

/* --- Nasconde contenuti testuali della voce immagine --- */

#top #header .avia_mega_div li.ppa-mega-img > a .avia-menu-text,
#top #header .avia_mega_div li.ppa-mega-img > a .avia-bullet {
  display: none !important;
}

/* --- Disattiva frecce e interazioni sulle immagini decorative --- */

#top #header .avia_mega_div li.ppa-mega-img > a::after {
  display: none !important;
  content: none !important;
}

/* --- Immagine colonna Webinar --- */

#top #header .avia_mega_div li.ppa-mega-img-webinar > a {
  background-image: url("https://academy.parksplanet.it/wp-content/uploads/2026/04/ppa-menu-webinar.webp") !important;
}

/* --- Immagine colonna Eventi --- */

#top #header .avia_mega_div li.ppa-mega-img-eventi > a {
  background-image: url("https://academy.parksplanet.it/wp-content/uploads/2026/04/ppa-menu-eventi.webp") !important;
}

/* --- Immagine colonna Esperienze --- */

#top #header .avia_mega_div li.ppa-mega-img-esperienze > a {
  background-image: url("https://academy.parksplanet.it/wp-content/uploads/2026/04/ppa-menu-esperienze.webp") !important;
}

/* --- Immagine colonna Percorso / Da dove partire --- */

#top #header .avia_mega_div li.ppa-mega-img-percorso > a {
  background-image: url("https://academy.parksplanet.it/wp-content/uploads/2026/04/ppa-menu-percorso.webp") !important;
  box-shadow: none !important;
}


/* ========================================================= */
/* PPA MEGA MENU - ALLINEAMENTO IMMAGINI */
/* ========================================================= */

/* --- Altezza uniforme delle liste colonna --- */

#top #header .avia_mega_div li.ppa-mega-col > ul {
  display: flex !important;
  flex-direction: column !important;
  min-height: 325px !important;
}

/* --- Spinge le immagini decorative in fondo --- */

#top #header .avia_mega_div li.ppa-mega-img {
  margin-top: auto !important;
}


/* ========================================================= */
/* PPA MEGA MENU - COLONNA CTA / DA DOVE PARTIRE */
/* ========================================================= */

/* --- Base colonna CTA: contenuto fermo, sfondo separato --- */

#top #header .avia_mega_div li.ppa-mega-cta {
  position: relative !important;
  background: transparent !important;
  border-radius: 14px !important;
}

/* --- Sfondo speciale quarta colonna esteso sopra/sotto --- */

#top #header .avia_mega_div li.ppa-mega-cta::before {
  content: "";
  position: absolute;
  top: -12px;
  right: 0;
  bottom: -12px;
  left: 0;
  background: #f1f5fa;
  border-radius: 14px;
  z-index: 0;
  pointer-events: none;
}

/* --- Porta titolo e contenuto sopra lo sfondo --- */

#top #header .avia_mega_div li.ppa-mega-cta > .mega_menu_title,
#top #header .avia_mega_div li.ppa-mega-cta > ul {
  position: relative !important;
  z-index: 2 !important;
}

/* --- Rimuove fondi bianchi SOLO dai testi/link normali della CTA --- */

#top #header .avia_mega_div li.ppa-mega-cta > ul,
#top #header .avia_mega_div li.ppa-mega-cta > ul > li:not(.ppa-mega-button-link):not(.ppa-mega-img),
#top #header .avia_mega_div li.ppa-mega-cta > ul > li:not(.ppa-mega-button-link):not(.ppa-mega-img) > a,
#top #header .avia_mega_div li.ppa-mega-cta > ul > li:not(.ppa-mega-button-link):not(.ppa-mega-img) .avia-menu-text {
  background: transparent !important;
  background-color: transparent !important;
}

/* --- Link normali dentro la CTA --- */

#top #header .avia_mega_div li.ppa-mega-cta > ul > li:not(.ppa-mega-button-link):not(.ppa-mega-img) > a {
  color: #1f2d3d !important;
}

/* --- Bottone CTA full width --- */

#top #header .avia_mega_div li.ppa-mega-cta li.ppa-mega-button-link {
  width: 100% !important;
}

#top #header .avia_mega_div li.ppa-mega-cta li.ppa-mega-button-link > a {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  max-width: none !important;
  box-sizing: border-box !important;
  padding: 14px 18px !important;
  background: #2b5fab !important;
  background-color: #2b5fab !important;
  border-radius: 8px !important;
  text-decoration: none !important;
  line-height: 1.2 !important;
}

/* --- Testo bottone CTA --- */

#top #header .avia_mega_div li.ppa-mega-cta li.ppa-mega-button-link > a .avia-menu-text {
  color: #ffffff !important;
  background: transparent !important;
  background-color: transparent !important;
  font-weight: 700 !important;
}

/* --- Hover bottone CTA --- */

#top #header .avia_mega_div li.ppa-mega-cta li.ppa-mega-button-link > a:hover {
  background: #1e4a8c !important;
  background-color: #1e4a8c !important;
}


/* ========================================================= */
/* PPA MEGA MENU - CAMPUS */
/* ========================================================= */

/* --- Descrizioni colonne Campus --- */

#top #header .avia_mega_div li.ppa-campus-info > ul::before {
  content: "Un ambiente unico dove formarsi,\00a0 collaborare e crescere.";
}

#top #header .avia_mega_div li.ppa-campus-vita > ul::before {
  content: "Attività,\00a0 progetti e momenti di crescita condivisa.";
}

#top #header .avia_mega_div li.ppa-campus-accesso > ul::before {
  content: "Scopri come entrare a far parte del Campus.";
}

/* --- Icone colonne Campus --- */

#top #header .avia_mega_div li.ppa-campus-info > .mega_menu_title::after {
  background-color: #2f8f4e !important;
  -webkit-mask-image: url("https://academy.parksplanet.it/wp-content/uploads/2026/05/ico-campus.png") !important;
  mask-image: url("https://academy.parksplanet.it/wp-content/uploads/2026/05/ico-campus.png") !important;
}

#top #header .avia_mega_div li.ppa-campus-vita > .mega_menu_title::after {
  background-color: #2f8f4e !important;
  -webkit-mask-image: url("https://academy.parksplanet.it/wp-content/uploads/2026/05/ico-studente.png") !important;
  mask-image: url("https://academy.parksplanet.it/wp-content/uploads/2026/05/ico-studente.png") !important;
}

#top #header .avia_mega_div li.ppa-campus-accesso > .mega_menu_title::after {
  background-color: #2f8f4e !important;
  -webkit-mask-image: url("https://academy.parksplanet.it/wp-content/uploads/2026/05/ico-programma.png") !important;
  mask-image: url("https://academy.parksplanet.it/wp-content/uploads/2026/05/ico-programma.png") !important;
}

/* --- Immagini colonne Campus --- */

#top #header .avia_mega_div li.ppa-campus-img-info > a {
  background-image: url("https://academy.parksplanet.it/wp-content/uploads/2026/05/ppa-menu-campus-spazi.webp") !important;
}

#top #header .avia_mega_div li.ppa-campus-img-vita > a {
  background-image: url("https://academy.parksplanet.it/wp-content/uploads/2026/05/ppa-menu-campus-work.webp") !important;
}

#top #header .avia_mega_div li.ppa-campus-img-accesso > a {
  background-image: url("https://academy.parksplanet.it/wp-content/uploads/2026/05/ppa-menu-campus-inaugurazione.webp") !important;
}


/* ========================================================= */
/* PPA MEGA MENU - CAMPUS COLORI */
/* ========================================================= */

/* --- Colore titoli colonne Campus --- */

#top #header .avia_mega_div li.ppa-campus-info > .mega_menu_title .ppa-mega-title-big,
#top #header .avia_mega_div li.ppa-campus-info > .mega_menu_title .ppa-mega-title-small,
#top #header .avia_mega_div li.ppa-campus-vita > .mega_menu_title .ppa-mega-title-big,
#top #header .avia_mega_div li.ppa-campus-vita > .mega_menu_title .ppa-mega-title-small,
#top #header .avia_mega_div li.ppa-campus-accesso > .mega_menu_title .ppa-mega-title-big,
#top #header .avia_mega_div li.ppa-campus-accesso > .mega_menu_title .ppa-mega-title-small {
  color: #2f8f4e !important;
}

/* --- Colore descrizioni Campus --- */

#top #header .avia_mega_div li.ppa-campus-info > ul::before,
#top #header .avia_mega_div li.ppa-campus-vita > ul::before,
#top #header .avia_mega_div li.ppa-campus-accesso > ul::before {
  color: #4f6859 !important;
  background-image: linear-gradient(#2f8f4e, #2f8f4e) !important;
}

/* --- Colore link Campus --- */

#top #header .avia_mega_div li.ppa-campus-info ul li:not(.ppa-mega-img) > a,
#top #header .avia_mega_div li.ppa-campus-vita ul li:not(.ppa-mega-img) > a,
#top #header .avia_mega_div li.ppa-campus-accesso ul li:not(.ppa-mega-img) > a {
  color: #1f2d3d !important;
}

/* --- Hover link Campus --- */

#top #header .avia_mega_div li.ppa-campus-info ul li:not(.ppa-mega-img) > a:hover,
#top #header .avia_mega_div li.ppa-campus-vita ul li:not(.ppa-mega-img) > a:hover,
#top #header .avia_mega_div li.ppa-campus-accesso ul li:not(.ppa-mega-img) > a:hover {
  color: #2f8f4e !important;
}

/* --- Frecce Campus --- */

#top #header .avia_mega_div li.ppa-campus-info ul li:not(.ppa-mega-img) > a::after,
#top #header .avia_mega_div li.ppa-campus-vita ul li:not(.ppa-mega-img) > a::after,
#top #header .avia_mega_div li.ppa-campus-accesso ul li:not(.ppa-mega-img) > a::after {
  color: #2f8f4e !important;
}


/* ========================================================= */
/* PPA MEGA MENU - PROGETTI */
/* ========================================================= */

/* --- Descrizioni colonne Progetti --- */

#top #header .avia_mega_div li.ppa-progetti-studenti > ul::before {
  content: "I lavori realizzati dagli studenti durante i corsi e i percorsi Academy.";
}

#top #header .avia_mega_div li.ppa-progetti-metodo > ul::before {
  content: "Come trasformiamo competenze e idee in risultati concreti.";
}

#top #header .avia_mega_div li.ppa-progetti-idea > ul::before {
  content: "Hai un’idea o vuoi collaborare? Raccontaci cosa vorresti costruire.";
}

/* --- Icone colonne Progetti --- */

#top #header .avia_mega_div li.ppa-progetti-studenti > .mega_menu_title::after {
  background-color: #6f4cc3 !important;
  -webkit-mask-image: url("https://academy.parksplanet.it/wp-content/uploads/2026/05/ico-progetti.png") !important;
  mask-image: url("https://academy.parksplanet.it/wp-content/uploads/2026/05/ico-progetti.png") !important;
}

#top #header .avia_mega_div li.ppa-progetti-metodo > .mega_menu_title::after {
  background-color: #6f4cc3 !important;
  -webkit-mask-image: url("https://academy.parksplanet.it/wp-content/uploads/2026/05/ico-metodo.png") !important;
  mask-image: url("https://academy.parksplanet.it/wp-content/uploads/2026/05/ico-metodo.png") !important;
}

#top #header .avia_mega_div li.ppa-progetti-idea > .mega_menu_title::after {
  background-color: #6f4cc3 !important;
  -webkit-mask-image: url("https://academy.parksplanet.it/wp-content/uploads/2026/05/ico-idea.png") !important;
  mask-image: url("https://academy.parksplanet.it/wp-content/uploads/2026/05/ico-idea.png") !important;
}

/* --- Immagini colonne Progetti --- */

#top #header .avia_mega_div li.ppa-progetti-img-studenti > a {
  background-image: url("https://academy.parksplanet.it/wp-content/uploads/2026/05/ppa-menu-progetti-ashfall.webp") !important;
}

#top #header .avia_mega_div li.ppa-progetti-img-metodo > a {
  background-image: url("https://academy.parksplanet.it/wp-content/uploads/2026/05/ppa-menu-progetti-metodo.webp") !important;
}

#top #header .avia_mega_div li.ppa-progetti-img-idea > a {
  background-image: url("https://academy.parksplanet.it/wp-content/uploads/2026/05/ppa-menu-progetti-virtual.webp") !important;
}


/* ========================================================= */
/* PPA MEGA MENU - PROGETTI COLORI */
/* ========================================================= */

/* --- Colore titoli colonne Progetti --- */

#top #header .avia_mega_div li.ppa-progetti-studenti > .mega_menu_title .ppa-mega-title-big,
#top #header .avia_mega_div li.ppa-progetti-studenti > .mega_menu_title .ppa-mega-title-small,
#top #header .avia_mega_div li.ppa-progetti-metodo > .mega_menu_title .ppa-mega-title-big,
#top #header .avia_mega_div li.ppa-progetti-metodo > .mega_menu_title .ppa-mega-title-small,
#top #header .avia_mega_div li.ppa-progetti-idea > .mega_menu_title .ppa-mega-title-big,
#top #header .avia_mega_div li.ppa-progetti-idea > .mega_menu_title .ppa-mega-title-small {
  color: #6f4cc3 !important;
}

/* --- Colore descrizioni e lineette Progetti --- */

#top #header .avia_mega_div li.ppa-progetti-studenti > ul::before,
#top #header .avia_mega_div li.ppa-progetti-metodo > ul::before,
#top #header .avia_mega_div li.ppa-progetti-idea > ul::before {
  color: #62586f !important;
  background-image: linear-gradient(#6f4cc3, #6f4cc3) !important;
}

/* --- Link normali Progetti --- */

#top #header .avia_mega_div li.ppa-progetti-studenti ul li:not(.ppa-mega-img) > a,
#top #header .avia_mega_div li.ppa-progetti-metodo ul li:not(.ppa-mega-img) > a,
#top #header .avia_mega_div li.ppa-progetti-idea ul li:not(.ppa-mega-img) > a {
  color: #1f2d3d !important;
}

/* --- Hover link Progetti --- */

#top #header .avia_mega_div li.ppa-progetti-studenti ul li:not(.ppa-mega-img) > a:hover,
#top #header .avia_mega_div li.ppa-progetti-metodo ul li:not(.ppa-mega-img) > a:hover,
#top #header .avia_mega_div li.ppa-progetti-idea ul li:not(.ppa-mega-img) > a:hover {
  color: #6f4cc3 !important;
}

/* --- Frecce Progetti --- */

#top #header .avia_mega_div li.ppa-progetti-studenti ul li:not(.ppa-mega-img) > a::after,
#top #header .avia_mega_div li.ppa-progetti-metodo ul li:not(.ppa-mega-img) > a::after,
#top #header .avia_mega_div li.ppa-progetti-idea ul li:not(.ppa-mega-img) > a::after {
  color: #6f4cc3 !important;
}


/* ========================================================= */
/* PPA MEGA MENU - PROGETTI CONTEST / MASCOTTE */
/* ========================================================= */

/* --- Base colonna Contest --- */

#top #header .avia_mega_div li.ppa-progetti-contest {
  position: relative !important;
  background: transparent !important;
  border-radius: 14px !important;
}

/* --- Sfondo speciale quarta colonna Contest --- */

#top #header .avia_mega_div li.ppa-progetti-contest::before {
  content: "";
  position: absolute;
  top: -12px;
  right: 0;
  bottom: -12px;
  left: 0;
  background: #f3eefb !important;
  border-radius: 14px;
  z-index: 0;
  pointer-events: none;
}

/* --- Porta titolo e contenuto sopra lo sfondo --- */

#top #header .avia_mega_div li.ppa-progetti-contest > .mega_menu_title,
#top #header .avia_mega_div li.ppa-progetti-contest > ul {
  position: relative !important;
  z-index: 2 !important;
}

/* --- Descrizione colonna Contest --- */

#top #header .avia_mega_div li.ppa-progetti-contest > ul::before {
  content: "Partecipa al contest creativo dedicato alla nuova mascotte dell’Academy.";
  color: #62586f !important;
  background-image: linear-gradient(#6f4cc3, #6f4cc3) !important;
}

/* --- Titoli colonna Contest --- */

#top #header .avia_mega_div li.ppa-progetti-contest > .mega_menu_title .ppa-mega-title-big,
#top #header .avia_mega_div li.ppa-progetti-contest > .mega_menu_title .ppa-mega-title-small {
  color: #6f4cc3 !important;
}

/* --- Icona colonna Contest --- */

#top #header .avia_mega_div li.ppa-progetti-contest > .mega_menu_title::before {
  background-color: #ffffff !important;
  background-image: none !important;
  filter: none !important;
}

#top #header .avia_mega_div li.ppa-progetti-contest > .mega_menu_title::after {
  background-color: #6f4cc3 !important;
  -webkit-mask-image: url("https://academy.parksplanet.it/wp-content/uploads/2026/05/ppa-icon-mascotte.png") !important;
  mask-image: url("https://academy.parksplanet.it/wp-content/uploads/2026/05/ppa-icon-mascotte.png") !important;
}

/* --- Rimuove fondi bianchi dai testi/link normali del Contest --- */

#top #header .avia_mega_div li.ppa-progetti-contest > ul,
#top #header .avia_mega_div li.ppa-progetti-contest > ul > li:not(.ppa-mega-button-link):not(.ppa-mega-img),
#top #header .avia_mega_div li.ppa-progetti-contest > ul > li:not(.ppa-mega-button-link):not(.ppa-mega-img) > a,
#top #header .avia_mega_div li.ppa-progetti-contest > ul > li:not(.ppa-mega-button-link):not(.ppa-mega-img) .avia-menu-text {
  background: transparent !important;
  background-color: transparent !important;
}

/* --- Link normali dentro il Contest --- */

#top #header .avia_mega_div li.ppa-progetti-contest > ul > li:not(.ppa-mega-button-link):not(.ppa-mega-img) > a {
  color: #1f2d3d !important;
}

/* --- Hover link normali dentro il Contest --- */

#top #header .avia_mega_div li.ppa-progetti-contest > ul > li:not(.ppa-mega-button-link):not(.ppa-mega-img) > a:hover {
  color: #6f4cc3 !important;
}

/* --- Frecce link normali dentro il Contest --- */

#top #header .avia_mega_div li.ppa-progetti-contest > ul > li:not(.ppa-mega-button-link):not(.ppa-mega-img) > a::after {
  color: #6f4cc3 !important;
}

/* --- Bottone Contest full width --- */

#top #header .avia_mega_div li.ppa-progetti-contest li.ppa-mega-button-link {
  width: 100% !important;
}

#top #header .avia_mega_div li.ppa-progetti-contest li.ppa-mega-button-link > a {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  max-width: none !important;
  box-sizing: border-box !important;
  padding: 14px 18px !important;
  background: #6f4cc3 !important;
  background-color: #6f4cc3 !important;
  border-radius: 8px !important;
  text-decoration: none !important;
  line-height: 1.2 !important;
}

/* --- Testo bottone Contest --- */

#top #header .avia_mega_div li.ppa-progetti-contest li.ppa-mega-button-link > a .avia-menu-text {
  color: #ffffff !important;
  background: transparent !important;
  background-color: transparent !important;
  font-weight: 700 !important;
}

/* --- Hover bottone Contest --- */

#top #header .avia_mega_div li.ppa-progetti-contest li.ppa-mega-button-link > a:hover {
  background: #5b3cab !important;
  background-color: #5b3cab !important;
}

/* --- Immagine colonna Contest --- */

#top #header .avia_mega_div li.ppa-progetti-img-contest > a {
  background-image: url("https://academy.parksplanet.it/wp-content/uploads/2026/05/ppa-menu-mascotte3.webp") !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
  background-size: contain !important;
  background-color: #f3eefb !important;
  box-shadow: none !important;
}


/* ========================================================= */
/* PPA MEGA MENU - CHI SIAMO */
/* ========================================================= */

/* --- Descrizioni colonne Chi siamo --- */

#top #header .avia_mega_div li.ppa-about-academy > ul::before {
  content: "La visione,\00a0 il metodo e il percorso che guidano ParksPlanet Academy.";
}

#top #header .avia_mega_div li.ppa-about-team > ul::before {
  content: "Le persone,\00a0 i coach e i professionisti dietro l’Academy.";
}

#top #header .avia_mega_div li.ppa-about-network > ul::before {
  content: "Partner,\00a0 aziende e connessioni che aiutano il progetto a crescere.";
}

/* --- Icone colonne Chi siamo --- */

#top #header .avia_mega_div li.ppa-about-academy > .mega_menu_title::after {
  background-color: #b8832f !important;
  -webkit-mask-image: url("https://academy.parksplanet.it/wp-content/uploads/2026/05/ico-target.png") !important;
  mask-image: url("https://academy.parksplanet.it/wp-content/uploads/2026/05/ico-target.png") !important;
}

#top #header .avia_mega_div li.ppa-about-team > .mega_menu_title::after {
  background-color: #b8832f !important;
  -webkit-mask-image: url("https://academy.parksplanet.it/wp-content/uploads/2026/05/ico-team.png") !important;
  mask-image: url("https://academy.parksplanet.it/wp-content/uploads/2026/05/ico-team.png") !important;
}

#top #header .avia_mega_div li.ppa-about-network > .mega_menu_title::after {
  background-color: #b8832f !important;
  -webkit-mask-image: url("https://academy.parksplanet.it/wp-content/uploads/2026/05/ico-network.png") !important;
  mask-image: url("https://academy.parksplanet.it/wp-content/uploads/2026/05/ico-network.png") !important;
}

/* --- Immagini colonne Chi siamo --- */

#top #header .avia_mega_div li.ppa-about-img-academy > a {
  background-image: url("https://academy.parksplanet.it/wp-content/uploads/2026/05/ppa-menu-chisiamo-academy.webp") !important;
}

#top #header .avia_mega_div li.ppa-about-img-team > a {
  background-image: url("https://academy.parksplanet.it/wp-content/uploads/2026/05/ppa-menu-chisiamo-team2.webp") !important;
}

#top #header .avia_mega_div li.ppa-about-img-network > a {
  background-image: url("https://academy.parksplanet.it/wp-content/uploads/2026/05/ppa-menu-chisiamo-partners.webp") !important;
}


/* ========================================================= */
/* PPA MEGA MENU - CHI SIAMO COLORI */
/* ========================================================= */

/* --- Colore titoli colonne Chi siamo --- */

#top #header .avia_mega_div li.ppa-about-academy > .mega_menu_title .ppa-mega-title-big,
#top #header .avia_mega_div li.ppa-about-academy > .mega_menu_title .ppa-mega-title-small,
#top #header .avia_mega_div li.ppa-about-team > .mega_menu_title .ppa-mega-title-big,
#top #header .avia_mega_div li.ppa-about-team > .mega_menu_title .ppa-mega-title-small,
#top #header .avia_mega_div li.ppa-about-network > .mega_menu_title .ppa-mega-title-big,
#top #header .avia_mega_div li.ppa-about-network > .mega_menu_title .ppa-mega-title-small {
  color: #b8832f !important;
}

/* --- Colore descrizioni e lineette Chi siamo --- */

#top #header .avia_mega_div li.ppa-about-academy > ul::before,
#top #header .avia_mega_div li.ppa-about-team > ul::before,
#top #header .avia_mega_div li.ppa-about-network > ul::before {
  color: #5f6670 !important;
  background-image: linear-gradient(#b8832f, #b8832f) !important;
}

/* --- Link normali Chi siamo --- */

#top #header .avia_mega_div li.ppa-about-academy ul li:not(.ppa-mega-img) > a,
#top #header .avia_mega_div li.ppa-about-team ul li:not(.ppa-mega-img) > a,
#top #header .avia_mega_div li.ppa-about-network ul li:not(.ppa-mega-img) > a {
  color: #1f2d3d !important;
}

/* --- Hover link Chi siamo --- */

#top #header .avia_mega_div li.ppa-about-academy ul li:not(.ppa-mega-img) > a:hover,
#top #header .avia_mega_div li.ppa-about-team ul li:not(.ppa-mega-img) > a:hover,
#top #header .avia_mega_div li.ppa-about-network ul li:not(.ppa-mega-img) > a:hover {
  color: #b8832f !important;
}

/* --- Frecce Chi siamo --- */

#top #header .avia_mega_div li.ppa-about-academy ul li:not(.ppa-mega-img) > a::after,
#top #header .avia_mega_div li.ppa-about-team ul li:not(.ppa-mega-img) > a::after,
#top #header .avia_mega_div li.ppa-about-network ul li:not(.ppa-mega-img) > a::after {
  color: #b8832f !important;
}


/* ========================================================= */
/* PPA MEGA MENU - CHI SIAMO SEPARATORI */
/* ========================================================= */

/* --- Separatori menu Chi siamo --- */

#top #header .avia_mega_div li.ppa-about-team::after,
#top #header .avia_mega_div li.ppa-about-network::after {
  content: "";
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 0;
  width: 1px;
  height: auto;
  background: rgba(15, 43, 76, 0.12);
  pointer-events: none;
  z-index: 10;
}

/* ========================================================= */
/* PPA MEGA MENU - LARGHEZZA AUTOMATICA IN BASE ALLE COLONNE */
/* ========================================================= */

/* --- Default: mega menu largo per 4 colonne --- */

#top #header .avia_mega_div {
  width: min(1180px, calc(100vw - 64px)) !important;
}

/* --- Menu con 3 colonne: più stretto --- */

#top #header .avia_mega_div:has(> ul > li.ppa-mega-col:nth-child(3)):not(:has(> ul > li.ppa-mega-col:nth-child(4))),
#top #header .avia_mega_div:has(> .sub-menu > li.ppa-mega-col:nth-child(3)):not(:has(> .sub-menu > li.ppa-mega-col:nth-child(4))) {
  width: min(900px, calc(100vw - 64px)) !important;
}
/* ========================================================= */
/* SPOSTAMENTO MENU OLTRE AREA SOCIAL */
/* ========================================================= */
#top #header .avia_mega_div {
  transform: translateX(-105px) !important;
}

/* ========================================================= */
/* PPA MEGA MENU - FIX POSIZIONE SU SCHERMI MEDI */
/* ========================================================= */

/* --- Schermi medi: evita il taglio laterale del mega menu --- */

@media only screen and (max-width: 1199px) and (min-width: 990px) {
  #top #header .avia_mega_div {
    transform: none !important;
  }
}

/* ========================================================= */
/* PPA HEADER MENU - FRECCINE + SOTTOLINEATURA COLORATA */
/* ========================================================= */

/* --- Prepara le voci principali con mega menu --- */

#top #header .main_menu .avia-menu > ul > li.ppa-top-mega > a {
  position: relative !important;
}

/* --- Freccina verso il basso sulle voci principali mega menu --- */

#top #header .main_menu .avia-menu > ul > li.ppa-top-mega > a .avia-menu-text {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
}

#top #header .main_menu .avia-menu > ul > li.ppa-top-mega > a .avia-menu-text::after {
  content: "" !important;
  display: inline-block !important;
  width: 7px !important;
  height: 7px !important;
  border-right: 2px solid currentColor !important;
  border-bottom: 2px solid currentColor !important;
  transform: translateY(-2px) rotate(45deg) !important;
  transform-origin: center center !important;
  transition: transform 0.35s ease, border-color 0.2s ease !important;
}

/* --- Micro animazione freccia in hover / mega menu aperto --- */

#top #header .main_menu .avia-menu > ul > li.ppa-top-mega:hover > a .avia-menu-text::after {
  transform: translateY(2px) rotate(45deg) !important;
}


/* ========================================================= */
/* PPA HEADER MENU - LINEA ATTIVA / HOVER */
/* ========================================================= */

/* --- Base linea Enfold sulle voci mega --- */

#top #header .main_menu .avia-menu > ul > li.ppa-top-mega > a .avia-menu-fx {
  display: block !important;
  opacity: 0 !important;
  visibility: visible !important;
  height: 3px !important;
  bottom: 15px !important;

  left: 50% !important;
  width: calc(100% - 28px) !important;
  max-width: 92px !important;

  transform: translateX(-50%) scaleX(0) !important;
  transform-origin: center center !important;
  transition: transform 0.2s ease, opacity 0.2s ease, height 0.2s ease, bottom 0.2s ease !important;
  border-radius: 999px !important;
}

/* --- Header ristretto / scroll: abbassa e assottiglia la linea --- */

#top #header.header-scrolled .main_menu .avia-menu > ul > li.ppa-top-mega > a .avia-menu-fx,
#top #header.header-scrolled-full .main_menu .avia-menu > ul > li.ppa-top-mega > a .avia-menu-fx {
  bottom: 8px !important;
  height: 2px !important;
}

/* --- Mostra linea solo in hover o se la voce principale è davvero attiva --- */

#top #header .main_menu .avia-menu > ul > li.ppa-top-mega:hover > a .avia-menu-fx,
#top #header .main_menu .avia-menu > ul > li.ppa-top-mega.current-menu-item > a .avia-menu-fx,
#top #header .main_menu .avia-menu > ul > li.ppa-top-mega.current_page_item > a .avia-menu-fx {
  opacity: 1 !important;
  transform: translateX(-50%) scaleX(1) !important;
}

/* --- Formazione --- */

#top #header .main_menu .avia-menu > ul > li.ppa-top-formazione:hover > a,
#top #header .main_menu .avia-menu > ul > li.ppa-top-formazione.current-menu-item > a,
#top #header .main_menu .avia-menu > ul > li.ppa-top-formazione.current_page_item > a {
  color: #2b5fab !important;
}

#top #header .main_menu .avia-menu > ul > li.ppa-top-formazione > a .avia-menu-fx {
  background: #2b5fab !important;
}

/* --- Campus --- */

#top #header .main_menu .avia-menu > ul > li.ppa-top-campus:hover > a,
#top #header .main_menu .avia-menu > ul > li.ppa-top-campus.current-menu-item > a,
#top #header .main_menu .avia-menu > ul > li.ppa-top-campus.current_page_item > a {
  color: #2f8f4e !important;
}

#top #header .main_menu .avia-menu > ul > li.ppa-top-campus > a .avia-menu-fx {
  background: #2f8f4e !important;
}

/* --- Progetti --- */

#top #header .main_menu .avia-menu > ul > li.ppa-top-progetti:hover > a,
#top #header .main_menu .avia-menu > ul > li.ppa-top-progetti.current-menu-item > a,
#top #header .main_menu .avia-menu > ul > li.ppa-top-progetti.current_page_item > a {
  color: #6f4cc3 !important;
}

#top #header .main_menu .avia-menu > ul > li.ppa-top-progetti > a .avia-menu-fx {
  background: #6f4cc3 !important;
}

/* --- Chi siamo --- */

#top #header .main_menu .avia-menu > ul > li.ppa-top-about:hover > a,
#top #header .main_menu .avia-menu > ul > li.ppa-top-about.current-menu-item > a,
#top #header .main_menu .avia-menu > ul > li.ppa-top-about.current_page_item > a {
  color: #b8832f !important;
}

#top #header .main_menu .avia-menu > ul > li.ppa-top-about > a .avia-menu-fx {
  background: #b8832f !important;
}

/* ========================================================= */
/* PPA HEADER MENU - LINEA VOCI SEMPLICI */
/* ========================================================= */

/* --- Prepara le voci principali senza mega menu --- */

#top #header .main_menu .avia-menu > ul > li.ppa-top-line > a {
  position: relative !important;
}

/* --- Base linea Enfold sulle voci semplici --- */

#top #header .main_menu .avia-menu > ul > li.ppa-top-line > a .avia-menu-fx {
  display: block !important;
  opacity: 0 !important;
  visibility: visible !important;
  height: 3px !important;
  bottom: 15px !important;

  left: 50% !important;
  width: calc(100% - 28px) !important;
  max-width: 92px !important;

  transform: translateX(-50%) scaleX(0) !important;
  transform-origin: center center !important;
  transition: transform 0.2s ease, opacity 0.2s ease, height 0.2s ease, bottom 0.2s ease !important;
  border-radius: 999px !important;
}

/* --- Header ristretto / scroll: abbassa e assottiglia la linea --- */

#top #header.header-scrolled .main_menu .avia-menu > ul > li.ppa-top-line > a .avia-menu-fx,
#top #header.header-scrolled-full .main_menu .avia-menu > ul > li.ppa-top-line > a .avia-menu-fx {
  bottom: 8px !important;
  height: 2px !important;
}

/* --- Mostra linea in hover o pagina attiva --- */

#top #header .main_menu .avia-menu > ul > li.ppa-top-line:hover > a .avia-menu-fx,
#top #header .main_menu .avia-menu > ul > li.ppa-top-line.current-menu-item > a .avia-menu-fx,
#top #header .main_menu .avia-menu > ul > li.ppa-top-line.current-menu-ancestor > a .avia-menu-fx,
#top #header .main_menu .avia-menu > ul > li.ppa-top-line.current_page_item > a .avia-menu-fx,
#top #header .main_menu .avia-menu > ul > li.ppa-top-line.current_page_ancestor > a .avia-menu-fx {
  opacity: 1 !important;
  transform: translateX(-50%) scaleX(1) !important;
}

/* --- Colore Home / Contatti --- */

#top #header .main_menu .avia-menu > ul > li.ppa-top-home:hover > a,
#top #header .main_menu .avia-menu > ul > li.ppa-top-home.current-menu-item > a,
#top #header .main_menu .avia-menu > ul > li.ppa-top-home.current_page_item > a,
#top #header .main_menu .avia-menu > ul > li.ppa-top-contatti:hover > a,
#top #header .main_menu .avia-menu > ul > li.ppa-top-contatti.current-menu-item > a,
#top #header .main_menu .avia-menu > ul > li.ppa-top-contatti.current_page_item > a {
  color: #0f2b4c !important;
}

#top #header .main_menu .avia-menu > ul > li.ppa-top-home > a .avia-menu-fx,
#top #header .main_menu .avia-menu > ul > li.ppa-top-contatti > a .avia-menu-fx {
  background: #0f2b4c !important;
}

/* ========================================================= */
/* PPA HEADER MENU - FIX FALSE ACTIVE PARENT */
/* ========================================================= */

/* --- Evita che una voce mega si colori solo perché è parent/ancestor della pagina corrente --- */

#top #header .main_menu .avia-menu > ul > li.ppa-top-mega.current-menu-parent:not(.current-menu-item):not(.current_page_item):not(:hover) > a,
#top #header .main_menu .avia-menu > ul > li.ppa-top-mega.current_page_parent:not(.current-menu-item):not(.current_page_item):not(:hover) > a,
#top #header .main_menu .avia-menu > ul > li.ppa-top-mega.current-menu-ancestor:not(.current-menu-item):not(.current_page_item):not(:hover) > a,
#top #header .main_menu .avia-menu > ul > li.ppa-top-mega.current_page_ancestor:not(.current-menu-item):not(.current_page_item):not(:hover) > a {
  color: #1f2d3d !important;
}

/* --- Nasconde la linea sulle voci mega che sono solo parent/ancestor, non realmente attive --- */

#top #header .main_menu .avia-menu > ul > li.ppa-top-mega.current-menu-parent:not(.current-menu-item):not(.current_page_item):not(:hover) > a .avia-menu-fx,
#top #header .main_menu .avia-menu > ul > li.ppa-top-mega.current_page_parent:not(.current-menu-item):not(.current_page_item):not(:hover) > a .avia-menu-fx,
#top #header .main_menu .avia-menu > ul > li.ppa-top-mega.current-menu-ancestor:not(.current-menu-item):not(.current_page_item):not(:hover) > a .avia-menu-fx,
#top #header .main_menu .avia-menu > ul > li.ppa-top-mega.current_page_ancestor:not(.current-menu-item):not(.current_page_item):not(:hover) > a .avia-menu-fx {
  opacity: 0 !important;
  transform: translateX(-50%) scaleX(0) !important;
}
/* ========================================================= */
/* PPA HEADER MENU - FIX CONTATTI / CHI SIAMO */
/* ========================================================= */

/* --- Se Contatti è attivo, Chi siamo NON deve risultare attivo --- */

#top #header .main_menu .avia-menu > ul:has(> li.ppa-top-contatti.current-menu-item) > li.ppa-top-about:not(:hover) > a,
#top #header .main_menu .avia-menu > ul:has(> li.ppa-top-contatti.current_page_item) > li.ppa-top-about:not(:hover) > a,
#top #header .main_menu .avia-menu > ul:has(> li.ppa-top-contatti.current-menu-parent) > li.ppa-top-about:not(:hover) > a,
#top #header .main_menu .avia-menu > ul:has(> li.ppa-top-contatti.current_page_parent) > li.ppa-top-about:not(:hover) > a {
  color: #1f2d3d !important;
}

/* --- Se Contatti è attivo, nasconde la linea sotto Chi siamo --- */

#top #header .main_menu .avia-menu > ul:has(> li.ppa-top-contatti.current-menu-item) > li.ppa-top-about:not(:hover) > a .avia-menu-fx,
#top #header .main_menu .avia-menu > ul:has(> li.ppa-top-contatti.current_page_item) > li.ppa-top-about:not(:hover) > a .avia-menu-fx,
#top #header .main_menu .avia-menu > ul:has(> li.ppa-top-contatti.current-menu-parent) > li.ppa-top-about:not(:hover) > a .avia-menu-fx,
#top #header .main_menu .avia-menu > ul:has(> li.ppa-top-contatti.current_page_parent) > li.ppa-top-about:not(:hover) > a .avia-menu-fx {
  opacity: 0 !important;
  transform: translateX(-50%) scaleX(0) !important;
}

/* ==================================================
   PPA - Griglia corsi Academy categorie
   ================================================== */

.ppa-corsi-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 384px));
    justify-content: center;
    gap: 28px;
    width: 100%;
    margin: 32px 0;
}

/* --- Card corso --- */

.ppa-corso-card {
    width: 100%;
    max-width: 384px;
    height: 100%;
    overflow: hidden;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ppa-corso-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.14);
}

.ppa-corso-card__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

/* --- Immagine corso --- */

.ppa-corso-card__image {
    width: 100%;
    overflow: hidden;
    background: #ffffff;
}

.ppa-corso-card__image img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.35s ease;
}

.ppa-corso-card:hover .ppa-corso-card__image img {
    transform: scale(1.03);
}

/* --- Corpo card --- */

.ppa-corso-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 22px;
}

/* --- Badge categoria --- */

.ppa-corso-card__badge {
    display: inline-flex;
    align-self: flex-start;
    margin-bottom: 12px;
    padding: 6px 12px;
    border-radius: 999px;
    background: #f3f0ff;
    color: #4d2fd1;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* --- Badge: Webinar --- */

.ppa-corso-card__badge--webinar {
    background: #eef4ff;
    color: #2457c5;
}

/* --- Badge: Corsi professionalizzanti --- */

.ppa-corso-card__badge--corsi-professionalizzanti {
    background: #fff3e8;
    color: #c65a00;
}

/* --- Badge: Inside the Magic --- */

.ppa-corso-card__badge--inside-the-magic {
    background: #f3eaff;
    color: #7a2fd1;
}

/* --- Badge: Masterclass --- */

.ppa-corso-card__badge--masterclass {
    background: #fff1f5;
    color: #c2185b;
}

/* --- Badge: On Demand --- */

.ppa-corso-card__badge--on-demand {
    background: #eafaf1;
    color: #14804a;
}

/* --- Badge: Visite didattiche --- */

.ppa-corso-card__badge--visite-didattiche {
    background: #eaf8ff;
    color: #087ea4;
}

/* --- Badge: Workshop e seminari --- */

.ppa-corso-card__badge--workshop-seminari {
    background: #fff9db;
    color: #9a6b00;
}

/* --- Titolo --- */

.ppa-corso-card__title {
    display: -webkit-box;
    min-height: 52px;
    margin: 0 0 10px;
    overflow: hidden;
    color: #171717;
    font-family: inherit;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.18;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* --- Coach --- */

.ppa-corso-card__coach {
    min-height: 21px;
    margin: 0 0 14px;
    color: #333333;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
}

/* --- Estratto --- */

.ppa-corso-card__excerpt {
    display: -webkit-box;
    min-height: 72px;
    margin: 0 0 20px;
    overflow: hidden;
    color: #555555;
    font-family: inherit;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.6;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

/* --- Prezzo --- */

.ppa-corso-card__price {
    margin: auto 0 16px;
    color: #f5a400;
    font-family: inherit;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
}

.ppa-corso-card__price .origin-price,
.ppa-corso-card__price del {
    margin-right: 8px;
    color: #999999;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
}

.ppa-corso-card__price .price,
.ppa-corso-card__price ins,
.ppa-corso-card__price span,
.ppa-corso-card__price bdi {
    color: #f5a400;
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    text-decoration: none;
}

/* --- CTA --- */

.ppa-corso-card__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 13px 16px;
    border-radius: 4px;
    background: #03172e;
    color: #ffffff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.ppa-corso-card:hover .ppa-corso-card__cta {
    background: #062449;
    box-shadow: 0 8px 18px rgba(3, 23, 46, 0.24);
}

/* ==================================================
   PPA - Responsive
   ================================================== */

/* --- Tablet --- */

@media (max-width: 1024px) {
    .ppa-corsi-grid {
        grid-template-columns: repeat(2, minmax(0, 384px));
        gap: 24px;
    }
}

/* --- Mobile --- */

@media (max-width: 640px) {
    .ppa-corsi-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
        margin: 24px 0;
    }

    .ppa-corso-card {
        max-width: 100%;
    }

    .ppa-corso-card__body {
        padding: 18px;
    }

    .ppa-corso-card__title {
        min-height: 48px;
        font-size: 20px;
    }

    .ppa-corso-card__excerpt {
        min-height: 72px;
    }

    .ppa-corso-card__price {
        font-size: 18px;
    }

    .ppa-corso-card__cta {
        border-radius: 4px;
    }
}


/* ==================================================
   HERO CATEGORIE CORSI
   ================================================== */

/* --- COLOR SECTION ENFOLD --- */

.ppa-hero-categorie-corsi-section {
  position: relative;
  overflow: hidden;
}

/* --- FIX ENFOLD: HERO FULL WIDTH --- */

.ppa-hero-categorie-corsi-section .container {
  width: 100% !important;
  max-width: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.ppa-hero-categorie-corsi-section .content {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* --- OVERLAY SULLA COLOR SECTION --- */

.ppa-hero-categorie-corsi-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(5, 24, 42, 0.97) 0%,
    rgba(5, 24, 42, 0.94) 30%,
    rgba(5, 24, 42, 0.72) 50%,
    rgba(5, 24, 42, 0.32) 72%,
    rgba(5, 24, 42, 0.08) 100%
  );
  z-index: 1;
  pointer-events: none;
}

/* --- CONTENUTO HERO --- */

.ppa-course-hero {
  position: relative;
  z-index: 2;
  min-height: 320px;
  display: flex;
  align-items: center;
  padding: 70px 0 70px 14%;
  box-sizing: border-box;
}

/* --- BOX TESTO --- */

.ppa-course-hero__content {
  max-width: 560px;
  color: #ffffff;
}

/* --- TITOLO --- */

.ppa-course-hero__content h1 {
  margin: 0 0 18px;
  font-size: clamp(42px, 4.8vw, 66px);
  line-height: 0.95;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: #ffffff !important;
  text-transform: uppercase;
}

/* --- SOTTOTITOLO --- */

.ppa-course-hero__subtitle {
  margin: 0 0 18px;
  font-size: clamp(20px, 2.1vw, 30px);
  line-height: 1.18;
  font-weight: 700;
  color: #ffd429 !important;
}

/* --- DESCRIZIONE --- */

.ppa-course-hero__text {
  margin: 0;
  max-width: 500px;
  font-size: 17px;
  line-height: 1.55;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.88) !important;
}

/* ==================================================
   HERO CATEGORIE CORSI - RESPONSIVE
   ================================================== */

/* --- TABLET --- */

@media only screen and (max-width: 989px) {
  .ppa-course-hero {
    min-height: 300px;
    padding: 60px 0 60px 7%;
  }

  .ppa-hero-categorie-corsi-section::before {
    background: linear-gradient(
      90deg,
      rgba(5, 24, 42, 0.97) 0%,
      rgba(5, 24, 42, 0.92) 45%,
      rgba(5, 24, 42, 0.52) 78%,
      rgba(5, 24, 42, 0.22) 100%
    );
  }

  .ppa-course-hero__content {
    max-width: 540px;
  }
}

/* --- MOBILE --- */

@media only screen and (max-width: 767px) {
  .ppa-course-hero {
    min-height: 100px;
    padding: 56px 26px;
  }

  .ppa-hero-categorie-corsi-section::before {
    background: rgba(5, 24, 42, 0.88);
  }

  .ppa-course-hero__content {
    max-width: 100%;
  }

  .ppa-course-hero__content h1 {
    margin-bottom: 16px;
    font-size: 38px;
    line-height: 1;
    letter-spacing: -0.03em;
  }

  .ppa-course-hero__subtitle {
    margin-bottom: 16px;
    font-size: 22px;
    line-height: 1.22;
  }

  .ppa-course-hero__text {
    font-size: 16px;
    line-height: 1.5;
  }
}

/* ==================================================
   PPA - Mission | Crediamo nei sogni
================================================== */

.ppa-mission-belief {
  display: grid;
  grid-template-columns: 1fr 2.05fr;
  gap: 58px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 76px 40px 72px;
  color: #08285f;
}

/* --- Testo sinistra --- */

.ppa-mission-belief__text {
  padding-top: 4px;
}

.ppa-mission-belief__text h2 {
  margin: 0 0 30px;
  font-size: 25px;
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #08285f;
}

.ppa-mission-belief__text p {
  margin: 0 0 24px;
  max-width: 390px;
  font-size: 15px;
  line-height: 1.75;
  font-weight: 500;
  color: #233b63;
}

/* --- Griglia valori destra --- */

.ppa-mission-belief__values {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  position: relative;
}

.ppa-mission-belief__values::before,
.ppa-mission-belief__values::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 8px;
  width: 1px;
  background: rgba(8, 40, 95, 0.12);
}

.ppa-mission-belief__values::before {
  left: 0;
}

.ppa-mission-belief__values::after {
  left: 50%;
}

.ppa-mission-belief__item {
  min-height: 220px;
  padding: 0 42px 36px;
}

.ppa-mission-belief__item:nth-child(3),
.ppa-mission-belief__item:nth-child(4) {
  padding-top: 26px;
}

/* --- Icone --- */

.ppa-mission-belief__icon {
  width: 56px;
  height: 56px;
  margin: 0 0 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0046b8;
  background: #ffffff;
  border: 1px solid rgba(0, 70, 184, 0.16);
  box-shadow: 0 10px 26px rgba(8, 40, 95, 0.08);
}

.ppa-mission-belief__icon .av-icon-char {
  display: block;
  color: #0046b8;
  font-size: 24px;
  line-height: 1;
  font-family: "entypo-fontello";
  speak: none;
}

/* --- Titoli e testi card --- */

.ppa-mission-belief__item h3 {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: #08285f;
}

.ppa-mission-belief__item p {
  margin: 0;
  max-width: 220px;
  font-size: 12px;
  line-height: 1.65;
  font-weight: 500;
  color: #233b63;
}

/* ==================================================
   PPA - Mission | Responsive
================================================== */

@media only screen and (max-width: 989px) {
  .ppa-mission-belief {
    grid-template-columns: 1fr;
    gap: 42px;
    padding: 64px 30px;
  }

  .ppa-mission-belief__text p {
    max-width: 620px;
  }
}

@media only screen and (max-width: 767px) {
  .ppa-mission-belief {
    padding: 52px 22px;
  }

  .ppa-mission-belief__text h2 {
    font-size: 23px;
  }

  .ppa-mission-belief__values {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .ppa-mission-belief__values::before,
  .ppa-mission-belief__values::after {
    display: none;
  }

  .ppa-mission-belief__item {
    min-height: auto;
    padding: 0 0 0 24px !important;
    border-left: 1px solid rgba(8, 40, 95, 0.14);
  }

  .ppa-mission-belief__item p {
    max-width: 100%;
  }
}


/* ==================================================
   PPA - Mission | Banner centrale
================================================== */

.ppa-mission-banner {
  min-height: 300px;
  text-align: center;
}

/* --- Reset wrapper Enfold --- */

.ppa-mission-banner .container {
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ppa-mission-banner .content,
.ppa-mission-banner .entry-content-wrapper,
.ppa-mission-banner .avia_codeblock_section {
  width: 100%;
  padding: 0 !important;
  margin: 0 auto !important;
}

/* --- Testo piccolo --- */

.ppa-mission-banner p {
  margin: 0 0 8px !important;
  font-size: 22px;
  line-height: 1.3;
  font-weight: 400;
  color: #ffffff;
  text-align: center;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

/* --- Titolo principale --- */

.ppa-mission-banner h2 {
  margin: 0 !important;
  font-size: 28px;
  line-height: 1.22;
  font-weight: 800;
  color: #ffffff;
  text-align: center;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
}

/* ==================================================
   PPA - Metodo | Steps timeline
================================================== */

.ppa-method-steps {
  --ppa-method-marker-size: 76px;

  max-width: 1160px;
  margin: 0 auto;
  padding: 72px 24px 80px;
}

/* --- Header --- */

.ppa-method-steps__header {
  max-width: 640px;
  margin: 0 auto 54px;
  text-align: center;
}

.ppa-method-steps__header h2 {
  margin: 0 0 18px;
  font-size: 28px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #08285f;
}

.ppa-method-steps__header p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  font-weight: 500;
  color: #31466f;
}

/* --- Lista steps --- */

.ppa-method-steps__list {
  position: relative;
  display: grid;
  gap: 42px;
}

/* --- Linea verticale tratteggiata --- */

.ppa-method-steps__list::before {
  content: "";
  position: absolute;
  top: calc(var(--ppa-method-marker-size) / 2);
  bottom: calc(var(--ppa-method-marker-size) / 2);
  left: calc(var(--ppa-method-marker-size) / 2);
  width: 2px;
  background-image: linear-gradient(
    to bottom,
    rgba(0, 70, 184, 0.35) 45%,
    rgba(255, 255, 255, 0) 0%
  );
  background-size: 2px 10px;
  background-repeat: repeat-y;
}

/* --- Singolo step --- */

.ppa-method-step {
  display: grid;
  grid-template-columns: 76px minmax(280px, 1fr) 420px;
  gap: 38px;
  align-items: start;
  position: relative;
}

/* --- Icona timeline --- */

.ppa-method-step__marker {
  position: relative;
  z-index: 2;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid rgba(8, 40, 95, 0.10);
  box-shadow: 0 10px 26px rgba(8, 40, 95, 0.10);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ppa-method-step__marker img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  display: block;
  filter: invert(22%) sepia(95%) saturate(1842%) hue-rotate(211deg) brightness(88%) contrast(101%);
}

/* --- Testo step --- */

.ppa-method-step__text {
  padding-top: 4px;
}

.ppa-method-step__text h3 {
  margin: 0 0 16px;
  font-size: 17px;
  line-height: 1.25;
  font-weight: 800;
  color: #08285f;
}

.ppa-method-step__text p {
  margin: 0;
  max-width: 250px;
  font-size: 14px;
  line-height: 1.65;
  font-weight: 500;
  color: #31466f;
}

/* --- Immagine step --- */

.ppa-method-step__image {
  width: 100%;
}

.ppa-method-step__image img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(8, 40, 95, 0.08);
}

/* ==================================================
   PPA - Metodo | Responsive
================================================== */

@media only screen and (max-width: 989px) {
  .ppa-method-steps {
    max-width: 760px;
    padding: 64px 24px 72px;
  }

  .ppa-method-step {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 26px;
  }

  .ppa-method-step__image {
    grid-column: 2;
  }

  .ppa-method-step__image img {
    height: auto;
  }
}

@media only screen and (max-width: 767px) {
  .ppa-method-steps {
    --ppa-method-marker-size: 62px;

    padding: 54px 20px 64px;
  }

  .ppa-method-steps__header {
    margin-bottom: 42px;
  }

  .ppa-method-steps__header h2 {
    font-size: 24px;
  }

  .ppa-method-steps__header p br {
    display: none;
  }

  .ppa-method-steps__list {
    gap: 36px;
  }

  .ppa-method-steps__list::before {
    top: calc(var(--ppa-method-marker-size) / 2);
    bottom: calc(var(--ppa-method-marker-size) / 2);
    left: calc(var(--ppa-method-marker-size) / 2);
  }

  .ppa-method-step {
    grid-template-columns: 62px 1fr;
    gap: 20px;
    align-items: start;
  }

  .ppa-method-step__marker {
    width: 62px;
    height: 62px;
  }

  .ppa-method-step__marker img {
    width: 32px;
    height: 32px;
  }

  .ppa-method-step__text {
    padding-top: 2px;
  }

  .ppa-method-step__text h3 {
    font-size: 16px;
    margin-bottom: 10px;
  }

  .ppa-method-step__text p {
    max-width: 100%;
    font-size: 14px;
  }

  .ppa-method-step__image {
    grid-column: 1 / -1;
    padding-left: 82px;
  }

  .ppa-method-step__image img {
    height: auto;
    border-radius: 12px;
  }
}

/* ==================================================
   PPA - Metodo | CTA finale
================================================== */

.ppa-method-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 26px 30px;
  border-radius: 18px;
  background: linear-gradient(90deg, #2157ba 0%, #1f56b7 45%, #1d4eab 100%);
  box-shadow: 0 10px 24px rgba(8, 40, 95, 0.10);
}

/* --- Icona --- */

.ppa-method-cta__icon {
  flex: 0 0 72px;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.ppa-method-cta__icon .av-icon-char {
  display: block;
  color: #ffffff;
  font-size: 36px;
  line-height: 1;
  font-family: "entypo-fontello";
  speak: none;
}

/* --- Testo --- */

.ppa-method-cta__text {
  flex: 1 1 auto;
}

.ppa-method-cta__text p {
  margin: 0;
  font-size: 18px;
  line-height: 1.4;
  font-weight: 600;
  color: #ffffff;
}

/* --- Bottone --- */

.ppa-method-cta__action {
  flex: 0 0 auto;
}

.ppa-method-cta__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 28px;
  border-radius: 10px;
  background: #ffffff;
  color: #18479e !important;
  font-size: 15px;
  line-height: 1;
  font-weight: 800;
  text-decoration: none !important;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ppa-method-cta__button:link,
.ppa-method-cta__button:visited,
.ppa-method-cta__button:hover,
.ppa-method-cta__button:focus,
.ppa-method-cta__button:active {
  color: #18479e !important;
  text-decoration: none !important;
}

.ppa-method-cta__button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.10);
}

.ppa-method-cta__button span {
  color: #18479e !important;
  font-size: 18px;
  line-height: 1;
}

/* ==================================================
   PPA - Metodo | CTA finale responsive
================================================== */

@media only screen and (max-width: 989px) {
  .ppa-method-cta {
    gap: 22px;
    padding: 24px 24px;
  }

  .ppa-method-cta__text p {
    font-size: 17px;
  }

  .ppa-method-cta__button {
    min-height: 52px;
    padding: 0 22px;
    font-size: 14px;
  }
}

@media only screen and (max-width: 767px) {
  .ppa-method-cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 20px;
    gap: 18px;
  }

  .ppa-method-cta__icon {
    width: 64px;
    height: 64px;
    flex-basis: 64px;
  }

  .ppa-method-cta__icon .av-icon-char {
    font-size: 32px;
  }

  .ppa-method-cta__text p {
    font-size: 16px;
  }

  .ppa-method-cta__action,
  .ppa-method-cta__button {
    width: 100%;
  }

  .ppa-method-cta__button {
    min-height: 50px;
    padding: 0 18px;
  }
}

/* ==================================================
   PPA - Contest Mascotte | Pagina contest - Intro
================================================== */



/* --- Layout principale --- */

.ppa-mascotte-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 64px;
  align-items: start;
  max-width: 1180px;
  margin: 0 auto;
  padding: 70px 28px 58px;
}

/* --- Testo sinistra --- */

.ppa-mascotte-intro__text {
  max-width: 430px;
}

.ppa-mascotte-intro__text h2 {
  margin: 0 0 24px;
  font-size: 28px;
  line-height: 1.15;
  font-weight: 800;
  text-transform: uppercase;
  color: #08285f;
}

.ppa-mascotte-intro__text p {
  margin: 0 0 22px;
  font-size: 15px;
  line-height: 1.75;
  font-weight: 500;
  color: #31466f;
}

/* --- Card destra --- */

.ppa-mascotte-submit-card {
  padding: 34px 34px 28px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid rgba(8, 40, 95, 0.10);
  box-shadow: 0 14px 36px rgba(8, 40, 95, 0.10);
}

.ppa-mascotte-submit-card h3 {
  margin: 0 0 22px;
  font-size: 19px;
  line-height: 1.2;
  font-weight: 800;
  text-transform: uppercase;
  color: #08285f;
}

.ppa-mascotte-submit-card ul {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ppa-mascotte-submit-card li {
  position: relative;
  margin: 0;
  padding-left: 30px;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 600;
  color: #31466f;
}

.ppa-mascotte-submit-card li::before {
  content: "✓";
  position: absolute;
  top: -1px;
  left: 0;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eef4ff;
  color: #0e4bb3;
  font-size: 12px;
  font-weight: 900;
}

/* --- Nota formato --- */

.ppa-mascotte-note {
  margin-top: 28px;
  padding: 18px 20px;
  border-radius: 10px;
  background: #f3f6fb;
  color: #31466f;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 500;
}

.ppa-mascotte-note strong {
  color: #08285f;
  font-weight: 800;
}

/* ==================================================
   PPA - Contest Mascotte | Intro responsive
================================================== */

@media only screen and (max-width: 989px) {
  .ppa-mascotte-intro {
    grid-template-columns: 1fr;
    gap: 34px;
    max-width: 760px;
    padding: 58px 28px 52px;
  }

  .ppa-mascotte-intro__text {
    max-width: 620px;
  }

  .ppa-mascotte-submit-card {
    max-width: 520px;
  }
}

@media only screen and (max-width: 767px) {
  .ppa-mascotte-intro {
    padding: 48px 22px 46px;
  }

  .ppa-mascotte-intro__text h2 {
    font-size: 24px;
  }

  .ppa-mascotte-intro__text p {
    font-size: 15px;
    line-height: 1.65;
  }

  .ppa-mascotte-submit-card {
    padding: 26px 22px 24px;
    border-radius: 14px;
  }

  .ppa-mascotte-submit-card h3 {
    font-size: 18px;
  }
}

/* ==================================================
   PPA - Contest Mascotte | Pagina contest - Valori
================================================== */

/* --- Layout sezione --- */

.ppa-mascotte-values {
  max-width: 1180px;
  margin: 0 auto;
  padding: 36px 28px 70px;
}

/* --- Header sezione --- */

.ppa-mascotte-values__header {
  max-width: 680px;
  margin: 0 auto 34px;
  text-align: center;
}

.ppa-mascotte-values__header h2 {
  margin: 0 0 16px;
  font-size: 28px;
  line-height: 1.15;
  font-weight: 800;
  text-transform: uppercase;
  color: #08285f;
}

.ppa-mascotte-values__header p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  font-weight: 500;
  color: #31466f;
}

/* --- Griglia valori --- */

.ppa-mascotte-values__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

/* --- Card valore --- */

.ppa-mascotte-value-card {
  min-height: 178px;
  padding: 22px 13px 18px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid rgba(8, 40, 95, 0.09);
  box-shadow: 0 10px 26px rgba(8, 40, 95, 0.08);
  text-align: center;
  box-sizing: border-box;
}

.ppa-mascotte-value-card__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 15px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eef4ff;
  color: #0e4bb3;
  font-size: 24px;
  line-height: 1;
}

.ppa-mascotte-value-card h3 {
  margin: 0 0 9px;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 800;
  text-transform: uppercase;
  color: #08285f;
}

.ppa-mascotte-value-card p {
  margin: 0;
  font-size: 11px;
  line-height: 1.45;
  font-weight: 500;
  color: #31466f;
}

/* ==================================================
   PPA - Contest Mascotte | Pagina contest - Valori responsive
================================================== */

@media only screen and (max-width: 1180px) {
  .ppa-mascotte-values__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media only screen and (max-width: 989px) {
  .ppa-mascotte-values {
    max-width: 760px;
    padding: 28px 28px 62px;
  }

  .ppa-mascotte-values__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .ppa-mascotte-value-card {
    min-height: 160px;
    padding: 24px 20px 20px;
  }

  .ppa-mascotte-value-card p {
    font-size: 12px;
  }
}

@media only screen and (max-width: 767px) {
  .ppa-mascotte-values {
    padding: 26px 22px 54px;
  }

  .ppa-mascotte-values__header {
    margin-bottom: 26px;
    text-align: left;
  }

  .ppa-mascotte-values__header h2 {
    font-size: 24px;
  }

  .ppa-mascotte-values__header p {
    font-size: 15px;
    line-height: 1.6;
  }

  .ppa-mascotte-values__grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .ppa-mascotte-value-card {
    min-height: auto;
    display: grid;
    grid-template-columns: 50px 1fr;
    column-gap: 16px;
    align-items: center;
    text-align: left;
    padding: 18px;
  }

  .ppa-mascotte-value-card__icon {
    grid-row: 1 / span 2;
    width: 50px;
    height: 50px;
    margin: 0;
    font-size: 23px;
  }

  .ppa-mascotte-value-card h3 {
    margin-bottom: 4px;
    font-size: 14px;
  }

  .ppa-mascotte-value-card p {
    font-size: 12px;
    line-height: 1.5;
  }
}

/* ==================================================
   PPA - Contest Mascotte | Pagina contest - Come partecipare
================================================== */

/* --- Sezione principale --- */

.ppa-mascotte-how {
  max-width: 1180px;
  margin: 0 auto;
  padding: 22px 28px 72px;
}

/* --- Titolo --- */

.ppa-mascotte-how h2 {
  margin: 0 0 42px;
  font-size: 28px;
  line-height: 1.15;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
  color: #08285f;
}

/* --- Griglia step --- */

.ppa-mascotte-how__steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 48px;
}

/* --- Linea tratteggiata dietro i numeri --- */

.ppa-mascotte-how__steps::before {
  content: "";
  position: absolute;
  top: 15px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background-image: linear-gradient(
    to right,
    rgba(8, 40, 95, 0.24) 45%,
    rgba(255, 255, 255, 0) 0%
  );
  background-size: 10px 2px;
  background-repeat: repeat-x;
  z-index: 0;
}

/* --- Card singola --- */

.ppa-mascotte-how-card {
  position: relative;
  z-index: 1;
  padding-top: 50px;
  text-align: center;
}

/* --- Numero --- */

.ppa-mascotte-how-card__number {
  position: absolute;
  top: 0;
  left: 50%;
  width: 34px;
  height: 34px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: #0e4bb3;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  line-height: 1;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(14, 75, 179, 0.24);
}

/* --- Box contenuto --- */

.ppa-mascotte-how-card {
  min-height: 130px;
}

.ppa-mascotte-how-card::after {
  content: "";
  position: absolute;
  top: 58px;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid rgba(8, 40, 95, 0.10);
  box-shadow: 0 10px 26px rgba(8, 40, 95, 0.07);
  z-index: -1;
}

/* --- Icona --- */

.ppa-mascotte-how-card__icon {
  margin: 0 auto 12px;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #164aa5;
  font-size: 30px;
  line-height: 1;
}

/* --- Titolo card --- */

.ppa-mascotte-how-card h3 {
  margin: 0 0 6px;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 800;
  color: #08285f;
}

/* --- Testo card --- */

.ppa-mascotte-how-card p {
  margin: 0 auto;
  max-width: 150px;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 600;
  color: #31466f;
}

/* ==================================================
   PPA - Contest Mascotte | Pagina contest - Come partecipare responsive
================================================== */

@media only screen and (max-width: 989px) {
  .ppa-mascotte-how {
    max-width: 760px;
    padding: 18px 28px 64px;
  }

  .ppa-mascotte-how__steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px 42px;
  }

  .ppa-mascotte-how__steps::before {
    display: none;
  }
}

@media only screen and (max-width: 767px) {
  .ppa-mascotte-how {
    padding: 12px 22px 54px;
  }

  .ppa-mascotte-how h2 {
    margin-bottom: 28px;
    font-size: 24px;
    text-align: left;
  }

  .ppa-mascotte-how__steps {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .ppa-mascotte-how-card {
    min-height: auto;
    padding: 18px 18px 18px 70px;
    text-align: left;
  }

  .ppa-mascotte-how-card::after {
    top: 0;
    border-radius: 14px;
  }

  .ppa-mascotte-how-card__number {
    top: 22px;
    left: 24px;
    transform: none;
  }

  .ppa-mascotte-how-card__icon {
    display: none;
  }

  .ppa-mascotte-how-card p {
    max-width: none;
    margin: 0;
  }
}

/* ==================================================
   PPA - Contest Mascotte | Pagina contest - Giuria e premio
================================================== */

/* --- Layout sezione --- */

.ppa-mascotte-award {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px 72px;
}

/* --- Card giuria --- */

.ppa-mascotte-jury-card {
  padding: 38px 42px 34px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid rgba(8, 40, 95, 0.10);
  box-shadow: 0 12px 30px rgba(8, 40, 95, 0.08);
}

.ppa-mascotte-jury-card h2 {
  margin: 0 0 18px;
  font-size: 25px;
  line-height: 1.15;
  font-weight: 800;
  text-transform: uppercase;
  color: #08285f;
}

.ppa-mascotte-jury-card p {
  margin: 0;
  max-width: 520px;
  font-size: 15px;
  line-height: 1.75;
  font-weight: 500;
  color: #31466f;
}

/* --- Tag criteri --- */

.ppa-mascotte-jury-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.ppa-mascotte-jury-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid rgba(8, 40, 95, 0.10);
  color: #164aa5;
  font-size: 13px;
  line-height: 1;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(8, 40, 95, 0.05);
}

/* --- Card borsa di studio --- */

.ppa-mascotte-scholarship-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 26px;
  align-items: center;
  padding: 42px 44px;
  border-radius: 18px;
  background: linear-gradient(135deg, #07306e 0%, #0e4bb3 52%, #08285f 100%);
  box-shadow: 0 14px 34px rgba(8, 40, 95, 0.18);
  color: #ffffff;
}

.ppa-mascotte-scholarship-card::before {
  content: "";
  position: absolute;
  right: -120px;
  top: 50%;
  transform: translateY(-50%);
  width: 320px;
  height: 320px;
  border-radius: 50%;
  border: 28px solid rgba(255, 255, 255, 0.06);
  background: transparent;
  pointer-events: none;
}

.ppa-mascotte-scholarship-card::after {
  content: "";
  position: absolute;
  right: 36px;
  top: 30px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.08) 0%,
    rgba(255, 255, 255, 0.03) 45%,
    rgba(255, 255, 255, 0) 75%
  );
  pointer-events: none;
}

/* --- Icona premio --- */

.ppa-mascotte-scholarship-card__icon {
  position: relative;
  z-index: 1;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 38px;
  line-height: 1;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.ppa-mascotte-scholarship-card__text {
  position: relative;
  z-index: 1;
}

.ppa-mascotte-scholarship-card h2 {
  margin: 0 0 14px;
  font-size: 28px;
  line-height: 1.15;
  font-weight: 800;
  text-transform: uppercase;
  color: #ffffff !important;
}

.ppa-mascotte-scholarship-card p {
  margin: 0 0 14px;
  max-width: 420px;
  font-size: 16px;
  line-height: 1.55;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92) !important;
}

.ppa-mascotte-scholarship-card p:last-child {
  margin-bottom: 0;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82) !important;
}

/* ==================================================
   PPA - Contest Mascotte | Pagina contest - Giuria e premio responsive
================================================== */

@media only screen and (max-width: 989px) {
  .ppa-mascotte-award {
    grid-template-columns: 1fr;
    max-width: 760px;
    padding: 0 28px 64px;
  }
}

@media only screen and (max-width: 767px) {
  .ppa-mascotte-award {
    padding: 0 22px 54px;
  }

  .ppa-mascotte-jury-card {
    padding: 28px 22px 24px;
    border-radius: 16px;
  }

  .ppa-mascotte-jury-card h2 {
    font-size: 23px;
  }

  .ppa-mascotte-jury-tags {
    gap: 10px;
  }

  .ppa-mascotte-jury-tags span {
    min-height: 38px;
    padding: 0 13px;
    font-size: 12px;
  }

  .ppa-mascotte-scholarship-card {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 30px 24px;
    border-radius: 16px;
  }

  .ppa-mascotte-scholarship-card__icon {
    width: 72px;
    height: 72px;
    font-size: 32px;
  }

  .ppa-mascotte-scholarship-card h2 {
    font-size: 24px;
  }

  .ppa-mascotte-scholarship-card p {
    font-size: 15px;
  }
}


/* ==================================================
   PPA - Contest Mascotte | Pagina contest - Regolamento
================================================== */

/* --- Blocco regolamento --- */

.ppa-mascotte-rules-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  width: calc(100% - 56px);
  max-width: 1124px;
  margin: 0 auto;
  padding: 34px 38px;
  box-sizing: border-box;
  border-radius: 20px;
  background: #f4f7fc;
  border: 1px solid rgba(8, 40, 95, 0.10);
  box-shadow: 0 12px 30px rgba(8, 40, 95, 0.07);
}

/* --- Spaziatura rispetto ai blocchi vicini --- */

.ppa-mascotte-rules-cta {
  margin-bottom: 72px;
}

/* --- Testo piccolo sopra --- */

.ppa-mascotte-rules-cta__eyebrow {
  display: inline-flex;
  margin: 0 0 10px;
  color: #0e4bb3;
  font-size: 13px;
  line-height: 1;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* --- Titolo --- */

.ppa-mascotte-rules-cta h2 {
  margin: 0 0 12px;
  font-size: 30px;
  line-height: 1.15;
  font-weight: 800;
  color: #08285f;
}

/* --- Testo --- */

.ppa-mascotte-rules-cta p {
  margin: 0;
  max-width: 720px;
  font-size: 15px;
  line-height: 1.65;
  font-weight: 500;
  color: #31466f;
}

/* --- Azione --- */

.ppa-mascotte-rules-cta__action {
  display: flex;
  justify-content: flex-end;
}

/* --- Bottone --- */

.ppa-mascotte-rules-cta__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 26px;
  border-radius: 10px;
  background: #0e4bb3;
  color: #ffffff !important;
  font-size: 14px;
  line-height: 1;
  font-weight: 800;
  text-transform: uppercase;
  text-decoration: none !important;
  white-space: nowrap;
  box-shadow: 0 10px 24px rgba(14, 75, 179, 0.22);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.ppa-mascotte-rules-cta__button:hover {
  transform: translateY(-2px);
  background: #083b94;
  color: #ffffff !important;
  box-shadow: 0 14px 28px rgba(14, 75, 179, 0.28);
}

/* ==================================================
   PPA - Contest Mascotte | Pagina contest - Regolamento responsive
================================================== */

@media only screen and (max-width: 989px) {
  .ppa-mascotte-rules-cta {
    grid-template-columns: 1fr;
    max-width: 704px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 64px;
    padding: 32px 30px;
  }

  .ppa-mascotte-rules-cta__action {
    justify-content: flex-start;
  }
}

@media only screen and (max-width: 767px) {
  .ppa-mascotte-rules-cta {
    margin: 0 22px 54px;
    padding: 28px 22px;
    border-radius: 16px;
  }

  .ppa-mascotte-rules-cta h2 {
    font-size: 24px;
  }

  .ppa-mascotte-rules-cta p {
    font-size: 15px;
    line-height: 1.6;
  }

  .ppa-mascotte-rules-cta__button {
    width: 100%;
    min-height: 52px;
    padding: 0 18px;
  }
}


/* ==================================================
   PPA - Contest Mascotte | Pagina contest - Form proposta
================================================== */

/* --- Layout sezione --- */

.ppa-mascotte-form-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px 76px;
  box-sizing: border-box;
}

/* --- Header --- */

.ppa-mascotte-form-section__header {
  max-width: 720px;
  margin: 0 0 28px;
  text-align: left;
}

.ppa-mascotte-form-section__header h2 {
  margin: 0 0 12px;
  font-size: 28px;
  line-height: 1.15;
  font-weight: 800;
  text-transform: uppercase;
  color: #08285f;
}

.ppa-mascotte-form-section__header p {
  margin: 0;
  max-width: 680px;
  font-size: 15px;
  line-height: 1.65;
  font-weight: 500;
  color: #31466f;
}

/* --- Layout form + termine consegna --- */

.ppa-mascotte-form-layout {
  display: grid;
  grid-template-columns: minmax(0, 780px) 300px;
  gap: 28px;
  align-items: start;
}

/* --- Box form --- */

.ppa-mascotte-form-placeholder {
  min-height: 260px;
  padding: 34px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid rgba(8, 40, 95, 0.10);
  box-shadow: 0 12px 30px rgba(8, 40, 95, 0.08);
  box-sizing: border-box;
}

/* --- Card termine consegna --- */

.ppa-mascotte-deadline {
  padding: 34px 28px 30px;
  border-radius: 18px;
  background: #f4f7fc;
  border: 1px solid rgba(8, 40, 95, 0.10);
  box-shadow: 0 12px 30px rgba(8, 40, 95, 0.07);
  box-sizing: border-box;
}

.ppa-mascotte-deadline__icon {
  width: 58px;
  height: 58px;
  margin: 0 0 24px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  color: #0e4bb3;
  font-size: 28px;
  line-height: 1;
  border: 1px solid rgba(8, 40, 95, 0.10);
  box-shadow: 0 8px 18px rgba(8, 40, 95, 0.06);
}

.ppa-mascotte-deadline h3 {
  margin: 0 0 14px;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 800;
  text-transform: uppercase;
  color: #08285f;
}

.ppa-mascotte-deadline__date {
  margin: 0 0 20px;
}

.ppa-mascotte-deadline__date span {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 0 16px;
  border-radius: 10px;
  background: #ffffff;
  color: #0e4bb3;
  font-size: 14px;
  line-height: 1;
  font-weight: 900;
  border: 1px solid rgba(8, 40, 95, 0.10);
}

.ppa-mascotte-deadline p {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  font-weight: 600;
  color: #31466f;
}

/* ==================================================
   PPA - Contest Mascotte | Contact Form 7
================================================== */

/* --- Reset wrapper CF7 --- */

.ppa-mascotte-form-placeholder .wpcf7 {
  width: 100%;
}

.ppa-mascotte-form-placeholder .wpcf7 form {
  margin: 0;
}

.ppa-cf7-mascotte-form {
  width: 100%;
}

/* --- Reset spazi generati da CF7 / Enfold --- */

.ppa-cf7-mascotte-form p,
.ppa-cf7-field p,
.ppa-cf7-field > p {
  margin: 0 !important;
  padding: 0 !important;
}

.ppa-cf7-field br,
.ppa-cf7-mascotte-form br {
  display: none !important;
}

/* --- Righe form --- */

.ppa-cf7-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin: 0 0 18px;
}

.ppa-cf7-row--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 16px;
  row-gap: 0;
  margin-bottom: 18px;
}

.ppa-cf7-row--3 {
  grid-template-columns: 1.2fr 1.2fr 0.7fr;
  column-gap: 16px;
  row-gap: 0;
  margin-bottom: 20px;
}

.ppa-cf7-row:last-child {
  margin-bottom: 0;
}

/* --- Campo singolo --- */

.ppa-cf7-field {
  width: 100%;
  margin: 0;
  padding: 0;
  min-width: 0;
}

.ppa-cf7-field label {
  display: block;
  margin: 0 0 6px !important;
  padding: 0 !important;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 800;
  color: #08285f;
}

.ppa-cf7-field label span {
  font-weight: 500;
  color: #31466f;
}

.ppa-cf7-field .wpcf7-form-control-wrap {
  display: block;
  margin: 0 !important;
  padding: 0 !important;
}

/* --- Input base --- */

.ppa-cf7-mascotte-form input[type="text"],
.ppa-cf7-mascotte-form input[type="email"],
.ppa-cf7-mascotte-form input[type="tel"],
.ppa-cf7-mascotte-form input[type="date"],
.ppa-cf7-mascotte-form textarea {
  width: 100% !important;
  margin: 0 !important;
  border-radius: 8px !important;
  border: 1px solid #dbe3ef !important;
  background: #ffffff !important;
  box-shadow: none !important;
  color: #08285f !important;
  font-size: 13px !important;
  line-height: 1.4 !important;
  font-weight: 500 !important;
  box-sizing: border-box !important;
}

.ppa-cf7-mascotte-form input[type="text"],
.ppa-cf7-mascotte-form input[type="email"],
.ppa-cf7-mascotte-form input[type="tel"],
.ppa-cf7-mascotte-form input[type="date"] {
  height: 42px !important;
  min-height: 42px !important;
  padding: 0 14px !important;
}

.ppa-cf7-mascotte-form textarea {
  height: 130px !important;
  min-height: 130px !important;
  padding: 12px 14px !important;
  resize: vertical;
}

.ppa-cf7-mascotte-form input::placeholder,
.ppa-cf7-mascotte-form textarea::placeholder {
  color: #8fa0bd !important;
  opacity: 1;
}

/* --- Focus --- */

.ppa-cf7-mascotte-form input[type="text"]:focus,
.ppa-cf7-mascotte-form input[type="email"]:focus,
.ppa-cf7-mascotte-form input[type="tel"]:focus,
.ppa-cf7-mascotte-form input[type="date"]:focus,
.ppa-cf7-mascotte-form textarea:focus {
  border-color: #0e4bb3 !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(14, 75, 179, 0.10) !important;
}

/* --- Upload box --- */

.ppa-cf7-upload-area {
  display: grid;
  gap: 8px;
}

.ppa-cf7-upload-box {
  position: relative;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 14px 18px;
  border-radius: 10px;
  border: 2px dashed rgba(14, 75, 179, 0.26);
  background: #f8fbff;
  box-sizing: border-box;
  overflow: hidden;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.ppa-cf7-upload-box.is-file-selected {
  border-color: rgba(14, 75, 179, 0.65);
  background: #eef4ff;
  box-shadow: 0 0 0 3px rgba(14, 75, 179, 0.08);
}

.ppa-cf7-upload-box .wpcf7-form-control-wrap {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.ppa-cf7-upload-box input[type="file"] {
  width: 100% !important;
  height: 100% !important;
  opacity: 0;
  cursor: pointer;
}

.ppa-cf7-upload-text {
  position: relative;
  z-index: 1;
  padding-left: 48px;
  text-align: left;
  color: #31466f;
}

.ppa-cf7-upload-text::before {
  content: "☁";
  position: absolute;
  top: 50%;
  left: 0;
  width: 36px;
  height: 36px;
  transform: translateY(-50%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0e4bb3;
  font-size: 28px;
  line-height: 1;
}

.ppa-cf7-upload-text strong {
  display: block;
  margin: 0 0 4px;
  font-size: 13px;
  line-height: 1.25;
  font-weight: 800;
  color: #31466f;
}

.ppa-cf7-upload-text span {
  display: block;
  font-size: 11px;
  line-height: 1.3;
  font-weight: 600;
  color: #6b7a95;
}

.ppa-cf7-upload-filename {
  min-height: 18px;
  padding: 0 2px;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 700;
  color: #6b7a95;
}

.ppa-cf7-upload-filename.is-file-selected {
  color: #0e4bb3;
}

/* --- Checkbox / consensi --- */

.ppa-cf7-privacy {
  margin: 2px 0 0;
  padding: 12px 14px;
  border-radius: 10px;
  background: #f4f7fc;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 500;
  color: #31466f;
}

.ppa-cf7-privacy .wpcf7-list-item {
  margin: 0;
}

.ppa-cf7-privacy label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 !important;
  padding: 0 !important;
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
  color: inherit;
}

.ppa-cf7-privacy input[type="checkbox"] {
  flex: 0 0 auto;
  margin: 2px 0 0;
}

.ppa-cf7-privacy a {
  color: #0e4bb3 !important;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* --- Submit --- */

.ppa-cf7-submit-wrap {
  margin-top: 2px;
}

.ppa-cf7-submit-wrap input[type="submit"],
.ppa-cf7-mascotte-form input[type="submit"] {
  width: 100% !important;
  min-height: 52px;
  margin: 0 !important;
  padding: 0 22px !important;
  border: none !important;
  border-radius: 8px !important;
  background: linear-gradient(90deg, #07306e 0%, #0e4bb3 100%) !important;
  color: #ffffff !important;
  font-size: 14px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.02em !important;
  box-shadow: 0 10px 24px rgba(14, 75, 179, 0.22) !important;
  cursor: pointer !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.ppa-cf7-submit-wrap input[type="submit"]:hover,
.ppa-cf7-mascotte-form input[type="submit"]:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
  box-shadow: 0 14px 28px rgba(14, 75, 179, 0.28) !important;
}

/* --- Messaggi CF7 --- */

.ppa-mascotte-form-placeholder .wpcf7-response-output {
  margin: 18px 0 0 !important;
  padding: 13px 16px !important;
  border-radius: 10px !important;
  font-size: 13px !important;
  line-height: 1.45 !important;
  font-weight: 600 !important;
}

.ppa-mascotte-form-placeholder .wpcf7-not-valid-tip {
  margin-top: 5px;
  font-size: 11px;
  line-height: 1.35;
  font-weight: 700;
  color: #c03434;
}

/* ==================================================
   PPA - Contest Mascotte | Form responsive
================================================== */

@media only screen and (max-width: 989px) {
  .ppa-mascotte-form-section {
    max-width: 760px;
  }

  .ppa-mascotte-form-layout {
    grid-template-columns: 1fr;
  }
}

@media only screen and (max-width: 767px) {
  .ppa-mascotte-form-section {
    padding: 0 22px 56px;
  }

  .ppa-mascotte-form-section__header {
    margin-bottom: 22px;
  }

  .ppa-mascotte-form-section__header h2 {
    font-size: 24px;
  }

  .ppa-mascotte-form-placeholder {
    min-height: 220px;
    padding: 22px;
    border-radius: 16px;
  }

  .ppa-mascotte-deadline {
    padding: 28px 22px 24px;
    border-radius: 16px;
  }

  .ppa-cf7-row,
  .ppa-cf7-row--2,
  .ppa-cf7-row--3 {
    grid-template-columns: 1fr;
    gap: 0;
    margin-bottom: 16px;
  }

  .ppa-cf7-field label {
    margin-bottom: 6px !important;
  }

  .ppa-cf7-mascotte-form input[type="text"],
  .ppa-cf7-mascotte-form input[type="email"],
  .ppa-cf7-mascotte-form input[type="tel"],
  .ppa-cf7-mascotte-form input[type="date"] {
    height: 44px !important;
    min-height: 44px !important;
  }

  .ppa-cf7-mascotte-form textarea {
    height: 120px !important;
    min-height: 120px !important;
  }

  .ppa-cf7-upload-box {
    min-height: 92px;
    justify-content: flex-start;
  }

  .ppa-cf7-upload-text {
    padding-left: 42px;
  }

  .ppa-cf7-upload-text::before {
    width: 32px;
    height: 32px;
    font-size: 24px;
  }

  .ppa-cf7-privacy {
    font-size: 12px;
  }
}

/* ========================================================= */
/* PPA MOBILE MENU CUSTOM - FULLSCREEN ACCORDION */
/* ========================================================= */

.ppa-mobile-menu-wrap,
.ppa-mobile-menu-panel {
  display: none;
}

@media only screen and (max-width: 989px) {

  /* --- Nasconde menu/burger/social Enfold su mobile --- */

  #top #header .av-burger-menu-main,
  #top #header #avia-menu,
  #top #header .social_bookmarks,
  #top #av-burger-menu-ul,
  #top .av-burger-overlay,
  #top .av-burger-overlay-scroll,
  #top .av-burger-overlay-bg,
  #top .av-burger-overlay-inner {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }

  /* --- Rimuove separatori residui Enfold --- */

  #top #header .social_bookmarks,
  #top #header .social_bookmarks li,
  #top #header .social_bookmarks li a,
  #top #header .avia-menu,
  #top #header .main_menu,
  #top #header .inner-container,
  #top #header .container {
    border-right: none !important;
    border-left: none !important;
  }

  #top #header .social_bookmarks::before,
  #top #header .social_bookmarks::after,
  #top #header .main_menu::before,
  #top #header .main_menu::after,
  #top #header .avia-menu::before,
  #top #header .avia-menu::after {
    display: none !important;
    content: none !important;
  }

  /* --- Fix logo: dimensione stabile tra tablet e mobile --- */

  #top #header .logo {
    max-width: calc(100% - 132px) !important;
    height: 82px !important;
    max-height: 82px !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
  }

  #top #header .logo a {
    display: flex !important;
    align-items: center !important;
    height: 100% !important;
    max-height: 100% !important;
  }

  #top #header .logo img {
    display: block !important;
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: 70px !important;
    object-fit: contain !important;
  }

  /* --- Bottone Menu nell'header --- */

  #top #header .ppa-mobile-menu-wrap {
    display: block !important;
    position: absolute !important;
    right: 18px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 2147483001 !important;
  }

  #top #header .ppa-mobile-menu-toggle {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    border: 0 !important;
    background: transparent !important;
    color: #0f2b4c !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    cursor: pointer !important;
    padding: 8px 0 !important;
    text-transform: uppercase !important;
  }

  #top #header .ppa-mobile-menu-icon {
    width: 26px !important;
    height: 18px !important;
    display: inline-block !important;
    position: relative !important;
    border-top: 2px solid currentColor !important;
    border-bottom: 2px solid currentColor !important;
  }

  #top #header .ppa-mobile-menu-icon::before {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    width: 26px;
    height: 2px;
    background: currentColor;
  }

  /* --- Overlay fullscreen --- */

  body.ppa-mobile-menu-open {
    overflow: hidden !important;
  }

  .ppa-mobile-menu-panel {
    display: block !important;
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    background: #ffffff !important;
    z-index: 2147483000 !important;
    overflow-y: auto !important;
    transform: translateX(100%) !important;
    transition: transform 0.28s ease !important;
    padding: 0 !important;
  }

  body.ppa-mobile-menu-open .ppa-mobile-menu-panel {
    transform: translateX(0) !important;
  }

  /* --- Nasconde testata interna del pannello: niente X e niente doppia scritta Menu --- */

  .ppa-mobile-menu-head {
    display: none !important;
  }

  /* --- Reset lista --- */

  .ppa-mobile-menu-list,
  .ppa-mobile-menu-list ul,
  .ppa-mobile-menu-list li {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
  }

  .ppa-mobile-menu-list {
    padding: 92px 24px 40px 24px !important;
  }

  .ppa-mobile-menu-list a {
    text-decoration: none !important;
  }

  /* --- Voci principali con icona --- */

  .ppa-mobile-menu-list > li {
    border-bottom: 1px solid rgba(15, 43, 76, 0.10) !important;
  }

  .ppa-mobile-menu-list > li > a {
    position: relative !important;
    display: grid !important;
    grid-template-columns: 42px 1fr auto !important;
    align-items: center !important;
    column-gap: 18px !important;
    padding: 20px 0 !important;
    color: #0f2b4c !important;
    font-size: 22px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
  }

  /* --- Icona base voci principali --- */

  .ppa-mobile-menu-list > li > a::before {
    content: "" !important;
    display: block !important;
    width: 34px !important;
    height: 34px !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-size: contain !important;
    filter: invert(13%) sepia(43%) saturate(1266%) hue-rotate(180deg) brightness(88%) contrast(98%) !important;
  }

  /* --- Icone voci principali --- */

  .ppa-mobile-menu-list > li.ppa-mobile-home > a::before {
    background-image: url("https://academy.parksplanet.it/wp-content/uploads/2026/05/home.png") !important;
  }

  .ppa-mobile-menu-list > li.ppa-mobile-formazione > a::before {
    background-image: url("https://academy.parksplanet.it/wp-content/uploads/2026/05/education.png") !important;
  }

  .ppa-mobile-menu-list > li.ppa-mobile-campus > a::before {
    background-image: url("https://academy.parksplanet.it/wp-content/uploads/2026/05/031-university.png") !important;
  }

  .ppa-mobile-menu-list > li.ppa-mobile-about > a::before {
    background-image: url("https://academy.parksplanet.it/wp-content/uploads/2026/05/ico-team.png") !important;
  }

  .ppa-mobile-menu-list > li.ppa-mobile-info > a::before {
    background-image: url("https://academy.parksplanet.it/wp-content/uploads/2026/05/info-contact.png") !important;
  }

  .ppa-mobile-menu-list > li.ppa-mobile-login > a::before {
    background-image: url("https://academy.parksplanet.it/wp-content/uploads/2026/05/login_user.png") !important;
  }

  .ppa-mobile-menu-list > li.ppa-mobile-profile > a::before {
  background-image: url("https://academy.parksplanet.it/wp-content/uploads/2026/05/ico-studente.png") !important;
}

  /* --- Freccia voci con sottomenu --- */

  .ppa-mobile-menu-list .menu-item-has-children > a::after {
    content: "›" !important;
    grid-column: 3 !important;
    justify-self: end !important;
    color: #0f2b4c !important;
    font-size: 28px !important;
    line-height: 1 !important;
    transform: rotate(90deg) !important;
    transition: transform 0.2s ease !important;
  }

  .ppa-mobile-menu-list .menu-item-has-children.ppa-submenu-open > a::after {
    transform: rotate(-90deg) !important;
  }

  /* --- Sottomenu chiusi di default --- */

  .ppa-mobile-menu-list ul {
    display: none !important;
  }

  .ppa-mobile-menu-list .ppa-submenu-open > ul {
    display: block !important;
  }

  /* --- Secondo livello --- */

  .ppa-mobile-menu-list > li > ul {
    padding: 0 0 16px 0 !important;
  }

  .ppa-mobile-menu-list > li > ul > li > a {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 14px !important;
    padding: 13px 0 13px 60px !important;
    color: #263445 !important;
    font-size: 17px !important;
    line-height: 1.3 !important;
    font-weight: 600 !important;
  }

  /* --- Terzo livello --- */

  .ppa-mobile-menu-list > li > ul > li > ul {
    padding: 0 0 10px 0 !important;
  }

  .ppa-mobile-menu-list > li > ul > li > ul > li > a {
    display: block !important;
    padding: 9px 0 9px 78px !important;
    color: #5f6670 !important;
    font-size: 15px !important;
    line-height: 1.35 !important;
    font-weight: 400 !important;
  }

  /* --- Stati attivi / visitati / hover: sempre blu istituzionale --- */

  .ppa-mobile-menu-list > li > a:hover,
  .ppa-mobile-menu-list > li > a:focus,
  .ppa-mobile-menu-list > li > a:visited,
  .ppa-mobile-menu-list > li.current-menu-item > a,
  .ppa-mobile-menu-list > li.current_page_item > a,
  .ppa-mobile-menu-list > li.current-menu-ancestor > a,
  .ppa-mobile-menu-list > li.current_page_ancestor > a {
    color: #0f2b4c !important;
  }

  .ppa-mobile-menu-list ul li > a:hover,
  .ppa-mobile-menu-list ul li > a:focus,
  .ppa-mobile-menu-list ul li > a:visited,
  .ppa-mobile-menu-list ul li.current-menu-item > a,
  .ppa-mobile-menu-list ul li.current_page_item > a,
  .ppa-mobile-menu-list ul li.current-menu-ancestor > a,
  .ppa-mobile-menu-list ul li.current_page_ancestor > a {
    color: #4b5563 !important;
  }
}

/* ========================================================= */
/* PPA MOBILE HEADER - DEVICE STRETTI */
/* ========================================================= */

@media only screen and (max-width: 430px) {

  #top #header .logo {
    max-width: calc(100% - 118px) !important;
    height: 74px !important;
    max-height: 74px !important;
  }

  #top #header .logo img {
    max-height: 62px !important;
  }

  #top #header .ppa-mobile-menu-toggle {
    gap: 6px !important;
    font-size: 13px !important;
  }

  #top #header .ppa-mobile-menu-icon {
    width: 24px !important;
    height: 17px !important;
  }

  #top #header .ppa-mobile-menu-icon::before {
    width: 24px !important;
    top: 7px !important;
  }
}

@media only screen and (max-width: 360px) {

  #top #header .logo {
    max-width: calc(100% - 78px) !important;
    height: 70px !important;
    max-height: 70px !important;
  }

  #top #header .logo img {
    max-height: 58px !important;
  }

  #top #header .ppa-mobile-menu-label {
    display: none !important;
  }

  #top #header .ppa-mobile-menu-wrap {
    right: 20px !important;
  }
}

/* ==================================================
   PPA - PATHFINDER
================================================== */

#top #ppa-pathfinder {
  --ppa-blue: #0647b7;
  --ppa-blue-dark: #061f4f;
  --ppa-blue-soft: #eaf2ff;
  --ppa-text: #0b1f44;
  --ppa-muted: #5d6b82;
  --ppa-border: #dbe5f3;
  --ppa-white: #ffffff;
  --ppa-shadow: 0 14px 35px rgba(8, 31, 79, 0.10);
  --ppa-shadow-soft: 0 8px 22px rgba(8, 31, 79, 0.08);

  width: calc(100% - 40px);
  max-width: 1180px;
  margin: -36px auto 70px;
  padding: 34px 34px 28px;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: var(--ppa-shadow);
  position: relative;
  z-index: 5;
  color: var(--ppa-text);
  font-family: inherit;
}

#top #ppa-pathfinder,
#top #ppa-pathfinder * {
  box-sizing: border-box;
}

#top #ppa-pathfinder button {
  font-family: inherit;
  appearance: none;
  -webkit-appearance: none;
}

#top #ppa-pathfinder button,
#top #ppa-pathfinder a {
  -webkit-tap-highlight-color: transparent;
}

#top #ppa-pathfinder button:focus,
#top #ppa-pathfinder a:focus {
  outline: 3px solid rgba(6, 71, 183, 0.26);
  outline-offset: 3px;
}


/* ==================================================
   PPA - PATHFINDER / PROGRESS
================================================== */

#top #ppa-pathfinder .ppa-progress {
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto 1fr auto;
  align-items: start;
  gap: 14px;
  margin: 0 8px 42px;
}

#top #ppa-pathfinder .ppa-progress-item {
  text-align: center;
  min-width: 120px;
  color: var(--ppa-blue-dark);
  opacity: 0.45;
  transition: opacity 0.25s ease;
}

#top #ppa-pathfinder .ppa-progress-item span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 10px;
  border-radius: 50%;
  border: 2px solid var(--ppa-border);
  background: var(--ppa-white);
  color: var(--ppa-blue-dark);
  font-weight: 800;
  font-size: 16px;
  line-height: 1;
  transition: all 0.25s ease;
}

#top #ppa-pathfinder .ppa-progress-item small {
  display: block;
  font-size: 11px;
  line-height: 1.2;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

#top #ppa-pathfinder .ppa-progress-item.is-active,
#top #ppa-pathfinder .ppa-progress-item.is-complete {
  opacity: 1;
}

#top #ppa-pathfinder .ppa-progress-item.is-active span,
#top #ppa-pathfinder .ppa-progress-item.is-complete span {
  background: var(--ppa-blue);
  border-color: var(--ppa-blue);
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(6, 71, 183, 0.22);
}

#top #ppa-pathfinder .ppa-progress-line {
  height: 2px;
  margin-top: 20px;
  background: var(--ppa-border);
  position: relative;
  overflow: hidden;
}

#top #ppa-pathfinder .ppa-progress-line::before {
  content: "";
  display: block;
  width: 0%;
  height: 100%;
  background: var(--ppa-blue);
  transition: width 0.3s ease;
}

#top #ppa-pathfinder .ppa-progress-line.is-complete::before {
  width: 100%;
}


/* ==================================================
   PPA - PATHFINDER / STEP
================================================== */

#top #ppa-pathfinder .ppa-step {
  width: 100% !important;
  max-width: none !important;
  margin: 28px 0 0 !important;
  animation: ppaFadeUp 0.35s ease both;
  color: var(--ppa-text);
  text-align: left;
}

#top #ppa-pathfinder .ppa-step[hidden] {
  display: none !important;
}

#top #ppa-pathfinder .ppa-step h2 {
  width: 100% !important;
  max-width: none !important;
  margin: 0 0 22px !important;
  padding: 0 !important;
  color: var(--ppa-blue-dark) !important;
  font-size: 27px !important;
  line-height: 1.18 !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
  text-align: left !important;
  text-transform: none !important;
}

@keyframes ppaFadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* ==================================================
   PPA - PATHFINDER / STEP 1
================================================== */

#top #ppa-pathfinder .ppa-interest-grid {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 22px !important;
  justify-content: stretch !important;
  align-items: stretch !important;
}

#top #ppa-pathfinder .ppa-interest-card {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  min-height: 220px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: var(--ppa-blue-dark);
  position: relative;
  display: block !important;
  overflow: hidden;
  cursor: pointer;
  text-align: left;
  box-shadow: var(--ppa-shadow-soft);
  transform: translateY(0);
  transition: transform 0.25s ease, box-shadow 0.25s ease, outline 0.25s ease;
}

#top #ppa-pathfinder .ppa-interest-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(8, 31, 79, 0.16);
}

#top #ppa-pathfinder .ppa-card-bg {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transform: scale(1);
  transition: transform 0.35s ease;
  z-index: 1;
}

#top #ppa-pathfinder .ppa-interest-card:hover .ppa-card-bg {
  transform: scale(1.035);
}

#top #ppa-pathfinder .ppa-card-overlay {
  position: absolute;
  inset: 0;
  display: block;
  background:
    linear-gradient(
      35deg,
      rgba(6, 31, 79, 0.72) 0%,
      rgba(6, 31, 79, 0.52) 20%,
      rgba(6, 31, 79, 0.24) 40%,
      rgba(6, 31, 79, 0.08) 58%,
      rgba(6, 31, 79, 0.00) 75%
    );
  z-index: 2;
}

#top #ppa-pathfinder .ppa-card-icon {
  position: absolute;
  left: 22px !important;
  bottom: 78px !important;
  width: 42px;
  height: 42px;
  display: block;
  z-index: 3;
}

#top #ppa-pathfinder .ppa-card-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.96;
}

#top #ppa-pathfinder .ppa-card-title {
  position: absolute;
  left: 22px !important;
  right: 22px !important;
  bottom: 22px !important;
  width: auto !important;
  max-width: none !important;
  display: block;
  color: #ffffff !important;
  font-size: 21px !important;
  line-height: 1.15 !important;
  font-weight: 800 !important;
  text-align: left !important;
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
  z-index: 3;
}

#top #ppa-pathfinder .ppa-card-check {
  position: absolute;
  right: 14px;
  top: 14px;
  display: none;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--ppa-blue);
  color: #ffffff;
  font-size: 19px;
  line-height: 1;
  font-weight: 900;
  z-index: 4;
  box-shadow: 0 8px 18px rgba(6, 71, 183, 0.34);
}

#top #ppa-pathfinder .ppa-interest-card.is-selected {
  outline: 3px solid var(--ppa-blue);
  outline-offset: 0;
}

#top #ppa-pathfinder .ppa-interest-card.is-selected .ppa-card-check {
  display: inline-flex;
}


/* ==================================================
   PPA - PATHFINDER / STEP 2
================================================== */

#top #ppa-pathfinder .ppa-field-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px 22px;
}

#top #ppa-pathfinder .ppa-field-card {
  width: 100%;
  min-width: 0;
  min-height: 74px;
  margin: 0;
  padding: 18px 20px;
  border: 1px solid var(--ppa-border);
  border-radius: 10px;
  background: #ffffff;
  color: var(--ppa-blue-dark);
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
  cursor: pointer;
  text-align: left;
  box-shadow: 0 8px 20px rgba(8, 31, 79, 0.055);
  transition: all 0.22s ease;
}

#top #ppa-pathfinder .ppa-field-card:hover {
  border-color: rgba(6, 71, 183, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(8, 31, 79, 0.10);
}

#top #ppa-pathfinder .ppa-field-icon {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  color: var(--ppa-blue);
  font-size: 30px;
  line-height: 36px;
  text-align: center;
  font-weight: 700;
}

#top #ppa-pathfinder .ppa-field-card span:not(.ppa-field-icon):not(.ppa-field-check) {
  display: block;
  color: var(--ppa-blue-dark);
  font-size: 15px;
  line-height: 1.15;
  font-weight: 800;
  text-align: left;
}

#top #ppa-pathfinder .ppa-field-check {
  position: absolute;
  right: -10px;
  top: -10px;
  display: none;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ppa-blue);
  color: #ffffff;
  font-size: 15px;
  line-height: 1;
  font-weight: 900;
  box-shadow: 0 7px 16px rgba(6, 71, 183, 0.28);
}

#top #ppa-pathfinder .ppa-field-card.is-selected {
  border-color: var(--ppa-blue);
  box-shadow: 0 10px 24px rgba(6, 71, 183, 0.12);
}

#top #ppa-pathfinder .ppa-field-card.is-selected .ppa-field-check {
  display: inline-flex;
}


/* ==================================================
   PPA - PATHFINDER / STEP 3
================================================== */

#top #ppa-pathfinder .ppa-learning-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

#top #ppa-pathfinder .ppa-learning-card {
  width: 100%;
  min-width: 0;
  min-height: 132px;
  margin: 0;
  padding: 28px 30px;
  border: 1px solid var(--ppa-border);
  border-radius: 12px;
  background: #ffffff;
  color: var(--ppa-blue-dark);
  display: flex;
  align-items: center;
  gap: 24px;
  position: relative;
  cursor: pointer;
  text-align: left;
  box-shadow: 0 8px 20px rgba(8, 31, 79, 0.055);
  transition: all 0.22s ease;
}

#top #ppa-pathfinder .ppa-learning-card:hover {
  border-color: rgba(6, 71, 183, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(8, 31, 79, 0.10);
}

#top #ppa-pathfinder .ppa-learning-icon {
  flex: 0 0 auto;
  width: 66px;
  height: 66px;
  color: var(--ppa-blue);
  font-size: 48px;
  line-height: 66px;
  text-align: center;
  font-weight: 700;
}

#top #ppa-pathfinder .ppa-learning-content {
  display: block;
}

#top #ppa-pathfinder .ppa-learning-content strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ppa-blue-dark);
  font-size: 24px;
  line-height: 1.1;
  font-weight: 900;
  text-transform: uppercase;
  text-align: left;
}

#top #ppa-pathfinder .ppa-learning-content small {
  display: block;
  color: var(--ppa-blue-dark);
  font-size: 15px;
  line-height: 1.45;
  font-weight: 600;
  text-align: left;
}

#top #ppa-pathfinder .ppa-learning-check {
  position: absolute;
  right: -12px;
  top: -12px;
  display: none;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--ppa-blue);
  color: #ffffff;
  font-size: 20px;
  line-height: 1;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(6, 71, 183, 0.32);
}

#top #ppa-pathfinder .ppa-learning-card.is-selected {
  border-color: var(--ppa-blue);
  box-shadow: 0 12px 26px rgba(6, 71, 183, 0.12);
}

#top #ppa-pathfinder .ppa-learning-card.is-selected .ppa-learning-check {
  display: inline-flex;
}


/* ==================================================
   PPA - PATHFINDER / STEP 4
================================================== */

#top #ppa-pathfinder .ppa-result-text {
  margin: -10px 0 26px;
  color: var(--ppa-blue-dark);
  font-size: 17px;
  line-height: 1.5;
  font-weight: 600;
  text-align: center;
}

#top #ppa-pathfinder .ppa-result-text strong {
  color: var(--ppa-blue);
  font-weight: 900;
}

#top #ppa-pathfinder .ppa-result-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  position: relative;
}

#top #ppa-pathfinder .ppa-result-card {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--ppa-border);
  border-radius: 12px;
  background: #ffffff;
  overflow: visible;
  position: relative;
  box-shadow: 0 8px 20px rgba(8, 31, 79, 0.065);
  transition: all 0.25s ease;
}

#top #ppa-pathfinder .ppa-result-card.is-recommended {
  border-color: var(--ppa-blue);
  box-shadow: 0 15px 32px rgba(6, 71, 183, 0.14);
}

#top #ppa-pathfinder .ppa-result-card.is-extra {
  border-color: rgba(6, 71, 183, 0.32);
}

#top #ppa-pathfinder .ppa-result-badge,
#top #ppa-pathfinder .ppa-extra-badge {
  position: absolute;
  left: 14px;
  top: -16px;
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 31px;
  padding: 7px 14px;
  border-radius: 7px;
  background: var(--ppa-blue);
  color: #ffffff;
  font-size: 12px;
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  z-index: 4;
  box-shadow: 0 8px 18px rgba(6, 71, 183, 0.26);
}

#top #ppa-pathfinder .ppa-extra-badge {
  background: #0b1f44;
}

#top #ppa-pathfinder .ppa-result-card.is-recommended .ppa-result-badge {
  display: inline-flex;
}

#top #ppa-pathfinder .ppa-result-card.is-extra .ppa-extra-badge {
  display: inline-flex;
}

#top #ppa-pathfinder .ppa-result-image {
  height: 142px;
  border-radius: 12px 12px 0 0;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

#top #ppa-pathfinder .ppa-result-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 31, 79, 0.02) 0%, rgba(6, 31, 79, 0.20) 100%);
}

#top #ppa-pathfinder .ppa-result-body {
  padding: 22px 22px 20px;
  position: relative;
}

#top #ppa-pathfinder .ppa-result-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 10px;
  border: 1px solid var(--ppa-border);
  border-radius: 50%;
  background: #ffffff;
  color: var(--ppa-blue);
  font-size: 30px;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(8, 31, 79, 0.08);
}

#top #ppa-pathfinder .ppa-result-card h3 {
  margin: 0 0 6px;
  padding: 0;
  color: var(--ppa-blue-dark);
  font-size: 23px;
  line-height: 1.1;
  font-weight: 900;
  text-transform: uppercase;
  text-align: left;
}

#top #ppa-pathfinder .ppa-result-card p {
  min-height: 72px;
  margin: 0 0 18px;
  padding: 0;
  color: var(--ppa-blue-dark);
  font-size: 14px;
  line-height: 1.35;
  font-weight: 600;
  text-align: left;
}

#top #ppa-pathfinder .ppa-result-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 12px 16px;
  border: 1px solid var(--ppa-border);
  border-radius: 7px;
  background: #ffffff;
  color: var(--ppa-blue);
  text-decoration: none;
  font-size: 13px;
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
  transition: all 0.22s ease;
}

#top #ppa-pathfinder .ppa-result-button:hover {
  border-color: var(--ppa-blue);
  background: var(--ppa-blue-soft);
  color: var(--ppa-blue);
  text-decoration: none;
}

#top #ppa-pathfinder .ppa-result-card.is-recommended .ppa-result-button {
  border-color: var(--ppa-blue);
  background: var(--ppa-blue);
  color: #ffffff;
}

#top #ppa-pathfinder .ppa-result-card.is-recommended .ppa-result-button:hover {
  background: #043b9d;
  color: #ffffff;
}


/* ==================================================
   PPA - PATHFINDER / RESET
================================================== */

#top #ppa-pathfinder .ppa-reset-box {
  margin-top: 24px;
  padding: 18px 22px;
  border-radius: 12px;
  background: #f5f8fd;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

#top #ppa-pathfinder .ppa-reset-message {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--ppa-blue-dark);
}

#top #ppa-pathfinder .ppa-reset-message span {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--ppa-blue);
  font-size: 24px;
  box-shadow: 0 8px 18px rgba(8, 31, 79, 0.07);
}

#top #ppa-pathfinder .ppa-reset-message p {
  margin: 0;
  padding: 0;
  color: var(--ppa-blue-dark);
  font-size: 14px;
  line-height: 1.35;
  font-weight: 600;
}

#top #ppa-pathfinder .ppa-reset-button {
  flex: 0 0 auto;
  min-height: 46px;
  margin: 0;
  padding: 13px 24px;
  border: 0;
  border-radius: 7px;
  background: var(--ppa-blue);
  color: #ffffff;
  cursor: pointer;
  font-size: 13px;
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
  transition: all 0.22s ease;
}

#top #ppa-pathfinder .ppa-reset-button:hover {
  background: #043b9d;
  transform: translateY(-1px);
}


/* ==================================================
   PPA - PATHFINDER / RESPONSIVE
================================================== */

@media only screen and (max-width: 989px) {

  #top #ppa-pathfinder {
    width: calc(100% - 36px);
    margin: -24px auto 55px;
    padding: 28px 22px 24px;
  }

  #top #ppa-pathfinder .ppa-progress {
    gap: 8px;
    margin-bottom: 34px;
  }

  #top #ppa-pathfinder .ppa-progress-item {
    min-width: auto;
  }

  #top #ppa-pathfinder .ppa-progress-item small {
    font-size: 9px;
  }

  #top #ppa-pathfinder .ppa-interest-grid,
  #top #ppa-pathfinder .ppa-result-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  #top #ppa-pathfinder .ppa-field-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #top #ppa-pathfinder .ppa-learning-grid {
    grid-template-columns: 1fr;
  }

}


@media only screen and (max-width: 767px) {

  #top #ppa-pathfinder {
    width: calc(100% - 24px);
    margin: -18px auto 42px;
    padding: 24px 16px 20px;
    border-radius: 14px;
  }

  #top #ppa-pathfinder .ppa-progress {
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
  }

  #top #ppa-pathfinder .ppa-progress-line {
    display: none;
  }

  #top #ppa-pathfinder .ppa-progress-item span {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }

  #top #ppa-pathfinder .ppa-progress-item small {
    font-size: 8px;
  }

  #top #ppa-pathfinder .ppa-step h2 {
    font-size: 22px !important;
  }

  #top #ppa-pathfinder .ppa-interest-grid,
  #top #ppa-pathfinder .ppa-field-grid,
  #top #ppa-pathfinder .ppa-result-grid {
    grid-template-columns: 1fr !important;
  }

  #top #ppa-pathfinder .ppa-interest-card {
    min-height: 190px !important;
  }

  #top #ppa-pathfinder .ppa-card-title {
    font-size: 20px !important;
  }

  #top #ppa-pathfinder .ppa-learning-card {
    min-height: 118px;
    padding: 22px 20px;
    gap: 18px;
  }

  #top #ppa-pathfinder .ppa-learning-icon {
    width: 52px;
    height: 52px;
    font-size: 38px;
    line-height: 52px;
  }

  #top #ppa-pathfinder .ppa-learning-content strong {
    font-size: 20px;
  }

  #top #ppa-pathfinder .ppa-reset-box {
    align-items: stretch;
    flex-direction: column;
  }

  #top #ppa-pathfinder .ppa-reset-button {
    width: 100%;
  }

}

/* ==================================================
   PPA - PATHFINDER / FIX SELEZIONE CARD
================================================== */

#top #ppa-pathfinder .ppa-interest-card .ppa-card-check {
  position: absolute !important;
  top: 14px !important;
  right: 14px !important;
  width: 34px !important;
  height: 34px !important;
  display: none !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 50% !important;
  background: #0647b7 !important;
  color: #ffffff !important;
  font-size: 19px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  z-index: 20 !important;
  box-shadow: 0 8px 18px rgba(6, 71, 183, 0.34) !important;
  pointer-events: none !important;
}

#top #ppa-pathfinder .ppa-interest-card.is-selected .ppa-card-check {
  display: flex !important;
}

#top #ppa-pathfinder .ppa-interest-card.is-selected {
  outline: 3px solid #0647b7 !important;
  outline-offset: 0 !important;
}

/* ==================================================
   PPA - PATHFINDER / CHECK BADGE
================================================== */

#top #ppa-pathfinder .ppa-card-check,
#top #ppa-pathfinder .ppa-field-check,
#top #ppa-pathfinder .ppa-learning-check {
  border: 2px solid #ffffff !important;
}

/* ==================================================
   PPA - PATHFINDER / STEP 2 ICONS
================================================== */

#top #ppa-pathfinder .ppa-field-icon {
  flex: 0 0 auto;
  width: 36px !important;
  height: 36px !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
}

#top #ppa-pathfinder .ppa-field-icon img {
  display: block;
  width: 30px;
  height: 30px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(24%) sepia(96%) saturate(2167%) hue-rotate(213deg) brightness(91%) contrast(101%);
  opacity: 0.95;
}

#top #ppa-pathfinder .ppa-field-card.is-selected .ppa-field-icon img {
  filter: brightness(0) saturate(100%) invert(24%) sepia(96%) saturate(2167%) hue-rotate(213deg) brightness(91%) contrast(101%);
  opacity: 1;
}

/* ==================================================
   PPA - PATHFINDER / STEP 3 ICONS
================================================== */

#top #ppa-pathfinder .ppa-learning-icon {
  flex: 0 0 auto;
  width: 66px !important;
  height: 66px !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
}

#top #ppa-pathfinder .ppa-learning-icon img {
  display: block;
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(24%) sepia(96%) saturate(2167%) hue-rotate(213deg) brightness(91%) contrast(101%);
  opacity: 0.95;
}

#top #ppa-pathfinder .ppa-learning-card.is-selected .ppa-learning-icon img {
  opacity: 1;
}

/* ==================================================
   PPA - PATHFINDER / STEP 4 ICONS
================================================== */

#top #ppa-pathfinder .ppa-result-icon {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 48px !important;
  height: 48px !important;
  margin-bottom: 10px;
  border: 1px solid var(--ppa-border);
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(8, 31, 79, 0.08);
}

#top #ppa-pathfinder .ppa-result-icon img {
  display: block;
  width: 28px;
  height: 28px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(24%) sepia(96%) saturate(2167%) hue-rotate(213deg) brightness(91%) contrast(101%);
  opacity: 0.95;
}

#top #ppa-pathfinder .ppa-result-card.is-recommended .ppa-result-icon img {
  opacity: 1;
}

/* ==================================================
   PPA - PATHFINDER / MULTI SELECT
================================================== */

#top #ppa-pathfinder .ppa-step-note {
  margin: -12px 0 20px;
  color: #5d6b82;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 700;
  text-align: left;
}

#top #ppa-pathfinder .ppa-step-warning {
  margin: -8px 0 18px;
  padding: 11px 14px;
  border-radius: 8px;
  background: #fff5d9;
  color: #8a6100;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 800;
  text-align: left;
}

#top #ppa-pathfinder .ppa-step-warning[hidden] {
  display: none !important;
}



/* ========================================================= */
/* PPA HEADER MENU - BOTTONE LOGIN / PROFILO */
/* ========================================================= */

/* --- Voce menu: contenitore del bottone --- */

#top #header .main_menu .avia-menu > ul > li.ppa-top-profile,
#top #header .main_menu .avia-menu > ul > li.ppa-top-login {
  position: relative !important;
}

/* --- Bottone base --- */

#top #header .main_menu .avia-menu > ul > li.ppa-top-profile > a,
#top #header .main_menu .avia-menu > ul > li.ppa-top-login > a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  height: 40px !important;
  min-height: 40px !important;
  max-height: 40px !important;
  line-height: 1 !important;

  padding: 0 18px !important;
  margin-left: 12px !important;

  border-radius: 6px !important;
  background: #f4bc16 !important;
  color: #061b33 !important;

  font-size: 14px !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  text-transform: none !important;
  white-space: nowrap !important;

  box-shadow: none !important;
  overflow: hidden !important;

  position: relative !important;
  top: 20px !important;

  transition: background 0.2s ease, box-shadow 0.2s ease !important;
}

/* --- Testo bottone --- */

#top #header .main_menu .avia-menu > ul > li.ppa-top-profile > a .avia-menu-text,
#top #header .main_menu .avia-menu > ul > li.ppa-top-login > a .avia-menu-text {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  height: auto !important;
  line-height: 1 !important;

  color: #061b33 !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  white-space: nowrap !important;
}

/* --- Hover --- */

#top #header .main_menu .avia-menu > ul > li.ppa-top-profile > a:hover,
#top #header .main_menu .avia-menu > ul > li.ppa-top-login > a:hover {
  background: #f7c637 !important;
  color: #061b33 !important;
  box-shadow: 0 6px 16px rgba(0,0,0,0.12) !important;
}

#top #header .main_menu .avia-menu > ul > li.ppa-top-profile > a:hover .avia-menu-text,
#top #header .main_menu .avia-menu > ul > li.ppa-top-login > a:hover .avia-menu-text {
  color: #061b33 !important;
}

/* --- Niente linea attiva sotto al bottone --- */

#top #header .main_menu .avia-menu > ul > li.ppa-top-profile > a .avia-menu-fx,
#top #header .main_menu .avia-menu > ul > li.ppa-top-login > a .avia-menu-fx {
  display: none !important;
}

/* --- Header ristretto / scroll: bottone dentro la barra bianca --- */

#top #header.header-scrolled .main_menu .avia-menu > ul > li.ppa-top-profile > a,
#top #header.header-scrolled .main_menu .avia-menu > ul > li.ppa-top-login > a,
#top #header.header-scrolled-full .main_menu .avia-menu > ul > li.ppa-top-profile > a,
#top #header.header-scrolled-full .main_menu .avia-menu > ul > li.ppa-top-login > a {
  height: 28px !important;
  min-height: 28px !important;
  max-height: 28px !important;
  line-height: 1 !important;

  padding: 0 13px !important;
  top: 4px !important;

  border-radius: 5px !important;
  font-size: 13px !important;
}

#top #header.header-scrolled .main_menu .avia-menu > ul > li.ppa-top-profile > a .avia-menu-text,
#top #header.header-scrolled .main_menu .avia-menu > ul > li.ppa-top-login > a .avia-menu-text,
#top #header.header-scrolled-full .main_menu .avia-menu > ul > li.ppa-top-profile > a .avia-menu-text,
#top #header.header-scrolled-full .main_menu .avia-menu > ul > li.ppa-top-login > a .avia-menu-text {
  font-size: 13px !important;
  line-height: 1 !important;
}




/* ==================================================
   PARKSPLANET ACADEMY - PROFILO STUDENTE LEARNPRESS
   Versione unica stabile
   Scope: solo pagine body.learnpress-profile
================================================== */

/* ==================================================
   VARIABILI E BASE PAGINA
================================================== */

body.learnpress-profile {
    background: #f7f8fb;
}

body.learnpress-profile #main,
body.learnpress-profile .container_wrap_first {
    background: #f7f8fb;
}

body.learnpress-profile .container_wrap_first {
    border: 0;
}

body.learnpress-profile .template-page,
body.learnpress-profile .entry-content-wrapper,
body.learnpress-profile .entry-content {
    padding: 0 !important;
}

body.learnpress-profile .learnpress {
    max-width: 100%;
    margin: 0;
}

body.learnpress-profile #learn-press-profile {
    --ppa-blue: #071b35;
    --ppa-blue-soft: #102b4d;
    --ppa-yellow: #f6b800;
    --ppa-text: #111827;
    --ppa-muted: #6b7280;
    --ppa-border: rgba(15, 23, 42, 0.10);
    --ppa-shadow: 0 24px 70px rgba(15, 23, 42, 0.10);

    position: relative;
    background: #f7f8fb;
    color: var(--ppa-text);
    font-family: inherit;
    overflow: visible;
}

body.learnpress-profile #learn-press-profile .lp-content-area {
    max-width: 1180px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}


/* ==================================================
   COVER PROFILO
================================================== */

body.learnpress-profile #learn-press-profile .lp-user-cover-image_background {
    position: relative;
    height: 390px !important;
    margin: 0 calc(50% - 50vw);
    overflow: hidden;
    background-position: center 38% !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    border-radius: 0;
}

/* --- Nasconde immagine inline: usiamo il background LearnPress --- */

body.learnpress-profile #learn-press-profile .lp-user-cover-image_background > img {
    display: none !important;
}

/* --- Overlay premium sopra la cover --- */

body.learnpress-profile #learn-press-profile .lp-user-cover-image_background::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(7, 27, 53, 0.88) 0%, rgba(7, 27, 53, 0.66) 45%, rgba(7, 27, 53, 0.24) 100%),
        linear-gradient(180deg, rgba(7, 27, 53, 0.08) 0%, rgba(7, 27, 53, 0.78) 100%);
}

/* --- Nessun testo finto nella cover --- */

body.learnpress-profile #learn-press-profile .lp-user-cover-image_background::after {
    content: none !important;
    display: none !important;
}

/* --- Bottone modifica cover --- */

body.learnpress-profile #learn-press-profile .lp-btn-to-edit-cover-image {
    position: absolute;
    z-index: 3;
    top: 22px !important;
    right: max(24px, calc((100vw - 1180px) / 2 + 24px)) !important;
    bottom: auto !important;

    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 10px 16px !important;
    border-radius: 999px !important;

    background: rgba(255, 255, 255, 0.13) !important;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.22) !important;

    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    transition: background 0.2s ease, transform 0.2s ease;
}

body.learnpress-profile #learn-press-profile .lp-btn-to-edit-cover-image:hover {
    background: rgba(255, 255, 255, 0.22) !important;
    transform: translateY(-1px);
}


/* ==================================================
   HEADER PROFILO SOCIAL
================================================== */

body.learnpress-profile #learn-press-profile .wrapper-profile-header {
    position: relative;
    z-index: 5;
    margin-top: -255px !important;
    margin-bottom: 0 !important;
    background: transparent;
}

body.learnpress-profile #learn-press-profile .lp-profile-content-area {
    position: relative;
    z-index: 5;

    min-height: 165px !important;
    display: flex !important;
    align-items: center !important;
    gap: 26px !important;

    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* --- Avatar --- */

body.learnpress-profile #learn-press-profile .lp-profile-left {
    width: auto !important;
    flex: 0 0 auto !important;
}

body.learnpress-profile #learn-press-profile .user-avatar {
    position: relative;

    width: 132px !important;
    height: 132px !important;
    padding: 5px !important;

    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.22);
}

body.learnpress-profile #learn-press-profile .user-avatar img.avatar {
    width: 100% !important;
    height: 100% !important;

    display: block;
    object-fit: cover;

    border-radius: 50%;
    border: 0;
}

/* --- Bottone modifica avatar --- */

body.learnpress-profile #learn-press-profile .lp-btn-to-edit-avatar {
    position: absolute;
    right: 8px;
    bottom: 10px;

    width: 40px;
    height: 40px;

    display: grid;
    place-items: center;

    overflow: hidden;
    border-radius: 50%;

    background: var(--ppa-yellow);
    color: transparent !important;

    font-size: 0;
    text-decoration: none !important;

    box-shadow: 0 12px 28px rgba(246, 184, 0, 0.32);
}

body.learnpress-profile #learn-press-profile .lp-btn-to-edit-avatar::before {
    content: "✎";
    color: #071b35;
    font-size: 17px;
    font-weight: 800;
}

/* --- Nome profilo --- */

body.learnpress-profile #learn-press-profile .lp-profile-right {
    position: relative;
    z-index: 5;

    display: block !important;
    flex: 1 1 auto !important;

    margin: 0 !important;
    padding: 0 !important;

    opacity: 1 !important;
    visibility: visible !important;
}

body.learnpress-profile #learn-press-profile .lp-profile-username {
    display: block !important;

    margin: 0 !important;

    color: #fff !important;
    opacity: 1 !important;
    visibility: visible !important;

    font-size: clamp(34px, 3.2vw, 46px) !important;
    line-height: 1.02 !important;
    letter-spacing: -0.045em !important;
    font-weight: 800 !important;
    text-transform: none !important;

    text-shadow: 0 14px 34px rgba(0, 0, 0, 0.34) !important;
}

body.learnpress-profile #learn-press-profile .lp-profile-username::after {
    content: "Studente ParksPlanet Academy";

    display: block !important;

    margin-top: 10px !important;

    color: rgba(255, 255, 255, 0.82) !important;

    font-size: 16px !important;
    line-height: 1.35 !important;
    letter-spacing: -0.01em !important;
    font-weight: 500 !important;

    opacity: 1 !important;
    visibility: visible !important;
}


/* ==================================================
   MENU PROFILO DENTRO COVER
================================================== */

body.learnpress-profile #learn-press-profile #profile-sidebar {
    position: relative !important;
    z-index: 6 !important;

    float: none !important;

    width: 100% !important;
    max-width: 1120px !important;

    margin: 18px auto 0 !important;
    padding: 0 24px !important;

    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

body.learnpress-profile #learn-press-profile #profile-nav {
    width: 100% !important;
    max-width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    overflow: hidden !important;

    background: rgba(7, 27, 53, 0.56) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    border-radius: 22px !important;

    box-shadow: 0 22px 54px rgba(0, 0, 0, 0.20) !important;

    backdrop-filter: blur(18px) !important;
    -webkit-backdrop-filter: blur(18px) !important;
}

/* --- Lista menu --- */

body.learnpress-profile #learn-press-profile .lp-profile-nav-tabs {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;

    width: 100% !important;

    gap: 2px !important;
    margin: 0 !important;
    padding: 0 22px !important;

    list-style: none !important;

    background: transparent !important;
    border: 0 !important;

    overflow-x: visible !important;
    overflow-y: hidden !important;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

body.learnpress-profile #learn-press-profile .lp-profile-nav-tabs::-webkit-scrollbar {
    display: none;
}

/* --- Voci menu --- */

body.learnpress-profile #learn-press-profile .lp-profile-nav-tabs > li {
    position: relative !important;

    flex: 1 1 0 !important;

    margin: 0 !important;
    padding: 0 !important;

    background: transparent !important;
    border: 0 !important;
}

body.learnpress-profile #learn-press-profile .lp-profile-nav-tabs > li > a {
    width: 100% !important;
    min-height: 62px !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 9px !important;

    padding: 0 10px !important;

    color: rgba(255, 255, 255, 0.76) !important;

    font-size: 13px !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
    text-decoration: none !important;

    background: transparent !important;
    border: 0 !important;

    transition: color 0.2s ease, background 0.2s ease !important;
}

body.learnpress-profile #learn-press-profile .lp-profile-nav-tabs > li > a:hover,
body.learnpress-profile #learn-press-profile .lp-profile-nav-tabs > li.active > a {
    color: #fff !important;
}

/* --- Underline voce attiva --- */

body.learnpress-profile #learn-press-profile .lp-profile-nav-tabs > li.active::after {
    content: "";
    position: absolute;

    left: 22%;
    right: 22%;
    bottom: 0;

    height: 3px;

    border-radius: 999px 999px 0 0;
    background: var(--ppa-yellow);
}

/* --- Icone menu --- */

body.learnpress-profile #learn-press-profile .lp-profile-nav-tabs i {
    color: currentColor !important;
    opacity: 0.82 !important;
    font-size: 16px !important;
}

/* --- Nasconde sottosezioni LearnPress nel menu principale --- */

body.learnpress-profile #learn-press-profile .lp-profile-nav-tabs .profile-tab-sections {
    display: none !important;
}

/* --- Ordini: nasconde voce standard, mostra WooCommerce rinominata --- */

body.learnpress-profile #learn-press-profile .lp-profile-nav-tabs > li.orders {
    display: none !important;
}

body.learnpress-profile #learn-press-profile .lp-profile-nav-tabs > li.lp_orders_woocommerce {
    display: list-item !important;
}

body.learnpress-profile #learn-press-profile .lp-profile-nav-tabs > li.lp_orders_woocommerce > a {
    font-size: 0 !important;
}

body.learnpress-profile #learn-press-profile .lp-profile-nav-tabs > li.lp_orders_woocommerce > a i {
    font-size: 16px !important;
    margin-right: 9px !important;
}

body.learnpress-profile #learn-press-profile .lp-profile-nav-tabs > li.lp_orders_woocommerce > a::after {
    content: "Ordini iscrizioni";
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

/* --- Logout --- */

body.learnpress-profile #learn-press-profile .lp-profile-nav-tabs > li.logout {
    margin-left: 0 !important;
}

body.learnpress-profile #learn-press-profile .lp-profile-nav-tabs > li.logout > a {
    color: rgba(255, 255, 255, 0.58) !important;
}


/* ==================================================
   AREA CONTENUTO
================================================== */

body.learnpress-profile #learn-press-profile #profile-content {
    float: none !important;

    width: 100% !important;
    max-width: 1120px !important;

    margin: 54px auto 90px !important;
    padding: 0 24px !important;

    background: transparent;
}

body.learnpress-profile #learn-press-profile #profile-content > div {
    background: #fff;

    border: 1px solid var(--ppa-border);
    border-radius: 24px;

    box-shadow: 0 18px 55px rgba(15, 23, 42, 0.065);

    padding: 32px;
}


/* ==================================================
   STATISTICHE CORSI
================================================== */

body.learnpress-profile #learn-press-profile .learn-press-profile-course__statistic,
body.learnpress-profile #learn-press-profile #dashboard-statistic,
body.learnpress-profile #learn-press-profile .dashboard-statistic__row {
    width: 100% !important;
}

body.learnpress-profile #learn-press-profile .learn-press-profile-course__statistic {
    margin: 0 0 28px !important;
    padding: 0 !important;

    background: transparent !important;
    border: 0 !important;
    border-radius: 18px;
}

body.learnpress-profile #learn-press-profile #dashboard-statistic {
    margin: 0 !important;
    padding: 0 !important;
}

/* --- Griglia desktop: 5 card su una riga --- */

body.learnpress-profile #learn-press-profile .dashboard-statistic__row {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 14px !important;
    align-items: stretch !important;
}

/* --- Card statistiche --- */

body.learnpress-profile #learn-press-profile .dashboard-statistic__row .statistic-box {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    min-height: 92px !important;

    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;

    gap: 12px !important;
    margin: 0 !important;
    padding: 18px 16px !important;

    border-radius: 18px !important;
    border: 1px solid rgba(15, 23, 42, 0.07) !important;

    background: #f7f8fc !important;
    box-shadow: none !important;

    text-align: left !important;

    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease !important;
}

body.learnpress-profile #learn-press-profile .dashboard-statistic__row .statistic-box:nth-child(1),
body.learnpress-profile #learn-press-profile .dashboard-statistic__row .statistic-box:nth-child(2),
body.learnpress-profile #learn-press-profile .dashboard-statistic__row .statistic-box:nth-child(3),
body.learnpress-profile #learn-press-profile .dashboard-statistic__row .statistic-box:nth-child(4),
body.learnpress-profile #learn-press-profile .dashboard-statistic__row .statistic-box:nth-child(5) {
    grid-column: auto !important;
}

body.learnpress-profile #learn-press-profile .dashboard-statistic__row .statistic-box:hover {
    transform: translateY(-2px);
    background: #fff !important;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.07) !important;
}

/* --- Prima card leggermente evidenziata --- */

body.learnpress-profile #learn-press-profile .dashboard-statistic__row .statistic-box:nth-child(1) {
    background:
        linear-gradient(135deg, rgba(246, 184, 0, 0.10), rgba(255, 255, 255, 0) 58%),
        #f7f8fc !important;
    border-color: rgba(246, 184, 0, 0.18) !important;
}

/* --- Icone statistiche --- */

body.learnpress-profile #learn-press-profile .dashboard-statistic__row .statistic-box__icon {
    width: 48px !important;
    min-width: 48px !important;
    max-width: 48px !important;
    height: 48px !important;
    flex: 0 0 48px !important;

    display: grid !important;
    place-items: center !important;

    margin: 0 !important;
    padding: 0 !important;

    overflow: hidden !important;

    border-radius: 16px !important;
    background: #fff !important;

    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.055) !important;
}

/* --- Colori soft icone --- */

body.learnpress-profile #learn-press-profile .dashboard-statistic__row .statistic-box:nth-child(1) .statistic-box__icon {
    background: rgba(31, 211, 203, 0.13) !important;
}

body.learnpress-profile #learn-press-profile .dashboard-statistic__row .statistic-box:nth-child(2) .statistic-box__icon {
    background: rgba(179, 86, 255, 0.12) !important;
}

body.learnpress-profile #learn-press-profile .dashboard-statistic__row .statistic-box:nth-child(3) .statistic-box__icon {
    background: rgba(92, 95, 255, 0.12) !important;
}

body.learnpress-profile #learn-press-profile .dashboard-statistic__row .statistic-box:nth-child(4) .statistic-box__icon {
    background: rgba(56, 199, 100, 0.14) !important;
}

body.learnpress-profile #learn-press-profile .dashboard-statistic__row .statistic-box:nth-child(5) .statistic-box__icon {
    background: rgba(255, 92, 92, 0.13) !important;
}

/* --- Allineamento glifi LearnPress --- */

body.learnpress-profile #learn-press-profile .dashboard-statistic__row .statistic-box__icon > span {
    width: 100% !important;
    height: 100% !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    line-height: 1 !important;
    font-size: 0 !important;
}

body.learnpress-profile #learn-press-profile .dashboard-statistic__row .statistic-box__icon > span::before {
    display: block !important;

    margin: 0 !important;

    font-size: 24px !important;
    line-height: 1 !important;

    transform: none !important;
}

/* --- Testi statistiche --- */

body.learnpress-profile #learn-press-profile .dashboard-statistic__row .statistic-box__text {
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;

    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;

    gap: 4px !important;

    margin: 0 !important;
    padding: 0 !important;

    text-align: left !important;
}

body.learnpress-profile #learn-press-profile .dashboard-statistic__row .statistic-box__text label {
    display: block !important;

    width: auto !important;
    max-width: 120px !important;

    margin: 0 !important;

    color: #0f172a !important;

    font-size: 13px !important;
    line-height: 1.18 !important;
    letter-spacing: -0.01em !important;
    font-weight: 750 !important;

    white-space: normal !important;
    text-align: left !important;
}

body.learnpress-profile #learn-press-profile .dashboard-statistic__row .statistic-box__text__number {
    display: block !important;

    margin-top: 4px !important;

    color: var(--ppa-blue) !important;

    font-size: 26px !important;
    line-height: 1 !important;
    letter-spacing: -0.035em !important;
    font-weight: 850 !important;

    text-align: left !important;
}


/* ==================================================
   TAB CORSI E TABELLA
================================================== */

/* --- Tab secondarie corsi --- */

body.learnpress-profile #learn-press-profile .learn-press-profile-course__tab,
body.learnpress-profile #learn-press-profile .learn-press-profile-course__tabs,
body.learnpress-profile #learn-press-profile .learn-press-profile-course__progress {
    border-radius: 18px;
}

/* --- Tabella base --- */

body.learnpress-profile #learn-press-profile #profile-content table,
body.learnpress-profile #learn-press-profile #profile-content .lp-list-table {
    width: 100% !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    overflow: hidden !important;
}

/* --- Header tabella --- */

body.learnpress-profile #learn-press-profile #profile-content table thead th,
body.learnpress-profile #learn-press-profile #profile-content .lp-list-table thead th {
    background: #f7f8fc !important;
    color: var(--ppa-blue) !important;

    font-size: 12px !important;
    font-weight: 800 !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;

    border-bottom: 1px solid rgba(15, 23, 42, 0.08) !important;
}

/* --- Righe alternate --- */

body.learnpress-profile #learn-press-profile #profile-content table tbody tr:nth-child(odd),
body.learnpress-profile #learn-press-profile #profile-content .lp-list-table tbody tr:nth-child(odd) {
    background: #fff !important;
}

body.learnpress-profile #learn-press-profile #profile-content table tbody tr:nth-child(even),
body.learnpress-profile #learn-press-profile #profile-content .lp-list-table tbody tr:nth-child(even) {
    background: #f8fafc !important;
}

/* --- Celle --- */

body.learnpress-profile #learn-press-profile #profile-content table tbody td,
body.learnpress-profile #learn-press-profile #profile-content .lp-list-table tbody td {
    border-bottom: 1px solid rgba(15, 23, 42, 0.06) !important;
}

/* --- Hover tabella desktop --- */

@media (min-width: 768px) {
    body.learnpress-profile #learn-press-profile #profile-content table tbody tr:hover,
    body.learnpress-profile #learn-press-profile #profile-content .lp-list-table tbody tr:hover {
        background: rgba(246, 184, 0, 0.055) !important;
    }
}


/* ==================================================
   RESPONSIVE TABLET
================================================== */

@media (max-width: 989px) {

    body.learnpress-profile #learn-press-profile .lp-user-cover-image_background {
        height: 380px !important;
    }

    body.learnpress-profile #learn-press-profile .wrapper-profile-header {
        margin-top: -250px !important;
    }

    body.learnpress-profile #learn-press-profile .user-avatar {
        width: 116px !important;
        height: 116px !important;
    }

    body.learnpress-profile #learn-press-profile #profile-sidebar {
        margin-top: 16px !important;
        padding: 0 20px !important;
    }

    body.learnpress-profile #learn-press-profile .lp-profile-nav-tabs {
        justify-content: flex-start !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        scrollbar-width: none !important;
    }

    body.learnpress-profile #learn-press-profile .lp-profile-nav-tabs::-webkit-scrollbar {
        display: none !important;
    }

    body.learnpress-profile #learn-press-profile .lp-profile-nav-tabs > li {
        flex: 0 0 auto !important;
    }

    body.learnpress-profile #learn-press-profile .lp-profile-nav-tabs > li.logout {
        margin-left: 0 !important;
    }

    body.learnpress-profile #learn-press-profile .dashboard-statistic__row {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}


/* ==================================================
   RESPONSIVE MOBILE
================================================== */

@media (max-width: 767px) {

    /* --- Cover mobile --- */

    body.learnpress-profile #learn-press-profile .lp-user-cover-image_background {
        height: 420px !important;
        background-position: center center !important;
    }

    body.learnpress-profile #learn-press-profile .lp-btn-to-edit-cover-image {
        top: 16px !important;
        right: 16px !important;

        padding: 9px 14px !important;

        font-size: 12px !important;
    }

    /* --- Profilo mobile --- */

    body.learnpress-profile #learn-press-profile .wrapper-profile-header {
        margin-top: -300px !important;
    }

    body.learnpress-profile #learn-press-profile .lp-profile-content-area {
        min-height: 130px !important;

        display: flex !important;
        align-items: center !important;
        gap: 16px !important;

        padding: 0 18px !important;
    }

    body.learnpress-profile #learn-press-profile .user-avatar {
        width: 92px !important;
        height: 92px !important;
        flex: 0 0 92px !important;
    }

    body.learnpress-profile #learn-press-profile .lp-btn-to-edit-avatar {
        width: 34px;
        height: 34px;
        right: -4px;
        bottom: -2px;
    }

    body.learnpress-profile #learn-press-profile .lp-profile-right {
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    body.learnpress-profile #learn-press-profile .lp-profile-username {
        font-size: 28px !important;
        line-height: 1.04 !important;
        white-space: normal !important;
    }

    body.learnpress-profile #learn-press-profile .lp-profile-username::after {
        margin-top: 6px !important;
        font-size: 13px !important;
    }

    /* --- Menu mobile scrollabile --- */

    body.learnpress-profile #learn-press-profile #profile-sidebar {
        width: 100% !important;
        max-width: none !important;

        margin: 22px auto 0 !important;
        padding: 0 16px !important;
    }

    body.learnpress-profile #learn-press-profile #profile-sidebar::after {
        content: "← scorri →";

        display: block;
        width: fit-content;

        margin: 10px auto 0;
        padding: 5px 12px;

        border-radius: 999px;

        background: rgba(255, 255, 255, 0.14);
        color: rgba(255, 255, 255, 0.82);

        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.02em;
        text-transform: uppercase;

        opacity: 0.82 !important;

        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);

        animation: ppaScrollHintSoft 1.8s ease-in-out infinite !important;
    }

    body.learnpress-profile #learn-press-profile #profile-nav {
        position: relative !important;

        width: 100% !important;
        max-width: none !important;

        border-radius: 18px !important;
        overflow: hidden !important;
    }

    body.learnpress-profile #learn-press-profile #profile-nav::after {
        content: "";

        position: absolute;
        z-index: 2;

        top: 0;
        right: 0;

        width: 46px;
        height: 100%;

        pointer-events: none;

        background: linear-gradient(
            90deg,
            rgba(7, 27, 53, 0),
            rgba(7, 27, 53, 0.92)
        );
    }

    body.learnpress-profile #learn-press-profile .lp-profile-nav-tabs {
        display: flex !important;
        justify-content: flex-start !important;
        flex-wrap: nowrap !important;

        width: 100% !important;
        max-width: 100% !important;

        gap: 4px !important;
        padding: 0 42px 0 12px !important;

        overflow-x: auto !important;
        overflow-y: hidden !important;

        scrollbar-width: none !important;
        -webkit-overflow-scrolling: touch !important;
        scroll-snap-type: x proximity;
    }

    body.learnpress-profile #learn-press-profile .lp-profile-nav-tabs::-webkit-scrollbar {
        display: none !important;
    }

    body.learnpress-profile #learn-press-profile .lp-profile-nav-tabs > li {
        width: auto !important;
        min-width: auto !important;
        flex: 0 0 auto !important;
        scroll-snap-align: start;
    }

    body.learnpress-profile #learn-press-profile .lp-profile-nav-tabs > li > a {
        width: auto !important;
        min-height: 56px !important;

        justify-content: center !important;

        padding: 0 15px !important;

        font-size: 13px !important;
        white-space: nowrap !important;
    }

    body.learnpress-profile #learn-press-profile .lp-profile-nav-tabs > li.active::after {
        left: 15px !important;
        right: 15px !important;
        height: 3px !important;
    }

    body.learnpress-profile #learn-press-profile .lp-profile-nav-tabs > li.lp_orders_woocommerce > a {
        min-width: 132px !important;
        gap: 8px !important;
        font-size: 0 !important;
    }

    body.learnpress-profile #learn-press-profile .lp-profile-nav-tabs > li.lp_orders_woocommerce > a i {
        display: inline-flex !important;
        margin-right: 0 !important;
        font-size: 15px !important;
        color: currentColor !important;
    }

    body.learnpress-profile #learn-press-profile .lp-profile-nav-tabs > li.lp_orders_woocommerce > a::after {
        content: "Ordini iscrizioni" !important;

        display: inline-block !important;

        color: currentColor !important;

        font-size: 13px !important;
        line-height: 1 !important;
        font-weight: 700 !important;

        white-space: nowrap !important;
    }

    /* --- Contenuto mobile --- */

    body.learnpress-profile #learn-press-profile #profile-content {
        width: calc(100% - 32px) !important;
        max-width: none !important;

        margin: 34px auto 70px !important;

        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    body.learnpress-profile #learn-press-profile #profile-content > div {
        width: 100% !important;

        padding: 22px 16px !important;

        overflow: visible !important;

        border-radius: 22px;
    }

    /* --- Statistiche mobile --- */

    body.learnpress-profile #learn-press-profile .dashboard-statistic__row {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    body.learnpress-profile #learn-press-profile .dashboard-statistic__row .statistic-box {
        width: 100% !important;
        min-height: 86px !important;

        gap: 14px !important;
        padding: 16px !important;

        overflow: visible !important;
    }

    body.learnpress-profile #learn-press-profile .dashboard-statistic__row .statistic-box__text label {
        width: auto !important;
        max-width: none !important;

        font-size: 14px !important;
        line-height: 1.18 !important;

        white-space: normal !important;
    }

    body.learnpress-profile #learn-press-profile .dashboard-statistic__row .statistic-box__text__number {
        font-size: 28px !important;
    }

    /* --- Tab corsi mobile scrollabili --- */

    body.learnpress-profile #learn-press-profile .learn-press-profile-course__tab,
    body.learnpress-profile #learn-press-profile .learn-press-profile-course__tabs,
    body.learnpress-profile #learn-press-profile .learn-press-profile-course__progress {
        width: 100% !important;
        max-width: 100% !important;
        overflow: visible !important;
    }

    body.learnpress-profile #learn-press-profile .learn-press-tabs,
    body.learnpress-profile #learn-press-profile .learn-press-tabs__nav,
    body.learnpress-profile #learn-press-profile .lp-profile-course-tabs,
    body.learnpress-profile #learn-press-profile .lp-sub-menu {
        max-width: 100% !important;

        overflow-x: auto !important;
        overflow-y: hidden !important;

        white-space: nowrap !important;

        scrollbar-width: none !important;
        -webkit-overflow-scrolling: touch !important;
    }

    body.learnpress-profile #learn-press-profile .learn-press-tabs::-webkit-scrollbar,
    body.learnpress-profile #learn-press-profile .learn-press-tabs__nav::-webkit-scrollbar,
    body.learnpress-profile #learn-press-profile .lp-profile-course-tabs::-webkit-scrollbar,
    body.learnpress-profile #learn-press-profile .lp-sub-menu::-webkit-scrollbar {
        display: none !important;
    }

    body.learnpress-profile #learn-press-profile .learn-press-tabs__nav li,
    body.learnpress-profile #learn-press-profile .learn-press-tabs__item,
    body.learnpress-profile #learn-press-profile .lp-profile-course-tabs li,
    body.learnpress-profile #learn-press-profile .lp-sub-menu li {
        width: auto !important;
        min-width: max-content !important;

        display: inline-flex !important;
        flex: 0 0 auto !important;
    }

    body.learnpress-profile #learn-press-profile .learn-press-tabs__nav a,
    body.learnpress-profile #learn-press-profile .learn-press-tabs__item a,
    body.learnpress-profile #learn-press-profile .lp-profile-course-tabs a,
    body.learnpress-profile #learn-press-profile .lp-sub-menu a {
        display: inline-flex !important;
        align-items: center !important;

        padding-left: 14px !important;
        padding-right: 14px !important;

        white-space: nowrap !important;
    }
}


/* ==================================================
   ANIMAZIONI
================================================== */

@keyframes ppaScrollHintSoft {
    0% {
        transform: translateX(-3px);
    }

    50% {
        transform: translateX(3px);
    }

    100% {
        transform: translateX(-3px);
    }
}

@media (prefers-reduced-motion: reduce) {
    body.learnpress-profile #learn-press-profile #profile-sidebar::after {
        animation: none !important;
    }
}

/* ==================================================
   ATTESTATI - RESTYLE PREMIUM CERTIFICATI
================================================== */

/* --- Griglia attestati --- */

body.learnpress-profile #learn-press-profile #profile-content ul:has(> li.certificate-item) {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 26px !important;

    margin: 24px 0 0 !important;
    padding: 0 !important;

    list-style: none !important;
}

/* --- Singola card attestato --- */

body.learnpress-profile #learn-press-profile #profile-content li.certificate-item {
    display: flex !important;
    flex-direction: column !important;

    margin: 0 !important;
    padding: 14px !important;

    list-style: none !important;

    background: #ffffff !important;
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
    border-style: solid !important;
    border-radius: 22px !important;

    box-shadow: 0 14px 38px rgba(15, 23, 42, 0.055) !important;

    overflow: hidden !important;

    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease !important;
}

body.learnpress-profile #learn-press-profile #profile-content li.certificate-item:hover {
    transform: translateY(-3px);
    border-color: rgba(246, 184, 0, 0.30) !important;
    box-shadow: 0 20px 48px rgba(15, 23, 42, 0.085) !important;
}

/* --- Link immagine --- */

body.learnpress-profile #learn-press-profile #profile-content li.certificate-item > a.course-permalink {
    display: block !important;

    width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    text-decoration: none !important;

    border: 0 !important;
    outline: 0 !important;
}

/* --- Box anteprima attestato --- */

body.learnpress-profile #learn-press-profile #profile-content li.certificate-item .certificate-thumbnail {
    width: 100% !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    aspect-ratio: 1.42 / 1 !important;

    margin: 0 !important;
    padding: 10px !important;

    background: #f8fafc !important;

    border: 1px solid rgba(15, 23, 42, 0.06) !important;
    border-style: solid !important;
    border-radius: 17px !important;

    overflow: hidden !important;
}

/* --- Immagine certificato: niente taglio, sempre intera --- */

body.learnpress-profile #learn-press-profile #profile-content li.certificate-item img.certificate-result {
    width: 100% !important;
    height: 100% !important;

    display: block !important;

    object-fit: contain !important;
    object-position: center center !important;

    background: #ffffff !important;

    border: 0 !important;
    outline: 0 !important;
    border-radius: 10px !important;
}

/* --- Titolo attestato --- */

body.learnpress-profile #learn-press-profile #profile-content li.certificate-item h3,
body.learnpress-profile #learn-press-profile #profile-content li.certificate-item h4,
body.learnpress-profile #learn-press-profile #profile-content li.certificate-item .course-title,
body.learnpress-profile #learn-press-profile #profile-content li.certificate-item .certificate-title,
body.learnpress-profile #learn-press-profile #profile-content li.certificate-item > a:not(.course-permalink) {
    margin: 14px 2px 2px !important;

    color: #071b35 !important;

    font-size: 16px !important;
    line-height: 1.3 !important;
    font-weight: 750 !important;
    letter-spacing: -0.015em !important;

    text-decoration: none !important;

    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

/* --- Rimuove eventuali tratteggi ereditati da LearnPress/tema --- */

body.learnpress-profile #learn-press-profile #profile-content li.certificate-item,
body.learnpress-profile #learn-press-profile #profile-content li.certificate-item *,
body.learnpress-profile #learn-press-profile #profile-content li.certificate-item::before,
body.learnpress-profile #learn-press-profile #profile-content li.certificate-item::after {
    border-style: solid;
}

/* --- Responsive attestati --- */

@media (max-width: 989px) {
    body.learnpress-profile #learn-press-profile #profile-content ul:has(> li.certificate-item) {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 20px !important;
    }
}

@media (max-width: 640px) {
    body.learnpress-profile #learn-press-profile #profile-content ul:has(> li.certificate-item) {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    body.learnpress-profile #learn-press-profile #profile-content li.certificate-item {
        padding: 12px !important;
        border-radius: 20px !important;
    }

    body.learnpress-profile #learn-press-profile #profile-content li.certificate-item .certificate-thumbnail {
        aspect-ratio: 1.42 / 1 !important;
        padding: 8px !important;
    }
}

/* ==================================================
   LEARNPRESS - PROFILO STUDENTE / TABELLA CORSI
   ================================================== */

/* --- Tabella corsi sottoscritti --- */

.lp_profile_course_progress.lp-list-table {
	width: 100%;
	border-collapse: collapse;
	table-layout: fixed;
}

/* --- Celle tabella --- */

.lp_profile_course_progress.lp-list-table th,
.lp_profile_course_progress.lp-list-table td {
	padding: 16px 18px;
	vertical-align: middle;
	text-align: center;
	border-bottom: 1px solid #eeeeee;
}

/* --- Colonna immagine corso --- */

.lp_profile_course_progress.lp-list-table th:first-child,
.lp_profile_course_progress.lp-list-table td:first-child {
	width: 150px;
	padding-left: 0;
	padding-right: 0;
}

/* --- Immagine corso --- */

.lp_profile_course_progress .course-img {
	width: 126px;
	height: 74px;
	margin: 0 auto;
	overflow: hidden;
	border-radius: 0;
	background: #ffffff;
}

.lp_profile_course_progress .course-img img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center;
}

/* --- Colonna nome corso --- */

.lp_profile_course_progress.lp-list-table th:nth-child(2),
.lp_profile_course_progress.lp-list-table td:nth-child(2) {
	width: 260px;
	text-align: left;
}

/* --- Titolo corso --- */

.lp_profile_course_progress .course-title {
	display: block;
	font-size: 14px;
	line-height: 1.35;
	font-weight: 500;
	color: #1f2933;
}

/* --- Link titolo corso --- */

.lp_profile_course_progress.lp-list-table td:nth-child(2) a {
	display: block;
	text-decoration: none;
	color: inherit;
}

/* --- Celle risultato e date --- */

.lp_profile_course_progress.lp-list-table td:nth-child(3),
.lp_profile_course_progress.lp-list-table td:nth-child(4),
.lp_profile_course_progress.lp-list-table td:nth-child(5) {
	font-size: 14px;
	color: #1f2933;
}

/* --- Header tabella --- */

.lp_profile_course_progress.lp-list-table thead th {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: #111827;
	background: #f8f8f8;
}

/* ==================================================
   PARKSPLANET ACADEMY - LOGIN STUDENTI
   Scope dinamico: body.ppa-login-view
   Valido per /accedi/ e /profilo-lp/ quando appare il login LearnPress
================================================== */


/* ==================================================
   VARIABILI
================================================== */

body.ppa-login-view {
    --ppa-login-bg: #f7f8fb;
    --ppa-login-blue: #052543;
    --ppa-login-blue-dark: #001730;
    --ppa-login-yellow: #ffc400;
    --ppa-login-text-blue: #082d4f;
    --ppa-login-card-width: 500px;
}


/* ==================================================
   SFONDO E RESET WRAPPER
================================================== */

body.ppa-login-view #main,
body.ppa-login-view #av_section_1,
body.ppa-login-view.learnpress-profile .container_wrap_first {
    background:
        radial-gradient(circle at top left, rgba(255, 196, 0, 0.08), transparent 32%),
        radial-gradient(circle at bottom right, rgba(0, 42, 78, 0.08), transparent 34%),
        var(--ppa-login-bg) !important;
}

body.ppa-login-view.learnpress-profile .container_wrap_first,
body.ppa-login-view.learnpress-profile .container_wrap_first > .container,
body.ppa-login-view.learnpress-profile .template-page,
body.ppa-login-view.learnpress-profile article.post-entry,
body.ppa-login-view.learnpress-profile .entry-content-wrapper,
body.ppa-login-view.learnpress-profile .entry-content,
body.ppa-login-view.learnpress-profile .learnpress,
body.ppa-login-view.learnpress-profile #learn-press-profile,
body.ppa-login-view.learnpress-profile #learn-press-profile .lp-content-area {
    background: transparent !important;
}


/* ==================================================
   LAYOUT UNIFICATO LOGIN
================================================== */

body.ppa-login-view #av_section_1 {
    min-height: auto;
    padding: 46px 0 56px;
}

body.ppa-login-view.learnpress-profile .container_wrap_first > .container {
    padding-top: 46px;
    padding-bottom: 56px;
}

body.ppa-login-view .entry-content-wrapper,
body.ppa-login-view .entry-content,
body.ppa-login-view .avia_codeblock_section,
body.ppa-login-view .avia_codeblock,
body.ppa-login-view .learnpress,
body.ppa-login-view #learn-press-profile,
body.ppa-login-view #learn-press-profile .lp-content-area {
    width: 100%;
}

body.ppa-login-view .entry-content-wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

body.ppa-login-view .entry-content-wrapper > .flex_column.av_one_fifth {
    display: none;
}

body.ppa-login-view .entry-content-wrapper > .flex_column.av_three_fifth {
    width: 100%;
    max-width: var(--ppa-login-card-width);
    margin: 0 auto !important;
    float: none;
}

body.ppa-login-view .avia_codeblock_section,
body.ppa-login-view .learn-press-form-login {
    width: 100%;
    max-width: var(--ppa-login-card-width);
    margin-left: auto;
    margin-right: auto;
}


/* ==================================================
   CARD LOGIN
================================================== */

body.ppa-login-view .learn-press-form-login {
    position: relative;
    overflow: hidden;
    padding: 36px 42px 34px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background:
        linear-gradient(145deg, rgba(5, 37, 67, 0.98), rgba(0, 23, 48, 0.98));
    box-shadow:
        0 24px 60px rgba(2, 20, 38, 0.18),
        0 8px 20px rgba(2, 20, 38, 0.12);
}

body.ppa-login-view .learn-press-form-login::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(255, 196, 0, 0.12), transparent 28%),
        radial-gradient(circle at bottom left, rgba(255, 255, 255, 0.06), transparent 34%);
    pointer-events: none;
}

body.ppa-login-view .learn-press-form-login > * {
    position: relative;
    z-index: 1;
}


/* ==================================================
   TITOLO E SOTTOTITOLO
================================================== */

body.ppa-login-view .learn-press-form-login h3 {
    margin: 0 0 8px;
    color: #ffffff;
    font-size: 32px;
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -0.04em;
}

body.ppa-login-view .learn-press-form-login h3::after {
    content: "Accedi con le tue credenziali per entrare nella tua area personale.";
    display: block;
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
    line-height: 1.45;
    font-weight: 500;
    letter-spacing: 0;
}


/* ==================================================
   CAMPI FORM
================================================== */

body.ppa-login-view .learn-press-form-login form,
body.ppa-login-view .learn-press-form-login .form-fields {
    width: 100%;
}

body.ppa-login-view .learn-press-form-login .form-fields {
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

body.ppa-login-view .learn-press-form-login .form-field {
    margin: 0 0 16px;
    padding: 0;
}

body.ppa-login-view .learn-press-form-login label {
    display: block;
    margin: 0 0 7px;
    color: rgba(255, 255, 255, 0.94);
    font-size: 14px;
    line-height: 1.3;
    font-weight: 750;
}

body.ppa-login-view .learn-press-form-login .required {
    color: var(--ppa-login-yellow);
}

body.ppa-login-view .learn-press-form-login input[type="text"],
body.ppa-login-view .learn-press-form-login input[type="password"] {
    width: 100%;
    height: 48px;
    margin: 0;
    padding: 0 18px;
    color: var(--ppa-login-text-blue);
    background: #f7f8fb;
    border: 1px solid rgba(8, 45, 79, 0.14);
    border-radius: 9px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: none;
    outline: none;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

body.ppa-login-view .learn-press-form-login input[type="text"]::placeholder,
body.ppa-login-view .learn-press-form-login input[type="password"]::placeholder {
    color: rgba(8, 45, 79, 0.35);
}

body.ppa-login-view .learn-press-form-login input[type="text"]:focus,
body.ppa-login-view .learn-press-form-login input[type="password"]:focus {
    background: #ffffff;
    border-color: rgba(255, 196, 0, 0.78);
    box-shadow: 0 0 0 4px rgba(255, 196, 0, 0.12);
}


/* ==================================================
   RICORDAMI
================================================== */

body.ppa-login-view .learn-press-form-login form > p {
    margin: 0;
}

body.ppa-login-view .learn-press-form-login form > p:first-of-type label {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    margin: 0 0 20px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 14px;
    font-weight: 600;
}

body.ppa-login-view .learn-press-form-login input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: var(--ppa-login-yellow);
}


/* ==================================================
   BOTTONE ACCEDI
================================================== */

body.ppa-login-view .learn-press-form-login button[type="submit"] {
    width: 100%;
    min-height: 50px;
    margin: 0;
    padding: 0 24px;
    background: linear-gradient(180deg, #ffd437 0%, #ffc400 100%);
    color: #041f3b;
    border: 0;
    border-radius: 9px;
    font-size: 15px;
    line-height: 1;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    box-shadow: 0 14px 26px rgba(255, 196, 0, 0.18);
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

body.ppa-login-view .learn-press-form-login button[type="submit"]:hover {
    transform: translateY(-1px);
    filter: brightness(1.03);
    box-shadow: 0 18px 34px rgba(255, 196, 0, 0.24);
}

body.ppa-login-view .learn-press-form-login button[type="submit"]:active {
    transform: translateY(0);
}


/* ==================================================
   TESTO INFORMATIVO
================================================== */

body.ppa-login-view .learn-press-form-login form > p:nth-of-type(2)::after {
    content: "Se le tue credenziali sono corrette verrai automaticamente reindirizzato al tuo profilo. Se inserisci più di 5 volte i dati errati il tuo profilo potrebbe venire bloccato temporaneamente.";
    display: block;
    margin: 13px 0 0;
    padding: 11px 13px;
    color: rgba(255, 255, 255, 0.72);
    background: rgba(255, 255, 255, 0.065);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 10px;
    font-size: 12px;
    line-height: 1.45;
    font-weight: 500;
}


/* ==================================================
   PASSWORD DIMENTICATA
================================================== */

body.ppa-login-view .learn-press-form-login form > p:last-of-type {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    text-align: center;
}

body.ppa-login-view .learn-press-form-login form > p:last-of-type a {
    color: var(--ppa-login-yellow);
    font-size: 14px;
    font-weight: 750;
    text-decoration: none;
}

body.ppa-login-view .learn-press-form-login form > p:last-of-type a:hover {
    color: #ffd84d;
    text-decoration: none;
}


/* ==================================================
   OCCHIOLINO PASSWORD
================================================== */

body.ppa-login-view .learn-press-form-login .ppa-password-field-wrap {
    position: relative;
}

body.ppa-login-view .learn-press-form-login .ppa-password-field-wrap input[type="password"],
body.ppa-login-view .learn-press-form-login .ppa-password-field-wrap input[type="text"] {
    padding-right: 56px;
}

body.ppa-login-view .learn-press-form-login .ppa-password-toggle {
    position: absolute;
    top: 27px;
    right: 14px;
    bottom: auto;
    width: 42px;
    height: 42px;
    min-height: 0;
    margin: 0;
    padding: 0;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--ppa-login-text-blue);
    background: transparent;
    border: 0;
    border-radius: 999px;
    box-shadow: none;
    cursor: pointer;
    transform: none;
    transition: color 0.2s ease, background 0.2s ease;
}

body.ppa-login-view .learn-press-form-login .ppa-password-toggle:hover,
body.ppa-login-view .learn-press-form-login .ppa-password-toggle.is-visible {
    color: var(--ppa-login-text-blue);
    background: rgba(8, 45, 79, 0.08);
    transform: none;
}

body.ppa-login-view .learn-press-form-login .ppa-password-toggle:focus {
    outline: none;
}

body.ppa-login-view .learn-press-form-login .ppa-password-toggle:focus:not(:focus-visible) {
    outline: none;
    box-shadow: none;
    background: transparent;
}

body.ppa-login-view .learn-press-form-login .ppa-password-toggle:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(8, 45, 79, 0.18);
    background: rgba(8, 45, 79, 0.08);
}

body.ppa-login-view .learn-press-form-login .ppa-password-toggle svg {
    display: block;
    width: 20px;
    height: 20px;
    fill: currentColor;
}


/* ==================================================
   FOOTER
================================================== */

body.ppa-login-view #footer {
    margin-top: 0;
}


/* ==================================================
   MOBILE - UNIFICATO /accedi/ e /profilo-lp/
================================================== */

@media only screen and (max-width: 767px) {

    body.ppa-login-view {
        --ppa-login-card-width: none;
    }

    body.ppa-login-view #main {
        padding-top: 0 !important;
    }

    body.ppa-login-view #av_section_1,
    body.ppa-login-view.learnpress-profile .container_wrap_first > .container {
        padding-top: 8px !important;
        padding-bottom: 28px !important;
    }

    body.ppa-login-view #av_section_1 > .container,
    body.ppa-login-view.learnpress-profile .container_wrap_first > .container {
        width: calc(100% - 24px) !important;
        max-width: none !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    body.ppa-login-view .container,
    body.ppa-login-view .entry-content-wrapper,
    body.ppa-login-view .entry-content,
    body.ppa-login-view .avia_codeblock_section,
    body.ppa-login-view .avia_codeblock,
    body.ppa-login-view .learnpress,
    body.ppa-login-view #learn-press-profile,
    body.ppa-login-view #learn-press-profile .lp-content-area {
        width: 100% !important;
        max-width: none !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    body.ppa-login-view .entry-content-wrapper {
        display: block !important;
    }

    body.ppa-login-view .entry-content-wrapper > .flex_column {
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        float: none !important;
    }

    body.ppa-login-view .learn-press-form-login {
        width: 100% !important;
        max-width: none !important;
        margin: 0 auto !important;
        padding: 24px 18px 22px;
        border-radius: 18px;
    }

    body.ppa-login-view .learn-press-form-login h3 {
        margin-bottom: 6px;
        font-size: 26px;
        line-height: 1.05;
    }

    body.ppa-login-view .learn-press-form-login h3::after {
        margin-top: 8px;
        font-size: 13px;
        line-height: 1.35;
    }

    body.ppa-login-view .learn-press-form-login .form-fields {
        margin-top: 18px;
    }

    body.ppa-login-view .learn-press-form-login .form-field {
        margin-bottom: 14px;
    }

    body.ppa-login-view .learn-press-form-login label {
        margin-bottom: 6px;
        font-size: 13px;
    }

    body.ppa-login-view .learn-press-form-login input[type="text"],
    body.ppa-login-view .learn-press-form-login input[type="password"] {
        height: 46px;
        padding-left: 14px;
        padding-right: 46px;
        border-radius: 8px;
        font-size: 14px;
    }

    body.ppa-login-view .learn-press-form-login form > p:first-of-type label {
        margin-bottom: 16px;
        gap: 9px;
        font-size: 13px;
    }

    body.ppa-login-view .learn-press-form-login input[type="checkbox"] {
        width: 16px;
        height: 16px;
    }

    body.ppa-login-view .learn-press-form-login button[type="submit"] {
        min-height: 46px;
        border-radius: 8px;
        font-size: 14px;
    }

    body.ppa-login-view .learn-press-form-login form > p:nth-of-type(2)::after {
        margin-top: 10px;
        padding: 10px 11px;
        font-size: 11px;
        line-height: 1.35;
    }

    body.ppa-login-view .learn-press-form-login form > p:last-of-type {
        margin-top: 14px;
        padding-top: 14px;
    }

    body.ppa-login-view .learn-press-form-login form > p:last-of-type a {
        font-size: 13px;
    }

    body.ppa-login-view .learn-press-form-login .ppa-password-toggle {
        top: 26px !important;
        right: 8px !important;
        width: 40px;
        height: 40px;
    }

    body.ppa-login-view .learn-press-form-login .ppa-password-toggle svg {
        width: 18px;
        height: 18px;
    }
}


/* ==================================================
   MENU PROFILO - Rimuove freccina da Impostazioni
================================================== */

body.learnpress-profile #learn-press-profile .lp-profile-nav-tabs > li.settings > a::after,
body.learnpress-profile #learn-press-profile .lp-profile-nav-tabs > li.settings.has-child > a::after,
body.learnpress-profile #learn-press-profile .lp-profile-nav-tabs > li.has-child > a::after {
    content: none !important;
    display: none !important;
}

body.learnpress-profile #learn-press-profile .lp-profile-nav-tabs > li.settings > a .dropdown_available,
body.learnpress-profile #learn-press-profile .lp-profile-nav-tabs > li.settings.has-child > a .dropdown_available {
    display: none !important;
}

/* ==================================================
   FIX FINALE - COVER PROFILO SEMPRE VISIBILE
   LearnPress genera .lp-hidden + background-image vuoto
================================================== */

body.learnpress-profile #wrap_all #main #learn-press-profile .lp-user-cover-image_background,
body.learnpress-profile #wrap_all #main #learn-press-profile .lp-user-cover-image_background.lp-hidden {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;

    width: auto !important;
    height: 390px !important;
    min-height: 390px !important;

    margin: 0 calc(50% - 50vw) !important;

    position: relative !important;
    overflow: hidden !important;

    background-image: url("https://academy.parksplanet.it/wp-content/uploads/2026/05/ParksPlanet-Academy-Chiapas.webp") !important;
    background-position: center 38% !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;

    border-radius: 0 !important;
}

/* Overlay premium sopra la cover */
body.learnpress-profile #wrap_all #main #learn-press-profile .lp-user-cover-image_background::before,
body.learnpress-profile #wrap_all #main #learn-press-profile .lp-user-cover-image_background.lp-hidden::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(7, 27, 53, 0.88) 0%, rgba(7, 27, 53, 0.66) 45%, rgba(7, 27, 53, 0.24) 100%),
        linear-gradient(180deg, rgba(7, 27, 53, 0.08) 0%, rgba(7, 27, 53, 0.78) 100%) !important;
}

/* Nasconde l'immagine inline vuota */
body.learnpress-profile #wrap_all #main #learn-press-profile .lp-user-cover-image_background > img,
body.learnpress-profile #wrap_all #main #learn-press-profile .lp-user-cover-image_background.lp-hidden > img {
    display: none !important;
}

/* Bottone modifica cover sopra overlay */
body.learnpress-profile #wrap_all #main #learn-press-profile .lp-btn-to-edit-cover-image {
    position: absolute !important;
    z-index: 3 !important;
}

/* Tablet */
@media (max-width: 989px) {
    body.learnpress-profile #wrap_all #main #learn-press-profile .lp-user-cover-image_background,
    body.learnpress-profile #wrap_all #main #learn-press-profile .lp-user-cover-image_background.lp-hidden {
        height: 380px !important;
        min-height: 380px !important;
    }
}

/* Mobile */
@media (max-width: 767px) {
    body.learnpress-profile #wrap_all #main #learn-press-profile .lp-user-cover-image_background,
    body.learnpress-profile #wrap_all #main #learn-press-profile .lp-user-cover-image_background.lp-hidden {
        height: 420px !important;
        min-height: 420px !important;
        background-position: center center !important;
    }
}

/* ==================================================
   PARKSPLANET ACADEMY - AREA STUDENTE LEARNPRESS MOBILE
   ================================================== */

@media only screen and (max-width: 767px) {

  /* ==================================================
     SICUREZZA GENERALE SOLO AREA LEARNPRESS
     ================================================== */

  #learn-press-profile,
  #learn-press-profile *,
  .lp-user-profile,
  .lp-user-profile *,
  .learnpress,
  .learnpress * {
    box-sizing: border-box !important;
  }


  /* ==================================================
     CONTENITORI ENFOLD - SOLO SE CONTENGONO LEARNPRESS
     ================================================== */

  #top .container:has(#learn-press-profile),
  #top .template-page:has(#learn-press-profile),
  #top main.content:has(#learn-press-profile),
  #top .entry-content-wrapper:has(#learn-press-profile),
  #top .avia-section:has(#learn-press-profile),
  #top .container_wrap:has(#learn-press-profile) {
    width: 100% !important;
    max-width: 100% !important;

    padding-left: 0 !important;
    padding-right: 0 !important;

    margin-left: 0 !important;
    margin-right: 0 !important;
  }


  /* ==================================================
     AREA PROFILO LEARNPRESS A PIENA LARGHEZZA
     ================================================== */

  #learn-press-profile,
  #learn-press-profile .lp-content-area,
  #learn-press-profile .lp-profile-content,
  #learn-press-profile .lp-profile-right,
  #learn-press-profile .profile-content,
  #learn-press-profile .profile-main,
  #learn-press-profile .lp-profile-content-area {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;

    margin-left: 0 !important;
    margin-right: 0 !important;
  }


  /* ==================================================
     CONTENUTO INTERNO AREA STUDENTE
     ================================================== */

  #learn-press-profile .lp-content-area,
  #learn-press-profile .lp-profile-content,
  #learn-press-profile .lp-profile-right,
  #learn-press-profile .profile-content,
  #learn-press-profile .profile-main,
  #learn-press-profile .lp-profile-content-area,
  #learn-press-profile .learn-press-subtab-content {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }


  /* ==================================================
     BOX STATISTICHE DASHBOARD
     ================================================== */

  #learn-press-profile .dashboard-general-statistic__row {
    display: flex !important;
    flex-direction: column !important;
    gap: 18px !important;

    width: 100% !important;
    max-width: 100% !important;

    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  #learn-press-profile .dashboard-general-statistic__item {
    width: 100% !important;
    max-width: 100% !important;

    flex: 0 0 auto !important;

    margin-left: 0 !important;
    margin-right: 0 !important;
  }


  /* ==================================================
     TAB TUTTO / IN CORSO / COMPLETATI
     ================================================== */

  #learn-press-profile .lp-tab-sections,
  #learn-press-profile .learn-press-tabs,
  #learn-press-profile .lp-profile-tabs {
    display: flex !important;
    flex-wrap: nowrap !important;

    width: 100% !important;
    max-width: 100% !important;

    overflow-x: auto !important;
    overflow-y: hidden !important;

    -webkit-overflow-scrolling: touch;

    padding-left: 0 !important;
    padding-right: 0 !important;

    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  #learn-press-profile .lp-tab-sections li,
  #learn-press-profile .learn-press-tabs li,
  #learn-press-profile .lp-profile-tabs li {
    flex: 0 0 auto !important;
    white-space: nowrap !important;
  }

  #learn-press-profile .lp-tab-sections a,
  #learn-press-profile .learn-press-tabs a,
  #learn-press-profile .lp-profile-tabs a {
    white-space: nowrap !important;
  }


  /* ==================================================
     RIPRISTINO TABELLA CORSI - NESSUNA FORZATURA
     ================================================== */

  #learn-press-profile .learn-press-profile-course__tab,
  #learn-press-profile .learn-press-profile-course__tab__inner,
  #learn-press-profile .learn-press-subtab-content {
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;

    margin-left: initial !important;
    margin-right: initial !important;

    padding-left: initial !important;
    padding-right: initial !important;

    transform: none !important;
    left: auto !important;
    right: auto !important;

    overflow-x: visible !important;
    overflow-y: visible !important;
  }


  /* ==================================================
     TABELLA / LISTA CORSI COME ORIGINALE
     ================================================== */

  #learn-press-profile table,
  #learn-press-profile .lp-list-table,
  #learn-press-profile .profile-list-courses,
  #learn-press-profile .learn-press-courses {
    width: initial !important;
    max-width: initial !important;
    min-width: initial !important;

    margin-left: initial !important;
    margin-right: initial !important;

    transform: none !important;
    left: auto !important;
    right: auto !important;

    table-layout: auto !important;
  }

  #learn-press-profile table {
    display: table !important;
    border-collapse: initial !important;
  }

  #learn-press-profile table thead {
    display: table-header-group !important;
  }

  #learn-press-profile table tbody {
    display: table-row-group !important;
  }

  #learn-press-profile table tr {
    display: table-row !important;

    width: initial !important;
    max-width: initial !important;
    min-width: initial !important;
  }

  #learn-press-profile table th,
  #learn-press-profile table td,
  #learn-press-profile .lp-list-table th,
  #learn-press-profile .lp-list-table td {
    display: table-cell !important;

    width: initial !important;
    max-width: initial !important;
    min-width: initial !important;

    white-space: initial !important;
    word-break: initial !important;
    overflow-wrap: initial !important;
    overflow: initial !important;
    text-overflow: initial !important;

    padding: initial !important;

    transform: none !important;
    left: auto !important;
    right: auto !important;
  }


  /* ==================================================
     PRIMA COLONNA TABELLA - RESET COMPLETO
     ================================================== */

  #learn-press-profile table th:first-child,
  #learn-press-profile table td:first-child,
  #learn-press-profile .lp-list-table th:first-child,
  #learn-press-profile .lp-list-table td:first-child {
    width: initial !important;
    max-width: initial !important;
    min-width: initial !important;

    white-space: initial !important;
    word-break: initial !important;
    overflow-wrap: initial !important;

    padding-left: initial !important;
    margin-left: initial !important;

    transform: none !important;
  }

}

/* ==================================================
   LEARNPRESS AREA STUDENTE - DATE TABELLA CORSI MOBILE
   ================================================== */

@media only screen and (max-width: 767px) {

  /* --- Mantiene la tabella originale: niente larghezza forzata generale --- */
  #learn-press-profile table.lp-list-table,
  #learn-press-profile .lp-list-table {
    width: initial !important;
    max-width: initial !important;
    min-width: initial !important;
    table-layout: auto !important;
  }


  /* ==================================================
     SOLO COLONNE DATA - PIU' SPAZIO
     ================================================== */

  /* --- Colonna 3: data di scadenza --- */
  #learn-press-profile .lp-list-table th:nth-child(3),
  #learn-press-profile .lp-list-table td:nth-child(3) {
    min-width: 155px !important;
    width: 155px !important;
    text-align: center !important;
    line-height: 1.35 !important;
    white-space: normal !important;
  }

  /* --- Colonna 4: data completamento --- */
  #learn-press-profile .lp-list-table th:nth-child(4),
  #learn-press-profile .lp-list-table td:nth-child(4) {
    min-width: 165px !important;
    width: 165px !important;
    text-align: center !important;
    line-height: 1.35 !important;
    white-space: normal !important;
  }


  /* ==================================================
     COLONNE NON DATA - NON TOCCARE
     ================================================== */

  /* --- Colonna 1: nome corso, resta originale --- */
  #learn-press-profile .lp-list-table th:nth-child(1),
  #learn-press-profile .lp-list-table td:nth-child(1) {
    width: initial !important;
    max-width: initial !important;
    min-width: initial !important;
  }

  /* --- Colonna 2: risultato, resta originale --- */
  #learn-press-profile .lp-list-table th:nth-child(2),
  #learn-press-profile .lp-list-table td:nth-child(2) {
    width: initial !important;
    max-width: initial !important;
    min-width: initial !important;
    text-align: initial !important;
  }

}

/* ========================================
   PARKSPLANET ACADEMY - MENTORS PAGE
======================================== */


/* ========================================
   MENTORS - IL NOSTRO IMPEGNO
======================================== */

.ppa-mentors-commitment-section {
  position: relative;
  z-index: 5;
  background: transparent !important;
  padding: 0 0 40px;
  overflow: visible !important;
}

.ppa-mentors-commitment-shell {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 0 0 32px;
  overflow: visible !important;
}

.ppa-mentors-commitment-card {
  position: relative;
  margin-top: -34px;
  padding: 36px 44px;
  display: grid;
  grid-template-columns: 180px 1.25fr 1.7fr;
  gap: 38px;
  align-items: center;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 22px 55px rgba(6, 27, 51, 0.18);
  overflow: visible;
}

/* --- Firma --- */

.ppa-mentors-signature {
  position: relative;
  color: #061b33;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  line-height: 0.95;
}

.ppa-mentors-signature span,
.ppa-mentors-signature strong {
  display: block;
  font-weight: 400;
}

.ppa-mentors-signature span {
  font-size: 34px;
}

.ppa-mentors-signature strong {
  margin-top: 3px;
  color: #d9a100;
  font-size: 42px;
}

.ppa-mentors-signature i {
  display: block;
  width: 78px;
  height: 3px;
  margin-top: 18px;
  background: #ffba00;
  border-radius: 99px;
}

.ppa-mentors-signature::after {
  content: none !important;
}

/* --- Testo centrale --- */

.ppa-mentors-commitment-text h2 {
  max-width: 360px;
  margin: 0 0 14px;
  color: #061b33;
  font-size: 25px;
  line-height: 1.16;
  font-weight: 800;
  letter-spacing: -0.025em;
  text-transform: none;
}

.ppa-mentors-commitment-text p {
  max-width: 430px;
  margin: 0;
  color: #31465f;
  font-size: 14px;
  line-height: 1.65;
}

/* --- Valori --- */

.ppa-mentors-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.ppa-mentors-value {
  text-align: center;
}

.ppa-mentors-value-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #061b33;
  border-radius: 50%;
  box-shadow: 0 12px 25px rgba(6, 27, 51, 0.24);
}

.ppa-mentors-value-icon img {
  display: block;
  width: 34px;
  height: 34px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(73%) sepia(87%) saturate(1714%) hue-rotate(359deg) brightness(102%) contrast(104%);
}

.ppa-mentors-value-icon span {
  display: none !important;
}

.ppa-mentors-value h3 {
  margin: 0 0 7px;
  color: #061b33;
  font-size: 16px;
  line-height: 1.1;
  font-weight: 800;
}

.ppa-mentors-value p {
  margin: 0;
  color: #31465f;
  font-size: 12.5px;
  line-height: 1.45;
}


/* ========================================
   RESPONSIVE - IL NOSTRO IMPEGNO
======================================== */

@media only screen and (max-width: 1100px) {
  .ppa-mentors-commitment-card {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
  }

  .ppa-mentors-signature i {
    margin-left: auto;
    margin-right: auto;
  }

  .ppa-mentors-commitment-text h2,
  .ppa-mentors-commitment-text p {
    margin-left: auto;
    margin-right: auto;
  }

  .ppa-mentors-values {
    max-width: 720px;
    margin: 0 auto;
  }
}

@media only screen and (max-width: 767px) {
  .ppa-mentors-commitment-section {
    padding-bottom: 28px;
  }

  .ppa-mentors-commitment-shell {
    width: calc(100% - 32px);
    padding-bottom: 24px;
  }

  .ppa-mentors-commitment-card {
    margin-top: -18px;
    padding: 30px 22px;
    grid-template-columns: 1fr;
    border-radius: 16px;
  }

  .ppa-mentors-values {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .ppa-mentors-commitment-text h2 {
    max-width: 300px;
    font-size: 24px;
  }

  .ppa-mentors-commitment-text p {
    max-width: 100%;
    font-size: 14px;
  }

  .ppa-mentors-signature span {
    font-size: 30px;
  }

  .ppa-mentors-signature strong {
    font-size: 38px;
  }

  .ppa-mentors-value-icon {
    width: 62px;
    height: 62px;
  }

  .ppa-mentors-value-icon img {
    width: 32px;
    height: 32px;
  }
}


/* ========================================
   MENTORS - PIÙ DI UN RICONOSCIMENTO
======================================== */

.ppa-mentors-recognition-section {
  position: relative;
  z-index: 2;
  padding: 0 0 10px;
  background: #ffffff;
  overflow: visible;
}

.ppa-mentors-recognition-shell {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.ppa-mentors-recognition-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 44px;
  align-items: center;
}

/* --- Colonna sinistra / immagine con citazione --- */

.ppa-mentors-quote-card {
  position: relative;
  min-height: 410px;
  border-radius: 16px 0 0 16px;
  overflow: hidden;
  background-image:
    linear-gradient(
      90deg,
      rgba(6, 27, 51, 0.95) 0%,
      rgba(6, 27, 51, 0.88) 24%,
      rgba(6, 27, 51, 0.62) 47%,
      rgba(255, 255, 255, 0.34) 78%,
      rgba(255, 255, 255, 1) 100%
    ),
    url("https://academy.parksplanet.it/wp-content/uploads/2026/05/Claudio-Mazzoli-Mentor-ParksPlanet-Academy.webp");
  background-size: cover;
  background-position: center;
}

.ppa-mentors-quote-card::after {
  content: "";
  position: absolute;
  top: 0;
  right: -2px;
  bottom: 0;
  width: 42%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.22) 30%,
    rgba(255, 255, 255, 0.74) 72%,
    rgba(255, 255, 255, 1) 100%
  );
  pointer-events: none;
}

.ppa-mentors-quote-content {
  position: relative;
  z-index: 2;
  width: min(360px, 62%);
  min-height: 410px;
  padding: 42px 38px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #ffffff;
}

.ppa-mentors-quote-mark {
  height: 46px;
  margin-bottom: 10px;
  color: #ffba00;
  font-size: 96px;
  line-height: 0.8;
  font-weight: 900;
  font-family: Georgia, "Times New Roman", serif;
}

.ppa-mentors-quote-card blockquote {
  margin: 0 0 26px;
  padding: 0;
  border: 0;
  color: #ffffff;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.ppa-mentors-quote-author strong {
  display: block;
  margin-bottom: 4px;
  color: #ffba00;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 900;
}

.ppa-mentors-quote-author span {
  display: block;
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  line-height: 1.35;
}

/* --- Colonna destra / testo --- */

.ppa-mentors-recognition-content {
  position: relative;
  padding: 0;
}

.ppa-mentors-recognition-content::after {
  content: none !important;
}

.ppa-mentors-recognition-content h2 {
  margin: 0;
  color: #061b33;
  font-size: 32px;
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.ppa-mentors-recognition-content h3 {
  margin: 4px 0 20px;
  color: #d9a100;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  line-height: 1.05;
  font-style: italic;
  font-weight: 400;
}

.ppa-mentors-recognition-content p {
  max-width: 470px;
  margin: 0;
  color: #31465f;
  font-size: 15px;
  line-height: 1.75;
}


/* ========================================
   RESPONSIVE - PIÙ DI UN RICONOSCIMENTO
======================================== */

@media only screen and (max-width: 1100px) {
  .ppa-mentors-recognition-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .ppa-mentors-quote-card {
    border-radius: 16px;
  }

  .ppa-mentors-quote-card::after {
    width: 42%;
  }

  .ppa-mentors-quote-content {
    width: min(360px, 72%);
  }

  .ppa-mentors-recognition-content {
    text-align: center;
  }

  .ppa-mentors-recognition-content p {
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media only screen and (max-width: 767px) {
  .ppa-mentors-recognition-shell {
    width: calc(100% - 32px);
  }

  .ppa-mentors-quote-card {
    min-height: 360px;
    border-radius: 16px;
    background-image:
      linear-gradient(
        90deg,
        rgba(6, 27, 51, 0.94) 0%,
        rgba(6, 27, 51, 0.82) 48%,
        rgba(6, 27, 51, 0.42) 100%
      ),
      url("https://academy.parksplanet.it/wp-content/uploads/2026/05/Claudio-Mazzoli-Mentor-ParksPlanet-Academy.webp");
  }

  .ppa-mentors-quote-card::after {
    display: none;
  }

  .ppa-mentors-quote-content {
    width: 100%;
    min-height: 360px;
    padding: 34px 26px;
  }

  .ppa-mentors-quote-card blockquote {
    font-size: 20px;
  }

  .ppa-mentors-recognition-content h2 {
    font-size: 27px;
  }

  .ppa-mentors-recognition-content h3 {
    font-size: 26px;
  }

  .ppa-mentors-recognition-content p {
    max-width: 100%;
    font-size: 14px;
    line-height: 1.7;
  }
}


/* ========================================
   MENTORS - I MENTORS DELL'ACADEMY
   Slider cards
======================================== */

.ppa-mentors-list-section {
  position: relative;
  z-index: 2;
  padding: 56px 0 64px;
  background: transparent !important;
  overflow: hidden;
}

.ppa-mentors-list-shell {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

/* --- Heading --- */

.ppa-mentors-list-heading {
  margin-bottom: 30px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}

.ppa-mentors-list-heading h2 {
  margin: 0 0 10px;
  color: #ffffff;
  font-size: 34px;
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

.ppa-mentors-list-heading h2 span {
  color: #ffba00;
}

.ppa-mentors-list-heading p {
  max-width: 670px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  line-height: 1.6;
}

/* --- Slider controls --- */

.ppa-mentors-slider-controls {
  flex: 0 0 auto;
  display: flex;
  gap: 10px;
}

.ppa-mentors-slider-btn {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #061b33;
  background: #ffba00;
  border: 0;
  border-radius: 50%;
  font-size: 34px;
  line-height: 1;
  font-weight: 400;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(255, 186, 0, 0.24);
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.ppa-mentors-slider-btn:hover {
  transform: translateY(-2px);
  background: #ffd04a;
  box-shadow: 0 18px 36px rgba(255, 186, 0, 0.32);
}

/* --- Slider --- */

.ppa-mentors-slider-wrap {
  position: relative;
}

.ppa-mentors-slider-wrap::after {
  content: none !important;
  display: none !important;
}

.ppa-mentors-slider {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0 0 18px 0;
  scrollbar-width: none;
}

.ppa-mentors-slider::-webkit-scrollbar {
  display: none;
}

/* --- Card --- */

.ppa-mentor-card {
  position: relative;
  flex: 0 0 calc((100% - 66px) / 4);
  min-width: 250px;
  overflow: hidden;
  scroll-snap-align: start;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.26);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ppa-mentor-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 58px rgba(0, 0, 0, 0.34);
}

/* --- Card image --- */

.ppa-mentor-card-image {
  position: relative;
  height: 210px;
  overflow: hidden;
  background: #061b33;
}

.ppa-mentor-card-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 27, 51, 0) 42%, rgba(6, 27, 51, 0.82) 100%);
  pointer-events: none;
}

.ppa-mentor-card-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transition: transform 0.35s ease;
}

.ppa-mentor-card:hover .ppa-mentor-card-image img {
  transform: scale(1.05);
}

/* --- Card content --- */

.ppa-mentor-card-content {
  position: relative;
  min-height: 200px;
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  background: #ffffff;
}

.ppa-mentor-card-kicker {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 10px;
  padding: 5px 10px;
  color: #061b33;
  background: #ffba00;
  border-radius: 999px;
  font-size: 11px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ppa-mentor-card-content h3 {
  margin: 0 0 10px;
  color: #061b33;
  font-size: 21px;
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -0.025em;
}

.ppa-mentor-card-content p {
  margin: 0;
  color: #31465f;
  font-size: 13px;
  line-height: 1.55;
}


/* ========================================
   RESPONSIVE - I MENTORS DELL'ACADEMY
======================================== */

@media only screen and (max-width: 1100px) {
  .ppa-mentors-list-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .ppa-mentor-card {
    flex-basis: calc((100% - 22px) / 2);
    min-width: 290px;
  }

  .ppa-mentor-card-image {
    height: 240px;
  }
}

@media only screen and (max-width: 767px) {
  .ppa-mentors-list-section {
    padding: 44px 0 52px;
  }

  .ppa-mentors-list-shell {
    width: calc(100% - 32px);
  }

  .ppa-mentors-list-heading {
    gap: 24px;
  }

  .ppa-mentors-list-heading h2 {
    font-size: 28px;
  }

  .ppa-mentors-list-heading p {
    font-size: 14px;
  }

  .ppa-mentors-slider-controls {
    width: 100%;
    justify-content: flex-start;
  }

  .ppa-mentors-slider-btn {
    width: 42px;
    height: 42px;
    font-size: 30px;
  }

  .ppa-mentors-slider {
    padding-right: 0;
  }

  .ppa-mentor-card {
    flex-basis: 86%;
    min-width: 86%;
  }

  .ppa-mentor-card-image {
    height: 260px;
  }

  .ppa-mentor-card-content {
    min-height: auto;
  }
}


/* ========================================
   MENTORS - COLOR SECTION STUDENTI
   Metti questa classe sulla Color Section Enfold:
   ppa-students-color-section
======================================== */

.ppa-students-color-section {
  position: relative;
  overflow: hidden !important;
}

.ppa-students-color-section .container,
.ppa-students-color-section .content,
.ppa-students-color-section .entry-content-wrapper,
.ppa-students-color-section .avia_codeblock_section,
.ppa-students-color-section .avia_code_block {
  position: relative;
  z-index: 2;
}


/* ========================================
   MENTORS - LE PAROLE DEI NOSTRI STUDENTI
======================================== */

.ppa-mentors-students-section {
  position: relative;
  z-index: 2;
  padding: 46px 0 52px;
  background: transparent !important;
  overflow: hidden;
}

.ppa-mentors-students-shell {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

/* --- Heading --- */

.ppa-mentors-students-heading {
  margin-bottom: 24px;
}

.ppa-mentors-students-heading h2 {
  margin: 0;
  color: #ffffff;
  font-size: 28px;
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.ppa-mentors-students-heading h2 span {
  color: #ffba00;
  font-weight: 900;
}

/* --- Grid --- */

.ppa-mentors-students-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

/* --- Card --- */

.ppa-mentors-student-card {
  position: relative;
  min-height: 132px;
  padding: 22px 24px 22px 124px;
  display: flex;
  align-items: center;
  background: #ffffff;
  border-radius: 999px;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.22);
}

.ppa-mentors-student-card::before {
  content: "“";
  position: absolute;
  top: 11px;
  left: 98px;
  color: #ffba00;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 36px;
  line-height: 1;
  font-weight: 900;
  opacity: 0.9;
}

/* --- Foto editabile da HTML --- */

.ppa-mentors-student-photo {
  position: absolute;
  left: 24px;
  top: 50%;
  width: 70px;
  height: 70px;
  transform: translateY(-50%);
  overflow: hidden;
  background: #061b33;
  border: none;
  border-radius: 50%;
  box-shadow: 0 10px 22px rgba(6, 27, 51, 0.18);
}

.ppa-mentors-student-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

/* Se usi il placeholder ico-studente, resta leggibile dentro al cerchio */
.ppa-mentors-student-photo img[src*="ico-studente"] {
  padding: 16px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(73%) sepia(87%) saturate(1714%) hue-rotate(359deg) brightness(102%) contrast(104%);
}

/* --- Contenuto --- */

.ppa-mentors-student-content {
  position: relative;
  z-index: 2;
}

.ppa-mentors-student-content blockquote {
  margin: 0 0 9px;
  padding: 0;
  border: 0;
  color: #263c55;
  font-size: 12.5px;
  line-height: 1.45;
  font-style: italic;
}

.ppa-mentors-student-author strong {
  display: block;
  color: #1b65b0;
  font-size: 13px;
  line-height: 1.15;
  font-weight: 900;
}

.ppa-mentors-student-author span {
  display: block;
  margin-top: 2px;
  color: #31465f;
  font-size: 11px;
  line-height: 1.2;
}


/* ========================================
   RESPONSIVE
======================================== */

@media only screen and (max-width: 1100px) {
  .ppa-mentors-students-grid {
    grid-template-columns: 1fr;
    max-width: 760px;
    margin: 0 auto;
  }

  .ppa-mentors-students-heading {
    text-align: center;
  }
}

@media only screen and (max-width: 767px) {
  .ppa-mentors-students-section {
    padding: 40px 0 44px;
  }

  .ppa-mentors-students-shell {
    width: calc(100% - 32px);
  }

  .ppa-mentors-students-heading h2 {
    font-size: 25px;
  }

  .ppa-mentors-student-card {
    min-height: auto;
    padding: 112px 24px 24px;
    display: block;
    text-align: center;
    border-radius: 22px;
  }

  .ppa-mentors-student-card::before {
    top: 88px;
    left: 50%;
    transform: translateX(-50%);
  }

  .ppa-mentors-student-photo {
    top: 22px;
    left: 50%;
    width: 70px;
    height: 70px;
    transform: translateX(-50%);
  }

  .ppa-mentors-student-content blockquote {
    font-size: 13px;
  }
}

/* ==================================================
   LEARNPRESS - PULSANTE COMPLETA LEZIONE
   ================================================== */

body.viewing-course-item.course-item-lp_lesson button[name="complete-lesson"],
body.viewing-course-item.course-item-lp_lesson button.lp-button,
body.viewing-course-item.course-item-lp_lesson .lp-button {
    background-color: #ffc400 !important;
    color: #10194f !important;
    border: 0 !important;
    border-radius: 6px !important;
    font-weight: 700 !important;
    padding: 12px 26px !important;
    box-shadow: none !important;
    transition: all 0.2s ease-in-out !important;
}

/* --- Hover --- */

body.viewing-course-item.course-item-lp_lesson button[name="complete-lesson"]:hover,
body.viewing-course-item.course-item-lp_lesson button.lp-button:hover,
body.viewing-course-item.course-item-lp_lesson .lp-button:hover {
    background-color: #ffd84d !important;
    color: #10194f !important;
    transform: translateY(-1px);
}

/* --- Allineamento a destra del pulsante completa --- */

body.viewing-course-item.course-item-lp_lesson form[name="learn-press-form-complete-lesson"],
body.viewing-course-item.course-item-lp_lesson .learn-press-form-complete-lesson,
body.viewing-course-item.course-item-lp_lesson .lp-form-complete-lesson {
    display: flex !important;
    justify-content: flex-end !important;
    margin-top: 22px !important;
    margin-bottom: 32px !important;
}

/* ==================================================
   LEARNPRESS - NASCONDI NAVIGAZIONE PRECEDENTE / PROSSIMO NELLE LEZIONI
   ================================================== */

body.viewing-course-item.course-item-lp_lesson .course-item-nav,
body.viewing-course-item.course-item-lp_lesson .learn-press-course-results-progress,
body.viewing-course-item.course-item-lp_lesson .lp-lesson-nav,
body.viewing-course-item.course-item-lp_lesson .lp-course-item-navigation,
body.viewing-course-item.course-item-lp_lesson .nav-links {
    display: none !important;
}

/* ==================================================
   LEARNPRESS - FAQ CORSO
   ================================================== */

/* --- Nasconde i checkbox delle FAQ --- */
.course-tab-panel-faqs .course-faqs > input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 0;
    height: 0;
    margin: 0;
}

/* ==================================================
   LEARNPRESS - TOGGLE SEZIONI CORSO
   ================================================== */

/* --- Evita maiuscole automatiche su "Riduci tutte le sezioni" --- */
.course-toggle-all-sections {
    text-transform: none !important;
}



/* ==================================================
   LEARNPRESS - TOGLIE CHECKBOX FAQ CORSO
   ================================================== */

/* --- Nasconde breadcrumb LearnPress nelle pagine corso --- */
.single-lp_course .lp-breadcrumb,
.single-lp_course .learn-press-breadcrumb,
.single-lp_course .course-breadcrumb,
.single-lp_course .course-breadcrumbs {
    display: none !important;
}


/* ==================================================
   PARKSPLANET ACADEMY - CHECKOUT / ISCRIZIONE
   CSS consolidato definitivo
   ================================================== */


/* ==================================================
   VARIABILI BASE
   ================================================== */

body.woocommerce-checkout {
    background: #f7f9fc;
}

.woocommerce-checkout {
    --ppa-blue: #062247;
    --ppa-blue-light: #0b3568;
    --ppa-yellow: #ffbe00;
    --ppa-yellow-dark: #f5a900;
    --ppa-text: #071f40;
    --ppa-muted: #7b8797;
    --ppa-border: #e2e7ef;
    --ppa-white: #ffffff;
    --ppa-shadow: 0 16px 40px rgba(7, 31, 64, .08);
}


/* ==================================================
   STRUTTURA PAGINA
   ================================================== */

.woocommerce-checkout .container_wrap_first {
    background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
}

.woocommerce-checkout .container {
    max-width: 1320px;
}

.woocommerce-checkout .entry-content-wrapper,
.woocommerce-checkout .entry-content {
    max-width: 100%;
}

.woocommerce-checkout .woocommerce {
    max-width: 1280px;
    margin: 0 auto;
    padding: 28px 0 60px;
    color: var(--ppa-text);
}


/* ==================================================
   RESET STEP CHECKOUT
   ================================================== */

.woocommerce-checkout .woocommerce:before,
.woocommerce-checkout .woocommerce:after,
.woocommerce-checkout .woocommerce-form-login-toggle:after,
.woocommerce-checkout .woocommerce-form-coupon-toggle:after,
.woocommerce-checkout form.checkout:before,
.woocommerce-checkout form.checkout:after {
    content: none !important;
    display: none !important;
}


/* ==================================================
   BANNER LOGIN + CODICE PROMOZIONALE
   ================================================== */

.woocommerce-checkout .woocommerce-form-login-toggle,
.woocommerce-checkout .woocommerce-form-coupon-toggle {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto 18px;
    padding: 0;
}

.woocommerce-checkout .woocommerce-form-coupon-toggle {
    margin-bottom: 26px !important;
}

.woocommerce-checkout .woocommerce-form-login-toggle .woocommerce-info,
.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    min-height: 72px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 18px 28px 18px 88px !important;
    border: none !important;
    border-radius: 14px !important;
    background: linear-gradient(135deg, var(--ppa-blue) 0%, var(--ppa-blue-light) 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 8px 22px rgba(7, 31, 64, .12) !important;
    font-size: 15px !important;
    line-height: 1.4 !important;
    overflow: hidden !important;
}

.woocommerce-checkout .woocommerce-form-login-toggle .woocommerce-info:before,
.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info:before {
    content: "" !important;
    position: absolute !important;
    display: block !important;
    left: 28px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid rgba(255, 190, 0, .75) !important;
    border-radius: 999px !important;
    background-color: rgba(255, 190, 0, .06) !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 21px 21px !important;
    line-height: 1 !important;
    filter: brightness(0) saturate(100%) invert(75%) sepia(92%) saturate(1031%) hue-rotate(359deg) brightness(103%) contrast(105%);
}

.woocommerce-checkout .woocommerce-form-login-toggle .woocommerce-info:before {
    background-image: url("https://academy.parksplanet.it/wp-content/uploads/2026/05/ico-studente.png") !important;
}

.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info:before {
    background-image: url("https://academy.parksplanet.it/wp-content/uploads/2026/05/ico-marketing.png") !important;
}

.woocommerce-checkout .woocommerce-form-login-toggle .woocommerce-info a,
.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info a {
    margin-left: 4px;
    color: var(--ppa-yellow) !important;
    font-weight: 900 !important;
    text-decoration: none !important;
}

.woocommerce-checkout .woocommerce-form-login-toggle .woocommerce-info a:hover,
.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info a:hover {
    color: #ffd34d !important;
}

.woocommerce-checkout .woocommerce-info {
    border-top-color: transparent !important;
}

.woocommerce-checkout .woocommerce-info::after {
    display: none !important;
}


/* ==================================================
   LOGIN CHECKOUT
   ================================================== */

.woocommerce-checkout form.woocommerce-form-login {
    margin: -4px auto 22px !important;
    padding: 22px !important;
    border: 1px solid var(--ppa-border) !important;
    border-radius: 14px !important;
    background: var(--ppa-white) !important;
    box-shadow: 0 8px 24px rgba(7, 31, 64, .06) !important;
}

.woocommerce-checkout .woocommerce-form-login .woocommerce-form-login__rememberme {
    display: none !important;
}

.woocommerce-checkout button.show-password-input {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: static !important;
    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    margin: 8px 0 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: var(--ppa-yellow-dark) !important;
    font-family: inherit !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    line-height: 1.3 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    cursor: pointer !important;
    text-indent: 0 !important;
    overflow: visible !important;
    appearance: none !important;
    -webkit-appearance: none !important;
}

.woocommerce-checkout button.show-password-input::before {
    content: "Mostra password" !important;
    display: inline !important;
}

.woocommerce-checkout button.show-password-input.display-password::before {
    content: "Nascondi password" !important;
}

.woocommerce-checkout button.show-password-input::after {
    content: none !important;
    display: none !important;
}

.woocommerce-checkout .woocommerce-form-login button[name="login"],
.woocommerce-checkout .woocommerce-form-login .woocommerce-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    vertical-align: middle !important;
    margin: 0 22px 0 0 !important;
}

.woocommerce-checkout .woocommerce-form-login .lost_password {
    display: inline-block !important;
    position: relative !important;
    top: 6px !important;
    margin: 0 !important;
    padding: 0 !important;
    vertical-align: middle !important;
}

.woocommerce-checkout .woocommerce-form-login .lost_password a {
    color: var(--ppa-yellow-dark) !important;
    font-family: inherit !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
    text-decoration: none !important;
}

.woocommerce-checkout .woocommerce-form-login .lost_password a:hover {
    color: var(--ppa-yellow) !important;
    text-decoration: underline !important;
}


/* ==================================================
   FORM COUPON APERTO
   ================================================== */

.woocommerce-checkout form.checkout_coupon {
    max-width: 1280px;
    margin: -4px auto 22px;
    padding: 18px;
    border: 1px solid var(--ppa-border);
    border-radius: 14px;
    background: var(--ppa-white);
    box-shadow: 0 8px 24px rgba(7, 31, 64, .06);
}

.woocommerce-checkout form.checkout_coupon .form-row {
    margin: 0;
}

.woocommerce-checkout form.checkout_coupon .form-row-first {
    width: calc(100% - 180px);
}

.woocommerce-checkout form.checkout_coupon .form-row-last {
    width: 160px;
}


/* ==================================================
   LAYOUT PRINCIPALE CHECKOUT
   ================================================== */

.woocommerce-checkout form.checkout {
    display: grid;
    grid-template-columns: minmax(0, 820px) minmax(340px, 400px);
    column-gap: 32px;
    row-gap: 0;
    align-items: stretch !important;
}


/* ==================================================
   CARD DATI ISCRIZIONE
   ================================================== */

.woocommerce-checkout #customer_details {
    grid-column: 1;
    grid-row: 1;
    display: flex !important;
    flex-direction: column !important;
    align-self: stretch !important;
    margin: 0;
    padding: 34px 34px 26px !important;
    border: 1px solid var(--ppa-border);
    border-radius: 14px;
    background: var(--ppa-white);
    box-shadow: var(--ppa-shadow);
    overflow: visible;
}

.woocommerce-checkout #customer_details .col-1,
.woocommerce-checkout #customer_details .col-2 {
    width: 100%;
    float: none;
    display: block;
    min-width: 0;
}

.woocommerce-checkout #customer_details .col-2 {
    margin-top: auto !important;
    padding-top: 0 !important;
    border-top: 0 !important;
}


/* ==================================================
   TITOLI FORM
   ================================================== */

.woocommerce-checkout .woocommerce-billing-fields h3 {
    margin: 0 0 24px !important;
    padding-left: 0 !important;
    color: var(--ppa-text);
    font-size: 26px;
    line-height: 1.2;
    font-weight: 900;
    text-align: left !important;
}

.woocommerce-checkout .woocommerce-billing-fields h3:before {
    content: none !important;
    display: none !important;
}

.woocommerce-checkout .woocommerce-additional-fields h3 {
    display: none !important;
}


/* ==================================================
   GRIGLIA CAMPI FATTURAZIONE
   ================================================== */

.woocommerce-checkout .woocommerce-billing-fields__field-wrapper {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 24px;
    row-gap: 0;
}

.woocommerce-checkout .woocommerce-billing-fields__field-wrapper .form-row {
    width: 100%;
    float: none;
}

.woocommerce-checkout #billing_first_name_field,
.woocommerce-checkout #billing_last_name_field,
.woocommerce-checkout #billing_datanascita_field,
.woocommerce-checkout #billing_codice_fiscale_field,
.woocommerce-checkout #billing_country_field,
.woocommerce-checkout #billing_state_field,
.woocommerce-checkout #billing_address_1_field,
.woocommerce-checkout #billing_city_field,
.woocommerce-checkout #billing_postcode_field,
.woocommerce-checkout #billing_phone_field {
    grid-column: span 1;
}

.woocommerce-checkout #billing_address_2_field,
.woocommerce-checkout #billing_email_field {
    grid-column: span 2;
}


/* ==================================================
   CAMPI FORM
   ================================================== */

.woocommerce-checkout .form-row {
    margin-bottom: 16px;
}

.woocommerce-checkout .form-row label {
    margin-bottom: 6px;
    color: var(--ppa-text);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.25;
}

.woocommerce-checkout .required {
    color: var(--ppa-yellow);
}

.woocommerce-checkout .woocommerce-input-wrapper {
    display: block;
    width: 100%;
}


/* ==== Input, textarea, select nativi ==== */

.woocommerce-checkout input.input-text,
.woocommerce-checkout textarea.input-text,
.woocommerce-checkout select {
    min-height: 44px;
    width: 100%;
    border: 1px solid #dce3ec !important;
    border-radius: 8px !important;
    background: #ffffff !important;
    color: var(--ppa-text) !important;
    font-family: inherit !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
    box-shadow: 0 1px 2px rgba(7, 31, 64, .03);
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
    box-sizing: border-box;
}

.woocommerce-checkout input.input-text,
.woocommerce-checkout textarea.input-text {
    padding: 10px 12px;
}

.woocommerce-checkout textarea.input-text {
    min-height: 110px;
    resize: vertical;
}

.woocommerce-checkout input.input-text:focus,
.woocommerce-checkout textarea.input-text:focus {
    border-color: var(--ppa-blue-light) !important;
    box-shadow: 0 0 0 4px rgba(11, 53, 104, .10);
    outline: none;
}


/* ==== Placeholder ==== */

.woocommerce-checkout input.input-text::placeholder,
.woocommerce-checkout textarea.input-text::placeholder,
.woocommerce-checkout input.input-text::-webkit-input-placeholder,
.woocommerce-checkout textarea.input-text::-webkit-input-placeholder {
    color: #9aa3af !important;
    font-family: inherit !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
    opacity: 1 !important;
}


/* ==== Campo data nativo ==== */

.woocommerce-checkout input[type="date"],
.woocommerce-checkout #billing_datanascita {
    color: var(--ppa-text) !important;
    font-family: inherit !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
}

.woocommerce-checkout input[type="date"]::-webkit-datetime-edit,
.woocommerce-checkout input[type="date"]::-webkit-datetime-edit-text,
.woocommerce-checkout input[type="date"]::-webkit-datetime-edit-day-field,
.woocommerce-checkout input[type="date"]::-webkit-datetime-edit-month-field,
.woocommerce-checkout input[type="date"]::-webkit-datetime-edit-year-field {
    color: #9aa3af !important;
    font-family: inherit !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
}


/* ==================================================
   SELECT2 WOOCOMMERCE
   ================================================== */

.woocommerce-checkout .select2-container {
    width: 100% !important;
    max-width: 100% !important;
}

.woocommerce-checkout .select2-container--default .select2-selection--single {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    height: 44px !important;
    min-height: 44px !important;
    border: 1px solid #dce3ec !important;
    border-radius: 8px !important;
    background: #ffffff !important;
    box-shadow: 0 1px 2px rgba(7, 31, 64, .03) !important;
    box-sizing: border-box !important;
}

.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered {
    display: block !important;
    width: calc(100% - 34px) !important;
    max-width: calc(100% - 34px) !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 34px 0 12px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: var(--ppa-text) !important;
    font-family: inherit !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 42px !important;
    box-sizing: border-box !important;
}

.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 42px !important;
    top: 1px !important;
    right: 8px !important;
}

.woocommerce-checkout .select2-container--open .select2-selection--single,
.woocommerce-checkout .select2-container--focus .select2-selection--single {
    border-color: var(--ppa-blue-light) !important;
    box-shadow: 0 0 0 4px rgba(11, 53, 104, .10) !important;
}


/* ==== Dropdown Select2 ==== */

.select2-container--open .select2-search--dropdown {
    display: none !important;
}

.select2-container--default .select2-dropdown {
    border: 1px solid #dce3ec !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    box-shadow: 0 12px 28px rgba(7, 31, 64, .12) !important;
}

.select2-container--default .select2-results__option {
    padding: 10px 12px !important;
    font-family: inherit !important;
    font-size: 14px !important;
    line-height: 1.35 !important;
}

.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option--highlighted[data-selected],
.select2-container--default .select2-results__option[aria-selected="true"],
.select2-container--default .select2-results__option[data-selected="true"] {
    background: var(--ppa-blue-light) !important;
    color: #ffffff !important;
}


/* ==================================================
   NOTE ORDINE
   ================================================== */

.woocommerce-checkout .woocommerce-additional-fields,
.woocommerce-checkout .woocommerce-additional-fields__field-wrapper,
.woocommerce-checkout #order_comments_field {
    display: block;
    width: 100%;
    margin: 0 !important;
}

.woocommerce-checkout #order_comments {
    width: 100%;
    min-height: 74px !important;
    height: 74px !important;
    resize: vertical;
}


/* ==================================================
   RIEPILOGO ISCRIZIONE
   ================================================== */

.woocommerce-checkout #order_review_heading {
    display: none !important;
}

.woocommerce-checkout #order_review {
    grid-column: 2 !important;
    grid-row: 1 !important;
    align-self: stretch !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid var(--ppa-border) !important;
    border-radius: 14px !important;
    background: #ffffff !important;
    box-shadow: var(--ppa-shadow) !important;
    overflow: hidden !important;
}

.woocommerce-checkout #order_review:before {
    content: "Iscrizioni nell'ordine" !important;
    display: block;
    width: 100%;
    padding: 28px 28px 22px;
    background: #ffffff;
    color: var(--ppa-text);
    font-size: 24px;
    line-height: 1.25;
    font-weight: 900;
    box-sizing: border-box;
}


/* ==================================================
   TABELLA RIEPILOGO
   ================================================== */

.woocommerce-checkout #order_review .shop_table {
    width: calc(100% - 56px) !important;
    margin: 0 28px 26px !important;
}

.woocommerce-checkout table.shop_table {
    border: 0 !important;
    border-bottom: 0 !important;
    border-collapse: collapse !important;
    color: var(--ppa-text);
    background: transparent !important;
    background-color: transparent !important;
}

.woocommerce-checkout table.shop_table thead {
    display: none;
}

.woocommerce-checkout table.shop_table tbody,
.woocommerce-checkout table.shop_table tfoot,
.woocommerce-checkout table.shop_table tr,
.woocommerce-checkout table.shop_table td,
.woocommerce-checkout table.shop_table th {
    border-left: 0 !important;
    border-right: 0 !important;
    background: transparent !important;
    background-color: transparent !important;
}

.woocommerce-checkout table.shop_table td,
.woocommerce-checkout table.shop_table th {
    padding: 14px 0 !important;
}

.woocommerce-checkout table.shop_table tbody tr.cart_item td {
    padding: 8px 0 18px !important;
    border-bottom: 1px solid #e6ebf2 !important;
    vertical-align: top;
}

.woocommerce-checkout table.shop_table .product-name {
    width: 68% !important;
    padding-right: 12px !important;
    color: var(--ppa-text);
    font-size: 14px;
    line-height: 1.35;
    font-weight: 800;
}

.woocommerce-checkout table.shop_table .product-quantity {
    color: var(--ppa-yellow);
}

.woocommerce-checkout table.shop_table .product-total,
.woocommerce-checkout table.shop_table td:last-child {
    width: 32% !important;
    color: var(--ppa-text);
    text-align: right !important;
    white-space: nowrap !important;
    font-size: 14px;
    line-height: 1.35;
    font-weight: 800;
}

.woocommerce-checkout table.shop_table tfoot th {
    color: var(--ppa-text);
    font-size: 13px;
    letter-spacing: .04em;
}

.woocommerce-checkout table.shop_table tfoot td {
    text-align: right;
    white-space: nowrap;
}

.woocommerce-checkout table.shop_table tfoot tr.cart-subtotal th,
.woocommerce-checkout table.shop_table tfoot tr.cart-subtotal td {
    padding-top: 22px !important;
}

.woocommerce-checkout table.shop_table tfoot tr.order-total th,
.woocommerce-checkout table.shop_table tfoot tr.order-total td {
    padding-top: 22px !important;
    border-top: 0 !important;
    border-bottom: 0 !important;
}

.woocommerce-checkout table.shop_table tfoot tr.order-total th {
    color: var(--ppa-text);
    font-size: 18px;
    letter-spacing: 0;
    text-transform: none;
}

.woocommerce-checkout table.shop_table tfoot tr.order-total th:after {
    content: "IVA 22% inclusa";
    display: block;
    margin-top: 4px;
    color: var(--ppa-muted);
    font-size: 12px;
    line-height: 1.3;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
}

.woocommerce-checkout table.shop_table tfoot tr.order-total td {
    color: var(--ppa-yellow-dark);
    font-size: 26px;
    font-weight: 900;
}


/* ==================================================
   PAGAMENTO BONIFICO
   ================================================== */

.woocommerce-checkout #payment,
.woocommerce-checkout .woocommerce-checkout-payment {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 28px 30px !important;
    border: 0 !important;
    outline: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
}

.woocommerce-checkout #payment:before,
.woocommerce-checkout #payment:after,
.woocommerce-checkout .woocommerce-checkout-payment:before,
.woocommerce-checkout .woocommerce-checkout-payment:after {
    content: none !important;
    display: none !important;
}

.woocommerce-checkout #payment ul.payment_methods,
.woocommerce-checkout #payment .payment_methods,
.woocommerce-checkout #payment .methods {
    width: 100% !important;
    margin: 0 0 26px !important;
    padding: 0 !important;
    border: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method,
.woocommerce-checkout #payment ul.payment_methods li.payment_method_bacs {
    position: relative !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 22px !important;
    border: 1px solid var(--ppa-border) !important;
    border-radius: 12px !important;
    background: #fbfcfe !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
    text-align: left !important;
}

.woocommerce-checkout #payment input.input-radio,
.woocommerce-checkout #payment input[type="radio"],
.woocommerce-checkout #payment .wc_payment_method input[type="radio"] {
    position: absolute !important;
    opacity: 0 !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    pointer-events: none !important;
}

.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method > label,
.woocommerce-checkout #payment ul.payment_methods li.payment_method_bacs > label,
.woocommerce-checkout #payment label[for="payment_method_bacs"] {
    display: block !important;
    width: 100% !important;
    margin: 0 0 12px 0 !important;
    padding: 0 !important;
    color: var(--ppa-text) !important;
    text-align: left !important;
    text-indent: 0 !important;
    font-size: 18px !important;
    line-height: 1.25 !important;
    font-weight: 900 !important;
}

.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method > label:before,
.woocommerce-checkout #payment ul.payment_methods li.payment_method_bacs > label:before,
.woocommerce-checkout #payment label[for="payment_method_bacs"]:before {
    content: none !important;
    display: none !important;
}

.woocommerce-checkout #payment div.payment_box,
.woocommerce-checkout #payment .payment_box.payment_method_bacs {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-sizing: border-box !important;
}

.woocommerce-checkout #payment div.payment_box:before {
    display: none !important;
}

.woocommerce-checkout #payment div.payment_box p,
.woocommerce-checkout #payment .payment_box.payment_method_bacs p {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #35445a !important;
    text-align: left !important;
    text-indent: 0 !important;
    font-size: 14px !important;
    line-height: 1.55 !important;
}


/* ==================================================
   PRIVACY / TERMINI / PULSANTE
   ================================================== */

.woocommerce-checkout #payment .place-order {
    width: 100% !important;
    margin: 0 !important;
    padding: 18px 0 0 !important;
    border: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
}

.woocommerce-checkout .woocommerce-privacy-policy-text {
    margin: 0 0 16px !important;
    padding: 0 !important;
    color: #35445a !important;
    font-size: 13px !important;
    line-height: 1.55 !important;
}

.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper a {
    color: var(--ppa-yellow-dark);
    font-weight: 800;
}

.woocommerce-checkout .woocommerce-form__label-for-checkbox {
    display: flex;
    gap: 9px;
    align-items: flex-start;
    font-size: 13px;
    line-height: 1.45;
}


/* ==================================================
   PULSANTI GIALLI
   ================================================== */

.woocommerce-checkout button.button,
.woocommerce-checkout .button,
.woocommerce-checkout #place_order {
    min-height: 46px;
    border: 0 !important;
    border-radius: 8px !important;
    background: linear-gradient(180deg, #ffd331 0%, #ffb900 100%) !important;
    color: var(--ppa-text) !important;
    font-size: 15px;
    font-weight: 900;
    text-transform: none;
    letter-spacing: 0;
    box-shadow: 0 10px 20px rgba(255, 190, 0, .25);
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.woocommerce-checkout button.button:hover,
.woocommerce-checkout .button:hover,
.woocommerce-checkout #place_order:hover {
    transform: translateY(-1px);
    filter: brightness(1.02);
    box-shadow: 0 14px 26px rgba(255, 190, 0, .32);
}

.woocommerce-checkout #place_order {
    width: 100%;
    min-height: 52px;
    margin-top: 18px;
    border-radius: 9px !important;
    font-size: 17px;
}


/* ==================================================
   RESPONSIVE TABLET
   ================================================== */

@media (max-width: 1180px) {
    .woocommerce-checkout form.checkout {
        grid-template-columns: minmax(0, 1fr);
    }

    .woocommerce-checkout #customer_details,
    .woocommerce-checkout #order_review {
        grid-column: 1 !important;
        grid-row: auto !important;
    }

    .woocommerce-checkout .woocommerce-form-coupon-toggle,
    .woocommerce-checkout form.checkout_coupon {
        max-width: 100%;
    }
}


/* ==================================================
   RESPONSIVE MOBILE
   ================================================== */

@media (max-width: 767px) {
    .woocommerce-checkout .woocommerce {
        padding: 24px 0 40px;
    }

    .woocommerce-checkout .woocommerce-form-login-toggle .woocommerce-info,
    .woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info {
        min-height: auto !important;
        padding: 18px 18px 18px 74px !important;
        font-size: 14px !important;
    }

    .woocommerce-checkout .woocommerce-form-login-toggle .woocommerce-info:before,
    .woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info:before {
        left: 20px !important;
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
        min-height: 36px !important;
        background-size: 19px 19px !important;
    }

    .woocommerce-checkout #customer_details {
        padding: 22px !important;
    }

    .woocommerce-checkout .woocommerce-billing-fields__field-wrapper {
        grid-template-columns: 1fr;
    }

    .woocommerce-checkout #billing_first_name_field,
    .woocommerce-checkout #billing_last_name_field,
    .woocommerce-checkout #billing_datanascita_field,
    .woocommerce-checkout #billing_codice_fiscale_field,
    .woocommerce-checkout #billing_country_field,
    .woocommerce-checkout #billing_state_field,
    .woocommerce-checkout #billing_address_1_field,
    .woocommerce-checkout #billing_city_field,
    .woocommerce-checkout #billing_postcode_field,
    .woocommerce-checkout #billing_phone_field,
    .woocommerce-checkout #billing_email_field,
    .woocommerce-checkout #billing_address_2_field {
        grid-column: span 1;
    }

    .woocommerce-checkout form.checkout_coupon .form-row-first,
    .woocommerce-checkout form.checkout_coupon .form-row-last {
        width: 100%;
        float: none;
    }

    .woocommerce-checkout form.checkout_coupon .form-row-last {
        margin-top: 12px;
    }

    .woocommerce-checkout #order_review:before {
        padding: 24px 22px 18px;
        font-size: 22px;
    }

    .woocommerce-checkout #order_review .shop_table {
        width: calc(100% - 44px) !important;
        margin: 0 22px 24px !important;
    }

    .woocommerce-checkout #payment {
        padding: 0 22px 26px !important;
    }
}

/* ==================================================
   CODICE FISCALE MAIUSCOLO SOLO SUL VALORE
   ================================================== */

/* Il valore digitato resta maiuscolo grazie allo snippet PHP/JS.
   Qui non usiamo text-transform, così il placeholder resta normale. */

.woocommerce-checkout #billing_codice_fiscale::placeholder {
    text-transform: none !important;
}

.woocommerce-checkout #billing_codice_fiscale::-webkit-input-placeholder {
    text-transform: none !important;
}

/* ==================================================
   CODICE FISCALE - VALIDAZIONE CAMPO
   ================================================== */

.woocommerce-checkout #billing_codice_fiscale::placeholder {
    text-transform: none !important;
}

.woocommerce-checkout #billing_codice_fiscale::-webkit-input-placeholder {
    text-transform: none !important;
}

.woocommerce-checkout #billing_codice_fiscale.ppa-field-error {
    border-color: #b42318 !important;
    box-shadow: 0 0 0 4px rgba(180, 35, 24, .10) !important;
}
