/* Image blocks for insurance-products, compare-plans and doctor-professional-indemnity */
.vx-hero{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:clamp(24px,5vw,64px);align-items:center}
.vx-hero__text{min-width:0}
.vx-hero__img{margin:0;position:relative;border-radius:28px;overflow:hidden;background:#fff;box-shadow:0 34px 60px -30px rgba(0,0,0,.6);aspect-ratio:4/3;display:grid;place-items:center}
.vx-hero__img img{display:block;width:100%;height:100%;object-fit:contain;padding:8px}
.vx-hero__img--tint{background:linear-gradient(160deg,#fff5ee,#ffe8da)}
.vx-hero__img--tint img{mix-blend-mode:multiply}
.vx-hero__img--cover img{object-fit:cover;padding:0}

/* card thumbnails */
.vx-card{overflow:hidden}
.vx-card .icon{display:none}
.vx-thumb{display:grid;place-items:center;height:158px;margin:0 0 18px;border-radius:16px;overflow:hidden;background:linear-gradient(160deg,#fff8f4,#ffeee3)}
.vx-thumb img{display:block;width:100%;height:100%;object-fit:contain;padding:6px;mix-blend-mode:multiply}
.vx-thumb--cover img{object-fit:cover;padding:0;mix-blend-mode:normal}
.vx-thumb--pink{background:#fde7ee}
.vx-thumb--svg img{mix-blend-mode:normal;padding:0;object-fit:cover}

/* side illustration blocks */
.vx-side{display:block;width:100%;max-width:300px;height:auto;margin:22px 0 0;border-radius:22px;mix-blend-mode:multiply}
.vx-split{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);gap:clamp(24px,5vw,60px);align-items:center}
.vx-split>*{min-width:0}
.vx-figure{margin:0;border-radius:26px;overflow:hidden;background:#fff;border:1px solid #ffe2d2;box-shadow:0 26px 50px -32px rgba(46,48,56,.45)}
.vx-figure img{display:block;width:100%;height:auto}
.vx-figure--tint{background:linear-gradient(160deg,#fff8f4,#ffeee3)}
.vx-figure--tint img{mix-blend-mode:multiply}
.vx-avatar{width:86px;height:86px;border-radius:50%;object-fit:cover;object-position:50% 12%;border:4px solid #fff;box-shadow:0 12px 26px -12px rgba(46,48,56,.55);background:#fff1e8;margin:0 0 14px;display:block}

@media (max-width:900px){
  .vx-hero,.vx-split{grid-template-columns:minmax(0,1fr)}
  .vx-hero__img{aspect-ratio:16/10;max-width:520px}
  .vx-figure{max-width:420px}
}

/* win over the generic image rules in premium-system.css */
body .vx-thumb img{width:100%!important;height:100%!important;max-width:none!important;object-fit:contain!important;padding:6px!important;border-radius:0!important;box-shadow:none!important;transform:none!important}
body .vx-thumb--cover img,body .vx-thumb--svg img{object-fit:cover!important;padding:0!important}
body .vx-hero__img img{width:100%!important;height:100%!important;max-width:none!important;object-fit:contain!important;border-radius:0!important;box-shadow:none!important}
body .vx-hero__img--cover img{object-fit:cover!important;padding:0!important}
body .vx-figure img{width:100%!important;height:auto!important;max-width:none!important;border-radius:0!important;box-shadow:none!important}
body img.vx-side{max-width:300px!important;height:auto!important}
body img.vx-avatar{width:86px!important;height:86px!important;object-fit:cover!important}

/* pin images inside their frames so the frame height always wins */
.vx-thumb,.vx-hero__img{position:relative}
body .vx-thumb img,body .vx-hero__img img{position:absolute!important;inset:0!important;aspect-ratio:auto!important}

/* form cards keep their natural height (no empty white space at the bottom) */
.section.soft .grid-2>.form-card{align-self:start}

/* ---------- doctor presenters (about / knowledge / support / contact) ---------- */
.vx-doc{position:relative;margin:0;border-radius:28px;overflow:hidden;background:linear-gradient(160deg,#ffffff 0%,#fff2e9 100%);box-shadow:0 34px 60px -30px rgba(0,0,0,.6);display:grid;place-items:center;aspect-ratio:1/1;max-width:440px;width:100%;justify-self:end}
.vx-doc img{display:block;width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply}
.vx-doc--wide{aspect-ratio:4/3;max-width:520px}
.vx-doc--pair img{object-fit:contain;padding:10px}
.vx-doc__tag{position:absolute;left:14px;bottom:14px;background:#0e0f12;color:#fff;font-weight:700;font-size:13px;padding:7px 14px;border-radius:999px;box-shadow:0 10px 20px -10px rgba(0,0,0,.6)}
.vx-aboutdoc{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:32px;align-items:center}
.vx-aboutdoc .vx-doc{max-width:260px}

/* about hero */
.about-hero__media.vx-aboutmedia{background:linear-gradient(160deg,#ffffff,#ffefe4);border:0;display:grid;place-items:center;min-height:340px}
.about-hero__media.vx-aboutmedia img{object-fit:contain!important;mix-blend-mode:multiply;padding:12px;min-height:0!important;max-height:420px}

/* support centre */
.dc-hero-art.vx-supportart,.dc-illustration-card .vx-supportart{background:linear-gradient(160deg,#ffffff,#ffefe4);border-radius:28px;display:grid;place-items:center;overflow:hidden}
.vx-supportart img{width:100%!important;max-width:340px!important;height:auto!important;mix-blend-mode:multiply;object-fit:contain}

/* contact hero doctor */
.cn-contact-doc{position:absolute;right:48px;top:50%;transform:translateY(-50%);width:300px;border-radius:28px;overflow:hidden;background:linear-gradient(160deg,#fff,#fff2e9);box-shadow:0 30px 60px -28px rgba(0,0,0,.55);pointer-events:none}
.cn-contact-doc img{display:block;width:100%;height:auto;mix-blend-mode:multiply}
@media (max-width:1100px){.cn-contact-doc{display:none}}
h1 span.primary{background:none!important;padding:0!important;box-shadow:none!important;border:0!important;color:#db8140!important;border-radius:0!important}
h1 span.secondary{background:none!important;padding:0!important;color:#0e0f12!important}
@media (max-width:900px){.vx-aboutdoc{grid-template-columns:minmax(0,1fr)}.vx-doc,.vx-aboutdoc .vx-doc{justify-self:center}}

/* make sure global page rules cannot resize the presenter cards */
body .cn-contact-doc{position:absolute!important;right:48px!important;top:50%!important;transform:translateY(-50%)!important;width:300px!important;max-width:300px!important;height:auto!important;z-index:1}
body .cn-contact-doc img{width:100%!important;height:auto!important;max-width:none!important}
body .vx-supportart,body .dc-hero-art.vx-supportart{background:#fff!important}
.about-section__heading.vx-aboutdoc{max-width:none!important;width:100%}

/* highest-specificity guards against the legacy page rules in premium-system.css */
html body.premium-legacy-page > section:first-of-type > div.cn-contact-doc,
html body .cn-contact-doc{width:300px!important;min-width:0!important;max-width:300px!important;margin:0!important;padding:0!important;position:absolute!important}
html body.premium-site .dc-hero-art.vx-supportart,
html body .dc-hero-art.vx-supportart,
html body .vx-supportart{background:#fff!important;background-image:none!important;border:0!important}

/* contact hero: smaller card, readable title on the dark banner */
html body .cn-contact-doc{width:230px!important;max-width:230px!important;right:32px!important}
@media (max-width:1280px){html body .cn-contact-doc{display:none!important}}
h1 span.secondary{color:#ffffff!important}
/* support hero art: plain white card, no inner rectangle */
html body .dc-hero-art.vx-supportart{padding:0!important;box-shadow:0 34px 60px -30px rgba(0,0,0,.6)!important;overflow:hidden}
html body .dc-hero-art.vx-supportart::before,html body .dc-hero-art.vx-supportart::after{display:none!important;content:none!important}
html body .vx-supportart img{background:#fff;mix-blend-mode:normal!important}

/* remove the inherited drop-shadow that drew a box around the support art */
html body .vx-supportart img{filter:none!important;box-shadow:none!important;border-radius:0!important}
html body .cn-contact-doc{width:190px!important;max-width:190px!important;right:24px!important}
html body.premium-legacy-page > section:first-of-type > div.cn-contact-doc{width:190px!important;max-width:190px!important;right:24px!important}
