:root { --cms-green: #037f06; --cms-blue: #244a64; }
.cms-legacy-hero-overlay { opacity: .75 !important; }
.cms-managed-section { background: #f7faf9; color: #244a64; }
.cms-section, .cms-detail { max-width: 1200px; margin: auto; padding: 4rem 1.5rem; }
.cms-section h2, .cms-detail h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 700; margin-bottom: 1.5rem; }
.cms-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 1.5rem; margin-top: 2rem; }
.cms-card { position: relative; border: 1px solid #d8e4df; border-radius: 1rem; background: white; box-shadow: 0 4px 16px #244a6410; overflow: hidden; }
.cms-card > img { width: 100%; height: 240px; object-fit: cover; }
.cms-card-copy { padding: 1.5rem; }
.cms-card h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: .75rem; }
.cms-card p { color: #475569; margin-bottom: 1rem; }
.cms-clickable-card { position: relative; opacity: 1 !important; transform: none !important; }
.cms-card-link { display: inline-block; color: #026305; font-weight: 600; margin: 1rem 0; text-decoration: underline; }
.cms-card-link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.cms-clickable-card:focus-within, .cms-card:focus-within { outline: 3px solid #244a64; outline-offset: 4px; }
.cms-prose { font-size: 1.05rem; line-height: 1.8; color: inherit; overflow-wrap: anywhere; }
.cms-prose p, .cms-prose ul, .cms-prose ol { margin: 1rem 0; }
.cms-prose ul { list-style: disc; padding-left: 1.5rem; }
.cms-prose ol { list-style: decimal; padding-left: 1.5rem; }
.cms-prose a { text-decoration: underline; }
.cms-prose img { max-width: 100%; height: auto; }
.cms-prose h2, .cms-prose h3, .cms-prose h4 { font-weight: 700; margin-top: 1.5rem; }
.cms-hero { position: relative; background: #244a64; color: white; }
.cms-slide { position: relative; min-height: 75vh; display: grid; place-items: center; padding: 6rem 1.5rem 4rem; }
.cms-slide[hidden] { display: none; }
.cms-slide > img { position: absolute; width: 100%; height: 100%; inset: 0; object-fit: cover; opacity: .22; }
.cms-hero-copy { position: relative; text-align: center; max-width: 850px; background: #142c3ee6; padding: clamp(1rem, 3vw, 2.5rem); border-radius: 1rem; text-shadow: 0 2px 4px #0008; }
.cms-hero-copy h1, .cms-hero-copy h2 { font-size: clamp(2rem, 5vw, 3.7rem); font-weight: 800; line-height: 1.15; margin: 1rem 0; }
.cms-hero-copy p { font-size: 1.25rem; }
.cms-button { display: inline-block; background: var(--cms-green); color: white; border-radius: .6rem; padding: 1rem 1.5rem; margin-top: 1.5rem; }
.cms-slide-controls { display: flex; justify-content: center; align-items: center; gap: 1.5rem; padding: 1rem; }
.cms-slide-controls button { border: 1px solid white; padding: .5rem 1rem; border-radius: .5rem; }
.cms-navigation { display: flex; align-items: center; justify-content: space-between; gap: 1rem; max-width: 1400px; margin: auto; padding: .75rem 1.5rem; }
.cms-nav { background: white; color: #244a64; width: 100%; }
.cms-brand img { width: auto; height: 64px; }
.cms-brand { display: flex; align-items: center; gap: .5rem; }
.cms-brand-title { font-size: .8rem; font-weight: 700; max-width: 160px; }
.cms-navigation-links { display: flex; flex-wrap: wrap; gap: 1.25rem; font-weight: 600; font-size: .95rem; }
.cms-navigation-links a { padding: .5rem 0; }
.cms-navigation-links a:hover { text-decoration: underline; }
[data-cms-menu] { display: none; border: 1px solid #244a64; border-radius: .4rem; padding: .5rem 1rem; }
.cms-skip-link { position: fixed; top: -200px; left: 1rem; z-index: 10000; background: white; color: #244a64; padding: 1rem; border: 2px solid #244a64; }
.cms-skip-link:focus { top: 1rem; }
:focus-visible { outline: 3px solid #244a64; outline-offset: 3px; }
.cms-detail { padding-top: 8rem; min-height: 65vh; }
.cms-detail > img { max-width: 100%; max-height: 480px; margin: 2rem 0; border-radius: .75rem; }
@media (max-width: 900px) {
  [data-cms-menu] { display: block; }
  .cms-navigation { flex-wrap: wrap; }
  .cms-navigation-links { display: none; width: 100%; flex-direction: column; }
  .cms-navigation-links.is-open { display: flex; }
  .cms-brand img { height: 52px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  [data-aos] { opacity: 1 !important; transform: none !important; }
}
