.wml-cinematic-hover-list {
    position: relative;
    width: 100%;
    height: 100vh;
    /* Controlled by setting */
    overflow: hidden;
    background: var(--cinematic-bg, #0d0d0d);
    --transition-speed: 0.7s;
    /* Can be overridden inline */
}

.wml-cinematic-bg-images {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.wml-cinematic-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.05);
    transition: opacity var(--transition-speed) cubic-bezier(0.25, 0.46, 0.45, 0.94),
        transform var(--transition-speed) cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.wml-cinematic-slide.active {
    opacity: 1;
    transform: scale(1);
}

.wml-cinematic-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: var(--cinematic-overlay, rgba(0, 0, 0, 0.18));
    pointer-events: none;
    transition: background var(--transition-speed) cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.wml-cinematic-container {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wml-cinematic-list {
    list-style: none;
    text-align: center;
    margin: 0;
    padding: 0;
}

.wml-cinematic-list-item {
    padding: 6px 0;
    position: relative;
}

.wml-cinematic-list-item a {
    text-decoration: none;
    display: inline-block;
    position: relative;
    transition: opacity var(--transition-speed) cubic-bezier(0.25, 0.46, 0.45, 0.94),
        transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.wml-cinematic-name {
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    font-size: clamp(2rem, 4vw, 4.2rem);
    color: var(--cinematic-name-color, #ffffff);
    letter-spacing: -0.01em;
    line-height: 1.1;
    display: inline;
    transition: color var(--transition-speed) cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.wml-cinematic-country {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    font-style: normal;
    font-size: clamp(1.2rem, 2.4vw, 2.5rem);
    color: var(--cinematic-country-color, #ffffff);
    margin-left: 0.15em;
    display: inline;
    transition: color var(--transition-speed) cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.wml-cinematic-list.has-hover .wml-cinematic-list-item:not(.hovered) a {
    opacity: 0.25;
    transform: translateX(0);
}

.wml-cinematic-list.has-hover .wml-cinematic-list-item.hovered a {
    opacity: 1;
}

/* Custom cursor */
.wml-cinematic-cursor {
    position: fixed;
    width: 8px;
    height: 8px;
    background: var(--cinematic-cursor-color, #ffffff);
    border-radius: 50%;
    pointer-events: none;
    z-index: 999999;
    transform: translate(-50%, -50%);
    transition: width 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), height 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), background 0.3s;
    mix-blend-mode: difference;
    display: none;
}

.wml-cinematic-cursor.expanded {
    width: 48px;
    height: 48px;
}