/* Bihar Mandir Yatra UI/UX v4 — mobile-first professional layer */
:root{
  --v4-maroon:#8b1429;
  --v4-maroon-2:#6f0f20;
  --v4-saffron:#d98524;
  --v4-gold:#e0a94c;
  --v4-cream:#fbf6ed;
  --v4-paper:#fffdf9;
  --v4-ink:#2e241f;
  --v4-muted:#75675f;
  --v4-line:#eadfce;
  --v4-soft:#f6ead9;
  --v4-shadow:0 14px 34px rgba(77,45,24,.09);
  --v4-radius:14px;
  --v4-radius-sm:10px;
  --v4-header:68px;
}
html{scroll-padding-top:92px}
body.bmy-v4{background:var(--v4-cream);color:var(--v4-ink);padding-bottom:76px;-webkit-font-smoothing:antialiased}
body.bmy-v4:not(.bmy-special) :is(p,li){font-size:15px;line-height:1.65}
body.bmy-v4:not(.bmy-special) .container{width:min(100% - 28px,1320px);margin-inline:auto}
body.bmy-v4:not(.bmy-special) :focus-visible{outline:3px solid rgba(217,133,36,.35);outline-offset:3px}

/* announcement and header */
body.bmy-v4:not(.bmy-special) .ticker{height:34px;background:var(--v4-maroon-2);border:0;overflow:hidden}
body.bmy-v4:not(.bmy-special) .ticker-track{height:34px;width:100%;justify-content:center;animation:none!important;gap:0!important;font-size:11px;letter-spacing:.2px}
body.bmy-v4:not(.bmy-special) .ticker-track>a{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;height:100%;padding:0 14px;color:#fff4df;font-weight:750;text-align:center}
body.bmy-v4:not(.bmy-special) .header{position:sticky;top:0;z-index:120;background:rgba(255,253,249,.97);backdrop-filter:blur(18px);box-shadow:0 1px 0 rgba(86,49,24,.09)}
body.bmy-v4:not(.bmy-special) .nav{height:64px;gap:12px}
body.bmy-v4:not(.bmy-special) .brand{gap:10px;min-width:0}
body.bmy-v4:not(.bmy-special) .brand-icon{width:42px;height:42px;flex:0 0 42px}
body.bmy-v4:not(.bmy-special) .brand-copy strong{font-size:20px;white-space:nowrap}
body.bmy-v4:not(.bmy-special) .brand-copy small{font-size:8px;letter-spacing:.35px}
body.bmy-v4:not(.bmy-special) .desktop-nav{display:none}
body.bmy-v4:not(.bmy-special) .actions{margin-left:auto;gap:7px}
body.bmy-v4:not(.bmy-special) .actions .book-btn,body.bmy-v4:not(.bmy-special) .actions .lang-switch{display:none}
body.bmy-v4:not(.bmy-special) .icon-btn,body.bmy-v4:not(.bmy-special) .menu-btn,.v4-round-btn{width:42px;height:42px;border:1px solid var(--v4-line);background:#fff;border-radius:12px;display:grid;place-items:center;color:var(--v4-maroon);padding:0}
body.bmy-v4:not(.bmy-special) .menu-btn{font-size:0}
body.bmy-v4:not(.bmy-special) .menu-btn::before{content:'☰';font-size:22px}
body.bmy-v4:not(.bmy-special) .mobile-nav{position:fixed;top:98px;left:14px;right:14px;z-index:140;display:grid!important;grid-template-columns:1fr 1fr;gap:8px;padding:14px;background:rgba(255,253,249,.98);border:1px solid var(--v4-line);border-radius:18px;box-shadow:0 24px 60px rgba(57,32,18,.2);opacity:0;visibility:hidden;transform:translateY(-8px);transition:.2s}
body.bmy-v4:not(.bmy-special) .mobile-nav.open{opacity:1;visibility:visible;transform:none}
body.bmy-v4:not(.bmy-special) .mobile-nav>a{padding:11px 12px;border:1px solid var(--v4-line);border-radius:12px;background:#fff;font-size:12px;font-weight:800;color:#59453c}
body.bmy-v4:not(.bmy-special) .mobile-langs{grid-column:1/-1;display:flex;gap:8px;padding-top:4px}
body.bmy-v4:not(.bmy-special) .mobile-langs .lang{flex:1;padding:9px;border:1px solid var(--v4-line);border-radius:10px;background:#fff;color:#6d5549}
body.bmy-v4:not(.bmy-special) .mobile-langs .lang.active{background:var(--v4-maroon);color:#fff;border-color:var(--v4-maroon)}

/* hero */
body.bmy-v4:not(.bmy-special) .hero{min-height:540px;padding:0;background:#d7a461;position:relative}
body.bmy-v4:not(.bmy-special) .hero-wash{background:linear-gradient(180deg,rgba(44,21,13,.08),rgba(44,21,13,.02) 32%,rgba(255,246,232,.38) 68%,rgba(255,246,232,.92) 100%)}
body.bmy-v4:not(.bmy-special) .hero-content{min-height:540px;padding:72px 0 28px;display:flex;flex-direction:column;justify-content:flex-end}
body.bmy-v4:not(.bmy-special) .hero-title{max-width:720px;text-align:left;margin:0}
body.bmy-v4:not(.bmy-special) .hero-title h1{font-size:clamp(44px,13vw,72px);line-height:.94;letter-spacing:-1.8px;margin:0 0 12px;text-shadow:0 2px 12px rgba(255,255,255,.25)}
body.bmy-v4:not(.bmy-special) .hero-title p{font-size:14px!important;margin:0 0 18px;color:#5e483c;font-weight:650}
body.bmy-v4:not(.bmy-special) .hero-search{width:100%;max-width:860px;margin:0;display:grid;grid-template-columns:44px 1fr auto;align-items:center;background:rgba(255,255,255,.96);border:1px solid rgba(255,255,255,.8);border-radius:16px;padding:5px;box-shadow:0 18px 46px rgba(87,50,25,.18);backdrop-filter:blur(14px)}
body.bmy-v4:not(.bmy-special) .hero-search input{min-width:0;height:52px;border:0;background:transparent;padding:0 4px;font-size:15px;color:#382a24;outline:none}
body.bmy-v4:not(.bmy-special) .hero-search>button{height:48px;border-radius:12px;padding:0 16px;background:var(--v4-maroon);color:#fff;border:0;font-weight:900}
body.bmy-v4:not(.bmy-special) .search-symbol{font-size:0;display:grid;place-items:center}
body.bmy-v4:not(.bmy-special) .search-symbol::after{content:'⌕';font-size:25px;color:#8c6a56}
body.bmy-v4:not(.bmy-special) .search-results{top:63px;border-radius:14px;border:1px solid var(--v4-line);box-shadow:var(--v4-shadow);max-height:340px;overflow:auto}
body.bmy-v4:not(.bmy-special) .popular{margin:14px 0 0;justify-content:flex-start;gap:7px;overflow-x:auto;padding-bottom:2px;scrollbar-width:none}
body.bmy-v4:not(.bmy-special) .popular::-webkit-scrollbar{display:none}
body.bmy-v4:not(.bmy-special) .popular b{flex:0 0 auto;font-size:10px}
body.bmy-v4:not(.bmy-special) .popular button{flex:0 0 auto;background:rgba(255,253,249,.86);border:1px solid rgba(120,79,47,.18);box-shadow:none;font-size:10px;padding:7px 10px}

/* quick discovery */
body.bmy-v4:not(.bmy-special) .quick-wrap{margin-top:0;padding:14px 0;background:#fff;border-bottom:1px solid var(--v4-line)}
body.bmy-v4:not(.bmy-special) .quick-grid{display:flex!important;overflow-x:auto;gap:10px;padding-bottom:2px;scroll-snap-type:x proximity;scrollbar-width:none}
body.bmy-v4:not(.bmy-special) .quick-grid::-webkit-scrollbar{display:none}
body.bmy-v4:not(.bmy-special) .quick-item{min-width:172px;scroll-snap-align:start;border:1px solid var(--v4-line);border-radius:14px;padding:13px 14px;background:#fff;display:grid;grid-template-columns:36px 1fr;grid-template-areas:'i t' 'i s';gap:2px 10px;box-shadow:none;transition:.2s}
body.bmy-v4:not(.bmy-special) .quick-item:hover{transform:translateY(-2px);box-shadow:var(--v4-shadow)}
body.bmy-v4:not(.bmy-special) .quick-item .qicon{grid-area:i;width:36px;height:36px;border-radius:10px;background:#fff3df;color:var(--v4-saffron);display:grid;place-items:center}
body.bmy-v4:not(.bmy-special) .quick-item strong{grid-area:t;font-size:12px;align-self:end;color:#4a382f}
body.bmy-v4:not(.bmy-special) .quick-item small{grid-area:s;font-size:9px;color:#88756a;line-height:1.35}
body.bmy-v4:not(.bmy-special) .quick-item>b{display:none}

/* section rhythm */
body.bmy-v4:not(.bmy-special) .section{padding:34px 0}
body.bmy-v4:not(.bmy-special) .section-head{align-items:flex-end;margin-bottom:16px}
body.bmy-v4:not(.bmy-special) .section-head h2,body.bmy-v4:not(.bmy-special) .panel-title h3,body.bmy-v4:not(.bmy-special) .section-title h2{font-size:clamp(27px,7vw,40px);letter-spacing:-.7px;line-height:1.05;margin:0;color:var(--v4-maroon)}
body.bmy-v4:not(.bmy-special) .section-head p,body.bmy-v4:not(.bmy-special) .panel-title p,body.bmy-v4:not(.bmy-special) .section-title p{font-size:12px!important;margin-top:5px;color:var(--v4-muted)}
body.bmy-v4:not(.bmy-special) .outline{font-size:11px;padding:8px 11px;border-radius:10px}

/* featured places */
body.bmy-v4:not(.bmy-special) .place-grid{display:flex!important;overflow-x:auto;gap:13px;scroll-snap-type:x mandatory;padding:2px 1px 12px;margin-inline:-1px;scrollbar-width:none}
body.bmy-v4:not(.bmy-special) .place-grid::-webkit-scrollbar{display:none}
body.bmy-v4:not(.bmy-special) .place-card{position:relative;flex:0 0 82%;max-width:330px;scroll-snap-align:start;border:0;border-radius:14px;overflow:hidden;background:#fff;box-shadow:var(--v4-shadow);min-height:0}
body.bmy-v4:not(.bmy-special) .place-card>img{height:220px;width:100%;object-fit:cover;transform:scale(1.04);object-position:center 62%}
body.bmy-v4:not(.bmy-special) .place-card::after{content:'';position:absolute;inset:0 0 auto;height:220px;background:linear-gradient(180deg,rgba(32,15,10,.08),transparent 42%,rgba(31,15,11,.25));pointer-events:none}
body.bmy-v4:not(.bmy-special) .district-pill{top:12px;left:12px;z-index:3;padding:6px 10px;border:0;background:rgba(255,253,248,.94);backdrop-filter:blur(8px);font-size:9px;box-shadow:0 3px 12px rgba(50,30,20,.12);min-width:0}
body.bmy-v4:not(.bmy-special) .pcopy{padding:14px 15px 15px;min-height:120px;position:relative}
body.bmy-v4:not(.bmy-special) .pcopy h3{font-size:19px;line-height:1.08;margin:0 38px 5px 0;color:var(--v4-maroon)}
body.bmy-v4:not(.bmy-special) .pcopy p{font-size:10px!important;line-height:1.45;color:#7d6a60;margin:0;min-height:30px}
body.bmy-v4:not(.bmy-special) .pcopy .arrow{width:34px;height:34px;right:12px;bottom:14px;border:1px solid #e4bf7d;background:#fff8ea}
.v4-card-meta{display:flex;gap:6px;flex-wrap:wrap;margin-top:9px}
.v4-card-meta span{font-size:8.5px;font-weight:800;color:#785748;background:#fff4e2;border-radius:999px;padding:5px 7px}
.v4-save-card{position:absolute;right:12px;top:176px;z-index:5;width:38px;height:38px;border:0;border-radius:50%;background:#fff;color:var(--v4-maroon);box-shadow:0 5px 16px rgba(40,20,10,.18);display:grid;place-items:center}
.v4-save-card.saved{background:var(--v4-maroon);color:#fff}

/* discovery area */
body.bmy-v4:not(.bmy-special) .lower-section{padding-top:12px}
body.bmy-v4:not(.bmy-special) .discovery-grid{display:grid!important;grid-template-columns:1fr;gap:14px}
body.bmy-v4:not(.bmy-special) .panel{border:0;border-radius:18px;background:#fff;box-shadow:var(--v4-shadow);padding:18px}
body.bmy-v4:not(.bmy-special) .panel-title{margin-bottom:14px;gap:9px}
body.bmy-v4:not(.bmy-special) .panel-title>span{display:none}
body.bmy-v4:not(.bmy-special) .district-dashboard{display:grid;grid-template-columns:1fr;gap:12px}
body.bmy-v4:not(.bmy-special) .bihar-map{min-height:270px;border-radius:16px;background:linear-gradient(160deg,#fffaf0,#f7ead7);border:1px solid #f0dfc8;position:relative;overflow:hidden}
body.bmy-v4:not(.bmy-special) .bihar-map svg{width:88%;height:auto;margin:auto;display:block;padding:18px}
body.bmy-v4:not(.bmy-special) .map-summary{left:14px;bottom:14px;border-radius:12px;padding:9px 11px;background:rgba(76,49,35,.9)}
.v4-map-point{position:absolute;transform:translate(-50%,-50%);border:2px solid #fff;background:var(--v4-maroon);width:18px;height:18px;border-radius:50%;box-shadow:0 0 0 5px rgba(139,20,41,.14);z-index:4}
.v4-map-point::after{content:attr(data-label);position:absolute;left:50%;top:22px;transform:translateX(-50%);white-space:nowrap;font-size:8px;font-weight:800;color:#684c3d;background:#fff;padding:3px 5px;border-radius:6px;box-shadow:0 2px 8px rgba(60,35,20,.12)}
body.bmy-v4:not(.bmy-special) .district-links{display:grid;grid-template-columns:1fr 1fr;gap:8px}
body.bmy-v4:not(.bmy-special) .district-links>a{border:1px solid var(--v4-line);border-radius:11px;padding:10px;background:#fff;font-size:10px}
body.bmy-v4:not(.bmy-special) .district-links>a.all-districts{grid-column:1/-1;text-align:center;background:#fff8ea;color:var(--v4-maroon);font-weight:850}
body.bmy-v4:not(.bmy-special) .district-links small{font-size:8px}
body.bmy-v4:not(.bmy-special) .faith-grid{display:grid!important;grid-template-columns:1fr 1fr;gap:9px}
body.bmy-v4:not(.bmy-special) .faith-grid>a{min-height:118px;border:1px solid var(--v4-line);border-radius:14px;background:#fff;padding:14px 10px;text-align:left;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;box-shadow:none}
body.bmy-v4:not(.bmy-special) .faith-icon{width:34px;height:34px;display:grid;place-items:center;border-radius:10px;background:#fff1d9;color:var(--v4-saffron);font-size:18px;margin-bottom:10px}
body.bmy-v4:not(.bmy-special) .faith-grid b{font-size:12px;color:#5a4135;line-height:1.2}
body.bmy-v4:not(.bmy-special) .faith-grid small{font-size:8.5px;line-height:1.35;margin-top:3px;color:#8b786d}

/* festival editorial block */
body.bmy-v4:not(.bmy-special) .festival-wide{margin-top:14px;border-radius:20px;border:0;box-shadow:var(--v4-shadow);overflow:hidden;background:linear-gradient(135deg,#7e1024,#a62131 58%,#d07a28);color:#fff;display:grid;grid-template-columns:1fr;padding:20px}
body.bmy-v4:not(.bmy-special) .festival-decor{display:none}
body.bmy-v4:not(.bmy-special) .festival-intro{padding:0}
body.bmy-v4:not(.bmy-special) .festival-pill{display:inline-flex;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.16);padding:6px 9px;border-radius:999px;color:#ffe7bd;font-size:9px;font-weight:850}
body.bmy-v4:not(.bmy-special) .festival-intro h3{font-size:28px;line-height:1.05;color:#fff;margin:12px 0 8px}
body.bmy-v4:not(.bmy-special) .festival-intro p{font-size:11px!important;line-height:1.55;color:#f9e7d8;max-width:630px}
body.bmy-v4:not(.bmy-special) .festival-action{display:inline-flex;margin-top:12px;padding:9px 12px;border-radius:10px;background:#f4bb4d;color:#572f1d;font-size:10px;font-weight:900}
body.bmy-v4:not(.bmy-special) .festival-events{display:grid;gap:8px;margin-top:16px}
body.bmy-v4:not(.bmy-special) .festival-events>a{display:grid;grid-template-columns:32px 1fr auto;gap:9px;align-items:center;border:1px solid rgba(255,255,255,.16);border-radius:12px;padding:10px;background:rgba(255,255,255,.08);color:#fff}
body.bmy-v4:not(.bmy-special) .festival-events>a>span{width:32px;height:32px;border-radius:9px;display:grid;place-items:center;background:rgba(255,255,255,.12);font-size:9px;color:#ffd891}
body.bmy-v4:not(.bmy-special) .festival-events b{font-size:11px}
body.bmy-v4:not(.bmy-special) .festival-events small{font-size:8px;color:#f3daca}

/* circuit experience */
body.bmy-v4:not(.bmy-special) .circuits{padding-top:38px}
body.bmy-v4:not(.bmy-special) .circuit-grid{display:grid!important;grid-template-columns:1fr;gap:13px}
body.bmy-v4:not(.bmy-special) .circuit-grid article{position:relative;min-height:220px;border:0;border-radius:18px;overflow:hidden;padding:20px;background:#381d17;color:#fff;box-shadow:var(--v4-shadow)}
body.bmy-v4:not(.bmy-special) .circuit-grid article:nth-child(1){background:linear-gradient(135deg,rgba(64,24,16,.82),rgba(122,29,40,.78)),url('../images/place-5.jpg') center/cover}
body.bmy-v4:not(.bmy-special) .circuit-grid article:nth-child(2){background:linear-gradient(135deg,rgba(54,31,15,.84),rgba(111,47,18,.78)),url('../images/place-3.jpg') center/cover}
body.bmy-v4:not(.bmy-special) .circuit-grid article:nth-child(3){background:linear-gradient(135deg,rgba(64,24,16,.82),rgba(122,29,40,.78)),url('../images/place-2.jpg') center/cover}
body.bmy-v4:not(.bmy-special) .circuit-grid article>span{font-size:10px;color:#ffd58f;background:rgba(255,255,255,.12);padding:5px 7px;border-radius:999px;display:inline-flex}
body.bmy-v4:not(.bmy-special) .circuit-grid h3{font-size:26px;color:#fff;margin:26px 0 8px;max-width:270px;line-height:1.02}
body.bmy-v4:not(.bmy-special) .circuit-grid p{font-size:11px!important;color:#f7e8de;max-width:320px}
body.bmy-v4:not(.bmy-special) .circuit-grid a{color:#fff;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.17);border-radius:10px;padding:8px 10px;display:inline-flex;margin-top:10px;font-size:10px}
.v4-route-line{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-top:12px}.v4-route-line span{font-size:8.5px;background:rgba(255,255,255,.12);padding:4px 6px;border-radius:999px}

/* services: quiet, trust-led */
body.bmy-v4:not(.bmy-special) .services{background:#fff;border-top:1px solid var(--v4-line);border-bottom:1px solid var(--v4-line);padding:22px 0;margin-top:34px}
body.bmy-v4:not(.bmy-special) .service-row{display:grid!important;grid-template-columns:1fr 1fr;gap:8px}
body.bmy-v4:not(.bmy-special) .service-row>a{border:1px solid var(--v4-line);border-radius:12px;background:#fff;padding:13px;display:flex;align-items:center;gap:9px;min-height:60px}
body.bmy-v4:not(.bmy-special) .service-row>a>span{width:32px;height:32px;border-radius:9px;background:#fff2df;color:var(--v4-saffron);display:grid;place-items:center}
body.bmy-v4:not(.bmy-special) .service-row b{font-size:10px;color:#5e473c}

/* generic subpage hero */
body.bmy-v4:not(.bmy-special) .page-hero{min-height:0;padding:34px 0 28px;background:linear-gradient(135deg,#fffaf0,#f7e4c1);border-bottom:1px solid var(--v4-line)}
body.bmy-v4:not(.bmy-special) .page-hero h1{font-size:clamp(36px,10vw,58px);line-height:1.02;letter-spacing:-1.3px;margin:8px 0 9px}
body.bmy-v4:not(.bmy-special) .page-hero p{font-size:13px!important;line-height:1.6;max-width:780px}
body.bmy-v4:not(.bmy-special) .crumb{font-size:9px;color:#9a7d6b}
body.bmy-v4:not(.bmy-special) .content-section{padding:30px 0}
body.bmy-v4:not(.bmy-special) .box,body.bmy-v4:not(.bmy-special) .info-box,body.bmy-v4:not(.bmy-special) .prose,body.bmy-v4:not(.bmy-special) .highlight,body.bmy-v4:not(.bmy-special) .plan-card,body.bmy-v4:not(.bmy-special) .service-card,body.bmy-v4:not(.bmy-special) .faith-card,body.bmy-v4:not(.bmy-special) .district-card{border:1px solid var(--v4-line);border-radius:14px;background:#fff;box-shadow:none}

/* places index */
body.bmy-v4:not(.bmy-special) .filter-bar{gap:7px;overflow-x:auto;flex-wrap:nowrap;padding-bottom:5px;scrollbar-width:none}
body.bmy-v4:not(.bmy-special) .filter-btn{flex:0 0 auto;border-radius:10px;padding:9px 11px;font-size:10px}
body.bmy-v4:not(.bmy-special) .place-list{grid-template-columns:1fr;gap:13px}
body.bmy-v4:not(.bmy-special) .place-list-card{border:0;border-radius:14px;box-shadow:var(--v4-shadow)}
body.bmy-v4:not(.bmy-special) .place-list-card .img{height:220px}
body.bmy-v4:not(.bmy-special) .place-list-card .copy{padding:15px}
body.bmy-v4:not(.bmy-special) .place-list-card h3{font-size:21px}
body.bmy-v4:not(.bmy-special) .place-list-card p{font-size:11px!important;min-height:0}

/* universal place profile */
body.bmy-v4:not(.bmy-special) .place-detail-hero{padding:18px 0 24px;background:#fff;border-bottom:1px solid var(--v4-line)}
body.bmy-v4:not(.bmy-special) .place-hero-grid{display:flex;flex-direction:column-reverse;gap:18px}
body.bmy-v4:not(.bmy-special) .place-hero-image{height:290px;border-radius:16px;border:0;box-shadow:var(--v4-shadow)}
body.bmy-v4:not(.bmy-special) .place-detail-hero h1{font-size:clamp(40px,11vw,66px);letter-spacing:-1.4px;margin:7px 0 7px}
body.bmy-v4:not(.bmy-special) .place-detail-hero .alt-name{font-size:21px;margin-bottom:9px}
body.bmy-v4:not(.bmy-special) .place-detail-hero .lead{font-size:13px!important;line-height:1.6}
body.bmy-v4:not(.bmy-special) .page-actions{display:none}
body.bmy-v4:not(.bmy-special) .source-chip{border-radius:8px;font-size:8.5px;background:#fff8ec;margin-top:10px}
.v4-place-tools{position:sticky;top:64px;z-index:85;background:rgba(255,253,249,.96);backdrop-filter:blur(14px);border-bottom:1px solid var(--v4-line);box-shadow:0 6px 16px rgba(60,35,18,.05)}
.v4-place-tools-inner{display:flex;gap:7px;overflow-x:auto;padding:8px 0;scrollbar-width:none}.v4-place-tools-inner::-webkit-scrollbar{display:none}
.v4-tool{flex:0 0 auto;display:inline-flex;align-items:center;gap:6px;border:1px solid var(--v4-line);background:#fff;color:#5d473d;border-radius:999px;padding:8px 10px;font-size:9.5px;font-weight:800}.v4-tool.primary{background:var(--v4-maroon);color:#fff;border-color:var(--v4-maroon)}.v4-tool.saved{background:var(--v4-maroon);color:#fff}
.v4-place-tabs{display:flex;gap:4px;overflow-x:auto;padding:0 0 8px;scrollbar-width:none}.v4-place-tabs::-webkit-scrollbar{display:none}.v4-place-tabs a{flex:0 0 auto;color:#7a665a;font-size:9px;padding:6px 8px;border-radius:8px}.v4-place-tabs a:hover{background:#fff1dd;color:var(--v4-maroon)}
body.bmy-v4:not(.bmy-special) .detail-layout{display:block}
body.bmy-v4:not(.bmy-special) .prose{padding:18px;border:0;box-shadow:var(--v4-shadow)}
body.bmy-v4:not(.bmy-special) .prose h2{font-size:28px}
body.bmy-v4:not(.bmy-special) .prose p{font-family:inherit;font-size:14px!important;line-height:1.75}
body.bmy-v4:not(.bmy-special) .side-stack{margin-top:14px}
body.bmy-v4:not(.bmy-special) .visit-card{border-radius:16px;padding:18px;background:linear-gradient(145deg,#791124,#951b2f)}
body.bmy-v4:not(.bmy-special) .visit-card h3{font-size:22px}
body.bmy-v4:not(.bmy-special) .visit-item span{font-size:11px;line-height:1.55}
body.bmy-v4:not(.bmy-special) .highlight-grid{grid-template-columns:1fr;gap:10px}
body.bmy-v4:not(.bmy-special) .highlight{padding:16px}
body.bmy-v4:not(.bmy-special) .highlight h3{font-size:18px}
body.bmy-v4:not(.bmy-special) .highlight p{font-size:11px!important}
body.bmy-v4:not(.bmy-special) .related-row{display:flex;overflow-x:auto;gap:10px;scroll-snap-type:x mandatory;scrollbar-width:none}.related-row::-webkit-scrollbar{display:none}
body.bmy-v4:not(.bmy-special) .related-card{flex:0 0 82%;max-width:340px;scroll-snap-align:start;grid-template-columns:92px 1fr;border-radius:12px}

/* circuits / festivals / faith / districts pages */
body.bmy-v4:not(.bmy-special) .circuit-grid-page,body.bmy-v4:not(.bmy-special) .service-grid-page,body.bmy-v4:not(.bmy-special) .plan-grid{grid-template-columns:1fr;gap:12px}
body.bmy-v4:not(.bmy-special) .circuit-card{min-height:250px;border:0;border-radius:16px;box-shadow:var(--v4-shadow)}
body.bmy-v4:not(.bmy-special) .timeline{gap:10px}.stop{grid-template-columns:46px 1fr;gap:10px}.stop .day{width:46px;height:46px;font-size:15px}.stop .box{padding:14px;border-radius:12px}.stop p{font-size:11px!important}
body.bmy-v4:not(.bmy-special) .festival-list{grid-template-columns:1fr;gap:11px}.festival-item{grid-template-columns:82px 1fr;border-radius:14px}.festival-item .date{padding:14px}.festival-item .date strong{font-size:22px}.festival-item .fcopy{padding:14px}.festival-item p{font-size:11px!important}
body.bmy-v4:not(.bmy-special) .faith-grid-page{grid-template-columns:1fr 1fr;gap:9px}.faith-card{padding:14px}.faith-card .ficon{width:44px;height:44px;font-size:22px}.faith-card h3{font-size:15px}.faith-card p{font-size:10px!important}
body.bmy-v4:not(.bmy-special) .district-grid{grid-template-columns:1fr 1fr;gap:8px}.district-card{padding:12px}.district-card b{font-size:13px}.district-card small{font-size:8px}.district-card .count{width:26px;height:26px;min-width:26px}

/* smart planner */
.v4-planner{margin-bottom:24px;background:linear-gradient(135deg,#fffaf0,#fff);border:1px solid var(--v4-line);border-radius:18px;padding:18px;box-shadow:var(--v4-shadow)}
.v4-planner h2{margin:0 0 4px;color:var(--v4-maroon);font:700 28px/1.05 Georgia,serif}.v4-planner>p{margin:0 0 16px;color:var(--v4-muted);font-size:11px!important}
.v4-planner-grid{display:grid;grid-template-columns:1fr;gap:10px}.v4-field label{display:block;font-size:9px;font-weight:850;color:#765d50;margin-bottom:5px}.v4-field select{width:100%;height:44px;border:1px solid var(--v4-line);border-radius:10px;background:#fff;padding:0 10px;color:#4f3d34}
.v4-plan-generate{width:100%;height:46px;border:0;border-radius:11px;background:var(--v4-maroon);color:#fff;font-weight:900;margin-top:12px}.v4-plan-result{display:none;margin-top:14px;border-top:1px solid var(--v4-line);padding-top:14px}.v4-plan-result.show{display:block}.v4-plan-result h3{margin:0 0 8px;color:#7b1727;font:700 21px Georgia,serif}.v4-plan-result ol{margin:0;padding-left:19px}.v4-plan-result li{font-size:11px;margin:5px 0}

/* trust note */
.v4-trust-note{display:flex;gap:10px;align-items:flex-start;border:1px solid #ead3a8;background:#fff9ec;border-radius:14px;padding:13px 14px;margin:0 0 18px}.v4-trust-note svg{flex:0 0 22px;color:#bd7527}.v4-trust-note b{display:block;color:#65473a;font-size:11px}.v4-trust-note span{display:block;color:#826e62;font-size:9px;line-height:1.45;margin-top:2px}

/* footer */
body.bmy-v4:not(.bmy-special) footer{padding-bottom:92px;background:#251712;color:#f3e4d7}
body.bmy-v4:not(.bmy-special) .footer-grid{grid-template-columns:1fr;gap:20px;padding-top:28px}
body.bmy-v4:not(.bmy-special) footer .brand-copy strong{color:#fff}
body.bmy-v4:not(.bmy-special) footer a{font-size:11px}
body.bmy-v4:not(.bmy-special) .credit{font-size:9px}

/* bottom navigation */
.v4-bottom-nav{position:fixed;left:10px;right:10px;bottom:9px;z-index:180;height:62px;border:1px solid rgba(234,223,206,.9);background:rgba(255,253,249,.96);backdrop-filter:blur(18px);border-radius:18px;box-shadow:0 16px 44px rgba(48,29,18,.22);display:grid;grid-template-columns:repeat(4,1fr);padding:5px 4px calc(5px + env(safe-area-inset-bottom))}
.v4-bottom-nav a,.v4-bottom-nav button{border:0;background:transparent;color:#7b685d;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;font-size:8px;font-weight:800;position:relative}
.v4-bottom-nav svg{width:21px;height:21px;stroke-width:1.8}.v4-bottom-nav .active{color:var(--v4-maroon)}.v4-saved-count{position:absolute;top:1px;left:calc(50% + 7px);min-width:16px;height:16px;border-radius:999px;background:var(--v4-maroon);color:#fff;display:grid;place-items:center;font-size:7px;border:2px solid #fff}

/* search and saved sheets */
.v4-overlay{position:fixed;inset:0;z-index:250;background:rgba(28,17,12,.48);backdrop-filter:blur(8px);display:none;align-items:flex-end}.v4-overlay.show{display:flex}
.v4-sheet{width:100%;max-height:min(82vh,720px);overflow:auto;background:#fffdf9;border-radius:24px 24px 0 0;padding:18px 16px calc(24px + env(safe-area-inset-bottom));box-shadow:0 -20px 50px rgba(35,20,12,.2)}
.v4-sheet-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:13px}.v4-sheet-head h2{margin:0;color:var(--v4-maroon);font:700 24px Georgia,serif}.v4-sheet-close{width:36px;height:36px;border:1px solid var(--v4-line);background:#fff;border-radius:10px;font-size:20px;color:#785b4d}
.v4-global-search{display:grid;grid-template-columns:38px 1fr;border:1px solid var(--v4-line);background:#fff;border-radius:13px;height:50px;align-items:center;padding:0 9px}.v4-global-search input{border:0;outline:none;background:transparent;font-size:14px}.v4-search-list{display:grid;gap:7px;margin-top:12px}.v4-search-result{display:grid;grid-template-columns:52px 1fr auto;gap:10px;align-items:center;padding:8px;border:1px solid var(--v4-line);border-radius:12px;background:#fff}.v4-search-result img{width:52px;height:52px;object-fit:cover;border-radius:9px}.v4-search-result b{display:block;font-size:11px;color:#5d4236}.v4-search-result small{display:block;font-size:8.5px;color:#8b776b;margin-top:2px}.v4-search-result>span:last-child{color:var(--v4-maroon)}
.v4-saved-list{display:grid;gap:8px}.v4-saved-empty{padding:28px 10px;text-align:center;color:#806f65}.v4-saved-empty b{display:block;font:700 22px Georgia,serif;color:#6f2631;margin-bottom:5px}.v4-saved-empty p{font-size:10px!important}.v4-saved-actions{display:flex;gap:8px;margin-top:14px}.v4-saved-actions a,.v4-saved-actions button{flex:1;padding:10px;border-radius:10px;border:1px solid var(--v4-line);background:#fff;color:#634a3d;font-size:10px;font-weight:850}.v4-saved-actions a{background:var(--v4-maroon);color:#fff;border-color:var(--v4-maroon);text-align:center}

/* desktop / stakeholder views */
@media(min-width:720px){
  body.bmy-v4{padding-bottom:0}
  body.bmy-v4:not(.bmy-special) .container{width:min(100% - 48px,1320px)}
  body.bmy-v4:not(.bmy-special) .nav{height:70px}
  body.bmy-v4:not(.bmy-special) .brand-copy strong{font-size:22px}
  body.bmy-v4:not(.bmy-special) .desktop-nav{display:flex;margin-left:auto;gap:18px}
  body.bmy-v4:not(.bmy-special) .desktop-nav a{font-size:11px;padding:26px 0 22px}
  body.bmy-v4:not(.bmy-special) .desktop-nav a[href*="districts"],body.bmy-v4:not(.bmy-special) .desktop-nav a[href*="faith"]{display:none}
  body.bmy-v4:not(.bmy-special) .actions .lang-switch{display:flex}
  body.bmy-v4:not(.bmy-special) .actions .book-btn{display:inline-flex;border-radius:10px;padding:10px 14px;background:var(--v4-maroon);color:#fff;font-size:10px;font-weight:900}
  body.bmy-v4:not(.bmy-special) .menu-btn{display:none}
  body.bmy-v4:not(.bmy-special) .mobile-nav{display:none!important}
  body.bmy-v4:not(.bmy-special) .hero{min-height:620px}
  body.bmy-v4:not(.bmy-special) .hero-content{min-height:620px;padding:90px 0 44px}
  body.bmy-v4:not(.bmy-special) .hero-title h1{font-size:76px}
  body.bmy-v4:not(.bmy-special) .hero-title p{font-size:16px!important}
  body.bmy-v4:not(.bmy-special) .hero-search{grid-template-columns:52px 1fr 120px;border-radius:18px}
  body.bmy-v4:not(.bmy-special) .quick-wrap{padding:18px 0}
  body.bmy-v4:not(.bmy-special) .quick-grid{display:grid!important;grid-template-columns:repeat(4,1fr);overflow:visible}
  body.bmy-v4:not(.bmy-special) .quick-item{min-width:0}
  body.bmy-v4:not(.bmy-special) .section{padding:54px 0}
  body.bmy-v4:not(.bmy-special) .place-grid{display:grid!important;grid-template-columns:repeat(3,1fr);overflow:visible;gap:16px;padding-bottom:0}
  body.bmy-v4:not(.bmy-special) .place-card{max-width:none;min-width:0;flex:auto}
  body.bmy-v4:not(.bmy-special) .place-card>img{height:230px}
  .v4-save-card{top:186px}
  body.bmy-v4:not(.bmy-special) .discovery-grid{grid-template-columns:1.05fr .95fr;gap:16px}
  body.bmy-v4:not(.bmy-special) .district-dashboard{grid-template-columns:1fr .8fr}
  body.bmy-v4:not(.bmy-special) .faith-grid{grid-template-columns:repeat(4,1fr)}
  body.bmy-v4:not(.bmy-special) .festival-wide{grid-template-columns:1.05fr .95fr;gap:28px;padding:28px}
  body.bmy-v4:not(.bmy-special) .festival-events{margin-top:0}
  body.bmy-v4:not(.bmy-special) .circuit-grid{grid-template-columns:repeat(3,1fr)}
  body.bmy-v4:not(.bmy-special) .service-row{grid-template-columns:repeat(5,1fr)}
  body.bmy-v4:not(.bmy-special) .place-list{grid-template-columns:repeat(2,1fr)}
  body.bmy-v4:not(.bmy-special) .place-hero-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:34px;align-items:center}
  body.bmy-v4:not(.bmy-special) .place-detail-hero{padding:34px 0}
  body.bmy-v4:not(.bmy-special) .place-hero-image{height:420px;order:initial}
  body.bmy-v4:not(.bmy-special) .detail-layout{display:grid;grid-template-columns:1.45fr .75fr;gap:22px}
  body.bmy-v4:not(.bmy-special) .side-stack{margin-top:0}
  body.bmy-v4:not(.bmy-special) .highlight-grid{grid-template-columns:repeat(3,1fr)}
  body.bmy-v4:not(.bmy-special) .related-row{display:grid;grid-template-columns:repeat(3,1fr);overflow:visible}
  body.bmy-v4:not(.bmy-special) .related-card{max-width:none;flex:auto}
  body.bmy-v4:not(.bmy-special) .circuit-grid-page,body.bmy-v4:not(.bmy-special) .service-grid-page,body.bmy-v4:not(.bmy-special) .plan-grid{grid-template-columns:repeat(2,1fr)}
  body.bmy-v4:not(.bmy-special) .faith-grid-page{grid-template-columns:repeat(4,1fr)}
  body.bmy-v4:not(.bmy-special) .district-grid{grid-template-columns:repeat(4,1fr)}
  body.bmy-v4:not(.bmy-special) .festival-list{grid-template-columns:repeat(2,1fr)}
  .v4-planner-grid{grid-template-columns:repeat(4,1fr)}.v4-plan-generate{width:auto;padding:0 22px}
  .v4-bottom-nav{display:none}
  .v4-overlay{align-items:center;justify-content:center}.v4-sheet{max-width:720px;border-radius:22px;padding:22px;max-height:78vh}
  body.bmy-v4:not(.bmy-special) .footer-grid{grid-template-columns:1.4fr .7fr .7fr}.footer-grid{padding-top:42px}
}
@media(min-width:1100px){
  body.bmy-v4:not(.bmy-special) .quick-grid{grid-template-columns:repeat(7,1fr)}
  body.bmy-v4:not(.bmy-special) .place-grid{grid-template-columns:repeat(6,1fr);gap:14px}
  body.bmy-v4:not(.bmy-special) .place-card>img{height:180px}
  body.bmy-v4:not(.bmy-special) .pcopy{min-height:128px}
  .v4-save-card{top:138px}
  body.bmy-v4:not(.bmy-special) .place-list{grid-template-columns:repeat(3,1fr)}
  body.bmy-v4:not(.bmy-special) .circuit-grid-page,body.bmy-v4:not(.bmy-special) .service-grid-page,body.bmy-v4:not(.bmy-special) .plan-grid{grid-template-columns:repeat(3,1fr)}
}
@media(min-width:1500px){
  body.bmy-v4:not(.bmy-special) .container{width:min(100% - 72px,1420px)}
  body.bmy-v4:not(.bmy-special) .hero-content{max-width:1420px}
}
@media(prefers-reduced-motion:reduce){body.bmy-v4:not(.bmy-special) *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
/* v4 finishing details */
body.bmy-v4:not(.bmy-special) .actions .icon-btn{position:relative}
body.bmy-v4:not(.bmy-special) .actions .v4-saved-count{top:-4px;right:-4px;left:auto}
.v4-list-district{position:absolute;left:10px;top:10px;z-index:4;min-width:74px;min-height:27px;padding:6px 10px;border-radius:999px;background:rgba(255,253,248,.96);color:#715a4c;font-size:9px;font-weight:850;display:grid;place-items:center;box-shadow:0 4px 14px rgba(52,31,18,.14)}
body.bmy-v4:not(.bmy-special) .place-list-card .img{position:relative}
body.bmy-v4:not(.bmy-special) .place-list-card .img .v4-save-card{top:auto;right:10px;bottom:10px}
@media(min-width:720px){.v4-place-tools{top:70px}}
.bmy-special .v4-place-tools{top:0}
/* hide prototype district text baked into legacy card images */
body.bmy-v4:not(.bmy-special) .place-card>img{transform:scale(1.14);transform-origin:center bottom}
body.bmy-v4:not(.bmy-special) .district-pill{position:absolute!important;top:5px!important;left:7px!important;min-width:106px;min-height:33px;padding:7px 12px!important;display:grid!important;place-items:center!important;border-radius:999px!important;background:#fff8e9!important;border:1px solid #efd39f!important}
.v4-list-district{top:5px;left:7px;min-width:106px;min-height:33px;background:#fff8e9;border:1px solid #efd39f}
.v4-hero-district{position:absolute;left:18px;top:18px;z-index:5;min-width:100px;min-height:38px;padding:8px 13px;border-radius:999px;background:#fff8e9;border:1px solid #efd39f;color:#715a4c;font-size:11px;font-weight:850;display:grid;place-items:center;box-shadow:0 5px 18px rgba(52,31,18,.14)}
/* crop legacy image labels out of image artwork; all live labels remain HTML */
body.bmy-v4:not(.bmy-special) .place-hero-image img{height:calc(100% + 42px)!important;transform:translateY(-42px);object-fit:cover}
body.bmy-v4:not(.bmy-special) .place-list-card .img img{height:calc(100% + 34px)!important;transform:translateY(-34px);object-fit:cover}
.v4-hero-district{top:12px;left:12px;min-height:34px;padding:6px 12px;font-size:10px}
body.bmy-v4:not(.bmy-special) .place-hero-image::after{content:"";position:absolute;left:0;top:0;width:138px;height:66px;z-index:4;background:linear-gradient(135deg,#fff8e9 0%,#fff8e9 68%,rgba(255,248,233,.92) 78%,rgba(255,248,233,0) 100%);pointer-events:none}
body.bmy-v4:not(.bmy-special) .v4-hero-district{z-index:6}
.v4-district-explorer{display:grid;grid-template-columns:1fr;gap:14px;align-items:center;margin:0 0 20px;padding:18px;border-radius:18px;background:linear-gradient(135deg,#fffaf0,#f6ead7);border:1px solid var(--v4-line)}
.v4-district-explorer h2{margin:5px 0 6px;color:var(--v4-maroon);font:700 28px/1.05 Georgia,serif}.v4-district-explorer p{margin:0;color:var(--v4-muted);font-size:11px!important}.v4-kicker{font-size:8.5px;font-weight:900;letter-spacing:1px;text-transform:uppercase;color:var(--v4-saffron)}
.v4-district-map{position:relative;min-height:250px;border-radius:15px;background:#fff;border:1px solid #edddc5;overflow:hidden}.v4-district-map svg{width:90%;height:auto;display:block;margin:auto;padding:14px}
@media(min-width:720px){.v4-district-explorer{grid-template-columns:.7fr 1.3fr;padding:24px}.v4-district-map{min-height:300px}}
