.sl-catalog-filters {
    display: grid;
    gap: 16px;
    margin: 24px 0;
    padding: 18px;
    background: #f7f7f7;
    border-radius: 14px;
}
.sl-filter-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}
.sl-filter-group strong {
    width: 100%;
}
.sl-filter-group button {
    border: 1px solid #d8d8d8;
    border-radius: 999px;
    padding: 8px 14px;
    background: #fff;
    cursor: pointer;
}
.sl-filter-group button.is-active {
    border-color: #222;
    background: #222;
    color: #fff;
}
.sl-catalog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}
.sl-card {
    overflow: hidden;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 5px 24px rgba(0,0,0,.10);
}
.sl-card[hidden] {
    display: none !important;
}
.sl-card-image {
    display: block;
    aspect-ratio: 16/10;
    background: #f1f1f1;
}
.sl-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.sl-card-placeholder {
    display: grid;
    height: 100%;
    place-items: center;
    font-weight: 700;
}
.sl-card-body {
    padding: 18px;
}
.sl-card-area {
    margin: 0 0 7px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}
.sl-card h3 {
    margin: 0 0 8px;
}
.sl-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin: 14px 0;
    font-size: 14px;
}
.sl-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 18px;
    border: 0;
    border-radius: 999px;
    background: #1f5a8a;
    color: #fff !important;
    text-decoration: none;
    cursor: pointer;
}
.sl-button.is-disabled {
    opacity: .55;
    cursor: not-allowed;
}
.sl-activity-shell {
    max-width: 1120px;
    margin: 40px auto;
    padding: 0 20px;
}
.sl-activity-hero {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 28px;
    align-items: start;
}
.sl-activity-hero img {
    width: 100%;
    border-radius: 18px;
}
.sl-activity-panel {
    padding: 22px;
    border-radius: 18px;
    background: #f7f7f7;
}
.sl-activity-section {
    margin-top: 32px;
}
.sl-session {
    margin: 14px 0;
    padding: 18px;
    border-left: 4px solid #1f5a8a;
    background: #f7f7f7;
}
.sl-request-form {
    max-width: 860px;
}
.sl-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}
.sl-request-form label {
    display: grid;
    gap: 6px;
    margin-bottom: 14px;
}
.sl-request-form input,
.sl-request-form select,
.sl-request-form textarea {
    width: 100%;
    padding: 11px 12px;
    border: 1px solid #d8d8d8;
    border-radius: 8px;
}
.sl-checkbox {
    display: flex !important;
    grid-template-columns: auto 1fr;
    align-items: start;
}
.sl-checkbox input {
    width: auto;
}
.sl-honeypot {
    position: absolute !important;
    left: -9999px !important;
}
.sl-form-message,
.sl-selected-activity {
    margin: 14px 0;
    padding: 14px;
    border-radius: 8px;
    background: #f1f1f1;
}
.sl-form-message.is-success {
    background: #e8f6eb;
}
.sl-form-message.is-error {
    background: #fdecec;
}
@media (max-width: 900px) {
    .sl-catalog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .sl-activity-hero {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 580px) {
    .sl-catalog-grid,
    .sl-form-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================================================== 
   V2.3 - Carosello attività in evidenza
   Desktop con 3 card fisse, pulite e responsive
   ========================================================================== */
.sl-featured-carousel,
.sl-featured-carousel * {
    box-sizing: border-box;
}
.sl-featured-carousel {
    --sl-featured-card-width: 250px;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    gap: 16px;
    align-items: center;
    width: 100%;
}
.sl-featured-viewport {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.sl-featured-viewport::-webkit-scrollbar {
    display: none;
}
.sl-featured-track {
    display: flex;
    gap: 24px;
    align-items: stretch;
    min-width: 100%;
    width: max-content;
    padding: 18px 2px 26px;
}
.sl-featured-card {
    display: flex;
    flex: 0 0 var(--sl-featured-card-width);
    flex-direction: column;
    width: var(--sl-featured-card-width);
    min-width: var(--sl-featured-card-width);
    max-width: var(--sl-featured-card-width);
    height: 360px;
    min-height: 360px;
    overflow: hidden;
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 7px 20px rgba(15, 36, 63, .16);
    scroll-snap-align: start;
    transition: box-shadow .24s ease, transform .24s ease;
}
.sl-featured-card:hover {
    box-shadow: 0 13px 28px rgba(15, 36, 63, .24);
    transform: translateY(-5px);
}
.sl-featured-card-head {
    display: flex;
    flex-direction: column;
    height: 164px;
    min-height: 164px;
    max-height: 164px;
    padding: 14px 16px 10px;
}
.sl-featured-offer {
    align-self: flex-start;
    padding: 4px 10px 3px;
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
    background: #e56f3c;
    border-radius: 999px;
}
.sl-featured-title {
    display: -webkit-box;
    min-height: 60px;
    max-height: 60px;
    margin: 12px 0 12px;
    overflow: hidden;
    color: #111;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.22;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}
.sl-featured-title a {
    color: inherit;
    text-decoration: none;
}
.sl-featured-meta {
    display: grid;
    gap: 4px;
    margin-top: auto;
    color: #111;
    font-size: 12px;
    line-height: 1.15;
    min-height: 38px;
}
.sl-featured-meta-row {
    display: flex;
    align-items: center;
    gap: 5px;
    min-height: 17px;
}
.sl-featured-meta-icon {
    flex: 0 0 14px;
    width: 14px;
    height: 14px;
}
.sl-featured-area {
    min-height: 22px;
    height: 22px;
    margin-top: 8px;
    padding: 5px 16px 4px;
    overflow: hidden;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.1;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
    background: var(--sl-area-color, #1f5a8a);
}
.sl-featured-image {
    display: block;
    height: 122px;
    background: #eef1f4;
}
.sl-featured-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.sl-featured-placeholder {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    color: #1f5a8a;
    font-size: 18px;
    font-weight: 800;
}
.sl-featured-cta {
    display: flex;
    flex: 1 0 auto;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    height: 44px;
    padding: 10px 12px;
    color: #fff !important;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    text-align: center;
    text-decoration: none !important;
    text-transform: uppercase;
    background: var(--sl-area-color, #1f5a8a);
}
.sl-featured-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    color: #111;
    font-size: 33px;
    line-height: 1;
    background: transparent;
    border: 0;
    cursor: pointer;
    transition: opacity .2s ease, transform .2s ease;
}
.sl-featured-arrow:hover:not(:disabled) {
    transform: scale(1.08);
}
.sl-featured-arrow:disabled {
    opacity: .22;
    cursor: default;
}
.sl-featured-empty {
    margin: 0;
    padding: 14px 0;
}
.sl-card-area {
    color: var(--sl-area-color, #1f5a8a);
}
@media (max-width: 1100px) and (min-width: 768px) {
    .sl-featured-carousel {
        gap: 14px;
    }
    .sl-featured-track {
        gap: 18px;
        padding: 16px 2px 24px;
    }
    .sl-featured-card {
        height: 348px;
        min-height: 348px;
    }
    .sl-featured-card-head {
        height: 156px;
        min-height: 156px;
        max-height: 156px;
        padding: 14px 14px 10px;
    }
    .sl-featured-title {
        min-height: 56px;
        max-height: 56px;
        margin: 11px 0 11px;
        font-size: 15px;
    }
    .sl-featured-area {
        margin-top: 7px;
    }
    .sl-featured-image {
        height: 118px;
    }
}
@media (max-width: 767px) {
    .sl-featured-carousel {
        display: block;
    }
    .sl-featured-arrow {
        display: none;
    }
    .sl-featured-track {
        gap: 16px;
        width: max-content;
        min-width: 0;
        padding: 14px 18px 24px;
    }
    .sl-featured-card {
        flex-basis: min(78vw, 268px);
        width: min(78vw, 268px);
        min-width: min(78vw, 268px);
        max-width: min(78vw, 268px);
        height: 352px;
        min-height: 352px;
    }
    .sl-featured-card-head {
        height: 160px;
        min-height: 160px;
        max-height: 160px;
    }
    .sl-featured-title {
        min-height: 58px;
        max-height: 58px;
        font-size: 15px;
    }
    .sl-featured-area {
        margin-top: 7px;
        min-height: 22px;
        height: 22px;
        font-size: 10px;
    }
    .sl-featured-image {
        height: 126px;
    }
    .sl-featured-cta {
        min-height: 44px;
        height: 44px;
    }
}

/* ========================================================================== 
   V3.2 - Layout system STEMLAB per Impreza/WPBakery
   Classi comuni per allineare sezioni dinamiche e blocchi HTML statici.
   ========================================================================== */
:root {
    --stemlab-layout-container: 1120px;
    --stemlab-layout-gutter: 40px;
    --stemlab-blue: #004b93;
    --stemlab-gray: #e6e6e6;
    --stemlab-text: #111111;
}
.stemlab-layout-section,
.stemlab-layout-section * {
    box-sizing: border-box;
}
.stemlab-layout-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    isolation: isolate;
}
.stemlab-layout-container {
    position: relative;
    z-index: 2;
    width: min(calc(100% - var(--stemlab-layout-gutter)), var(--stemlab-layout-container));
    margin-right: auto;
    margin-left: auto;
}
.stemlab-layout-band {
    position: absolute;
    right: calc(50% - 50vw);
    left: calc(50% - 50vw);
    z-index: 0;
    background: var(--stemlab-gray);
    pointer-events: none;
}

/* Blocco HTML statico: Chi siamo.
   Inserire in WPBakery come Raw HTML usando il markup fornito. */
.stemlab-about-block {
    position: relative;
    width: 100%;
    padding: 38px 0;
    overflow: hidden;
    isolation: isolate;
    color: var(--stemlab-text);
}
.stemlab-about-block::before {
    content: "";
    position: absolute;
    top: 50%;
    right: calc(50% - 50vw);
    left: calc(50% - 50vw);
    z-index: 0;
    height: 150px;
    transform: translateY(-50%);
    background: var(--stemlab-gray);
    pointer-events: none;
}
.stemlab-about-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 292px;
    gap: clamp(46px, 7vw, 112px);
    align-items: center;
}
.stemlab-about-content {
    max-width: 510px;
}
.stemlab-about-title {
    margin: 0 0 8px;
    color: #111111;
    font-size: clamp(24px, 2vw, 31px);
    font-weight: 850;
    line-height: 1.05;
}
.stemlab-about-title span {
    color: var(--stemlab-blue);
}
.stemlab-about-text {
    margin: 0;
    color: #111111;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.45;
}
.stemlab-about-image {
    width: 292px;
}
.stemlab-about-image img {
    display: block;
    width: 100%;
    height: 184px;
    object-fit: cover;
    border-radius: 18px;
}

/* ========================================================================== 
   V3.2 - News STEMLAB: carosello home, archivio e dettaglio
   ========================================================================== */
.sl-news-home,
.sl-news-home *,
.sl-news-archive-shell,
.sl-news-archive-shell *,
.sl-news-single-shell,
.sl-news-single-shell * {
    box-sizing: border-box;
}
.sl-news-home {
    --sl-news-blue: #004b93;
    --sl-news-bg: #e6e6e6;
    --sl-news-card-width: 282px;
    position: relative;
    isolation: isolate;
    width: 100%;
    padding: 44px 0 48px;
    overflow: hidden;
}
.sl-news-home::before,
.sl-news-home::after {
    content: "";
    position: absolute;
    top: 118px;
    z-index: 0;
    width: 53vw;
    height: 78px;
    background: var(--sl-news-bg);
    opacity: .62;
    pointer-events: none;
}
.sl-news-home::before {
    left: calc(50% - 50vw);
    clip-path: polygon(0 0, 100% 18px, 100% 60px, 0 46px);
}
.sl-news-home::after {
    right: calc(50% - 50vw);
    clip-path: polygon(0 18px, 100% 0, 100% 46px, 0 60px);
}
.sl-news-home-title {
    position: relative;
    z-index: 2;
    margin: 0 0 12px;
    color: var(--sl-news-blue);
    font-size: clamp(22px, 2vw, 30px);
    font-weight: 800;
    line-height: 1.15;
    text-align: center;
}
.sl-news-carousel {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    gap: 16px;
    align-items: center;
    width: 100%;
    margin: 0 auto;
}
.sl-news-viewport {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.sl-news-viewport::-webkit-scrollbar {
    display: none;
}
.sl-news-track {
    display: flex;
    gap: 24px;
    align-items: stretch;
    min-width: 100%;
    width: max-content;
    justify-content: center;
    padding: 8px 2px 28px;
}
.sl-news-card {
    display: flex;
    flex: 0 0 var(--sl-news-card-width);
    flex-direction: column;
    width: var(--sl-news-card-width);
    min-width: var(--sl-news-card-width);
    max-width: var(--sl-news-card-width);
    height: 322px;
    min-height: 322px;
    overflow: hidden;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(15, 36, 63, .17);
    scroll-snap-align: start;
    transition: box-shadow .24s ease, transform .24s ease;
}
.sl-news-card:hover {
    box-shadow: 0 15px 28px rgba(15, 36, 63, .24);
    transform: translateY(-4px);
}
.sl-news-card-link {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    height: 100%;
    color: inherit !important;
    text-decoration: none !important;
    cursor: pointer;
}
.sl-news-card-image {
    display: block;
    flex: 0 0 150px;
    height: 150px;
    overflow: hidden;
    background: #eef1f4;
}
.sl-news-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .28s ease;
}
.sl-news-card:hover .sl-news-card-image img {
    transform: scale(1.04);
}
.sl-news-placeholder {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    color: var(--sl-news-blue);
    font-size: 17px;
    font-weight: 800;
}
.sl-news-card-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    padding: 18px 20px 20px;
}
.sl-news-card-title {
    display: -webkit-box;
    min-height: 36px;
    max-height: 36px;
    margin: 0 0 11px;
    overflow: hidden;
    color: #111;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.28;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.sl-news-card-title a {
    color: inherit;
    text-decoration: none !important;
}
.sl-news-card-text {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: #111;
    font-size: 11.5px;
    font-weight: 600;
    line-height: 1.42;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
}
.sl-news-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    color: #111;
    font-size: 32px;
    line-height: 1;
    background: transparent;
    border: 0;
    cursor: pointer;
    transition: opacity .2s ease, transform .2s ease;
}
.sl-news-arrow:hover:not(:disabled) {
    transform: scale(1.08);
}
.sl-news-arrow:disabled {
    opacity: .22;
    cursor: default;
}
.sl-news-all-wrap {
    position: relative;
    z-index: 2;
    margin-top: -6px;
    text-align: center;
}
.sl-news-all-link {
    color: #111 !important;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: underline !important;
    text-underline-offset: 2px;
}
.sl-news-empty {
    margin: 0;
    padding: 14px 0;
}
.sl-news-archive-shell,
.sl-news-single-shell {
    width: min(var(--stemlab-layout-container), calc(100% - var(--stemlab-layout-gutter)));
    margin: 48px auto 70px;
}
.sl-news-archive-head {
    margin-bottom: 28px;
    text-align: center;
}
.sl-news-archive-kicker {
    margin: 0 0 6px;
    color: #004b93;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.sl-news-archive-head h1,
.sl-news-single-head h1 {
    margin: 0;
    color: #004b93;
    font-size: clamp(34px, 5vw, 58px);
    font-weight: 850;
    line-height: 1.04;
}
.sl-news-archive-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
}
.sl-news-archive-grid .sl-news-card {
    width: auto;
    min-width: 0;
    max-width: none;
    height: 318px;
    min-height: 318px;
}
.sl-news-archive-grid .sl-news-card-image {
    flex-basis: 146px;
    height: 146px;
}
.sl-news-pagination {
    margin-top: 34px;
    text-align: center;
}
.sl-news-back {
    display: inline-flex;
    margin-bottom: 22px;
    color: #004b93 !important;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none !important;
}
.sl-news-single {
    max-width: 920px;
    margin: 0 auto;
}
.sl-news-single-head {
    margin-bottom: 26px;
    text-align: center;
}
.sl-news-single-date {
    margin: 0 0 9px;
    color: #444;
    font-size: 13px;
    font-weight: 700;
}
.sl-news-single-intro {
    max-width: 760px;
    margin: 18px auto 0;
    color: #222;
    font-size: 19px;
    line-height: 1.55;
}
.sl-news-single-image {
    margin: 0 0 34px;
}
.sl-news-single-image img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 520px;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 12px 34px rgba(15, 36, 63, .16);
}
.sl-news-single-content {
    color: #111;
    font-size: 17px;
    line-height: 1.72;
}
.sl-news-single-content > *:first-child {
    margin-top: 0;
}
@media (max-width: 1100px) and (min-width: 768px) {
    .sl-news-carousel {
        width: min(100%, 960px);
        gap: 14px;
    }
    .sl-news-track {
        gap: 18px;
    }
    .sl-news-card {
        height: 302px;
        min-height: 302px;
    }
    .sl-news-card-image {
        flex-basis: 134px;
        height: 134px;
    }
    .sl-news-card-body {
        padding: 16px 17px 18px;
    }
    .sl-news-archive-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 767px) {
    .sl-news-home {
        padding-top: 34px;
        padding-bottom: 36px;
    }
    .sl-news-home::before,
    .sl-news-home::after {
        top: 88px;
        width: 58vw;
        height: 64px;
    }
    .sl-news-carousel {
        display: block;
        width: 100%;
        margin: 0;
    }
    .sl-news-arrow {
        display: none;
    }
    .sl-news-track {
        gap: 16px;
        width: max-content;
        min-width: 0;
        padding: 8px 18px 24px;
    }
    .sl-news-card {
        flex-basis: min(82vw, 300px);
        width: min(82vw, 300px);
        min-width: min(82vw, 300px);
        max-width: min(82vw, 300px);
        height: 304px;
        min-height: 304px;
    }
    .sl-news-card-image {
        flex-basis: 132px;
        height: 132px;
    }
    .sl-news-card-body {
        padding: 16px 18px 18px;
    }
    .sl-news-card-title {
        min-height: 36px;
        max-height: 36px;
        margin-bottom: 10px;
        font-size: 14px;
    }
    .sl-news-card-text {
        font-size: 11.5px;
        -webkit-line-clamp: 5;
    }
    .sl-news-all-wrap {
        margin-top: -8px;
    }
    .sl-news-archive-shell,
    .sl-news-single-shell {
        width: min(100% - 28px, 1120px);
        margin-top: 34px;
    }
    .sl-news-archive-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .sl-news-archive-grid .sl-news-card {
        height: 306px;
        min-height: 306px;
    }
    .sl-news-archive-grid .sl-news-card-image {
        flex-basis: 134px;
        height: 134px;
    }
    .sl-news-single-intro {
        font-size: 17px;
    }
    .sl-news-single-image img {
        border-radius: 18px;
    }
}

@media (max-width: 900px) {
    .stemlab-about-inner {
        grid-template-columns: minmax(0, 1fr) 260px;
        gap: 42px;
    }
    .stemlab-about-image {
        width: 260px;
    }
    .stemlab-about-image img {
        height: 168px;
    }
}

@media (max-width: 767px) {
    :root {
        --stemlab-layout-gutter: 28px;
    }
    .stemlab-about-block {
        padding: 36px 0 38px;
    }
    .stemlab-about-block::before {
        height: calc(100% - 48px);
    }
    .stemlab-about-inner {
        display: flex;
        flex-direction: column;
        gap: 22px;
        text-align: center;
    }
    .stemlab-about-content {
        max-width: 440px;
    }
    .stemlab-about-text {
        font-size: 11px;
        line-height: 1.5;
    }
    .stemlab-about-image {
        width: min(100%, 318px);
    }
    .stemlab-about-image img {
        height: 196px;
        border-radius: 18px;
    }
}

/* ========================================================================== 
   V4 - Pagine offerta dinamiche: Scuole / Docenti / Privati
   Shortcode: [stemlab_offerta target="scuole"]
   ========================================================================== */
.sl-offer-page,
.sl-offer-page * {
    box-sizing: border-box;
}

.sl-offer-page {
    --sl-offer-accent: #d9283a;
    --sl-offer-accent-dark: #b51f30;
    --sl-offer-secondary: #e56f3c;
    --sl-offer-text: #18203a;
    --sl-offer-muted: #6c7280;
    --sl-offer-panel: #f3f3f3;
    width: 100%;
    color: var(--sl-offer-text);
}

.sl-offer-page a {
    color: inherit;
    text-decoration: none;
}

.sl-offer-container {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}

.sl-offer-hero {
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    min-height: 138px;
    margin: 0 0 54px;
    padding: 34px 56px;
    overflow: hidden;
    color: #fff;
    background: var(--sl-offer-accent);
}

.sl-offer-hero-content {
    position: relative;
    z-index: 2;
    text-align: right;
    text-transform: uppercase;
}

.sl-offer-hero-content span {
    display: block;
    margin: 0 0 2px;
    font-size: 18px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: .02em;
}

.sl-offer-hero-content h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(34px, 5vw, 56px);
    font-weight: 900;
    line-height: .94;
    letter-spacing: -.03em;
}

.sl-offer-hero-shape {
    position: absolute;
    pointer-events: none;
}

.sl-offer-hero-shape-one {
    left: -60px;
    top: -88px;
    width: 285px;
    height: 172px;
    background: #fff;
    border-radius: 0 0 999px 999px;
    transform: rotate(7deg);
}

.sl-offer-hero-shape-two {
    right: -28px;
    top: -26px;
    width: 130px;
    height: 170px;
    background: var(--sl-offer-secondary);
    border-radius: 0 0 0 82px;
}

.sl-offer-hero::after {
    content: "";
    position: absolute;
    right: -54px;
    bottom: -58px;
    width: 150px;
    height: 150px;
    background: #e6e6e6;
    border-radius: 50%;
}

.sl-offer-levels {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin: 0 auto 36px;
    padding-top: 16px;
    border-top: 1px solid rgba(15, 23, 42, .08);
}

.sl-offer-levels button,
.sl-offer-tabs button {
    appearance: none;
    border: 0;
    background: transparent;
    font: inherit;
    cursor: pointer;
    transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease;
}

.sl-offer-levels button {
    position: relative;
    padding: 8px 0;
    color: #43325e;
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .01em;
}

.sl-offer-levels button:hover,
.sl-offer-levels button.is-active {
    color: var(--sl-offer-accent);
}

.sl-offer-levels button.is-active::before {
    content: "";
    position: absolute;
    left: 50%;
    top: -19px;
    width: 56px;
    height: 3px;
    background: var(--sl-offer-accent);
    border-radius: 999px;
    transform: translateX(-50%);
}

.sl-offer-tabs {
    display: flex;
    align-items: center;
    gap: 0;
    margin: 0 0 0;
}

.sl-offer-tabs button {
    min-width: 142px;
    min-height: 56px;
    padding: 16px 22px;
    color: var(--sl-offer-accent);
    font-size: 15px;
    font-weight: 900;
    text-transform: uppercase;
    border: 1px solid rgba(24, 32, 58, .24);
    background: #fff;
}

.sl-offer-tabs button + button {
    margin-left: -1px;
}

.sl-offer-tabs button.is-active {
    color: #fff;
    border-color: var(--sl-offer-accent);
    background: var(--sl-offer-accent);
}

.sl-offer-intro-wrap {
    position: relative;
    min-height: 82px;
    margin: 0 0 0;
    padding: 24px 26px 12px;
    background: #f5f5f5;
    border-left: 5px solid var(--sl-offer-accent);
}

.sl-offer-intro {
    display: none;
    max-width: 920px;
    color: #252d42;
    font-size: 16px;
    line-height: 1.55;
}

.sl-offer-intro.is-active {
    display: block;
}

.sl-offer-intro p {
    margin: 0 0 10px;
}

.sl-offer-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 34px 28px;
    padding: 34px 36px 58px;
    background: #f5f5f5;
}

.sl-offer-item.is-hidden {
    display: none !important;
}

.sl-offer-item--percorso {
    grid-column: 1 / -1;
}

.sl-offer-card {
    width: 100%;
}

.sl-offer-lab-card {
    display: flex;
    flex-direction: column;
    min-height: 318px;
    overflow: hidden;
    background: #fff;
    border-radius: 0 0 24px 24px;
    box-shadow: 0 8px 22px rgba(15, 36, 63, .15);
    transition: transform .22s ease, box-shadow .22s ease;
}

.sl-offer-lab-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(15, 36, 63, .22);
}

.sl-offer-card-head {
    min-height: 116px;
    padding: 18px 18px 10px;
}

.sl-offer-card-head h3 {
    min-height: 46px;
    margin: 0 0 12px;
    color: #17203a;
    font-size: 18px;
    font-weight: 900;
    line-height: 1.05;
}

.sl-offer-card-meta,
.sl-offer-path-meta {
    display: grid;
    gap: 5px;
    color: #1f263a;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
}

.sl-offer-card-meta span,
.sl-offer-path-meta span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.sl-offer-card-meta i,
.sl-offer-path-meta i,
.sl-offer-contact-card i {
    width: 15px;
    color: currentColor;
    text-align: center;
    line-height: 1;
}

.sl-offer-area-band {
    min-height: 26px;
    padding: 6px 15px 5px;
    color: #fff;
    font-size: 10px;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
    background: var(--sl-area-color, var(--sl-offer-accent));
}

.sl-offer-image {
    display: block;
    aspect-ratio: 1.38 / 1;
    overflow: hidden;
    background: #e6e6e6;
}

.sl-offer-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .28s ease;
}

.sl-offer-lab-card:hover .sl-offer-image img {
    transform: scale(1.04);
}

.sl-offer-placeholder {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    color: #fff;
    font-weight: 900;
    background: linear-gradient(135deg, var(--sl-area-color, var(--sl-offer-accent)), var(--sl-offer-accent-dark));
}

.sl-offer-card-cta,
.sl-offer-path-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 10px 16px;
    color: #fff !important;
    font-size: 11px;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
    background: var(--sl-area-color, var(--sl-offer-accent));
}

.sl-offer-card-cta {
    width: 100%;
    margin-top: auto;
}

.sl-offer-path-card {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    min-height: 228px;
    overflow: hidden;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 8px 24px rgba(15, 36, 63, .13);
}

.sl-offer-path-side {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 28px 28px;
    color: #fff;
    background: var(--sl-area-color, var(--sl-offer-accent));
}

.sl-offer-path-badge {
    align-self: flex-start;
    padding: 7px 12px;
    color: var(--sl-area-color, var(--sl-offer-accent));
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
    background: #fff;
    border-radius: 999px;
}

.sl-offer-path-side strong {
    color: #fff;
    font-size: 19px;
    font-weight: 900;
    line-height: 1.08;
    text-transform: uppercase;
}

.sl-offer-path-meta {
    margin-top: auto;
    color: #fff;
}

.sl-offer-path-body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 34px;
}

.sl-offer-path-body h3 {
    margin: 0 0 14px;
    color: #18203a;
    font-size: clamp(28px, 3.3vw, 44px);
    font-weight: 900;
    line-height: .98;
    text-transform: uppercase;
}

.sl-offer-path-body p {
    max-width: 720px;
    margin: 0 0 22px;
    color: #3f4658;
    font-size: 16px;
    line-height: 1.55;
}

.sl-offer-path-cta {
    min-width: 154px;
    min-height: 42px;
    margin-top: auto;
    border-radius: 999px;
}

.sl-offer-empty {
    margin: 24px 0 0;
    padding: 22px 24px;
    color: #30384d;
    font-weight: 800;
    background: #f5f5f5;
    border-left: 5px solid var(--sl-offer-accent);
}

.sl-offer-empty.is-static {
    grid-column: 1 / -1;
    margin-top: 0;
}

.sl-offer-contact {
    margin: 44px 0 0;
}

.sl-offer-contact-container {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}

.sl-offer-contact h2 {
    margin: 0 0 12px;
    color: #1f263a;
    font-size: 18px;
    font-weight: 900;
    text-align: center;
}

.sl-offer-contact-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    padding: 24px 32px;
    background: #095b8e;
}

.sl-offer-contact-card {
    display: grid;
    justify-items: center;
    gap: 6px;
    min-height: 72px;
    padding: 4px 10px;
    color: #fff !important;
    text-align: center;
}

.sl-offer-contact-card span {
    display: inline-grid;
    width: 28px;
    height: 28px;
    place-items: center;
    color: #095b8e;
    background: #fff;
    border-radius: 999px;
}

.sl-offer-contact-card strong {
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
}

.sl-offer-contact-card em {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 4px 15px;
    color: #095b8e;
    font-size: 12px;
    font-style: normal;
    font-weight: 800;
    line-height: 1;
    background: #fff;
    border-radius: 999px;
}

@media (max-width: 1080px) {
    .sl-offer-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        padding-inline: 28px;
    }
}

@media (max-width: 820px) {
    .sl-offer-container,
    .sl-offer-contact-container {
        width: min(100% - 28px, 680px);
    }

    .sl-offer-hero {
        min-height: 122px;
        margin-bottom: 32px;
        padding: 28px 28px;
    }

    .sl-offer-hero-shape-one {
        left: -98px;
        top: -96px;
        width: 240px;
    }

    .sl-offer-hero-shape-two {
        right: -54px;
    }

    .sl-offer-levels {
        flex-wrap: nowrap;
        justify-content: flex-start;
        gap: 24px;
        margin-bottom: 28px;
        overflow-x: auto;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .sl-offer-levels::-webkit-scrollbar {
        display: none;
    }

    .sl-offer-levels button {
        flex: 0 0 auto;
        white-space: nowrap;
    }

    .sl-offer-tabs {
        width: 100%;
    }

    .sl-offer-tabs button {
        flex: 1 1 0;
        min-width: 0;
        min-height: 52px;
        padding-inline: 12px;
    }

    .sl-offer-intro-wrap {
        padding: 20px 20px 8px;
    }

    .sl-offer-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 26px 20px;
        padding: 28px 22px 42px;
    }

    .sl-offer-path-card {
        grid-template-columns: 1fr;
    }

    .sl-offer-path-side {
        padding: 24px;
    }

    .sl-offer-path-meta {
        margin-top: 4px;
    }

    .sl-offer-path-body {
        padding: 26px 24px 28px;
    }

    .sl-offer-path-body h3 {
        font-size: 32px;
    }

    .sl-offer-contact-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 22px;
    }
}

@media (max-width: 560px) {
    .sl-offer-container,
    .sl-offer-contact-container {
        width: min(100% - 24px, 440px);
    }

    .sl-offer-hero {
        min-height: 104px;
        padding: 22px 22px;
    }

    .sl-offer-hero-content span {
        font-size: 14px;
    }

    .sl-offer-hero-content h1 {
        font-size: 35px;
    }

    .sl-offer-levels {
        gap: 20px;
        margin-bottom: 24px;
        padding-top: 12px;
    }

    .sl-offer-levels button {
        font-size: 13px;
    }

    .sl-offer-tabs button {
        min-height: 48px;
        font-size: 13px;
    }

    .sl-offer-list {
        grid-template-columns: 1fr;
        padding: 24px 16px 34px;
    }

    .sl-offer-card-head {
        min-height: 104px;
    }

    .sl-offer-image {
        aspect-ratio: 1.65 / 1;
    }

    .sl-offer-path-body h3 {
        font-size: 28px;
    }
}

/* ========================================================================== 
   V4.1 - Rifinitura pagina offerta: hero con logo, icone indipendenti, no contatti di default
   ========================================================================== */
.sl-offer-hero {
    min-height: 142px;
    margin-bottom: 48px;
    padding: 30px 56px;
    isolation: isolate;
}

.sl-offer-hero-logo {
    position: absolute;
    top: 0;
    left: 62px;
    z-index: 4;
    display: grid;
    width: 190px;
    height: 104px;
    place-items: center;
}

.sl-offer-hero-logo::before {
    content: "";
    position: absolute;
    top: -46px;
    left: 50%;
    z-index: -1;
    width: 250px;
    height: 146px;
    background: #fff;
    border-radius: 0 0 999px 999px;
    transform: translateX(-50%) rotate(4deg);
    box-shadow: 0 3px 0 rgba(0, 0, 0, .02);
}

.sl-offer-hero-logo img {
    display: block;
    width: min(128px, 76%);
    max-height: 76px;
    object-fit: contain;
}

.sl-offer-hero-content {
    margin-left: 240px;
}

.sl-offer-hero-shape-one {
    display: none;
}

.sl-offer-hero-shape-two {
    right: -12px;
    top: 0;
    width: 112px;
    height: 136px;
    border-radius: 0 0 0 76px;
}

.sl-offer-hero::after {
    right: -48px;
    bottom: -68px;
    width: 156px;
    height: 156px;
}

.sl-offer-levels {
    padding-top: 8px;
    border-top: 0;
}

.sl-offer-levels button.is-active::before {
    top: -9px;
}

.sl-offer-icon {
    display: inline-block;
    flex: 0 0 auto;
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
    vertical-align: -2px;
}

.sl-offer-contact-card .sl-offer-icon {
    width: 15px;
    height: 15px;
}

.sl-offer-card-meta i,
.sl-offer-path-meta i,
.sl-offer-contact-card i {
    display: none;
}

@media (max-width: 820px) {
    .sl-offer-hero {
        min-height: 124px;
        padding: 26px 28px;
    }

    .sl-offer-hero-logo {
        left: 28px;
        width: 148px;
        height: 88px;
    }

    .sl-offer-hero-logo::before {
        top: -42px;
        width: 200px;
        height: 126px;
    }

    .sl-offer-hero-logo img {
        width: min(104px, 74%);
        max-height: 64px;
    }

    .sl-offer-hero-content {
        margin-left: 170px;
    }
}

@media (max-width: 560px) {
    .sl-offer-hero {
        min-height: 112px;
        padding: 22px 22px;
    }

    .sl-offer-hero-logo {
        left: 18px;
        width: 116px;
        height: 74px;
    }

    .sl-offer-hero-logo::before {
        top: -36px;
        width: 160px;
        height: 106px;
    }

    .sl-offer-hero-logo img {
        width: min(86px, 78%);
        max-height: 54px;
    }

    .sl-offer-hero-content {
        margin-left: 118px;
    }

    .sl-offer-hero-content h1 {
        font-size: 30px;
    }
}


/* ========================================================================== 
   V4.2 - Hero full-width + logo larger + initial filter UX
   ========================================================================== */
.sl-offer-page {
    overflow: hidden;
}

.sl-offer-container,
.sl-offer-contact-container {
    width: min(1280px, calc(100% - 40px));
}

.sl-offer-hero {
    width: 100vw;
    min-height: 172px;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    margin-bottom: 52px;
    padding-top: 28px;
    padding-bottom: 28px;
    padding-left: max(34px, calc((100vw - min(1280px, calc(100% - 40px))) / 2 + 56px));
    padding-right: max(34px, calc((100vw - min(1280px, calc(100% - 40px))) / 2 + 56px));
}

.sl-offer-hero-logo {
    left: max(42px, calc((100vw - min(1280px, calc(100% - 40px))) / 2 + 72px));
    width: 230px;
    height: 122px;
}

.sl-offer-hero-logo::before {
    top: -54px;
    width: 304px;
    height: 178px;
    transform: translateX(-50%) rotate(0deg);
}

.sl-offer-hero-logo img {
    width: min(150px, 82%);
    max-height: 92px;
}

.sl-offer-hero-content {
    margin-left: 320px;
}

.sl-offer-hero-content span {
    margin-bottom: 8px;
    font-size: 17px;
    letter-spacing: .02em;
}

.sl-offer-hero-content h1 {
    font-size: clamp(46px, 5vw, 62px);
    line-height: .92;
}

.sl-offer-hero-shape-two {
    right: 0;
    top: 0;
    width: 126px;
    height: 162px;
    border-radius: 0 0 0 78px;
}

.sl-offer-hero::after {
    right: -56px;
    bottom: -74px;
    width: 156px;
    height: 156px;
}

@media (max-width: 1280px) {
    .sl-offer-hero {
        padding-left: 56px;
        padding-right: 56px;
    }

    .sl-offer-hero-logo {
        left: 72px;
    }
}

@media (max-width: 980px) {
    .sl-offer-container,
    .sl-offer-contact-container {
        width: min(100% - 32px, 880px);
    }

    .sl-offer-hero {
        min-height: 152px;
        padding-left: 28px;
        padding-right: 28px;
    }

    .sl-offer-hero-logo {
        left: 34px;
        width: 182px;
        height: 102px;
    }

    .sl-offer-hero-logo::before {
        top: -48px;
        width: 236px;
        height: 146px;
    }

    .sl-offer-hero-logo img {
        width: min(124px, 78%);
        max-height: 76px;
    }

    .sl-offer-hero-content {
        margin-left: 220px;
    }
}

@media (max-width: 820px) {
    .sl-offer-hero {
        width: auto;
        min-height: 124px;
        margin-left: 0;
        margin-right: 0;
        padding-left: 28px;
        padding-right: 28px;
    }

    .sl-offer-hero-logo {
        left: 28px;
        width: 160px;
        height: 92px;
    }

    .sl-offer-hero-logo::before {
        top: -42px;
        width: 214px;
        height: 132px;
    }

    .sl-offer-hero-logo img {
        width: min(112px, 76%);
        max-height: 68px;
    }

    .sl-offer-hero-content {
        margin-left: 188px;
    }
}

@media (max-width: 560px) {
    .sl-offer-container,
    .sl-offer-contact-container {
        width: min(100% - 24px, 440px);
    }

    .sl-offer-hero {
        min-height: 116px;
        padding-left: 22px;
        padding-right: 22px;
    }

    .sl-offer-hero-logo {
        left: 18px;
        width: 126px;
        height: 76px;
    }

    .sl-offer-hero-logo::before {
        top: -36px;
        width: 172px;
        height: 108px;
    }

    .sl-offer-hero-logo img {
        width: min(92px, 76%);
        max-height: 56px;
    }

    .sl-offer-hero-content {
        margin-left: 122px;
    }

    .sl-offer-hero-content h1 {
        font-size: 31px;
    }
}


/* ========================================================================== 
   V4.3 - Header immagine caricabile da backend per Scuole / Docenti / Privati
   ========================================================================== */
.sl-offer-image-hero {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    margin-bottom: 52px;
    overflow: hidden;
    line-height: 0;
    background: #f2f2f2;
}

.sl-offer-image-hero picture,
.sl-offer-image-hero img {
    display: block;
    width: 100%;
}

.sl-offer-image-hero img {
    height: auto;
}

.sl-offer-image-hero--standalone {
    margin-bottom: 0;
}

.sl-offer-page--header-only {
    overflow: visible;
}

@media (max-width: 820px) {
    .sl-offer-image-hero {
        width: auto;
        margin-left: 0;
        margin-right: 0;
        margin-bottom: 34px;
    }

    .sl-offer-image-hero--standalone {
        margin-bottom: 0;
    }
}


/* ========================================================================== 
   V4.4 - Template interno attività STEM come layout PDF pag. 5/6
   ========================================================================== */
.sl-single-activity,
.sl-single-activity * {
    box-sizing: border-box;
}

.sl-single-activity {
    --sl-single-accent: #d9283a;
    --sl-single-accent-dark: #b51f30;
    --sl-single-secondary: #e56f3c;
    --sl-single-text: #081733;
    --sl-single-panel: #f4f4f4;
    color: var(--sl-single-text);
}

.sl-single-activity a {
    color: inherit;
    text-decoration: none;
}

.sl-single-container {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}

.sl-single-activity .sl-offer-image-hero,
.sl-single-activity .sl-offer-hero {
    margin-bottom: 42px;
}

.sl-single-level-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin: 0 0 34px;
}

.sl-single-level-nav a {
    position: relative;
    padding: 8px 0;
    color: #43325e;
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .01em;
}

.sl-single-level-nav a.is-active {
    color: var(--sl-single-accent);
}

.sl-single-level-nav a.is-active::before {
    content: "";
    position: absolute;
    left: 50%;
    top: -10px;
    width: 54px;
    height: 3px;
    background: var(--sl-single-accent);
    border-radius: 999px;
    transform: translateX(-50%);
}

.sl-single-tabs {
    display: flex;
    margin: 0 0 34px;
}

.sl-single-tabs a {
    min-width: 128px;
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 20px;
    color: var(--sl-single-accent);
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
    border: 1px solid rgba(24, 32, 58, .34);
    background: #fff;
}

.sl-single-tabs a + a {
    margin-left: -1px;
}

.sl-single-tabs a.is-active {
    color: #fff;
    border-color: var(--sl-single-accent);
    background: var(--sl-single-accent);
}

.sl-single-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 265px;
    gap: 52px;
    padding: 34px 46px 54px;
    background: var(--sl-single-panel);
}

.sl-single-main {
    min-width: 0;
}

.sl-single-title {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    margin: 0 0 22px;
}

.sl-single-title > span {
    width: 17px;
    height: 30px;
    margin-top: 2px;
    background: var(--sl-single-accent);
    border-radius: 1px 1px 8px 1px;
}

.sl-single-title h1 {
    margin: 0 0 3px;
    color: var(--sl-single-text);
    font-size: clamp(28px, 3vw, 38px);
    font-weight: 900;
    line-height: 1.02;
}

.sl-single-title p,
.sl-single-title em {
    display: block;
    margin: 0;
    color: var(--sl-single-text);
    font-size: 12px;
    font-weight: 900;
    line-height: 1.35;
    text-transform: uppercase;
}

.sl-single-title em {
    margin-top: 5px;
    font-style: normal;
    font-weight: 700;
    text-transform: none;
}

.sl-single-featured {
    margin: 0 0 20px;
}

.sl-single-featured img {
    display: block;
    width: 100%;
    max-height: 360px;
    object-fit: cover;
}

.sl-single-copy,
.sl-single-section,
.sl-single-program {
    color: #141b2e;
    font-size: 14px;
    line-height: 1.58;
}

.sl-single-copy p,
.sl-single-section p,
.sl-single-program p {
    margin: 0 0 13px;
}

.sl-single-section {
    margin-top: 24px;
}

.sl-single-section h2,
.sl-single-program h2 {
    margin: 0 0 10px;
    color: var(--sl-single-text);
    font-size: 15px;
    font-weight: 900;
    line-height: 1.1;
    text-transform: uppercase;
}

.sl-single-program {
    margin-top: 34px;
}

.sl-single-session {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 26px;
    padding: 22px 0;
    border-top: 1px solid rgba(217, 40, 58, .45);
}

.sl-single-session:last-child {
    border-bottom: 1px solid rgba(217, 40, 58, .45);
}

.sl-single-session h3 {
    margin: 0 0 8px;
    color: var(--sl-single-text);
    font-size: 18px;
    font-weight: 900;
    line-height: 1.05;
    text-transform: uppercase;
}

.sl-single-session > div:first-child p {
    display: grid;
    gap: 4px;
    margin: 0;
    font-size: 12px;
    font-weight: 800;
}

.sl-single-session-copy p:last-child {
    margin-bottom: 0;
}

.sl-single-gallery-wrap {
    position: relative;
    margin: 34px 0 0;
    padding-right: 38px;
}

.sl-single-gallery {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(150px, 1fr);
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.sl-single-gallery::-webkit-scrollbar {
    display: none;
}

.sl-single-gallery-item {
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #ddd;
}

.sl-single-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sl-single-gallery-arrow {
    position: absolute;
    right: 0;
    top: 50%;
    color: #777;
    font-size: 66px;
    font-weight: 300;
    line-height: 1;
    transform: translateY(-50%);
}

.sl-single-bottom-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 22px;
    margin: 28px auto 0;
    padding: 5px 18px;
    color: var(--sl-single-accent) !important;
    font-size: 10px;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
    border: 1px solid var(--sl-single-accent);
    border-radius: 999px;
}

.sl-single-sidebar {
    display: flex;
    flex-direction: column;
    gap: 42px;
    padding-top: 84px;
}

.sl-single-info-panel {
    display: grid;
    gap: 12px;
    padding: 22px 16px;
    border-top: 1px solid var(--sl-single-accent);
    border-bottom: 1px solid var(--sl-single-accent);
}

.sl-single-info-panel p {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 8px;
    align-items: start;
    margin: 0;
    color: var(--sl-single-text);
    font-size: 13px;
    font-weight: 900;
    line-height: 1.25;
}

.sl-single-info-panel span {
    min-width: 0;
}

.sl-single-info-panel .sl-offer-icon,
.sl-single-contact .sl-offer-icon {
    width: 14px;
    height: 14px;
    margin-top: 1px;
    color: var(--sl-single-accent);
}

.sl-single-emoji {
    display: inline-block;
    width: 16px;
    font-size: 13px;
    line-height: 1;
}

.sl-single-cta-box {
    display: grid;
    gap: 8px;
}

.sl-single-cta-box strong {
    display: block;
    color: var(--sl-single-text);
    font-size: 12px;
    font-weight: 900;
    line-height: 1.2;
    text-align: center;
    text-transform: uppercase;
}

.sl-single-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 12px 18px;
    color: #fff !important;
    font-size: 13px;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
    background: var(--sl-single-accent);
    border: 1px solid var(--sl-single-accent);
}

.sl-single-cta--ghost {
    color: var(--sl-single-accent) !important;
    background: transparent;
}

.sl-single-cta.is-disabled {
    opacity: .55;
    cursor: not-allowed;
}

.sl-single-contact {
    margin-top: auto;
    color: var(--sl-single-text);
    font-size: 12px;
    line-height: 1.35;
}

.sl-single-contact span {
    display: block;
    margin-bottom: 2px;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
}

.sl-single-contact strong {
    display: block;
    margin-bottom: 10px;
    color: var(--sl-single-accent);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.sl-single-contact p {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 7px;
    align-items: center;
    margin: 0 0 5px;
}

@media (max-width: 980px) {
    .sl-single-container {
        width: min(100% - 32px, 760px);
    }

    .sl-single-level-nav {
        flex-wrap: nowrap;
        justify-content: flex-start;
        gap: 24px;
        overflow-x: auto;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .sl-single-level-nav::-webkit-scrollbar {
        display: none;
    }

    .sl-single-level-nav a {
        flex: 0 0 auto;
        white-space: nowrap;
    }

    .sl-single-card {
        grid-template-columns: 1fr;
        gap: 34px;
        padding: 28px 24px 42px;
    }

    .sl-single-sidebar {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 24px;
        padding-top: 0;
    }

    .sl-single-contact {
        margin-top: 0;
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {
    .sl-single-container {
        width: min(100% - 24px, 440px);
    }

    .sl-single-activity .sl-offer-image-hero,
    .sl-single-activity .sl-offer-hero {
        margin-bottom: 28px;
    }

    .sl-single-tabs {
        width: 100%;
    }

    .sl-single-tabs a {
        flex: 1 1 0;
        min-width: 0;
        min-height: 48px;
        padding-inline: 12px;
        font-size: 13px;
    }

    .sl-single-card {
        padding: 24px 18px 34px;
    }

    .sl-single-title {
        grid-template-columns: 14px minmax(0, 1fr);
        gap: 11px;
    }

    .sl-single-title > span {
        width: 14px;
        height: 26px;
    }

    .sl-single-title h1 {
        font-size: 26px;
    }

    .sl-single-featured img {
        max-height: 260px;
    }

    .sl-single-session {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .sl-single-gallery-wrap {
        padding-right: 0;
    }

    .sl-single-gallery {
        grid-auto-columns: minmax(138px, 78%);
    }

    .sl-single-gallery-arrow {
        display: none;
    }

    .sl-single-sidebar {
        grid-template-columns: 1fr;
        gap: 22px;
    }
}
