/* ==========================================================================
   Default page template (page.php)
   Matches the Elementor pages: Roboto headings, Pontano Sans body,
   brand rose #B84257, CTA red #BD0208, 1140px container.
   ========================================================================== */

.rek-page {
	--rek-brand: #b84257;
	--rek-cta: #bd0208;
	--rek-cta-hover: #ae0000;
	--rek-heading: #2c2c2b;
	--rek-text: #6b6b6b;
	--rek-border: #e8e8e8;
	--rek-soft: #faf5f6;
	--rek-font-heading: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
	--rek-font-body: "Pontano Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
	display: block;
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
}

.rek-container {
	width: 100%;
	max-width: 1140px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 20px;
	padding-right: 20px;
}

/* Let the page run full width if the theme wrapper is present */
#page-wrap:has(> .rek-page) {
	max-width: none;
}

/* Hero
   ========================================================================== */
.rek-hero {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 260px;
	overflow: hidden;
	background-color: #2c2c2b;
}

.rek-hero--image {
	min-height: 516px;
}

.rek-hero__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: center;
}

.rek-hero__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.25) 60%, rgba(0, 0, 0, 0.1) 100%);
}

.rek-hero__inner {
	position: relative;
	z-index: 1;
	padding-top: 60px;
	padding-bottom: 60px;
}

.rek-hero__title {
	max-width: 720px;
	margin: 0;
	font-family: var(--rek-font-heading);
	font-size: 40px;
	font-weight: 600;
	line-height: 1.2;
	color: #ffffff;
}

.rek-breadcrumbs {
	margin-bottom: 14px;
	font-family: var(--rek-font-heading);
	font-size: 14px;
	color: rgba(255, 255, 255, 0.85);
}

.rek-breadcrumbs p {
	margin: 0;
}

.rek-breadcrumbs a {
	color: #ffffff;
}

.rek-breadcrumbs a:hover {
	color: #ffffff;
	text-decoration: underline;
}

/* Body
   ========================================================================== */
.rek-page__body {
	padding-top: 60px;
	padding-bottom: 70px;
}

.rek-content {
	font-family: var(--rek-font-body);
	font-size: 18px;
	line-height: 1.7;
	color: var(--rek-text);
}

.rek-content > *:first-child {
	margin-top: 0;
}

.rek-content p {
	margin: 0 0 20px;
}

.rek-content strong,
.rek-content b {
	color: var(--rek-heading);
	font-weight: 700;
}

.rek-content h1,
.rek-content h2,
.rek-content h3,
.rek-content h4,
.rek-content h5,
.rek-content h6 {
	font-family: var(--rek-font-heading);
	font-weight: 600;
	line-height: 1.3;
	color: var(--rek-heading);
	margin: 40px 0 16px;
}

.rek-content h2 {
	font-size: 28px;
	color: var(--rek-brand);
}

.rek-content h3 {
	font-size: 22px;
}

.rek-content h4 {
	font-size: 19px;
}

.rek-content h5,
.rek-content h6 {
	font-size: 17px;
}

.rek-content a {
	color: var(--rek-cta);
	text-decoration: underline;
	text-underline-offset: 3px;
	transition: color 0.2s ease;
}

.rek-content a:hover {
	color: var(--rek-brand);
}

/* Lists */
.rek-content ul,
.rek-content ol {
	margin: 0 0 24px;
	padding-left: 0;
	list-style: none;
}

.rek-content ul li,
.rek-content ol li {
	position: relative;
	margin-bottom: 10px;
	padding-left: 28px;
}

.rek-content ul li::before {
	content: "";
	position: absolute;
	left: 4px;
	top: 0.62em;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background-color: var(--rek-brand);
}

.rek-content ol {
	counter-reset: rek-counter;
}

.rek-content ol li {
	counter-increment: rek-counter;
}

.rek-content ol li::before {
	content: counter(rek-counter) ".";
	position: absolute;
	left: 0;
	top: 0;
	font-family: var(--rek-font-heading);
	font-weight: 600;
	color: var(--rek-brand);
}

.rek-content li > ul,
.rek-content li > ol {
	margin: 10px 0 0;
}

/* Tables */
.rek-content .wp-block-table {
	margin: 0 0 30px;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.rek-content table {
	width: 100%;
	min-width: 520px;
	margin: 0;
	border-collapse: collapse;
	font-size: 16px;
	line-height: 1.5;
	border: 1px solid var(--rek-border);
}

.rek-content table th,
.rek-content table td {
	padding: 12px 16px;
	text-align: left;
	vertical-align: top;
	border: 1px solid var(--rek-border);
}

.rek-content table thead th,
.rek-content table tr:first-child th {
	font-family: var(--rek-font-heading);
	font-weight: 600;
	color: #ffffff;
	background-color: var(--rek-brand);
	border-color: var(--rek-brand);
}

.rek-content table tbody > tr:nth-child(odd) > td,
.rek-content table tbody > tr:nth-child(odd) > th {
	background-color: #ffffff;
}

.rek-content table tbody > tr:nth-child(even) > td {
	background-color: var(--rek-soft);
}

.rek-content table tbody tr:hover > td {
	background-color: #f3e7ea;
}

.rek-content .wp-block-table figcaption {
	margin-top: 8px;
	font-size: 14px;
	color: var(--rek-text);
}

/* Quotes, media, separators */
.rek-content blockquote,
.rek-content .wp-block-quote {
	margin: 0 0 30px;
	padding: 20px 24px;
	border-left: 4px solid var(--rek-brand);
	background-color: var(--rek-soft);
	color: var(--rek-heading);
}

.rek-content blockquote p:last-child {
	margin-bottom: 0;
}

.rek-content img {
	max-width: 100%;
	height: auto;
	border-radius: 6px;
}

.rek-content figure {
	margin: 0 0 30px;
}

.rek-content hr,
.rek-content .wp-block-separator {
	margin: 40px 0;
	border: 0;
	border-top: 1px solid var(--rek-border);
}

/* Gutenberg buttons follow the site CTA style */
.rek-content .wp-block-button__link,
.rek-content .wp-element-button {
	display: inline-block;
	padding: 12px 26px;
	font-family: var(--rek-font-heading);
	font-size: 16px;
	font-weight: 500;
	line-height: 1.4;
	color: #ffffff;
	text-decoration: none;
	background-color: var(--rek-cta);
	border-radius: 3px;
	transition: background-color 0.2s ease;
}

.rek-content .wp-block-button__link:hover,
.rek-content .wp-element-button:hover {
	color: #ffffff;
	background-color: var(--rek-cta-hover);
}

/* Elementor-built pages using the default template: no extra spacing */
.rek-page__builder {
	width: 100%;
}

/* Comments */
.rek-page .comments-area {
	margin-top: 50px;
	padding-top: 30px;
	border-top: 1px solid var(--rek-border);
}

/* Responsive
   ========================================================================== */
@media (max-width: 1024px) {
	.rek-hero--image {
		min-height: 400px;
	}

	.rek-hero__title {
		font-size: 34px;
	}

	.rek-page__body {
		padding-top: 50px;
		padding-bottom: 60px;
	}
}

@media (max-width: 767px) {
	.rek-container {
		padding-left: 16px;
		padding-right: 16px;
	}

	.rek-hero,
	.rek-hero--image {
		min-height: 240px;
	}

	.rek-hero__inner {
		padding-top: 40px;
		padding-bottom: 40px;
	}

	.rek-hero__title {
		font-size: 26px;
	}

	.rek-hero__overlay {
		background: rgba(0, 0, 0, 0.5);
	}

	.rek-page__body {
		padding-top: 36px;
		padding-bottom: 48px;
	}

	.rek-content {
		font-size: 16px;
	}

	.rek-content h2 {
		font-size: 22px;
		margin-top: 32px;
	}

	.rek-content h3 {
		font-size: 19px;
	}

	.rek-content table {
		font-size: 14px;
	}

	.rek-content table th,
	.rek-content table td {
		padding: 10px 12px;
	}
}
