/**
 * Age Groups Template Styles
 *
 * @package ceron
 */

/* Hero Banner */
.age-groups-hero {
	height: 500px;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	position: relative;
}

.age-groups-hero-overlay {
	position: absolute;
	inset: 0;
	background: rgba(37, 19, 56, 0.4);
}

/* Page Intro */
.age-groups-intro {
    background: #ffffff;
    padding: 100px 0;
    max-width: 1200px;
    margin: 0 auto;
}

.age-groups-intro-inner {
	max-width: 794px;
	display: flex;
	flex-direction: column;
	gap: 30px;
}

.age-groups-intro h1 {
	font-weight: 300;
	font-size: 50px;
	line-height: normal;
	color: #180a2c;
	margin: 0;
}

.age-groups-intro .intro-content {
	font-size: 18px;
	line-height: 30px;
	color: #666666;
}

.age-groups-intro .intro-content p {
	margin: 0;
}

/* Age Group Section */
.age-group-section {
	background: #f5f5f5;
}

/* Age Group Banner */
.age-group-banner {
	position: relative;
	height: 324px;
	display: flex;
	align-items: flex-end;
	padding: 40px 0;
}

.age-group-banner .banner-image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 1;
}

.age-group-banner .banner-overlay {
	position: absolute;
	inset: 0;
	background: rgba(42, 89, 107, 0.8);
	z-index: 2;
}

#teens .age-group-banner .banner-overlay {
	background: rgba(68, 28, 39, 0.8);
}

#adults .age-group-banner .banner-overlay {
	background: rgba(25, 37, 101, 0.8);
}

.age-group-banner .banner-content {
	position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
    width: 100%;
}

.age-group-banner h2 {
	font-weight: 300;
	font-size: 50px;
	line-height: 60px;
	color: #ffffff;
	margin: 0;
}

.age-group-banner p {
	font-size: 22px;
	line-height: 34px;
	color: #ffffff;
	margin: 0;
	max-width: 794px;
}

/* Age Group Content */
.age-group-content {
	background: #ffffff;
	padding: 100px 119px;
	display: flex;
	flex-direction: column;
	gap: 100px;
}

.age-group-content-inner {
	display: grid;
	grid-template-columns: 1fr 385px;
	gap: 100px;
	max-width: 1200px;
	margin: 0 auto;
}

/* Left Column: Content and Objectives */
.content-left {
	display: flex;
	flex-direction: column;
	gap: 44px;
}

.content-section {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.content-section h3 {
	font-weight: 300;
	font-size: 36px;
	line-height: normal;
	color: #180a2c;
	margin: 0;
}

.content-section p {
	font-size: 18px;
	line-height: 30px;
	color: rgba(26, 26, 26, 0.7);
	margin: 0;
}

.content-section p + p {
	margin-top: 16px;
}

.objectives-section {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.objectives-section h3 {
	font-weight: 300;
	font-size: 36px;
	line-height: normal;
	color: #180a2c;
	margin: 0;
}

.objectives-list {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.objective-item {
	display: flex;
	gap: 16px;
	align-items: flex-start;
}

.objective-icon {
	width: 20px;
	height: 20px;
	flex-shrink: 0;
}

.discipline-item {
	margin-bottom: 10px;
}

.objective-icon img {
	width: 100%;
	height: 100%;
	display: block;
}

.objective-item p {
	font-size: 18px;
	line-height: 30px;
	color: rgba(26, 26, 26, 0.7);
	margin: 0;
	flex: 1;
}

/* Right Column: Disciplines */
.content-right {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.content-right h3 {
	font-weight: 300;
	font-size: 36px;
	line-height: normal;
	color: #180a2c;
	margin: 0;
}

.disciplines-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.discipline-item a {
	text-decoration: none;
	padding: 0;
	align-items: flex-end;
}

.discipline-item h4 {
	font-family: var(--font-headline);
	font-weight: 300;
	font-size: 28px;
	line-height: normal;
	color: #180a2c;
	margin: 0;
	width: 100%;
	margin-bottom: 5px;
}

.discipline-item p {
	font-family: var(--font-primary);
	font-size: 16px;
	line-height: 26px;
	color: rgba(26, 26, 26, 0.7);
	margin: 0;
	width: 100%;
	align-self: flex-start;
	padding-bottom: 10px;
}

.discipline-arrow {
	display: block;
	width: 40px;
	height: 40px;
	align-self: flex-end;
	margin-left: auto;
}

.discipline-arrow img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.discipline-item a:hover h4 {
	color: #2a596b;
}

/* Discipline Images */
.age-group-images {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
	max-width: 1200px;
	margin: 0 auto;
}

.discipline-image {
	width: 100%;
	height: 257px;
	overflow: hidden;
}

.discipline-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.6s ease;
}

.discipline-image:hover img {
	transform: scale(1.08);
}

/* Begin Journey Section */
.begin-journey-courses {
	padding: 60px 119px;
	background-color: #000000;
}

.begin-journey-courses-inner {
	max-width: 1200px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 22px;
	align-items: center;
}

.begin-journey-courses-content {
	color: white;
	display: flex;
	flex-direction: column;
	gap: 30px;
	align-items: flex-start;
	justify-content: center;
}

.begin-journey-courses-content h2 {
	font-weight: 300;
	font-size: 50px;
	line-height: 60px;
	color: #ffffff;
	margin: 0;
}

.begin-journey-courses-content p {
	font-size: 18px;
	line-height: 30px;
	color: #ffffff;
	margin: 0;
	width: 100%;
}

.begin-journey-courses-content .cta-button {
	display: inline-block;
	border: 1px solid #ffffff;
	color: #ffffff;
	font-weight: 300;
	font-size: 18px;
	line-height: normal;
	padding: 8px 40px 10px 40px;
	border-radius: 100px;
	text-decoration: none;
	transition: all 0.3s;
}

.begin-journey-courses-content .cta-button:hover {
	background: #ffffff;
	color: #180a2c;
}

.begin-journey-courses-image {
	width: 100%;
	height: 100%;
}

.begin-journey-courses-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Responsive */
@media (max-width: 1280px) {
	.age-groups-intro {
		padding: 80px 40px;
	}

	.age-group-banner {
		padding: 40px 40px;
	}

	.age-group-content {
		padding: 80px 40px;
		gap: 80px;
	}

	.age-group-content-inner {
		gap: 80px;
	}

	.begin-journey-courses {
		padding: 60px 40px;
	}
}

@media (max-width: 1024px) {
	.age-groups-hero {
		height: 400px;
	}

	.age-groups-intro {
		padding: 60px 40px;
	}

	.age-group-banner {
		height: 250px;
		padding: 30px 40px;
	}

	.age-group-banner h2 {
		font-size: 40px;
		line-height: 50px;
	}

	.age-group-banner p {
		font-size: 18px;
		line-height: 28px;
	}

	.age-group-content {
		padding: 60px 40px;
		gap: 60px;
	}

	.age-group-content-inner {
		grid-template-columns: 1fr;
		gap: 60px;
	}

	.age-group-images {
		grid-template-columns: repeat(2, 1fr);
		gap: 20px;
		margin: 0;
	}

	.begin-journey-courses-inner {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.begin-journey-courses-content h2 {
		font-size: 40px;
		line-height: 50px;
	}
}

@media (max-width: 768px) {
	.age-groups-hero {
		height: 300px;
	}

	.age-groups-intro {
		padding: 50px 24px;
	}

	.age-groups-intro h1 {
		font-size: 40px;
	}

	.age-groups-intro .intro-content {
		font-size: 16px;
		line-height: 26px;
	}

	.age-group-banner {
		height: 200px;
		padding: 30px 24px;
	}

	.age-group-banner h2 {
		font-size: 32px;
		line-height: 42px;
	}

	.age-group-banner p {
		font-size: 16px;
		line-height: 26px;
	}

	.age-group-content {
		padding: 50px 24px;
		gap: 50px;
	}

	.age-group-content-inner {
		gap: 50px;
	}

	.content-left {
		gap: 36px;
	}

	.content-section h3,
	.objectives-section h3,
	.content-right h3 {
		font-size: 28px;
	}

	.objective-item {
		gap: 12px;
	}

	.objective-item p {
		font-size: 16px;
		line-height: 26px;
	}

	.discipline-item h4 {
		font-size: 24px;
	}

	.age-group-images {
		grid-template-columns: 1fr;
		gap: 16px;
		margin: 0;
	}

	.discipline-image {
		height: 200px;
	}

	.begin-journey-courses {
		padding: 50px 24px;
	}

	.begin-journey-courses-content h2 {
		font-size: 36px;
		line-height: 44px;
	}

	.begin-journey-courses-content p {
		font-size: 16px;
		line-height: 26px;
	}

	.begin-journey-courses-content .cta-button {
		font-size: 16px;
		padding: 8px 32px 10px 32px;
	}
}

@media (max-width: 480px) {
	.age-groups-intro {
		padding: 40px 16px;
	}

	.age-groups-intro h1 {
		font-size: 32px;
	}

	.age-group-banner {
		height: 180px;
		padding: 24px 16px;
	}

	.age-group-banner h2 {
		font-size: 28px;
		line-height: 38px;
	}

	.age-group-content {
		padding: 40px 16px;
		gap: 40px;
	}

	.age-group-content-inner {
		gap: 40px;
	}

	.content-left {
		gap: 32px;
	}

	.objectives-section {
		gap: 32px;
	}

	.objective-header h3,
	.content-right h3 {
		font-size: 24px;
	}

	.discipline-item h4 {
		font-size: 22px;
	}

	.discipline-item p {
		font-size: 14px;
		line-height: 24px;
	}

	.begin-journey-courses {
		padding: 40px 16px;
	}

	.begin-journey-courses-content h2 {
		font-size: 32px;
		line-height: 40px;
	}

	.begin-journey-courses-content p {
		font-size: 15px;
		line-height: 24px;
	}

	.begin-journey-courses-content .cta-button {
		font-size: 15px;
		padding: 8px 28px 10px 28px;
	}
}
