/* Shared front-end and editor design tokens. Final branding follows the supplied reference. */
:root {
  --em-red: #c92132;
  --em-navy: #101f39;
  --em-white: #ffffff;
  --em-light: #f5f7fa;
  --em-text: #243249;
  --em-muted: #5b6779;
  --em-border: #dce2ea;
  --em-radius-sm: 0.5rem;
  --em-radius-md: 1rem;
  --em-radius-lg: 1.5rem;
  --em-shadow-sm: 0 4px 16px rgb(16 31 57 / 5%);
  --em-shadow-md: 0 12px 36px rgb(16 31 57 / 9%);
  --em-container: 75rem;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--em-white); color: var(--em-text); font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.65; overflow-wrap: break-word; }
body, .editor-styles-wrapper { font-size: 1rem; }
[hidden] { display: none !important; }
img, video { max-width: 100%; height: auto; }
iframe { max-width: 100%; }
button, input, textarea, select { font: inherit; }
a { color: var(--em-red); text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--em-red); outline-offset: 4px; }
h1, h2, h3, h4, h5, h6, .em-heading { color: var(--em-navy); line-height: 1.15; text-wrap: balance; margin-block: 0 1rem; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.65rem); }
p { margin-block: 0 1.25rem; }
.em-container { width: min(var(--em-container), calc(100% - 2rem)); margin-inline: auto; }
.em-section { padding-block: clamp(3rem, 7vw, 6rem); }
.em-button { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 2.75rem; padding: 0.7rem 1.25rem; border: 1px solid transparent; border-radius: var(--em-radius-sm); background: var(--em-red); color: var(--em-white); font-weight: 650; line-height: 1.4; text-align: center; text-decoration: none; cursor: pointer; transition: box-shadow 160ms ease; }
.em-button:hover:not(:disabled) { box-shadow: var(--em-shadow-md); }
.em-button--outline { background: transparent; color: var(--em-navy); border-color: var(--em-border); }
.em-button:disabled { cursor: not-allowed; opacity: 0.65; }
.em-card { padding: clamp(1.25rem, 3vw, 2.5rem); border: 1px solid var(--em-border); border-radius: var(--em-radius-lg); background: var(--em-white); box-shadow: var(--em-shadow-sm); }
.em-badge { display: inline-flex; padding: 0.3rem 0.75rem; border-radius: 999px; background: var(--em-light); color: var(--em-navy); font-size: 0.875rem; font-weight: 650; }
.em-icon-block { display: inline-grid; place-items: center; width: 3rem; aspect-ratio: 1; border-radius: var(--em-radius-md); background: var(--em-light); color: var(--em-red); }
.em-icon-block svg { width: 1.5rem; height: 1.5rem; }
.em-muted { color: var(--em-muted); }
.site-header { border-bottom: 1px solid var(--em-border); }
.header-inner { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem; padding-block: 1rem; }
.site-branding { min-width: 0; flex: 1; }
.site-title { color: var(--em-navy); font-size: 1.3rem; font-weight: 750; text-decoration: none; }
.custom-logo-link { display: inline-block; vertical-align: middle; }
.custom-logo { display: block; width: auto; max-height: 4rem; max-width: min(15rem, 100%); }
.primary-navigation { order: 3; width: 100%; }
.menu, .footer-menu { list-style: none; padding: 0; margin: 0; }
.menu a, .footer-menu a { display: inline-block; padding: 0.5rem; color: var(--em-navy); }
.menu .sub-menu { padding-inline-start: 1.25rem; list-style: none; }
.menu .current-menu-item > a { text-decoration-thickness: 2px; font-weight: 700; }
.quote-placeholder { font-size: 0.875rem; }
.site-footer { padding-block: 2rem; border-top: 1px solid var(--em-border); background: var(--em-light); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; }
.footer-inner p { margin: 0; }
.footer-menu { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.footer-menu .sub-menu { list-style: none; padding-inline-start: 1rem; }
.foundation-screen { max-width: 50rem; }
.foundation-screen p { color: var(--em-muted); margin: 0; }
.post-card { margin-block: 1.5rem; }
.featured-image { display: block; margin-block: 1.5rem; }
.entry-content::after { content: ""; display: table; clear: both; }
.entry-content > * { max-width: 100%; }
.alignleft { float: left; margin: 0 1.5rem 1rem 0; }
.alignright { float: right; margin: 0 0 1rem 1.5rem; }
.aligncenter { display: block; margin-inline: auto; }
.wp-caption-text, .gallery-caption { color: var(--em-muted); font-size: 0.875rem; }
.screen-reader-text, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link:focus { position: fixed; top: 1rem; left: 1rem; z-index: 100000; padding: 0.75rem 1rem; background: var(--em-white); color: var(--em-navy); box-shadow: var(--em-shadow-md); }
@media (min-width: 48rem) {
  .em-container { width: min(var(--em-container), calc(100% - 3rem)); }
  .primary-navigation { order: initial; width: auto; }
  .menu { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 0.25rem 1rem; }
}
@media (min-width: 75rem) {
  .header-inner { gap: 2rem; }
}
@media (prefers-reduced-motion: reduce) {
  .em-button { transition: none; }
}
