:root{
  --phx-bg:#f2f1ee;
  --phx-card:#f4f3f0;
  --phx-ink:#1f1f1f;
  --phx-muted:#666;
  --phx-line:#2f2f2f;
  --phx-accent:#d8cb95;
  --phx-white:#fff;
}
*{box-sizing:border-box}
body{margin:0;background:var(--phx-bg);color:var(--phx-ink);font-family:Poppins,Arial,sans-serif}
img{max-width:100%;display:block}
a{text-decoration:none;color:inherit}
.container.phx-explorer-shell{max-width:100%;margin:0 auto; width:100%; padding: 2% 10%;}
.page-id-15977  .container.phx-explorer-shell{
	padding:0;
}
.topbar--tabs{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;margin-bottom:24px}
.tab{appearance:none;border:1px solid var(--phx-line);background:#fff;border-radius:999px;padding:10px 18px;font-size:14px;line-height:1;font-weight:600;cursor:pointer;transition:.2s ease}
.tab.active,.tab:hover{background:var(--phx-ink);color:#fff}
.controls{display:none}
.controls.active{display:block}
#explorer{
	padding-top:0px;
}
.controls-panel{display:flex;align-items:center;justify-content:space-between;gap:18px;background:rgba(255,255,255,.5);border:1px solid rgba(0,0,0,.08);border-radius:20px;padding:18px 22px;margin-bottom:20px}
.controls-panel--stack{display:block}
.controls-copy h3{font-size:22px;line-height:1.1;margin:0 0 8px;font-weight:600}
.controls-copy p{margin:0;color:var(--phx-muted);font-size:14px}
.controls--alpha{margin-bottom:18px}
.alpha-bar{display:flex;justify-content:center;align-items:center;gap:10px;flex-wrap:wrap}
.alpha{appearance:none;border:0;background:transparent;padding:2px 3px;font-size:24px;line-height:1;font-weight:500;cursor:pointer;color:#1b1b1b}
.alpha.active{font-weight:700;text-decoration:underline;text-underline-offset:8px}
.state-select{min-width:240px;border:1px solid var(--phx-line);border-radius:12px;background:#fff;padding:12px 14px;font-size:14px}
.map-wrap{ overflow:hidden;background:#fff url(https://dev1.pleachindia.com/wp-content/uploads/2026/04/map-bg.png) no-repeat;border:1px solid rgba(0,0,0,.08);padding:12px; background-size:cover; padding-top: 7%;
    padding-bottom: 7%;}
#indiaMap{
  position: relative;
  z-index: 2;
  width: 100%;
  height: 820px !important;
}
.page-id-15977 .results-head, .page-id-15977 #grid, .page-id-15977 #gridPagination, .page-id-15977 #grid.phx-grid-cards.grid--cards,  .page-id-15977 #statePage{display:none !important; min-height: 0 !important;}
.chips{display:flex;gap:12px;flex-wrap:wrap;margin-top:18px}
.chip{appearance:none;border:1px solid var(--phx-line);background:#fff;border-radius:999px;padding:10px 16px;font-size:14px;font-weight:500;cursor:pointer}
.chip.active,.chip:hover{background:var(--phx-ink);color:#fff}
.timeline-scroll-wrap{
	overflow-x:auto;
  overflow-y:hidden;
  padding:0 0 6px;
  margin-top:0;
  scroll-behavior:smooth;
  scrollbar-width:none;
  -ms-overflow-style:none;
  cursor:grab;
}
.timeline-rail{display:flex;align-items:flex-start;gap:72px;overflow-x:auto;overflow-y:hidden;padding:16px 22px 18px;scrollbar-width:none;position:relative;cursor:grab}
.timeline-rail::-webkit-scrollbar{display:none}
.timeline-rail::before{content:"";position:absolute;left:0;right:0;top:46px;border-top:2px dashed var(--phx-line);opacity:.8}
.timeline-rail.dragging{cursor:grabbing;user-select:none}
.timeline-dot{position:relative;z-index:1;appearance:none;border:0;background:transparent;cursor:pointer;padding:0;min-width:110px;text-align:center}
.timeline-dot__bubble{width:56px;height:56px;border-radius:999px;background:#7ea58a;color:#fff;display:flex;align-items:center;justify-content:center;padding:8px;font-size:10px;line-height:1.1;margin:0 auto 10px;box-shadow:0 8px 20px rgba(0,0,0,.08)}
.timeline-dot:nth-child(4n+1) .timeline-dot__bubble{background:#005f63}
.timeline-dot:nth-child(4n+2) .timeline-dot__bubble{background:#aa8f63}
.timeline-dot:nth-child(4n+3) .timeline-dot__bubble{background:#7b8fbc}
.timeline-dot:nth-child(4n+4) .timeline-dot__bubble{background:#68705d}
.timeline-dot.active .timeline-dot__bubble{transform:scale(1.08);outline:3px solid rgba(0,0,0,.18)}
.results-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:8px 0 18px}
.filter-heading{font-size:18px;font-weight:600}
.result-meta{font-size:14px;color:var(--phx-muted)}
.grid--cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}
.card{background:var(--phx-card);border:2px solid var(--phx-line);border-radius:16px;overflow:hidden;min-height:500px; height: 340px;}
.card-link{display:flex;flex-direction:column;height:100%;padding:18px 12px 12px}
.card-media{height:350px;display:flex;align-items:center;justify-content:center;padding:6px}
.card-media img{max-height:100%;width:auto;object-fit:contain;transition:transform .65s ease}
.card:hover .card-media img{transform:scale(1.20)}
.card-content{padding:8px 10px 6px;text-align:center;display:flex;flex-direction:column;gap:12px;flex:1}
.card-title{font-size:24px;line-height:1.2;font-weight:500;min-height:38px;margin:0}
.card-meta{margin-top:auto;text-align:left;font-size:14px;line-height:1.35;color:#222}
.card-time,.card-state{min-height:15px}
#statePage{ inset:0;background:#f5f2ec;overflow:auto;transform:translateY(18px);opacity:0;pointer-events:none;transition:.35s ease;z-index:9999}
#statePage.active{transform:translateY(0);opacity:1;pointer-events:auto}
#explorer.exiting{opacity:0;transform:translateY(12px);pointer-events:none;transition:.3s ease}
.state-hero{padding:28px 24px 10px;background:#f3efe6;border-bottom:1px solid rgba(0,0,0,.08)}
.hero-inner{max-width:1280px;margin:0 auto;position:relative}
.state-title{font-size:44px;line-height:1;font-weight:600;margin-bottom:16px}
.hero-backdrop{height:340px;border-radius:22px;overflow:hidden;background:#ddd}
.hero-backdrop img{width:100%;height:100%;object-fit:cover}
.state-pill{display:flex;justify-content:center;align-items:center;gap:10px;margin-top:-24px;position:relative;z-index:2}
.header-pill{display:flex;align-items:center;gap:12px;background:rgba(22,22,22,.78);color:#fff;border-radius:999px;padding:10px 16px;backdrop-filter:blur(6px)}
.nav-btn,.close-big{appearance:none;border:0;cursor:pointer}
.nav-btn{width:30px;height:30px;border-radius:50%;background:#444;color:#fff}
.close-big{width:42px;height:42px;border-radius:50%;background:#fff;box-shadow:0 6px 16px rgba(0,0,0,.12)}
.avatar{width:30px;height:30px;border-radius:50%;overflow:hidden;background:#ddd}
.avatar img{width:100%;height:100%;object-fit:cover}
.state-content{max-width:1280px;margin:0 auto;padding:22px 24px 40px}
#stateMap{display:none}
.state-count{font-weight:600;margin:6px 0 18px}
@media (max-width:1100px){.grid--cards{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:820px){.grid--cards{grid-template-columns:repeat(2,minmax(0,1fr))}.controls-panel{display:block}.results-head{display:block}.result-meta{margin-top:6px}#indiaMap{height:460px}}
@media (max-width:560px){.container.phx-explorer-shell,.state-content,.state-hero{padding-left:14px;padding-right:14px}.grid--cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.card{min-height:300px}.card-media{height:150px}.card-title{font-size:14px}.alpha{font-size:20px}.timeline-rail{gap:44px;padding-left:10px;padding-right:10px}.timeline-dot{min-width:86px}.timeline-dot__bubble{width:50px;height:50px;font-size:9px}}


.section-head{margin:0 0 18px}
.section-head h2{font-size:34px;line-height:1.1;margin:0 0 10px;font-weight:600}
.section-head p{margin:0;color:var(--phx-muted);font-size:14px}
.controls--shortcode{display:block;margin-bottom:10px}
.controls--shortcode .controls-panel{margin-bottom:18px}
.controls--category.controls--shortcode,.controls--timeline.controls--shortcode,.controls--alpha.controls--shortcode{margin-bottom:18px}
.phx-grid-mode-all .controls:not(.active){display:none}
.phx-grid-mode-timeline .results-head,.phx-grid-mode-category .results-head,.phx-grid-mode-full .results-head,.phx-grid-mode-state .results-head{margin-top:8px}
.timeline-stage{padding:10px 0 2px}
.timeline-scroll-wrap{overflow:hidden;padding:0 0 6px;margin-top:0}
.timeline-rail{display:flex;align-items:flex-start;justify-content:space-between;gap:120px;overflow-x:auto;overflow-y:hidden;padding:10px 30px 24px;scrollbar-width:none;position:relative;cursor:grab}
.timeline-rail::before{content:"";position:absolute;left:18px;right:18px;top:38px;border-top:2px dashed #4f4f4f;opacity:1}
.timeline-dot{position:relative;z-index:1;appearance:none;border:0;background:transparent;cursor:pointer;padding:0;min-width:120px;text-align:center;color:var(--phx-ink); scale: 0.7;}
.timeline-dot.active{
	scale:1;
}
.timeline-dot__bubble{width:56px;height:56px;border-radius:999px;color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:6px 7px;font-size:9px;line-height:1.05;margin:0 auto;background:#7ea58a;box-shadow:none}
.timeline-dot__bubble strong{display:block;font-size:20px;line-height:1;font-weight:600;letter-spacing:-.02em}
.timeline-dot__bubble small{display:block;font-size:9px;line-height:1.05;font-weight:400;opacity:.95;margin-top:2px}
.timeline-dot:nth-child(5n+1) .timeline-dot__bubble{background:#005f63}
.timeline-dot:nth-child(5n+2) .timeline-dot__bubble{background:#aa8f63}
.timeline-dot:nth-child(5n+3) .timeline-dot__bubble{background:#7b8fbc}
.timeline-dot:nth-child(5n+4) .timeline-dot__bubble{background:#68705d}
.timeline-dot:nth-child(5n+5) .timeline-dot__bubble{background:#6fae9a}
.timeline-dot.active .timeline-dot__bubble{transform:scale(1.08);outline:3px solid #FF7931}
@media (max-width:560px){.section-head h2{font-size:26px}.timeline-rail{gap:58px;padding-left:12px;padding-right:12px}.timeline-dot{min-width:84px}.timeline-dot__bubble{width:48px;height:48px;font-size:8px}.timeline-dot__bubble strong{font-size:15px}}


.phx-pagination{display:none;align-items:center;justify-content:center;gap:42px;margin:26px 0 0}
.phx-pagination.is-visible{display:flex}
.phx-pagination__arrow{appearance:none;border:0;background:transparent;color:var(--phx-ink);font-size:44px;line-height:1;cursor:pointer;padding:0 4px;transition:transform .2s ease,opacity .2s ease}
.phx-pagination__arrow:hover:not(:disabled){transform:translateY(-1px)}
.phx-pagination__arrow:disabled{opacity:.3;cursor:default}
.phx-pagination__status{font-size:22px;line-height:1;font-weight:400;letter-spacing:-.02em;min-width:120px;text-align:center}
@media (max-width:560px){.phx-pagination{gap:22px}.phx-pagination__arrow{font-size:32px}.phx-pagination__status{font-size:28px;min-width:88px}}


/* patched explore/grid search integration */
#grid.phx-grid-cards,
#stateGrid.phx-grid-cards{
  position: static !important;
  height: auto !important;
  min-height: 720px !important;
}

.phx-grid-cards.grid--cards{
  display:grid !important;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:22px;
}

@media (max-width:1100px){
  .phx-grid-cards.grid--cards{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:820px){
  .phx-grid-cards.grid--cards{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:560px){
  .phx-grid-cards.grid--cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
}

/* final map + timeline fixes */
.map-wrap{
  position:relative;
  background-position:center center;
  background-repeat:no-repeat;
  background-size:cover;
  transition:background-image .25s ease, background-color .25s ease;
}
.map-wrap.has-bg-image{
  background-color:#fff;
}

.timeline-stage{
  overflow:hidden;
}
.timeline-scroll-wrap{
  overflow-x:auto !important;
  overflow-y:hidden !important;
  cursor:grab;
  scrollbar-width:none;
  -ms-overflow-style:none;
}
.timeline-scroll-wrap::-webkit-scrollbar{display:none}
.timeline-rail{
  position:relative;
  display:flex !important;
  justify-content:flex-start !important;
  align-items:flex-start;
  gap:120px;
  min-width:max-content;
  width:max-content;
  padding:10px 40px 24px;
  overflow:visible !important;
  cursor:grab;
}
.timeline-rail.dragging{cursor:grabbing;user-select:none}
.timeline-rail::before{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:38px;
  border-top:2px dashed #4f4f4f;
  opacity:1;
  z-index:0;
}
.timeline-dot{
  position:relative;
  z-index:1;
  flex:0 0 auto;
  min-width:120px;
}
@media (max-width:560px){
  .timeline-rail{gap:58px;padding-left:12px;padding-right:12px}
  .timeline-dot{min-width:84px}
}


/* =========================================================
   Pleach Explore grid scroll + Coming Soon hover fix
   Added: 2026-06-02 revision
========================================================= */
html,
body {
  overflow-y: auto !important;
  height: auto !important;
  min-height: 100% !important;
  touch-action: auto !important;
}
body.detail-view-active,
body.overlay-open {
  overflow-y: auto !important;
}
#explorer,
.phx-grid-root,
.container.phx-explorer-shell {
  height: auto !important;
  min-height: 0 !important;
  overflow: visible !important;
}
#grid.phx-grid-cards,
#stateGrid.phx-grid-cards {
  overflow: visible !important;
}
.card { position: relative; }
.card.is-coming-soon-card .card-media { position: relative; overflow: hidden; border-radius: 10px; }
.card.is-coming-soon-card .card-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: rgba(8, 7, 5, 0.42);
  opacity: 0;
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  transition: opacity .28s ease, backdrop-filter .28s ease, -webkit-backdrop-filter .28s ease;
  pointer-events: none;
}
.card-coming-soon-badge {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  transform: translate(-50%, -50%) scale(.92);
  padding: 11px 18px;
  border-radius: 999px;
  background: rgba(255,255,255,.94);
  color: #17231a;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  box-shadow: 0 14px 34px rgba(0,0,0,.2);
  transition: opacity .28s ease, transform .28s ease;
  pointer-events: none;
}
.card.is-coming-soon-card:hover .card-media::before {
  opacity: 1;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.card.is-coming-soon-card:hover .card-coming-soon-badge {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.card.is-coming-soon-card:hover .card-media img { transform: scale(1.08); }
@media (max-width: 560px) {
  .card-coming-soon-badge { font-size: 10px; padding: 8px 11px; }
}

/* =========================================================
   Pleach Explore hard scroll repair v2
========================================================= */
html,
body,
#page,
.site,
.site-content,
.content-area,
.elementor,
.elementor-location-single,
.elementor-section,
.elementor-container,
.elementor-widget-container {
  overflow-y: visible !important;
}
html,
body {
  overflow-x: hidden !important;
  overflow-y: auto !important;
  height: auto !important;
  min-height: 100% !important;
  position: static !important;
  touch-action: pan-y !important;
}
body.phx-grid-scroll-unlocked {
  overflow-y: auto !important;
  position: static !important;
}
.phx-grid-root,
.phx-explorer-shell,
#grid,
#stateGrid,
.grid--cards {
  overflow: visible !important;
  height: auto !important;
  max-height: none !important;
}
@media (max-width: 1024px) {
  .container.phx-explorer-shell { padding: 24px 18px !important; }
  .grid--cards { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 18px !important; }
  .card { min-height: 420px !important; height: auto !important; }
  .card-media { height: 260px !important; }
}
@media (max-width: 640px) {
  .container.phx-explorer-shell { padding: 18px 14px !important; }
  .grid--cards { grid-template-columns: 1fr !important; gap: 18px !important; }
  .card { min-height: auto !important; height: auto !important; }
  .card-link { padding: 14px !important; }
  .card-media { height: auto !important; min-height: 220px !important; }
  .card-media img { width: 100% !important; height: auto !important; max-height: 290px !important; object-fit: contain !important; }
  .card-title { font-size: 22px !important; }
}

/* FINAL scroll safety: keep parent theme/Elementor wrappers from locking the Explore grid page */
body.phx-grid-scroll-unlocked,
body.phx-grid-scroll-unlocked #page,
body.phx-grid-scroll-unlocked .site,
body.phx-grid-scroll-unlocked .site-content,
body.phx-grid-scroll-unlocked #content,
body.phx-grid-scroll-unlocked .elementor,
body.phx-grid-scroll-unlocked .elementor-section,
body.phx-grid-scroll-unlocked .elementor-container,
body.phx-grid-scroll-unlocked .elementor-widget-container{
  overflow-y: visible !important;
  height: auto !important;
  max-height: none !important;
}
html body.phx-grid-scroll-unlocked{
  overflow-y: auto !important;
}


/* Pleach smooth native page scrolling fix */
html { scroll-behavior: smooth; overflow-y: auto !important; }
body.phx-grid-scroll-unlocked { overflow-y: auto !important; height: auto !important; position: static !important; }
#explorer, .phx-explorer-shell { overflow: visible !important; height: auto !important; max-height: none !important; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }


/* Final native mouse/touch scroll unlock */
html, body {
  overflow-y: auto !important;
  height: auto !important;
  min-height: 100% !important;
  position: static !important;
  overscroll-behavior-y: auto !important;
  touch-action: pan-y !important;
  -webkit-overflow-scrolling: touch !important;
}
#explorer, .phx-explorer-shell, .phx-grid-wrap {
  overflow: visible !important;
  height: auto !important;
  max-height: none !important;
  touch-action: pan-y !important;
}
