/* Single article page. Builds on the tokens and resets in blog.css. */

.vps { padding-bottom: 80px; }

.vps-progress { position: fixed; top: 0; inset-inline: 0; height: 3px; z-index: 99990; pointer-events: none; }
body.admin-bar .vps-progress { top: 32px; }
.vps-progress i { display: block; height: 100%; background: var(--vpb-c); transform: scaleX(0); transform-origin: right; }

/* Title */
.vps-head { position: relative; background: var(--vpb-c); color: #fff; padding: 34px 0 126px; overflow: hidden; }
.vps-crumbs { display: flex; flex-wrap: wrap; font-size: 14px; color: rgba(255,255,255,.85); margin-bottom: 20px; }
.vps-crumbs a:not(:last-child)::after { content: "/"; margin-inline: 8px; color: rgba(255,255,255,.55); }
.vpb .vps-crumbs a:hover { color: #fff; }
.vpb a.vps-pill { display: inline-block; margin-bottom: 12px; padding: 3px 14px; border-radius: 99px; background: rgba(255,255,255,.16); color: #fff; font-size: 14px; font-weight: 700; }
.vpb a.vps-pill:hover { background: rgba(255,255,255,.26); }
.vps .vps-head h1 { font-size: clamp(27px, 3.5vw, 42px); font-weight: 800 !important; line-height: 1.5; color: #fff !important; max-width: none; width: 100%; }
.vps .vps-meta { display: flex; flex-wrap: wrap; gap: 4px 20px; margin-top: 14px; color: rgba(255,255,255,.88); font-size: 15px; }

.vps .vps-views { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: #fff; }
.vps .vps-views b { font-weight: 800; }
.vps .vps-views svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Cover */
.vps-cover { position: relative; z-index: 2; margin: -86px 0 0; border-radius: 22px; overflow: hidden; background: var(--vpb-tint); aspect-ratio: 16 / 7.4; box-shadow: 0 20px 46px rgba(24,32,46,.14); }
.vps .vps-cover img { width: 100%; height: 100%; object-fit: cover; display: block; margin: 0; border-radius: 0; }

/* Page columns */
.vps-layout { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 72px; margin-top: 48px; align-items: start; }
.vps-nocover { margin-top: -60px; position: relative; z-index: 2; }
.vps-nocover .vps-main { background: #fff; border-radius: 22px; padding: 32px 36px 0; }
.vps-main { min-width: 0; }
.vps-side { position: sticky; top: 104px; max-height: calc(100vh - 124px); overflow-y: auto; scrollbar-width: thin; }
body.admin-bar .vps-side { top: 136px; }
.vps .vps-side-t { font-size: 15px; font-weight: 800; margin-bottom: 10px; }

/* Contents */
.vps ol { list-style: none; margin: 0; padding: 0; }
.vps-toc { border-inline-start: 2px solid var(--vpb-line); padding-inline-start: 16px; margin-bottom: 28px; }
.vps-toc li, .vps-toc-m li { margin: 0; }
.vpb .vps-toc a, .vpb .vps-toc-m a { display: block; padding: 6px 0; font-size: 14.5px; line-height: 1.6; color: var(--vpb-ink2); position: relative; }
.vps .vps-l3 a { padding-inline-start: 26px; font-size: 14px; }
.vps .vps-l3 a span { position: absolute; inset-inline-start: 0; color: var(--vpb-c); font-weight: 700; }
.vpb .vps-toc a:hover, .vpb .vps-toc-m a:hover { color: var(--vpb-c); }
.vpb .vps-toc a.is-on { color: var(--vpb-c); font-weight: 700; }
.vpb .vps-toc a.is-on::before { content: ""; position: absolute; inset-inline-start: -18px; top: 8px; bottom: 8px; width: 2px; background: var(--vpb-c); }
.vps-toc-m { display: none; background: var(--vpb-tint); border-radius: 14px; padding: 14px 18px; margin-bottom: 26px; }
.vps-toc-m summary { font-weight: 800; cursor: pointer; }
.vps-toc-m ol { margin-top: 8px; }

/* Reading column */
.vps-body { font-size: 18.5px; line-height: 2; color: #252e3d; overflow-wrap: anywhere; }
.vps .vps-body p { margin: 0 0 1.05em; }
.vps .vps-body .vps-lead { font-size: 21px; line-height: 1.95; color: var(--vpb-ink); font-weight: 500; }
.vpb .vps-body a { color: var(--vpb-c); text-decoration: underline; text-underline-offset: 3px; }
.vps .vps-body h2, .vps .vps-body h3, .vps .vps-body h4 { color: var(--vpb-ink); font-weight: 800 !important; scroll-margin-top: 110px; }
.vps .vps-body h2 { font-size: clamp(24px, 2.7vw, 30px); line-height: 1.55; margin: 1.8em 0 .7em; padding-bottom: 12px; position: relative; }
.vps .vps-body h2::after { content: ""; position: absolute; inset-inline-start: 0; bottom: 0; width: 52px; height: 4px; border-radius: 4px; background: var(--vpb-c); }
.vps .vps-body h3, .vps .vps-body h4 { font-size: 21px; line-height: 1.6; margin: 1.3em 0 .5em; }
.vps .vps-body h2:first-child { margin-top: 0; }
.vps-emo { margin-inline-end: 8px; font-weight: 400; }

/* Numbered tips read as one connected path */
.vps-step { position: relative; padding-inline-start: 62px; padding-bottom: 8px; }
.vps-step:has(+ .vps-step)::before { content: ""; position: absolute; inset-inline-start: 20px; top: 46px; bottom: -2px; width: 2px; background: color-mix(in srgb, var(--vpb-c) 22%, #fff); }
.vps .vps-body .vps-step-t { font-weight: 800 !important; margin: 0 0 8px; padding-top: 3px; font-size: 21.5px; line-height: 1.6; scroll-margin-top: 110px; }
.vps-num { position: absolute; inset-inline-start: 0; top: 0; width: 42px; height: 42px; border-radius: 50%; background: var(--vpb-c); color: #fff; display: grid; place-items: center; font-size: 18px; font-weight: 800; line-height: 1; }

.vps .vps-body ul, .vps .vps-body ol { margin: 0 0 1.1em; padding: 0; list-style: none; }
.vps .vps-body li { position: relative; padding-inline-start: 26px; margin-bottom: 8px; line-height: 1.85; }
.vps .vps-body ul > li::before { content: ""; position: absolute; inset-inline-start: 4px; top: .78em; width: 8px; height: 8px; border-radius: 50%; background: var(--vpb-c); }
.vps .vps-body ol { counter-reset: vps; }
.vps .vps-body ol > li { counter-increment: vps; }
.vps .vps-body ol > li::before { content: counter(vps) "."; position: absolute; inset-inline-start: 0; color: var(--vpb-c); font-weight: 800; }
.vps .vps-body img { max-width: 100%; height: auto; border-radius: 16px; display: block; margin: 1.4em auto; }
.vps .vps-body figure { margin: 1.4em 0; max-width: 100%; }
.vps .vps-body figcaption { font-size: 14px; color: var(--vpb-ink2); text-align: center; margin-top: 6px; }
.vps .vps-body blockquote { margin: 1.4em 0; padding: 4px 22px; border-inline-start: 4px solid var(--vpb-c); background: var(--vpb-tint); font-weight: 500; }
.vps .vps-body table { display: block; overflow-x: auto; width: 100%; border-collapse: collapse; font-size: 16px; margin: 1.4em 0; }
.vps .vps-body th, .vps .vps-body td { border: 1px solid var(--vpb-line); padding: 10px 14px; text-align: right; }
.vps .vps-body th { background: var(--vpb-tint); }
.vps .vps-body iframe, .vps .vps-body video { max-width: 100%; border-radius: 14px; }

/* Attached doctors, hospitals and services */
.vps-pros { margin: 34px 0; }
.vps .vps-pros .vps-pros-t { font-size: 22px; line-height: 1.5; font-weight: 800 !important; color: var(--vpb-ink); margin: 0 0 14px; padding: 0; }
.vps .vps-pros .vps-pros-t::after { display: none; }
.vps-pro { display: flex; align-items: center; gap: 16px; padding: 16px 18px; margin-bottom: 12px; background: #fff; border: 1px solid var(--vpb-line); border-radius: 18px; box-shadow: 0 8px 22px rgba(24,32,46,.05); }
.vps-pro:hover { border-color: color-mix(in srgb, var(--vpb-c) 45%, #fff); }
.vps-pro-pic { flex: none; width: 76px; height: 76px; border-radius: 50%; overflow: hidden; background: var(--vpb-tint); display: grid; place-items: center; }
.vps .vps-pros .vps-pro-pic img { width: 100%; height: 100%; object-fit: cover; margin: 0; border-radius: 0; display: block; }
.vps-pro-pic span { font-size: 30px; font-weight: 800; line-height: 1; color: var(--vpb-c); }
.vps-pro-txt { flex: 1; min-width: 0; }
.vps .vps-pros .vps-pro-type { margin: 0; color: var(--vpb-c); font-size: 13.5px; font-weight: 700; line-height: 1.6; }
.vps .vps-pros .vps-pro-name { margin: 0; font-size: 19px; font-weight: 800; line-height: 1.5; color: var(--vpb-ink); }
.vpb .vps-pros .vps-pro-name a { color: inherit; text-decoration: none; }
.vpb .vps-pros .vps-pro-name a:hover { color: var(--vpb-c); }
.vps .vps-pros .vps-pro-sub { margin: 1px 0 0; color: var(--vpb-ink2); font-size: 15px; line-height: 1.6; }
.vps-pro-acts { flex: none; display: flex; gap: 8px; align-items: center; }
.vpb .vps-pros .vps-pro-go { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; padding: 5px 18px; border-radius: 12px; font-size: 15px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.vpb .vps-pros .vps-pro-go { background: var(--vpb-c); color: #fff; }
.vpb .vps-pros .vps-pro-go:hover { background: var(--vpb-deep); }

/* After the article */
.vps-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 34px; }
.vpb .vps-tags a { padding: 5px 14px; border-radius: 99px; background: var(--vpb-tint); color: var(--vpb-deep); font-size: 14px; }
.vpb .vps-tags a:hover { background: color-mix(in srgb, var(--vpb-c) 16%, #fff); }
.vps-share-row { display: flex; flex-wrap: wrap; gap: 8px; }
.vpb .vps-share-row a, .vps .vps-copy { min-height: 40px; display: inline-flex; align-items: center; padding: 4px 15px; border: 1px solid var(--vpb-line); border-radius: 10px; background: #fff; color: var(--vpb-ink); font-size: 14.5px; font-weight: 500; cursor: pointer; line-height: 1.4; }
.vpb .vps-share-row a:hover, .vps .vps-copy:hover { border-color: var(--vpb-c); color: var(--vpb-c); background: #fff; }
.vps-share-end { display: none; margin-top: 26px; }
.vps .vps-note { margin-top: 30px; padding: 14px 18px; border-radius: 12px; background: #f5f7fa; color: var(--vpb-ink2); font-size: 14.5px; line-height: 1.8; }
.vps-cta { display: flex; align-items: center; justify-content: space-between; gap: 18px 28px; flex-wrap: wrap; margin-top: 18px; padding: 26px 30px; border-radius: 18px; background: var(--vpb-c); color: #fff; }
.vps .vps-cta-t { font-size: 22px; font-weight: 800; line-height: 1.5; }
.vps .vps-cta-s { color: rgba(255,255,255,.88); font-size: 15.5px; }
.vpb .vps-cta a { flex: none; min-height: 50px; display: inline-flex; align-items: center; padding: 6px 30px; border-radius: 13px; background: #fff; color: var(--vpb-deep); font-weight: 800; }
.vps-pager { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 30px; }
.vpb .vps-pager a { display: block; padding: 16px 20px; border: 1px solid var(--vpb-line); border-radius: 14px; }
.vpb .vps-pager a:hover { border-color: var(--vpb-c); }
.vps-pager-old:only-child { grid-column: 2; }
.vps-pager small { display: block; color: var(--vpb-ink2); font-size: 13.5px; }
.vps-pager b { font-size: 16px; line-height: 1.6; font-weight: 700; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vps-related { margin-top: 64px; padding-top: 36px; border-top: 1px solid var(--vpb-line); }
.vps .vps-related h2 { font-size: 26px; font-weight: 800; margin-bottom: 22px; color: var(--vpb-ink); }

/* The theme's own comment form, tidied up */
.vps-comments { max-width: 780px; margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--vpb-line); font-size: 16px; }
.vps .vps-comments h2, .vps .vps-comments h3 { font-size: 22px; font-weight: 800; margin-bottom: 12px; color: var(--vpb-ink); }
.vps .vps-comments p { margin-bottom: 12px; }
.vps .vps-comments label { display: block; margin-bottom: 4px; font-weight: 500; }
.vps .vps-comments input[type=text], .vps .vps-comments input[type=email], .vps .vps-comments input[type=url], .vps .vps-comments textarea { width: 100%; max-width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid #cfd5de; border-radius: 11px; background: #fff; color: var(--vpb-ink); box-shadow: none; }
.vps .vps-comments input:focus, .vps .vps-comments textarea:focus { outline: 2px solid color-mix(in srgb, var(--vpb-c) 45%, #fff); border-color: var(--vpb-c); }
.vps .vps-comments input[type=submit] { min-height: 50px; padding: 6px 34px; border: 0; border-radius: 12px; background: var(--vpb-c); color: #fff; font-weight: 700; cursor: pointer; }
.vps .vps-comments .comment-form-cookies-consent { display: flex; gap: 8px; align-items: flex-start; }
.vpb .vps-comments a { color: var(--vpb-c); }

@media (max-width: 1040px) {
  .vps-layout { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .vps-side { display: none; }
  .vps-toc-m, .vps-share-end { display: block; }
  .vps-main { max-width: 760px; margin-inline: auto; width: 100%; }
}

@media (max-width: 640px) {
  .vps-head { padding: 22px 0 84px; }
  .vps-crumbs { font-size: 13px; margin-bottom: 12px; }
  .vps .vps-meta { font-size: 14px; }
  .vps-cover { margin-top: -62px; border-radius: 16px; aspect-ratio: 16 / 10; }
  .vps-layout { margin-top: 28px; }
  .vps-nocover .vps-main { padding: 22px 18px 0; border-radius: 16px; }
  .vps-body { font-size: 17.5px; line-height: 1.95; }
  .vps .vps-body .vps-lead { font-size: 19px; }
  .vps-step { padding-inline-start: 50px; }
  .vps-num { width: 36px; height: 36px; font-size: 16px; }
  .vps-step:has(+ .vps-step)::before { inset-inline-start: 17px; top: 40px; }
  .vps .vps-body .vps-step-t { font-size: 19.5px; padding-top: 1px; }
  .vps-pro { flex-wrap: wrap; padding: 14px; border-radius: 15px; }
  .vps-pro-pic { width: 62px; height: 62px; }
  .vps-pro-txt { flex-basis: calc(100% - 78px); }
  .vps-pro-acts { flex-basis: 100%; }
  .vpb .vps-pros .vps-pro-go { flex: 1; }
  .vps .vps-pros .vps-pro-name { font-size: 17.5px; }
  .vps-cta { padding: 22px 20px; }
  .vpb .vps-cta a { width: 100%; justify-content: center; }
  .vps-pager { grid-template-columns: minmax(0, 1fr); }
  .vps-pager-old:only-child { grid-column: 1; }
}
