/* =====================================================
   VIDEO PAGE LAYOUT (Bustygranny.org stílus)
   ===================================================== */

.video-page-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 20px;
    margin-top: 20px;
}

.video-main-column {
    min-width: 0;
    max-width: 100%;
}

/* Video Player Container */
.video-player-wrapper {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-hard);
    margin-bottom: 20px;
    position: relative;
    cursor: pointer;
}

/* Video Details box */
.video-details {
    background: var(--color-surface);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-soft);
}

.video-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text-main);
    margin-bottom: 12px;
    line-height: 1.3;
}

.video-meta {
    margin-bottom: 16px;
}

.video-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.stat-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.stat-item svg {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
}

/* Description + tags */
.video-description-section {
    background: var(--color-surface);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-soft);
}

.video-description-section h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text-main);
    margin-bottom: 12px;
}

.video-description-section p {
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 16px;
}

.video-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 12px;
    border-top: 1px solid var(--color-border);
}

.tag-pill {
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-text-muted);
    background: var(--color-surface-soft);
    border: 1px solid var(--color-border-soft);
    transition: all 0.2s ease;
}

.tag-pill:hover {
    background: var(--color-primary-soft);
    color: var(--color-primary-strong);
    border-color: var(--color-primary);
}

/* Sidebar (2× 300×250) */
.video-sidebar {
    position: sticky;
    top: 20px;
    align-self: flex-start;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    max-width: 340px;
}

.sidebar-banner {
    background: var(--color-surface);
    border-radius: var(--radius-md);
    padding: 12px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--color-border-soft);
    width: 100%;
    max-width: 324px;
}

.banner-label {
    font-size: 0.7rem;
    color: var(--color-text-soft);
    text-align: center;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.banner-300x250 {
    width: 300px;
    height: 250px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: var(--radius-sm);
    margin: 0 auto;
}

/* Related videos */
.related-videos-section {
    margin-top: 32px;
}

.section-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-text-main);
    margin-bottom: 16px;
}

/* =====================================================
   XVIDEOS-SZERŰ FAKE PLAYER CSS
   (eredeti Grannydump / playericonfont alap)
   ===================================================== */

.pif-full-screen-animated,
.pif-full-screen-animated span:before,
.pif-sound-2,
.pif-sound-2:after,
.pif-sound-2:before {
    height: 1em;
    width: 1em;
    display: inline-block;
}

#hlsplayer,
#html5video {
    width: 100%;
    height: 100%;
}

@font-face {
    font-family: playericonfont;
    src: url("/include/fonts/playericonfont.woff2") format("woff2"),
         url("/include/fonts/playericonfont.ttf") format("truetype"),
         url("/include/fonts/playericonfont.woff") format("woff"),
         url("/include/fonts/playericonfont.svg#playericonfont") format("svg");
    font-weight: 400;
    font-style: normal;
    font-display: block;
}

.player-icon-f {
    font-family: playericonfont!important;
    speak: never;
    font-style: normal;
    font-weight: 400;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    letter-spacing: 0;
    -webkit-font-feature-settings: "liga";
    -moz-font-feature-settings: "liga=1";
    -moz-font-feature-settings: "liga";
    -ms-font-feature-settings: "liga" 1;
    font-feature-settings: "liga";
    -webkit-font-variant-ligatures: discretionary-ligatures;
    -moz-font-variant-ligatures: discretionary-ligatures;
    font-variant-ligatures: discretionary-ligatures;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.pif-download:before { content: "\e904"; }
.pif-pause:before    { content: "\e910"; }
.pif-play:before     { content: "\e90a"; }
.pif-settings:before { content: "\e919"; }
.pif-sound-2:before  { content: "\e90e"; }

.pif-sound-2 {
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
    position: relative;
}

.pif-sound-2:after,
.pif-sound-2:before {
    position: absolute;
    top: 0;
    left: 0;
}

.pif-full-screen-animated {
    position: relative;
}

.pif-full-screen-animated span {
    height: .5em;
    overflow: hidden;
    position: absolute;
    -webkit-transition: -webkit-transform .1s ease-in-out;
    transition: transform .1s ease-in-out;
    -o-transition: -o-transform .1s ease-in-out;
    -moz-transition: transform .1s ease-in-out, -moz-transform .1s ease-in-out;
    transition: transform .1s ease-in-out, -webkit-transform .1s ease-in-out, -moz-transform .1s ease-in-out, -o-transform .1s ease-in-out;
    width: .5em;
}

.pif-full-screen-animated span:before {
    content: "\e906";
    position: absolute;
}

.pif-full-screen-animated span:first-child,
.pif-full-screen-animated span:first-child:before {
    left: 0;
    top: 0;
}

.pif-full-screen-animated span:nth-child(2),
.pif-full-screen-animated span:nth-child(2):before {
    right: 0;
    top: 0;
}

.pif-full-screen-animated span:nth-child(3),
.pif-full-screen-animated span:nth-child(3):before {
    bottom: 0;
    left: 0;
}

.pif-full-screen-animated span:nth-child(4),
.pif-full-screen-animated span:nth-child(4):before {
    bottom: 0;
    right: 0;
}

.notouch .pif-full-screen-animated:hover span:first-child {
    -webkit-transform: translate(-.05em, -.05em);
    -moz-transform: translate(-.05em, -.05em);
    -ms-transform: translate(-.05em, -.05em);
    -o-transform: translate(-.05em, -.05em);
    transform: translate(-.05em, -.05em);
}

.notouch .pif-full-screen-animated:hover span:nth-child(2) {
    -webkit-transform: translate(.05em, -.05em);
    -moz-transform: translate(.05em, -.05em);
    -ms-transform: translate(.05em, -.05em);
    -o-transform: translate(.05em, -.05em);
    transform: translate(.05em, -.05em);
}

.notouch .pif-full-screen-animated:hover span:nth-child(3) {
    -webkit-transform: translate(-.05em, .05em);
    -moz-transform: translate(-.05em, .05em);
    -ms-transform: translate(-.05em, .05em);
    -o-transform: translate(-.05em, .05em);
    transform: translate(-.05em, .05em);
}

.notouch .pif-full-screen-animated:hover span:nth-child(4) {
    -webkit-transform: translate(.05em, .05em);
    -moz-transform: translate(.05em, .05em);
    -ms-transform: translate(.05em, .05em);
    -o-transform: translate(.05em, .05em);
    transform: translate(.05em, .05em);
}

.notouch :-webkit-full-screen .pif-full-screen-animated:hover span:first-child,
.notouch:-webkit-full-screen .pif-full-screen-animated:hover span:first-child {
    -webkit-transform: translate(.05em, .05em);
    transform: translate(.05em, .05em);
}

.notouch :-moz-full-screen .pif-full-screen-animated:hover span:first-child,
.notouch:-moz-full-screen .pif-full-screen-animated:hover span:first-child {
    -moz-transform: translate(.05em, .05em);
    transform: translate(.05em, .05em);
}

.notouch :-ms-fullscreen .pif-full-screen-animated:hover span:first-child,
.notouch:-ms-fullscreen .pif-full-screen-animated:hover span:first-child {
    -ms-transform: translate(.05em, .05em);
    transform: translate(.05em, .05em);
}

.notouch :fullscreen .pif-full-screen-animated:hover span:first-child,
.notouch:fullscreen .pif-full-screen-animated:hover span:first-child {
    -webkit-transform: translate(.05em, .05em);
    -moz-transform: translate(.05em, .05em);
    -ms-transform: translate(.05em, .05em);
    -o-transform: translate(.05em, .05em);
    transform: translate(.05em, .05em);
}

.notouch :-webkit-full-screen .pif-full-screen-animated:hover span:nth-child(2),
.notouch:-webkit-full-screen .pif-full-screen-animated:hover span:nth-child(2) {
    -webkit-transform: translate(-.05em, .05em);
    transform: translate(-.05em, .05em);
}

.notouch :-moz-full-screen .pif-full-screen-animated:hover span:nth-child(2),
.notouch:-moz-full-screen .pif-full-screen-animated:hover span:nth-child(2) {
    -moz-transform: translate(-.05em, .05em);
    transform: translate(-.05em, .05em);
}

.notouch :-ms-fullscreen .pif-full-screen-animated:hover span:nth-child(2),
.notouch:-ms-fullscreen .pif-full-screen-animated:hover span:nth-child(2) {
    -ms-transform: translate(-.05em, .05em);
    transform: translate(-.05em, .05em);
}

.notouch :fullscreen .pif-full-screen-animated:hover span:nth-child(2),
.notouch:fullscreen .pif-full-screen-animated:hover span:nth-child(2) {
    -webkit-transform: translate(-.05em, .05em);
    -moz-transform: translate(-.05em, .05em);
    -ms-transform: translate(-.05em, .05em);
    -o-transform: translate(-.05em, .05em);
    transform: translate(-.05em, .05em);
}

.notouch :-webkit-full-screen .pif-full-screen-animated:hover span:nth-child(3),
.notouch:-webkit-full-screen .pif-full-screen-animated:hover span:nth-child(3) {
    -webkit-transform: translate(.05em, -.05em);
    transform: translate(.05em, -.05em);
}

.notouch :-moz-full-screen .pif-full-screen-animated:hover span:nth-child(3),
.notouch:-moz-full-screen .pif-full-screen-animated:hover span:nth-child(3) {
    -moz-transform: translate(.05em, -.05em);
    transform: translate(.05em, -.05em);
}

.notouch :-ms-fullscreen .pif-full-screen-animated:hover span:nth-child(3),
.notouch:-ms-fullscreen .pif-full-screen-animated:hover span:nth-child(3) {
    -ms-transform: translate(.05em, -.05em);
    transform: translate(.05em, -.05em);
}

.notouch :fullscreen .pif-full-screen-animated:hover span:nth-child(3),
.notouch:fullscreen .pif-full-screen-animated:hover span:nth-child(3) {
    -webkit-transform: translate(.05em, -.05em);
    -moz-transform: translate(.05em, -.05em);
    -ms-transform: translate(.05em, -.05em);
    -o-transform: translate(.05em, -.05em);
    transform: translate(.05em, -.05em);
}

.notouch :-webkit-full-screen .pif-full-screen-animated:hover span:nth-child(4),
.notouch:-webkit-full-screen .pif-full-screen-animated:hover span:nth-child(4) {
    -webkit-transform: translate(-.05em, -.05em);
    transform: translate(-.05em, -.05em);
}

.notouch :-moz-full-screen .pif-full-screen-animated:hover span:nth-child(4),
.notouch:-moz-full-screen .pif-full-screen-animated:hover span:nth-child(4) {
    -moz-transform: translate(-.05em, -.05em);
    transform: translate(-.05em, -.05em);
}

.notouch :-ms-fullscreen .pif-full-screen-animated:hover span:nth-child(4),
.notouch:-ms-fullscreen .pif-full-screen-animated:hover span:nth-child(4) {
    -ms-transform: translate(-.05em, -.05em);
    transform: translate(-.05em, -.05em);
}

.notouch :fullscreen .pif-full-screen-animated:hover span:nth-child(4),
.notouch:fullscreen .pif-full-screen-animated:hover span:nth-child(4) {
    -webkit-transform: translate(-.05em, -.05em);
    -moz-transform: translate(-.05em, -.05em);
    -ms-transform: translate(-.05em, -.05em);
    -o-transform: translate(-.05em, -.05em);
    transform: translate(-.05em, -.05em);
}

body {
    --plyr-autoplay-act-bg: rgba(255, 255, 255, 0.9);
    --plyr-autoplay-act-color: rgba(22, 22, 22, 0.9);
    --plyr-checkbox-bg: #DE2600;
    --plyr-volume-active: #DE2600;
}

#html5video,
#html5video * {
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
}

#html5video .noselect {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

#html5video #hlsplayer {
    overflow: hidden;
}

#html5video #hlsplayer > * {
    z-index: 1;
}

#html5video #hlsplayer > .buttons-bar,
#html5video #hlsplayer > .top-left {
    z-index: 4;
}

#html5video #hlsplayer .video-bg-pic {
    width: 100%;
    height: 100%;
    background-color: #000;
}

#html5video #hlsplayer .video-bg-pic .video-pic {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    text-align: center;
}

#html5video #hlsplayer .video-bg-pic .video-pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#html5video #hlsplayer .player-icon-f {
    color: rgba(255, 255, 255, .9);
}

#html5video #hlsplayer .top-left {
    left: 1%;
    margin: 0;
    max-width: 98%;
    position: absolute;
    text-align: left;
    top: 1%;
    vertical-align: text-top;
    z-index: 4;
}

#html5video #hlsplayer .video-title {
    background-color: rgba(0, 0, 0, .5);
    color: #fff;
    display: inline-block;
    margin: 0;
    overflow: hidden;
    text-align: left;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#html5video #hlsplayer .big-buttons {
    position: absolute;
    white-space: nowrap;
}

#html5video #hlsplayer .big-buttons.big-buttons-center {
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

#html5video #hlsplayer .big-button {
    cursor: pointer;
    display: inline-block;
    text-align: center;
    vertical-align: top;
}

#html5video #hlsplayer .big-button span.player-icon-f {
    display: inline-block;
    text-shadow: .03em .03em .1em #000, 0 0 .5em rgba(0, 0, 0, .5), 0 0 1em rgba(0, 0, 0, .5);
}

#html5video #hlsplayer .big-button span.player-icon-f:before {
    position: static;
}

#html5video #hlsplayer .buttons-bar .settings-btn .pif-settings,
.notouch #html5video #hlsplayer .big-button {
    -webkit-transition: -webkit-transform .1s;
    transition: transform .1s;
    -o-transition: -o-transform .1s;
    -moz-transition: transform .1s, -moz-transform .1s;
    transition: transform .1s, -webkit-transform .1s, -moz-transform .1s, -o-transform .1s;
}

.notouch #html5video #hlsplayer .big-button:hover {
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    -o-transform: scale(1.1);
    transform: scale(1.1);
}

#html5video #hlsplayer .has-clickable-effect,
.notouch #html5video #hlsplayer .big-button.has-clickable-effect {
    -webkit-transition: -webkit-transform .1s, -webkit-filter .1s;
    transition: transform .1s, filter .1s, -webkit-transform .1s, -moz-transform .1s, -o-transform .1s, -webkit-filter .1s;
    -o-transition: filter .1s, -o-transform .1s;
    -moz-transition: transform .1s, filter .1s, -moz-transform .1s;
}

.notouch #html5video #hlsplayer .big-button.has-clickable-effect:active {
    -webkit-transform: translateY(.1em);
    -moz-transform: translateY(.1em);
    -ms-transform: translateY(.1em);
    -o-transform: translateY(.1em);
    transform: translateY(.1em);
    -webkit-filter: brightness(.95);
    filter: brightness(.95);
}

.notouch #html5video #hlsplayer .big-button.has-clickable-effect:active .player-icon-f {
    text-shadow: .01em .01em .08em #000, 0 0 .5em rgba(0, 0, 0, .4), 0 0 .12em rgba(0, 0, 0, .3);
}

.notouch #html5video #hlsplayer .big-button.has-clickable-effect:hover:active {
    -webkit-transform: scale(1.1) translateY(.1em);
    -moz-transform: scale(1.1) translateY(.1em);
    -ms-transform: scale(1.1) translateY(.1em);
    -o-transform: scale(1.1) translateY(.1em);
    transform: scale(1.1) translateY(.1em);
}

#html5video #hlsplayer .progress-bar-bg {
    background: -webkit-gradient(linear, left bottom, left top, from(rgba(0, 0, 0, .7)), color-stop(60%, rgba(0, 0, 0, .15)), to(rgba(0, 0, 0, 0)));
    background: -webkit-linear-gradient(bottom, rgba(0, 0, 0, .7) 0, rgba(0, 0, 0, .15) 60%, rgba(0, 0, 0, 0) 100%);
    background: -o-linear-gradient(bottom, rgba(0, 0, 0, .7) 0, rgba(0, 0, 0, .15) 60%, rgba(0, 0, 0, 0) 100%);
    background: linear-gradient(to top, rgba(0, 0, 0, .7) 0, rgba(0, 0, 0, .15) 60%, rgba(0, 0, 0, 0) 100%);
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
}

#html5video #hlsplayer .progress-bar-container {
    position: absolute;
}

#html5video #hlsplayer .progress-bar {
    position: absolute;
    background-color: rgba(254, 254, 254, .35);
    -webkit-transition: height .2s;
    -o-transition: height .2s;
    -moz-transition: height .2s;
    transition: height .2s;
    cursor: pointer;
    width: 100%;
}

#html5video #hlsplayer .progress-bar .bufferdiv {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

#html5video #hlsplayer .progress-bar .buffer-elt {
    position: absolute;
    top: 0;
    height: 100%;
}

#html5video #hlsplayer .progress-bar .cursor {
    position: absolute;
    height: 100%;
    width: 5px;
    top: 0;
    background-color: rgba(0, 0, 0, .7);
}

#html5video #hlsplayer .has-clickable-effect:active {
    -webkit-transform: scale(.85);
    -moz-transform: scale(.85);
    -ms-transform: scale(.85);
    -o-transform: scale(.85);
    transform: scale(.85);
    -webkit-filter: brightness(.8);
    filter: brightness(.8);
}

#html5video #hlsplayer .buttons-bar {
    bottom: 0;
    position: absolute;
    z-index: 4;
}

#html5video #hlsplayer .buttons-bar .player-icon-f {
    display: inline-block;
}

#html5video #hlsplayer .buttons-bar .player-icon-f:before {
    vertical-align: top;
}

#html5video #hlsplayer .buttons-bar.left {
    left: 0;
}

#html5video #hlsplayer .buttons-bar.right {
    right: 0;
}

#html5video #hlsplayer .buttons-bar > * {
    vertical-align: middle;
    cursor: pointer;
    display: inline-block;
}

#html5video #hlsplayer .buttons-bar .volume-bar {
    -webkit-transition: width .2s, margin .2s;
    -o-transition: width .2s, margin .2s;
    -moz-transition: width .2s, margin .2s;
    transition: width .2s, margin .2s;
}

#html5video #hlsplayer .buttons-bar .autoplay-btn,
#html5video #hlsplayer .buttons-bar .settings-btn,
#html5video #hlsplayer .buttons-bar .volume-bar,
#html5video #hlsplayer .buttons-bar .volume-bar .volume-bar-fill {
    display: inline-block;
    position: relative;
}

#html5video #hlsplayer .buttons-bar .volume-bar .volume-bar-fill:before,
#html5video #hlsplayer .buttons-bar .volume-bar:before {
    content: "";
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    position: absolute;
    top: 50%;
    z-index: 1;
}

#html5video #hlsplayer .buttons-bar .volume-bar:before {
    background: rgba(255, 255, 255, .9);
    -webkit-border-radius: .1em;
    -moz-border-radius: .1em;
    border-radius: .1em;
    height: .2em;
    width: 98%;
}

#html5video #hlsplayer .buttons-bar .volume-bar .volume-bar-fill {
    float: left;
    width: 100%;
    height: 100%;
}

#html5video #hlsplayer .buttons-bar .volume-bar .volume-bar-fill:before {
    background: #de2600;
    background: var(--plyr-volume-active, #de2600);
    -webkit-border-radius: .125em;
    -moz-border-radius: .125em;
    border-radius: .125em;
    height: .25em;
    width: 100%;
}

#html5video #hlsplayer .buttons-bar .volume-bar .volume-bar-fill:after {
    background: #de2600;
    background: var(--plyr-volume-active, #de2600);
    -webkit-box-shadow: 0 0 2px #000;
    -moz-box-shadow: 0 0 2px #000;
    box-shadow: 0 0 2px #000;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    content: "";
    height: .5em;
    width: .5em;
    right: -.25em;
    top: 50%;
    position: absolute;
    -webkit-transition: font-size .15s;
    -o-transition: font-size .15s;
    -moz-transition: font-size .15s;
    transition: font-size .15s;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
    z-index: 2;
}

#html5video #hlsplayer .buttons-bar .volume-bar.is-muted:not(:hover) .volume-bar-fill:after,
#html5video #hlsplayer .buttons-bar .volume-bar:not(:hover) .volume-bar-fill:after {
    font-size: 0;
}

#html5video #hlsplayer .buttons-bar .volume-bar + .progress-text {
    margin-left: 1em;
}

#html5video #hlsplayer .buttons-bar .progress-text {
    display: inline-block;
    font-size: 12px;
    color: #fff;
    font-weight: 400;
}

#html5video #hlsplayer .buttons-bar .autoplay-btn .autoplay-bar-bt {
    width: 100%;
    height: 100%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

#html5video #hlsplayer .buttons-bar .autoplay-btn .autoplay-bar-bt .toggle-background-bar {
    height: .625em;
    width: 1.5em;
    -webkit-border-radius: .5em;
    -moz-border-radius: .5em;
    border-radius: .5em;
    background: rgba(255, 255, 255, .3);
}

#html5video #hlsplayer .buttons-bar .autoplay-btn .autoplay-bar-bt .toggle-circle {
    height: .8333em;
    aspect-ratio: 1;
    background: rgba(51, 51, 51, .9);
    -webkit-box-shadow: 0 0 3px #000;
    -moz-box-shadow: 0 0 3px #000;
    box-shadow: 0 0 3px #000;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    -webkit-transition: -webkit-transform .2s;
    transition: transform .2s;
    -o-transition: -o-transform .2s;
    -moz-transition: transform .2s, -moz-transform .2s;
    transition: transform .2s, -webkit-transform .2s, -moz-transform .2s, -o-transform .2s;
    -webkit-transform: translateY(-50%) translateX(-50%);
    -moz-transform: translateY(-50%) translateX(-50%);
    -ms-transform: translateY(-50%) translateX(-50%);
    -o-transform: translateY(-50%) translateX(-50%);
    transform: translateY(-50%) translateX(-50%);
}

#html5video #hlsplayer .buttons-bar .autoplay-btn .autoplay-bar-bt .toggle-circle .player-icon-f {
    aspect-ratio: 1;
    color: rgba(255, 255, 255, .9);
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    font-size: .5em;
}

/* A kattintható overlay link */
.video-player-link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

/* =====================================================
   RESPONSIVE TWEAKS
   ===================================================== */

@media (max-width: 1024px) {
    .video-page-layout {
        grid-template-columns: 1fr;
    }

    .video-sidebar {
        position: static;
        max-height: none;
        max-width: 100%;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 324px));
        justify-content: center;
        gap: 16px;
    }

    .sidebar-banner {
        max-width: 324px;
        justify-self: center;
    }
}

@media (max-width: 768px) {
    .video-title {
        font-size: 1.2rem;
    }

    .video-stats {
        gap: 12px;
    }

    .stat-item {
        font-size: 0.85rem;
    }

    .section-title {
        font-size: 1.2rem;
    }

    .video-sidebar {
        grid-template-columns: 1fr;
    }

    .banner-300x250 {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .banner-300x250 {
        width: 100%;
        max-width: 280px;
        height: auto;
        aspect-ratio: 300 / 250;
    }

    .sidebar-banner {
        max-width: 100%;
    }
}