/* ==========================================================================
   Content pages (About, Reviews, Contact, policies, forms, FAQs, PCOS).
   Classes are set on Elementor containers and widgets by the page builder.
   ========================================================================== */

/* Page heroes reuse the homepage banner; the title is the page's h1. */
.rsk-page-hero .elementor-heading-title {
	font-size: clamp(2.25rem, 1.4rem + 2.8vw, 3.75rem);
}

.rsk-page-hero--right {
	align-items: flex-end;
}

@media (max-width: 749px) {
	.rsk-page-hero--right { align-items: stretch; }
}

/* Plain page header (policies, FAQs, Track Order). */
.rsk-page-head .elementor-heading-title {
	font-size: clamp(2.25rem, 1.4rem + 2.8vw, 3.5rem);
	font-weight: 800;
	line-height: 1.05;
}

.rsk-page-head .elementor-widget-text-editor {
	max-width: 60ch;
	font-size: 1.125rem;
	line-height: 1.6;
	color: var(--rsk-muted);
}

.rsk-page-head .elementor-widget-text-editor p { margin: 0; }

/* Copy over a darkened photo. */
.rsk-photo-overlay .elementor-heading-title {
	font-size: clamp(2rem, 1.3rem + 2.4vw, 3.25rem);
	font-weight: 800;
	line-height: 1.05;
}

.rsk-photo-overlay .elementor-widget-text-editor {
	max-width: 52ch;
	font-size: 1.0625rem;
	line-height: 1.6;
}

/* Long-form text: policies, shipping, accessibility. */
.rsk-prose {
	overflow-wrap: anywhere;
	width: 100%;
	max-width: 780px;
	font-size: 1rem;
	line-height: 1.7;
	color: var(--rsk-ink);
}

.rsk-prose h2,
.rsk-prose h3 {
	margin: 2.4em 0 0.6em;
	padding-top: 0.9em;
	font-size: 1.375rem;
	font-weight: 800;
	line-height: 1.2;
	border-top: var(--rsk-rule);
}

.rsk-prose h3 {
	font-size: 1.125rem;
	padding-top: 0;
	border-top: 0;
	margin-top: 1.8em;
}

.rsk-prose > .elementor-widget-container > :first-child,
.rsk-prose > :first-child { margin-top: 0; }

.rsk-prose p,
.rsk-prose ul,
.rsk-prose ol { margin: 0 0 1em; }

.rsk-prose ul,
.rsk-prose ol { padding-left: 1.25em; }

.rsk-prose li { margin-bottom: 0.4em; }

.rsk-prose a {
	color: var(--rsk-ink);
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.rsk-prose a:hover { color: var(--rsk-muted); }

.rsk-prose table {
	width: 100%;
	margin: 0 0 1.5em;
	border-collapse: collapse;
	border: var(--rsk-rule);
	border-radius: var(--rsk-radius);
	overflow: hidden;
	font-size: 0.9375rem;
}

.rsk-prose caption {
	padding: 12px 16px;
	text-align: left;
	font-weight: 800;
	background: var(--rsk-tint);
	border: var(--rsk-rule);
	border-bottom: 0;
	border-radius: var(--rsk-radius) var(--rsk-radius) 0 0;
}

.rsk-prose caption + tbody,
.rsk-prose table:has(caption) { border-radius: 0 0 var(--rsk-radius) var(--rsk-radius); }

.rsk-prose td {
	padding: 10px 16px;
	border-top: 1px solid var(--rsk-field-line);
	vertical-align: top;
}

.rsk-prose tr:first-child td { border-top: 0; }

.rsk-prose td:last-child:not(:first-child) {
	text-align: right;
	white-space: nowrap;
	font-weight: 700;
}

.rsk-prose .rsk-note {
	font-size: 0.875rem;
	color: var(--rsk-muted);
}

/* Highlighted lead line in prose. */
.rsk-prose .rsk-lead {
	padding: 16px 20px;
	font-weight: 700;
	background: var(--rsk-surface);
	border: var(--rsk-rule);
	border-radius: var(--rsk-radius);
}

/* Why RoseSkinCo cards */
.rsk-usp {
	padding: 24px 20px;
	text-align: center;
	background: var(--rsk-bg);
	border: var(--rsk-rule);
	border-radius: var(--rsk-radius);
}

.rsk-usp__icon {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	margin: 0 auto 14px;
	background: var(--rsk-blush);
	border: var(--rsk-rule);
	border-radius: 50%;
}

.rsk-usp__icon svg {
	width: 24px;
	height: 24px;
	stroke: var(--rsk-ink);
}

.rsk-usp .elementor-heading-title {
	font-size: 1.0625rem;
	font-weight: 800;
	line-height: 1.25;
}

.rsk-usp .elementor-widget-text-editor {
	margin-top: 6px;
	font-size: 0.9375rem;
	line-height: 1.5;
	color: var(--rsk-muted);
}

.rsk-usp .elementor-widget-text-editor p { margin: 0; }

/* Form card */
.rsk-form-card {
	background: var(--rsk-bg);
	border: var(--rsk-rule);
	border-radius: var(--rsk-radius);
}

/* WooCommerce order tracking form inside a form card. */
.rsk-form-card .woocommerce form.track_order { margin: 0; }

.rsk-form-card .track_order p:first-child {
	margin: 0 0 20px;
	color: var(--rsk-muted);
}

.rsk-form-card .track_order .form-row {
	margin: 0 0 16px;
}

.rsk-form-card .track_order label {
	display: block;
	margin-bottom: 6px;
	font-weight: 700;
	font-size: 0.875rem;
}

.rsk-form-card .track_order input.input-text {
	width: 100%;
	min-height: 48px;
	padding: 10px 14px;
	font: inherit;
	border: 1px solid var(--rsk-field-line);
	border-radius: var(--rsk-radius);
}

.rsk-form-card .track_order input.input-text:focus {
	outline: none;
	border-color: var(--rsk-ink);
	box-shadow: 0 0 0 1px var(--rsk-ink);
}

.rsk-form-card .track_order .clear { display: none; }

.rsk-form-card .track_order button.button {
	min-height: 48px;
	padding: 12px 28px;
	font: inherit;
	font-weight: 700;
	color: var(--rsk-on-ink);
	background: var(--rsk-ink);
	border: 0;
	border-radius: var(--rsk-radius);
	cursor: pointer;
}

.rsk-form-card .track_order button.button:hover { opacity: 0.88; }

/* Contact details next to the contact form. */
.rsk-contact-list p {
	margin: 0 0 6px;
}

.rsk-contact-list a {
	color: var(--rsk-ink);
	font-weight: 700;
}

/* FAQ category jump links */
.rsk-jump {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.rsk-jump a {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 8px 16px;
	font-size: 0.9375rem;
	font-weight: 700;
	color: var(--rsk-ink);
	text-decoration: none;
	background: var(--rsk-bg);
	border: var(--rsk-rule);
	border-radius: var(--rsk-radius-pill);
}

.rsk-jump a:hover,
.rsk-jump a:focus-visible { background: var(--rsk-tint); }

/* FAQ category anchors clear the sticky header. */
.rsk-faq-cat { scroll-margin-top: calc(var(--rsk-header-h) + var(--rsk-admin-bar) + 16px); }

/* Press quotes (Reviews page) */
.rsk-press-card {
	padding: 28px 24px;
	background: var(--rsk-bg);
	border: var(--rsk-rule);
	border-radius: var(--rsk-radius);
}

.rsk-press-card .elementor-widget-text-editor:not(.rsk-quote__by) {
	font-size: 1.0625rem;
	font-weight: 600;
	line-height: 1.5;
}

.rsk-press-card .elementor-widget-text-editor p { margin: 0; }

.rsk-press-card .rsk-press-card__logo img {
	width: auto;
	height: 28px;
}

.rsk-press-card .rsk-press-card__name .elementor-heading-title {
	font-size: 1.25rem;
	font-weight: 800;
	letter-spacing: -0.01em;
}

/* Skin tone chart image */
.rsk-chart img {
	width: 100%;
	height: auto;
	border: var(--rsk-rule);
	border-radius: var(--rsk-radius);
}
