/* Static article page — used by /article/{slug}.html */

.article-page-body {
  background: #fff;
  color: #111;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  margin: 0;
  line-height: 1.6;
}

.ap-header {
  background: #fff;
  border-bottom: 2px solid #cc0000;
  padding: 0.75rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
.ap-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.ap-logo {
  font-family: 'Merriweather', Georgia, serif;
  font-weight: 900;
  font-size: 1.5rem;
  color: #cc0000;
  text-decoration: none;
  letter-spacing: 0.5px;
}
.ap-nav {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.ap-nav a {
  color: #333;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.ap-nav a:hover { color: #cc0000; }

.ap-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.25rem;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 3rem;
}
@media (max-width: 900px) {
  .ap-main { grid-template-columns: 1fr; gap: 2rem; }
}

.ap-article {
  min-width: 0;
}

.ap-breadcrumb {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 1rem;
}
.ap-breadcrumb a {
  color: #666;
  text-decoration: none;
}
.ap-breadcrumb a:hover { color: #cc0000; text-decoration: underline; }

.ap-cat-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.75rem;
}

.ap-headline {
  font-family: 'Merriweather', Georgia, serif;
  font-size: 2.25rem;
  line-height: 1.18;
  font-weight: 900;
  color: #111;
  margin: 0 0 1rem;
}
@media (max-width: 600px) {
  .ap-headline { font-size: 1.6rem; }
}

.ap-subheadline {
  font-size: 1.2rem;
  font-weight: 400;
  color: #444;
  margin: 0 0 1.25rem;
  line-height: 1.45;
}

.ap-meta {
  font-size: 0.85rem;
  color: #888;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid #e5e5e5;
  padding-bottom: 1rem;
}

.ap-hero-img,
.ap-video-wrap {
  width: 100%;
  margin: 0 0 1.5rem;
  border-radius: 4px;
  overflow: hidden;
  background: #f3f3f3;
}
.ap-hero-img img {
  display: block;
  width: 100%;
  height: auto;
}
.ap-video-wrap {
  position: relative;
  padding-top: 56.25%;
}
.ap-video-wrap iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.ap-body {
  font-size: 1.075rem;
  line-height: 1.78;
  color: #222;
}
.ap-body p {
  margin: 0 0 1.25rem;
}
.ap-body p:first-child::first-letter {
  font-family: 'Merriweather', Georgia, serif;
  font-size: 3.4rem;
  font-weight: 900;
  float: left;
  line-height: 1;
  margin: 0.18em 0.12em 0 0;
  color: #cc0000;
}

.ap-source {
  margin: 2rem 0 1rem;
  padding: 1rem 1.25rem;
  background: #fafafa;
  border-left: 3px solid #cc0000;
  font-size: 0.92rem;
  color: #555;
}
.ap-source a { color: #cc0000; }

.ap-tags {
  margin: 1.25rem 0 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.ap-tag {
  background: #f3f3f3;
  color: #555;
  padding: 0.3rem 0.7rem;
  border-radius: 3px;
  font-size: 0.8rem;
  text-decoration: none;
}
.ap-tag:hover { background: #e8e8e8; color: #111; }

.ap-sidebar {
  border-top: 4px solid #111;
  padding-top: 1rem;
}
.ap-sidebar h2 {
  font-family: 'Merriweather', Georgia, serif;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 0 1rem;
  color: #111;
}
.ap-related {
  list-style: none;
  margin: 0;
  padding: 0;
}
.ap-related li {
  border-bottom: 1px solid #eee;
  padding: 0.85rem 0;
}
.ap-related li:first-child { padding-top: 0; }
.ap-related li:last-child { border-bottom: none; }
.ap-related a {
  display: block;
  color: #111;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.35;
}
.ap-related a:hover { color: #cc0000; }
.ap-related-cat {
  display: block;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 0.25rem;
}

.ap-footer {
  border-top: 1px solid #e5e5e5;
  padding: 1.5rem 1.25rem;
  text-align: center;
  color: #888;
  font-size: 0.85rem;
  margin-top: 2rem;
}
.ap-footer a { color: #cc0000; text-decoration: none; }

.ap-stub-notice {
  margin: 1rem 0 2rem;
  padding: 1rem 1.25rem;
  background: #fffbe6;
  border: 1px solid #f3e8a8;
  border-radius: 4px;
  font-size: 0.92rem;
  color: #6a5d00;
}
