/* Hand-written additions on top of the Carrd export (main.css stays pristine). */

:root {
	--banner-h: 44px;
	--banner-bg: #B3121B;
}

/* ---- Announcement banner ---- */

.site-banner {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 3;
	min-height: var(--banner-h);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 12px 16px;
	background: var(--banner-bg);
	color: #FFFFFF;
	font-family: 'Inter', sans-serif;
	font-size: 16px;
	line-height: 20px;
	text-align: center;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.site-banner p {
	margin: 0;
}

.site-banner strong {
	font-weight: 700;
}

.site-banner .sep {
	margin: 0 0.3em;
	opacity: 0.7;
}

.site-banner a {
	color: #FFFFFF;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.site-banner .nowrap {
	white-space: nowrap;
}

/* Desktop: banner floats over the top; push the content panel below it. */
.site-wrapper {
	padding-top: var(--banner-h);
}

/* ---- Content panel ---- */

/* Carrd's teal link color is hard to read on the green panel. */
.text-component.style-1 a {
	color: #FFFFFF;
	font-weight: 600;
}

.text-component .tagline {
	font-size: 1.125em;
}

/* Fit the added content above the fold on desktop. */
.site-main > .inner {
	--padding-vertical: 4rem;
	--spacing: 2rem;
}

/* ---- Tablet / phone (Carrd stacks photo above panel here) ---- */

@media (max-width: 980px) {
	.site-banner {
		position: sticky;
		order: -1;
		flex-shrink: 0;
	}

	.site-wrapper {
		padding-top: 0;
	}

	/* Shorter photo so the key info starts higher up. */
	.site-bg {
		max-height: 24vh;
	}
}

@media (max-width: 736px) {
	.site-banner {
		font-size: 14px;
		line-height: 19px;
		padding: 8px 12px;
	}

	.site-main > .inner {
		--padding-vertical: 2.5rem;
		--spacing: 1.75rem;
	}

	/* Tighter line-height so wrapped list items read as one item. */
	.list-component.instance-1 {
		line-height: 1.5;
	}

	.list-component.instance-1 ul > li {
		margin-top: 0.75rem;
	}

	.list-component.instance-1 ul > li::before {
		height: 1.5rem;
		line-height: 1.5rem;
	}

	/* Smaller title so more info fits above the fold on phones. */
	.text-component.style-2 {
		font-size: 2.5em;
		letter-spacing: -0.08rem;
	}
}

/* ---- Address + phone: same size as the title above it (client request) ---- */

.text-component.address {
	font-size: 3.875em;
	line-height: 1.1;
	font-weight: 600;
	letter-spacing: -0.15rem;
}

@media (max-width: 736px) {
	.text-component.address {
		font-size: 2.5em;
		letter-spacing: -0.08rem;
	}
}

.text-component .nowrap {
	white-space: nowrap;
}
