/*
Theme Name: WP-RUSVIDEOS
Theme URI: https://rusvideos.net
Author: WP-Script
Author URI: https://wp-script.com
Description: WordPress theme for adult video site based on rusvideos.net
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wp-rusvideos
*/

/* ========================================
   CSS VARIABLES
======================================== */
:root {
    --primary-color: #ff5465;
    --secondary-color: #ff5465;
    --header-bg: #F3F3F3;
    --body-bg: #16171b;
    --footer-bg: #484848;
    --text-primary: #222;
    --text-secondary: #616161;
    --text-muted: #8a8a8a;
    --white-color: #fff;
    --border-color: #e5e5e5;
    --card-bg: #302f2f;
    --card-hover: #090909;
}

/* ========================================
   FONT DISPLAY OPTIMIZATION
======================================== */
@font-face {
    font-family: system-ui;
    font-display: swap;
}

/* ========================================
   RESET & NORMALIZE
======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-display: swap;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #222;
    background-color: #F3F3F3;
    transition: color 0.3s ease;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

a {
    color: var(--white-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

.fa {
    transition: .3s all;
}

header .fa {
    color: var(--text-primary);
}

.header-desktop .fa.fa-search {
    color: var(--text-primary);
}

/* ========================================
   LAYOUT
======================================== */
.container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 .625rem;
}

.blog .container {
    max-width: 1640px;
}

.wrap {
    padding: 20px 0;
}

.home .site-main {
    padding-top: 20px;
}

/* ========================================
   HEADER DESKTOP
======================================== */
.header-desktop {
    background: #F3F3F3;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    min-height: 64px;
    display: flex;
    align-items: center;
}

.header-desktop .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-branding {
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.site-branding a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--white-color);
}

.site-favicon {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.site-title {
    font-size: 24px;
    font-weight: bold;
    color: var(--text-primary);
    margin: 0;
    text-transform: capitalize;
    transition: color 0.3s;
}

.site-title:hover {
    color: var(--secondary-color);
}

.site-title a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s;
}

.site-title a:hover {
    color: var(--secondary-color);
}

/* Header Navigation */
.header-nav {
    display: flex;
    align-items: center;
    gap: 20px;
    width: 100%;
}

.header-desktop .main-navigation {
    display: flex;
    width: 100%;
    justify-content: center;
}

.main-navigation ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 15px;
    justify-content: flex-end;
}

.header-desktop .main-navigation ul {
    justify-content: center;
    padding: 0;
    gap: 0px 10px;
}

#menu-main-menu {
    flex-wrap: wrap;
}

.main-navigation a {
    color: var(--text-primary);
    font-weight: 600;
    background-color: transparent;
    padding: 8px 12px;
    display: block;
    transition: all 0.3s;
    text-transform: uppercase;
    font-size: 14px;
}

.header-desktop .main-navigation a {
    background-color: transparent;
    color: var(--text-primary);
    border: none;
    border-radius: 4px;
    padding: 9px;
    font-size: 14px;
    line-height: 1;
    transition: all .3s;
}

.main-navigation a:hover {
    background: var(--primary-color);
    color: var(--white-color);
}

/* Search Icon Toggle */
.search-toggle {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 20px;
    cursor: pointer;
    padding: 8px;
}

.header-desktop .search-toggle {
    margin-left: auto;
}

.search-toggle:hover {
    color: var(--primary-color);
}

header .fa {
    color: var(--text-primary);
}

.fa.fa-search {
    color: var(--text-primary);
}

/* Search Form Popup */
.header-search-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.header-search-popup.active {
    display: flex;
}

.search-popup-inner {
    width: 90%;
    max-width: 600px;
    position: relative;
}

.search-popup-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: var(--white-color);
    font-size: 30px;
    cursor: pointer;
}

.header-search-popup form {
    position: relative;
}

.header-search-popup input[type="text"] {
    width: 100%;
    padding: 15px 60px 15px 20px;
    font-size: 18px;
    background: var(--white-color);
    color: var(--text-primary);
    border: none;
    border-radius: 4px;
}

.header-search-popup button[type="submit"] {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 60px;
    background: var(--primary-color);
    border: none;
    color: var(--white-color);
    font-size: 20px;
    cursor: pointer;
    border-radius: 0 4px 4px 0;
}

.search-popup-inner .fa.fa-search {
    color: #fff;
}

/* ========================================
   HEADER MOBILE
======================================== */
.header-mobile {
    display: none;
    background-color: #F3F3F3;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    height: auto;
}

.header-mobile .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-menu-toggle {
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

.mobile-logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mobile-logo a {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.mobile-logo img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.mobile-logo .site-title {
    font-size: 18px;
    color: var(--primary-color);
}

.mobile-search-toggle {
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
    width: 40px;
    height: 40px;
}

/* Mobile Menu Sidebar */
.mobile-menu-sidebar {
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100%;
    background-color: #2E2F35;
    z-index: 9999;
    transition: left 0.3s ease;
    overflow-y: auto;
    text-transform: uppercase;
}

.mobile-menu-sidebar.active {
    left: 0;
}

.mobile-menu-header {
    padding: 15px;
    background-color: transparent;
    color: var(--white-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-menu-close {
    background: none;
    border: none;
    color: var(--white-color);
    font-size: 24px;
    cursor: pointer;
}

.mobile-menu-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-menu-nav a {
    display: block;
    padding: 15px 20px;
    color: var(--white-color);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.1s;
}

.mobile-menu-nav a:hover {
    background-color: var(--primary-color);
    color: #fff;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9998;
}

.mobile-menu-overlay.active {
    display: block;
}

/* ========================================
   BREADCRUMBS
======================================== */
.breadcrumbs {
    padding: 15px 0;
    padding-bottom: 0 !important;
    font-size: 13px;
    color: var(--text-secondary);
}

.breadcrumbs a {
    color: var(--primary-color);
}

.breadcrumbs a:hover {
    color: var(--white-color);
}

.breadcrumb-separator {
    margin: 0 8px;
    color: var(--text-secondary);
}

.breadcrumb-current {
}

/* ========================================
   PAGE TITLE & DESCRIPTION
======================================== */
.page-header {
    padding: 0 0 20px 0;
}

.page-title {
    padding: 0;
    background-color: transparent;
    border-radius: 0;
    line-height: 1.5;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 0;
    text-transform: capitalize;
}

.page-description {
    color: var(--text-secondary);
    line-height: 1.8;
}

.page-title,
.breadcrumb-current,
.post-title,
.related-title {
    color: #222;
}

/* ========================================
   VIDEO GRID
======================================== */
.videos-grid {
    display: grid !important;
    visibility: visible !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.video {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    border-radius: 0;
    overflow: hidden;
    padding-bottom: 0;
    border: none;
    background: transparent;
    box-shadow: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video img {
    -webkit-filter: brightness(100%);
    filter: brightness(100%);
    transition: all .3s;
}

.video:hover {
    transform: none;
    border-color: var(--primary-color);
    box-shadow: none;
}

.video:hover img {
    opacity: 1;
    -webkit-filter: brightness(70%);
    filter: brightness(70%);
}

.video:hover .video-thumb {
    border: none !important;
}

.video a:hover {
    color: inherit;
}

.video-thumb {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    overflow: hidden;
    background: none;
    transition: all .3s;
    border: none !important;
    border-radius: 5px;
}

.video-thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    -webkit-filter: brightness(100%);
    filter: brightness(100%);
    transition: all .3s;
}

.video-thumb:hover img {
    opacity: 1;
}

@media (any-hover: hover) {
    .tmb__item:hover .tmb__item-img {
        -webkit-filter: brightness(70%);
        filter: brightness(70%);
    }
}

.video-title {
    padding: 0 10px;
    padding-top: 7px;
    font-size: 15px;
    font-weight: 600;
    color: #222;
    background: none;
    border-radius: 0 0 3px 3px;
    border: none;
    line-height: 1.4;
    height: 48px;
    max-height: 48px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video:hover .video-title {
    color: var(--primary-color);
    transition: all 0.3s;
}

/* ========================================
   SINGLE VIDEO PAGE
======================================== */
.single-video {
    background: transparent;
    padding: 20px 0;
}

.single-video h1 {
    text-transform: none !important;
}

.video-player-wrapper {
    margin-bottom: 20px;
}

.post-title {
    padding: 0;
    background-color: transparent;
    border-radius: 0;
    line-height: 1.5;
    font-size: 24px;
    font-weight: bold;
}

.post-categories {
    margin-bottom: 0;
}

.post-categories a {
    display: inline-block;
    margin-right: 5px;
    margin-bottom: 10px !important;
    text-shadow: .5px 0 0;
    border-radius: 10px;
    background-color: transparent;
    color: #222;
    border: none;
    padding: 5px 12px;
    font-size: 14px;
    font-weight: 400;
    text-transform: capitalize;
    transition: all 0.3s;
}

.post-categories a:hover {
    color: #fff;
    background-color: var(--primary-color);
}

.post-content {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 30px;
}

.post-content p {
    margin-bottom: 15px;
}

.post-content br {
    display: none;
}

/* ========================================
   RELATED VIDEOS
======================================== */
.related-videos-section {
}

.related-title {
    padding: 0;
    background-color: transparent;
    border-radius: 0;
    line-height: 1.5;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
}

.related-videos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

/* ========================================
   PAGINATION
======================================== */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    padding: 30px 0;
}

.pagination a,
.pagination span {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    width: auto;
    height: auto;
    line-height: 1;
    min-width: 42px;
    padding: 13px;
    text-align: center;
    text-shadow: .5px 0 0;
    border-radius: 10px;
    background-color: transparent;
    color: #222;
    border: none;
    transition: all .3s;
}

.pagination a:hover {
    color: #fff;
    background-color: var(--primary-color);
}

.pagination .current,
.pagination .page-current {
    color: #fff;
    background-color: var(--primary-color);
}

.page-numbers.current {
    color: #fff;
    background-color: var(--primary-color);
}

span.page-numbers.dots {
    background: none;
}

/* ========================================
   FOOTER
======================================== */
.site-footer {
    background: #F3F3F3;
    border-top: 1px solid var(--border-color);
    color: #222;
    padding: 30px 0 20px;
    margin-top: 40px;
}

.footer-content {
    text-align: center;
    font-size: 13px;
    color: var(--text-secondary);
}

.footer-content p {
    margin-bottom: 10px;
}

.footer-content a {
    color: var(--primary-color);
}

/* ========================================
   RESPONSIVE - TABLET
======================================== */
@media (max-width: 991px) {
    .videos-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .related-videos {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ========================================
   RESPONSIVE - MOBILE
======================================== */
@media (max-width: 768px) {
    .header-desktop {
        display: none;
    }

    .header-mobile {
        display: block;
    }

    .videos-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px;
    }

    .related-videos {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .page-title {
        font-size: 22px;
    }

    .post-title {
        font-size: 20px;
    }
}

@media (max-width: 767px) {
    .video-title {
        height: auto;
        max-height: 54px;
        font-size: 14px;
        line-height: 1.6;
        padding: 10px;
    }

    .pagination a,
    .pagination span {
        min-width: 35px;
        min-height: 22px;
        line-height: 22px;
    }

    .post-categories a {
        padding: 9px 16px;
        border: 1px solid #2b2f35;
        font-size: 14px;
    }
}

/* ========================================
   IFRAME RESPONSIVE
======================================== */
iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    max-width: 100%;
    height: auto;
}

/* ========================================
   SOCIAL SHARING
======================================== */
.heateor_sss_sharing_container.heateor_sss_horizontal_sharing {
    margin-top: 16px;
}

/* ========================================
   UTILITY CLASSES
======================================== */
.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.clearfix::after {
    content: "";
    display: table;
    clear: both;
}
input[type="text"]{color:#222!important;}