/* Policy pages — Pure Pharma–style layout, Peptech colours */

.policy-page {
	--policy-blue: #1e5a8a;
	--policy-blue-soft: #2f7bb3;
	--policy-blue-muted: #7ba3c4;
	--policy-text: #555555;
	--policy-text-dark: #333333;
	max-width: none;
	width: 100%;
	margin: 0;
	padding: 3rem 50px 5rem;
	box-sizing: border-box;
	color: var(--policy-text);
	line-height: 1.7;
	font-family: var(--pt-font), "Instrument Sans", system-ui, sans-serif;
	background: #fff;
}

.policy-page__hero {
	text-align: center;
	margin: 0 0 1.5rem;
}

.policy-page__title {
	margin: 0 0 0.85rem;
	font-family: var(--pt-font), "Instrument Sans", system-ui, sans-serif;
	font-size: clamp(1.75rem, 4vw, 2.35rem);
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--policy-blue-muted);
	line-height: 1.2;
}

.policy-page__subtitle {
	margin: 0;
	font-family: var(--pt-font), "Instrument Sans", system-ui, sans-serif;
	font-size: clamp(1.15rem, 2.4vw, 1.45rem);
	font-weight: 700;
	line-height: 1.35;
	color: var(--policy-blue-soft);
	text-align: left;
}

.policy-page__updated {
	margin: 0 0 1.75rem;
	font-size: 0.95rem;
	line-height: 1.5;
	color: var(--policy-text-dark);
	text-align: left;
}

.policy-page__body {
	text-align: left;
}

.policy-section {
	margin: 0 0 2.25rem;
}

.policy-section h2 {
	display: flex;
	align-items: flex-start;
	gap: 0.45rem;
	margin: 0 0 0.85rem;
	font-family: var(--pt-font), "Instrument Sans", system-ui, sans-serif;
	font-size: clamp(1.35rem, 2.5vw, 1.65rem);
	font-weight: 500;
	line-height: 1.35;
	color: var(--policy-blue-muted);
}

.policy-section__icon {
	flex-shrink: 0;
	line-height: 1.35;
	font-size: 1.05em;
}

.policy-page__body p,
.policy-page__body ul {
	margin: 0 0 1rem;
	font-size: 0.975rem;
	line-height: 1.75;
	color: var(--policy-text);
}

.policy-page__body ul {
	padding-left: 1.5rem;
	list-style: disc;
}

.policy-page__body li {
	margin-bottom: 0.55rem;
	padding-left: 0.15rem;
}

.policy-page__body a {
	color: var(--policy-blue);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 0.12em;
}

.policy-page__body a:hover {
	color: var(--policy-blue-soft);
}

.policy-page__body strong {
	font-weight: 700;
	color: #1a1a1a;
}

.policy-page__closing {
	margin-top: 2.5rem !important;
	padding-top: 0.25rem;
}

/* Privacy / long-form doc variant (matches Pure Pharma privacy layout) */
.policy-page--doc .policy-page__hero {
	margin-bottom: 1.25rem;
}

.policy-page--doc .policy-page__title {
	color: var(--policy-blue-muted);
	letter-spacing: 0.14em;
}

.policy-page--doc .policy-section {
	margin: 0 0 2.75rem;
}

.policy-page--doc .policy-section h2 {
	display: block;
	margin: 0 0 1rem;
	font-size: clamp(1.45rem, 2.6vw, 1.75rem);
	font-weight: 500;
	color: var(--policy-blue-muted);
}

/* Shipping & Delivery — left-aligned title + icon sections */
.policy-page--shipping .policy-page__hero {
	text-align: left;
	margin: 0 0 1rem;
}

.policy-page--shipping .policy-page__title {
	text-transform: none;
	letter-spacing: 0;
	font-size: clamp(1.5rem, 3vw, 1.85rem);
	font-weight: 700;
	color: var(--policy-blue-muted);
}

.policy-page--shipping .policy-page__intro {
	margin: 0 0 2rem;
	font-size: 1rem;
	line-height: 1.75;
	color: var(--policy-text-dark);
}

.policy-page--shipping .policy-section {
	margin: 0 0 2.25rem;
}

.policy-page--shipping .policy-section h2 {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	margin: 0 0 0.75rem;
	font-size: clamp(1.2rem, 2.2vw, 1.4rem);
	font-weight: 700;
	color: var(--policy-blue-muted);
}

.policy-page--shipping .policy-section ul {
	margin: 0;
}

.policy-page--shipping .policy-section li {
	margin-bottom: 0.45rem;
}

/* Refund/shipping keep slightly stronger blue for icon headings */
.policy-page:not(.policy-page--doc):not(.policy-page--shipping) .policy-page__title {
	color: var(--policy-blue);
}

.policy-page:not(.policy-page--doc):not(.policy-page--shipping) .policy-section h2 {
	font-size: 1.15rem;
	font-weight: 700;
	color: var(--policy-blue);
}

/* Hide any theme/entry chrome that could duplicate the in-content H1 */
.page-id-3 .entry-title,
.page .entry-header,
body.page-template-default.page:has(.policy-page) .entry-title {
	display: none;
}

@media (min-width: 768px) {
	.policy-page {
		padding: 3.5rem 50px 6rem;
	}
}

@media (max-width: 767px) {
	.policy-page {
		padding: 2rem 20px 3.5rem;
	}
}

@media (max-width: 480px) {
	.policy-page {
		padding: 1.75rem 16px 3rem;
	}
}
