/* Scoped to the pages created by MCS Website. Theme lifecycle remains intact. */
.mcs-website { --mcs-navy: #183452; background: #fff; color: #273747; }
.mcs-website .site-header, .mcs-website .main-navigation,
.mcs-website .main-navigation ul ul, .mcs-website .inside-article { background: #fff; }
.mcs-website .site-content { max-width: 1160px; margin-inline: auto; }
.mcs-website .inside-article { padding: clamp(24px, 5vw, 64px); }
.mcs-website .inside-header { padding-top: 16px; padding-bottom: 16px; }
.mcs-website .site-main { margin-top: 0; }
.mcs-website .inside-article { padding-top: 24px; }
.mcs-website .entry-content:not(:first-child) { margin-top: 0; }
.mcs-website h1, .mcs-website h2, .mcs-website h3,
.mcs-website .main-title a { color: var(--mcs-navy); }
.mcs-website h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
.mcs-website h2 { font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.25; }
.mcs-website h3 { font-size: 1.2rem; line-height: 1.4; }
.mcs-website p { line-height: 1.75; }
.mcs-website a { color: #184c7d; text-underline-offset: .2em; }
.mcs-website a:hover { color: #102b46; text-decoration: underline; }
.mcs-website a:focus-visible, .mcs-website button:focus-visible { outline: 3px solid #476f9b; outline-offset: 4px; }
.mcs-website .main-navigation .main-nav ul li a,
.mcs-website .menu-toggle { color: var(--mcs-navy); }
.mcs-website .main-navigation .main-nav ul li a { line-height: 48px; }
.mcs-website .main-navigation .main-nav ul li[class*="current-menu-"] > a,
.mcs-website .main-navigation .main-nav ul li:hover > a { color: var(--mcs-navy); background: #f0f4f8; }
.mcs-intro { max-width: 790px; margin-bottom: 2rem; }
.mcs-intro h1 { font-size: clamp(30px, 3vw, 42px); line-height: 1.25; letter-spacing: -.025em; }
.mcs-intro p:last-child { margin-bottom: 0; }
.mcs-intro p:first-of-type { color: #4d6175; font-size: .95rem; }
.mcs-category-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
.mcs-category-grid > .wp-block-group__inner-container,
.mcs-card > .wp-block-group__inner-container { display: contents; }
.mcs-card { border: 1px solid #dbe2e9; border-radius: 4px; padding: clamp(22px, 3vw, 32px); display: flex; flex-direction: column; min-width: 0; }
.mcs-card p:last-child { margin-top: auto; margin-bottom: 0; padding-top: .5rem; }
.mcs-card a { font-weight: 600; }
.mcs-website .site-logo img { width: 165px; max-width: 100%; height: auto; }
.mcs-website .site-info { background: #fff; }
.mcs-website .inside-site-info { padding: 20px; }
.mcs-website .entry-content > h2[id] { scroll-margin-top: 24px; }
@media (min-width: 720px) { .mcs-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 768px) {
 .mcs-website .site-logo img { width: 120px; }
 .mcs-website .inside-header { padding: 12px 20px; }
 .mcs-intro h1 { font-size: 31px; }
}
@media (max-width: 420px) { .mcs-website .inside-article { padding: 24px 18px; } }
