/* =====================================================================
   ARTICLE PAGES — hi-tech modern theme
   Applied only to the 4 original news/article pages. The original article
   content is preserved verbatim; this file skins it in a modern dark
   technology design and places a real technology photo behind the title.
   ===================================================================== */

/* ---------- Hero: technology photo behind the title ---------- */
.hero-page--article{
  background:
    linear-gradient(180deg, rgba(6,18,31,.80) 0%, rgba(6,18,31,.86) 55%, rgba(6,18,31,.96) 100%),
    url('../img/tech-article-bg.jpg') center 38% / cover no-repeat !important;
  padding-block: clamp(6rem, 12vw, 10rem) !important;
}
.hero-page--article::after{
  background-image:linear-gradient(rgba(92,213,251,.055) 1px,transparent 1px),
                   linear-gradient(90deg,rgba(92,213,251,.055) 1px,transparent 1px);
  background-size:56px 56px;
  -webkit-mask-image:linear-gradient(to bottom,#000,transparent 94%);
  mask-image:linear-gradient(to bottom,#000,transparent 94%);
}
.hero-page--article .eyebrow{color:var(--lime);letter-spacing:.2em;}
.hero-page--article h1{max-width:22ch;text-shadow:0 8px 28px rgba(0,0,0,.55);}
.hero-page--article .lead{max-width:64ch;text-shadow:0 2px 12px rgba(0,0,0,.5);}
.hero-page--article .tag-row span{background:rgba(92,213,251,.08);border-color:rgba(92,213,251,.42);color:#d9f3ff;}

/* ---------- Article body: hi-tech dark canvas ---------- */
.legacy-content.article-tech{
  background:
    radial-gradient(900px 520px at 12% 0%, rgba(22,132,91,.16), transparent 60%),
    radial-gradient(800px 460px at 92% 30%, rgba(92,213,251,.10), transparent 60%),
    #071420 !important;
  color:#dbe7ef;
  padding-block:clamp(2rem,5vw,4rem) !important;
  position:relative;
}
.article-tech .page{background:transparent !important;}

/* Panels / cards -> glass tech */
.article-tech [class*="details-"],
.article-tech .parb-details,
.article-tech .data-card,
.article-tech .feature-card,
.article-tech .delegation-card,
.article-tech .dignitaries-card,
.article-tech .event-card,
.article-tech .speaker-card,
.article-tech .testimonial-block,
.article-tech .step-card,
.article-tech .source-note{
  background:rgba(255,255,255,.05) !important;
  border:1px solid rgba(92,213,251,.22) !important;
  border-radius:20px !important;
  box-shadow:0 18px 44px rgba(0,0,0,.28) !important;
  backdrop-filter:blur(6px);
  color:#dbe7ef !important;
}

/* Neutralise legacy pale inline backgrounds */
.article-tech [style*="background:#f0f8f0"],
.article-tech [style*="background:#f0f5fa"],
.article-tech [style*="background:#f5f7f0"],
.article-tech [style*="background:#f5f7fa"],
.article-tech [style*="background:#f0f7f0"],
.article-tech [style*="background:#f0f7ff"],
.article-tech [style*="background:#f8fafc"],
.article-tech [style*="background:#e0f0e0"],
.article-tech [style*="background:#e0f0fa"],
.article-tech [style*="background:white"],
.article-tech [style*="background: white"]{
  background:rgba(255,255,255,.045) !important;
  color:#dbe7ef !important;
}

/* Legacy green / blue headings -> lime / cyan (beat inline styles) */
.article-tech [style*="color:#1a5731"],
.article-tech [style*="color:#1f6e3f"]{color:var(--lime) !important;}
.article-tech [style*="color:#1a3a5e"],
.article-tech [style*="color:#1a6e9a"]{color:#7fe0ff !important;}
.article-tech [style*="color:#475569"],
.article-tech [style*="color:#64748b"]{color:rgba(219,231,239,.78) !important;}
.article-tech [style*="color:#b0d8ff"]{color:#bfe9ff !important;}
.article-tech [style*="color:#c0e0b0"]{color:#d8f2c0 !important;}

/* Headings and body text */
.article-tech h1,.article-tech h2,.article-tech h3,.article-tech h4{color:#fff !important;}
.article-tech h2{
  font-size:clamp(1.5rem,1rem + 1.8vw,2.3rem);
  border-left:4px solid var(--lime);padding-left:1rem;
}
.article-tech p,.article-tech li{color:rgba(219,231,239,.9) !important;line-height:1.8;}
.article-tech strong{color:var(--lime) !important;}

/* Statistic blocks */
.article-tech [class*="stat-block"],
.article-tech .data-card,
.article-tech .detail-item,
.article-tech .delegation-item,
.article-tech .dignitary-item,
.article-tech .event-item{
  background:rgba(11,34,52,.7) !important;
  border:1px solid rgba(92,213,251,.2) !important;
  border-radius:16px !important;
  color:#dbe7ef !important;
}
.article-tech [class*="stat-number"]{color:var(--lime) !important;font-weight:800;}
.article-tech .stat-label,.article-tech .label{color:rgba(219,231,239,.68) !important;}
.article-tech .value{color:#fff !important;}

/* Legacy hero blocks inside article body */
.article-tech [class*="hero-"]{color:#fff !important;background:transparent !important;}
.article-tech .hero-grid{background:rgba(255,255,255,.04);border:1px solid rgba(92,213,251,.2);border-radius:22px;padding:clamp(1.2rem,3vw,2.4rem);}
.article-tech .hero-stats .stat-pill,
.article-tech .stat-pill{background:rgba(92,213,251,.1);border:1px solid rgba(92,213,251,.3);color:#d9f3ff !important;}

/* Icon circles */
.article-tech [class*="section-header-"] i,
.article-tech .card-icon,
.article-tech .step-icon,
.article-tech .speaker-icon{
  color:var(--lime) !important;
  background:rgba(182,217,87,.12) !important;
}

/* Buttons */
.article-tech [class*="btn-"]{
  background:var(--forest) !important;color:#fff !important;
  border:1px solid rgba(182,217,87,.5) !important;border-radius:999px !important;
  padding:.8rem 1.4rem !important;
}
.article-tech [class*="btn-"]:hover{background:var(--lime) !important;color:var(--forest) !important;}

/* Tables */
.article-tech table{width:100%;border-collapse:collapse;background:rgba(255,255,255,.04);border-radius:14px;overflow:hidden;}
.article-tech th,.article-tech td{padding:.9rem 1rem;border-bottom:1px solid rgba(92,213,251,.16);text-align:left;}
.article-tech th{color:var(--lime) !important;}

/* Footnote / source */
.article-tech .footnote,.article-tech .source-note,.article-tech .footer-tagline{color:rgba(219,231,239,.6) !important;font-size:.9rem;}

/* Follow-up CTA card */
.article-tech [class*="footer-"]{
  background:linear-gradient(135deg,rgba(18,61,50,.8),rgba(6,18,31,.9)) !important;
  border:1px solid rgba(182,217,87,.3) !important;border-radius:20px !important;
}

@media(max-width:760px){
  .article-tech .hero-grid{padding:1.2rem;}
  .article-tech h2{padding-left:.7rem;}
}

/* ---------- Override legacy white wrapper ---------- */
.article-tech [class*="article-wrapper"]{
  background:transparent !important;
  border-radius:0 !important;
  box-shadow:none !important;
  padding:0 !important;
}
.article-tech .hero-title{color:#fff !important;}
.article-tech .hero-title span{color:var(--lime) !important;}
.article-tech .hero-text{color:rgba(219,231,239,.9) !important;}
.article-tech .footnote,
.article-tech [style*="background:#dcf0d5"]{
  background:rgba(255,255,255,.05) !important;
  color:rgba(219,231,239,.8) !important;
}
/* legacy hero-image icon panel */
.article-tech .hero-image{
  background:radial-gradient(circle at 50% 40%,rgba(92,213,251,.16),rgba(11,34,52,.6)) !important;
  border:1px solid rgba(92,213,251,.25) !important;
  color:var(--lime) !important;
}

/* full-bleed dark canvas behind article content */
body.article-page{background:#071420 !important;}
