/* ===== Header: bottoni ospiti ===== */
.site-header .bb-header-buttons a.button.signup,
.site-header a.button.small.signup{color:#fff!important;background:#075FFF!important;border:1.5px solid #075FFF!important;border-radius:6px!important;font-weight:700!important;padding:8px 18px!important;line-height:1.2!important}
.site-header .bb-header-buttons a.button.signup:hover,
.site-header a.button.small.signup:hover{background:#102236!important;border-color:#102236!important;color:#fff!important}
.site-header .bb-header-buttons a.button.signin-button,
.site-header a.button.small.signin-button{color:#102236!important;background:#fff!important;border:1.5px solid #C9D3DF!important;border-radius:6px!important;font-weight:700!important;padding:8px 18px!important;line-height:1.2!important;margin-right:8px}
.site-header .bb-header-buttons a.button.signin-button:hover,
.site-header a.button.small.signin-button:hover{border-color:#075FFF!important;color:#075FFF!important}

/* ===== Appuntamenti: riga sessione più leggibile (il titolo è il corso) ===== */
.fmg-app-serie{font-size:14px!important;color:#25374A!important;font-weight:700}

/* ===== Home ===== */
.fmg-home-h1 .elementor-heading-title span{color:#075FFF}
.fmg-home-hero-img img{mix-blend-mode:multiply}

/* card percorsi */
.fmg-path-card{transition:box-shadow .2s ease,transform .2s ease,border-color .2s ease;overflow:hidden;text-decoration:none!important;color:inherit}
.fmg-path-card:hover{box-shadow:0 14px 30px rgba(16,34,54,.10);transform:translateY(-3px);border-color:#DCE6F5!important}
.fmg-path-card .elementor-widget-image img{display:block;width:100%;aspect-ratio:964/500;object-fit:cover;mix-blend-mode:multiply}
.fmg-path-card .elementor-widget-text-editor p{margin:0;color:#40536D}
.fmg-path-card .elementor-heading-title{color:#102236}
.fmg-path-card .fmg-path-go p{color:#075FFF;font-weight:700}
.fmg-path-card:hover .fmg-path-go p{color:#102236}

/* manifesto */
.fmg-manifesto p{margin:0}
.fmg-manifesto strong{color:#102236}
.fmg-manifesto em{font-style:normal;color:#075FFF;font-weight:700}

/* link "vedi tutti" */
.fmg-more p{margin:0}
.fmg-more a{font-weight:700;color:#075FFF;text-decoration:none}
.fmg-more a:hover{color:#102236}

/* blog e corsi in home: immagini intere, nelle proporzioni originali */
.fmg-home-posts .elementor-post__thumbnail__link{margin-bottom:0}
.fmg-home-posts .elementor-post__thumbnail{padding-bottom:0!important;position:relative!important;height:auto!important}
.fmg-home-posts .elementor-post__thumbnail img{position:static!important;transform:none!important;top:auto!important;left:auto!important;width:100%!important;height:auto!important;max-height:none!important;display:block}
.fmg-home-posts .elementor-post__excerpt p{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;margin:0}
.fmg-home-courses .elementor-post__excerpt{display:none}

/* ultime domande Guru Corner */
.fmg-q-list{list-style:none;margin:0;padding:0;background:#fff;border:1px solid #E6E9ED;border-radius:10px;overflow:hidden}
.fmg-q-item{margin:0;border-top:1px solid #E6E9ED}
.fmg-q-item:first-child{border-top:0}
.fmg-q-link{display:flex;flex-direction:column;gap:4px;padding:16px 22px;text-decoration:none!important;transition:background .15s ease}
.fmg-q-link:hover{background:#F7F9FC}
.fmg-q-title{font-family:Inter,sans-serif;font-weight:700;font-size:17px;line-height:1.35;color:#102236}
.fmg-q-link:hover .fmg-q-title{color:#075FFF}
.fmg-q-meta{font-size:14px;color:#6B7785}

@media (max-width:767px){
.site-header a.button.small.signin-button{margin-right:4px;padding:7px 12px!important}
.site-header a.button.small.signup{padding:7px 12px!important}
.fmg-q-link{padding:12px 14px}
.fmg-q-title{font-size:15px}
.fmg-q-meta{font-size:13px}

/* home mobile: margini laterali più stretti (16px totali) */
.home .site-content{padding-left:0!important;padding-right:0!important}
.home [data-elementor-type="wp-page"]>.e-con{--padding-left:6px!important;--padding-right:6px!important}

/* home mobile: tutto più compatto */
.home .fmg-home-h1 .elementor-heading-title{font-size:28px!important;line-height:1.15!important}
.home h2.elementor-heading-title{font-size:23px!important;line-height:1.2!important}
.home .elementor-widget-text-editor.elementor-widget{font-size:15.5px!important;line-height:1.55!important}
.home .elementor-widget-text-editor p{font-size:inherit!important;line-height:inherit!important}
.home p.elementor-heading-title{font-size:12px!important}
.home .elementor-button{font-size:14px!important;padding:11px 18px!important}
.home .fmg-manifesto{padding:18px 16px!important}

/* card percorsi su mobile: riga compatta immagine + testo */
.fmg-paths>.fmg-path-card{display:grid!important;grid-template-columns:92px minmax(0,1fr);column-gap:14px;row-gap:3px!important;padding:12px!important;align-items:center}
.fmg-paths>.fmg-path-card>.elementor-widget{grid-column:2;padding:0!important;margin:0!important;width:auto!important}
.fmg-paths>.fmg-path-card>.elementor-widget.elementor-widget-image{grid-column:1;grid-row:1 / span 3;align-self:start}
.fmg-paths>.fmg-path-card>.elementor-widget-image img{aspect-ratio:1/1;border-radius:8px;object-position:30% 50%}
.fmg-path-card .elementor-heading-title{font-size:16px!important;line-height:1.25!important}
.home .fmg-path-card .elementor-widget-text-editor.elementor-widget{font-size:13.5px!important;line-height:1.4!important}
.fmg-paths{row-gap:12px!important}
.fmg-paths>.fmg-path-card:hover{transform:none}

/* appuntamenti, corsi e blog su mobile */
.fmg-app-card{padding:14px;gap:12px}
.fmg-app-date{width:58px;padding:9px 4px}
.fmg-app-day{font-size:20px}
.fmg-app-title{font-size:16px}
.fmg-app-serie{font-size:13px!important}
.fmg-app-desc{font-size:14px}
.fmg-app-meta,.fmg-app-btn{font-size:13.5px}
.fmg-home-posts .elementor-post__text{padding:14px 16px 4px!important}
.fmg-home-posts .elementor-post__title,.fmg-home-posts .elementor-post__title a{font-size:16px!important;line-height:1.3!important}
.fmg-home-posts .elementor-post__excerpt p{font-size:14px!important}
}
