:root {
	--navy: #014d93;
	--navy-dark: #013d78;
	--navy-deep: #012d5a;
	--navy-nav: #013570;
	--gold-soft: #ffcc00;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: 9rem;
}

@media (min-width: 768px) {
	html { scroll-padding-top: 5.5rem; }
}

body {
	font-family: 'Source Sans 3', sans-serif;
}

h1,
h2,
h3,
h4,
.brand-title {
	font-family: 'Lora', serif;
}


.site-body {
	margin: 0;
	background: #e5e7eb;
	color: #374151;
}

.skip-link {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border-width: 0;
}

.skip-link:focus {
	position: static;
	width: auto;
	height: auto;
	margin: 0;
	overflow: visible;
	clip: auto;
	white-space: normal;
}

.site-nav {
	position: fixed;
	z-index: 20;
	width: 100%;
	box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

.site-nav-inner {
	max-width: 64rem;
	margin-left: auto;
	margin-right: auto;
	padding: 1rem;
}

.site-nav-row,
.site-brand,
.nav-donate,
.btn-primary,
.btn-navy,
.btn-outline-navy {
	display: flex;
	align-items: center;
}

.site-nav-row {
	justify-content: space-between;
}

.site-brand,
.nav-donate,
.btn-primary,
.btn-navy,
.btn-outline-navy {
	gap: 0.5rem;
}

.site-brand-logo {
	height: 2.5rem;
	flex-shrink: 0;
}

.brand-title {
	font-size: 1.125rem;
	font-weight: 700;
	line-height: 1.25;
}

.nav-menu-button {
	cursor: pointer;
	user-select: none;
	padding: 0.5rem;
	color: #fff;
}

.nav-link,
.nav-mobile-link {
	color: #fff;
	text-decoration: none;
	transition: color 150ms ease;
}

.nav-link:hover,
.nav-mobile-link:hover {
	color: #fde047;
}

.nav-link-active,
.nav-mobile-link-active {
	color: #fde047;
	text-decoration: none;
}

.nav-mobile-list {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	padding-top: 0.5rem;
	padding-bottom: 0.25rem;
	padding-left: 0;
	margin: 0;
	list-style: none;
	font-size: 0.875rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.025em;
}

.nav-mobile-link,
.nav-mobile-link-active {
	display: block;
	padding-top: 0.25rem;
	padding-bottom: 0.25rem;
}

.page-main {
	padding-top: 7rem;
	padding-bottom: 2.5rem;
}

.home-main {
	padding-top: 4rem;
	padding-bottom: 2rem;
}

.page-shell,
.page-shell-wide {
	margin-left: auto;
	margin-right: auto;
	padding-left: 1rem;
	padding-right: 1rem;
	margin-top:1.5rem;
}

.page-shell {
	max-width: 56rem;
}

.page-shell-wide {
	max-width: 84rem;
}

.page-shell > * + *,
.page-shell-wide > * + * {
	margin-top: 2rem;
}

.hero-panel,
.home-hero-panel {
	position: relative;
	overflow: hidden;
	border-radius: 0.75rem;
	padding: 2.5rem 1.5rem;
	color: #fff;
}

.home-hero-panel {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1.5rem;
	text-align: center;
}

.hero-kicker {
	margin-bottom: 0.5rem;
	font-size: 0.75rem;
	font-weight: 700;
	line-height: 1rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: #bfdbfe;
}

.hero-title {
	margin-bottom: 0.75rem;
	font-size: 1.875rem;
	line-height: 2.25rem;
	font-weight: 700;
	color: #fff;
}

.hero-copy {
	max-width: 48rem;
	font-size: 1.125rem;
	line-height: 1.75rem;
	color: #dbeafe;
}

.section-card,
.section-card-compact {
	border-radius: 0.75rem;
	border: 1px solid #e5e7eb;
	background: #fff;
	box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.section-card {
	padding: 1.75rem 1.5rem;
}

.section-card-compact {
	padding: 1.5rem;
}

.divider {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.divider-label {
	white-space: nowrap;
	font-size: 0.75rem;
	font-weight: 700;
	line-height: 1rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: #9ca3af;
}

.btn-primary,
.btn-navy,
.btn-outline-navy {
	border-radius: 0.25rem;
	padding: 0.5rem 1rem;
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.5rem;
	text-decoration: none;
	transition: background-color 150ms ease, color 150ms ease, opacity 150ms ease;
}

.btn-primary {
	background: #facc15;
	color: #172554;
	font-weight: 700;
}

.btn-primary:hover {
	background: #fde047;
}

.btn-navy {
	background: var(--navy);
	color: #fff;
}

.btn-outline-navy {
	border: 1px solid var(--navy);
	color: var(--navy);
}

.btn-outline-navy:hover {
	background: var(--navy);
	color: #fff;
}

.donation-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
}

.donation-card {
	border-radius: 0.5rem;
	border: 1px solid #e5e7eb;
	background: #f9fafb;
	padding: 1.25rem;
}

.donation-icon {
	margin-bottom: 0.75rem;
	font-size: 1.5rem;
	line-height: 2rem;
	color: #eab308;
}

.tax-note-card {
	border-radius: 0.75rem;
	border: 1px solid #fde68a;
	background: #fefce8;
	padding: 1.5rem;
	box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.event-card {
	border-radius: 0.75rem;
	border: 1px solid #e5e7eb;
	background: #fff;
	padding: 1.25rem;
	box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.site-footer {
	margin-top: 1rem;
	background: #d1d5db;
	padding-top: 2.5rem;
	padding-bottom: 2.5rem;
}

.site-footer-inner {
	max-width: 56rem;
	margin-left: auto;
	margin-right: auto;
	padding-left: 1rem;
	padding-right: 1rem;
	text-align: center;
}

.site-footer-logo {
	height: 2rem;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1rem;
	opacity: 0.3;
}

.site-footer-text {
	max-width: 36rem;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 0.75rem;
	font-size: 0.75rem;
	line-height: 1rem;
	color: #6b7280;
}

.site-footer-credit {
	font-size: 0.75rem;
	line-height: 1rem;
	color: #9ca3af;
}

@media (max-width: 640px) {

	.page-shell,
	.page-shell-wide {
		padding-left: 0.5rem;
		padding-right: 0.5rem;
	}

	.section-card-compact {
		padding: 1rem 0.5rem;
	}
}

@media (min-width: 768px) {
	.site-brand-logo { height: 5rem; }
	.home-main { padding-top: 6rem; }

	.hero-panel,
	.home-hero-panel {
		padding: 3rem 2.5rem;
	}

	.home-hero-panel {
		flex-direction: row;
		/* gap: 2.5rem; */
		margin-top:1rem;
		text-align: left;
	}

	.hero-title {
		font-size: 2.25rem;
		line-height: 2.5rem;
	}

	.section-card { padding-left: 2rem; padding-right: 2rem; }
	.section-card-compact { padding-left: 2rem; padding-right: 2rem; }
	.tax-note-card { padding-left: 2rem; padding-right: 2rem; }
	.donation-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1280px) {
	.calendar-grid-wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.bg-navy { background-color: var(--navy); }
.text-navy { color: var(--navy); }
.border-navy { border-color: var(--navy); }
.hover-bg-navy:hover { background-color: var(--navy-dark); }

.nav-gradient {
	background: linear-gradient(135deg, var(--navy) 70%, var(--navy-nav) 100%);
}

.hero-gradient {
	background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
}

.hero-circle,
.hero-circle-sm {
	position: absolute;
	border-radius: 9999px;
	pointer-events: none;
}

.hero-circle {
	right: -3rem;
	top: -3rem;
	width: 14rem;
	height: 14rem;
	background: rgba(255, 255, 255, 0.06);
}

.hero-circle-sm {
	right: 6rem;
	bottom: -4rem;
	width: 9rem;
	height: 9rem;
	background: rgba(255, 204, 0, 0.08);
}

.btn-ghost {
	border: 1.5px solid rgba(255, 255, 255, 0.35);
	color: #fff;
}

.btn-ghost:hover {
	background: rgba(255, 255, 255, 0.15);
	border-color: #fff;
}

.divider::before,
.divider::after {
	content: '';
	flex: 1;
	height: 1px;
	background: #e5e7eb;
}

#nav-check {
	display: none;
}

.nav-links,
.nav-mobile {
	display: none;
}

#nav-check:checked ~ div .nav-mobile {
	display: block;
}

.nav-donate {
	color: var(--navy);
	padding: 0.45rem;
	background: #facc15;
	border-radius: 0.25rem;
	font-weight: 700;
	text-decoration: none;
	transition: background-color 150ms ease;
}

.nav-donate:hover {
	background: #fde047;
}

.nav-donate-mobile {
	margin-top: 0.25rem;
}

.brand-title {
	color: #fff;
}

.site-link-button {
	opacity: 1;
}

.site-link-button:hover {
	opacity: 0.85;
}

.calendar-month-grid {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
}

.calendar-day {
	min-height: 6.5rem;
}

.calendar-chip {
	display: block;
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.calendar-year-select {
	min-width: 8rem;
}

.swiper-button-prev,
.swiper-button-next {
	color: #fff !important;
	background: rgba(0, 0, 0, 0.3);
	width: 2.25rem !important;
	height: 2.25rem !important;
	border-radius: 9999px;
}

.swiper-button-prev::after,
.swiper-button-next::after {
	font-size: 0.8rem !important;
}

.swiper-pagination-bullet-active {
	background: #f59e0b !important;
}

.swiper-pagination {
	position: relative !important;
}

.swiper-slide {
	height: auto;
}

.swiper-slide a {
	position: relative;
	display: flex;
	flex-direction: column;
}

.swiper-slide-img-wrap {
	position: relative;
	height: 380px;
	overflow: hidden;
	flex-shrink: 0;
}

.swiper-slide img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 20%;
	border: none !important;
	transform: scale(1.15);
}

.swiper-slide p {
	flex-shrink: 0;
	background: rgba(0, 0, 0, 0.55);
	color: #fff;
	font-size: 1rem;
	padding: 0.5rem 0.75rem;
	text-align: center;
}

@keyframes pan-right {
	from { transform: scale(1.15) translateX(-4%); }
	to { transform: scale(1.15) translateX(4%); }
}

@keyframes pan-left {
	from { transform: scale(1.15) translateX(4%); }
	to { transform: scale(1.15) translateX(-4%); }
}

@keyframes pan-down {
	from { transform: scale(1.15) translateY(-4%); }
	to { transform: scale(1.15) translateY(4%); }
}

@keyframes pan-up {
	from { transform: scale(1.15) translateY(4%); }
	to { transform: scale(1.15) translateY(-4%); }
}

.swiper-slide:nth-child(4n+1) img { animation: pan-right 10s ease-in-out infinite alternate; }
.swiper-slide:nth-child(4n+2) img { animation: pan-left 10s ease-in-out infinite alternate; }
.swiper-slide:nth-child(4n+3) img { animation: pan-down 10s ease-in-out infinite alternate; }
.swiper-slide:nth-child(4n+4) img { animation: pan-up 10s ease-in-out infinite alternate; }

@media (min-width: 768px) {
	label[for="nav-check"] {
		display: none;
	}

	.nav-mobile {
		display: none !important;
	}

	.nav-links {
		display: flex;
		flex-direction: row;
		align-items: center;
		gap: 0.85rem;
		list-style: none;
		margin: 0;
		font-size: 0.8rem;
		font-weight: 600;
		text-transform: uppercase;
		letter-spacing: 0.05em;
	}
}

@media (max-width: 640px) {
	.calendar-day {
		min-height: 4.25rem;
		padding: 0.35rem !important;
	}

	.calendar-chip {
		font-size: 0.65rem;
		padding: 0.1rem 0.25rem !important;
	}

	.calendar-chip span {
		display: none;
	}
}
