/* Vaidya Balendu Prakash legacy page — scoped under .vbp-legacy */
html { scroll-behavior: smooth; }

/* Kill theme/block spacing that sits above this page */
body.single-doctor main.wp-block-group,
body.single-doctor main.wp-block-group.alignfull {
  margin-block-start: 0 !important;
  margin-top: 0 !important;
  padding-top: 0 !important;
}
body.single-doctor main.wp-block-group > * {
  margin-block-start: 0 !important;
}

.vbp-legacy {
  font-family: var(--f-body, "Public Sans", sans-serif);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.55;
  color: var(--ink, #333);
  -webkit-font-smoothing: antialiased;
  margin: 0;
  padding: 0;
}
.vbp-legacy img { max-width: 100%; display: block; }
.vbp-legacy a { color: var(--green); text-decoration: none; }
.vbp-legacy a:hover { color: var(--green-dark); }
.vbp-legacy h1,
.vbp-legacy h2,
.vbp-legacy h3,
.vbp-legacy h4 {
  font-family: var(--f-head);
  color: var(--ink);
  margin: 0 0 0.5em;
  letter-spacing: 0.5px;
}
.vbp-legacy h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); font-weight: 700; line-height: 1.15; }
.vbp-legacy h2 { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 700; line-height: 1.2; }
.vbp-legacy h3 { font-size: 1.3rem; font-weight: 600; letter-spacing: 0.3px; line-height: 1.3; }
.vbp-legacy p { margin: 0 0 1.1em; }

.vbp-legacy{
  --green:#357a38;
  --green-dark:#2e5b30;
  --green-deep:#1f4021;
  --green-tint:#e8f0e8;

  --ink:#333333;
  --ink-strong:#1e1e1e;
  --muted:#767676;
  --line:#e6e6e2;

  --white:#ffffff;
  --cream:#f7f6f0;
  --mint:#f3f9f6;
  --grey:#f1f1f1;
  --dark:#161616;

  --terracotta:#d97757;

  --r-btn:8px;
  --r-sm:12px;
  --r-md:16px;
  --r-lg:24px;

  --shadow:0 4px 24px rgba(0,0,0,.04);
  --shadow-md:0 8px 34px rgba(0,0,0,.07);

  --maxw:1180px;

  --f-head:'Poppins',sans-serif;
  --f-body:'Public Sans',sans-serif;
}






.vbp-legacy .wrap{width:min(100% - 2.5rem,var(--maxw));margin-inline:auto}
.vbp-legacy .narrow{width:min(100% - 2.5rem,860px);margin-inline:auto}
.vbp-legacy section{padding:clamp(3.5rem,7vw,6rem) 0}
.vbp-legacy .bg-cream{background:var(--cream)}
.vbp-legacy .bg-mint{background:var(--mint)}
.vbp-legacy .bg-white{background:var(--white)}

/* section intro — mirrors the "Queries? / Frequently Asked Questions" pattern */
.vbp-legacy .eyebrow{
  display:block;font-family:var(--f-head);font-weight:500;
  font-size:clamp(1.05rem,2vw,1.5rem);letter-spacing:.3px;
  color:var(--green);margin:0 0 .25rem;
}
.vbp-legacy .sec-head{max-width:820px;margin:0 auto clamp(2.2rem,4vw,3.2rem);text-align:center}
.vbp-legacy .sec-head p{font-size:1.125rem;color:var(--ink);margin:.6rem 0 0}
.vbp-legacy .lede{font-size:1.125rem}

/* buttons — exact theme spec */
.vbp-legacy .btn{
  display:inline-flex;align-items:center;justify-content:center;
  font-family:var(--f-head);font-weight:500;font-size:14px;letter-spacing:.5px;
  padding:12px 24px;border-radius:var(--r-btn);border:1px solid transparent;
  cursor:pointer;white-space:nowrap;transition:background .18s ease,color .18s ease,border-color .18s ease;
}
.vbp-legacy .btn--solid{background:var(--green);color:#fff}
.vbp-legacy .btn--solid:hover{background:var(--green-dark);color:#fff}
.vbp-legacy .btn--outline{background:var(--white);color:var(--green);border-color:var(--green)}
.vbp-legacy .btn--outline:hover{background:var(--green);color:#fff}
.vbp-legacy .btn--onDark{background:transparent;color:#fff;border-color:rgba(255,255,255,.55)}
.vbp-legacy .btn--onDark:hover{background:#fff;color:var(--green-dark);border-color:#fff}
.vbp-legacy .btn-row{display:flex;gap:.75rem;flex-wrap:wrap}

/* ============ HERO ============ */
/* Tighter than generic section padding; no large cream band under content */
.vbp-legacy .hero{
  background:var(--cream);
  padding:clamp(1.5rem,3vw,2.4rem) 0 clamp(1.6rem,3vw,2.4rem);
  margin:0;
}
.vbp-legacy .hero__grid{
  display:grid;grid-template-columns:minmax(0,470px) minmax(0,1fr);
  gap:clamp(1.8rem,4vw,3.6rem);align-items:center;
}
.vbp-legacy .hero .reveal{margin:0}
.vbp-legacy .portrait{
  position:relative;border-radius:var(--r-lg);overflow:hidden;background:var(--white);
  box-shadow:var(--shadow-md);aspect-ratio:1;
  margin:0;
}
.vbp-legacy .portrait img{width:100%;height:100%;object-fit:cover;object-position:top center}

/* Badge: kill theme line-height so top/bottom padding look even */
.vbp-legacy .tag{
  display:inline-flex;align-items:center;gap:.45rem;
  font-family:var(--f-head);font-weight:500;font-size:14px;letter-spacing:.5px;
  line-height:1;
  color:var(--green);background:var(--green-tint);
  padding:6px 12px;border-radius:var(--r-btn);
  margin:0 0 1.1rem;
  box-sizing:border-box;
}
.vbp-legacy .tag svg{
  width:16px;height:16px;flex:none;
  stroke:var(--green);fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;
  display:block;
}

.vbp-legacy .hero .eyebrow{margin:0 0 .35rem}
.vbp-legacy .hero h1{margin:0 0 .35rem}
.vbp-legacy .hero__role{
  font-family:var(--f-head);font-weight:500;font-size:1.125rem;letter-spacing:.3px;
  line-height:1.35;
  color:var(--green);margin:0 0 1rem;
}
/* Dates card: tight, even padding; center content so no empty bottom band */
.vbp-legacy .dates{
  display:flex;align-items:center;gap:1.25rem;flex-wrap:wrap;
  background:var(--white);border-radius:var(--r-md);box-shadow:var(--shadow);
  padding:.7rem 1.2rem;margin:0 0 1.15rem;
  box-sizing:border-box;
  line-height:1.25;
}
.vbp-legacy .dates__item{min-width:132px;margin:0;padding:0}
.vbp-legacy .dates__d{
  font-family:var(--f-head);font-weight:600;font-size:1.22rem;letter-spacing:.3px;
  color:var(--ink-strong);line-height:1.2;margin:0;
}
.vbp-legacy .dates__l{font-size:.86rem;color:var(--muted);line-height:1.25;margin:.1rem 0 0}
.vbp-legacy .dates__sep{width:1px;align-self:stretch;min-height:2.2rem;background:var(--line);flex:none;margin:0}
@media(max-width:520px){
  .vbp-legacy .dates{display:grid;grid-template-columns:1fr;gap:.75rem}
  .vbp-legacy .dates__sep{width:auto;height:1px;min-height:0}
}
.vbp-legacy .hero__line{
  font-size:1.14rem;color:var(--ink);border-left:3px solid var(--green);
  padding-left:1.1rem;margin:0 0 1.25rem;max-width:44ch;line-height:1.5;
}
.vbp-legacy .hero .btn-row{margin:0}

/* ============ STATS ============ */
/* Sit flush under hero — no double section gap */
.vbp-legacy .stats{
  background:var(--mint);
  padding:clamp(1.5rem,3vw,2.1rem) 0;
  margin:0;
}
.vbp-legacy .stats__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:1.6rem;text-align:center}
.vbp-legacy .stat__n{font-family:var(--f-head);font-weight:700;font-size:clamp(1.7rem,3.4vw,2.4rem);color:var(--green);line-height:1.15;letter-spacing:.5px}
.vbp-legacy .stat__n span{font-size:.55em;font-weight:600}
.vbp-legacy .stat__l{font-size:.95rem;color:var(--ink);margin-top:.15rem}

/* ============ PROSE ============ */
.vbp-legacy .prose p{font-size:1.125rem;color:var(--ink)}
.vbp-legacy .prose p em{font-style:italic}

/* ============ CARDS ============ */
.vbp-legacy .cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(290px,1fr));gap:1.5rem}
.vbp-legacy .card{background:var(--white);border-radius:var(--r-md);box-shadow:var(--shadow);padding:2rem 1.75rem;transition:box-shadow .22s ease,transform .22s ease}
.vbp-legacy .card:hover{box-shadow:var(--shadow-md);transform:translateY(-4px)}
.vbp-legacy .card__icon{
  width:64px;height:64px;border-radius:50%;border:1.5px solid var(--green);
  display:grid;place-items:center;margin-bottom:1.2rem;
}
.vbp-legacy .card__icon svg{width:28px;height:28px;stroke:var(--green);fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.vbp-legacy .card h3{color:var(--green-dark);margin-bottom:.5rem}
.vbp-legacy .card p{margin:0;font-size:1.02rem}

/* ============ TIMELINE ============ */
.vbp-legacy .timeline{position:relative;max-width:960px;margin:0 auto}
.vbp-legacy .timeline::before{content:"";position:absolute;left:9px;top:8px;bottom:8px;width:2px;background:var(--green-tint)}
.vbp-legacy .tl{position:relative;padding:0 0 2.2rem 2.9rem}
.vbp-legacy .tl:last-child{padding-bottom:0}
.vbp-legacy .tl__dot{position:absolute;left:0;top:.4rem;width:20px;height:20px;border-radius:50%;background:var(--white);border:2px solid var(--green)}
.vbp-legacy .tl--key .tl__dot{background:var(--green)}
.vbp-legacy .tl__year{font-family:var(--f-head);font-weight:600;font-size:.95rem;letter-spacing:.5px;color:var(--green);margin-bottom:.15rem}
.vbp-legacy .tl h3{margin:0 0 .3rem}
.vbp-legacy .tl p{margin:0;font-size:1.02rem}
@media(min-width:900px){
  .vbp-legacy .timeline::before{left:50%;transform:translateX(-50%)}
  .vbp-legacy .tl{width:50%;padding:0 0 2.6rem 0}
  .vbp-legacy .tl--l{padding-right:3.2rem;text-align:right}
  .vbp-legacy .tl--r{margin-left:50%;padding-left:3.2rem}
  .vbp-legacy .tl--l .tl__dot{left:auto;right:-10px}
  .vbp-legacy .tl--r .tl__dot{left:-10px}
}

/* ============ HONOURS ============ */
.vbp-legacy .honours{display:grid;grid-template-columns:repeat(auto-fit,minmax(275px,1fr));gap:1rem}
.vbp-legacy .honour{
  display:flex;gap:.85rem;align-items:flex-start;background:var(--white);
  border-radius:var(--r-sm);box-shadow:var(--shadow);padding:1.15rem 1.25rem;
}
.vbp-legacy .honour svg{width:22px;height:22px;flex:none;margin-top:2px;stroke:var(--green);fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.vbp-legacy .honour b{display:block;font-family:var(--f-head);font-weight:600;font-size:1.02rem;letter-spacing:.3px;color:var(--ink-strong);line-height:1.35}
.vbp-legacy .honour span{display:block;font-size:.95rem;color:var(--muted)}

/* ============ TRIBUTE BAND ============ */
.vbp-legacy .band{
  position:relative;background:var(--dark) url("https://padaav.com/wp-content/uploads/2024/12/footer-bg-png.webp") center/cover no-repeat;
  color:#fff;text-align:center;
}
.vbp-legacy .band::before{content:"";position:absolute;inset:0;background:rgba(16,16,16,.72)}
.vbp-legacy .band .narrow{position:relative}
.vbp-legacy .band blockquote{
  font-family:var(--f-head);font-weight:600;font-size:clamp(1.4rem,3vw,2.15rem);
  line-height:1.35;letter-spacing:.5px;margin:0 auto;max-width:24ch;color:#fff;
}
.vbp-legacy .band cite{display:block;margin-top:1.3rem;font-style:normal;font-size:1rem;color:rgba(255,255,255,.72)}
.vbp-legacy .band .qmark{display:block;width:44px;height:3px;border-radius:3px;background:var(--green);margin:0 auto 1.6rem}

/* ============ WISHES ============ */
.vbp-legacy .wishes__top{display:flex;flex-wrap:wrap;gap:1.25rem;align-items:center;justify-content:center;margin-bottom:1.6rem}
.vbp-legacy .pill{
  font-family:var(--f-head);font-weight:500;font-size:14px;letter-spacing:.5px;
  color:var(--green);background:var(--white);box-shadow:var(--shadow);
  padding:10px 18px;border-radius:var(--r-btn);white-space:nowrap;
}
.vbp-legacy .notice{
  display:flex;gap:.7rem;align-items:flex-start;max-width:820px;margin:0 auto 2rem;
  background:var(--white);border-left:3px solid var(--terracotta);border-radius:var(--r-sm);
  box-shadow:var(--shadow);padding:1rem 1.2rem;font-size:1rem;color:var(--ink);
}
.vbp-legacy .notice svg{width:20px;height:20px;flex:none;margin-top:3px;stroke:var(--terracotta);fill:none;stroke-width:1.7;stroke-linecap:round}
.vbp-legacy .notice code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.9em;background:var(--grey);padding:1px 5px;border-radius:4px}

.vbp-legacy .wish-layout{display:grid;grid-template-columns:minmax(0,390px) minmax(0,1fr);gap:2rem;align-items:start}
@media(max-width:940px){.vbp-legacy .wish-layout{grid-template-columns:1fr}}

/* Empty wall: center the form alone */
.vbp-legacy .wish-layout.is-empty{
  grid-template-columns:minmax(0,390px);
  justify-content:center;
  justify-items:center;
}
.vbp-legacy .wish-layout.is-empty .wish-form{
  position:static;
  width:100%;
  max-width:390px;
}
.vbp-legacy .wish-layout.is-empty .wish-layout__wall{
  width:100%;
  max-width:420px;
}

.vbp-legacy .wish-form{background:var(--white);border-radius:var(--r-lg);box-shadow:var(--shadow-md);padding:2rem 1.85rem;position:sticky;top:90px}
@media(max-width:940px){.vbp-legacy .wish-form{position:static}}
.vbp-legacy .wish-form h3{margin-bottom:.3rem;color:var(--ink-strong)}
.vbp-legacy .wish-form .hint{font-size:1rem;color:var(--muted);margin-bottom:1.4rem}
.vbp-legacy .field{margin-bottom:1.05rem}
.vbp-legacy .field label{display:block;font-family:var(--f-head);font-weight:500;font-size:.95rem;letter-spacing:.3px;color:var(--ink-strong);margin-bottom:.35rem}
.vbp-legacy .field label .opt{color:var(--muted);font-weight:400}
.vbp-legacy .field input, .vbp-legacy .field select, .vbp-legacy .field textarea{
  width:100%;font-family:var(--f-body);font-size:1rem;color:var(--ink);
  padding:11px 14px;border:1px solid var(--line);border-radius:var(--r-btn);
  background:var(--white);transition:border-color .18s ease,box-shadow .18s ease;
}
.vbp-legacy .field textarea{min-height:130px;resize:vertical;line-height:1.55}
.vbp-legacy .field input:focus, .vbp-legacy .field select:focus, .vbp-legacy .field textarea:focus{outline:none;border-color:var(--green);box-shadow:0 0 0 3px rgba(53,122,56,.14)}
.vbp-legacy .field .counter{text-align:right;font-size:.85rem;color:var(--muted);margin-top:.25rem}
.vbp-legacy .hp{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}
.vbp-legacy .wish-form .btn{width:100%;padding:13px 24px}
.vbp-legacy .form-msg{margin-top:.9rem;font-size:.98rem;border-radius:var(--r-btn);padding:.7rem .9rem;display:none}
.vbp-legacy .form-msg.ok{display:block;background:var(--mint);color:var(--green-dark);border-left:3px solid var(--green)}
.vbp-legacy .form-msg.err{display:block;background:#fdf1ed;color:#a4462c;border-left:3px solid var(--terracotta)}

.vbp-legacy .wish-grid{column-count:2;column-gap:1.25rem}
.vbp-legacy .wish{background:var(--white);border-radius:var(--r-md);box-shadow:var(--shadow);padding:1.5rem 1.4rem;margin:0 0 1.25rem;break-inside:avoid;animation:rise .4s ease both}
@media(max-width:560px){.vbp-legacy .wish-grid{column-count:1}}
.vbp-legacy .wish__msg{font-size:1.02rem;color:var(--ink);margin:0 0 1.1rem;white-space:pre-wrap;overflow-wrap:anywhere}
.vbp-legacy .wish__foot{border-top:1px solid var(--line);padding-top:.85rem;font-size:.95rem;line-height:1.5;color:var(--muted)}
.vbp-legacy .wish__name{font-weight:600;color:var(--ink)}
.vbp-legacy .wish--new{box-shadow:0 0 0 2px var(--green),var(--shadow-md)}
@keyframes rise{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
.vbp-legacy .wish-empty{grid-column:1/-1;text-align:center;padding:3.5rem 1.5rem;border-radius:var(--r-md);background:var(--white);box-shadow:var(--shadow);color:var(--muted)}
.vbp-legacy .wish-grid.is-busy{opacity:.45;transition:opacity .15s ease}

/* --- pagination --- */
.vbp-legacy .pager{display:flex;flex-wrap:wrap;gap:.4rem;justify-content:center;align-items:center;margin-top:2.2rem}
.vbp-legacy .pager__btn{
  font-family:var(--f-head);font-weight:500;font-size:14px;letter-spacing:.5px;
  min-width:42px;height:42px;padding:0 14px;border-radius:var(--r-btn);
  background:var(--white);color:var(--ink);border:1px solid var(--line);
  box-shadow:var(--shadow);cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:.35rem;
  transition:background .16s ease,color .16s ease,border-color .16s ease;
}
.vbp-legacy .pager__btn:hover:not(:disabled){border-color:var(--green);color:var(--green)}
.vbp-legacy .pager__btn:disabled{opacity:.4;cursor:default;box-shadow:none}
.vbp-legacy .pager__btn[aria-current="page"]{background:var(--green);color:#fff;border-color:var(--green);cursor:default}
.vbp-legacy .pager__gap{min-width:26px;text-align:center;color:var(--muted);user-select:none}
.vbp-legacy .pager__range{text-align:center;font-size:.95rem;color:var(--muted);margin:.9rem 0 0}
@media(max-width:520px){
  .vbp-legacy .pager__btn{min-width:38px;height:38px;padding:0 10px;font-size:13px}
  .vbp-legacy .pager__btn--edge span{display:none}
}

/* ============ CONTINUE ============ */
.vbp-legacy .continue__box{background:var(--white);border-radius:var(--r-lg);box-shadow:var(--shadow-md);padding:clamp(2rem,4vw,3.2rem);text-align:center}
.vbp-legacy .continue__box .btn-row{justify-content:center;margin-top:1.8rem}

/* ============ REVEAL ============ */
.vbp-legacy .reveal{opacity:0;transform:translateY(20px)}
.vbp-legacy .reveal.in{opacity:1;transform:none;transition:opacity .65s ease,transform .65s cubic-bezier(.2,.7,.3,1)}
@media(prefers-reduced-motion:reduce){
  .vbp-legacy .reveal, .vbp-legacy .reveal.in{opacity:1;transform:none;transition:none}
  .vbp-legacy html{scroll-behavior:auto}
  .vbp-legacy .wish{animation:none}
}

@media(max-width:880px){
  .vbp-legacy .hero__grid{grid-template-columns:1fr}
  .vbp-legacy .portrait{max-width:400px;margin-inline:auto}
  .vbp-legacy .nav__links{display:none}
}
