/* ╔══════════════════════════════════════════════════════════════════╗
   ║  GIA REVAMP 2026 — LATEST ARTICLES SPOTLIGHT (dark hero section)  ║
   ║  Deploy to: LKY.Web\assets\GIA\css\gia-article-latest.css         ║
   ║  Paired view: GIARevampArticle\Detail.LastestArticle.cshtml       ║
   ║  Paired JS  : assets\GIA\js\gia-article-latest.js                 ║
   ║  Uses the shared --gia-rv-* tokens (gia_style.css merge) but is   ║
   ║  self-sufficient: every value it needs has a literal fallback.    ║
   ║  All rules scoped under .gia-revamp-root .gia-lt* — zero bleed.   ║
   ╚══════════════════════════════════════════════════════════════════╝ */

/* ── Section shell — the homepage aurora photo, alive ──────────────
   Base layer  : legacy .featured asset (bg-featured.png), cover +
                 fixed attachment for the slow parallax feel.
   Scrim layer : vertical gradient keeping text readable and blending
                 the section edges into the page.
   ::after     : three blurred aurora glows, screen-blended over the
                 photo, drifting for ~26s — the sky breathes.
   ::before    : box-shadow star constellations twinkling above it.  */
.gia-revamp-root .gia-lt {
  position: relative;
  overflow: hidden;
  padding: 64px 0 72px;
  background-color: #000;
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, .42) 0%, rgba(18, 0, 8, .16) 32%, rgba(18, 0, 8, .58) 100%),
    url('/assets/GIA/images/bg-featured.png');
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
}
/* stars — twinkling constellation above the aurora */
.gia-revamp-root .gia-lt::before {
  content: "";
  position: absolute;
  z-index: 0;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: transparent;
  pointer-events: none;
  box-shadow:
    4vw   8vh 0 0 rgba(255,255,255,.55), 12vw 62vh 0 0 rgba(255,255,255,.28),
    18vw  24vh 0 0 rgba(255,255,255,.40), 26vw 78vh 0 0 rgba(255,255,255,.30),
    33vw  12vh 0 0 rgba(255,255,255,.50), 41vw 48vh 0 0 rgba(255,255,255,.22),
    49vw  86vh 0 0 rgba(255,255,255,.38), 57vw 30vh 0 0 rgba(255,255,255,.45),
    64vw  70vh 0 0 rgba(255,255,255,.25), 72vw 16vh 0 0 rgba(255,255,255,.42),
    80vw  54vh 0 0 rgba(255,255,255,.30), 88vw 82vh 0 0 rgba(255,255,255,.48),
    94vw  36vh 0 0 rgba(255,255,255,.26), 68vw 92vh 0 0 rgba(255,255,255,.35),
    22vw  44vh 0 0 rgba(255,214,224,.30), 90vw  6vh 0 0 rgba(255,255,255,.32),
    9vw   34vh 0 0 rgba(255,214,224,.30), 29vw 66vh 0 0 rgba(255,214,224,.22),
    46vw  10vh 0 0 rgba(255,214,224,.34), 61vw 58vh 0 0 rgba(255,214,224,.20),
    77vw  28vh 0 0 rgba(255,214,224,.30), 85vw 74vh 0 0 rgba(255,214,224,.24),
    15vw  90vh 0 0 rgba(255,214,224,.26), 53vw 94vh 0 0 rgba(255,214,224,.18);
  animation: gia-lt-twinkle 6s ease-in-out infinite alternate;
}
/* aurora — blurred brand-tinted glows drifting over the photo */
.gia-revamp-root .gia-lt::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: -22%;
  pointer-events: none;
  background:
    radial-gradient(36% 30% at 16% 26%, rgba(199, 32, 88, .32) 0%, rgba(199, 32, 88, 0) 70%),
    radial-gradient(32% 26% at 84% 14%, rgba(142, 20, 98, .28) 0%, rgba(142, 20, 98, 0) 70%),
    radial-gradient(46% 36% at 62% 88%, rgba(255, 92, 134, .18) 0%, rgba(255, 92, 134, 0) 70%);
  filter: blur(52px) saturate(1.2);
  mix-blend-mode: screen;
  animation: gia-lt-aurora 26s ease-in-out infinite alternate;
}
@keyframes gia-lt-twinkle {
  from { opacity: .45; transform: translateY(0); }
  to   { opacity: 1;   transform: translateY(-6px); }
}
@keyframes gia-lt-aurora {
  from { transform: translate3d(-2.5%, -1.5%, 0) rotate(-1.5deg) scale(1); }
  to   { transform: translate3d(2.5%, 2%, 0)     rotate(1.5deg)  scale(1.07); }
}

/* ── Heading ───────────────────────────────────────────────────────── */
.gia-revamp-root .gia-lt__heading {
  position: relative;
  z-index: 1;
  margin: 0 0 12px;
  text-align: center;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: .3em;
  text-indent: .3em;              /* optically recenters tracked caps */
  text-transform: uppercase;
  color: #ffffff;
}
.gia-revamp-root .gia-lt__heading::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  margin: 14px auto 0;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--gia-rv-brand-red, #af1d48), #ff5c86);
}

/* ── Layout: hero left, three rows right ───────────────────────────── */
.gia-revamp-root .gia-lt__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 36px;
  margin-top: 34px;
  min-height: 300px;
  align-items: stretch;
}
.gia-revamp-root .gia-lt-side {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  gap: 26px;
}

/* ── Shared meta line: TOPIC | icon time ───────────────────────────── */
.gia-revamp-root .gia-lt-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.gia-revamp-root .gia-lt-meta__topic {
  position: relative;
  z-index: 2;                      /* stays clickable above stretched link */
  color: #ff5c86;
  transition: color .2s ease;
}
.gia-revamp-root .gia-lt-meta__topic:hover { color: #ffffff; }
.gia-revamp-root .gia-lt-meta__topic:focus-visible {
  outline: 2px solid #ff5c86;
  outline-offset: 2px;
}
.gia-revamp-root .gia-lt-meta__sep {
  width: 1px;
  height: 16px;
  background: rgba(255, 255, 255, .38);
}
.gia-revamp-root .gia-lt-meta__time {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #ffffff;
  letter-spacing: .02em;
  text-transform: none;
  font-weight: 600;
}
.gia-revamp-root .gia-lt-meta__time svg { width: 17px; height: 17px; display: block; }

/* ── Byline ────────────────────────────────────────────────────────── */
.gia-revamp-root .gia-lt-byline {
  display: flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 10px;
  font-size: 13px;
  color: rgba(255, 255, 255, .55);
}
.gia-revamp-root .gia-lt-byline b {
  color: #ffffff;
  font-weight: 700;
}
.gia-revamp-root .gia-lt-byline .gia-lt-byline__dot {
  color: rgba(255, 255, 255, .35);
}

/* ── Hero card (the latest article) ────────────────────────────────── */
.gia-revamp-root .gia-lt-hero {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  min-height: 430px;
  background: #170008;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
  transition: transform .45s cubic-bezier(.22,.61,.36,1), box-shadow .45s cubic-bezier(.22,.61,.36,1);
}
.gia-revamp-root .gia-lt-hero:hover {
  transform: translateY(-6px);
  box-shadow: 0 34px 80px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 92, 134, .25),
              0 18px 70px rgba(175, 29, 72, .35);
}
.gia-revamp-root .gia-lt-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.001);
  transition: transform 1.1s cubic-bezier(.22,.61,.36,1);
}
.gia-revamp-root .gia-lt-hero:hover .gia-lt-hero__img { transform: scale(1.055); }
.gia-revamp-root .gia-lt-hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20,0,9,.20) 0%, rgba(20,0,9,.42) 55%, rgba(20,0,9,.82) 100%);
  transition: background .4s ease;
}
/* diagonal shine sweep on hover */
.gia-revamp-root .gia-lt-hero__shine {
  position: absolute;
  top: -20%;
  bottom: -20%;
  left: -75%;
  width: 50%;
  background: linear-gradient(105deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.14) 50%, rgba(255,255,255,0) 100%);
  transform: skewX(-18deg);
  pointer-events: none;
}
.gia-revamp-root .gia-lt-hero:hover .gia-lt-hero__shine {
  animation: gia-lt-shine .9s cubic-bezier(.4,.0,.2,1) forwards;
}
@keyframes gia-lt-shine {
  to { left: 130%; }
}
.gia-revamp-root .gia-lt-hero__body {
  position: absolute;
  inset: auto 0 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 40px 44px 42px;
  text-align: center;
}
.gia-revamp-root .gia-lt-hero__title {
  margin: 0;
  max-width: 90%;
  font-size: clamp(26px, 2.6vw, 38px);
  line-height: 1.18;
  font-weight: 800;
  color: #ffffff;
  text-shadow: 0 3px 22px rgba(0, 0, 0, .55);
}
.gia-revamp-root .gia-lt-hero__title a { color: inherit; }
/* stretched link — whole hero clickable; topic link sits above on z:2 */
.gia-revamp-root .gia-lt-hero__title a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}
.gia-revamp-root .gia-lt-hero__title a:focus-visible {
  outline: none;
}
.gia-revamp-root .gia-lt-hero:has(.gia-lt-hero__title a:focus-visible) {
  outline: 2px solid #ff5c86;
  outline-offset: 3px;
}

/* ── Side rows ─────────────────────────────────────────────────────── */
.gia-revamp-root .gia-lt-row {
  position: relative;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 20px;
  align-items: center;
  border-radius: 8px;
  transition: background .3s ease, transform .35s cubic-bezier(.22,.61,.36,1);
}
.gia-revamp-root .gia-lt-row:hover {
  background: rgba(255, 255, 255, .045);
  transform: translateX(6px);
}
.gia-revamp-root .gia-lt-row__thumb {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  aspect-ratio: 16 / 9;
  background: #240110;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .4);
}
.gia-revamp-root .gia-lt-row__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s cubic-bezier(.22,.61,.36,1);
}
.gia-revamp-root .gia-lt-row:hover .gia-lt-row__thumb img { transform: scale(1.08); }
.gia-revamp-root .gia-lt-row__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
  min-width: 0;
  padding: 6px 6px 6px 0;
}
.gia-revamp-root .gia-lt-row .gia-lt-meta { font-size: 13px; }
.gia-revamp-root .gia-lt-row .gia-lt-meta__time svg { width: 15px; height: 15px; }
.gia-revamp-root .gia-lt-row__title {
  margin: 0;
  font-size: 19px;
  line-height: 1.32;
  font-weight: 700;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
/* underline slides in under the hovered title */
.gia-revamp-root .gia-lt-row__title a {
  color: #ffffff;
  background-image: linear-gradient(90deg, #ff5c86, #ff5c86);
  background-repeat: no-repeat;
  background-size: 0% 2px;
  background-position: 0 100%;
  padding-bottom: 2px;
  transition: background-size .35s cubic-bezier(.22,.61,.36,1), color .25s ease;
}
.gia-revamp-root .gia-lt-row:hover .gia-lt-row__title a {
  background-size: 100% 2px;
}
.gia-revamp-root .gia-lt-row__title a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}
.gia-revamp-root .gia-lt-row:has(.gia-lt-row__title a:focus-visible) {
  outline: 2px solid #ff5c86;
  outline-offset: 3px;
}
.gia-revamp-root .gia-lt-row .gia-lt-byline { justify-content: flex-start; }

/* ── Skeleton (while the API responds) ───────────────────────────────
   Content-shaped glass cards over the aurora photo: frosted panels,
   a breathing brand glow behind the hero, and a diagonal light sweep
   crossing each card — the loading state is designed, not gray boxes. */
.gia-revamp-root .gia-lt-skel {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  background: rgba(255, 255, 255, .035);
  border: 1px solid rgba(255, 255, 255, .09);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: gia-lt-skel-in .55s ease both;
}
/* diagonal light sweep */
.gia-revamp-root .gia-lt-skel::after {
  content: "";
  position: absolute;
  inset: -20% -60%;
  background: linear-gradient(100deg, rgba(255,255,255,0) 32%, rgba(255,255,255,.08) 50%, rgba(255,255,255,0) 68%);
  transform: translateX(-70%) skewX(-14deg);
  animation: gia-lt-skel-sweep 1.9s cubic-bezier(.4, 0, .2, 1) infinite;
}
.gia-revamp-root .gia-lt-skel--hero {
  min-height: 430px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.gia-revamp-root .gia-lt-skel--row {
  min-height: 118px;
  border-radius: 8px;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 20px;
  align-items: center;
  padding: 10px 14px 10px 10px;
  animation-delay: calc(.1s + var(--gia-lt-i, 0) * .12s);
}
/* breathing brand glow behind the hero lines */
.gia-revamp-root .gia-lt-skel__pulse {
  position: absolute;
  left: 50%;
  top: 44%;
  width: 360px;
  height: 360px;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(175, 29, 72, .38), rgba(175, 29, 72, 0) 72%);
  animation: gia-lt-skel-pulse 2.6s ease-in-out infinite;
}
.gia-revamp-root .gia-lt-skel__body {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  width: 100%;
  padding: 0 24px 48px;
}
.gia-revamp-root .gia-lt-skel__chip {
  width: 150px;
  height: 14px;
  border-radius: 7px;
  background: rgba(255, 92, 134, .30);
}
.gia-revamp-root .gia-lt-skel__chip--sm { width: 96px; height: 11px; }
.gia-revamp-root .gia-lt-skel__line {
  height: 24px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .13);
}
.gia-revamp-root .gia-lt-skel__line--lg { width: 62%; }
.gia-revamp-root .gia-lt-skel__line--md { width: 40%; }
.gia-revamp-root .gia-lt-skel__line--sm { width: 27%; height: 12px; background: rgba(255, 255, 255, .09); }
.gia-revamp-root .gia-lt-skel__thumb {
  display: block;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  background: rgba(255, 255, 255, .08);
}
.gia-revamp-root .gia-lt-skel__lines {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
  min-width: 0;
}
.gia-revamp-root .gia-lt-skel__lines .gia-lt-skel__line { height: 14px; }
.gia-revamp-root .gia-lt-skel__lines .gia-lt-skel__line--w95 { width: 95%; }
.gia-revamp-root .gia-lt-skel__lines .gia-lt-skel__line--w68 { width: 68%; }
@keyframes gia-lt-skel-sweep {
  to { transform: translateX(70%) skewX(-14deg); }
}
@keyframes gia-lt-skel-pulse {
  0%, 100% { opacity: .45; transform: translate(-50%, -50%) scale(.92); }
  50%      { opacity: 1;   transform: translate(-50%, -50%) scale(1.06); }
}
@keyframes gia-lt-skel-in {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}

/* ── Empty / error ─────────────────────────────────────────────────── */
.gia-revamp-root .gia-lt-empty {
  grid-column: 1 / -1;
  padding: 60px 20px;
  text-align: center;
  color: rgba(255, 255, 255, .75);
  font-size: 15px;
}

/* ── Entrance animations (added once per render, IO-triggered) ─────── */
.gia-revamp-root .gia-lt-hero.gia-lt-in,
.gia-revamp-root .gia-lt-row.gia-lt-in {
  opacity: 0;
}
.gia-revamp-root .gia-lt-hero.gia-lt-in { transform: translateY(34px) scale(.985); }
.gia-revamp-root .gia-lt-row.gia-lt-in  { transform: translateX(40px); }
.gia-revamp-root .gia-lt__grid.is-revealed .gia-lt-hero.gia-lt-in {
  animation: gia-lt-hero-in .8s cubic-bezier(.22,.61,.36,1) forwards;
}
.gia-revamp-root .gia-lt__grid.is-revealed .gia-lt-row.gia-lt-in {
  animation: gia-lt-row-in .65s cubic-bezier(.22,.61,.36,1) forwards;
  animation-delay: calc(.25s + var(--gia-lt-i, 0) * .13s);
}
@keyframes gia-lt-hero-in {
  to { opacity: 1; transform: none; }
}
@keyframes gia-lt-row-in {
  to { opacity: 1; transform: none; }
}

/* ── Responsive ────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .gia-revamp-root .gia-lt-row { grid-template-columns: 160px 1fr; gap: 16px; }
  .gia-revamp-root .gia-lt-row__title { font-size: 17px; }
}
@media (max-width: 980px) {
  .gia-revamp-root .gia-lt {
    /* fixed attachment janks on mobile browsers; the mobile asset is
       cropped for portrait */
    background-attachment: scroll;
    background-image:
      linear-gradient(180deg, rgba(0, 0, 0, .42) 0%, rgba(18, 0, 8, .16) 32%, rgba(18, 0, 8, .58) 100%),
      url('/assets/GIA/images/bg-featured-mobile.png');
  }
  .gia-revamp-root .gia-lt__grid { grid-template-columns: 1fr; gap: 30px; }
  .gia-revamp-root .gia-lt-hero { min-height: 340px; }
  .gia-revamp-root .gia-lt-side { grid-template-rows: none; }
  .gia-revamp-root .gia-lt-skel--row { grid-template-columns: 160px 1fr; }
}
@media (max-width: 560px) {
  .gia-revamp-root .gia-lt { padding: 44px 0 52px; }
  .gia-revamp-root .gia-lt__heading { font-size: 19px; }
  .gia-revamp-root .gia-lt-hero { min-height: 300px; }
  .gia-revamp-root .gia-lt-hero__body { padding: 24px 18px 26px; gap: 12px; }
  .gia-revamp-root .gia-lt-row { grid-template-columns: 1fr; gap: 12px; }
  .gia-revamp-root .gia-lt-row:hover { transform: none; }
  .gia-revamp-root .gia-lt-row__body { padding: 0 4px 8px; }
}

/* ── Reduced motion ────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .gia-revamp-root .gia-lt::before,
  .gia-revamp-root .gia-lt::after,
  .gia-revamp-root .gia-lt-skel,
  .gia-revamp-root .gia-lt-skel::after,
  .gia-revamp-root .gia-lt-skel__pulse { animation: none; }
  .gia-revamp-root .gia-lt-hero.gia-lt-in,
  .gia-revamp-root .gia-lt-row.gia-lt-in { opacity: 1; transform: none; animation: none; }
  .gia-revamp-root .gia-lt-hero,
  .gia-revamp-root .gia-lt-hero__img,
  .gia-revamp-root .gia-lt-row,
  .gia-revamp-root .gia-lt-row__thumb img,
  .gia-revamp-root .gia-lt-row__title a { transition: none; }
  .gia-revamp-root .gia-lt-hero:hover .gia-lt-hero__shine { animation: none; }
}
