.feeds_section , .videos_category {
    padding-top: 146px;
    padding-bottom: 60px;
}

.container {
    max-width: 1360px;
    width: 100%;
    margin: 0 auto;
    padding-left: 16px;
    padding-right: 16px;
    box-sizing: border-box;
}

.feeds_block {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

body.sala-dark-scheme .feeds_title {
    font-family: 'Arial', sans-serif;
    font-weight: 600;
    font-size: clamp(20px, 2vw, 26px);
    line-height: 110%;
    color: #a6a6a6 !important;
}
body.sala-dark-scheme .videos_category_block .feeds_title {
    font-size: 36px;
}
.feeds_elements {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.feeds_element {
    width: calc(50% - 6px);
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: clamp(8px, 1.5vw, 16px);
    padding: clamp(12px, 2vw, 24px) clamp(8px, 1.5vw, 16px);
    background: #252428;
    border-radius: clamp(14px, 2vw, 24px);
    box-sizing: border-box;
    text-decoration: none;
}

.feeds_element-image,
.feeds_element img {
    width: clamp(42px, 10vw, 90px);
    max-width: 100%;
    height: auto;
    display: block;
}

.feeds_element-title {
    font-family: 'Arial', sans-serif;
    font-weight: 700;
    font-size: clamp(11px, 2.2vw, 22px);
    line-height: 130%;
    text-transform: uppercase;
    text-align: center;
    color: var(--white);
    word-break: break-word;
}

@media (max-width: 991px) {
    .feeds_section {
        padding-top: 110px;
        padding-bottom: 50px;
    }

    .feeds_elements {
        gap: 10px;
    }

    .feeds_element {
        width: calc(50% - 5px);
    }
}

@media (max-width: 480px) {
    .feeds_section {
        padding-top: 90px;
        padding-bottom: 40px;
    }

    .container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .feeds_elements {
        gap: 8px;
    }

    .feeds_element {
        width: calc(50% - 4px);
        padding: 12px 8px;
        border-radius: 16px;
    }

    .feeds_element-title {
        font-size: clamp(10px, 3vw, 14px);
        line-height: 120%;
    }

    .feeds_element-image,
    .feeds_element img {
        width: clamp(36px, 12vw, 60px);
    }
}




.videos_category_title {
    margin: 0 0 clamp(24px, 4vw, 40px);
    color: #fff;
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 700;
    line-height: 1.05;
}

.videos_category_elements {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    gap: clamp(16px, 2vw, 22px);
    align-items: stretch;
}

/* Temporary workaround: hide injected 1px placeholders in video sections */
.videos_category_elements > div[style*="overflow:hidden"][style*="height:1px"],
.video_single_block > div[style*="overflow:hidden"][style*="height:1px"],
.video_single_section div[style*="overflow:hidden"][style*="height:1px"] {
    display: none !important;
    visibility: hidden !important;
    max-height: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
}

.videos_category_element {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-width: 0;
    border-radius: 24px;
    overflow: hidden;
    background: linear-gradient(180deg, #23232b 0%, #1a1a22 100%);
}

.videos_category_card_link {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.video-player {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #111;
    line-height: 0;
    font-size: 0;
}

.video-thumb,
.video-player-fallback {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
}

.video-thumb {
    object-fit: cover;
}

.videos_category_link {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    text-decoration: none;
    margin: 0;
    padding: 18px 18px 22px;
    background: #252428;
}

.video-name {
    font-family: 'Arial', sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 140%;
    margin: 0;
    margin-bottom: 10px;
}
.videos_category_link .video-category-label {
    margin: 0;
    color: inherit;
    font-size: 14px;
    line-height: 1.2;
    font-style: italic;
    font-weight: 600;
    opacity: 0.6;
}

.videos_category_link .video-publish-date {
    margin: 0 0 13px;
}

.videos_category_link .video-category-label:last-child {
    margin-top: auto;
}

  .video_single_category_top_link {
    color: #b8c6d8;
    font-size: 24px;
    font-weight: 600;
    font-style: italic;
    letter-spacing: 0.01em;
    text-decoration: none;
    transition: color 0.2s ease;
    opacity: 0.8;
  }
  .video_single_player_switch {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    position: relative;
    z-index: 6;
  }

.video_single_player_switch .video_single_player_switch_btn,
.video_single_player_switch button.video_single_player_switch_btn {
    appearance: none !important;
    -webkit-appearance: none !important;
    width: auto;
    min-width: 150px;
    min-height: 52px;
    padding: 10px 22px;
    border: 1px solid transparent !important;
    border-radius: 16px !important;
    background: #252428 !important;
    color: #ffffff !important;
    font-family: 'Arial', sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.1;
    text-transform: uppercase;
    text-align: center;
    cursor: pointer !important;
    white-space: normal !important;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
    transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.video_single_player_switch .video_single_player_switch_btn:hover,
.video_single_player_switch button.video_single_player_switch_btn:hover {
    background: #2c2b34 !important;
    transform: translateY(-1px);
}

.video_single_player_switch .video_single_player_switch_btn:focus,
.video_single_player_switch .video_single_player_switch_btn:focus-visible {
    outline: none !important;
}

.video_single_player_switch .video_single_player_switch_btn[data-active="true"],
.video_single_player_switch .video_single_player_switch_btn[aria-pressed="true"] {
    background: #2f2d35 !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

  .video_single_category_top_link:hover {
    color: #ffffff;
  }
  
  .video_single_category_top_link:focus-visible {
    outline: 2px solid #5ed6ff;
    outline-offset: 2px;
    border-radius: 4px;
  }
.videos_category_card_link:hover .video-name {
    opacity: 0.85;
}

@media (max-width: 1199px) {
    .videos_category_elements {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .videos_category_elements {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .videos_category_element {
        border-radius: 18px;
    }

    .videos_category_link {
        padding: 12px 14px 16px;
        
    }


    .video-name {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .videos_category_elements {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .videos_category_link {
        padding: 10px 12px 14px;
    }

    .video-name {
        font-size: 16px;
    }
}



.video_single_section {
    padding-top: 146px;
    padding-bottom: 60px;
    background: #000;
}

.video_single_block {
    max-width: 1120px;
    margin: 0 auto;
}

.video_single_head {
    margin-bottom: 28px;
    margin-top: 20px;
}

.vs-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 36px;
    margin-bottom: 0;
}

.vs-action-bar {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.vs-action-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative;
    width: 40px !important;
    height: 40px !important;
    padding: 0 !important;
    background: none !important;
    border: none !important;
    border-radius: 10px !important;
    color: #c9a84c !important;
    cursor: pointer !important;
    transition: color 0.18s ease, background 0.18s ease !important;
    flex-shrink: 0 !important;
}

.vs-action-btn[aria-busy="true"]::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: calc(100% + 4px);
    width: 12px;
    height: 12px;
    margin-left: -6px;
    border: 2px solid rgba(201, 168, 76, 0.35);
    border-top-color: #f0c94a;
    border-radius: 50%;
    animation: vs-action-spin 0.8s linear infinite;
    pointer-events: none;
}

@keyframes vs-action-spin {
    to {
        transform: rotate(360deg);
    }
}

.vs-action-btn:hover {
    color: #f0c94a !important;
    background: rgba(201, 168, 76, 0.12) !important;
}

.vs-action-label { display: none !important; }

.vs-action-icon--filled { display: none !important; }
.vs-action-icon--outline { display: block !important; }

.vs-action-btn[data-active="true"] .vs-action-icon--outline,
.vs-action-btn[aria-pressed="true"] .vs-action-icon--outline { display: none !important; }

.vs-action-btn[data-active="true"] .vs-action-icon--filled,
.vs-action-btn[aria-pressed="true"] .vs-action-icon--filled { display: block !important; }

.vs-action-btn[data-active="true"],
.vs-action-btn[aria-pressed="true"] { color: #f0c94a !important; }

.vs-action-btn--copied { color: #6ee7b7 !important; }

@media (max-width: 600px) {
    .vs-action-btn { width: 36px !important; height: 36px !important; }
    .vs-action-icon { width: 19px !important; height: 19px !important; }
}

.video_single_categories {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
}

.video_single_category {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    transition: background 0.25s ease;
}

.video_single_category:hover {
    background: rgba(255, 255, 255, 0.16);
}

.video_single_title {
    margin: 0;
    max-width: 980px;
    color: #fff;
    font-size: 56px;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.02em;
}

.video_single_player_wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 28px;
    background: #111;
    margin-bottom: 28px;
    line-height: 0;
    font-size: 0;
}

.video_single_player_wrap--switchable {
    aspect-ratio: auto;
    overflow: visible;
    border-radius: 0;
    background: transparent;
    line-height: normal;
    font-size: 16px;
}

.video_single_player_panels {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
}

.video_single_player_panel {
    width: 100%;
    height: 100%;
}

.video_single_subscription_notice {
    position: relative;
    width: 100%;
    height: 100%;
    display: none;
    align-items: center;
    justify-content: center;
    padding: clamp(18px, 3vw, 30px);
    box-sizing: border-box;
    border-radius: 28px;
    overflow: hidden;
    text-align: center;
    background: #111;
}

.video_single_subscription_notice::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(8, 8, 12, 0.86) 0%, rgba(10, 10, 14, 0.52) 42%, rgba(7, 7, 11, 0.84) 100%);
}

.video_single_subscription_notice::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: radial-gradient(70% 58% at 50% 52%, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.6) 100%);
}

.video_single_subscription_notice_media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.video_single_subscription_notice_thumb,
.video_single_subscription_notice_fallback {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
}

.video_single_subscription_notice_thumb {
    object-fit: cover;
}

.video_single_subscription_notice_fallback {
    background: linear-gradient(180deg, #23232b 0%, #1a1a22 100%);
}

.video_single_subscription_notice_text {
    position: relative;
    z-index: 2;
    margin: 0;
    max-width: 780px;
    color: #ffffff;
    font-family: 'Arial', sans-serif;
    font-size: clamp(20px, 2.2vw, 34px);
    font-weight: 700;
    line-height: 1.25;
    text-wrap: balance;
}


.video_single_login_notice {
    position: relative;
    width: 100%;
    height: 100%;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: clamp(18px, 3vw, 30px);
    box-sizing: border-box;
    border-radius: 28px;
    text-align: center;
    background: linear-gradient(180deg, #17171d 0%, #111116 50%, #0d0d12 100%);
}

.video_single_login_notice_text {
    margin: 0 !important;
    color: rgba(255, 255, 255, 0.95) !important;
    font-family: 'Arial', sans-serif;
    font-size: clamp(20px, 2.5vw, 30px);
    font-weight: 700;
    line-height: 1.25;
    text-wrap: balance;
}

.video_single_login_notice_btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 52px !important;
    padding: 14px 36px !important;
    border-radius: 12px !important;
    background: #4ade80 !important;
    color: #0a0f0a !important;
    font-family: 'Arial', sans-serif !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    letter-spacing: 0.04em !important;
    transition: background 0.2s ease, transform 0.2s ease !important;
}

.video_single_login_notice_btn:hover {
    background: #6ee7a0 !important;
    color: #0a0f0a !important;
    transform: translateY(-2px) !important;
}

.video_single_player_wrap--switchable .video_single_player_panels {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 28px;
    background: #111;
    line-height: 0;
    font-size: 0;
}

.video_single_player_notice {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(20px, 5vw, 44px);
    box-sizing: border-box;
    text-align: center;
    background: linear-gradient(145deg, #17171d 0%, #111116 50%, #0d0d12 100%);
}

.video_single_player_notice--trailer-missing {
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.video_single_player_notice_text {
    margin: 0;
    max-width: 560px;
    color: rgba(255, 255, 255, 0.95);
    font-size: clamp(22px, 3vw, 34px);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: 0.01em;
    text-wrap: balance;
}

.video_single_player_trailer,
.video_single_player_full,
.video_single_thumb,
.video_single_empty {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

.video_single_player_trailer,
.video_single_player_full {
    --media-object-fit: cover;
}

.video_single_thumb {
    object-fit: cover;
}

.video_single_empty {
    background: linear-gradient(180deg, #15151b 0%, #101015 100%);
}

.video_single_content {
    max-width: 760px;
    padding: 24px 28px;
    border-radius: 24px;
    background: linear-gradient(180deg, #23232b 0%, #1a1a22 100%);
}

.video_single_content p:first-child {
    margin-top: 0;
}

.video_single_content p:last-child {
    margin-bottom: 0;
}

.video_single_content p,
.video_single_content li {
    color: rgba(255, 255, 255, 0.92);
    font-size: 18px;
    line-height: 1.7;
}

@media (max-width: 991px) {
    .video_single_section {
        padding-top: 120px;
        padding-bottom: 50px;
    }

    .video_single_title {
        font-size: 42px;
    }

    .video_single_player_wrap {
        border-radius: 22px;
    }

    .video_single_player_wrap--switchable .video_single_player_panels {
        border-radius: 22px;
    }

    .video_single_player_notice_text {
        font-size: clamp(20px, 3.6vw, 28px);
    }

    .video_single_player_switch .video_single_player_switch_btn {
        min-width: 138px;
        min-height: 48px;
        padding: 10px 18px;
        font-size: 13px;
    }

    .video_single_content {
        padding: 20px;
        border-radius: 18px;
    }
}

@media (max-width: 767px) {
    .video_single_section {
        padding-top: 100px;
        padding-bottom: 40px;
    }

    .video_single_title {
        font-size: 32px;
    }

    .video_single_categories {
        gap: 8px;
    }

    .video_single_category {
        min-height: 30px;
        padding: 7px 12px;
        font-size: 12px;
    }

    .video_single_player_wrap {
        border-radius: 18px;
        margin-bottom: 20px;
    }

    .video_single_player_wrap--switchable .video_single_player_panels {
        border-radius: 18px;
    }

    .video_single_subscription_notice {
        border-radius: 18px;
        padding: 18px;
    }

    .video_single_subscription_notice_text {
        font-size: clamp(18px, 5vw, 22px);
    }

    .video_single_player_notice {
        padding: 20px 16px;
    }

    .video_single_player_notice_text {
        font-size: clamp(18px, 5.5vw, 22px);
    }

    .video_single_player_switch {
        gap: 8px;
        margin-bottom: 10px;
    }

    .video_single_player_switch .video_single_player_switch_btn {
        min-width: 118px;
        min-height: 42px;
        padding: 9px 12px;
        font-size: 12px;
        border-radius: 14px;
    }

    .video_single_content {
        padding: 16px;
    }

    .video_single_content p,
    .video_single_content li {
        font-size: 16px;
        line-height: 1.65;
    }
}

/* ——— Eden+ subscribe modal (from production) ——— */

.video_single_subscribe_popup {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.video_single_subscribe_popup[hidden] {
    display: none !important;
}

.video_single_subscribe_popup_overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    cursor: pointer;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.video_single_subscribe_popup_box {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 420px;
    padding: 36px 32px 32px;
    border-radius: 24px;
    background: #252428;
    border: 1px solid rgba(255, 255, 255, 0.06);
    text-align: center;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7);
}

.video_single_subscribe_popup_close {
    position: absolute !important;
    top: 14px !important;
    right: 14px !important;
    width: 30px !important;
    height: 30px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 50% !important;
    color: rgba(255, 255, 255, 0.45) !important;
    cursor: pointer !important;
    padding: 0 !important;
    font-size: 0 !important;
    line-height: 1 !important;
    transition: background 0.18s, color 0.18s !important;
    box-shadow: none !important;
    outline: none !important;
}

.video_single_subscribe_popup_close:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    color: rgba(255, 255, 255, 0.9) !important;
    transform: none !important;
}

.video_single_subscribe_popup_close svg {
    display: block;
    flex-shrink: 0;
    color: inherit;
    pointer-events: none;
}

.video_single_subscribe_popup_badge {
    display: inline-block;
    background: linear-gradient(90deg, #4ade80 0%, #22d3ee 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'Arial', sans-serif;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.video_single_subscribe_popup_title {
    margin: 0 0 12px !important;
    color: #ffffff !important;
    font-family: 'Arial', sans-serif;
    font-size: clamp(22px, 3vw, 28px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.01em;
}

.video_single_subscribe_popup_text {
    margin: 0 0 28px !important;
    color: rgba(255, 255, 255, 0.45) !important;
    font-family: 'Arial', sans-serif;
    font-size: 15px;
    line-height: 1.6;
}

.video_single_subscribe_popup_btn,
body .video_single_subscribe_popup .video_single_subscribe_popup_btn {
    position: relative !important;
    isolation: isolate !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-height: 50px !important;
    padding: 14px 28px !important;
    border-radius: 999px !important;
    background: transparent !important;
    color: #0d0d0d !important;
    -webkit-text-fill-color: #0d0d0d !important;
    font-family: 'Arial', sans-serif !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    text-decoration: none !important;
    letter-spacing: 0.02em !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    box-shadow: none !important;
    transform: none !important;
}

.video_single_subscribe_popup_btn::before,
body .video_single_subscribe_popup .video_single_subscribe_popup_btn::before {
    content: '' !important;
    position: absolute !important;
    inset: 0 !important;
    background: linear-gradient(135deg, #4ade80 0%, #86efac 100%) !important;
    border-radius: inherit !important;
    z-index: -1 !important;
    opacity: 1 !important;
    transition: opacity 0.35s ease !important;
    pointer-events: none !important;
}

.video_single_subscribe_popup_btn::after,
body .video_single_subscribe_popup .video_single_subscribe_popup_btn::after {
    content: '' !important;
    position: absolute !important;
    inset: 0 !important;
    background: #ffffff !important;
    border-radius: inherit !important;
    z-index: -2 !important;
    pointer-events: none !important;
}

.video_single_subscribe_popup_btn:hover::before,
body .video_single_subscribe_popup .video_single_subscribe_popup_btn:hover::before {
    opacity: 0 !important;
}

.video_single_subscribe_popup_btn:hover,
body .video_single_subscribe_popup .video_single_subscribe_popup_btn:hover {
    color: #0d0d0d !important;
    -webkit-text-fill-color: #0d0d0d !important;
    transform: none !important;
    box-shadow: none !important;
}

@media (max-width: 767px) {
    .video_single_subscribe_popup_box {
        padding: 36px 24px 28px;
        border-radius: 20px;
    }

    .video_single_login_notice {
        border-radius: 18px;
    }

    .video_single_subscribe_popup_btn {
        min-height: 46px !important;
        font-size: 13px !important;
    }

    .video_single_login_notice_btn {
        min-height: 46px !important;
        padding: 12px 28px !important;
        font-size: 14px !important;
    }
}
