/**
 * Canvas Club — default page template
 */

.cc-main--page {
	padding: 0;
}

.cc-page {
	position: relative;
	overflow: hidden;
	min-height: clamp(20rem, 50vh, 32rem);
	background: linear-gradient(180deg, #f8fcff 0%, #fff 45%, #faf6ff 100%);
}

.cc-page__splatter {
	position: absolute;
	width: clamp(4rem, 10vw, 7rem);
	height: auto;
	pointer-events: none;
	z-index: 0;
}

.cc-page__splatter--yellow {
	top: 2rem;
	left: 0;
}

.cc-page__splatter--pink {
	top: 1rem;
	right: 2rem;
	width: clamp(3rem, 8vw, 5rem);
}

.cc-page__splatter--blue {
	right: -1rem;
	bottom: 3rem;
	width: clamp(5rem, 12vw, 8rem);
}

.cc-page__inner {
	position: relative;
	z-index: 1;
	margin-top: clamp(3rem, 2vw, 6.25rem);
	margin-bottom: clamp(3rem, 2vw, 6.25rem);
}

.cc-page__header {
	margin-bottom: 20px;
}

.cc-page__title {
	display: block;
	max-width: fit-content;
	margin: 0 auto;
	text-align: center;
	padding-bottom: 20px;
}

.cc-page__content {
	max-width: 48rem;
	margin: 0 auto;
	font-family: var(--cc-font-family);
	font-size: clamp(1rem, 1.8vw, 1.125rem);
	font-weight: 500;
	line-height: 1.6;
	color: #444;
}

.cc-page__content > :first-child {
	margin-top: 0;
}

.cc-page__content > :last-child {
	margin-bottom: 0;
}

.cc-page__content h2,
.cc-page__content h3,
.cc-page__content h4,
.cc-page__content h5,
.cc-page__content h6 {
	margin: 2rem 0 1rem;
	font-family: var(--cc-font-baloo-bold);
	font-weight: 500;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--cc-navy, #1a2238);
	line-height: 1.2;
}

.cc-page__content h2 {
	font-size: clamp(1.5rem, 3vw, 2rem);
}

.cc-page__content h3 {
	font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

.cc-page__content h4 {
	font-size: clamp(1.1rem, 2vw, 1.25rem);
}

.cc-page__content p {
	margin: 0 0 1.25rem;
}

.cc-page__content a {
	color: var(--cc-purple);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 0.15em;
	transition: color 0.2s ease;
}

.cc-page__content a:hover,
.cc-page__content a:focus-visible {
	color: var(--cc-purple-hover);
	outline: none;
}

.cc-page__content ul,
.cc-page__content ol {
	margin: 0 0 1.25rem;
	padding-left: 1.5rem;
}

.cc-page__content li {
	margin-bottom: 0.5rem;
}

.cc-page__content img {
	max-width: 100%;
	height: auto;
	border-radius: 10px;
}

.cc-page__content .wp-block-image {
	margin: 1.5rem 0;
}
