/* Loaded after site.css, with its own versioned URL: avoids stale typography rules. */
/* Permette alle colonne di restringersi senza allargare la pagina */
.detail-grid > *,
.detail-copy {
    min-width: 0;
}

/* Va a capo sugli spazi; spezza solo eventuali parole troppo lunghe */
.detail-copy,
.detail-copy * {
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    hyphens: none !important;
    -webkit-hyphens: none !important;
}

.detail-description {
    max-width: 100%;
}

.detail-description pre {
    white-space: pre-wrap !important;
}

.detail-trailer iframe {
    display: block;
    width: 100%;
    max-width: 100%;
}
.poster-ticket { width: 100%; margin-top: 18px; padding-inline: 12px; }
.film-trailer { margin-top: 36px; }
.film-trailer h2 { font-size: 27px; margin-bottom: 18px; }
.film-trailer-player { position: relative; width: 100%; aspect-ratio: 16/9; min-height: 200px; background: #000; }
.film-trailer-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.poster-trailer-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 12px;
    background: transparent;
}
#film-trailer {
    scroll-margin-top: 130px;
}

html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}
