/* Moved once out of index.php's inline <style> (no generator exists — edit this file directly). */

      :root {
        --ink:        var(--c-text);
        --ink-soft:   var(--c-text);
        --muted:      var(--c-muted);
        --line:       var(--c-border);
        --line-soft:  var(--c-border);
        --bg-soft:    var(--c-dark);
        --accent:     var(--c-accent);
        --accent-soft:var(--c-tint);
      }

      /* Hero */
      .home-hero {
        position: relative;
        overflow: hidden;
        aspect-ratio: 1400 / 580;
        color: var(--c-text);
        background-color: var(--c-dark);
        background-size: 100% 100%;
        background-position: center;
        background-repeat: no-repeat;
        display: flex;
        align-items: center;
        justify-content: center;
      }
      /* DESKTOP/TABLET (>=768): hero ki unchai tasveer ke aspect se nahi, PARDE se (owner 21 Sep). */
      @media only screen and (min-width: 768px) {
        .home-hero {
          aspect-ratio: auto;
          height: clamp(520px, 70vh, 720px);
          background-size: cover;
          background-position: center top;
        }
      }
      /* tablets (23 Oct 2026, audit): the 1200×500 tablet picture was blown up to a 700px-tall box and the model fell out of it;
         the box is about half the width tall now, so the picture fits with only a little cut at the sides */
      @media only screen and (min-width: 768px) and (max-width: 1023px) {
        .home-hero { height: clamp(380px, 52vw, 540px); }
      }
      /* MOBILE STANDARD (≤539) + MOBILE LARGE (540-767) */
      @media only screen and (max-width: 767px) {
        .home-hero { aspect-ratio: auto; padding: 180px 0 130px; }
      }
      /* MOBILE STANDARD only (≤539) — tighter padding for small screens */
      @media only screen and (max-width: 539px) {
        .home-hero { padding: 170px 0 130px; }
      }
      .home-hero__inner {
        max-width: 880px; margin: 0 auto; text-align: center;
        position: relative; z-index: 2;
      }
      .home-hero__title {
        font-size: 38px;
        font-weight: 700;
        line-height: 1.06;
        /* Tracking px me nahi, em me — har breakpoint apne aap sahi tight hota hai. */
        letter-spacing: -0.03em;
        /* main.css ka global `h1 { text-transform: capitalize }` stored copy ke "for"/"in" ko bhi */
        text-transform: none;
        color: var(--c-text);
        margin: 0 0 20px;
        text-shadow: 0 2px 10px rgba(var(--c-dark-rgb), 0.6), 0 0 6px rgba(var(--c-dark-rgb), 0.4);
      }

      .home-hero__cta-row {
        display: flex; justify-content: center; align-items: center;
        gap: 12px; flex-wrap: wrap;
      }

      .home-hero__searchbox {
        background: var(--c-surface);
        border: 0;
        border-radius: 10px;
        padding: 5px 5px 5px 18px;
        display: flex; align-items: center;
        width: 100%; max-width: 400px;
        cursor: pointer;
        box-shadow: 0 10px 30px rgba(var(--c-dark-rgb), 0.32), 0 2px 8px rgba(var(--c-dark-rgb), 0.12);
        transition: transform 0.18s ease, box-shadow 0.18s ease;
      }

      .home-hero__searchbox:hover {
        transform: translateY(-2px);
        box-shadow: 0 24px 60px rgba(var(--c-dark-rgb), 0.4), 0 4px 12px rgba(var(--c-dark-rgb), 0.16);
      }

      .home-hero__searchbox-placeholder {
        flex: 1; padding: 13px 6px; font-size: 18px; color: var(--muted); user-select: none;
      }

      .home-hero__searchbox-btn {
        flex-shrink: 0;
        background: var(--accent); color: var(--c-on-accent);
        border: 0; border-radius: 10px;
        width: 44px; height: 44px;
        display: inline-flex; align-items: center; justify-content: center;
        font-size: 15px; font-weight: var(--btn-fw); cursor: pointer;
        transition: background 0.15s, transform 0.15s;
      }

      .home-hero__searchbox:hover .home-hero__searchbox-btn { background: var(--c-hover); }

      /* === MOBILE XS (≤539) === smallest phones (koi 320 floor nahi: usse neeche ye block */
      @media only screen and (max-width: 539px) {
        .home-hero__inner { position: absolute; inset: 0; max-width: none; display: flex; flex-direction: column; align-items: stretch; justify-content: center; padding: 16px; }
        .home-hero__title { font-size: 30px; font-weight: 700; margin: 0 0 18px; width: 100%; max-width: 100%; box-sizing: border-box; overflow-wrap: anywhere; word-break: break-word; line-height: 1.2; }
        .home-hero__searchbox { padding: 4px 4px 4px 16px; border-radius: 10px; width: 100%; max-width: 100%; }
        .home-hero__searchbox-placeholder { padding: 10px 6px; font-size: 14px; }
        .home-hero__searchbox-btn { width: 42px; height: 42px; font-size: 15px; border-radius: 10px; }
        .home-hero__cta-row { gap: 12px; }
      }

      /* === MOBILE LARGE (540-767) === bigger phones / phablets */
      @media only screen and (min-width: 540px) and (max-width: 767px) {
        .home-hero__inner { position: absolute; inset: 0; max-width: none; display: flex; flex-direction: column; align-items: stretch; justify-content: center; padding: 16px; }
        .home-hero__title { font-size: 34px; font-weight: 700; margin: 0 0 28px; width: 100%; max-width: 100%; box-sizing: border-box; overflow-wrap: anywhere; word-break: break-word; line-height: 1.2; }
        .home-hero__searchbox { padding: 5px 5px 5px 18px; border-radius: 10px; width: 100%; max-width: 100%; }
        .home-hero__searchbox-placeholder { padding: 12px 6px; font-size: 16px; }
        .home-hero__searchbox-btn { width: 40px; height: 40px; font-size: 15px; border-radius: 10px; }
        .home-hero__cta-row { gap: 12px; }
      }

      /* === TABLET (768-991) === iPad portrait, small tablets */
      @media only screen and (min-width: 768px) and (max-width: 991px) {
        .home-hero__inner { display: flex; flex-direction: column; align-items: flex-start; text-align: left; max-width: 100%; padding: 0 24px; }
        .home-hero__title { font-size: 37px; max-width: 600px; margin: 0 0 24px; }
        .home-hero__cta-row { justify-content: flex-start; width: 100%; }
        .home-hero__searchbox { max-width: 560px; width: 100%; }
      }

      /* === SMALL DESKTOP (992-1199) === iPad landscape, small laptops */
      @media only screen and (min-width: 992px) and (max-width: 1199px) {
        .home-hero__inner { display: flex; flex-direction: column; align-items: flex-start; text-align: left; max-width: 100%; padding: 0 32px; }
        .home-hero__title { font-size: 45px; max-width: 720px; margin: 0 0 28px; }
        .home-hero__cta-row { justify-content: flex-start; width: 100%; }
        .home-hero__searchbox { max-width: 680px; width: 100%; }
      }

      /* === LARGE DESKTOP (1200-1399) === standard desktop */
      @media only screen and (min-width: 1200px) and (max-width: 1399px) {
        .home-hero__inner { display: flex; flex-direction: column; align-items: flex-start; text-align: left; max-width: 1200px; padding: 0 32px; }
        .home-hero__title { font-size: 50px; max-width: 850px; margin: 0 0 40px; }
        .home-hero__cta-row { justify-content: flex-start; width: 100%; }
        .home-hero__searchbox { max-width: 880px; width: 100%; }
      }

      /* === XL DESKTOP (≥1400) === wide monitors, 4K */
      @media only screen and (min-width: 1400px) {
        .home-hero__inner { display: flex; flex-direction: column; align-items: flex-start; text-align: left; max-width: 1320px; padding: 0 40px; }
        .home-hero__title { font-size: 54px; max-width: 950px; margin: 0 0 46px; }
        .home-hero__cta-row { justify-content: flex-start; width: 100%; }
        .home-hero__searchbox { max-width: 1080px; width: 100%; }
      }

      /* ============ PAGE GROUND ============ */
      body.site-home-ground .faq-block { padding: 0; }   /* saans + lakeer container par (upar SECTION dekho) */

      /* ============ SECTION ============ */
      .home-section, .home-section--alt { padding: 0; }
      body.site-home-ground .home-section > .container,
      body.site-home-ground .site-geonav,
      body.site-home-ground .faq-block > .container {
        border-top: 1px solid var(--c-border);
        padding-top: clamp(28px, 4vw, 44px);
        padding-bottom: clamp(28px, 4vw, 44px);
        margin-top: 0;      /* .site-geonav apna 30px margin laata tha — do seam par taal toot rahi thi */
        margin-bottom: 0;
      }
      .home-section__head {
        max-width: 640px; margin: 0 auto 34px;
        text-align: center;
      }
      .home-section__head h2 {
        font-size: 28px;
        font-weight: 700;
        color: var(--ink);
        margin: 0 0 10px;
        letter-spacing: -0.4px;
        line-height: 1.2;
      }
      .home-section__head p {
        /* Ye ikloti muted line hai jo seedhe ZAMEEN par baithi hai (baaki muted text card ke */
        color: var(--c-text-muted);
        font-size: 16px;
        margin: 0;
        line-height: 1.6;
        text-align: center;
      }
      /* Editor se aayi justify class homepage ke chaude measure par nadiyan (rivers) banati hai. */
      .home-section .ql-align-justify { text-align: left; }

      /* ============ CATEGORY CARDS — taller image, full color, badge accent ============ */
      .home-cat-grid {
        display: grid;
        /* Column ki ginti jagah se tay hoti hai, kisi likhe hue breakpoint se nahi. */
        grid-template-columns: minmax(0, 1fr);
        width: 100%;
        max-width: none;
        gap: 22px;
      }
      /* 540-1199 = 2 barabar column · 1200+ = 4 barabar column. */
      @media only screen and (min-width: 540px) and (max-width: 1199px) {
        .home-cat-grid:not(.home-cat-grid--solo) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
      }
      @media only screen and (min-width: 1200px) {
        .home-cat-grid:not(.home-cat-grid--solo) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
      }
      /* Track ab poori chaudai leta hai, isliye card ki apni seema chahiye — warna */
      .home-cat-grid:not(.home-cat-grid--solo) .home-cat-card {
        width: 100%;
        max-width: none;               /* card apni patri jitna — koi jaadui seema nahi */
        min-width: 0;                  /* warna lamba shabd track ko chauda kar deta hai */
        container-type: inline-size;   /* ratio ka faisla card ki apni naap se */
      }
      .home-cat-card {
        position: relative;
        background: var(--c-surface);
        border: 1px solid var(--c-border);
        border-radius: 10px;
        overflow: hidden;
        transition: transform 0.25s ease, box-shadow 0.3s ease, border-color 0.25s ease;
        display: flex; flex-direction: column;
        box-shadow: 0 1px 2px rgba(var(--c-dark-rgb), 0.04);
      }
      .home-cat-card:hover {
        border-color: rgba(var(--c-border-rgb), 0.16);
        box-shadow:
          0 10px 24px -8px rgba(var(--c-dark-rgb), 0.12),
          0 4px 8px -4px rgba(var(--c-dark-rgb), 0.05);
        transform: translateY(-3px);
      }
      /* Image area — taller aspect ratio so portrait model photos look right */
      .home-cat-card__visual {
        position: relative; display: block;
        aspect-ratio: 4/5;
        overflow: hidden; text-decoration: none;
        background: linear-gradient(135deg, var(--c-accent) 0%, var(--c-hover) 100%);
      }
      /* Jo landscape treatment ≤539px par pehle se hai, wahi ab tab bhi lagta hai jab */
      @container (min-width: 420px) {
        .home-cat-card__visual { aspect-ratio: 4/3; }
      }
      .home-cat-card__visual img {
        position: absolute; inset: 0;
        width: 100%; height: 100%;
        object-fit: cover; object-position: center top;
        display: block;
        transition: transform 0.6s ease;
        /* No filter — full original colors */
      }
      .home-cat-card:hover .home-cat-card__visual img { transform: scale(1.02); }
      /* Subtle bottom-only overlay for title legibility, image stays vivid above */
      .home-cat-card__visual::after {
        content: ""; position: absolute; inset: 0;
        background: linear-gradient(180deg, transparent 55%, rgba(var(--c-dark-rgb), 0.45) 80%, rgba(var(--c-dark-rgb), 0.88) 100%);
        z-index: 1;
        pointer-events: none;
      }
      /* Top-right badge — verified accent */
      .home-cat-card__title {
        position: absolute;
        left: 18px; right: 18px; bottom: 16px; z-index: 2;
        color: var(--c-text);
        font-size: 22px; font-weight: 700;
        margin: 0;
        letter-spacing: -0.3px;
        text-shadow: 0 2px 12px rgba(var(--c-dark-rgb), 0.55);
      }
      .home-cat-card__body {
        padding: 18px 18px 16px;
        flex: 1;
        display: flex; flex-direction: column;
        background: var(--c-surface);
      }
      .home-cat-card__desc {
        color: var(--muted);
        font-size: 13.5px; line-height: 1.6;
        margin: 0 0 16px;
        display: -webkit-box; -webkit-line-clamp: 4;
        -webkit-box-orient: vertical; overflow: hidden;
      }
      .home-cat-card__cities { margin-top: auto; display: flex; flex-direction: column; gap: 8px; }
      .home-cat-card__city {
        display: block;
        padding: 9px 14px;
        background: var(--c-surface);
        border: 1px solid var(--c-border);
        border-radius: 10px;
        text-decoration: none;
        box-shadow: 0 1px 2px rgba(var(--c-dark-rgb), 0.04);
      }
      .home-cat-card__city-svc {
        display: block;
        font-size: 12px;
        color: var(--muted);
        font-weight: 500;
        line-height: 1.3;
      }
      .home-cat-card__city-name {
        display: block;
        font-size: 15px;
        font-weight: 700;
        color: var(--accent);
        margin-top: 1px;
        line-height: 1.25;
      }
      /* ============ INDIA-LEVEL PICKS — chaar asli ad ============ */
      .home-picks {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 18px;
      }
      /* GOLD RAIL — baayen kinare par gold patti, PHOTO KE BAHAR. */
      .home-pick.has-rail {
        background: var(--c-accent);
      }
      .home-pick.has-rail .home-pick__img,
      .home-pick.has-rail .home-pick__veil,
      .home-pick.has-rail .home-pick__meta {
        left: var(--rail-w, 6px);
      }
      /* Photo ka apna gol kona, taaki rail ke saath saaf lakeer bane. */
      .home-pick.has-rail .home-pick__img {
        border-top-left-radius: 12px; border-bottom-left-radius: 12px;
      }
      .home-pick {
        position: relative; display: block; overflow: hidden;
        aspect-ratio: 3 / 4;
        border-radius: 18px;
        text-decoration: none;
        /* Card = SATAH (--c-surface), admin/dashboard jaisa — zameen ab --c-dark hai, */
        background: var(--c-surface);
        /* Owner (12 Sep): "shadow jo hai wo bhi chahiye" — demo wale card ki parchhai. */
        box-shadow: var(--elev-1);
        transition: transform 0.2s ease, box-shadow 0.2s ease;
      }
      /* Ring HAR card par thi — har ad "promoted" lagti thi, isliye ring ka koi matlab */
      .home-pick::after {
        content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
        border-radius: inherit;
        border: 1px solid rgba(var(--c-text-rgb), 0.07);
        transition: border-color 0.2s ease;
      }
      /* GOLD RAIL (owner 12 Sep) — sirf us ad par jiska paid ribbon chal raha hai. */
      .home-pick__rail { display: none; }
      /* shine-sweep: hover par roshni card par phirti hai - "abhi promote hui" ehsaas */
      .home-pick::before {
        content: ""; position: absolute; z-index: 2; pointer-events: none;
        top: -20%; bottom: -20%; left: -75%; width: 55%;
        background: linear-gradient(105deg, transparent, rgba(var(--c-text-rgb), 0.30), transparent);
        transform: skewX(-18deg);
        transition: left 0.65s ease;
      }
      .home-pick:hover::before { left: 135%; }
      @media (prefers-reduced-motion: reduce) {
        .home-pick::before { display: none; }
        .home-pick:hover { transform: none; }
      }
      .home-pick__img {
        position: absolute; inset: 0; width: 100%; height: 100%;
        object-fit: cover; object-position: center top; display: block;
        /* hover-zoom hataya (owner 01 Sep: scale+top-anchor par photo "side me bhagti" thi) */
      }
      /* Owner (12 Sep): veil ka background hata diya — photo poori saaf dikhe. */
      .home-pick__veil {
        position: absolute; inset: 0; z-index: 1; pointer-events: none;
      }
      .home-pick:hover { transform: translateY(-3px); box-shadow: var(--elev-2); }
      /* Taazgi ka nishaan — yahi ek cheez hai jo batati hai ki ad abhi renew hui hai. */
      .home-pick__fresh {
        position: absolute; top: 12px; left: 12px; z-index: 3;
        display: inline-flex; align-items: center; gap: 6px;
        padding: 5px 10px; border-radius: 8px;
        background: rgba(var(--c-dark-rgb), 0.62);
        -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
        color: var(--c-text); font-size: 11px; font-weight: 700; letter-spacing: 0.02em; line-height: 1;
      }
      .home-pick__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--c-success); flex: 0 0 auto; }
      .home-pick__rib {
        position: absolute; top: 12px; right: 12px; z-index: 3;
        padding: 5px 10px; border-radius: 8px;
        background: var(--c-accent); color: var(--c-on-accent);
        font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; line-height: 1;
      }
      .home-pick__meta {
        position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
        display: flex; flex-direction: column; gap: 4px;
        padding: 16px 16px 15px;
      }
      .home-pick__name {
        display: flex; align-items: center; gap: 7px;
        color: var(--c-text); font-size: 18px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.2;
        /* Veil hatne ke baad ye AKELA sahara hai — do parat: ek tight (halki photo par */
        text-shadow: 0 1px 3px rgba(var(--c-dark-rgb), 0.92), 0 2px 14px rgba(var(--c-dark-rgb), 0.72);
      }
      .home-pick__name i { color: var(--c-success); font-size: 13px; flex: 0 0 auto; }
      .home-pick__loc {
        display: flex; align-items: center; gap: 6px;
        /* 0.86 alpha veil ke bharose tha; ab thos safed — halki photo par dhundhla nahi padta. */
        color: var(--c-text); font-size: 13px; font-weight: 500; line-height: 1.25;
        text-shadow: 0 1px 3px rgba(var(--c-dark-rgb), 0.92), 0 2px 12px rgba(var(--c-dark-rgb), 0.68);
      }
      .home-pick__loc i { font-size: 11px; opacity: 0.8; flex: 0 0 auto; }

      @media only screen and (min-width: 992px) and (max-width: 1199px) {
        .home-picks { gap: 16px; }
      }
      /* Tablet par 3 column ka matlab hota "chautha card gayab" — ek asli ad chhupana galat hai. */
      @media only screen and (min-width: 768px) and (max-width: 991px) {
        .home-picks { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
      }
      @media only screen and (max-width: 767px) {
        .home-picks { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
        .home-pick { border-radius: 16px; }
        .home-pick__meta { padding: 12px 12px 11px; }
        .home-pick__name { font-size: 16px; }
        .home-pick__loc { font-size: 12px; }
        .home-pick__fresh, .home-pick__rib { top: 9px; font-size: 10.5px; padding: 4px 8px; }
        .home-pick__fresh { left: 9px; } .home-pick__rib { right: 9px; }
      }
      /* small phones (23 Oct 2026, audit): "4 days ago" and the SUPER TOP ribbon overlapped — the ribbon takes the next line */
      @media only screen and (max-width: 399px) {
        .home-pick__rib { top: 38px; }
      }

      /* ============ ABOUT BLURB ============ */
      .home-about {
        text-align: center;
        max-width: 720px;
        margin: 0 auto;
        color: var(--muted);
        font-size: 14px;
        line-height: 1.7;
        padding: 0 16px;
      }
      .home-about strong { color: var(--ink); }
      .home-about a { color: var(--accent); font-weight: 600; text-decoration: none; }
      .home-about a:hover { text-decoration: underline; }

      /* ============ MOBILE TWEAKS ============ */
      @media only screen and (max-width: 539px) {
        .home-cat-grid { gap: 40px; }
      }
      /* MOBILE STANDARD only (320-539) */
      @media only screen and (min-width: 320px) and (max-width: 539px) {
        .home-cat-card__visual { aspect-ratio: 4/3; }
        .home-cat-card__body { padding: 14px; }
      }
    
