﻿:root {
        --mobile-menu-bg: #f1f3f6;
        --nav-height: 64px;
        --page-bg: #f1f3f6;
        --panel-bg: #ffffff;
        --panel-muted: #e9edf2;
        --text-main: #18212b;
        --text-soft: #4a5563;
        --navbar-bg: rgba(255, 255, 255, 0.95);
        --story-bg: linear-gradient(180deg, #f7f9fc 0%, #edf3fa 100%);
        --disciplines-bg: #e7ebf0;
        --discipline-card-bg: rgba(20, 24, 29, 0.64);
        --discipline-card-text: rgba(255, 255, 255, 0.9);
        --discipline-card-soft: rgba(255, 255, 255, 0.78);
      }
      [data-theme="dark"] {
        --mobile-menu-bg: #1a2128;
        --page-bg: #11161c;
        --panel-bg: #1d242d;
        --panel-muted: #2a3440;
        --text-main: #f0f4f8;
        --text-soft: #b5bfcb;
        --navbar-bg: rgba(18, 24, 32, 0.95);
        --story-bg: linear-gradient(180deg, #151c24 0%, #10161d 100%);
        --disciplines-bg: #0f141b;
        --discipline-card-bg: rgba(16, 20, 26, 0.78);
        --discipline-card-text: rgba(255, 255, 255, 0.93);
        --discipline-card-soft: rgba(255, 255, 255, 0.84);
      }
      body {
        background: var(--page-bg);
        color: var(--text-main);
      }
      .navbar {
        z-index: 1031;
        min-height: var(--nav-height);
        width: min(70%, 1180px);
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        top: 0.7rem;
        border-radius: 20px;
        border: 1px solid rgba(24, 33, 43, 0.12);
        background: rgba(255, 255, 255, 0.74) !important;
        backdrop-filter: blur(10px);
      }
      .navbar.border-bottom {
        border-bottom: 0 !important;
      }
      [data-theme="dark"] .navbar {
        background: rgba(18, 24, 32, 0.72) !important;
        border-color: rgba(240, 244, 248, 0.16);
      }
      .navbar .navbar-brand span,
      .navbar .nav-link {
        color: var(--text-main) !important;
      }
      .navbar .nav-link.active {
        font-weight: 600;
      }
      .mobile-menu {
        background: var(--mobile-menu-bg);
        --bs-offcanvas-width: 80vw;
        transition: transform 0.55s ease-in-out;
      }
      .mobile-menu .offcanvas-title {
        color: var(--text-main);
      }
      .mobile-menu-link {
        color: var(--text-main);
      }
      .brand-logo-circle {
        background: #ffffff;
        padding: 2px;
        border: 1px solid rgba(24, 33, 43, 0.12);
        object-fit: contain;
        object-position: center;
        transform: scale(1.08);
      }
      .brand-logo-circle.brand-logo-tight {
        background: transparent;
        padding: 0;
        border: 0;
        transform: scale(1.16);
      }
      .theme-toggle-btn {
        border-color: #bd894a;
        color: #bd894a;
      }
      .theme-toggle-btn:hover {
        background: #bd894a;
        color: #11161c;
      }
      main {
        padding-top: 0;
      }
      .discipline-detail-page main {
        padding-top: calc(var(--nav-height) + 1rem);
      }
      .eventi-page main {
        padding-top: calc(var(--nav-height) + 1rem);
      }
      .hero-carousel,
      .hero-carousel .carousel-item,
      .hero-carousel .carousel-item img {
        height: 100vh;
      }
      .hero-carousel {
        position: relative;
      }
      .hero-carousel .carousel-item img {
        object-fit: cover;
      }
      .hero-center-copy {
        position: absolute;
        top: 50%;
        left: 50%;
        width: min(94%, 980px);
        transform: translate(-50%, -50%);
        z-index: 2;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 1rem;
        padding: 1.2rem;
        text-align: center;
        pointer-events: none;
      }
      .hero-center-copy::before {
        position: absolute;
        width: min(920px, 94%);
        height: clamp(150px, 34vh, 290px);
        background: rgba(246, 222, 191, 0.36);
        filter: blur(12px);
        mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 1) 44%, rgba(0, 0, 0, 0.62) 68%, rgba(0, 0, 0, 0) 100%);
        -webkit-mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 1) 44%, rgba(0, 0, 0, 0.62) 68%, rgba(0, 0, 0, 0) 100%);
        transform: scale(1.06);
        z-index: 0;
      }
      .hero-title-row {
        width: min(920px, 100%);
        display: flex;
        align-items: center;
        gap: 1rem;
        position: relative;
        z-index: 1;
      }
      .hero-title-line {
        height: 2px;
        flex: 1;
        background: linear-gradient(
          90deg,
          rgba(189, 137, 74, 0.02),
          rgba(189, 137, 74, 0.95),
          rgba(230, 240, 74, 0.82),
          rgba(189, 137, 74, 0.95),
          rgba(189, 137, 74, 0.02)
        );
      }
      .hero-main-title {
        margin: 0;
        line-height: 1;
        font-size: clamp(1.7rem, 4.8vw, 3.2rem);
        font-family: "Teko", "Oswald", "Arial Narrow", sans-serif;
        font-style: oblique 11deg;
        font-weight: 600;
        letter-spacing: 0.06em;
        text-transform: none;
        color: #151b22;
        text-shadow:
          -1px -1px 0 rgba(250, 239, 224, 0.78),
          1px -1px 0 rgba(250, 239, 224, 0.78),
          -1px 1px 0 rgba(250, 239, 224, 0.78),
          1px 1px 0 rgba(250, 239, 224, 0.78),
          0 3px 0 rgba(189, 137, 74, 0.94),
          0 0 16px rgba(230, 240, 74, 0.36),
          0 10px 22px rgba(15, 20, 27, 0.35);
      }
      .hero-main-subtitle {
        margin: 0;
        max-width: 760px;
        font-family: "Barlow Condensed", "Segoe UI", Tahoma, sans-serif;
        color: #e8edf3;
        font-size: clamp(1.2rem, 2.2vw, 2.15rem);
        font-weight: 600;
        font-style: italic;
        letter-spacing: 0.008em;
        text-shadow:
          0 2px 6px rgba(9, 12, 18, 0.9),
          0 6px 20px rgba(15, 20, 27, 0.78);
        position: relative;
        z-index: 1;
      }
      .hero-carousel .carousel-control-prev,
      .hero-carousel .carousel-control-next {
        z-index: 3;
      }
      .hero-carousel.hero-carousel-loading .carousel-control-prev,
      .hero-carousel.hero-carousel-loading .carousel-control-next {
        cursor: wait;
        opacity: 0.35;
      }
      .hero-carousel .hero-pos-default {
        object-position: center 58%;
      }
      .hero-carousel .hero-pos-batizado {
        object-position: center 40%;
      }
      .hero-carousel .hero-pos-germignaga {
        object-position: center 83%;
      }
      .hero-carousel .hero-pos-roda {
        object-position: center 68%;
      }
      .hero-carousel .hero-pos-ok {
        object-position: center top;
      }
      .story-section {
        background: var(--story-bg);
        padding: 5rem 0;
      }
      .story-layout {
        position: relative;
        min-height: 380px;
      }
      .story-image {
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: min(44%, 560px);
        border-radius: 18px;
        object-fit: cover;
        z-index: 2;
      }
      .story-panel {
        margin-left: 26%;
        background: var(--panel-bg);
        border-radius: 16px;
        padding: 3rem 3rem 3rem 22%;
        color: var(--text-main);
        min-height: 380px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        box-shadow: 0 18px 36px rgba(24, 33, 43, 0.12);
      }
      .story-kicker {
        color: #bd894a;
        font-weight: 600;
        margin-bottom: 0.4rem;
      }
      .story-title {
        font-size: clamp(1.8rem, 3vw, 2.7rem);
        font-weight: 700;
        margin-bottom: 1rem;
      }
      .story-line {
        width: 120px;
        height: 3px;
        background: #bd894a;
        margin-bottom: 1.2rem;
      }
      .story-text {
        font-size: 1.05rem;
        line-height: 1.6;
        margin: 0;
        max-width: 720px;
        color: var(--text-soft);
      }
      .reveal-up {
        opacity: 0;
        transform: translateY(18px);
        transition: opacity 0.55s ease, transform 0.55s ease;
        will-change: opacity, transform;
      }
      .reveal-up.is-visible {
        opacity: 1;
        transform: translateY(0);
      }
      .disciplines-section {
        background: var(--disciplines-bg);
        padding: 5rem 0;
      }
      .disciplines-carousel {
        position: relative;
        max-width: 980px;
        margin: 0 auto;
      }
      .discipline-slide {
        position: relative;
        min-height: 560px;
        border-radius: 24px;
        overflow: hidden;
        background-size: cover;
        background-position: center;
      }
      .discipline-capoeira {
        background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.5)), url("assets/optimized/capoeira-x-gallery.jpg");
      }
      .discipline-krav {
        background-image: linear-gradient(rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0.52)), url("assets/optimized/fma-germi-gallery.jpg");
        background-position: right center;
      }
      .discipline-fma {
        background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.5)), url("assets/optimized/festa-dello-sport-hero.jpg");
      }
      .discipline-card {
        position: absolute;
        left: 1.5rem;
        bottom: 1.5rem;
        width: min(520px, calc(100% - 3rem));
        border-radius: 24px;
        background: var(--discipline-card-bg);
        color: var(--discipline-card-text);
        padding: 1.7rem;
        box-shadow: 0 24px 48px rgba(24, 33, 43, 0.22);
      }
      .discipline-level {
        color: #bd894a;
        font-style: italic;
        font-size: 1.25rem;
        margin-bottom: 0.2rem;
      }
      .discipline-name {
        font-size: clamp(1.9rem, 4vw, 2.8rem);
        font-style: italic;
        margin-bottom: 0.6rem;
        line-height: 1.1;
      }
      .discipline-line {
        width: 220px;
        height: 3px;
        background: #bd894a;
        margin-bottom: 1rem;
      }
      .discipline-text {
        font-size: 1.1rem;
        line-height: 1.45;
        margin: 0;
        color: var(--discipline-card-soft);
      }
      .discipline-button {
        display: inline-block;
        margin-top: 1.2rem;
        padding: 0.6rem 1rem;
        border-radius: 999px;
        border: 1px solid #bd894a;
        color: #f8fafc;
        text-decoration: none;
        font-weight: 600;
        transition: background-color 0.2s ease, color 0.2s ease;
      }
      .discipline-button:hover {
        background: #bd894a;
        color: #11161c;
      }
      .disciplines-carousel .carousel-control-prev,
      .disciplines-carousel .carousel-control-next {
        width: 48px;
        opacity: 1;
      }
      .disciplines-carousel .carousel-control-prev {
        left: -72px;
      }
      .disciplines-carousel .carousel-control-next {
        right: -72px;
      }
      .disciplines-carousel .carousel-control-prev-icon,
      .disciplines-carousel .carousel-control-next-icon {
        background-image: none;
        width: 42px;
        height: 42px;
        border-top: 4px solid #bd894a;
        border-right: 4px solid #bd894a;
      }
      .disciplines-carousel .carousel-control-prev-icon {
        transform: rotate(-135deg);
      }
      .disciplines-carousel .carousel-control-next-icon {
        transform: rotate(45deg);
      }

      .maestri-section {
        position: relative;
        scroll-margin-top: calc(var(--nav-height) + 1.3rem);
        padding: 5rem 0 5.5rem;
        background: #f2f4f7;
      }
      [data-theme="dark"] .maestri-section {
        background: #121920;
      }
      .maestri-intro {
        max-width: 860px;
        margin-bottom: 2.2rem;
      }
      .maestri-kicker {
        color: #bd894a;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.08em;
      }
      .maestri-title {
        font-size: clamp(1.8rem, 3vw, 3rem);
        font-weight: 700;
        color: #16202a;
      }
      [data-theme="dark"] .maestri-title {
        color: #e9eef4;
      }
      .maestri-content {
        position: relative;
      }
      .maestri-grid {
        display: grid;
        grid-template-columns: minmax(0, 1.34fr) minmax(280px, 0.86fr);
        grid-template-areas: "bio image";
        gap: 1.5rem 1.9rem;
        align-items: start;
      }
      .maestro-bio-main {
        grid-area: bio;
      }
      .maestro-portrait-frame {
        grid-area: image;
        position: relative;
        margin: 0;
      }
      .maestro-portrait {
        width: 100%;
        border-radius: 20px;
        display: block;
        object-fit: cover;
        border: 1px solid rgba(24, 33, 43, 0.2);
        box-shadow: 0 20px 40px rgba(12, 17, 24, 0.28);
      }
      .maestro-portrait-caption {
        margin-top: 0.65rem;
        text-align: center;
        color: #bd894a;
        font-size: 0.8rem;
        font-weight: 700;
        letter-spacing: 0.08em;
        text-transform: uppercase;
      }
      .maestro-bio-card {
        border-radius: 24px;
        padding: 2rem 2rem 2.2rem;
        color: #18212b;
        border: 1px solid rgba(24, 33, 43, 0.15);
        background: linear-gradient(165deg, rgba(255, 255, 255, 0.96), rgba(241, 245, 250, 0.98));
        box-shadow: 0 20px 40px rgba(24, 33, 43, 0.14);
      }
      .maestro-label {
        margin: 0 0 0.35rem;
        color: #bd894a;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        font-size: 0.82rem;
      }
      .maestro-name {
        margin: 0 0 1rem;
        font-size: clamp(1.9rem, 3vw, 2.8rem);
        color: #18212b;
      }
      .maestro-bio-text {
        margin: 0 0 1rem;
        line-height: 1.58;
        color: #2f3b49;
      }
      .maestro-student-block {
        margin-top: 1.3rem;
        padding-top: 1.2rem;
        border-top: 1px solid rgba(24, 33, 43, 0.16);
      }
      .maestro-student-name {
        margin: 0 0 0.7rem;
        font-size: clamp(1.35rem, 2.2vw, 2rem);
      }
      .maestro-student-text {
        margin: 0 0 0.7rem;
        line-height: 1.55;
        color: #2f3b49;
      }
      [data-theme="dark"] .maestro-bio-card {
        color: #eef3f8;
        border: 1px solid rgba(189, 137, 74, 0.24);
        background: linear-gradient(165deg, rgba(20, 27, 36, 0.94), rgba(12, 17, 24, 0.96));
        box-shadow: 0 24px 52px rgba(12, 17, 24, 0.3);
      }
      [data-theme="dark"] .maestro-name {
        color: #eef3f8;
      }
      [data-theme="dark"] .maestro-bio-text,
      [data-theme="dark"] .maestro-student-text {
        color: #d5dfea;
      }
      [data-theme="dark"] .maestro-student-block {
        border-top: 1px solid rgba(189, 137, 74, 0.3);
      }

      .notizie-section {
        padding: 5rem 0 5.8rem;
        background: linear-gradient(180deg, #eef2f7 0%, #f7f9fc 100%);
      }
      [data-theme="dark"] .notizie-section {
        background: linear-gradient(180deg, #0f151d 0%, #151d27 100%);
      }
      .notizie-intro {
        max-width: 860px;
        margin-bottom: 2.2rem;
      }
      .notizie-kicker {
        color: #bd894a;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.08em;
      }
      .notizie-title {
        font-size: clamp(1.8rem, 3vw, 3rem);
        font-weight: 700;
        color: #16202a;
      }
      [data-theme="dark"] .notizie-title {
        color: #e9eef4;
      }
      .notizie-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.25rem;
      }
      .notizia-card {
        border-radius: 20px;
        padding: 1.5rem;
        border: 1px solid rgba(24, 33, 43, 0.14);
        background: linear-gradient(165deg, rgba(255, 255, 255, 0.96), rgba(243, 247, 252, 0.98));
        box-shadow: 0 16px 32px rgba(24, 33, 43, 0.1);
        display: flex;
        flex-direction: column;
      }
      .notizia-image {
        width: 100%;
        aspect-ratio: 16 / 9;
        object-fit: cover;
        border-radius: 14px;
        margin-bottom: 0.95rem;
        border: 1px solid rgba(24, 33, 43, 0.12);
      }
      .notizia-meta {
        margin: 0 0 0.65rem;
        font-size: 0.8rem;
        letter-spacing: 0.07em;
        text-transform: uppercase;
        color: #bd894a;
        font-weight: 700;
      }
      .notizia-headline {
        margin: 0 0 0.9rem;
        font-size: clamp(1.15rem, 2.3vw, 1.6rem);
        line-height: 1.25;
      }
      .notizia-text {
        margin: 0 0 1.1rem;
        color: #2f3b49;
        line-height: 1.55;
      }
      .notizia-link {
        margin-top: auto;
        display: inline-flex;
        align-items: center;
        gap: 0.35rem;
        color: #bd894a;
        font-weight: 700;
        text-decoration: none;
      }
      .notizia-link:hover {
        text-decoration: underline;
      }
      [data-theme="dark"] .notizia-card {
        border: 1px solid rgba(189, 137, 74, 0.24);
        background: linear-gradient(165deg, rgba(20, 27, 36, 0.94), rgba(12, 17, 24, 0.96));
        box-shadow: 0 22px 44px rgba(12, 17, 24, 0.3);
      }
      [data-theme="dark"] .notizia-image {
        border: 1px solid rgba(189, 137, 74, 0.22);
      }
      [data-theme="dark"] .notizia-headline {
        color: #eef3f8;
      }
      [data-theme="dark"] .notizia-text {
        color: #d5dfea;
      }

      .eventi-page {
        min-height: 100vh;
        background:
          radial-gradient(circle at top left, rgba(230, 240, 74, 0.2), transparent 34%),
          radial-gradient(circle at top right, rgba(189, 137, 74, 0.18), transparent 30%),
          linear-gradient(180deg, #eef2f6 0%, #f7f9fc 100%);
        color: var(--text-main);
      }
      [data-theme="dark"] .eventi-page {
        background:
          radial-gradient(circle at top left, rgba(230, 240, 74, 0.12), transparent 34%),
          radial-gradient(circle at top right, rgba(189, 137, 74, 0.16), transparent 30%),
          linear-gradient(180deg, #0f151d 0%, #151d27 100%);
      }
      .eventi-hero-section {
        padding: 2.6rem 0 2rem;
      }
      .eventi-section-intro {
        max-width: 860px;
        margin: 0 auto 1.8rem;
      }
      .eventi-page-title {
        margin: 0;
        font-size: clamp(2.4rem, 5vw, 4.4rem);
        line-height: 0.95;
        font-family: "Teko", "Oswald", "Arial Narrow", sans-serif;
        font-style: oblique 8deg;
        color: #151c24;
        text-shadow: 0 6px 18px rgba(189, 137, 74, 0.12);
      }
      [data-theme="dark"] .eventi-page-title {
        color: #eef3f8;
      }
      .eventi-page-lead {
        max-width: 58ch;
        margin: 0.9rem auto 0;
        color: #4a5563;
        line-height: 1.65;
        font-size: 1.02rem;
      }
      [data-theme="dark"] .eventi-page-lead {
        color: #d4dde7;
      }
      .eventi-carousel {
        position: relative;
      }
      .eventi-empty-state {
        max-width: 860px;
        margin: 0 auto;
        text-align: center;
      }
      .eventi-empty-state .eventi-lead {
        margin-left: auto;
        margin-right: auto;
      }
      .eventi-hero-shell {
        position: relative;
        overflow: hidden;
        border-radius: 32px;
        padding: clamp(1.5rem, 4vw, 3rem);
        background:
          linear-gradient(140deg, rgba(255, 255, 255, 0.95), rgba(244, 247, 252, 0.9)),
          linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.8));
        border: 1px solid rgba(24, 33, 43, 0.08);
        box-shadow: 0 24px 52px rgba(24, 33, 43, 0.12);
        isolation: isolate;
      }
      .eventi-event-card {
        margin: 0;
      }
      .eventi-carousel.eventi-carousel-has-navigation .eventi-event-card {
        margin: 0 4.5rem;
      }
      [data-theme="dark"] .eventi-hero-shell {
        background:
          linear-gradient(140deg, rgba(19, 27, 35, 0.94), rgba(12, 17, 24, 0.96)),
          linear-gradient(180deg, rgba(18, 25, 33, 0.88), rgba(12, 17, 24, 0.88));
        border: 1px solid rgba(189, 137, 74, 0.2);
        box-shadow: 0 28px 58px rgba(8, 11, 17, 0.34);
      }
      .eventi-hero-shell::before,
      .eventi-hero-shell::after {
        content: "";
        position: absolute;
        border-radius: 999px;
        pointer-events: none;
        z-index: -1;
      }
      .eventi-hero-shell::before {
        width: 260px;
        height: 260px;
        top: -90px;
        right: -90px;
        background: radial-gradient(circle, rgba(230, 240, 74, 0.52), rgba(230, 240, 74, 0));
      }
      .eventi-hero-shell::after {
        width: 360px;
        height: 360px;
        left: -120px;
        bottom: -180px;
        background: radial-gradient(circle, rgba(189, 137, 74, 0.24), rgba(189, 137, 74, 0));
      }
      .eventi-hero-grid {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
        gap: 2rem;
        align-items: center;
      }
      .eventi-copy {
        max-width: 620px;
      }
      .eventi-kicker {
        margin: 0 0 0.5rem;
        color: #bd894a;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.1em;
        font-size: 0.82rem;
      }
      .eventi-card-label {
        margin: 0 0 0.6rem;
        color: #bd894a;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.12em;
        font-size: 0.8rem;
      }
      .eventi-title {
        margin: 0;
        font-size: clamp(2rem, 4vw, 3.3rem);
        line-height: 0.98;
        font-family: "Teko", "Oswald", "Arial Narrow", sans-serif;
        font-style: oblique 8deg;
        color: #151c24;
        text-shadow: 0 6px 18px rgba(189, 137, 74, 0.12);
      }
      [data-theme="dark"] .eventi-title {
        color: #eef3f8;
      }
      .eventi-lead {
        margin: 1.15rem 0 0;
        max-width: 52ch;
        color: #334151;
        font-size: 1.05rem;
        line-height: 1.65;
      }
      .eventi-detail-copy {
        margin-top: 1.15rem;
        max-width: 50ch;
        color: #4a5563;
        line-height: 1.6;
      }
      [data-theme="dark"] .eventi-lead,
      [data-theme="dark"] .eventi-detail-copy {
        color: #d4dde7;
      }
      .eventi-badges {
        display: flex;
        flex-wrap: wrap;
        gap: 0.7rem;
        margin-top: 1.35rem;
      }
      .eventi-badge {
        display: inline-flex;
        align-items: center;
        padding: 0.6rem 0.95rem;
        border-radius: 999px;
        background: rgba(189, 137, 74, 0.12);
        color: #7d5728;
        font-weight: 700;
        letter-spacing: 0.02em;
      }
      .eventi-badge-soft {
        background: rgba(24, 33, 43, 0.06);
        color: #24303d;
      }
      [data-theme="dark"] .eventi-badge {
        background: rgba(189, 137, 74, 0.2);
        color: #f3d8b6;
      }
      [data-theme="dark"] .eventi-badge-soft {
        background: rgba(230, 240, 74, 0.1);
        color: #e4eb95;
      }
      .eventi-actions {
        margin-top: 1.45rem;
      }
      .eventi-poster-stack {
        position: relative;
        margin: 0;
      }
      .eventi-poster-stack::before {
        content: "";
        position: absolute;
        inset: 14px -12px -18px 28px;
        border-radius: 28px;
        background: linear-gradient(180deg, rgba(230, 240, 74, 0.4), rgba(189, 137, 74, 0.3));
        filter: blur(12px);
        opacity: 0.78;
        z-index: 0;
      }
      .eventi-poster-frame {
        position: relative;
        z-index: 1;
        padding: 0.9rem;
        border-radius: 30px;
        min-height: min(64vh, 620px);
        background: linear-gradient(160deg, rgba(255, 255, 255, 0.95), rgba(237, 241, 246, 0.92));
        border: 1px solid rgba(24, 33, 43, 0.12);
        box-shadow: 0 24px 48px rgba(24, 33, 43, 0.18);
        display: flex;
        align-items: center;
        justify-content: center;
      }
      .eventi-poster-button {
        display: block;
        padding: 0;
        border: 0;
        background: transparent;
        cursor: zoom-in;
      }
      .eventi-poster-button:focus-visible {
        outline: 3px solid rgba(189, 137, 74, 0.85);
        outline-offset: 6px;
        border-radius: 24px;
      }
      [data-theme="dark"] .eventi-poster-frame {
        background: linear-gradient(160deg, rgba(22, 29, 38, 0.96), rgba(11, 16, 23, 0.96));
        border: 1px solid rgba(189, 137, 74, 0.26);
        box-shadow: 0 26px 52px rgba(6, 9, 14, 0.4);
      }
      .eventi-poster-image {
        display: block;
        width: auto;
        max-width: 100%;
        height: auto;
        max-height: min(58vh, 560px);
        object-fit: contain;
        border-radius: 22px;
      }
      .eventi-poster-caption {
        position: relative;
        z-index: 1;
        margin-top: 0.9rem;
        text-align: center;
        color: #7d5728;
        font-size: 0.84rem;
        font-weight: 700;
        letter-spacing: 0.08em;
        text-transform: uppercase;
      }
      [data-theme="dark"] .eventi-poster-caption {
        color: #f1d5b4;
      }
      .eventi-carousel-footer {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 1rem;
        padding: 1rem 4.5rem 0;
      }
      .eventi-carousel-nav {
        display: flex;
        justify-content: center;
        margin-top: 1rem;
      }
      .eventi-carousel-copy {
        color: #4a5563;
      }
      .eventi-carousel-kicker {
        color: #bd894a;
        font-size: 0.8rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.1em;
      }
      .eventi-carousel-text {
        color: #4a5563;
        line-height: 1.5;
      }
      [data-theme="dark"] .eventi-carousel-copy,
      [data-theme="dark"] .eventi-carousel-text {
        color: #d4dde7;
      }
      .eventi-carousel-indicators {
        position: static;
        margin: 0;
        display: flex;
        align-items: center;
        gap: 0.55rem;
      }
      .eventi-carousel-indicators [data-bs-target] {
        width: 52px;
        height: 6px;
        margin: 0;
        border: 0;
        border-radius: 999px;
        background: rgba(24, 33, 43, 0.18);
        opacity: 1;
      }
      .eventi-carousel-indicators .active {
        background: #bd894a;
      }
      [data-theme="dark"] .eventi-carousel-indicators [data-bs-target] {
        background: rgba(240, 244, 248, 0.18);
      }
      [data-theme="dark"] .eventi-carousel-indicators .active {
        background: #bd894a;
      }
      .eventi-carousel .carousel-control-prev,
      .eventi-carousel .carousel-control-next {
        width: 64px;
        opacity: 1;
        top: 50%;
        bottom: auto;
        transform: translateY(-50%);
      }
      .eventi-carousel .carousel-control-prev {
        left: 0;
      }
      .eventi-carousel .carousel-control-next {
        right: 0;
      }
      .eventi-carousel-control-icon {
        width: 52px;
        height: 52px;
        border-radius: 999px;
        background-color: rgba(17, 22, 28, 0.68);
        background-size: 58% 58%;
        box-shadow: 0 16px 28px rgba(17, 22, 28, 0.22);
      }
      .eventi-poster-modal .modal-content {
        background: rgba(248, 250, 252, 0.98);
        border: 1px solid rgba(24, 33, 43, 0.12);
        border-radius: 20px;
      }
      [data-theme="dark"] .eventi-poster-modal .modal-content {
        background: rgba(17, 24, 32, 0.98);
        border-color: rgba(189, 137, 74, 0.24);
        color: #eef3f8;
      }
      .eventi-poster-modal .modal-body {
        display: flex;
        justify-content: center;
        padding: clamp(0.75rem, 2vw, 1.25rem);
      }
      .eventi-poster-modal-image {
        display: block;
        width: auto;
        max-width: 100%;
        max-height: 82vh;
        object-fit: contain;
        border-radius: 14px;
      }

      .contact-page {
        min-height: 100vh;
        background:
          radial-gradient(circle at top left, rgba(189, 137, 74, 0.18), transparent 34%),
          radial-gradient(circle at bottom right, rgba(230, 240, 74, 0.16), transparent 28%),
          linear-gradient(180deg, #eef2f7 0%, #f8fafc 100%);
        color: var(--text-main);
      }
      [data-theme="dark"] .contact-page {
        background:
          radial-gradient(circle at top left, rgba(189, 137, 74, 0.14), transparent 34%),
          radial-gradient(circle at bottom right, rgba(230, 240, 74, 0.1), transparent 28%),
          linear-gradient(180deg, #0f151d 0%, #151d27 100%);
      }
      .contact-page main {
        padding-top: calc(var(--nav-height) + 1rem);
      }
      .contact-section {
        padding: 2.6rem 0 4.8rem;
      }
      .contact-intro {
        max-width: 860px;
        margin: 0 auto 2rem;
      }
      .contact-kicker {
        color: #bd894a;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.1em;
      }
      .contact-title {
        font-size: clamp(2.4rem, 5vw, 4.1rem);
        line-height: 0.95;
        font-family: "Teko", "Oswald", "Arial Narrow", sans-serif;
        font-style: oblique 8deg;
        color: #151c24;
        text-shadow: 0 6px 18px rgba(189, 137, 74, 0.12);
      }
      [data-theme="dark"] .contact-title {
        color: #eef3f8;
      }
      .contact-lead {
        max-width: 58ch;
        margin: 0.95rem auto 0;
        color: #4a5563;
        line-height: 1.65;
      }
      [data-theme="dark"] .contact-lead {
        color: #d4dde7;
      }
      .contact-layout {
        display: grid;
        grid-template-columns: minmax(280px, 0.88fr) minmax(0, 1.12fr);
        gap: 1.4rem;
        align-items: start;
      }
      .contact-card {
        border-radius: 28px;
        padding: clamp(1.4rem, 3vw, 2rem);
        background: linear-gradient(165deg, rgba(255, 255, 255, 0.96), rgba(243, 247, 252, 0.98));
        border: 1px solid rgba(24, 33, 43, 0.12);
        box-shadow: 0 20px 42px rgba(24, 33, 43, 0.12);
      }
      [data-theme="dark"] .contact-card {
        background: linear-gradient(165deg, rgba(20, 27, 36, 0.94), rgba(12, 17, 24, 0.96));
        border: 1px solid rgba(189, 137, 74, 0.2);
        box-shadow: 0 24px 48px rgba(8, 11, 17, 0.28);
      }
      .contact-card-kicker {
        margin: 0 0 0.45rem;
        color: #bd894a;
        font-size: 0.8rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.1em;
      }
      .contact-card-title {
        margin: 0 0 0.9rem;
        font-size: clamp(1.7rem, 3vw, 2.5rem);
        color: #18212b;
      }
      [data-theme="dark"] .contact-card-title {
        color: #eef3f8;
      }
      .contact-card-text,
      .contact-card-note,
      .contact-form-note {
        color: #4a5563;
        line-height: 1.6;
      }
      [data-theme="dark"] .contact-card-text,
      [data-theme="dark"] .contact-card-note,
      [data-theme="dark"] .contact-form-note {
        color: #d4dde7;
      }
      .contact-method {
        display: flex;
        flex-direction: column;
        gap: 0.3rem;
        padding: 1rem 0;
        border-top: 1px solid rgba(24, 33, 43, 0.1);
      }
      [data-theme="dark"] .contact-method {
        border-top: 1px solid rgba(189, 137, 74, 0.18);
      }
      .contact-method-label {
        font-size: 0.78rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.09em;
        color: #bd894a;
      }
      .contact-link {
        color: #18212b;
        font-size: clamp(1.1rem, 2vw, 1.45rem);
        font-weight: 700;
        text-decoration: none;
      }
      .contact-link:hover {
        text-decoration: underline;
      }
      [data-theme="dark"] .contact-link {
        color: #eef3f8;
      }
      .contact-status {
        margin: 0 0 1rem;
        padding: 0.9rem 1rem;
        border-radius: 16px;
        font-weight: 600;
      }
      .contact-status-success {
        color: #1f6b35;
        background: rgba(84, 173, 109, 0.14);
        border: 1px solid rgba(84, 173, 109, 0.26);
      }
      .contact-status-error {
        color: #8a3d30;
        background: rgba(189, 97, 74, 0.12);
        border: 1px solid rgba(189, 97, 74, 0.24);
      }
      [data-theme="dark"] .contact-status-success {
        color: #b8efc7;
        background: rgba(84, 173, 109, 0.16);
        border: 1px solid rgba(84, 173, 109, 0.28);
      }
      [data-theme="dark"] .contact-status-error {
        color: #f3c4b8;
        background: rgba(189, 97, 74, 0.16);
        border: 1px solid rgba(189, 97, 74, 0.28);
      }
      .contact-form {
        margin-top: 1rem;
      }
      .contact-label {
        font-weight: 700;
        color: var(--text-main);
      }
      .contact-input {
        border-radius: 16px;
        border: 1px solid rgba(24, 33, 43, 0.14);
        background: rgba(255, 255, 255, 0.86);
        color: #18212b;
        padding: 0.85rem 1rem;
      }
      .contact-input:focus {
        border-color: rgba(189, 137, 74, 0.8);
        box-shadow: 0 0 0 0.2rem rgba(189, 137, 74, 0.15);
        background: #ffffff;
      }
      [data-theme="dark"] .contact-input {
        border: 1px solid rgba(189, 137, 74, 0.16);
        background: rgba(17, 23, 31, 0.84);
        color: #eef3f8;
      }
      [data-theme="dark"] .contact-input:focus {
        background: rgba(20, 27, 36, 0.96);
      }
      .contact-textarea {
        min-height: 180px;
        resize: vertical;
      }
      .contact-form-actions {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
        flex-wrap: wrap;
        margin-top: 1.25rem;
      }
      .contact-submit-btn {
        padding: 0.75rem 1.2rem;
        border-radius: 999px;
        border: 1px solid #bd894a;
        background: #bd894a;
        color: #11161c;
        font-weight: 700;
      }
      .contact-submit-btn:hover {
        background: #c9975d;
        border-color: #c9975d;
        color: #11161c;
      }
      .contact-honeypot {
        position: absolute;
        left: -9999px;
        width: 1px;
        height: 1px;
        overflow: hidden;
      }
      .contact-privacy-box {
        display: flex;
        gap: 0.85rem;
        align-items: flex-start;
        padding: 1rem 1.05rem;
        border-radius: 18px;
        background: rgba(24, 33, 43, 0.04);
        border: 1px solid rgba(24, 33, 43, 0.08);
      }
      [data-theme="dark"] .contact-privacy-box {
        background: rgba(255, 255, 255, 0.03);
        border-color: rgba(189, 137, 74, 0.18);
      }
      .contact-checkbox {
        margin-top: 0.15rem;
        border-color: rgba(24, 33, 43, 0.35);
      }
      .contact-checkbox:checked {
        background-color: #bd894a;
        border-color: #bd894a;
      }
      .contact-privacy-label {
        color: var(--text-main);
        line-height: 1.6;
      }
      .contact-privacy-label a {
        color: #bd894a;
        font-weight: 700;
      }
      .site-footer {
        padding: 3.25rem 0 1.5rem;
        background: linear-gradient(165deg, rgba(255, 255, 255, 0.96), rgba(243, 247, 252, 0.98));
        color: #16202a;
        font-family: "Barlow Condensed", "Segoe UI", Tahoma, sans-serif;
        border-top: 1px solid rgba(24, 33, 43, 0.14);
      }
      [data-theme="dark"] .site-footer {
        background: linear-gradient(165deg, rgba(20, 27, 36, 0.94), rgba(12, 17, 24, 0.96));
        color: #eef3f8;
        border-top: 1px solid rgba(189, 137, 74, 0.24);
      }
      .site-footer-grid {
        display: grid;
        grid-template-columns: 1.35fr 0.9fr 0.9fr;
        gap: 2.2rem;
      }
      .site-footer-kicker,
      .site-footer-heading {
        color: #bd894a;
        text-transform: uppercase;
        letter-spacing: 0.12em;
        font-size: 0.8rem;
        font-weight: 700;
        margin: 0 0 0.95rem;
      }
      .site-footer-title {
        margin: 0 0 0.9rem;
        font-size: clamp(1.7rem, 3vw, 2.8rem);
        line-height: 0.95;
        font-family: "Teko", "Oswald", "Arial Narrow", sans-serif;
      }
      .site-footer-text,
      .site-footer-muted,
      .site-footer-small {
        color: #2f3b49;
        line-height: 1.52;
        font-size: clamp(0.98rem, 1.05vw, 1.2rem);
      }
      [data-theme="dark"] .site-footer-text,
      [data-theme="dark"] .site-footer-muted,
      [data-theme="dark"] .site-footer-small {
        color: #d5dfea;
      }
      .site-footer-text {
        max-width: 34ch;
      }
      .site-footer-list {
        list-style: none;
        padding: 0;
        margin: 0;
        display: grid;
        gap: 0.6rem;
      }
      .site-footer-link {
        color: #16202a;
        text-decoration: none;
        font-size: clamp(1rem, 1.05vw, 1.18rem);
        line-height: 1.35;
      }
      [data-theme="dark"] .site-footer-link {
        color: #eef3f8;
      }
      .site-footer-link:hover {
        color: #bd894a;
      }
      .site-footer-bottom {
        margin-top: 2rem;
        padding-top: 1rem;
        border-top: 1px solid rgba(24, 33, 43, 0.12);
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
        flex-wrap: wrap;
      }
      [data-theme="dark"] .site-footer-bottom {
        border-top: 1px solid rgba(189, 137, 74, 0.24);
      }
      .site-footer-social {
        display: inline-flex;
        align-items: center;
        gap: 0.6rem;
      }
      .site-footer-social-link {
        width: 2.2rem;
        height: 2.2rem;
        border-radius: 999px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border: 1px solid rgba(24, 33, 43, 0.14);
        background-color: rgba(255, 255, 255, 0.72);
        transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
      }
      .site-footer-social-link img {
        width: 1.3rem;
        height: 1.3rem;
        object-fit: contain;
      }
      .site-footer-social-link:hover,
      .site-footer-social-link:focus-visible {
        transform: translateY(-2px);
        border-color: rgba(189, 137, 74, 0.8);
        box-shadow: 0 8px 18px rgba(24, 33, 43, 0.15);
      }
      [data-theme="dark"] .site-footer-social-link {
        border-color: rgba(189, 137, 74, 0.32);
        background-color: rgba(17, 24, 33, 0.9);
      }
      .site-footer-small {
        font-size: 0.9rem;
        line-height: 1.5;
      }
      .legal-page main {
        padding-top: calc(var(--nav-height) + 1rem);
      }
      .legal-section {
        padding: 2rem 0 4rem;
      }
      .legal-intro {
        max-width: 760px;
        margin: 0 auto 2rem;
      }
      .legal-kicker {
        color: #bd894a;
        text-transform: uppercase;
        letter-spacing: 0.14em;
        font-weight: 700;
      }
      .legal-title {
        font-size: clamp(2.4rem, 5vw, 4rem);
        font-family: "Teko", "Oswald", "Arial Narrow", sans-serif;
        letter-spacing: 0.04em;
      }
      .legal-lead {
        margin-top: 0.9rem;
        color: var(--text-soft);
        line-height: 1.7;
      }
      .legal-card {
        max-width: 880px;
        margin: 0 auto;
        padding: clamp(1.6rem, 3vw, 2.4rem);
        border-radius: 28px;
        background: rgba(255, 255, 255, 0.92);
        box-shadow: 0 18px 44px rgba(15, 20, 27, 0.08);
        border: 1px solid rgba(24, 33, 43, 0.08);
      }
      [data-theme="dark"] .legal-card {
        background: rgba(20, 27, 36, 0.92);
        border-color: rgba(189, 137, 74, 0.14);
      }
      .legal-card h2 {
        margin: 0 0 0.7rem;
        font-size: clamp(1.35rem, 2vw, 1.6rem);
      }
      .legal-card p + h2 {
        margin-top: 1.6rem;
      }
      .legal-card p {
        margin: 0;
        line-height: 1.8;
      }
      .legal-card ul {
        margin: 0.6rem 0 0;
        padding-left: 1.2rem;
      }
      .legal-card li {
        margin: 0 0 0.55rem;
        line-height: 1.75;
      }
      .legal-card li:last-child {
        margin-bottom: 0;
      }
      .legal-card .legal-inline-note {
        margin-top: 0.7rem;
        color: var(--text-soft);
      }
      .legal-card a {
        color: #bd894a;
        font-weight: 700;
      }
      .cookie-policy-open-btn {
        border: 1px solid #bd894a;
        color: #bd894a;
        background: transparent;
        border-radius: 999px;
        font-weight: 700;
        padding: 0.45rem 1rem;
      }
      .cookie-policy-open-btn:hover {
        background: rgba(189, 137, 74, 0.12);
      }
      .iubenda-legal-card {
        text-align: center;
      }
      .iubenda-legal-actions {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        gap: 0.85rem;
        margin-top: 1rem;
      }
      .cookie-policy-open-btn:focus-visible {
        outline: 2px solid rgba(189, 137, 74, 0.85);
        outline-offset: 2px;
      }
      .discipline-detail-page {
        min-height: 100vh;
        background: var(--story-bg);
        color: var(--text-main);
      }
      .discipline-detail-hero {
        min-height: 100vh;
        display: flex;
        align-items: center;
        padding: 2rem 0;
      }
      .discipline-detail-box {
        background: var(--panel-bg);
        border-radius: 20px;
        padding: 2rem;
        box-shadow: 0 18px 36px rgba(24, 33, 43, 0.12);
      }
      .discipline-detail-tag {
        color: #bd894a;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        font-size: 0.78rem;
      }
      .discipline-detail-title {
        margin-top: 0.6rem;
        margin-bottom: 1rem;
        font-size: clamp(1.8rem, 4vw, 2.7rem);
      }
      .discipline-detail-text {
        color: var(--text-soft);
        line-height: 1.6;
        margin-bottom: 1.2rem;
      }
      .discipline-detail-media {
        width: 100%;
        border-radius: 16px;
        object-fit: cover;
        min-height: 340px;
        max-height: 460px;
      }
      .discipline-detail-link {
        color: var(--text-main);
        text-decoration: none;
        font-weight: 600;
      }
      .discipline-detail-link:hover {
        text-decoration: underline;
      }
      .discipline-program-section {
        padding: 2.5rem 0 4rem;
      }
      .discipline-page-toolbar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 1rem;
        margin-bottom: 1.25rem;
      }
      .discipline-page-heading {
        font-size: clamp(1.8rem, 3.6vw, 2.6rem);
      }
      .discipline-page-actions {
        display: flex;
        align-items: center;
        gap: 0.6rem;
      }
      .discipline-back-btn {
        border-color: #bd894a;
        color: #bd894a;
      }
      .discipline-back-btn:hover {
        background: #bd894a;
        color: #11161c;
      }
      .discipline-program-card {
        background: var(--panel-bg);
        border-radius: 20px;
        padding: 1.4rem;
        box-shadow: 0 18px 36px rgba(24, 33, 43, 0.12);
        margin-bottom: 1.5rem;
      }
      .discipline-gallery-card {
        padding: 0.6rem;
      }
      .discipline-program-title {
        margin: 0 0 1rem;
        font-size: clamp(1.4rem, 2.5vw, 2rem);
      }
      .discipline-gallery {
        border-radius: 16px;
        overflow: hidden;
      }
      .discipline-gallery img {
        width: 100%;
        aspect-ratio: 21 / 9;
        height: auto;
        object-fit: cover;
      }
      .discipline-schedule-list {
        margin: 0;
        padding: 0;
        list-style: none;
      }
      .discipline-schedule-item {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0.2rem;
        padding: 0.7rem 0;
        border-bottom: 1px solid var(--panel-muted);
      }
      .discipline-schedule-item:last-child {
        border-bottom: 0;
      }
      .discipline-schedule-time {
        font-weight: 700;
      }
      .discipline-schedule-group {
        color: var(--text-soft);
      }
      .discipline-description-text {
        margin: 0;
        color: var(--text-soft);
        line-height: 1.5;
        font-size: 0.98rem;
      }
      .discipline-location-text {
        color: var(--text-soft);
        margin-bottom: 0.8rem;
      }
      .discipline-map-disclaimer {
        margin: 0 0 0.7rem;
        color: var(--text-soft);
        font-size: 0.92rem;
      }
      .discipline-map {
        display: block;
        width: 100%;
        min-height: 320px;
        border: 0;
        border-radius: 14px;
      }
      @media (max-width: 991.98px) {
        .navbar {
          width: 94%;
          top: 0.45rem;
          border-radius: 16px;
        }
        .story-layout {
          min-height: auto;
        }
        .story-image {
          position: static;
          transform: none;
          width: 100%;
          margin-bottom: 1rem;
          display: none;
        }
        .story-panel {
          margin-left: 0;
          min-height: auto;
          padding: 2rem 1.25rem;
        }
        .disciplines-section {
          padding: 3rem 0;
        }
        .maestri-section {
          padding: 3.5rem 0 4rem;
          background: #f2f4f7;
        }
        [data-theme="dark"] .maestri-section {
          background: #121920;
        }
        .maestri-intro {
          margin-bottom: 1.4rem;
        }
        .maestri-grid {
          grid-template-columns: 1fr;
          grid-template-areas:
            "image"
            "bio";
          gap: 1.2rem;
        }
        .maestro-portrait-frame {
          width: min(360px, 100%);
          margin: 0 auto;
        }
        .maestro-bio-card {
          padding: 1.4rem 1.2rem 1.5rem;
        }
        .notizie-section {
          padding: 3.3rem 0 3.8rem;
        }
        .notizie-intro {
          margin-bottom: 1.4rem;
        }
        .notizia-card {
          padding: 1.25rem;
        }
        .eventi-hero-section {
          padding: 1.5rem 0 1.35rem;
        }
        .contact-section {
          padding: 1.5rem 0 3.5rem;
        }
        .contact-intro {
          margin-bottom: 1.4rem;
        }
        .contact-layout {
          grid-template-columns: 1fr;
        }
        .contact-card {
          padding: 1.3rem 1.2rem;
        }
        .contact-form-actions {
          align-items: flex-start;
        }
        .site-footer-grid {
          grid-template-columns: 1fr;
          gap: 1.1rem;
        }
        .site-footer {
          padding: 2rem 0 1rem;
          text-align: center;
        }
        .site-footer-grid > div {
          display: flex;
          flex-direction: column;
          align-items: center;
          padding-bottom: 0.95rem;
          border-bottom: 1px solid rgba(24, 33, 43, 0.1);
        }
        [data-theme="dark"] .site-footer-grid > div {
          border-bottom: 1px solid rgba(189, 137, 74, 0.2);
        }
        .site-footer-grid > div:last-child {
          padding-bottom: 0;
          border-bottom: 0;
        }
        .site-footer-title {
          font-size: clamp(1.65rem, 9vw, 2.3rem);
        }
        .site-footer-kicker,
        .site-footer-heading {
          margin-bottom: 0.55rem;
        }
        .site-footer-text,
        .site-footer-muted {
          font-size: 1rem;
        }
        .site-footer-text {
          margin-inline: auto;
        }
        .site-footer-list {
          gap: 0.4rem;
          justify-items: center;
        }
        .site-footer-link {
          font-size: 1.02rem;
        }
        .site-footer-bottom {
          margin-top: 1.1rem;
          padding-top: 0.8rem;
          justify-content: center;
          flex-direction: column;
          gap: 0.8rem;
        }
        .site-footer-social-link {
          width: 2.15rem;
          height: 2.15rem;
        }
        .discipline-map {
          min-height: 240px;
        }
        .eventi-section-intro {
          margin-bottom: 1.25rem;
        }
        .eventi-hero-shell {
          border-radius: 24px;
          padding: 1.2rem;
        }
        .eventi-hero-grid {
          grid-template-columns: 1fr;
          gap: 1.4rem;
        }
        .eventi-copy {
          max-width: none;
        }
        .eventi-lead {
          max-width: none;
        }
        .eventi-poster-stack {
          width: 100%;
          margin: 0 auto;
        }
        .eventi-poster-frame {
          min-height: 0;
          padding: 0.45rem;
          border-radius: 22px;
        }
        .eventi-poster-image {
          width: 100%;
          max-height: none;
          border-radius: 16px;
        }
        .eventi-carousel-nav {
          margin-top: 0.8rem;
        }
        .eventi-carousel-footer {
          flex-direction: column;
          align-items: flex-start;
          padding: 0.9rem 0 0;
        }
        .eventi-carousel-indicators {
          justify-content: flex-start;
        }
        .eventi-carousel .carousel-control-prev,
        .eventi-carousel .carousel-control-next {
          width: 56px;
        }
        .discipline-slide {
          min-height: 500px;
        }
        .discipline-card {
          left: 1rem;
          right: 1rem;
          width: auto;
          bottom: 1rem;
          padding: 1.2rem;
        }
        .discipline-level {
          font-size: 1rem;
        }
        .discipline-name {
          font-size: 1.8rem;
        }
        .discipline-line {
          width: 130px;
        }
        .discipline-text {
          font-size: 0.98rem;
        }
        .discipline-button {
          margin-top: 0.9rem;
        }
        .disciplines-carousel .carousel-control-prev,
        .disciplines-carousel .carousel-control-next {
          display: flex;
          width: 44px;
          opacity: 1;
        }
        .disciplines-carousel .carousel-control-prev {
          left: 0.5rem;
        }
        .disciplines-carousel .carousel-control-next {
          right: 0.5rem;
        }
        .hero-carousel .carousel-control-prev,
        .hero-carousel .carousel-control-next {
          width: 56px;
          opacity: 1;
        }
        .discipline-gallery .carousel-control-prev,
        .discipline-gallery .carousel-control-next {
          width: 56px;
          opacity: 1;
        }
        .hero-carousel .carousel-control-prev-icon,
        .hero-carousel .carousel-control-next-icon {
          width: 44px;
          height: 44px;
          border-radius: 999px;
          background-color: rgba(17, 22, 28, 0.62);
          background-size: 58% 58%;
        }
        .discipline-gallery .carousel-control-prev-icon,
        .discipline-gallery .carousel-control-next-icon {
          width: 44px;
          height: 44px;
          border-radius: 999px;
          background-color: rgba(17, 22, 28, 0.62);
          background-size: 58% 58%;
        }
        .discipline-detail-box {
          padding: 1.2rem;
        }
        .discipline-detail-media {
          min-height: 240px;
        }
        .discipline-page-toolbar {
          flex-direction: column;
          align-items: flex-start;
        }
        .discipline-gallery img {
          aspect-ratio: 18 / 9;
        }
      }
      @media (max-width: 991.98px) and (orientation: portrait) {
        .navbar.fixed-top {
          position: static !important;
          width: 100%;
          max-width: none;
          left: 0;
          right: 0;
          top: 0;
          transform: none;
          border-radius: 0;
          margin: 0;
        }
        .discipline-detail-page main {
          padding-top: 0;
        }
        .contact-page main {
          padding-top: 0;
        }
        .eventi-page main {
          padding-top: 0;
        }
        .discipline-detail-page .discipline-program-section {
          padding-top: 1rem;
        }
        .story-section {
          padding-top: 1.25rem;
          padding-bottom: 3rem;
        }
        .disciplines-section {
          padding-top: 1.75rem;
        }
        .story-layout {
          display: flex;
          flex-direction: column;
        }
        .story-panel {
          order: 1;
        }
        .hero-carousel,
        .hero-carousel .carousel-item,
        .hero-carousel .carousel-item img {
          height: clamp(230px, 56vw, 420px);
        }
        .hero-center-copy {
          width: min(96%, 360px);
          gap: 0.55rem;
        }
        .hero-center-copy::before {
          width: min(360px, 96%);
          height: clamp(118px, 33vw, 180px);
          filter: blur(8px);
          transform: scale(1.03);
        }
        .hero-title-row {
          gap: 0.55rem;
        }
        .hero-title-line {
          max-width: 74px;
          flex: 1 1 0;
        }
        .hero-main-title {
          font-size: clamp(1.5rem, 7.2vw, 2rem);
          letter-spacing: 0.045em;
        }
        .hero-main-subtitle {
          max-width: 320px;
          font-size: clamp(0.98rem, 4.4vw, 1.25rem);
        }
        .eventi-title {
          font-size: clamp(2rem, 12vw, 2.8rem);
        }
        .eventi-page-title {
          font-size: clamp(2.1rem, 13vw, 3rem);
        }
        .contact-title {
          font-size: clamp(2.1rem, 13vw, 3rem);
        }
        .eventi-badges {
          gap: 0.55rem;
        }
        .eventi-badge {
          width: 100%;
          justify-content: center;
        }
        .eventi-carousel-indicators [data-bs-target] {
          width: 42px;
        }
      }
      @media (orientation: portrait) {
        .story-image {
          display: none;
        }
      }
      @media (max-width: 650px) {
        .hero-main-title {
          letter-spacing: 0.065em;
        }
      }
      @media (prefers-reduced-motion: reduce) {
        .reveal-up {
          opacity: 1;
          transform: none;
          transition: none;
        }
      }

