/* =========================================
   AOG PERFORMANCE — BLOG STYLES
   ========================================= */

/* BLOG LISTING */
.blog-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  margin-bottom: 60px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: rgba(255,255,255,0.04);
}

.blog-card {
  background: var(--black-light);
  padding: 52px 44px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background var(--transition);
  position: relative;
}

.blog-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.blog-card:hover {
  background: var(--black-mid);
}

.blog-card:hover::after {
  transform: scaleX(1);
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.blog-card-category {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--red);
}

.blog-card-date {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.blog-card h2 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.2;
  transition: color var(--transition);
}

.blog-card:hover h2 {
  color: var(--red);
}

.blog-card p {
  font-size: 14px;
  font-weight: 300;
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
  flex: 1;
}

.blog-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--red);
  transition: gap var(--transition);
  margin-top: 8px;
}

.blog-card-link:hover {
  gap: 16px;
}

/* ARTICLE PAGE */
.article-header-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.article-category {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--red);
}

.article-date {
  font-size: 12px;
  color: var(--text-muted);
}

.article-wrap {
  max-width: 800px;
  margin: 0 auto;
}

.article-body p {
  font-size: 16px;
  font-weight: 300;
  color: rgba(255,255,255,0.75);
  line-height: 1.95;
  margin-bottom: 26px;
}

.article-body h2 {
  font-family: var(--font-heading);
  font-size: 23px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--white);
  margin: 52px 0 20px;
  padding-left: 20px;
  border-left: 3px solid var(--red);
}

.article-body h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--white);
  margin: 36px 0 14px;
}

.article-body ul, .article-body ol {
  list-style: none;
  margin: 16px 0 28px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.article-body ul li {
  font-size: 15px;
  color: rgba(255,255,255,0.65);
  padding-left: 24px;
  position: relative;
  line-height: 1.7;
}

.article-body ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--red);
}

.article-body ol {
  counter-reset: art-counter;
}

.article-body ol li {
  font-size: 15px;
  color: rgba(255,255,255,0.65);
  padding-left: 34px;
  position: relative;
  line-height: 1.7;
  counter-increment: art-counter;
}

.article-body ol li::before {
  content: counter(art-counter) '.';
  position: absolute;
  left: 0;
  color: var(--red);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  top: 2px;
}

.article-body a {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-body a:hover {
  color: var(--red-bright);
}

.article-callout {
  background: var(--black-mid);
  border-left: 3px solid var(--red);
  padding: 28px 32px;
  margin: 36px 0;
  font-size: 15px;
  color: rgba(255,255,255,0.7);
  line-height: 1.85;
  font-style: italic;
}

.article-callout strong {
  color: var(--white);
  font-style: normal;
}

/* RELATED ARTICLES */
.related-articles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: rgba(255,255,255,0.04);
  margin-top: 40px;
}

.related-article-card {
  background: var(--black-light);
  padding: 32px 28px;
  transition: background var(--transition);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.related-article-card:hover {
  background: var(--black-mid);
}

.related-article-card span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--red);
}

.related-article-card h4 {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.3;
  transition: color var(--transition);
}

.related-article-card:hover h4 {
  color: var(--red);
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .blog-intro-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .blog-card {
    padding: 36px 28px;
  }
  .related-articles {
    grid-template-columns: 1fr;
  }
  .related-article-card {
    padding: 24px 20px;
  }
}
