/*
 * Orielle: treatment, skin concern, hub and price list layout (builder B).
 * Shared components (rx-label, formulary, steps, faq, quote, btn) are styled
 * in main.css; this file only arranges them on these pages.
 */

/* Treatment hero: title and summary left, label card right (7/5). */
.tx-hero__grid {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: clamp(2rem, 5vw, 4rem);
	align-items: start;
}
.tx-hero__text { grid-column: 1 / span 7; }
.tx-hero__text .lede { max-width: 40ch; }
.tx-hero__label { grid-column: 9 / span 4; }

/* Intro + what to expect. */
.tx-intro__grid {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: clamp(2rem, 5vw, 4rem);
	align-items: start;
}
.tx-intro__text { grid-column: 1 / span 7; max-width: 68ch; }
.tx-intro__expect { grid-column: 9 / span 4; }
.tx-intro__expect .display-3 { margin-bottom: 1rem; }

/* Areas / eligibility: ruled two-column list. */
.tx-areas__list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: clamp(2rem, 5vw, 4rem);
	margin-top: 2rem;
}
.tx-areas__item {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
}
.tx-areas__name { color: var(--ink); font-weight: 400; }
.tx-areas__note { color: var(--muted); }

/* Actions: buttons sit in a row and wrap; one clinic = one button, no gap. */
.tx-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1rem;
	margin-top: 2rem;
}

/* FAQs: heading left, questions right. */
.tx-faqs__grid {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: clamp(1.5rem, 4vw, 4rem);
	align-items: start;
}
.tx-faqs__grid > .display-2 { grid-column: 1 / span 4; }
.tx-faqs__grid > .faq { grid-column: 5 / span 8; }

/* Closing call to action. */
.tx-cta .lede { max-width: 56ch; }
.tx-cta__small {
	margin-top: 2.5rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--line);
	max-width: 68ch;
}

/* Hubs: one heading per group, formulary underneath. */
.tx-hub__intro,
.tx-hub__head .lede { max-width: 60ch; }
.tx-group + .tx-group { margin-top: clamp(4rem, 7vw, 6rem); }
.tx-group__title {
	margin-bottom: 1.25rem;
	color: var(--ink);
}
.tx-group .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

/* Concern page. */
.tx-concern__treatments .formulary { margin-top: 1.5rem; }
.tx-concern__treatments .small-print { margin-top: 1.25rem; }

/* Price list: ruled rows, item left, price right. */
.price-list__treatment {
	margin: 2.25rem 0 0.75rem;
	font-size: 21px;
	font-weight: 300;
	font-weight: 400;
}
.price-list__rows { margin: 0; border-top: 1px solid var(--ink); }
.tx-group__title + .price-list__rows { margin-top: 0; }
.price-list__rows + .price-list__rows { border-top: 0; }
.price-list__row {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 1.5rem;
	padding: 0.9rem 0;
	border-bottom: 1px solid var(--line);
}
.price-list__row dt { margin: 0; color: var(--ink); }
.price-list__row dt a {
	color: inherit;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.3em;
	text-decoration-color: var(--ink);
}
.price-list__row dt a:hover { text-decoration-color: currentColor; }
.price-list__row dd {
	margin: 0;
	text-align: right;
	font-variant-numeric: tabular-nums;
}
.price-list__price { color: var(--ink); font-weight: 400; }
.price-list__tbc { color: var(--muted); }
.price-list-page .small-print { margin-top: 2rem; }

/* Tablet and below: stack. */
@media (max-width: 900px) {
	.tx-hero__text,
	.tx-hero__label,
	.tx-intro__text,
	.tx-intro__expect,
	.tx-faqs__grid > .display-2,
	.tx-faqs__grid > .faq { grid-column: 1 / -1; }
	.tx-hero__label { max-width: 28rem; }
}

@media (max-width: 640px) {
	.tx-areas__list { grid-template-columns: 1fr; }
	.tx-actions .btn { width: 100%; text-align: center; }
	.price-list__row { flex-direction: column; gap: 0.2rem; }
	.price-list__row dd { text-align: left; }
}
