/* ══════════════════════════════════════════════════════════
   PRADUMNA_FX — EDITORIAL MARKETPLACE DESIGN SYSTEM
   Ultra-Minimal, Luxury, Gallery-First
   ══════════════════════════════════════════════════════════ */

/* --- Foundational overrides for Editorial style --- */
body.editorial-body {
  background-color: #050505; /* Almost black */
  color: #e5e7eb;
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.8;
}

/* --- Container --- */
.ed-container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 4vw;
}

/* --- The Hero Header (Typography First) --- */
.ed-hero-header {
  padding: 120px 0 40px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.ed-breadcrumbs {
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #6b7280;
  margin-bottom: 24px;
}

.ed-breadcrumbs a {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.3s ease;
}

.ed-breadcrumbs a:hover {
  color: #fff;
}

.ed-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 24px;
}

.ed-meta-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  font-size: 0.95rem;
  color: #9ca3af;
}

.ed-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* --- Cinematic Image Section --- */
.ed-cinematic-wrapper {
  width: 100%;
  margin-bottom: 20px;
}

.ed-main-preview {
  width: 100%;
  aspect-ratio: 21 / 9;
  background-color: #111;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.ed-main-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* --- Thumbnail Strip --- */
.ed-thumb-strip {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 10px 0;
  scrollbar-width: none; /* Firefox */
}

.ed-thumb-strip::-webkit-scrollbar {
  display: none;
}

.ed-thumb {
  flex: 0 0 auto;
  width: 180px;
  aspect-ratio: 16/9;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.4s ease;
}

.ed-thumb:hover, .ed-thumb.active {
  opacity: 1;
}

.ed-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- Layout Grid (Content + Sidebar) --- */
.ed-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 80px;
  padding: 80px 0 160px;
  align-items: start;
}

@media (max-width: 1024px) {
  .ed-layout {
    grid-template-columns: 1fr;
    gap: 60px;
  }
}

/* --- Editorial Content Blocks --- */
.ed-section {
  margin-bottom: 100px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 60px;
}

.ed-section:first-child {
  border-top: none;
  padding-top: 0;
}

.ed-h2 {
  font-size: 1.75rem;
  font-weight: 400;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 40px;
}

.ed-desc-text {
  font-size: 1.25rem;
  color: #d1d5db;
  line-height: 1.8;
  max-width: 800px;
}

.ed-desc-text p {
  margin-bottom: 24px;
}

/* Editorial Features - Alternating Blocks */
.ed-feature-block {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 60px;
  align-items: start;
}

.ed-feature-block.reverse {
  grid-template-columns: 1.5fr 1fr;
}

@media (max-width: 768px) {
  .ed-feature-block, .ed-feature-block.reverse {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.ed-feature-title {
  font-size: 1.4rem;
  font-weight: 400;
  color: #fff;
  line-height: 1.3;
}

.ed-feature-body {
  font-size: 1.1rem;
  color: #9ca3af;
  line-height: 1.7;
}

/* --- Sticky Download Sidebar --- */
.ed-sidebar {
  position: sticky;
  top: 120px;
}

.ed-download-panel {
  padding: 0;
  background: transparent;
  border: none;
}

.ed-dl-btn {
  display: block;
  width: 100%;
  background: #fff;
  color: #000;
  text-align: center;
  padding: 20px 24px;
  font-size: 1.1rem;
  font-weight: 500;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.3s ease;
  margin-bottom: 32px;
}

.ed-dl-btn:hover {
  background: #e5e7eb;
  transform: translateY(-2px);
}

.ed-info-list {
  list-style: none;
  padding: 0;
  margin: 0 0 40px 0;
}

.ed-info-list li {
  display: flex;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.95rem;
}

.ed-info-label {
  color: #6b7280;
}

.ed-info-value {
  color: #d1d5db;
}

/* --- Minimal Chips / Wireframe style --- */
.ed-chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.ed-chip {
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 40px;
  font-size: 0.85rem;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* --- Editorial Installation Steps --- */
.ed-steps {
  counter-reset: ed-counter;
  list-style: none;
  padding: 0;
}

.ed-steps li {
  position: relative;
  padding-left: 48px;
  margin-bottom: 32px;
  font-size: 1.1rem;
  color: #d1d5db;
}

.ed-steps li::before {
  counter-increment: ed-counter;
  content: "0" counter(ed-counter);
  position: absolute;
  left: 0;
  top: 2px;
  font-size: 0.9rem;
  color: #6b7280;
  font-weight: 400;
}

/* --- Minimal FAQ Accordion --- */
.ed-faq-wrapper {
  border-top: 1px solid rgba(255,255,255,0.05);
}

.ed-faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.ed-faq-header {
  width: 100%;
  text-align: left;
  padding: 24px 0;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.15rem;
  font-weight: 400;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.ed-faq-icon {
  color: #6b7280;
  transition: transform 0.4s ease;
}

.ed-faq-item.active .ed-faq-icon {
  transform: rotate(45deg); /* Simple plus to X animation */
  color: #fff;
}

.ed-faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.ed-faq-inner {
  padding: 0 0 32px 0;
  color: #9ca3af;
  font-size: 1.05rem;
  line-height: 1.7;
}
