/* ==========================================================================
   Krishipedia: modern front-end design layer
   --------------------------------------------------------------------------
   Loaded last, with no dependencies. It only restyles; it does not change
   any markup, IDs or classes that scripts rely on.
   Turn it off any time: Appearance → Customize → Design → "Use the modern design".
   ========================================================================== */

/* ---------- 1. Design tokens -------------------------------------------- */
/* html:root beats the :root blocks inside page templates, so every page,
   including the dashboard and listing forms, picks up the same palette. */
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-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-family: var(--kp-font);
  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 .cta-title-text,
html body .newsletter-heading, html body .related-section-title {
  font-family: var(--kp-font);
  letter-spacing: -.02em;
}
/* one font family everywhere (the old CSS mixed Playfair, DM Sans, Baloo, Inter and Merriweather).
   Icon fonts are untouched: they set their font on ::before or on <i>. */
html body *:not(.bi):not(i):not(code):not(pre):not(kbd):not([class*="dashicons"]):not([class*="fa-"]) { font-family: var(--kp-font); }
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-family: var(--kp-font);
  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. Hero ------------------------------------------------------ */
html body #hero-section.hero {
  min-height: clamp(560px, 86vh, 760px);
  background: var(--kp-deep) url('../imgs/hero-bg.webp') center / cover no-repeat;
  overflow: hidden;
  isolation: isolate;
}
/* the background layer had no height, so a Customizer hero image never showed */
html body #hero-section .hero-static-bg,
html body #hero-section .hero-carousel {
  position: absolute !important;
  inset: 0;
  height: 100% !important;
}
html body #hero-section .hero-carousel .owl-stage-outer,
html body #hero-section .hero-carousel .owl-stage,
html body #hero-section .hero-carousel .owl-item,
html body #hero-section .hero-carousel-item { height: 100% !important; }
/* the overlay layer: a soft green-to-dark gradient instead of a flat tint */
html body #hero-section > .position-absolute.z-2 {
  inset: 0;
  opacity: 1 !important;
  background:
    radial-gradient(1200px 500px at 50% 110%, rgba(15,43,28,.85), transparent 70%),
    linear-gradient(180deg, rgba(15,43,28,.55) 0%, rgba(15,43,28,.35) 45%, rgba(15,43,28,.78) 100%) !important;
}
html body #hero-section > .z-3 { padding: 110px 20px 90px; text-align: center; }
html body #hero-section h1 {
  color: #fff !important;
  font-size: clamp(2.1rem, 5vw, 3.7rem) !important;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.035em;
  max-width: 900px;
  margin: 0 auto 18px;
  text-shadow: 0 2px 30px rgba(0,0,0,.25);
}
html body #hero-section p {
  color: rgba(255,255,255,.86) !important;
  font-size: clamp(1rem, 1.8vw, 1.2rem) !important;
  font-weight: 500;
  max-width: 640px;
  margin: 0 auto 8px;
}
html body #hero-section .w-75 { width: min(1000px, 100%) !important; }

/* ---------- 5. 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; }
}

/* ---------- 6. Section headings ----------------------------------------- */
html body .section-header { padding-top: 0 !important; margin-bottom: 28px !important; }
html body .section-header .section-title,
html body #categories-section h2.section-title,
html body #featured-section h2.section-title,
html body #recent-listing-section h2.section-title,
html body #top-locations-section h2.section-title,
html body #kp-how-we-work-section h2.section-title,
html body [id^="category-wise-section-"] h2.section-title,
html body [id^="location-wise-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 .section-header .section-title::before {
  content: '';
  display: block;
  width: 44px; height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--vibrant), var(--kp-amber));
  margin-bottom: 14px;
}
html body .section-header[style*="center"] .section-title::before,
html body #top-locations-section .section-title::before,
html body #kp-how-we-work-section .section-title::before,
html body #kp-counter-section .section-title::before,
html body [id^="category-wise-section-"] .section-title::before,
html body [id^="location-wise-section-"] .section-title::before { margin-left: auto; margin-right: auto; }
html body .section-tagline {
  color: var(--text-light) !important;
  font-size: 1.02rem !important;
  margin-bottom: 0;
}
html body .section-tagline:empty { display: none; }

/* section rhythm and backgrounds */
html body #categories-section,
html body #featured-section,
html body #recent-listing-section,
html body #top-locations-section,
html body #kp-how-we-work-section,
html body [id^="category-wise-section-"],
html body [id^="location-wise-section-"] { padding-top: clamp(40px, 5.5vw, 68px) !important; padding-bottom: clamp(40px, 5.5vw, 68px) !important; }
html body #categories-section > .container,
html body #featured-section > .container,
html body #recent-listing-section > .container { padding-top: 0 !important; padding-bottom: 0 !important; }
html body #categories-section { background: var(--kp-cream) !important; }
html body #featured-section { background: #fff !important; }
html body #recent-listing-section { background: var(--pale) !important; }
html body #top-locations-section { background: #fff !important; }
html body #kp-how-we-work-section { background: var(--kp-cream) !important; }
html body [id^="category-wise-section-"],
html body [id^="location-wise-section-"] { background: #fff !important; }
html body [id^="category-wise-section-"]:nth-of-type(even),
html body [id^="location-wise-section-"]:nth-of-type(even) { background: var(--pale) !important; }

/* ---------- 7. 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); }

/* ---------- 8. 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); }

/* ---------- 9. Counters -------------------------------------------------- */
html body #kp-counter-section {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 7vw, 88px) 0 !important;
  background:
    radial-gradient(700px 320px at 92% -10%, rgba(233,162,59,.18), transparent 70%),
    radial-gradient(600px 300px at -5% 110%, rgba(92,170,110,.22), transparent 70%),
    var(--kp-deep) !important;
}
html body #kp-counter-section h2.section-title { color: #fff !important; }
html body #kp-counter-section p.section-tagline { color: rgba(255,255,255,.7) !important; }
html body #kp-counter-section .section-header { text-align: center; }
html body #kp-counter-section .row > div { flex-basis: auto; }
html body #counter-box {
  height: 100%;
  padding: 26px 16px !important;
  border-radius: var(--kp-radius);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.09);
  text-align: center;
}
html body #counter-box .count {
  color: #fff !important;
  font-size: clamp(2rem, 4.2vw, 3rem) !important;
  font-weight: 800 !important;
  letter-spacing: -.04em;
  line-height: 1;
  margin-bottom: 10px;
  font-variant-numeric: tabular-nums;
}
html body #counter-box .count::after { content: '+'; color: var(--kp-amber); margin-left: 2px; }
html body #counter-box .counter-name {
  color: rgba(255,255,255,.75) !important;
  font-size: .95rem !important;
  font-weight: 500 !important;
}
html body #counter-box .counter-name i { color: var(--kp-amber); margin-right: 6px; }

/* ---------- 10. 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 img.location-icon[src$="/assets/imgs/map.png"] { display: none; }
html body #location-box .card-body:has(img.location-icon[src$="/assets/imgs/map.png"])::before {
  content: '';
  display: block;
  width: 60px; height: 60px;
  margin: 0 auto 4px;
  border-radius: 50%;
  background: var(--kp-sand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23a65a2a'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.2 7 13 7 13s7-7.8 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E") center / 26px no-repeat;
}
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 img.location-icon { width: 60px; height: 60px; object-fit: contain; }
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;
}

/* ---------- 11. How it works -------------------------------------------- */
html body #kp-how-we-work-section .row { counter-reset: kpstep; }
html body #how-work-step-box {
  position: relative;
  border: 1px solid var(--border) !important;
  border-radius: 20px !important;
  background: #fff !important;
  padding: 34px 26px 28px !important;
  box-shadow: var(--kp-shadow-sm) !important;
  counter-increment: kpstep;
  transition: transform .25s var(--kp-ease), box-shadow .25s var(--kp-ease);
}
html body #how-work-step-box:hover { transform: translateY(-4px); box-shadow: var(--kp-shadow) !important; }
html body #how-work-step-box::before {
  content: counter(kpstep, decimal-leading-zero);
  position: absolute;
  top: 18px; right: 22px;
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -.05em;
  color: var(--mint);
  line-height: 1;
}
html body #how-work-step-box .step-icon-box {
  width: 64px !important; height: 64px !important;
  border-radius: 18px !important;
  background: linear-gradient(140deg, #3c8f55, var(--forest)) !important;
  box-shadow: 0 12px 24px -12px rgba(27,74,46,.7);
}
html body #how-work-step-box .step-icon { color: #fff !important; font-size: 1.6rem !important; font-weight: 700 !important; }
html body #how-work-step-box .step-title { font-size: 1.12rem !important; font-weight: 700 !important; color: var(--kp-ink) !important; }
html body #how-work-step-box .step-description { font-size: .95rem !important; color: var(--text-light) !important; line-height: 1.65; }

/* ---------- 12. Call to action & newsletter ----------------------------- */
html body #kp-cta-section { background: #fff !important; padding: clamp(40px, 6vw, 72px) 0 !important; }
html body #kp-cta-section > .container {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  padding: clamp(40px, 6vw, 72px) clamp(24px, 5vw, 64px) !important;
  text-align: center;
  background:
    radial-gradient(500px 260px at 100% 0%, rgba(233,162,59,.28), transparent 70%),
    radial-gradient(520px 280px at 0% 100%, rgba(92,170,110,.35), transparent 70%),
    linear-gradient(135deg, #1b4a2e, #0f2b1c) !important;
  box-shadow: var(--kp-shadow-lg);
}
html body #kp-cta-section h2.cta-title-text {
  color: #fff !important;
  font-size: clamp(1.7rem, 3.4vw, 2.6rem) !important;
  font-weight: 800 !important;
  letter-spacing: -.03em;
  margin-bottom: 12px;
}
html body #kp-cta-section p.cta-desceiption-text {
  color: rgba(255,255,255,.8) !important;
  font-size: 1.05rem !important;
  max-width: 620px;
  margin: 0 auto 28px;
}
html body #kp-cta-section a.cta-button {
  background: var(--kp-amber) !important;
  color: #1d1505 !important;
  font-size: 1rem !important;
  font-weight: 700;
  border-radius: 14px;
  padding: 14px 30px;
  box-shadow: 0 14px 28px -14px rgba(233,162,59,.9);
}
html body #kp-cta-section a.cta-button:hover { background: #f3b75b !important; transform: translateY(-2px); }

html body #newsletter-signup-section {
  background: var(--kp-sand) !important;
  padding: clamp(48px, 6vw, 72px) 0 !important;
}
html body #newsletter-signup-section .newsletter-header { text-align: center !important; }
html body #newsletter-signup-section h2.newsletter-heading { color: var(--kp-ink) !important; font-size: clamp(1.6rem, 3vw, 2.2rem) !important; font-weight: 800 !important; }
html body #newsletter-signup-section p.newsletter-desceiption { color: var(--text-mid) !important; font-size: 1.02rem !important; max-width: 560px; margin: 0 auto; }
html body #newsletter-signup-section form { color: var(--kp-ink) !important; width: 100%; max-width: 520px; }
html body #newsletter-signup-section input[type='text'],
html body #newsletter-signup-section input[type='email'] {
  height: 52px;
  border: 1px solid #e0d5bf !important;
  border-radius: 12px !important;
  background: #fff !important;
  color: var(--kp-ink) !important;
}
html body #newsletter-signup-section input[type='submit'],
html body #newsletter-signup-section button[type='submit'] {
  height: 52px;
  padding: 0 28px !important;
  border-radius: 12px !important;
  background: var(--forest) !important;
  color: #fff !important;
  font-weight: 700;
}

/* ---------- 13. 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-family: var(--kp-font); 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; }

/* ---------- 14. 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)),
    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,
html body #single-page-cta { border-radius: 20px !important; background: linear-gradient(135deg, #1b4a2e, #0f2b1c) !important; }
html body .single-cta-banner .btn-cta,
html body #single-page-cta .single-cta-button { background: var(--kp-amber) !important; color: #1d1505 !important; font-weight: 700; }
html body .lbadge-premium { background: var(--kp-amber) !important; color: #1d1505 !important; }

/* ---------- 15. 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; }

/* ---------- 16. 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; }
  html body #hero-section > .z-3 { padding: 90px 18px 72px; }
}
@media (max-width: 767.98px) {
  html body { font-size: 15px; }
  html body #hero-section.hero { min-height: 0; background-image: url('../imgs/hero-mobile.webp'); }
  html body #hero-section > .z-3 { position: relative !important; height: auto !important; padding: 56px 16px 52px; }
  html body #hero-section .w-75 { width: 100% !important; }
  /* 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 #kp-counter-section .row > [class*="col-md-"] { 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 #counter-box { padding: 18px 10px !important; }
  html body #kp-cta-section > .container { border-radius: 20px; margin: 0 12px; width: auto; }
  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%; }
  html body #kp-how-we-work-section .row > [class*="col-md-"] { flex: 0 0 50%; max-width: 50%; }
}
@media (prefers-reduced-motion: reduce) {
  html body *, html body *::before, html body *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---------- 17. 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%),
    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; }
}

/* ---------- 18. 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; }
}

/* ---------- 19. 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; }

/* ==========================================================================
   20. Front Page template (demo-front-page.php)
   ========================================================================== */
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; }
}
