/* ============================================================
   Verified Peptides — Research hub + article editorial layout
   ============================================================ */

:root {
  --vp-ink: #0f172a;
  --vp-teal: #0c8b82;
  --vp-blue: #1a8cba;
  --vp-line: #e6ebf1;
}

/* ---------------- HUB LANDING ---------------- */
.vp-hub { background: #f7fafc; }

.vp-hub-hero {
  position: relative; overflow: hidden;
  background: radial-gradient(1200px 400px at 15% -10%, rgba(26,140,186,.28), transparent 60%),
              linear-gradient(135deg, #0a1628 0%, #0f3b34 120%);
  color: #fff; padding: 128px 0 64px;
}
.vp-hub-hero::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 22px 22px; opacity: .6; pointer-events: none;
}
.vp-hub-hero .container { position: relative; z-index: 2; }
.vp-hub-eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: #7dd3c8;
  background: rgba(125,211,200,.12); border: 1px solid rgba(125,211,200,.28);
  padding: 7px 16px; border-radius: 999px;
}
.vp-hub-hero h1 { font-size: clamp(30px, 4.6vw, 50px); font-weight: 900; margin: 18px 0 12px; letter-spacing: -.02em; }
.vp-hub-hero p { color: rgba(255,255,255,.8); font-size: 16.5px; max-width: 680px; margin: 0 0 22px; line-height: 1.6; }
.vp-hub-meta { display: flex; flex-wrap: wrap; gap: 10px; }
.vp-hub-meta span {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600;
  color: rgba(255,255,255,.92); background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14); border-radius: 999px; padding: 8px 15px;
}
.vp-hub-meta i { color: #7dd3c8; }

.vp-hub-wrap { max-width: 1180px; margin: 0 auto; padding: 0 16px; }

/* Featured "Start Here" card */
.vp-featured {
  display: grid; grid-template-columns: 1.55fr .9fr; gap: 0;
  background: #fff; border: 1px solid var(--vp-line); border-radius: 22px; overflow: hidden;
  box-shadow: 0 18px 50px rgba(15,23,42,.08); margin: -40px 0 44px; position: relative; z-index: 5;
}
.vp-featured__body { padding: 40px 42px; display: flex; flex-direction: column; }
.vp-featured__tag {
  display: inline-flex; align-items: center; gap: 7px; align-self: flex-start;
  font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  color: #b45309; background: #fffbeb; border: 1px solid #fde68a; padding: 6px 13px; border-radius: 999px;
}
.vp-featured__body h2 { font-size: 26px; font-weight: 800; line-height: 1.25; margin: 16px 0 12px; }
.vp-featured__body h2 a { color: var(--vp-ink); text-decoration: none; }
.vp-featured__body h2 a:hover { color: var(--vp-blue); }
.vp-featured__excerpt { color: #64748b; font-size: 15px; line-height: 1.7; margin: 0 0 22px; flex: 1; }
.vp-featured__btn {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 9px;
  background: var(--vp-ink); color: #fff; font-weight: 700; font-size: 14px;
  padding: 13px 26px; border-radius: 999px; text-decoration: none; transition: all .2s;
}
.vp-featured__btn:hover { background: var(--vp-blue); color: #fff; transform: translateY(-2px); }
.vp-featured__visual {
  background: linear-gradient(150deg, #0f3b34, #1a8cba); display: flex; align-items: center; justify-content: center;
  font-size: 92px; color: rgba(255,255,255,.9);
}

/* Article card grid */
.vp-hub-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 52px; }
.vp-acard {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--vp-line);
  border-radius: 18px; padding: 26px 24px 22px; text-decoration: none; position: relative;
  transition: transform .22s, box-shadow .22s, border-color .22s;
}
.vp-acard:hover { transform: translateY(-5px); box-shadow: 0 20px 44px rgba(15,23,42,.10); border-color: var(--vp-blue); }
.vp-acard__icon {
  width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  font-size: 23px; color: var(--vp-blue); background: #eef7fb; margin-bottom: 16px;
}
.vp-acard h3 { font-size: 17px; font-weight: 800; color: var(--vp-ink); line-height: 1.35; margin: 0 0 9px; }
.vp-acard p { font-size: 13.5px; color: #64748b; line-height: 1.6; margin: 0 0 18px; flex: 1; }
.vp-acard__meta { display: flex; align-items: center; justify-content: space-between; font-size: 12.5px; font-weight: 700; }
.vp-acard__meta .rt { color: #94a3b8; }
.vp-acard__meta .go { color: var(--vp-blue); display: inline-flex; align-items: center; gap: 6px; }

.vp-hub-content {
  background: #fff; border: 1px solid var(--vp-line); border-radius: 22px;
  padding: 44px 48px; margin-bottom: 44px;
}

/* ---------------- ARTICLE ---------------- */
.vp-article { background: #fff; }
.vp-article-hero {
  background: linear-gradient(135deg, #0a1628 0%, #0f3b34 130%); color: #fff; padding: 120px 0 54px;
}
.vp-article-hero .vp-hub-wrap { max-width: 900px; }
.vp-article-hero .vp-eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: #7dd3c8;
}
.vp-article-hero h1 { font-size: clamp(28px, 4vw, 44px); font-weight: 900; margin: 14px 0 16px; letter-spacing: -.02em; line-height: 1.15; }
.vp-article-chips { display: flex; flex-wrap: wrap; gap: 9px; }
.vp-article-chips span {
  display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 600;
  color: rgba(255,255,255,.92); background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14); border-radius: 999px; padding: 7px 14px;
}
.vp-article-chips i { color: #7dd3c8; }

.vp-article-layout {
  max-width: 1140px; margin: 0 auto; padding: 46px 16px 30px;
  display: grid; grid-template-columns: 240px 1fr; gap: 44px; align-items: start;
}
/* Safety net: if the TOC rail stays hidden (article has < 2 headings for it),
   the content must NOT collapse into the 240px column — give it full width. */
.vp-article-layout:has( > .vp-toc-side[hidden] ) { grid-template-columns: minmax(0, 900px); justify-content: center; }
.vp-toc-side {
  position: sticky; top: 100px; background: #f8fafc; border: 1px solid var(--vp-line);
  border-radius: 16px; padding: 20px 22px;
}
.vp-toc-side__title { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #94a3b8; margin-bottom: 12px; }
.vp-toc-side ul { list-style: none; margin: 0; padding: 0; }
.vp-toc-side li { margin: 0; }
.vp-toc-side a {
  display: block; padding: 7px 12px; font-size: 13.2px; color: #475569; text-decoration: none;
  border-left: 2px solid transparent; border-radius: 0 8px 8px 0; transition: all .18s; line-height: 1.4;
}
.vp-toc-side a:hover { color: var(--vp-blue); background: #eef7fb; }
.vp-toc-side a.is-active { color: var(--vp-blue); border-left-color: var(--vp-blue); background: #eef7fb; font-weight: 700; }

.vp-article-body { min-width: 0; font-size: 16px; line-height: 1.78; color: #334155; }
.vp-article-body h2 {
  font-size: 27px; font-weight: 800; color: var(--vp-ink); margin: 44px 0 16px; scroll-margin-top: 96px;
  padding-bottom: 12px; border-bottom: 2px solid #eef2f7;
}
.vp-article-body h3 { font-size: 20px; font-weight: 700; color: var(--vp-ink); margin: 30px 0 10px; }
.vp-article-body p { margin: 0 0 17px; }
.vp-article-body ul, .vp-article-body ol { margin: 0 0 18px; padding-left: 24px; }
.vp-article-body li { margin: 7px 0; }
.vp-article-body a { color: var(--vp-blue); font-weight: 600; text-decoration: none; }
.vp-article-body a:hover { text-decoration: underline; }
.vp-article-body strong { color: var(--vp-ink); }
.vp-article-body table { width: 100%; border-collapse: collapse; margin: 22px 0; font-size: 14px; border: 1px solid var(--vp-line); border-radius: 12px; overflow: hidden; }
.vp-article-body th { background: #f1f5f9; text-align: left; font-weight: 700; color: var(--vp-ink); }
.vp-article-body th, .vp-article-body td { padding: 11px 15px; border-bottom: 1px solid var(--vp-line); }
.vp-article-body blockquote { border-left: 4px solid var(--vp-blue); background: #f0f9ff; border-radius: 0 12px 12px 0; margin: 22px 0; padding: 14px 20px; color: #075985; }

/* Disclaimer / references / reviewer blocks */
.vp-block-disc {
  background: linear-gradient(180deg,#fffdf8,#fffaef); border: 1px solid #efe6d0; border-radius: 18px;
  padding: 22px 26px; margin: 34px 0 0; box-shadow: 0 12px 36px rgba(161,120,30,.06);
}
.vp-block-disc h3 { margin: 0 0 10px; font-size: 15px; font-weight: 800; letter-spacing: .02em; color: #b45309; display: flex; align-items: center; gap: 9px; }
.vp-block-disc p, .vp-block-disc li { color: #6b5e45; font-size: 14px; line-height: 1.72; margin: 0 0 8px; }
.vp-block-disc ul { margin: 8px 0 0; padding-left: 22px; }

.vp-block-refs {
  background: #fff; border: 1px solid var(--vp-line); border-radius: 18px; padding: 22px 28px 12px;
  margin: 30px 0 0; box-shadow: 0 12px 36px rgba(15,23,42,.05);
}
.vp-block-refs h3 { margin: 0 0 6px; font-size: 17px; font-weight: 800; color: var(--vp-ink); display: flex; align-items: center; gap: 9px; }
.vp-block-refs h3 i { color: var(--vp-blue); }
.vp-block-refs ol { list-style: none; counter-reset: vpref; margin: 0; padding: 0; }
.vp-block-refs ul { margin: 0; padding-left: 20px; }
.vp-block-refs ol > li {
  counter-increment: vpref; position: relative; padding: 15px 0 15px 48px;
  border-bottom: 1px solid #f4f6f8; font-size: 13.5px; color: #475569; line-height: 1.72; margin: 0;
}
.vp-block-refs ol > li:last-child { border-bottom: none; }
.vp-block-refs ol > li::before {
  content: counter(vpref); position: absolute; left: 0; top: 14px; width: 32px; height: 32px; border-radius: 10px;
  background: linear-gradient(135deg,#0f3b34,#1a8cba); color: #fff; font-size: 13px; font-weight: 800;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 10px rgba(26,140,186,.28);
}
.vp-block-refs a { color: var(--vp-blue); font-weight: 600; word-break: break-word; text-decoration: none; }
.vp-block-refs a:hover { text-decoration: underline; }
.vp-block-refs a[href^="http"]::after { content: "\2197"; font-size: 10px; margin-left: 3px; vertical-align: super; opacity: .8; }

.vp-reviewer {
  display: flex; align-items: center; gap: 16px; background: linear-gradient(135deg,#0f172a,#0f3b34);
  color: #fff; border-radius: 18px; padding: 22px 26px; margin: 34px 0 0;
}
.vp-reviewer__icon { width: 54px; height: 54px; flex: 0 0 54px; border-radius: 50%; background: rgba(125,211,200,.16); display: flex; align-items: center; justify-content: center; font-size: 26px; color: #7dd3c8; }
.vp-reviewer__label { font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #7dd3c8; }
.vp-reviewer h4 { margin: 4px 0 3px; font-size: 18px; font-weight: 800; }
.vp-reviewer .role { font-size: 13px; color: rgba(255,255,255,.75); margin: 0; }
.vp-reviewer .date { font-size: 12.5px; color: rgba(255,255,255,.6); margin: 6px 0 0; }

/* FAQ accordion */
.vp-faq { max-width: 1140px; margin: 0 auto; padding: 20px 16px 10px; }
.vp-faq h2 { font-size: 28px; font-weight: 800; color: var(--vp-ink); text-align: center; margin: 0 0 26px; }
.vp-faq__item { background: #fff; border: 1px solid var(--vp-line); border-radius: 14px; margin-bottom: 12px; overflow: hidden; }
.vp-faq__q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 18px 22px; font-size: 16px; font-weight: 700; color: var(--vp-ink);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.vp-faq__q i { color: var(--vp-blue); transition: transform .25s; flex: 0 0 auto; }
.vp-faq__item.open .vp-faq__q i { transform: rotate(180deg); }
.vp-faq__a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.vp-faq__a-inner { padding: 0 22px 20px; color: #475569; font-size: 15px; line-height: 1.7; }

/* Pager + related + CTA */
.vp-article-foot { max-width: 1140px; margin: 0 auto; padding: 20px 16px 60px; }
.vp-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 30px 0; }
.vp-pager a {
  border: 1px solid var(--vp-line); border-radius: 16px; padding: 18px 22px; text-decoration: none;
  background: #fff; transition: all .2s; display: flex; flex-direction: column; gap: 4px;
}
.vp-pager a:hover { border-color: var(--vp-blue); box-shadow: 0 10px 26px rgba(15,23,42,.08); }
.vp-pager .lbl { font-size: 12px; font-weight: 700; color: #94a3b8; letter-spacing: .04em; }
.vp-pager .ttl { font-size: 15px; font-weight: 700; color: var(--vp-ink); }
.vp-pager .next { text-align: right; }

.vp-related h2 { font-size: 24px; font-weight: 800; color: var(--vp-ink); margin: 40px 0 20px; }

.vp-cta-band {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  background: linear-gradient(135deg,#0a1628,#0f3b34); border-radius: 22px; padding: 34px 40px; margin-top: 44px;
}
.vp-cta-band h2 { color: #fff; font-size: 23px; font-weight: 800; margin: 0 0 6px; }
.vp-cta-band p { color: rgba(255,255,255,.75); font-size: 14.5px; margin: 0; }
.vp-cta-band__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.vp-cta-primary { background: #fff; color: var(--vp-ink); font-weight: 700; font-size: 14px; padding: 13px 26px; border-radius: 999px; text-decoration: none; transition: all .2s; }
.vp-cta-primary:hover { background: #7dd3c8; color: var(--vp-ink); }
.vp-cta-secondary { background: rgba(255,255,255,.1); color: #fff; font-weight: 700; font-size: 14px; padding: 13px 26px; border-radius: 999px; text-decoration: none; border: 1px solid rgba(255,255,255,.2); transition: all .2s; }
.vp-cta-secondary:hover { background: rgba(255,255,255,.2); color: #fff; }

/* Responsive */
@media (max-width: 980px) {
  .vp-article-layout { grid-template-columns: 1fr; }
  .vp-toc-side { position: static; }
  .vp-featured { grid-template-columns: 1fr; }
  .vp-featured__visual { min-height: 140px; font-size: 66px; }
  .vp-hub-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .vp-hub-grid { grid-template-columns: 1fr; }
  .vp-pager { grid-template-columns: 1fr; }
  .vp-hub-content, .vp-featured__body { padding: 26px 22px; }
  .vp-cta-band { padding: 26px 24px; }
}

/* ============================================================
   Universal rich-content lists + guide links (distinct identity)
   Re-instates markers killed by the global `ul{list-style:none}`,
   with a custom brand marker. Applied to every content body.
   ============================================================ */
/* Universal rich-content list markers moved to wp.css (loads on every page). */


/* ---------------- Guide links (converted 👉 Link markers) ---------------- */
.vp-guidelinks { display: grid; gap: 12px; margin: 22px 0 26px; }
.vp-guidelink {
  display: flex; align-items: center; gap: 14px;
  background: linear-gradient(135deg, #f7fbfd, #eef7fb);
  border: 1px solid #d7e9f2; border-left: 4px solid var(--vp-blue);
  border-radius: 14px; padding: 15px 20px; text-decoration: none;
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.vp-guidelink:hover { transform: translateX(4px); box-shadow: 0 10px 26px rgba(15,23,42,.08); border-left-color: var(--vp-teal); }
.vp-guidelink__ic { width: 40px; height: 40px; flex: 0 0 40px; border-radius: 11px; background: #fff; border: 1px solid #d7e9f2; display: flex; align-items: center; justify-content: center; color: var(--vp-blue); font-size: 18px; }
.vp-guidelink__tx { flex: 1; min-width: 0; }
.vp-guidelink__lbl { display: block; font-size: 11px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: #94a3b8; }
.vp-guidelink__ttl { display: block; font-size: 15.5px; font-weight: 700; color: var(--vp-ink); line-height: 1.3; }
.vp-guidelink__ar { color: var(--vp-blue); font-size: 18px; transition: transform .18s; }
.vp-guidelink:hover .vp-guidelink__ar { transform: translateX(3px); }

/* ============================================================
   Signature differentiation — distinct heading + section motifs
   (teal/navy identity, set apart from a flat-blue reference site)
   ============================================================ */

/* Branded H2: leading accent tick + short gradient underline, not a full rule */
.vp-article-body h2 {
  border-bottom: none;
  padding-bottom: 0;
  padding-left: 18px;
  position: relative;
}
.vp-article-body h2::before {
  content: "";
  position: absolute; left: 0; top: 6px; bottom: 6px;
  width: 5px; border-radius: 4px;
  background: linear-gradient(180deg, var(--vp-teal), var(--vp-blue));
}
.vp-article-body h2::after {
  content: "";
  display: block; margin-top: 12px;
  width: 54px; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, var(--vp-teal), var(--vp-blue));
}

/* (Lead-paragraph size removed — body copy is uniform.) */

/* Verified motif chip in article/hub hero */
.vp-hub-hero .vp-verified-motif,
.vp-article-hero .vp-verified-motif {
  position: absolute; right: 6%; top: 42%; width: 168px; height: 168px;
  border-radius: 50%; border: 1px dashed rgba(125,211,200,.35);
  display: flex; align-items: center; justify-content: center; pointer-events: none;
  animation: vpspin 40s linear infinite;
}
.vp-hub-hero .vp-verified-motif::before,
.vp-article-hero .vp-verified-motif::before {
  content: ""; position: absolute; inset: 26px; border-radius: 50%;
  border: 1px solid rgba(125,211,200,.22);
}
.vp-hub-hero .vp-verified-motif i,
.vp-article-hero .vp-verified-motif i { font-size: 46px; color: rgba(125,211,200,.5); }
@keyframes vpspin { to { transform: rotate(360deg); } }
@media (max-width: 900px) { .vp-hub-hero .vp-verified-motif, .vp-article-hero .vp-verified-motif { display: none; } }

/* Distinct scroll-progress bar at very top of articles */
.vp-readbar { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 9999; background: linear-gradient(90deg, var(--vp-teal), var(--vp-blue)); transition: width .1s ease; }
body.admin-bar .vp-readbar { top: 32px; }

/* Article hero given a thin accent baseline */
.vp-article-hero { border-bottom: 3px solid transparent; border-image: linear-gradient(90deg, var(--vp-teal), var(--vp-blue)) 1; }
