/**
 * Genpro — Listing pages Phase 4B (products, services, projects, news)
 * Dark glass overrides for page heroes, filters, grids, sidebars.
 */

/* ─── Shared listing page hero ─── */
body.genpro-futuristic .fx-listing-hero,
body.genpro-futuristic .services-hero-page-enhanced,
body.genpro-futuristic .projects-hero-page-enhanced,
body.genpro-futuristic .news-hero-section {
  position: relative;
  padding: clamp(2rem, 6vw, 3.5rem) 0 !important;
  margin-bottom: 0 !important;
  background: transparent !important;
  overflow: hidden;
  min-height: auto !important;
}

body.genpro-futuristic .fx-listing-hero::before,
body.genpro-futuristic .services-hero-page-enhanced::before,
body.genpro-futuristic .projects-hero-page-enhanced::before,
body.genpro-futuristic .news-hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 50% 0%, rgba(255, 102, 0, 0.12), transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
  pointer-events: none;
}

body.genpro-futuristic .services-hero-page-bg-enhanced,
body.genpro-futuristic .projects-hero-page-bg-enhanced {
  opacity: 0.15 !important;
  filter: saturate(0.8);
}

body.genpro-futuristic .fx-listing-hero__inner,
body.genpro-futuristic .services-hero-page-content-enhanced,
body.genpro-futuristic .projects-hero-page-content-enhanced,
body.genpro-futuristic .news-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

body.genpro-futuristic .fx-listing-hero__badge,
body.genpro-futuristic .services-hero-page-badge-enhanced,
body.genpro-futuristic .projects-hero-page-badge-enhanced {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border-radius: var(--fx-radius-pill);
  font-size: var(--fx-text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fx-accent-bright) !important;
  background: rgba(255, 102, 0, 0.1) !important;
  border: 1px solid rgba(255, 102, 0, 0.25);
  margin-bottom: 1rem;
}

body.genpro-futuristic .fx-listing-hero__title,
body.genpro-futuristic .services-hero-page-title-enhanced,
body.genpro-futuristic .projects-hero-page-title-enhanced,
body.genpro-futuristic .news-hero-title {
  color: var(--fx-text) !important;
  font-weight: 800 !important;
  letter-spacing: -0.03em;
  font-size: clamp(1.85rem, 4.5vw, 2.75rem) !important;
  line-height: 1.1 !important;
}

body.genpro-futuristic .fx-listing-hero__subtitle,
body.genpro-futuristic .services-hero-page-subtitle-enhanced,
body.genpro-futuristic .projects-hero-page-subtitle-enhanced,
body.genpro-futuristic .news-hero-subtitle {
  color: var(--fx-text-muted) !important;
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: 1.6;
}

body.genpro-futuristic .services-hero-page-image-enhanced,
body.genpro-futuristic .projects-hero-page-image-enhanced {
  opacity: 0.35;
  max-height: 180px;
  overflow: hidden;
  margin-top: 1.5rem;
}

/* ─── Listing sections ─── */
body.genpro-futuristic .products-section.products-page-enhanced,
body.genpro-futuristic .services-section.services-page-enhanced,
body.genpro-futuristic .projects-section.projects-page-enhanced,
body.genpro-futuristic .news-page-section {
  background: transparent !important;
  padding: var(--fx-section-y) 0 !important;
}

/* Filters */
body.genpro-futuristic .products-filter-enhanced,
body.genpro-futuristic .services-filter-enhanced,
body.genpro-futuristic .projects-filter-enhanced {
  background: var(--fx-bg-glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--fx-border);
  border-radius: var(--fx-radius-lg);
  padding: 1.25rem !important;
  margin-bottom: 2rem;
  box-shadow: var(--fx-shadow-glass);
}

body.genpro-futuristic .products-filter-title-enhanced,
body.genpro-futuristic .services-filter-title-enhanced,
body.genpro-futuristic .projects-filter-title-enhanced {
  color: var(--fx-text) !important;
}

body.genpro-futuristic .products-filter-badge-enhanced,
body.genpro-futuristic .services-filter-badge-enhanced,
body.genpro-futuristic .projects-filter-badge-enhanced {
  color: var(--fx-accent-bright) !important;
}

body.genpro-futuristic .products-filter-btn-enhanced,
body.genpro-futuristic .services-filter-btn-enhanced,
body.genpro-futuristic .projects-filter-btn-enhanced {
  background: var(--fx-surface) !important;
  border: 1px solid var(--fx-border) !important;
  color: var(--fx-text-muted) !important;
  border-radius: var(--fx-radius-pill) !important;
  min-height: 44px;
  transition: border-color var(--fx-duration-fast), background var(--fx-duration-fast), color var(--fx-duration-fast);
}

body.genpro-futuristic .products-filter-btn-enhanced:hover,
body.genpro-futuristic .services-filter-btn-enhanced:hover,
body.genpro-futuristic .projects-filter-btn-enhanced:hover,
body.genpro-futuristic .products-filter-btn-enhanced.active,
body.genpro-futuristic .services-filter-btn-enhanced.active,
body.genpro-futuristic .projects-filter-btn-enhanced.active {
  background: rgba(255, 102, 0, 0.12) !important;
  border-color: var(--fx-border-accent) !important;
  color: var(--fx-text) !important;
}

/* Cards — compact glass pass */
body.genpro-futuristic .product-card-page-enhanced,
body.genpro-futuristic .service-card-page-enhanced,
body.genpro-futuristic .project-card-page-enhanced,
body.genpro-futuristic .blog-card,
body.genpro-futuristic .featured-blog-card {
  background: var(--fx-bg-glass) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--fx-border) !important;
  border-radius: var(--fx-radius-md) !important;
  box-shadow: var(--fx-shadow-glass) !important;
  padding: 0.65rem !important;
  transition:
    transform var(--fx-duration-base) var(--fx-ease-out),
    border-color var(--fx-duration-base),
    box-shadow var(--fx-duration-base);
}

body.genpro-futuristic .product-card-page-enhanced:hover,
body.genpro-futuristic .service-card-page-enhanced:hover,
body.genpro-futuristic .project-card-page-enhanced:hover,
body.genpro-futuristic .blog-card:hover {
  transform: translateY(-4px);
  border-color: var(--fx-border-accent) !important;
  box-shadow: var(--fx-shadow-glass), var(--fx-shadow-neon) !important;
}

body.genpro-futuristic .product-card-page-enhanced .product-title-page-enhanced,
body.genpro-futuristic .service-card-page-enhanced .service-title-page-enhanced,
body.genpro-futuristic .project-card-page-enhanced .project-title-page-enhanced,
body.genpro-futuristic .blog-card-title,
body.genpro-futuristic .featured-blog-title {
  color: var(--fx-text) !important;
  font-size: clamp(0.78rem, 2.8vw, 1rem) !important;
  line-height: 1.25 !important;
  word-break: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

body.genpro-futuristic .product-card-page-enhanced .product-description-page-enhanced,
body.genpro-futuristic .service-card-page-enhanced .service-description-page-enhanced,
body.genpro-futuristic .project-card-page-enhanced .project-description-page-enhanced,
body.genpro-futuristic .blog-card-excerpt,
body.genpro-futuristic .featured-blog-excerpt {
  color: var(--fx-text-muted) !important;
  font-size: clamp(0.68rem, 2.2vw, 0.82rem) !important;
  line-height: 1.4 !important;
  word-break: break-word;
}

body.genpro-futuristic .product-btn-page-enhanced,
body.genpro-futuristic .service-btn-page-enhanced,
body.genpro-futuristic .project-btn-page-enhanced,
body.genpro-futuristic .blog-read-more {
  background: linear-gradient(135deg, var(--fx-accent), var(--fx-accent-bright)) !important;
  color: #fff !important;
  border-radius: var(--fx-radius-pill) !important;
  min-height: 44px;
}

/* News search + sidebar */
body.genpro-futuristic .news-search-box input,
body.genpro-futuristic .news-sidebar-widget,
body.genpro-futuristic .sidebar-widget {
  background: var(--fx-bg-glass) !important;
  border: 1px solid var(--fx-border) !important;
  color: var(--fx-text) !important;
  border-radius: var(--fx-radius-md);
}

body.genpro-futuristic .news-search-box input::placeholder {
  color: var(--fx-text-dim);
}

body.genpro-futuristic .news-sidebar-widget h3,
body.genpro-futuristic .sidebar-widget h3 {
  color: var(--fx-text) !important;
}

body.genpro-futuristic .news-sidebar-widget a,
body.genpro-futuristic .sidebar-widget a,
body.genpro-futuristic .category-list a {
  color: var(--fx-text-muted) !important;
}

body.genpro-futuristic .news-sidebar-widget a:hover,
body.genpro-futuristic .sidebar-widget a:hover {
  color: var(--fx-accent-bright) !important;
}

body.genpro-futuristic .pagination-enhanced a,
body.genpro-futuristic .pagination-enhanced span {
  background: var(--fx-surface);
  border: 1px solid var(--fx-border);
  color: var(--fx-text-muted);
  min-height: 44px;
  min-width: 44px;
  border-radius: var(--fx-radius-sm);
}

body.genpro-futuristic .pagination-enhanced a.active,
body.genpro-futuristic .pagination-enhanced span.current {
  background: rgba(255, 102, 0, 0.15);
  border-color: var(--fx-border-accent);
  color: var(--fx-text);
}

/* Brand strip on products page */
body.genpro-futuristic .brands-showcase-enhanced,
body.genpro-futuristic .products-brands-section-enhanced {
  background: transparent !important;
}

body.genpro-futuristic .brands-showcase-card-enhanced {
  background: var(--fx-bg-glass) !important;
  border: 1px solid var(--fx-border) !important;
  border-radius: var(--fx-radius-md);
  padding: 0.65rem !important;
}

/* ─── Uniform image frames (16:9 product/service, 4:3 project/blog) ─── */
body.genpro-futuristic .product-image-wrapper-page-enhanced,
body.genpro-futuristic .service-image-wrapper-page-enhanced {
  aspect-ratio: 16 / 9;
  height: auto !important;
  min-height: 0 !important;
  overflow: hidden;
  border-radius: var(--fx-radius-sm);
  background: rgba(0, 0, 0, 0.25);
}

body.genpro-futuristic .project-image-wrapper-page-enhanced,
body.genpro-futuristic .blog-card-image,
body.genpro-futuristic .featured-blog-image {
  aspect-ratio: 4 / 3;
  height: auto !important;
  min-height: 0 !important;
  overflow: hidden;
  border-radius: var(--fx-radius-sm);
  background: rgba(0, 0, 0, 0.25);
}

body.genpro-futuristic .product-image-page-enhanced,
body.genpro-futuristic .service-image-page-enhanced,
body.genpro-futuristic .project-image-page-enhanced,
body.genpro-futuristic .blog-card-image img,
body.genpro-futuristic .featured-blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: inherit;
  display: block;
}

/* Compact service icon overlays on listing cards */
body.genpro-futuristic .service-icon-overlay-page-enhanced {
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  min-height: 36px !important;
  font-size: 0.85rem !important;
  border-radius: var(--fx-radius-sm) !important;
}

body.genpro-futuristic .products-filter-enhanced,
body.genpro-futuristic .services-filter-enhanced,
body.genpro-futuristic .projects-filter-enhanced {
  padding: 0.85rem !important;
  margin-bottom: 1.25rem !important;
}

body.genpro-futuristic .products-section.products-page-enhanced,
body.genpro-futuristic .services-section.services-page-enhanced,
body.genpro-futuristic .projects-section.projects-page-enhanced,
body.genpro-futuristic .news-page-section {
  padding: clamp(1.5rem, 4vw, 2.5rem) 0 !important;
}

@media (max-width: 767px) {
  body.genpro-futuristic .products-grid-page-enhanced,
  body.genpro-futuristic .services-grid-page-enhanced,
  body.genpro-futuristic .projects-grid-page-enhanced,
  body.genpro-futuristic .blog-grid,
  body.genpro-futuristic .brands-showcase-grid-enhanced,
  body.genpro-futuristic .products-brands-grid-enhanced {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.75rem !important;
  }

  body.genpro-futuristic .services-hero-page-enhanced > .container,
  body.genpro-futuristic .projects-hero-page-enhanced > .container {
    grid-template-columns: 1fr !important;
  }

  body.genpro-futuristic .services-hero-page-image-enhanced,
  body.genpro-futuristic .projects-hero-page-image-enhanced {
    display: none;
  }

  body.genpro-futuristic .product-btn-page-enhanced,
  body.genpro-futuristic .service-btn-page-enhanced,
  body.genpro-futuristic .project-btn-page-enhanced {
    min-height: 36px !important;
    padding: 0.35rem 0.65rem !important;
    font-size: 0.72rem !important;
  }
}

@media (max-width: 360px) {
  body.genpro-futuristic .products-grid-page-enhanced,
  body.genpro-futuristic .services-grid-page-enhanced,
  body.genpro-futuristic .projects-grid-page-enhanced,
  body.genpro-futuristic .blog-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.75rem !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.genpro-futuristic .product-card-page-enhanced:hover,
  body.genpro-futuristic .service-card-page-enhanced:hover,
  body.genpro-futuristic .project-card-page-enhanced:hover,
  body.genpro-futuristic .blog-card:hover {
    transform: none;
  }

  body.genpro-futuristic .fx-featured-story__image,
  body.genpro-futuristic .project-image-page-enhanced,
  body.genpro-futuristic .blog-card-image {
    transform: none !important;
  }
}

/* ═══════════════════════════════════════════════════════════════
   Phase 6 — Projects & News listing magazine layouts
   ═══════════════════════════════════════════════════════════════ */

/* ─── Compact tech-skinned heroes (≤30vh / 200px band) ─── */
body.genpro-futuristic .fx-compact-hero,
body.genpro-futuristic .projects-hero-page-enhanced.fx-compact-hero,
body.genpro-futuristic .news-hero-section.fx-compact-hero {
  min-height: 0 !important;
  max-height: min(30vh, 200px) !important;
  padding: clamp(0.75rem, 2vw, 1.15rem) 0 !important;
  display: flex !important;
  align-items: center !important;
  background: transparent !important;
  overflow: hidden !important;
}

body.genpro-futuristic .fx-compact-hero::before,
body.genpro-futuristic .projects-hero-page-enhanced.fx-compact-hero::before,
body.genpro-futuristic .news-hero-section.fx-compact-hero::before {
  background:
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ff6600' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"),
    radial-gradient(ellipse 80% 100% at 50% 0%, rgba(255, 102, 0, 0.14), transparent 60%),
    linear-gradient(180deg, rgba(12, 14, 22, 0.92), rgba(5, 5, 8, 0.88)) !important;
  opacity: 1 !important;
}

body.genpro-futuristic .fx-compact-hero__inner {
  text-align: left !important;
  max-width: 100% !important;
  margin: 0 !important;
  width: 100%;
}

body.genpro-futuristic .fx-compact-hero .projects-hero-page-title-enhanced,
body.genpro-futuristic .fx-compact-hero .news-hero-title {
  font-size: clamp(1.25rem, 4vw, 1.75rem) !important;
  letter-spacing: -0.04em !important;
  line-height: 1.15 !important;
  margin-bottom: 0.25rem !important;
}

body.genpro-futuristic .fx-compact-hero .projects-hero-page-subtitle-enhanced,
body.genpro-futuristic .fx-compact-hero .news-hero-subtitle {
  font-size: clamp(0.78rem, 2.2vw, 0.92rem) !important;
  line-height: 1.45 !important;
  margin-bottom: 0.5rem !important;
  max-width: 52ch;
}

body.genpro-futuristic .fx-compact-hero .projects-hero-page-badge-enhanced {
  margin-bottom: 0.35rem !important;
  padding: 0.2rem 0.6rem !important;
  font-size: 0.65rem !important;
}

body.genpro-futuristic .projects-hero-page-image-enhanced,
body.genpro-futuristic .fx-compact-hero .projects-hero-page-image-enhanced {
  display: none !important;
}

/* News hero — kill legacy orange/white bleed */
body.genpro-futuristic .news-hero-section.fx-compact-hero {
  background: transparent !important;
  color: var(--fx-text) !important;
  padding-top: clamp(0.75rem, 2vw, 1.15rem) !important;
  padding-bottom: clamp(0.75rem, 2vw, 1.15rem) !important;
}

body.genpro-futuristic .news-hero-section.fx-compact-hero .news-hero-title {
  color: var(--fx-text) !important;
  text-shadow: none !important;
  font-weight: 800 !important;
}

body.genpro-futuristic .news-hero-section.fx-compact-hero .news-hero-title i {
  color: var(--fx-accent-bright);
  filter: drop-shadow(0 0 8px var(--fx-accent-glow));
}

body.genpro-futuristic .news-hero-section.fx-compact-hero .news-hero-subtitle {
  color: var(--fx-text-muted) !important;
  opacity: 1 !important;
}

body.genpro-futuristic .news-hero-section.fx-compact-hero .news-search-box {
  max-width: 420px;
  margin: 0.35rem 0 0 !important;
}

body.genpro-futuristic .news-hero-section.fx-compact-hero .news-search-input {
  background: var(--fx-bg-glass) !important;
  backdrop-filter: blur(12px);
  border: 1px solid var(--fx-border) !important;
  color: var(--fx-text) !important;
  padding: 0.55rem 3rem 0.55rem 0.85rem !important;
  font-size: 0.85rem !important;
  border-radius: var(--fx-radius-pill) !important;
  box-shadow: none !important;
}

body.genpro-futuristic .news-hero-section.fx-compact-hero .news-search-btn {
  background: linear-gradient(135deg, var(--fx-accent), var(--fx-accent-bright)) !important;
  padding: 0.45rem 0.85rem !important;
  border-radius: var(--fx-radius-pill) !important;
}

/* ─── Magazine content shell ─── */
body.genpro-futuristic .fx-listing-magazine,
body.genpro-futuristic .news-content-section.fx-listing-magazine {
  background: transparent !important;
  padding: clamp(1rem, 3vw, 1.75rem) 0 !important;
}

body.genpro-futuristic .fx-listing-magazine .news-layout {
  grid-template-columns: minmax(0, 1fr) min(280px, 28%) !important;
  gap: 1.5rem !important;
  margin-top: 1rem !important;
}

body.genpro-futuristic .fx-listing-filters,
body.genpro-futuristic .news-filters.fx-listing-filters {
  background: var(--fx-bg-glass) !important;
  backdrop-filter: blur(14px);
  border: 1px solid var(--fx-border) !important;
  border-radius: var(--fx-radius-md) !important;
  padding: 0.85rem 1rem !important;
  margin-bottom: 1.25rem !important;
  box-shadow: var(--fx-shadow-glass);
}

body.genpro-futuristic .fx-listing-filters .filters-title,
body.genpro-futuristic .news-filters .filters-title {
  color: var(--fx-text) !important;
  font-size: clamp(0.95rem, 2.5vw, 1.1rem) !important;
  font-weight: 700 !important;
  margin: 0 !important;
}

body.genpro-futuristic .fx-listing-filters .filter-btn,
body.genpro-futuristic .news-filters .filter-btn {
  background: var(--fx-surface) !important;
  border: 1px solid var(--fx-border) !important;
  color: var(--fx-text-muted) !important;
  border-radius: var(--fx-radius-pill) !important;
  font-size: 0.78rem !important;
  padding: 0.35rem 0.75rem !important;
}

body.genpro-futuristic .fx-listing-filters .filter-btn.active,
body.genpro-futuristic .news-filters .filter-btn.active {
  background: rgba(255, 102, 0, 0.15) !important;
  border-color: var(--fx-border-accent) !important;
  color: var(--fx-text) !important;
  box-shadow: 0 0 12px rgba(255, 102, 0, 0.2);
}

/* ─── Featured story — wide hero card ─── */
body.genpro-futuristic .fx-featured-story {
  margin-bottom: 1.5rem;
  border-radius: var(--fx-radius-lg);
  overflow: hidden;
  border: 1px solid var(--fx-border-accent);
  background: var(--fx-bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--fx-shadow-glass), 0 0 32px rgba(255, 102, 0, 0.08);
  transition:
    border-color var(--fx-duration-base),
    box-shadow var(--fx-duration-base),
    transform var(--fx-duration-base) var(--fx-ease-out);
}

body.genpro-futuristic .fx-featured-story:hover {
  border-color: rgba(255, 102, 0, 0.55);
  box-shadow: var(--fx-shadow-glass), var(--fx-shadow-neon);
  transform: translateY(-2px);
}

body.genpro-futuristic .fx-featured-story__link {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 0;
  text-decoration: none;
  color: inherit;
}

body.genpro-futuristic .fx-featured-story__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  min-height: 180px;
  background: rgba(0, 0, 0, 0.35);
}

body.genpro-futuristic .fx-featured-story__image,
body.genpro-futuristic .featured-post-image.fx-featured-story__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s var(--fx-ease-out);
}

body.genpro-futuristic .fx-featured-story:hover .fx-featured-story__image {
  transform: scale(1.05);
}

body.genpro-futuristic .fx-featured-story__body {
  padding: clamp(1rem, 2.5vw, 1.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.5rem;
}

body.genpro-futuristic .fx-featured-story__category {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fx-accent-bright);
}

body.genpro-futuristic .fx-featured-story__title,
body.genpro-futuristic .featured-post-title.fx-featured-story__title {
  color: var(--fx-text) !important;
  font-size: clamp(1.1rem, 2.8vw, 1.55rem) !important;
  font-weight: 800 !important;
  letter-spacing: -0.03em;
  line-height: 1.2 !important;
  margin: 0 !important;
}

body.genpro-futuristic .fx-featured-story__excerpt,
body.genpro-futuristic .featured-post-excerpt.fx-featured-story__excerpt {
  color: var(--fx-text-muted) !important;
  font-size: clamp(0.82rem, 2vw, 0.95rem) !important;
  line-height: 1.55 !important;
  margin: 0 !important;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body.genpro-futuristic .fx-featured-story__cta,
body.genpro-futuristic .featured-post-read-more.fx-featured-story__cta {
  color: var(--fx-accent-bright) !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  margin-top: 0.35rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* Neon micro-badges */
body.genpro-futuristic .fx-neon-badge {
  position: absolute;
  z-index: 2;
  padding: 0.25rem 0.65rem;
  border-radius: var(--fx-radius-pill);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid transparent;
}

body.genpro-futuristic .fx-neon-badge--featured {
  top: 0.65rem;
  left: 0.65rem;
  background: rgba(255, 102, 0, 0.2);
  border-color: rgba(255, 102, 0, 0.45);
  color: var(--fx-accent-bright);
  box-shadow: 0 0 14px rgba(255, 102, 0, 0.35);
}

body.genpro-futuristic .fx-neon-badge--status {
  bottom: 0.65rem;
  left: 0.65rem;
}

body.genpro-futuristic .fx-neon-badge--completed {
  background: rgba(34, 197, 94, 0.18);
  border-color: rgba(34, 197, 94, 0.45);
  color: #86efac;
  box-shadow: 0 0 14px rgba(34, 197, 94, 0.35);
}

body.genpro-futuristic .fx-neon-badge--ongoing {
  background: rgba(255, 102, 0, 0.18);
  border-color: rgba(255, 102, 0, 0.45);
  color: var(--fx-accent-bright);
  box-shadow: 0 0 14px rgba(255, 102, 0, 0.3);
}

body.genpro-futuristic .fx-neon-badge--upcoming {
  background: rgba(0, 229, 255, 0.12);
  border-color: rgba(0, 229, 255, 0.35);
  color: var(--fx-cyan);
  box-shadow: 0 0 14px var(--fx-cyan-glow);
}

/* ─── Dense 3-column listing grid ─── */
body.genpro-futuristic .fx-listing-grid--dense {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 1.5rem !important;
}

body.genpro-futuristic .fx-listing-grid--dense .project-card-page-enhanced,
body.genpro-futuristic .fx-listing-grid--dense .blog-card {
  overflow: hidden;
  border: 1px solid var(--fx-border) !important;
  padding: 0 !important;
}

body.genpro-futuristic .fx-listing-grid--dense .project-image-wrapper-page-enhanced {
  border-radius: 0 !important;
}

body.genpro-futuristic .fx-listing-grid--dense .project-content-page-enhanced,
body.genpro-futuristic .fx-listing-grid--dense .blog-card-content {
  padding: 0.75rem !important;
}

body.genpro-futuristic .fx-listing-grid--dense .project-image-page-enhanced,
body.genpro-futuristic .fx-listing-grid--dense .blog-card-image {
  transition: transform 0.5s var(--fx-ease-out);
}

body.genpro-futuristic .fx-listing-grid--dense .project-card-page-enhanced:hover .project-image-page-enhanced,
body.genpro-futuristic .fx-listing-grid--dense .blog-card:hover .blog-card-image {
  transform: scale(1.07);
}

body.genpro-futuristic .fx-listing-grid--dense .blog-card-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

body.genpro-futuristic .project-status-badge-page-enhanced .project-status-text-page-enhanced {
  border-radius: var(--fx-radius-pill);
  padding: 0.15rem 0.5rem;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

body.genpro-futuristic .project-status-completed .project-status-text-page-enhanced {
  background: rgba(34, 197, 94, 0.18);
  color: #86efac;
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.35);
}

body.genpro-futuristic .project-status-ongoing .project-status-text-page-enhanced {
  background: rgba(255, 102, 0, 0.18);
  color: var(--fx-accent-bright);
  box-shadow: 0 0 10px rgba(255, 102, 0, 0.3);
}

/* News sidebar widgets — dark glass */
body.genpro-futuristic .fx-listing-magazine .news-sidebar .sidebar-widget {
  background: var(--fx-bg-glass) !important;
  backdrop-filter: blur(14px);
  border: 1px solid var(--fx-border) !important;
  padding: 1rem !important;
  margin-bottom: 1rem;
}

body.genpro-futuristic .fx-listing-magazine .category-list a {
  border-radius: var(--fx-radius-sm);
  transition: background var(--fx-duration-fast), color var(--fx-duration-fast);
}

body.genpro-futuristic .fx-listing-magazine .category-list a:hover,
body.genpro-futuristic .fx-listing-magazine .category-list a.active {
  background: rgba(255, 102, 0, 0.1);
  color: var(--fx-accent-bright) !important;
}

/* ─── Listing responsive breakpoints ─── */
@media (max-width: 1024px) {
  body.genpro-futuristic .fx-listing-grid--dense {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1rem !important;
  }

  body.genpro-futuristic .fx-listing-magazine .news-layout {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 767px) {
  body.genpro-futuristic .fx-featured-story__link {
    grid-template-columns: 1fr;
  }

  body.genpro-futuristic .fx-featured-story__media {
    aspect-ratio: 16 / 10;
    min-height: 0;
  }

  body.genpro-futuristic .fx-listing-grid--dense,
  body.genpro-futuristic .projects-grid-page-enhanced.fx-listing-grid--dense,
  body.genpro-futuristic .blog-grid.fx-listing-grid--dense {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.75rem !important;
  }

  body.genpro-futuristic .fx-compact-hero .news-search-box {
    max-width: 100%;
  }
}

@media (max-width: 360px) {
  body.genpro-futuristic .fx-listing-grid--dense {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.65rem !important;
  }
}

/* ═══════════════════════════════════════════════════════════════
   Phase 7 — Premium content destination (hero strip + glass cards)
   ═══════════════════════════════════════════════════════════════ */

body.genpro-futuristic .fx-listing-premium {
  overflow-x: clip;
}

/* ─── 20–25vh content-first hero strip ─── */
body.genpro-futuristic .fx-hero-strip {
  position: relative !important;
  min-height: clamp(20vh, 22vh, 25vh) !important;
  max-height: 25vh !important;
  height: clamp(20vh, 22vh, 25vh) !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  overflow: hidden !important;
  border-bottom: 1px solid rgba(255, 102, 0, 0.12);
}

body.genpro-futuristic .fx-hero-strip__glass {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(8, 10, 18, 0.55);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  pointer-events: none;
}

body.genpro-futuristic .fx-hero-strip::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  z-index: 2;
  background: linear-gradient(90deg, transparent 5%, var(--fx-accent) 50%, transparent 95%);
  box-shadow: 0 0 16px rgba(255, 102, 0, 0.55), 0 0 4px rgba(255, 102, 0, 0.8);
  pointer-events: none;
}

body.genpro-futuristic .fx-hero-strip__content {
  position: relative;
  z-index: 1;
  width: 100%;
}

body.genpro-futuristic .fx-hero-strip.fx-compact-hero,
body.genpro-futuristic .projects-hero-page-enhanced.fx-hero-strip,
body.genpro-futuristic .news-hero-section.fx-hero-strip,
body.genpro-futuristic .article-hero.fx-hero-strip {
  max-height: 25vh !important;
}

body.genpro-futuristic .article-hero.fx-hero-strip .article-title {
  font-size: clamp(1.05rem, 3.2vw, 1.65rem) !important;
  -webkit-line-clamp: 2;
}

body.genpro-futuristic .article-hero.fx-hero-strip .article-meta-item {
  font-size: 0.68rem !important;
}

/* ─── Featured story — exact 50/50 split pane ─── */
body.genpro-futuristic .fx-featured-story--split .fx-featured-story__link {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  min-height: clamp(220px, 28vw, 340px);
}

body.genpro-futuristic .fx-featured-story--split .fx-featured-story__media {
  aspect-ratio: auto;
  height: 100%;
  min-height: 100%;
}

body.genpro-futuristic .fx-featured-story--split .fx-featured-story__body {
  border-left: 1px solid rgba(255, 102, 0, 0.15);
  background: linear-gradient(135deg, rgba(255, 102, 0, 0.04), transparent 55%);
}

body.genpro-futuristic .fx-featured-story--split .fx-featured-story__title {
  font-size: clamp(1.25rem, 3vw, 1.85rem) !important;
}

/* ─── Premium 3-col grid (2rem gap → 2-col <1024px) ─── */
body.genpro-futuristic .fx-listing-grid--premium {
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 2rem !important;
}

body.genpro-futuristic .fx-premium-card {
  background: rgba(12, 14, 22, 0.65) !important;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: var(--fx-radius-md) !important;
  overflow: hidden;
  transition:
    transform 0.4s var(--fx-ease-out),
    border-color 0.35s,
    box-shadow 0.35s;
  will-change: transform;
}

body.genpro-futuristic .fx-premium-card:hover {
  transform: scale(1.03) translateY(-3px);
  border-color: rgba(255, 102, 0, 0.45) !important;
  box-shadow: var(--fx-shadow-glass), 0 0 28px rgba(255, 102, 0, 0.18);
}

body.genpro-futuristic .fx-premium-card .project-title-page-enhanced,
body.genpro-futuristic .fx-premium-card .blog-card-title {
  font-size: clamp(0.88rem, 2.4vw, 1.05rem) !important;
  font-weight: 700 !important;
  color: var(--fx-text) !important;
  line-height: 1.3 !important;
}

body.genpro-futuristic .fx-premium-card .project-description-page-enhanced,
body.genpro-futuristic .fx-premium-card .blog-card-excerpt {
  font-size: clamp(0.75rem, 2vw, 0.88rem) !important;
  color: var(--fx-text-muted) !important;
}

/* Glowing category tags */
body.genpro-futuristic .fx-glow-tag,
body.genpro-futuristic .project-type-badge-enhanced.fx-glow-tag,
body.genpro-futuristic .blog-card-category.fx-glow-tag {
  display: inline-block;
  width: fit-content;
  padding: 0.2rem 0.6rem;
  border-radius: var(--fx-radius-pill);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fx-accent-bright) !important;
  background: rgba(255, 102, 0, 0.12) !important;
  border: 1px solid rgba(255, 102, 0, 0.35);
  box-shadow: 0 0 10px rgba(255, 102, 0, 0.25);
  margin-bottom: 0.35rem;
}

/* Search relocated to filter bar */
body.genpro-futuristic .fx-listing-search {
  max-width: 280px;
  margin-left: auto;
}

body.genpro-futuristic .fx-listing-search .news-search-input {
  background: var(--fx-surface) !important;
  border: 1px solid var(--fx-border) !important;
  color: var(--fx-text) !important;
  padding: 0.45rem 2.5rem 0.45rem 0.75rem !important;
  font-size: 0.82rem !important;
  border-radius: var(--fx-radius-pill) !important;
  width: 100%;
}

body.genpro-futuristic .fx-listing-filters .filters-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
}

@media (max-width: 1024px) {
  body.genpro-futuristic .fx-listing-grid--premium {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.25rem !important;
  }
}

@media (max-width: 767px) {
  body.genpro-futuristic .fx-hero-strip {
    min-height: auto !important;
    max-height: none !important;
    height: auto !important;
    padding: 0.85rem 0 !important;
  }

  body.genpro-futuristic .fx-featured-story--split .fx-featured-story__link {
    grid-template-columns: 1fr !important;
    min-height: 0;
  }

  body.genpro-futuristic .fx-featured-story--split .fx-featured-story__body {
    border-left: none;
    border-top: 1px solid rgba(255, 102, 0, 0.15);
  }

  body.genpro-futuristic .fx-listing-grid--premium {
    gap: 0.75rem !important;
  }

  body.genpro-futuristic .fx-listing-search {
    max-width: 100%;
    width: 100%;
    order: 3;
  }

  body.genpro-futuristic .fx-premium-card:hover {
    transform: scale(1.01);
  }
}
