

/* Full-width sections  make wp:html blocks break out of content container */
/* Override WordPress layout constraints  full-width sections */
.entry-content.is-layout-constrained > *,
.wp-block-post-content.is-layout-constrained > * {
	  max-width: none !important;
	  margin-left: 0 !important;
	  margin-right: 0 !important;
}

/* Remove default padding on no-title pages */
.page-template-page-no-title .wp-block-post-content {
	  padding-left: 0;
	  padding-right: 0;
}.wp-block-post-content > .wp-block-html,
.entry-content > .wp-block-html {
	  margin-left: calc(-50vw + 50%);
	  width: 100vw;
	  max-width: 100vw;
}

/* Remove default post content padding/max-width on no-title template */
.page-template-page-no-title .wp-block-post-content {
	  max-width: none;
	  padding-left: 0;
	  padding-right: 0;
}

}
}

/* === accessibility-contrast-fix ===
 * WCAG AA colour-contrast fixes applied 2026-05-27
 * 1. Green CTA buttons: #10b981 → #047857 (white text ratio ~4.8:1)
 * 2. Muted body text: #6b7a90 → #4a5568 (ratio ≥4.5:1 on light bg)
 * 3. Green-on-green badge text: #059669 on #dff5ec → #065f46 (ratio ≥4.5:1)
 */
[style*="background:#10b981"],[style*="background-color:#10b981"]{background-color:#047857!important;color:#ffffff!important;}
[style*="background:#10b981"] *,[style*="background-color:#10b981"] *{color:#ffffff!important;}
[style*="color:#6b7a90"],[style*="color: #6b7a90"]{color:#4a5568!important;}
[style*="color:#6b7280"]{color:#4a5568!important;}
[style*="color:#059669"]{color:#065f46!important;}
.elementor-widget-text-editor p[style*="color:#6b7"]{color:#4a5568!important;}
.trueline-muted{color:#4a5568!important;}
/* === end accessibility-contrast-fix === */


/* === accessibility-contrast-fix-2 ===
 * Additional WCAG AA fixes 2026-05-27
 * 4. Very light grey labels (#9aa6b8) on white → #64748b (ratio 4.55:1)
 * 5. Green CTA buttons via background-color shorthand
 * 6. Body text on navy sections (#475569, #5b6682 on #15244d → #94a3b8)
 * 7. Amber badge (#b45309 on #fdf0dd) → #92400e (ratio ≥4.5:1)
 */
[style*="color:#9aa6b8"],[style*="color: #9aa6b8"]{color:#64748b!important;}
[style*="background:#10b981"]{background-color:#047857!important;}
[style*="background-color:#10b981"]{background-color:#047857!important;}
[style*="background: #10b981"]{background-color:#047857!important;}
[style*="color:#b45309"]{color:#92400e!important;}
/* === end accessibility-contrast-fix-2 === */

/* === footer-text-contrast-fix ===
 * Footer template-part: ensure paragraphs/links without explicit inline color
 * use accessible #94a3b8 on the navy background (ratio ≥4.5:1 on #15244d)
 * Needed because explicit CSS paragraph color rules beat CSS inheritance.
 */
footer.wp-block-template-part p:not([style*="color"]),
footer.wp-block-template-part li:not([style*="color"]),
footer.wp-block-template-part a:not([style*="color"]){
  color:#94a3b8!important;
}
/* Also fix inline #5b6682 text on navy backgrounds (Elementor homepage sections) */
.elementor-widget-text-editor [style*="color:#5b6682"]{
  color:#94a3b8!important;
}
/* === end footer-text-contrast-fix === */


/* ── mobile nav + report card: force !important ── */
@media(max-width:768px){
  .tl-nav-links{display:none !important;}
  .tl-hamburger{display:flex !important;flex-direction:column !important;}
  .tl-hamburger ~ div:not(.tl-mobile-menu){display:none !important;}
  .wp-block-navigation__responsive-container-open{display:flex !important;}
  .wp-block-navigation:not(.is-menu-open) > .wp-block-navigation__container{display:none !important;}
}
/* ── report card rows ── */
@media(max-width:768px){
  [style*="display: flex; align-items: center; gap: 14px; padding: 15px"]{flex-wrap:wrap !important;gap:8px !important;}
  [style*="margin-left: auto; font-size: 18px"]{margin-left:19px !important;font-size:15px !important;}
  [style*="font-size: 14px; font-weight: 700; color: #15244d"]{font-size:13px !important;}
}
/* ── sibling selector fix ── */
@media(max-width:768px){
  .tl-hamburger ~ div:not(.tl-mobile-menu){display:none !important;}
}
/* ── report card rows: fix mobile layout ── */
@media (max-width: 768px) {
  [style*="display: flex; align-items: center; gap: 14px; padding: 15px"] {
    flex-wrap: wrap !important;
    gap: 8px !important;
  }
  [style*="margin-left: auto; font-size: 18px"] {
    margin-left: 19px !important;
    font-size: 16px !important;
  }
  [style*="font-size: 14px; font-weight: 700; color: #15244d"] {
    font-size: 13px !important;
  }
  [style*="font-size: 12.5px; color: #6b7a90"] {
    font-size: 11px !important;
  }
}

/* ── mobile CTA hide (sibling selector fix) ── */
@media(max-width:768px){
  .tl-hamburger ~ div:not(.tl-mobile-menu){display:none !important;}
}