@font-face {
  font-family: 'DevilsFont';
  src: url('/assets/fonts/DevilsFont.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --red:    #B20113;
  --red2:   #D81D1D;
  --white:  #ffffff;
  --dark:   #111111;
  --grey:   #f4f4f4;
  --text:   #222222;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'DevilsFont', sans-serif;
  background: var(--white);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

/* ── Header ─────────────────────────────────────────── */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: 80px;
  background: var(--white);
  border-bottom: none;
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-logo {
  display: flex;
  align-items: center;
}

.site-logo-img {
  height: 70px;
  width: auto;
  display: block;
}

.site-nav {
  display: flex;
  gap: 2rem;
}

.site-nav a {
  color: var(--red);
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: opacity 0.2s;
}

.site-nav a:hover { opacity: 0.7; }
.site-nav a.active { color: #e06070; }

.site-header-content {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: none;
  margin-right: auto;
  align-self: flex-end;
  margin-bottom: 8px;
}

.site-header-title {
  color: var(--red);
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-transform: none;
  font-weight: normal;
  background: var(--red2);
  color: var(--white);
  padding: 6px 8px 2px 8px;
  line-height: 1.4;
  margin: 0;
}

.site-header-date {
  color: #999;
  font-size: 0.85rem;
  white-space: nowrap;
  line-height: 1.4;
  padding-top: 11px;
}

/* ── Main ────────────────────────────────────────────── */
.site-main {
  flex: 1;
  padding: 0 2rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.page-title {
  font-size: 1.8rem;
  color: var(--red);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ── Footer ──────────────────────────────────────────── */
.site-footer {
  background: var(--white);
  border-top: none;
  text-align: center;
  padding: 0.75rem;
  font-size: 0.8rem;
  color: var(--red);
}

/* ── Articles ────────────────────────────────────────── */
.article-single .article-date { float: right; color: #999; font-size: 0.85rem; white-space: nowrap; margin-left: 1.5rem; margin-bottom: 1.5rem; }
.article-body { line-height: 1.8; }
.article-body h2:first-of-type { margin-top: 0; }
.article-body p { margin-bottom: 1rem; }

/* ── Articles List ──────────────────────────────────── */
.articles-list { display: flex; flex-direction: column; gap: 9px; }

.article-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid #eee;
  transition: color 0.2s;
}

.article-card:first-child { margin-top: 10px; }
.article-card:hover .article-title { color: var(--red); }
.article-title { font-size: 1.05rem; color: var(--red); }
.article-date { font-size: 0.85rem; color: #999; white-space: nowrap; margin-left: 1rem; }

/* ── Utilities ───────────────────────────────────────── */
.back-link {
  display: inline-block;
  margin-top: 1.5rem;
  color: var(--red);
  font-size: 0.9rem;
}

.empty-state {
  color: #999;
  padding: 2rem 0;
}

.error   { color: #cc0000; font-size: 0.9rem; margin-top: 0.5rem; }
.success { color: #007700; font-size: 0.9rem; margin-top: 0.5rem; }
