.ahura-video-player-element .plyr__controls,
.ahura-video-player-element .plyr__controls * {
    direction: ltr;
}

.ahura-video-player-element .plyr__tooltip {
    direction: rtl;
}

.ahura-video-player-element .plyr,
.ahura-video-player-element iframe {
    border-radius: 12px;
    width: 100%;
    aspect-ratio: 16 / 9;
    min-height: 200px;
    background: #0f0f0f;
}

.ahura-video-stage {
    position: relative;
    width: 100%;
    min-height: 200px;
    overflow: hidden;
    border-radius: 12px;
    background: #0f0f0f;
}

.ahura-video-stage .plyr,
.ahura-video-stage .plyr__video-wrapper,
.ahura-video-stage video,
.ahura-video-stage iframe {
    width: 100%;
    height: 100%;
    min-height: inherit;
}

.ahura-video-custom-cover {
    position: absolute;
    inset: 0;
    z-index: 6;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: inherit;
    background-color: #102549;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 1;
    visibility: visible;
    transition: opacity .35s ease, visibility .35s ease;
}

.ahura-video-custom-cover::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(9, 27, 58, .28);
}

.ahura-video-custom-play {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 92px;
    height: 92px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #f3f5f8;
    box-shadow: 0 0 0 17px rgba(218, 227, 241, .24);
    cursor: pointer;
    transition: transform .25s ease;
}

.ahura-video-custom-play:hover {
    transform: scale(1.05);
}

.ahura-video-custom-play:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 6px;
}

.ahura-video-custom-play svg {
    width: 38%;
    height: 38%;
    margin-left: 5%;
    fill: #2379eb;
}

.ahura-video-player-element.cover-opened .ahura-video-custom-cover {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.ahura-video-player-element:not(.cover-opened) .plyr__control--overlaid,
.ahura-video-player-element:not(.cover-opened) .plyr__controls {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.ahura-video-player-element .plyr__poster {
    background-size: cover;
}

.ahura-video-player-element .plyr__control {
    color: #fff;
}

.ahura-video-player-element .plyr__control svg {
    fill: #fff;
}

.ahura-video-player-element .plyr__control--pressed svg {
    fill: var(--plyr-color-main, #00b2ff);
}

.ahura-video-player-element .plyr__control.plyr__tab-focus,
.ahura-video-player-element .plyr__control:hover {
    background: rgba(255, 255, 255, 0.12);
}

.ahura-video-player-element .plyr__menu__container {
    min-width: 100px;
}

.ahura-video-player-element .video-content-meta {
    border-top: 1px solid #F0F3F61A;
    flex-wrap: wrap;
}

.ahura-video-player-element .video-content-meta .right-meta-content {
    flex-wrap: wrap;
}

.ahura-video-player-element .video-content-meta .ahura-post-like {
    background-color: transparent;
    border: initial;
    box-shadow: initial;
    padding: 0;
    margin: 0;
}

.ahura-video-player-element .video-content-meta .ahura-post-like .post-like-buttons .btn-post-like,
.ahura-video-player-element .video-content-meta .ahura-post-like .post-like-buttons .btn-post-like:hover {
    background-color: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ahura-video-player-element .video-content-meta .ahura-post-like a.btn-post-like .btn-title {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 5px;
    color: #ffffff;
}

.ahura-video-player-element.controls-onhover:not(.controls-after-play) .plyr__controls {
    display: none;
}

.ahura-video-player-element.controls-onhover:not(.controls-after-play):hover .plyr__controls {
    display: flex;
}

.ahura-video-player-element.has-play-pulse .ahura-video-custom-play {
    animation: ahura-video-heartbeat var(--ahura-video-pulse-speed, 1.8s) ease-out infinite;
}

@keyframes ahura-video-heartbeat {
    0%, 100% {
        box-shadow: 0 0 0 17px rgba(218, 227, 241, .24), 0 0 0 0 transparent;
    }
    12% {
        box-shadow: 0 0 0 17px rgba(218, 227, 241, .24), 0 0 0 calc(var(--ahura-video-pulse-size, 18px) * .45) var(--ahura-video-pulse-color, rgba(0, 179, 255, .55));
    }
    24% {
        box-shadow: 0 0 0 17px rgba(218, 227, 241, .24), 0 0 0 var(--ahura-video-pulse-size, 18px) transparent;
    }
    36% {
        box-shadow: 0 0 0 17px rgba(218, 227, 241, .24), 0 0 0 calc(var(--ahura-video-pulse-size, 18px) * .35) var(--ahura-video-pulse-color, rgba(0, 179, 255, .55));
    }
    52% {
        box-shadow: 0 0 0 17px rgba(218, 227, 241, .24), 0 0 0 var(--ahura-video-pulse-size, 18px) transparent;
    }
}

.ahura-video-player-element.controls-after-play:not(.has-started) .plyr__controls {
    opacity: 0 !important;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(100%);
}

.ahura-video-player-element.controls-after-play.has-started .plyr__controls {
    visibility: visible;
}

@media (prefers-reduced-motion: reduce) {
    .ahura-video-player-element.has-play-pulse .ahura-video-custom-play {
        animation: none;
    }
}
