/* ===================================================
   BASE STYLES
=================================================== */
/* body {
    font-size: 13px;
    font-family: "Poppins", sans-serif !important;
}

a,
a:hover,
a:focus {
    color: #000 !important;
    text-decoration: none;
    transition: all 0.3s;
    background-color: transparent;
}

i,
span {
    display: inline-block;
}

svg {
    margin-top: 5px;
} */

/* ===================================================
   TYPOGRAPHY & UTILITIES
=================================================== */
.font-10 {
    font-size: 15px !important;
}
span {
    display: inline-block;
}
.font-11,
.font-11-1 {
    font-size: 13px !important;
}

.font-16 {
    font-size: 14px;
}

.font-22 {
    font-size: 20px;
}

.p-t-15 {
    padding-top: 15px;
}

.line {
    width: 100%;
    height: 1px;
    border-bottom: 1px dashed #ddd;
    margin: 40px 0;
}

.set-img {
    width: 100%;
}

/* ===================================================
   NAVBAR
=================================================== */
.navbar {
    /* background: #fff; */
    border: none;
    border-radius: 0;
}

.navbar-btn {
    box-shadow: none;
    outline: none !important;
    border: none;
}

nav.navbar-findcond .logo-img {
    padding: 0px !important;
    margin: 0px !important;
    max-width: 100px !important;
}

/* ===================================================
   SIDEBAR
=================================================== */
.wrapper {
    align-items: stretch !important;
}

#sidebar {
    min-width: 230px;
    max-width: 250px;
    color: #fff;
    transition: all 0.3s;
}

#sidebar.active {
    min-width: 50px;
    max-width: 50px;
    text-align: center;
}

#sidebar.active .sidebar-header h3,
#sidebar.active .CTAs {
    display: none;
}

#sidebar.active .sidebar-header strong {
    display: block;
}

#sidebar .sidebar-header {
    padding-top: 20px;
}

#sidebar .sidebar-header strong {
    display: none;
    font-size: 1.8em;
}

#sidebar ul.components {
    padding: 20px 0;
}

#sidebar ul li a {
    padding: 8px;
    font-size: 0.9em;
    display: block;
    text-decoration: none;
    text-align: left;
}

#sidebar ul li a:hover {
    color: #7386D5;
    background: #fff;
}

#sidebar ul li a i {
    margin-right: 10px;
}

#sidebar ul li.active > a,
a[aria-expanded="true"] {
    color: #fff;
}

#sidebar.active ul li a {
    padding: 20px 10px;
    text-align: center;
    font-size: 0.85em;
}

#sidebar.active ul li a i {
    margin-right: 0;
    display: block;
    font-size: 1.8em;
    margin-bottom: 5px;
}

#sidebar.active ul ul a {
    padding: 10px !important;
}

#sidebar.active .dropdown-toggle::after {
    top: auto;
    bottom: 10px;
    right: 50%;
    -webkit-transform: translateX(50%);
    -ms-transform: translateX(50%);
    transform: translateX(50%);
}

#open_slide {
    font-size: 17px;
    background: #eeefef;
    padding: 4px 8px;
    border: 1px solid transparent;
    border-radius: 0.25rem;
    font-weight: 900;
}

/* Sidebar Drawer */
.yp_side_drawer {
    box-shadow: none !important;
}

.yp_side_drawer ul.sections {
    margin-left: 11px !important;
    /* margin-top: 29px; */
}

.yp_side_drawer ul.sections li a {
    padding: 0px !important;
    display: flex !important;
    justify-content: flex-start;
    gap: 10px;
    font-weight: normal !important;
    font-size: 14px !important;
}

.yp_side_drawer ul.sections li a svg {
    margin: 0 !important;
}

/* Dropdown */
a[data-toggle="collapse"] {
    position: relative;
}

.dropdown-toggle::before {
    display: block;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}

ul ul a {
    font-size: 0.9em !important;
    padding-left: 30px !important;
    /* background: #6d7fcc; */
}

ul.CTAs {
    padding: 20px;
}

ul.CTAs a {
    text-align: center;
    font-size: 0.9em !important;
    display: block;
    border-radius: 5px;
    margin-bottom: 5px;
}

a.article,
a.article:hover {
    background: #6d7fcc !important;
    color: #000;
}

/* ===================================================
   CONTENT
=================================================== */
.content {
    background-color: #f8f9fc;
    width: 100%;
}

.container-fluid-spec {
    padding-left: 0px !important;
    margin-left: -15px !important;
}

#main-container {
    /* padding-left: 0px !important;
    margin-left: -34px !important; */
        width: 100%;
    /* margin: 0px; */
    padding-left: 0px;
    padding-right: 1px;
}
@media (min-width: 1025px) {
body.side_open .yp_side_menu.has_side_menu {
    margin-left: 203px !important;
}
}

/* ===================================================
   BUTTONS
=================================================== */
.btn:focus {
    outline: none !important;
    box-shadow: none !important;
}

.btn-primary,
.btn-primary:hover,
.btn-primary:active,
.btn-primary:visited {
    background-color: #3A67F8 !important;
}

.btn-secondary,
.btn-secondary:hover,
.btn-secondary:active,
.btn-secondary:visited {
    background-color: #F4F4F4 !important;
    color: #090909 !important;
    border: #F4F4F4 !important;
}

.signup-btn {
    color: white !important;
    font-weight: 400 !important;
    font-size: 15px !important;
    padding: 7px 10px;
}

/* ===================================================
   FORMS & INPUTS
=================================================== */
/* input[type=radio] {
    position: relative;
    top: 5px !important;
    left: 100px !important;
    width: 20px;
    height: 20px;
    margin: 0 18px 0 0 !important;
    opacity: 0.4;
    transform: translateX(-83px);
    cursor: pointer;
    background-color: #6d7fcc;
} */

:root {
    accent-color: #007bff;
}

form.form-search {
    position: relative;
}

form.form-search:before {
    content: '';
    display: block;
    width: 14px;
    height: 14px;
    background-image: url(http://getbootstrap.com/2.3.2/assets/img/glyphicons-halflings.png);
    background-position: -48px 0;
    position: absolute;
    left: 22px !important;
    opacity: 0.5;
    z-index: 1000;
}

input.search-query,
.search-query {
    padding-left: 45px !important;
    height: 50px;
    border-radius: 50px;
    width: 100%;
    background-color: #E5E5E5 !important;
    border: 1px solid #F4F4F4 !important;
}

/* ===================================================
   SLIDER & SWIPER
=================================================== */
.slider {
    background-size: cover;
    background-repeat: no-repeat;
    height: 300px;
    width: 100%;
    margin-top: 30px;
}

.swiper-slide {
    background-color: #f4f4f4 !important;
    border: none !important;
}

.pt_sec_nav_cats {
    padding: 12px 0px !important;
    background: none !important;
    box-shadow: none !important;
    margin: 0px !important;
}

.pt_sec_nav_slide > div a {
    background-color: #f4f4f4 !important;
    border: none !important;
    border-radius: 5px !important;
    padding: 8px !important;
    font-size: 14px !important;
}

/* ===================================================
   VIDEO COMPONENTS
=================================================== */
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Video List */
.video-list {
    width: 100%;
    margin-bottom: 20px;
}

.video-list-image {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 12px;
}

.video-list-image a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    overflow: hidden;
    border-radius: 15px !important;
}

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

.video-list-image,
.video-list-image a,
.video-list-image img {
    max-width: 100%;
}

/* Video List Content */
.pt_vid_fixed_height {
    max-height: 100% !important;
}

.video-list-titlep {
    font-family: 'Poppins' !important;
    font-size: 14px !important;
    line-height: 1.2 !important;
    color: #000000 !important;
    text-align: left !important;
    letter-spacing: 0.7px !important;
    margin-top: 13px !important;
}

/* User Details */
.subscrib_img {
    position: unset !important;
    height: 40px !important;
    width: 40px !important;
    border: #ddd !important;
    border-radius: 27px !important;
}

.usr_tick {
    position: unset !important;
    width: 17px !important;
    height: 17px !important;
}

.userDet {
    display: flex !important;
    flex-direction: row !important;
    gap: 10px !important;
    margin-top: 3px !important;
}

.userDet a {
    font-size: 12px !important;
    font-weight: 400 !important;
}

.vidcheck {
    padding-left: 0px !important;
    margin-top: 4px !important;
}

.vidcheck span {
    font-size: 13px !important;
    float: left !important;
    color: rgb(27, 27, 27) !important;
}

/* Video Overlays */
.play_hover_btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    pointer-events: none;
}

.duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 3px 6px;
    border-radius: 4px;
    font-size: 11px;
    z-index: 10;
}

.wow_liv_counter {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 10;
}

/* ===================================================
   HOME PAGE CATEGORIES
=================================================== */
.home-page-categories .row {
    margin-left: -10px !important;
    margin-right: -10px !important;
}

.home-page-categories .videos {
    width: 100%;
    /* overflow: hidden; */
}

.keep-padding {
    padding-left: 10px !important;
    padding-right: 10px !important;
    margin-bottom: 15px;
}

/* ===================================================
   FIRST CATEGORY LAYOUT (FEATURED)
=================================================== */
.first-category-layout {
    margin-bottom: 30px !important;
    padding-bottom: 15px !important;
}

.first-category-layout .videos {
    position: relative;
    /* overflow: hidden !important; */
    margin-left: -30px !important;
}

.first-category-layout .videos > .row {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    /* gap: 20px;
    margin: 0 -15px;
    padding: 0 15px; */
}

.first-category-layout .clear {
    display: none !important;
}

.first-category-layout + hr.dark_hr {
    display: none !important;
}

/* Left Side - Large Video */
.first-category-layout .first-video {
    flex: 0 0 50%;
    max-width: 50%;
    display: block;
}

.first-category-layout .first-video .keep-padding {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
}

.first-category-layout .first-video .video-list {
    display: block !important;
}

.first-category-layout .first-video .video-list-image {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    width: 106%;
}

.first-category-layout .first-video .video-list-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Right Side - Title + Small Videos */
.first-category-layout .remaining-videos {
    flex: 0 0 50%;
    max-width: 50%;
    display: flex !important;
    flex-direction: column;
    gap: 15px;
}

.first-category-layout .first-video-title {
    width: 100%;
    padding: 0 15px;
}

.first-category-layout .first-video-title .video-list-title h4 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 8px;
    line-height: 1.3;
}

.first-category-layout .first-video-title .video-list-by {
    font-size: 14px;
    color: #666;
}

.first-category-layout .small-videos-row {
    display: flex;
    flex-direction: row;
    gap: 20px;
    width: 100%;
}

.first-category-layout .small-videos-row > div {
    flex: 0 0 calc(50% - 10px);
    max-width: calc(50% - 10px);
}

.first-category-layout .small-videos-row .keep-padding {
    width: 100% !important;
    padding-left: 0 !important;
}

.first-category-layout .small-videos-row .video-list {
    display: block !important;
}

.first-category-layout .small-videos-row .video-list-image {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    width: 100%;
}

.first-category-layout .small-videos-row .video-list-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.first-category-layout .small-videos-row .pt_vid_fixed_height {
    display: block !important;
    width: 100%;
    margin-top: 8px;
}

.first-category-layout .play_hover_btn,
.first-category-layout .duration,
.first-category-layout .wow_liv_counter {
    position: absolute;
    z-index: 10;
}
.view_more_link a {
       background-color: #b5c7ff;
    padding: 4px 10px;
    border: 1px solid #117a8b;
    border-radius: 59px;
}
.content {
    box-shadow: none !important;
}
.navbar-fixed-tops {
    position: absolute !important;
    right: 0 !important;
    left: 0 !important;
    top: 0 !important;
    z-index: 1030 !important;
}



body.side_open .yp_side_drawer {
        width: 217px !important;
        background: white !important;
}
.sidebar-header .sidebar-header-div {
        margin-left: -13px !important;  
}
.sidebar-header-md2 {
    background-color: white;
    width: 217px;
}
.yp_side_drawer {
    box-shadow: none !important;
}
nav.navbar-findcond .search-header {
    padding: 0px 0px;
    margin-top: 22px;
}
nav.navbar-findcond .search-header input {
    width: 50%;
    background-color: #E5E5E5 !important;
    border: 1px solid #F4F4F4 !important;
    height: 50px;
    border-radius: 47px;
 }

/* Search Form Styling */
.search_section {
    position: relative;
    width: 62% !important;
    max-width: 600px;
}

.search_section input#search-bar {
    width: 96%;
    padding-right: 45px !important;
    font-size: 17px;
    padding-left: 23px;
    font-weight: 400;
}

.search_section button[type="submit"] {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    z-index: 10;
}

.search_section button[type="submit"]:hover {
    opacity: 0.7;
}

.search_section button[type="submit"]:focus {
    outline: none;
    box-shadow: none;
}

.search_section button img {
    display: block;
    width: 20px;
    height: 20px;
}

.search-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1000;
}

.search-dropdown.hidden {
    display: none;
}
@media (max-width: 768px) {
    .form-group {
        width: 100%;
        max-width: 100%;
    }
}




@media (min-width: 1200px) {
    .yp_side_drawer {
        position: absolute !important;
        right: 0 !important;
        left: 0 !important;
        overflow-y: unset !important;
        top:45px !important;
    }
}
/* ===================================================
   MEDIA QUERIES
=================================================== */

/* Desktop: 1200px and below */
@media (max-width: 1200px) {
    .keep-padding {
        padding-right: 12px !important;
    }
}

/* Tablet: 992px and below */
@media (max-width: 992px) {
     #main-container {
        margin-left: 0 !important;
        padding-left: 0 !important;
    }
    .keep-padding {
        padding-right: 10px !important;
    }
    
    .video-list-titlep {
        font-size: 13px !important;
        line-height: 1.3 !important;
    }
    
    .userDet a {
        font-size: 11px !important;
    }
    
    .vidcheck span {
        font-size: 11px !important;
    }
   
}

/* Tablet: 768px and below */
@media (max-width: 768px) {
    #sidebar {
        min-width: 90px;
        max-width: 60px;
        text-align: left;
        margin-left: -90px !important;
    }
    
    #sidebar.active {
        margin-left: 0 !important;
    }
    
    #sidebar .sidebar-header h3,
    #sidebar .CTAs {
        display: none;
    }
    
    #sidebar .sidebar-header strong {
        display: block;
    }
    
    #sidebar ul li a {
        padding: 10px 10px;
    }
    
    #sidebar ul li a span {
        font-size: 0.85em;
    }
    
    #sidebar ul li a i {
        margin-right: 0;
        display: block;
        font-size: 1.3em;
    }
    
    #sidebar ul ul a {
        padding: 10px !important;
    }
    
    .dropdown-toggle::after {
        top: auto;
        bottom: 10px;
        right: 50%;
        -webkit-transform: translateX(50%);
        -ms-transform: translateX(50%);
        transform: translateX(50%);
    }
    
    #sidebarCollapse span {
        display: none;
    }
    
    .col-md-4.col-sm-6.col-xs-6.keep-padding {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }
    
    .keep-padding {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }
    
    .home-page-categories .row {
        margin-left: -8px !important;
        margin-right: -8px !important;
    }
    
    .video-list-image {
        border-radius: 10px;
        margin-bottom: 8px;
    }
    
    .subscrib_img {
        height: 40px !important;
        width: 40px !important;
    }
    
     .subscrib_div {
        padding-left: 0px !important;
    }
    
    .subscrib_div > div {
        padding-left: 10px !important;
    }
    
    .video-list-titlep {
        margin-bottom: 8px !important;
    }
    
    .userDet {
        gap: 6px !important;
    }
    
    .usr_tick {
        width: 14px !important;
        height: 14px !important;
    }
    
    .subscrib_div img {
        min-height: 30px !important;
        max-height: 30px !important;
    }
    
    .btn-sec {
        width: 80%;
        padding: 10px 15px;
        font-size: 14px;
    }
    
    /* First Category Layout */
    .first-category-layout .videos > .row {
        flex-direction: column;
    }
    
    .first-category-layout .first-video,
    .first-category-layout .remaining-videos {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .first-category-layout .remaining-videos {
        gap: 15px;
    }
    
    .first-category-layout .small-videos-row {
        flex-direction: column;
    }
    
    .first-category-layout .small-videos-row > div {
        flex: 0 0 100%;
        max-width: 100%;
    }
     /* #main-container {
        margin-left:0px !important;
    } */
}

/* Mobile: 700px and below */
@media (min-width: 700px) {
    .my-hidden-element {
        display: none;
    }
    .first-category-layout .videos {
            margin-left:0 !important;
    }
     /* #main-container {
        margin-left:0px !important;
    } */
}

/* Mobile: 600px and below */
@media (max-width: 600px) {
    .link-title {
        display: none;
    }
     #main-container {
        margin-left:0px !important;
    }
     .first-category-layout .videos {
            margin-left:0 !important;
    }
}

/* Mobile: 576px and below */
@media (max-width: 576px) {
    .keep-padding {
        padding-right: 6px !important;
    }
    
    .video-list-titlep {
        font-size: 11px !important;
        letter-spacing: 0.3px !important;
        margin-top: 6px !important;
    }
    
    .subscrib_img {
        height: 36px !important;
        width: 36px !important;
        border-radius: 18px !important;
    }
    
    .userDet a {
        font-size: 10px !important;
    }
    
    .vidcheck span {
        font-size: 10px !important;
    }
    
    .userDet > div {
        padding-left: 8px !important;
    }
    
    .duration {
        font-size: 10px;
        padding: 2px 4px;
        bottom: 6px;
        right: 6px;
    }
    
    .wow_liv_counter {
        top: 6px;
        left: 6px;
    }
    
    .wow_liv_counter span {
        font-size: 10px;
    }
     #main-container {
        margin-left:0px !important;
    }
     .first-category-layout .videos {
            margin-left:0 !important;
    }
}

/* Mobile: 480px and below */
@media (max-width: 480px) {
    .col-md-4.col-sm-6.col-xs-6.keep-padding {
        width: 100% !important;
        padding-left: 0px !important;
        padding-right: 0px !important;
        margin-bottom: 20px;
    }
    
    .keep-padding {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    .home-page-categories {
         /* margin-bottom: 40px !important; */

    }
    .home-page-categories .row {
     margin-left: 0px !important;
    margin-right: 0px !important;
    }
    
    .video-list-image {
        border-radius: 8px;
    }
    
    .video-list-image a {
        padding-bottom: 56.25% !important;
    }
    
    .subscrib_img {
        height: 42px !important;
        width: 42px !important;
    }
    
    .video-list-titlep {
        font-size: 13px !important;
        margin-top: 10px !important;
    }
    
    .userDet {
        margin-top: 8px !important;
    }
    
    .subscrib_div img {
        min-height: 30px !important;
        max-height: 30px !important;
    }
    
    .first-category-layout .remaining-videos {
        gap: 10px;
    }
      .video-list {
        margin-bottom: 15px;
    }
    
    .video-list-image {
        margin-bottom: 10px;
    }
     #main-container {
        margin-left:0px !important;
    }
     .first-category-layout .videos {
            margin-left:0 !important;
    }
}

/* Mobile: 400px and below */
@media (max-width: 400px) {
    .subscrib_div img {
        min-height: 30px !important;
        max-height: 30px !important;
    }
     #main-container {
        margin-left:0px !important;
    }
     .first-category-layout .videos {
            margin-left:0 !important;
    }
}

/* Mobile: 300px and below */
@media (max-width: 300px) {
    .nav-text {
        display: none;
    }
     #main-container {
        margin-left:0px !important;
    }
     .first-category-layout .videos {
            margin-left:0 !important;
    }
}

@media (max-width: 360px) {
    .subscrib_img {
        height: 38px !important;
        width: 38px !important;
        border-radius: 19px !important;
    }
    
    .subscrib_div > div {
        padding-left: 10px !important;
    }
    
    .userDet {
        gap: 8px !important;
    }
    
    .usr_tick {
        width: 13px !important;
        height: 13px !important;
    }
     #main-container {
        margin-left:0px !important;
    }
     .first-category-layout .videos {
            margin-left:0 !important;
    }
}

/* Mobile header layout fix */
@media (max-width: 768px) {
    .navbar.navbar-findcond > .col-md-12 > .row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: nowrap;
    }
    
    .col-md-2.sidebar-header-md2 {
        width: auto;
        flex: 0 0 auto;
        padding: 10px 15px;
        background-color: #f8f9fc !important;
    }
    
    .sidebar-header {
        display: flex !important;
        align-items: center;
        gap: 10px;
        width: auto;
        padding: 0 !important;
    }
    
    .col-md-10.col-sm-12.col-12.mb-2 {
        width: auto;
        flex: 0 0 auto;
        position: static;
        transform: none;
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 10px;
        margin: 0;
        padding: 10px 15px;
    }
    
    .search-header {
        display: none !important;
    }
    
    .right-part {
        display: flex;
        flex-direction: row;
        gap: 10px;
        margin: 0;
        padding: 0;
    }
    
    .right-part li {
        margin: 0;
    }
}

@media (max-width: 576px) {
    .right-part {
        gap: 8px;
    }
}

.nav-md-12 {
    width: 100% !important;
}
.nav-md-row {
    display: flex !important;
}  

@media (max-width: 1050px) {
    #main-container {
        margin-left: 0 !important;
        padding-left: 0 !important;
    }
}
.navbar-light {
    background-color: #fff;
    margin-top: 11px !important;
    padding-top: 9px;
    padding-left: 10px;
    font-size: 15px;
}
.navbar-light > a {
    color: white !important;
}


/* ===================================================
   FIRST CATEGORY LAYOUT IMPROVEMENTS
=================================================== */

/* Remove border radius from first video image */
.first-category-layout .first-video .video-list-image,
.first-category-layout .first-video .video-list-image a,
.first-category-layout .first-video .video-list-image img {
    border-radius: 0 !important;
}

/* Make first video match height of right side */
.first-category-layout .videos > .row {
    align-items: stretch;
}

.first-category-layout .first-video,
.first-category-layout .remaining-videos {
    display: flex;
    flex-direction: column;
}

.first-category-layout .first-video .keep-padding {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.first-category-layout .first-video .video-list {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.first-category-layout .first-video .video-list-image {
    flex: 1;
    padding-bottom: 0 !important;
    height: 100%;
}

.first-category-layout .first-video .video-list-image a {
    height: 100%;
}

/* Ensure remaining videos section fills height */
.first-category-layout .remaining-videos {
    height: 100%;
}

/* Adjust spacing for better alignment */
.first-category-layout .first-video-title {
    flex-shrink: 0;
}

.first-category-layout .small-videos-row {
    flex: 1;
    align-items: stretch;
}

.first-category-layout .small-videos-row > div {
    display: flex;
    flex-direction: column;
}

.first-category-layout .small-videos-row .video-list {
    height: 100%;
}

/* Move View all button next to username */
.first-category-layout .home-page-categories .title h4 {
    display: block !important;
    margin: 0 !important;
}

.first-category-layout .home-page-categories .title h4 > div {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
}

/* Position view_more_link on same line as username */
/* .first-category-layout .home-page-categories .title {
    position: relative !important;
}

.first-category-layout .home-page-categories .title .view_more_link {
    position: absolute !important;
    right:35px !important;
    top: 110px !important;
    transform: translateY(-50%) !important;
    margin: 0 !important;
}
.first-category-layout .home-page-categories .title {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

.first-category-layout .home-page-categories .title .view_more_link {
    margin-left: auto !important;
}
@media (max-width: 768px) {
    .first-category-layout .home-page-categories .title .view_more_link,
    .first-category-layout .first-video-title .view_more_link {
        position: relative !important;
        right: auto !important;
        top: auto !important;
        transform: none !important;
        margin-top: 10px !important;
        display: block !important;
    }
    .first-category-layout .home-page-categories .title {
        flex-wrap: nowrap !important;
    }
} */


/* Responsive adjustments */
@media (max-width: 768px) {
    /* Restore border radius on mobile */
    .first-category-layout .first-video .video-list-image,
    .first-category-layout .first-video .video-list-image a,
    .first-category-layout .first-video .video-list-image img {
        border-radius: 10px !important;
    }
    
    /* Reset height constraints on mobile */
    .first-category-layout .first-video .video-list-image {
        padding-bottom: 56.25% !important;
        height: 0;
    }
}

/* SIDEBAR MENU - COMPACT LAYOUT */
.yp_side_drawer ul.sections {
    margin-left: 11px !important;
    /* margin-top: 18px !important;
    margin-bottom: 10px !important; */
    /* padding: 0 !important; */
    list-style: none;
}

.yp_side_drawer ul.sections li {
    margin-bottom: 0px !important;
    padding: 0 !important;
    list-style: none;
}

.yp_side_drawer ul.sections li a {
    padding: 6px 0px !important;
    margin: 0 !important;
    display: flex !important;
    justify-content: flex-start !important;
    align-items: center !important;
    gap: 12px !important;
    font-weight: 400 !important;
    font-size: 14px !important;
    line-height: 1 !important;
    height: 40px !important;
    color: #000 !important;
    text-decoration: none !important;
    transition: all 0.3s !important;
    background-color: transparent !important;
}

.yp_side_drawer ul.sections li a svg,
.yp_side_drawer ul.sections li a img {
    margin: 0 !important;
    width: 24px !important;
    height: 24px !important;
    flex-shrink: 0 !important;
}

.yp_side_drawer ul.sections li a span {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
}

/* Section headings */
.yp_side_drawer ul.sections h3 {
    margin: 15px 0 8px 0 !important;
    padding: 0 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    color: #666 !important;
}

/* More links list */
.yp_side_drawer ul.more_links_list {
    margin-top: 0px !important;   
     /* padding: 0 !important; */
    background-color: white !important;
    padding-top: 5px;
}

/* Subscriptions list */
.yp_side_drawer ul.subs_list {
    margin-top: 10px !important;
    background-color: white !important;
}

/* Signup button */
.yp_side_drawer .signup-btn {
    margin-top: 35px !important;
    margin-bottom: 15px !important;
}

/* Only apply hiding on LARGE screens (desktops and laptops) */
@media (min-width: 1025px) {
    /* Hide signup button when sidebar is closed on desktop */
    body:not(.side_open) .yp_side_drawer .signup-btn {
        display: none !important;
    }

    /* body.side_open .yp_side_drawer .signup-btn {
        display: block !important;
    } */

    /* Hide logo when sidebar is closed on desktop */
    body:not(.side_open) .sidebar-header .logo-img {
        display: none !important;
    }

    body.side_open .sidebar-header .logo-img {
        display: block !important;
    }

    /* Adjust sidebar header when closed on desktop */
    body:not(.side_open) .sidebar-header {
        justify-content: center !important;
    }

    body.side_open .sidebar-header {
        justify-content: flex-start !important;
    }

    /* Adjust sidebar width on desktop */
    body:not(.side_open) .sidebar-header-md2 {
        width: 80px !important;
        min-width: 80px !important;
    }

    body.side_open .sidebar-header-md2 {
        width: 217px !important;
    }
}

/* Mobile and tablets: Keep everything visible always */
@media (max-width: 1024px) {
    .yp_side_drawer .signup-btn {
        display: block !important;
    }
    
    .sidebar-header .logo-img {
        display: block !important;
    }
}
/***************/














/* Footer Styles */
.youmiru-footer {
    margin-top: 60px;
    width: 100%;
}

.footer-main {
    background-color: #f8f9fa;
    padding: 50px 20px 30px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

.footer-column {
    flex: 1;
    min-width: 180px;
}

.footer-logo-col {
    flex: 1.2;
    text-align: right;
}

.footer-logo {
    max-width: 150px;
    height: auto;
}

.footer-column h3 {
    font-size: 18px;
    font-weight: 600;
    color: #000;
    margin-bottom: 20px;
    font-family: 'Poppins', sans-serif;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: #555;
    text-decoration: none;
    font-size: 15px;
    font-family: 'Poppins', sans-serif;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: #5865F2;
}

.footer-copyright {
    background-color: #e9ecef;
    text-align: center;
    padding: 20px;
}

.footer-copyright p {
    margin: 0;
    color: #666;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
}

/* Responsive Design */
@media (max-width: 992px) {
    .footer-container {
        flex-wrap: wrap;
        gap: 30px;
    }
    
    .footer-column {
        flex: 1 1 calc(50% - 15px);
        min-width: auto;
    }
    
    .footer-logo-col {
        flex: 1 1 100%;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-column {
        flex: 1 1 100%;
    }
    
    .footer-logo {
        margin: 0 auto;
    }
}

.slick-prev, .slick-next {
    display: none !important;
}

.yp_trans  {
    margin-bottom: -48px !important;
}
.yp_trans.first-category-layout,
.first-category-layout.yp_trans {
    margin-bottom: 0 !important;
}
.view_more_link a svg {
    background: none !important;
    color: #050303 !important;
        padding: 3px !important;
}

.view_more_link a {
    display: block;
    color: #181818;
    font-size: 15px;
    font-weight: 300 !important;
    text-decoration: none;
}
.pt_sec_nav_slide_prnt .swiper-button-next, .pt_sec_nav_slide_prnt .swiper-button-prev {
    top: 7px !important;
}

.dark_hr {
    border-color: #e7e7e7;
    margin: 14px 7px !important;
}

/* Mobile - vertical layout */
@media (max-width: 768px) {
    .video-list {
        display: block !important;
    }
    
    .video-list-image {
        width: 100% !important;
        margin-bottom: 12px !important;
    }
    
    .subscrib_div {
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
    }
    
    .subscrib_img {
        width: 36px !important;
        height: 36px !important;
        flex-shrink: 0 !important;
    }
    
    .usr_tick {
        width: 16px !important;
        height: 16px !important;
        object-fit: unset !important;
    }
    
    .userDet {
        display: flex !important;
        align-items: center !important;
        gap: 6px !important;
    }
    
    .vidcheck {
        margin-top: 4px !important;
    }
}

.pt_header_nav .right-part > li > a { 
    color: #000 !important;
    text-decoration: none !important;
    transition: all 0.3s !important;
    background-color: transparent !important;
}
.pt_footer {
    padding: 25px !important;
    background: white !important;
}