/* CrecheFinder site-wide design: header, footer, inner pages (loads on every page) */
/* ============ CrecheFinder site design: header, hero, footer ============ */
/* Sticky white header */
header.wp-block-template-part{position:sticky;top:0;z-index:200;background:#ffffff;box-shadow:0 2px 14px rgba(13,59,55,.10)}
header.wp-block-template-part .wp-block-navigation a{color:#0f3d39;font-weight:600}
header.wp-block-template-part .wp-block-navigation a:hover{color:#0f766e}

/* Hide the theme's page title on the front page — the hero banner carries it */
body.home .wp-block-post-title{display:none}
/* Kill the empty title wrapper's padding + main top margin on home (the "gray banner" gap) */
body.home main.wp-block-group{margin-top:0 !important}
body.home main > .wp-block-group.alignfull:first-child{padding-top:0 !important;padding-bottom:0 !important}

/* Designed footer */
footer.wp-block-template-part{background:#0d3b37;color:#d7f3ef;margin-top:56px;margin-bottom:0 !important;padding:52px 0 30px;font-weight:400}
footer.wp-block-template-part p,footer.wp-block-template-part li,footer.wp-block-template-part a,footer.wp-block-template-part span{font-weight:400}
.wp-site-blocks{padding-bottom:0 !important}
footer.wp-block-template-part .wp-block-columns{max-width:1200px;margin:0 auto;padding:0 24px;gap:48px}
footer.wp-block-template-part a{color:#99f6e4}
footer.wp-block-template-part a:hover{color:#fff}
footer.wp-block-template-part .wp-block-heading,footer.wp-block-template-part h1,footer.wp-block-template-part h2,footer.wp-block-template-part h3,footer.wp-block-template-part h4{color:#fff}
footer.wp-block-template-part .wp-block-site-logo img{background:#fff;border-radius:12px;padding:8px;width:150px;height:auto}
@media(max-width:640px){.cf-hero{padding:56px 18px 48px}.cf-hero .cf-title{font-size:1.9rem}}

/* Inner pages (About, Contact, Privacy, Refund): mini hero banner + card content */
body.page:not(.home) main > .wp-block-group.alignfull:first-child{
  background:linear-gradient(100deg,rgba(13,59,55,.94),rgba(15,118,110,.85));
  width:100vw;max-width:100vw;margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw);
  padding-top:54px !important;padding-bottom:54px !important;margin-bottom:36px;
}
body.page:not(.home) .wp-block-post-title{color:#fff !important;text-align:center;font-size:2.2rem;margin:0;line-height:1.2}
body.page:not(.home) .entry-content{
  background:#fff;border:1px solid #e2e8f0;border-radius:16px;
  max-width:880px;margin-left:auto !important;margin-right:auto !important;
  padding:36px 40px;margin-bottom:0 !important;box-shadow:0 10px 30px rgba(13,59,55,.08);
}
/* No white gap between content card and footer on inner pages */
body.page:not(.home) footer.wp-block-template-part{margin-top:36px}
body.page:not(.home) .entry-content h2,body.page:not(.home) .entry-content h3{color:#0f766e}
@media(max-width:640px){body.page:not(.home) .entry-content{padding:24px 20px}body.page:not(.home) .wp-block-post-title{font-size:1.7rem}}
