
:root{
  --maru-navy:#10243d;
  --maru-blue:#214d78;
  --maru-ink:#132238;
  --maru-muted:#66778d;
  --maru-line:#e4eaf0;
  --maru-soft:#f4f8fb;
  --maru-white:#fff;
}
.maru-hero,.maru-page-hero{padding:clamp(56px,8vw,112px) 0;position:relative}
.maru-hero:before,.maru-page-hero:before{content:"";position:absolute;z-index:-1;inset:0 50% 0 calc(50% - 50vw);width:100vw;background:linear-gradient(135deg,#f4f8fb 0%,#ffffff 58%,#edf4f8 100%)}
.maru-hero h1,.maru-page-hero h1{font-size:clamp(38px,5.5vw,74px);line-height:1.12;letter-spacing:-.045em;color:var(--maru-navy);margin:.25em 0}
.maru-page-hero h1{font-size:clamp(38px,5vw,64px)}
.maru-lead,.maru-page-hero>p{font-size:clamp(18px,2vw,23px);line-height:1.75;max-width:780px;color:#40536a}
.maru-eyebrow{font-size:12px;font-weight:800;letter-spacing:.18em;color:#53728e;text-transform:uppercase}
.maru-actions{display:flex;gap:10px;flex-wrap:wrap;margin:28px 0}
.maru-btn{display:inline-flex;padding:14px 22px;border-radius:999px;background:var(--maru-navy);color:#fff!important;text-decoration:none!important;font-weight:750}
.maru-btn-secondary{background:#fff;color:var(--maru-navy)!important;border:1px solid #cbd8e3}
.maru-chips{display:flex;gap:8px;flex-wrap:wrap;margin-top:32px}.maru-chips span{background:#fff;border:1px solid var(--maru-line);padding:8px 12px;border-radius:999px;font-size:14px;color:#34495e}
.maru-section{padding:clamp(52px,7vw,88px) 0}.maru-section h2{font-size:clamp(28px,3vw,42px);letter-spacing:-.035em;color:var(--maru-navy)}
.maru-section-head{margin-bottom:28px}.maru-section-head p{color:var(--maru-muted);font-size:18px}
.maru-soft{position:relative}.maru-soft:before{content:"";position:absolute;z-index:-1;inset:0 50% 0 calc(50% - 50vw);width:100vw;background:var(--maru-soft)}
.maru-grid{display:grid;gap:16px}.maru-grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}.maru-grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}.maru-grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.maru-card{display:flex;flex-direction:column;gap:10px;padding:26px;border:1px solid var(--maru-line);border-radius:18px;background:#fff;text-decoration:none!important;color:var(--maru-ink)!important;min-height:145px;box-shadow:0 8px 30px rgba(24,50,74,.045)}
.maru-card:hover{transform:translateY(-2px);box-shadow:0 14px 36px rgba(24,50,74,.09)}.maru-card b{font-size:20px}.maru-card span{color:var(--maru-muted);line-height:1.65}.maru-card-dark{background:var(--maru-navy);color:#fff!important}.maru-card-dark span{color:#dce7f0}
.maru-stat{padding:24px;border-left:3px solid #90adbf}.maru-stat strong{display:block;font-size:34px;color:var(--maru-navy);letter-spacing:-.04em}.maru-stat span{color:var(--maru-muted)}
.maru-note,.maru-factbox{padding:18px 20px;background:#f4f8fb;border-radius:12px;color:#536579;line-height:1.7;margin-top:24px}
.maru-hours{padding:28px;border-radius:20px;background:var(--maru-navy);color:#fff}.maru-hours p{font-size:18px;line-height:1.9}.maru-hours small{color:#d1dce7}
.maru-cta{margin:40px 0 80px;padding:clamp(34px,6vw,64px);border-radius:24px;background:var(--maru-navy);color:#fff}.maru-cta h2{color:#fff}.maru-cta p{color:#d6e1eb}
.maru-checks{display:grid;gap:12px}.maru-checks p{margin:0;padding:14px 16px;border-bottom:1px solid var(--maru-line)}
.maru-related{display:grid;gap:8px}.maru-related a{padding:12px 14px;border:1px solid var(--maru-line);border-radius:10px;text-decoration:none}
.maru-inline-cta{margin-top:48px;padding:28px;border:1px solid var(--maru-line);border-radius:18px}.maru-inline-cta>b,.maru-inline-cta>span{display:block}.maru-inline-cta>b{font-size:22px;color:var(--maru-navy)}.maru-inline-cta>span{color:var(--maru-muted);margin-top:6px}
.maru-doctor-photo{max-height:460px;width:auto;object-fit:contain;margin:auto;display:block}.maru-profile-list{line-height:1.85}.maru-profile-list li{margin-bottom:6px}
.maru-guide-hero{padding-bottom:44px}
details.wp-block-details{border-top:1px solid var(--maru-line);padding:16px 0}details.wp-block-details:last-of-type{border-bottom:1px solid var(--maru-line)}details.wp-block-details summary{font-weight:750;color:var(--maru-navy);cursor:pointer}
@media(max-width:900px){.maru-grid-4,.maru-grid-3{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.maru-grid-4,.maru-grid-3,.maru-grid-2{grid-template-columns:1fr}.maru-card{min-height:auto}.maru-hero,.maru-page-hero{padding:52px 0}.maru-actions .maru-btn{width:100%;justify-content:center}}


/* Blocksy's default singular hero duplicates our custom H1 sections. */
body.home .hero-section,
body.page .hero-section,
body.single-servein_service .hero-section,
body.single-servein_doctor .hero-section,
body.single-post .hero-section {
  display: none !important;
}

/* Give our content a consistent readable width even if the theme container changes. */
.maru-hero,
.maru-page-hero,
.maru-section,
.maru-cta {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* Cleaner menu spacing after replacing the old scaffold navigation. */
#header [data-id="menu"] > ul,
header [data-id="menu"] > ul {
  gap: 4px;
}


/* v1.5 long-form health content */
.maru-article{max-width:900px}
.maru-article-meta{margin-top:20px;font-size:13px;color:#718298}
.maru-bullet-list{margin:18px 0 34px;padding:0;list-style:none;display:grid;gap:10px}
.maru-bullet-list li{position:relative;padding:15px 18px 15px 44px;border:1px solid var(--maru-line);border-radius:12px;background:#fff;line-height:1.7}
.maru-bullet-list li:before{content:"•";position:absolute;left:20px;top:13px;font-size:22px;color:#6b8ca7}
.maru-check-list li:before{content:"✓";font-size:15px;top:17px}
.maru-parent-link{display:flex;justify-content:space-between;gap:18px;align-items:center;margin:38px 0;padding:18px 20px;border-radius:14px;background:var(--maru-soft)}
.maru-parent-link span{font-size:13px;font-weight:800;letter-spacing:.06em;color:#63788d}
.maru-parent-link a{font-weight:750;text-decoration:none}
.maru-evidence{margin-top:48px;padding:24px;border-top:1px solid var(--maru-line);border-bottom:1px solid var(--maru-line);background:#fbfcfd}
.maru-evidence p{font-size:14px;color:var(--maru-muted);line-height:1.7}
.maru-evidence ul{margin:14px 0 0;padding-left:20px}
.maru-evidence li{margin:8px 0;font-size:14px;line-height:1.55}
.maru-review-pending{margin-top:22px;padding:18px 20px;border-left:3px solid #9aafbf;background:#f6f9fb;color:#536579}
.maru-review-pending p{margin:.4em 0 0;line-height:1.7}
.maru-local-note{margin:30px 0;padding:20px;border:1px solid #d8e5ed;border-radius:14px;background:#f4f9fc}
.maru-local-note p{margin:.5em 0 0}
@media(max-width:640px){.maru-parent-link{align-items:flex-start;flex-direction:column}}

/* v1.8 visual package */
.maru-service-banner{max-width:1200px;margin:0 auto 24px;border-radius:22px;overflow:hidden;box-shadow:0 18px 48px rgba(24,50,74,.08)}
.maru-service-banner img{width:100%;height:auto;display:block}
@media(max-width:640px){.maru-service-banner{border-radius:14px;margin-bottom:8px}}

/* v1.8.2 mobile polish */
@media(max-width:640px){
  .maru-hero{padding:40px 0 44px}
  .maru-page-hero{padding:32px 0 38px}
  .maru-hero h1{
    font-size:34px;
    line-height:1.18;
    letter-spacing:-.035em;
    word-break:keep-all;
    overflow-wrap:normal;
  }
  .maru-page-hero h1{
    font-size:32px;
    line-height:1.2;
    letter-spacing:-.03em;
    word-break:keep-all;
  }
  .maru-lead,.maru-page-hero>p{
    font-size:17px;
    line-height:1.65;
  }
  .maru-service-banner{
    margin-top:0;
    border-radius:14px;
  }
  .maru-service-banner img{
    aspect-ratio:16/9;
    object-fit:cover;
  }
}

/* v1.9 full content package */
.maru-guide-visual{
  margin:0 0 34px;
  border-radius:18px;
  overflow:hidden;
  box-shadow:0 14px 38px rgba(24,50,74,.07);
}
.maru-guide-visual img{display:block;width:100%;height:auto}
.maru-article>p{font-size:18px;line-height:1.85;color:#33475b}
.maru-article h2{margin-top:50px}
.maru-article .maru-bullet-list{margin-top:18px}
@media(max-width:640px){
  .maru-guide-visual{margin-bottom:24px;border-radius:14px}
  .maru-article>p{font-size:16px;line-height:1.8}
  .maru-article h2{margin-top:38px}
}

/* v1.9.1 staging review guide hub */
.maru-guide-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:24px;
}
.maru-guide-card{
  background:#fff;
  border:1px solid rgba(24,50,74,.08);
  border-radius:18px;
  overflow:hidden;
  box-shadow:0 10px 28px rgba(24,50,74,.05);
}
.maru-guide-card-image{display:block;aspect-ratio:16/9;overflow:hidden;background:#eef4f8}
.maru-guide-card-image img{width:100%;height:100%;object-fit:cover;display:block}
.maru-guide-card-body{padding:22px}
.maru-guide-card-label{font-size:12px;font-weight:700;letter-spacing:.08em;color:#6b8094;margin-bottom:10px}
.maru-guide-card h2{font-size:22px;line-height:1.35;margin:0 0 12px}
.maru-guide-card h2 a{text-decoration:none;color:inherit}
.maru-guide-card p{font-size:15px;line-height:1.7;color:#55697d;margin:0 0 18px}
.maru-guide-more{font-weight:700;text-decoration:none}
@media(max-width:900px){
  .maru-guide-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:640px){
  .maru-guide-grid{grid-template-columns:1fr;gap:16px}
  .maru-guide-card-body{padding:18px}
  .maru-guide-card h2{font-size:20px}
}
