/*
Theme Name: Bokepbox Custom
Template: retrotube
Version: 1.0.0
Description: Custom child theme for Bokepbox.
*/

/* =====================================
   BOKEPBOX CUSTOM DESIGN
===================================== */

:root {
    --bb-primary: #e63946;
    --bb-background: #101116;
    --bb-card: #191b23;
    --bb-border: rgba(255,255,255,.08);
    --bb-text: #f4f4f5;
    --bb-muted: #a1a1aa;
}

body {
    background: var(--bb-background);
    color: var(--bb-text);
}

/* Main content */
#primary {
    min-width: 0;
}

.site-main {
    padding-top: 12px;
}

/* Homepage heading */
.bb-home-heading {
    margin: 0 0 24px;
    padding: 22px 24px;
    background: linear-gradient(135deg, #20232d, #171820);
    border: 1px solid var(--bb-border);
    border-left: 4px solid var(--bb-primary);
    border-radius: 12px;
}

.bb-home-heading h1 {
    margin: 0 0 10px;
    color: #fff;
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 800;
    line-height: 1.3;
}

.bb-home-description {
    color: var(--bb-muted);
    font-size: 14px;
    line-height: 1.8;
}

/* Section heading */
.bb-section-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 25px 0 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--bb-border);
}

.bb-section-heading h2 {
    margin: 0;
    color: #fff;
    font-size: 20px;
    font-weight: 800;
}

.bb-section-heading:before {
    content: "";
    width: 4px;
    height: 22px;
    background: var(--bb-primary);
    border-radius: 4px;
}

/* Video grid */
.videos-list {
    gap: 18px;
}

/* Video cards */
.videos-list article {
    overflow: hidden;
    border-radius: 10px;
    transition: transform .2s ease, box-shadow .2s ease;
}

.videos-list article:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,.3);
}

/* Widget headings */
.widget-title {
    color: #fff;
    font-weight: 800;
}

/* SEO description */
.bb-seo-description {
    margin: 30px 0;
    padding: 22px;
    background: var(--bb-card);
    border: 1px solid var(--bb-border);
    border-radius: 12px;
    color: var(--bb-muted);
    font-size: 14px;
    line-height: 1.9;
}

.bb-seo-description p:last-child {
    margin-bottom: 0;
}

/* Mobile */
@media (max-width: 767px) {
    .site-main {
        padding-top: 5px;
    }

    .bb-home-heading {
        padding: 17px;
        margin-bottom: 18px;
    }

    .bb-home-heading h1 {
        font-size: 21px;
    }

    .bb-section-heading h2 {
        font-size: 18px;
    }

    .videos-list {
        gap: 10px;
    }

    .bb-seo-description {
        padding: 16px;
    }
}

/* =====================================
   BOKEPBOX HEADER REDESIGN
===================================== */

#masthead.site-header {
    background: #111217;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

/* Branding */
.site-branding.row {
    max-width: 1400px;
    min-height: 85px;
    margin: auto;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.site-branding .logo {
    display: flex;
    align-items: center;
}

.site-branding .logo img {
    display: block;
    max-width: 230px;
    max-height: 65px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Search */
.header-search {
    width: min(100%, 380px);
}

.header-search form {
    display: flex;
    width: 100%;
    gap: 7px;
}

.header-search input.input-group-field {
    flex: 1;
    min-width: 0;
    height: 42px;
    padding: 0 14px;
    color: #fff;
    background: #1c1e27;
    border: 1px solid #343642;
    border-radius: 7px;
    outline: none;
}

.header-search input.input-group-field:focus {
    border-color: #e63946;
}

.header-search input#searchsubmit {
    width: 44px;
    height: 42px;
    color: #fff;
    background: #e63946;
    border: 0;
    border-radius: 7px;
    cursor: pointer;
}

.header-search input#searchsubmit:hover {
    background: #c92e3a;
}

/* Navigation */
#site-navigation.main-navigation {
    background: #191b23;
    border-top: 1px solid rgba(255,255,255,.04);
    border-bottom: 1px solid rgba(255,255,255,.08);
}

#site-navigation > ul {
    max-width: 1400px;
    margin: auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    list-style: none;
}

#site-navigation > ul > li {
    margin: 0;
}

#site-navigation > ul > li > a {
    display: block;
    padding: 15px 18px;
    color: #d4d4dc;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: .2s ease;
}

#site-navigation > ul > li:hover > a,
#site-navigation > ul > li.current-menu-item > a,
#site-navigation > ul > li.current_page_item > a {
    color: #fff;
    background: #e63946;
}

/* Homepage section heading */
.bb-section-heading {
    margin-top: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255,255,255,.09);
}

.bb-section-heading h2 {
    font-size: 22px;
    letter-spacing: -.3px;
}

/* Mobile header */
@media (max-width: 767px) {

    .site-branding.row {
        min-height: auto;
        padding: 12px 14px;
        flex-wrap: wrap;
        gap: 12px;
    }

    .site-branding .logo img {
        max-width: 175px;
        max-height: 48px;
    }

    .header-search {
        width: 100%;
    }

    .header-search input.input-group-field,
    .header-search input#searchsubmit {
        height: 38px;
    }

    #site-navigation > ul {
        padding: 0 8px;
    }

    #site-navigation > ul > li > a {
        padding: 12px 10px;
        font-size: 12px;
    }

    .bb-section-heading h2 {
        font-size: 19px;
    }
}


/* =====================================
   BOKEPBOX VIDEO CARD POLISH
   Preserve existing grid and thumbnail size
===================================== */

.videos-list article {
    position: relative;
    border-radius: 9px;
    overflow: hidden;
    background: #191b23;
    transition: box-shadow .25s ease, transform .25s ease;
}

.videos-list article:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(0,0,0,.4);
}

/* Thumbnail appearance without changing dimensions */
.videos-list article img {
    border-radius: 7px;
    transition: filter .25s ease;
}

.videos-list article:hover img {
    filter: brightness(1.08);
}

/* Video title */
.videos-list article .entry-title,
.videos-list article h2,
.videos-list article h3,
.videos-list article .video-title {
    color: #f4f4f5;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
    text-align: center;
    padding: 7px 5px;
    margin: 0;
}

.videos-list article a {
    text-decoration: none;
}

.videos-list article a:hover {
    color: #ff525d;
}

/* Pagination */
.pagination,
.wp-pagenavi {
    margin: 30px 0;
    text-align: center;
}

.wp-pagenavi a,
.wp-pagenavi span {
    display: inline-block;
    min-width: 34px;
    padding: 9px 11px;
    margin: 3px;
    color: #ddd;
    background: #191b23;
    border: 1px solid #343642;
    border-radius: 5px;
    text-decoration: none;
}

.wp-pagenavi span.current,
.wp-pagenavi a:hover {
    color: #fff;
    background: #e63946;
    border-color: #e63946;
}


/* =====================================
   BOKEPBOX SEO CONTENT
===================================== */

.bb-home-heading {
    margin-top: 30px;
    padding: 25px;
    background: linear-gradient(135deg, #1b1d26, #14151b);
    border: 1px solid #30313b;
    border-left: 4px solid #e63946;
    border-radius: 10px;
}

.bb-home-heading h1 {
    color: #fff;
    font-size: 25px;
    font-weight: 800;
    margin: 0 0 14px;
    line-height: 1.4;
}

.bb-home-description,
.bb-seo-description {
    color: #b8bac5;
    font-size: 14px;
    line-height: 1.9;
}

.bb-home-description p,
.bb-seo-description p {
    margin: 0 0 12px;
}

.bb-home-description p:last-child,
.bb-seo-description p:last-child {
    margin-bottom: 0;
}

.bb-seo-description {
    margin: 35px 0;
    padding: 25px;
    background: #191b23;
    border: 1px solid #30313b;
    border-radius: 10px;
}

.bb-seo-description h2,
.bb-seo-description h3 {
    color: #fff;
    margin: 18px 0 10px;
    font-weight: 700;
}

/* =====================================
   BOKEPBOX FOOTER
===================================== */

#colophon.site-footer {
    margin-top: 35px;
    padding: 35px 20px 20px;
    background: #171920;
    border-top: 3px solid #e63946;
    color: #aeb0bb;
}

#colophon.site-footer .row {
    max-width: 1400px;
    margin: auto;
}

#colophon .widget {
    margin-bottom: 20px;
}

#colophon .widget-title {
    color: #fff;
    font-size: 17px;
    font-weight: 800;
}

#colophon a {
    color: #c5c6ce;
    text-decoration: none;
    transition: color .2s ease;
}

#colophon a:hover {
    color: #ff525d;
}

/* Footer menu */
#colophon .footer-menu-container {
    margin: 20px 0;
}

#colophon .footer-menu-container ul,
#colophon .menu-footer-container ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0;
    margin: 0;
    list-style: none;
}

#colophon .footer-menu-container li,
#colophon .menu-footer-container li {
    list-style: none;
}

#colophon .footer-menu-container a,
#colophon .menu-footer-container a {
    display: inline-block;
    padding: 9px 14px;
    background: #22252e;
    border: 1px solid #353844;
    border-radius: 6px;
    font-size: 13px;
}

#colophon .site-info {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #30313b;
    color: #858895;
    font-size: 12px;
    line-height: 1.8;
    text-align: center;
}

/* Mobile */
@media (max-width: 767px) {
    .bb-home-heading,
    .bb-seo-description {
        padding: 17px;
        margin-top: 20px;
    }

    .bb-home-heading h1 {
        font-size: 21px;
    }

    #colophon.site-footer {
        padding: 25px 15px 15px;
    }

    #colophon .footer-menu-container a,
    #colophon .menu-footer-container a {
        padding: 8px 10px;
        font-size: 12px;
    }
}


/* =====================================
   BOKEPBOX FOOTER FINAL POLISH
===================================== */

.bb-seo-description {
    margin-bottom: 25px;
}

/* Footer */
#colophon.site-footer {
    margin-top: 20px;
    padding: 35px 20px 22px;
    background: #15171e;
    border-top: 3px solid #e63946;
}

/* Footer menu - support different RetroTube menu classes */
#colophon .menu,
#colophon .footer-menu-container ul,
#colophon .menu-footer-container ul {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0;
    margin: 0;
    list-style: none;
}

#colophon .menu li,
#colophon .footer-menu-container li,
#colophon .menu-footer-container li {
    list-style: none;
    margin: 0;
}

#colophon .menu li a,
#colophon .footer-menu-container li a,
#colophon .menu-footer-container li a {
    display: inline-block;
    padding: 10px 17px;
    color: #d6d7df;
    background: #22252e;
    border: 1px solid #383b47;
    border-radius: 6px;
    font-size: 13px;
    text-decoration: none;
    transition: .2s ease;
}

#colophon .menu li a:hover,
#colophon .footer-menu-container li a:hover,
#colophon .menu-footer-container li a:hover {
    color: #fff;
    background: #e63946;
    border-color: #e63946;
}

/* Copyright */
#colophon .site-info {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid #30333e;
    color: #9295a2;
    font-size: 12px;
    text-align: center;
}

/* Mobile */
@media (max-width: 767px) {
    #colophon.site-footer {
        padding: 25px 12px 18px;
    }

    #colophon .menu li a,
    #colophon .footer-menu-container li a,
    #colophon .menu-footer-container li a {
        padding: 8px 11px;
        font-size: 12px;
    }
}


/* BOKEPBOX FOOTER - FORCE OVERRIDE */

#colophon.site-footer {
    background: #15171e !important;
    border-top: 3px solid #e63946 !important;
    padding: 35px 20px 25px !important;
}

/* Footer menu */
#colophon .footer-menu-container,
#colophon .menu-footer-container,
#colophon .footer-menu {
    text-align: center !important;
}

#colophon .footer-menu-container ul,
#colophon .menu-footer-container ul,
#colophon ul#menu-footer,
#colophon ul#menu-footer-menu {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    padding: 0 !important;
    margin: 0 auto !important;
    list-style: none !important;
}

#colophon .footer-menu-container li,
#colophon .menu-footer-container li,
#colophon ul#menu-footer li,
#colophon ul#menu-footer-menu li {
    margin: 0 !important;
    list-style: none !important;
}

#colophon .footer-menu-container a,
#colophon .menu-footer-container a,
#colophon ul#menu-footer a,
#colophon ul#menu-footer-menu a {
    display: inline-block !important;
    padding: 11px 18px !important;
    color: #eeeeee !important;
    background: #252832 !important;
    border: 1px solid #3a3e4b !important;
    border-radius: 7px !important;
    text-decoration: none !important;
    font-size: 13px !important;
    transition: .2s ease !important;
}

#colophon .footer-menu-container a:hover,
#colophon .menu-footer-container a:hover,
#colophon ul#menu-footer a:hover,
#colophon ul#menu-footer-menu a:hover {
    color: #fff !important;
    background: #e63946 !important;
    border-color: #e63946 !important;
}

#colophon .site-info {
    color: #999eaa !important;
    border-top: 1px solid #30333e !important;
    padding-top: 20px !important;
    margin-top: 25px !important;
    text-align: center !important;
}


/* =====================================
   BOKEPBOX HEADER ALIGNMENT FIX
===================================== */

/* Header container */
#masthead.site-header {
    background: #111217 !important;
}

/* Logo and search alignment */
#masthead .site-branding.row {
    width: calc(100% - 150px) !important;
    max-width: 1640px !important;
    min-height: 78px !important;
    margin: 0 auto !important;
    padding: 12px 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 30px !important;
    box-sizing: border-box !important;
}

#masthead .logo {
    flex: 0 0 auto !important;
}

#masthead .logo img {
    max-width: 240px !important;
    max-height: 60px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
}

/* Search */
#masthead .header-search {
    width: 380px !important;
    max-width: 45% !important;
    margin-left: auto !important;
}

#masthead .header-search form {
    display: flex !important;
    width: 100% !important;
    gap: 8px !important;
}

#masthead .header-search input.input-group-field {
    flex: 1 !important;
    width: 100% !important;
    height: 42px !important;
    box-sizing: border-box !important;
}

#masthead .header-search input#searchsubmit {
    flex: 0 0 44px !important;
    height: 42px !important;
}

/* Navigation alignment */
#site-navigation > ul {
    width: calc(100% - 150px) !important;
    max-width: 1640px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

/* Navigation height */
#site-navigation > ul > li > a {
    min-height: 48px !important;
    display: flex !important;
    align-items: center !important;
    padding: 0 18px !important;
}

/* Mobile */
@media (max-width: 767px) {
    #masthead .site-branding.row {
        width: calc(100% - 28px) !important;
        min-height: auto !important;
        padding: 12px 0 !important;
        gap: 12px !important;
    }

    #masthead .logo img {
        max-width: 180px !important;
        max-height: 48px !important;
    }

    #masthead .header-search {
        width: 100% !important;
        max-width: 100% !important;
    }

    #site-navigation > ul {
        width: 100% !important;
        padding: 0 8px !important;
    }
}



/* =====================================
   BOKEPBOX HEADER FINAL
===================================== */

/* Header background */
#masthead {
    background: #101116 !important;
    border-bottom: 1px solid #30313b;
}

/* Logo + Search wrapper */
#masthead .site-branding.row {
    width: calc(100% - 40px) !important;
    max-width: 1530px !important;
    min-height: 90px !important;
    margin: 0 auto !important;
    padding: 15px 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 30px !important;
    box-sizing: border-box !important;
}

/* Logo */
#masthead .site-branding .logo {
    float: none !important;
    flex: 0 0 auto !important;
    margin: 0 !important;
}

#masthead .site-branding .logo img {
    display: block !important;
    max-width: 260px !important;
    max-height: 65px !important;
    width: auto !important;
    height: auto !important;
}

/* Search form */
#masthead .header-search {
    display: block !important;
    float: none !important;
    flex: 0 1 420px !important;
    width: 420px !important;
    max-width: 45% !important;
    margin: 0 0 0 auto !important;
}

#masthead .header-search form {
    display: flex !important;
    width: 100% !important;
    height: 44px !important;
    gap: 8px !important;
}

#masthead .header-search input#s {
    flex: 1 !important;
    min-width: 0 !important;
    height: 44px !important;
    padding: 0 14px !important;
    color: #fff !important;
    background: #1b1d25 !important;
    border: 1px solid #353844 !important;
    border-radius: 7px !important;
    box-sizing: border-box !important;
}

#masthead .header-search input#searchsubmit {
    flex: 0 0 46px !important;
    width: 46px !important;
    height: 44px !important;
    color: #fff !important;
    background: #e60012 !important;
    border: 0 !important;
    border-radius: 7px !important;
    cursor: pointer !important;
}

/* Navigation */
#site-navigation {
    background: #191b23 !important;
    border-top: 1px solid #292b35 !important;
    border-bottom: 1px solid #30313b !important;
}

#site-navigation ul.row {
    width: calc(100% - 40px) !important;
    max-width: 1530px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    box-sizing: border-box !important;
}

#site-navigation ul.row > li > a {
    min-height: 49px !important;
    padding: 0 19px !important;
    display: flex !important;
    align-items: center !important;
    color: #e5e5e5 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    border-right: 1px solid #292b35 !important;
    transition: .2s ease !important;
}

#site-navigation ul.row > li:hover > a,
#site-navigation ul.row > li.current-menu-item > a,
#site-navigation ul.row > li.current_page_item > a {
    color: #fff !important;
    background: #e60012 !important;
}

/* Mobile */
@media(max-width: 767px) {

    #masthead .site-branding.row {
        width: calc(100% - 28px) !important;
        min-height: auto !important;
        padding: 14px 0 !important;
        flex-wrap: wrap !important;
        gap: 14px !important;
    }

    #masthead .site-branding .logo img {
        max-width: 190px !important;
        max-height: 48px !important;
    }

    #masthead .header-search {
        width: 100% !important;
        max-width: 100% !important;
        flex: 1 1 100% !important;
    }

    #site-navigation ul.row {
        width: 100% !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        white-space: nowrap !important;
    }

    #site-navigation ul.row > li {
        flex: 0 0 auto !important;
    }

    #site-navigation ul.row > li > a {
        min-height: 44px !important;
        padding: 0 13px !important;
    }
}

