/* Clinovex Hub: round 4 refinements (loads after addons.css, so these rules win) */

/* ---------- Home: stats as a solid blue band ---------- */
.e-con.cx-sec--stats {
	background: linear-gradient(135deg, #0f3fb4 0%, #1450e6 100%);
	padding-block: 30px !important;
}
.e-con.cx-sec--stats > .e-con.cx-stats { max-width: 1240px; }
.e-con.cx-stat { padding: 6px 14px !important; justify-content: center; }
.e-con.cx-stat + .e-con.cx-stat::before {
	top: 4%; bottom: 4%; width: 2px; background: rgba(255, 255, 255, .6);
}
.elementor-widget.cx-stat__num .elementor-heading-title {
	font-size: clamp(2rem, 3.4vw, 2.9rem); font-weight: 500; letter-spacing: 0; color: #fff;
}
.elementor-widget.cx-stat__label,
.elementor-widget.cx-stat__label p {
	font-size: clamp(.92rem, 1.2vw, 1.1rem); font-weight: 600; letter-spacing: 0; text-transform: none; color: #fff;
}
.elementor-widget.cx-stat__icon .elementor-icon {
	width: auto; height: auto; background: transparent; border-radius: 0; color: #fff; font-size: 40px;
}
.elementor-widget.cx-stat__icon .elementor-icon svg { width: 40px; height: 40px; }
@media (max-width: 767px) {
	.e-con.cx-sec--stats { padding-block: 24px !important; }
	.e-con.cx-sec--stats > .e-con.cx-stats { row-gap: 20px; }
	.elementor-widget.cx-stat__num .elementor-heading-title { font-size: 2rem; }
}

/* ---------- Home: certification logos as compact cards ---------- */
.e-con.cx-sec--logos { background: #fff; border-bottom: 0; }
.elementor-widget.cx-logos { max-width: 1240px; }
.elementor-widget.cx-logos .swiper-slide { padding: 6px 0; }
.elementor-widget.cx-logos .swiper-slide-inner {
	box-sizing: border-box; height: 100px; padding: 12px 18px;
	background: #fff; border: 2px solid var(--color-primary-700, #1040b8); border-radius: 8px;
	box-shadow: 0 14px 26px -22px rgba(6, 20, 54, .6);
	transition: transform .25s ease, box-shadow .25s ease;
}
.elementor-widget.cx-logos .swiper-slide:hover .swiper-slide-inner { transform: translateY(-3px); box-shadow: 0 20px 30px -22px rgba(6, 20, 54, .7); }
.elementor-widget.cx-logos .swiper-slide-image { max-height: 76px; filter: none; opacity: 1; }
.elementor-widget.cx-logos .swiper-slide:hover .swiper-slide-image { transform: none; }
.elementor-widget.cx-logos .swiper-pagination-bullet { width: 8px; height: 8px; margin: 0 4px !important; background: #b9c9ee; opacity: 1; }
.elementor-widget.cx-logos .swiper-pagination-bullet-active { background: var(--color-primary-600, #1450e6); }
@media (max-width: 1024px) {
	.elementor-widget.cx-logos .swiper-slide-inner { height: 92px; }
	.elementor-widget.cx-logos .swiper-slide-image { max-height: 66px; }
}
@media (max-width: 767px) {
	.elementor-widget.cx-logos .swiper-slide-inner { height: 82px; padding: 10px 12px; }
	.elementor-widget.cx-logos .swiper-slide-image { max-height: 60px; }
}

/* ---------- Home: photo band ---------- */
.elementor-widget.cx-band__img img {
	height: auto; aspect-ratio: 1400 / 638; max-height: 560px; object-fit: cover; object-position: 50% 30%;
}
@media (max-width: 767px) {
	.elementor-widget.cx-band__img img { max-height: 300px; }
}

/* ---------- Referral page: Industries We Serve + Apply Now (inside the content column, after "How it works") ---------- */
.e-con.cx-ind-wrap, .e-con.cx-refcta-wrap, .e-con.cx-sec--refextra > .e-con { width: 100%; max-width: 100%; }
.e-con.cx-sec--refextra > .e-con { margin-inline: auto; max-width: 1000px; }
.e-con.cx-ind { width: 100%; }
.e-con.cx-ind-wrap { padding-top: 14px; }

.e-con.cx-ind__lead { grid-column: 1 / -1; padding: 0 0 8px; }
.elementor-widget.cx-ind__pill { width: auto; align-self: flex-start; }
.elementor-widget.cx-ind__pill .elementor-heading-title {
	display: inline-block; margin: 0; padding: .5rem 1.2rem; border-radius: 999px; border: 1px solid #bccdf3; background: #fff;
	font-family: inherit; font-size: .92rem; font-weight: 700; line-height: 1.2; color: var(--color-primary-700, #1040b8);
}
.elementor-widget.cx-ind__title .elementor-heading-title {
	margin: 0; font-family: inherit; font-size: clamp(1.7rem, 2.7vw, 2.4rem); font-weight: 800; line-height: 1.15; letter-spacing: -.02em; color: var(--color-ink, #061436);
}
.elementor-widget.cx-ind__title .cx-ind__accent { color: var(--color-primary-600, #1450e6); }
.elementor-widget.cx-ind__text, .elementor-widget.cx-ind__text p {
	max-width: 640px; margin: 0; font-size: 1.02rem; line-height: 1.7; color: var(--color-secondary-600, #475569);
}

.e-con.cx-indcard {
	position: relative; overflow: hidden; border-radius: 22px; background: #eef3fb; cursor: pointer; align-items: flex-start;
	transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.e-con.cx-indcard::after {
	content: ""; position: absolute; top: 0; right: 0; width: 64px; height: 64px; z-index: 0;
	border-left: 7px solid #fff; border-bottom: 7px solid #fff; border-bottom-left-radius: 20px; box-sizing: border-box;
	background:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231450e6' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") 54% 56% / 22px no-repeat,
		#dbe6fb;
	transition: background-color .25s ease;
}
.e-con.cx-indcard:hover, .e-con.cx-indcard:focus-visible {
	transform: translateY(-4px); background: #e6eefb; box-shadow: 0 30px 50px -34px rgba(6, 20, 54, .45); outline: 0;
}
.e-con.cx-indcard:hover::after, .e-con.cx-indcard:focus-visible::after {
	background:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") 54% 56% / 22px no-repeat,
		var(--color-primary-600, #1450e6);
}
.e-con.cx-indcard > .elementor-widget, .e-con.cx-indcard > .e-con { position: relative; z-index: 1; }
.elementor-widget.cx-indcard__ic { width: auto; align-self: flex-start; }
.elementor-widget.cx-indcard__ic .elementor-icon {
	display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
	background: var(--color-primary-600, #1450e6); color: #fff; font-size: 23px; line-height: 1;
}
.elementor-widget.cx-indcard__ic .elementor-icon svg { width: 23px; height: 23px; fill: currentColor; }
.elementor-widget.cx-indcard__title .elementor-heading-title {
	margin: 0; font-family: inherit; font-size: 1.3rem; font-weight: 800; line-height: 1.2; letter-spacing: -.01em; color: var(--color-ink, #061436);
}
.elementor-widget.cx-indcard__text, .elementor-widget.cx-indcard__text p {
	margin: 0; font-size: .98rem; line-height: 1.65; color: var(--color-secondary-600, #475569);
}

/* ---------- Header: the cart icon only shows once the cart holds at least one item ----------
   WooCommerce cart fragments swap the whole .cx-cart element after add-to-cart, so it appears (with .has-items) right away. */
.cx-cart:not(.has-items) { display: none; }
@media (max-width: 1023px) {
	.cx-cart:not(.has-items) + .cx-burger { margin-left: auto; }
}

/* Apply Now card inside the column */
.e-con.cx-refcta-wrap > .e-con.cx-refcta { width: 100%; max-width: 100%; }
.e-con.cx-refcta-wrap .elementor-widget.cx-refcta__title .elementor-heading-title { font-size: clamp(1.55rem, 2.5vw, 2.3rem); }

@media (max-width: 767px) {
	.e-con.cx-indcard::after { width: 56px; height: 56px; }
	.elementor-widget.cx-indcard__title .elementor-heading-title { font-size: 1.2rem; }
}
@media (prefers-reduced-motion: reduce) {
	.e-con.cx-indcard, .elementor-widget.cx-logos .swiper-slide-inner { transition: none; }
	.e-con.cx-indcard:hover, .e-con.cx-indcard:focus-visible, .elementor-widget.cx-logos .swiper-slide:hover .swiper-slide-inner { transform: none; }
}
