/* ==========================================================================
   Krishipedia design system
   --------------------------------------------------------------------------
   One stylesheet for the whole front end. Loaded before Bootstrap; rules in
   section 3 are written with "html body" so they win over Bootstrap without
   !important where possible. Page-specific layouts live in css/pages/.

   1. Base layout and components (header, hero, homepage sections, footer)
   2. Section defaults
   3. Design system: tokens, typography, header, search, section headings,
      cards, locations, footer, inner pages, responsive, auth pages,
      dashboard, homepage sections, shared components
   ========================================================================== */

/* ==========================================================================
   1. Base layout and components
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
  overflow-x: hidden;
}
/* ── NAV ── */
.site-nav {
  position: sticky !important;
  top: 0;
  z-index: 1000;
}
.site-nav .brand {
  text-decoration: none;
}
.site-nav .nav-link {
  letter-spacing: .3px;
}
.nav-btn {
  border-radius: 6px;
  padding: 6px 16px !important;
  font-weight: 600;
  transition: background .2s;
}
.nav-btn:hover { background: var(--leaf) !important; }
/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100vh;
 background: linear-gradient(160deg, rgb(255 255 255) 0%, rgb(27 67 50 / 0%) 60%, rgb(66 66 66 / 55%) 100%), url(../imgs/hero-bg.webp);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.hero h1 {
  font-weight: 900;
  color: #222;
  line-height: 1.12;
  letter-spacing: -.5px;
  margin-bottom: 16px;
}
.hero-sub {
    color: #111;
    font-size: 1.2rem;
    line-height: 1.6;
}
/* Search Card */
.search-card {
  background: rgba(255,255,255,.97);
  border-radius: 16px;
  padding: 28px 30px;
  box-shadow: 0 30px 80px rgba(0,0,0,.3);
  max-width: 100%;
}
.search-card h5 {
  font-size: .78rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-light);
  font-weight: 600;
  margin-bottom: 18px;
}
.search-card .form-control,
.search-card .form-select {
  border: 1.5px solid #e0ebe3;
  border-radius: 8px;
  font-size: .9rem;
  padding: 11px 14px;
  color: var(--text-dark);
  background: #f8fdf9;
  transition: border-color .2s;
}
.search-card .form-control:focus,
.search-card .form-select:focus {
  border-color: var(--vibrant);
  box-shadow: 0 0 0 3px rgba(64,145,108,.12);
  background: #fff;
}
.hero-stats {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
    padding: 2rem;
    justify-content: space-around;
	text-align: center;
}
.hero-stat { color: rgba(255,255,255,.85); }
.hero-stat strong { display: block; font-size: 1.6rem; font-weight: 700; color: #fff; line-height: 1; }
.hero-stat span { font-size: .78rem; letter-spacing: .5px; text-transform: uppercase; opacity: .7; }
.verified-badge{
	color:limegreen !important;
	font-size: 70%;
}
/* ── SECTION TITLES ── */
.section-eyebrow {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--vibrant);
  margin-bottom: 8px;
}
.section-title {
  color: var(--forest);
  line-height: 1.18;
  margin-bottom: 10px;
}
.section-desc {
  color: var(--text-light);
  font-size: .95rem;
  line-height: 1.65;
  max-width: 540px;
}
/* ── CATEGORIES ── */
.categories-section { background: var(--pale); padding: 90px 0; }
.cat-card {
  background: var(--white);
  border-radius: 14px;
  padding: 30px 20px 24px;
  text-align: center;
  border: 1.5px solid var(--border);
  cursor: pointer;
  transition: all .28s cubic-bezier(.34,1.56,.64,1);
  position: relative;
  overflow: hidden;
}
.cat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--mint), transparent);
  opacity: 0;
  transition: opacity .25s;
}
.cat-card:hover { transform: translateY(-8px); box-shadow: 0 20px 50px rgba(27,67,50,.14); border-color: var(--vibrant); }
.cat-card:hover::before { opacity: 1; }
.cat-icon-wrap {
  width: 64px; height: 64px;
  background: var(--mint);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.7rem;
  color: var(--forest);
  transition: background .25s, color .25s;
  position: relative;
}
.cat-card:hover .cat-icon-wrap { background: var(--forest); color: #fff; }
.cat-card h6 {
  font-size: .92rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 4px;
  position: relative;
}
.cat-card small { color: var(--text-light); font-size: .78rem; position: relative; }
/* ── FEATURED LISTINGS ── */
.featured-section { padding: 90px 0; background: #f8f9fa; }
.listing-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #ecfdf3;
  color: #166534;
  border: 1px solid #bbf7d0;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 50px;
}
.premium-badge {
  background: #fffbeb;
  color: #92400e;
  border-color: #fde68a;
}
.feat-card {
  overflow: hidden;
}
.feat-img {
  width: 100%; height: 250px;
  object-fit: cover;
  background: linear-gradient(135deg, var(--mint), #b7e4c7);
}
.feat-card-body { padding: 18px 20px 20px; }
.feat-card-body h5 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 4px;
}
.feat-location { color: var(--text-light); font-size: .82rem; }
.stars { color: #f59e0b; font-size: .82rem; }
.btn-view {
  transition: all .2s;
  text-decoration: none;
  display: inline-block;
}
/* ── RECENT LISTINGS ── */
.recent-section { background: var(--pale); padding: 90px 0; }
.recent-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  border: 1.5px solid var(--border);
  transition: all .22s ease;
  position: relative;
}
.recent-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(27,67,50,.1); }
.recent-img {
    height: 250px;
    overflow: hidden;
    border-radius: 8px;
}
.time-badge {
  font-size: .72rem;
  background: var(--mint);
  color: var(--forest);
  padding: 3px 10px;
  border-radius: 50px;
  font-weight: 600;
}
.recent-card h6 {
  font-size: .95rem;
  font-weight: 600;
  color: var(--text-dark);
  margin: 10px 0 5px;
}
.recent-card p { color: var(--text-light); font-size: .82rem; margin: 0; }
/* Equal-height cards inside the carousel. */
.recent-carousel .owl-stage { display: flex; }
.recent-carousel .owl-item { display: flex; }
.recent-carousel .owl-item > .recent-carousel-item { width: 100%; }
.recent-carousel .recent-carousel-item > a { display: block; height: 100%; }
/* Owl hides overflow: leave room for the card hover lift and shadow. */
.recent-carousel .owl-stage-outer {
	padding: 8px 8px 16px;
	margin: -8px -8px -16px;
}
/* ── CATEGORY-WISE TABBED ── */
.catwise-section { padding: 90px 0; background: #fff; }
/* Tabs */
.cat-tabs {
  gap: 4px;
  border-bottom: 2px solid var(--border);
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #cfdcd4 transparent;
}
.cat-tabs::-webkit-scrollbar { height: 4px; }
.cat-tabs::-webkit-scrollbar-track { background: transparent; }
.cat-tabs::-webkit-scrollbar-thumb { background: #cfdcd4; border-radius: 10px; }
.cat-tabs .nav-item { flex: 0 0 auto; }
.cat-tabs .nav-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: -2px;
  padding: 12px 18px;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 8px 8px 0 0;
  background: transparent;
  color: var(--text-mid, #4a5a50);
  font-size: .88rem;
  font-weight: 500;
  white-space: nowrap;
  transition: color .2s, background-color .2s, border-color .2s;
}
.cat-tab-icon { font-size: 1rem; color: var(--text-light, #8a9a90); transition: color .2s; }
.cat-tab-count {
  padding: 1px 8px;
  border-radius: 50px;
  background: #f0f5f2;
  color: var(--text-light, #8a9a90);
  font-size: .7rem;
  font-weight: 700;
  transition: background-color .2s, color .2s;
}
.cat-tabs .nav-link:hover {
  color: var(--forest, var(--forest));
  background: var(--pale, #f4faf6);
}
.cat-tabs .nav-link:hover .cat-tab-icon { color: var(--forest, var(--forest)); }
.cat-tabs .nav-link.active {
  color: var(--forest, var(--forest));
  font-weight: 600;
  background: transparent;
  border-bottom-color: var(--forest, var(--forest));
}
.cat-tabs .nav-link.active .cat-tab-icon { color: var(--forest, var(--forest)); }
.cat-tabs .nav-link.active .cat-tab-count { background: var(--forest, var(--forest)); color: #fff; }
.cat-tabs .nav-link:focus-visible { outline: 2px solid var(--forest, var(--forest)); outline-offset: -2px; }
/* Listing rows */
.biz-list {
  height: 100%;
  padding: 6px;
  border: 1px solid #e6eee9;
  border-radius: 16px;
  background: #fff;
}
.biz-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border-radius: 12px;
  transition: background-color .2s;
}
.biz-item + .biz-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 12px;
  right: 12px;
  border-top: 1px solid #f0f5f2;
}
.biz-item:hover { background: var(--pale, #f4faf6); }
.biz-item:hover::before, .biz-item:hover + .biz-item::before { opacity: 0; }
.biz-avatar {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  border-radius: 12px;
  overflow: hidden;
  background: var(--mint, #e3f2e8);
}
.biz-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.biz-body { flex: 1; min-width: 0; }
.biz-name {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 3px;
  font-size: .92rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-dark, #1b2a21);
}
.biz-name-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.biz-name .verified-badge { color: #1d9bf0; font-size: .85rem; line-height: 1; flex-shrink: 0; }
.biz-meta {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 5px;
  font-size: .78rem;
  color: var(--text-light, #8a9a90);
}
.biz-meta span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.biz-rating { display: flex; align-items: center; gap: 6px; font-size: .75rem; }
.biz-rating-score {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 7px;
  border-radius: 6px;
  background: #fff5e0;
  color: #8a5200;
  font-weight: 700;
}
.biz-rating-score i { color: #f5a623; font-size: .7rem; }
.biz-rating-count, .biz-rating-none { color: var(--text-light, #8a9a90); }
.biz-arrow {
  margin-left: auto;
  color: var(--text-light, #8a9a90);
  font-size: .8rem;
  transition: transform .2s, color .2s;
}
.biz-item:hover .biz-arrow { color: var(--forest, var(--forest)); transform: translateX(3px); }
.biz-empty { padding: 48px 16px; text-align: center; color: var(--text-light, #8a9a90); }
.biz-empty i { display: block; margin-bottom: 8px; font-size: 2rem; }
.biz-empty p { margin: 0; font-size: .88rem; }
/* Category info box */
.catwise-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 40px 32px;
  text-align: center;
  border-radius: 16px;
  background:
    radial-gradient(circle at 100% 0, rgba(255, 255, 255, .7), transparent 45%),
    var(--pale, #f4faf6);
  border: 1px solid #dcebe1;
}
.catwise-info-icon {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: #fff;
  color: var(--forest, var(--forest));
  font-size: 2.3rem;
  box-shadow: 0 8px 24px -10px rgba(27, 67, 50, .3);
}
.catwise-info-title {
  margin: 0 0 8px;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--forest, var(--forest));
}
.catwise-info-desc {
  max-width: 420px;
  margin: 0 0 16px;
  font-size: .87rem;
  line-height: 1.6;
  color: var(--text-mid, #4a5a50);
}
@media (max-width: 991.98px) {
  .catwise-section { padding: 64px 0; }
  .catwise-info { padding: 28px 20px; }
  .catwise-info-icon { width: 68px; height: 68px; font-size: 1.9rem; }
}
@media (prefers-reduced-motion: reduce) {
  .catwise-section * { transition: none !important; }
}
/* ── LOCATION LISTINGS ── */
.location-section { background: var(--pale); padding: 90px 0; }
/* ── LOCATION GRID ── */
.location-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    width: 100%;
}
@media (max-width: 1199.98px) {
  .location-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 767.98px) {
  .location-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 479.98px) {
  .location-grid { grid-template-columns: minmax(0, 1fr); }
}
/* Owl hides overflow, so leave room for the card hover shift and shadow */
.location-carousel .owl-stage-outer {
    padding: 6px 8px 14px;
    margin: -6px -8px -14px;
}
/* Long district names shouldn't widen the column */
.loc-card { min-width: 0; }
.loc-card > div { min-width: 0; }
.loc-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.loc-card {
  background: #fff;
  border-radius: 12px;
  padding: 18px;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  transition: all .22s ease;
}
.loc-card:hover { transform: translateX(4px); box-shadow: 0 8px 24px rgba(27,67,50,.1); border-color: var(--vibrant); }
.loc-icon {
  width: 40px; height: 40px;
  background: var(--mint);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  color: var(--forest);
  flex-shrink: 0;
}
.loc-name { font-size: .88rem; font-weight: 600; color: var(--text-dark); line-height: 1.3; }
.loc-count {
  font-size: .72rem;
  background: var(--mint);
  color: var(--forest);
  padding: 2px 8px;
  border-radius: 50px;
  font-weight: 700;
  margin-left: auto;
  flex-shrink: 0;
}
/* ── COUNTERS ── */
.counter-section {
  background: var(--forest);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.counter-section::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(116,198,157,.12) 0%, transparent 70%);
}
.counter-section::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -40px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(64,145,108,.15) 0%, transparent 70%);
}
/* ── HOW IT WORKS ── */
.how-section { padding: 90px 0; background: #fff; }
.step-card {
  text-align: center;
  padding: 30px 20px;
  position: relative;
}
.step-num {
  width: 64px;
  height: 64px;
  background: var(--forest);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: 900;
  margin: 0 auto 20px;
  box-shadow: 0 8px 24px rgba(27,67,50,.3);
}
.step-connector {
  position: absolute;
  top: 62px;
  right: -50%;
  width: 100%;
  height: 2px;
  border-top: 2px dashed #c8e6d3;
  z-index: 0;
}
.step-card:last-child .step-connector { display: none; }
.step-card h5 {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-dark);
  margin-bottom: 10px;
}
.step-card p { color: var(--text-light); font-size: .87rem; line-height: 1.6; max-width: 200px; margin: 0 auto; }
/* ── TOP LOCATIONS VISUAL ── */
.top-loc-section { padding: 90px 0; background: var(--pale); }
.loc-img-card {
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: transform .3s ease;
}
.loc-img-card:hover { transform: scale(1.02); }
.loc-img-card:hover .loc-img-overlay { background: rgba(0,0,0,.55); }
.loc-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10,35,20,.75) 0%, rgba(0,0,0,.2) 100%);
  transition: background .3s;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
}
.loc-img-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}
.loc-img-sub { font-size: .78rem; color: rgba(255,255,255,.75); }
/* Tall / short cards for asymmetric layout */
.tall { height: 280px; }
.short { height: 180px; }
/* ── CTA ── */
.cta-section {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--forest) 0%, var(--leaf) 50%, var(--forest) 100%);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -100px; right: 0;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(116,198,157,.1) 0%, transparent 60%);
}
.cta-section h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.22;
  margin-bottom: 16px;
}
.cta-section p { color: rgba(255,255,255,.7); font-size: 1rem; max-width: 520px; line-height: 1.65; margin-bottom: 32px; }
.btn-cta-primary {
  background: #74c69d;
  color: var(--forest);
  border: none;
  border-radius: 8px;
  padding: 14px 32px;
  font-weight: 700;
  font-size: .95rem;
  transition: all .2s;
  text-decoration: none;
  display: inline-block;
}
.btn-cta-primary:hover { background: #fff; color: var(--forest); transform: translateY(-2px); }
.btn-cta-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.45);
  border-radius: 8px;
  padding: 13px 32px;
  font-weight: 600;
  font-size: .95rem;
  transition: all .2s;
  text-decoration: none;
  display: inline-block;
}
.btn-cta-outline:hover { border-color: #fff; background: rgba(255,255,255,.08); color: #fff; }
/* ── NEWSLETTER ── */
.newsletter-section { background: var(--mint); padding: 72px 0; }
.newsletter-section h3 {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 700;
  color: var(--forest);
  margin-bottom: 8px;
}
.newsletter-section p { color: var(--text-mid); font-size: .92rem; max-width: 460px; line-height: 1.6; }
.newsletter-input {
  border: 2px solid #b7e4c7;
  border-radius: 8px;
  padding: 13px 18px;
  font-size: .9rem;
  background: #fff;
  flex: 1;
  outline: none;
  transition: border-color .2s;
}
.newsletter-input:focus { border-color: var(--vibrant); }
.btn-subscribe {
  background: var(--forest);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 13px 28px;
  font-weight: 600;
  font-size: .9rem;
  white-space: nowrap;
  transition: background .2s;
}
.btn-subscribe:hover { background: var(--leaf); }
/* ── FOOTER ── */
footer {
  padding: 60px 0 28px;
}
footer .brand-footer {
  color: #fff;
}
footer h6 {
  text-transform: uppercase;
}
footer a {
  text-decoration: none;
  display: block;
  transition: color .2s;
}
.social-icon {
  width: 36px; height: 36px;
  background: rgba(255,255,255,.08);
  border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.6);
  font-size: .95rem;
  transition: all .2s;
  text-decoration: none;
}
.social-icon:hover { background: var(--vibrant); color: #fff; }
/* Misc */
@media (max-width: 767px) {
  .hero { min-height: 100svh; 
    background: linear-gradient(160deg, rgb(255 255 255) 0%, rgb(27 67 50 / 0%) 60%, rgb(66 66 66 / 55%) 100%), url('../imgs/hero-mobile.webp') center/cover no-repeat;
	
  }
  .hero h1, .hero-sub{
	  text-align:center;
  }
  .step-connector { display: none; }
  .search-card { padding: 22px 16px;margin-bottom:20px }
  .hero-stats { gap: 18px;    flex-direction: column;
    align-items: center;
    text-align: center; }
}
.filter-box {
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 12px;
    background: #fff;
}
.filter-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
}
.filter-scroll {
    max-height: 180px;
    overflow-y: auto;
    padding-right: 5px;
}
.filter-check {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    margin-bottom: 6px;
    cursor: pointer;
}
.rating-option {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    cursor: pointer;
}
.rating-option .stars i {
    color: #f5a623;
    font-size: 14px;
}
.listing-loader {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}
.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #ddd;
    border-top: 4px solid #333;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.no-listings {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 220px;
    padding: 30px;
    text-align: center;

    background: #fafafa;
    border: 1px dashed #ddd;
    border-radius: 10px;
}
.no-listings-content h5 {
    margin: 0 0 10px;
    font-size: 20px;
    font-weight: 600;
    color: #333;
}
.no-listings-content p {
    margin: 0;
    color: #777;
    font-size: 15px;
    line-height: 1.6;
}
.no-results-icon {
    font-size: 48px;
    color: #ccc;
    margin-bottom: 15px;
    display: block;
}
/* ── BREADCRUMB BAND ── */
.listing-breadcrumb-band {
  padding: 14px 0;
  font-size: .82rem;
}
.listing-breadcrumb-band a {
  color: rgba(255,255,255,.65);
  text-decoration: none;
  transition: color .2s;
}
.listing-breadcrumb-band a:hover { color: #74c69d; }
.listing-breadcrumb-band .sep { color: rgba(255,255,255,.3); margin: 0 8px; }
.listing-breadcrumb-band .current { color: rgba(255,255,255,.9); }

/* ==========================================================================
   2. Section defaults
   ========================================================================== */

.section-title{
	font-size: 32px;
    font-weight: 600;
}
#categories-section div.category-card {
	border-style: solid;
}
#location-box i{
	color:#ffffff;
	font-size:40px;
}
#location-box img{
	width:40px;
	height:40px;
}
#location-box .location-name {
  color: #333333;
}

/* ==========================================================================
   3. Design system
   ========================================================================== */

/* ---------- 1. Design tokens --------------------------------------------- */
/* html:root beats any :root block in plugins or older page CSS, so every
   page uses the same palette. Brand colours from the Customizer are printed
   after this file with the same selector. */
html:root {
  --forest:      #1b4a2e;
  --leaf:        #245f3b;
  --vibrant:     #2f7a47;
  --mint:        #e6f2e8;
  --pale:        #f5f8f3;
  --text-dark:   #142219;
  --text-mid:    #42524a;
  --text-light:  #66756c;
  --border:      #e2e8df;
  --white:       #ffffff;
  --gold:        #e9a23b;
  --danger:      #c0392b;
  --danger-bg:   #fdf0ee;
  --success:     #23683d;
  --success-bg:  #eaf5ec;
  --warning:     #a86a0c;
  --warning-bg:  #fdf5e6;

  --kp-ink:      #142219;
  --kp-cream:    #faf8f2;
  --kp-sand:     #f3ede0;
  --kp-amber:    #e9a23b;
  --kp-amber-dk: #c98318;
  --kp-clay:     #a65a2a;
  --kp-deep:     #0f2b1c;
  --kp-radius:   16px;
  --kp-radius-sm:10px;
  --kp-shadow-sm:0 1px 2px rgba(20,34,25,.05), 0 1px 3px rgba(20,34,25,.06);
  --kp-shadow:   0 12px 32px -14px rgba(20,50,32,.28);
  --kp-shadow-lg:0 28px 60px -24px rgba(20,50,32,.38);
  --kp-font:     'Plus Jakarta Sans', 'Hind Siliguri', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --kp-ease:     cubic-bezier(.2,.7,.2,1);

  --bs-body-font-family: var(--kp-font);
  --bs-font-sans-serif: var(--kp-font);
  --bs-body-color: #142219;
  --bs-link-color: #245f3b;
  --bs-link-color-rgb: 36,95,59;
  --bs-link-hover-color: #1b4a2e;
  --bs-link-hover-color-rgb: 27,74,46;
  --bs-border-color: #e2e8df;
  --bs-success: #245f3b;
  --bs-success-rgb: 36,95,59;
}
/* ---------- 2. Base typography ------------------------------------------- */
html body {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--kp-ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
html body h1,
html body h2,
html body h3,
html body h4,
html body h5,
html body h6,
html body .section-title,
html body .listing-hero h1,
html body .related-section-title {
  letter-spacing: -.02em;
}
html body h1, html body h2 { font-weight: 800; }
html body h3, html body h4 { font-weight: 700; }
html body h5, html body h6 { font-weight: 700; letter-spacing: -.01em; }
html body a { text-underline-offset: 3px; }
html body ::selection { background: #cfe6d4; color: var(--forest); }
html body :focus-visible { outline: 3px solid rgba(47,122,71,.4); outline-offset: 2px; }
html body img { max-width: 100%; }
/* Bootstrap buttons and fields in the new palette */
html body .btn { font-weight: 600; border-radius: 10px; letter-spacing: -.005em; transition: all .2s var(--kp-ease); }
html body .btn-success {
  --bs-btn-bg: var(--forest); --bs-btn-border-color: var(--forest);
  --bs-btn-hover-bg: var(--leaf); --bs-btn-hover-border-color: var(--leaf);
  --bs-btn-active-bg: var(--leaf); --bs-btn-active-border-color: var(--leaf);
  --bs-btn-focus-shadow-rgb: 47,122,71;
}
html body .btn-success:hover { transform: translateY(-1px); box-shadow: 0 8px 18px -8px rgba(27,74,46,.55); }
html body .btn-outline-success {
  --bs-btn-color: var(--forest); --bs-btn-border-color: #cfe0d3;
  --bs-btn-hover-color: var(--forest); --bs-btn-hover-bg: var(--mint); --bs-btn-hover-border-color: var(--vibrant);
  --bs-btn-active-color: var(--forest); --bs-btn-active-bg: var(--mint); --bs-btn-active-border-color: var(--vibrant);
  background: #fff;
}
html body .text-success { color: var(--leaf) !important; }
html body .form-control, html body .form-select {
  border-color: var(--border);
  border-radius: 10px;
  color: var(--kp-ink);
}
html body .form-control:focus, html body .form-select:focus {
  border-color: var(--vibrant);
  box-shadow: 0 0 0 .22rem rgba(47,122,71,.15);
}
html body .form-check-input:checked { background-color: var(--leaf); border-color: var(--leaf); }
html body .dropdown-menu { border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--kp-shadow); padding: 6px; }
html body .dropdown-item { border-radius: 8px; }
html body .dropdown-item:active { background: var(--mint); color: var(--forest); }
/* ---------- 3. Header ---------------------------------------------------- */
html body .site-nav {
  min-height: 74px;
  padding-top: 10px !important;
  padding-bottom: 10px !important;
  background: rgba(255,255,255,.97) !important;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 6px 24px -18px rgba(20,34,25,.5);
}
html body .site-nav .brand {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -.035em;
  color: var(--forest) !important;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
html body .site-nav .brand::before {
  content: '';
  width: 34px; height: 34px;
  flex: 0 0 34px;
  border-radius: 11px 11px 11px 3px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21V11'/%3E%3Cpath d='M12 11c0-3.5 2.5-6 6.5-6 0 3.5-2.5 6-6.5 6z'/%3E%3Cpath d='M12 14c0-3-2-5-5.5-5 0 3 2 5 5.5 5z'/%3E%3C/svg%3E") center / 20px no-repeat,
    linear-gradient(140deg, #3c8f55, #1b4a2e);
  box-shadow: 0 6px 14px -6px rgba(27,74,46,.6);
}
html body .site-nav .brand span { color: var(--vibrant); }
html body .site-nav .nav-link {
  color: var(--text-mid);
  font-size: .93rem;
  font-weight: 600;
  padding: 8px 14px !important;
  border-radius: 999px;
  transition: background .2s var(--kp-ease), color .2s var(--kp-ease);
}
html body .site-nav .nav-link:hover,
html body .site-nav .current-menu-item > .nav-link,
html body .site-nav .nav-link.active {
  color: var(--forest) !important;
  background: var(--mint);
}
html body .site-nav .btn { padding: 8px 16px; font-size: .88rem !important; white-space: nowrap; }
html body .site-nav .navbar-toggler {
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--border) !important;
  border-radius: 12px;
  color: var(--forest) !important;
  background: #fff;
}
html body .site-nav .navbar-toggler .bi { font-size: 1.5rem !important; line-height: 1; }
html body .topbar-user-btn { background: #fff; border-color: var(--border); }
html body .topbar-user-placeholder { background: var(--forest); }
@media (max-width: 991.98px) {
  html body #mainMenuOffcanvas {
    background: var(--kp-deep) !important;
    width: min(330px, 86vw);
  }
  html body #mainMenuOffcanvas .offcanvas-header { border-color: rgba(255,255,255,.1) !important; }
  html body #mainMenuOffcanvas .offcanvas-title { color: #fff; font-weight: 800; }
  html body #mainMenuOffcanvas .nav-link {
    color: rgba(255,255,255,.88) !important;
    font-size: 1.02rem;
    padding: 12px 14px !important;
    border-radius: 12px;
  }
  html body #mainMenuOffcanvas .nav-link:hover,
  html body #mainMenuOffcanvas .current-menu-item > .nav-link { background: rgba(255,255,255,.08); color: #fff !important; }
}
/* ---------- 4. Search bar ------------------------------------------------ */
html body #ajax-search-form {
  max-width: 1000px !important;
  margin-top: 26px;
  padding: 10px !important;
  background: #fff !important;
  border-radius: 20px;
  box-shadow: 0 30px 70px -30px rgba(0,0,0,.55), 0 0 0 6px rgba(255,255,255,.12);
}
html body #ajax-search-form > .row {
  --bs-gutter-x: 0;
  --bs-gutter-y: 0;
  margin: 0;
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 0;
}
html body #ajax-search-form > .row > div { padding: 0; width: auto; max-width: none; }
html body #ajax-search-form > .row > div:nth-child(1) { flex: 2 1 0; }
html body #ajax-search-form > .row > div:not(:first-child):not(:last-child) { flex: 1 1 0; border-left: 1px solid var(--border); }
html body #ajax-search-form > .row > div:last-child { flex: 0 0 auto; padding-left: 8px; }
html body #ajax-search-form .form-control,
html body #ajax-search-form .form-select {
  height: 54px;
  border: 0 !important;
  border-radius: 12px !important;
  background-color: transparent;
  font-size: .98rem;
  padding-left: 16px;
  box-shadow: none !important;
}
html body #ajax-search-form #search-input {
  padding-left: 46px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%2366756c' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") 16px center no-repeat;
}
html body #ajax-search-form .form-control:focus,
html body #ajax-search-form .form-select:focus { background-color: var(--pale); }
html body #ajax-search-form button[type="submit"] {
  height: 54px;
  min-width: 128px;
  padding: 0 24px;
  border-radius: 14px !important;
  background: var(--kp-amber) !important;
  color: #1d1505 !important;
  font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0;
}
html body #ajax-search-form button[type="submit"]:hover { background: var(--kp-amber-dk) !important; transform: translateY(-1px); }
html body .search_result { max-width: 1000px !important; text-align: left; }
html body #search-suggestions:not(:empty) {
  margin-top: 10px !important;
  background: #fff !important;
  border-radius: 16px;
  box-shadow: var(--kp-shadow-lg) !important;
  overflow: hidden;
}
@media (max-width: 767.98px) {
  html body #ajax-search-form { padding: 10px !important; border-radius: 18px; }
  html body #ajax-search-form > .row { flex-wrap: wrap; gap: 8px; }
  html body #ajax-search-form > .row > div:nth-child(1) { flex: 1 1 100%; }
  html body #ajax-search-form > .row > div:not(:first-child):not(:last-child) { flex: 1 1 calc(50% - 4px); border-left: 0; }
  html body #ajax-search-form > .row > div:last-child { flex: 1 1 100%; padding-left: 0; }
  html body #ajax-search-form .form-control,
  html body #ajax-search-form .form-select { background-color: var(--pale); height: 50px; font-size: 16px; }
  html body #ajax-search-form .form-select { padding-left: 12px; padding-right: 30px; background-position: right 10px center; text-overflow: ellipsis; }
  html body #ajax-search-form button[type="submit"] { width: 100%; height: 50px; }
}
/* ---------- 5. Section headings ------------------------------------------ */
html body #categories-section h2.section-title,
html body #top-locations-section h2.section-title {
  color: var(--kp-ink);
  font-size: clamp(1.65rem, 3vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.15;
  margin-bottom: 8px !important;
}
html body #top-locations-section .section-title::before {
  margin-left: auto;
  margin-right: auto;
}
/* section rhythm and backgrounds */
html body #categories-section,
html body #top-locations-section {
  padding-top: clamp(40px, 5.5vw, 68px) !important;
  padding-bottom: clamp(40px, 5.5vw, 68px) !important;
}
html body #categories-section > .container {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
html body #categories-section { background: var(--kp-cream) !important; }
html body #top-locations-section { background: #fff !important; }
/* ---------- 6. Category cards -------------------------------------------- */
html body #categories-section .row { --bs-gutter-x: 1.1rem; }
html body #categories-section .category-card {
  height: 100%;
  padding: 26px 16px 22px !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--kp-radius);
  background: #fff !important;
  box-shadow: var(--kp-shadow-sm);
  transition: transform .25s var(--kp-ease), box-shadow .25s var(--kp-ease), border-color .25s var(--kp-ease);
  position: relative;
}
html body #categories-section .category-card a { color: var(--kp-ink) !important; display: block; }
html body #categories-section .category-card a::after { content: ''; position: absolute; inset: 0; }
html body #categories-section i.cat-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 68px; height: 68px;
  border-radius: 20px;
  background: var(--mint);
  color: var(--forest) !important;
  font-size: 1.85rem !important;
  transition: background .25s var(--kp-ease), color .25s var(--kp-ease), transform .25s var(--kp-ease);
}
html body #categories-section h5.cat-name {
  font-size: .98rem !important;
  font-weight: 700;
  color: var(--kp-ink) !important;
  margin: 14px 0 0 !important;
}
html body #categories-section .category-card:hover { transform: translateY(-5px); box-shadow: var(--kp-shadow); border-color: #cfe0d3 !important; }
html body #categories-section .category-card:hover i.cat-icon { background: var(--forest); color: #fff !important; transform: rotate(-4deg); }
/* ---------- 7. Listing cards --------------------------------------------- */
html body .feat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--kp-shadow-sm);
  transition: transform .3s var(--kp-ease), box-shadow .3s var(--kp-ease), border-color .3s var(--kp-ease);
}
html body .feat-card:hover { transform: translateY(-6px); box-shadow: var(--kp-shadow-lg); border-color: #d7e5da; }
html body .feat-card .feat-img {
  height: auto !important;
  aspect-ratio: 16 / 11;
  border-radius: 17px 17px 0 0;
  background: linear-gradient(135deg, var(--mint), var(--kp-sand));
}
html body .feat-card .feat-img img { transition: transform .6s var(--kp-ease); }
html body .feat-card:hover .feat-img img { transform: scale(1.05); }
html body .feat-card .feat-card-body { display: flex; flex-direction: column; flex: 1; padding: 16px 18px 18px; }
/* "Premium" badge floats on the photo */
html body .feat-card .feat-card-body > .d-flex.flex-wrap:first-child {
  position: absolute;
  top: 12px; left: 12px;
  margin: 0 !important;
  z-index: 2;
}
html body .feat-card .premium-badge,
html body .feat-card .listing-badge {
  background: rgba(255,255,255,.95);
  color: var(--kp-clay);
  border: 0;
  box-shadow: 0 4px 12px -4px rgba(0,0,0,.25);
  font-size: .68rem;
  letter-spacing: .06em;
  padding: 5px 10px;
}
html body .feat-card h5 { font-size: 1.04rem; font-weight: 700; line-height: 1.35; margin-bottom: 6px; letter-spacing: -.015em; }
html body .feat-card h5 a:hover { color: var(--leaf) !important; }
html body .feat-card .verified-badge { color: #2e8b57 !important; font-size: 80%; }
html body .feat-card .feat-location { color: var(--text-light); font-size: .86rem; }
html body .feat-card .feat-location i { color: var(--kp-clay); }
html body .feat-card .stars { color: var(--kp-amber); font-size: .8rem; }
html body .feat-card .feat-card-body > .d-flex:last-child {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed var(--border);
  gap: 10px;
}
html body .cat-tag {
  display: inline-flex; align-items: center;
  max-width: 62%;
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
  background: var(--kp-sand);
  color: #7a4a1f;
  font-size: .74rem;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 999px;
}
html body .cat-tag:hover { background: #ead9bd; color: #6a3f18; }
html body .btn-view {
  border: 0;
  background: var(--mint);
  color: var(--forest);
  font-weight: 700;
  font-size: .82rem;
  padding: 8px 14px;
  border-radius: 10px;
  white-space: nowrap;
}
html body .btn-view:not(:has(.bi))::after { content: ' →'; }
html body .btn-view:hover { background: var(--forest); color: #fff; }
/* carousels: equal-height cards, softer dots */
html body .owl-carousel .owl-stage { display: flex; }
html body .owl-carousel .owl-item { display: flex; }
html body .owl-carousel .owl-item > .item { width: 100%; padding: 6px 2px 22px; }
html body .owl-theme .owl-dots .owl-dot span { width: 8px; height: 8px; margin: 4px; background: #cfdccf; transition: all .25s var(--kp-ease); }
html body .owl-theme .owl-dots .owl-dot.active span,
html body .owl-theme .owl-dots .owl-dot:hover span { width: 24px; background: var(--forest); }
/* ---------- 8. Top locations --------------------------------------------- */
html body #location-box {
  border: 1px solid var(--border) !important;
  border-radius: var(--kp-radius) !important;
  background: #fff !important;
  box-shadow: var(--kp-shadow-sm) !important;
  transition: transform .25s var(--kp-ease), box-shadow .25s var(--kp-ease), border-color .25s var(--kp-ease);
}
html body #location-box:hover { transform: translateY(-5px); box-shadow: var(--kp-shadow) !important; border-color: #cfe0d3 !important; }
html body #location-box .card-body { position: relative; padding: 26px 16px 22px; }
/* the default map.png is not in the theme: show a pin instead of a broken image */
html body #location-box > .card-body > i {
  display: inline-flex; align-items: center; justify-content: center;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--kp-sand);
  color: var(--kp-clay) !important;
  font-size: 1.6rem !important;
}
html body #location-box .location-name { margin-top: 12px; font-size: 1.05rem !important; font-weight: 700 !important; }
html body #location-box .location-name a { color: var(--kp-ink) !important; }
html body #location-box .location-name a::after { content: ''; position: absolute; inset: 0; }
html body #location-box .location-listing-count {
  display: inline-block;
  margin: 2px 0 0;
  font-size: .8rem !important;
  font-weight: 600;
  color: var(--forest);
  background: var(--mint);
  padding: 3px 10px;
  border-radius: 999px;
}
/* ---------- 9. Footer ---------------------------------------------------- */
html body footer {
  position: relative;
  background: var(--kp-deep) !important;
  color: rgba(255,255,255,.66);
  padding-top: 72px;
}
html body footer::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, #3c8f55, var(--kp-amber), var(--kp-clay));
}
html body footer .brand-footer {
  font-weight: 800;
  letter-spacing: -.03em;
  font-size: 1.5rem;
}
html body footer .brand-footer span { color: var(--kp-amber); }
html body footer h6 { color: #fff; font-size: .78rem; font-weight: 700; letter-spacing: .14em; margin-bottom: 18px; }
html body footer a { color: rgba(255,255,255,.64); font-size: .92rem; margin-bottom: 10px; }
html body footer a:hover { color: #fff; }
html body footer .social-icon { width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,.07); color: rgba(255,255,255,.8); margin: 0; }
html body footer .social-icon:hover { background: var(--kp-amber); color: #1d1505; }
html body footer .footer-bottom { margin-top: 48px; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.08); font-size: .85rem; }
html body footer .footer-bottom span[style] { color: var(--kp-amber) !important; }
/* ---------- 10. Inner pages: archive, search, single --------------------- */
html body .listing-breadcrumb-band { background: var(--kp-deep) !important; }
html body .listing-hero {
  background:
    linear-gradient(180deg, rgba(15,43,28,.78), rgba(15,43,28,.9)),
    var(--kp-banner-image, url('../imgs/hero-bg.webp')) center / cover no-repeat !important;
}
html body .listing-hero h1 { font-weight: 800; letter-spacing: -.035em; }
html body .listing-sidebar-filter { border-radius: var(--kp-radius) !important; box-shadow: var(--kp-shadow-sm); }
html body .sidebar-filter-head { background: var(--forest) !important; border-radius: var(--kp-radius) var(--kp-radius) 0 0; }
html body .results-toolbar { border-radius: 14px !important; }
html body .archive-pagination a,
html body .archive-pagination span { border-radius: 10px !important; font-weight: 600; }
html body .archive-pagination .current { background: var(--forest) !important; border-color: var(--forest) !important; color: #fff !important; }
html body .mobile-filter-btn { border-radius: 12px !important; }
html body .sidebar-card { border-radius: var(--kp-radius) !important; overflow: hidden; box-shadow: var(--kp-shadow-sm); }
html body .sidebar-card-header { background: var(--forest) !important; }
html body .single-cta-banner {
  border-radius: 20px !important;
  background: linear-gradient(135deg, var(--forest), #0f2b1c) !important;
}
html body .single-cta-banner .btn-cta {
  background: var(--kp-amber) !important;
  color: #1d1505 !important;
  font-weight: 700;
}
/* ---------- 11. 404 and plain pages -------------------------------------- */
html body .kp-page-hero {
  background:
    radial-gradient(800px 260px at 100% 0%, rgba(92,170,110,.18), transparent 70%),
    var(--kp-cream);
  border-bottom: 1px solid var(--border);
  padding: clamp(44px, 7vw, 80px) 0 clamp(30px, 5vw, 52px);
}
html body .kp-page-hero .container { max-width: 840px; }
html body .kp-page-title { font-size: clamp(2rem, 4.2vw, 3rem); font-weight: 800; letter-spacing: -.035em; color: var(--kp-ink); margin: 0; }
html body .kp-page-meta { color: var(--text-light); font-size: .92rem; margin-bottom: 10px; }
html body .kp-page-body { padding-top: 44px; padding-bottom: 72px; }
html body .kp-prose { max-width: 760px; margin: 0 auto; font-size: 1.06rem; line-height: 1.8; color: var(--text-mid); }
html body .kp-prose h2, html body .kp-prose h3 { color: var(--kp-ink); margin: 2rem 0 .8rem; }
html body .kp-prose p, html body .kp-prose ul, html body .kp-prose ol { margin-bottom: 1.1rem; }
html body .kp-prose ul, html body .kp-prose ol { padding-left: 1.3rem; }
html body .kp-prose li { margin-bottom: .35rem; }
html body .kp-prose img { border-radius: var(--kp-radius); height: auto; }
html body .kp-prose blockquote { border-left: 4px solid var(--kp-amber); background: var(--kp-cream); padding: 16px 20px; border-radius: 0 12px 12px 0; }
html body .content_404 {
  min-height: 62vh;
  margin-top: 0 !important;
  padding: 72px 20px;
  background: radial-gradient(700px 320px at 50% 0%, rgba(92,170,110,.16), transparent 70%), var(--kp-cream);
}
html body .kp-404-icon {
  width: 84px; height: 84px; margin: 0 auto 18px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 26px;
  background: var(--kp-sand);
  color: var(--kp-clay);
  font-size: 2.2rem;
}
html body .content_404 h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); color: var(--kp-ink); }
html body .content_404 h4 { font-size: 1.05rem; font-weight: 500; color: var(--text-light); max-width: 520px; margin: 10px auto 26px; line-height: 1.6; }
html body .kp-404-search { display: flex; gap: 8px; width: min(480px, 100%); margin: 0 auto 18px; }
html body .kp-404-search .form-control { height: 50px; }
/* ---------- 12. Responsive ----------------------------------------------- */
@media (max-width: 991.98px) {
  html body .site-nav { min-height: 66px; }
  html body .site-nav .brand { font-size: 1.25rem; }
  html body .site-nav .brand::before { width: 30px; height: 30px; flex-basis: 30px; background-size: 18px, auto; }
}
@media (max-width: 767.98px) {
  html body { font-size: 15px; }
  /* two cards per row instead of one */
  html body #categories-section .row > .col-md-3,
  html body #top-locations-section .row > .col-md-3 { flex: 0 0 50%; max-width: 50%; }
  html body #categories-section .category-card { padding: 20px 10px 16px !important; }
  html body #categories-section i.cat-icon { width: 56px; height: 56px; border-radius: 16px; font-size: 1.5rem !important; }
  html body #categories-section h5.cat-name { font-size: .9rem !important; }
  html body #location-box .card-body { padding: 18px 10px 16px; }
  html body footer { padding-top: 52px; }
  html body footer .footer-bottom { flex-direction: column; text-align: center; }
}
@media (min-width: 768px) and (max-width: 991.98px) {
  html body #categories-section .row > .col-md-3,
  html body #top-locations-section .row > .col-md-3 { flex: 0 0 33.333%; max-width: 33.333%; }
}
@media (prefers-reduced-motion: reduce) {
  html body *, html body *::before, html body *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
/* ---------- 13. Login and registration ----------------------------------- */
html body .login-page,
html body .reg-page {
  background:
    linear-gradient(160deg, rgba(15,43,28,.92) 0%, rgba(27,74,46,.84) 55%, rgba(15,43,28,.9) 100%),
    var(--kp-banner-image, url('../imgs/hero-bg.webp')) center / cover no-repeat !important;
}
html body .login-page .login-card,
html body .reg-page .reg-card {
  width: min(480px, calc(100% - 32px)) !important;
  border: 0;
  border-radius: 22px;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.55);
}
html body .reg-page .reg-card { width: min(620px, calc(100% - 32px)) !important; }
html body .login-page .back-to-homepage,
html body .reg-page .back-to-homepage { color: rgba(255,255,255,.75); }
html body .login-page .back-to-homepage:hover,
html body .reg-page .back-to-homepage:hover { color: #fff; }
@media (max-width: 575.98px) {
  html body .login-page .login-card,
  html body .reg-page .reg-card { padding: 30px 22px !important; }
}
/* ---------- 14. Dashboard, listing forms, profile on phones/tablets ------ */
/* The New/Edit Listing pages had no mobile rules, so the 260px sidebar
   covered the form; wide tables also stretched the dashboard sideways. */
html body .dash-main { min-width: 0; }
html body .dash-sidebar-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 199; }
html body .dash-mobile-toggle { display: none; background: none; border: none; font-size: 1.35rem; color: var(--forest); cursor: pointer; padding: 4px; }
@media (max-width: 991.98px) {
  html body .dash-sidebar { transform: translateX(-100%); transition: transform .3s ease; }
  html body .dash-sidebar.open { transform: translateX(0); }
  html body .dash-sidebar-overlay.open { display: block; }
  html body .dash-main { margin-left: 0 !important; width: 100%; }
  html body .dash-mobile-toggle { display: inline-flex; align-items: center; }
  html body .dash-topbar { gap: 8px; padding-left: 14px; padding-right: 14px; }
  html body .dash-topbar-left { min-width: 0; }
  html body .dash-topbar-left h4 { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}
@media (max-width: 575.98px) {
  html body .dash-topbar .topbar-date { display: none; }
  html body .dash-topbar-right { gap: 6px !important; }
}
/* ---------- 15. Newsletter form, Top Locations button, Locations page ---- */
html body .kp-newsletter-form { width: 100%; max-width: 560px; margin: 0 auto; }
html body .kp-newsletter-fields { display: flex; gap: 8px; }
html body .kp-newsletter-fields input { flex: 1 1 auto; min-width: 0; padding: 0 16px; font-size: 16px; }
html body .kp-newsletter-fields button { flex: 0 0 auto; white-space: nowrap; border: 0; }
html body .kp-newsletter-fields button:disabled { opacity: .7; }
html body .kp-newsletter-privacy { margin: 10px 0 0; font-size: .85rem; color: var(--text-light); text-align: center; }
html body .kp-newsletter-message { min-height: 1.4em; margin-top: 8px; font-size: .92rem; font-weight: 600; text-align: center; }
html body .kp-newsletter-message.is-success { color: var(--success); }
html body .kp-newsletter-message.is-error { color: var(--danger); }
@media (max-width: 575.98px) {
  html body .kp-newsletter-fields { flex-direction: column; }
  html body .kp-newsletter-fields button { width: 100%; }
}
html body #top-locations-section .btn-outline-success { border-radius: 12px; padding: 10px 24px; }
html body .kp-locations-page #location-box .card-body > p.small a { position: relative; z-index: 3; }
/* ==========================================================================
   Homepage sections
   ========================================================================== */
html body .top-loc-section .loc-img-card { display: block; }
html body .top-loc-section .loc-img-card.tall { height: 376px; }
html body .top-loc-section a:hover .loc-img-card { transform: scale(1.02); }
html body .newsletter-section .kp-newsletter-form { max-width: none; margin: 0; }
@media (min-width: 768px) {
  html body .newsletter-section .kp-newsletter-fields .newsletter-input { flex: 1 1 260px; }
}
html body .newsletter-section .kp-newsletter-fields .newsletter-input { min-height: 52px; height: 52px; }
html body .newsletter-section .kp-newsletter-privacy,
html body .newsletter-section .kp-newsletter-message { text-align: left; }
html body .location-carousel:not(.owl-carousel) { display: block; }
html body .hero-stats .hero-stat strong { font-variant-numeric: tabular-nums; }
@media (max-width: 767.98px) {
  html body .top-loc-section .loc-img-card.tall { height: 220px; }
}

/* ---------- 16. Shared components ---------------------------------------- */
/* Highlighted words in the homepage hero heading. */
html body .hero-highlight { color: var(--vibrant); }

/* Page banner on the Categories and Locations templates. */
html body .kp-page-banner { position: relative; min-height: 200px; display: flex; align-items: center; }
html body .kp-page-banner h1 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); font-weight: 800; color: #fff; margin-bottom: 8px; }
html body .kp-page-banner p { color: rgba(255,255,255,.75); font-size: .95rem; margin: 0; }

/* Search form (searchform.php) */
html body .kp-search-form { max-width: 960px; margin: 0 auto; padding: 24px 0; }
html body .kp-search-form #search-suggestions { display: none; background: #fff; border-radius: var(--kp-radius-sm); }
