/*
Theme Name: WP-XV
Theme URI: https://example.com
Author: Your Name
Author URI: https://example.com
Description: Video service theme for WordPress
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-xv
*/

/* Reset & Base Styles */
* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

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

html {
    font-size: 10px;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    font-family: sans-serif;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: Arial, sans-serif;
    font-size: 12px;
    line-height: 1.5;
    color: #000;
    background-color: #fff;
    margin: 0;
    padding: 4px 8px 8px;
    overflow-y: scroll;
}

/* Selection */
::selection {
    background: #de2600;
    color: #fff;
}

::-moz-selection {
    background: #de2600;
    color: #fff;
}

/* Links */
a {
    color: #000;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover,
a:focus {
    color: #de2600;
    text-decoration: underline;
}

a:active {
    color: #de2600;
}

/* Images */
img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
    display: block;
    border: 0;
}

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

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: Arial, sans-serif;
    font-weight: 700;
    line-height: 1.5;
    color: #000;
    margin: 0 0 14px 0;
}

h1 {
    font-size: 24px;
}

h2 {
    font-size: 20px;
}

h3 {
    font-size: 18px;
}

h4 {
    font-size: 16px;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header Styles */
.site-header {
    background-color: #fff;
    border-bottom: 1px solid #dee3ed;
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.site-branding {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.site-icon {
    max-height: 40px;
    width: auto;
    display: block;
}

.custom-logo {
    max-height: 40px;
    width: auto;
}

.site-title {
    font-size: 22px;
    margin: 0;
    color: #000;
    font-weight: 900;
    letter-spacing: -0.5px;
}

.site-title a {
    color: #000;
    font-weight: 900;
}

.site-title a:hover {
    color: #de2600;
    text-decoration: none;
}

/* Search Form */
.search-form {
    flex: 1;
    max-width: 100%;
    margin: 0 20px;
}

.search-form form {
    display: flex;
    gap: 5px;
}

.search-form input[type="search"] {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #dee3ed;
    border-radius: 3px;
    font-size: 12px;
    background-color: #fff;
    color: #000;
    font-family: Arial, sans-serif;
}

.search-form button {
    padding: 8px 16px;
    background-color: #de2600;
    color: #fff;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
    font-family: Arial, sans-serif;
    transition: background-color 0.3s ease;
}

.search-form button:hover {
    background-color: #b01f00;
}

/* Navigation Menu */
.main-navigation {
    border-top: 1px solid #dee3ed;
    padding-top: 10px;
}

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

.main-navigation li {
    margin: 0;
}

.main-navigation a {
    color: #000;
    font-size: 12px;
    font-weight: 400;
    font-family: Arial, sans-serif;
}

.main-navigation a:hover {
    color: #de2600;
}

/* Mobile Menu Toggles */
.mobile-categories-toggle,
.mobile-search-toggle,
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #000;
    font-size: 20px;
    cursor: pointer;
    padding: 5px;
}

/* Breadcrumbs */
.breadcrumbs {
    padding: 15px 0;
    font-size: 12px;
    color: #5e636e;
    font-family: Arial, sans-serif;
}

.breadcrumbs a {
    color: #5e636e;
}

.breadcrumbs a:hover {
    color: #de2600;
}

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

.breadcrumb-current {
    color: #000;
}

/* Main Content */
.site-main {
    padding: 20px 0;
    min-height: 60vh;
}

/* Video Grid */
.video-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.video-card {
    background-color: #fff;
    border: 1px solid #dee3ed;
    border-radius: 3px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 2px 6px -1px rgba(0, 0, 0, 0.16), 0 1px 4px -1px rgba(0, 0, 0, 0.04);
}

.video-card a {
    display: block;
    color: #000;
}

.video-card a:hover {
    text-decoration: none;
}

.video-thumbnail {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    overflow: hidden;
    background-color: #f1f3f9;
}

.video-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-title {
    padding: 10px;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
    min-height: 50px;
    color: #000;
    font-family: Arial, sans-serif;
}

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

.video-player {
    width: 100%;
    margin-bottom: 20px;
    background-color: #000;
}

.video-header {
    margin-bottom: 15px;
}

.video-header h1 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #000;
    font-weight: 700;
}

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

.video-categories a {
    padding: 4px 10px;
    background-color: #f1f3f9;
    color: #000;
    border: 1px solid #dee3ed;
    border-radius: 3px;
    font-size: 12px;
    display: inline-block;
    font-family: Arial, sans-serif;
}

.video-categories a:hover {
    background-color: #de2600;
    color: #fff;
    border-color: #de2600;
    text-decoration: none;
}

.video-content {
    color: #000;
    font-size: 12px;
    line-height: 1.5;
    margin-bottom: 30px;
    font-family: Arial, sans-serif;
}

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

/* Related Videos */
.related-videos {
    margin-top: 40px;
}

.related-videos h2 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #000;
    font-weight: 700;
}

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

/* Category Page */
.category-header {
    margin-bottom: 20px;
}

.category-header h1 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #000;
    font-weight: 700;
}

.category-description {
    font-size: 12px;
    line-height: 1.5;
    color: #5e636e;
    font-family: Arial, sans-serif;
}

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

.pagination a,
.pagination span {
    padding: 8px 12px;
    background-color: #f1f3f9;
    color: #000;
    border: 1px solid #dee3ed;
    border-radius: 3px;
    font-size: 12px;
    display: inline-block;
    min-width: 40px;
    text-align: center;
    font-family: Arial, sans-serif;
}

.pagination a:hover {
    background-color: #de2600;
    color: #fff;
    border-color: #de2600;
    text-decoration: none;
}

.pagination .current {
    background-color: #de2600;
    color: #fff;
    border-color: #de2600;
    font-weight: 700;
}

/* Footer */
.site-footer {
    background-color: #f8f9fc;
    padding: 30px 0;
    margin-top: 50px;
    border-top: 1px solid #dee3ed;
}

.footer-content {
    font-size: 12px;
    line-height: 1.5;
    color: #5e636e;
    font-family: Arial, sans-serif;
}

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

.footer-content a {
    color: #de2600;
}

.footer-content a:hover {
    color: #000;
}

/* Search Results */
.search-results {
    margin-bottom: 30px;
}

.search-results h1 {
    font-size: 24px;
    margin-bottom: 20px;
}

/* No Results */
.no-results {
    text-align: center;
    padding: 50px 20px;
}

.no-results h1 {
    font-size: 24px;
    margin-bottom: 20px;
}

.no-results p {
    font-size: 14px;
    color: #5e636e;
}

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

.clearfix::after {
    content: "";
    display: table;
    clear: both;
}
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;
}