/* Programma pubblico 3° Tuning Festival — timeline + card (index + landing TF26) */

.tf-program-section {
    position: relative;
    z-index: 3;
    background: linear-gradient(180deg, rgba(8, 6, 16, 0.92) 0%, #0a0a0f 40%, #0a0a0f 100%);
    border-top: 1px solid rgba(157, 0, 255, 0.2);
    border-bottom: 1px solid rgba(157, 0, 255, 0.12);
    overflow: hidden;
}

.tf-program-section::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -20%;
    width: min(70vw, 520px);
    height: min(70vw, 520px);
    background: radial-gradient(circle, rgba(157, 0, 255, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.tf-program-head {
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
}

.tf-program-head .tf-program-eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: #00e5ff;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.tf-program-head h2 {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: clamp(1.85rem, 4.5vw, 3rem);
    letter-spacing: -0.02em;
    margin: 0 0 0.5rem;
    background: linear-gradient(105deg, #fff 0%, #d4c8ff 40%, #9d00ff 70%, #00e5ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.tf-program-head .tf-program-lead {
    color: #9a96ae;
    max-width: 640px;
    margin: 0 auto;
    font-size: 1.02rem;
    line-height: 1.55;
}

.tf-program-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
    margin-bottom: 2.75rem;
    position: relative;
}

.tf-program-pill {
    background: rgba(22, 18, 38, 0.85);
    border: 1px solid rgba(157, 0, 255, 0.28);
    border-radius: 16px;
    padding: 1.15rem 1.35rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.tf-program-pill:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 229, 255, 0.35);
    box-shadow: 0 12px 40px rgba(157, 0, 255, 0.12);
}

.tf-program-pill i {
    color: #9d00ff;
    margin-right: 0.5rem;
    opacity: 0.95;
}

.tf-program-pill strong {
    display: block;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #7d7890;
    margin-bottom: 0.35rem;
    font-weight: 600;
}

.tf-program-pill span {
    color: #e8e4f4;
    font-size: 0.98rem;
    line-height: 1.45;
}

.tf-program-days {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(1.5rem, 4vw, 2.5rem);
    align-items: start;
    position: relative;
}

.tf-program-col {
    background: rgba(14, 12, 22, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 1.5rem 1.25rem 1.75rem;
    position: relative;
    overflow: hidden;
}

.tf-program-col::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #9d00ff, #00e5ff);
    opacity: 0.9;
}

.tf-program-col--sat::before {
    background: linear-gradient(90deg, #9d00ff, #b24dff);
}

.tf-program-col--sun::before {
    background: linear-gradient(90deg, #006680, #00e5ff);
}

.tf-program-col h3 {
    font-family: 'Syne', sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
    margin: 0 0 0.35rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tf-program-col h3 .tf-program-day-date {
    font-size: 0.85rem;
    font-weight: 600;
    color: #9d00ff;
    letter-spacing: 0.06em;
}

.tf-program-col .tf-program-window {
    font-size: 0.88rem;
    color: #8a8599;
    margin-bottom: 1.25rem;
}

.tf-highlight-grid {
    margin-top: 2.1rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.2rem;
}

.tf-highlight-card {
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(160deg, rgba(20, 16, 35, 0.85) 0%, rgba(10, 10, 16, 0.94) 100%);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
    padding: 1.05rem;
}

.tf-highlight-card--exhaust {
    border-color: rgba(255, 136, 33, 0.35);
    background: linear-gradient(160deg, rgba(36, 20, 10, 0.82) 0%, rgba(12, 10, 16, 0.94) 100%);
}

.tf-highlight-copy h3 {
    margin: 0.15rem 0 0.78rem;
    font-family: 'Syne', sans-serif;
    font-size: clamp(1.08rem, 2vw, 1.4rem);
    color: #f4f1ff;
}

.tf-highlight-copy p {
    margin: 0 0 0.72rem;
    color: #cbc6da;
    font-size: 0.88rem;
    line-height: 1.55;
}

.tf-highlight-copy p:last-child {
    margin-bottom: 0.95rem;
}

.tf-highlight-eyebrow {
    margin-bottom: 0.35rem;
}

.tf-highlight-eyebrow--exhaust {
    color: #ff9f3f !important;
}

.tf-highlight-poster {
    margin: 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.35);
}

.tf-poster-open-btn {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: zoom-in;
    line-height: 0;
    position: relative;
    outline: none;
}

.tf-poster-open-btn img {
    display: block;
    width: 100%;
    height: auto;
}

.tf-poster-open-btn:hover .tf-poster-open-pill,
.tf-poster-open-btn:focus-visible .tf-poster-open-pill {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.tf-poster-open-btn:focus-visible {
    box-shadow: inset 0 0 0 3px rgba(0, 229, 255, 0.45);
}

.tf-poster-open-pill {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) scale(0.96);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.58rem 0.78rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #fff;
    background: rgba(7, 7, 14, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.26);
    opacity: 0;
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.tf-highlight-poster figcaption {
    padding: 0.62rem 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.76rem;
    text-align: center;
    color: #968fb0;
}

.tf-poster-dialog {
    padding: 0;
    border: none;
    max-width: none;
    max-height: none;
    width: min(96vw, 1040px);
    background: transparent;
    color: #fff;
}

.tf-poster-dialog::backdrop {
    background: rgba(5, 5, 10, 0.92);
    backdrop-filter: blur(8px);
}

.tf-poster-dialog-panel {
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(157, 0, 255, 0.4);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.62), 0 0 0 1px rgba(0, 0, 0, 0.5);
    background: #0c0a14;
}

.tf-poster-dialog-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.65rem 1rem;
    background: rgba(0, 0, 0, 0.55);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.tf-poster-dialog-title {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: #e8e4f4;
}

.tf-poster-dialog-close {
    width: 2.25rem;
    height: 2.25rem;
    border: 0;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
}

.tf-poster-dialog-close:hover,
.tf-poster-dialog-close:focus-visible {
    background: rgba(157, 0, 255, 0.45);
    outline: none;
}

.tf-poster-dialog-scroll {
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    max-height: min(78vh, 840px);
    padding: 0.6rem;
    text-align: center;
    background: #08060f;
}

.tf-poster-dialog-img {
    display: block;
    max-width: 100%;
    width: auto;
    height: auto;
    margin: 0 auto;
}

.tf-poster-dialog-actions {
    padding: 0.72rem 1rem 0.86rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    font-size: 0.82rem;
    color: #8f88a7;
}

.tf-program-timeline {
    position: relative;
    padding-left: 0.5rem;
}

.tf-program-timeline::before {
    content: '';
    position: absolute;
    left: 0.65rem;
    top: 0.35rem;
    bottom: 0.35rem;
    width: 2px;
    background: linear-gradient(180deg, rgba(157, 0, 255, 0.5), rgba(0, 229, 255, 0.25));
    border-radius: 2px;
}

.tf-program-slot {
    position: relative;
    padding-left: 2.15rem;
    padding-bottom: 1.15rem;
    margin-left: 0.15rem;
}

.tf-program-section.tf-reveal:not(.is-visible) .tf-program-slot {
    opacity: 0;
    transform: translateX(-10px);
}

.tf-program-section.tf-reveal.is-visible .tf-program-slot {
    opacity: 0;
    animation: tfSlotIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.tf-program-section.tf-reveal.is-visible .tf-program-col--sat .tf-program-slot:nth-child(1) {
    animation-delay: 0.04s;
}

.tf-program-section.tf-reveal.is-visible .tf-program-col--sat .tf-program-slot:nth-child(2) {
    animation-delay: 0.08s;
}

.tf-program-section.tf-reveal.is-visible .tf-program-col--sat .tf-program-slot:nth-child(3) {
    animation-delay: 0.12s;
}

.tf-program-section.tf-reveal.is-visible .tf-program-col--sat .tf-program-slot:nth-child(4) {
    animation-delay: 0.16s;
}

.tf-program-section.tf-reveal.is-visible .tf-program-col--sat .tf-program-slot:nth-child(5) {
    animation-delay: 0.2s;
}

.tf-program-section.tf-reveal.is-visible .tf-program-col--sat .tf-program-slot:nth-child(6) {
    animation-delay: 0.24s;
}

.tf-program-section.tf-reveal.is-visible .tf-program-col--sat .tf-program-slot:nth-child(7) {
    animation-delay: 0.28s;
}

.tf-program-section.tf-reveal.is-visible .tf-program-col--sat .tf-program-slot:nth-child(8) {
    animation-delay: 0.32s;
}

.tf-program-section.tf-reveal.is-visible .tf-program-col--sun .tf-program-slot:nth-child(1) {
    animation-delay: 0.06s;
}

.tf-program-section.tf-reveal.is-visible .tf-program-col--sun .tf-program-slot:nth-child(2) {
    animation-delay: 0.1s;
}

.tf-program-section.tf-reveal.is-visible .tf-program-col--sun .tf-program-slot:nth-child(3) {
    animation-delay: 0.14s;
}

.tf-program-section.tf-reveal.is-visible .tf-program-col--sun .tf-program-slot:nth-child(4) {
    animation-delay: 0.18s;
}

.tf-program-section.tf-reveal.is-visible .tf-program-col--sun .tf-program-slot:nth-child(5) {
    animation-delay: 0.22s;
}

.tf-program-section.tf-reveal.is-visible .tf-program-col--sun .tf-program-slot:nth-child(6) {
    animation-delay: 0.26s;
}

.tf-program-section.tf-reveal.is-visible .tf-program-col--sun .tf-program-slot:nth-child(7) {
    animation-delay: 0.3s;
}

.tf-program-section.tf-reveal.is-visible .tf-program-col--sun .tf-program-slot:nth-child(8) {
    animation-delay: 0.34s;
}

@keyframes tfSlotIn {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.tf-program-slot:last-child {
    padding-bottom: 0;
}

.tf-program-slot::before {
    content: '';
    position: absolute;
    left: 0.28rem;
    top: 0.35rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #0a0a0f;
    border: 2px solid #9d00ff;
    box-shadow: 0 0 12px rgba(157, 0, 255, 0.45);
    z-index: 1;
}

.tf-program-col--sun .tf-program-slot::before {
    border-color: #00e5ff;
    box-shadow: 0 0 12px rgba(0, 229, 255, 0.35);
}

.tf-program-time {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 1.05rem;
    color: #fff;
    letter-spacing: 0.02em;
    margin-bottom: 0.25rem;
}

.tf-program-title {
    font-weight: 600;
    color: #e4e0f0;
    font-size: 0.95rem;
    line-height: 1.4;
    margin-bottom: 0.35rem;
}

.tf-program-note {
    font-size: 0.8rem;
    color: #6f6a82;
    line-height: 1.45;
}

.tf-program-footnote {
    margin-top: 2.5rem;
    padding: 1.25rem 1.5rem;
    border-radius: 14px;
    background: rgba(157, 0, 255, 0.06);
    border: 1px solid rgba(157, 0, 255, 0.2);
    color: #9a96ae;
    font-size: 0.88rem;
    line-height: 1.55;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.tf-program-areas {
    margin-top: 2.75rem;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.75rem;
}

.tf-program-area-chip {
    font-size: 0.82rem;
    color: #c4bfd4;
    padding: 0.65rem 0.85rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.tf-program-area-chip i {
    color: #9d00ff;
    font-size: 0.75rem;
    opacity: 0.9;
}

@media (max-width: 900px) {
    .tf-program-days {
        grid-template-columns: 1fr;
    }

    .tf-highlight-grid {
        grid-template-columns: 1fr;
    }
}

/* Planimetria evento (home) */
.tf-event-map-section {
    position: relative;
    z-index: 3;
    background: linear-gradient(180deg, #0a0a0f 0%, rgba(14, 10, 28, 0.97) 50%, #0a0a0f 100%);
    border-top: 1px solid rgba(157, 0, 255, 0.12);
}

.tf-event-map-head {
    text-align: center;
    margin-bottom: 2rem;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.tf-event-map-head h2 {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    letter-spacing: -0.02em;
    margin: 0 0 0.75rem;
    background: linear-gradient(105deg, #fff 0%, #d8d0ff 45%, #9d00ff 75%, #00e5ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.tf-event-map-lead {
    color: #9a96ae;
    font-size: 1.02rem;
    line-height: 1.55;
    margin: 0;
}

.tf-event-map-frame {
    margin: 0;
    padding: 0;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(157, 0, 255, 0.35);
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.4),
        0 24px 80px rgba(0, 0, 0, 0.45),
        0 0 60px rgba(157, 0, 255, 0.12);
    background: rgba(8, 6, 16, 0.9);
}

/* Anteprima contenuta: la PNG reale può essere molto più alta del 16:9 */
.tf-event-map-viewport {
    position: relative;
    z-index: 1;
    max-height: min(56vh, 520px);
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    background: radial-gradient(ellipse 120% 100% at 50% 0%, rgba(30, 20, 55, 0.5) 0%, rgba(5, 5, 10, 0.95) 70%);
}

.tf-event-map-open-btn {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    line-height: 0;
    cursor: zoom-in;
    border-radius: 12px;
    outline: none;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.tf-event-map-open-btn:hover,
.tf-event-map-open-btn:focus-visible {
    box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.45);
}

.tf-event-map-open-btn:focus-visible {
    transform: scale(1.005);
}

.tf-event-map-img {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: min(52vh, 480px);
    height: auto;
    margin: 0 auto;
    object-fit: contain;
}

.tf-event-map-caption {
    padding: 0.85rem 1.25rem;
    font-size: 0.85rem;
    color: #7d7890;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(0, 0, 0, 0.35);
}

.tf-event-map-caption-actions {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.8rem;
}

.tf-event-map-dl {
    color: #c4b8e8;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.tf-event-map-dl:hover,
.tf-event-map-dl:focus-visible {
    color: #00e5ff;
}

.tf-event-map-caption i {
    margin-right: 0.35rem;
    color: #9d00ff;
}

/* Lightbox planimetria */
.tf-event-map-dialog {
    padding: 0;
    border: none;
    max-width: none;
    max-height: none;
    width: min(96vw, 1200px);
    background: transparent;
    color: #fff;
}

.tf-event-map-dialog::backdrop {
    background: rgba(4, 4, 10, 0.92);
    backdrop-filter: blur(8px);
}

.tf-event-map-dialog-panel {
    display: flex;
    flex-direction: column;
    max-height: min(92vh, 900px);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(157, 0, 255, 0.4);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(0, 0, 0, 0.5);
    background: #0c0a14;
}

.tf-event-map-dialog-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.65rem 1rem;
    background: rgba(0, 0, 0, 0.55);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.tf-event-map-dialog-title {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: #e8e4f4;
}

.tf-event-map-dialog-close {
    flex-shrink: 0;
    width: 2.25rem;
    height: 2.25rem;
    border: 0;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.tf-event-map-dialog-close:hover,
.tf-event-map-dialog-close:focus-visible {
    background: rgba(157, 0, 255, 0.45);
    outline: none;
}

.tf-event-map-dialog-scroll {
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    max-height: min(82vh, 820px);
    padding: 0.5rem;
    text-align: center;
    background: #08060f;
}

.tf-event-map-dialog-img {
    display: block;
    max-width: none;
    width: auto;
    height: auto;
    margin: 0 auto;
}

.tf-event-map-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 1.75rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.tf-legend-chip {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.45rem 0.7rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #e8e4f4;
}

.tf-legend--extreme {
    background: rgba(220, 38, 38, 0.25);
    border-color: rgba(220, 38, 38, 0.45);
}

.tf-legend--medium {
    background: rgba(100, 100, 110, 0.35);
    border-color: rgba(180, 180, 190, 0.3);
}

.tf-legend--base {
    background: rgba(37, 99, 235, 0.28);
    border-color: rgba(59, 130, 246, 0.45);
}

.tf-legend--expo {
    background: rgba(22, 163, 74, 0.28);
    border-color: rgba(34, 197, 94, 0.4);
}

.tf-legend--tuning {
    background: rgba(120, 53, 15, 0.35);
    border-color: rgba(180, 83, 9, 0.45);
}

.tf-legend--food {
    background: rgba(220, 38, 38, 0.2);
    border-color: rgba(248, 113, 113, 0.35);
}

.tf-legend--drink {
    background: rgba(126, 34, 206, 0.3);
    border-color: rgba(168, 85, 247, 0.45);
}

.tf-legend--palco {
    background: rgba(157, 0, 255, 0.22);
    border-color: rgba(157, 0, 255, 0.5);
}

.tf-legend--servizi {
    background: rgba(0, 180, 200, 0.15);
    border-color: rgba(0, 229, 255, 0.35);
}

@media (max-width: 600px) {
    .tf-event-map-legend {
        gap: 0.4rem;
    }

    .tf-legend-chip {
        font-size: 0.65rem;
        padding: 0.4rem 0.55rem;
    }
}

/* Blocco location — solo home evento */
.tf-location-strip {
    position: relative;
    z-index: 3;
    background: linear-gradient(135deg, rgba(20, 16, 40, 0.9) 0%, rgba(10, 10, 18, 0.95) 100%);
    border-top: 1px solid rgba(157, 0, 255, 0.15);
}

.tf-comune-section {
    position: relative;
    z-index: 3;
    background: linear-gradient(180deg, #0a0a0f 0%, rgba(16, 13, 26, 0.96) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.tf-comune-card {
    margin: 0 auto;
    max-width: 980px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
    align-items: center;
    background: rgba(14, 12, 20, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    padding: 1rem;
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.35);
}

.tf-comune-poster {
    margin: 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: #f4f4f1;
}

.tf-comune-poster img {
    display: block;
    width: 100%;
    height: auto;
}

.tf-comune-content {
    padding: 0.4rem 0.5rem;
}

.tf-comune-eyebrow {
    color: #d5c7a7 !important;
    margin-bottom: 0.4rem;
}

.tf-comune-content h2 {
    margin: 0 0 0.75rem;
    font-family: 'Syne', sans-serif;
    font-size: clamp(1.25rem, 2.4vw, 1.8rem);
    color: #f5f1e6;
}

.tf-comune-content p {
    margin: 0;
    color: #d8d3c6;
    line-height: 1.6;
    font-size: 0.95rem;
}

.tf-location-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.tf-location-inner h2 {
    font-family: 'Syne', sans-serif;
    font-size: clamp(1.35rem, 3vw, 1.85rem);
    width: 100%;
    margin: 0 0 0.5rem;
}

.tf-location-inner p {
    color: #a8a3b8;
    flex: 1;
    min-width: 240px;
    margin: 0;
    line-height: 1.55;
}

@media (prefers-reduced-motion: reduce) {
    .tf-program-pill:hover {
        transform: none;
    }

    .tf-program-section.tf-reveal:not(.is-visible) .tf-program-slot,
    .tf-program-section.tf-reveal.is-visible .tf-program-slot {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

@media (max-width: 900px) {
    .tf-comune-card {
        grid-template-columns: 1fr;
    }
}
