.csc-page-hero {
	min-height: 560px;
}

.csc-page-hero-content {
	padding: 120px 24px;
}

.csc-page-hero-content h1 {
	font-size: 2.8rem;
}

}
.csc-hero {
	position: relative;
	height: 560px;
	min-height: 560px;
}

.csc-hero-slide {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
}

.csc-hero-slide.is-active {
	position: absolute; /* keep it absolute even when active so it doesn't push height */
}
.csc-hero-content {
	max-width: 1140px;
	width: 100%;
	margin: 0 auto;
	padding: 90px 24px;
	box-sizing: border-box;
}

.csc-hero-content > * {
	max-width: 620px; /* keeps the text column from stretching full-width */
}
/* 1. Keep the resource links on one line */
.csc-resources-list {
	flex-wrap: nowrap;
	overflow-x: auto;
	justify-content: flex-start;
	gap: 0;
}
.csc-resources-list a {
	white-space: nowrap;
	padding: 4px 20px;
}
.csc-page-hero-overlay {
	background: linear-gradient(90deg, rgba(18,40,61,0.88) 0%, rgba(18,40,61,0.55) 55%, rgba(18,40,61,0.25) 100%);
}
.csc-hero-slide::before {
	background: linear-gradient(90deg, rgba(0,77,0,0.45) 0%, rgba(0,77,0,0.28) 55%, rgba(0,77,0,0.12) 100%);
}

.csc-page-hero-overlay {
	background: linear-gradient(90deg, rgba(0,77,0,0.45) 0%, rgba(0,77,0,0.28) 55%, rgba(0,77,0,0.12) 100%);
}
.csc-hero-slide::before {
	background: linear-gradient(90deg, rgba(0,77,0,0.75) 0%, rgba(0,77,0,0.55) 55%, rgba(0,77,0,0.3) 100%);
}

.csc-page-hero-overlay {
	background: linear-gradient(90deg, rgba(0,77,0,0.75) 0%, rgba(0,77,0,0.55) 55%, rgba(0,77,0,0.3) 100%);
}
.csc-hero-slide,
.csc-page-hero {
	background-position: center center; /* the original/default */
}
.csc-hero {
	height: auto;
	min-height: 0;
	aspect-ratio: 2 / 1; /* change this to match your images */
}

.csc-page-hero {
	height: auto;
	min-height: 0;
	aspect-ratio: 2 / 1; /* change this to match your images */
}
.csc-hero,
.csc-page-hero {
	max-width: 900px;   /* pick whatever width you want it capped at */
	margin: 0 auto;      /* centers it on the page */
}
.csc-hero,
.csc-page-hero {
	max-width: 70%;
	margin: 0 auto;
}
.csc-hero,
.csc-page-hero {
	width: 100%;
	max-width: 100%;
	margin: 0;
	height: 50%;
	aspect-ratio: 3 / 1; /* match this to your actual image's width÷height */
}
.csc-contact-grid {
	grid-template-columns: repeat(2, 1fr);
}
/* Header */
.csc-site-header {
	background: var(--csc-cream);
}
.csc-logo-text {
	color: var(--csc-green-dark);
}
.csc-primary-nav a {
	color: var(--csc-green-dark);
}

/* Footer */
.csc-site-footer {
	background: var(--csc-cream);
	color: var(--csc-green-dark);
}
.csc-site-footer a {
	color: var(--csc-green-dark);
}
.csc-site-footer a:hover {
	color: var(--csc-orange);
}
.csc-footer-inner h3,
.csc-footer-widget-title {
	color: var(--csc-green-dark);
}
.csc-footer-bottom {
	color: var(--csc-green-dark);
	border-top-color: rgba(0, 77, 0, 0.15);
}


/* Footer — green line outside (top-most), yellow line inside (just below it) */
.csc-site-footer {
	position: relative;
}
.csc-site-footer::before {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	top: -6px;
	height: 3px;
	background: var(--csc-green);
}
.csc-site-footer::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	top: -3px;
	height: 3px;
	background: gold;
	z-index: 1;
}
/* 1. Hero overlays — neutral dark instead of green */
.csc-hero-slide::before {
	background: linear-gradient(90deg, rgba(20,20,20,0.75) 0%, rgba(20,20,20,0.55) 55%, rgba(20,20,20,0.3) 100%);
}
.csc-page-hero-overlay {
	background: linear-gradient(90deg, rgba(20,20,20,0.75) 0%, rgba(20,20,20,0.55) 55%, rgba(20,20,20,0.3) 100%);
}

.csc-section-alt:has(.csc-resources-list) {
	position: relative;
}
.csc-section-alt:has(.csc-resources-list)::before {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	top: -3px;
	height: 3px;
	background: var(--csc-orange);
}
.csc-section-alt:has(.csc-resources-list)::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: -3px;
	height: 3px;
	background: var(--csc-orange);
}
.csc-hero,
.csc-page-hero {
	position: relative;
}
.csc-hero::after,
.csc-page-hero::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 3px;
	background: var(--csc-orange);
	z-index: 3;
}
body {
	background: linear-gradient(180deg, #ffffff 0%, #f3f8f3 50%, #ffffff 100%);
}

.csc-resource-box,
.csc-contact-card {
	background: linear-gradient(160deg, #ffffff 0%, #f2f8f2 100%);
}
/* 1. Orange top+bottom border on the About Us "Contact Carefree" section */
.csc-section-alt:has(.csc-contact-card) {
	position: relative;
}
.csc-section-alt:has(.csc-contact-card)::before {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	top: -3px;
	height: 3px;
	background: var(--csc-orange);
}
.csc-section-alt:has(.csc-contact-card)::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: -3px;
	height: 3px;
	background: var(--csc-orange);
}

/* 2. Resident Resources page boxes — cream instead of white */
.csc-resource-box {
	background: var(--csc-cream);
}

/* 3. Footer border — single orange line instead of green+gold */
.csc-site-footer::before {
	background: var(--csc-orange);
}
.csc-site-footer::after {
	content: none;
}
.csc-section-alt:has(.csc-resources-list)::before,
.csc-section-alt:has(.csc-resources-list)::after,
.csc-section-alt:has(.csc-contact-card)::before,
.csc-section-alt:has(.csc-contact-card)::after {
	background: var(--csc-green-dark);
}
:root {
	--csc-orange: #f4c430;
}
/* Calendar grid — redefine the plugin's own color variables to match the site */
.csc-calendar {
	--csc-navy: var(--csc-green);
	--csc-gold: var(--csc-orange);
}
.csc-cal-today {
	background: #fdf8e8; /* light tint behind today's date */
}

/* Upcoming Events list — these are hardcoded hex, not variables, so they need direct overrides */
.csc-upcoming-title {
	color: var(--csc-green);
}
.csc-upcoming-date {
	background: var(--csc-green);
}
.csc-upcoming-name:hover {
	color: var(--csc-orange);
}
.csc-view-calendar {
	background: var(--csc-orange);
	color: var(--csc-green-dark);
}
.csc-view-calendar:hover {
	background: var(--csc-green);
	color: #fff;
}