/* ========================================
   BLOG SPECIFIC STYLES - AICEBERG MIND
   Inherits design system from editorial-design.css
   ======================================== */

/* Blog-specific spacing variables - inherited from design tokens */

/* ========================================
   BLOG PAGE STYLES - REDESIGNED
   ======================================== */

/* Blog Page Body */
.blog-page {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
}

/* Blog Main Container */
.blog-main {
  min-height: 100vh;
  padding-top: 6rem;
  padding-bottom: 4rem;
}

/* Blog Hero Section */
.blog-hero-section {
  text-align: center;
  margin-bottom: 6rem;
  position: relative;
  overflow: hidden;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--bg-primary);
}

/* ========================================
   KANDINSKY GEOMETRIC ANIMATION
   ======================================== */
.kandinsky-animation {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.blog-title-editorial,
.blog-subtitle-editorial {
  position: relative;
  z-index: 2;
}

.geometric-shape {
  position: absolute;
  opacity: 0.6;
  animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Circles */
.circle-1 {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--brand-cyan), transparent 70%);
  top: 20%;
  left: 10%;
  animation: floatCircle1 8s ease-in-out infinite;
}

.circle-2 {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: radial-gradient(circle at 70% 40%, var(--brand-mint), transparent 60%);
  bottom: 30%;
  right: 15%;
  animation: floatCircle2 6s ease-in-out infinite reverse;
}

/* Triangles */
.triangle-1 {
  width: 0;
  height: 0;
  border-left: 40px solid transparent;
  border-right: 40px solid transparent;
  border-bottom: 70px solid rgba(0, 212, 255, 0.4);
  top: 60%;
  left: 20%;
  animation: rotateTriangle1 10s linear infinite;
}

.triangle-2 {
  width: 0;
  height: 0;
  border-left: 30px solid transparent;
  border-right: 30px solid transparent;
  border-bottom: 50px solid rgba(94, 228, 195, 0.4);
  top: 15%;
  right: 25%;
  animation: rotateTriangle2 12s linear infinite reverse;
}

/* Lines */
.line-1 {
  width: 200px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--brand-cyan), transparent);
  top: 40%;
  left: -50px;
  animation: slideLine1 7s ease-in-out infinite;
}

.line-2 {
  width: 150px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand-mint), transparent);
  bottom: 20%;
  right: -30px;
  animation: slideLine2 9s ease-in-out infinite reverse;
}

/* Rectangle */
.rect-1 {
  width: 60px;
  height: 40px;
  background: linear-gradient(45deg, 
    rgba(0, 212, 255, 0.2), 
    rgba(94, 228, 195, 0.3),
    rgba(0, 212, 255, 0.1)
  );
  top: 70%;
  left: 70%;
  animation: floatRect 11s ease-in-out infinite;
}

/* Animation Keyframes */
@keyframes floatCircle1 {
  0%, 100% { 
    transform: translateY(0) scale(1);
    opacity: 0.6;
  }
  25% { 
    transform: translateY(-30px) scale(1.1);
    opacity: 0.8;
  }
  50% { 
    transform: translateY(-10px) scale(0.9);
    opacity: 0.4;
  }
  75% { 
    transform: translateY(-40px) scale(1.05);
    opacity: 0.7;
  }
}

@keyframes floatCircle2 {
  0%, 100% { 
    transform: translateX(0) scale(1);
    opacity: 0.5;
  }
  33% { 
    transform: translateX(20px) scale(1.2);
    opacity: 0.8;
  }
  66% { 
    transform: translateX(-15px) scale(0.8);
    opacity: 0.3;
  }
}

@keyframes rotateTriangle1 {
  0% { 
    transform: rotate(0deg) translateY(0);
  }
  25% { 
    transform: rotate(90deg) translateY(-10px);
  }
  50% { 
    transform: rotate(180deg) translateY(5px);
  }
  75% { 
    transform: rotate(270deg) translateY(-15px);
  }
  100% { 
    transform: rotate(360deg) translateY(0);
  }
}

@keyframes rotateTriangle2 {
  0% { 
    transform: rotate(0deg) scale(1);
  }
  50% { 
    transform: rotate(180deg) scale(1.3);
  }
  100% { 
    transform: rotate(360deg) scale(1);
  }
}

@keyframes slideLine1 {
  0%, 100% { 
    transform: translateX(0) rotate(0deg);
    opacity: 0.3;
  }
  25% { 
    transform: translateX(100px) rotate(15deg);
    opacity: 0.8;
  }
  50% { 
    transform: translateX(200px) rotate(-10deg);
    opacity: 0.5;
  }
  75% { 
    transform: translateX(150px) rotate(25deg);
    opacity: 0.7;
  }
}

@keyframes slideLine2 {
  0%, 100% { 
    transform: translateX(0) rotate(0deg);
    opacity: 0.4;
  }
  33% { 
    transform: translateX(-80px) rotate(-20deg);
    opacity: 0.8;
  }
  66% { 
    transform: translateX(-150px) rotate(15deg);
    opacity: 0.3;
  }
}

@keyframes floatRect {
  0%, 100% { 
    transform: rotate(0deg) scale(1);
    opacity: 0.3;
  }
  20% { 
    transform: rotate(45deg) scale(1.1);
    opacity: 0.6;
  }
  40% { 
    transform: rotate(90deg) scale(0.9);
    opacity: 0.8;
  }
  60% { 
    transform: rotate(135deg) scale(1.2);
    opacity: 0.4;
  }
  80% { 
    transform: rotate(180deg) scale(0.8);
    opacity: 0.7;
  }
}

/* Mobile Responsiveness for Kandinsky Animation */
@media (max-width: 768px) {
  .kandinsky-animation {
    opacity: 0.5;
  }
  
  .circle-1, .circle-2 {
    transform: scale(0.7);
  }
  
  .triangle-1, .triangle-2 {
    transform: scale(0.6);
  }
  
  .line-1, .line-2 {
    transform: scale(0.8);
  }
  
  .rect-1 {
    transform: scale(0.5);
  }
}

.blog-title-editorial {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 12vw, 8rem);
  font-weight: 100;
  line-height: 0.85;
  letter-spacing: -0.05em;
  color: var(--text-primary);
  margin: 0 0 1.5rem 0;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--brand-mint), var(--brand-cyan));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.blog-subtitle-editorial {
  font-family: var(--font-body);
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 300;
  line-height: 1.4;
  color: var(--text-secondary);
  margin: 0;
  letter-spacing: 0.02em;
}

/* Blog Posts Grid */
.blog-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

/* Featured Post (First Post) */
.featured-post {
  grid-column: 1 / -1;
  max-width: 800px;
  margin: 0 auto 2rem auto;
}

/* Blog Post Cards */
.blog-post-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.blog-post-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 212, 255, 0.3);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.3),
    0 0 30px rgba(0, 212, 255, 0.1);
}

.blog-post-link {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

/* Blog Post Images */
.blog-post-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
}

.featured-post .blog-post-image {
  height: 300px;
}

.blog-post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-post-card:hover .blog-post-image img {
  transform: scale(1.05);
}

/* Blog Post Content - consolidated */

.blog-post-title {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-weight: 300;
  line-height: 1.2;
  color: var(--text-primary);
  margin: 0 0 0.75rem 0;
  transition: color 0.3s ease;
}

.featured-post .blog-post-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
}

.blog-post-card:hover .blog-post-title {
  color: var(--brand-cyan);
}

.blog-post-excerpt {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

.featured-post .blog-post-excerpt {
  font-size: 1.05rem;
}

/* ========================================
   BLOG PAGES SPECIFIC RULES
   Override container-narrow for wider layout
   ======================================== */
.blog-page .container-narrow,
.blog-post-page .container-narrow {
  max-width: calc(100vw - 1rem) !important;
  padding: 0 1rem !important;
}

@media (min-width: 769px) {
  .blog-page .container-narrow,
  .blog-post-page .container-narrow {
    max-width: 1000px !important;
    padding: 0 2rem !important;
  }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .blog-main {
    padding-top: 4rem;
  }
  
  .blog-hero-section {
    margin-bottom: 4rem;
  }
  
  .blog-posts-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .blog-post-content {
    padding: 1.25rem;
  }
  
  .blog-post-image {
    height: 180px;
  }
  
  .featured-post .blog-post-image {
    height: 220px;
  }
  
}

/* ========================================
   BLOG POST SINGLE PAGE STYLES
   ======================================== */

/* Blog Post Page Body */
.blog-post-page {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
}

/* Blog Post Main */
.blog-post-main {
  min-height: 100vh;
  padding-top: 6rem;
  padding-bottom: 4rem;
}

/* Blog Post Article */
.blog-post-article {
  max-width: 100%;
}

/* Blog Post Hero Image */
.blog-post-hero {
  width: 100%;
  margin-bottom: 3rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.blog-post-hero-img {
  width: 100%;
  height: auto;
  display: block;
}

/* Blog Post Header */
.blog-post-header {
  text-align: center;
  margin-bottom: 4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 3rem;
}

/* Blog Post Meta */
.blog-post-meta {
  margin-bottom: 1.5rem;
}

.blog-post-date {
  display: block;
  font-size: 0.875rem;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 400;
  margin-bottom: 0.5rem;
}

.blog-post-updated {
  display: block;
  font-size: 0.75rem;
  color: var(--text-quaternary);
  font-style: italic;
}

/* Blog Post Main Title */
.blog-post-title-main {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 100;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin: 0;
  background: linear-gradient(135deg, var(--brand-mint), var(--brand-cyan));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Blog Post Content */
.blog-post-content {
  font-family: var(--font-body);
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-primary);
  max-width: 65ch;
  margin: 0 auto;
  padding: 1.5rem;
}

/* Typography within post content */
.blog-post-content h1,
.blog-post-content h2,
.blog-post-content h3,
.blog-post-content h4,
.blog-post-content h5,
.blog-post-content h6 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  margin: 3rem 0 1.5rem 0;
  line-height: 1.2;
}

.blog-post-content h2 {
  font-size: 2rem;
  font-weight: 200;
  color: var(--brand-cyan);
}

.blog-post-content h3 {
  font-size: 1.5rem;
  font-weight: 300;
}

.blog-post-content p {
  margin: 1.5rem 0;
  color: var(--text-secondary);
}

.blog-post-content strong {
  color: var(--text-primary);
  font-weight: 500;
}

.blog-post-content em {
  color: var(--brand-mint);
  font-style: italic;
}

.blog-post-content a {
  color: var(--brand-cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 212, 255, 0.3);
  transition: all 0.3s ease;
}

.blog-post-content a:hover {
  color: var(--brand-mint);
  border-bottom-color: var(--brand-mint);
}

.blog-post-content blockquote {
  border-left: 3px solid var(--brand-cyan);
  margin: 2rem 0;
  color: var(--text-secondary);
  font-style: italic;
  background: rgba(0, 212, 255, 0.02);
  padding: 1.5rem 2rem;
  border-radius: 0 8px 8px 0;
}

.blog-post-content code {
  background: rgba(255, 255, 255, 0.05);
  color: var(--brand-mint);
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
  font-size: 0.9em;
}

.blog-post-content pre {
  background: rgba(0, 0, 0, 0.3);
  padding: 1.5rem;
  border-radius: 8px;
  overflow-x: auto;
  margin: 2rem 0;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.blog-post-content pre code {
  background: none;
  padding: 0;
  color: var(--text-primary);
}

.blog-post-content ul,
.blog-post-content ol {
  margin: 1.5rem 0;
  padding-left: 2rem;
  color: var(--text-secondary);
}

.blog-post-content li {
  margin: 0.75rem 0;
}

/* Mobile Responsiveness for Blog Post */
@media (max-width: 768px) {
  .blog-post-main {
    padding-top: 4rem;
  }
  
  .blog-post-header {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
  }
  
  .blog-post-content {
    font-size: 1rem;
    max-width: 100%;
  }
  
  .blog-post-hero {
    margin-bottom: 2rem;
  }
}

section {
  position: relative;
  min-height: 100vh;
  height: auto;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
  z-index: 6;
  padding: var(--spacing-lg);
  width: 100%;
  box-sizing: border-box;
  flex-direction: column;
}

.parallax-section {
  text-align: left;
  display: block;
  padding: var(--spacing-md) var(--spacing-lg);
  margin-top: 0;
  z-index: 5;
  min-height: auto;
  height: auto;
  flex-direction: column;
  overflow-x: hidden;
}

/* SPACING OPTIMIZATION */
.parallax-section + .parallax-section {
  margin-top: -3rem; /* Reduce space between sections */
}


/* Blog Section Base */
.blog-section.editorial-section {
  padding: 12rem 0 8rem 0;
  min-height: 100vh;
}

.blog-section .editorial-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--spacing-xl) var(--spacing-lg);
}

/* Blog Header */
.blog-section .section-header-editorial {
  text-align: left;
  margin-bottom: var(--blog-title-spacing);
}

.blog-section .editorial-heading {
  margin-bottom: var(--spacing-lg);
}

.blog-section .editorial-caption {
  margin-bottom: var(--spacing-xl);
}



/* Category Filters */
.blog-section .blog-categories {
  display: flex;
  justify-content: center;
  gap: var(--spacing-sm);
  margin-bottom: var(--blog-filters-spacing);
  flex-wrap: wrap;
  padding: var(--spacing-lg) 0;
}

.blog-section .category-filter {
  padding: 0.8rem 1.5rem;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  border-radius: 0;
  text-transform: uppercase;
  letter-spacing: 0.05rem;
}

.blog-section .category-filter:hover,
.blog-section .category-filter.active {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
  color: #ffffff;
  transform: translateY(-2px);
}

/* Featured Article */
.blog-section .blog-featured-article {
  margin-bottom: var(--blog-header-spacing);
  margin-top: var(--spacing-xl);
}

.featured-card {
  position: relative;
  height: 500px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
}

.featured-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.3);
}

.featured-image-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.featured-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.featured-card:hover .featured-image {
  transform: scale(1.05);
}

.featured-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  padding: 3rem var(--spacing-lg) var(--spacing-lg);
  color: #ffffff;
}

.featured-category {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  background: rgba(0, 212, 255, 0.2);
  border: 1px solid rgba(0, 212, 255, 0.4);
  color: #00D4FF;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05rem;
  margin-bottom: 1rem;
}

.featured-title {
  font-size: 2rem;
  font-weight: 300;
  margin-bottom: 0.8rem;
  line-height: 1.3;
  color: #ffffff;
}

.featured-excerpt {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.featured-meta {
  display: flex;
  gap: var(--spacing-sm);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 1.5rem;
}

.featured-read-more {
  color: #00D4FF;
  text-decoration: none;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05rem;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.featured-read-more:hover {
  color: #ffffff;
}

/* Articles Grid */
.blog-articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--blog-card-spacing);
  margin-bottom: var(--blog-section-spacing);
}

.blog-article-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
}

.blog-article-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
}

.article-thumb {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

/* Blog Placeholder Image Style */
.blog-placeholder-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: linear-gradient(135deg, rgba(0,212,255,0.08) 0%, rgba(10,10,10,0.8) 100%);
  opacity: 0.85;
  filter: grayscale(0.2) brightness(1.1);
}

.featured-image.blog-placeholder-image,
.article-thumb.blog-placeholder-image,
.related-thumb.blog-placeholder-image {
  background: linear-gradient(135deg, rgba(0,212,255,0.08) 0%, rgba(10,10,10,0.8) 100%);
  opacity: 0.85;
  filter: grayscale(0.2) brightness(1.1);
}

.blog-article-card:hover .article-thumb {
  transform: scale(1.05);
}

.article-category {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.3);
  color: #00D4FF;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05rem;
  margin-bottom: 1rem;
}

.article-title {
  font-size: 1.3rem;
  font-weight: 400;
  color: #ffffff;
  margin-bottom: 0.8rem;
  line-height: 1.4;
}

.article-excerpt {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin-bottom: 1.2rem;
}

.article-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 1rem;
}

.article-read-more {
  color: #00D4FF;
  text-decoration: none;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05rem;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.article-read-more:hover {
  color: #ffffff;
}

/* Load More Button */
.blog-load-more {
  text-align: center;
  margin-top: 3rem;
}

.load-more-btn {
  padding: 1rem 2rem;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.05rem;
}

.load-more-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
}

/* ========================================
   SINGLE ARTICLE STYLES
   ======================================== */

.blog-article-section {
  padding: 10rem 0 4rem 0;
}

/* Article Header */
.article-header {
  text-align: center;
  margin-bottom: var(--blog-section-spacing);
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.article-category-tag {
  display: inline-block;
  padding: 0.4rem var(--spacing-sm);
  background: rgba(0, 212, 255, 0.2);
  border: 1px solid rgba(0, 212, 255, 0.4);
  color: #00D4FF;
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05rem;
  margin-bottom: var(--spacing-lg);
}

.article-title--hero {
  font-size: 3rem;
  font-weight: 300;
  color: #ffffff;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.article-subtitle {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.article-meta-detailed {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 600px;
  margin: 0 auto;
  padding-top: var(--spacing-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.article-author {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

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

.author-name {
  color: #ffffff;
  font-weight: 500;
  font-size: 0.95rem;
}

.author-role {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
}

.article-publication-info {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.3rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Featured Image */
.article-featured-image {
  margin-bottom: 3rem;
}

.article-hero-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.article-image-caption {
  text-align: center;
  margin-top: var(--spacing-sm);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  font-style: italic;
}

/* Article Content */
.article-content {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--space-md);
}

.article-intro {
  margin-bottom: 3rem;
}

.article-lead {
  font-size: 1.2rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
}

/* Drop-cap styles moved to global system in design-tokens.css */

.content-block {
  margin-bottom: 3rem;
}

.content-block h2 {
  font-size: 2rem;
  font-weight: 400;
  color: #ffffff;
  margin-bottom: var(--spacing-md);
}

.content-block p {
  margin-bottom: var(--spacing-md);
}

.editorial-list {
  margin: var(--spacing-lg) 0;
  padding-left: 0;
  list-style: none;
}

.editorial-list li {
  padding: 0.8rem 0;
  padding-left: var(--spacing-lg);
  position: relative;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.editorial-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: #00D4FF;
  font-weight: bold;
}

/* Quote Block */
.article-quote {
  margin: 3rem 0;
  padding: var(--spacing-lg);
  background: rgba(0, 212, 255, 0.05);
  border-left: 4px solid #00D4FF;
  font-style: italic;
}

.article-quote p {
  font-size: 1.3rem;
  color: #ffffff;
  margin-bottom: var(--spacing-sm);
  line-height: 1.6;
}

.article-quote cite {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  font-style: normal;
}

/* Media Elements */
.article-media {
  margin: 3rem 0;
}

.article-video {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.article-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.article-inline-image {
  width: 100%;
  height: auto;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.article-media-caption {
  text-align: center;
  margin-top: var(--spacing-sm);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  font-style: italic;
}

/* Call to Action */
.article-cta {
  margin: 4rem 0;
}

.article-cta .text-frame {
  max-width: 600px;
  margin: 0 auto;
}

.article-cta .frame-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: var(--spacing-md);
}

.article-cta .content-block-title {
  font-size: 1.5rem;
  font-weight: 400;
  color: #ffffff;
  margin-bottom: 0;
}

.article-cta .editorial-body {
  text-align: center;
  margin-bottom: 0;
}

.btn-editorial {
  display: inline-block;
  padding: 1rem 2rem;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05rem;
  transition: all 0.3s ease;
}

.article-cta .btn-editorial {
  margin-top: 0;
}

.btn-editorial:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
}

/* Article Highlight Box */
.article-highlight {
  margin: 3rem 0;
}

.article-highlight .text-frame {
  max-width: 700px;
  margin: 0 auto;
}

.article-highlight .content-block-title {
  font-size: 1.3rem;
  font-weight: 500;
  color: #00D4FF;
  margin-bottom: var(--spacing-sm);
  text-align: center;
}

.article-highlight .editorial-body {
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
  font-style: italic;
}

/* Article Tags */
.article-tags {
  margin: 3rem 0;
  padding: var(--spacing-lg) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tag-label {
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
  margin-right: var(--spacing-sm);
}

.article-tag {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  margin: 0.2rem var(--spacing-xs) 0.2rem 0;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.8rem;
  transition: all 0.3s ease;
}

.article-tag:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

/* Article Navigation */
.article-navigation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
  margin: var(--blog-section-spacing) 0;
}

.article-nav-item {
  padding: var(--spacing-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
}

.article-nav-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

.nav-direction {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.05rem;
  display: block;
  margin-bottom: 0.5rem;
}

.nav-title {
  font-size: 1.1rem;
  color: #ffffff;
  font-weight: 400;
  line-height: 1.4;
}

.article-nav-prev {
  text-align: left;
}

.article-nav-next {
  text-align: right;
}

/* Related Articles */
.related-articles {
  margin: var(--blog-section-spacing) 0;
  padding: 3rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.related-title {
  font-size: 1.8rem;
  font-weight: 400;
  color: #ffffff;
  margin-bottom: var(--spacing-lg);
  text-align: center;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-md);
}

.related-article {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
}

.related-article:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

.related-thumb {
  width: 100%;
  height: 140px;
  object-fit: cover;
}

.related-content {
  padding: var(--spacing-sm);
}

.related-category {
  font-size: 0.7rem;
  color: #00D4FF;
  text-transform: uppercase;
  letter-spacing: 0.05rem;
  font-weight: 500;
}

.related-article-title {
  font-size: 1rem;
  color: #ffffff;
  margin: var(--spacing-xs) 0;
  font-weight: 400;
  line-height: 1.3;
}

.related-date {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

/* FAQ Inline Styles */
.faq-inline {
  margin: var(--spacing-lg) 0;
}

.faq-question-inline {
  font-size: 1.2rem;
  color: #00D4FF;
  margin: var(--spacing-lg) 0 var(--spacing-sm) 0;
  font-weight: 500;
  line-height: 1.4;
}

.faq-question-inline:first-child {
  margin-top: var(--spacing-sm);
}

/* Article Example Box */
.article-example {
  background: rgba(0, 212, 255, 0.05);
  border: 1px solid rgba(0, 212, 255, 0.2);
  padding: var(--spacing-lg);
  margin: var(--spacing-lg) 0;
  border-radius: 4px;
}

.article-example h4 {
  margin-bottom: var(--spacing-sm);
}

/* Enhanced Text Frames */
.text-frame .content-block-title {
  color: #00D4FF;
  margin-bottom: var(--spacing-sm);
}

/* ========================================
   CITATIONS & BIBLIOGRAPHY STYLES
   Following APA standard with editorial design
   ======================================== */

/* In-text citations */
.citation {
  color: #00D4FF;
  font-size: 0.9em;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.citation:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* Footnote style citations */
.footnote-ref {
  position: relative;
  top: -0.5em;
  font-size: 0.8em;
  color: #00D4FF;
  text-decoration: none;
  font-weight: 500;
}

.footnote-ref:hover {
  color: #ffffff;
}

/* Bibliography/References Section */
.bibliography-section {
  margin: var(--blog-section-spacing) 0 3rem 0;
  padding: 0;
  border-top: 2px solid rgba(0, 212, 255, 0.3);
  overflow: hidden;
}

.bibliography-header {
  background: rgba(0, 212, 255, 0.05);
  border: 1px solid rgba(0, 212, 255, 0.2);
  padding: var(--spacing-md) var(--spacing-lg);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.bibliography-header:hover {
  background: rgba(0, 212, 255, 0.08);
  border-color: rgba(0, 212, 255, 0.4);
}

.bibliography-title {
  font-size: 1.5rem;
  font-weight: 500;
  font-family: var(--font-sans);
  color: var(--primary-color);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.05rem;
}

.bibliography-toggle {
  font-size: 1.2rem;
  color: #00D4FF;
  font-weight: 300;
  transition: transform 0.3s ease;
}

.bibliography-section.expanded .bibliography-toggle {
  transform: rotate(180deg);
}

.bibliography-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: rgba(0, 212, 255, 0.02);
}

.bibliography-section.expanded .bibliography-content {
  max-height: 2000px;
}

.bibliography-inner {
  padding: var(--spacing-lg);
}

.bibliography-list {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 0 auto;
  counter-reset: bibliography-counter;
}

.bibliography-item {
  margin-bottom: var(--spacing-md);
  padding: var(--spacing-sm) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  padding-left: 2rem;
}

.bibliography-item:last-child {
  border-bottom: none;
}

.bibliography-item::before {
  content: counter(bibliography-counter);
  counter-increment: bibliography-counter;
  position: absolute;
  left: 0;
  top: var(--spacing-sm);
  background: rgba(0, 212, 255, 0.2);
  color: #00D4FF;
  border: 1px solid rgba(0, 212, 255, 0.4);
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 500;
}



/* Author names in bibliography */
.bib-author {
  font-weight: 500;
  color: #ffffff;
}

/* Publication year */
.bib-year {
  color: #00D4FF;
  font-weight: 500;
}

/* Article/Book title */
.bib-title {
  font-style: italic;
  color: rgba(255, 255, 255, 0.9);
}

/* Journal/Publisher */
.bib-source {
  color: rgba(255, 255, 255, 0.8);
}

/* DOI/URL links */
.bib-link {
  color: #00D4FF;
  text-decoration: none;
  font-size: 0.9em;
  transition: color 0.3s ease;
}

.bib-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* Research Sources Section */
.sources-section {
  margin: 3rem 0;
  padding: var(--spacing-lg);
  background: rgba(0, 212, 255, 0.03);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 4px;
}

.sources-title {
  font-size: 1.3rem;
  font-weight: 500;
  color: #00D4FF;
  margin-bottom: var(--spacing-md);
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.sources-title::before {
  content: "▣";
  font-size: 1.2rem;
  font-weight: 300;
  color: #00D4FF;
}

.sources-intro {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--spacing-md);
  line-height: 1.6;
  font-style: italic;
}

/* Quick citations for inline references */
.inline-citation {
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.3);
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
  font-size: 0.85em;
  color: #00D4FF;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

.inline-citation:hover {
  background: rgba(0, 212, 255, 0.2);
  color: #ffffff;
}

/* Fact-check box */
.fact-check-box {
  margin: var(--spacing-lg) 0;
  padding: var(--spacing-md);
  background: rgba(0, 255, 100, 0.03);
  border: 1px solid rgba(0, 255, 100, 0.2);
  border-left: 4px solid #00FF64;
  border-radius: 4px;
}

.fact-check-title {
  font-size: 1rem;
  font-weight: 500;
  color: #00FF64;
  margin-bottom: var(--spacing-xs);
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
}

.fact-check-title::before {
  content: "✓";
  font-weight: bold;
}

.fact-check-content {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 768px) {
  .blog-section .editorial-heading {
    font-size: 2.5rem;
  }
  
  .blog-section .section-header-editorial {
    margin-bottom: 3rem;
  }
  
  .blog-section .blog-categories {
    margin-bottom: 3rem;
    padding: var(--spacing-md) 0;
  }
  
  .blog-section .blog-featured-article {
    margin-top: var(--spacing-lg);
  }
  
  .article-title {
    font-size: 2rem;
  }
  
  .featured-card {
    height: 400px;
  }
  
  .featured-overlay {
    padding: var(--spacing-lg) var(--spacing-md) var(--spacing-md);
  }
  
  .featured-title {
    font-size: 1.5rem;
  }
  
  .blog-articles-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }
  
  .article-meta-detailed {
    flex-direction: column;
    gap: var(--spacing-sm);
    text-align: center;
  }
  
  .article-publication-info {
    align-items: center;
  }
  
  .article-navigation {
    grid-template-columns: 1fr;
  }
  
  .related-grid {
    grid-template-columns: 1fr;
  }
  
  .category-filters {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 1rem;
  }
  
  .drop-cap {
    font-size: 3rem;
    line-height: 2.5rem;
  }
  
  .bibliography-item {
    padding-left: 1.5rem;
  }
  
  .bibliography-item::before {
    width: 1.2rem;
    height: 1.2rem;
    font-size: 0.7rem;
  }
  
  .sources-section {
    padding: var(--spacing-md);
  }
  
  .bibliography-header {
    padding: var(--spacing-md);
  }
  
  .bibliography-title {
    font-size: 1.2rem;
  }
  
  .bibliography-inner {
    padding: var(--spacing-md);
  }
}

@media (max-width: 480px) {
  .blog-section .editorial-container {
    padding: var(--spacing-lg) var(--spacing-sm);
  }
  
  .blog-section .section-header-editorial {
    margin-bottom: var(--spacing-lg);
  }
  
  .blog-section .blog-categories {
    margin-bottom: var(--spacing-lg);
    padding: var(--spacing-sm) 0;
  }
  
  .blog-section .editorial-heading {
    font-size: 2rem;
  }
  
  .article-title {
    font-size: 1.7rem;
  }
  
  .featured-card {
    height: 300px;
  }
  
  .article-content {
    padding: var(--spacing-sm);
  }
  
  .article-hero-image {
    height: 250px;
  }
  .blog-placeholder-image {
    height: 100px;
    min-height: 80px;
    border-width: 1.5px;
  }
  
}