/*
Theme Name: KingTube Child
Theme URI: https://www.wp-script.com/themes/kingtube/
Author: WP-Script
Author URI: https://www.wp-script.com
Description: Child theme de KingTube
Template: kingtube
Version: 1.0.0
Text Domain: wpst
*/

/* ========================================
   BASE
======================================== */

body { 
	background-color: #161616 !important;
    color: #fff !important
}


.site-header {
    background: #000;
    border-bottom: 1px solid #3e3d3d;
}

.site-footer {
    background: #000;
    border-top: 1px solid #131313;
}

.site-branding .logo a {
    display: inline-block;
    color: #fff;
    outline: none;
}

.gallery,
.wp-block-gallery {
    opacity: 1;
}

#breadcrumbs li.item-current .bread-current {
    color: #29BAC6;
}

/* ========================================
   TAGS Y CATEGORÍAS
======================================== */

.home-tags-list,
.home-category-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
}

.home-tags-list .home-tags-link,
.home-category-list .home-category-link {
    display: block;
    color: #646C79;
    font-size: 14px;
    line-height: 10px;
    border-radius: 4px;
    border: 1px solid #ddd;
    margin: 0 2.5px 5px;
    padding: 5px;
    background-color: #fff;
}

.video-tags a.label,
a.tag-cloud-link,
.template-actors li a {
    display: inline-block;
    color: #646C79;
    background: #fff;
    border: 1px solid #ddd;
    padding: 0 5px;
    margin: 0 0.5em 0.5em 0;
    font-size: 1em;
    border-radius: 10px;
}

/* ========================================
   PLAYER RESPONSIVE
======================================== */

#responsive-player {
    width: 100% !important;
    aspect-ratio: 16 / 9;
}

.responsive-player {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    margin-bottom: 1em;
}

.video-container {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.video-container iframe,
.video-container video,
.video-container object,
iframe[width],
iframe[height],
video[width],
video[height],
object[width],
object[height] {
    width: 100% !important;
    height: 100% !important;
    border: 0;
    display: block;
}

/* ========================================
   BOTONES
======================================== */

.button-style {
    background-color: #0073aa;
    color: #fff;
    border: none;
    padding: 7px 12px;
    font-size: 15px;
    border-radius: 4px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: background-color 0.2s ease;
}

span.post-like a,
.video-share .button {
    font-size: 15px;
}

/* ========================================
   SIDEBAR / POPULAR POSTS
======================================== */

.widget-grid-view-image {
    float: left;
    max-width: 50%;
}

.primary-sidebar div {
    margin-bottom: 0.2rem;
}

.popular-post-sidebar ol a,
.primary-sidebar div ul a {
    display: grid;
    margin-left: 0.2rem;
}

.wpp-list {
    display: table;
}

/* ========================================
   LABELS RESPONSIVE
======================================== */

.label-mobile {
    display: none;
}

.label-pc {
    display: inline;
}

/* ========================================
   ADS
======================================== */

.ad-300x100 {
    width: 300px;
    height: 100px;
    line-height: 100px;
}

.ad-responsive {
    width: 100%;
    height: 253px;
    margin: 10px auto;
    overflow: hidden;
}

/* ========================================
   POPUNDER
======================================== */

.descargas {
    display: none;
}

.popunder {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-end;
    width: 600px;
    max-width: calc(100% - 80px);
    max-height: calc(100% - 80px);
    background: transparent;
    box-sizing: border-box;
}

.popunder .closetag {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 50px;
    min-height: 15px;
    background: red;
    color: #fff;
    cursor: pointer;
}

.popunder .contpopunder {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    min-width: 100%;
    min-height: 300px;
    background: #fff;
    color: #000;
}

.popunder .contpopunder .btn {
    margin: 20px 0;
}

/* ========================================
   BREADCRUMBS
======================================== */

.breadcrumbs-area {
    background: #191818 !important;
}

.rank-math-breadcrumb,
.rank-math-breadcrumb p {
    margin: 0;
    padding: 0;
}

.rank-math-breadcrumb a {
    color: inherit;
    text-decoration: none;
}

/* ========================================
   MOBILE
======================================== */

@media (max-width: 768px) {

    .label-mobile {
        display: inline;
    }

    .label-pc {
        display: none;
    }

    .ad-responsive {
        width: 300px;
        height: 600px;
        margin-left: auto;
        margin-right: auto;
    }
}