/* v1047: route pages on phones - "Stays near Baba Dham" (nearest first) straight after the heading, and the
   WhatsApp price request. Linked with media="(max-width: 900px)"; computers are unchanged. */

/* the old stay box further down gives way to the near-temple list (same stays) */
html body.ys1047-near-on #route-stays{display:none !important}

/* ---------- stays near the temple ---------- */
html body .ys1047-near{display:flex;flex-direction:column;gap:10px;padding:18px 16px 8px;background:#FBF7EE;color:#101828;font-family:Inter,system-ui,sans-serif}
html body .ys1047-head{display:flex;justify-content:space-between;align-items:flex-end;gap:10px}
html body .ys1047-kick{margin:0 0 2px;font:700 11px Inter,system-ui,sans-serif;letter-spacing:.12em;text-transform:uppercase;color:#B54708}
html body .ys1047-near h2,html body .ys1047-wa h2{margin:0;font:600 21px/1.2 Fraunces,Georgia,serif;letter-spacing:0;color:inherit}
html body .ys1047-all{flex:none;min-height:44px;display:flex;align-items:center;font-size:14px;font-weight:700;color:#06345E !important;text-decoration:none}
html body .ys1047-card{display:flex;gap:12px;padding:10px;border:1px solid #EAECF0;border-radius:14px;background:#FFFFFF;color:#101828 !important;text-decoration:none !important;min-width:0}
html body .ys1047-ph{flex:none;width:96px;height:96px;border-radius:10px;object-fit:cover;background:#E4E7EC}
html body .ys1047-tx{flex:1;display:flex;flex-direction:column;gap:4px;min-width:0}
html body .ys1047-top{display:flex;justify-content:space-between;align-items:flex-start;gap:6px;min-width:0}
html body .ys1047-top b{font-size:15px;line-height:1.3;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
html body .ys1047-rt{flex:none;padding:2px 6px;border-radius:6px;background:#ECFDF3;color:#067647;font-size:12px;font-weight:700}
html body .ys1047-dist{font-size:13px;font-weight:600;color:#B54708}
html body .ys1047-tx > small{font-size:12.5px;color:#475467;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body .ys1047-pr{display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin-top:auto}
html body .ys1047-pr b{font-size:17px}
html body .ys1047-pr small{font-size:12px;color:#475467}
html body .ys1047-go{font-size:13px;font-weight:700;color:#C2410C;white-space:nowrap}
html body .ys1047-pay{display:flex;align-items:center;gap:6px;margin:0;font-size:12.5px;color:#344054}
html body .ys1047-pay svg{color:#067647;flex:none}
html body .ys1047-wa-short{display:flex;align-items:center;gap:10px;min-height:52px;padding:8px 14px;border:1.5px solid #128C4A;border-radius:14px;background:#F0FBF4;color:#0B5F33 !important;text-decoration:none !important}
html body .ys1047-wa-short svg{flex:none;color:#128C4A}
html body .ys1047-wa-short > span:nth-child(2){flex:1;display:flex;flex-direction:column;min-width:0}
html body .ys1047-wa-short b{font-size:15px}
html body .ys1047-wa-short small{font-size:12.5px;color:#3A6B4F}
html body .ys1047-wa-short > span:last-child{font-size:22px;font-weight:800}

/* ---------- WhatsApp price request, after the train times ---------- */
html body .ys1047-wa{display:flex;flex-direction:column;gap:10px;margin:18px 16px;padding:18px;border-radius:16px;background:#0B5F33;color:#FFFFFF;font-family:Inter,system-ui,sans-serif}
html body .ys1047-wa .ys1047-kick{color:#A6F4C5}
html body .ys1047-wa-copy{margin:0;font-size:14px;line-height:1.5;color:#D1FADF}
html body .ys1047-trip{margin:0;font-size:13.5px;line-height:1.45;color:#FFFFFF}
html body .ys1047-wa-btn{display:flex;align-items:center;justify-content:center;gap:10px;min-height:54px;border-radius:14px;background:#25D366;color:#052E16 !important;font-weight:800;font-size:16px;text-decoration:none !important}
html body .ys1047-wa-note{margin:0;text-align:center;font-size:12px;color:#D1FADF}
html body .ys1047-card:focus-visible,html body .ys1047-wa-short:focus-visible,html body .ys1047-wa-btn:focus-visible,html body .ys1047-all:focus-visible{outline:3px solid #FDB022;outline-offset:2px}
