*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
/*full container*/
.ads-full-container{
     width: 100%;
    /*margin: 0;
    padding: 0px 0px; */
    /* max-width: 1200px; */
    margin: 0 auto;
    padding: 20px 15px;
    box-sizing: border-box;
}
.ads-row{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
   
}
.ads-row .ads-col-1{
    flex: 1 1 48%;
    margin-bottom: 10px;
  }
  .ads-full-container   .ads-col-2 {
  align-items: end;
  display: flex;
  }
  
@media screen and (max-width: 768px) {
  .ads-row {
    flex-direction: column;
  }
  .ads-row .ads-col-1, .ads-row .ads-col-2 {
    width: 100%;
  }
  .ads-row .ads-col-2{
    display: none;
  }
}

.ads-col-1 h3{
    color: #8A1538 !important;
    font-size: 2rem;
    font-weight: bold;
    line-height: 1em;
    padding: 0;
    margin: 0;

}
.ads-col-1 p{
    color:  #333 !important;
    font-size: 1rem;
    font-weight: bold;

}

/* Grid Layout */
.ads-grid-container {
   
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 30px 20px;
        margin: auto;
        
      }
@media (min-width: 1100px) {
  .ads-grid-container {
    grid-template-columns: repeat(3, 1fr);
  }
  .ads-item , .ads-slideshow-item{
    /* max-width: 450px; */
  }
  .ads-full-container  .ads-all-button{
            display: none !important;
        }
}

/* Responsive design with media queries */
@media (max-width: 1024px) {
    .ads-grid-container {
      grid-template-columns: repeat(2, 1fr); /* 2 columns for tablet */
      padding: 10px;
    }
    .ads-slideshow-item , .ads-item {
        /* max-width:350px !important; */
              }
    .ads-slideshow-container{
               max-width:350px !important;   
               height:350px !important;
          }
    .mySlides {
              height: 350px !important;
            }
    .ads-full-container  .ads-all-button{
            display: none !important;
        }
  }
  
  @media (max-width: 650px) {
    .ads-grid-container {
      grid-template-columns: repeat(1, 1fr);
      /* 1 column for mobile */
      padding: 10px;
      display: flex;
      flex-direction: column;
      align-items: center;
    }
	.ads-slideshow-item  , .ads-item {
        max-width:300px !important;
		  }
	.ads-slideshow-container{
		    width:300px !important;   
		   height:300px !important;
	  }
      .ads-pagination .page-numbers  {
        font-size: 13px;
      	}
        .mySlides {
		  height: 300px !important;
        }
        .ads-full-container .ads-all-button{
           
        
        margin: auto;
        align-items: center;
        display: flex !important;
        padding: 20px;
    }
    .ads-page-nav .prev ,   .ads-page-nav .next {
        display: none !important;
    }
        }

  
  .ads-item,
  .ads-slideshow-item {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    border-radius: 8px;
    overflow: hidden;
    position: relative; 
    max-width: 400px;
  }
  

  /*for single img*/
  .ad-single-image  {
    width: 400px;
    height: 400px;
    object-fit: cover;
    display: block;
}

.ads-slideshow-item:hover {
/*     transform: translateY(-5px); */
}
.single-image-background {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    height: 100%;
    /* border-bottom: 2px solid #eee; */
  }
/*sigel pos ads-singel**/

.ads-container{
    max-width:1200px !important;
    width: 100%;
	margin:0;
	padding:0;
    height: auto;
   display: flex;
   
    flex-wrap: wrap;
    gap: 20px;
     margin: auto;
    padding: 10px;

}

.sidebar{
  
    margin-right: 10px;
}
.ads-title {
   display: flex;
   gap: 15px;
   flex-direction: column;
    color: #8A1538;
    padding: 20px;
    font-size: 20px;
    /* animation: slide-in 3s ease-in-out infinite; */
    /* opacity: 0; */
    text-align: start;
    font-weight: bold;
    
}
.ad-expert{
    font-size: 16px !important;
    color: #252525;
    line-height: 20px;
    padding: 0;
    margin: 0;
	margin-bottom:15px;
}



/* Navigation Buttons */
.swiper-button-prev ,.swiper-button-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.584);
    color: #8A1538 !important;
    /* height: 10px; */
    padding: 7px 20px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 800;
    border-radius: 50%;
    transition: background 0.3s;
/*     box-shadow: 0 2px 10px rgba(162, 148, 117, 0.3); */
	box-shadow: none;
    z-index: 10;
    opacity: 1;
border-radius: 10px !important;

}

.swiper-button-next::after, .swiper-button-prev::after {
    
    font-size: 1rem !important;
    font-weight: 800 !important;
}
/* .prev:hover, .next:hover {
    background: rgba(255, 255, 255, 0.896);
}

.prev { left: 10px; }
.next { right: 10px; } */

/* Dots Navigation */
.swiper-pagination {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    /* display:none; */
}

/* The dots/bullets/indicators */

.swiper-pagination-bullet  {
    background-color: #ffffffb3  ;
    height: 15px !important;
    width: 15px !important;
  }
.swiper-pagination-bullet:hover {
    background-color: #fff  ;
  }
  .swiper-pagination-bullet-active{
    border: solid 2px #8a1538;
    border-radius: 50%;
    background-color: #fff !important;
  }
  
.post-title-side{
    text-decoration: none;
    color:#8a1538;
    font-size: 1rem;
    position: absolute;
  top: 0;
}
.post-title-side a{
    text-decoration: none !important;
  
}

.dot.active {
    background-color: #fff;
}
.mySwiper {
    width: 600px;
    /* max-width: 500px; */
    /* height: auto; */
    height: 600px;
    position: relative;
    border-radius: 10px;
}

.ads-container  .ads-single-image{
    width: 600px;
    /* max-width: 500px; */
    /* height: auto; */
    height: 600px;
background-repeat: no-repeat;
}

.caption-container-single {
    text-align: center;
    background-color: #222;
    padding: 10px;
    color: white;
}

.my-caption-single {
    width: 100%;
    max-width: 800px;
    height: auto;
    background-color: #222;
    color: #fff;
    text-align: center;
    margin: 20px auto;
    padding: 10px;
}

.swiper-slide {
    width:600px;
    height: 600px;
    object-fit: cover;
    border-radius: 10px;
}

.ad-title-single {
    color: #8a1538;
    font-size: 24px;
    text-transform: capitalize;
    /* text-align: center; */
    margin-top: 10px;
    font-weight: 600;
    padding: 0;
}
.fa-calendar{
    color: #0D4261 !important;
}
.ad-date{
    font-size: 14px;
    color: #6a6a6a;
    line-height: 20px;
    padding: 0;
    margin: 0;
	font-weight:normal;
	margin-top:-4px;
}

.recent-ad img {
    width: 120px;
    height: 100px;
    border-radius: 5px;
    object-fit: cover;
    margin-left: 10px;
}
.card-content {
    flex: 1;
}
.title {
    font-size: 14px;
    font-weight: bold;
    color: #333;
}
.highlight {
    color: #e67e22;
}
.ad-content{
    font-size: 16px;
    color: #454546;
    line-height: 28px;
    padding: 0;
    
    font-weight: 500;
    margin : 10px 0;
}

.ad-subtitle-single {
    color: rgb(145, 143, 144);
    font-size: 16px;
    text-align: center;
}
.my-icon{
    font-size: 14px;
    color: #454546;
    padding: 0 5px 0 0;
}
.my-icon-side {
    font-size: 12px;
    color: #454546;
    padding: 0 5px 0 0;
}
.fa-calendar
{
    font-size: 12px !important;
}
.date-side {
    font-size: 12px;
    color: #555;
    display: flex;
    align-items: center;
    margin-top: 5px;
    position: absolute;
    bottom: 10px;
    flex: 1;
    width:16.2rem;
    margin-left:0;
    
}
.date-side i {
    width: 16px;
    height: 16px;
    margin-left: 5px;
}
.recent-ad{
    display: flex;
    position: relative;
    align-items: center;
    background: white;
    border: solid 1px #F1F1F2;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 0 rgba(13, 66, 97, .25);
    width:400px;
}
/* Animation */
@keyframes fadeEffect {
    from { opacity: 0.4; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.mySlides .first-slide {
/*     animation: fadeEffect 0.8s ease-in-out; */
}
.ads-gallery{
    display: none !important;
}
@media screen and (min-width: 900px) {
.main-content{
    width: 65%;
}.swiper-slide {
    width:600px;
    height: 600px;
    object-fit: cover;
    border-radius: 10px;
    
}
.ads-full-container  .ads-all-button{
            display: none !important;
        }
}
/* Responsive Styles */
@media screen and (max-width: 900px) {
    .main-content {
        width: 100% !important;
        margin: auto;
    }
    .main-content  .ads-single-image{
    width: 300px;
    /* max-width: 500px; */
    /* height: auto; */
    height: 300px;
     margin: auto;
}
    .sidebar {
        width: 100% !important;
        padding: 10px 20px !important;
        margin: auto !important;
    }
    .recent-ad{
        width: 250px;
    }
    .date-side {
        width: 100px;
    }
    .swiper-slide {
        width:300px;
        height: 300px;
        object-fit: cover;
        border-radius: 5px;
    }
}
@media screen and (max-width: 600px){
    .main-content {
        width: 100% !important;
        margin: auto;
    }
    .sidebar {
        width: 100% !important;
        padding: 10px 20px !important;
        margin: auto !important;
    }
    .recent-ad{
        width: 250px;
    }
	   .mySwiper {
        width: 300px;
        
        height: 300px;
        
    }
    .swiper-slide {
        width:300px;
        height: 300px;
        object-fit: cover;
        border-radius: 5px;
    }
    .ads-chervon-right::before ,  .ads-chervon-left::before{
       
        padding:10px !important;
      font-size: 10px !important;
    }

    .swiper-button-prev,
    .swiper-button-next {
        width: 15px;
        height: 15px;
        padding: 5px;
    }
	   .mySwiper {
        width: 300px;
        
        height: 300px;
        
    }

    .swiper-pagination {
        bottom: 5px;
    }
    .ads-chervon-right::before ,  .ads-chervon-left::before{
       
        padding:10px !important;
      font-size: 10px !important;
    }
}


.ads-grid-item {
            background: white;
            border-radius: 10px;
            box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.15);
            overflow: hidden;
            text-align: center;
            padding-bottom: 15px;
        }

        .ads-image {
            width: 100%;
            height: 200px;
            background-size: cover;
            background-position: center;
            border-radius: 10px 10px 0 0;
        }

        .ads-content {
            padding: 0 18px 20px 15px;
        }

        .ads-content h3 {
            font-size: 20px;
            margin-bottom: 10px;
        }

        .ads-content p {
            font-size: 14px;
            color: #555;
            margin-bottom: 15px;
            font-weight: 500;
        }

        .ads-button {
            display: inline-block;
            max-width: fit-content;
            padding: 10px 15px;
            margin: 0 ;
            background: #f1f1f2;
            color: #8A1538;
            text-decoration: none;
            border-radius: 5px;
            transition: 0.3s;
            font-size:15px;
            font-weight: 400;
        }

     .ads-button:hover {
            background: #8a1538;
            color: #fff !important;
        }

        .swiper-button-next, .swiper-button-prev {
            color: #0D4261;
        }

        .swiper-pagination-bullet {
            background: #0D4261;
        }


        /******second style*/
        /* Each Grid Item */


.ads-slideshow-item:hover {
    /* transform: translateY(-5px); */
}

/* Slideshow Container */
.ads-slideshow-container {
    position: relative;
    /* align-self: center;
    margin: auto; */
    width: 100%;
    height:400px;/* Ensure uniform height */
    overflow: hidden;
}


.ads-slideshow-container {
    direction: ltr; /* Default: Left-to-Right */
  }
  
  [dir="rtl"] .ads-slideshow-container {
    direction: rtl; /* Right-to-Left */
  }
  

/* Images Inside the Slideshow */
/* .slideshow-container img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensure all images fit nicely */
    /* border-radius: 12px;
    position: center center; */
    /* border-bottom: 10px solid rgb(95, 8, 8)(84, 5, 5); */
/* Title Styling */
.slide-title {
    position: absolute;
    bottom: -50px; /* Initially hidden below the slide */
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.6); /* Dark background for better visibility */
    color: white;
    padding: 10px 20px;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    border-radius: 5px;
    opacity: 0;
    transition: all 1s ease-in-out;
}

/* Animate title to slide up */
.slide-title.show {
    bottom: 10px; /* Moves into visible position */
    opacity: 1;
   z-index: 11;
}
.ads-chervon-right::before ,  .ads-chervon-left::before{
    color: #fff !important;
    background-color: #8a1538 !important;
    padding:25px;
  font-size: 12px;
}
#overlay {
    position: fixed; /* Sit on top of the page content */
    display: none; /* Hidden by default */
    width: 100%; /* Full width (cover the whole page) */
    height: 100%; /* Full height (cover the whole page) */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5); /* Black background with opacity */
    z-index: 2; /* Specify a stack order in case you're using a different order for other elements */
    /* cursor: pointer; Add a pointer on hover */
  }
/* Navigation Buttons */
.ads-nav  .prev, .ads-nav  .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.781);
    color:#8A1538;
    padding: 5px 13px;
    cursor: pointer;
    border-radius: 10px;
    transition: background 0.3s;
    font-size: 14px;
}

.ads-nav >.prev:hover, .ads-nav >.next:hover {
    background: rgba(255, 255, 255, 0.8);
    
}

.ads-nav  .prev { left: 10px; }
.ads-nav  .next { right: 28px; }
[dir="rtl"] .ads-nav >.prev {
    right: 10px;
    left: auto;
  }
  
  [dir="rtl"] .ads-nav >.next {
    left: 10px;
    right: auto;
  }
  
.ads-page-nav .next ,.ads-page-nav .prev{
    display: none;

}
  

/* Dots Navigation */
.ads-nav >.dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    height: 0 !important;
	width:0 !important;
    transform: translateX(-50%);
}

.ads-nav >.dot {
    height: 0 !important;
    width: 0 !important;
    margin: 0 3px;
    background-color:transparent;
    border-radius: 50%;
    display: inline-block;
    transition: background 0.3s ease-in-out;
}

.ads-nav  .dot.active {
    background-color:transparent;
    border: none;
    height:0;
    width:0;
}



.mySlides {
    /* animation: fadeEffect 0.8s ease-in-out; */
}
.ads-pagination {
    text-align: center;
    margin-top: 40px;
}

.ads-pagination .page-numbers  {
    display: inline-block;
    padding: 0;
    margin: 0 4px;
    /* background-color: rgba(0, 0, 0, 0.05); */
    color: #333;
    text-decoration: none;
}



.ads-pagination .page-numbers.current {
    /* background-color: #333; */
    color: #8A1538;
    font-weight: bold;
}
.ads-pagination >.prev, .ads-pagination> .next {
    /* position: absolute; */
    /* bottom: 5% !important; */
    /* transform-origin: 20%  !important; */
}