/* Hero slider: img tag instead of background-image for LCP */
.home1-banner-wrapper{position:relative;overflow:hidden;min-height:600px}
.home1-banner-wrapper .hero-slide-img{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover;z-index:0}
.home1-banner-wrapper::after{content:'';position:absolute;top:0;left:0;width:100%;height:100%;background:linear-gradient(180deg,rgba(16,12,8,.4) 0%,rgba(16,12,8,.4) 100%);z-index:1}
.home1-banner-wrapper .container{position:relative;z-index:2}

/* ===== OFFERS SECTION FIX ===== */
/* Constrain offer card images to consistent heights */
.banner2-section .banner2-card{overflow:hidden;border-radius:10px}
.banner2-section .banner2-card>img{width:100%;height:280px;object-fit:cover}
.banner2-section .banner2-card.two>img{height:200px;object-fit:cover}
.banner2-section .banner2-card.three>img{height:200px;object-fit:cover}
.banner2-section .banner2-card.four>img{height:100%;object-fit:cover}
/* Remove excess white space */
.banner2-section{margin-bottom:60px!important;margin-top:60px!important}
.banner2-section .mb-60{margin-bottom:30px!important}

/* ===== TESTIMONIALS FIX ===== */
/* Constrain testimonial cards to reasonable height */
.tesimonial-card{max-height:320px;overflow:hidden}
.tesimonial-card .testimonial-content{max-height:160px;overflow:hidden;display:-webkit-box;-webkit-line-clamp:6;-webkit-box-orient:vertical}
.tesimonial-card .testimonial-content p{font-size:14px;line-height:1.6;margin:0}
.testimonial-card-slider-area{padding:40px 0!important}
/* Fix the slider wrapper to align items at top */
.testimonial-card-slider .swiper-wrapper{align-items:flex-start!important}
.tesimonial-card-wrapper{height:auto!important}

/* ===== ABOUT SECTION IMAGE ===== */
.about-img{max-width:100%;overflow:hidden;border-radius:16px}
.about-img>img:first-child{width:100%;height:auto;object-fit:cover;border-radius:16px;max-height:500px}

/* ===== BLOG SECTION FIX ===== */
/* Featured blog image - constrain height */
.blog-section .blog-card .blog-card-img-wrap .card-img img{max-height:400px;object-fit:cover;width:100%}
/* Side blog cards - smaller images */
.blog-section .blog-card.two .blog-card-img-wrap .card-img img{height:120px;object-fit:cover;width:100%}
.room-suits-card.two .hotel-img-slider .swiper-wrapper .swiper-slide .room-img img {height:300px;}
.tour-facilites-section .room-suits-card .room-content .content-top .loaction-area li { margin-right: 0;}
.tour-facilites-section .room-suits-card .room-content .content-top .facilisis li { gap: 0; padding-right: 0;}

/* ===== MOBILE OPTIMIZATIONS ===== */
@media(max-width:767px){
  .home1-banner-wrapper{min-height:400px}
  
  /* Offers - constrain on mobile too */
  .banner2-section .banner2-card>img{height:200px}
  .banner2-section .banner2-card.two>img,.banner2-section .banner2-card.three>img{height:180px}
  
  /* Offers mobile carousel */
  .banner2-section .row.g-lg-4.gy-5{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;gap:12px;padding-bottom:8px;scrollbar-width:none}
  .banner2-section .row.g-lg-4.gy-5::-webkit-scrollbar{display:none}
  .banner2-section .row.g-lg-4.gy-5>[class*="col-"]{flex:0 0 85%!important;max-width:85%!important;scroll-snap-align:start}
  
  /* Hotels/latest-product mobile carousel */
  .tour-facilites-section .tab-pane .row{display:flex!important;flex-wrap:wrap!important;overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;gap:12px;padding-bottom:8px;scrollbar-width:none}
  .tour-facilites-section .tab-pane .row::-webkit-scrollbar{display:none}
  .tour-facilites-section .tab-pane .row>[class*="col-"]{flex:0 0 100%!important;max-width:100%!important;scroll-snap-align:start}
  
  /* Blog section: hide desktop 2-col layout, show mobile scroll */
  .blog-section .row.g-lg-4.gy-5>.col-lg-5,
  .blog-section .row.g-lg-4.gy-5>.col-lg-7{display:none!important}
  .blog-section .mobile-blog-scroll{display:flex!important;overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;gap:12px;padding:0 15px 8px;scrollbar-width:none}
  .blog-section .mobile-blog-scroll::-webkit-scrollbar{display:none}
  .blog-section .mobile-blog-scroll .blog-scroll-item{flex:0 0 85%;max-width:85%;scroll-snap-align:start}
  .blog-section .mobile-blog-scroll .blog-card{margin-bottom:0}
  .blog-section .mobile-blog-scroll .blog-card-img-wrap .card-img img{width:100%;height:200px;object-fit:cover;border-radius:8px}
  
  /* Testimonials mobile */
  .tesimonial-card{max-height:280px}
  .tesimonial-card .testimonial-content{max-height:120px;-webkit-line-clamp:5}
  
  /* Footer: stack all columns full width on mobile */
  .footer-top .row>[class*="col-"]{flex:0 0 100%!important;max-width:100%!important}
  .footer-top .row>[class*="col-"]{justify-content:flex-start!important}
  .footer-widget{text-align:center;margin-bottom:20px}
  .footer-widget .widget-list{text-align:center}
  .footer-widget .single-contact{text-align:center}
  .footer-logo{display:flex;justify-content:center}
  .footer-bottom .col-lg-12{text-align:center}
  .footer-bottom .footer-right ul{justify-content:center;flex-wrap:wrap;gap:8px}
  .footer-bottom .social-list{justify-content:center}
  .footer-widget p{font-size:13px;line-height:1.5}
  .footer-widget .single-contact a{font-size:13px;word-break:break-word}
}
@media(min-width:768px){
  .blog-section .mobile-blog-scroll{display:none!important}
}
