/* Base Section Setup */
.cyber-portfolio-editorial {
  /* background-color: #05030a; */
  color: #ffffff;
  padding: 80px 20px  0px;
  position: relative;
  overflow: hidden;
}

.pf-container {
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Ambient Glow Orbs */
.pf-glow-purple {
  position: absolute;
  top: 10%;
  left: -120px;
  width: 500px;
  height: 500px;
  /* background: rgba(147, 51, 234, 0.15); */
  filter: blur(160px);
  border-radius: 50%;
  pointer-events: none;
}

.pf-glow-cyan {
  position: absolute;
  bottom: 10%;
  right: -120px;
  width: 500px;
  height: 500px;
  /* background: rgba(56, 189, 248, 0.12); */
  filter: blur(160px);
  border-radius: 50%;
  pointer-events: none;
}

/* Minimal Text Filter Bar */
.editorial-filter-bar {
  display: flex;
  gap: 32px;
  margin-bottom: 60px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  overflow-x: auto;
}

.filter-link {
  background: none;
  border: none;
  color: #64748b;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  transition: color 0.3s ease;
}

.filter-link:hover,
.filter-link.active {
  color: #38bdf8;
}

/* Editorial List Container */
.editorial-list {
  display: flex;
  flex-direction: column;
  gap: 70px;
}

.editorial-row {
  width: 100%;
}

/* Row Flex Container for Safe Zigzag Reversing */
.row-link {
  display: flex;
  gap: 50px;
  align-items: center;
  text-decoration: none;
  color: inherit;
  position: relative;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(147, 51, 234, 0.15);
  transition: border-color 0.4s ease;
}

.row-media-col {
  flex: 1.1;
  width: 100%;
}

.row-info-col {
  flex: 1;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  width: 100%;
}

/* Zigzag Column Swap Class */
.editorial-row.row-reverse .row-media-col {
  order: 2;
}

.editorial-row.row-reverse .row-info-col {
  order: 1;
}

/* Media Box Frame */
.media-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.5s ease, border-color 0.5s ease;
}

.luxury-bg { background: radial-gradient(circle, rgba(147, 51, 234, 0.25) 0%, rgba(5, 3, 10, 0.95) 100%); }
.industrial-bg { background: radial-gradient(circle, rgba(56, 189, 248, 0.22) 0%, rgba(5, 3, 10, 0.95) 100%); }
.ecom-bg { background: radial-gradient(circle, rgba(168, 85, 247, 0.25) 0%, rgba(5, 3, 10, 0.95) 100%); }

.row-icon {
  font-size: 3.5rem;
  color: #38bdf8;
  filter: drop-shadow(0 0 15px rgba(56, 189, 248, 0.4));
  transition: transform 0.4s ease;
}

/* Info Details & Typography */
.project-num {
  font-size: 1.1rem;
  font-weight: 700;
  color: #9333ea;
  font-family: monospace;
}

.project-details {
  flex-grow: 1;
}

.client-subtitle {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #c084fc;
  font-weight: 700;
  display: block;
  margin-bottom: 10px;
}

.cyan-sub {
  color: #38bdf8;
}

/* Title Mask Reveal */
.title-mask {
  overflow: hidden;
  position: relative;
  display: block;
  padding-bottom: 4px;
}

.project-heading {
  font-size: 1.85rem;
  font-weight: 700;
  line-height: 1.3;
  color: #ffffff;
  margin: 0 0 14px 0;
  transition: color 0.3s ease;
  will-change: transform;
}

.project-tags {
  font-size: 0.88rem;
  color: #64748b;
  margin: 0;
}

.row-arrow {
  font-size: 1.2rem;
  color: #64748b;
  transition: transform 0.3s ease, color 0.3s ease;
}

/* Hover Interactions */
.row-link:hover .media-frame {
  transform: scale(1.02);
  border-color: #38bdf8;
}

.row-link:hover .row-icon {
  transform: scale(1.1);
  color: #ffffff;
}

.row-link:hover .project-heading {
  color: #38bdf8;
}

.row-link:hover .row-arrow {
  transform: translate(4px, -4px);
  color: #38bdf8;
}

.row-link:hover {
  border-color: rgba(56, 189, 248, 0.4);
}

/* Mobile Responsiveness */
@media (max-width: 992px) {

  .cyber-portfolio-editorial {
      padding: 30px 20px;
  }
  .editorial-filter-bar {
      margin-bottom: 30px;
      gap:17px;
      padding-bottom:10px;
  }
  .row-link {
    flex-direction: column;
    gap: 11px;
    padding-bottom:20px;
  }

  .editorial-row.row-reverse .row-media-col {
    order: 1;
  }

  .editorial-row.row-reverse .row-info-col {
    order: 2;
  }

  .project-heading {
    font-size: 1.45rem;
  }

  .editorial-list {
    gap: 20px;
  }
}

@media (max-width:600px){
      .project-heading {
        font-size: 1.05rem;
        margin: 0 0 4px 0;
      }
      .client-subtitle {
          margin: 0 0 3px 0;
      }
      
}