/* ================================================================
   APOLLO GROUP TV — SINGLE POST v5  (Cinematic Premium)
================================================================ */

.art-page {
  background: #07060f;
  min-height: 80vh;
}

/* ════════════════════════════════════════════════════
   ARTICLE HERO
════════════════════════════════════════════════════ */
.art-hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 3.5rem;
  overflow: hidden;
  isolation: isolate;
}

/* Background image */
.art-hero__bg {
  position: absolute; inset: 0; z-index: 0;
}
.art-hero__bg img {
  width: 100%; height: 100%; object-fit: cover;
  filter: blur(2px) brightness(.5) saturate(.8);
  transform: scale(1.04);
}
/* Gradient overlay */
.art-hero__overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(
    0deg,
    #07060f 0%,
    rgba(7,6,15,.85) 35%,
    rgba(7,6,15,.55) 70%,
    rgba(7,6,15,.3) 100%
  );
}
/* No featured image: fallback gradient */
.art-hero:not(:has(.art-hero__bg)) {
  min-height: 340px;
  background:
    radial-gradient(ellipse 70% 90% at 20% 0%, rgba(56,189,248,.08), transparent 55%),
    radial-gradient(ellipse 50% 60% at 80% 30%, rgba(167,139,250,.07), transparent 55%),
    #07060f;
}
.art-hero:not(:has(.art-hero__bg))::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, #38bdf8 30%, #a78bfa 60%, transparent);
  opacity: .5;
}

.art-hero__inner {
  position: relative; z-index: 2;
  padding-top: 120px;
}

/* Breadcrumb */
.art-breadcrumb {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .75rem;
  color: rgba(255,255,255,.4);
  margin-bottom: 1.2rem;
  flex-wrap: wrap;
}
.art-breadcrumb a {
  color: rgba(255,255,255,.45);
  text-decoration: none;
  transition: color .2s;
}
.art-breadcrumb a:hover { color: #38bdf8; }
.art-breadcrumb span[aria-current] { color: rgba(255,255,255,.65); }

/* Title */
.art-hero__title {
  font-size: clamp(1.9rem, 4.5vw, 3.5rem);
  font-weight: 900;
  letter-spacing: -.035em;
  line-height: 1.1;
  color: #fff;
  max-width: 760px;
  margin: 0 0 1rem;
  text-shadow: 0 2px 20px rgba(0,0,0,.4);
}

/* Meta row */
.art-hero__meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.4rem;
  flex-wrap: wrap;
}
.art-meta__read {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .78rem;
  font-weight: 600;
  color: rgba(255,255,255,.45);
}
.art-meta__read svg { opacity: .7; }

/* Hero WA button */
.art-hero__wa {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .72rem 1.4rem;
  border-radius: 11px;
  background: linear-gradient(135deg, #166534, #22c55e);
  color: #fff;
  font-size: .88rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(34,197,94,.25);
  transition: transform .28s cubic-bezier(.22,.68,0,1.2), filter .22s;
}
.art-hero__wa:hover {
  transform: translateY(-3px);
  filter: brightness(1.08);
  box-shadow: 0 10px 30px rgba(34,197,94,.4);
}

/* ════════════════════════════════════════════════════
   ARTICLE BODY
════════════════════════════════════════════════════ */
.art-body {
  padding: 3rem 0 5rem;
}
.art-content {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
}

/* Thumbnail (when no hero bg) */
.art-thumb {
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 2.5rem;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
}
.art-thumb img { width: 100%; height: auto; display: block; }

/* ── Reading Progress Bar ── */
.art-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: rgba(255,255,255,.05);
  z-index: 9999;
}
.art-progress__bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #38bdf8, #a78bfa);
  transition: width .1s linear;
}

/* ── Prose typography ── */
.art-prose {
  font-size: 1.05rem;
  line-height: 1.88;
  color: rgba(255,255,255,.72);
}
.art-prose h2 {
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  font-weight: 900;
  letter-spacing: -.025em;
  line-height: 1.22;
  color: #fff;
  margin: 2.4rem 0 .9rem;
  padding-top: .5rem;
  border-top: 1px solid rgba(255,255,255,.06);
}
.art-prose h3 {
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 800;
  color: rgba(255,255,255,.9);
  margin: 1.8rem 0 .7rem;
  letter-spacing: -.02em;
}
.art-prose p { margin: 0 0 1.1rem; }
.art-prose strong { color: rgba(255,255,255,.88); font-weight: 700; }
.art-prose em { color: rgba(255,255,255,.8); }
.art-prose a {
  color: #38bdf8;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: opacity .2s;
}
.art-prose a:hover { opacity: .8; }
.art-prose ul, .art-prose ol {
  margin: 0 0 1.2rem;
  padding-left: 1.4rem;
}
.art-prose li { margin: .4rem 0; }
.art-prose img, .art-prose video {
  max-width: 100%; height: auto; display: block;
  border-radius: 14px;
  margin: 1.5rem 0;
}
.art-prose figure { margin: 1.5rem 0; }
.art-prose figcaption {
  margin-top: .5rem;
  font-size: .85rem;
  color: rgba(255,255,255,.35);
  text-align: center;
}
.art-prose blockquote {
  margin: 1.8rem 0;
  padding: 1.1rem 1.4rem;
  border-left: 3px solid rgba(56,189,248,.6);
  background: rgba(56,189,248,.05);
  border-radius: 0 14px 14px 0;
  color: rgba(255,255,255,.82);
  font-style: italic;
}
.art-prose table {
  width: 100%; border-collapse: collapse;
  margin: 1.5rem 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
}
.art-prose th, .art-prose td {
  padding: .9rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,.07);
  text-align: left;
  font-size: .9rem;
}
.art-prose th { background: rgba(255,255,255,.04); color: rgba(255,255,255,.88); font-weight: 700; }

/* ── Bottom CTA card ── */
.art-cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin: 3rem 0;
  padding: 1.6rem 1.8rem;
  border-radius: 20px;
  background: linear-gradient(135deg,
    rgba(56,189,248,.08) 0%,
    rgba(167,139,250,.08) 100%);
  border: 1px solid rgba(56,189,248,.2);
}
.art-cta-card__text {
  display: flex;
  flex-direction: column;
  gap: .3rem;
}
.art-cta-card__text strong {
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
}
.art-cta-card__text span {
  font-size: .84rem;
  color: rgba(255,255,255,.5);
}
.art-cta-card__btns {
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
  flex-shrink: 0;
}
.art-cta-card__btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .72rem 1.3rem;
  border-radius: 11px;
  font-size: .86rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .28s cubic-bezier(.22,.68,0,1.2), filter .22s;
}
.art-cta-card__btn:hover { transform: translateY(-2px); filter: brightness(1.08); }
.art-cta-card__btn--wa {
  background: linear-gradient(135deg, #166534, #22c55e);
  color: #fff;
  box-shadow: 0 4px 16px rgba(34,197,94,.2);
}
.art-cta-card__btn--price {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.85);
  backdrop-filter: blur(8px);
}
.art-cta-card__btn--price:hover { background: rgba(255,255,255,.12); }

/* ── Post navigation ── */
.art-nav { margin-top: 2rem; }
.art-nav .nav-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.art-nav .nav-previous,
.art-nav .nav-next {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  padding: 1.2rem 1.4rem;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  text-decoration: none;
  transition: transform .28s, border-color .25s, box-shadow .28s;
}
.art-nav .nav-previous:hover,
.art-nav .nav-next:hover {
  transform: translateY(-3px);
  border-color: rgba(56,189,248,.25);
  box-shadow: 0 14px 36px rgba(0,0,0,.4);
}
.art-nav .nav-next { text-align: right; }
.art-nav__dir {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(56,189,248,.7);
}
.art-nav__t {
  display: block;
  font-size: .88rem;
  font-weight: 700;
  color: rgba(255,255,255,.78);
  line-height: 1.38;
}

/* ════════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .art-hero { min-height: 380px; padding-bottom: 2.5rem; }
  .art-hero__title { font-size: clamp(1.6rem, 7vw, 2.4rem); }
  .art-content { padding: 0; }
  .art-cta-card { flex-direction: column; align-items: flex-start; }
  .art-nav .nav-links { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .art-hero__title { font-size: clamp(1.4rem, 7vw, 2rem); }
  .art-prose { font-size: .97rem; }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  .art-hero__bg img { filter: blur(0) brightness(.5) saturate(.8); }
  .art-progress { display: none; }
}
