* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

body {
    font-family: 'DM Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #f8f7ff;
    color: #1e1b4b
}

/* Top header: EasyYogi logo on white - same on provider and event pages */
.public-header {
    background: #fff;
    width: 100%;
    flex-shrink: 0;
    border-bottom: 1px solid rgba(30, 27, 75, 0.08)
}

.public-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 16px
}

.public-header-events-link {
    margin-left: auto;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 600;
    color: #7c3aed;
    background: #f5f3ff;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s, color 0.2s
}

.public-header-events-link:hover {
    background: #ede9fe;
    color: #6d28d9
}

.public-header-events-link:focus-visible {
    outline: 2px solid #7c3aed;
    outline-offset: 2px
}

.public-header-logo-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none
}

.public-header-logo {
    height: 32px;
    width: auto;
    display: block
}

/* Logo on white: keep dark purple (no invert) */
.public-header .public-header-logo {
    filter: none
}

/* ----- Fixed left share bar (Facebook, X, LinkedIn, WhatsApp) ----- */
.share-bar {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 40;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 8px;
    background: #fff;
    border-radius: 0 12px 12px 0;
    box-shadow: 2px 2px 12px rgba(30, 27, 75, 0.12);
    border: 1px solid rgba(30, 27, 75, 0.06);
    border-left: 0
}

.share-bar-links {
    display: flex;
    flex-direction: column;
    gap: 6px
}

.share-bar-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    color: #1e1b4b;
    background: #f5f3ff;
    transition: background 0.2s, color 0.2s, transform 0.15s
}

.share-bar-btn:hover {
    background: #ede9fe;
    color: #5b21b6;
    transform: scale(1.05)
}

.share-bar-btn:focus-visible {
    outline: 2px solid #7c3aed;
    outline-offset: 2px
}

.share-bar-icon {
    width: 20px;
    height: 20px
}

@media (max-width: 768px) {
    .share-bar {
        left: 0;
        top: auto;
        bottom: 20px;
        transform: none;
        flex-direction: row;
        padding: 8px 12px;
        border-radius: 12px;
        border: 1px solid rgba(30, 27, 75, 0.06)
    }

    .share-bar-links {
        flex-direction: row;
        gap: 4px
    }
}

/* Allarga il main del layout pubblico per la pagina evento (non .page-body teacher) */
main[role="main"] {
    max-width: none;
    width: 100%;
    padding: 0;
    margin: 0
}

main[role="main"]>div:not(.page-body) {
    max-width: none;
    width: 100%;
    padding: 0;
    margin: 0
}

/* ----- Event page ----- */
.event-page {
    padding-bottom: env(safe-area-inset-bottom, 0)
}

.event-back-nav {}

.event-back-link {
    text-align: center;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    z-index: 10;
    display: block;
    padding: 12px 20px;
    transition: background 0.2s, color 0.2s;
    background: #7c3aed30;
    border-radius: 8px;
}

.event-back-link:hover {
    color: #7c3aed;
    background: #7c3aed10;
}

.event-back-link:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px
}

.event-back-icon {
    font-size: 16px;
    line-height: 1;
    position: relative;
    top: 1px;
}

/* ----- Event page hero ----- */
.hero {
    position: relative;
    width: 100%;
    min-height: 280px;
    height: 42vh;
    max-height: 520px;
    overflow: hidden
}

@media (min-width: 640px) {
    .hero {
        min-height: 360px;
        height: 420px
    }
}

.hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(13, 13, 26, 0.4) 0%, rgba(13, 13, 26, 0.75) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding: 32px 20px 36px
}

@media (min-width: 640px) {
    .hero-overlay {
        padding: 40px 24px 44px
    }
}

.hero-badge {
    background: rgba(124, 58, 237, 0.85);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 14px
}

.hero-title {
    font-family: 'Fraunces', serif;
    font-size: clamp(1.5rem, 5vw + 1rem, 2.375rem);
    font-weight: 700;
    color: #fff;
    text-align: center;
    line-height: 1.2;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5)
}

.hero-date {
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px
}

.hero-teacher {
    margin-top: 14px;
    display: flex;
    justify-content: center
}

.hero-teacher-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(10px);
    text-decoration: none;
    transition: background 0.2s
}

.hero-teacher-link:hover {
    background: rgba(15, 23, 42, 0.85)
}

.hero-teacher-link:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px
}

.hero-teacher-avatar {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    border: 2px solid rgba(255, 255, 255, 0.85);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center
}

.hero-teacher-avatar .avatar {
    width: 100%;
    height: 100%
}

.hero-teacher-text {
    display: flex;
    flex-direction: column
}

.hero-teacher-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(248, 250, 252, 0.8)
}

.hero-teacher-name {
    font-size: 13px;
    font-weight: 600;
    color: #fff
}

/* ----- Teacher/Provider page hero (reference style) ----- */
.teacher-hero {
    position: relative;
    width: 100%;
    min-height: 420px;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 18px 20px;
}

.teacher-hero-content {
    position: relative;
    z-index: 3;
    max-width: 920px;
    margin: 0 auto;
    width: 100%;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center
}

.teacher-hero-card {
    width: 100%;
    max-width: 620px;
    border-radius: 18px;
    padding: 18px 18px;
    background: linear-gradient(170deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.04) 100%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(6px);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.18);
}


.teacher-hero-card .bio-box-social-label {
    color: rgba(255, 255, 255, 0.76);
}

.teacher-hero-card .spec-item {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #fff;
}

.teacher-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 6px 12px;
    margin-bottom: 10px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.96);
    background: rgba(15, 23, 42, 0.24);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.teacher-photo {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.92);
    object-fit: cover;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.26)
}

.teacher-photo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(124, 58, 237, 0.9);
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    font-family: 'Fraunces', serif
}

.teacher-name {
    font-family: 'Fraunces', serif;
    font-size: clamp(1.8rem, 1.2rem + 1.5vw, 2.35rem);
    font-weight: 700;
    color: #fff;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.35);
    margin-bottom: 6px
}

.teacher-subtitle {
    color: rgba(255, 255, 255, 0.88);
    font-size: 15px;
    line-height: 1.6;
    max-width: 520px;
    margin: 0 auto 12px
}

.teacher-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 14px
}

.badge {
    font-size: 11px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 20px
}

.badge-green {
    background: rgba(22, 163, 74, 0.9);
    color: #fff
}

.badge-purple {
    background: rgba(124, 58, 237, 0.44);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #fff
}

.teacher-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    background: rgba(15, 23, 42, 0.18);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 14px;
    padding: 10px 14px
}

.stat {
    text-align: center
}

.stat-num {
    font-size: 25px;
    font-weight: 700;
    color: #fff;
    font-family: 'Fraunces', serif
}

.stat-label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.76);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-top: 2px
}

.stat-divider {
    width: 1px;
    height: 34px;
    background: rgba(255, 255, 255, 0.22)
}



/* ----- Page body (provider page content below hero) ----- */
.page-body {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 20px 56px
}

.page-body--with-aside {
    max-width: 1180px;
}

.provider-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr);
    gap: 24px;
    align-items: start;
    margin: 24px;
}

.provider-main-column {
    min-width: 0;
}

.provider-aside-column {
    min-width: 0;
    position: sticky;
    top: 24px;
    align-self: start;
}

@media (max-width: 768px) {
    .teacher-hero {
        min-height: 460px;
        padding: 16px 14px;
    }

    .teacher-hero-card {
        border-radius: 16px;
        padding: 14px 12px;
    }

    .teacher-stats {
        width: 100%;
        gap: 14px;
        justify-content: space-between;
    }

    .stat-num {
        font-size: 22px;
    }

    .stat-label {
        font-size: 10px;
        letter-spacing: 0.06em;
    }

    .provider-layout {
        grid-template-columns: 1fr;
    }

    .provider-aside-sticky {
        position: static;
    }

    .provider-main-column {
        order: 2;
    }

    .provider-aside-column {
        order: 1;
        position: relative;
        margin-bottom: 48px;
    }
}



/* Provider sidebar profile card (reference: modern profile UI) */
.provider-profile-card {
    position: relative;
    background: #fff;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(30, 27, 75, 0.1), 0 2px 10px rgba(30, 27, 75, 0.06);
    border: 1px solid rgba(30, 27, 75, 0.06);
}

.provider-profile-header {
    position: relative;
    height: 96px;
    border-radius: 28px 28px 0 0;
    overflow: hidden;
}

.provider-profile-sky {
    position: absolute;
    inset: 0;
    background: linear-gradient(165deg, #c4e4ff 0%, #e8f4ff 45%, #f0f7ff 100%);
}

.provider-profile-sky--2 {
    background: linear-gradient(165deg, #b8d9ff 0%, #ddefff 50%, #f5f9ff 100%);
}

.provider-profile-sky--3 {
    background: linear-gradient(175deg, #dbeafe 0%, #eff6ff 40%, #f8fafc 100%);
}

.provider-profile-sky--4 {
    background:
        radial-gradient(90% 80% at 90% 20%, rgba(167, 139, 250, 0.35) 0%, transparent 55%),
        linear-gradient(165deg, #bfdbfe 0%, #e0f2fe 50%, #f8fafc 100%);
}

.provider-profile-follow {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 600;
    color: #111827;
    background: #fff;
    border-radius: 999px;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.12);
    border: 1px solid rgba(15, 23, 42, 0.06);
    transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.provider-profile-follow:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.14);
}

.provider-profile-follow:focus-visible {
    outline: 2px solid #7c3aed;
    outline-offset: 2px;
}

.provider-profile-follow--muted {
    cursor: default;
    opacity: 0.55;
    pointer-events: none;
}

.provider-profile-body {
    padding: 0 20px 4px;
    position: relative;
}

.provider-profile-identity {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-top: -40px;
    position: relative;
    z-index: 2;
    padding-bottom: 4px;
}

.provider-profile-avatar-wrap {
    flex-shrink: 0;
}

.provider-profile-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.15);
    display: block;
}

.provider-profile-avatar-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    color: #fff;
    font-family: 'Fraunces', serif;
    font-size: 22px;
    font-weight: 700;
}

.provider-profile-identity-main {
    flex: 1;
    min-width: 0;
    padding-top: 12px;
}


.provider-profile-name {
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: #111827;
    line-height: 1.2;
    margin: 0 0 2px;
    text-align: left;
}

.provider-profile-role {
    margin: 0;
    font-size: 12px;
    font-weight: 600;
    color: #7c3aed;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    text-align: left;
}

.provider-profile-tagline {
    margin: 12px 0 0;
    font-size: 14px;
    line-height: 1.55;
    color: #6b7280;
    text-align: left;
}

.provider-profile-bio {
    margin-top: 12px;
    text-align: left;
}

.provider-profile-bio p {
    font-size: 14px;
    line-height: 1.65;
    color: #4b5563;
    margin: 0 0 0.5em;
}

.provider-profile-bio p:last-child {
    margin-bottom: 0;
}

.provider-profile-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 12px;
}

.provider-profile-chip {
    display: inline-flex;
    align-items: center;
    font-size: 11px;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 999px;
    background: #f5f3ff;
    color: #5b21b6;
    border: 1px solid rgba(124, 58, 237, 0.15);
}

.provider-profile-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 18px;
    padding: 16px 0;
    border-top: 1px solid #f3f4f6;
    gap: 0;
}

.provider-profile-stat {
    text-align: center;
    border-right: 1px solid #f3f4f6;
    padding: 6px;
}

.provider-profile-stat:last-child {
    border-right: none;
}

.provider-profile-stat--link {
    text-decoration: none;
    display: block;
    border-radius: 12px;
    transition: background 0.15s ease, transform 0.15s ease;
}

.provider-profile-stat--link:hover {
    background: rgba(124, 58, 237, 0.06);
    transform: translateY(-1px);
}

.provider-profile-stat--link:focus-visible {
    outline: 2px solid #7c3aed;
    outline-offset: 2px;
}

.provider-profile-stat--disabled {
    opacity: 0.5;
}

.provider-profile-stat-num {
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: #111827;
    line-height: 1.1;
    color: #7c3aed;
}

.provider-profile-stat-label {
    margin-top: 4px;
    font-size: 11px;
    font-weight: 500;
    color: #9ca3af;
    text-transform: capitalize;
}

.provider-profile-social {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin: 0 -20px -4px;
    padding: 14px 12px;
    background: #f9fafb;
    border-top: 1px solid #f3f4f6;
    border-radius: 0 0 28px 28px;
}

.provider-profile-social-cell {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    color: #111827;
    text-decoration: none;
    transition: color 0.15s ease, background 0.15s ease;
}

.provider-profile-social-cell:not(:last-child) {
    border-right: 1px solid #e5e7eb;
}

.provider-profile-social-cell:not(.provider-profile-social-cell--empty):hover {
    color: #7c3aed;
    background: rgba(124, 58, 237, 0.06);
}

.provider-profile-social-cell:focus-visible {
    outline: 2px solid #7c3aed;
    outline-offset: -2px;
    z-index: 1;
}

.provider-profile-social-cell--empty {
    pointer-events: none;
}

.provider-profile-social-icon {
    width: 22px;
    height: 22px;
}

@media (max-width: 768px) {
    .provider-profile-header {
        height: 88px;
    }

    .provider-profile-identity-main {
        padding-top: 40px;
    }

    .provider-profile-name {
        font-size: 1.2rem;
    }
}

.event-container {
    max-width: 680px;
    margin: 0 auto;
    padding: 0 20px
}

.provider-page {
    padding: 32px 0 40px
}

.section-card {
    background: #fff;
    border-radius: 16px;
    padding: 26px;
    margin: 26px 0;
    box-shadow: 0 2px 12px rgba(30, 27, 75, 0.07)
}

.section-title {
    font-family: 'Fraunces', serif;
    font-size: 20px;
    color: #1e1b4b;
    margin-bottom: 14px;
    flex-grow: 1;
    text-align: left;
}

.bio-text {
    font-size: 14px;
    line-height: 1.8;
    color: #4b5563;
    margin-bottom: 20px
}

.bio-box .bio-text--large {
    font-size: 14px;
    line-height: 1.75;
    color: #374151;
}

.bio-box-header {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bio-box-icon {
    font-size: 20px;
    line-height: 1;
}


.bio-box-social-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #6b7280;
    margin-bottom: 8px;
    display: block;
}

.teacher-photo-wrap {
    margin-bottom: 14px
}

.section-list {
    margin: 0px 0px 48px 0px;
}

.section-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 16px;
}

.section-title-lg {
    font-family: 'Fraunces', serif;
    font-size: 22px;
    color: #1e1b4b
}

.events-count {
    font-size: 13px;
    color: #9ca3af
}

.specialties {
    display: flex;
    flex-wrap: wrap;
    gap: 10px
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 7px;
    background: #f5f3ff;
    color: #5b21b6;
    font-size: 13px;
    font-weight: 500;
    padding: 7px 14px;
    border-radius: 8px;
    text-decoration: none
}

.spec-item .spec-icon {
    font-size: 15px
}

.event-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 14px rgba(30, 27, 75, 0.09);
    margin-bottom: 24px
}

.event-img-wrap {
    position: relative;
    height: 210px;
    overflow: hidden;
}

.event-img-wrap img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    border-radius: 16px;
}

.event-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(124, 58, 237, 0.9);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px
}

.event-body {
    padding: 16px 0;
}

.event-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px
}

.event-date {
    font-size: 13px;
    font-weight: 500;
    color: #6b7280
}

.event-title {
    font-family: 'Fraunces', serif;
    font-size: 20px;
    color: #1e1b4b;
    margin-bottom: 6px
}

.event-title-link {
    text-decoration: none;
    color: inherit
}

.event-title-link:hover {
    text-decoration: underline
}

.event-desc {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 18px
}

.event-footer {
    display: flex;
    align-items: center;
    justify-content: space-between
}

.event-footer .btn-event {
    margin-left: auto;
}

.event-price {
    font-size: 24px;
    font-weight: 700;
    color: #7c3aed;
    font-family: 'Fraunces', serif
}

.btn-event {
    background: linear-gradient(135deg, #7c3aed, #9333ea);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 3px 12px rgba(124, 58, 237, 0.3);
    text-decoration: none
}

.provider-events-empty {
    font-size: 14px;
    color: #6b7280;
    margin-top: 12px
}

.gallery-wrap {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    margin: 24px auto 24px;
    max-width: 680px;
    box-shadow: 0 2px 12px rgba(30, 27, 75, 0.07)
}

.gallery-heading {
    font-family: 'Fraunces', serif;
    font-size: 18px;
    color: #1e1b4b;
    margin: 0;
    padding: 16px 16px 8px
}

.gallery-thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 12px;
    list-style: none;
}

.gallery-thumb-wrap {
    flex: 1 1 100px;
}

.event-gallery-thumb-btn {
    display: block;
    width: 100%;
    height: 90px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    overflow: hidden;
    background: #f1f0f9;
    transition: border-color 0.2s, transform 0.15s ease
}

.event-gallery-thumb-btn:hover {
    border-color: #7c3aed;
    transform: translateY(-1px)
}

.event-gallery-thumb-btn:focus-visible {
    outline: none;
    border-color: #7c3aed;
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.25)
}

.event-gallery-thumb-btn .event-gallery-thumb {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover
}

.info-card {
    background: #fff;
    border-radius: 16px;
    padding: 22px 24px;
    margin: 0 auto 24px;
    max-width: 680px;
    box-shadow: 0 2px 12px rgba(30, 27, 75, 0.07)
}

.info-row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid #f1f0f9
}

.info-row:last-child {
    border-bottom: none
}

.info-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: #f5f3ff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 17px
}

.info-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #9ca3af;
    margin-bottom: 2px
}

.info-value {
    font-size: 14px;
    color: #1e1b4b;
    font-weight: 500
}

.desc-card {
    background: #fff;
    border-radius: 16px;
    padding: 22px 24px;
    margin: 24px auto;
    max-width: 680px;
    box-shadow: 0 2px 12px rgba(30, 27, 75, 0.07)
}

.desc-card h3,
.desc-card-title {
    font-family: 'Fraunces', serif;
    font-size: 18px;
    color: #1e1b4b;
    margin-bottom: 10px
}

.desc-body p {
    font-size: 14px;
    line-height: 1.7;
    color: #4b5563
}

.desc-meta {
    margin-top: 16px;
    border-top: 1px solid #f1f0f9;
    padding-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px
}

.desc-meta-row {
    display: flex;
    align-items: flex-start;
    gap: 10px
}



.desc-meta-text {
    display: flex;
    flex-direction: column
}

.desc-meta-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #9ca3af
}

.desc-meta-value {
    font-size: 13px;
    color: #1e1b4b;
    font-weight: 500
}

.spots-bar {
    max-width: 680px;
    margin: 0 auto 24px;
    background: #fff;
    border-radius: 16px;
    padding: 16px 24px;
    box-shadow: 0 2px 12px rgba(30, 27, 75, 0.07);
    display: flex;
    align-items: center;
    justify-content: space-between
}

.spots-text {
    font-size: 13px;
    color: #6b7280
}

.spots-text strong {
    color: #dc2626
}

.spots-progress {
    width: 140px;
    height: 7px;
    background: #f1f0f9;
    border-radius: 4px;
    overflow: hidden
}

.spots-fill {
    height: 100%;
    width: 70%;
    background: linear-gradient(to right, #7c3aed, #a855f7);
    border-radius: 4px
}

.booking-bar {
    max-width: 680px;
    margin: 24px auto 48px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(30, 27, 75, 0.07);
    scroll-margin-top: 24px
}

@media (max-width: 639px) {
    .event-container {
        padding-bottom: 100px
    }

    .booking-bar {
        position: sticky;
        bottom: 0;
        left: 0;
        right: 0;
        max-width: none;
        margin: 24px 0 0;
        border-radius: 16px 16px 0 0;
        box-shadow: 0 -4px 20px rgba(30, 27, 75, 0.1);
        padding-bottom: calc(16px + env(safe-area-inset-bottom, 0))
    }
}

.price-label {
    font-size: 11px;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 1px
}

.price-amount {
    font-size: 30px;
    font-weight: 700;
    color: #7c3aed;
    font-family: 'Fraunces', serif
}

.price-amount span {
    font-size: 17px
}

.btn-prenota {
    background: linear-gradient(135deg, #7c3aed, #9333ea);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 14px 36px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 18px rgba(124, 58, 237, 0.35);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.15s ease, box-shadow 0.2s ease
}

.btn-prenota:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 22px rgba(124, 58, 237, 0.4)
}

.btn-prenota:focus-visible {
    outline: 2px solid #1e1b4b;
    outline-offset: 2px
}

.booking-bar-cta {
    margin-left: auto
}

/* Lightbox */
body.event-lightbox-open {
    overflow: hidden
}

.event-lightbox {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center
}

.event-lightbox.is-hidden {
    display: none
}

.event-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.85)
}

.event-lightbox-image {
    position: relative;
    max-width: 90%;
    max-height: 80%;
    border-radius: 16px;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.7);
    z-index: 1
}

.event-lightbox-close,
.event-lightbox-prev,
.event-lightbox-next {
    position: absolute;
    z-index: 2;
    background: rgba(15, 23, 42, 0.7);
    border: none;
    color: #f9fafb;
    border-radius: 999px;
    min-width: 44px;
    min-height: 44px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    transition: background 0.2s
}

.event-lightbox-close:hover,
.event-lightbox-prev:hover,
.event-lightbox-next:hover {
    background: rgba(15, 23, 42, 0.9)
}

.event-lightbox-close:focus-visible,
.event-lightbox-prev:focus-visible,
.event-lightbox-next:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px
}

.event-lightbox-close {
    top: 20px;
    right: 20px
}

.event-lightbox-prev {
    left: 20px;
    top: 50%;
    transform: translateY(-50%)
}

.event-lightbox-next {
    right: 20px;
    top: 50%;
    transform: translateY(-50%)
}

footer {
    background: #0f0e17;
    color: #e2e8f0;
    padding: 52px 20px 32px
}

.footer-inner {
    max-width: 680px;
    margin: 0 auto
}

.footer-logo {
    font-family: 'Fraunces', serif;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 5px;
    text-align: center;
}

.footer-logo .theme-aware-svg {
    filter: invert(1) brightness(1.2)
}

.footer-logo span {
    color: #a78bfa
}

.footer-tagline {
    font-size: 13px;
    color: #9ca3af;
    margin-bottom: 32px
}

.footer-cta-box {
    background: rgba(124, 58, 237, 0.14);
    border: 1px solid rgba(124, 58, 237, 0.3);
    border-radius: 16px;
    padding: 26px;
    margin-bottom: 32px
}

.footer-cta-box h3 {
    font-family: 'Fraunces', serif;
    font-size: 20px;
    color: #fff;
    margin-bottom: 8px
}

.footer-cta-box p {
    font-size: 13px;
    color: #9ca3af;
    line-height: 1.6;
    margin-bottom: 18px
}

.btn-footer {
    background: #7c3aed;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px 26px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center
}

.footer-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 24px
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 13px
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 18px;
    font-size: 12px;
    color: #6b7280;
    display: flex;
    justify-content: space-between
}

/* ----- event-like event page layout (CSS-only, no utility classes) ----- */
.event-page {
    background: #f8f7ff;
    padding: 0 0 48px
}

.event-shell {
    max-width: 1180px;
    margin: 0 auto;
    padding: 24px 20px 0
}

.event-back-nav {
    margin-bottom: 14px
}

.event-top-nav {
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid rgba(30, 27, 75, 0.12);
    background: #fff;
    white-space: nowrap;
}

.event-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    text-decoration: none;
    color: #6b7280;
    transition: color 0.2s
}

.event-back-link:hover {
    color: #1e1b4b
}



.event-hero {
    background: #fff;
    border-radius: 18px;
    border: 1px solid rgba(30, 27, 75, 0.1);
    overflow: hidden
}

.event-hero-grid {
    display: grid;
    grid-template-columns: 1.7fr 1fr
}

.event-hero-media {
    height: 320px
}

.event-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.event-hero-content {
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.event-pill {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    background: #ede9fe;
    color: #5b21b6;
    border-radius: 999px;
    padding: 4px 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase
}

.event-hero-title {
    font-family: 'Fraunces', serif;
    font-size: 40px;
    line-height: 1.15;
    color: #1e1b4b
}

.event-hero-date {
    font-size: 15px;
    color: #4b5563
}

.event-organizer-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none
}

.event-organizer-text {
    display: flex;
    flex-direction: column
}

.event-organizer-label {
    font-size: 10px;
    text-transform: uppercase;
    color: #6b7280
}

.event-organizer-name {
    font-size: 13px;
    font-weight: 700;
    color: #1e1b4b
}

.event-content-grid {
    margin-top: 30px;
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
    gap: 28px
}

.event-main-column {
    display: flex;
    flex-direction: column;
    gap: 22px
}

.event-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid rgba(30, 27, 75, 0.1);
    padding: 16px
}

.event-section-title {
    font-family: 'Fraunces', serif;
    font-size: 30px;
    color: #1e1b4b;
    margin-bottom: 14px
}

.event-body-copy p {
    color: #4b5563;
    line-height: 1.75;
    font-size: 15px
}

.event-body-copy .trix-content a {
    color: #4f46e5;
    text-decoration: underline
}

.event-body-copy .trix-content strong,
.event-body-copy .trix-content b {
    font-weight: 700;
}

.event-body-copy .trix-content em,
.event-body-copy .trix-content i {
    font-style: italic;
}

.event-body-copy .trix-content ul,
.event-body-copy .trix-content ol {
    margin: 0.5em 0;
    padding-left: 1.5em;
}

.event-body-copy .trix-content ul {
    list-style: disc;
}

.event-body-copy .trix-content ol {
    list-style: decimal;
}

.event-body-copy .trix-content li {
    display: list-item;
    margin: 0.15em 0;
}

.event-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px
}

.event-info-tile {
    border: 1px solid rgba(30, 27, 75, 0.12);
    border-radius: 12px;
    padding: 14px
}

.event-info-tile-full {
    grid-column: span 2;
}

.event-info-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #6b7280;
    margin-bottom: 4px
}

.event-info-value {
    font-size: 15px;
    color: #1e1b4b;
    font-weight: 600
}

.event-schedule-slots {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-weight: 500
}

.event-schedule-slot-row {
    display: flex;
    flex-direction: column;
    gap: 2px
}

.event-schedule-slot-name {
    font-size: 12px;
    font-weight: 600;
    color: #4b5563;
    text-transform: uppercase;
    letter-spacing: 0.04em
}

.event-schedule-slot-text {
    font-size: 15px;
    font-weight: 600;
    color: #1e1b4b;
    line-height: 1.45
}

.event-map-wrap {
    border: 1px solid rgba(30, 27, 75, 0.12);
    border-radius: 12px;
    overflow: hidden
}

.event-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px
}

.event-gallery-btn {
    width: 100%;
    height: 118px;
    border-radius: 12px;
    border: 1px solid rgba(30, 27, 75, 0.15);
    overflow: hidden
}

.event-gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.event-aside-column {
    position: relative
}

.event-ticket-card {
    position: sticky;
    top: 24px;
    background: #fff;
    border: 1px solid rgba(30, 27, 75, 0.1);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(30, 27, 75, 0.08);
    display: flex;
    flex-direction: column;
    gap: 10px
}

.event-ticket-title {
    font-size: 24px;
    font-family: 'Fraunces', serif;
    color: #1e1b4b
}

.event-ticket-label {
    color: #6b7280;
    font-size: 13px
}

.event-ticket-price-wrap {
    display: flex;
    flex-direction: column;
    gap: 0;
    line-height: 1;
}


.event-ticket-price {
    font-family: 'Fraunces', serif;
    text-align: right;
    color: #5b21b6;
    font-size: 34px;
    font-weight: 800;
    line-height: 1;
    margin-top: 8px;
    margin-bottom: 16px;
}

.event-ticket-info {
    display: flex;
    flex-direction: column;
    gap: 10px
}

.event-ticket-value {
    font-size: 15px;
    font-weight: 600;
    color: #1e1b4b;
    line-height: 1.45
}

.event-ticket-unavailable {
    color: #6b7280;
    font-size: 14px
}

.event-ticket-button {
    margin-top: 6px;
    text-decoration: none;
    text-align: center;
    background: linear-gradient(135deg, #7c3aed, #9333ea);
    color: #fff;
    padding: 12px 18px;
    border-radius: 12px;
    font-weight: 700
}

.event-ticket-location {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(30, 27, 75, 0.1)
}

.event-ticket-location-value {
    color: #1e1b4b;
    font-size: 14px;
    font-weight: 600
}

@media (max-width: 1024px) {
    .event-hero-grid {
        grid-template-columns: 1fr
    }

    .event-content-grid {
        grid-template-columns: 1fr
    }

    .event-ticket-card {
        position: static
    }
}

@media (max-width: 768px) {
    .event-shell {
        padding-left: 14px;
        padding-right: 14px
    }

    .event-top-nav {
        flex-direction: column;
        align-items: stretch;
    }

    .event-back-link--inline {
        justify-content: center;
    }


    .event-hero-title {
        font-size: 30px
    }

    .event-section-title {
        font-size: 24px
    }

    .event-info-tile-full {
        grid-column: span 1;
    }

    .event-info-grid,
    .event-gallery-grid {
        grid-template-columns: repeat(1, minmax(0, 1fr))
    }
}