/* Builder's blue and pink surfaces, with darker text for readable contrast. */
body.lm-site{
  --background:330 40% 98%;--foreground:207 60% 18%;
  --card-foreground:207 60% 18%;--popover-foreground:207 60% 18%;
  --secondary:340 60% 95%;--secondary-foreground:207 60% 18%;
  --muted:200 30% 95%;--muted-foreground:210 18% 40%;
  --accent:340 65% 88%;--accent-foreground:207 60% 18%;
  --border:340 25% 90%;--input:340 25% 90%;--ring:200.63 73.56% 34.12%;
  --lm-ink:hsl(var(--foreground));
}
body.lm-site main .text-primary{color:var(--lm-link-color,#176b97)}
#lm-header .lm-desktop-navigation a:hover,#lm-header .lm-desktop-navigation .current-menu-item>a{color:#176b97}
#lm-header .lm-mobile-navigation .lm-button{color:hsl(var(--primary-foreground))}
#contact{scroll-margin-top:120px}
body.lm-site main :is(h1,h2,h3,p,li){overflow-wrap:break-word}

/* Protected 1.0.10 components keep their original palette and spacing. */
body.lm-site .lm-home-hero,
body.lm-site #lm-invite-form,
body.lm-view-donate #main-content,
body.lm-view-gallery #main-content,
body.lm-view-shop #main-content,
body.woocommerce-page #main-content{
  --background:0 0% 100%;--foreground:204 56% 20%;
  --card:0 0% 100%;--card-foreground:204 56% 20%;
  --popover:0 0% 100%;--popover-foreground:204 56% 20%;
  --primary:200.63 73.56% 34.12%;--primary-foreground:0 0% 100%;
  --secondary:201 70% 96%;--secondary-foreground:204 56% 20%;
  --accent:338 70% 96%;--accent-foreground:335 46% 31%;
  --muted:204 30% 96%;--muted-foreground:204 21% 37%;
  --border:203 34% 86%;--input:203 34% 79%;--ring:200.63 73.56% 34.12%;
  --lm-ink:hsl(var(--foreground));--lm-link-color:#176b97;--lm-rose-deep:#a33d68;
}
body.lm-view-donate #main-content,body.lm-view-gallery #main-content,body.lm-view-shop #main-content,body.woocommerce-page #main-content{background:#fff;color:var(--lm-ink)}
body.lm-site #lm-invite-form .text-primary{color:hsl(var(--primary))}
body.lm-site #lm-invite-form{color:var(--lm-ink)}

/* Footer follows the simplified Builder layout on every page. */
#lm-footer{--background:330 40% 98%;--foreground:207 60% 18%;--primary-foreground:207 60% 18%;--lm-ink:hsl(var(--foreground));background:var(--lm-footer-color)}
#lm-footer .lm-footer-base{background:var(--lm-footer-color);color:#fff}
#lm-footer .lm-footer-brand img{width:88px;height:88px}
#lm-footer .lm-footer-credit{max-width:100%;overflow-wrap:anywhere}
#lm-footer .lm-footer-credit span{color:#fff}

/* One language per edition, with every supplied page retained. */
body.lm-site .lm-newsletter-pages{max-width:760px}
body.lm-site .lm-newsletter-pages-multiple{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;max-width:none}
body.lm-site .lm-newsletter-page{min-width:0;margin:0}
body.lm-site .lm-newsletter-page figcaption{margin-top:10px;color:hsl(var(--muted-foreground));font-size:14px}
body.lm-site .lm-newsletter-month>h2,body.lm-site .lm-newsletter-open{color:var(--lm-link-color,#176b97)}
body.lm-site .lm-trp-languages{max-width:150px}
body.lm-site .lm-compact-languages a{display:inline-flex;align-items:center;justify-content:center;min-width:32px;min-height:36px;padding:4px;border-radius:8px;color:#176b97;font-size:12px;font-weight:600}
body.lm-site .lm-compact-languages a[aria-current="true"]{background:#fbeaf1;color:#123149}
@media(max-width:767px){body.lm-site .lm-newsletter-pages-multiple{grid-template-columns:minmax(0,1fr)}}
@media(max-width:639px){#lm-footer .lm-footer-brand img{width:80px;height:80px}.lm-footer-credit{font-size:12px}}

/* Who We Help uses a full-width introduction, as in the supplied reference. */
body.lm-site .lm-who-hero-title{margin:0;padding:0}
body.lm-site .lm-who-hero-title em{color:hsl(var(--primary))}

/* Match the logo pink while keeping the submit label readable. */
body.lm-site #lm-invite-form .lm-invite-submit{background:var(--lm-brand-pink);color:var(--lm-ink)}
body.lm-site #lm-invite-form .lm-invite-submit:hover{background:#e394b0}
