.carousel-caption{
    text-align: left !important;
    width: 700px !important;
    max-width: 100%; /* Make responsive */
}
.carousel-caption h3{
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 54px;
    width: 690px;
    max-width: 100%; /* Make responsive */
    margin-bottom: 20px;
}
.categories-list {
    
    border-top: 3px solid #f8af14;
    display: flex;
    width: 100%;
    background-color: #2c2f40;
}

.categories-list ul > li {
    float: left;
    padding: 15px 35px 15px 0;
}

section {
    padding: 8px 0;
}

.categories-list ul > li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
}

nav {
    border-bottom: 2px solid #ffbb15;
}
a.navbar-brand {
    text-align: right;
}
a.navbar-brand img {
    max-width: 140px;
}
a {
    color: rgb(14 116 186) !important;
    text-decoration: none !important;
}
a:hover {
    color: rgb(35, 137, 205) !important;

}
a h5.card-title, h5.card-title  {
    max-height: 37px;
    overflow: hidden;
    font-weight: 600 !important;
}
a + p.card-text{
    max-height: 40px;
    overflow: hidden;
}
.heading {
    border-left: 4px solid rgb(255 193 7);
    padding-left: 10px;
    line-height: 18px;
    margin: 5px 0px 18px;
}
.posts-random a {
    text-decoration: none;
    padding-left: 10px;
    color: rgb(0 0 0);
    max-width: fit-content;
    overflow: hidden;
    height: 17px !important;
    display: flex;
}
.popular-image-class h5 {
    height: 34px;
    overflow: hidden;
}
.popular-image-class p {
    height: 40px;
    overflow: hidden;
}
.col-2 img {
    max-width: 178px;
}

.bannersection .col-2 img {
    max-width: 100%;
}
.posts-random a:hover {
    text-decoration: none;
    padding-left: 10px;
    color: rgb(255 193 7);
}
h3.heading:after {
    content: '>';
}


.love-holder {
    position: relative;
    display: inline-block;
    line-height: 16px;
    padding-right: 8px;
}
.star-under {
  color: #ad2020;
  vertical-align: top;
}
.star-over {
  color: rgb(44, 44, 44);
  position: absolute;
  left: 0;
  top: 0;
  overflow: hidden;
}
.categories-list li::marker {
    font-size: 16px;
}
.categories-list li:first-child::marker {
    color: #6055d8;
}
.categories-list li:nth-child(2)::marker {
    color: #c447fb;
}
.categories-list li:nth-child(3)::marker {
    color: #1f69f2;
}
.categories-list li:nth-child(4)::marker {
    color: #1ad5fb;
}
.categories-list li:nth-child(5)::marker {
    color: #83fa6c;
}
.categories-list li:nth-child(6)::marker {
    color: #fd2c65;
}
.categories-list li:nth-child(7)::marker {
    color: #ff752b;
}
.categories-list li:nth-child(8)::marker {
    color: #fe752d;
}
.categories-list li:nth-child(9)::marker {
    color: #9eeb85;
}
.categories-list li:nth-child(10)::marker {
    color: #1c68ef;
}
.categories-list li:nth-child(11)::marker {
    color: #1c68ef;
}

.text-yellow {
    color: #ffc107;
}
.w-140px{
    width: 140px;
}

.footermenu ul > li a {
    text-decoration: none;
    font-weight: 500;
    color: #000000;
}
.footermenu ul > li {
    float: left;
    padding: 15px 35px 15px 0;
}
.footermenu ul > li {
    list-style: none;
}
.footermenu ul > li:hover a {
    text-decoration: none;
    font-weight: 500;
    color: #ffc107;
}
.container-fluid.bg-blue {
    background: #2c2f40;
    padding: 50px 0px;
}
.nav-tabs .nav-link.active, .nav-tabs .nav-item.show .nav-link {
    border: 0px;
    color: black;
    background: #ffc107;
    border-radius: 5px;
    font-weight: 500;
    text-transform: uppercase;

}
.nav-tabs .nav-link {
    border: 0px;
    color: black;
    background: rgb(219, 219, 219);
    border-radius: 5px;
    font-weight: 500;
    text-transform: uppercase;
    margin: 0 15px;
}
.nav-tabs{
    margin-bottom: 30px;
    border: 0px !important;
}

.input-group.search-home input {
    background: #f5f2ed;
    border: 0;
}
.input-group.search-home button {
    background: #a4988c;
    border: 0;
}
.w-200px{
    width: 200px;
}
a{
    color: black;
    text-decoration: none;
}
a:hover {
    color: #ffc107;
   
}
.float{
    position: absolute;
}
.banner-right-ad {
    position: absolute;
    right: -40px;
    top: 0;
}

.height-banner {
    height: 410px;
}

/* ============================================
   RESPONSIVE STYLES FOR MOBILE DEVICES
   ============================================ */

/* Mobile devices (phones, less than 768px) */
@media (max-width: 767.98px) {
    /* Banner Section - Hide sidebars on mobile, stack content */
    .bannersection .col-2,
    .bannersection > .col-2 {
        display: none !important;
    }
    
    .bannersection .container,
    .bannersection > .container {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .bannersection .d-flex {
        flex-direction: column !important;
    }
    
    /* Carousel Caption - Make responsive */
    .carousel-caption {
        width: 100% !important;
        max-width: 100% !important;
        left: 0 !important;
        right: 0 !important;
        padding: 10px !important;
        bottom: 0 !important;
        background: rgba(0, 0, 0, 0.7) !important;
    }
    
    .carousel-caption h3 {
        font-size: 1.2rem !important;
        line-height: 1.4 !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-bottom: 10px !important;
    }
    
    .carousel-caption p {
        font-size: 0.9rem !important;
    }
    
    /* Navigation - Reduce padding on mobile */
    .navbar {
        padding: 0.5rem 0 !important;
    }
    
    .navbar-brand {
        margin-left: 1rem !important;
        margin-right: 0 !important;
    }
    
    .navbar-brand img {
        max-width: 100px !important;
    }
    
    .container-fluid.px-10 {
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
    }
    
    .ms-5, .me-5 {
        margin-left: 0.5rem !important;
        margin-right: 0.5rem !important;
    }
    
    .pe-5 {
        padding-right: 0.5rem !important;
    }
    
    /* Categories List - Make scrollable on mobile */
    .categories-list {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
    }
    
    .categories-list ul {
        white-space: nowrap !important;
        padding: 0 1rem !important;
    }
    
    .categories-list ul > li {
        display: inline-block !important;
        float: none !important;
        padding: 10px 15px !important;
    }
    
    /* Images - Make responsive */
    img {
        max-width: 100% !important;
        height: auto !important;
    }
    
    .col-2 img {
        max-width: 100% !important;
    }
    
    /* Height Banner - Make responsive */
    .height-banner {
        height: auto !important;
        min-height: 200px;
    }
    
    /* Banner Right Ad - Reset positioning on mobile */
    .banner-right-ad {
        position: static !important;
        right: auto !important;
        margin-top: 1rem;
    }
    
    /* Container padding */
    .container {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }
    
    /* Social media icons - hide on mobile */
    .socialmediaicons {
        display: none !important;
    }
    
    /* Search form */
    .navbar form {
        margin: 0.5rem 0 !important;
        width: 100% !important;
    }
    
    .navbar form .input-group {
        width: 100% !important;
    }
    
    /* Cards and content spacing */
    .card {
        margin-bottom: 1rem !important;
    }
    
    /* Footer menu */
    .footermenu ul > li {
        float: none !important;
        display: inline-block !important;
        padding: 10px 15px !important;
    }
    
    /* Nav tabs */
    .nav-tabs .nav-link {
        margin: 0 5px 5px 0 !important;
        font-size: 0.85rem !important;
    }
    
    /* Container fluid bg blue padding */
    .container-fluid.bg-blue {
        padding: 30px 15px !important;
    }
}

/* Tablet devices (768px to 991px) */
@media (min-width: 768px) and (max-width: 991.98px) {
    /* Banner Section - Show but smaller sidebars */
    .bannersection .col-2,
    .bannersection > .col-2 {
        max-width: 120px !important;
        flex: 0 0 120px !important;
    }
    
    .bannersection .container {
        flex: 1 1 auto !important;
    }
    
    /* Carousel Caption */
    .carousel-caption {
        width: 80% !important;
        max-width: 500px !important;
    }
    
    .carousel-caption h3 {
        font-size: 1.8rem !important;
        width: 100% !important;
    }
    
    /* Navigation */
    .navbar-brand img {
        max-width: 120px !important;
    }
    
    .ms-5 {
        margin-left: 2rem !important;
    }
    
    .me-5 {
        margin-right: 2rem !important;
    }
    
    /* Categories List */
    .categories-list ul {
        flex-wrap: wrap !important;
    }
    
    .categories-list ul > li {
        padding: 12px 20px !important;
    }
    
    /* Height Banner */
    .height-banner {
        height: 350px !important;
    }
}

/* Small devices (576px to 767px) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .carousel-caption h3 {
        font-size: 1.5rem !important;
    }
    
    .height-banner {
        height: 300px !important;
    }
}

/* Extra small devices (less than 576px) */
@media (max-width: 575.98px) {
    .navbar-brand img {
        max-width: 80px !important;
    }
    
    .carousel-caption h3 {
        font-size: 1rem !important;
        line-height: 1.3 !important;
    }
    
    .carousel-caption p {
        font-size: 0.8rem !important;
        display: none; /* Hide description on very small screens */
    }
    
    .categories-list ul > li {
        padding: 8px 12px !important;
        font-size: 0.85rem !important;
    }
    
    .height-banner {
        height: 250px !important;
        min-height: 200px;
    }
    
    .container-fluid.bg-blue {
        padding: 20px 10px !important;
    }
    
    /* Hide social media icons on very small screens if needed */
    .socialmediaicons {
        font-size: 0.9rem !important;
    }
}

/* Ensure all images are responsive */
@media (max-width: 991.98px) {
    .bannersection img,
    .bannersection .col-2 img {
        width: 100% !important;
        height: auto !important;
    }
}

/* Additional responsive fixes for all pages */
@media (max-width: 767.98px) {
    /* Fix all fixed column widths to be responsive - make them stack on mobile */
    .col-1, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-10, .col-11 {
        width: 100% !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
        margin-bottom: 1rem;
    }
    
    /* Posts page - make col-10 full width */
    .col-10.bg-white {
        width: 100% !important;
        flex: 0 0 100% !important;
    }
    
    /* Image post widths */
    .w-200px, .w-140px {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .img-post img {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
    }
    
    /* Card body padding on mobile */
    .card-body.px-4 {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
    
    /* Flex containers - stack on mobile */
    .d-flex.justify-content-between {
        flex-direction: column !important;
    }
    
    .d-flex.align-items-top {
        flex-direction: column !important;
    }
    
    /* Post items - stack vertically */
    .d-flex.justify-content-between.align-items-center {
        flex-direction: column !important;
        align-items: flex-start !important;
    }
    
    .img-post {
        width: 100% !important;
        margin-bottom: 1rem;
    }
    
    /* Container padding */
    .container.px-0 {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }
    
    /* Row spacing */
    .row {
        margin-left: -0.5rem !important;
        margin-right: -0.5rem !important;
    }
    
    /* Categories section */
    .categories-list ul.mx-auto.w-75 {
        width: 100% !important;
        padding: 0 1rem !important;
    }
    
    /* Search form - full width on mobile */
    .navbar form.d-flex {
        width: 100% !important;
        margin: 0.5rem 0 !important;
    }
    
    /* Social media icons - smaller spacing */
    .socialmediaicons {
        gap: 0.5rem !important;
    }
    
    .socialmediaicons a {
        font-size: 1.2rem !important;
    }
    
    /* Footer menu */
    .footermenu ul {
        flex-wrap: wrap !important;
        justify-content: center !important;
    }
    
    /* Banner right ad positioning */
    .banner-right-ad {
        position: static !important;
        right: auto !important;
        margin-top: 1rem !important;
        width: 100% !important;
    }
    
    /* Ensure all containers are responsive */
    .container-fluid {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }
}

/* Tablet specific fixes */
/* Gallery carousel responsive for tablet */
@media (min-width: 768px) and (max-width: 991.98px) {
    .gallery_slider,
    .gallery_slider.w-75 {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 15px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    .gallery_slider .slick-slide {
        padding: 0 8px !important;
    }
    
    .gallery_slider .card {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }
    
    .gallery .container-fluid {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .col-2 {
        flex: 0 0 20% !important;
        max-width: 20% !important;
    }
    
    .col-10 {
        flex: 0 0 80% !important;
        max-width: 80% !important;
    }
    
    .w-200px {
        max-width: 150px !important;
    }
}

/* Ensure viewport meta tag is present - add to all pages if missing */
/* This should be in the HTML head, but adding CSS fallback */
html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

/* Prevent horizontal scroll */
body {
    overflow-x: hidden;
    max-width: 100%;
}

/* Make all tables responsive */
@media (max-width: 767.98px) {
    table {
        display: block !important;
        width: 100% !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
    }
    
    thead, tbody, tr {
        display: block;
    }
}

/* Video embeds responsive */
@media (max-width: 767.98px) {
    iframe, embed, object, video {
        max-width: 100% !important;
        height: auto !important;
    }
    
    .embed-responsive {
        position: relative;
        display: block;
        width: 100%;
        padding: 0;
        overflow: hidden;
    }
    
    .embed-responsive::before {
        content: "";
        display: block;
        padding-bottom: 56.25%; /* 16:9 aspect ratio */
    }
    
    .embed-responsive iframe {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: 0;
    }
    
    /* Override inline styles with fixed widths */
    img[style*="width: 100px"],
    img[style*="width:100px"] {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
    }
    
    img[style*="width: 230px"],
    img[style*="width:230px"] {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
    }
    
    /* Override inline width styles */
    div[style*="width: 65%"],
    div[style*="width:65%"] {
        width: 100% !important;
    }
    
    /* Make all images with inline width styles responsive */
    *[style*="width"] img,
    img[style*="width"] {
        max-width: 100% !important;
        height: auto !important;
    }
}

/* Additional responsive utilities */
@media (max-width: 767.98px) {
    /* Ensure all flex containers wrap properly */
    .d-flex {
        flex-wrap: wrap !important;
    }
    
    /* Gallery images */
    .gallery img,
    .gallery-view img {
        width: 100% !important;
        height: auto !important;
        margin-bottom: 1rem;
    }
    
    /* Card layouts */
    .card {
        margin-bottom: 1.5rem !important;
    }
    
    /* Post content areas */
    .post-content,
    .post-body {
        padding: 1rem !important;
    }
    
    /* Headings - scale down on mobile */
    h1 { font-size: 1.75rem !important; }
    h2 { font-size: 1.5rem !important; }
    h3 { font-size: 1.25rem !important; }
    h4 { font-size: 1.1rem !important; }
    h5 { font-size: 1rem !important; }
    
    /* Text sizes */
    .fs-2x,
    .fs-3x {
        font-size: 1.5rem !important;
    }
    
    /* Buttons - full width on mobile for better touch targets */
    .btn {
        min-height: 44px; /* iOS touch target minimum */
    }
    
    /* Form inputs */
    input[type="text"],
    input[type="search"],
    textarea,
    select {
        font-size: 16px !important; /* Prevents zoom on iOS */
    }
    
    /* Slick carousel adjustments */
    .slick-slide {
        padding: 0 5px;
    }
    
    /* Ensure no element causes horizontal scroll */
    * {
        max-width: 100%;
    }
    
    /* Fix overflow issues */
    .container,
    .container-fluid {
        overflow-x: hidden;
    }
    
    /* Hide homepage left ad on mobile */
    .hompage-adleft {
        display: none !important;
    }
    
    /* Hide any floating ads on mobile */
    .float {
        position: static !important;
    }
    
    /* Gallery carousel responsive fixes */
    .gallery_slider,
    .gallery_slider.w-75 {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 10px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        overflow: hidden !important;
        visibility: visible !important;
    }
    
    .gallery_slider .slick-list {
        width: 100% !important;
        max-width: 100% !important;
        overflow: visible !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .gallery_slider .slick-track {
        display: flex !important;
        width: 100% !important;
        transform: translate3d(0, 0, 0) !important;
    }
    
    .gallery_slider .slick-slide {
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        padding: 0 5px !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .gallery_slider .slick-slide[style*="width"] {
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
    }
    
    .gallery_slider .slick-slide.slick-active {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .gallery_slider .slick-slide.slick-cloned {
        display: none !important;
    }
    
    /* Force recalculate on mobile - override Slick's inline styles */
    .gallery_slider .slick-track {
        width: 100% !important;
        transform: translate3d(0px, 0px, 0px) !important;
    }
    
    .gallery_slider .slick-track[style*="width"] {
        width: 100% !important;
    }
    
    .gallery_slider .slick-track[style*="transform"] {
        transform: translate3d(0px, 0px, 0px) !important;
    }
    
    /* Ensure gallery section is visible */
    .gallery {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        overflow: hidden !important;
        position: relative !important;
    }
    
    .gallery .container-fluid {
        display: block !important;
        visibility: visible !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    /* Ensure all slides are properly sized and visible */
    .gallery_slider .slick-slide > div {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    /* Fix for when Slick applies inline styles */
    .gallery_slider .slick-slide[style] {
        width: calc(100% - 10px) !important;
        min-width: calc(100% - 10px) !important;
        max-width: calc(100% - 10px) !important;
    }
    
    .gallery_slider .card {
        width: 100% !important;
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
        margin: 0 auto !important;
    }
    
    .gallery_slider .slick-prev,
    .gallery_slider .slick-next {
        display: none !important;
    }
    
    .gallery_slider img {
        width: 100% !important;
        height: auto !important;
        max-width: 100% !important;
        display: block !important;
    }
    
    .gallery .container-fluid {
        padding-left: 10px !important;
        padding-right: 10px !important;
        overflow: hidden !important;
    }
    
    .gallery h3 {
        font-size: 1.5rem !important;
        padding: 15px 10px !important;
    }
}













