/* ================================================================
   EDITORIAL LAYOUT — editorial.css
   High-impact article design for Filamen SPA
   ================================================================ */

.ed-article {
  padding: 60px 8vw 4rem; /* 60px top padding to clear nav */
  background: #000;
  color: #ccc; /* Subtle monochromatic grey body text */
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
}

.ed-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2rem;
}

/* Header Section */
.ed-header {
  grid-column: 1 / -1;
  border-bottom: 1px solid rgba(191, 255, 0, 0.2); /* Subtle neon border separator */
  padding-bottom: 2rem;
  margin-bottom: 3rem;
}

.ed-label {
  display: block;
  font-family: ui-monospace, 'Cascadia Code', 'Source Code Pro', monospace;
  font-size: 12px;
  color: #bfff00;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.ed-title {
  font-family: 'Robitrial', sans-serif;
  font-size: clamp(3rem, 10vw, 8rem) !important; /* Massive full-width override */
  font-weight: 900;
  color: #bfff00 !important; /* Neon Yellow */
  text-transform: uppercase;
  letter-spacing: -0.03em;
  margin: 0;
  line-height: 0.9;
}

.ed-title-small {
  font-size: 0.35em !important;
  opacity: 0.7;
  letter-spacing: 0.1em;
  vertical-align: middle;
}

.ed-subtitle {
  font-family: ui-monospace, 'Cascadia Code', 'Source Code Pro', monospace;
  font-size: 0.8rem;
  color: #bfff00;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  margin-top: 1rem;
}

/* Main Content Area */
.ed-lead {
  grid-column: 1 / 9; /* Columns 1-8 */
  font-size: clamp(1.1rem, 1.5vw, 1.4rem);
  color: #fff;
  font-weight: 400;
  margin-bottom: 2rem;
}

.ed-image-wrap {
  grid-column: 1 / -1;
  width: 100%;
  aspect-ratio: 21 / 9;
  background: #050505;
  margin-bottom: 4rem;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.ed-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.1) brightness(0.9);
  transition: transform 0.8s ease;
}

.ed-image-wrap:hover img {
  transform: scale(1.02);
}

/* Subtle glitch overlay */
.ed-image-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.1) 0px,
    rgba(0, 0, 0, 0.1) 1px,
    transparent 1px,
    transparent 2px
  );
  pointer-events: none;
  opacity: 0.3;
}

.ed-section {
  grid-column: 1 / 9;
  margin-bottom: 4rem;
}

.ed-section-title {
  font-family: ui-monospace, 'Cascadia Code', 'Source Code Pro', monospace;
  font-size: 0.75rem;
  color: #bfff00;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  margin-bottom: 1.5rem;
  display: block;
}

.ed-h2 {
  font-family: 'Robitrial', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  color: #bfff00 !important;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

/* Feature List */
.ed-feature-list {
  list-style: none;
  padding: 0;
}

.ed-feature-item {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.ed-feature-item::before {
  content: '*';
  position: absolute;
  left: 0;
  color: #bfff00;
  font-weight: 700;
}

.ed-feature-label {
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.9rem;
  display: block;
  margin-bottom: 0.25rem;
}

/* Sidebar Callout */
.ed-sidebar {
  grid-column: 9 / 13; /* Columns 9-12 */
}

.ed-callout {
  background: #0a0a0a;
  border: 1px solid rgba(191, 255, 0, 0.15);
  padding: 2rem;
  position: sticky;
  top: 100px;
}

.ed-callout-title {
  font-family: ui-monospace, 'Cascadia Code', 'Source Code Pro', monospace;
  font-size: 0.65rem;
  color: #bfff00;
  letter-spacing: 0.2em;
  margin-bottom: 1.5rem;
  display: block;
}

.ed-tech-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.ed-tech-item {
  font-size: 0.85rem;
  color: #fff;
  display: flex;
  justify-content: space-between;
}

.ed-tech-item span:last-child {
  color: #bfff00;
  opacity: 0.6;
}

/* Full Width Block */
.ed-full-block {
  grid-column: 1 / -1;
  background: #0a0a0a;
  padding: 4rem 8vw;
  margin: 4rem -8vw 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.ed-full-content {
  max-width: 800px;
}

/* Equipment Inventory Grid */
.gear-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.gear-card {
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  transition: border-color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  overflow: hidden;
  text-decoration: none;
}

.gear-card:hover {
  border-color: #bfff00;
  transform: scale(1.02);
}

.gear-img-placeholder {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #0a0a0a;
  position: relative;
  overflow: hidden;
}

.gear-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gear-card:hover .gear-img {
  transform: scale(1.1);
}

.gear-img-placeholder::after {
  content: 'NO_IMAGE_LOG';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: ui-monospace, 'Cascadia Code', 'Source Code Pro', monospace;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.1);
  letter-spacing: 2px;
}

.gear-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.gear-title {
  font-family: 'Robitrial', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #bfff00;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.gear-specs {
  font-family: ui-monospace, 'Cascadia Code', 'Source Code Pro', monospace;
  font-size: 13px;
  color: #cccccc;
  line-height: 1.4;
  margin-bottom: 2rem;
  flex: 1;
}

.gear-cta {
  display: block;
  width: 100%;
  background: #bfff00;
  color: #000;
  text-align: center;
  padding: 12px;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 1px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.gear-cta:hover {
  background: #d4ff5e;
}

/* Shop Storefront Grid */
.shop-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.shop-card {
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), border-color 0.4s ease;
  position: relative;
  text-decoration: none;
}

.shop-card:hover {
  transform: translateY(-8px);
  border-color: #bfff00;
}

.shop-img-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #0a0a0a;
  position: relative;
  overflow: hidden;
}

.shop-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: ui-monospace, 'Cascadia Code', 'Source Code Pro', monospace;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.05);
  letter-spacing: 2px;
  background: radial-gradient(circle at center, #111 0%, #000 100%);
}

.shop-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: #bfff00;
  color: #000;
  font-size: 9px;
  font-weight: 900;
  padding: 2px 6px;
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 2;
}

.shop-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.shop-cat {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.3);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.shop-title {
  font-family: 'Robitrial', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  line-height: 1.3;
}

.shop-price {
  font-family: ui-monospace, 'Cascadia Code', 'Source Code Pro', monospace;
  font-size: 12px;
  color: #bfff00;
  margin-top: 0.5rem;
}

.shop-cta {
  margin-top: 1rem;
  border: 1px solid rgba(191, 255, 0, 0.3);
  color: #bfff00;
  text-align: center;
  padding: 10px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.shop-card:hover .shop-cta {
  background: #bfff00;
  color: #000;
}

/* Responsive */
@media (max-width: 1024px) {
  .ed-lead, .ed-section, .ed-sidebar {
    grid-column: 1 / -1;
  }
  .ed-sidebar {
    margin-top: 2rem;
  }
  .gear-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  }
  .shop-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1.5rem;
  }
}

@media (max-width: 600px) {
  .gear-grid {
    grid-template-columns: 1fr;
  }
  .shop-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .shop-body {
    padding: 0.75rem;
  }
}
