@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/roboto-400.ttf') format('truetype');
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/roboto-500.ttf') format('truetype');
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/roboto-700.ttf') format('truetype');
}
@font-face {
  font-family: 'Roboto Slab';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/roboto-slab-700.ttf') format('truetype');
}
@font-face {
  font-family: 'Roboto Slab';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('../fonts/roboto-slab-900.ttf') format('truetype');
}

:root {
  --er-navy: #143D67; --er-navy-deep: #0F3255; --er-blue: #2A5C8A;
  --er-ivory: #FBF8F3; --er-cream: #F5EBDC; --er-sand: #E6DDD0;
  --er-gold: #C8A24B; --er-coral: #FF522E; --er-ink: #233548;
  --er-muted: #607286; --er-line: #D4C8B8; --er-radius: 14px; --er-wrap: 1280px;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--er-ivory); color: var(--er-ink); font: 400 16px/1.55 Roboto, Arial, sans-serif; }
a { color: var(--er-navy); }
.er-wrap { width: min(var(--er-wrap), calc(100% - 48px)); margin-inline: auto; }
.site-header { border-bottom: 1px solid var(--er-line); background: var(--er-ivory); }
.site-header__top { min-height: 104px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-brand { color: var(--er-navy); text-decoration: none; font: 800 clamp(22px, 3vw, 32px)/1 Roboto Slab, serif; }
.site-brand small { display: block; margin-top: 7px; color: var(--er-muted); font: 500 13px/1.1 Roboto, sans-serif; }
.main-nav { background: var(--er-navy); border-bottom: 3px solid var(--er-gold); }
.main-nav__links { min-height: 48px; display: flex; align-items: center; gap: 24px; overflow-x: auto; white-space: nowrap; }
.main-nav a { color: #fff; text-decoration: none; font-weight: 700; font-size: 14px; padding: 15px 0; }
.main-nav a:hover, .main-nav .current-menu-item > a { color: var(--er-cream); }
.site-main { min-height: 55vh; }
.page-head { padding: 52px 0 30px; }
.page-head h1, .entry-title { margin: 0; color: var(--er-navy-deep); font: 900 clamp(34px, 5vw, 56px)/1.05 Roboto Slab, serif; }
.page-head h1::after { content: ''; display: block; width: 56px; height: 4px; margin-top: 15px; background: var(--er-coral); }
.content-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr); gap: 28px; padding-bottom: 72px; }
.er-card { background: #fff; border: 1px solid var(--er-line); border-radius: var(--er-radius); overflow: hidden; }
.er-card__body { padding: 22px; }.er-card h2,.er-card h3 { margin: 8px 0; font-family: Roboto Slab, serif; color: var(--er-navy-deep); }
.er-card img { display: block; width: 100%; height: 210px; object-fit: cover; }.er-meta { color: var(--er-muted); font-size: 14px; }.er-eyebrow { color: var(--er-coral); font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.er-button { display: inline-block; border: 0; border-radius: 4px; padding: 11px 17px; background: var(--er-navy); color: #fff; text-decoration: none; font-weight: 700; }.er-button:hover { background: var(--er-blue); color: #fff; }
.er-filter { display: flex; gap: 8px; flex-wrap: wrap; margin: 22px 0; }.er-filter a { padding: 8px 14px; border: 1px solid var(--er-line); border-radius: 20px; background: #fff; text-decoration: none; font-size: 14px; }
.er-list { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }.er-sidebar > * + * { margin-top: 18px; }
.site-footer { margin-top: 60px; padding: 45px 0 16px; background: var(--er-navy-deep); color: #fff; }.site-footer a { color: #fff; }.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 28px; }.site-footer h2 { font: 700 18px Roboto Slab, serif; }.site-footer p, .site-footer li { color: #D8E2EB; font-size: 14px; }
@media (max-width: 800px) { .er-wrap { width: min(100% - 32px, var(--er-wrap)); }.site-header__top { min-height: 84px; }.content-grid, .footer-grid { grid-template-columns: 1fr; }.er-list { grid-template-columns: 1fr; }.page-head { padding-top: 36px; }.main-nav__links { gap: 18px; }.site-brand { font-size: 24px; } }
