/* ==========================================================================
   KELOSCAR — brand layer for the Elementor build · CodeDesign
   Colours, type, spacing and layout are set natively in Elementor (Site Settings
   globals + widget/container controls). This file only adds what Elementor has no
   control for: decorative layers, the hero composition, hover/active states,
   the mobile menu, carousels, motion states and the market gateway.
   Values follow the approved Homepage v1 (css/styles.css).
   ========================================================================== */

body {
	/* Brand tokens resolve to the Elementor Kit globals, so editing a colour in
	   Site Settings also updates these layers. Fallbacks = brand manual values. */
	--ks-navy: var(--e-global-color-primary, #0C2044);
	--ks-blue: var(--e-global-color-secondary, #3862A7);
	--ks-text: var(--e-global-color-text, #2B3A55);
	--ks-gold: var(--e-global-color-accent, #A08750);
	--ks-ice: var(--e-global-color-ks_ice, #D5E2EF);
	--ks-tint: var(--e-global-color-ks_tint, #EEF4FA);
	--ks-muted: var(--e-global-color-ks_muted, #5A6A85);
	--ks-hover: var(--e-global-color-ks_hover, #2C5090);
	--ks-danger: var(--e-global-color-ks_danger, #A63838);
	--ks-success: var(--e-global-color-ks_success, #2E6B4F);
	--ks-white-70: rgba(255, 255, 255, .7);
	--ks-white-40: rgba(255, 255, 255, .4);
	--ks-white-16: rgba(255, 255, 255, .16);
	--ks-white-08: rgba(255, 255, 255, .08);
	--ks-navy-90: rgba(12, 32, 68, .9);
	--ks-navy-30: rgba(12, 32, 68, .3);
	--ks-navy-12: rgba(12, 32, 68, .12);
	--ks-gold-60: rgba(160, 135, 80, .6);
	--ks-shadow-lg: 0 12px 32px rgba(12, 32, 68, .16);
	--ks-shadow-xl: 0 32px 80px -24px rgba(12, 32, 68, .45);
	--ks-ease: cubic-bezier(.2, .8, .2, 1);
	--ks-header-h: 108px; /* utility bar 36 + main row 72 */
	--ks-gutter: 48px;

	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
@media (max-width: 1024px) { body { --ks-gutter: 32px; } }
@media (max-width: 767px) { body { --ks-gutter: 24px; } }

html { scroll-behavior: smooth; scroll-padding-top: var(--ks-header-h, 108px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Decorative pseudo-elements on Elementor containers: Elementor uses ::before for
   background overlays, so ours use ::after with every inherited property reset. */
.ks-hero::after, .ks-mda::after, .ks-header::after, .ks-steps-list::after,
.ks-video::after, .ks-product-sticky::after {
	content: ""; position: absolute; pointer-events: none; display: block;
	opacity: 1; mix-blend-mode: normal; border: 0; border-radius: 0; transition: none;
}

/* Focus */
:focus-visible { outline: 2px solid var(--ks-blue); outline-offset: 3px; border-radius: 3px; }
.ks-header :focus-visible, .ks-hero :focus-visible, .ks-mda :focus-visible, .ks-steps :focus-visible,
.ks-global :focus-visible, .ks-footer :focus-visible, .ks-gateway :focus-visible { outline-color: var(--ks-ice); }
.skip-link.screen-reader-text:focus { z-index: 100000; }

/* Text widgets: no trailing paragraph margin (spacing comes from the containers) */
.elementor-widget-text-editor p:last-child, .elementor-widget-text-editor blockquote:last-child { margin-block-end: 0; }
.ks-measure, .ks-measure p { max-width: 62ch; }

/* Visually hidden label (icon-only buttons keep their text for screen readers) */
.ks-burger .elementor-button-text, .ks-reviews-btn .elementor-button-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Pages other than the home start below the fixed header */
.ks-header-offset #content { padding-top: var(--ks-header-h); }

/* --------------------------------------------------------------------------
   Buttons (colours/typography/padding are native; size + motion here)
   -------------------------------------------------------------------------- */
.ks-btn .elementor-button {
	display: inline-flex; align-items: center; min-height: 48px; line-height: 1; white-space: nowrap;
	transition: background-color .2s var(--ks-ease), color .2s var(--ks-ease), border-color .2s var(--ks-ease), transform .2s var(--ks-ease);
}
.ks-btn--lg .elementor-button { min-height: 56px; }
.ks-btn--sm .elementor-button { min-height: 40px; }
.ks-btn--text .elementor-button, .ks-btn--text-light .elementor-button, .ks-btn--link-navy .elementor-button { min-height: 0; }
.ks-btn .elementor-button:active { transform: translateY(1px) scale(.985); }
.ks-btn--text .elementor-button:active, .ks-btn--link-navy .elementor-button:active { transform: none; }
.ks-btn .elementor-button-content-wrapper { align-items: center; }
.ks-btn .elementor-button-icon { display: inline-flex; transition: transform .2s var(--ks-ease); }
.ks-btn .elementor-button-icon svg { width: 1.125em; height: 1.125em; }
.ks-btn .elementor-button:hover .elementor-button-icon { transform: translateX(3px); }

/* --------------------------------------------------------------------------
   Header (template "KELOSCAR — Header")
   -------------------------------------------------------------------------- */
.elementor .e-con.ks-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; transition: box-shadow .4s var(--ks-ease); }
.admin-bar .elementor .e-con.ks-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .elementor .e-con.ks-header { top: 46px; } }
.ks-header::after {
	inset: 0; z-index: -1; background: var(--ks-navy-90);
	-webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
	opacity: 0; transition: opacity .4s var(--ks-ease);
}
.ks-header.is-scrolled::after, .ks-header.is-open::after { opacity: 1; }
/* Only the home has a navy hero under the header; every other page gets the solid bar from the start */
.ks-header-offset .ks-header::after { opacity: 1; }
.ks-header.is-scrolled { box-shadow: 0 1px 0 var(--ks-white-08); }
.ks-brand img { display: block; height: auto; }
.ks-market-btn .elementor-button-icon svg { width: 16px; height: 16px; }
.ks-market-btn--panel .elementor-button-icon { display: none; }

/* Primary menu (WordPress Menu widget) */
.ks-menu nav, .ks-menu .menu { margin: 0; }
.ks-menu ul.menu { display: flex; gap: clamp(1rem, .5rem + 1.5vw, 2.25rem); list-style: none; padding: 0; }
.ks-menu .menu a {
	position: relative; display: inline-block; padding: 6px 0;
	font-weight: 700; font-size: .9375rem; line-height: 1.4; color: #fff; text-decoration: none;
}
.ks-menu .menu a::after {
	content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px;
	background: var(--ks-gold); transition: right .4s var(--ks-ease);
}
.ks-menu .menu a:hover::after, .ks-menu .menu a:focus-visible::after { right: 0; }

.ks-burger .elementor-button { min-width: 44px; min-height: 44px; justify-content: center; }
.ks-burger .elementor-button-icon svg { width: 26px; height: 26px; }
.ks-burger .elementor-button:hover .elementor-button-icon { transform: none; }

@media (max-width: 1024px) {
	.elementor .e-con.ks-nav {
		position: fixed; top: var(--ks-header-h); left: 0; right: 0; bottom: 0; z-index: 49;
		background: var(--ks-navy); padding: 48px var(--ks-gutter); overflow: auto;
		transform: translateX(100%); visibility: hidden;
		transition: transform .4s var(--ks-ease), visibility 0s linear .4s;
	}
	.admin-bar .elementor .e-con.ks-nav { top: calc(var(--ks-header-h) + 32px); }
	.elementor .e-con.ks-nav.is-open { transform: none; visibility: visible; transition: transform .4s var(--ks-ease), visibility 0s; }
	.ks-menu ul.menu { flex-direction: column; gap: 16px; }
	.ks-menu .menu a { font-size: 1.75rem; font-weight: 900; }
	.ks-nav-extra { padding-top: 32px; border-top: 1px solid var(--ks-white-16); }
}
@media (max-width: 782px) { .admin-bar .elementor .e-con.ks-nav { top: calc(var(--ks-header-h) + 46px); } }

/* --------------------------------------------------------------------------
   1. Hero
   -------------------------------------------------------------------------- */
.elementor .e-con.ks-hero { position: relative; z-index: 0; }
.ks-hero > .e-con-inner { position: static; }
.ks-hero::after {
	inset: 0; z-index: -1;
	background:
		radial-gradient(60% 50% at 70% 40%, rgba(56, 98, 167, .35), transparent 70%),
		radial-gradient(40% 40% at 20% 90%, rgba(213, 226, 239, .10), transparent 70%);
	transform: translateY(var(--ks-glow-shift, 0px));
}
.ks-hero-title .ks-line { display: block; }
.ks-hero-title .ks-light { font-weight: 300; }
.ks-hero-lead p { max-width: 46ch; }
.ks-hero-marks { width: 100%; padding-top: 24px; border-top: 1px solid var(--ks-white-16); }
.ks-hero-marks .elementor-icon-list-items, .ks-marks .elementor-icon-list-items,
.ks-store-chips .elementor-icon-list-items, .ks-journey .elementor-icon-list-items, .ks-social .elementor-icon-list-items {
	display: flex; flex-wrap: wrap; margin: 0 !important; padding: 0;
}
.ks-hero-marks .elementor-icon-list-items { gap: 8px 24px; }
.ks-hero-marks .elementor-icon-list-item, .ks-marks .elementor-icon-list-item, .ks-store-chips .elementor-icon-list-item,
.ks-journey .elementor-icon-list-item, .ks-social .elementor-icon-list-item, .ks-marquee .elementor-icon-list-item {
	margin: 0 !important; padding: 0;
}

/* Stage: 600 x 640 composition sized with container units (v1) */
.elementor .e-con.ks-stage {
	display: block; position: relative; container-type: inline-size;
	width: min(100%, 620px); max-width: 620px; aspect-ratio: 600 / 640; margin-left: auto;
}
.ks-stage > .elementor-element { position: absolute; margin: 0; }
.ks-stage-skin {
	left: 0; top: 6%; width: 62cqw; aspect-ratio: 4 / 3; overflow: hidden;
	border-radius: 14cqw 3cqw 3cqw 3cqw; transform: rotate(-2deg); box-shadow: var(--ks-shadow-xl);
}
.ks-stage-skin img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; filter: saturate(.9); }
.ks-stage-film, .ks-stage-links { inset: 0; width: 100%; height: 100%; pointer-events: none; }
.ks-stage-film svg, .ks-stage-links svg { display: block; width: 100%; height: 100%; }
.ks-stage-tube { right: 2%; top: 4%; width: 56cqw; transform: rotate(6deg); filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .45)); }
.ks-stage-tube img, .ks-stage-phone img { display: block; width: 100%; height: auto; }
.ks-stage-phone { left: 6%; bottom: 0; width: 34cqw; filter: drop-shadow(0 24px 30px rgba(4, 12, 28, .5)); }
.elementor .e-con.ks-stage-hcp {
	right: 0; top: 52%; width: 44cqw; display: flex; flex-direction: row; align-items: center; gap: 2.4cqw;
	padding: 2.2cqw 2.6cqw; background: #fff; border-radius: 2cqw; box-shadow: var(--ks-shadow-xl);
}
.ks-stage-hcp-img { flex: none; width: 9cqw; }
.ks-stage-hcp-img img { display: block; width: 9cqw; height: 9cqw; border-radius: 50%; object-fit: cover; object-position: 50% 25%; }
.ks-stage-hcp-title .elementor-heading-title { font-size: 2.6cqw; line-height: 1.2; font-weight: 700; }
.ks-stage-hcp-text, .ks-stage-hcp-text p { font-size: 2.2cqw; line-height: 1.3; font-weight: 300; margin: 0; }
.ks-film-line, .ks-film-glow { stroke-dasharray: 1100; stroke-dashoffset: 0; }
.ks-link { fill: none; stroke: var(--ks-gold); stroke-width: 1.2; stroke-dasharray: 120; stroke-dashoffset: 0; opacity: .9; }
.ks-md { fill: var(--ks-navy); stroke: var(--ks-gold); stroke-width: 1.5; transform-origin: 300px 330px; }
.ks-md-text { fill: #fff; font: 700 14px Lato, sans-serif; letter-spacing: .06em; }

.ks-hero-scroll { position: absolute !important; left: 50%; bottom: 28px; transform: translateX(-50%); width: 24px; margin: 0; }
.ks-scroll { position: relative; display: block; width: 24px; height: 40px; border: 1px solid var(--ks-white-40); border-radius: 12px; }
.ks-scroll span {
	position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px;
	border-radius: 2px; background: #fff; animation: ksScrollHint 1.8s var(--ks-ease) infinite;
}
@keyframes ksScrollHint { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { transform: translateY(0); opacity: 0; } }

@media (max-width: 1024px) {
	.elementor .e-con.ks-stage { margin-left: 0; width: min(100%, 560px); }
	.ks-hero-lead p { max-width: 56ch; }
}
@media (max-width: 640px) {
	.ks-hero-cta { width: 100%; }
	.ks-hero-cta > .elementor-widget-button { flex: 1 1 100%; }
	.ks-hero-cta .elementor-button { width: 100%; justify-content: center; }
}

/* --------------------------------------------------------------------------
   2. Audience paths
   -------------------------------------------------------------------------- */
.ks-paths-list > .ks-path { padding: 24px 48px 24px 32px; border-left: 1px solid var(--ks-navy-12); }
.ks-paths-list > .ks-path:first-child { padding-left: 0; border-left: 0; }
.ks-path-link .elementor-button { white-space: normal; text-align: left; }
.ks-path-link .elementor-button-icon { color: var(--ks-blue); }
.ks-path-link .elementor-button:hover .elementor-button-icon { transform: translateX(4px); }
.ks-path-desc p { max-width: 40ch; }
@media (max-width: 900px) {
	.ks-paths-list > .ks-path { padding: 24px 0; border-left: 0; border-top: 1px solid var(--ks-navy-12); }
	.ks-paths-list > .ks-path:first-child { padding-top: 0; border-top: 0; }
}

/* --------------------------------------------------------------------------
   3. Product
   -------------------------------------------------------------------------- */
.ks-claim { padding: clamp(2rem, 1.5rem + 2vw, 3.5rem) 0; border-top: 1px solid var(--ks-navy-12); }
.ks-claim:last-child { border-bottom: 1px solid var(--ks-navy-12); }
.ks-claim-num { flex: none; padding-top: 6px; }
.ks-claim-icon .elementor-icon { display: block; line-height: 0; }
.ks-claim-icon, .ks-claim .elementor-heading-title { transition: opacity .4s var(--ks-ease), color .4s var(--ks-ease); }
.ks-claim-text p { max-width: 48ch; }
/* Scroll focus on desktop: the inactive claims recede (icon fades, title turns muted).
   Text keeps at least 4.5:1 contrast, unlike v1's 45 % opacity. */
@media (min-width: 1025px) {
	html.ks-motion .ks-claims .ks-claim:not(.is-active) .ks-claim-icon { opacity: .35; }
	html.ks-motion .ks-claims .ks-claim:not(.is-active) .elementor-widget-heading h3.elementor-heading-title { color: var(--ks-muted); }
}

.elementor .e-con.ks-product-sticky { position: sticky; top: calc(var(--ks-header-h) + 32px); }
.admin-bar .elementor .e-con.ks-product-sticky { top: calc(var(--ks-header-h) + 64px); }
.ks-product-sticky::after {
	left: 6%; top: 8%; width: 88%; aspect-ratio: 1; border-radius: 50%; z-index: 0;
	background: radial-gradient(closest-side, var(--ks-ice), rgba(213, 226, 239, .5) 60%, transparent);
	filter: blur(20px);
}
.ks-product-sticky > .elementor-element { position: relative; z-index: 1; }
.ks-format-img img { display: block; width: 100%; aspect-ratio: 1; object-fit: contain; filter: drop-shadow(0 40px 50px rgba(12, 32, 68, .25)); }
.ks-format-tabs .e-n-tabs { gap: 24px; }
.ks-format-tabs .e-n-tabs-heading {
	display: inline-flex; flex-wrap: nowrap; justify-content: flex-start; gap: 0; width: max-content;
	padding: 4px; border: 1px solid var(--ks-navy-12); border-radius: 999px; background: #fff;
}
.ks-format-tabs .e-n-tabs-heading .e-n-tab-title {
	min-width: 64px; min-height: 0; margin: 0; padding: 8px 16px; border: 0; justify-content: center;
	transition: background-color .2s, color .2s;
}
.ks-format-tabs .e-n-tabs-content > .e-con.e-active { animation: ksFormatIn .4s var(--ks-ease); }
@keyframes ksFormatIn { from { opacity: 0; transform: scale(.96) translateY(10px); } }
.elementor .ks-product-note { position: absolute; right: 0; bottom: 0; min-height: 47px; display: flex; align-items: center; margin: 0; }
@media (max-width: 1024px) {
	.elementor .e-con.ks-product-sticky { position: relative; top: auto; max-width: 560px; margin: 0 auto; }
}
@media (max-width: 480px) {
	.elementor .ks-product-note { position: static; min-height: 0; margin-top: 16px; }
}
.ks-marks { width: 100%; padding-top: 48px; border-top: 1px solid var(--ks-navy-12); }
.ks-marks .elementor-icon-list-items { gap: 12px; }
.ks-marks .elementor-icon-list-item { padding: 10px 14px; border: 1px solid var(--ks-navy-30); border-radius: 999px; }
/* Home trust marks (review of 9 Oct 2026): icon + label instead of pills */
.ks-marks.ks-marks--icons .elementor-icon-list-items { gap: 24px 56px; }
.ks-marks.ks-marks--icons .elementor-icon-list-item { padding: 0; border: 0; border-radius: 0; align-items: center; }
.ks-marks--icons .elementor-icon-list-icon, .ks-hero-marks .elementor-icon-list-icon { display: inline-flex; line-height: 0; }
.ks-product-lead strong { font-weight: 700; color: var(--ks-navy); }

/* --------------------------------------------------------------------------
   4. MyDermAssist
   -------------------------------------------------------------------------- */
.elementor .e-con.ks-mda { position: relative; z-index: 0; }
.ks-mda > .e-con-inner { position: static; }
.ks-mda::after {
	left: -10%; top: 20%; width: 70%; height: 60%; z-index: -1;
	background: linear-gradient(100deg, transparent 20%, rgba(56, 98, 167, .55) 45%, rgba(213, 226, 239, .35) 60%, transparent 80%);
	filter: blur(70px); transform: rotate(-12deg);
}
.ks-mda-phone img { display: block; width: 100%; height: auto; filter: drop-shadow(0 32px 40px rgba(4, 12, 28, .45)); }
.ks-feature { padding: 24px 0; border-top: 1px solid var(--ks-white-16); }
.ks-feature .elementor-icon-box-icon, .ks-market .elementor-icon-box-icon { line-height: 0; margin-top: 2px; }
.ks-feature .elementor-icon-box-title, .ks-market .elementor-icon-box-title { margin: 0 0 4px; }
.ks-feature .elementor-icon-box-description, .ks-market .elementor-icon-box-description { margin: 0; }
.ks-qr img { display: block; border-radius: 6px; }
.ks-store-chips .elementor-icon-list-items { gap: 16px; }
.ks-store-chips .elementor-icon-list-item { padding: 8px 12px; border: 1px solid var(--ks-white-16); border-radius: 6px; }
/* App store badges (MyDermAssist page; in the hero since 15 Oct 2026, because the pack's QR code opens the page on phones) */
.ks-store-badges { display: flex; flex-wrap: wrap; gap: 12px; }
.ks-store-badge {
	display: inline-flex; align-items: center; gap: 10px; min-width: 168px; min-height: 56px; padding: 8px 20px 8px 16px;
	border: 1px solid var(--ks-white-40); border-radius: 10px; background: #000; color: #fff; text-decoration: none;
}
.ks-store-badge svg { flex: none; width: 26px; height: 28px; fill: currentColor; }
.ks-store-badge__text { display: flex; flex-direction: column; font-size: 1.25rem; font-weight: 700; line-height: 1.1; letter-spacing: -.01em; white-space: nowrap; }
.ks-store-badge__text small { font-size: .6875rem; font-weight: 400; letter-spacing: .02em; }
a.ks-store-badge { transition: border-color .2s, background-color .2s; }
a.ks-store-badge:hover, a.ks-store-badge:focus-visible { border-color: #fff; background: #1b1b1b; color: #fff; }
.ks-store-badges-wrap--hero .ks-store-badges { margin-top: 36px; }
.elementor .ks-store-badges-wrap--hero + .e-con.ks-hero-cta { --margin-top: 16px; }
.ks-store-badges-wrap--light .ks-store-badges { margin-top: 16px; }
.ks-store-badges-wrap--light .ks-store-badge { border-color: #000; }
@media (max-width: 767px) {
	.ks-store-badges-wrap--hero .ks-store-badges { margin-top: 28px; }
	.ks-store-badges { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; max-width: 400px; }
	.ks-store-badge { min-width: 0; justify-content: center; padding-inline: 12px; }
}
@media (max-width: 359px) { .ks-store-badges { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   5. Evidence
   -------------------------------------------------------------------------- */
.ks-evidence-head { max-width: 900px; }
.ks-evidence-title .elementor-heading-title { max-width: 26ch; }
/* Full-bleed band from inside the boxed section. --ks-vw is the viewport width without the
   scrollbar (set by keloscar.js); the selector out-ranks Elementor's widget max-width: 100%. */
.elementor .e-con > .e-con-inner > .elementor-widget.ks-marquee, .elementor .e-con > .elementor-widget.ks-marquee {
	width: var(--ks-vw, 100vw); max-width: var(--ks-vw, 100vw);
	margin: 64px calc(50% - var(--ks-vw, 100vw) / 2) !important;
}
.ks-marquee {
	padding: 24px 0; overflow: hidden;
	border-top: 1px solid var(--ks-navy-12); border-bottom: 1px solid var(--ks-navy-12);
	-webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
	mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ks-marquee .elementor-icon-list-items { display: flex; flex-wrap: wrap; gap: 16px 32px; margin: 0 !important; padding: 0 var(--ks-gutter); }
.ks-marquee .elementor-icon-list-item { white-space: nowrap; display: inline-flex; align-items: center; gap: 64px; }
/* Gold dot after each name. Elementor styles inline-list ::after as a 1 px divider, so this
   selector out-ranks .elementor-widget .elementor-icon-list-items.elementor-inline-items … ::after */
.elementor-widget.ks-marquee .elementor-icon-list-items.elementor-inline-items .elementor-icon-list-item::after {
	content: ""; position: static; inset: auto; flex: none; width: 6px; height: 6px; margin: 0;
	border-width: 0; border-inline-start-width: 0; border-radius: 50%; background: var(--ks-gold);
}
html.ks-static .ks-marquee .elementor-icon-list-items { flex-wrap: nowrap; }
html.ks-motion .ks-marquee.is-ready .elementor-icon-list-items {
	flex-wrap: nowrap; gap: 64px; width: max-content; padding: 0; animation: ksMarquee 60s linear infinite;
}
html.ks-motion .ks-marquee.is-ready:hover .elementor-icon-list-items { animation-play-state: paused; }
@keyframes ksMarquee { to { transform: translateX(-50%); } }

.ks-stat-num .elementor-heading-title { display: flex; flex-wrap: wrap; align-items: baseline; gap: .15em; }
.ks-stat-num .ks-count { font-variant-numeric: tabular-nums; }
.ks-stat-num .ks-unit { font-size: .5em; font-weight: 700; }
.ks-stat-num .ks-unit--before { margin-right: -.3em; } /* Turkish: per cent sign before the number (%90); cancels the .15em gap (em of the .5em unit) */
.ks-stat-num .ks-pre { align-self: center; font-size: .7em; font-weight: 700; }
.ks-stat-num .ks-vs { margin-left: .3em; font-size: .3em; font-weight: 300; letter-spacing: 0; color: var(--ks-muted); }
.ks-stat-text p { max-width: 40ch; }
.ks-stat-text .ks-cite { margin-top: 12px; }
.ks-stat-text cite { display: block; font-style: normal; font-size: .8125rem; font-weight: 700; letter-spacing: .02em; color: var(--ks-blue); }
.ks-evidence-foot a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* --------------------------------------------------------------------------
   6. HCP videos
   -------------------------------------------------------------------------- */
.elementor .e-con.ks-video { position: relative; aspect-ratio: 4 / 5; background: var(--ks-navy); }
.ks-videos > .ks-video:nth-child(even) { margin-top: 64px; }
.ks-video::after { inset: 0; z-index: 1; background: linear-gradient(180deg, transparent 40%, rgba(12, 32, 68, .85)); }
.elementor .ks-video-img { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; }
.ks-video-img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ks-ease); }
.ks-video:hover .ks-video-img img { transform: scale(1.04); }
.elementor .ks-video-play { position: absolute; left: 50%; top: 50%; z-index: 2; transform: translate(-50%, -50%); margin: 0; }
.ks-video-play .elementor-icon-wrapper { line-height: 0; }
.ks-video-play .elementor-icon {
	display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
	background: #fff; box-shadow: var(--ks-shadow-lg); transition: transform .2s var(--ks-ease), background-color .2s;
}
.ks-video:hover .ks-video-play .elementor-icon { transform: scale(1.08); background: var(--ks-ice); }
.elementor .e-con.ks-video-meta { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 16px; }
@media (max-width: 1024px) { .ks-videos > .ks-video:nth-child(even) { margin-top: 32px; } }

/* --------------------------------------------------------------------------
   7. Apply. Follow. Share.
   -------------------------------------------------------------------------- */
.ks-steps-title span { display: inline-block; }
.ks-steps-title span:nth-child(2) { color: var(--ks-ice); }
.ks-steps-title span:nth-child(3) { color: var(--ks-gold); }
.elementor .e-con.ks-steps-list { position: relative; }
.ks-steps-list::after {
	left: 0; right: 0; top: 20px; height: 1px; background: var(--ks-gold);
	transform-origin: left center; transform: scaleX(var(--ks-steps-progress, 1));
}
.elementor .e-con.ks-step { position: relative; }
.elementor .ks-step-marker {
	position: absolute; top: -45px; left: 0; z-index: 1; display: grid; place-items: center;
	width: 56px; height: 34px; margin: 0; border-radius: 50%; background: var(--ks-navy); border: 1.5px solid var(--ks-gold);
}
.ks-step-text p { max-width: 38ch; }
.ks-journey { width: 100%; padding-top: 32px; border-top: 1px solid var(--ks-white-16); }
.ks-journey .elementor-icon-list-items { align-items: center; gap: 12px; }
.ks-journey .elementor-icon-list-item { display: inline-flex; align-items: center; gap: 12px; }
.ks-journey .elementor-icon-list-item + .elementor-icon-list-item::before {
	content: ""; display: inline-block; width: 28px; height: 1px; background: var(--ks-gold-60);
}
@media (max-width: 900px) {
	.ks-steps-list::after { display: none; }
	.elementor .e-con.ks-step { padding-left: 72px; }
	.elementor .ks-step-marker { top: 4px; }
}

/* --------------------------------------------------------------------------
   8. Reviews
   -------------------------------------------------------------------------- */
.ks-reviews-grid > * { min-width: 0; }
.elementor .ks-reviews-head > .e-con:first-child, .elementor .ks-insights-head > .e-con:first-child { --width: auto; width: auto; flex: 1 1 auto; min-width: 0; }
.ks-reviews-photo figure { position: relative; margin: 0; overflow: hidden; border-radius: 10px 60px 10px 10px; }
.ks-reviews-photo img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.ks-reviews-photo figcaption {
	position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 24px; text-align: left;
	color: #fff; font-size: .8125rem; font-weight: 300; line-height: 1.5;
	background: linear-gradient(transparent, rgba(12, 32, 68, .85));
}
.elementor .e-con.ks-reviews-track {
	overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; overscroll-behavior-x: contain;
}
.ks-reviews-track::-webkit-scrollbar { display: none; }
.elementor .e-con.ks-review { --width: min(100%, 360px); width: min(100%, 360px); flex: 0 0 min(100%, 360px); scroll-snap-align: start; }
.ks-review-quote blockquote { margin: 0; padding: 0; border: 0; font: inherit; color: inherit; quotes: none; }
.ks-review-quote blockquote p { margin: 0; }
.ks-review-by { margin-top: auto; }
/* Results & reviews, "In their own words" (client feedback, 15 Oct 2026): photo and note beside a 2×2 grid of
   full-width cards with a gold quote mark (::after: Elementor uses ::before on containers) */
.elementor .e-con.e-con.ks-review--page { --width: 100%; width: 100%; flex: none; position: relative; --padding-top: 84px; }
.ks-review--page::after {
	content: "\201C"; position: absolute; top: 22px; left: 30px; font-size: 72px; font-weight: 700; line-height: 1;
	color: var(--ks-gold); pointer-events: none;
}
.ks-review--page .ks-review-by { padding-top: 16px; border-top: 1px solid var(--ks-navy-12); }
.ks-review--page .ks-review-by strong { color: var(--ks-navy); font-weight: 700; }
.elementor .e-con.ks-reviews-wall { align-items: stretch; }
/* Business Development card: small LinkedIn mark before the profile link (Afonso, 15 Oct 2026) */
.ks-linkedin::before {
	content: ""; display: inline-block; width: 16px; height: 16px; margin-right: 6px; vertical-align: -2px; background: #0A66C2;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.45 20.45h-3.55v-5.57c0-1.33-.03-3.04-1.85-3.04-1.85 0-2.14 1.45-2.14 2.94v5.67H9.36V9h3.41v1.56h.05c.48-.9 1.64-1.85 3.37-1.85 3.6 0 4.27 2.37 4.27 5.46v6.28zM5.34 7.43a2.06 2.06 0 1 1 0-4.13 2.06 2.06 0 0 1 0 4.13zm1.78 13.02H3.56V9h3.56v11.45zM22.22 0H1.77C.79 0 0 .77 0 1.73v20.54C0 23.23.79 24 1.77 24h20.45c.98 0 1.78-.77 1.78-1.73V1.73C24 .77 23.2 0 22.22 0z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.45 20.45h-3.55v-5.57c0-1.33-.03-3.04-1.85-3.04-1.85 0-2.14 1.45-2.14 2.94v5.67H9.36V9h3.41v1.56h.05c.48-.9 1.64-1.85 3.37-1.85 3.6 0 4.27 2.37 4.27 5.46v6.28zM5.34 7.43a2.06 2.06 0 1 1 0-4.13 2.06 2.06 0 0 1 0 4.13zm1.78 13.02H3.56V9h3.56v11.45zM22.22 0H1.77C.79 0 0 .77 0 1.73v20.54C0 23.23.79 24 1.77 24h20.45c.98 0 1.78-.77 1.78-1.73V1.73C24 .77 23.2 0 22.22 0z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.ks-reviews-aside .ks-reviews-photo img { border-radius: 10px 60px 10px 10px; object-position: 50% 30%; }
.ks-review-stars .e-rating .e-icon svg, .ks-review-stars svg { width: 16px; height: 16px; }
.ks-reviews-btn .elementor-button { width: 44px; height: 44px; min-height: 44px; padding: 0; justify-content: center; border-radius: 50%; }
.ks-reviews-prev .elementor-button-icon { transform: rotate(180deg); }
.ks-reviews-prev .elementor-button:hover .elementor-button-icon { transform: rotate(180deg) translateX(3px); }
@media (max-width: 1024px) { .ks-reviews-photo img { aspect-ratio: 16 / 10; } }

/* --------------------------------------------------------------------------
   9. Global presence
   -------------------------------------------------------------------------- */
.ks-market { padding: 16px 0; border-top: 1px solid var(--ks-white-16); }
.ks-globe { display: block; width: 100%; max-width: 560px; margin: 0 auto; }
.ks-globe .g-ring { fill: none; stroke: var(--ks-white-16); stroke-width: 1; }
.ks-globe .g-dot { fill: var(--ks-ice); opacity: .55; }
.ks-globe .g-marker { fill: var(--ks-gold); }
.ks-globe .g-marker-ring { fill: none; stroke: var(--ks-gold); stroke-width: 1; opacity: .6; animation: ksPing 2.8s var(--ks-ease) infinite; }
.ks-globe .g-label { fill: #fff; font: 700 12px Lato, sans-serif; letter-spacing: .06em; }
@keyframes ksPing { 0% { transform: scale(.6); opacity: .8; } 100% { transform: scale(2.4); opacity: 0; } }
@media (max-width: 1024px) { .ks-globe { max-width: 440px; } }

/* --------------------------------------------------------------------------
   10. Insights
   -------------------------------------------------------------------------- */
a.ks-post { color: var(--ks-navy); text-decoration: none; }
.ks-post-img img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 10px; transition: transform .8s var(--ks-ease); }
.ks-post:hover .ks-post-img img { transform: translateY(-4px); }
.ks-post--featured .ks-post-img img { aspect-ratio: 16 / 11; }
.ks-post--featured .ks-post-title .elementor-heading-title { max-width: 22ch; }
.elementor .e-con.ks-post--side { padding: 24px 0; border-top: 1px solid var(--ks-navy-12); }
.elementor .e-con.ks-post--side:first-child { padding-top: 0; border-top: 0; }
.ks-post--side .ks-post-img img { aspect-ratio: 1; }
@media (max-width: 900px) {
	.elementor .e-con.ks-post--side:first-child { padding-top: 24px; border-top: 1px solid var(--ks-navy-12); }
}

/* --------------------------------------------------------------------------
   11. Newsletter + company
   -------------------------------------------------------------------------- */
.ks-newsletter-form { display: flex; flex-direction: column; gap: 16px; margin-top: 4px; }
.ks-field { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.ks-field label { font-weight: 700; font-size: .9375rem; line-height: 1.4; color: var(--ks-navy); }
.ks-field input {
	height: 52px; padding: 0 16px; border: 1px solid var(--ks-navy-30); border-radius: 6px; background: #fff;
	font: inherit; color: var(--ks-navy); transition: border-color .2s, box-shadow .2s;
}
.ks-field input::placeholder { color: var(--ks-muted); opacity: 1; }
.ks-field input:focus { outline: none; border-color: var(--ks-blue); box-shadow: 0 0 0 3px rgba(56, 98, 167, .2); }
.ks-field.is-invalid input { border-color: var(--ks-danger); }
.ks-field-help { margin: 0; font-size: .8125rem; color: var(--ks-text); }
.ks-field-error { margin: 0; font-size: .8125rem; font-weight: 700; color: var(--ks-danger); }
.ks-field-error[hidden], .ks-newsletter-success[hidden] { display: none; }
.ks-consent { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; font-size: .9375rem; font-weight: 400; line-height: 1.6; color: var(--ks-text); }
.ks-consent input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--ks-navy); }
.ks-consent a { color: var(--ks-blue); text-decoration: underline; text-underline-offset: 2px; }
.ks-newsletter-form .ks-submit {
	align-self: flex-start; min-height: 48px; padding: 0 22px; border: 0; border-radius: 6px; cursor: pointer;
	background: var(--ks-navy); color: #fff; font: 700 .9375rem/1 Lato, sans-serif;
	transition: background-color .2s var(--ks-ease), transform .2s var(--ks-ease);
}
.ks-newsletter-form .ks-submit:hover, .ks-newsletter-form .ks-submit:focus { background: var(--ks-hover); color: #fff; }
.ks-newsletter-form .ks-submit:active { transform: translateY(1px) scale(.985); }
.ks-newsletter-form .ks-submit:disabled { opacity: .6; cursor: default; }
.ks-newsletter-success { margin: 0; font-weight: 700; color: var(--ks-success); }

/* --------------------------------------------------------------------------
   Footer (template "KELOSCAR — Footer")
   -------------------------------------------------------------------------- */
.ks-footer-logo img { display: block; height: auto; }
.ks-footer-tag p, .ks-footer-reg p { max-width: 36ch; }
.ks-footer-menu .menu, .ks-legal-menu .menu { list-style: none; margin: 0; padding: 0; }
.ks-footer-menu .menu a {
	display: block; padding: 5px 0; font-size: .9375rem; line-height: 1.6; color: var(--ks-white-70); text-decoration: none; transition: color .2s;
}
.ks-legal-menu .menu { display: flex; flex-wrap: wrap; gap: 24px; }
.ks-legal-menu .menu a { font-size: .8125rem; font-weight: 300; color: var(--ks-white-70); text-decoration: none; transition: color .2s; }
.ks-footer-menu .menu a:hover, .ks-legal-menu .menu a:hover, .ks-footer-mail a:hover { color: #fff; }
.ks-social .elementor-icon-list-items { gap: 16px; }
@media (max-width: 1024px) { .ks-footer-brand { grid-column: span 2; } }
@media (max-width: 767px) { .ks-footer-brand { grid-column: auto; } }

.elementor .e-con.ks-mobile-bar {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
	padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--ks-navy-12);
}
.ks-mobile-bar .elementor-button { width: 100%; justify-content: center; }

/* --------------------------------------------------------------------------
   Market gateway (inc/gateway.php)
   -------------------------------------------------------------------------- */
.ks-gateway {
	position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: var(--ks-gutter);
	background: var(--ks-navy-90); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.ks-gateway[hidden] { display: none; }
.ks-gateway__panel {
	width: 100%; max-width: 720px; max-height: calc(100vh - 2 * var(--ks-gutter)); overflow: auto; color: #fff;
	padding: clamp(1.5rem, 1rem + 3vw, 3.5rem); background: var(--ks-navy);
	border: 1px solid var(--ks-white-16); border-radius: 16px; box-shadow: var(--ks-shadow-xl);
}
.ks-gateway__logo { display: block; width: 140px; height: auto; margin-bottom: 48px; }
.ks-gateway__eyebrow { margin: 0 0 16px; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ks-gold); }
.ks-gateway__title { margin: 0; font-size: clamp(2rem, 1.5rem + 1.6vw, 2.875rem); font-weight: 900; line-height: 1.1; letter-spacing: -.01em; color: #fff; }
.ks-gateway__lead { max-width: 52ch; margin: 16px 0 0; font-weight: 300; color: var(--ks-white-70); }
.ks-gateway__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 32px 0 0; padding: 0; list-style: none; }
.ks-gateway .ks-gateway__item {
	display: flex; justify-content: space-between; align-items: baseline; gap: 12px; width: 100%;
	padding: 14px 16px; border: 1px solid var(--ks-white-16); border-radius: 6px; background: transparent;
	color: #fff; font: 700 1.0625rem/1.4 Lato, sans-serif; text-align: left; cursor: pointer;
	transition: border-color .2s, background-color .2s;
}
.ks-gateway .ks-gateway__item span { font-size: .9375rem; font-weight: 300; color: var(--ks-white-70); }
.ks-gateway .ks-gateway__item:hover, .ks-gateway .ks-gateway__item:focus { border-color: #fff; background: var(--ks-white-08); color: #fff; }
.ks-gateway .ks-gateway__skip {
	margin-top: 24px; padding: 0; border: 0; background: none; cursor: pointer; color: var(--ks-white-70);
	font: 400 .9375rem/1.6 Lato, sans-serif; text-decoration: underline; text-underline-offset: 3px;
}
.ks-gateway .ks-gateway__skip:hover, .ks-gateway .ks-gateway__skip:focus { background: none; color: #fff; }
@media (max-width: 520px) { .ks-gateway__list { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Motion (only with html.ks-motion: set in <head> unless reduced motion,
   ?static=1 or the Elementor editor)
   -------------------------------------------------------------------------- */
html.ks-motion .ks-reveal:not(.is-in) { opacity: 0; transform: translateY(24px); }
html.ks-motion .ks-reveal { transition: opacity .45s var(--ks-ease), transform .45s var(--ks-ease); transition-delay: var(--ks-delay, 0ms); }
html.ks-motion.ks-rushing .ks-reveal { transition: none; }

html.ks-motion .ks-stage-skin, html.ks-motion .ks-stage-tube, html.ks-motion .ks-stage-phone,
html.ks-motion .ks-stage-hcp, html.ks-motion .ks-md, html.ks-motion .ks-md-text,
html.ks-motion .ks-hero-line, html.ks-motion .ks-hero-title .ks-line { opacity: 0; }
html.ks-motion .ks-film-line, html.ks-motion .ks-film-glow { stroke-dashoffset: 1100; }
html.ks-motion .ks-link { stroke-dashoffset: 120; }

html.ks-static .ks-hero { min-height: 900px; }
html.ks-static .ks-scroll span, html.ks-static .g-marker-ring { animation: none; }

@media (prefers-reduced-motion: reduce) {
	.ks-scroll span, .ks-globe .g-marker-ring { animation: none; }
	.ks-globe .g-marker-ring { opacity: .4; }
	.ks-format-tabs .e-n-tabs-content > .e-con.e-active { animation: none; }
}

/* ==========================================================================
   Inner pages (Approach, Products, Science, MyDermAssist, Professionals,
   Partners, About, Contacts, Legal) — components built in Elementor
   ========================================================================== */

/* Current page in the menus */
.ks-menu .menu .current-menu-item > a::after, .ks-menu .menu .current-menu-ancestor > a::after,
.ks-menu .menu .current_page_parent > a::after { right: 0; }
.ks-footer-menu .menu .current-menu-item > a { color: #fff; }

/* Page hero */
.elementor .e-con.ks-page-hero { position: relative; z-index: 0; }
.ks-page-hero.ks-dark::after {
	content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; display: block; opacity: 1; border: 0; border-radius: 0;
	background: radial-gradient(55% 60% at 80% 30%, rgba(56, 98, 167, .32), transparent 70%);
}
.ks-page-lead p { max-width: 52ch; }
.ks-page-hero-img img, .ks-page-hero-media img { display: block; width: 100%; height: auto; max-height: 520px; object-fit: contain; border-radius: 10px; }
.ks-page-hero-phone .ks-phone-img img, .ks-phone-img img { display: block; width: 100%; height: auto; filter: drop-shadow(0 32px 40px rgba(4, 12, 28, .45)); }
.ks-light .ks-phone-img img { filter: drop-shadow(0 32px 40px rgba(12, 32, 68, .22)); }
.ks-page-hero--product .ks-product-hero-visual { position: relative; }
.ks-page-hero--product .ks-format-img img { max-height: 520px; }
.ks-page-hero .ks-checklist .elementor-icon-list-item { padding-block: 2px; }

/* Approach: ecosystem diagram */
.ks-eco { display: block; width: 100%; max-width: 520px; margin: 0 auto; overflow: visible; }
.ks-eco-lines path { fill: none; stroke: var(--ks-gold); stroke-width: 1.2; opacity: .9; }
.ks-eco-node circle { fill: rgba(255, 255, 255, .06); stroke: rgba(255, 255, 255, .4); stroke-width: 1; }
.ks-eco-node text { fill: #fff; font: 700 17px Lato, sans-serif; text-anchor: middle; }
.ks-eco-node .ks-eco-sub { fill: var(--ks-ice); font-weight: 300; font-size: 13px; }
.ks-eco-md { fill: var(--ks-navy); stroke: var(--ks-gold); stroke-width: 1.5; }
.ks-eco-md-text { fill: #fff; font: 700 15px Lato, sans-serif; text-anchor: middle; letter-spacing: .06em; }
.ks-eco-md-sub { fill: var(--ks-ice); font: 400 12px Lato, sans-serif; text-anchor: middle; }
html.ks-motion .ks-eco-lines path { stroke-dasharray: 260; stroke-dashoffset: 260; transition: stroke-dashoffset 1.2s var(--ks-ease) .3s; }
html.ks-motion .ks-eco-wrap.is-in .ks-eco-lines path { stroke-dashoffset: 0; }

/* Big number (Approach: 60–90 days) */
.ks-bignum .ks-big-unit { font-size: .4em; font-weight: 700; letter-spacing: 0; }

/* Cards (light: tint on white bands, white on tinted bands; dark: translucent on navy) */
.elementor .e-con.ks-card {
	padding: 32px; border-radius: 10px; background: var(--ks-tint); border: 1px solid var(--ks-navy-12);
	transition: border-color .2s var(--ks-ease), transform .2s var(--ks-ease);
}
.ks-bg-ks_tint .e-con.ks-card, .ks-bg-ks_ice .e-con.ks-card { background: #fff; }
.elementor .e-con.ks-card--dark { background: var(--ks-white-08); border-color: var(--ks-white-16); }
.ks-card-icon .elementor-icon { display: block; line-height: 0; }
/* Links inside running text are underlined (WCAG link-in-text-block) */
.elementor-widget-text-editor p a, .elementor-widget-text-editor li a, .ks-form-note a { text-decoration: underline; text-underline-offset: 3px; }
.ks-rich ul { margin: 0; padding-left: 1.2em; }
.ks-rich li { margin: .35em 0; }
.ks-rich p + p, .ks-rich p + ul, .ks-rich ul + p { margin-top: .8em; }
.ks-small { font-size: .8125rem; font-weight: 300; }
.elementor .e-con.ks-linkcard { height: 100%; }
a.ks-linkcard:hover, a.ks-product-card:hover { border-color: var(--ks-navy); }
a.ks-linkcard:hover .ks-linkcard-title .elementor-heading-title, a.ks-product-card:hover .ks-linkcard-title .elementor-heading-title { text-decoration: underline; text-underline-offset: 4px; }
.ks-cards--values .e-con.ks-card { padding: 28px 24px; }

/* Product cards (Products hub) */
.elementor .e-con.ks-product-card { position: relative; color: var(--ks-navy); text-decoration: none; }
.ks-product-card-img img {
	display: block; width: 100%; aspect-ratio: 1; object-fit: contain; padding: 8%;
	background: var(--ks-tint); border-radius: 10px; transition: transform .6s var(--ks-ease);
}
a.ks-product-card:hover .ks-product-card-img img { transform: translateY(-4px); }
.elementor .ks-badge { position: absolute; top: 16px; left: 16px; z-index: 1; margin: 0; }
.ks-badge .elementor-heading-title { padding: 6px 12px; border-radius: 999px; background: var(--ks-gold); color: var(--ks-navy); }
/* BIOGEL hero: 20 g note (review of 12 Oct 2026) */
.ks-format-tabs .e-n-tabs-content > .e-con { position: relative; }
.elementor .ks-format-badge { top: auto; left: auto; right: 12px; bottom: 12px; }
/* BIOGEL: ten benefits in five columns */
.ks-cards--benefits .e-con.ks-card { padding: 28px 24px; }

/* Documents (Medical Hub preview) */
.ks-doc-access .elementor-heading-title span::before {
	content: ""; display: inline-block; width: 14px; height: 14px; margin-right: 6px; vertical-align: -2px; background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27%3E%3Cpath d=%27M5.5 10.5h13v10h-13zM8.5 10.5V7.5a3.5 3.5 0 0 1 7 0v3%27 fill=%27none%27 stroke=%27black%27 stroke-width=%271.8%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27%3E%3Cpath d=%27M5.5 10.5h13v10h-13zM8.5 10.5V7.5a3.5 3.5 0 0 1 7 0v3%27 fill=%27none%27 stroke=%27black%27 stroke-width=%271.8%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Medical Hub downloads (15 Oct 2026): link on each document card */
.ks-doc .ks-doc-download { margin-top: auto; padding-top: 16px; }
.ks-doc-download a {
	display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; color: var(--ks-blue); text-decoration: none;
}
.ks-doc-download a::before {
	content: ""; flex: none; width: 18px; height: 18px; background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27%3E%3Cpath d=%27M12 4v11m0 0-4.5-4.5M12 15l4.5-4.5M5 19.5h14%27 fill=%27none%27 stroke=%27black%27 stroke-width=%271.8%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27%3E%3Cpath d=%27M12 4v11m0 0-4.5-4.5M12 15l4.5-4.5M5 19.5h14%27 fill=%27none%27 stroke=%27black%27 stroke-width=%271.8%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27/%3E%3C/svg%3E") center / contain no-repeat;
}
.ks-doc-download a:hover { color: var(--ks-hover); text-decoration: underline; text-underline-offset: 3px; }
/* Medical Hub sign-in dialog and session bar (inc/medical-hub.php, assets/js/medical-hub.js) */
.ks-hub-dialog {
	position: fixed; inset: 0; z-index: 100000; display: grid; place-items: center; padding: 16px; overflow-y: auto;
	background: var(--ks-navy-90);
}
.ks-hub-dialog[hidden], .ks-hub-view[hidden], .ks-hub-message[hidden] { display: none; }
.ks-hub-dialog__panel {
	position: relative; width: 100%; max-width: 480px; padding: clamp(28px, 4vw, 40px); border-radius: 16px; background: #fff;
	box-shadow: var(--ks-shadow-xl); color: var(--ks-text);
}
.ks-hub-dialog .ks-hub-dialog__close { /* buttons: above the kit and theme button styles */
	position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0;
	border: 0; border-radius: 50%; box-shadow: none; background: transparent; color: var(--ks-navy); font: 400 1.75rem/1 Lato, sans-serif; cursor: pointer;
}
.ks-hub-dialog .ks-hub-dialog__close:hover, .ks-hub-dialog .ks-hub-dialog__close:focus { background: var(--ks-tint); color: var(--ks-navy); }
.ks-hub-dialog__eyebrow { margin: 0 0 8px; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ks-muted); }
.ks-hub-dialog__title { margin: 0 0 8px; font-size: 1.625rem; line-height: 1.25; color: var(--ks-navy); }
.ks-hub-dialog__lead { margin: 0 0 8px; font-size: .9375rem; line-height: 1.6; }
.ks-hub-form .ks-field { margin-top: 16px; }
.ks-hub-message { margin: 16px 0 0; font-size: .875rem; font-weight: 700; line-height: 1.5; color: var(--ks-danger); }
.ks-hub-message.is-ok { color: var(--ks-success); }
.ks-hub-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 24px; }
.ks-hub-dialog .ks-hub-submit {
	min-height: 48px; padding: 0 26px; border: 0; border-radius: 6px; cursor: pointer;
	background: var(--ks-navy); color: #fff; font: 700 .9375rem/1 Lato, sans-serif; transition: background-color .2s var(--ks-ease);
}
.ks-hub-dialog .ks-hub-submit:hover, .ks-hub-dialog .ks-hub-submit:focus { background: var(--ks-hover); color: #fff; }
.ks-hub-dialog .ks-hub-submit:disabled { opacity: .6; cursor: default; }
.ks-hub-dialog .ks-hub-link {
	min-height: 44px; padding: 0; border: 0; border-radius: 0; box-shadow: none; background: none; color: var(--ks-blue); font: 700 .875rem/1.4 Lato, sans-serif;
	text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}
.ks-hub-dialog .ks-hub-link:hover, .ks-hub-dialog .ks-hub-link:focus { background: none; color: var(--ks-hover); }
.ks-hub-request { margin: 24px 0 0; padding-top: 20px; border-top: 1px solid var(--ks-navy-12); font-size: .9375rem; line-height: 1.6; }
.ks-hub-request a { font-weight: 700; color: var(--ks-blue); text-underline-offset: 3px; }
.ks-hub-request a:hover { color: var(--ks-hover); }
.ks-hub-dialog :focus-visible { outline: 2px solid var(--ks-blue); outline-offset: 2px; }
.ks-hub-session {
	margin: 0 0 24px; padding: 12px 16px; border-radius: 8px; background: var(--ks-tint); font-size: .9375rem; color: var(--ks-text);
}
.ks-hub-session a { font-weight: 700; color: var(--ks-blue); text-underline-offset: 3px; }

/* Checklists (Icon List, traditional) */
.ks-checklist .elementor-icon-list-item { align-items: flex-start; }
.ks-checklist .elementor-icon-list-icon { margin-top: .2em; }
.ks-checklist .elementor-icon-list-icon svg { width: 20px; height: 20px; }
.ks-checklist--spaced { margin-top: 24px; }

/* Marks outside the product section (same pills, no top rule) */
.ks-marks.ks-marks--plain { padding-top: 0; border-top: 0; }
.ks-marks--dark .elementor-icon-list-item { border-color: var(--ks-white-40); }

/* Steps on light bands, and 5/7-step sequences (vertical from tablet down) */
.ks-steps-list--light::after { background: var(--ks-gold); }
.ks-steps-list--light .ks-step-marker { background: #fff; }
@media (min-width: 1025px) {
	.ks-steps-list--many .elementor-widget-heading h3.elementor-heading-title { font-size: 1.125rem; }
}
@media (max-width: 1024px) {
	.ks-steps-list--many::after { display: none; }
	.elementor .e-con.ks-steps-list--many > .e-con.ks-step { padding-left: 72px; }
	.elementor .ks-steps-list--many .ks-step-marker { top: 4px; }
}

/* FAQ accordion (Nested Accordion, <details>) */
.ks-faq .e-n-accordion-item { border-top: 1px solid var(--ks-navy-12); }
.ks-faq .e-n-accordion-item:last-child { border-bottom: 1px solid var(--ks-navy-12); }
.ks-faq .e-n-accordion-item-title {
	padding: 22px 0; gap: 24px; justify-content: space-between; background: transparent; border: 0; cursor: pointer;
}
.ks-faq .e-n-accordion-item-title-text { color: var(--ks-navy); }
.ks-faq .e-n-accordion-item-title:hover .e-n-accordion-item-title-text { color: var(--ks-blue); }
.ks-faq .e-n-accordion-item-title-icon svg { width: 22px; height: 22px; color: var(--ks-blue); fill: none; }
.elementor .ks-faq .e-con.ks-faq-answer { padding: 0 48px 24px 0; border: 0; background: transparent; }
.ks-faq-answer p { max-width: 68ch; }

/* Tables (guidelines, ingredients, comparison) */
.ks-table-wrap { overflow-x: auto; }
.ks-table { width: 100%; border-collapse: collapse; font-size: .9375rem; line-height: 1.55; margin: 0; }
.ks-table caption { caption-side: bottom; text-align: left; padding-top: 12px; font-size: .8125rem; font-weight: 300; color: var(--ks-muted); }
.ks-table th, .ks-table td { padding: 16px 16px 16px 0; text-align: left; vertical-align: top; border: 0; border-bottom: 1px solid var(--ks-navy-12); background: transparent; }
.ks-table thead th { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ks-muted); border-bottom-color: var(--ks-navy-30); }
.ks-table tbody th { font-weight: 700; color: var(--ks-navy); width: 34%; }
.ks-table tbody > tr:nth-child(n) > td, .ks-table tbody > tr:nth-child(n) > th, .ks-table tbody > tr:hover > * { background: transparent; }
.ks-table--compare tbody th { width: 22%; }

/* Forms (front end only until a form service is connected) */
.ks-form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; }
.ks-form--cols-1 { grid-template-columns: 1fr; }
.ks-form .ks-field { margin: 0; }
.ks-form .ks-field--wide { grid-column: 1 / -1; }
.ks-form label, .ks-fieldset legend { font-weight: 700; font-size: .9375rem; line-height: 1.4; color: var(--ks-navy); }
.ks-req { color: var(--ks-danger); }
.ks-form input[type="text"], .ks-form input[type="email"], .ks-form input[type="tel"], .ks-form input[type="url"],
.ks-form select, .ks-form textarea {
	width: 100%; min-height: 52px; padding: 0 16px; border: 1px solid var(--ks-navy-30); border-radius: 6px; background: #fff;
	font: inherit; font-size: 1rem; color: var(--ks-navy); transition: border-color .2s, box-shadow .2s;
}
.ks-form textarea { padding: 14px 16px; min-height: 140px; resize: vertical; }
.ks-form select {
	appearance: none; padding-right: 40px;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27%3E%3Cpath d=%27M6 9l6 6 6-6%27 fill=%27none%27 stroke=%27%230C2044%27 stroke-width=%271.5%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27/%3E%3C/svg%3E") right 14px center / 18px no-repeat;
}
.ks-form input[type="file"] { width: 100%; padding: 12px; border: 1px dashed var(--ks-navy-30); border-radius: 6px; background: #fff; font: inherit; font-size: .9375rem; color: var(--ks-text); }
.ks-form input:focus, .ks-form select:focus, .ks-form textarea:focus { outline: none; border-color: var(--ks-blue); box-shadow: 0 0 0 3px rgba(56, 98, 167, .2); }
.ks-form .is-invalid input, .ks-form .is-invalid select, .ks-form .is-invalid textarea { border-color: var(--ks-danger); }
.ks-fieldset { margin: 0; padding: 0; border: 0; }
.ks-radios { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.ks-radio { position: relative; }
.ks-radio input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ks-radio span {
	display: inline-grid; place-items: center; min-width: 48px; min-height: 44px; padding: 0 14px; border: 1px solid var(--ks-navy-30);
	border-radius: 999px; background: #fff; font-weight: 700; color: var(--ks-navy); cursor: pointer; transition: background-color .2s, color .2s;
}
.ks-radio input:checked + span { background: var(--ks-navy); border-color: var(--ks-navy); color: #fff; }
.ks-radio input:focus-visible + span { outline: 2px solid var(--ks-blue); outline-offset: 3px; }
.ks-form .ks-consent { font-weight: 400; color: var(--ks-text); }
.ks-form-note { margin: 0; font-size: .8125rem; color: var(--ks-text); }
.ks-form .ks-submit {
	min-height: 48px; padding: 0 22px; border: 0; border-radius: 6px; cursor: pointer;
	background: var(--ks-navy); color: #fff; font: 700 .9375rem/1 Lato, sans-serif; transition: background-color .2s var(--ks-ease);
}
.ks-form .ks-submit:hover, .ks-form .ks-submit:focus { background: var(--ks-hover); color: #fff; }
.ks-form .ks-submit:disabled { opacity: .6; cursor: default; }
.ks-form-success { margin: 0; font-weight: 700; color: var(--ks-success); }
.ks-form-success[hidden] { display: none; }
.elementor .e-con.ks-form-card { padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); border-radius: 16px; background: #fff; border: 1px solid var(--ks-navy-12); }
@media (max-width: 767px) { .ks-form { grid-template-columns: 1fr; } }

/* Science: sticky index */
.elementor .e-con.ks-toc-col { position: sticky; top: calc(var(--ks-header-h) + 32px); }
.admin-bar .elementor .e-con.ks-toc-col { top: calc(var(--ks-header-h) + 64px); }
.ks-toc .elementor-icon-list-item a { display: block; padding: 6px 0 6px 14px; border-left: 2px solid var(--ks-navy-12); }
.ks-toc .elementor-icon-list-item a.is-active { border-left-color: var(--ks-gold); }
.ks-toc .elementor-icon-list-item a.is-active .elementor-icon-list-text { color: var(--ks-navy); }
.ks-img-wide img { display: block; width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border-radius: 10px; }
@media (max-width: 1024px) { .elementor .e-con.ks-toc-col { position: relative; top: auto; } }

/* Image frames */
.ks-img-frame img { display: block; width: 100%; height: auto; border-radius: 10px; }
.ks-split-media .ks-img-frame img { aspect-ratio: 4 / 3; object-fit: cover; }
/* out-ranks Elementor's .elementor.elementor .e-con > .elementor-widget { max-width: 100% } */
.elementor .e-con.ks-split-media > .elementor-widget.ks-phone-img { width: 100%; max-width: 320px; margin-inline: auto; }
.ks-split-media { align-items: center; }

/* Science hero: silicone film drawn over healed skin */
.elementor .e-con.ks-filmskin { position: relative; width: 100%; }
.ks-filmskin-img img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; filter: saturate(.9); }
.elementor .ks-filmskin-film { position: absolute; inset: 0; margin: 0; pointer-events: none; }
.ks-filmskin-film svg { display: block; width: 100%; height: 100%; }
html.ks-motion .ks-filmskin .ks-film-line, html.ks-motion .ks-filmskin .ks-film-glow { stroke-dasharray: 1100; stroke-dashoffset: 1100; transition: stroke-dashoffset 1.6s cubic-bezier(.45, 0, .55, 1) .2s; }
html.ks-motion .ks-filmskin.is-in .ks-film-line, html.ks-motion .ks-filmskin.is-in .ks-film-glow { stroke-dashoffset: 0; }
.ks-page-hero-media > .elementor-widget-html, .ks-page-hero-media > .e-con { width: 100%; }

/* Evidence on navy */
.ks-stats--dark .ks-vs { color: var(--ks-white-70); }
.ks-stats--dark .ks-stat-text cite { color: var(--ks-ice); }

/* Where to buy: market pills */
.ks-market-tabs .e-n-tabs-heading { flex-wrap: nowrap; overflow-x: auto; gap: 8px; padding-bottom: 4px; scrollbar-width: thin; }
.ks-market-tabs .e-n-tabs-heading .e-n-tab-title {
	flex: none; min-height: 44px; margin: 0; padding: 10px 20px; border: 1px solid var(--ks-navy-30); white-space: nowrap;
	transition: background-color .2s, color .2s, border-color .2s;
}
.ks-market-tabs .e-n-tabs-heading .e-n-tab-title[aria-selected="true"] { border-color: var(--ks-navy); }
.ks-market-tabs .e-n-tabs-content > .e-con { padding-top: 8px; }
.ks-channel { padding: 24px; border: 1px solid var(--ks-navy-12); border-radius: 10px; background: var(--ks-tint); height: 100%; }
.ks-channel .elementor-icon-box-icon { line-height: 0; }
.ks-channel .elementor-icon-box-title { margin: 0 0 6px; }
.ks-channel .elementor-icon-box-description { margin: 0; }

/* CTA band */
.ks-cta-img img { display: block; width: 100%; height: auto; max-height: 380px; object-fit: contain; }

/* Globe on a navy card (Become a distributor) */
.ks-globe-card .ks-globe { max-width: 420px; }

/* Legal text */
.ks-legal > * { max-width: 72ch; }
.ks-legal h2 { margin: 2em 0 .5em; font-size: clamp(1.375rem, 1.2rem + .5vw, 1.75rem); font-weight: 700; line-height: 1.2; color: var(--ks-navy); }
.ks-legal h2:first-child { margin-top: 0; }

/* ==========================================================================
   Insights (theme templates: home.php, archive.php, single-post.php)
   ========================================================================== */
body:not([class*=elementor-page-]) .site-main.ks-article, body:not([class*=elementor-page-]) .site-main.ks-insights-index { max-width: none; padding-inline: 0; }
.ks-wrap { width: 100%; max-width: calc(1344px + 2 * var(--ks-gutter)); margin-inline: auto; padding-inline: var(--ks-gutter); }
.ks-wrap--narrow { max-width: calc(46rem + 2 * var(--ks-gutter)); }
.ks-eyebrow { display: inline-block; margin: 0 0 12px; font-size: .75rem; font-weight: 700; letter-spacing: .12em; line-height: 1.6; text-transform: uppercase; color: var(--ks-muted); }
.ks-eyebrow--gold { color: var(--ks-gold); }
.ks-article-hero { position: relative; z-index: 0; padding: 88px 0 72px; background: var(--ks-navy); color: #fff; overflow: hidden; }
.ks-article-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(55% 60% at 80% 30%, rgba(56, 98, 167, .32), transparent 70%); }
.ks-article-hero .ks-article-title { margin: 0; max-width: 22ch; font-size: clamp(2.25rem, 1.5rem + 2.6vw, 4rem); font-weight: 900; line-height: 1.05; letter-spacing: -.02em; color: #fff; }
.ks-article .ks-article-hero .ks-article-title { max-width: none; font-size: clamp(2rem, 1.4rem + 2.2vw, 3.25rem); }
.ks-article-lead { margin: 24px 0 0; max-width: 52ch; font-size: clamp(1.125rem, 1rem + .6vw, 1.5rem); font-weight: 300; line-height: 1.45; color: var(--ks-white-70); }
.ks-article-meta { margin: 24px 0 0; font-size: .8125rem; color: var(--ks-white-70); }
.ks-cat-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; }
.ks-cat-filter a {
	display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1px solid var(--ks-white-40); border-radius: 999px;
	color: #fff; font-size: .875rem; font-weight: 700; text-decoration: none; transition: background-color .2s, border-color .2s;
}
.ks-cat-filter a:hover { border-color: #fff; background: var(--ks-white-08); color: #fff; }
.ks-cat-filter a[aria-current="page"] { background: #fff; border-color: #fff; color: var(--ks-navy); }
.ks-post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 32px; padding-block: 72px; }
.ks-post-grid--two { grid-template-columns: repeat(2, 1fr); padding-block: 32px 0; }
.ks-post-card { display: flex; flex-direction: column; color: var(--ks-navy); text-decoration: none; }
.ks-post-card:hover { color: var(--ks-navy); }
.ks-post-card__img { display: block; overflow: hidden; border-radius: 10px; background: var(--ks-tint); aspect-ratio: 3 / 2; }
.ks-post-card__img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ks-ease); }
.ks-post-card:hover .ks-post-card__img img { transform: scale(1.03); }
.ks-post-card__body { display: flex; flex-direction: column; padding-top: 20px; }
.ks-post-card__body .ks-eyebrow { margin-bottom: 8px; }
.ks-post-card .ks-post-card__title { margin: 0; font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem); font-weight: 700; line-height: 1.25; color: var(--ks-navy); }
.ks-post-card:hover .ks-post-card__title { text-decoration: underline; text-underline-offset: 4px; }
.ks-post-card__excerpt { margin-top: 8px; color: var(--ks-muted); }
.ks-pagination { padding-bottom: 72px; }
.ks-pagination .nav-links { display: flex; gap: 8px; }
.ks-pagination .page-numbers { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0 12px; border: 1px solid var(--ks-navy-12); border-radius: 999px; color: var(--ks-navy); text-decoration: none; }
.ks-pagination .page-numbers.current { background: var(--ks-navy); color: #fff; }
.ks-article-figure { position: relative; z-index: 1; margin: -40px auto 0; }
.ks-article-figure img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; }
.ks-article-body { padding-block: 48px 24px; font-size: 1.0625rem; line-height: 1.75; color: var(--ks-text); }
.ks-article-body > * { max-width: 68ch; }
.ks-article-body h2.wp-block-heading { margin: 2em 0 .5em; font-size: clamp(1.375rem, 1.2rem + .5vw, 1.75rem); font-weight: 700; line-height: 1.2; color: var(--ks-navy); }
.ks-article-body p { margin: 0 0 1em; }
.ks-article-body ul, .ks-article-body ol { margin: 0 0 1.2em; padding-left: 1.3em; }
.ks-article-body li { margin: .4em 0; }
.ks-article-body a { color: var(--ks-blue); text-decoration: underline; text-underline-offset: 3px; }
.ks-article-body .ks-article-note { margin-top: 2em; padding-top: 16px; border-top: 1px solid var(--ks-navy-12); font-size: .8125rem; color: var(--ks-muted); }
.ks-article-footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; padding-block: 24px 72px; border-top: 1px solid var(--ks-navy-12); }
a.ks-text-link { font-weight: 700; color: var(--ks-blue); text-decoration: none; }
.ks-text-link::before { content: "\2190\00a0"; }
.ks-article-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.ks-pill { display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px; border-radius: 6px; font-weight: 700; font-size: .9375rem; text-decoration: none; transition: background-color .2s, border-color .2s; }
a.ks-pill--navy { background: var(--ks-navy); color: #fff; }
a.ks-pill--navy:hover { background: var(--ks-hover); color: #fff; }
a.ks-pill--outline { border: 1px solid var(--ks-navy-30); color: var(--ks-navy); }
a.ks-pill--outline:hover { border-color: var(--ks-navy); color: var(--ks-navy); }
.ks-article-related { padding: 72px 0 96px; background: var(--ks-tint); }
.ks-article-related .ks-related-title { margin: 0; font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.5rem); font-weight: 700; color: var(--ks-navy); }
@media (max-width: 1024px) { .ks-post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767px) {
	.ks-post-grid, .ks-post-grid--two { grid-template-columns: 1fr; }
	.ks-article-hero { padding: 56px 0; }
	.ks-article-figure { margin-top: 0; padding-top: 24px; }
}

/* --------------------------------------------------------------------------
   Reviews part 3 and 5 (13 Oct 2026): Science and Insights additions
   -------------------------------------------------------------------------- */
.ks-center, .ks-center .elementor-heading-title, .ks-center p { text-align: center; }
/* Science: scar types with the client's illustrative images */
.ks-scar-img img { display: block; width: 100%; height: auto; aspect-ratio: 436 / 268; object-fit: cover; border-radius: 8px; }
.ks-filmskin--wide .ks-filmskin-img img { aspect-ratio: 21 / 9; }
/* Science: synergistic action (two cards joining into one result) */
.elementor .e-con.ks-synergy-card { padding: 32px 28px; }
.elementor .ks-synergy-sub { width: 100%; padding-top: 20px; border-top: 1px solid var(--ks-navy-12); }
.elementor .ks-synergy-join-wrap { width: 50%; max-width: 440px; margin: 8px auto 0; }
.ks-synergy-join { display: block; width: 100%; height: auto; overflow: visible; }
.ks-synergy-join path { fill: none; stroke: var(--ks-gold); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.elementor .e-con.ks-synergy-result { margin-top: 8px; padding: 36px 32px; border-radius: 10px; background: var(--ks-navy); }
@media (max-width: 900px) { .elementor .ks-synergy-join-wrap { display: none; } .elementor .e-con.ks-synergy-result { margin-top: 16px; } }
/* Insights: massage techniques (illustrations from the HCP brochure) */
.ks-article-body > .ks-technique-grid { max-width: none; }
.ks-technique-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; margin: 8px 0 32px; }
.ks-technique { margin: 0; }
.ks-technique img { display: block; width: 100%; height: auto; border-radius: 8px; }
.ks-technique figcaption { margin-top: 12px; font-size: .9375rem; font-style: normal; line-height: 1.55; text-align: left; color: var(--ks-text); }
.ks-technique figcaption strong { display: block; margin-bottom: 4px; color: var(--ks-navy); }
.ks-article-body h3.wp-block-heading { margin: 1.6em 0 .4em; font-size: 1.1875rem; font-weight: 700; line-height: 1.3; color: var(--ks-navy); }
.ks-article-body .ks-article-refs li { font-size: .875rem; line-height: 1.55; color: var(--ks-muted); }
@media (max-width: 640px) { .ks-technique-grid { grid-template-columns: 1fr; } }
/* Where to buy: local distribution partner (review part 6) */
.elementor .e-con.ks-partner-card { max-width: 420px; padding: 24px 28px; }
.ks-page-hero .ks-globe-wrap { width: 100%; }

/* Forms: honeypot (off-screen) and server error message (inc/forms.php) */
.ks-hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.ks-form-error { margin: 12px 0 0; font-size: .875rem; font-weight: 700; color: var(--ks-danger, #B42318); }

/* Legal documents: meta line, sub-headings, tables, language sections, related links (MyDermAssist app documents) */
.ks-legal .ks-legal-meta { margin-bottom: 2em; font-size: .875rem; color: var(--ks-muted); }
.ks-legal h3 { margin: 1.6em 0 .4em; font-size: 1.125rem; font-weight: 700; line-height: 1.3; color: var(--ks-navy); }
.ks-legal > .ks-table-wrap { max-width: none; margin: 1.2em 0 1.6em; overflow-x: auto; }
.ks-legal .ks-table { min-width: 560px; font-size: .9375rem; }
.ks-legal .ks-table th, .ks-legal .ks-table td { vertical-align: top; }
.ks-legal .ks-legal-lang + .ks-legal-lang { margin-top: 3em; padding-top: 2.5em; border-top: 1px solid var(--ks-navy-12); }
.ks-legal ol li { margin: .5em 0; }
.ks-legal-related p { max-width: 72ch; padding-top: 24px; border-top: 1px solid var(--ks-navy-12); }

/* --------------------------------------------------------------------------
   Client observations (15 Oct 2026)
   -------------------------------------------------------------------------- */
/* BIOGEL: "Suitable for scar massage" low-key, bottom corner, away from the pack claims */
.ks-format-badge .elementor-heading-title { padding: 4px 10px; background: rgba(255, 255, 255, .85); border: 1px solid var(--ks-navy-12); color: var(--ks-muted); font-size: .6875rem; }
/* KELOSCAR System: hero animation inside an inner-page hero; three-pillar diagram on a light band */
.ks-page-hero--stage .e-con.ks-stage { max-width: 560px; }
.ks-eco--light .ks-eco-node circle { fill: #fff; stroke: var(--ks-navy-30); }
.ks-eco--light .ks-eco-node text { fill: var(--ks-navy); }
.ks-eco--light .ks-eco-node .ks-eco-sub { fill: var(--ks-muted); }
.ks-eco--light .ks-eco-md-sub { fill: var(--ks-ice); }
/* Home: HCP videos larger, in one row under the intro */
.ks-videos--wide > .ks-video:nth-child(even) { margin-top: 0; }
.ks-videos--wide .ks-video-play .elementor-icon { width: 72px; height: 72px; }
.ks-videos--wide .ks-video-play svg { width: 28px; height: 28px; }
.elementor .ks-videos--wide .e-con.ks-video-meta { padding: 24px; }
@media (max-width: 1024px) { .ks-videos--wide > .ks-video:nth-child(even) { margin-top: 0; } }
/* Home: regions without countries */
.ks-market--region .elementor-icon-box-description:empty { display: none; }
.ks-market--region .elementor-icon-box-title { margin: 0; }
/* Footer: company links */
.ks-footer-company a { text-decoration: none; }
.ks-footer-company a:hover, .ks-footer-company a:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
.ks-footer-company p { line-height: 2; }
/* Results & reviews: real-world cases */
.elementor .e-con.ks-case { padding: 24px; background: #fff; }
.ks-case-img img { display: block; width: 100%; aspect-ratio: 259 / 209; object-fit: cover; border-radius: 6px; }
/* Science: skin illustration */
.ks-skin-figure img { max-width: 560px; margin: 0 auto; border-radius: 10px; background: #fff; }
.ks-skin-figure figcaption { margin-top: 8px; font-size: .8125rem; color: var(--ks-muted); text-align: center; }
/* Where to buy: country selector + one panel at a time */
.ks-wtb-select label { display: block; margin-bottom: 8px; font-weight: 700; font-size: .9375rem; color: var(--ks-navy); }
.ks-wtb-select select {
	width: 100%; max-width: 420px; min-height: 56px; padding: 0 44px 0 16px; border: 1px solid var(--ks-navy-30); border-radius: 6px; appearance: none;
	font: inherit; font-size: 1rem; color: var(--ks-navy);
	background: #fff url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27%3E%3Cpath d=%27M6 9l6 6 6-6%27 fill=%27none%27 stroke=%27%230C2044%27 stroke-width=%271.5%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27/%3E%3C/svg%3E") right 14px center / 18px no-repeat;
}
.ks-wtb-select select:focus { outline: none; border-color: var(--ks-blue); box-shadow: 0 0 0 3px rgba(56, 98, 167, .2); }
html.ks-js .elementor .e-con.ks-wtb-panel:not(.is-active) { display: none; }
.elementor .e-con.ks-wtb-panel { padding-top: 32px; border-top: 1px solid var(--ks-navy-12); }
.elementor .e-con.ks-distributor-card { padding: 28px 32px; }
.ks-distributor-logo img { display: block; width: 180px; height: auto; }
/* Insights: massage steps with the brochure illustration */
.ks-article-body > .ks-massage-step { max-width: none; }
.ks-massage-step { display: grid; grid-template-columns: minmax(0, 68ch) 180px; gap: 24px 32px; align-items: start; margin: 1.6em 0 0; }
.ks-massage-step h3.wp-block-heading { margin-top: 0; }
.ks-massage-step-img { display: block; width: 180px; height: 180px; object-fit: cover; border-radius: 10px; }
@media (max-width: 767px) { .ks-massage-step { grid-template-columns: 1fr; } .ks-massage-step-img { width: 140px; height: 140px; } }
/* Home hero: video banner (15 Oct 2026). Full width below the header; 16:9 on desktop, 9:16 on phones. The content-width
   version (16:9 at 1344 px on a navy band, never cropped) was tried on 15 Oct and dropped: the client prefers this one */
.elementor .e-con.e-con.ks-hero--video { padding: var(--ks-header-h) 0 0; min-height: 0; }
.elementor .e-con.ks-hero--video > .e-con-inner { max-width: none; padding: 0; }
html.ks-static .ks-hero--video { min-height: 0; }
.elementor .ks-hero-video-wrap { width: 100%; }
.ks-hero-media {
	position: relative; width: 100%; aspect-ratio: 16 / 9; max-height: calc(100vh - var(--ks-header-h));
	background: var(--ks-navy) var(--ks-poster-d) center / cover no-repeat;
}
.ks-hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ks-video-toggle {
	position: absolute; right: 24px; bottom: 24px; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px;
	border: 1px solid var(--ks-white-40); border-radius: 50%; background: rgba(12, 32, 68, .55); color: #fff; cursor: pointer;
	transition: background-color .2s;
}
.ks-video-toggle[hidden] { display: none; }
.ks-video-toggle:hover { background: rgba(12, 32, 68, .85); }
.ks-video-toggle:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.ks-video-toggle-icon { display: block; width: 12px; height: 14px; border-left: 4px solid #fff; border-right: 4px solid #fff; }
.ks-video-toggle.is-paused .ks-video-toggle-icon { width: 0; height: 0; border-style: solid; border-width: 8px 0 8px 13px; border-color: transparent transparent transparent #fff; margin-left: 3px; }
@media (max-width: 767px) {
	.ks-hero-media { aspect-ratio: 9 / 16; max-height: none; background-image: var(--ks-poster-m); }
	.ks-video-toggle { right: 16px; bottom: 16px; }
}
.ks-sr-only, .elementor .ks-sr-only {
	position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
	clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.elementor .e-con > .elementor-widget.ks-store-badges-wrap { align-self: stretch; }
