* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: #fff;
  color: #14263d;
  font:
    16px/1.7 system-ui,
    -apple-system,
    Segoe UI,
    Arial,
    sans-serif;
}
a {
  color: #a41f24;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid #d5a44a;
  outline-offset: 3px;
}
img {
  max-width: 100%;
  height: auto;
}
figure {
  margin: 1.5rem 0;
}
figcaption {
  font-size: 0.86rem;
  color: #54616c;
}
h1,
h2,
h3 {
  line-height: 1.25;
}
h1 {
  font-size: clamp(2rem, 4vw, 3rem);
}
h2 {
  font-size: 1.45rem;
}
.container {
  width: min(1180px, calc(100% - 36px));
  margin: auto;
}
.top {
  background: #14263d;
  color: #fff;
  padding: 7px 0;
  font-size: 0.85rem;
}
.top .container {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.top a {
  color: #fff;
}
.mast {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
}
.brand img {
  width: 220px;
  height: 60px;
}
.search {
  display: flex;
  gap: 6px;
}
.search input {
  padding: 10px;
  border: 1px solid #cbd4d9;
  border-radius: 5px;
  max-width: 250px;
}
.search button,
.btn {
  background: #c62828;
  color: white;
  border: 0;
  border-radius: 5px;
  padding: 10px 15px;
  cursor: pointer;
}
.navwrap {
  border-block: 1px solid #e3e8ec;
}
.nav {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}
.nav a {
  display: inline-block;
  color: #14263d;
  font-weight: 650;
  padding: 12px 13px;
}
.nav a:hover,
.nav a[aria-current="page"] {
  color: #c62828;
  background: #f3f5f7;
  text-decoration: none;
}
.menu-btn {
  display: none;
  background: #14263d;
  color: white;
  border: 0;
  padding: 9px 14px;
  border-radius: 5px;
}
.eyebrow {
  color: #c62828;
  text-transform: uppercase;
  font-size: 0.82rem;
  font-weight: 750;
  letter-spacing: 0.06em;
}
.hero {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 26px;
  margin: 30px 0;
}
.hero figure {
  margin: 0;
}
.hero img {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 10px;
}
.panel {
  border: 1px solid #e1e6ea;
  border-radius: 10px;
  padding: 18px;
  background: #fff;
}
.section {
  margin: 35px 0;
}
.section h2 {
  border-left: 5px solid #c62828;
  padding-left: 12px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.card {
  border: 1px solid #e2e7ea;
  border-radius: 10px;
  overflow: hidden;
}
.card img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}
.card .body {
  padding: 14px;
}
.card h3 {
  font-size: 1.1rem;
  margin: 5px 0;
}
.card p {
  margin: 5px 0;
  color: #52616b;
  font-size: 0.9rem;
}
.catgrid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
}
.catgrid a {
  padding: 14px 8px;
  text-align: center;
  background: #f3f5f7;
  color: #14263d;
  border-radius: 8px;
  font-weight: 650;
  font-size: 0.85rem;
}
.catgrid a:hover {
  background: #e9eff3;
}
.article {
  max-width: 780px;
  margin: 35px auto 70px;
}
.article p,
.article li {
  font-size: 1.06rem;
}
.article img {
  width: 100%;
  height: auto;
  object-fit: contain;
  aspect-ratio: auto;
  border-radius: 9px;
}
.muted,
.meta {
  color: #62717b;
  font-size: 0.9rem;
}
.crumbs {
  font-size: 0.86rem;
  color: #62717b;
  margin: 25px 0;
}
.footer {
  background: #14263d;
  color: #fff;
  padding: 35px 0;
  margin-top: 60px;
}
.footer a {
  color: #fff;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 25px;
}
.footer ul {
  padding-left: 18px;
}
.notice {
  background: #f3f5f7;
  border-left: 4px solid #d5a44a;
  padding: 15px;
  border-radius: 5px;
}
.tag {
  display: inline-block;
  background: #f3f5f7;
  padding: 5px 10px;
  margin: 3px;
  border-radius: 6px;
}
.empty {
  padding: 30px;
  background: #f3f5f7;
  border-radius: 10px;
}
@media (max-width: 800px) {
  .hero {
    grid-template-columns: 1fr;
  }
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .catgrid {
    grid-template-columns: repeat(3, 1fr);
  }
  .menu-btn {
    display: block;
  }
  .nav {
    display: none;
    flex-direction: column;
  }
  .nav.open {
    display: flex;
  }
  .mast {
    flex-wrap: wrap;
  }
  .search {
    width: 100%;
  }
  .search input {
    flex: 1;
    max-width: none;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 520px) {
  .cards {
    grid-template-columns: 1fr;
  }
  .catgrid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .top .container {
    display: block;
  }
  .brand img {
    width: 185px;
    height: auto;
  }
}
