/* ==========================================================================
   EDITORIAL INSIGHTS SECTION — Clean Theme with Left & Right Flanking Mandalas
   ========================================================================== */

.editorial-section,
.insights-hero {
  position: relative;
  padding: 80px 0;
  background: #FDFBF7 !important;
  overflow: hidden !important;
  border-top: 1px solid var(--border-gold);
  border-bottom: 1px solid var(--border-gold);
}

/* ==========================================================================
   LEFT & RIGHT ELEGANT FLANKING ANIMATED SACRED MANDALAS
   ========================================================================== */

.insights-flank-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 280px;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.ajna-flank {
  position: absolute;
  top: 25px;
  width: 210px;
  height: 210px;
  pointer-events: none;
}

.ajna-flank-left {
  left: 5%;
}

.ajna-flank-right {
  right: 5%;
}

@keyframes pulse-flank-aura {
  0%, 100% {
    transform: scale(0.9);
    opacity: 0.35;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.65;
  }
}

@keyframes spin-flank-geometry {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes float-flank-lotus {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.flank-glow-aura {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(49, 46, 129, 0.25) 0%, rgba(245, 158, 11, 0.12) 60%, transparent 80%);
  animation: pulse-flank-aura 6s ease-in-out infinite;
}

.flank-chakra-svg {
  width: 100%;
  height: 100%;
  animation: float-flank-lotus 7s ease-in-out infinite;
}

.flank-spin-ring {
  transform-origin: 150px 150px;
  animation: spin-flank-geometry 45s linear infinite;
}

.flank-counter-ring {
  transform-origin: 150px 150px;
  animation: spin-flank-geometry 30s linear reverse infinite;
}

/* Section header text is 100% clean and unobstructed in center */
.editorial-section .section-header,
.insights-hero .section-header {
  position: relative;
  z-index: 3;
  max-width: 820px;
  margin: 0 auto 48px;
  padding: 0 16px;
  background: transparent !important;
  border-radius: 0 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: none !important;
  text-align: center;
}

.editorial-section .section-header h2,
.editorial-section .section-header h1,
.insights-hero h1 {
  color: #1E1B4B !important;
  margin-bottom: 12px !important;
  text-shadow: none !important;
}

.editorial-section .section-header p,
.insights-hero p {
  color: #4B5563 !important;
  font-weight: 500 !important;
  font-size: 1.125rem !important;
  text-shadow: none !important;
}

.editorial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 28px;
  position: relative;
  z-index: 3;
}

@media (max-width: 1200px) {
  .ajna-flank {
    width: 160px;
    height: 160px;
    top: 35px;
  }
  .ajna-flank-left { left: 2%; }
  .ajna-flank-right { right: 2%; }
}

@media (max-width: 992px) {
  .insights-flank-backdrop {
    display: none !important;
  }
  .editorial-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

/* Portrait Editorial Card (Aspect ratio 4:5, Text Overlay on Image for Desktop) */
.editorial-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  min-height: 440px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-decoration: none;
  box-shadow: 0 12px 32px rgba(24, 20, 58, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.4s cubic-bezier(0.25, 0.1, 0.25, 1), box-shadow 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.editorial-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 48px rgba(24, 20, 58, 0.22);
}

.editorial-card-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.editorial-card:hover .editorial-card-bg {
  transform: scale(1.06);
}

.editorial-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(18, 14, 46, 0.96) 0%, rgba(18, 14, 46, 0.65) 50%, rgba(18, 14, 46, 0.1) 100%);
  z-index: 1;
}

.editorial-card-content {
  position: relative;
  z-index: 2;
  padding: 32px 24px 28px;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
}

.editorial-category {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #F59E0B;
  margin-bottom: 8px;
}

.editorial-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.35;
  margin-bottom: 8px;
}

.editorial-desc {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
  margin: 0;
}

/* ==========================================================================
   MOBILE PINTEREST MASONRY FEED STYLING (2-COLUMN STAGGERED PINS)
   ========================================================================== */
@media (max-width: 768px) {
  .editorial-section {
    padding: 48px 0 !important;
  }

  .editorial-section .section-header {
    padding: 16px 14px !important;
    margin-bottom: 28px !important;
    border-radius: 0 !important;
  }

  .editorial-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 18px 12px !important;
    align-items: start !important;
  }

  .editorial-card {
    position: relative !important;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    border-radius: 0 !important;
    aspect-ratio: auto !important;
    min-height: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    overflow: visible !important;
    transform: none !important;
  }

  .editorial-card:hover {
    transform: none !important;
    box-shadow: none !important;
  }

  .editorial-card-bg {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    height: auto !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08) !important;
    object-fit: cover !important;
    aspect-ratio: 3 / 4.2 !important;
  }

  .editorial-card:nth-child(2) .editorial-card-bg {
    aspect-ratio: 1 / 1 !important;
  }
  .editorial-card:nth-child(3) .editorial-card-bg {
    aspect-ratio: 4 / 5.2 !important;
  }
  .editorial-card:nth-child(4) .editorial-card-bg {
    aspect-ratio: 3 / 4 !important;
  }
  .editorial-card:nth-child(5) .editorial-card-bg {
    aspect-ratio: 1 / 1 !important;
  }
  .editorial-card:nth-child(6) .editorial-card-bg {
    aspect-ratio: 3 / 4.5 !important;
  }

  .editorial-card-overlay {
    display: none !important;
  }

  .editorial-card-content {
    position: relative !important;
    padding: 8px 2px 0 2px !important;
    color: var(--text) !important;
    height: auto !important;
    z-index: 2 !important;
  }

  .editorial-category {
    font-size: 0.6875rem !important;
    font-weight: 700 !important;
    color: #D97706 !important;
    margin-bottom: 2px !important;
    letter-spacing: 0.04em !important;
  }

  .editorial-title {
    font-size: 0.8125rem !important;
    font-weight: 700 !important;
    color: #1F2937 !important;
    line-height: 1.25 !important;
    margin-bottom: 4px !important;
  }

  .editorial-desc {
    font-size: 0.75rem !important;
    color: #6B7280 !important;
    line-height: 1.35 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }
}
