/* ============================================================
   TECHOVA — Article reading page
   Loaded after techova.css, before mobile.css
   ============================================================ */

.article-hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(110% 130% at 88% -10%, rgba(198,217,54,0.16), transparent 55%),
    linear-gradient(160deg, #1f2e5b 0%, #16223f 60%, #0f1730 100%);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.article-hero .aurora { position: absolute; inset: -20%; z-index: 0; filter: blur(22px); opacity: 0.7;
  background:
    radial-gradient(40% 46% at 20% 24%, rgba(198,217,54,0.18), transparent 60%),
    radial-gradient(44% 52% at 82% 18%, rgba(63,104,196,0.34), transparent 62%);
  animation: auroraDrift 26s ease-in-out infinite alternate; }
.article-hero .ph-grid { position: absolute; inset: 0; z-index: 0;
  background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: radial-gradient(120% 90% at 80% 10%, #000 20%, transparent 72%);
  mask-image: radial-gradient(120% 90% at 80% 10%, #000 20%, transparent 72%); }
.article-hero-inner { position: relative; z-index: 1; max-width: 880px; margin: 0 auto; padding-block: clamp(40px, 7vw, 84px) clamp(36px, 5vw, 60px); }
.article-back { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: rgba(255,255,255,0.7); margin-bottom: 26px; transition: color 0.25s, gap 0.25s; }
.article-back:hover { color: var(--lime); gap: 12px; }
.article-cat { font-family: var(--ff-display); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--navy); background: var(--lime); padding: 7px 13px; border-radius: 100px; display: inline-block; }
.article-title { font-family: var(--ff-display); font-weight: 700; line-height: 1.04; letter-spacing: -0.01em; color: #fff; font-size: clamp(32px, 5vw, 58px); margin: 20px 0 22px; text-wrap: balance; max-width: 20ch; }
.article-lead { font-size: clamp(18px, 2.1vw, 22px); line-height: 1.55; color: rgba(255,255,255,0.82); font-weight: 300; max-width: 60ch; }
.article-meta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 30px; font-size: 14px; color: rgba(255,255,255,0.66); }
.article-meta .dot { opacity: 0.5; }
.article-author { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 500; }
.article-avatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--lime); color: var(--navy); font-family: var(--ff-display); font-weight: 700; font-size: 14px; }

/* Body */
.article-body { max-width: 720px; margin: 0 auto; padding-block: clamp(48px, 7vw, 80px); }
.article-body > * { max-width: 100%; }
.article-body p { font-size: 18px; line-height: 1.78; color: #38415c; margin-bottom: 24px; }
.article-body p:first-of-type::first-letter { font-family: var(--ff-display); font-weight: 700; font-size: 3.6em; line-height: 0.8; float: left; margin: 6px 12px 0 0; color: var(--navy); }
.article-body h2 { font-family: var(--ff-display); font-weight: 700; font-size: clamp(24px, 3vw, 32px); color: var(--navy); line-height: 1.12; margin: 50px 0 18px; letter-spacing: -0.01em; }
.article-body h3 { font-family: var(--ff-display); font-weight: 600; font-size: clamp(19px, 2.2vw, 23px); color: var(--navy); margin: 34px 0 12px; }
.article-body ul, .article-body ol { margin: 0 0 24px 0; padding-left: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.article-body li { position: relative; padding-left: 30px; font-size: 17.5px; line-height: 1.7; color: #38415c; }
.article-body ul li::before { content: ""; position: absolute; left: 4px; top: 11px; width: 8px; height: 8px; border-radius: 2px; background: var(--lime); transform: rotate(45deg); }
.article-body ol { counter-reset: li; }
.article-body ol li { counter-increment: li; }
.article-body ol li::before { content: counter(li); position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: rgba(198,217,54,0.2); color: var(--lime-ink); font-family: var(--ff-display); font-weight: 700; font-size: 11px; display: grid; place-items: center; }
.article-body strong { color: var(--navy); font-weight: 600; }
.article-body a { color: var(--lime-ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.article-body blockquote { margin: 36px 0; padding: 6px 0 6px 28px; border-left: 4px solid var(--lime); }
.article-body blockquote p { font-family: var(--ff-display); font-weight: 500; font-size: clamp(20px, 2.6vw, 27px); line-height: 1.3; color: var(--navy); margin: 0; letter-spacing: -0.01em; }
.article-callout { margin: 40px 0; padding: clamp(24px, 3vw, 34px); border-radius: var(--radius); background: linear-gradient(160deg, #1f2e5b, #14203c); color: #fff; position: relative; overflow: hidden; }
.article-callout .ac-label { font-family: var(--ff-display); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--lime); margin-bottom: 12px; display: block; }
.article-callout p { color: rgba(255,255,255,0.86); margin: 0; font-size: 17px; line-height: 1.7; }
.article-callout strong { color: #fff; }

/* Foot / share */
.article-foot { max-width: 720px; margin: 0 auto; padding-bottom: clamp(40px, 6vw, 70px); display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; border-top: 1px solid var(--line-soft); padding-top: 30px; }
.article-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.article-tags span { font-family: var(--ff-display); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fog); border: 1px solid var(--line-soft); padding: 6px 12px; border-radius: 100px; }
.article-share { display: flex; align-items: center; gap: 10px; }
.article-share span { font-size: 13px; color: var(--fog-dim); }
.article-share a { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line-soft); border-radius: 50%; color: var(--fog); transition: all 0.3s var(--ease); }
.article-share a:hover { border-color: var(--lime); color: var(--lime-ink); transform: translateY(-2px); }
.article-share svg { width: 17px; height: 17px; }

/* Related */
.related-sec { background: var(--ink); border-top: 1px solid var(--line-soft); }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 38px; }

@media (max-width: 760px) {
  .article-body p:first-of-type::first-letter { font-size: 3em; }
  .related-grid { grid-template-columns: 1fr; }
  .article-foot { flex-direction: column; align-items: flex-start; }
}

/* gradient banner + transparent header + overlapping white sheet (vardot-style) */
.article-hero {
  background: linear-gradient(125deg, #234a76 0%, #35618d 48%, #7cc3cc 100%) !important;
  margin-top: -78px; padding-top: 78px;
}
.article-hero .aurora, .article-hero .ph-grid { display: none; }
.article-hero-inner { max-width: 880px; padding-bottom: clamp(70px, 9vw, 120px); }
.article-sheet {
  position: relative; z-index: 2; max-width: 880px; margin: clamp(-56px, -6vw, -40px) auto 0;
  background: #fff; border-radius: 16px; border: 1px solid rgba(31,46,91,0.08);
  box-shadow: 0 30px 70px -40px rgba(31,46,91,0.45);
  padding: 0 clamp(20px, 4vw, 56px);
}
.article-sheet .article-body { padding-block: clamp(34px, 5vw, 56px) clamp(28px, 4vw, 44px); }
.article-sheet .article-foot { padding-bottom: clamp(26px, 4vw, 40px); }

/* related articles: smaller heading, clean vardot-style card text, proper spacing */
.article-sheet { margin-bottom: clamp(40px, 6vw, 72px); }
.related-sec.section { padding-top: clamp(48px, 6vw, 80px); }
.related-sec .h2 { font-size: clamp(24px, 3vw, 36px); }
.related-grid .post { background: #fff; border: 1px solid rgba(31,46,91,0.1); border-radius: 12px; padding: 20px 22px; display: flex; flex-direction: column; gap: 12px; }
.related-grid .post-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.related-grid .post-cat { font-family: var(--ff-body); font-weight: 600; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--lime-ink, #5f6e0e); background: rgba(198,217,54,0.18); padding: 5px 12px; border-radius: 100px; }
.related-grid .post-read { font-family: var(--ff-body); font-size: 12.5px; color: var(--fog-dim, #8b93a6); white-space: nowrap; }
.related-grid .post .h3 { font-family: var(--ff-body); font-weight: 600; font-size: clamp(15.5px, 1.6vw, 18px); line-height: 1.4; color: var(--navy); }
.related-grid .post:hover .h3 { color: var(--lime-ink, #5f6e0e); }
.related-grid .post-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; }
.related-grid .post-date { font-family: var(--ff-body); font-size: 12.5px; color: var(--fog-dim, #8b93a6); }
.related-grid .post-go { font-family: var(--ff-body); font-weight: 600; font-size: 12.5px; color: var(--lime-ink, #5f6e0e); }
