/* =========================================================
   QI Guides V1.1
   Page ID: 21
   Full-width section backgrounds + centered content shell
   ========================================================= */

.page-id-21 #content.content-area.page-wrapper {
	width: 100%;
	max-width: none;
	padding-top: 0;
	padding-bottom: 0;
}

/*
 * Flatsome constrains normal pages inside .row-main and adds
 * horizontal column gutters. Guides V1 uses its own .qig-shell,
 * so remove only the Page 21 outer constraints here.
 */
.page-id-21 #content.content-area.page-wrapper > .row.row-main {
	width: 100%;
	max-width: none;
	margin-right: 0;
	margin-left: 0;
}

.page-id-21 #content.content-area.page-wrapper
> .row.row-main
> .large-12.col {
	flex-basis: 100%;
	width: 100%;
	max-width: 100%;
	padding-right: 0;
	padding-left: 0;
}

.page-id-21 #content.content-area.page-wrapper
> .row.row-main
> .large-12.col
> .col-inner {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
}

.page-id-21 .entry-content {
	padding-top: 0;
	padding-bottom: 0;
}

.qi-guides-v1 {
	--qig-primary: #0f9693;
	--qig-primary-dark: #0b7d7b;
	--qig-navy: #0d2f43;
	--qig-blue: #0b4f73;
	--qig-surface: #f6fafb;
	--qig-soft: #eaf7f6;
	--qig-text: #173b4a;
	--qig-muted: #6d8189;
	--qig-border: #d8e6e9;
	--qig-white: #ffffff;
	--qig-danger: #a83232;
	--qig-danger-bg: #fff5f4;

	width: 100%;
	color: var(--qig-text);
	background: var(--qig-white);
}

.qi-guides-v1 *,
.qi-guides-v1 *::before,
.qi-guides-v1 *::after {
	box-sizing: border-box;
}

.qi-guides-v1 a {
	text-decoration: none;
}

.qig-shell {
	width: min(1180px, calc(100% - 48px));
	margin-right: auto;
	margin-left: auto;
}

.qig-section {
	padding: 76px 0;
	scroll-margin-top: 100px;
}

.qig-section-light {
	background: var(--qig-surface);
}

.qig-section-dark {
	background:
		linear-gradient(
			135deg,
			#0d2f43 0%,
			#123f55 100%
		);
	color: #dce9ed;
}

.qig-kicker {
	margin-bottom: 12px;
	color: var(--qig-primary);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .14em;
	line-height: 1.3;
}

.qig-section-heading {
	max-width: 790px;
	margin-bottom: 36px;
}

.qig-section-heading h2 {
	margin: 0 0 15px;
	color: var(--qig-navy);
	font-size: clamp(29px, 3vw, 42px);
	font-weight: 800;
	letter-spacing: -.035em;
	line-height: 1.25;
}

.qig-section-heading > p {
	margin: 0;
	color: var(--qig-muted);
	font-size: 16px;
	line-height: 1.9;
}

.qig-section-heading-light h2 {
	color: var(--qig-white);
}

.qig-section-heading-light > p {
	color: #bcd0d7;
}


/* =========================================================
   Hero
   ========================================================= */

.qig-hero {
	position: relative;
	overflow: hidden;
	padding: 88px 0 76px;
	background:
		radial-gradient(
			circle at 80% 20%,
			rgba(15, 150, 147, .15),
			transparent 36%
		),
		linear-gradient(
			145deg,
			#f7fbfc 0%,
			#edf7f7 100%
		);
	border-bottom: 1px solid var(--qig-border);
}

.qig-hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(330px, .75fr);
	align-items: center;
	gap: 70px;
}

.qig-hero-copy h1 {
	margin: 0 0 20px;
	color: var(--qig-navy);
	font-size: clamp(42px, 5.5vw, 68px);
	font-weight: 850;
	letter-spacing: -.055em;
	line-height: 1.08;
}

.qig-hero-lead {
	max-width: 720px;
	margin: 0;
	color: #46636f;
	font-size: 18px;
	line-height: 1.9;
}

.qig-hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 30px;
}

.qig-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 22px;
	border: 1px solid transparent;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 750;
	transition:
		background-color .2s ease,
		border-color .2s ease,
		color .2s ease,
		transform .2s ease;
}

.qig-button:hover {
	transform: translateY(-1px);
}

.qig-button-primary {
	background: var(--qig-primary);
	color: var(--qig-white) !important;
}

.qig-button-primary:hover {
	background: var(--qig-primary-dark);
}

.qig-button-secondary {
	border-color: var(--qig-border);
	background: var(--qig-white);
	color: var(--qig-navy) !important;
}

.qig-button-secondary:hover {
	border-color: #a9c9cd;
	background: #fafdfe;
}

.qig-hero-panel {
	padding: 30px;
	border: 1px solid rgba(11, 79, 115, .1);
	border-radius: 20px;
	background: rgba(255, 255, 255, .92);
	box-shadow: 0 22px 60px rgba(13, 47, 67, .09);
}

.qig-hero-panel-label {
	margin-bottom: 9px;
	color: var(--qig-primary);
	font-size: 11px;
	font-weight: 850;
	letter-spacing: .13em;
}

.qig-hero-panel-title {
	margin-bottom: 22px;
	color: var(--qig-navy);
	font-size: 22px;
	font-weight: 800;
	line-height: 1.45;
}

.qig-hero-points {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.qig-hero-points > div {
	min-height: 94px;
	padding: 17px;
	border: 1px solid var(--qig-border);
	border-radius: 12px;
	background: var(--qig-surface);
}

.qig-hero-points strong,
.qig-hero-points span {
	display: block;
}

.qig-hero-points strong {
	margin-bottom: 5px;
	color: var(--qig-blue);
	font-size: 15px;
	font-weight: 850;
}

.qig-hero-points span {
	color: var(--qig-muted);
	font-size: 12px;
	line-height: 1.55;
}


/* =========================================================
   Topic navigation
   ========================================================= */

.qig-topic-nav {
	padding: 20px 0;
	border-bottom: 1px solid var(--qig-border);
	background: var(--qig-white);
}

.qig-topic-nav nav {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 8px;
}

.qig-topic-nav a {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 72px;
	padding: 12px 14px;
	border-radius: 9px;
	color: var(--qig-text);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.45;
	transition:
		background-color .2s ease,
		color .2s ease;
}

.qig-topic-nav a:hover {
	background: var(--qig-soft);
	color: var(--qig-primary-dark);
}

.qig-topic-nav a span {
	display: block;
	margin-bottom: 4px;
	color: var(--qig-primary);
	font-size: 10px;
	font-weight: 850;
	letter-spacing: .08em;
}


/* =========================================================
   Information cards
   ========================================================= */

.qig-two-column {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
}

.qig-info-card,
.qig-path-card {
	padding: 30px;
	border: 1px solid var(--qig-border);
	border-radius: 16px;
	background: var(--qig-white);
	box-shadow: 0 10px 34px rgba(13, 47, 67, .045);
}

.qig-card-number {
	margin-bottom: 18px;
	color: var(--qig-primary);
	font-size: 12px;
	font-weight: 850;
	letter-spacing: .12em;
}

.qig-info-card h3,
.qig-path-card h3 {
	margin: 0 0 13px;
	color: var(--qig-navy);
	font-size: 21px;
	font-weight: 800;
	line-height: 1.45;
}

.qig-info-card p,
.qig-path-card p {
	margin: 0 0 13px;
	color: var(--qig-muted);
	font-size: 15px;
	line-height: 1.85;
}

.qig-info-card p:last-child,
.qig-path-card p:last-child {
	margin-bottom: 0;
}


/* =========================================================
   Drug cards
   ========================================================= */

.qig-drug-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
}

.qig-drug-card {
	padding: 30px;
	border: 1px solid var(--qig-border);
	border-radius: 16px;
	background: var(--qig-white);
}

.qig-drug-brand {
	margin-bottom: 12px;
	color: var(--qig-primary);
	font-size: 11px;
	font-weight: 850;
	letter-spacing: .13em;
}

.qig-drug-card h3,
.qig-pe-main h3 {
	margin: 0;
	color: var(--qig-navy);
	font-size: 29px;
	font-weight: 850;
	letter-spacing: -.025em;
}

.qig-drug-cn {
	margin: 4px 0 18px;
	color: var(--qig-muted);
	font-size: 14px;
	font-weight: 600;
}

.qig-drug-card > p {
	min-height: 82px;
	margin: 0 0 22px;
	color: var(--qig-muted);
	font-size: 14px;
	line-height: 1.8;
}

.qig-drug-meta {
	border-top: 1px solid var(--qig-border);
}

.qig-drug-meta > div {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 13px 0;
	border-bottom: 1px solid var(--qig-border);
}

.qig-drug-meta span {
	color: var(--qig-muted);
	font-size: 12px;
}

.qig-drug-meta strong {
	color: var(--qig-text);
	font-size: 12px;
	text-align: right;
}

.qig-note {
	margin-top: 24px;
	padding: 18px 20px;
	border-left: 3px solid var(--qig-primary);
	background: var(--qig-soft);
	color: #49656f;
	font-size: 14px;
	line-height: 1.8;
}

.qig-note strong {
	color: var(--qig-navy);
}


/* =========================================================
   PE
   ========================================================= */

.qig-pe-grid {
	display: grid;
	grid-template-columns: .85fr 1.15fr;
	gap: 24px;
}

.qig-pe-main,
.qig-pe-side {
	padding: 32px;
	border: 1px solid rgba(255, 255, 255, .12);
	border-radius: 16px;
	background: rgba(255, 255, 255, .06);
}

.qig-pe-main h3,
.qig-pe-side h3 {
	color: var(--qig-white);
}

.qig-pe-main h3 {
	margin-bottom: 18px;
}

.qig-pe-main p {
	margin: 0 0 14px;
	color: #bfd2d9;
	font-size: 15px;
	line-height: 1.85;
}

.qig-pe-side h3 {
	margin: 0 0 15px;
	font-size: 21px;
}

.qig-pe-side dl {
	margin: 0;
}

.qig-pe-side dl > div {
	padding: 15px 0;
	border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.qig-pe-side dl > div:last-child {
	border-bottom: 0;
}

.qig-pe-side dt {
	margin-bottom: 4px;
	color: var(--qig-white);
	font-size: 14px;
	font-weight: 800;
}

.qig-pe-side dd {
	margin: 0;
	color: #bcd0d7;
	font-size: 13px;
	line-height: 1.7;
}


/* =========================================================
   Comparison table
   ========================================================= */

.qig-table-wrap {
	overflow-x: auto;
	border: 1px solid var(--qig-border);
	border-radius: 14px;
	background: var(--qig-white);
}

.qig-comparison-table {
	width: 100%;
	min-width: 820px;
	margin: 0;
	border: 0;
	border-collapse: collapse;
}

.qig-comparison-table th,
.qig-comparison-table td {
	padding: 18px 20px;
	border: 0;
	border-bottom: 1px solid var(--qig-border);
	text-align: left;
	vertical-align: middle;
}

.qig-comparison-table th {
	background: #eef6f7;
	color: var(--qig-navy);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .02em;
}

.qig-comparison-table td {
	color: #49636e;
	font-size: 14px;
	line-height: 1.6;
}

.qig-comparison-table tbody tr:last-child td {
	border-bottom: 0;
}

.qig-comparison-table td:first-child strong,
.qig-comparison-table td:first-child span {
	display: block;
}

.qig-comparison-table td:first-child strong {
	color: var(--qig-navy);
	font-size: 15px;
}

.qig-comparison-table td:first-child span {
	margin-top: 2px;
	color: var(--qig-muted);
	font-size: 11px;
}


/* =========================================================
   Safety
   ========================================================= */

.qig-safety-alert {
	margin-bottom: 24px;
	padding: 28px 30px;
	border: 1px solid #f0cfcb;
	border-left: 4px solid var(--qig-danger);
	border-radius: 14px;
	background: var(--qig-danger-bg);
}

.qig-alert-label {
	margin-bottom: 8px;
	color: var(--qig-danger);
	font-size: 11px;
	font-weight: 850;
	letter-spacing: .12em;
}

.qig-safety-alert h3 {
	margin: 0 0 10px;
	color: #6e2424;
	font-size: 22px;
	font-weight: 800;
}

.qig-safety-alert p {
	margin: 0;
	color: #765050;
	font-size: 14px;
	line-height: 1.85;
}

.qig-safety-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
}

.qig-safety-grid article {
	padding: 24px;
	border: 1px solid var(--qig-border);
	border-radius: 14px;
	background: var(--qig-white);
}

.qig-safety-grid h3 {
	margin: 0 0 10px;
	color: var(--qig-navy);
	font-size: 17px;
	font-weight: 800;
}

.qig-safety-grid p {
	margin: 0;
	color: var(--qig-muted);
	font-size: 14px;
	line-height: 1.8;
}


/* =========================================================
   Decision paths
   ========================================================= */

.qig-path-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
}

.qig-path-card {
	display: flex;
	flex-direction: column;
}

.qig-path-card p {
	flex: 1;
}

.qig-text-link {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: var(--qig-primary-dark) !important;
	font-size: 13px;
	font-weight: 800;
}

.qig-text-link svg {
	width: 17px;
	height: 17px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
	transition: transform .2s ease;
}

.qig-text-link:hover svg {
	transform: translateX(3px);
}


/* =========================================================
   FAQ
   ========================================================= */

.qig-faq {
	max-width: 900px;
}

.qig-faq details {
	border-top: 1px solid var(--qig-border);
}

.qig-faq details:last-child {
	border-bottom: 1px solid var(--qig-border);
}

.qig-faq summary {
	position: relative;
	padding: 20px 48px 20px 0;
	color: var(--qig-navy);
	font-size: 16px;
	font-weight: 750;
	line-height: 1.55;
	cursor: pointer;
	list-style: none;
}

.qig-faq summary::-webkit-details-marker {
	display: none;
}

.qig-faq summary::before,
.qig-faq summary::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 6px;
	width: 14px;
	height: 2px;
	background: var(--qig-primary);
	transform: translateY(-50%);
}

.qig-faq summary::after {
	transform: translateY(-50%) rotate(90deg);
	transition: transform .2s ease;
}

.qig-faq details[open] summary::after {
	transform: translateY(-50%) rotate(0);
}

.qig-faq details > div {
	max-width: 800px;
	padding: 0 46px 21px 0;
	color: var(--qig-muted);
	font-size: 14px;
	line-height: 1.85;
}


/* =========================================================
   Products
   ========================================================= */

.qig-products-section {
	background: var(--qig-white);
}

.qig-head-row {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	max-width: none;
	gap: 20px;
}

.qig-category-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
	margin-bottom: 30px;
}

.qig-category-card {
	display: flex;
	flex-direction: column;
	min-height: 138px;
	padding: 24px 26px;
	border: 1px solid var(--qig-border);
	border-radius: 14px;
	background:
		linear-gradient(
			135deg,
			#f9fcfd 0%,
			#eef8f7 100%
		);
	transition:
		border-color .2s ease,
		transform .2s ease,
		box-shadow .2s ease;
}

.qig-category-card:hover {
	transform: translateY(-2px);
	border-color: #a8d3d1;
	box-shadow: 0 12px 30px rgba(13, 47, 67, .06);
}

.qig-category-card span {
	margin-bottom: 8px;
	color: var(--qig-primary);
	font-size: 10px;
	font-weight: 850;
	letter-spacing: .12em;
}

.qig-category-card strong {
	margin-bottom: 5px;
	color: var(--qig-navy);
	font-size: 23px;
	font-weight: 800;
}

.qig-category-card small {
	color: var(--qig-muted);
	font-size: 13px;
}

.qig-product-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
}

.qig-product-card {
	overflow: hidden;
	border: 1px solid var(--qig-border);
	border-radius: 14px;
	background: var(--qig-white);
}

.qig-product-image {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: #f7fafb;
}

.qig-product-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.qig-product-body {
	padding: 19px;
}

.qig-product-label {
	margin-bottom: 7px;
	color: var(--qig-primary);
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .08em;
}

.qig-product-title {
	display: -webkit-box;
	overflow: hidden;
	min-height: 48px;
	margin-bottom: 12px;
	color: var(--qig-navy) !important;
	font-size: 14px;
	font-weight: 750;
	line-height: 1.65;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.qig-product-price {
	min-height: 29px;
	margin-bottom: 14px;
	color: var(--qig-primary-dark);
	font-size: 17px;
	font-weight: 800;
}

.qig-product-price .woocommerce-Price-currencySymbol {
	font-size: inherit !important;
	vertical-align: baseline !important;
}

.qig-medical-note {
	margin-top: 34px;
	padding: 22px 24px;
	border: 1px solid var(--qig-border);
	border-radius: 12px;
	background: var(--qig-surface);
}

.qig-medical-note strong {
	display: block;
	margin-bottom: 6px;
	color: var(--qig-navy);
	font-size: 14px;
}

.qig-medical-note p {
	margin: 0;
	color: var(--qig-muted);
	font-size: 12px;
	line-height: 1.75;
}


/* =========================================================
   Tablet
   ========================================================= */

@media screen and (max-width: 849px) {

	.qig-shell {
		width: min(100% - 36px, 760px);
	}

	.qig-section {
		padding: 62px 0;
	}

	.qig-hero {
		padding: 68px 0 58px;
	}

	.qig-hero-grid {
		grid-template-columns: 1fr;
		gap: 34px;
	}

	.qig-hero-panel {
		max-width: 620px;
	}

	.qig-topic-nav nav {
		grid-template-columns: repeat(3, 1fr);
	}

	.qig-drug-grid,
	.qig-path-grid {
		grid-template-columns: 1fr;
	}

	.qig-drug-card > p {
		min-height: 0;
	}

	.qig-pe-grid {
		grid-template-columns: 1fr;
	}

	.qig-product-grid {
		grid-template-columns: repeat(2, 1fr);
	}

}


/* =========================================================
   Mobile
   ========================================================= */

@media screen and (max-width: 549px) {

	.qig-shell {
		width: calc(100% - 32px);
	}

	.qig-section {
		padding: 48px 0;
		scroll-margin-top: 78px;
	}

	.qig-hero {
		padding: 50px 0 42px;
	}

	.qig-hero-grid {
		gap: 28px;
	}

	.qig-hero-copy h1 {
		margin-bottom: 15px;
		font-size: 39px;
	}

	.qig-hero-lead {
		font-size: 15px;
		line-height: 1.85;
	}

	.qig-hero-actions {
		display: grid;
		grid-template-columns: 1fr;
	}

	.qig-button {
		width: 100%;
	}

	.qig-hero-panel {
		padding: 22px;
		border-radius: 16px;
	}

	.qig-hero-panel-title {
		font-size: 19px;
	}

	.qig-hero-points {
		gap: 9px;
	}

	.qig-hero-points > div {
		min-height: 86px;
		padding: 14px;
	}

	.qig-topic-nav {
		overflow: hidden;
		padding: 13px 0;
	}

	.qig-topic-nav .qig-shell {
		width: 100%;
	}

	.qig-topic-nav nav {
		display: flex;
		overflow-x: auto;
		gap: 6px;
		padding: 0 16px 5px;
		scrollbar-width: none;
	}

	.qig-topic-nav nav::-webkit-scrollbar {
		display: none;
	}

	.qig-topic-nav a {
		flex: 0 0 auto;
		min-width: 132px;
		min-height: 62px;
		padding: 10px 12px;
		background: var(--qig-surface);
	}

	.qig-section-heading {
		margin-bottom: 27px;
	}

	.qig-section-heading h2 {
		font-size: 29px;
	}

	.qig-section-heading > p {
		font-size: 14px;
		line-height: 1.8;
	}

	.qig-two-column,
	.qig-safety-grid,
	.qig-category-grid {
		grid-template-columns: 1fr;
	}

	.qig-info-card,
	.qig-path-card,
	.qig-drug-card,
	.qig-pe-main,
	.qig-pe-side {
		padding: 23px;
	}

	.qig-drug-card h3,
	.qig-pe-main h3 {
		font-size: 25px;
	}

	.qig-safety-alert {
		padding: 22px;
	}

	.qig-safety-alert h3 {
		font-size: 19px;
	}

	.qig-product-grid {
		grid-template-columns: 1fr 1fr;
		gap: 10px;
	}

	.qig-product-body {
		padding: 14px;
	}

	.qig-product-title {
		min-height: 66px;
		font-size: 13px;
		-webkit-line-clamp: 3;
	}

	.qig-product-price {
		font-size: 15px;
	}

	.qig-head-row {
		align-items: center;
	}

	.qig-faq summary {
		padding-top: 17px;
		padding-bottom: 17px;
		font-size: 14px;
	}

}


/* =========================================================
   Small mobile
   ========================================================= */

@media screen and (max-width: 380px) {

	.qig-product-grid {
		grid-template-columns: 1fr;
	}

	.qig-hero-points {
		grid-template-columns: 1fr;
	}

}
