@charset "utf-8";

/* Home page – section look & layout (shared width is in layout.css) */

/* Hero */

body.page-home #hero {
	display: flex;
	min-height: 300px;
	overflow: hidden;
	z-index: 1;
	background: linear-gradient(135deg, #f7faf8 0%, #edf5f0 100%);
	border-radius: var(--site-radius);
}

body.page-home #hero .hero-copy {
	flex: 0 0 42%;
	min-width: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 32px var(--site-gutter-x) 32px 2.75rem;
	background: transparent;
	text-align: left;
	box-sizing: border-box;
}

body.page-home #hero .hero-visual {
	flex: 1 1 58%;
	min-width: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding: 16px;
	background: transparent;
	box-sizing: border-box;
}

body.page-home #hero .hero-frame {
	position: relative;
	width: 100%;
	max-width: 520px;
	aspect-ratio: 4 / 3;
	min-height: 0;
	flex: 0 0 auto;
	overflow: hidden;
	border-radius: var(--site-radius);
	box-shadow: var(--site-shadow-sm);
}

body.page-home #hero .hero-slides {
	position: absolute;
	inset: 0;
}

body.page-home #hero .hero-slide {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	opacity: 0;
	transition: opacity var(--hero-fade, 400ms) ease;
}

body.page-home #hero .hero-slide.is-active {
	opacity: 1;
	z-index: 1;
}

body.page-home #hero .hero-nav {
	position: absolute;
	top: 50%;
	z-index: 2;
	transform: translateY(-50%);
	width: 32px;
	height: 32px;
	padding: 0;
	border: none;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.85);
	color: #333;
	font-size: var(--site-font-2xl);
	line-height: 1;
	cursor: pointer;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

body.page-home #hero .hero-nav:hover {
	background: #fff;
	color: #AC9F55;
}

body.page-home #hero .hero-prev {
	left: 2px;
}

body.page-home #hero .hero-next {
	right: 2px;
}

body.page-home #hero .hero-dots {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin: 10px 0 0;
	padding: 0;
	list-style: none;
}

body.page-home #hero .hero-dots button {
	width: 10px;
	height: 10px;
	padding: 0;
	border: 1px solid var(--site-green);
	border-radius: 50%;
	background: #fff;
	cursor: pointer;
	text-indent: -9999px;
	overflow: hidden;
}

body.page-home #hero .hero-dots button.is-active {
	background: var(--site-green);
	border-color: var(--site-green);
}

body.page-home #hero .hero-title {
	margin: 0 0 14px;
	font-size: 1.45rem;
	font-weight: bold;
	letter-spacing: -0.02em;
	line-height: 1.5;
	color: #333;
}

body.page-home #hero .hero-lead {
	margin: 0;
	font-size: var(--site-font-md);
	line-height: 1.65;
	color: var(--site-text-muted);
}

/* T-GLIPs */

body.page-home .home-tglips {
	position: relative;
	overflow: hidden;
	/* Match What's New / About Us side gutters */
	width: calc(100% - 2 * var(--site-gutter-x));
	max-width: calc(var(--site-content-max) - 2 * var(--site-gutter-x));
	margin: 28px auto;
	padding: 0;
	box-sizing: border-box;
	background: #fff;
	border: 1px solid var(--site-border);
	border-left: 6px solid var(--site-green);
	border-radius: var(--site-radius-sm);
	box-shadow: var(--site-shadow-sm);
	text-align: left;
}

body.page-home .home-tglips .home-section-title {
	margin: 0;
	padding: 18px 24px 14px;
	background: #fff;
	color: var(--site-green-dark);
	border-bottom: 1px solid var(--site-border-light);
}

body.page-home .home-tglips-body {
	padding: 18px 24px 22px;
	background: #f8faf9;
}

body.page-home .home-tglips-body p {
	margin: 0;
	font-size: var(--site-font-md);
	line-height: 1.75;
	color: var(--site-text);
}

/* What's New */

body.page-home #home-news {
	background: #fff;
	padding: 24px var(--site-gutter-x) 28px;
	text-align: left;
}

body.page-home .home-section-title {
	margin: 0 0 12px;
	padding-bottom: 8px;
	font-size: var(--site-font-xl);
	font-weight: bold;
	color: #AC9F55;
	border-bottom: 2px solid #D5CEA8;
}

body.page-home .archives-list-header {
	background: #f7faf8;
	color: var(--site-text-muted);
}

/* About Us */

body.page-home #home-about {
	margin-bottom: 28px;
	background: var(--site-cream);
	padding: 24px var(--site-gutter-x) 28px;
	text-align: left;
	border-radius: var(--site-radius);
}

body.page-home .home-about-inner {
	display: flex;
	gap: 20px;
	align-items: flex-start;
}

body.page-home .home-about-photo {
	flex: 0 0 52%;
	max-width: 52%;
}

body.page-home .home-about-photo img {
	display: block;
	width: 100%;
	height: auto;
	min-height: 280px;
	object-fit: cover;
	border: none;
	border-radius: var(--site-radius);
	box-shadow: var(--site-shadow-sm);
	box-sizing: border-box;
}

body.page-home .home-about-content {
	flex: 1;
	min-width: 0;
	text-align: left;
}

body.page-home .home-about-body p {
	margin: 0 0 14px;
	font-size: var(--site-font-sm);
	line-height: 1.7;
	color: #333;
}

body.page-home .home-about-body p:last-child {
	margin-bottom: 0;
}

body.page-home .home-about-more {
	margin: 14px 0 0;
	text-align: right;
}

body.page-home .home-about-links {
	list-style: none;
	margin: 18px 0 0;
	padding: 14px 0 0;
	border-top: 1px solid #D5CEA8;
	text-align: left;
}

body.page-home .home-about-links li {
	margin: 0 0 8px;
}

body.page-home .home-about-links li:last-child {
	margin-bottom: 0;
}

body.page-home .home-about-links a {
	color: var(--site-link-classic);
	font-size: var(--site-font-sm);
	text-decoration: underline;
}

body.page-home .home-about-links a:hover {
	color: var(--site-link-classic-hover);
	text-decoration: none;
}

@media screen and (max-width: 767.98px) {
	body.page-home #hero {
		flex-direction: column;
		min-height: 0;
	}

	body.page-home #hero .hero-copy {
		padding: 24px var(--site-gutter-x-sm) 24px 1.75rem;
	}

	body.page-home #hero .hero-visual {
		padding: 12px;
	}

	body.page-home #hero .hero-frame {
		min-height: 0;
	}

	body.page-home #hero .hero-title {
		font-size: 1.25rem;
	}

	body.page-home .home-tglips {
		width: calc(100% - 2 * var(--site-gutter-x-sm));
		max-width: calc(var(--site-content-max) - 2 * var(--site-gutter-x-sm));
		margin-top: 20px;
		margin-bottom: 20px;
	}

	body.page-home .home-tglips .home-section-title {
		padding: 15px 16px 13px;
	}

	body.page-home .home-tglips-body {
		padding: 16px;
	}

	body.page-home #home-news {
		padding: 20px var(--site-gutter-x-sm) 24px;
	}

	body.page-home #home-about {
		margin-bottom: 20px;
		padding: 20px var(--site-gutter-x-sm) 24px;
	}

	body.page-home .home-about-inner {
		flex-direction: column;
		gap: 16px;
	}

	body.page-home .home-about-photo {
		flex: none;
		max-width: 100%;
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	body.page-home #hero .hero-slide {
		transition: none;
	}
}
