/* ==========================================================
   EXORCISTA — ARTICLE STYLES (blog posts)
   ========================================================== */

.article {
  background: var(--bg);
  padding: 120px 0 80px;
  min-height: 100vh;
}

.article__wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Breadcrumb */
.breadcrumb {
  font-size: 0.85rem;
  color: var(--text-dim, #888);
  margin-bottom: 2.5rem;
  letter-spacing: 0.03em;
}
.breadcrumb a {
  color: var(--text-dim, #888);
  text-decoration: none;
  transition: color 0.2s;
}
.breadcrumb a:hover {
  color: var(--red, #c11212);
}
.breadcrumb span {
  margin: 0 0.5rem;
  opacity: 0.5;
}

/* Article header */
.article__header {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.article__title {
  font-family: 'Cinzel', Georgia, serif;
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  line-height: 1.15;
  color: var(--text, #e8e8e8);
  margin: 0.5rem 0 1.5rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.article__meta {
  font-size: 0.95rem;
  color: var(--text-dim, #888);
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
}
.article__meta a {
  color: var(--silver, #c5c5c5);
  text-decoration: none;
  border-bottom: 1px dotted rgba(197,197,197,0.3);
  transition: color 0.2s, border-color 0.2s;
}
.article__meta a:hover {
  color: var(--red-hot, #ff1a1a);
  border-bottom-color: var(--red-hot, #ff1a1a);
}

/* Article hero image */
.article__hero {
  margin: 0 0 2.5rem;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  background: #0a0a0a;
}
.article__hero img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 520px;
  object-fit: cover;
  object-position: center;
}

/* Universe banner (for REFRESH posts) */
.universe-banner {
  background: linear-gradient(135deg, rgba(193,18,18,0.08), rgba(10,10,10,0.5));
  border: 1px solid rgba(193,18,18,0.3);
  border-left: 4px solid var(--red, #c11212);
  padding: 1.25rem 1.5rem;
  margin: 0 0 2.5rem;
  border-radius: 6px;
}
.universe-banner__label {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red-hot, #ff1a1a);
  margin: 0 0 0.4rem;
  font-weight: 600;
}
.universe-banner__link {
  color: var(--text, #e8e8e8);
  text-decoration: none;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  flex-wrap: wrap;
}
.universe-banner__link strong {
  font-family: 'Cinzel', serif;
  font-size: 1.1rem;
  font-weight: 700;
}
.universe-banner__link span {
  color: var(--silver, #c5c5c5);
  font-size: 0.9rem;
  transition: color 0.2s;
}
.universe-banner__link:hover span {
  color: var(--red-hot, #ff1a1a);
}

/* Article body typography */
.article__body {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--text, #e8e8e8);
}

.article__body > *:first-child {
  margin-top: 0;
}

.article__body p {
  margin: 0 0 1.5rem;
}

.article__body h2 {
  font-family: 'Cinzel', serif;
  font-size: 1.7rem;
  line-height: 1.25;
  margin: 3rem 0 1.25rem;
  color: var(--text, #e8e8e8);
  font-weight: 700;
  letter-spacing: -0.005em;
}

.article__body h3 {
  font-family: 'Cinzel', serif;
  font-size: 1.3rem;
  line-height: 1.3;
  margin: 2.5rem 0 1rem;
  color: var(--text, #e8e8e8);
  font-weight: 600;
}

.article__body h4 {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  margin: 2rem 0 0.75rem;
  color: var(--silver, #c5c5c5);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.article__body a {
  color: var(--red-hot, #ff1a1a);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,26,26,0.4);
  transition: border-color 0.2s, color 0.2s;
}
.article__body a:hover {
  border-bottom-color: var(--red-hot, #ff1a1a);
  color: #ff4a4a;
}

.article__body strong {
  color: #fff;
  font-weight: 600;
}

.article__body em {
  color: var(--silver, #c5c5c5);
  font-style: italic;
}

.article__body ul,
.article__body ol {
  margin: 0 0 1.5rem;
  padding-left: 1.5rem;
}
.article__body li {
  margin-bottom: 0.6rem;
}
.article__body li::marker {
  color: var(--red, #c11212);
}

.article__body blockquote {
  border-left: 4px solid var(--red, #c11212);
  padding: 0.25rem 0 0.25rem 1.5rem;
  margin: 2rem 0;
  font-family: 'Cinzel', serif;
  font-size: 1.2rem;
  line-height: 1.4;
  color: var(--silver, #c5c5c5);
  font-style: normal;
}

.article__body img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  margin: 2rem 0;
  display: block;
  border: 1px solid rgba(255,255,255,0.06);
}

.article__body figure {
  margin: 2rem 0;
}
.article__body figcaption {
  text-align: center;
  color: var(--text-dim, #888);
  font-size: 0.88rem;
  margin-top: 0.6rem;
  font-style: italic;
}

.article__body hr {
  border: 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  margin: 3rem 0;
}

.article__body code {
  background: rgba(255,255,255,0.06);
  padding: 0.15rem 0.4rem;
  border-radius: 3px;
  font-family: 'Monaco', monospace;
  font-size: 0.92em;
  color: var(--silver, #c5c5c5);
}

/* Related block */
.article__related {
  margin: 4rem 0 0;
  padding: 3rem 0 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.article__related h2 {
  font-family: 'Cinzel', serif;
  font-size: 1.5rem;
  margin: 0 0 1.5rem;
  color: var(--text, #e8e8e8);
}
.related-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) {
  .related-grid { grid-template-columns: repeat(3, 1fr); }
}
.related-card {
  background: var(--bg-2, #141414);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  padding: 1.1rem 1.25rem;
  text-decoration: none;
  color: var(--text, #e8e8e8);
  transition: border-color 0.2s, transform 0.2s, background 0.2s;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.related-card:hover {
  border-color: rgba(193,18,18,0.5);
  background: #181414;
  transform: translateY(-2px);
}
.related-card__label {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red-hot, #ff1a1a);
  font-weight: 600;
}
.related-card strong {
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  line-height: 1.35;
  font-weight: 600;
  color: var(--text, #e8e8e8);
}

/* =========================================================
   /blog/ INDEX PAGE
   ========================================================= */
.blog-index {
  padding: 120px 0 80px;
  background: var(--bg);
  min-height: 100vh;
}
.blog-index__head {
  max-width: 900px;
  margin: 0 auto 3rem;
  padding: 0 24px;
  text-align: center;
}
.blog-index__head h1 {
  font-family: 'Cinzel', serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--text, #e8e8e8);
  margin: 0.5rem 0 1rem;
}
.blog-index__head p {
  color: var(--silver, #c5c5c5);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}
.blog-filter {
  max-width: 900px;
  margin: 0 auto 2.5rem;
  padding: 0 24px;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}
.blog-filter a {
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  padding: 0.5rem 1rem;
  border-radius: 99px;
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--silver, #c5c5c5);
  text-decoration: none;
  transition: all 0.2s;
}
.blog-filter a:hover,
.blog-filter a.active {
  border-color: var(--red, #c11212);
  background: rgba(193,18,18,0.12);
  color: var(--text, #e8e8e8);
}
.post-grid {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 700px)  { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .post-grid { grid-template-columns: repeat(3, 1fr); } }

.post-card {
  background: var(--bg-2, #141414);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 6px;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.2s, border-color 0.2s;
  display: flex;
  flex-direction: column;
}
.post-card:hover {
  transform: translateY(-4px);
  border-color: rgba(193,18,18,0.4);
}
.post-card__img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #1a1a1a;
}
.post-card__body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.post-card__cat {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red-hot, #ff1a1a);
  font-weight: 600;
  margin-bottom: 0.4rem;
}
.post-card__title {
  font-family: 'Cinzel', serif;
  font-size: 1.05rem;
  line-height: 1.3;
  color: var(--text, #e8e8e8);
  margin: 0 0 0.6rem;
  font-weight: 600;
}
.post-card__desc {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text-dim, #888);
  margin: 0 0 0.75rem;
  flex-grow: 1;
}
.post-card__date {
  font-size: 0.78rem;
  color: var(--text-dim, #666);
  letter-spacing: 0.05em;
}
