* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Work Sans", system-ui, sans-serif; background: #F4F1EA; color: #002D72; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }
.page-wrap { display: flex; flex-direction: column; min-height: 100vh; width: 100%; background: #F4F1EA; }
.link-row:hover .link-row-title { color: #FF5910; }
.inline-link { color: #FF5910; text-decoration: underline; font-weight: 600; }
.inline-link:hover { opacity: 0.75; }

/* shared header + menu */
.site-header { position: relative; width: 100%; background: #002D72; padding: 22px 44px; display: flex; align-items: center; justify-content: space-between; z-index: 20; }
.logo { font-family: 'Archivo Black', sans-serif; font-size: 20px; color: #fff; letter-spacing: 0.5px; cursor: pointer; }
.menu-btn { display: flex; align-items: center; gap: 8px; border: 1.5px solid #FF5910; background: transparent; color: #FF5910; padding: 9px 16px; font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; font-family: "Work Sans", sans-serif; cursor: pointer; }
.menu-btn:hover { background: rgba(255,89,16,0.12); }
.menu-btn:focus-visible, .menu-row:focus-visible, a:focus-visible, button:focus-visible { outline: 2px solid #FF5910; outline-offset: 2px; }
.menu-panel { display: none; flex-direction: column; position: absolute; top: 64px; right: 44px; width: 340px; background: #fff; border: 1px solid #DCD3BE; box-shadow: 0 14px 28px rgba(0,0,0,0.16); z-index: 30; padding: 10px 0; }
.menu-panel.open { display: flex; }
.menu-row { padding: 11px 22px; font-size: 14px; color: #4A4638; }
.menu-row:hover { background: #F4F1EA; color: #FF5910; }
.menu-row.current { font-weight: 700; color: #fff; background: #FF5910; }
.menu-row.current:hover { color: #fff; }
.menu-row-contact { border-top: 1px solid #DCD3BE; }

.site-footer { width: 100%; background: #F4F1EA; margin-top: auto; }
.footer-divider { height: 1px; background: #002D72; opacity: 0.22; margin: 0 44px; }

@media (max-width: 720px) {
  .site-header { padding: 18px 20px; }
  .menu-panel { right: 20px; left: 20px; width: auto; }
  .chapter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (min-width: 721px) and (max-width: 980px) {
  .chapter-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}
