/* NILA v21.34 Homepage Order and Mobile Image Stability Fix */
:root{
  --v34-ink:#071b31;
  --v34-green:#075f3c;
  --v34-blue:#176fc2;
  --v34-gold:#d8a736;
  --v34-coral:#e56d42;
  --v34-muted:#53677e;
  --v34-line:rgba(7,27,49,.12);
  --v34-shadow:0 22px 60px rgba(7,27,49,.10);
}
body.page-home .v19-hero + .v34-category-preview,
body[data-nila-page="index"] .v19-hero + .v34-category-preview,
.v34-category-preview{
  display:block!important;
  background:#fff!important;
  padding:28px 0 34px!important;
  margin:0!important;
  border-top:1px solid rgba(7,27,49,.06)!important;
  position:relative!important;
  z-index:160!important;
}
.v34-category-inner{max-width:1220px!important;margin:0 auto!important;padding:0 24px!important;}
.v34-category-head{display:flex!important;align-items:flex-end!important;justify-content:space-between!important;gap:24px!important;margin-bottom:20px!important;}
.v34-category-head .kicker{display:inline-flex!important;margin-bottom:8px!important;color:var(--v34-green)!important;font-weight:950!important;letter-spacing:.08em!important;text-transform:uppercase!important;font-size:12px!important;}
.v34-category-head h2{font-family:Fraunces,Georgia,serif!important;font-size:clamp(34px,4vw,54px)!important;line-height:.96!important;letter-spacing:-.05em!important;color:var(--v34-ink)!important;margin:0 0 8px!important;max-width:760px!important;}
.v34-category-head p{font-size:16px!important;line-height:1.45!important;color:var(--v34-muted)!important;margin:0!important;max-width:680px!important;}
.v34-see-more{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:46px!important;padding:0 20px!important;border-radius:999px!important;border:1px solid rgba(7,95,60,.18)!important;background:#fff!important;color:var(--v34-green)!important;text-decoration:none!important;font-weight:950!important;box-shadow:0 12px 30px rgba(7,27,49,.06)!important;white-space:nowrap!important;}
.v34-see-more:hover{background:rgba(7,95,60,.06)!important;transform:translateY(-1px)!important;}
.v34-home-cat-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:22px!important;}
.v34-home-cat-card{display:flex!important;flex-direction:column!important;text-decoration:none!important;color:var(--v34-ink)!important;background:#fff!important;border:1px solid var(--v34-line)!important;border-radius:30px!important;overflow:hidden!important;box-shadow:var(--v34-shadow)!important;min-width:0!important;position:relative!important;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease!important;}
.v34-home-cat-card:hover,.v34-home-cat-card:focus-visible{transform:translateY(-4px)!important;box-shadow:0 30px 82px rgba(7,27,49,.15)!important;border-color:rgba(7,95,60,.25)!important;outline:none!important;}
.v34-cat-media{height:260px!important;width:100%!important;background:linear-gradient(145deg,#fff,#f7fbff 52%,#fff7e7)!important;overflow:hidden!important;}
.v34-cat-media img{width:100%!important;height:100%!important;display:block!important;object-fit:cover!important;object-position:center!important;backface-visibility:hidden!important;transform:translateZ(0)!important;}
.v34-cat-body{padding:17px 20px 19px!important;border-top:1px solid rgba(7,27,49,.06)!important;background:#fff!important;min-height:108px!important;}
.v34-cat-body h3{font-family:Fraunces,Georgia,serif!important;font-size:27px!important;line-height:1!important;letter-spacing:-.025em!important;color:var(--v34-ink)!important;margin:0 0 8px!important;}
.v34-cat-body p{font-size:14.5px!important;line-height:1.4!important;color:var(--v34-muted)!important;margin:0 0 11px!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important;}
.v34-cat-body span{display:inline-flex!important;width:max-content!important;background:rgba(7,95,60,.08)!important;color:var(--v34-green)!important;border-radius:999px!important;padding:8px 12px!important;font-size:13px!important;line-height:1!important;font-weight:950!important;margin:0!important;}
.v34-flow-proof{background:linear-gradient(180deg,#fff 0%,#f8fbff 100%)!important;padding:42px 0 56px!important;border-top:1px solid rgba(7,27,49,.06)!important;}
.v34-flow-inner{max-width:1220px!important;margin:0 auto!important;padding:0 24px!important;}
.v34-flow-intro{max-width:900px!important;margin-bottom:24px!important;}
.v34-flow-intro .kicker{display:inline-flex!important;margin-bottom:8px!important;color:var(--v34-blue)!important;font-weight:950!important;letter-spacing:.08em!important;text-transform:uppercase!important;font-size:12px!important;}
.v34-flow-intro h2{font-family:Fraunces,Georgia,serif!important;font-size:clamp(34px,4vw,54px)!important;line-height:.98!important;letter-spacing:-.05em!important;color:var(--v34-ink)!important;margin:0 0 10px!important;}
.v34-flow-intro p{font-size:16px!important;line-height:1.5!important;color:var(--v34-muted)!important;margin:0!important;max-width:780px!important;}
.v34-flow-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:18px!important;}
.v34-flow-grid article{background:#fff!important;border:1px solid var(--v34-line)!important;border-radius:28px!important;padding:22px!important;box-shadow:0 18px 48px rgba(7,27,49,.07)!important;min-height:176px!important;}
.v34-flow-grid b{width:44px!important;height:44px!important;border-radius:16px!important;display:grid!important;place-items:center!important;color:#fff!important;font-size:18px!important;margin-bottom:14px!important;background:var(--v34-green)!important;}
.v34-flow-grid article:nth-child(2) b{background:var(--v34-blue)!important;}
.v34-flow-grid article:nth-child(3) b{background:var(--v34-gold)!important;color:var(--v34-ink)!important;}
.v34-flow-grid article:nth-child(4) b{background:var(--v34-coral)!important;}
.v34-flow-grid h3{font-size:18px!important;line-height:1.15!important;margin:0 0 8px!important;color:var(--v34-ink)!important;font-weight:950!important;}
.v34-flow-grid p{font-size:14.5px!important;line-height:1.45!important;color:var(--v34-muted)!important;margin:0!important;}
.v34-trust-band{display:flex!important;flex-wrap:wrap!important;gap:10px!important;margin-top:18px!important;}
.v34-trust-band span{display:inline-flex!important;align-items:center!important;border:1px solid var(--v34-line)!important;background:#fff!important;border-radius:999px!important;padding:10px 13px!important;color:var(--v34-ink)!important;font-weight:900!important;font-size:13px!important;}
/* hard-hide older separate home explainer sections if scripts reinsert them */
body.page-home section:has(.v19-section-head .kicker),
body[data-nila-page="index"] section:has(.v19-section-head .kicker){ }
body.v34-home-fixed .v19-section.alt:has(.v19-feature-grid),
body.v34-home-fixed .v19-section:has(.v19-steps),
body.v34-home-fixed #v32HomeFlowProof{display:none!important;}
body.v34-home-fixed #nilaCategorySection:not(.v34-category-preview){display:none!important;}
@media(max-width:980px){
  .v34-home-cat-grid{grid-template-columns:1fr!important;gap:18px!important;}
  .v34-cat-media{height:240px!important;}
  .v34-flow-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
}
@media(max-width:760px){
  .v34-category-preview{padding:20px 0 26px!important;}
  .v34-category-inner,.v34-flow-inner{padding:0 16px!important;}
  .v34-category-head{display:block!important;margin-bottom:16px!important;}
  .v34-category-head h2{font-size:34px!important;}
  .v34-category-head p{font-size:14.5px!important;}
  .v34-see-more{width:100%!important;margin-top:14px!important;}
  .v34-home-cat-card{display:grid!important;grid-template-columns:112px 1fr!important;align-items:center!important;min-height:126px!important;border-radius:24px!important;}
  .v34-cat-media{height:126px!important;min-height:126px!important;}
  .v34-cat-body{padding:14px!important;min-height:0!important;border-top:0!important;}
  .v34-cat-body h3{font-size:23px!important;margin-bottom:6px!important;}
  .v34-cat-body p{font-size:13.5px!important;line-height:1.35!important;margin-bottom:8px!important;}
  .v34-cat-body span{font-size:12px!important;padding:7px 10px!important;}
  .v34-flow-proof{padding:32px 0 42px!important;}
  .v34-flow-intro h2{font-size:34px!important;}
  .v34-flow-grid{grid-template-columns:1fr!important;gap:12px!important;}
  .v34-flow-grid article{min-height:0!important;padding:18px!important;}
  /* stop mobile image flicker caused by repeated repainting */
  .v19-discover img,.v34-cat-media img,#nilaCategorySection img{animation:none!important;transition:none!important;will-change:auto!important;}
}
