/*
 * City pages. Gutenverse only has tablet (≤1024px) and desktop styles; between 1025px and
 * 1439px some desktop sizes are too big for the narrower window. These scale them down to
 * meet the desktop values (72px H1, 150px inset, 500px copy) at 1440px.
 */
@media (min-width: 1025px) and (max-width: 1439px) {
	/* Hero H1: "Personalized" broke mid-word. 22.66% of the column = 150px at 1440. */
	.luvra-hero-title.luvra-hero-title {
		font-size: 5vw !important;
		line-height: 5.2vw !important;
		padding-left: 22.66% !important;
	}
	.luvra-hero-text.luvra-hero-text {
		margin-left: 22.66% !important;
		width: 75.5% !important;
	}

	/* "Visiting LUVRA Aesthetics From …": 64px at 1440, so "Aesthetics From" stays on one line. */
	.luvra-visit-title.luvra-visit-title,
	.luvra-visit-title :is(span, mark) {
		font-size: 4.44vw !important;
	}

	/* Treatment grid: the four columns are too narrow for words like "Microneedling". */
	.luvra-treatment-grid :is(h1, h2, h3, h4, h5, h6) {
		font-size: clamp(26px, 2.5vw, 36px) !important;
		overflow-wrap: normal !important;
		word-break: normal !important;
		-webkit-hyphens: auto;
		hyphens: auto;
	}
}

/* Hero H1 highlight ("Near Irvine, CA") takes its tablet/phone size from a shared Gutenverse font
   style (60px / 48px), so it outgrew the H1 around it. Match the H1, as on desktop. */
@media (max-width: 1439px) {
	.luvra-hero-title :is(span, mark) {
		font-size: inherit !important;
		line-height: inherit !important;
	}
}
