/* =========================================================
   GKS Healthsol — Insights (blog)
   ========================================================= */
.read-progress { position: fixed; left: 0; top: 0; height: 3px; width: 0; background: var(--blue); z-index: 60; transition: width .1s linear; }

/* article hero */
.a-hero { text-align: left; padding: clamp(80px, 10vw, 130px) 0 clamp(64px, 8vw, 100px); }
.a-hero .container { max-width: calc(1060px + var(--gutter) * 2); }
.a-hero h1 { font-size: clamp(1.98rem, 4.14vw, 3.42rem); max-width: 22ch; margin: 22px 0 0; }
.a-hero .lead { margin: 22px 0 0; max-width: 62ch; }
.a-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; font-size: 14px; color: rgba(253, 248, 238, .72); }
.a-meta span { display: inline-flex; align-items: center; gap: 8px; }
.a-meta svg { width: 15px; height: 15px; color: var(--sky); }
.a-cat { display: inline-flex; padding: 6px 12px; border-radius: var(--pill); background: rgba(166, 214, 229, .16); color: var(--sky); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }

/* layout */
.a-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(40px, 6vw, 80px); align-items: start; max-width: calc(1180px + var(--gutter) * 2); }
.a-wrap > article { min-width: 0; }
.a-side { position: sticky; top: 108px; display: grid; gap: 18px; }
.a-box { padding: 22px; border-radius: var(--r-md); background: var(--white); border: 1px solid var(--line); }
.a-box h2 { font-family: var(--font-body); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; counter-reset: toc; }
.toc a { display: block; padding: 7px 10px; border-radius: 8px; font-size: 14px; line-height: 1.35; color: var(--ink-soft); border-left: 2px solid transparent; transition: background .2s, color .2s, border-color .2s; }
.toc a:hover { background: var(--cream); color: var(--navy); }
.toc a.active { color: var(--navy); border-left-color: var(--blue); background: var(--cream); font-weight: 500; }
.a-prod { display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: center; padding: 8px; margin: 0 -8px; border-radius: 10px; transition: background .2s; }
.a-prod:hover { background: var(--cream); }
.a-prod img { width: 64px; height: 48px; object-fit: contain; background: var(--cream-3); border-radius: 8px; mix-blend-mode: multiply; }
.a-prod b { display: block; font-size: 14px; font-weight: 600; color: var(--navy); line-height: 1.25; }
.a-prod small { display: block; font-size: 12px; color: var(--ink-mute); }
.a-cta { background: var(--navy); color: var(--cream); border: 0; }
.a-cta h2 { color: var(--sky); }
.a-cta p { font-size: 14px; color: rgba(253, 248, 238, .78); margin-bottom: 14px; }

/* prose */
.prose { font-size: 1.09rem; line-height: 1.75; color: #24304a; max-width: 72ch; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(1.44rem, 2.25vw, 1.89rem); line-height: 1.2; color: var(--navy); margin-top: 2.1em; scroll-margin-top: 110px; }
.prose h3 { font-family: var(--font-body); font-weight: 600; font-size: 1.15rem; letter-spacing: 0; color: var(--navy); margin-top: 1.7em; }
.prose a { color: var(--blue); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose a:hover { color: var(--navy); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: .45em; }
.prose li::marker { color: var(--blue); }
.prose strong { color: var(--navy); font-weight: 600; }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--sky); font-family: var(--font-head); font-weight: 500; font-size: 1.12rem; line-height: 1.4; color: var(--navy); }
.prose sup.cite { font-size: .7em; line-height: 0; margin-left: 1px; }
.prose sup.cite a { text-decoration: none; font-weight: 600; color: var(--blue); padding: 0 1px; }
.prose .tbl { overflow-x: auto; margin: 1.6em 0; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--white); }
.prose table { width: 100%; border-collapse: collapse; font-size: .92rem; line-height: 1.5; }
.prose th, .prose td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.prose thead th { background: var(--cream-2); font-weight: 600; color: var(--navy); white-space: nowrap; }
.prose tbody tr:last-child td { border-bottom: 0; }
.prose h2#key-takeaways + ul, .prose .takeaways { list-style: none; padding: 22px 24px; border-radius: var(--r-md); background: var(--sky-2); }
.prose h2#key-takeaways + ul li { position: relative; padding-left: 26px; }
.prose h2#key-takeaways + ul li::before { content: ""; position: absolute; left: 0; top: .55em; width: 14px; height: 14px; border-radius: 50%; background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a6d6e5' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 9px no-repeat; }

/* references */
.refs { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line); max-width: 72ch; }
.refs h2, .a-faq h2 { font-size: 1.53rem; color: var(--navy); }
.refs ol { margin: 18px 0 0; padding-left: 1.6em; display: grid; gap: 10px; font-size: .92rem; line-height: 1.55; color: var(--ink-soft); }
.refs li { scroll-margin-top: 110px; }
.refs li:target { background: var(--sky-2); border-radius: 6px; outline: 6px solid var(--sky-2); }
.refs a { color: var(--blue); overflow-wrap: anywhere; }
.refs .note { margin-top: 18px; font-size: 13px; color: var(--ink-mute); }
.a-faq { margin-top: 56px; max-width: 72ch; }
.a-faq .acc { margin-top: 18px; }
.a-faq .acc-btn { font-size: 1.35rem; padding: 20px 0; }
.a-faq .acc-panel p { padding: 0 48px 22px 0; }

/* related */
.related { margin-top: clamp(64px, 8vw, 110px); }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.post {
  display: flex; flex-direction: column; gap: 12px; padding: 26px; border-radius: var(--r-lg);
  background: var(--white); border: 1px solid var(--line); transition: border-color .3s, transform .3s var(--ease), box-shadow .3s;
}
.post:hover { border-color: rgba(11, 27, 58, .35); transform: translateY(-3px); box-shadow: 0 24px 40px -28px rgba(11, 27, 58, .35); }
.post .cat { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
.post h3 { font-size: 1.17rem; line-height: 1.22; }
.post p { font-size: 15px; color: var(--ink-soft); }
.post .foot-meta { margin-top: auto; padding-top: 14px; display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--ink-mute); border-top: 1px solid var(--line); }
.post .foot-meta span:last-child { display: inline-flex; align-items: center; gap: 6px; color: var(--navy); font-weight: 500; }
.post .foot-meta svg { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.post:hover .foot-meta svg { transform: translateX(3px); }
.post.is-hidden { display: none; }

/* index */
.blog-feature { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; border-radius: var(--r-lg); overflow: hidden; background: var(--navy); color: var(--cream); margin-bottom: 44px; }
.blog-feature .bf-img { position: relative; min-height: 340px; background: radial-gradient(70% 70% at 50% 40%, #fff, #efe6d4); }
.blog-feature .bf-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 8%; mix-blend-mode: multiply; }
.blog-feature .bf-body { padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.blog-feature .cat { color: var(--sky); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.blog-feature h2 { font-size: clamp(1.53rem, 2.52vw, 2.16rem); line-height: 1.14; }
.blog-feature p { color: rgba(253, 248, 238, .76); }
.blog-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 36px; }

/* product card guide links */
.pcard-guides { font-size: 13.5px; color: var(--ink-soft); display: grid; gap: 4px; padding-top: 10px; border-top: 1px dashed var(--line); }
.pcard-guides b { font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-mute); }
.pcard-guides a { color: var(--blue); line-height: 1.35; }
.pcard-guides a:hover { color: var(--navy); text-decoration: underline; }

@media (max-width: 1100px) {
  .a-wrap { grid-template-columns: minmax(0, 1fr); }
  .a-side { position: static; grid-template-columns: 1fr 1fr; }
  .a-side .toc { display: none; }
  .post-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .a-side { grid-template-columns: 1fr; }
  .post-grid { grid-template-columns: 1fr; }
  .blog-feature { grid-template-columns: 1fr; }
  .blog-feature .bf-img { min-height: 220px; }
  .prose { font-size: 1.03rem; }
  .a-faq .acc-panel p { padding-right: 0; }
}
