*, *::before, *::after { box-sizing: border-box; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px; line-height: 1.7; color: #1a1a1a; background: #ffffff; margin: 0; padding: 0;
}
a { color: #1a73e8; text-decoration: none; }
a:hover { text-decoration: underline; }
h1 { font-size: 2.2rem; font-weight: 800; line-height: 1.2; margin: 0 0 0.6rem; color: #0d0d0d; }
h2 { font-size: 1.3rem; margin: 0 0 0.4rem; line-height: 1.35; color: #111; }
p { margin: 0 0 1rem; }

header { background: #0d0d0d; padding: 0.75rem 1.5rem; position: sticky; top: 0; z-index: 1000; border-bottom: 3px solid #e53935; }
.header-inner { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; }
.site-name { font-size: 1.15rem; font-weight: 700; color: #fff; display: flex; align-items: center; gap: 0.5rem; }
.site-logo { height: 28px; width: auto; border-radius: 50%; }
nav { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
nav a { color: #ccc; font-size: 0.85rem; font-weight: 500; }
nav a:hover { color: #fff; text-decoration: none; }
.cta-btn { background: #e53935; color: #fff !important; padding: 0.4rem 0.9rem; border-radius: 4px; font-weight: 600; font-size: 0.85rem; }
.cta-btn:hover { background: #b71c1c; text-decoration: none; }

.container { max-width: 1100px; margin: 0 auto; padding: 2rem 1.5rem 3rem; }
.breadcrumb { font-size: 0.85rem; color: #666; margin-bottom: 1rem; }
.intro { color: #555; max-width: 760px; }
.quick-links { margin: 0.9rem 0 1.8rem; display: flex; flex-wrap: wrap; gap: 0.55rem; }
.quick-links a {
  display: inline-block; background: #f3f6fb; border: 1px solid #dbe4f3; color: #1f3b64;
  border-radius: 999px; padding: 0.35rem 0.7rem; font-size: 0.8rem; font-weight: 700; text-decoration: none;
}
.quick-links a:hover { background: #e8f0ff; border-color: #bfd3ff; }

.archive-grid {
  display: grid; grid-template-columns: 1fr; gap: 1.25rem;
}
@media (min-width: 760px) {
  .archive-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1040px) {
  .archive-grid { grid-template-columns: 1fr 1fr 1fr; }
}
.archive-card {
  background: #fff; border: 1px solid #e0e0e0; border-radius: 8px; overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}
.archive-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.1); transform: translateY(-2px); }
.archive-card img { width: 100%; height: 200px; object-fit: cover; display: block; }
.archive-card-body { padding: 1rem 1rem 1.1rem; }
.archive-card .tag {
  display: inline-block; background: #fde8e8; color: #e53935; font-size: 0.7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.5px; padding: 3px 8px; border-radius: 3px; margin-bottom: 0.55rem;
}
.archive-card .excerpt { color: #555; font-size: 0.9rem; line-height: 1.5; margin: 0 0 0.7rem; }
.archive-card .meta { color: #888; font-size: 0.8rem; border-top: 1px solid #f0f0f0; padding-top: 0.6rem; }

footer { background: #f5f5f5; border-top: 1px solid #e0e0e0; padding: 1.5rem; text-align: center; color: #888; font-size: 0.85rem; }
footer a { color: #1a73e8; }
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; z-index: 1002; }
.hamburger-line { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; transition: transform 0.3s, opacity 0.3s; }
.hamburger.active .hamburger-line:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active .hamburger-line:nth-child(2) { opacity: 0; }
.hamburger.active .hamburger-line:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
.mobile-nav-overlay { display: none; position: fixed; top: 0; right: 0; bottom: 0; left: 0; background: rgba(0,0,0,0.5); z-index: 1001; }
.mobile-nav-overlay.active { display: block; }
@media (max-width: 768px) {
  .hamburger { display: block; }
  nav { position: fixed; top: 0; right: -280px; width: 280px; height: 100vh; background: #0d0d0d; flex-direction: column; padding: 4rem 1.5rem 1.5rem; gap: 1.5rem; transition: right 0.3s ease; z-index: 1002; overflow-y: auto; }
  nav.active { right: 0; }
  nav a { font-size: 1.1rem; color: #fff; }
  .cta-btn { text-align: center; }
}
