/**
 * Canopy Rates (Figma lodge pages "Rates · By season"): heading 56/64, one muted line, then
 * the seasons in four columns, each under a 1px rule with the price (serif 36/44) above the
 * season (14/20). Tablet: two columns. Phone: two columns, prices 28/36.
 */

.cn-rates__text {
	margin-top: 24px;
	color: var(--cn-muted);
	font-size: 16px;
	line-height: 24px;
}

.cn-rates__text:first-child {
	margin-top: 0;
}

.cn-rates__list {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
	margin-top: 40px;
}

.cn-rates__list:first-child {
	margin-top: 0;
}

.cn-rates__item {
	display: flex;
	flex-direction: column-reverse;
	justify-content: flex-end;
	min-width: 0;
	padding-top: 20px;
	border-top: 1px solid var(--cn-line);
}

.cn-rates__value {
	margin: 0;
	color: var(--cn-heading);
}

.cn-rates__label {
	margin: 0;
	color: var(--cn-muted);
}

@media (max-width: 1024px) {
	.cn-rates__text {
		margin-top: 20px;
	}

	.cn-rates__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		margin-top: 28px;
	}
}

/* Phone: the section keeps 64px padding (the shared token drops to 48). */
@media (max-width: 767px) {
	.cn-rates {
		--cn-section-pad: 64px;
	}

	.cn-rates__list {
		gap: 24px 20px;
	}

	.cn-rates__value {
		font-size: var(--cn-fs-h3);
		line-height: var(--cn-lh-h3);
	}
}
