/*
Theme Name: Lumpers Astra Child
Description: A clean Astra child theme for The Lumpers Golf Society.
Author: The Lumpers Golf Society
Template: astra
Version: 1.1.0
Text Domain: lumpers-astra-child
*/

:root {
	--lumpers-green: #1f5f3b;
	--lumpers-green-dark: #17482d;
	--lumpers-cream: #f6f7f2;
	--lumpers-gold: #9b6b12;
	--lumpers-gold-dark: #73500d;
	--lumpers-ink: #183126;
	--lumpers-muted: #5d6c64;
	--lumpers-page-gutter: 32px;
	--lumpers-page-width: 1200px;
}

body {
	color: var(--lumpers-ink);
}

a {
	color: var(--lumpers-gold);
	text-underline-offset: 0.16em;
}

a:hover,
a:focus-visible {
	color: var(--lumpers-gold-dark);
}

body:not(.home) #content > .ast-container {
	margin-left: auto;
	margin-right: auto;
	max-width: var(--lumpers-page-width);
	padding-left: var(--lumpers-page-gutter);
	padding-right: var(--lumpers-page-gutter);
	width: 100%;
}

.lumpers-home {
	color: var(--lumpers-ink);
	margin-left: calc(50% - 50vw);
	width: 100vw;
}

body.home #content,
body.home #content > .ast-container,
body.home #primary,
body.home #main,
body.home #main > article,
body.home .entry-content {
	float: none;
	margin: 0;
	max-width: none;
	padding: 0;
	width: 100%;
}

body.home .entry-header {
	display: none;
}

body.home .lumpers-home {
	margin: 0;
	max-width: none;
	width: 100vw;
}

.lumpers-hero {
	align-items: center;
	background-image: url("assets/images/golf-hero.webp");
	background-position: center;
	background-size: cover;
	display: flex;
	min-height: clamp(500px, 66vh, 720px);
	position: relative;
	width: 100%;
}

.lumpers-hero::before {
	background: rgba(8, 28, 18, 0.62);
	content: "";
	inset: 0;
	position: absolute;
}

.lumpers-hero__inner {
	color: #fff;
	margin: 0 auto;
	max-width: var(--lumpers-page-width);
	padding: 80px var(--lumpers-page-gutter);
	position: relative;
	width: 100%;
	z-index: 1;
}

.ast-site-identity {
	align-items: center;
	display: flex;
	gap: 13px;
}

.site-header .site-title,
.site-header .site-title a,
.site-header .site-description,
.site-header .main-header-menu .menu-link {
	color: var(--lumpers-green);
	font-weight: 700;
}

.site-header a:hover,
.site-header a:focus-visible {
	color: var(--lumpers-green) !important;
}

.site-header .main-header-menu .menu-link:hover,
.site-header .main-header-menu .menu-link:focus-visible {
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 0.24em;
}

.site-header .main-header-menu .menu-link::before {
	display: none !important;
}

.site-header .site-title a:hover,
.site-header .site-title a:focus-visible {
	text-decoration: none;
}

.site-header .main-header-menu .current-menu-item > .menu-link,
.site-header .main-header-menu .current_page_item > a,
.site-header .main-header-menu a[aria-current="page"] {
	background-color: transparent;
	color: var(--lumpers-green-dark) !important;
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 0.24em;
}

.lumpers-header-logo {
	display: block;
	flex: 0 0 auto;
	height: 52px;
	line-height: 0;
	overflow: hidden;
	width: 36px;
}

.lumpers-header-logo img {
	height: auto;
	max-width: none;
	transform: translate(-16px, -9px);
	width: 68px;
}

.lumpers-header-logo:focus-visible {
	border-radius: 4px;
	outline: 3px solid rgba(31, 95, 59, 0.38);
	outline-offset: 4px;
}

.lumpers-hero h1 {
	color: #fff;
	font-size: clamp(2.8rem, 7vw, 5.7rem);
	letter-spacing: -0.045em;
	line-height: 0.98;
	margin: 0 0 24px;
	max-width: 820px;
}

.lumpers-eyebrow,
.lumpers-section-kicker {
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	margin: 0 0 16px;
	text-transform: uppercase;
}

.lumpers-hero .lumpers-eyebrow {
	color: #dcebd4;
}

.lumpers-hero__intro {
	font-size: clamp(1.08rem, 2vw, 1.35rem);
	line-height: 1.6;
	margin: 0 0 34px;
	max-width: 610px;
}

.lumpers-button {
	background: var(--lumpers-green);
	border: 2px solid var(--lumpers-green);
	border-radius: 999px;
	color: #fff;
	display: inline-flex;
	font-weight: 750;
	justify-content: center;
	line-height: 1;
	padding: 15px 24px;
	text-decoration: none;
	transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}

.lumpers-button:hover,
.lumpers-button:focus-visible {
	background: var(--lumpers-green-dark);
	border-color: var(--lumpers-green-dark);
	color: #fff;
}

.lumpers-home-section {
	margin: 0 auto;
	max-width: var(--lumpers-page-width);
	padding: 96px var(--lumpers-page-gutter);
}

.lumpers-home-grid {
	display: grid;
	gap: 28px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.lumpers-home-panel {
	background: #fff;
	border: 1px solid #e4e9e5;
	border-radius: 16px;
	box-shadow: 0 10px 34px rgba(20, 54, 36, 0.07);
	padding: 34px;
}

.lumpers-home-panel--news {
	grid-column: 1 / -1;
}

.lumpers-home-panel h2,
.lumpers-about h2,
.lumpers-home-cta h2 {
	color: var(--lumpers-ink);
	font-size: clamp(1.75rem, 3vw, 2.45rem);
	letter-spacing: -0.025em;
	line-height: 1.12;
	margin: 0 0 28px;
}

.lumpers-section-kicker {
	color: var(--lumpers-green);
}

.lumpers-about {
	align-items: start;
	display: grid;
	gap: clamp(40px, 8vw, 100px);
	grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
	padding-top: 72px;
}

.lumpers-about h2 {
	margin-bottom: 0;
}

.lumpers-about__copy {
	color: var(--lumpers-muted);
	font-size: 1.08rem;
	line-height: 1.8;
}

.lumpers-about__copy > :first-child {
	color: var(--lumpers-ink);
	font-size: 1.25rem;
}

.lumpers-home-cta {
	align-items: center;
	background: var(--lumpers-green);
	border-radius: 18px;
	color: #fff;
	display: flex;
	gap: 40px;
	justify-content: space-between;
	margin: 0 auto 96px;
	max-width: 1136px;
	padding: 54px 58px;
}

.lumpers-home-cta h2,
.lumpers-home-cta .lumpers-section-kicker {
	color: #fff;
}

.lumpers-home-cta h2 {
	margin-bottom: 14px;
}

.lumpers-home-cta p:last-child {
	margin-bottom: 0;
	max-width: 650px;
}

.lumpers-home-cta__actions {
	align-items: center;
	display: flex;
	flex: 0 0 auto;
	flex-direction: column;
	gap: 18px;
}

.lumpers-button--light {
	background: #fff;
	border-color: #fff;
	color: var(--lumpers-green-dark);
}

.lumpers-button--light:hover,
.lumpers-button--light:focus-visible {
	background: var(--lumpers-cream);
	border-color: var(--lumpers-cream);
	color: var(--lumpers-green-dark);
}

.lumpers-text-link--light {
	color: #fff;
}

.lumpers-text-link--light:hover,
.lumpers-text-link--light:focus-visible {
	color: #fff;
}

.lumpers-site-footer {
	background: var(--lumpers-green-dark);
	color: #eaf2ed;
}

.lumpers-site-footer__inner,
.lumpers-site-footer__bottom {
	margin: 0 auto;
	max-width: var(--lumpers-page-width);
	padding-left: var(--lumpers-page-gutter);
	padding-right: var(--lumpers-page-gutter);
}

.lumpers-site-footer__inner {
	display: grid;
	gap: clamp(36px, 7vw, 88px);
	grid-template-columns: minmax(0, 1.25fr) minmax(260px, 1fr) minmax(220px, 0.8fr);
	padding-bottom: 58px;
	padding-top: 64px;
}

.lumpers-site-footer__title {
	color: #fff;
	display: inline-block;
	font-size: clamp(1.35rem, 2.5vw, 1.8rem);
	font-weight: 800;
	line-height: 1.2;
	margin-bottom: 15px;
	text-decoration: none;
}

.lumpers-site-footer__brand p {
	line-height: 1.7;
	margin: 0;
	max-width: 390px;
}

.lumpers-site-footer__heading {
	color: #c9ddcf;
	font-size: 0.74rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	margin: 0 0 18px;
	text-transform: uppercase;
}

.lumpers-site-footer__navigation ul {
	display: grid;
	gap: 10px 28px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	list-style: none;
	margin: 0;
	padding: 0;
}

.lumpers-site-footer__navigation li {
	margin: 0;
}

.lumpers-site-footer__contact {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.lumpers-site-footer__contact a {
	overflow-wrap: anywhere;
}

.lumpers-site-footer a {
	color: #fff;
	text-underline-offset: 0.2em;
}

.lumpers-site-footer a:hover,
.lumpers-site-footer a:focus-visible {
	color: #fff;
	text-decoration: underline;
}

.lumpers-site-footer__bottom {
	align-items: center;
	border-top: 1px solid rgba(255, 255, 255, 0.18);
	display: flex;
	font-size: 0.88rem;
	justify-content: space-between;
	padding-bottom: 24px;
	padding-top: 24px;
}

.lumpers-site-footer__bottom p {
	margin: 0;
}

@media (max-width: 767px) {
	:root {
		--lumpers-page-gutter: 20px;
	}

	body:not(.home) #content > .ast-container {
		padding-bottom: 56px;
		padding-top: 40px;
	}

	.lumpers-hero {
		min-height: 520px;
	}

	.lumpers-hero__inner {
		padding-bottom: 72px;
		padding-top: 72px;
	}

	.lumpers-header-logo {
		height: 46px;
		width: 32px;
	}

	.lumpers-header-logo img {
		transform: translate(-14px, -8px);
		width: 60px;
	}

	.lumpers-hero h1 {
		font-size: clamp(2.55rem, 13vw, 4rem);
	}

	.lumpers-home-section {
		padding-bottom: 64px;
		padding-top: 64px;
	}

	.lumpers-home-grid,
	.lumpers-about {
		grid-template-columns: 1fr;
	}

	.lumpers-home-panel {
		border-radius: 12px;
		padding: 24px 20px;
	}

	.lumpers-about {
		gap: 28px;
	}

	.lumpers-home-cta {
		align-items: flex-start;
		border-radius: 0;
		flex-direction: column;
		margin-bottom: 64px;
		padding: 44px 22px;
	}

	.lumpers-home-cta__actions {
		align-items: flex-start;
		width: 100%;
	}

	.lumpers-home-cta__actions .lumpers-button {
		width: 100%;
	}

	.lumpers-site-footer__inner {
		gap: 34px;
		grid-template-columns: 1fr;
		padding-bottom: 40px;
		padding-top: 48px;
	}

	.lumpers-site-footer__bottom {
		align-items: flex-start;
		flex-direction: column;
		gap: 8px;
	}
}
