.container {
    align-self: start;
    max-width: 1400px !important;
    width: 100% !important;
}

.title {
    color: var(--primary-contrast-color);
    font-size: var(--size-font-title);
}

.LinkIcon,
.linkText {
    color: var(--text-black);
    font-size: var(--size-font-text);
}

.button:hover .LinkIcon,
.button:hover .linkText {
    color: var(--primary-color);
}

.previousButton,
.nextButton {
    display: block;
    width: fit-content;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    font-weight: 600;
    text-decoration: none;
    padding: 10px 20px;
    background-color: var(--bg-white);
    color: var(--text-primary-color);
    transition: all .3s ease;
    &:hover {
        background-color: var(--bg-primary-color-opacity);
    }
}

.animateSpin {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.titleSkeleton {
    background: linear-gradient(90deg, #e0e0e0 25%, #f0f0f0 50%, #e0e0e0 75%);
    background-size: 200% 100%;
    animation: skeleton 1.5s infinite;
    height: 2rem;
    width: min(100%, 480px);
    border-radius: var(--border-radius);
}

.descriptionSkeleton {
    background: linear-gradient(90deg, #e0e0e0 25%, #f0f0f0 50%, #e0e0e0 75%);
    background-size: 200% 100%;
    animation: skeleton 1.5s infinite;
    height: 1rem;
    width: 100%;
    border-radius: var(--border-radius);
    margin-top: 0.75rem;
}

.descriptionSkeletonShort {
    background: linear-gradient(90deg, #e0e0e0 25%, #f0f0f0 50%, #e0e0e0 75%);
    background-size: 200% 100%;
    animation: skeleton 1.5s infinite;
    height: 1rem;
    width: 70%;
    border-radius: var(--border-radius);
    margin-top: 0.5rem;
}

/* Altura fixa 16:9 desde o primeiro paint — evita salto quando o Plyr monta */
.playerWrapper {
    position: relative;
    width: 100%;
    height: 0;
    padding-top: 56.25%;
    flex-shrink: 0;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.playerContent {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.videoPlayerSkeleton {
    z-index: 2;
    background: linear-gradient(90deg, #e0e0e0 25%, #f0f0f0 50%, #e0e0e0 75%);
    background-size: 200% 100%;
    animation: skeleton 1.5s infinite;
    border-radius: var(--border-radius);
}

.videoPlayerSkeleton::after {
    content: '\F4F4';
    color: var(--bg-grey);
    font-size: 4rem;
    align-content: center;
    font-family: 'bootstrap-icons';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.playerHidden {
    opacity: 0;
    pointer-events: none;
}

.playerWrapper :global(.plyr),
.playerWrapper :global(.plyr__video-wrapper),
.playerWrapper :global(video) {
    border-radius: var(--border-radius);
}

.playerWrapper :global(.plyr) {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.playerWrapper :global(.plyr__video-wrapper),
.playerWrapper :global(video) {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@keyframes skeleton {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}