/* Saved in Admin → Panel colours & fonts. Blank settings preserve the current design. */
body.la-style-has-background {
  background-color: var(--la-site-background) !important;
}

body.la-style-has-text,
body.la-style-has-text :is(p, li, small, label, .muted, .hero-copy, .slogan) {
  color: var(--la-site-text) !important;
}

body.la-style-has-heading :is(h1, h2, h3, h4, h5, h6, .eyebrow) {
  color: var(--la-site-heading) !important;
}

body.la-style-has-accent :is(button, .button, .text-button, .social-link) {
  background-color: var(--la-site-accent) !important;
  border-color: var(--la-site-accent) !important;
  color: #fff !important;
}

body.la-style-has-body-font,
body.la-style-has-body-font :is(button, input, textarea, select) {
  font-family: var(--la-site-body-font) !important;
}

body.la-style-has-heading-font :is(h1, h2, h3, h4, h5, h6) {
  font-family: var(--la-site-heading-font) !important;
}

[data-style-panel].la-style-has-background {
  background-color: var(--la-panel-background) !important;
}

[data-style-panel].la-style-has-surface[data-style-card],
[data-style-panel].la-style-has-surface [data-style-card] {
  background-color: var(--la-panel-surface) !important;
}

[data-style-panel].la-style-has-text,
[data-style-panel].la-style-has-text :is(p, li, small, label, .muted, .hero-copy, .slogan, .event-note) {
  color: var(--la-panel-text) !important;
}

[data-style-panel].la-style-has-heading :is(h1, h2, h3, h4, h5, h6, .eyebrow) {
  color: var(--la-panel-heading) !important;
}

[data-style-panel].la-style-has-accent :is(button, .button, .text-button, .social-link) {
  background-color: var(--la-panel-accent) !important;
  border-color: var(--la-panel-accent) !important;
  color: #fff !important;
}

[data-style-panel].la-style-has-body-font,
[data-style-panel].la-style-has-body-font :is(button, input, textarea, select) {
  font-family: var(--la-panel-body-font) !important;
}

[data-style-panel].la-style-has-heading-font :is(h1, h2, h3, h4, h5, h6) {
  font-family: var(--la-panel-heading-font) !important;
}

@media (max-width: 700px) {
  [data-style-panel].la-style-has-accent :is(button, .button, .text-button, .social-link) {
    color: #fff !important;
  }
}
