/* ================================
   Corsa Nepal Search form styling
   ================================ */
.corsa-nepal-search .corsa-nepal-form-row{
  display:flex;
  flex-wrap:wrap;
  align-items:end;
  gap:12px;
  padding:14px;
  border-radius:14px;
  backdrop-filter: blur(6px);
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.18);
}

.corsa-nepal-search .corsa-nepal-field{ min-width: 220px; flex: 1; }
.corsa-nepal-search .corsa-nepal-field-sm{ min-width: 140px; flex: 0 0 auto; }

.corsa-nepal-search .corsa-nepal-label{
  color:#fff;
  font-size:12px;
  font-weight:600;
  margin:0 0 6px;
  display:block;
}

.corsa-nepal-search .corsa-nepal-input{
  width:100%;
  height:44px;
  border-radius:10px;
  border:0;
  padding:10px 12px;
  outline:none;
}

.corsa-nepal-search .corsa-nepal-divider{
  width:1px;
  align-self:stretch;
  background: rgba(255,255,255,.25);
  display:none;
}
@media (min-width: 992px){
  .corsa-nepal-search .corsa-nepal-divider{ display:block; }
}

.corsa-nepal-search .corsa-nepal-actions{
  display:flex;
  gap:10px;
  align-items:center;
  flex: 0 0 auto;
}

.corsa-nepal-results-wrap .corsa-nepal-results-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  margin-bottom:12px;
}
.corsa-nepal-results-title{ margin:0; }
.corsa-nepal-results-meta{ opacity:.85; }

/* Select2 tweaks in dark overlay */
.select2-container--default .select2-selection--multiple{
  min-height:44px;
  border-radius:10px;
  border:0;
  padding:4px 8px;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice{
  border:0;
  border-radius:999px;
  padding:2px 10px;
}
.select2-container--default .select2-search--inline .select2-search__field{
  margin-top:6px;
}
.corsa-nepal-loading, .corsa-nepal-no-results{
  padding:14px;
  border-radius:12px;
  border:1px solid rgba(0,0,0,.08);
  background:#fff;
}
.corsa-nepal-package-card .card-title a{ text-decoration:none; }

/* Select2 single matches input look */
.corsa-nepal-search .select2-container .select2-selection--single{
  height: 44px;
  display: flex;
  align-items: center;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 8px;
  background: rgba(255,255,255,.08);
}
.corsa-nepal-search .select2-container--default .select2-selection--single .select2-selection__rendered{
  line-height: 44px;
  padding-left: 12px;
  padding-right: 28px;
  color: #fff;
}
.corsa-nepal-search .select2-container--default .select2-selection--single .select2-selection__arrow{
  height: 44px;
  right: 8px;
}
.corsa-nepal-search .corsa-nepal-label{ margin-bottom: 6px; display:block; }


/* ================================
   Corsa Nepal Latest Packages (Block)
   ================================ */
.corsa-nepal-latest-packages .corsa-nepal-latest-bottom{
  display:flex;
  justify-content:center;
  margin-top: 28px;
}

/* Card */
.corsa-nepal-feature-card{
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  border: 1px solid rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Image block */
.corsa-nepal-feature-img{
  position: relative;
  aspect-ratio: 16 / 10;
  background: #f2f2f2;
}
.corsa-nepal-feature-img img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display:block;
}

/* Rating badge */
.corsa-nepal-rating-badge{
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(255,255,255,0.95);
  border-radius: 999px;
  padding: 6px 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 13px;
  color: #1B1D21;
  box-shadow: 0 6px 14px rgba(0,0,0,0.12);
}
.corsa-nepal-rating-badge i{
  color: #FFC928;
  font-size: 14px;
  line-height: 1;
}

/* Body */
.corsa-nepal-feature-body{
  padding: 16px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.corsa-nepal-feature-loc{
  display:flex;
  align-items:center;
  gap: 6px;
  color: #6B6B6B;
  font-size: 14px;
  font-weight: 400;
}
.corsa-nepal-feature-loc i{ color: #0d6efd; }

.corsa-nepal-feature-title{
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #1B1D21;
  line-height: 1.25;
}

.corsa-nepal-feature-titleLink{
  color: inherit;
  text-decoration: none;
}
.corsa-nepal-feature-titleLink:hover{
  text-decoration: none;
}
.corsa-nepal-feature-desc{
  margin: 0;
  color: #6B6B6B;
  font-size: 14px;
  line-height: 1.55;
  flex: 1;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  overflow: hidden;
}

/* Bottom meta */
.corsa-nepal-feature-meta{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
}

.corsa-nepal-feature-price{
  display:flex;
  align-items: baseline;
  gap: 6px;
  white-space: nowrap;
}
.corsa-nepal-feature-price .corsa-nepal-price{
  font-weight: 700;
  color: #0d6efd;
  font-size: 18px;
}
.corsa-nepal-feature-price .corsa-nepal-days{
  font-size: 13px;
  color: #6B6B6B;
}

.corsa-nepal-feature-btn{
  border-radius: 8px;
  padding: 8px 12px;
}

/* Optional bottom button */
.corsa-nepal-latest-packages .corsa-nepal-latest-btn{
  border-radius: 999px;
  padding: 12px 28px;
}

@media (max-width: 575.98px){
  .corsa-nepal-feature-body{ padding: 14px 14px 16px; }
  .corsa-nepal-feature-title{ font-size: 17px; }
}


/* =========================================================
   Corsa Nepal Activity Packages (FIXED layout)
   IMPORTANT:
   - Do NOT wrap cards with .row/.col-* for this grid
   - Cards must be direct children of .corsa-nepal-ap-grid
   ========================================================= */
.popular-adventure-sports-section {
  padding: 80px 0;
}

.adventure-sports-heading {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 50px;
}

.adventure-sports-card {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.sports-content-box {
  background: #fff;
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
  border-radius: 12px;
  overflow: hidden;
}

.sports-type-image img {
  width: 100%;
  height: 321px;
  object-fit: cover;
}

.adventure-sports-text-area {
  padding: 25px;
}

.sports-name a {
  font-size: 18px;
  font-weight: 600;
  color: #000;
  text-decoration: none;
}

.adventure-sports-text-area p {
  margin: 15px 0 25px;
  color: #555;
  font-size: 14px;
  line-height: 1.6;
}

.explore-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: #000;
  text-decoration: none;
}

/* Responsive */
@media (max-width: 991px) {
  .adventure-sports-card {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .adventure-sports-card {
    grid-template-columns: 1fr;
  }
}

/* WRAPPER */
.corsa-nepal-gallery-wrapper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 280px);
  gap: 16px;
  width: 100%;
}

/* BASE IMAGE */
.corsa-nepal-img {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
}

.corsa-nepal-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

/* HOVER EFFECT */
.corsa-nepal-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.45);
  opacity: 0;
  transition: .4s ease;
}

.corsa-nepal-img:hover::after {
  opacity: 1;
}

.corsa-nepal-img:hover img {
  transform: scale(1.1);
}

/* TEXT */
.corsa-nepal-img-text {
  position: absolute;
  bottom: 20px;
  left: 20px;
  z-index: 2;
}

.corsa-nepal-img-text h5 {
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  margin: 0;
}

/* GRID POSITIONS */
.corsa-nepal-img-tl { grid-column: 1 / 2; grid-row: 1 / 2; }
.corsa-nepal-img-tr { grid-column: 4 / 5; grid-row: 1 / 2; }
.corsa-nepal-img-bl { grid-column: 1 / 2; grid-row: 2 / 3; }
.corsa-nepal-img-br { grid-column: 4 / 5; grid-row: 2 / 3; }

/* FEATURED CENTER */
.corsa-nepal-img-center {
  grid-column: 2 / 4;
  grid-row: 1 / 3;
}

/* BUTTON */
.corsa-nepal-gallery-actions {
  margin-top: 40px;
  text-align: center;
}
@media (max-width: 991px) {
  .corsa-nepal-gallery-wrapper {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }

  .corsa-nepal-img,
  .corsa-nepal-img-center {
    grid-column: auto;
    grid-row: auto;
    height: 240px;
  }
}

@media (max-width: 575px) {
  .corsa-nepal-gallery-wrapper {
    grid-template-columns: 1fr;
  }

  .corsa-nepal-img {
    height: 220px;
  }
}
