/* ===============================================
   DEATHLAB HERO & FEATURED SECTIONS
   Cyan glow effects and hero styling
   =============================================== */

/* ======================
   HERO SECTION
   ====================== */

.hero-section,
.site-hero,
.gh-hero,
.hero,
.adb .hero-section {
  position: relative;
  padding: 8rem 0 6rem;
  overflow: hidden;
  background: var(--dl-black);
}

@media (max-width: 768px) {
  .hero-section,
  .site-hero,
  .gh-hero,
  .hero {
    padding: 5rem 0 3.5rem;
  }
}

/* Cyan Glow Layer - Positioned at top */
.hero-section::before,
.site-hero::before,
.gh-hero::before,
.hero::before {
  content: "";
  position: absolute;
  top: -20%;
  left: -10%;
  right: -10%;
  height: 80%;
  pointer-events: none;
  background: var(--dl-glow);
  filter: blur(60px);
  opacity: 0.8;
  z-index: 0;
}

/* Hero Content */
.hero-content,
.site-hero-content,
.gh-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

/* Hero Title */
.hero-content h1,
.site-hero h1,
.gh-hero h1,
.deathlab-title {
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--dl-white);
  letter-spacing: -0.02em;
}

@media (max-width: 768px) {
  .hero-content h1,
  .site-hero h1,
  .gh-hero h1,
  .deathlab-title {
    font-size: 2.75rem;
  }
}

/* Fire Text / Accent Text in Hero */
.fire-text,
.accent-text,
.cyan-text {
  color: var(--dl-cyan);
  text-shadow: 0 0 30px rgba(111, 228, 255, 0.4);
}

/* Hero Subtitle */
.hero-content p,
.site-hero p,
.gh-hero p,
.deathlab-subtitle {
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--dl-steel);
  margin-bottom: 2.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 768px) {
  .hero-content p,
  .site-hero p,
  .gh-hero p,
  .deathlab-subtitle {
    font-size: 1.0625rem;
  }
}

/* Hero CTA */
.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

/* ======================
   FEATURED SECTION
   ====================== */

.featured-section {
  position: relative;
  padding: 5rem 0;
  background: var(--dl-black);
}

/* Section Label */
.section-label,
.clinical-text {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--dl-cyan);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.section-label::before {
  content: "";
  width: 40px;
  height: 2px;
  background: var(--dl-cyan);
}

/* Featured Grid */
.featured-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

@media (max-width: 992px) {
  .featured-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* Featured Main Card */
.featured-main {
  position: relative;
}

.featured-card {
  display: block;
  position: relative;
  background: var(--dl-gunmetal);
  border: var(--dl-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--dl-shadow-sm);
  transition: transform var(--transition-base),
              box-shadow var(--transition-base),
              border-color var(--transition-base);
  text-decoration: none !important;
}

.featured-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--dl-shadow-md);
  border-color: rgba(111, 228, 255, 0.3);
}

.featured-image {
  width: 100%;
  height: 400px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.featured-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 18, 22, 0) 30%, rgba(11, 11, 11, 0.95) 100%);
}

.default-featured {
  background: linear-gradient(135deg, var(--dl-gunmetal) 0%, var(--dl-black) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.brain-icon {
  font-size: 5rem;
  filter: grayscale(0.8);
  opacity: 0.3;
}

.featured-content {
  padding: 2rem;
}

.featured-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
}

.category {
  color: var(--dl-cyan);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.8125rem;
}

.date {
  color: var(--dl-steel);
}

.featured-content h3 {
  color: var(--dl-white);
  font-size: 1.75rem;
  line-height: 1.3;
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.featured-content p {
  color: var(--dl-steel);
  font-size: 1.0625rem;
  line-height: 1.6;
}

/* Featured Side Cards */
.featured-side .deathlab-card {
  background: var(--dl-gunmetal);
  border: var(--dl-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--dl-shadow-sm);
}

.vendors-content h4 {
  color: var(--dl-white);
  font-size: 1.375rem;
  margin-bottom: 1rem;
}

.vendors-content p {
  color: var(--dl-steel);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.vendors-features {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.vendors-features li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--dl-white);
  font-size: 0.9375rem;
}

.vendors-features li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--dl-cyan);
  font-weight: 700;
}

/* ======================
   ARTICLES SECTION
   ====================== */

.articles-section {
  padding: 5rem 0;
  background: var(--dl-black);
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

@media (max-width: 992px) {
  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 640px) {
  .articles-grid {
    grid-template-columns: 1fr;
  }
}

.article-card {
  background: var(--dl-gunmetal);
  border: var(--dl-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--dl-shadow-sm);
  transition: transform var(--transition-base),
              box-shadow var(--transition-base),
              border-color var(--transition-base);
  text-decoration: none !important;
  display: block;
}

.article-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--dl-shadow-md);
  border-color: rgba(111, 228, 255, 0.25);
}

.article-image {
  width: 100%;
  height: 200px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.default-article {
  background: linear-gradient(135deg, rgba(111, 228, 255, 0.1) 0%, transparent 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  filter: grayscale(0.5);
  opacity: 0.4;
}

.article-content {
  padding: 1.5rem;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
}

.article-content h3 {
  color: var(--dl-white);
  font-size: 1.25rem;
  line-height: 1.3;
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.article-content p {
  color: var(--dl-steel);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* ======================
   REDUCED MOTION
   ====================== */

@media (prefers-reduced-motion: reduce) {
  .hero-section::before,
  .site-hero::before,
  .gh-hero::before,
  .hero::before {
    filter: none;
    opacity: 0.3;
  }

  .fire-text,
  .accent-text,
  .cyan-text {
    text-shadow: none;
  }

  .featured-card,
  .article-card {
    transition: none;
  }

  .featured-card:hover,
  .article-card:hover {
    transform: none;
  }
}
