/* Clear Minds Counselors theme integration: keep the SEO landing page centered and remove the legacy WordPress page header/title above the shortcode. */
body.cmc-fmla-landing .site-content,
body.cmc-fmla-landing .site-content .content-area,
body.cmc-fmla-landing .site-content .inside-article,
body.cmc-fmla-landing .site-content .entry-content {
  width: 100%;
  max-width: none;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}
body.cmc-fmla-landing .site-content .content-area {
  float: none;
}
body.cmc-fmla-landing .site-content .entry-header {
  display: none !important;
}
body.cmc-fmla-landing .cmc-fmla-page {
  width: min(1180px, calc(100% - 44px));
  max-width: 1180px;
  margin: 0 auto !important;
  box-sizing: border-box;
}
body.cmc-fmla-landing .cmc-fmla-page > * {
  box-sizing: border-box;
}
@media (max-width: 600px) {
  body.cmc-fmla-landing .cmc-fmla-page {
    width: calc(100% - 32px);
  }
}

.cmc-fmla-page{max-width:1180px;margin:0 auto;padding:18px 22px 60px;color:#23313b;font-family:inherit;line-height:1.72}.cmc-fmla-page h1,.cmc-fmla-page h2,.cmc-fmla-page h3{line-height:1.2;color:#183b4a}.cmc-fmla-page h1{font-size:clamp(2.25rem,4vw,4rem);margin:.3rem 0 1rem}.cmc-fmla-page h2{font-size:clamp(1.75rem,2.7vw,2.55rem);margin:.35rem 0 1rem}.cmc-fmla-page h3{font-size:1.2rem}.cmc-fmla-breadcrumb{display:flex;gap:9px;flex-wrap:wrap;font-size:.9rem;margin:5px 0 22px}.cmc-fmla-breadcrumb a{color:#176b72}.cmc-fmla-hero{display:grid;grid-template-columns:1.08fr .92fr;gap:42px;align-items:center;margin-bottom:52px}.cmc-fmla-hero figure,.cmc-fmla-callout figure,.cmc-fmla-grid-2 figure{margin:0}.cmc-fmla-hero img,.cmc-fmla-callout img,.cmc-fmla-grid-2 img{width:100%;height:auto;display:block;border-radius:22px;box-shadow:0 12px 32px rgba(0,0,0,.12)}.cmc-fmla-eyebrow{display:inline-block;font-size:.76rem;font-weight:800;letter-spacing:.12em;color:#1a7375;margin-bottom:8px}.cmc-fmla-lead{font-size:1.16rem}.cmc-fmla-ctas{display:flex;gap:12px;flex-wrap:wrap;margin:24px 0}.cmc-fmla-btn{display:inline-block;padding:13px 20px;border-radius:8px;text-decoration:none!important;font-weight:800;transition:.2s ease}.cmc-fmla-btn.primary{background:#1b6f73;color:#fff!important}.cmc-fmla-btn.secondary{border:2px solid #1b6f73;color:#1b6f73!important;background:#fff}.cmc-fmla-trust{font-size:.88rem;font-weight:700;color:#61717a}.cmc-fmla-answer{display:grid;grid-template-columns:1.45fr .75fr;gap:30px;padding:34px;border-radius:20px;background:#edf7f6;margin:20px 0 55px}.cmc-fmla-answer aside{background:#fff;border-radius:16px;padding:24px;align-self:start;box-shadow:0 8px 22px rgba(0,0,0,.07)}.cmc-fmla-section{margin:58px 0}.cmc-fmla-grid-2{display:grid;grid-template-columns:1fr 1fr;gap:42px;align-items:center}.cmc-fmla-checklist{padding-left:1.3rem}.cmc-fmla-checklist li{margin:14px 0}.cmc-fmla-note{padding:16px 18px;border-left:4px solid #1b6f73;background:#f5f8f8}.cmc-fmla-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.cmc-fmla-cards>div{padding:23px;border:1px solid #dce7e7;border-radius:15px;background:#fff;box-shadow:0 5px 18px rgba(0,0,0,.05)}.cmc-fmla-callout{display:grid;grid-template-columns:1fr .8fr;gap:32px;align-items:center;background:#f6f3ed;border-radius:22px;padding:32px;margin:60px 0}.cmc-fmla-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}.cmc-fmla-steps>div{padding:22px;border-top:4px solid #1b6f73;background:#fafcfc;border-radius:0 0 14px 14px}.cmc-fmla-steps b{font-size:1.7rem;color:#1b6f73}.cmc-fmla-fact{display:grid;grid-template-columns:1fr 1.4fr;gap:8px 18px;padding:28px;border-radius:18px;background:#edf7f6}.cmc-fmla-fact strong{font-size:2rem;color:#1b6f73}.cmc-fmla-faq-section{margin:60px 0}.cmc-fmla-faq{border-bottom:1px solid #d9e3e3;padding:0}.cmc-fmla-faq summary{cursor:pointer;padding:18px 2px;font-weight:800;color:#183b4a}.cmc-fmla-faq div{padding:0 2px 18px}.cmc-fmla-question-list{display:grid;grid-template-columns:1fr 1fr;gap:8px 35px}.cmc-fmla-question-list p{margin:0;padding:11px 0;border-bottom:1px solid #e4ecec}.cmc-fmla-disclaimer{font-size:.88rem;background:#f6f7f7;border:1px solid #e0e5e5;border-radius:14px;padding:20px;margin:50px 0}.cmc-fmla-final-cta{text-align:center;padding:48px 24px;border-radius:22px;background:#183b4a;color:#fff}.cmc-fmla-final-cta h2{color:#fff}.cmc-fmla-final-cta .cmc-fmla-eyebrow{color:#b8e3df}.cmc-fmla-final-cta .cmc-fmla-btn.primary{background:#fff;color:#183b4a!important}.cmc-fmla-small{font-size:.82rem;opacity:.86}.cmc-fmla-page a{color:#176b72}.cmc-fmla-page .cmc-fmla-final-cta a{color:inherit}@media(max-width:900px){.cmc-fmla-hero,.cmc-fmla-grid-2,.cmc-fmla-answer,.cmc-fmla-callout{grid-template-columns:1fr}.cmc-fmla-cards,.cmc-fmla-steps{grid-template-columns:1fr 1fr}.cmc-fmla-question-list{grid-template-columns:1fr}}@media(max-width:600px){.cmc-fmla-page{padding-left:16px;padding-right:16px}.cmc-fmla-cards,.cmc-fmla-steps{grid-template-columns:1fr}.cmc-fmla-hero{gap:25px}.cmc-fmla-answer,.cmc-fmla-callout{padding:23px}.cmc-fmla-btn{width:100%;text-align:center;box-sizing:border-box}}

/* v1.0.4 responsive branded FMLA hero; other page sections are unchanged. */
.cmc-fmla-image-hero{margin:0 0 48px}
.cmc-fmla-banner-link{display:block;width:100%;border-radius:20px;overflow:hidden;line-height:0;box-shadow:0 12px 32px rgba(10,40,55,.12)}
.cmc-fmla-banner-link img{display:block;width:100%;height:auto;max-width:100%;border:0}
.cmc-fmla-banner-link:focus-visible{outline:4px solid #008b85;outline-offset:5px}
.cmc-fmla-banner-after{padding:16px 2px 0;max-width:950px}
.cmc-fmla-banner-after>p:first-child{font-size:1.08rem;line-height:1.7}
.cmc-fmla-visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
@media(max-width:680px){.cmc-fmla-banner-link{border-radius:14px}.cmc-fmla-image-hero{margin-bottom:32px}.cmc-fmla-banner-after{padding-top:12px}}

.cmc-fmla-network .cmc-fmla-state-directory{grid-template-columns:repeat(4,minmax(0,1fr))}.cmc-fmla-network .cmc-fmla-state-directory>div{padding:14px}.cmc-fmla-network .cmc-fmla-section a{overflow-wrap:anywhere}@media(max-width:850px){.cmc-fmla-network .cmc-fmla-state-directory{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* v1.1.0 full-width GeneratePress layout, scoped only to FMLA Network pages */
body.cmc-fmla-landing .site.grid-container,body.cmc-fmla-landing #page,body.cmc-fmla-landing #content,body.cmc-fmla-landing .site-content,body.cmc-fmla-landing .content-area,body.cmc-fmla-landing #primary,body.cmc-fmla-landing .inside-article,body.cmc-fmla-landing .entry-content{max-width:none!important;width:100%!important;float:none!important;box-sizing:border-box!important}
body.cmc-fmla-landing .inside-article{padding:0!important;background:transparent!important}
body.cmc-fmla-landing .cmc-fmla-page{width:min(1180px,calc(100% - 32px))!important;max-width:1180px!important;margin:0 auto!important;padding:20px 0 60px!important}
.cmc-fmla-cities{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.cmc-fmla-cities>div{background:#edf7f6;padding:16px 20px;border-radius:12px}.cmc-fmla-cities span{display:block;font-size:.88rem;color:#45616a}
@media(max-width:680px){.cmc-fmla-cities{grid-template-columns:1fr}body.cmc-fmla-landing .cmc-fmla-page{width:calc(100% - 26px)!important}}

/* v1.2: center the entire FMLA content region, matching the approved Florida landing page. */
body.cmc-fmla-landing #page,body.cmc-fmla-landing #content,body.cmc-fmla-landing .site-content,body.cmc-fmla-landing #primary,body.cmc-fmla-landing .content-area,body.cmc-fmla-landing .inside-article,body.cmc-fmla-landing .entry-content{margin-left:auto!important;margin-right:auto!important;}
body.cmc-fmla-landing .cmc-fmla-network.cmc-fmla-page{display:block!important;position:relative;left:auto!important;right:auto!important;width:min(1180px,calc(100% - 44px))!important;max-width:1180px!important;margin-inline:auto!important;}
@media(max-width:680px){body.cmc-fmla-landing .cmc-fmla-network.cmc-fmla-page{width:calc(100% - 28px)!important;}}


/* v1.3.2: Restore normal document flow. No JavaScript translation,
   no viewport positioning, and no clipping of page text. */
body.cmc-fmla-landing #page,
body.cmc-fmla-landing .site.grid-container,
body.cmc-fmla-landing #content,
body.cmc-fmla-landing .site-content,
body.cmc-fmla-landing #primary,
body.cmc-fmla-landing .content-area,
body.cmc-fmla-landing .inside-article,
body.cmc-fmla-landing .entry-content {
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  float:none!important;
  clear:both!important;
  margin-left:auto!important;
  margin-right:auto!important;
  box-sizing:border-box!important;
  transform:none!important;
  left:auto!important;
  right:auto!important;
}
body.cmc-fmla-landing #page,
body.cmc-fmla-landing #content,
body.cmc-fmla-landing .site-content,
body.cmc-fmla-landing .inside-article,
body.cmc-fmla-landing .entry-content {overflow:visible!important;}
body.cmc-fmla-landing .inside-article {padding:0!important;background:transparent!important;}
body.cmc-fmla-landing .cmc-fmla-network.cmc-fmla-page {
  position:static!important;
  display:block!important;
  transform:none!important;
  left:auto!important;
  right:auto!important;
  width:calc(100% - 36px)!important;
  max-width:1394px!important;
  margin:0 auto!important;
  padding:18px 0 65px!important;
  box-sizing:border-box!important;
}
body.cmc-fmla-landing .cmc-fmla-network .cmc-fmla-photo-hero {
  position:relative;
  height:612px;
  min-height:612px;
  box-sizing:border-box;
  background:#18394b url('cmc-homepage-brain-hero.png') center center/cover no-repeat;
  border-radius:0;
  display:flex;
  align-items:center;
  isolation:isolate;
  overflow:hidden;
  color:#fff;
}
body.cmc-fmla-landing .cmc-fmla-network .cmc-fmla-photo-hero:before {
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  background:linear-gradient(90deg,rgba(13,42,62,.96) 0%,rgba(13,42,62,.91) 31%,rgba(13,42,62,.66) 49%,rgba(13,42,62,.07) 77%);
}
body.cmc-fmla-landing .cmc-fmla-photo-content {
  width:min(710px,66%);
  padding:45px 0 42px 48px;
  box-sizing:border-box;
}
.cmc-fmla-photo-kicker {font-size:12px;letter-spacing:.14em;font-weight:800;color:#e8ffff}
.cmc-fmla-photo-title {color:#fff!important;font-family:Georgia,serif!important;font-size:clamp(38px,4.7vw,66px)!important;line-height:1.07!important;margin:16px 0!important;letter-spacing:-.025em}
.cmc-fmla-photo-subtitle {color:#fff;font-size:clamp(16px,1.65vw,22px);line-height:1.35;margin:0 0 22px}
.cmc-fmla-photo-benefits {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 18px;max-width:570px;margin:20px 0 24px}
.cmc-fmla-photo-benefits span {font-size:15px;font-weight:700;line-height:1.25;padding-left:20px;position:relative}
.cmc-fmla-photo-benefits span:before {content:'✓';position:absolute;left:0;color:#a5e6d5}
.cmc-fmla-photo-cta {display:inline-block;background:#329e9c!important;border-radius:7px;padding:14px 19px;font-weight:800;color:white!important;text-decoration:none!important;font-size:16px}
.cmc-fmla-photo-trust {display:flex;flex-wrap:wrap;gap:8px 16px;margin-top:20px;font-size:12px;line-height:1.35;color:#fff;font-weight:650}
@media(max-width:760px){
  body.cmc-fmla-landing .cmc-fmla-network.cmc-fmla-page{width:calc(100% - 28px)!important}
  body.cmc-fmla-landing .cmc-fmla-network .cmc-fmla-photo-hero{height:auto;min-height:540px;border-radius:14px;align-items:flex-end;background-position:65% center}
  body.cmc-fmla-landing .cmc-fmla-network .cmc-fmla-photo-hero:before{background:linear-gradient(0deg,rgba(13,42,62,.98) 0%,rgba(13,42,62,.95) 43%,rgba(13,42,62,.15) 100%)}
  body.cmc-fmla-landing .cmc-fmla-photo-content{width:100%;padding:26px 22px}
  .cmc-fmla-photo-title{font-size:clamp(34px,8vw,52px)!important}
  .cmc-fmla-photo-benefits span{font-size:13px}
  .cmc-fmla-photo-cta{font-size:14px;padding:13px}
  .cmc-fmla-photo-trust{font-size:11px}
}

/* v1.3.3: Normalize the entire GeneratePress shortcode ancestry, not
   merely the banner. Prevent theme content width/padding from anchoring
   the FMLA page to the left of the viewport. */
body.cmc-fmla-landing #page,
body.cmc-fmla-landing #page.site,
body.cmc-fmla-landing #page.grid-container,
body.cmc-fmla-landing #content,
body.cmc-fmla-landing #content.site-content,
body.cmc-fmla-landing #primary,
body.cmc-fmla-landing #primary.content-area,
body.cmc-fmla-landing #main,
body.cmc-fmla-landing #main.site-main,
body.cmc-fmla-landing article.type-page,
body.cmc-fmla-landing article .inside-article,
body.cmc-fmla-landing article .entry-content {
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin-left:0!important;
  margin-right:0!important;
  padding-left:0!important;
  padding-right:0!important;
  float:none!important;
  left:auto!important;
  right:auto!important;
  transform:none!important;
  box-sizing:border-box!important;
}
body.cmc-fmla-landing .cmc-fmla-network.cmc-fmla-page {
  display:block!important;
  width:calc(100% - 40px)!important;
  max-width:1394px!important;
  margin:0 auto!important;
  padding:18px 0 65px!important;
  float:none!important;
  left:auto!important;
  right:auto!important;
  transform:none!important;
  box-sizing:border-box!important;
}
@media(max-width:760px){body.cmc-fmla-landing .cmc-fmla-network.cmc-fmla-page{width:calc(100% - 28px)!important}}

/* v1.3.4: Delaware-approved, normal-flow centering for ALL plugin-owned pages.
   GeneratePress no-sidebar is enforced in PHP; avoid left:50% translations. */
body.cmc-fmla-landing #primary,
body.cmc-fmla-landing #main,
body.cmc-fmla-landing .inside-article,
body.cmc-fmla-landing .entry-content {
  float:none!important; width:100%!important; max-width:none!important;
  min-width:0!important; box-sizing:border-box!important;
}
body.cmc-fmla-landing .cmc-fmla-network.cmc-fmla-page {
  position:static!important; left:auto!important; right:auto!important;
  transform:none!important; display:block!important;
  width:calc(100% - 40px)!important; max-width:1394px!important;
  margin-left:auto!important; margin-right:auto!important;
  box-sizing:border-box!important;
}
@media(max-width:767px){
 body.cmc-fmla-landing .cmc-fmla-network.cmc-fmla-page{width:calc(100% - 28px)!important}
}
