/*
Theme Name: WP-HDT
Theme URI: https://example.com
Author: WP-HDT
Author URI: https://example.com
Description: Video tube WordPress theme for HDTube
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wp-hdt
*/

/* CSS Variables - HDTube Colors */
:root {
    /* Background Colors - from hdtube.porn CSS */
    --body-bg-main: #10171e;
    --body-bg-other: #121a23;
    --header-bg: #10171f;
    --nav-bg: #151e28;
    --nav-bg-end: #1d262f;

    /* Text Colors */
    --body-text: #caced2;
    --body-text-light: #bdbdbd;
    --body-text-med: #f3f3f3;
    --body-text-strong: #ffffff;

    /* Accent Colors */
    --icon-color: #0ba4f9;
    --highlight-cyan: #0ba4f9;
    --highlight-blue: #0e89cf;
    --highlight-blue-light: #2e95e3;
    --link-color: #0ba4f9;

    /* Borders */
    --border-color: #303e4c;
    --border-color-strong: #3c4353;

    /* Footer */
    --footer-bg-1: #10171e;
    --footer-bg-2: #151e28;
    --footer-link: #caced2;
    --footer-text-light: #bdbdbd;
    --footer-text-strong: #f3f3f3;
}

/* Reset */
* {
    outline: 0;
    text-decoration: none;
}

*, :after, :before {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

body, html, div, p, a, ul, li, input, button, form, textarea, span, img, h1, h2, h3 {
    margin: 0;
    padding: 0;
}

/* HTML & Body */
html {
    height: 100%;
    font-size: 10px;
    background: var(--body-bg-main);
    overflow-x: hidden;
}

body {
    font: 400 14px / 1.2 Arial, sans-serif;
    min-height: 100%;
    min-width: 320px;
    position: relative;
    color: var(--body-text);
    -webkit-text-size-adjust: none;
    -ms-text-size-adjust: none;
    padding: 48px 0 0;
    background: var(--body-bg-main);
}

@media (min-width: 800px) {
    body {
        padding: 60px 0 0;
    }
}

/* Links */
a {
    color: var(--body-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--highlight-cyan);
}

/* Header */
.site-header {
    background: var(--header-bg);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 8px 15px;
    border-bottom: 1px solid var(--border-color);
}

@media (min-width: 800px) {
    .site-header {
        padding: 10px 20px;
    }
}

/* Mobile Header */
.header-mobile {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

@media (min-width: 800px) {
    .header-mobile {
        display: none;
    }
}

.mobile-menu-toggle {
    background: none;
    border: none;
    color: var(--body-text-strong);
    font-size: 20px;
    cursor: pointer;
    padding: 8px;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    font-weight: 700;
    padding: 5px;
}

.site-logo img {
    width: 32px;
    height: 32px;
    border-radius: 4px;
}

.site-logo .logo-text {
    background: linear-gradient(to right, var(--highlight-cyan), var(--body-text-strong));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mobile-search-toggle {
    background: none;
    border: none;
    color: var(--highlight-cyan);
    font-size: 20px;
    cursor: pointer;
    padding: 8px;
}

/* Desktop Header - One Line */
.header-desktop {
    display: none;
}

@media (min-width: 800px) {
    .header-desktop {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 20px;
    }
}

.desktop-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
    white-space: nowrap;
    padding: 5px;
}

.desktop-logo img {
    width: 42px;
    height: 42px;
    border-radius: 4px;
}

.desktop-logo .logo-text {
    background: linear-gradient(to right, var(--highlight-cyan), var(--body-text-strong));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.primary-navigation {
    display: flex;
}

.primary-navigation ul {
    list-style: none;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

.primary-navigation li a {
    display: inline-block;
    padding: 8px 14px;
    background: var(--nav-bg);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--body-text);
    font-size: 14px;
    transition: all 0.3s ease;
}

.primary-navigation li a:hover,
.primary-navigation li.current-menu-item a,
.primary-navigation li.current-cat a {
    background: var(--highlight-cyan);
    color: var(--body-text-strong);
    border-color: var(--highlight-cyan);
}

/* Search Toggle Button */
.search-toggle-btn {
    background: none;
    border: none;
    color: var(--body-text-strong);
    font-size: 20px;
    cursor: pointer;
    padding: 8px;
    transition: color 0.3s ease;
}

.search-toggle-btn:hover {
    color: var(--highlight-cyan);
}

/* Desktop Search Overlay */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding-top: 100px;
}

.search-overlay.active {
    display: flex;
}

.search-overlay-content {
    width: 100%;
    max-width: 600px;
    padding: 0 20px;
}

.search-overlay form {
    display: flex;
    align-items: center;
    background: var(--body-bg-other);
    border: 2px solid var(--highlight-cyan);
    border-radius: 40px;
    overflow: hidden;
}

.search-overlay input[type="search"] {
    flex: 1;
    background: transparent;
    border: none;
    padding: 15px 25px;
    color: var(--body-text-strong);
    font-size: 16px;
}

.search-overlay input[type="search"]::placeholder {
    color: var(--body-text-light);
}

.search-overlay button {
    background: none;
    border: none;
    color: var(--highlight-cyan);
    padding: 15px 25px;
    cursor: pointer;
    font-size: 18px;
}

.search-overlay button:hover {
    color: var(--body-text-strong);
}

.search-overlay-close {
    position: absolute;
    top: 30px;
    right: 30px;
    background: none;
    border: none;
    color: var(--body-text-strong);
    font-size: 30px;
    cursor: pointer;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100vh;
    background: var(--body-bg-other);
    z-index: 2000;
    transition: left 0.3s ease;
    overflow-y: auto;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.5);
}

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

.mobile-menu-header {
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
}

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

.mobile-menu ul {
    list-style: none;
}

.mobile-menu li a {
    display: block;
    padding: 15px 20px;
    color: var(--body-text);
    border-bottom: 1px solid var(--border-color);
}

.mobile-menu li a:hover,
.mobile-menu li.current-menu-item a {
    background: var(--nav-bg);
    color: var(--highlight-cyan);
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1999;
    display: none;
}

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

/* Mobile Search */
.mobile-search {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--body-bg-other);
    z-index: 2000;
    display: none;
    align-items: flex-start;
    padding: 20px 15px;
}

.mobile-search.active {
    display: flex;
}

.mobile-search-container {
    width: 100%;
}

.mobile-search-close {
    background: none;
    border: none;
    color: var(--body-text-strong);
    font-size: 24px;
    cursor: pointer;
    margin-bottom: 20px;
    padding: 0;
}

.mobile-search form {
    display: flex;
    align-items: center;
    background: var(--nav-bg);
    border: 1px solid var(--border-color);
    border-radius: 40px;
    overflow: hidden;
}

.mobile-search input[type="search"] {
    flex: 1;
    background: transparent;
    border: none;
    padding: 12px 20px;
    color: var(--body-text-strong);
    font-size: 16px;
}

.mobile-search input[type="search"]::placeholder {
    color: var(--body-text-light);
}

.mobile-search button {
    background: none;
    border: none;
    color: var(--highlight-cyan);
    padding: 12px 20px;
    cursor: pointer;
    font-size: 18px;
}

.mobile-search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1999;
    display: none;
}

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

/* Main Content */
.site-content {
    max-width: 1600px;
    margin: 0 auto;
    padding: 20px 15px;
}

/* Breadcrumbs */
.breadcrumbs {
    padding: 15px 0;
    font-size: 14px;
    color: var(--body-text-light);
    margin-bottom: 15px;
}

.breadcrumbs a {
    color: var(--body-text-light);
}

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

.breadcrumb-separator {
    margin: 0 8px;
}

.breadcrumb-current {
    color: var(--body-text);
}

/* Category Header */
.category-header,
.archive-header {
    margin-bottom: 25px;
}

.category-header h1,
.archive-header h1 {
    font-size: 32px;
    font-weight: 700;
    color: var(--body-text-strong);
    margin-bottom: 10px;
}

.category-description,
.archive-description {
    color: var(--body-text-light);
    font-size: 14px;
    line-height: 1.6;
}

/* Video Grid - 5 columns x 24 rows = 120 videos */
.block-video {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    width: 100%;
    gap: 8px;
    margin-bottom: 30px;
}

.video-card {
    width: 100%;
    background: var(--body-bg-other);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.video-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 152, 1, 0.3);
}

@media (min-width: 800px) {
    .video-card {
        width: calc(20% - 6.4px);
    }
}

.video-thumbnail {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--body-bg-main);
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-card:hover .video-thumbnail img {
    transform: scale(1.05);
}

.video-info {
    padding: 10px;
}

.video-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--body-text);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-card:hover .video-title {
    color: var(--highlight-cyan);
}

/* Single Video Page */
.single-video-content {
    max-width: 1400px;
    margin: 0 auto;
}

.video-player {
    width: 100%;
    margin-bottom: 20px;
    background: var(--body-bg-main);
    border-radius: 8px;
    overflow: hidden;
}

.video-header h1 {
    font-size: 26px;
    font-weight: 700;
    color: var(--body-text-strong);
    margin-bottom: 15px;
    line-height: 1.4;
}

@media (min-width: 800px) {
    .video-header h1 {
        font-size: 32px;
    }
}

.video-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.video-categories a {
    display: inline-block;
    padding: 10px 18px;
    background: transparent;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    color: var(--body-text);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.video-categories a:hover {
    background: var(--highlight-cyan);
    color: var(--body-text-strong);
    border-color: var(--highlight-cyan);
}

.video-description {
    padding: 20px;
    background: var(--body-bg-other);
    border-radius: 8px;
    margin-bottom: 30px;
    border: 1px solid var(--border-color);
}

.video-description p {
    color: var(--body-text);
    font-size: 14px;
    line-height: 1.6;
}

/* Related Videos - 4 columns x 16 rows = 64 videos */
.related-videos {
    margin-top: 40px;
}

.related-videos h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--body-text-strong);
    margin-bottom: 20px;
}

.related-videos .block-video {
    gap: 8px;
}

@media (min-width: 800px) {
    .related-videos .video-card {
        width: calc(20% - 6.4px);
    }
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 30px 0;
    flex-wrap: wrap;
    width: 100%;
}

.pagination a,
.pagination span {
    display: inline-block;
    padding: 10px 16px;
    background: var(--body-bg-other);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--body-text);
    font-size: 14px;
    transition: all 0.3s ease;
}

.pagination a:hover {
    background: var(--highlight-cyan);
    color: var(--body-text-strong);
    border-color: var(--highlight-cyan);
}

.pagination .current {
    background: var(--highlight-cyan);
    color: var(--body-text-strong);
    border-color: var(--highlight-cyan);
}

/* Footer */
.site-footer {
    background: var(--footer-bg-1);
    padding: 30px 20px;
    margin-top: 50px;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    max-width: 1600px;
    margin: 0 auto;
    color: var(--footer-link);
    font-size: 14px;
}

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

.footer-content a:hover {
    color: var(--highlight-cyan);
}

/* Search Results */
.search-results-header h1 {
    font-size: 28px;
    font-weight: 700;
    color: var(--body-text-strong);
    margin-bottom: 20px;
}

.no-results {
    text-align: center;
    padding: 60px 20px;
}

.no-results h2 {
    font-size: 24px;
    color: var(--body-text-strong);
    margin-bottom: 15px;
}

.no-results p {
    color: var(--body-text-light);
    font-size: 14px;
}

/* Utility Classes */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal;
}

iframe {
	margin-bottom:12px;
}
.video-player br {
	display:none;
}
#player-wraper {
	margin-bottom:12px;
}
.heateor_sss_sharing_container {
	margin-top:12px;
}
.video-player {
	font-size: 16px;
	line-height: 1.3;
	background: transparent;
}
