/* Velvet Tube - Theme Custom CSS */

.post-thumbnail {
    aspect-ratio: var(--fv-thumb-aspect-ratio, 16/9);
		height: auto !important;
}
.post-thumbnail video,
.post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.custom-background {
    background-color: #181818 !important;
    background-repeat: repeat;
    background-attachment: fixed;
}
.site-branding .logo img {
    max-width: 300px;
    max-height: 80px;
}
a,
.site-title a i,
.thumb-block:hover span.title,
.required,
.post-like a:hover i,
.top-bar i:hover,
.menu-toggle i,
.main-navigation.toggled li:hover > a,
.main-navigation.toggled li.focus > a,
.main-navigation.toggled li.current_page_item > a,
.main-navigation.toggled li.current-menu-item > a,
.filters a.active,
.filters a:hover,
.archive-aside a:hover,
#video-links a:hover,
.video-share .video-share-url a#clickme:hover,
.morelink:hover,
.footer-menu-container a:hover,
.tags-letter-block .tag-items .tag-item a:hover,
.menu-toggle-open,
.search-open {
    color: #FF3565;
}
button,
.button,
.btn,
input[type="button"],
input[type="reset"],
input[type="submit"],
.pagination ul li a.current,
.pagination ul li a:hover,
.label.secondary:hover,
.widget_categories ul li a:hover,
a.tag-cloud-link:hover,
.rating-bar-meter,
.thumb-block:hover span.hd-video,
.label:hover,
.label:focus,
.label:active {
    background-color: #FF3565 !important;
}
button:hover,
.button:hover {
    background-color: #ff5f85 !important;
}
#video-tabs button.tab-link.active,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
textarea:focus,
.filters a.active {
    border-color: #FF3565 !important;
}
ul li.current-menu-item a {
    border-bottom-color: #FF3565 !important;
}

/* RTB Widgets (Categories/Tags pills) */
:root {
    --utb-accent: var(--main-color, var(--primary-color, #FF3565));
    --utb-box-bg: #0f0f0f;
    --utb-box-border: #262626;
    --utb-title: #f1f1f1;
    --utb-text: #d8d8d8;
    --utb-pill-bg: #161616;
    --utb-pill-border: #2b2b2b;
    --utb-pill-text: #e7e7e7;
    --utb-pill-bg-hover: var(--utb-accent);
    --utb-pill-text-hover: #fff;
}

.rtb-utb-widget {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box !important;
    clear: both !important;
}
.rtb-utb-widget * { box-sizing: border-box; }

.rtb-box {
    width: 100%;
    background: var(--utb-box-bg);
    border: 1px solid var(--utb-box-border);
    border-radius: 6px;
    margin: 16px 0;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(0,0,0,.06);
}
.rtb-box__bar {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    background: var(--utb-box-bg);
    border-bottom: 1px solid var(--utb-box-border);
    position: relative;
}
.rtb-box__bar:before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 4px;
    background: var(--utb-accent);
}
.rtb-box__title {
    color: var(--utb-title);
    font-weight: 800;
    font-size: 13px;
    letter-spacing: .03em;
    text-transform: uppercase;
    padding-left: 10px;
    line-height: 1.2;
}
.rtb-box__body { padding: 12px; }

.rtb-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.rtb-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 10px;
    border-radius: 999px;
    background: var(--utb-pill-bg);
    color: var(--utb-pill-text);
    border: 1px solid var(--utb-pill-border);
    text-decoration: none;
    font-size: 12.5px;
    line-height: 1;
    transition: background .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
}
.rtb-pill:hover {
    background: var(--utb-pill-bg-hover);
    border-color: var(--utb-pill-bg-hover);
    color: var(--utb-pill-text-hover);
    transform: translateY(-1px);
}
.rtb-count { opacity: .65; }

/* Suggest box */
.velvet-tube-suggest-box {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #222;
    border: 1px solid #444;
    border-radius: 0 0 4px 4px;
    z-index: 999999 !important;
    max-height: 300px;
    overflow-y: auto;
    margin-top: 2px;
}
.velvet-tube-suggest-box a {
    display: block;
    padding: 8px 12px;
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
    border-bottom: 1px solid #333;
}
.velvet-tube-suggest-box a:hover {
    background: #333;
    color: #fff;
}
#searchform {
    position: relative;
    z-index: 9999;
}
#searchform::after {
    content: "";
    display: table;
    clear: both;
}

/* Header search mobile toggle */
.header-search.show-mobile {
    display: block !important;
}

/* Footer menu */
.footer-menu-container {
    margin: 15px 0;
}
.footer-menu-container ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}
.footer-menu-container a {
    color: #888;
    text-decoration: none;
    font-size: 13px;
}
.footer-menu-container a:hover {
    color: #FF3565;
}

/* Video stat inline */
.video-stat {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-right: 15px;
    font-size: 14px;
}

/* Server btn active */
.server-btn.active {
    background-color: #FF3565 !important;
    color: #fff !important;
    border-color: #FF3565 !important;
}

/* Logo text fallback */
.logo-main {
    font-size: 24px;
    font-weight: 700;
    color: #333;
}
.logo-ext {
    font-size: 24px;
    font-weight: 700;
    color: #FF3565;
}

/* Hide load-more buttons from original theme */
.btn-loadmore, .load-more, .loadmore, .js-load-more, .more-videos, .rt-load-more, .rt-btn-loadmore {
    display: none !important;
}

/* Pagination style */
.home .pagination, .blog .pagination {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin: 28px 0;
    flex-wrap: wrap;
}


/* SEO Tags & Backlinks Pills styling */
.rtb-pills a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 10px;
    border-radius: 999px;
    background: var(--utb-pill-bg);
    color: var(--utb-pill-text);
    border: 1px solid var(--utb-pill-border);
    text-decoration: none;
    font-size: 12.5px;
    line-height: 1;
    transition: background .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
}
.rtb-pills a:hover {
    background: var(--utb-pill-bg-hover);
    border-color: var(--utb-pill-bg-hover);
    color: var(--utb-pill-text-hover);
    transform: translateY(-1px);
}

/* Back to Top */
#back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #FF3565;
    color: #fff;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.2s;
    pointer-events: none;
}
#back-to-top.show {
    opacity: 0.8;
    visibility: visible;
    pointer-events: auto;
}
#back-to-top.show:hover {
    opacity: 1;
    transform: translateY(-2px);
}

/* DMCA Badge */
.dmca-badge {
    display: inline-block;
    margin-top: 15px;
}
