:root {
    --sat-orange: #f08331;
    --sat-orange-dark: #c75f0f;
    --sat-yellow: #f4c542;
    --sat-yellow-light: #f9e6a1;
    --sat-gray-light: #f7f7f7;
    --sat-gray-medium: #737373;
    --sat-gray-dark: #333333;
    --sat-white: #ffffff;
    --sat-border: #ececec;
    --sat-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    --sat-bg-warm: #f8f3f0;
    --sat-bg-warm-soft: #f6efea;
    --sat-bg-warm-subtle: #fbf7f4;
    --sat-border-warm: #eadfd8;
    --sat-title-orange: #c75f0f;
    --sat-bg-warm-glow-a: rgba(255, 255, 255, 0.68);
    --sat-bg-warm-glow-b: rgba(228, 176, 138, 0.24);
    --sat-bg-warm-glow-c: rgba(205, 150, 109, 0.18);
    --sat-bg-warm-line: rgba(214, 158, 118, 0.12);
}

@font-face {
    font-family: "Roboto Local";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("../fonts/roboto-latin-variable.woff2") format("woff2");
}

body.satv1-theme {
    font-family: "Roboto Local", Roboto, "Segoe UI", Arial, sans-serif;
    font-weight: 200;
    color: var(--sat-gray-dark);
    background: var(--sat-bg-warm);
    margin: 0 !important;
    padding: 0;
}

body.satv1-theme:not(.satv1-context-minisito) {
    background-color: var(--sat-bg-warm);
    background-image:
        radial-gradient(140% 78% at 6% -8%, var(--sat-bg-warm-glow-a) 0%, rgba(255, 255, 255, 0) 57%),
        radial-gradient(112% 86% at 96% 10%, var(--sat-bg-warm-glow-b) 0%, rgba(228, 176, 138, 0) 64%),
        radial-gradient(105% 120% at 50% 100%, var(--sat-bg-warm-glow-c) 0%, rgba(205, 150, 109, 0) 68%),
        linear-gradient(130deg, rgba(255, 255, 255, 0) 18%, var(--sat-bg-warm-line) 52%, rgba(255, 255, 255, 0) 82%);
    background-repeat: no-repeat;
    background-attachment: fixed;
}

body.satv1-theme h1,
body.satv1-theme h2,
body.satv1-theme h3,
body.satv1-theme h4,
body.satv1-theme h5,
body.satv1-theme h6 {
    font-family: "Roboto Local", Roboto, "Segoe UI", Arial, sans-serif;
    font-weight: 700;
    letter-spacing: 0.01em;
}

body.satv1-theme a:focus-visible,
body.satv1-theme button:focus-visible,
body.satv1-theme input:focus-visible,
body.satv1-theme select:focus-visible,
body.satv1-theme textarea:focus-visible {
    outline: 2px solid #0f62fe;
    outline-offset: 2px;
}

body.satv1-theme .satv1-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Parent scripts inject inline top padding for fixed headers. In satv1 header is sticky. */
body.satv1-theme .satv1-content-pusher {
    padding-top: 0 !important;
}

.satv1-container {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding-left: 1rem;
    padding-right: 1rem;
    margin: 0 auto;
}

@media (min-width: 640px) {
    .satv1-container,
    body.satv1-theme .satv1-main-content .container {
        max-width: 640px;
    }
}

@media (min-width: 768px) {
    .satv1-container,
    body.satv1-theme .satv1-main-content .container {
        max-width: 768px;
    }
}

@media (min-width: 1024px) {
    .satv1-container,
    body.satv1-theme .satv1-main-content .container {
        max-width: 1024px;
    }
}

@media (min-width: 1280px) {
    .satv1-container,
    body.satv1-theme .satv1-main-content .container {
        max-width: 1280px;
    }
}

@media (min-width: 1536px) {
    .satv1-container,
    body.satv1-theme .satv1-main-content .container {
        max-width: 1536px;
    }
}

/* Minimal grid utilities so satv1 can run without parent Bootstrap bundle. */
body.satv1-theme .satv1-main-content .container {
    width: 100%;
    max-width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
    margin: 0 auto;
    box-sizing: border-box;
}

body.satv1-theme .satv1-main-content .row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -0.75rem;
    margin-right: -0.75rem;
}

body.satv1-theme .satv1-main-content [class*="col-"] {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    box-sizing: border-box;
    width: 100%;
}

@media (min-width: 768px) {
    body.satv1-theme .satv1-main-content .col-md-3,
    body.satv1-theme .satv1-main-content .col-sm-3 {
        width: 25%;
    }

    body.satv1-theme .satv1-main-content .col-md-4 {
        width: 33.3333%;
    }

    body.satv1-theme .satv1-main-content .col-md-6 {
        width: 50%;
    }

    body.satv1-theme .satv1-main-content .col-md-8 {
        width: 66.6667%;
    }

    body.satv1-theme .satv1-main-content .col-sm-9 {
        width: 75%;
    }

    body.satv1-theme .satv1-main-content .col-sm-12,
    body.satv1-theme .satv1-main-content .col-md-12 {
        width: 100%;
    }
}

.satv1-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid var(--sat-border);
}

.satv1-header-top {
    background: #fff;
}

.satv1-header-top-inner {
    min-height: 78px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1rem;
}

.satv1-social {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 0;
}

@media (min-width: 861px) {
    .satv1-social {
        margin-left: 0;
        justify-content: flex-start;
    }
}

.satv1-social a {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--sat-orange);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
}

.satv1-social a:hover {
    background: var(--sat-orange-dark);
}

.satv1-logo img,
.satv1-footer-logo img {
    width: auto;
    height: 46px;
}

.satv1-logo,
.satv1-footer-logo {
    display: inline-flex;
}

.satv1-login-btn,
.satv1-register-btn,
.satv1-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 8px;
    padding: 0.7rem 1.2rem;
    font-weight: 500;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.satv1-auth-actions {
    justify-self: end;
    display: inline-flex;
    align-items: center;
    gap: 0.52rem;
}

.satv1-login-btn {
    background: #fff;
    color: var(--sat-orange-dark);
    border-color: #efcfb2;
}

.satv1-login-btn:hover {
    background: #fff6ee;
    border-color: #e9bd95;
    color: var(--sat-orange-dark);
}

.satv1-register-btn {
    background: var(--sat-orange);
    color: #fff;
}

.satv1-register-btn:hover {
    background: var(--sat-orange-dark);
    color: #fff;
}

.satv1-nav-wrap {
    background: var(--sat-orange);
}

.satv1-nav-inner {
    display: flex;
    align-items: center;
    justify-content: center;
}

.satv1-mobile-toggle {
    display: none;
    background: transparent;
    border: 0;
    color: #fff;
    align-items: center;
    justify-content: center;
    gap: 0.46rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.9rem 0;
}

.satv1-mobile-toggle-icon {
    width: 0.95rem;
    height: 0.95rem;
    flex: 0 0 auto;
}

.satv1-nav {
    width: 100%;
}

.satv1-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.satv1-menu--desktop {
    display: flex;
    align-items: center;
}

.satv1-menu--desktop > li {
    position: relative;
    flex: 1;
}

.satv1-menu--desktop > li > a {
    display: block;
    position: relative;
    text-align: center;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.95rem 0.75rem;
    border-left: 1px solid rgba(255, 255, 255, 0.15);
}

.satv1-menu--desktop > li.menu-item-has-children > a {
    padding-right: 1.35rem;
}

.satv1-menu--desktop > li.menu-item-has-children > a::after {
    content: "▼";
    font-size: 0.58rem;
    line-height: 1;
    color: rgba(255, 255, 255, 0.9);
    position: absolute;
    right: 0.7rem;
    top: 50%;
    transform: translateY(-45%);
}

.satv1-menu--desktop > li:first-child > a {
    border-left: 0;
}

.satv1-menu--desktop > li > a:hover,
.satv1-menu--desktop > li.current-menu-item > a,
.satv1-menu--desktop > li.current-menu-ancestor > a {
    background: var(--sat-orange-dark);
}

.satv1-menu--desktop li ul {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background: #fff;
    border: 1px solid var(--sat-border);
    box-shadow: var(--sat-shadow);
    display: none;
    z-index: 1001;
}

.satv1-menu--desktop li:hover > ul {
    display: block;
}

.satv1-menu--desktop li ul li {
    position: relative;
}

.satv1-menu--desktop li ul a {
    display: block;
    padding: 0.7rem 0.9rem;
    color: var(--sat-gray-dark);
    text-decoration: none;
    border-bottom: 1px solid var(--sat-border);
    background: #fff;
}

.satv1-menu--desktop li ul li:last-child > a {
    border-bottom: 0;
}

.satv1-menu--desktop li ul a:hover {
    background: var(--sat-gray-light);
    color: var(--sat-orange-dark);
}

.satv1-menu--desktop li ul li.current-menu-item > a,
.satv1-menu--desktop li ul li.current_page_item > a,
.satv1-menu--desktop li ul li.current-menu-ancestor > a,
.satv1-menu--desktop li ul li.current_page_ancestor > a,
.satv1-menu--desktop li ul li.current-menu-parent > a,
.satv1-menu--desktop li ul li.current_page_parent > a {
    background: #fff4ea;
    color: var(--sat-orange-dark);
    font-weight: 500;
}

.satv1-menu--desktop li ul li.menu-item-has-children > a {
    position: relative;
    padding-right: 1.55rem;
}

.satv1-menu--desktop li ul li.menu-item-has-children > a::after {
    content: "▸";
    position: absolute;
    right: 0.55rem;
    top: 50%;
    transform: translateY(-52%);
    font-size: 0.72rem;
    line-height: 1;
    color: #8f95a0;
}

.satv1-menu--desktop li ul li.menu-item-has-children > a:hover::after {
    color: var(--sat-orange-dark);
}

.satv1-menu--desktop li ul li.current-menu-item.menu-item-has-children > a::after,
.satv1-menu--desktop li ul li.current_page_item.menu-item-has-children > a::after,
.satv1-menu--desktop li ul li.current-menu-ancestor.menu-item-has-children > a::after,
.satv1-menu--desktop li ul li.current_page_ancestor.menu-item-has-children > a::after,
.satv1-menu--desktop li ul li.current-menu-parent.menu-item-has-children > a::after,
.satv1-menu--desktop li ul li.current_page_parent.menu-item-has-children > a::after {
    color: var(--sat-orange-dark);
}

.satv1-menu--desktop li ul ul {
    top: 0;
    left: 100%;
}

.satv1-mobile-menu {
    background: #fff;
    border-top: 1px solid var(--sat-border);
    max-height: calc(100vh - 126px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.satv1-menu--mobile {
    padding: 0.75rem 0;
    margin: 0;
}

.satv1-menu--mobile ul {
    margin: 0;
    padding: 0;
}

.satv1-menu--mobile li {
    list-style: none;
    position: relative;
}

.satv1-menu--mobile a {
    display: block;
    padding: 0.6rem 0;
    color: var(--sat-gray-dark);
    text-decoration: none;
    border-bottom: 1px solid var(--sat-border);
}

.satv1-menu--mobile .menu-item-has-children > a {
    padding-right: 2.4rem;
}

.satv1-submenu-toggle {
    position: absolute;
    top: 0.35rem;
    right: 0;
    width: 2rem;
    height: 2rem;
    border: 0;
    background: transparent;
    color: var(--sat-gray-medium);
    font-size: 0.9rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.18s ease, color 0.18s ease;
}

.satv1-menu--mobile li.is-open > .satv1-submenu-toggle {
    transform: rotate(180deg);
    color: var(--sat-orange-dark);
}

.satv1-menu--mobile li ul {
    display: none;
}

.satv1-menu--mobile li.is-open > ul {
    display: block;
}

.satv1-menu--mobile li ul a {
    padding-left: 1.2rem;
    font-size: 0.95rem;
}

.satv1-menu--mobile li ul li ul a {
    padding-left: 2rem;
}

.satv1-menu--mobile li.current-menu-item > a,
.satv1-menu--mobile li.current_page_item > a,
.satv1-menu--mobile li.current-menu-ancestor > a,
.satv1-menu--mobile li.current_page_ancestor > a,
.satv1-menu--mobile li.current-menu-parent > a,
.satv1-menu--mobile li.current_page_parent > a {
    color: var(--sat-orange-dark);
    font-weight: 500;
    background: #fff4ea;
}

.satv1-home {
    background: var(--sat-bg-warm);
}

#corsi.satv1-section--white {
    background: var(--sat-bg-warm);
}

.satv1-hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.satv1-hero-bg {
    position: absolute;
    inset: 0;
}

.satv1-hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(248, 243, 240, 0.94) 0%, rgba(248, 243, 240, 0.46) 45%, rgba(248, 243, 240, 0.16) 100%);
}

.satv1-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.satv1-hero-content {
    position: relative;
    z-index: 1;
    max-width: 42rem;
    padding: 4rem 0;
}

.satv1-pill {
    display: inline-block;
    background: var(--sat-yellow-light);
    color: var(--sat-gray-dark);
    border-radius: 999px;
    font-size: 0.92rem;
    font-weight: 300;
    padding: 0.35rem 0.8rem;
    margin-bottom: 1rem;
}

.satv1-hero h1 {
    margin: 0 0 1.3rem;
    font-size: clamp(2.2rem, 4.7vw, 3.55rem);
    line-height: 1.08;
    letter-spacing: 0;
    color: var(--sat-title-orange);
}

.satv1-hero h1 span {
    color: var(--sat-orange);
}

.satv1-hero p {
    font-size: 1.22rem;
    line-height: 1.35;
    font-weight: 300;
    color: #1e3346;
    max-width: 42rem;
    margin: 0 0 1.9rem;
}

.satv1-hero-cta-cluster {
    width: 408px;
    max-width: 100%;
}

.satv1-hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 1rem;
}

.satv1-hero .satv1-hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
    font-family: "Roboto Local", Roboto, "Segoe UI", Arial, sans-serif;
    font-size: 19px;
    line-height: 1.5;
    font-weight: 400;
    letter-spacing: 0;
    text-decoration: none;
    min-height: 56px;
    border-radius: 8px;
}

.satv1-btn--full {
    display: flex;
    width: 100%;
    max-width: 100%;
}

.satv1-btn--primary {
    background: var(--sat-orange);
    color: #fff;
}

.satv1-btn--primary:hover {
    background: var(--sat-orange-dark);
    color: #fff;
}

.satv1-btn--outline {
    border-color: var(--sat-orange);
    color: var(--sat-orange);
    background: #fff;
}

.satv1-btn--outline:hover {
    background: var(--sat-orange);
    color: #fff;
}

.satv1-btn--secondary {
    background: var(--sat-yellow);
    color: var(--sat-gray-dark);
    border-color: var(--sat-yellow);
}

.satv1-btn--secondary:hover {
    background: var(--sat-orange-dark);
    color: #fff;
}

.satv1-btn--small {
    padding: 0.5rem 0.85rem;
    font-size: 0.92rem;
}

.satv1-section {
    padding: 4.6rem 0;
}

.satv1-section--gray {
    background: var(--sat-gray-light);
}

.satv1-section-head {
    text-align: center;
    margin-bottom: 2rem;
}

.satv1-section-head h2 {
    margin: 0 0 0.6rem;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    color: var(--sat-title-orange);
}

.satv1-section-head p {
    margin: 0 auto;
    max-width: 760px;
    color: var(--sat-gray-medium);
    font-size: 1.04rem;
    font-weight: 200;
}

.satv1-grid {
    display: grid;
    gap: 1.25rem;
}

.satv1-grid--courses,
.satv1-grid--news {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.satv1-home-courses-carousel .thim-carousel-wrapper {
    max-width: 100%;
    overflow: hidden;
}

.satv1-home-courses-carousel .thim-carousel-wrapper.satv1-carousel-ready {
    --sat-home-courses-gap: 1.25rem;
    display: flex !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    gap: 0 !important;
    margin-left: calc(var(--sat-home-courses-gap) * -0.5);
    margin-right: calc(var(--sat-home-courses-gap) * -0.5);
    padding-bottom: 0.2rem;
    -ms-overflow-style: none;
    scrollbar-width: none;
    cursor: grab;
}

.satv1-home-courses-carousel .thim-carousel-wrapper.satv1-carousel-ready::-webkit-scrollbar {
    display: none;
}

.satv1-home-courses-carousel .thim-carousel-wrapper.satv1-carousel-ready.is-dragging {
    cursor: grabbing;
}

.satv1-home-courses-carousel .thim-carousel-wrapper.satv1-carousel-ready.is-dragging,
.satv1-home-courses-carousel .thim-carousel-wrapper.satv1-carousel-ready.is-dragging * {
    user-select: none;
}

.satv1-home-courses-carousel .thim-carousel-wrapper.satv1-carousel-ready > .satv1-card {
    float: none !important;
    width: auto !important;
    margin-top: 0 !important;
    margin-bottom: 0.55rem !important;
    margin-left: calc(var(--sat-home-courses-gap) * 0.5) !important;
    margin-right: calc(var(--sat-home-courses-gap) * 0.5) !important;
    scroll-snap-align: start;
    padding: 0;
    box-sizing: border-box;
}

.satv1-grid--events {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.satv1-grid--sat-program {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.05rem;
}

.satv1-program-card {
    --program-color: #3c5990;
    --program-grad-1: #8ea9d2;
    --program-grad-2: #5d7eb3;
    --program-grad-3: #334e7f;
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 150px;
    padding: 1rem;
    text-align: center;
    text-decoration: none;
    border-radius: 14px;
    border: 1px solid color-mix(in srgb, var(--program-color) 42%, #ffffff 58%);
    background: linear-gradient(132deg, var(--program-grad-1) 0%, var(--program-grad-2) 46%, var(--program-grad-3) 100%);
    color: #fff;
    box-shadow: 0 10px 24px rgba(20, 25, 38, 0.11);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.satv1-program-card::before {
    content: "";
    position: absolute;
    inset: -14%;
    pointer-events: none;
    background: url("../images/prism-overlay.svg") center / cover no-repeat;
    opacity: 0.68;
    transform: rotate(0deg) scale(1.02);
    transform-origin: 50% 50%;
    transition: transform 0.58s cubic-bezier(0.22, 0.61, 0.36, 1), opacity 0.32s ease;
    will-change: transform;
}

.satv1-program-card span {
    position: relative;
    z-index: 1;
    font-size: 1.55rem;
    line-height: 1.12;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    text-shadow: 0 2px 8px rgba(14, 26, 48, 0.32);
}

.satv1-program-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(20, 25, 38, 0.18);
    border-color: var(--program-color);
}

.satv1-program-card:hover::before {
    transform: rotate(12deg) scale(1.12);
    opacity: 0.76;
}

@media (prefers-reduced-motion: reduce) {
    .satv1-program-card::before {
        transition: none;
        transform: none;
    }

    .satv1-program-card:hover::before {
        transform: none;
    }
}

.satv1-program-card--intro {
    --program-color: #3c5990;
    --program-grad-1: #8ea9d2;
    --program-grad-2: #5d7eb3;
    --program-grad-3: #334e7f;
}

.satv1-program-card--sat1 { --program-color: #f47f34; --program-grad-1: #ffd46a; --program-grad-2: #ff9852; --program-grad-3: #f35332; }
.satv1-program-card--sat2 { --program-color: #7f9fcb; --program-grad-1: #c8d7eb; --program-grad-2: #9cb4d7; --program-grad-3: #6f89bc; }
.satv1-program-card--sat3 { --program-color: #d9559a; --program-grad-1: #f9a6c7; --program-grad-2: #eb72ae; --program-grad-3: #c13d8b; }
.satv1-program-card--sat4 { --program-color: #4eb9a7; --program-grad-1: #b1e6cd; --program-grad-2: #65cba8; --program-grad-3: #2ca9a5; }
.satv1-program-card--sat5 { --program-color: #2f9db7; --program-grad-1: #80d2e3; --program-grad-2: #49b5d0; --program-grad-3: #1c839f; }
.satv1-program-card--meditazione { --program-color: #8e88c1; --program-grad-1: #d0c4eb; --program-grad-2: #a997d5; --program-grad-3: #7e6eb3; }
.satv1-program-card--gruppi { --program-color: #b07aa5; --program-grad-1: #dec1d8; --program-grad-2: #c191bb; --program-grad-3: #a06999; }

.satv1-card {
    border: 1px solid var(--sat-border);
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.satv1-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--sat-shadow);
}

.satv1-card-image {
    display: block;
    height: 200px;
    overflow: hidden;
}

.satv1-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.25s ease;
}

.satv1-card:hover .satv1-card-image img {
    transform: scale(1.03);
}

.satv1-card-body {
    padding: 1rem;
}

.satv1-card-body h3 {
    margin: 0 0 0.55rem;
    font-size: 1.08rem;
    line-height: 1.3;
}

.satv1-card-body h3 a {
    color: var(--sat-gray-dark);
    text-decoration: none;
}

.satv1-card-body h3 a:hover {
    color: var(--sat-orange-dark);
}

.satv1-card-body p {
    margin: 0 0 0.8rem;
    color: var(--sat-gray-medium);
}

#corsi .satv1-section-head h2,
#eventi .satv1-section-head h2,
#novita .satv1-section-head h2 {
    font-size: clamp(2.25rem, 3.2vw, 3.15rem);
}

#eventi.satv1-section--program {
    background: linear-gradient(
        180deg,
        #f8f3f0 0%,
        color-mix(in srgb, #f8f3f0 52%, var(--sat-gray-light) 48%) 42%,
        var(--sat-gray-light) 100%
    );
}

#eventi .satv1-section-head p {
    max-width: 860px;
    font-size: 1.04rem;
    line-height: 1.45;
    font-weight: 300;
}

.satv1-card--event {
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    border-color: #e7e7e7;
}

.satv1-card--event .satv1-card-body {
    padding: 1.55rem 1.45rem 0.9rem;
}

.satv1-card--event .satv1-event-date {
    display: none;
}

.satv1-card--event .satv1-card-body h3 {
    font-size: 1.24rem;
    line-height: 1.35;
    margin: 0 0 0.95rem;
}

.satv1-card--event .satv1-card-body p {
    font-size: 1.03rem;
    line-height: 1.5;
    font-weight: 300;
    color: #9a9a9a;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.satv1-card--event .satv1-card-actions {
    margin-top: auto;
    padding: 0 1.45rem 1.45rem;
}

.satv1-card--event .satv1-btn--small {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
    min-height: 40px;
    border-radius: 8px;
    font-size: 1.12rem;
    font-weight: 400;
    line-height: 1.4;
    padding: 0.45rem 0.75rem;
}

#eventi .satv1-section-action .satv1-btn {
    font-size: 1.12rem;
    font-weight: 400;
    padding: 0.85rem 1.7rem;
}

#novita .satv1-section-head p {
    max-width: 760px;
    font-size: 1.04rem;
    line-height: 1.45;
    font-weight: 300;
}

#novita .satv1-grid--news {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.satv1-card--news {
    border-radius: 10px;
    border-color: #e7e7e7;
}

.satv1-card--news .satv1-card-image {
    height: 184px;
}

.satv1-card--news .satv1-card-body {
    padding: 1.35rem 1.35rem 0.6rem;
}

.satv1-card--news .satv1-card-body h3 {
    font-size: 1.12rem;
    line-height: 1.35;
    margin: 0 0 0.7rem;
}

.satv1-card--news .satv1-card-body p {
    font-size: 1.03rem;
    line-height: 1.45;
    font-weight: 300;
    color: #9a9a9a;
    margin: 0;
    min-height: 84px;
}

.satv1-card-actions--news {
    padding: 0 1.35rem 1.35rem;
}

.satv1-news-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.99rem;
    font-weight: 300;
    color: #a8a8a8;
    margin-bottom: 0.7rem;
}

.satv1-news-read {
    display: inline-flex;
    align-items: center;
    gap: 0.28rem;
}

#novita .satv1-link--news {
    display: inline-flex;
    font-size: 1.03rem;
    font-weight: 400;
}

#novita .satv1-section-action .satv1-btn {
    font-size: 1.12rem;
    font-weight: 400;
    padding: 0.85rem 1.7rem;
}

.satv1-home-blog-band {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(120% 170% at 0% 0%, rgba(58, 101, 119, 0.45) 0%, rgba(4, 21, 30, 0) 54%),
        linear-gradient(100deg, #031722 0%, #0b2f3f 52%, #0e3846 100%);
}

.satv1-home-blog-band::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(4, 20, 31, 0.55) 0%, rgba(4, 20, 31, 0.3) 40%, rgba(4, 20, 31, 0) 75%);
    z-index: 0;
}

.satv1-home-blog-band-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
    align-items: stretch;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    min-height: 380px;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 640px) {
    .satv1-home-blog-band-inner {
        max-width: 640px;
    }
}

@media (min-width: 768px) {
    .satv1-home-blog-band-inner {
        max-width: 768px;
    }
}

@media (min-width: 1024px) {
    .satv1-home-blog-band-inner {
        max-width: 1024px;
    }
}

@media (min-width: 1280px) {
    .satv1-home-blog-band-inner {
        max-width: 1280px;
    }
}

@media (min-width: 1536px) {
    .satv1-home-blog-band-inner {
        max-width: 1536px;
    }
}

.satv1-home-blog-band-content {
    align-self: center;
    padding: clamp(2.4rem, 4vw, 4.4rem) 1.2rem clamp(2.4rem, 4vw, 4.4rem) 0;
    max-width: 700px;
    color: #f7efe5;
}

.satv1-home-blog-band-kicker {
    margin: 0 0 0.6rem;
    font-size: 0.88rem;
    line-height: 1.2;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(247, 239, 229, 0.76);
}

.satv1-home-blog-band-content h2 {
    margin: 0 0 0.85rem;
    font-size: clamp(1.95rem, 3.2vw, 2.8rem);
    line-height: 1.12;
    color: #fff;
}

.satv1-home-blog-band-content p {
    margin: 0 0 1.45rem;
    font-size: 1.08rem;
    line-height: 1.5;
    color: rgba(247, 239, 229, 0.93);
    font-weight: 300;
    max-width: 580px;
}

.satv1-home-blog-band-cta {
    min-width: min(100%, 360px);
    min-height: 52px;
    padding: 0.75rem 1.6rem;
    font-size: 1.08rem;
    line-height: 1.2;
    font-weight: 400;
    letter-spacing: 0.01em;
    color: #fff;
    background: #d67a24;
    border: 1px solid #d67a24;
}

.satv1-home-blog-band-cta:hover {
    color: #fff;
    background: #bf6717;
    border-color: #bf6717;
}

.satv1-home-blog-band-media {
    position: relative;
    min-height: 380px;
    overflow: hidden;
    background: transparent;
}

.satv1-home-blog-band-media::before {
    content: none;
}

.satv1-home-blog-band-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center right;
}

.satv1-link {
    color: var(--sat-orange);
    text-decoration: none;
    font-weight: 600;
}

.satv1-link:hover {
    color: var(--sat-orange-dark);
}

.satv1-event-date,
.satv1-meta {
    display: inline-block;
    font-size: 0.82rem;
    color: var(--sat-gray-medium);
    margin-bottom: 0.55rem;
}

.satv1-section-action {
    margin-top: 1.8rem;
    text-align: center;
}

.satv1-empty {
    text-align: center;
    color: var(--sat-gray-medium);
    grid-column: 1 / -1;
}

.satv1-cta {
    background: linear-gradient(135deg, #ea7c28 0%, #d86a1b 100%);
    color: #fff;
    padding: 4.8rem 0 5rem;
}

.satv1-cta-grid {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 3rem;
    align-items: start;
}

.satv1-cta h2,
.satv1-cta h3 {
    margin-top: 0;
    color: #fff;
}

.satv1-cta h2 {
    font-size: clamp(2rem, 3.3vw, 2.7rem);
    line-height: 1.15;
    margin-bottom: 1rem;
}

.satv1-cta p {
    font-size: 1.12rem;
    line-height: 1.5;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.92);
}

.satv1-brevo-form {
    margin-top: 1.4rem;
}

.satv1-brevo-form form,
.satv1-brevo-form .sib_signup_form {
    display: block;
}

.satv1-brevo-form #sib_signup_form_1 .sib_signup_box_inside_1 {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 114px;
    column-gap: 12px;
    row-gap: 0.95rem;
    align-items: center;
}

.satv1-brevo-form #sib_signup_form_1 .sib_msg_disp,
.satv1-brevo-form #sib_signup_form_1 .invi-recaptcha {
    grid-column: 1 / -1;
}

.satv1-brevo-form #sib_signup_form_1 p.sib-email-area {
    grid-column: 1;
    grid-row: 3;
    margin: 0;
    font-size: 0;
    line-height: 0;
}

.satv1-brevo-form #sib_signup_form_1 p.sib-email-area input[type="email"] {
    width: 100%;
    box-sizing: border-box;
    min-height: 50px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 300;
    line-height: 1.4;
    padding: 0 1rem;
}

.satv1-brevo-form #sib_signup_form_1 p.sib-email-area + div {
    grid-column: 1 / -1;
    grid-row: 4;
    margin-top: 0.1rem;
    font-size: 1rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.92);
}

.satv1-brevo-form #sib_signup_form_1 p.sib-email-area + div a {
    color: #fff;
    text-decoration: underline;
}

.satv1-brevo-form #sib_signup_form_1 p.sib-email-area + div input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    transform: translateY(2px);
    accent-color: #fff;
}

.satv1-brevo-form #sib_signup_form_1 p:last-of-type {
    grid-column: 2;
    grid-row: 3;
    margin: 0;
}

.satv1-brevo-form input::placeholder {
    color: rgba(255, 255, 255, 0.78);
}

.satv1-brevo-form #sib_signup_form_1 p:last-of-type input[type="submit"] {
    width: 100%;
    min-height: 50px;
    border-radius: 8px;
    border: 1px solid #f2f2f2;
    background: #fff;
    color: var(--sat-orange-dark);
    font-size: 1.1rem;
    font-weight: 300;
    line-height: 1.2;
    padding: 0 1rem;
    cursor: pointer;
}

.satv1-brevo-form #sib_signup_form_1 p:last-of-type input[type="submit"]:hover {
    background: #f3f3f3;
}

.satv1-brevo-form #sib_signup_form_1 .grecaptcha-badge {
    z-index: 9999;
}

.satv1-cta-contacts ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.4rem 2rem;
    list-style: none;
    margin: 1rem 0 1.6rem;
    padding: 0;
}

.satv1-cta-contacts li {
    margin: 0;
    position: relative;
    padding-left: 2rem;
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.06rem;
    line-height: 1.45;
}

.satv1-cta-contacts li strong {
    display: block;
    margin-bottom: 0.22rem;
    color: #fff;
    font-weight: 600;
}

.satv1-cta-contacts li:nth-child(3) {
    grid-column: 1 / -1;
}

.satv1-cta-contacts li:nth-child(1)::before,
.satv1-cta-contacts li:nth-child(2)::before,
.satv1-cta-contacts li:nth-child(3)::before {
    position: absolute;
    left: 0;
    top: 0.08rem;
    opacity: 0.95;
}

.satv1-cta-contacts li:nth-child(1)::before {
    content: "✉";
}

.satv1-cta-contacts li:nth-child(2)::before {
    content: "☎";
}

.satv1-cta-contacts li:nth-child(3)::before {
    content: "⌖";
}

.satv1-cta-contacts a {
    color: #fff;
    text-decoration: none;
}

.satv1-cta-contacts a:hover {
    text-decoration: underline;
}

.satv1-cta-contacts h3 {
    font-size: clamp(1.8rem, 2.2vw, 2.15rem);
    margin-bottom: 0.45rem;
}

.satv1-btn--outline-light {
    border-color: #fff;
    color: #fff;
    background: transparent;
    padding: 0.8rem 1.65rem;
    font-size: 1.06rem;
    font-weight: 300;
}

.satv1-btn--outline-light:hover {
    background: #fff;
    color: var(--sat-orange-dark);
}

/* Internal pages (Step 6): refine parent templates without touching legacy PHP logic. */
body.satv1-theme .satv1-main-content .content-area {
    background: var(--sat-bg-warm);
    padding-bottom: 3.4rem;
}

body.satv1-theme:not(.satv1-context-minisito) .satv1-main-content .content-area {
    background-color: var(--sat-bg-warm);
    background-image:
        radial-gradient(114% 72% at -8% 13%, rgba(255, 255, 255, 0.58) 0%, rgba(255, 255, 255, 0) 57%),
        radial-gradient(90% 76% at 104% 20%, rgba(226, 177, 140, 0.21) 0%, rgba(226, 177, 140, 0) 62%),
        linear-gradient(122deg, rgba(255, 255, 255, 0) 18%, rgba(214, 158, 118, 0.08) 52%, rgba(255, 255, 255, 0) 82%);
    background-repeat: no-repeat;
}

body.satv1-theme .satv1-main-content .top_site_main {
    background: var(--sat-bg-warm-soft);
    border-bottom: 1px solid var(--sat-border-warm);
}

body.satv1-theme .satv1-main-content .top_site_main .page-title-wrapper {
    padding: 1.9rem 0 1.6rem;
}

body.satv1-theme .satv1-main-content .top_site_main .banner-wrapper {
    display: flex;
    justify-content: center;
}

body.satv1-theme:not(.satv1-context-minisito) .satv1-main-content .page-title {
    margin: 0 auto;
    text-align: center;
    max-width: 920px;
    font-size: clamp(2rem, 3.4vw, 2.7rem);
    line-height: 1.16;
    letter-spacing: 0;
    color: var(--sat-title-orange);
}

body.satv1-theme .satv1-main-content .breadcrumbs-wrapper {
    border-top: 1px solid var(--sat-border-warm);
    border-bottom: 1px solid var(--sat-border-warm);
    background: var(--sat-bg-warm-subtle);
}

body.satv1-theme .satv1-main-content .breadcrumbs-wrapper .container {
    display: flex;
    justify-content: center;
}

body.satv1-theme .satv1-main-content .breadcrumbs {
    margin: 0;
    padding: 0.75rem 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    max-width: 920px;
    color: #8f95a0;
    font-size: 0.94rem;
    font-weight: 300;
}

body.satv1-theme .satv1-main-content .breadcrumbs li {
    list-style: none;
    margin: 0;
}

body.satv1-theme .satv1-main-content .breadcrumbs li + li::before {
    content: "/";
    margin-right: 0.4rem;
    color: #b4bac3;
}

body.satv1-theme .satv1-main-content .breadcrumbs a {
    color: #7d8592;
    text-decoration: none;
}

body.satv1-theme .satv1-main-content .breadcrumbs a:hover {
    color: var(--sat-orange-dark);
}

body.satv1-theme .satv1-main-content .site-content {
    padding-top: 1.6rem;
}

/* Align internal content shell with header/footer container breakpoints. */
body.satv1-theme .satv1-main-content .site-content.container {
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 640px) {
    body.satv1-theme .satv1-main-content .site-content.container {
        max-width: 640px;
    }
}

@media (min-width: 768px) {
    body.satv1-theme .satv1-main-content .site-content.container {
        max-width: 768px;
    }
}

@media (min-width: 1024px) {
    body.satv1-theme .satv1-main-content .site-content.container {
        max-width: 1024px;
    }
}

@media (min-width: 1280px) {
    body.satv1-theme .satv1-main-content .site-content.container {
        max-width: 1280px;
    }
}

@media (min-width: 1536px) {
    body.satv1-theme .satv1-main-content .site-content.container {
        max-width: 1536px;
    }
}

body.satv1-theme .satv1-main-content .site-content > .row {
    display: grid;
    grid-template-columns: minmax(0, 2.9fr) minmax(280px, 1fr);
    gap: 1.25rem;
    align-items: start;
}

/* Keep sidebar pages compact on large screens: main column fluid + bounded sidebar width. */
body.satv1-theme .satv1-main-content .site-content.sidebar-right > .row,
body.satv1-theme .satv1-main-content .site-content.sidebar-left > .row {
    grid-template-columns: minmax(0, 1fr) clamp(300px, 24vw, 360px);
}

body.satv1-theme .satv1-main-content .site-content .site-main.col-sm-9,
body.satv1-theme .satv1-main-content .site-content #sidebar.col-sm-3 {
    width: auto;
    float: none;
    padding: 0;
}

body.satv1-theme .satv1-main-content .site-content > .row > .site-main:only-child {
    grid-column: 1 / -1;
}

body.satv1-theme .satv1-main-content .site-main > .page-content,
body.satv1-theme .satv1-main-content #internal-page,
body.satv1-theme .satv1-main-content #blog-archive {
    margin-left: clamp(0.55rem, 1.25vw, 1rem);
    margin-right: clamp(0.55rem, 1.25vw, 1rem);
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(19, 25, 36, 0.05);
    padding: 1.8rem 2rem;
}

body.satv1-theme .satv1-main-content .page-content-inner,
body.satv1-theme .satv1-main-content #content-internal {
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
}

/* With sidebar active, avoid narrow 920px inner column that visually pushes sidebar too far away. */
body.satv1-theme .satv1-main-content .site-content.sidebar-right .page-content-inner,
body.satv1-theme .satv1-main-content .site-content.sidebar-right #content-internal,
body.satv1-theme .satv1-main-content .site-content.sidebar-left .page-content-inner,
body.satv1-theme .satv1-main-content .site-content.sidebar-left #content-internal {
    max-width: none;
}

body.satv1-theme .satv1-main-content .entry-header {
    padding-bottom: 0.95rem;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid #ececec;
}

body.satv1-theme:not(.satv1-context-minisito) .satv1-main-content h1,
body.satv1-theme:not(.satv1-context-minisito) .satv1-main-content .entry-title {
    margin: 0;
    font-size: clamp(2rem, 3.6vw, 2.9rem);
    line-height: 1.14;
    color: var(--sat-title-orange);
    letter-spacing: 0;
}

body.satv1-theme .satv1-main-content .entry-meta {
    margin: 0.75rem 0 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem 1.1rem;
    color: #8f95a0;
    font-size: 0.93rem;
    font-weight: 300;
}

body.satv1-theme .satv1-main-content .entry-meta li {
    margin: 0;
    padding: 0;
    list-style: none;
}

body.satv1-theme .satv1-main-content .entry-content {
    color: #4f5560;
    font-size: 1.06rem;
    line-height: 1.72;
    font-weight: 300;
}

body.satv1-theme .satv1-main-content .entry-content p {
    margin: 0 0 1rem;
    font-size: 18px;
    line-height: 1.72;
    font-weight: 300;
}

/* Parent theme enforces 17px !important with #internal-page/#main/.layoutArea selectors.
 * Override with equal-or-higher specificity in satv1. */
body.satv1-theme #internal-page p,
body.satv1-theme #internal-page span,
body.satv1-theme #main p,
body.satv1-theme #main span,
body.satv1-theme .layoutArea {
    font-size: 18px !important;
    line-height: 1.72 !important;
    font-weight: 300 !important;
}

/* Word paste guard: neutralize inline typography noise (font-size/family/line-height). */
body.satv1-theme .satv1-main-content #internal-page #content-internal [style*="font-size"] {
    font-size: inherit !important;
}

body.satv1-theme .satv1-main-content #internal-page #content-internal [style*="font-family"] {
    font-family: inherit !important;
}

body.satv1-theme .satv1-main-content #internal-page #content-internal [style*="line-height"] {
    line-height: inherit !important;
}

/* Editorial content readability: neutralize excessive italic usage from legacy markup. */
body.satv1-theme .satv1-main-content #internal-page #content-internal em,
body.satv1-theme .satv1-main-content #internal-page #content-internal i,
body.satv1-theme .satv1-main-content .entry-content em,
body.satv1-theme .satv1-main-content .entry-content i {
    font-style: normal !important;
}

body.satv1-theme .satv1-main-content .entry-content strong {
    color: #262a31;
    font-weight: 500;
}

body.satv1-theme .satv1-main-content .entry-content a,
body.satv1-theme .satv1-main-content .entry-meta a {
    color: var(--sat-orange);
}

body.satv1-theme .satv1-main-content .entry-content a:hover,
body.satv1-theme .satv1-main-content .entry-meta a:hover {
    color: var(--sat-orange-dark);
}

body.satv1-theme .satv1-main-content #internal-page .satv1-sat-side-image {
    float: right;
    max-width: 200px;
    width: 100%;
    height: auto;
    margin: 0 0 0.75rem 1rem;
}

body.satv1-theme.single-post .satv1-main-content .entry-content::after {
    content: "";
    display: block;
    clear: both;
}

body.satv1-theme.single-post .satv1-main-content .entry-content .satv1-single-featured {
    float: right;
    width: min(42%, 460px);
    margin: 0 0 1.05rem 1.25rem;
    padding: 0.45rem;
    border: 1px solid #e5eaf0;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 18px rgba(24, 32, 46, 0.07);
}

body.satv1-theme.single-post .satv1-main-content .entry-content .satv1-single-featured img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
}

/* SAT templates: event selection dropdown styled to match staff picker look. */
body.satv1-theme .satv1-main-content #internal-page .satv1-event-registration-zone {
    margin: 0.75rem 0 1.15rem;
    padding: 1.05rem 1.08rem 0.95rem;
    border: 1px solid #f1d6bd;
    border-radius: 14px;
    background: linear-gradient(180deg, #fffaf5 0%, #fff 76%);
    box-shadow: 0 10px 24px rgba(213, 132, 58, 0.1);
}

body.satv1-theme .satv1-main-content #internal-page .satv1-event-select-label {
    display: block;
    margin: 0 0 0.45rem;
    color: #694b33;
    font-size: 1.02rem;
    line-height: 1.4;
    font-weight: 400;
}

body.satv1-theme .satv1-main-content #internal-page .satv1-event-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    display: block;
    width: 100%;
    min-height: 44px;
    margin: 0 0 0.72rem;
    padding: 0.55rem 2.35rem 0.55rem 0.78rem;
    border: 1px solid #d6dde8;
    border-radius: 9px;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%237d8799' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.85rem center;
    background-size: 12px 8px;
    color: #2f3642;
    font-size: 0.98rem !important;
    line-height: 1.28 !important;
    font-weight: 400 !important;
    box-shadow: 0 1px 5px rgba(20, 28, 39, 0.05);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    box-sizing: border-box;
}

body.satv1-theme .satv1-main-content #internal-page .satv1-event-select:focus {
    border-color: #f08a3c;
    box-shadow: 0 0 0 3px rgba(240, 138, 60, 0.16);
    outline: 0;
}

body.satv1-theme .satv1-main-content #internal-page .satv1-event-registration-zone .single-button {
    margin-top: 0.12rem;
}

body.satv1-theme .satv1-main-content #internal-page .satv1-event-registration-zone .satv1-event-register-cta {
    --sat-cta-color: #8e1f00;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    min-width: 240px;
    padding: 0.82rem 1.2rem;
    border-radius: 12px;
    border: 1px solid color-mix(in srgb, var(--sat-cta-color) 86%, #000 14%);
    background: linear-gradient(180deg, color-mix(in srgb, var(--sat-cta-color) 88%, #fff 12%) 0%, var(--sat-cta-color) 100%);
    color: #fff !important;
    font-size: 1.02rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    text-decoration: none !important;
    line-height: 1.2 !important;
    box-shadow: 0 8px 18px rgba(17, 23, 34, 0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease, opacity 0.2s ease;
}

body.satv1-theme .satv1-main-content #internal-page .satv1-event-registration-zone .satv1-event-register-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(17, 23, 34, 0.18);
    filter: saturate(1.03);
}

body.satv1-theme .satv1-main-content #internal-page .satv1-event-registration-zone .satv1-event-register-cta.is-disabled {
    opacity: 0.62;
    pointer-events: none;
    cursor: not-allowed;
    filter: grayscale(0.08);
    box-shadow: 0 5px 11px rgba(17, 23, 34, 0.1);
}

body.satv1-theme .satv1-main-content #internal-page .satv1-event-register-closed {
    position: relative;
}

body.satv1-theme .satv1-main-content #internal-page .satv1-event-register-closed-note {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.75rem;
    line-height: 1.25;
    font-weight: 500;
    letter-spacing: 0.01em;
    text-transform: none;
    color: #fff;
}

/* Single event staff form: bootstrap-select with scoped satv1 skin. */
body.satv1-theme.single-eventi .satv1-main-content #internal-page .satv1-staff-zone {
    margin: 1.15rem 0 1.45rem;
    padding: 1.05rem 1.08rem 0.95rem;
    border: 1px solid #f1d6bd;
    border-radius: 14px;
    background: linear-gradient(180deg, #fffaf5 0%, #fff 76%);
    box-shadow: 0 10px 24px rgba(213, 132, 58, 0.1);
}

body.satv1-theme.single-eventi .satv1-main-content #internal-page .satv1-staff-zone__title {
    margin: 0 0 0.35rem !important;
    color: #7d3f12;
    font-size: 0.93rem !important;
    line-height: 1.25 !important;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

body.satv1-theme.single-eventi .satv1-main-content #internal-page .satv1-staff-zone__intro {
    margin: 0 0 0.7rem !important;
    color: #694b33;
    font-size: 0.93rem !important;
    line-height: 1.45 !important;
}

body.satv1-theme.single-eventi .satv1-main-content #internal-page .satv1-staff-zone #iscrizione-evento {
    margin-top: 0.7rem;
}

body.satv1-theme.single-eventi .satv1-main-content #internal-page #iscrizione-evento .satv1-staff-picker {
    width: 100%;
}

body.satv1-theme.single-eventi .satv1-main-content #internal-page #iscrizione-evento select.selectpicker.satv1-staff-picker {
    display: none !important;
}

body.satv1-theme.single-eventi .satv1-main-content #internal-page #iscrizione-evento .bootstrap-select.satv1-staff-picker {
    width: min(100%, 760px) !important;
    display: block;
    position: relative;
    font-size: 15px !important;
    line-height: 1.24 !important;
    font-weight: 400 !important;
}

body.satv1-theme.single-eventi .satv1-main-content #internal-page #iscrizione-evento .bootstrap-select.satv1-staff-picker p,
body.satv1-theme.single-eventi .satv1-main-content #internal-page #iscrizione-evento .bootstrap-select.satv1-staff-picker span {
    font-size: inherit !important;
    line-height: inherit !important;
    font-weight: inherit !important;
}

body.satv1-theme.single-eventi .satv1-main-content #internal-page #iscrizione-evento .bootstrap-select.satv1-staff-picker > .dropdown-toggle {
    display: block;
    width: 100%;
    text-align: left;
    cursor: pointer;
    min-height: 44px;
    border: 1px solid #d6dde8;
    border-radius: 9px;
    background: #fff;
    color: #2f3642;
    font-size: 0.98rem !important;
    line-height: 1.28 !important;
    font-weight: 400 !important;
    padding: 0.55rem 2.35rem 0.55rem 0.78rem;
    box-shadow: 0 1px 5px rgba(20, 28, 39, 0.05);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    outline: 0;
}

body.satv1-theme.single-eventi .satv1-main-content #internal-page #iscrizione-evento .bootstrap-select.satv1-staff-picker > .dropdown-toggle:focus,
body.satv1-theme.single-eventi .satv1-main-content #internal-page #iscrizione-evento .bootstrap-select.satv1-staff-picker.open > .dropdown-toggle {
    border-color: #f08a3c;
    box-shadow: 0 0 0 3px rgba(240, 138, 60, 0.16);
    background: #fff;
}

body.satv1-theme.single-eventi .satv1-main-content #internal-page #iscrizione-evento .bootstrap-select.satv1-staff-picker .filter-option {
    color: #2f3642;
    font-size: 0.98rem !important;
    line-height: 1.22 !important;
    font-weight: 400 !important;
}

body.satv1-theme.single-eventi .satv1-main-content #internal-page #iscrizione-evento .bootstrap-select.satv1-staff-picker .caret {
    border-top: 5px solid #7d8799;
    border-right: 4px solid transparent;
    border-left: 4px solid transparent;
}

body.satv1-theme.single-eventi .satv1-main-content #internal-page #iscrizione-evento .bootstrap-select.satv1-staff-picker .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 9990;
    display: none;
    float: left;
    width: 100%;
    min-width: 100%;
    padding: 0;
    margin-top: 0.28rem;
    border: 1px solid #d6dde8;
    border-radius: 10px;
    background: #fff;
    list-style: none;
    box-shadow: 0 14px 34px rgba(20, 28, 39, 0.15);
    overflow: visible;
    max-height: none !important;
}

body.satv1-theme.single-eventi .satv1-main-content #internal-page #iscrizione-evento .bootstrap-select.satv1-staff-picker.open .dropdown-menu {
    display: block;
}

body.satv1-theme.single-eventi .satv1-main-content #internal-page #iscrizione-evento .bootstrap-select.satv1-staff-picker.show .dropdown-menu {
    display: block;
}

body.satv1-theme.single-eventi .satv1-main-content #internal-page #iscrizione-evento .bootstrap-select.satv1-staff-picker .dropdown-menu > .inner {
    position: static;
    float: none;
    max-height: min(56vh, 440px) !important;
    margin: 0;
    padding: 0;
    list-style: none;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}

body.satv1-theme.single-eventi .satv1-main-content #internal-page #iscrizione-evento .bootstrap-select.satv1-staff-picker .dropdown-menu > .inner > li {
    margin: 0;
    padding: 0;
    list-style: none;
}

body.satv1-theme.single-eventi .satv1-main-content #internal-page #iscrizione-evento .bootstrap-select.satv1-staff-picker .dropdown-menu > .inner > li.hidden,
body.satv1-theme.single-eventi .satv1-main-content #internal-page #iscrizione-evento .bootstrap-select.satv1-staff-picker .dropdown-menu > .inner > li.is-hidden {
    display: none;
}

body.satv1-theme.single-eventi .satv1-main-content #internal-page #iscrizione-evento .bootstrap-select.satv1-staff-picker .dropdown-menu .bs-searchbox {
    padding: 0.5rem 0.58rem 0.42rem;
}

body.satv1-theme.single-eventi .satv1-main-content #internal-page #iscrizione-evento .bootstrap-select.satv1-staff-picker .dropdown-menu .bs-searchbox input {
    display: block;
    width: 100%;
    min-height: 34px;
    border: 1px solid #d6dde8;
    border-radius: 7px;
    box-shadow: none;
    padding: 0.35rem 0.55rem;
    font-size: 0.94rem !important;
    line-height: 1.25 !important;
    font-weight: 400 !important;
}

body.satv1-theme.single-eventi .satv1-main-content #internal-page #iscrizione-evento .bootstrap-select.satv1-staff-picker .dropdown-menu .bs-searchbox input:focus {
    border-color: #f08a3c;
    box-shadow: 0 0 0 2px rgba(240, 138, 60, 0.15);
}

body.satv1-theme.single-eventi .satv1-main-content #internal-page #iscrizione-evento .bootstrap-select.satv1-staff-picker .dropdown-menu > .inner > li > a {
    display: block;
    padding: 0.44rem 0.76rem;
    font-size: 0.94rem !important;
    line-height: 1.35 !important;
    font-weight: 400 !important;
    text-decoration: none;
}

body.satv1-theme.single-eventi .satv1-main-content #internal-page #iscrizione-evento .bootstrap-select.satv1-staff-picker .dropdown-menu > .inner > li > a:hover,
body.satv1-theme.single-eventi .satv1-main-content #internal-page #iscrizione-evento .bootstrap-select.satv1-staff-picker .dropdown-menu > .inner > li.selected > a {
    background: #fff4eb;
    color: #2f3642;
}

body.satv1-theme.single-eventi .satv1-main-content #internal-page #iscrizione-evento .satv1-staff-help {
    margin: 0.38rem 0 0.2rem;
    color: #6d7583;
    font-size: 0.9rem !important;
    line-height: 1.48 !important;
}

body.satv1-theme.single-eventi .satv1-main-content #internal-page #iscrizione-evento .satv1-checkline {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin: 0.24rem 0 0.56rem;
}

body.satv1-theme.single-eventi .satv1-main-content #internal-page #iscrizione-evento .satv1-checkline input[type="checkbox"] {
    flex: 0 0 auto;
    margin: 0.2rem 0 0;
}

body.satv1-theme.single-eventi .satv1-main-content #internal-page #iscrizione-evento .satv1-checkline label {
    display: block;
    margin: 0 !important;
    line-height: 1.52 !important;
}

body.satv1-theme.single-eventi .satv1-main-content #internal-page #iscrizione-evento .satv1-checkline--privacy {
    margin-top: 0.42rem;
    margin-bottom: 0.72rem;
}

body.satv1-theme.single-eventi .satv1-main-content #internal-page #iscrizione-evento input[type="text"],
body.satv1-theme.single-eventi .satv1-main-content #internal-page #iscrizione-evento input[type="email"],
body.satv1-theme.single-eventi .satv1-main-content #internal-page #iscrizione-evento input[type="tel"],
body.satv1-theme.single-eventi .satv1-main-content #internal-page #iscrizione-evento select,
body.satv1-theme.single-eventi .satv1-main-content #internal-page #iscrizione-evento .satv1-form-textarea {
    width: min(100%, 420px);
    min-height: 40px;
    border: 1px solid #d6dde8;
    border-radius: 7px;
    padding: 0.44rem 0.58rem;
    box-shadow: none;
}

body.satv1-theme.single-eventi .satv1-main-content #internal-page #iscrizione-evento .satv1-form-textarea {
    min-height: 120px;
    max-width: 100%;
    resize: vertical;
}

body.satv1-theme.single-eventi .satv1-main-content #internal-page #iscrizione-evento .satv1-upload-help {
    display: inline-block;
    margin-top: -3px;
    font-style: italic;
    font-size: 11px;
}

body.satv1-theme.single-eventi .satv1-main-content #internal-page #iscrizione-evento .satv1-form-messages {
    margin: 0.35rem 0 0.75rem;
}

body.satv1-theme.single-eventi .satv1-main-content #internal-page #iscrizione-evento .satv1-form-message {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
}

body.satv1-theme.single-eventi .satv1-main-content #internal-page #iscrizione-evento .satv1-form-message--error {
    color: darkred;
}

body.satv1-theme.single-eventi .satv1-main-content #internal-page #iscrizione-evento .satv1-form-message--ok {
    color: darkgreen;
}

body.satv1-theme.single-eventi .satv1-main-content #internal-page .satv1-form-message--error {
    color: darkred;
}

body.satv1-theme.single-eventi .satv1-main-content #internal-page .satv1-form-message--ok {
    color: darkgreen;
}

body.satv1-theme.single-eventi .satv1-main-content #internal-page .satv1-event-form-intro,
body.satv1-theme.single-eventi .satv1-main-content #internal-page .satv1-event-form-note {
    margin: 0 0 0.65rem;
    font-size: 0.95rem !important;
    line-height: 1.55 !important;
}

body.satv1-theme.single-eventi .satv1-main-content #internal-page .satv1-event-form-note--bold {
    font-weight: 600;
}

body.satv1-theme.single-eventi .satv1-main-content #internal-page .satv1-event-form-note-link {
    text-decoration: underline;
}

body.satv1-theme.single-eventi .satv1-main-content #internal-page .satv1-event-login-zone {
    margin: 1.15rem 0 1.45rem;
    padding: 1.05rem 1.08rem 1.05rem;
    border: 1px solid #f1d6bd;
    border-radius: 14px;
    background: linear-gradient(180deg, #fffaf5 0%, #fff 76%);
    box-shadow: 0 10px 24px rgba(213, 132, 58, 0.1);
}

body.satv1-theme.single-eventi .satv1-main-content #internal-page .satv1-event-login-zone .satv1-event-form-intro {
    margin-bottom: 0.45rem;
    color: #694b33;
}

body.satv1-theme.single-eventi .satv1-main-content #internal-page .satv1-event-login-zone .satv1-event-form-note {
    margin-bottom: 0.92rem;
    color: #6d7583;
}

body.satv1-theme.single-eventi .satv1-main-content #internal-page .satv1-event-login-cta-wrap {
    margin: 0;
}

body.satv1-theme.single-eventi .satv1-main-content #internal-page .satv1-event-login-cta {
    --sat-cta-color: #b77866;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    min-width: 240px;
    padding: 0.82rem 1.2rem;
    border-radius: 12px;
    border: 1px solid color-mix(in srgb, var(--sat-cta-color) 86%, #000 14%);
    background: linear-gradient(180deg, color-mix(in srgb, var(--sat-cta-color) 88%, #fff 12%) 0%, var(--sat-cta-color) 100%);
    color: #fff !important;
    font-size: 1.02rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    text-decoration: none !important;
    line-height: 1.2 !important;
    box-shadow: 0 8px 18px rgba(17, 23, 34, 0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

body.satv1-theme.single-eventi .satv1-main-content #internal-page .satv1-event-login-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(17, 23, 34, 0.18);
    filter: saturate(1.03);
}

body.satv1-theme.single-eventi .satv1-main-content #internal-page .satv1-event-login-cta:focus-visible {
    outline: 0;
    box-shadow: 0 0 0 3px rgba(183, 120, 102, 0.2), 0 8px 18px rgba(17, 23, 34, 0.12);
}

body.satv1-theme.single-eventi .satv1-main-content #internal-page .satv1-event-compiled-data {
    margin-top: 20px;
    line-height: 1.38;
}

body.satv1-theme.single-eventi .satv1-main-content #internal-page .satv1-event-spacer {
    height: 25px;
}

body.satv1-theme.single-eventi .satv1-main-content #internal-page #iscrizione-evento input[type="submit"] {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border: 1px solid #e0772a;
    border-radius: 10px;
    background: linear-gradient(180deg, #f5a24f 0%, #f08a3c 100%);
    color: #fff !important;
    font-size: 0.88rem !important;
    line-height: 1.1 !important;
    font-weight: 600 !important;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    padding: 0.68rem 1.2rem;
    box-shadow: 0 8px 18px rgba(240, 138, 60, 0.24);
    cursor: pointer;
    transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease, border-color 0.16s ease;
}

body.satv1-theme.single-eventi .satv1-main-content #internal-page #iscrizione-evento input[type="submit"]:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(240, 138, 60, 0.3);
    filter: saturate(1.03) brightness(1.01);
}

body.satv1-theme.single-eventi .satv1-main-content #internal-page #iscrizione-evento input[type="submit"]:focus-visible {
    outline: 0;
    box-shadow: 0 0 0 3px rgba(240, 138, 60, 0.18), 0 8px 18px rgba(240, 138, 60, 0.24);
}

body.satv1-theme.single-eventi .satv1-main-content #internal-page #iscrizione-evento input[type="submit"]:active {
    transform: translateY(0);
    box-shadow: 0 6px 14px rgba(240, 138, 60, 0.22);
}

@media (max-width: 768px) {
    body.satv1-theme .satv1-main-content #internal-page .satv1-sat-side-image {
        float: none;
        display: block;
        margin: 0 auto 1rem;
    }

    body.satv1-theme.single-eventi .satv1-main-content #internal-page .satv1-event-login-cta {
        width: 100%;
        min-width: 0;
    }

    body.satv1-theme.single-eventi .satv1-main-content #internal-page #iscrizione-evento .bootstrap-select.satv1-staff-picker .dropdown-menu > .inner {
        max-height: min(50vh, 360px) !important;
    }
}

body.satv1-theme .satv1-main-content #attachments-part,
body.satv1-theme .satv1-main-content .attachments.box {
    margin-top: 1.7rem;
    padding: 1.3rem;
    background: #fafafa;
    border: 1px solid #ececec;
    border-radius: 12px;
}

body.satv1-theme .satv1-main-content #attachments-part h5,
body.satv1-theme .satv1-main-content .attachments.box .box-head h2 {
    margin: 0;
    font-size: 1.75rem;
    line-height: 1.2;
    color: #2f333a;
}

body.satv1-theme .satv1-main-content #attachments-part ul,
body.satv1-theme .satv1-main-content .attachments.box ul {
    list-style: none;
    margin: 1rem 0 0;
    padding: 0;
}

body.satv1-theme .satv1-main-content #attachments-part li,
body.satv1-theme .satv1-main-content .attachments.box li {
    margin: 0 0 0.75rem;
    display: flex;
    justify-content: center;
}

body.satv1-theme .satv1-main-content #attachments-part li:last-child,
body.satv1-theme .satv1-main-content .attachments.box li:last-child {
    margin-bottom: 0;
}

body.satv1-theme .satv1-main-content #attachments-part a,
body.satv1-theme .satv1-main-content .attachments.box a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: min(100%, 430px);
    min-height: 58px;
    height: auto;
    line-height: 1.3;
    margin: 0;
    text-decoration: none;
    padding: 0.84rem 1.05rem;
    border-radius: 10px;
    border: 1px solid #bb4f13;
    background: linear-gradient(180deg, #d76823 0%, #c65515 100%);
    color: #fff !important;
    font-size: 1.02rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    box-shadow: 0 8px 18px rgba(25, 30, 40, 0.14);
}

/* SAT internal CTA buttons (Accedi/Depliant/Titignano): subtle modernization without changing palette. */
body.satv1-theme .satv1-main-content #content-internal > hr {
    margin-top: 1.6rem;
    margin-bottom: 1.6rem;
}

body.satv1-theme .satv1-main-content #content-internal > hr ~ a.single-button {
    --sat-cta-color: #a63c05;
    display: inline-flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    float: left;
    width: calc(33.333% - 14px);
    box-sizing: border-box;
    min-height: 96px;
    height: auto;
    margin-right: 20px;
    margin-bottom: 20px;
    padding: 0.78rem 0.55rem;
    line-height: 1.22;
    border-radius: 12px;
    box-shadow: 0 8px 18px rgba(17, 23, 34, 0.12);
    font-size: clamp(1.34rem, 1.1vw, 1.5rem);
    font-weight: 600;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    white-space: nowrap;
    border: 1px solid #7d2d00;
    border-color: color-mix(in srgb, var(--sat-cta-color) 86%, #000 14%);
    background: var(--sat-cta-color);
    background: linear-gradient(180deg, color-mix(in srgb, var(--sat-cta-color) 88%, #fff 12%) 0%, var(--sat-cta-color) 100%);
    color: #ffffff !important;
    text-decoration: none !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

body.satv1-theme .satv1-main-content #content-internal > hr ~ a.single-button.red {
    --sat-cta-color: #8e1f00;
}

body.satv1-theme .satv1-main-content #content-internal > hr ~ a.single-button.orange {
    --sat-cta-color: #c65310;
}

body.satv1-theme .satv1-main-content #content-internal > hr ~ a.single-button.yellow {
    --sat-cta-color: #db8b0b;
}

body.satv1-theme .satv1-main-content #content-internal > hr ~ a.single-button:nth-of-type(3n) {
    margin-right: 0;
}

body.satv1-theme .satv1-main-content #content-internal > hr ~ a.single-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(17, 23, 34, 0.18);
    filter: saturate(1.03);
}

/* Legacy subtitle "(Iscrizioni non aperte)" is inline-styled in template: force readable placement. */
body.satv1-theme .satv1-main-content #content-internal > hr ~ a.single-button br {
    display: none;
}

body.satv1-theme .satv1-main-content #content-internal > hr ~ a.single-button span {
    position: static !important;
    display: block !important;
    margin-top: 0.44rem;
    font-size: 0.9rem !important;
    line-height: 1.2 !important;
    letter-spacing: 0.015em;
    text-transform: none !important;
    white-space: normal;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.98) !important;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.32);
}

/* Ensure following content starts below floated CTA buttons. */
body.satv1-theme .satv1-main-content #content-internal > #allegati,
body.satv1-theme .satv1-main-content #content-internal > #link-esterni,
body.satv1-theme .satv1-main-content #content-internal > .attachments.box {
    clear: both;
}

/* Contain floated legacy CTA buttons so they do not overflow outside the card. */
body.satv1-theme .satv1-main-content #content-internal::after {
    content: "";
    display: block;
    clear: both;
}

body.satv1-theme .satv1-main-content #attachments-part a:hover,
body.satv1-theme .satv1-main-content .attachments.box a:hover {
    border-color: #a7430f;
    background: linear-gradient(180deg, #c95a18 0%, #b6490d 100%);
    color: #fff !important;
}

/* Contact page (page-id-28): tidy legacy editor markup into a clean contact card. */
body.page-id-28.satv1-theme .satv1-main-content #post-28 .entry-content {
    max-width: none;
    padding: clamp(1.1rem, 1.8vw, 1.7rem);
    border: 1px solid #e7ebf0;
    border-radius: 14px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
    box-shadow: 0 10px 22px rgba(20, 30, 44, 0.05);
}

body.page-id-28.satv1-theme .satv1-main-content #post-28 .entry-content > p:first-child {
    margin: 0 0 1.1rem;
    max-width: 68ch;
    color: #3e4655;
    font-size: 1.16rem;
    line-height: 1.74;
}

body.page-id-28.satv1-theme .satv1-main-content #post-28 .entry-content > p:first-child img.alignright {
    float: right;
    width: clamp(150px, 24vw, 230px) !important;
    max-width: 230px !important;
    height: auto !important;
    margin: 0 0 0.8rem 1.5rem;
    filter: drop-shadow(0 8px 16px rgba(20, 30, 44, 0.12));
}

body.page-id-28.satv1-theme .satv1-main-content #post-28 .entry-content a[href^="mailto:"] {
    display: inline-flex;
    align-items: center;
    margin-top: 0.32rem;
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
    background: #fff4ea;
    color: #d66f21;
    text-decoration: none;
    font-weight: 400;
}

body.page-id-28.satv1-theme .satv1-main-content #post-28 .entry-content a[href^="mailto:"]:hover {
    color: #bb5915;
    background: #ffead8;
    text-decoration: none;
}

body.page-id-28.satv1-theme .satv1-main-content #post-28 .entry-content > div {
    margin: 0;
    color: #485164;
    font-size: 1.12rem;
    line-height: 1.66;
}

body.page-id-28.satv1-theme .satv1-main-content #post-28 .entry-content > div:first-of-type {
    margin-top: 1.25rem;
    color: #2f3744;
    font-size: 1.24rem;
    font-weight: 600;
}

body.page-id-28.satv1-theme .satv1-main-content #post-28 .entry-content > div:nth-of-type(2) {
    margin-top: 0.12rem;
    color: #596274;
    font-weight: 500;
}

body.page-id-28.satv1-theme .satv1-main-content #post-28 .entry-content > div:last-of-type {
    margin-top: 0.7rem;
    padding: 0.95rem 1rem;
    border: 1px solid #ebedf1;
    border-left: 4px solid #f08a3c;
    border-radius: 10px;
    background: #fff;
}

/* Video & Documenti (page-id-15320): convert legacy list into polished responsive cards. */
body.page-id-15320.satv1-theme .satv1-main-content #post-15320 .entry-content {
    max-width: none;
    margin-bottom: 0.55rem;
    padding: 0;
    border: 0;
    box-shadow: none;
    background: transparent;
}

body.page-id-15320.satv1-theme .satv1-main-content #post-15320 .entry-content .button-style {
    margin: 0;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: #fff4ea;
    color: #cc6a21;
    font-size: 0.94rem;
    line-height: 1;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.44rem 0.8rem;
}

body.page-id-15320.satv1-theme .satv1-main-content .site-main > .row {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.05rem;
    margin: 0 !important;
}

body.page-id-15320.satv1-theme .satv1-main-content .site-main > .row > [class*="col-"] {
    width: auto !important;
    float: none !important;
    padding: 0 !important;
    display: block !important;
}

body.page-id-15320.satv1-theme .satv1-main-content .single-video {
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid #e4e8ee;
    border-radius: 14px;
    overflow: hidden;
    background: linear-gradient(180deg, #ffffff 0%, #fcfdff 100%);
    box-shadow: 0 8px 20px rgba(20, 29, 43, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

body.page-id-15320.satv1-theme .satv1-main-content .single-video:hover {
    transform: translateY(-2px);
    border-color: #d8dde6;
    box-shadow: 0 14px 30px rgba(20, 29, 43, 0.11);
}

body.page-id-15320.satv1-theme .satv1-main-content .single-video > a:first-child {
    position: relative;
    display: block;
    line-height: 0;
    overflow: hidden;
    border-bottom: 1px solid #eceff4;
}

body.page-id-15320.satv1-theme .satv1-main-content .single-video > a:first-child::after {
    content: "▶";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    font-size: 18px;
    color: #fff;
    background: rgba(23, 29, 40, 0.62);
    box-shadow: 0 6px 16px rgba(16, 22, 33, 0.3);
    pointer-events: none;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

body.page-id-15320.satv1-theme .satv1-main-content .single-video:hover > a:first-child::after {
    transform: translate(-50%, -50%) scale(1.05);
    background: rgba(214, 110, 36, 0.9);
}

body.page-id-15320.satv1-theme .satv1-main-content .single-video img {
    width: 100% !important;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border: 0 !important;
    transition: transform 0.28s ease;
}

body.page-id-15320.satv1-theme .satv1-main-content .single-video:hover img {
    transform: scale(1.03);
}

body.page-id-15320.satv1-theme .satv1-main-content .single-video h4 {
    margin: 0;
    padding: 0.85rem 0.95rem 0;
    font-size: 1.14rem;
    line-height: 1.35;
    color: #273145;
}

body.page-id-15320.satv1-theme .satv1-main-content .single-video h4 a {
    color: inherit;
    text-decoration: none;
}

body.page-id-15320.satv1-theme .satv1-main-content .single-video h4 a:hover {
    color: var(--sat-orange-dark);
    text-decoration: underline;
}

body.page-id-15320.satv1-theme .satv1-main-content .single-video p {
    margin: 0;
    padding-left: 0.95rem;
    padding-right: 0.95rem;
}

body.page-id-15320.satv1-theme .satv1-main-content .single-video p > em {
    display: inline-flex;
    margin-top: 0.48rem;
    margin-bottom: 0.42rem;
    padding: 0.24rem 0.55rem;
    border-radius: 999px;
    background: #f2f5fa;
    color: #728094;
    font-size: 0.82rem;
    line-height: 1;
    font-style: normal !important;
    font-weight: 400;
}

body.page-id-15320.satv1-theme .satv1-main-content .single-video p:last-child {
    padding-bottom: 1rem;
    color: #606d80;
    font-size: 0.98rem;
    line-height: 1.56;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
}

/* Chi siamo (page-id-68): editorial typography and rhythm for long-form content. */
body.page-id-68.satv1-theme .satv1-main-content #post-68 .entry-content {
    max-width: min(920px, 100%);
    margin-left: auto;
    margin-right: auto;
    padding: clamp(1.15rem, 1.9vw, 1.85rem);
    border: 1px solid #e7ebf1;
    border-radius: 14px;
    background: linear-gradient(180deg, #ffffff 0%, #fcfdff 100%);
    box-shadow: 0 10px 24px rgba(19, 27, 39, 0.05);
}

body.page-id-68.satv1-theme .satv1-main-content #post-68 .entry-content p {
    margin: 0 0 1.08rem;
    color: #495364;
    font-size: 1.075rem !important;
    line-height: 1.78 !important;
    font-weight: 300 !important;
}

body.page-id-68.satv1-theme .satv1-main-content #post-68 .entry-content > p:first-child {
    color: #303949;
    font-size: 1.14rem !important;
    line-height: 1.76 !important;
}

body.page-id-68.satv1-theme .satv1-main-content #post-68 .entry-content h2 {
    margin: 1.95rem 0 1rem;
    padding-top: 0.2rem;
    color: #222c3c;
    font-size: clamp(1.55rem, 2.6vw, 2rem);
    line-height: 1.22;
    border-top: 1px solid #ecf0f5;
}

body.page-id-68.satv1-theme .satv1-main-content #post-68 .entry-content h2 + p {
    margin-top: 0.2rem;
    padding: 0.95rem 1rem;
    border: 1px solid #f3e3d4;
    border-left: 4px solid #f08a3c;
    border-radius: 10px;
    background: #fff9f3;
    color: #3d4758;
}

body.page-id-68.satv1-theme .satv1-main-content #post-68 .entry-content h2 + p em {
    font-style: italic !important;
    color: inherit;
}

body.page-id-68.satv1-theme .satv1-main-content #post-68 .entry-content h2 + p + p em {
    font-style: normal !important;
    font-weight: 500;
    color: #566173;
}

body.page-id-68.satv1-theme .satv1-main-content #post-68 .entry-content p strong {
    color: #2b3444;
    font-weight: 500;
}

body.page-id-68.satv1-theme .satv1-main-content #post-68 .entry-content a {
    color: #cc6c26;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
    word-break: break-word;
}

body.page-id-68.satv1-theme .satv1-main-content #post-68 .entry-content a:hover {
    color: #ad5417;
}

/* Claudio Naranjo (page-id-12): align long biography page with refined internal layout. */
body.page-id-12.satv1-theme .satv1-main-content #post-12 .entry-content {
    max-width: min(980px, 100%);
    margin-left: auto;
    margin-right: auto;
    padding: clamp(1.15rem, 1.9vw, 1.95rem);
    border: 1px solid #e7ebf1;
    border-radius: 14px;
    background: linear-gradient(180deg, #ffffff 0%, #fcfdff 100%);
    box-shadow: 0 10px 24px rgba(19, 27, 39, 0.05);
}

body.page-id-12.satv1-theme .satv1-main-content #post-12 .entry-content .elementor-section.elementor-section-boxed > .elementor-container {
    max-width: none;
}

body.page-id-12.satv1-theme .satv1-main-content #post-12 .entry-content .elementor-widget-text-editor .elementor-widget-container {
    overflow: hidden;
}

body.page-id-12.satv1-theme .satv1-main-content #post-12 .entry-content p {
    margin: 0 0 1.08rem;
    color: #495364;
    font-size: 1.075rem !important;
    line-height: 1.78 !important;
    font-weight: 300 !important;
}

body.page-id-12.satv1-theme .satv1-main-content #post-12 .entry-content .elementor-widget-text-editor p:first-child + p {
    color: #303949;
    font-size: 1.12rem !important;
}

body.page-id-12.satv1-theme .satv1-main-content #post-12 .entry-content img.alignleft {
    float: left;
    width: min(320px, 44%);
    height: auto;
    margin: 0.18rem 1.35rem 0.9rem 0;
    border-radius: 12px;
    border: 1px solid #e6ecf3;
    box-shadow: 0 10px 24px rgba(14, 23, 35, 0.12);
    object-fit: cover;
}

body.page-id-12.satv1-theme .satv1-main-content #post-12 .entry-content h2.button-style,
body.page-id-12.satv1-theme .satv1-main-content #post-12 .entry-content h2.button-style.blue {
    display: block;
    margin: 2rem 0 0.9rem;
    padding: 0.25rem 0 0;
    border: 0;
    border-top: 1px solid #ecf0f5;
    border-radius: 0;
    background: transparent;
    color: #222c3c;
    font-size: clamp(1.55rem, 2.6vw, 2rem);
    line-height: 1.22;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0;
}

body.page-id-12.satv1-theme .satv1-main-content #post-12 .entry-content p strong {
    color: #2b3444;
    font-weight: 500;
}

body.page-id-12.satv1-theme .satv1-main-content #post-12 .entry-content a {
    color: #cc6c26;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
    word-break: break-word;
}

body.page-id-12.satv1-theme .satv1-main-content #post-12 .entry-content a:hover {
    color: #ad5417;
}

/* Personale della Scuola (page-id-15608): align legacy content with internal redesign language. */
body.page-id-15608.satv1-theme .satv1-main-content #post-15608 .entry-content {
    max-width: min(980px, 100%);
    margin-left: auto;
    margin-right: auto;
    padding: clamp(1.15rem, 1.9vw, 1.95rem);
    border: 1px solid #e7ebf1;
    border-radius: 14px;
    background: linear-gradient(180deg, #ffffff 0%, #fcfdff 100%);
    box-shadow: 0 10px 24px rgba(19, 27, 39, 0.05);
}

body.page-id-15608.satv1-theme .satv1-main-content #post-15608 .entry-content p {
    margin: 0 0 1.08rem;
    color: #495364;
    font-size: 1.075rem !important;
    line-height: 1.78 !important;
    font-weight: 300 !important;
}

body.page-id-15608.satv1-theme .satv1-main-content #post-15608 .entry-content > p:nth-of-type(1) {
    margin-bottom: 0.62rem;
    padding: 0.95rem 1rem;
    border: 1px solid #f3e3d4;
    border-left: 4px solid #f08a3c;
    border-radius: 10px;
    background: #fff9f3;
    color: #3d4758;
    font-size: 1.12rem !important;
    line-height: 1.74 !important;
}

body.page-id-15608.satv1-theme .satv1-main-content #post-15608 .entry-content > p:nth-of-type(1) em {
    font-style: italic !important;
}

body.page-id-15608.satv1-theme .satv1-main-content #post-15608 .entry-content > p:nth-of-type(2) {
    margin-bottom: 1.1rem;
    text-align: right;
    color: #667081;
    font-size: 1rem !important;
    letter-spacing: 0.01em;
}

body.page-id-15608.satv1-theme .satv1-main-content #post-15608 .entry-content > p:nth-of-type(2) em {
    font-style: normal !important;
    font-weight: 400 !important;
}

body.page-id-15608.satv1-theme .satv1-main-content #post-15608 .entry-content > p:nth-of-type(3) {
    margin-bottom: 1.2rem;
    text-align: center;
}

body.page-id-15608.satv1-theme .satv1-main-content #post-15608 .entry-content > p:nth-of-type(3) img {
    width: min(300px, 64vw) !important;
    max-width: 300px !important;
    height: auto !important;
    filter: drop-shadow(0 8px 16px rgba(18, 27, 40, 0.1));
}

body.page-id-15608.satv1-theme .satv1-main-content #post-15608 .entry-content > p:nth-of-type(4) {
    padding: 0.95rem 1rem;
    border: 1px solid #e7edf5;
    border-left: 4px solid #f08a3c;
    border-radius: 10px;
    background: #fbfdff;
    color: #2f3949;
}

body.page-id-15608.satv1-theme .satv1-main-content #post-15608 #allegati.attachments.box {
    margin-top: 1.95rem;
}

body.page-id-15608.satv1-theme .satv1-main-content #post-15608 #allegati .box-content ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
    margin-top: 1rem;
}

body.page-id-15608.satv1-theme .satv1-main-content #post-15608 #allegati .box-content li {
    margin: 0;
    justify-content: stretch;
}

body.page-id-15608.satv1-theme .satv1-main-content #post-15608 #allegati .box-content a {
    width: 100%;
    min-height: 54px;
    padding: 0.72rem 0.9rem;
    font-size: 0.92rem;
    line-height: 1.26;
    text-align: center;
}

/* Area Giovani (page-id-15612): refine long-form content into readable editorial sections. */
body.page-id-15612.satv1-theme .satv1-main-content #post-15612 .entry-content {
    max-width: min(980px, 100%);
    margin-left: auto;
    margin-right: auto;
    padding: clamp(1.15rem, 1.9vw, 1.95rem);
    border: 1px solid #e7ebf1;
    border-radius: 14px;
    background: linear-gradient(180deg, #ffffff 0%, #fcfdff 100%);
    box-shadow: 0 10px 24px rgba(19, 27, 39, 0.05);
}

body.page-id-15612.satv1-theme .satv1-main-content #post-15612 .entry-content p {
    margin: 0 0 1.08rem;
    color: #495364;
    font-size: 1.075rem !important;
    line-height: 1.78 !important;
    font-weight: 300 !important;
}

body.page-id-15612.satv1-theme .satv1-main-content #post-15612 .entry-content img.alignright {
    float: right;
    width: min(270px, 44%);
    height: auto !important;
    margin: 0.1rem 0 1rem 1.3rem;
    border-radius: 12px;
    border: 1px solid #e5ebf3;
    box-shadow: 0 10px 24px rgba(16, 24, 36, 0.12);
    object-fit: cover;
}

body.page-id-15612.satv1-theme .satv1-main-content #post-15612 .entry-content > p:nth-of-type(2) {
    margin-bottom: 1.05rem;
    padding: 0.95rem 1rem;
    border: 1px solid #f3e3d4;
    border-left: 4px solid #f08a3c;
    border-radius: 10px;
    background: #fff9f3;
    color: #3d4758;
    font-size: 1.12rem !important;
    line-height: 1.74 !important;
}

body.page-id-15612.satv1-theme .satv1-main-content #post-15612 .entry-content > p:nth-of-type(2) em {
    font-style: italic !important;
}

body.page-id-15612.satv1-theme .satv1-main-content #post-15612 .entry-content > p:nth-of-type(4) {
    margin-top: 0.2rem;
    padding: 0.95rem 1rem;
    border: 1px solid #e7edf5;
    border-left: 4px solid #f08a3c;
    border-radius: 10px;
    background: #fbfdff;
    color: #2f3949;
}

body.page-id-15612.satv1-theme .satv1-main-content #post-15612 .entry-content p[style*="text-align: center"] strong {
    display: inline-block;
    padding: 0.28rem 0.7rem;
    border-radius: 999px;
    background: #fff4ea;
    color: #c66524;
    letter-spacing: 0.01em;
}

body.page-id-15612.satv1-theme .satv1-main-content #post-15612 .entry-content p[style*="text-align: center"] em {
    font-style: normal !important;
}

body.page-id-15612.satv1-theme .satv1-main-content #post-15612 .entry-content a {
    color: #cc6c26;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
    word-break: break-word;
}

body.page-id-15612.satv1-theme .satv1-main-content #post-15612 .entry-content a:hover {
    color: #ad5417;
}

body.page-id-15612.satv1-theme .satv1-main-content #post-15612 #allegati.attachments.box {
    margin-top: 1.95rem;
}

/* Progetto SCENT (page-id-15785): structure long content into a readable editorial layout. */
body.page-id-15785.satv1-theme .satv1-main-content #post-15785 .entry-content {
    max-width: min(980px, 100%);
    margin-left: auto;
    margin-right: auto;
    padding: clamp(1.15rem, 1.9vw, 1.95rem);
    border: 1px solid #e7ebf1;
    border-radius: 14px;
    background: linear-gradient(180deg, #ffffff 0%, #fcfdff 100%);
    box-shadow: 0 10px 24px rgba(19, 27, 39, 0.05);
}

body.page-id-15785.satv1-theme .satv1-main-content #post-15785 .entry-content p {
    margin: 0 0 1rem;
    color: #495364;
    font-size: 1.06rem !important;
    line-height: 1.75 !important;
    font-weight: 300 !important;
}

body.page-id-15785.satv1-theme .satv1-main-content #post-15785 .entry-content > h1:first-child {
    margin: 0 0 1.25rem;
    padding-bottom: 0.95rem;
    border-bottom: 1px solid #edf0f4;
}

body.page-id-15785.satv1-theme .satv1-main-content #post-15785 .entry-content > h1:first-child img {
    width: min(100%, 820px);
    height: auto !important;
    margin: 0 auto;
    display: block;
}

body.page-id-15785.satv1-theme .satv1-main-content #post-15785 .entry-content h1,
body.page-id-15785.satv1-theme .satv1-main-content #post-15785 .entry-content h2 {
    margin: 1.3rem 0 0.75rem;
    color: #253042;
    line-height: 1.24;
    letter-spacing: 0;
}

body.page-id-15785.satv1-theme .satv1-main-content #post-15785 .entry-content h1 {
    font-size: clamp(1.55rem, 2.45vw, 2rem);
}

body.page-id-15785.satv1-theme .satv1-main-content #post-15785 .entry-content h2 {
    font-size: clamp(1.34rem, 2.1vw, 1.7rem);
    padding-top: 0.1rem;
    border-top: 1px solid #edf1f6;
}

body.page-id-15785.satv1-theme .satv1-main-content #post-15785 .entry-content p strong {
    color: #2b3444;
    font-weight: 500;
}

body.page-id-15785.satv1-theme .satv1-main-content #post-15785 .entry-content ul {
    margin: 0.2rem 0 1.1rem;
    padding-left: 1.3rem;
}

body.page-id-15785.satv1-theme .satv1-main-content #post-15785 .entry-content li {
    margin: 0 0 0.52rem;
    color: #4a5568;
    font-size: 1.03rem;
    line-height: 1.68;
    font-weight: 300;
}

body.page-id-15785.satv1-theme .satv1-main-content #post-15785 .entry-content img.alignnone {
    display: block;
    width: min(100%, 100%);
    height: auto !important;
    margin: 1rem auto;
    border-radius: 12px;
    border: 1px solid #e5ebf3;
    box-shadow: 0 8px 20px rgba(19, 27, 39, 0.08);
}

body.page-id-15785.satv1-theme .satv1-main-content #post-15785 .entry-content iframe {
    display: block;
    width: 100% !important;
    min-height: 620px;
    margin: 1.1rem 0 0.2rem;
    border: 1px solid #e3e9f1 !important;
    border-radius: 12px;
    background: #f8fafd;
    box-shadow: 0 8px 20px rgba(19, 27, 39, 0.06);
}

body.page-id-15785.satv1-theme .satv1-main-content #post-15785 #allegati.attachments.box {
    margin-top: 2rem;
}

body.page-id-15785.satv1-theme .satv1-main-content #post-15785 #allegati .box-content ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.72rem;
}

body.page-id-15785.satv1-theme .satv1-main-content #post-15785 #allegati .box-content li {
    margin: 0;
}

body.page-id-15785.satv1-theme .satv1-main-content #post-15785 #allegati .box-content a {
    width: 100%;
    min-height: 56px;
    font-size: 0.9rem;
    line-height: 1.25;
    text-align: center;
    padding: 0.7rem 0.84rem;
}

body.page-id-15785.satv1-theme .satv1-main-content #sidebar #blog-scent-button {
    margin: 0;
}

body.page-id-15785.satv1-theme .satv1-main-content #sidebar #blog-scent-button a {
    display: block;
    padding: 0.75rem 0.85rem;
    border-radius: 10px;
    background: linear-gradient(180deg, #f08a3c 0%, #dc7526 100%);
    color: #fff;
    text-align: center;
    text-decoration: none;
    font-size: 1rem;
    line-height: 1.2;
    font-weight: 500;
    box-shadow: 0 8px 16px rgba(222, 118, 40, 0.26);
}

body.page-id-15785.satv1-theme .satv1-main-content #sidebar #blog-scent-button a:hover {
    background: linear-gradient(180deg, #e47f32 0%, #cf6920 100%);
    color: #fff;
}

/* SAT overview (page-id-15325): present intro quote as a refined editorial block. */
body.page-id-15325.satv1-theme .satv1-main-content #post-15325 .entry-content {
    max-width: min(860px, 100%);
    margin-left: auto;
    margin-right: auto;
    padding: clamp(1.3rem, 2.2vw, 2.15rem) clamp(1.2rem, 2.3vw, 2.35rem);
    border: 1px solid #e7ebf1;
    border-radius: 14px;
    background: linear-gradient(180deg, #ffffff 0%, #fcfdff 100%);
    box-shadow: 0 10px 24px rgba(19, 27, 39, 0.05);
    text-align: center;
    position: relative;
}

body.page-id-15325.satv1-theme .satv1-main-content #post-15325 .entry-content::before {
    content: "\201C";
    position: absolute;
    top: 0.32rem;
    left: 0.95rem;
    font-size: clamp(2.1rem, 4.4vw, 3rem);
    line-height: 1;
    color: rgba(240, 138, 60, 0.24);
    font-weight: 700;
    pointer-events: none;
}

body.page-id-15325.satv1-theme .satv1-main-content #post-15325 .entry-content p {
    margin: 0 0 0.95rem;
    color: #495364;
    font-size: clamp(1.08rem, 1.55vw, 1.22rem) !important;
    line-height: 1.84 !important;
    font-weight: 300 !important;
}

body.page-id-15325.satv1-theme .satv1-main-content #post-15325 .entry-content p em,
body.page-id-15325.satv1-theme .satv1-main-content #post-15325 .entry-content em {
    font-style: italic !important;
    color: inherit;
}

body.page-id-15325.satv1-theme .satv1-main-content #post-15325 .entry-content p:last-child {
    margin-top: 0.3rem;
    margin-bottom: 0;
}

body.page-id-15325.satv1-theme .satv1-main-content #post-15325 .entry-content p:last-child strong {
    display: inline-flex;
    align-items: center;
    gap: 0.48rem;
    padding-top: 0.35rem;
    border-top: 1px solid #ecf0f5;
    color: #2b3444;
    font-size: clamp(1.08rem, 1.45vw, 1.24rem);
    line-height: 1.2;
    font-weight: 600;
}

body.page-id-15325.satv1-theme .satv1-main-content #post-15325 .entry-content p:last-child strong::before,
body.page-id-15325.satv1-theme .satv1-main-content #post-15325 .entry-content p:last-child strong::after {
    content: "";
    display: block;
    width: 16px;
    height: 1px;
    background: #e4af82;
}

/* Video & Documenti (page-id-15320): moved inline template styles to theme CSS. */
body.page-id-15320.satv1-theme .satv1-main-content .satv1-video-docs-row {
    display: flex;
    flex-wrap: wrap;
}

body.page-id-15320.satv1-theme .satv1-main-content .satv1-video-docs-row > [class*='col-'] {
    display: flex;
    flex-direction: column;
}

body.page-id-15320.satv1-theme .satv1-main-content .satv1-video-docs-col {
    margin-bottom: 1rem;
}

body.page-id-15320.satv1-theme .satv1-main-content .satv1-video-docs-card {
    height: 100%;
}

body.page-id-15320.satv1-theme .satv1-main-content .satv1-video-docs-thumb {
    width: 100%;
    height: auto;
    border: 1px solid #dddddd;
}

/* Gruppi di seguimento (page-id-15486): restore accordion behavior and 2-column cards. */
body.page-id-15486.satv1-theme .satv1-main-content #content-internal > .row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin: 0;
}

body.page-id-15486.satv1-theme .satv1-main-content #content-internal .gruppi-accompagnamento-item-wrapper {
    width: auto;
    float: none;
    padding: 0;
    margin: 0;
}

body.page-id-15486.satv1-theme .satv1-main-content #content-internal .panel {
    margin: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    overflow: hidden;
    box-shadow: none;
}

body.page-id-15486.satv1-theme .satv1-main-content #content-internal .panel-heading {
    padding: 0;
    border: 0;
    background: transparent;
}

body.page-id-15486.satv1-theme .satv1-main-content #content-internal .panel-title,
body.page-id-15486.satv1-theme .satv1-main-content #content-internal .panel-heading h4 {
    margin: 0;
}

body.page-id-15486.satv1-theme .satv1-main-content #content-internal .panel-heading .panel-title > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.74rem 1rem;
    border-radius: 10px;
    background: var(--sat-orange);
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.01em;
}

body.page-id-15486.satv1-theme .satv1-main-content #content-internal .panel-heading .panel-title > a:hover {
    background: var(--sat-orange-dark);
    color: #fff;
    text-decoration: none;
}

/* Parent theme has generic `.collapse { display:block !important; }` that breaks these accordions. */
body.page-id-15486.satv1-theme .satv1-main-content #content-internal .panel-collapse.collapse {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
    padding-bottom: 0 !important;
}

body.page-id-15486.satv1-theme .satv1-main-content #content-internal .panel-collapse.collapse.in,
body.page-id-15486.satv1-theme .satv1-main-content #content-internal .panel-collapse.collapse.show {
    display: block !important;
    visibility: visible !important;
    height: auto !important;
    overflow: visible !important;
    margin-top: 0.3rem;
    border: 1px solid #eadfce;
    border-radius: 10px;
    background: #fff7ef;
}

body.page-id-15486.satv1-theme .satv1-main-content #content-internal .panel-title a {
    text-decoration: none;
}

/* SAT nel Mondo (page-id-1117): refresh legacy country buttons while preserving color coding. */
body.page-id-1117.satv1-theme .satv1-main-content #post-1117 .entry-content > p {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.15rem;
    margin: 0;
}

body.page-id-1117.satv1-theme .satv1-main-content #post-1117 .entry-content > p > a.single-button {
    --sat-country-color: #c34203;
    position: relative;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: calc(100% - 10px) !important;
    min-height: 62px;
    height: auto;
    margin: 0 auto !important;
    padding: 0.72rem 0.45rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: linear-gradient(180deg, color-mix(in srgb, var(--sat-country-color) 92%, #ffffff 8%) 0%, var(--sat-country-color) 100%);
    color: #fff !important;
    font-size: clamp(1.02rem, 1.55vw, 1.18rem);
    line-height: 1.22;
    font-weight: 500;
    letter-spacing: 0.01em;
    text-transform: none;
    text-align: center;
    text-decoration: none !important;
    box-shadow: 0 6px 14px rgba(20, 28, 42, 0.13);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

body.page-id-1117.satv1-theme .satv1-main-content #post-1117 .entry-content > p > a.single-button::after {
    content: "↗";
    margin-left: 0.46rem;
    font-size: 0.9em;
    line-height: 1;
    opacity: 0.85;
}

body.page-id-1117.satv1-theme .satv1-main-content #post-1117 .entry-content > p > a.single-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(20, 28, 42, 0.22);
    filter: saturate(1.04);
}

body.page-id-1117.satv1-theme .satv1-main-content #post-1117 .entry-content > p > a.single-button.red {
    --sat-country-color: #a30200;
}

body.page-id-1117.satv1-theme .satv1-main-content #post-1117 .entry-content > p > a.single-button.orange {
    --sat-country-color: #c34203;
}

body.page-id-1117.satv1-theme .satv1-main-content #post-1117 .entry-content > p > a.single-button.yellow {
    --sat-country-color: #f9960d;
}

body.page-id-1117.satv1-theme .satv1-main-content #post-1117 .entry-content > p > a.single-button.blue {
    --sat-country-color: #333b73;
}

body.page-id-1117.satv1-theme .satv1-main-content #post-1117 .entry-content > p > a.single-button.green {
    --sat-country-color: #004d2f;
}

body.satv1-theme .satv1-main-content .entry-tag-share {
    margin-top: 1.7rem;
    padding-top: 1rem;
    border-top: 1px solid #ececec;
}

body.satv1-theme .satv1-main-content .thim-social-share {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

body.satv1-theme .satv1-main-content .thim-social-share li {
    margin: 0;
    list-style: none;
}

body.satv1-theme .satv1-main-content .thim-social-share .heading {
    color: #8f95a0;
    font-size: 0.95rem;
    font-weight: 300;
    margin-right: 0.15rem;
}

body.satv1-theme .satv1-main-content .thim-social-share a {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f4f4f4;
    border: 1px solid #e9e9e9;
    color: #747b88;
    text-decoration: none;
}

body.satv1-theme .satv1-main-content .thim-social-share a:hover {
    border-color: var(--sat-orange);
    color: var(--sat-orange-dark);
}

body.satv1-theme .satv1-main-content .entry-navigation-post {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.05rem;
    margin-top: 2rem;
}

body.satv1-theme .satv1-main-content .entry-navigation-post .prev-post,
body.satv1-theme .satv1-main-content .entry-navigation-post .next-post {
    position: relative;
    border: 1px solid #e1e5eb;
    border-radius: 12px;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fb 100%);
    padding: 1rem 1.1rem 1rem;
    box-shadow: 0 8px 20px rgba(20, 29, 43, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

body.satv1-theme .satv1-main-content .entry-navigation-post .prev-post::before,
body.satv1-theme .satv1-main-content .entry-navigation-post .next-post::before {
    position: absolute;
    top: 1rem;
    font-size: 0.82rem;
    color: #c0c7d1;
}

body.satv1-theme .satv1-main-content .entry-navigation-post .prev-post::before {
    content: "←";
    left: 0.88rem;
}

body.satv1-theme .satv1-main-content .entry-navigation-post .next-post::before {
    content: "→";
    right: 0.88rem;
}

body.satv1-theme .satv1-main-content .entry-navigation-post .prev-post:hover,
body.satv1-theme .satv1-main-content .entry-navigation-post .next-post:hover {
    transform: translateY(-1px);
    border-color: #d3d9e2;
    box-shadow: 0 12px 24px rgba(20, 29, 43, 0.08);
}

body.satv1-theme .satv1-main-content .entry-navigation-post .heading {
    margin: 0 0 0.48rem;
    color: #99a1ad;
    font-size: 0.82rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

body.satv1-theme .satv1-main-content .entry-navigation-post .title {
    margin: 0;
    font-size: 1.07rem;
    line-height: 1.38;
}

body.satv1-theme .satv1-main-content .entry-navigation-post .title a {
    color: #2a3344;
    text-decoration: none;
    font-weight: 500;
}

body.satv1-theme .satv1-main-content .entry-navigation-post .title a:hover {
    color: var(--sat-orange-dark);
    text-decoration: underline;
}

body.satv1-theme .satv1-main-content .entry-navigation-post .date {
    margin-top: 0.56rem;
    color: #a4acb8;
    font-size: 0.86rem;
    font-weight: 300;
}

body.satv1-theme .satv1-main-content .related-archive {
    margin-top: 2.1rem;
    padding: 1.15rem;
    border: 1px solid #e4e8ee;
    border-radius: 14px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfcfd 100%);
    box-shadow: 0 8px 22px rgba(20, 29, 43, 0.05);
}

body.satv1-theme .satv1-main-content .related-archive .single-title {
    margin: 0 0 1.05rem;
    font-size: 1.85rem;
    line-height: 1.2;
    color: #273145;
}

body.satv1-theme .satv1-main-content .related-archive .archived-posts {
    position: relative;
    overflow: hidden;
}

body.satv1-theme .satv1-main-content .related-archive .thim-carousel-wrapper {
    --sat-related-gap: 1rem;
    max-width: 100%;
    overflow: hidden;
}

/* Fallback layout when Owl carousel is not initialized (common in some legacy single templates). */
body.satv1-theme .satv1-main-content .related-archive .thim-carousel-wrapper:not(.owl-carousel):not(.owl-loaded) {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.95rem;
    margin: 0;
}

body.satv1-theme .satv1-main-content .related-archive .thim-carousel-wrapper:not(.owl-carousel):not(.owl-loaded) > [class*="post-"] {
    float: none !important;
    width: auto !important;
    margin: 0 !important;
}

body.satv1-theme .satv1-main-content .related-archive .thim-carousel-wrapper.satv1-carousel-ready:not(.owl-carousel):not(.owl-loaded) {
    display: flex !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    gap: 0;
    margin-left: 0;
    margin-right: 0;
    padding-bottom: 0.2rem;
    -ms-overflow-style: none;
    scrollbar-width: none;
    cursor: grab;
}

body.satv1-theme .satv1-main-content .related-archive .thim-carousel-wrapper.satv1-carousel-ready:not(.owl-carousel):not(.owl-loaded)::-webkit-scrollbar {
    display: none;
}

body.satv1-theme .satv1-main-content .related-archive .thim-carousel-wrapper.satv1-carousel-ready.is-dragging:not(.owl-carousel):not(.owl-loaded) {
    cursor: grabbing;
}

body.satv1-theme .satv1-main-content .related-archive .thim-carousel-wrapper.satv1-carousel-ready.is-dragging:not(.owl-carousel):not(.owl-loaded),
body.satv1-theme .satv1-main-content .related-archive .thim-carousel-wrapper.satv1-carousel-ready.is-dragging:not(.owl-carousel):not(.owl-loaded) * {
    user-select: none;
}

body.satv1-theme .satv1-main-content .related-archive .thim-carousel-wrapper.satv1-carousel-ready:not(.owl-carousel):not(.owl-loaded) > [class*="post-"] {
    width: auto !important;
    margin: 0 !important;
    scroll-snap-align: start;
    padding: 0.2rem 0 0.7rem;
    box-sizing: border-box;
}

/* Owl runtime layout (wrapper can miss owl-loaded/owl-carousel classes in legacy init). */
body.satv1-theme .satv1-main-content .related-archive .thim-carousel-wrapper .owl-wrapper-outer,
body.satv1-theme .satv1-main-content .related-archive .thim-carousel-wrapper .owl-stage-outer {
    margin-left: 0;
    margin-right: 0;
    overflow: hidden !important;
}

body.satv1-theme .satv1-main-content .related-archive .thim-carousel-wrapper .owl-wrapper,
body.satv1-theme .satv1-main-content .related-archive .thim-carousel-wrapper .owl-stage {
    display: flex !important;
    align-items: stretch;
}

body.satv1-theme .satv1-main-content .related-archive .thim-carousel-wrapper .owl-item {
    box-sizing: border-box;
    padding: 0.2rem 0 0.7rem !important;
    float: none !important;
    display: block;
}

body.satv1-theme .satv1-main-content .related-archive .thim-carousel-wrapper .owl-item > [class*="post-"] {
    height: 100%;
}

/* Robust spacing: apply horizontal gap directly on each card across Owl/fallback modes. */
body.satv1-theme .satv1-main-content .related-archive .thim-carousel-wrapper .owl-item .category-posts,
body.satv1-theme .satv1-main-content .related-archive .thim-carousel-wrapper.satv1-carousel-ready:not(.owl-carousel):not(.owl-loaded) .category-posts {
    margin-left: calc(var(--sat-related-gap) * 0.5) !important;
    margin-right: calc(var(--sat-related-gap) * 0.5) !important;
}

body.satv1-theme .satv1-main-content .related-archive .category-posts {
    height: 100%;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid #e2e7ee;
    background: #fff;
    box-shadow: 0 6px 16px rgba(20, 29, 43, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

body.satv1-theme .satv1-main-content .related-archive .category-posts:hover {
    transform: translateY(-2px);
    border-color: #d3dae4;
    box-shadow: 0 12px 24px rgba(20, 29, 43, 0.1);
}

body.satv1-theme .satv1-main-content .related-archive .category-posts > a {
    display: block;
    overflow: hidden;
    background: #eef1f5;
}

body.satv1-theme .satv1-main-content .related-archive .category-posts img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    transition: transform 0.35s ease;
}

body.satv1-theme .satv1-main-content .related-archive .category-posts:hover img {
    transform: scale(1.03);
}

body.satv1-theme .satv1-main-content .related-archive .category-posts .rel-post-text {
    padding: 0.88rem 0.9rem 0.72rem;
    border-bottom: 1px solid #edf0f4;
}

body.satv1-theme .satv1-main-content .related-archive .category-posts .title-related {
    margin: 0;
    font-size: 1.02rem;
    line-height: 1.34;
}

body.satv1-theme .satv1-main-content .related-archive .category-posts .title-related a {
    color: #2a3344;
    text-decoration: none;
    font-weight: 500;
}

body.satv1-theme .satv1-main-content .related-archive .category-posts .title-related a:hover {
    color: var(--sat-orange-dark);
    text-decoration: underline;
}

body.satv1-theme .satv1-main-content .related-archive .category-posts .date {
    margin-top: 0.52rem;
    color: #98a1af;
    font-size: 0.88rem;
    font-weight: 300;
}

body.satv1-theme .satv1-main-content .related-archive .category-posts .des-related {
    padding: 0.72rem 0.9rem 1rem;
}

body.satv1-theme .satv1-main-content .related-archive .category-posts .des-related p {
    margin: 0;
    color: #657182;
    font-size: 0.98rem;
    line-height: 1.58;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

body.satv1-theme .satv1-main-content .related-archive .category-posts .title-related.no-images {
    min-height: 3.2em;
}

body.satv1-theme .satv1-main-content .related-archive .owl-controls {
    margin-top: 0.65rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
}

body.satv1-theme .satv1-main-content .related-archive .owl-controls .owl-buttons {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

body.satv1-theme .satv1-main-content .related-archive .owl-controls .owl-buttons > div,
body.satv1-theme .satv1-main-content .related-archive .owl-controls .owl-buttons .owl-prev,
body.satv1-theme .satv1-main-content .related-archive .owl-controls .owl-buttons .owl-next {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid #d6dce5;
    background: #fff;
    color: #798394;
    font-size: 16px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

body.satv1-theme .satv1-main-content .related-archive .owl-controls .owl-buttons > div:hover,
body.satv1-theme .satv1-main-content .related-archive .owl-controls .owl-buttons .owl-prev:hover,
body.satv1-theme .satv1-main-content .related-archive .owl-controls .owl-buttons .owl-next:hover {
    border-color: #f08a3c;
    color: #d66d1f;
    background: #fff8f1;
}

body.satv1-theme .satv1-main-content .related-archive .owl-controls .owl-pagination {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-left: 0.15rem;
}

body.satv1-theme .satv1-main-content .related-archive .owl-controls .owl-page span {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    display: block;
    background: #d3d9e2;
    transition: all 0.2s ease;
}

body.satv1-theme .satv1-main-content .related-archive .owl-controls .owl-page.active span {
    width: 16px;
    background: #f08a3c;
}

body.satv1-theme .satv1-main-content .related-archive .owl-controls .owl-pagination .owl-page {
    border: none !important;
    background: transparent !important;
    width: auto !important;
    height: auto !important;
    padding: 0 !important;
}

/* Legacy parity with arkaweb: hide related-posts slider controls. */
body.satv1-theme .satv1-main-content .related-archive .owl-controls {
    display: none !important;
}

/* Privacy module page: align legacy custom template with satv1 internal pages. */
body.page-id-15657.satv1-theme .satv1-main-content iframe[src*="privacy_scuola_sito"] {
    display: block;
    width: 100%;
    min-height: 540px;
    margin: 0 0 1.15rem;
    border: 1px solid #e2e7ee;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(20, 28, 39, 0.06);
}

body.page-id-15657.satv1-theme .satv1-main-content .highlight {
    margin: 0 0 1.05rem;
    padding: 0.8rem 1rem;
    border: 1px solid #f6ca9f;
    border-radius: 10px;
    background: #fff7ef;
    color: #9f4d10;
    font-size: 0.96rem !important;
    line-height: 1.55 !important;
    font-weight: 400 !important;
}

body.page-id-15657.satv1-theme .satv1-main-content #form-wrapper {
    margin-top: 1.15rem;
    border: 1px solid #e3e8ef;
    border-radius: 12px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
    padding: 1.2rem 1.25rem;
}

body.page-id-15657.satv1-theme .satv1-main-content #form-wrapper form {
    display: grid;
    gap: 0.8rem;
}

body.page-id-15657.satv1-theme .satv1-main-content #form-wrapper .info {
    margin: 0;
    font-size: 1rem !important;
    line-height: 1.7 !important;
    color: #505763;
}

body.page-id-15657.satv1-theme .satv1-main-content #form-wrapper .form-group {
    margin: 0;
}

body.page-id-15657.satv1-theme .satv1-main-content #form-wrapper .form-group label {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    margin: 0;
    color: #2e3440;
    font-size: 0.98rem;
    line-height: 1.45;
    font-weight: 400;
}

body.page-id-15657.satv1-theme .satv1-main-content #form-wrapper .form-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 0.12rem;
    flex: 0 0 18px;
    accent-color: var(--sat-orange);
}

body.page-id-15657.satv1-theme .satv1-main-content #firma-wrapper {
    margin-top: 0.45rem;
    padding: 0.95rem;
    border: 1px dashed #d7dde7;
    border-radius: 10px;
    background: #fff;
    text-align: center;
}

body.page-id-15657.satv1-theme .satv1-main-content #firma-wrapper .label {
    display: block;
    margin-bottom: 0.45rem;
    color: #6d7684;
    font-size: 0.76rem;
    letter-spacing: 0.08em;
    font-weight: 700;
}

body.page-id-15657.satv1-theme .satv1-main-content #firma-wrapper .sigPad {
    width: min(100%, 538px) !important;
    margin: 0.5rem auto 0 !important;
}

body.page-id-15657.satv1-theme .satv1-main-content #firma-wrapper canvas.pad {
    width: 100% !important;
    max-width: 100%;
    height: auto !important;
    border: 1px solid #d7dee8;
    border-radius: 10px;
    background: #fff;
}

body.page-id-15657.satv1-theme .satv1-main-content #firma-wrapper .clearButton {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.75rem;
    color: #697384;
    font-size: 0.88rem;
    text-decoration: underline;
}

body.page-id-15657.satv1-theme .satv1-main-content #form-wrapper .text-center {
    text-align: center;
}

body.page-id-15657.satv1-theme .satv1-main-content #form-wrapper input[type="submit"].btn {
    border: none;
    border-radius: 999px;
    background: var(--sat-orange);
    color: #fff;
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.82rem 1.8rem;
    min-width: 170px;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

body.page-id-15657.satv1-theme .satv1-main-content #form-wrapper input[type="submit"].btn:hover {
    background: var(--sat-orange-dark);
    transform: translateY(-1px);
}

@media (max-width: 640px) {
    body.page-id-15657.satv1-theme .satv1-main-content iframe[src*="privacy_scuola_sito"] {
        min-height: 390px;
    }

    body.page-id-15657.satv1-theme .satv1-main-content #form-wrapper {
        padding: 1rem;
    }

    body.page-id-15657.satv1-theme .satv1-main-content #firma-wrapper {
        padding: 0.8rem;
    }
}

@media (max-width: 640px) {
    body.satv1-theme .satv1-main-content .related-archive {
        padding: 1rem 0.8rem;
    }

    body.satv1-theme .satv1-main-content .related-archive .single-title {
        font-size: 1.35rem;
    }

    body.satv1-theme .satv1-main-content .related-archive .thim-carousel-wrapper:not(.owl-carousel):not(.owl-loaded) {
        grid-template-columns: 1fr;
        gap: 0.72rem;
    }

    body.satv1-theme .satv1-main-content .related-archive .thim-carousel-wrapper:not(.owl-carousel):not(.owl-loaded) > [class*="post-"] {
        width: 100% !important;
    }

    body.satv1-theme .satv1-main-content .related-archive .thim-carousel-wrapper .owl-wrapper-outer,
    body.satv1-theme .satv1-main-content .related-archive .thim-carousel-wrapper .owl-stage-outer {
        margin-left: -0.2rem;
        margin-right: -0.2rem;
    }

    body.satv1-theme .satv1-main-content .related-archive .thim-carousel-wrapper .owl-item {
        padding-left: 0.2rem;
        padding-right: 0.2rem;
    }

    body.satv1-theme .satv1-main-content .related-archive .category-posts .des-related p {
        -webkit-line-clamp: 4;
    }
}

body.satv1-theme .satv1-main-content .widget-area .widget {
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 14px;
    padding: 1.05rem;
    margin-bottom: 1rem;
    box-shadow: 0 6px 16px rgba(25, 35, 52, 0.04);
}

body.satv1-theme .satv1-main-content .widget-area .widget-title {
    margin: 0 0 0.95rem;
    font-size: 1.12rem;
    line-height: 1.2;
    color: #263042;
    padding-left: 0.55rem;
    border-left: 3px solid #f08a3c;
}

/* KISS: disable auto sticky behavior for sidebar in satv1 internal pages. */
body.satv1-theme .satv1-main-content #sidebar.sticky-sidebar,
body.satv1-theme .satv1-main-content #sidebar.sticky-sidebar > .satv1-sticky-sidebar-inner,
body.satv1-theme .satv1-main-content #sidebar.sticky-sidebar .theiaStickySidebar {
    position: static !important;
    top: auto !important;
    left: auto !important;
    width: auto !important;
    transform: none !important;
}

body.satv1-theme .satv1-main-content .widget-area .advanced-sidebar-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

body.satv1-theme .satv1-main-content .widget-area .advanced-sidebar-menu li {
    margin: 0;
}

body.satv1-theme .satv1-main-content .widget-area .advanced-sidebar-menu .parent-sidebar-menu > li > a {
    display: block;
    font-weight: 500;
    color: #2f333a;
    margin-bottom: 0.45rem;
}

body.satv1-theme .satv1-main-content .widget-area .advanced-sidebar-menu .child-sidebar-menu a {
    display: block;
    color: #5c6370;
    text-decoration: none;
    padding: 0.42rem 0;
    border-top: 1px solid #efefef;
}

body.satv1-theme .satv1-main-content .widget-area .advanced-sidebar-menu .child-sidebar-menu .current_page_item > a {
    color: var(--sat-orange-dark);
    font-weight: 500;
}

body.satv1-theme .satv1-main-content .widget-area .item-post {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 0.7rem;
    align-items: start;
    margin: 0;
    padding: 0.58rem 0.42rem;
    border: 1px solid transparent;
    border-radius: 10px;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

body.satv1-theme .satv1-main-content .widget-area .item-post + .item-post {
    margin-top: 0.4rem;
}

body.satv1-theme .satv1-main-content .widget-area .item-post:last-child {
    margin-bottom: 0;
}

body.satv1-theme .satv1-main-content .widget-area .item-post:hover {
    background: #fcfcfd;
    border-color: #eceff3;
}

body.satv1-theme .satv1-main-content .widget-area .item-post img {
    width: 58px;
    height: 58px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #ececec;
}

body.satv1-theme .satv1-main-content .widget-area .item-post .title {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.35;
}

body.satv1-theme .satv1-main-content .widget-area .item-post .title a {
    color: #273145;
    text-decoration: none;
    font-weight: 500;
}

body.satv1-theme .satv1-main-content .widget-area .item-post .title a:hover {
    color: var(--sat-orange-dark);
    text-decoration: underline;
}

body.satv1-theme .satv1-main-content .widget-area .item-post .article-date {
    margin-top: 0.24rem;
    color: #9aa2af;
    font-size: 0.82rem;
    letter-spacing: 0.01em;
    font-weight: 300 !important;
}

body.satv1-theme .satv1-main-content .widget-area .item-post .article-date span {
    font-weight: 300 !important;
}

/* Parent widget template prints date chunks without spaces (day+month+year). */
body.satv1-theme .satv1-main-content .widget-area .item-post .article-date span + span::before {
    content: " ";
}

body.satv1-theme .satv1-main-content .widget-area aside.widget_media_image {
    display: none;
}

/* Archive teaser images: show full featured image without hard crop, keeping stable card rhythm. */
body.satv1-theme .satv1-main-content #blog-archive .post-formats-wrapper {
    margin: 0;
    overflow: hidden;
    background: #eef1f5;
}

body.satv1-theme .satv1-main-content #blog-archive .post-formats-wrapper .post-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: clamp(240px, 38vw, 560px);
}

body.satv1-theme .satv1-main-content #blog-archive .post-formats-wrapper .post-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

/* Vertical rhythm for classic archive list (es. categoria/news). */
body.satv1-theme:not(.category-blog-scent) .satv1-main-content #blog-archive > article,
body.satv1-theme:not(.category-blog-scent) .satv1-main-content #blog-archive > .row > article {
    margin-bottom: 2rem;
    padding-bottom: 1.6rem;
    border-bottom: 1px solid #e8edf3;
}

body.satv1-theme:not(.category-blog-scent) .satv1-main-content #blog-archive > article:last-child,
body.satv1-theme:not(.category-blog-scent) .satv1-main-content #blog-archive > .row > article:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
}

body.satv1-theme:not(.category-blog-scent) .satv1-main-content #blog-archive .entry-header {
    margin-bottom: 0.95rem;
    padding-bottom: 0.9rem;
    border-bottom: 1px solid #edf0f4;
}

body.satv1-theme:not(.category-blog-scent) .satv1-main-content #blog-archive .date-meta {
    display: inline-flex;
    align-items: center;
    gap: 0.26rem;
    margin: 0 0 0.72rem;
    padding: 0.27rem 0.64rem;
    border-radius: 999px;
    background: #fff4ea;
    color: #bf6528;
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.01em;
}

body.satv1-theme:not(.category-blog-scent) .satv1-main-content #blog-archive .date-meta i {
    font-style: normal;
    color: #cf7f4c;
    font-weight: 400;
}

body.satv1-theme:not(.category-blog-scent) .satv1-main-content #blog-archive .entry-title {
    margin: 0;
    font-size: clamp(1.7rem, 2.7vw, 2.28rem);
    line-height: 1.16;
}

body.satv1-theme:not(.category-blog-scent) .satv1-main-content #blog-archive .entry-title a {
    color: #df7b31;
    text-decoration: none;
}

body.satv1-theme:not(.category-blog-scent) .satv1-main-content #blog-archive .entry-title a:hover {
    color: var(--sat-orange-dark);
    text-decoration: underline;
}

body.satv1-theme.category-blog-scent .satv1-main-content #blog-archive > .row {
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

body.satv1-theme.category-blog-scent .satv1-main-content #blog-archive > .row > article {
    display: flex;
    float: none;
    width: auto;
    padding: 0;
    margin: 0;
}

body.satv1-theme.category-blog-scent .satv1-main-content #blog-archive .content-inner {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid #e4e7eb;
    border-radius: 14px;
    background: linear-gradient(180deg, #ffffff 0%, #fcfcfd 100%);
    box-shadow: 0 10px 24px rgba(22, 30, 44, 0.06);
    overflow: hidden;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

body.satv1-theme.category-blog-scent .satv1-main-content #blog-archive .content-inner::before {
    content: "";
    display: block;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #f08a3c 0%, #f2b04b 100%);
}

body.satv1-theme.category-blog-scent .satv1-main-content #blog-archive .content-inner:hover {
    transform: translateY(-3px);
    border-color: #d9dde3;
    box-shadow: 0 16px 34px rgba(22, 30, 44, 0.11);
}

body.satv1-theme.category-blog-scent .satv1-main-content #blog-archive .entry-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1.15rem 1.15rem 1.2rem;
}

body.satv1-theme.category-blog-scent .satv1-main-content #blog-archive .entry-header {
    margin-bottom: 0.95rem;
    padding-bottom: 0.95rem;
    border-bottom: 1px solid #edf0f3;
}

body.satv1-theme.category-blog-scent .satv1-main-content #blog-archive .date-meta {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    width: fit-content;
    margin: 0 0 0.68rem;
    padding: 0.27rem 0.62rem;
    border-radius: 999px;
    background: #fff4ea;
    color: #be6325;
    font-size: 0.86rem;
    font-weight: 500;
    line-height: 1;
}

body.satv1-theme.category-blog-scent .satv1-main-content #blog-archive .date-meta i {
    font-style: normal;
    font-weight: 400;
    color: #cf7b43;
}

body.satv1-theme.category-blog-scent .satv1-main-content #blog-archive .entry-title {
    margin: 0;
    font-size: 1.22rem;
    line-height: 1.3;
}

body.satv1-theme.category-blog-scent .satv1-main-content #blog-archive .entry-title a {
    color: #2a3344;
    text-decoration: none;
}

body.satv1-theme.category-blog-scent .satv1-main-content #blog-archive .entry-title a:hover {
    color: var(--sat-orange-dark);
    text-decoration: underline;
}

body.satv1-theme.category-blog-scent .satv1-main-content #blog-archive .entry-meta {
    margin-top: 0.62rem;
    gap: 0.3rem 0.85rem;
    font-size: 0.9rem;
}

body.satv1-theme.category-blog-scent .satv1-main-content #blog-archive .entry-meta li {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
}

body.satv1-theme.category-blog-scent .satv1-main-content #blog-archive .entry-meta li + li::before {
    content: "";
    width: 3px;
    height: 3px;
    border-radius: 999px;
    margin-right: 0.2rem;
    background: #c8ced8;
}

body.satv1-theme.category-blog-scent .satv1-main-content #blog-archive .entry-meta a {
    color: #d17a3e;
    text-decoration: none;
}

body.satv1-theme.category-blog-scent .satv1-main-content #blog-archive .entry-meta a:hover {
    color: var(--sat-orange-dark);
    text-decoration: underline;
}

body.satv1-theme.category-blog-scent .satv1-main-content #blog-archive .entry-summary {
    margin-top: 0;
    color: #697485;
    font-size: 1rem;
    line-height: 1.62;
    flex: 1;
}

body.satv1-theme.category-blog-scent .satv1-main-content #blog-archive .entry-summary p {
    margin: 0;
}

body.satv1-theme.category-blog-scent .satv1-main-content #blog-archive .readmore {
    margin-top: 1rem;
}

body.satv1-theme.category-blog-scent .satv1-main-content #blog-archive .readmore a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    padding: 0.58rem 1rem;
    background: var(--sat-orange);
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    box-shadow: 0 8px 16px rgba(240, 138, 60, 0.27);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

body.satv1-theme.category-blog-scent .satv1-main-content #blog-archive .readmore a:hover {
    background: var(--sat-orange-dark);
    transform: translateY(-1px);
    box-shadow: 0 11px 18px rgba(240, 138, 60, 0.33);
}

body.satv1-theme.category-blog-scent .satv1-main-content #blog-archive .post-image img {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    object-fit: contain;
    object-position: center;
}

body.satv1-theme.category-blog-scent .satv1-main-content #blog-archive .post-image + .entry-content {
    padding-top: 1rem;
}

@media (max-width: 640px) {
    body.satv1-theme.category-blog-scent .satv1-main-content #blog-archive .entry-content {
        padding: 1rem;
    }

    body.satv1-theme.category-blog-scent .satv1-main-content #blog-archive .entry-title {
        font-size: 1.12rem;
    }
}

body.satv1-theme .satv1-main-content #internal-page #content-internal p[style*="font-size: 12px"] {
    font-size: 18px !important;
    line-height: 1.72 !important;
}

@media (max-width: 1080px) {
    body.satv1-theme .satv1-main-content .site-content > .row {
        grid-template-columns: 1fr;
    }

    body.satv1-theme .satv1-main-content .site-content.sidebar-right > .row,
    body.satv1-theme .satv1-main-content .site-content.sidebar-left > .row {
        grid-template-columns: 1fr;
    }

    body.satv1-theme .satv1-main-content .site-main.col-sm-9,
    body.satv1-theme .satv1-main-content #sidebar.col-sm-3 {
        width: 100%;
        float: none;
    }

    body.satv1-theme .satv1-main-content #sidebar {
        margin-top: 1rem;
    }

    body.satv1-theme .satv1-main-content #blog-archive > .row {
        grid-template-columns: 1fr;
    }

    body.page-id-1117.satv1-theme .satv1-main-content #post-1117 .entry-content > p {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.95rem;
    }

    body.page-id-15320.satv1-theme .satv1-main-content .site-main > .row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    body.satv1-theme .satv1-main-content .site-main > .page-content,
    body.satv1-theme .satv1-main-content #internal-page,
    body.satv1-theme .satv1-main-content #blog-archive {
        padding: 1.35rem;
    }

    body.satv1-theme .satv1-main-content .entry-navigation-post {
        grid-template-columns: 1fr;
    }

    body.page-id-28.satv1-theme .satv1-main-content #post-28 .entry-content > p:first-child {
        text-align: center;
        max-width: none;
    }

    body.page-id-28.satv1-theme .satv1-main-content #post-28 .entry-content > p:first-child img.alignright {
        float: none;
        display: block !important;
        width: min(210px, 68vw) !important;
        max-width: 210px !important;
        margin: 0 auto 0.95rem;
    }

    body.satv1-theme.single-post .satv1-main-content .entry-content .satv1-single-featured {
        float: none;
        width: 100%;
        margin: 0 0 1rem;
    }
}

@media (max-width: 640px) {
    body.satv1-theme .satv1-main-content #blog-archive .post-formats-wrapper .post-image {
        height: clamp(180px, 56vw, 260px);
    }

    body.satv1-theme:not(.category-blog-scent) .satv1-main-content #blog-archive .entry-title {
        font-size: 1.42rem;
        line-height: 1.2;
    }

    body.satv1-theme:not(.category-blog-scent) .satv1-main-content #blog-archive .date-meta {
        font-size: 0.82rem;
        padding: 0.22rem 0.52rem;
    }

    body.page-id-15320.satv1-theme .satv1-main-content .site-main > .row {
        grid-template-columns: 1fr;
        gap: 0.9rem;
    }

    body.page-id-15320.satv1-theme .satv1-main-content .single-video h4 {
        font-size: 1.04rem;
    }

    body.page-id-15320.satv1-theme .satv1-main-content .single-video p:last-child {
        -webkit-line-clamp: 5;
    }

    body.page-id-68.satv1-theme .satv1-main-content #post-68 .entry-content {
        padding: 1rem;
    }

    body.page-id-68.satv1-theme .satv1-main-content #post-68 .entry-content p {
        font-size: 1rem !important;
        line-height: 1.7 !important;
    }

    body.page-id-12.satv1-theme .satv1-main-content #post-12 .entry-content {
        padding: 1rem;
    }

    body.page-id-12.satv1-theme .satv1-main-content #post-12 .entry-content img.alignleft {
        float: none;
        display: block;
        width: min(100%, 380px);
        margin: 0 auto 0.95rem;
    }

    body.page-id-12.satv1-theme .satv1-main-content #post-12 .entry-content p {
        font-size: 1rem !important;
        line-height: 1.7 !important;
    }

    body.page-id-12.satv1-theme .satv1-main-content #post-12 .entry-content h2.button-style,
    body.page-id-12.satv1-theme .satv1-main-content #post-12 .entry-content h2.button-style.blue {
        font-size: 1.42rem;
    }

    body.page-id-15608.satv1-theme .satv1-main-content #post-15608 .entry-content {
        padding: 1rem;
    }

    body.page-id-15608.satv1-theme .satv1-main-content #post-15608 .entry-content p {
        font-size: 1rem !important;
        line-height: 1.7 !important;
    }

    body.page-id-15608.satv1-theme .satv1-main-content #post-15608 #allegati .box-content ul {
        grid-template-columns: 1fr;
    }

    body.page-id-15612.satv1-theme .satv1-main-content #post-15612 .entry-content {
        padding: 1rem;
    }

    body.page-id-15612.satv1-theme .satv1-main-content #post-15612 .entry-content p {
        font-size: 1rem !important;
        line-height: 1.7 !important;
    }

    body.page-id-15612.satv1-theme .satv1-main-content #post-15612 .entry-content img.alignright {
        float: none;
        display: block !important;
        width: min(100%, 320px);
        margin: 0 auto 0.95rem;
    }

    body.page-id-15785.satv1-theme .satv1-main-content #post-15785 .entry-content {
        padding: 1rem;
    }

    body.page-id-15785.satv1-theme .satv1-main-content #post-15785 .entry-content p,
    body.page-id-15785.satv1-theme .satv1-main-content #post-15785 .entry-content li {
        font-size: 1rem !important;
        line-height: 1.68 !important;
    }

    body.page-id-15785.satv1-theme .satv1-main-content #post-15785 .entry-content iframe {
        min-height: 460px;
    }

    body.page-id-15785.satv1-theme .satv1-main-content #post-15785 #allegati .box-content ul {
        grid-template-columns: 1fr;
    }

    body.page-id-15325.satv1-theme .satv1-main-content #post-15325 .entry-content {
        padding: 1rem;
    }

    body.page-id-15325.satv1-theme .satv1-main-content #post-15325 .entry-content::before {
        left: 0.7rem;
    }

    body.page-id-15325.satv1-theme .satv1-main-content #post-15325 .entry-content p {
        font-size: 1rem !important;
        line-height: 1.72 !important;
    }

    body.page-id-15486.satv1-theme .satv1-main-content #content-internal > .row {
        grid-template-columns: 1fr;
    }

    body.page-id-1117.satv1-theme .satv1-main-content #post-1117 .entry-content > p {
        gap: 0.75rem;
    }

    body.page-id-68.satv1-theme .satv1-main-content #post-68 .entry-content h2 {
        font-size: 1.42rem;
    }
}

@media (max-width: 520px) {
    body.satv1-theme .satv1-main-content .site-content {
        padding-top: 1rem;
    }

    body.satv1-theme .satv1-main-content .site-main > .page-content,
    body.satv1-theme .satv1-main-content #internal-page,
    body.satv1-theme .satv1-main-content #blog-archive {
        border-radius: 10px;
        margin-left: 0.45rem;
        margin-right: 0.45rem;
        padding: 1rem;
    }

    body.satv1-theme .satv1-main-content .entry-content {
        font-size: 1rem;
    }

    body.satv1-theme .satv1-main-content #attachments-part h5,
    body.satv1-theme .satv1-main-content .attachments.box .box-head h2 {
        font-size: 1.35rem;
    }

    body.page-id-1117.satv1-theme .satv1-main-content #post-1117 .entry-content > p {
        grid-template-columns: 1fr;
        gap: 0.66rem;
    }

    body.page-id-1117.satv1-theme .satv1-main-content #post-1117 .entry-content > p > a.single-button {
        min-height: 56px;
        font-size: 1rem;
    }

    body.satv1-theme .satv1-main-content #content-internal > hr ~ a.single-button {
        width: 100%;
        float: none;
        clear: none;
        margin-right: 0;
        min-height: 84px;
        font-size: 1.42rem;
    }
}

.satv1-footer {
    background: #323438;
    color: #fff;
}

.satv1-footer .satv1-container {
    padding-left: 1.2rem;
    padding-right: 1.2rem;
}

.satv1-footer-topline {
    height: 20px;
    background: var(--sat-orange);
}

.satv1-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3.4rem;
    padding: 3rem 0 2.3rem;
}

.satv1-footer-brand p {
    margin: 1.05rem 0 1.6rem;
    max-width: 640px;
    color: #cbced3;
    font-size: 1.15rem;
    line-height: 1.45;
    font-weight: 300;
}

.satv1-footer-logo img {
    height: 48px;
    filter: brightness(0) invert(1);
}

.satv1-footer-social {
    display: flex;
    align-items: center;
    gap: 0.72rem;
}

.satv1-footer-social a {
    width: 30px;
    height: 30px;
    color: #a2a8b0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: color 0.2s ease;
}

.satv1-footer-social a:hover {
    color: var(--sat-orange);
}

.satv1-footer-social svg {
    width: 24px;
    height: 24px;
}

.satv1-footer h3 {
    color: var(--sat-orange);
    margin-top: 0;
    margin-bottom: 0.78rem;
    font-size: 1.08rem;
    font-weight: 700;
}

.satv1-footer a {
    color: #c4c9cf;
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 300;
    line-height: 1.55;
}

.satv1-footer a:hover {
    color: #fff;
}

.satv1-footer-menu,
.satv1-footer-menu ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.satv1-footer-menu li {
    margin-bottom: 0.36rem;
}

.satv1-footer-bottom {
    border-top: 1px solid rgba(170, 182, 201, 0.28);
}

.satv1-footer-bottom .satv1-container {
    text-align: center;
    padding: 2rem 1.2rem 2.15rem;
}

.satv1-footer-copy {
    margin: 0;
    color: #8d94a0;
    font-size: 1rem;
    font-weight: 300;
}

.satv1-footer-copy span {
    margin: 0 0.65rem;
}

.satv1-footer-subcopy {
    margin: 0.55rem 0 0;
    color: #6e7683;
    font-size: 0.92rem;
    font-weight: 300;
}

.satv1-footer-legal {
    margin: 0.85rem 0 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.satv1-footer-legal a {
    color: #d3d8df;
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.3;
}

.satv1-footer-legal a:hover {
    color: #fff;
}

@media (max-width: 1080px) {
    .satv1-grid--courses,
    .satv1-grid--news {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .satv1-grid--events {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .satv1-grid--sat-program {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .satv1-program-card {
        min-height: 132px;
    }

    .satv1-home-blog-band-inner {
        grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
        min-height: 340px;
    }

    .satv1-home-blog-band-content {
        padding-right: 1rem;
    }

    .satv1-program-card span {
        font-size: 1.28rem;
    }

    .satv1-cta-grid {
        grid-template-columns: 1fr;
    }

    .satv1-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .satv1-footer-brand {
        grid-column: 1 / -1;
    }

    .satv1-cta-contacts ul {
        grid-template-columns: 1fr 1fr;
    }

    #novita .satv1-grid--news {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .satv1-header-top-inner {
        grid-template-columns: 1fr auto;
    }

    .satv1-social {
        display: none;
    }

    .satv1-logo {
        justify-self: start;
    }

    .satv1-auth-actions {
        gap: 0.4rem;
    }

    .satv1-login-btn {
        display: none;
    }

    .satv1-register-btn {
        font-size: 0.92rem;
        padding: 0.55rem 0.85rem;
    }

    .satv1-nav-desktop {
        display: none;
    }

    .satv1-mobile-toggle {
        display: inline-flex;
        align-items: center;
    }

    .satv1-hero {
        min-height: 500px;
    }

    .satv1-hero p {
        font-size: 1.1rem;
    }

    .satv1-home-blog-band-inner {
        grid-template-columns: 1fr;
        min-height: 0;
        padding-inline: 1rem;
    }

    .satv1-home-blog-band::before {
        background: linear-gradient(180deg, rgba(4, 20, 31, 0.56) 0%, rgba(4, 20, 31, 0.2) 56%, rgba(4, 20, 31, 0) 100%);
    }

    .satv1-home-blog-band-content {
        padding: 2.2rem 1.35rem 2rem;
        max-width: none;
    }

    .satv1-home-blog-band-media {
        min-height: 290px;
    }

    .satv1-home-blog-band-media::before {
        content: none;
    }
}

@media (max-width: 640px) {
    .satv1-grid--courses,
    .satv1-grid--news,
    .satv1-grid--events,
    .satv1-grid--sat-program {
        grid-template-columns: 1fr;
    }

    .satv1-program-card {
        min-height: 116px;
        padding: 0.9rem;
    }

    .satv1-program-card span {
        font-size: 1.1rem;
    }

    .satv1-hero-content {
        padding: 3rem 0;
    }

    .satv1-hero-cta-cluster {
        max-width: 100%;
    }

    .satv1-hero-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .satv1-hero .satv1-hero-btn {
        width: 100%;
    }

    .satv1-brevo-form #sib_signup_form_1 .sib_signup_box_inside_1 {
        grid-template-columns: 1fr;
    }

    .satv1-brevo-form #sib_signup_form_1 p.sib-email-area,
    .satv1-brevo-form #sib_signup_form_1 p:last-of-type {
        grid-column: 1;
        grid-row: auto;
    }

    .satv1-brevo-form #sib_signup_form_1 p:last-of-type input[type="submit"] {
        width: 100%;
    }

    .satv1-cta-contacts ul {
        grid-template-columns: 1fr;
    }

    .satv1-card-image {
        height: 190px;
    }

    .satv1-home-blog-band-content h2 {
        font-size: clamp(1.62rem, 7.5vw, 2rem);
    }

    .satv1-home-blog-band-content p {
        font-size: 1rem;
    }

    .satv1-home-blog-band-cta {
        width: 100%;
        min-width: 0;
    }

    .satv1-home-blog-band-media {
        min-height: 240px;
    }

    #novita .satv1-grid--news {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .satv1-footer .satv1-container {
        padding-left: 1.35rem;
        padding-right: 1.35rem;
    }

    .satv1-footer-bottom .satv1-container {
        padding: 1.65rem 1.35rem 1.8rem;
    }

    .satv1-footer-grid {
        grid-template-columns: 1fr;
        gap: 1.4rem;
    }

    .satv1-footer h3 {
        font-size: 0.94rem;
    }

    .satv1-footer-legal {
        display: flex;
        gap: 1.2rem;
        flex-wrap: wrap;
    }
}

/* Legacy Thim List Posts widget visual parity (sidebar style). */
body.satv1-theme .satv1-main-content .widget-area .thim-widget-list-post.template-list-post.widget {
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 14px;
    padding: 1.05rem;
    box-shadow: 0 6px 16px rgba(25, 35, 52, 0.04);
}

body.satv1-theme .thim-widget-list-post.template-list-post > .widget-title {
    margin: 0 0 0.95rem;
    padding-left: 0.55rem;
    border-left: 3px solid #f08a3c;
    font-size: 1.12rem;
    line-height: 1.2;
    text-transform: uppercase;
    color: #263042;
}

body.satv1-theme .thim-widget-list-post.template-list-post > .widget-title::before {
    display: none;
}

body.satv1-theme .thim-widget-list-post.template-list-post .thim-list-posts.sidebar .item-post {
    display: flex;
    align-items: flex-start;
    gap: 1.05rem;
    margin: 0 0 1.45rem;
    padding: 0.48rem;
    border: 1px solid #d8dee7;
    border-radius: 10px;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

body.satv1-theme .thim-widget-list-post.template-list-post .thim-list-posts.sidebar .item-post:last-child {
    margin-bottom: 0;
}

body.satv1-theme .thim-widget-list-post.template-list-post .thim-list-posts.sidebar .item-post:hover {
    border-color: #b8c2d1;
    background: #fbfcff;
}

body.satv1-theme .thim-widget-list-post.template-list-post .thim-list-posts.sidebar .article-image {
    flex: 0 0 92px;
    width: 92px;
    max-width: 92px;
}

body.satv1-theme .thim-widget-list-post.template-list-post .thim-list-posts.sidebar .article-image img {
    display: block;
    width: 92px;
    height: 92px;
    object-fit: cover;
}

body.satv1-theme .thim-widget-list-post.template-list-post .thim-list-posts.sidebar .article-title-wrapper {
    min-width: 0;
    flex: 1;
}

body.satv1-theme .thim-widget-list-post.template-list-post .thim-list-posts.sidebar .article-title-wrapper .title {
    margin: 0 0 0.35rem;
    line-height: 1.24;
    font-size: 1.06rem;
    font-weight: 600;
}

body.satv1-theme .thim-widget-list-post.template-list-post .thim-list-posts.sidebar .article-title-wrapper .title a {
    text-decoration: none !important;
    color: #1d2530;
}

body.satv1-theme .thim-widget-list-post.template-list-post .thim-list-posts.sidebar .article-title-wrapper .title a:hover {
    color: #1d2530;
    text-decoration: none !important;
}

body.satv1-theme .thim-widget-list-post.template-list-post .thim-list-posts.sidebar .article-date {
    color: #b8bcc6;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
}

body.satv1-theme .thim-widget-list-post.template-list-post .thim-list-posts.sidebar .article-date span {
    font-size: 15px !important;
    line-height: 1.2 !important;
    font-weight: 600 !important;
}

body.satv1-theme .thim-widget-list-post.template-list-post .thim-list-posts.sidebar .description {
    display: none !important;
}

/* Generic archive pagination (blog/events/custom loops). */
body.satv1-theme .satv1-main-content .pagination,
body.satv1-theme .satv1-main-content .loop-pagination,
body.satv1-theme .satv1-main-content .loop-paginationasd {
    margin: 1.4rem 0 0;
    width: 100%;
    display: flex;
    justify-content: center;
}

body.satv1-theme .satv1-main-content .pagination ul.page-numbers,
body.satv1-theme .satv1-main-content .loop-pagination ul.page-numbers,
body.satv1-theme .satv1-main-content .loop-paginationasd ul.page-numbers {
    list-style: none !important;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

body.satv1-theme .satv1-main-content .pagination ul.page-numbers > li,
body.satv1-theme .satv1-main-content .loop-pagination ul.page-numbers > li,
body.satv1-theme .satv1-main-content .loop-paginationasd ul.page-numbers > li {
    list-style: none !important;
    margin: 0;
    padding: 0;
}

body.satv1-theme .satv1-main-content .pagination ul.page-numbers > li > .page-numbers,
body.satv1-theme .satv1-main-content .loop-pagination ul.page-numbers > li > .page-numbers,
body.satv1-theme .satv1-main-content .loop-paginationasd ul.page-numbers > li > .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.2rem;
    height: 2.2rem;
    padding: 0 0.72rem;
    border-radius: 999px;
    border: 1px solid #d3dae6;
    background: #ffffff;
    color: #273141;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none !important;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

body.satv1-theme .satv1-main-content .pagination ul.page-numbers > li > a.page-numbers:hover,
body.satv1-theme .satv1-main-content .loop-pagination ul.page-numbers > li > a.page-numbers:hover,
body.satv1-theme .satv1-main-content .loop-paginationasd ul.page-numbers > li > a.page-numbers:hover {
    border-color: #c1cbda;
    background: #f7f9fc;
    color: #1d2530;
}

body.satv1-theme .satv1-main-content .pagination ul.page-numbers > li > .page-numbers.current,
body.satv1-theme .satv1-main-content .loop-pagination ul.page-numbers > li > .page-numbers.current,
body.satv1-theme .satv1-main-content .loop-paginationasd ul.page-numbers > li > .page-numbers.current {
    border-color: #e68326;
    background: #e68326;
    color: #ffffff;
}

body.satv1-theme .satv1-main-content .pagination ul.page-numbers > li > .page-numbers.dots,
body.satv1-theme .satv1-main-content .loop-pagination ul.page-numbers > li > .page-numbers.dots,
body.satv1-theme .satv1-main-content .loop-paginationasd ul.page-numbers > li > .page-numbers.dots {
    min-width: auto;
    border-color: transparent;
    background: transparent;
    color: #778295;
    padding: 0 0.25rem;
}

body.satv1-theme .satv1-main-content .pagination ul.page-numbers > li > .page-numbers.current:hover,
body.satv1-theme .satv1-main-content .loop-pagination ul.page-numbers > li > .page-numbers.current:hover,
body.satv1-theme .satv1-main-content .loop-paginationasd ul.page-numbers > li > .page-numbers.current:hover,
body.satv1-theme .satv1-main-content .pagination ul.page-numbers > li > .page-numbers.dots:hover,
body.satv1-theme .satv1-main-content .loop-pagination ul.page-numbers > li > .page-numbers.dots:hover,
body.satv1-theme .satv1-main-content .loop-paginationasd ul.page-numbers > li > .page-numbers.dots:hover {
    background: inherit;
    color: inherit;
}

@media (max-width: 640px) {
    body.satv1-theme .satv1-main-content .pagination ul.page-numbers > li > .page-numbers,
    body.satv1-theme .satv1-main-content .loop-pagination ul.page-numbers > li > .page-numbers,
    body.satv1-theme .satv1-main-content .loop-paginationasd ul.page-numbers > li > .page-numbers {
        min-width: 2rem;
        height: 2rem;
        font-size: 14px;
        padding: 0 0.55rem;
    }
}
