/* ==========================================================================
   WIPRAEXA INSIGHTS & EDITORIAL PUBLICATION STYLES
   Color tokens: Obsidian (#02050a), Violet/Magenta (#9333ea, #c026d3, #7928ca),
   Cyan (#38bdf8), Slate (#94a3b8), Border (rgba(255, 255, 255, 0.08))
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. GLOBAL UTILITIES & SECTION SPACING
   -------------------------------------------------------------------------- */
.insights-page {
  background-color: #02050a;
  color: #e2e8f0;
  overflow-x: hidden;
}

.insights-section {
  position: relative;
  padding: 6rem 0;
}

.insights-section-header {
  margin-bottom: 3.5rem;
}

.insights-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #c084fc;
  margin-bottom: 1rem;
}

.insights-eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #a855f7;
  box-shadow: 0 0 10px #c084fc;
}

.insights-heading {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: #ffffff;
  margin-bottom: 1rem;
}

.insights-subheading {
  font-size: 1.125rem;
  line-height: 1.6;
  color: #94a3b8;
  max-width: 680px;
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 30%, #c084fc 70%, #f472b6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --------------------------------------------------------------------------
   2. HERO SECTION
   -------------------------------------------------------------------------- */
.insights-hero {
  position: relative;
  padding: 8.5rem 0 5rem;
  background: radial-gradient(circle at 50% 10%, rgba(147, 51, 234, 0.18) 0%, rgba(2, 5, 10, 0) 65%);
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.insights-hero-beam {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse at center, rgba(168, 85, 247, 0.22), transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.insights-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.insights-hero-copy h1 {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 1.5rem;
}

.insights-hero-lead {
  font-size: 1.2rem;
  line-height: 1.65;
  color: #94a3b8;
  margin-bottom: 2rem;
  max-width: 620px;
}

.insights-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.hero-tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.9rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #cbd5e1;
  transition: all 0.2s ease;
}

.hero-tag-pill:hover {
  background: rgba(168, 85, 247, 0.1);
  border-color: rgba(168, 85, 247, 0.3);
  color: #ffffff;
}

.hero-tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #38bdf8;
}

.hero-tag-dot.purple {
  background: #c084fc;
}

.hero-tag-dot.pink {
  background: #f472b6;
}

/* Hero Right Floating Editorial Visual Deck */
.insights-hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-editorial-deck {
  position: relative;
  width: 100%;
  max-width: 440px;
  background: linear-gradient(145deg, rgba(30, 27, 75, 0.6) 0%, rgba(15, 23, 42, 0.8) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 1.75rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7), 0 0 30px rgba(147, 51, 234, 0.15);
  backdrop-filter: blur(16px);
}

.deck-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 1.25rem;
}

.deck-title {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #c084fc;
}

.deck-pulse-live {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #34d399;
}

.pulse-circle {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 8px #34d399;
  animation: pulseBeacon 2s infinite;
}

@keyframes pulseBeacon {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.deck-body-featured {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.deck-tag {
  align-self: flex-start;
  padding: 0.25rem 0.65rem;
  background: rgba(147, 51, 234, 0.2);
  border: 1px solid rgba(168, 85, 247, 0.4);
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #e9d5ff;
}

.deck-headline {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.35;
  color: #ffffff;
}

.deck-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-size: 1.1rem;
  font-weight: 800;
  color: #38bdf8;
}

.stat-lbl {
  font-size: 0.7rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* --------------------------------------------------------------------------
   3. FEATURED INSIGHT SECTION (LARGE 16:9 SPLIT CARD)
   -------------------------------------------------------------------------- */
.featured-section {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.featured-card {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  background: linear-gradient(135deg, rgba(20, 20, 45, 0.7) 0%, rgba(10, 15, 30, 0.9) 100%);
  border: 1px solid rgba(168, 85, 247, 0.25);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 40px rgba(147, 51, 234, 0.1);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.featured-card:hover {
  border-color: rgba(168, 85, 247, 0.5);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 50px rgba(147, 51, 234, 0.25);
  transform: translateY(-4px);
}

.featured-visual-pane {
  position: relative;
  min-height: 380px;
  background: radial-gradient(circle at 70% 30%, rgba(147, 51, 234, 0.35), rgba(15, 23, 42, 0.9));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 2.5rem;
}

.featured-mesh-bg {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.6;
}

.featured-floating-art {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 380px;
  background: rgba(10, 15, 30, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 1.75rem;
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.art-badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  background: #9333ea;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.art-title {
  font-size: 1rem;
  font-weight: 700;
  color: #f8fafc;
  margin-bottom: 0.5rem;
}

.art-diagram-bars {
  display: flex;
  gap: 8px;
  align-items: flex-end;
  height: 60px;
  margin-top: 1rem;
  padding-top: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.diagram-bar {
  flex: 1;
  background: linear-gradient(to top, #7928ca, #38bdf8);
  border-radius: 4px 4px 0 0;
  opacity: 0.8;
}

.featured-content-pane {
  padding: 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-badge-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.spotlight-pill {
  padding: 0.3rem 0.75rem;
  background: linear-gradient(135deg, rgba(147, 51, 234, 0.3), rgba(192, 38, 211, 0.3));
  border: 1px solid rgba(168, 85, 247, 0.5);
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #e9d5ff;
}

.featured-read-meta {
  font-size: 0.8125rem;
  color: #94a3b8;
}

.featured-title {
  font-size: clamp(1.6rem, 2.5vw, 2.25rem);
  font-weight: 800;
  line-height: 1.2;
  color: #ffffff;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.featured-title a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.2s ease;
}

.featured-title a:hover {
  color: #c084fc;
}

.featured-excerpt {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #94a3b8;
  margin-bottom: 2rem;
}

.featured-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.author-chip {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.author-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #9333ea, #38bdf8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  color: #ffffff;
  box-shadow: 0 0 12px rgba(147, 51, 234, 0.4);
}

.author-meta {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #ffffff;
}

.author-role {
  font-size: 0.75rem;
  color: #94a3b8;
}

/* --------------------------------------------------------------------------
   4. SEARCH, FILTER BAR & 3-COLUMN CARD GRID
   -------------------------------------------------------------------------- */
.filter-search-container {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  margin-bottom: 3rem;
}

.search-bar-wrap {
  position: relative;
  max-width: 640px;
  width: 100%;
}

.search-input-box {
  width: 100%;
  padding: 1rem 3rem 1rem 3.25rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  font-size: 1rem;
  color: #ffffff;
  font-family: inherit;
  transition: all 0.25s ease;
}

.search-input-box::placeholder {
  color: #64748b;
}

.search-input-box:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.06);
  border-color: #a855f7;
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.25);
}

.search-icon-left {
  position: absolute;
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  pointer-events: none;
}

.clear-search-btn {
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: none;
  align-items: center;
  justify-content: center;
  color: #cbd5e1;
  cursor: pointer;
  font-size: 0.75rem;
}

.clear-search-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

/* Category Filter Bar */
.category-filter-strip {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(168, 85, 247, 0.3) transparent;
}

.category-filter-strip::-webkit-scrollbar {
  height: 4px;
}

.category-filter-strip::-webkit-scrollbar-thumb {
  background: rgba(168, 85, 247, 0.3);
  border-radius: 4px;
}

.category-pill {
  white-space: nowrap;
  padding: 0.6rem 1.15rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #94a3b8;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.category-pill:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.18);
}

.category-pill.active {
  background: linear-gradient(135deg, #9333ea, #7928ca);
  color: #ffffff;
  font-weight: 600;
  border-color: #a855f7;
  box-shadow: 0 0 16px rgba(147, 51, 234, 0.4);
}

.results-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.875rem;
  color: #64748b;
}

.results-meta-bar strong {
  color: #cbd5e1;
}

/* 3-Column Responsive Grid */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.insight-article-card {
  display: flex;
  flex-direction: column;
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
  backdrop-filter: blur(8px);
  opacity: 1 !important;
  visibility: visible !important;
  transform: none;
}

.insight-article-card:hover {
  transform: translateY(-6px) !important;
  border-color: rgba(168, 85, 247, 0.35);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), 0 0 25px rgba(147, 51, 234, 0.15);
}

.card-visual-link {
  display: block;
  text-decoration: none;
}

.card-visual {
  position: relative;
  height: 200px;
  background: linear-gradient(135deg, #090d16 0%, #15102a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.card-featured-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.insight-article-card:hover .card-featured-img {
  transform: scale(1.06);
}

.card-visual.ai-automation {
  background: radial-gradient(circle at center, rgba(147, 51, 234, 0.3), #070a14);
}

.card-visual.web-development {
  background: radial-gradient(circle at center, rgba(56, 189, 248, 0.25), #070a14);
}

.card-visual.digital-marketing,
.card-visual.digital-strategy {
  background: radial-gradient(circle at center, rgba(236, 72, 153, 0.25), #070a14);
}

.card-visual.seo {
  background: radial-gradient(circle at center, rgba(16, 185, 129, 0.25), #070a14);
}

.visual-graphic {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.graphic-icon {
  color: rgba(255, 255, 255, 0.8);
  filter: drop-shadow(0 0 12px rgba(168, 85, 247, 0.6));
  transition: transform 0.3s ease;
}

.insight-article-card:hover .graphic-icon {
  transform: scale(1.1);
}

.card-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.25rem 0.65rem;
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #e2e8f0;
  backdrop-filter: blur(6px);
}

.card-content {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: #94a3b8;
  margin-bottom: 0.85rem;
}

.meta-category {
  font-weight: 700;
  color: #c084fc;
}

.meta-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #64748b;
}

.card-title {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.35;
  color: #ffffff;
  margin-bottom: 0.85rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-title a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.2s ease;
}

.card-title a:hover {
  color: #c084fc;
}

.card-excerpt {
  font-size: 0.875rem;
  line-height: 1.6;
  color: #94a3b8;
  margin-bottom: 1.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.card-author {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.card-author .author-avatar {
  width: 32px;
  height: 32px;
  font-size: 0.75rem;
}

.card-author .author-info {
  display: flex;
  flex-direction: column;
}

.card-author .author-name {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #e2e8f0;
}

.card-author .author-role {
  font-size: 0.7rem;
  color: #64748b;
}

.read-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #c084fc;
  text-decoration: none;
  transition: all 0.2s ease;
}

.read-link:hover {
  color: #ffffff;
  transform: translateX(3px);
}

/* Empty State */
.insights-empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 2rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: 16px;
}

.insights-empty-state h3 {
  font-size: 1.35rem;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.insights-empty-state p {
  color: #94a3b8;
  max-width: 450px;
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   5. TOPIC EXPLORER SECTION
   -------------------------------------------------------------------------- */
.topics-section {
  background: radial-gradient(circle at 50% 50%, rgba(30, 27, 75, 0.25) 0%, rgba(2, 5, 10, 0) 70%);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.topics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.topic-card {
  padding: 1.75rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.topic-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(168, 85, 247, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(147, 51, 234, 0.15);
}

.topic-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.topic-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(147, 51, 234, 0.15);
  border: 1px solid rgba(168, 85, 247, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c084fc;
}

.topic-count-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.topic-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.topic-desc {
  font-size: 0.875rem;
  line-height: 1.55;
  color: #94a3b8;
  flex-grow: 1;
}

/* --------------------------------------------------------------------------
   6. NEWSLETTER SUBSCRIPTION PANEL
   -------------------------------------------------------------------------- */
.newsletter-section {
  padding: 5rem 0 6rem;
}

.newsletter-panel {
  position: relative;
  background: linear-gradient(135deg, rgba(30, 27, 75, 0.8) 0%, rgba(15, 23, 42, 0.9) 100%);
  border: 1px solid rgba(168, 85, 247, 0.35);
  border-radius: 28px;
  padding: 4.5rem 3.5rem;
  text-align: center;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.7), 0 0 50px rgba(147, 51, 234, 0.2);
}

.newsletter-glow-orb {
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 350px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.25), transparent 70%);
  filter: blur(50px);
  pointer-events: none;
}

.newsletter-panel h2 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.newsletter-panel p {
  font-size: 1.125rem;
  color: #94a3b8;
  max-width: 580px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}

.newsletter-form-wrap {
  max-width: 540px;
  margin: 0 auto;
}

.newsletter-form {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.newsletter-input {
  flex: 1;
  padding: 1rem 1.5rem;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  color: #ffffff;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.2s ease;
}

.newsletter-input:focus {
  outline: none;
  border-color: #c084fc;
  box-shadow: 0 0 15px rgba(192, 132, 252, 0.3);
}

.newsletter-submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.75rem;
  background: linear-gradient(135deg, #9333ea, #7928ca);
  color: #ffffff;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  box-shadow: 0 0 20px rgba(147, 51, 234, 0.4);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.newsletter-submit-btn:hover {
  background: linear-gradient(135deg, #a855f7, #9333ea);
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(168, 85, 247, 0.6);
}

.newsletter-privacy {
  font-size: 0.8125rem;
  color: #64748b;
}

.newsletter-feedback {
  display: none;
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
}

.newsletter-feedback.show {
  display: block;
}

.newsletter-feedback.success {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
}

.newsletter-feedback.error {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #f87171;
}

/* --------------------------------------------------------------------------
   7. SINGLE ARTICLE PAGE TEMPLATE STYLES
   -------------------------------------------------------------------------- */
.article-header-section {
  padding: 8rem 0 3.5rem;
  background: radial-gradient(circle at 50% 20%, rgba(147, 51, 234, 0.18), transparent 70%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.article-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: #64748b;
  margin-bottom: 1.5rem;
}

.article-breadcrumbs a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s ease;
}

.article-breadcrumbs a:hover {
  color: #c084fc;
}

.article-main-title {
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: #ffffff;
  margin-bottom: 1.5rem;
}

.article-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.article-author-block {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.article-author-block .author-avatar {
  width: 46px;
  height: 46px;
  font-size: 0.95rem;
}

.article-reading-stats {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #94a3b8;
}

/* Article Body Container */
.article-body-layout {
  display: grid;
  grid-template-columns: minmax(0, 780px);
  justify-content: center;
  padding: 4rem 1.5rem 6rem;
}

.article-content {
  font-size: 1.125rem;
  line-height: 1.8;
  color: #cbd5e1;
}

.article-content p {
  margin-bottom: 1.75rem;
}

.article-content .lead-paragraph {
  font-size: 1.25rem;
  line-height: 1.7;
  color: #f1f5f9;
  font-weight: 400;
  margin-bottom: 2.25rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.article-content h2 {
  font-size: 1.85rem;
  font-weight: 800;
  color: #ffffff;
  margin: 3rem 0 1.25rem;
  letter-spacing: -0.02em;
}

.article-content h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #f8fafc;
  margin: 2.25rem 0 1rem;
}

.article-content ul,
.article-content ol {
  margin: 1.5rem 0 2rem 1.5rem;
  padding-left: 0.5rem;
}

.article-content li {
  margin-bottom: 0.75rem;
  line-height: 1.7;
}

.article-callout-box {
  background: linear-gradient(135deg, rgba(30, 27, 75, 0.4), rgba(15, 23, 42, 0.6));
  border-left: 4px solid #a855f7;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0 16px 16px 0;
  padding: 1.75rem;
  margin: 2.5rem 0;
}

.article-callout-box h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.article-callout-box p {
  margin-bottom: 0;
  font-size: 1rem;
  color: #cbd5e1;
}

.article-quote {
  font-size: 1.35rem;
  font-style: italic;
  line-height: 1.6;
  color: #e2e8f0;
  border-left: 3px solid #38bdf8;
  padding-left: 1.5rem;
  margin: 2.5rem 0;
}

.article-takeaways {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 2rem;
  margin: 3rem 0;
}

.article-takeaways h3 {
  margin-top: 0;
  margin-bottom: 1.25rem;
  color: #c084fc;
  font-size: 1.25rem;
}

.article-takeaways ol {
  margin: 0;
  padding-left: 1.25rem;
}

.article-takeaways li {
  margin-bottom: 0.85rem;
  font-weight: 500;
  color: #f1f5f9;
}

.article-cta-banner {
  background: linear-gradient(135deg, rgba(147, 51, 234, 0.2), rgba(15, 23, 42, 0.8));
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: 20px;
  padding: 2.5rem;
  text-align: center;
  margin-top: 4rem;
}

.article-cta-banner h3 {
  font-size: 1.6rem;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.article-cta-banner p {
  color: #94a3b8;
  max-width: 500px;
  margin: 0 auto 1.5rem;
}

/* --------------------------------------------------------------------------
   8. RESPONSIVE BREAKPOINTS
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .insights-hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .insights-hero-visual {
    justify-content: flex-start;
  }

  .featured-card {
    grid-template-columns: 1fr;
  }

  .featured-visual-pane {
    min-height: 260px;
  }

  .insights-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .insights-hero {
    padding: 6.5rem 0 3.5rem;
  }

  .insights-grid {
    grid-template-columns: 1fr;
  }

  .featured-content-pane {
    padding: 2rem 1.5rem;
  }

  .newsletter-panel {
    padding: 3rem 1.5rem;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .article-meta-bar {
    flex-direction: column;
    align-items: flex-start;
  }
}
