/*
 Theme Name:   Omenoni Theme
 Description:  Tema personalizzato per Scuola Omenoni - Editoria, Scrittura, Formazione.
 Author:       Scuola Omenoni
 Template:     wplms
 Version:      1.0.0
*/

/* --- LAYOUT GENERALE E HERO --- */
.homehero {
    min-height: 650px;
}

/* Rimozione elementi demo non pertinenti (iPhone frame) */
.iphone {
    display: none;
}

.block .block_media {
    max-height: 240px;
    overflow: hidden;
}

/* Pulizia Footer */
#footerbottom {
    display: none;
}

/* Effetto scorrimento sopra il footer (Parallasse) */
footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: -1;
    min-height: 300px;
    background: #1C1C1C;
}

#content, section.main {
    background: #FDFCF8; /* Sfondo carta avorio */
    margin-bottom: 300px;
    padding-bottom: 0 !important;
}

.footerwidget h4 {
    text-transform: none;
    color: #FFFFFF;
}

.footerwidget li {
    line-height: 2.2rem;
}

/* Responsive per Mobile: il footer torna normale */
@media (max-width: 768px) {
    footer {
        position: relative;
        z-index: 1;
    }
    #content, section.main {
        margin-bottom: 0;
    }
}

/* --- NAVIGAZIONE E MENU --- */
/* Sostituzione Arancione con Rosso Bordeaux della Scuola */
.megadrop .menu-cat_subcat .taxonomy_menu>li:hover>a {
    color: #8B0000;
}

ul#menu-popular-categories>li>a:hover {
    background: #8B0000;
    color: #fff;
}

nav .menu li:hover>.sub-menu {
    border-radius: 5px;
}

ul#menu-popular-categories {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    border-top: 1px solid var(--border);
}

ul#menu-popular-categories li {
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

ul#menu-popular-categories>li>a {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 1.5rem;
}

ul#menu-popular-categories>li>a >.vicon+span {
    font-size: 1.1rem;
    font-weight: 600;
    opacity: 1;
}

/* --- ELEMENTI CORSI E DOCENTI --- */
/* Foto docenti circolari */
.course_instructor_data img.avatar {
    border-radius: 50%;
}

.wplms_course_categories>* {
    background: none !important;
    padding: 0;
}

.elegant .unit_prevnext {
    border: none;
}

/* Curriculum e Classi */
ul.course_curriculum {
    border: 1px solid var(--border);
    border-radius: 5px;
}

.course_curriculum li.course_section {
    padding: 10px 15px;
    background: #F1F1F1;
    border-bottom: 1px solid var(--border) !important;
    font-weight: 600;
}

li.course_lesson {
    background: var(--highlight);
    border: none !important;
}

/* Pulsante Iscrizione (Call to Action) */
.course_button.full.button a {
    justify-content: center;
    font-weight: 600;
    background-color: #8B0000 !important;
    color: #fff !important;
    border-radius: 4px;
}

/* --- WIDGET E DASHBOARD --- */
#content .widget {
    margin: 30px 0 0;
    background: #fafafa;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
    padding: 1rem;
}

.profilehighlight {
    z-index: 99;
    padding: 10px;
    box-shadow: 0 2px 2px rgba(0,0,0,0.1);
    font-weight: 600;
    background: #1C1C1C;
    color: #fff;
}

.profilehighlight .elementor-widget-wrap {
    flex-direction: row !important;
    align-items: center;
    justify-content: space-around !important;
}

.single-course span.amount, 
.single-course span.amount+.subs {
    color: #1C1C1C; /* Prezzo scuro su fondo chiaro */
}

/* Tipografia Extra */
.vibe_editor_note h2 {
    mix-blend-mode: difference;
}