/******************************
Personalizzazioni progetto RajaYoga Newsletter
******************************/

body {
    background-color: #E0E3DD;
}

/* Pulsanti: hover tè verde chiaro con testo scuro per la leggibilità */
.pbmit-btn:not(.pbmit-btn-hover-white):hover,
.pbmit-btn-global:hover {
    color: var(--pbmit-blackish-color);
    background-color: var(--pbmit-secondary-color);
}

.pbmit-btn:not(.pbmit-btn-hover-white):hover .pbmit-button-icon svg path,
.pbmit-btn-global:hover svg path {
    stroke: var(--pbmit-blackish-color);
}

.site-header .logo-img {
    max-height: 48px;
}

.main-menu .navigation {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 0;
}

@media (min-width: 1200px) {
    .site-navigation .navbar-collapse.collapse {
        display: flex !important;
    }

    .navbar-toggler {
        display: none;
    }

    /* il pallino del dropdown occupa spazio dentro la voce, così la distanza tra le voci resta uguale */
    .main-menu .navigation > li.dropdown > a {
        padding-right: 14px;
    }

    .main-menu ul > li.dropdown > a:after {
        right: 0;
    }
}

.main-menu .navigation > li > ul {
    position: absolute;
    background: var(--pbmit-white-color);
    box-shadow: 0 10px 30px rgba(9, 10, 12, 0.08);
    padding: 10px 0;
    min-width: 250px;
    list-style: none;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
}

.main-menu .navigation > li > ul li a {
    display: block;
    padding: 8px 20px;
}

@media (max-width: 1199px) {
    .main-menu .navigation {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 15px 0;
    }

    .main-menu .navigation > li {
        width: 100%;
    }

    .main-menu .navigation > li > a {
        padding: 10px 0;
        color: var(--pbmit-blackish-color) !important;
    }

    .main-menu .navigation > li > ul {
        position: static;
        display: none;
        box-shadow: none;
        padding-left: 15px;
    }

    /* il tema nasconde tutto il box destro da mobile: teniamo visibile solo la ricerca, accanto all'hamburger */
    .site-header .pbmit-right-box {
        display: flex !important;
    }

    .site-header .pbmit-right-box .pbmit-button-box,
    .site-header .pbmit-right-box .pbmit-button-box-second {
        display: none;
    }

    .site-header .pbmit-header-search-btn,
    .header-style-1 .pbmit-header-search-btn {
        display: block;
        padding-left: 0;
        margin-right: 55px;
    }

    .site-header .pbmit-header-search-btn a {
        width: 42px;
        height: 42px;
        line-height: 42px;
    }
}

.pbmit-bg-color-global {
    background-color: var(--pbmit-global-color) !important;
}

.pbmit-bg-color-global label,
.pbmit-bg-color-global .form-label,
.pbmit-bg-color-global .form-check-label {
    color: var(--pbmit-white-color);
}

.pbmit-bg-color-global .content a {
    color: var(--pbmit-white-color);
    text-decoration: underline;
}

.content {
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
}

.content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Home */
.hero {
    min-height: 70vh;
    padding: 80px 0;
    background-color: var(--pbmit-light-color);
    background-size: cover;
    background-position: center;
}

.hero-images img {
    width: 100%;
    object-fit: cover;
}

.hero-image-float {
    position: absolute;
    width: 45% !important;
    bottom: -30px;
    left: -30px;
    border: 6px solid var(--pbmit-white-color);
}

.video-link {
    color: var(--pbmit-blackish-color);
    font-weight: 600;
    text-decoration: none;
}

.video-link i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background-color: var(--pbmit-global-color);
    color: var(--pbmit-white-color);
}

.intro-text {
    max-width: 780px;
    font-size: 18px;
}

.feature-card {
    background-color: var(--pbmit-white-color);
    border-radius: 12px;
    padding: 30px 20px;
    box-shadow: 0 10px 30px rgba(41, 47, 54, 0.06);
}

.feature-card img {
    max-height: 110px;
}

.section-card {
    position: relative;
    min-height: 220px;
    border-radius: 12px;
    background-color: var(--pbmit-global-color);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    padding: 20px;
    overflow: hidden;
}

.section-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(41, 47, 54, 0) 40%, rgba(41, 47, 54, 0.75) 100%);
}

.list-card {
    display: block;
    height: 100%;
    background-color: var(--pbmit-white-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(41, 47, 54, 0.06);
    text-decoration: none;
    transition: transform 0.25s ease;
}

.list-card:hover {
    transform: translateY(-4px);
}

.list-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background-color: var(--pbmit-light-color);
}

.list-card-date {
    display: inline-block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: var(--pbmit-global-color);
}

.list-card-title {
    color: var(--pbmit-blackish-color);
    font-family: var(--pbmit-heading-typography-font-family);
    font-size: 19px;
    margin-bottom: 8px;
}

.list-card-excerpt {
    color: var(--pbmit-body-typography-color);
    font-size: 14px;
}

.empty-state {
    text-align: center;
    color: var(--pbmit-body-typography-color);
    padding: 40px 0;
}

.about-us-two_img {
    background-image: none;
    overflow: hidden;
    padding: 0;
    height: 100%;
    min-height: 400px;
}

/* L'immagine è assoluta: l'altezza del box la decide la colonna di testo (desktop) o l'altezza fissa del tema (mobile), non la foto */
.about-us-two_img img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.section-card-title {
    position: relative;
    color: var(--pbmit-white-color);
    font-family: var(--pbmit-heading-typography-font-family);
    font-size: 20px;
    font-weight: 600;
}

/* Title bar — come da template (immagine di testata a tutto sfondo); gradient neutro se manca l'immagine */
.pbmit-title-bar-wrapper,
.pbmit-title-bar-content {
    min-height: 450px;
}

/* Velatura scura a salire sull'immagine: leggibilità di menu, titolo e breadcrumb */
.pbmit-title-bar-wrapper:not(.pbmit-title-bar-noimage):before {
    background-image: linear-gradient(to top, rgba(9, 10, 12, 0.5) 0%, rgba(9, 10, 12, 0.5) 55%, rgba(9, 10, 12, 0.35) 100%) !important;
}

.pbmit-title-bar-wrapper.pbmit-title-bar-noimage {
    background-image: linear-gradient(135deg, var(--pbmit-global-color) 20%, var(--pbmit-global-color) 50%, var(--pbmit-secondary-color) 100%);
}

@media (max-width: 767px) {
    .pbmit-title-bar-wrapper,
    .pbmit-title-bar-content {
        min-height: 400px;
    }

    .pbmit-title-bar-content {
        padding-bottom: 40px;
    }
}

/* Contatti — box sedi (pbmit-ihbox-style-9 del template) */
.sedi-intro {
    max-width: 760px;
    margin: 20px auto 0;
}

/* il responsive del template aggiunge margini ai col dell'ihbox_section: qui la spaziatura la gestisce il gutter g-5 */
.ihbox_section .row.g-5 > [class*="col-"] {
    margin-top: var(--bs-gutter-y);
}

.sedi-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sede-box {
    padding: 30px;
    background-color: var(--pbmit-white-color);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(41, 47, 54, 0.06);
}

.sede-box .pbmit-ihbox-icon {
    height: 96px;
    min-width: 96px;
    margin-right: 24px;
}

.sede-box .pbmit-icon-type-icon {
    height: 70px;
    width: 70px;
    font-size: 28px;
}

.sede-box .pbmit-ihbox-contents {
    min-width: 0;
}

.sede-box .pbmit-heading-desc a {
    color: inherit;
    font-weight: 600;
}

.sede-box-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    font-weight: 600;
    color: var(--pbmit-global-color);
}

.sede-box-link:hover {
    color: var(--pbmit-secondary-color);
}

.contact-map {
    position: sticky;
    top: 120px;
    border-radius: 20px;
    overflow: hidden;
}

@media (max-width: 575px) {
    .sede-box .pbmit-ihbox-icon {
        margin: 0 0 20px;
        width: 96px;
    }
}

/* Contatti — elenco altre sedi */
.altre-sedi {
    margin-top: 50px;
    padding-top: 28px;
    border-top: 1px solid rgba(41, 47, 54, .1);
}

.altre-sedi .pbmit-service-title {
    color: var(--pbmit-blackish-color);
}

.sede-chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sede-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background-color: var(--pbmit-light-color);
    border-radius: 30px;
    font-weight: 600;
    color: var(--pbmit-blackish-color);
    transition: background-color 0.25s ease, color 0.25s ease;
}

.sede-chip i {
    font-size: 16px;
    color: var(--pbmit-global-color);
    transition: color 0.25s ease;
}

.sede-chip:hover {
    background-color: var(--pbmit-global-color);
    color: var(--pbmit-white-color);
}

.sede-chip:hover i {
    color: var(--pbmit-white-color);
}

/* Contatti — box destro su sfondo scuro: il sottotitolo deve leggersi bianco come il resto del testo */
.contact-us-right-box .pbmit-element-heading {
    color: var(--pbmit-white-color);
}

/* Contatti — email e whatsapp con numero/indirizzo accanto all'icona */
.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
}

.contact-info-item a {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, .92);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.25s ease;
}

.contact-info-item a:hover {
    color: var(--pbmit-secondary-color);
}

.contact-info-item i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, .15);
    color: var(--pbmit-white-color);
    font-size: 16px;
    transition: background-color 0.25s ease, color 0.25s ease;
}

.contact-info-item a:hover i {
    background-color: var(--pbmit-white-color);
    color: var(--pbmit-global-color);
}

/* Contatti — social sempre visibili sotto il testo, senza hover-reveal */
.contact-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
}

.contact-social-li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, .15);
    color: var(--pbmit-white-color);
    font-size: 16px;
    transition: background-color 0.25s ease, color 0.25s ease;
}

.contact-social-li a:hover {
    background-color: var(--pbmit-white-color);
    color: var(--pbmit-global-color);
}

/* Contatti — mappa sedi: cursore statico e marker personalizzato */
.contact-map .leaflet-container,
.contact-map .leaflet-grab,
.contact-map .leaflet-dragging .leaflet-grab,
.contact-map .leaflet-dragging .leaflet-container,
.contact-map .leaflet-interactive {
    cursor: default !important;
}

.contact-map .leaflet-container {
    border-radius: 20px;
}

.map-marker-pin {
    width: 28px;
    height: 40px;
}

.map-marker-pin::before {
    content: '';
    display: block;
    width: 28px;
    height: 28px;
    background-color: var(--pbmit-global-color);
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    border: 3px solid var(--pbmit-white-color);
    box-shadow: 0 2px 8px rgba(9, 10, 12, 0.3);
}

/* Corsi — box ihbox-style-4 con foto del corso al posto dello sfondo decorativo di default */
.ihbox-style-4_bg.has-photo {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.ihbox-style-4_bg.has-photo::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(41, 47, 54, 0.15) 0%, rgba(41, 47, 54, 0.85) 100%);
}

.ihbox-style-4_bg.has-photo .pbmit-ihbox-style-4 {
    position: relative;
    z-index: 1;
}

/* Home — categorie blog su sfondo global: l'hover del titolo usa il colore global e
   sparirebbe sullo sfondo della sezione. */
.pbmit-bg-color-global .pbmit-ele-event_listing .pbmit-event-layout-wrapper .pbmit-event-infomation .pbmit-event-details .pbmit-event-title .pbmit-heading-text a:hover {
    color: var(--pbmit-secondary-color);
}

/* Pager — il componente (app/Views/partials/pager.php e pager-ajax.php) usa i colori
   "info"/"primary" di Bootstrap: ridefiniamo le variabili --bs-btn-* così che TUTTI gli stati
   (hover, focus, active, disabled) usino la palette del tema e non compaia più il blu/ciano
   di Bootstrap nei bordi o nell'ombra di focus. Le icone material-symbols-rounded non sono
   caricate nel sito, per questo i pager usano le icone pbmit/themify del tema. */
.pager .btn {
    --bs-btn-color: var(--pbmit-blackish-color);
    --bs-btn-bg: transparent;
    --bs-btn-border-color: rgba(41, 47, 54, 0.15);
    --bs-btn-hover-color: var(--pbmit-white-color);
    --bs-btn-hover-bg: var(--pbmit-global-color);
    --bs-btn-hover-border-color: var(--pbmit-global-color);
    --bs-btn-active-color: var(--pbmit-white-color);
    --bs-btn-active-bg: var(--pbmit-global-color);
    --bs-btn-active-border-color: var(--pbmit-global-color);
    --bs-btn-disabled-color: var(--pbmit-blackish-color);
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: rgba(41, 47, 54, 0.15);
    --bs-btn-focus-shadow-rgb: 138, 154, 134;
    width: 40px;
    height: 40px;
    padding: 0;
    margin: 0 !important;
    border-radius: 50% !important;
    font-size: 15px;
    justify-content: center;
    flex-shrink: 0;
}

.pager .btn-group {
    flex-wrap: wrap;
    gap: 8px;
}

.pager .btn:disabled,
.pager .btn.disabled {
    opacity: 0.35;
}

.pager .btn-info,
.pager .btn-info:disabled,
.pager .btn-info:hover {
    --bs-btn-color: var(--pbmit-white-color);
    --bs-btn-bg: var(--pbmit-global-color);
    --bs-btn-border-color: var(--pbmit-global-color);
    --bs-btn-hover-color: var(--pbmit-white-color);
    border-color: var(--pbmit-global-color) !important;
}

/* Footer — il template usa solo .pbmit-footer-widget-area, senza .pbmit-footer-big-area:
   il margin-top negativo del tema (pensato per "agganciare" quella sezione, qui assente)
   faceva risalire la prima colonna sopra il contenuto della pagina, rompendo il layout */
.site-footer .pbmit-footer-widget-col-1 {
    margin-top: 0;
}

/* Footer scuro */
.site-footer .pbmit-footer-wrapper {
    background-image: none;
    background-color: #30382E;
    color: #fff;
}

.site-footer a {
    color: #fff;
}

.site-footer a:hover {
    color: var(--pbmit-secondary-color);
}

.site-footer .widget .widget-title {
    color: var(--pbmit-white-color);
}

.site-footer .widget ul li,
.site-footer .widget .pbmit-contact-widget-address {
    color: #fff;
}

.site-footer .pbmit-footer-widget-col-1 .pbmit-social-links li a {
    color: var(--pbmit-white-color);
    border-color: rgba(255, 255, 255, 0.4);
}

.site-footer .pbmit-footer-widget-col-1 .pbmit-social-links li a:hover {
    color: var(--pbmit-blackish-color);
    background-color: var(--pbmit-white-color);
    border-color: var(--pbmit-white-color);
}

.site-footer .pbmit-footer-text-inner {
    border-top-color: rgba(255, 255, 255, 0.15);
}

.site-footer .pbmit-footer-text-inner .pbmit-footer-menu li:last-child:before {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Prima colonna allineata in alto con i titoli delle altre colonne
   (nel template era compensata dal margin-top negativo, qui azzerato) */
.site-footer .pbmit-footer-widget-area .widget_text {
    padding-top: 45px;
}

/* Il padding-right di 180px del tema schiacciava il testo del claim */
.site-footer .pbmit-footer-widget-col-1 .textwidget {
    padding-right: 20px;
}

/* Il tema forza la colonna 1 al 38% (>=992px) e al 50% !important (<=1200px):
   qui è a tutta riga fino a xl, poi un quarto (3+2+2+2+3) */
.site-footer .pbmit-footer-widget-col-1 {
    flex: 0 0 100%;
    max-width: 100% !important;
    width: 100% !important;
}

@media (min-width: 1200px) {
    .site-footer .pbmit-footer-widget-col-1 {
        flex: 0 0 25%;
        max-width: 25% !important;
        width: 25% !important;
    }
}

.site-footer .widget .widget-title a {
    color: inherit;
}

.site-footer .footer-contacts .pbmit-contact-widget-line {
    margin-bottom: 8px;
}

.site-footer .footer-sedi {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-footer .widget .footer-sedi li {
    display: flex;
    gap: 10px;
    padding-bottom: 12px;
    line-height: 22px;
}

.site-footer .footer-sedi i {
    color: var(--pbmit-secondary-color);
    line-height: 22px;
}

.site-footer .footer-sede-title {
    color: var(--pbmit-white-color);
    font-weight: 500;
}

.site-footer .footer-altre-sedi {
    margin-top: 5px;
    line-height: 22px;
}

.site-footer .footer-contacts .pbmit-timelist-list {
    margin-top: 15px;
}

/* Barra copyright a tutta larghezza: nel template era spostata a destra
   del 38.5% e con le colonne invertite */
.site-footer .pbmit-footer-text-inner {
    margin-left: 0;
}

.site-footer .pbmit-footer-text-inner .row {
    flex-direction: row;
}

.site-footer .pbmit-footer-copyright-text-area {
    text-align: start;
}

.site-footer .pbmit-footer-cookies {
    text-align: end;
}

@media (max-width: 767px) {
    .site-footer .pbmit-footer-widget-area .widget_text {
        padding-top: 30px;
    }

    .site-footer .pbmit-footer-widget-col-1 .textwidget {
        padding-right: 0;
    }

    .site-footer .pbmit-footer-copyright-text-area,
    .site-footer .pbmit-footer-cookies {
        text-align: center;
    }

    .site-footer .pbmit-footer-cookies {
        margin-top: 10px;
    }
}

/* Anteprime YouTube nel formato delle immagini blog del template (890x660) */
.pbmit-blog-style-1 .video-thumb {
    aspect-ratio: 16 / 9;
    clip-path: none; /* senza pbmit-blog-btn non serve la sagoma con l'incavo */
}

.pbmit-blog-style-1 .video-thumb img {
    height: 100%;
    object-fit: contain;
}

.pbmit-blog-style-1 .video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: var(--pbmit-global-color);
    color: var(--pbmit-white-color);
    font-size: 22px;
    transform: translate(-50%, -50%);
    pointer-events: none;
    transition: all 0.5s ease 0s;
}

.pbmit-blog-style-1 .post-item:hover .video-play {
    background-color: var(--pbmit-blackish-color);
    color: var(--pbmit-white-color);
    transform: translate(-50%, -50%) scale(1.1);
}

/* Miniature video nel widget-recent-post (quadrate come nel template, 150x150) */
.widget-recent-post .video-recent-thumb {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 20px;
}

.widget-recent-post .video-recent-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.widget-recent-post .video-recent-thumb .video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background-color: var(--pbmit-secondary-color);
    color: var(--pbmit-blackish-color);
    font-size: 12px;
    transform: translate(-50%, -50%);
    transition: all 0.5s ease 0s;
}

.widget-recent-post .video-recent-thumb:hover .video-play {
    background-color: var(--pbmit-blackish-color);
    color: var(--pbmit-white-color);
}

/* Anteprime album fotogallery nello stile blog del template (890x660) */
.pbmit-blog-style-1 .album-thumb {
    aspect-ratio: 890 / 660;
    clip-path: none;
}

.pbmit-blog-style-1 .album-thumb img {
    height: 100%;
    object-fit: cover;
}

/* Fotogallery: il badge album resta cliccabile sopra il link al lightbox */
.pbmit-sortable-yes .pbmit-blog-style-1 .pbmit-meta-cat-wrapper {
    z-index: 2;
}

/* Fotogallery: filtri album su una sola riga, barra scorrevole se non ci stanno */
.pbmit-sortable-yes .pbmit-sortable-list-ul {
    position: relative;
    display: flex;
    gap: 4px;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto 50px;
    padding: 6px;
    overflow-x: auto;
    scrollbar-width: none;
    background-color: var(--pbmit-light-color);
    border-radius: 50px;
}

.pbmit-sortable-yes .pbmit-sortable-list-ul::-webkit-scrollbar {
    display: none;
}

.pbmit-sortable-yes .pbmit-sortable-list-ul li,
.pbmit-sortable-yes .pbmit-sortable-list-ul li:not(:last-child) {
    flex-shrink: 0;
    margin: 0 !important;
}

.pbmit-sortable-yes .pbmit-sortable-list a {
    min-width: 0;
    padding: 10px 22px;
    font-size: 15px;
    line-height: 20px;
    white-space: nowrap;
    color: var(--pbmit-blackish-color);
    border-radius: 50px;
    transition: all 0.3s ease 0s;
}

.pbmit-sortable-yes .pbmit-sortable-list a:hover {
    color: var(--pbmit-global-color);
}

.pbmit-sortable-yes .pbmit-sortable-list a.pbmit-selected {
    color: var(--pbmit-white-color);
    background-color: var(--pbmit-global-color);
    box-shadow: 0 6px 16px rgba(75, 139, 139, 0.3);
}

.pbmit-sortable-yes .pbmit-sortable-list-ul.fade-start {
    -webkit-mask-image: linear-gradient(to right, transparent, #000 48px);
    mask-image: linear-gradient(to right, transparent, #000 48px);
}

.pbmit-sortable-yes .pbmit-sortable-list-ul.fade-end {
    -webkit-mask-image: linear-gradient(to left, transparent, #000 48px);
    mask-image: linear-gradient(to left, transparent, #000 48px);
}

.pbmit-sortable-yes .pbmit-sortable-list-ul.fade-start.fade-end {
    -webkit-mask-image: linear-gradient(to right, transparent, #000 48px, #000 calc(100% - 48px), transparent);
    mask-image: linear-gradient(to right, transparent, #000 48px, #000 calc(100% - 48px), transparent);
}

@media (max-width: 767px) {
    .pbmit-sortable-yes .pbmit-sortable-list-ul {
        margin-bottom: 30px;
    }

    .pbmit-sortable-yes .pbmit-sortable-list a {
        padding: 8px 16px;
        font-size: 14px;
    }
}

/* Fotogallery: sidebar filtri album su desktop */
.gallery-sidebar {
    position: sticky;
    top: 120px;
}

.gallery-sidebar .widget {
    background-color: var(--pbmit-light-color);
}

.gallery-sidebar .widget-categories .pbmit-cat-li a.pbmit-selected,
.gallery-sidebar .widget-categories .pbmit-cat-li a:hover {
    color: var(--pbmit-global-color);
}

.gallery-sidebar .widget-categories .pbmit-cat-li a.pbmit-selected + .pbmit-brackets {
    color: var(--pbmit-global-color);
    font-weight: 600;
}

.gallery-sidebar .widget-categories .pbmit-cat-li a:not(.pbmit-selected):before {
    background-color: transparent;
    box-shadow: inset 0 0 0 2px var(--pbmit-global-color);
}

/* Fotogallery: etichetta album contenuta nelle miniature piccole */
.pbmit-sortable-yes .pbmit-blog-style-1 .pbmit-meta-cat-wrapper {
    top: 15px;
    left: 15px;
    right: 15px;
    margin: 0;
}

.pbmit-sortable-yes .pbmit-blog-style-1 .pbmit-meta-category a {
    display: inline-block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: top;
    padding: 3px 12px;
    font-size: 11px;
}

.newsletter-content table {
    max-width: 100%;
    width: auto !important;
}

.newsletter-content img {
    max-width: 100%;
    height: auto;
}

/* Newsletter - timeline ispirata a our-history */
.newsletter-timeline {
    position: relative;
    padding: 50px 40px 50px 70px;
    border-radius: 20px;
    background-color: var(--pbmit-global-color);
    background-image: url(../img/bg/yoga-pattern-01.png);
}

.newsletter-timeline::before {
    content: "";
    position: absolute;
    top: 50px;
    bottom: 50px;
    left: 40px;
    width: 1px;
    background-color: rgba(255, 255, 255, 0.25);
}

.newsletter-timeline-item {
    position: relative;
}

.newsletter-timeline-item + .newsletter-timeline-item {
    margin-top: 20px;
}

.newsletter-timeline-dot {
    position: absolute;
    top: 30px;
    left: -35px;
}

.newsletter-timeline-dot .dot {
    display: block;
    width: 10px;
    height: 10px;
    background-color: var(--pbmit-white-color);
    transform: rotate(45deg);
}

.newsletter-timeline-card {
    display: block;
    padding: 20px 25px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background-color: rgba(255, 255, 255, 0.06);
    color: var(--pbmit-white-color);
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.newsletter-timeline-card:hover {
    background-color: rgba(255, 255, 255, 0.14);
    transform: translateX(6px);
}

.newsletter-timeline-year {
    margin-bottom: 0;
    font-size: 18px;
    line-height: 28px;
    letter-spacing: 1px;
    color: var(--pbmit-white-color);
}

.newsletter-timeline-date {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    opacity: 0.8;
    color: var(--pbmit-white-color);
}

.newsletter-timeline-title {
    margin-bottom: 12px;
    font-size: 22px;
    line-height: 30px;
    color: var(--pbmit-white-color);
}

.newsletter-timeline-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--pbmit-white-color);
}

.newsletter-sidebar {
    position: sticky;
    top: 120px;
}

@media (max-width: 767px) {
    .newsletter-timeline {
        padding: 30px 20px 30px 45px;
    }

    .newsletter-timeline::before {
        top: 30px;
        bottom: 30px;
        left: 22px;
    }

    .newsletter-timeline-dot {
        left: -27px;
    }

    .newsletter-timeline-title {
        font-size: 19px;
        line-height: 26px;
    }
}

/* Anteprime sedi: immagine 4:3 */
.pbmit-blog-style-1 .pbmit-featured-wrapper.fixed-4x3,
.pbmit-team-style-1 .pbmit-featured-wrapper.fixed-4x3 {
    aspect-ratio: 4 / 3;
}
.pbmit-blog-style-1 .pbmit-featured-wrapper.fixed-4x3 img,
.pbmit-team-style-1 .pbmit-featured-wrapper.fixed-4x3 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}
/* Anteprime categorie articoli e sedi in home: immagine quadrata */
.pbmit-team-style-1 .pbmit-featured-wrapper.fixed-1x1 {
    aspect-ratio: 1 / 1;
}
.pbmit-team-style-1 .pbmit-featured-wrapper.fixed-1x1 .featured-link {
    display: block;
    width: 100%;
    height: 100%;
}
.pbmit-team-style-1 .pbmit-featured-wrapper.fixed-1x1 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}
.pbmit-ele-event_listing .pbmit-event-layout-wrapper .pbmit-event-banner .pbmit-event-banner-img.fixed-4x3 {
    height: auto;
    aspect-ratio: 4 / 3;
}

/* Home — form newsletter nel box ihbox-style-5: adatta il campo floating di fe() allo stile pill del template */
.home-newsletter-form .pbmit-footer-newsletter .form-floating > .form-control {
    height: 65px;
    min-height: 65px;
    padding: 24px 220px 8px 38px;
    border-radius: 40px;
    background-color: var(--pbmit-white-color);
}
.home-newsletter-form .pbmit-footer-newsletter .form-floating > label {
    padding: 20px 38px;
    height: 65px;
}
.home-newsletter-form .pbmit-footer-newsletter .form-floating > .form-control:focus ~ label,
.home-newsletter-form .pbmit-footer-newsletter .form-floating > .form-control:not(:placeholder-shown) ~ label {
    transform: scale(.8) translateY(-12px) translateX(10px);
}
.home-newsletter-form .pbmit-footer-newsletter .form-floating > .form-control:focus ~ label::after,
.home-newsletter-form .pbmit-footer-newsletter .form-floating > .form-control:not(:placeholder-shown) ~ label::after {
    background-color: transparent;
}
.home-newsletter-form .pbmit-footer-newsletter .invalid-feedback {
    padding-left: 38px;
}
.home-newsletter-form .pbmit-footer-newsletter > button {
    height: 65px;
}
.ihbox-style-5_bg .home-newsletter-form {
    padding-bottom: 55px;
}
@media (max-width: 820px) {
    .home-newsletter-form .pbmit-footer-newsletter .form-floating > .form-control {
        padding-right: 20px;
        padding-left: 20px;
    }
    .home-newsletter-form .pbmit-footer-newsletter .form-floating > label {
        padding-left: 20px;
        padding-right: 20px;
    }
}

.pbmit-ihbox-style-7 .pbmit-icon-wrapper img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

/* Home — ultimi articoli senza immagine: sfondo colore del tema con logo */
.pbmit-blog-style-2 .pbmit-bg-image.no-image {
    background-color: var(--pbmit-global-color);
    background-image: url('/immagini/logo-white.svg');
    background-size: 50% auto;
    background-position: center;
    background-repeat: no-repeat;
}

/* Home — static box: titoli in h3 / div al posto degli h4 del template (gerarchia heading) */
.pbmit-element-static-box-style-1 .pbmit-ele-static-box .pbmit-contentbox-inner .pbminfotech-box-title h3 {
    font-size: 32px;
    line-height: 42px;
    font-weight: 600;
    padding-right: 100px;
}
.pbmit-static-box-style-1 .pbmit-bg-imgbox .pbmit-text .pbminfotech-box-title .pbmit-static-title {
    font-family: var(--pbmit-heading-typography-font-family);
    font-size: 35px;
    line-height: 44px;
    font-weight: 600;
    color: var(--pbmit-white-color);
    margin: 0;
}
/* Box senza immagine (es. archivio newsletter): colore del tema con logo */
.pbmit-static-box-style-1 .pbmit-bg-imgbox.no-image {
    background-color: var(--pbmit-global-color);
    background-image: url('/immagini/logo-white.svg');
    background-size: 40% auto;
    background-position: center;
    background-repeat: no-repeat;
}
/* Home — static box: stessa altezza per tutti i box (il template usa height:100% che blocca lo stretch del flex) */
.pbmit-element-static-box-style-1 .pbmit-ele-static-box {
    height: auto;
    display: flex;
    flex-direction: column;
}
.pbmit-element-static-box-style-1 .pbmit-ele-static-box .pbmit-contentbox {
    flex: 1;
    display: flex;
}
.pbmit-element-static-box-style-1 .pbmit-ele-static-box .pbmit-contentbox-inner {
    height: auto;
}
/* Home — static box: il pulsante del template è pensato per "Read More"; con testi più lunghi va a capo e spezza il bordo */
.pbmit-static-box-style-1 .pbmit-button a {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}
/* Categoria — immagini sopra l'elenco articoli in formato 16:9 */
.categoria-img {
    border-radius: 8px;
    overflow: hidden;
}
.categoria-img img {
    object-fit: cover;
}

/* Home — macrocategorie eventi (pbmit-service-style-2): foto quadrate, altezza uniforme anche senza immagine header */
.pbmit-service-style-2 .pbmit-featured-wrapper.fixed-ratio {
    aspect-ratio: 1 / 1;
}
.pbmit-service-style-2 .pbmit-featured-wrapper.fixed-ratio img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}
.pbmit-service-style-2 .pbmit-featured-wrapper.no-image {
    border-radius: 30px;
    background-color: var(--pbmit-secondary-color);
    background-image: url('/immagini/logo-white.svg');
    background-size: 50% auto;
    background-position: center;
    background-repeat: no-repeat;
}

/* Home - sezione sedi dei corsi: descrizione leggibile su sfondo chiaro */
.sedi-section .pbmit-heading-subheading .pbmit-heading-desc {
    color: var(--pbmit-body-typography-color);
}

/* Home - frase motivazionale su immagine di sfondo (struttura testimonial-three_bg del template) */
.testimonial-three_bg.frase-section {
    position: relative;
    background-size: cover;
    background-position: center;
}
.testimonial-three_bg.frase-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(9, 10, 12, 0.35);
}
.testimonial-three_bg.frase-section.no-image {
    background-image: none;
    background-color: var(--pbmit-global-color);
}
.testimonial-three_bg.frase-section.no-image::before {
    display: none;
}
.frase-section .container {
    position: relative;
    z-index: 1;
}
.frase-section .frase-text {
    margin: 0;
    padding: 0;
    border: 0;
    text-align: center;
}
.frase-section .frase-text p {
    margin: 0;
    font-family: var(--pbmit-heading-typography-font-family);
    font-size: 52px;
    line-height: 64px;
    font-weight: 500;
    color: var(--pbmit-white-color);
}
@media (max-width: 767px) {
    .frase-section .frase-text p {
        font-size: 32px;
        line-height: 42px;
    }
}

/* Eventi — anteprima listing senza immagine header: box colorato con icona */
.pbmit-ele-event_listing .pbmit-event-layout-wrapper .pbmit-event-banner .pbmit-event-banner-img.event-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--pbmit-light-color);
    background-image: url(../img/bg/yoga-pattern-01.png);
    background-repeat: repeat;
    background-size: auto;
}
.pbmit-event-banner-img.event-placeholder i {
    font-size: 110px;
    line-height: 1;
    color: var(--pbmit-global-color);
}

/* Evento — dettaglio */
.single_event_listing .event-subtitle {
    font-size: 30px;
    line-height: 40px;
    color: var(--pbmit-blackish-color);
    margin-bottom: 15px;
}
.single_event_listing .event-poster {
    border-radius: 30px;
    overflow: hidden;
    text-align: center;
}
.single_event_listing .event-poster img {
    display: inline-block;
}
.single_event_listing .event-gallery-item {
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background-color: var(--pbmit-light-color);
}
.single_event_listing .event-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.pbmit-single-event-sidebar-info .event-files li + li {
    margin-top: 6px;
}
.pbmit-single-event-sidebar-info .event-files a {
    color: var(--pbmit-white-color);
}
.pbmit-single-event-sidebar-info .event-files a:hover {
    color: var(--pbmit-secondary-color);
}
.single_event_listing .pbmit-single-event-body-sidebar .pbmit-btn {
    display: block;
    text-align: center;
}

/* Widget categorie: il conteggio tra parentesi non va a capo */
.widget-categories .pbmit-brackets {
    white-space: nowrap;
    flex-shrink: 0;
}

/* Home ihbox: titoli resi come <p> (non sono heading di sezione) */
.ihbox-section_one .pbmit-element-title {
    font-family: var(--pbmit-heading-typography-font-family);
    font-weight: var(--pbmit-heading-font-variant);
    color: var(--pbmit-white-color, #fff);
}
.ihbox-section_one .ihbox-article-thumb {
    display: block;
    width: 120px;
    height: 80px;
}
.ihbox-section_one .ihbox-article-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}
.ihbox-section_one .pbmit-ihbox-style-3 .pbmit-ihbox-icon-type-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.ihbox-section_one .pbmit-element-title a {
    color: inherit;
    text-decoration: none;
}

/* Home — sezione iscrizione newsletter nel box ihbox-style-5_bg del template, a tutta larghezza */
.newsletter-cta .ihbox-style-5_bg {
    position: relative;
    z-index: 1;
    overflow: hidden;
    margin-left: 0;
    padding: 80px 70px;
    box-shadow: 0 25px 60px rgba(41, 47, 54, .12);
}
/* Cerchi decorativi */
.newsletter-cta .ihbox-style-5_bg::before,
.newsletter-cta .ihbox-style-5_bg::after {
    content: "";
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    pointer-events: none;
}
.newsletter-cta .ihbox-style-5_bg::before {
    width: 420px;
    height: 420px;
    top: -210px;
    right: -120px;
    border: 60px solid rgba(255, 255, 255, .14);
}
.newsletter-cta .ihbox-style-5_bg::after {
    width: 220px;
    height: 220px;
    bottom: -120px;
    left: 32%;
    background-color: rgba(255, 255, 255, .12);
}
.newsletter-cta .ihbox-style-5_bg .pbmit-ihbox-style-5 {
    margin-bottom: 0;
    padding-top: 0;
    padding-right: 50px;
}
.newsletter-cta .pbmit-ihbox-style-5 .pbmit-ihbox-icon-wrapper {
    box-shadow: 0 0 0 12px rgba(255, 255, 255, .35);
    transition: transform .4s ease-in-out;
}
.newsletter-cta .pbmit-ihbox-style-5:hover .pbmit-ihbox-icon-wrapper {
    transform: rotate(-8deg) scale(1.05);
}
.newsletter-cta .pbmit-ihbox-style-5 .pbmit-ihbox-icon {
    margin-right: 40px;
}
.newsletter-cta .pbmit-ihbox-style-5 .pbmit-element-title {
    font-size: 34px;
    line-height: 42px;
    color: var(--pbmit-blackish-color);
}
.newsletter-cta-subtitle {
    margin: 0 0 25px;
    color: var(--pbmit-blackish-color);
    font-size: 17px;
    line-height: 28px;
}
.newsletter-cta-right {
    padding-left: 50px;
    border-left: 1px solid rgba(41, 47, 54, .15);
}
.newsletter-cta .ihbox-style-5_bg .home-newsletter-form {
    padding-bottom: 0;
}
.newsletter-cta .home-newsletter-form .pbmit-footer-newsletter .form-floating > .form-control {
    box-shadow: 0 12px 30px rgba(41, 47, 54, .12);
}
.newsletter-cta .home-newsletter-form .pbmit-footer-newsletter > button {
    z-index: 3;
    top: 7px;
    right: 7px;
    height: 51px;
    padding: 0 32px;
    line-height: 51px;
}
@media (min-width: 821px) {
    /* ae() aggiunge "position-relative" (!important): serve !important per sovrapporre il bottone alla pillola */
    .newsletter-cta .ihbox-style-5_bg:not(.newsletter-cta-compact) .home-newsletter-form .pbmit-footer-newsletter > button {
        position: absolute !important;
    }
}
.newsletter-cta-gdpr {
    margin-top: 20px;
    padding-left: 38px;
}
.newsletter-cta-gdpr .form-check-label,
.newsletter-cta-gdpr .form-check-label a {
    color: var(--pbmit-blackish-color);
    font-size: 14px;
}
.newsletter-cta-gdpr .form-check-label a {
    text-decoration: underline;
    cursor: pointer;
}
/* Checkbox GDPR: flex al posto di float + margine negativo di Bootstrap (e margin-right di base.css) */
.newsletter-cta-gdpr .form-check {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 10px;
    min-height: 0;
    margin: 0;
    padding-left: 0;
}
.newsletter-cta-gdpr .form-check-label {
    flex: 1;
    line-height: 22px;
}
.newsletter-cta-gdpr .form-check .invalid-feedback {
    flex-basis: 100%;
    margin-top: 0;
    padding-left: 30px;
}
.newsletter-cta-gdpr .form-check-input {
    flex-shrink: 0;
    float: none;
    width: 20px;
    height: 20px;
    margin: 1px 0 0;
    border: 1px solid rgba(41, 47, 54, .45);
    border-radius: 5px;
    background-color: var(--pbmit-white-color);
    box-shadow: none;
    cursor: pointer;
}
.newsletter-cta-gdpr .form-check-input:focus {
    border-color: var(--pbmit-blackish-color);
    box-shadow: 0 0 0 3px rgba(41, 47, 54, .15);
}
.newsletter-cta-gdpr .form-check-input.is-invalid {
    border-color: var(--bs-form-invalid-border-color, #dc3545);
}
.newsletter-cta-gdpr .form-check-input:checked {
    border-color: var(--pbmit-blackish-color);
    background-color: var(--pbmit-blackish-color);
}
@media (max-width: 1199px) {
    .newsletter-cta .ihbox-style-5_bg {
        padding: 60px 45px;
    }
    .newsletter-cta .ihbox-style-5_bg .pbmit-ihbox-style-5 {
        padding-right: 30px;
    }
    .newsletter-cta-right {
        padding-left: 30px;
    }
}
@media (max-width: 991px) {
    .newsletter-cta .ihbox-style-5_bg {
        padding: 55px 40px;
    }
    .newsletter-cta .ihbox-style-5_bg .pbmit-ihbox-style-5 {
        padding-right: 0;
        margin-bottom: 35px;
    }
    .newsletter-cta-right {
        padding-left: 0;
        border-left: 0;
    }
    .newsletter-cta .ihbox-style-5_bg::after {
        left: auto;
        right: 10%;
    }
}
@media (max-width: 820px) {
    .newsletter-cta .ihbox-style-5_bg {
        padding: 45px 20px;
        text-align: center;
    }
    .newsletter-cta .pbmit-ihbox-style-5 .pbmit-ihbox-box {
        flex-direction: column;
    }
    .newsletter-cta .pbmit-ihbox-style-5 .pbmit-ihbox-icon {
        margin: 0 0 25px;
    }
    .newsletter-cta .pbmit-ihbox-style-5 .pbmit-ihbox-icon-wrapper {
        margin: 0 auto;
    }
    .newsletter-cta .pbmit-ihbox-style-5 .pbmit-element-title {
        font-size: 28px;
        line-height: 36px;
    }
    .newsletter-cta .home-newsletter-form .pbmit-footer-newsletter .form-floating > .form-control,
    .newsletter-cta .home-newsletter-form .pbmit-footer-newsletter .form-floating > label {
        text-align: left;
    }
    .newsletter-cta .home-newsletter-form .pbmit-footer-newsletter > button {
        position: unset;
        top: 0;
        right: 0;
        width: 100%;
        height: 60px;
        margin-top: 12px;
        line-height: 60px;
        justify-content: center;
    }
    .newsletter-cta-gdpr {
        padding-left: 0;
        text-align: left;
    }
    .newsletter-cta-subtitle {
        text-align: center;
    }
}

/* Box newsletter in versione impilata (sidebar archivio newsletter) */
.newsletter-cta .ihbox-style-5_bg.newsletter-cta-compact {
    padding: 45px 30px;
    text-align: center;
}
.newsletter-cta .newsletter-cta-compact::before {
    width: 260px;
    height: 260px;
    top: -130px;
    right: -90px;
    border-width: 40px;
}
.newsletter-cta .newsletter-cta-compact::after {
    width: 160px;
    height: 160px;
    bottom: -90px;
    left: -50px;
}
.newsletter-cta .ihbox-style-5_bg.newsletter-cta-compact .pbmit-ihbox-style-5 {
    margin-bottom: 30px;
    padding-right: 0;
}
.newsletter-cta .newsletter-cta-compact .pbmit-ihbox-style-5 .pbmit-ihbox-box {
    display: block !important;
}
.newsletter-cta .newsletter-cta-compact .pbmit-ihbox-style-5 .pbmit-ihbox-icon {
    margin: 0 0 25px;
}
.newsletter-cta .newsletter-cta-compact .pbmit-ihbox-style-5 .pbmit-ihbox-icon-wrapper {
    width: 100px;
    height: 100px;
    margin: 0 auto;
    font-size: 60px;
    line-height: 120px;
}
.newsletter-cta .newsletter-cta-compact .pbmit-ihbox-style-5 .pbmit-element-title {
    font-size: 26px;
    line-height: 34px;
}
.newsletter-cta .newsletter-cta-compact .newsletter-cta-right {
    padding-left: 0;
    border-left: 0;
}
.newsletter-cta .newsletter-cta-compact .home-newsletter-form .pbmit-footer-newsletter .form-floating > .form-control {
    padding-right: 20px;
    padding-left: 25px;
    text-align: left;
}
.newsletter-cta .newsletter-cta-compact .home-newsletter-form .pbmit-footer-newsletter .form-floating > label {
    padding-left: 25px;
    padding-right: 20px;
    text-align: left;
}
.newsletter-cta .newsletter-cta-compact .home-newsletter-form .pbmit-footer-newsletter > button {
    position: unset;
    top: 0;
    right: 0;
    width: 100%;
    height: 60px;
    margin-top: 12px;
    line-height: 60px;
    justify-content: center;
}
.newsletter-cta .newsletter-cta-compact .newsletter-cta-gdpr {
    padding-left: 0;
    text-align: left;
}
.newsletter-cta-text {
    margin-bottom: 25px;
    color: var(--pbmit-blackish-color);
    font-size: 16px;
    line-height: 26px;
}
.newsletter-cta-text p:last-child {
    margin-bottom: 0;
}

/* Colore dettagli (accent) */
.pbminfotech-box-star-ratings {
    color: var(--pbmit-accent-color);
}

/* Chi siamo - box testimonial: sfondo scuro e testo chiaro per la leggibilità */
.testimonial-two_bg {
    background-color: #2D3A31;
}

.testimonial-two_bg .pbmit-testimonial-style-2 .pbminfotech-testimonial-text,
.testimonial-two_bg .pbmit-testimonial-style-2 .pbminfotech-testimonial-text * {
    color: var(--pbmit-white-color);
}

.testimonial-two_bg .pbmit-testimonial-style-2 .pbminfotech-testimonial-text a {
    text-decoration: underline;
}

/* Container — su mobile il padding di 30px del template (max-width 1366px) è eccessivo */
@media (max-width: 767px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}

/* Corso sede — su mobile la colonna immagine dell'accordion occupa tutta la larghezza (il template la limita a 260px) */
@media (max-width: 767px) {
    .pbmit-single-event-footer .accordion-item .accordion-body .col-md-3 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .pbmit-single-event-footer .accordion-item .accordion-body .pbmit-organizer-logo {
        display: block;
    }

    .pbmit-single-event-footer .accordion-item .accordion-body .pbmit-organizer-logo img {
        width: 100%;
        height: auto;
    }
}

/* Ricerca */
.search-page-form .search-form input {
    background-color: var(--pbmit-light-color);
}

.search-results-count {
    font-size: 22px;
    font-weight: 400;
}

.search-result {
    padding: 30px 0;
    border-bottom: 1px solid rgba(0, 0, 0, .08);
}

.search-result:first-child {
    padding-top: 0;
}

.search-result .pbmit-post-title {
    font-size: 24px;
    margin-bottom: 10px;
}

.search-result-img {
    overflow: hidden;
    border-radius: 20px;
}

.search-result-img img {
    object-fit: cover;
}

.search-result-excerpt {
    color: var(--pbmit-body-typography-color);
    font-size: 15px;
}

.search-result mark {
    padding: 0 2px;
    background-color: var(--pbmit-global-color);
    color: var(--pbmit-white-color);
    border-radius: 3px;
}

/* Textarea dei form: il template la fissa a 100px */
textarea.form-control {
    height: auto;
    min-height: 180px;
    resize: vertical;
}


@media (max-width: 767px) {
.pbmit-element-static-box-style-1 .pbmit-ele-static-box .pbmit-contentbox-inner .pbminfotech-box-title h3 { 
    font-size: 22px;
    line-height: 28px;
}

.pbmit-static-box-style-1 .pbmit-button a { 
    padding: 10px 20px;
}
}
/* Slider home: spazio riservato e prima immagine visibile prima dell'init di Revolution (stesse griglie di rslider.js) */
.pbmit-slider-area.slider-placeholder {
    container-type: inline-size;
    background-color: #000;
    background-size: cover;
    background-position: center;
}
.pbmit-slider-area.slider-placeholder rs-module-wrap {
    min-height: min(720px, 150cqw);
}
@media (min-width: 778px) {
    .pbmit-slider-area.slider-placeholder rs-module-wrap { min-height: min(720px, 92.545cqw); }
}
@media (min-width: 1024px) {
    .pbmit-slider-area.slider-placeholder rs-module-wrap { min-height: min(768px, 75cqw); }
}
@media (min-width: 1240px) {
    .pbmit-slider-area.slider-placeholder rs-module-wrap { min-height: min(900px, 61.644cqw); }
}
