/* Content / service pages — Coleman site style */

body.coleman-content-page .coleman-main {
	background: #fff;
}

/* Kill WP block-gap between page hero and post content */
body.coleman-content-page .coleman-main > *,
body.coleman-content-page .coleman-main > .wp-block-post-content,
body.coleman-content-page .coleman-main > .entry-content {
	margin-block-start: 0 !important;
	margin-top: 0 !important;
}

body.coleman-content-page .coleman-page-hero + .wp-block-post-content,
body.coleman-content-page .coleman-page-hero + .entry-content {
	margin-block-start: 0 !important;
	margin-top: 0 !important;
	padding-top: 0 !important;
}

body.coleman-content-page .coleman-main .content-area.alignwide,
body.coleman-content-page .coleman-main .site-main,
body.coleman-content-page .coleman-main .wp-block-post-content {
	max-width: none !important;
	width: 100% !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

/* Hero — Figma text heroes (178:1197 / 187:1906): 435px, title @161, tagline @225
   (series logo heroes stay on series.css — logo @60 / tagline @277) */
.coleman-page-hero {
	box-sizing: border-box;
	margin: 0;
	min-height: 435px;
	height: 435px;
	display: block;
	padding: 0;
	background: #111 center / cover no-repeat;
	color: #fff;
	text-align: center;
	position: relative;
	direction: rtl;
	overflow: hidden;
}

.coleman-page-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.35) 100%);
	pointer-events: none;
}

.coleman-page-hero__inner {
	position: absolute;
	inset: 0;
	z-index: 1;
	display: block;
	max-width: none;
	width: 100%;
	margin: 0;
	padding: 0;
}

.coleman-page-hero__title,
.coleman-content-page__body .coleman-page-hero__title {
	position: absolute;
	top: 161px;
	left: 50%;
	transform: translateX(-50%);
	margin: 0;
	width: min(1193px, 92vw);
	font: 600 65px / 50px var(--coleman-font, "Assistant", "Arial Hebrew", Arial, sans-serif);
	color: #fff;
	letter-spacing: 0;
	text-align: center;
	text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

.coleman-page-hero__tagline,
.coleman-content-page__body .coleman-page-hero__tagline {
	position: absolute;
	top: 225px;
	left: 50%;
	transform: translateX(-50%);
	margin: 0;
	width: min(920px, 92vw);
	font: 400 40px / 50px var(--coleman-font, "Assistant", "Arial Hebrew", Arial, sans-serif);
	color: #fff;
	font-weight: 400;
	text-align: center;
	text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

/* Content shell */
.coleman-content-page__body {
	max-width: 920px;
	margin: 0 auto;
	padding: 48px 24px 96px;
	direction: rtl;
	color: #111;
	font: 400 18px / 1.7 "Assistant", "Arial Hebrew", Arial, sans-serif;
	text-align: right;
}

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

.coleman-content-page__body h1,
.coleman-content-page__body h2,
.coleman-content-page__body h3,
.coleman-content-page__body h4 {
	font-family: "Assistant", "Arial Hebrew", Arial, sans-serif;
	color: #000;
	font-weight: 700;
	line-height: 1.25;
	margin: 1.6em 0 0.55em;
	text-align: right;
}

.coleman-content-page__body h1 {
	font-size: 40px;
}

.coleman-content-page__body h2 {
	font-size: 32px;
}

.coleman-content-page__body h3 {
	font-size: 24px;
	font-weight: 600;
}

.coleman-content-page__body h4 {
	font-size: 20px;
	font-weight: 600;
}

.coleman-content-page__body p {
	margin: 0 0 1em;
	font: 400 18px / 1.7 "Assistant", "Arial Hebrew", Arial, sans-serif;
}

.coleman-content-page__body a {
	color: var(--coleman, #e52528);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.coleman-content-page__body a:hover {
	color: #b81c1f;
}

/* Theme CTAs — don't inherit body link red (invisible on red buttons) */
.coleman-content-page__body a.coleman-btn {
	text-decoration: none;
}

.coleman-content-page__body a.coleman-btn--red,
.coleman-content-page__body a.coleman-btn--red:hover {
	color: #fff;
}

.coleman-content-page__body a.coleman-btn--black,
.coleman-content-page__body a.coleman-btn--black:hover,
.coleman-content-page__body a.coleman-btn--red:hover {
	color: #fff;
}

.coleman-content-page__body a.coleman-btn--outline {
	color: var(--coleman, #e52528);
}

.coleman-content-page__body a.coleman-btn--outline:hover {
	color: #fff;
}

.coleman-content-page__body a.coleman-btn--outline-black {
	color: #000;
}

.coleman-content-page__body a.coleman-btn--outline-black:hover {
	color: #fff;
}

/* CTA-looking links (short text anchors) — skip themed hubs/cards */
.coleman-content-page__body > a,
.coleman-content-page__body > p > a:only-child {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 10px 28px;
	margin: 8px 0 20px;
	border: 1px solid var(--coleman, #e52528);
	border-radius: 999px;
	background: #fff;
	color: var(--coleman, #e52528);
	font: 600 18px / 1.2 "Assistant", "Arial Hebrew", Arial, sans-serif;
	text-decoration: none;
	transition: background 0.2s ease, color 0.2s ease;
}

.coleman-content-page__body > a:hover,
.coleman-content-page__body > p > a:only-child:hover {
	background: var(--coleman, #e52528);
	color: #fff;
}

.coleman-content-page__body ul,
.coleman-content-page__body ol {
	margin: 0 0 1.25em;
	padding: 0 1.25em 0 0;
}

.coleman-content-page__body li {
	margin: 0 0 0.4em;
}

.coleman-content-page__body img {
	max-width: 100%;
	height: auto;
	border-radius: 12px;
	display: inline-block;
}

/* Don't let body img rules collapse CTA arrow hover (padding/object-fit swap). */
.coleman-content-page__body .coleman-btn > img {
	max-width: none;
	width: 30px;
	height: 30px;
	border-radius: 0;
	display: block;
	flex: 0 0 30px;
}

/* Red CTA hover: white circle + red arrow (Figma 53:132) */
.coleman-content-page__body a.coleman-btn--red:hover > img {
	box-sizing: border-box;
	width: 30px;
	height: 30px;
	padding-left: 30px;
	overflow: hidden;
	object-fit: none;
	object-position: -999px 0;
	background: url("../icons/arrow-dot-red.svg") center / contain no-repeat;
}

.coleman-content-page__body figure {
	margin: 1.5em 0;
	text-align: center;
}

.coleman-content-page__body iframe,
.coleman-content-page__body video {
	max-width: 100%;
	border-radius: 16px;
}

.coleman-content-page__body table {
	width: 100%;
	border-collapse: collapse;
	margin: 1.5em 0;
	font-size: 16px;
}

.coleman-content-page__body th,
.coleman-content-page__body td {
	border: 1px solid var(--coleman-grey, #b6b1a9);
	padding: 10px 12px;
	text-align: right;
}

.coleman-content-page__body th {
	background: var(--coleman-grey-soft, rgba(182, 177, 169, 0.35));
	font-weight: 600;
}

/* Soft cards for icon + heading blocks common on old service pages */
.coleman-content-page__body h2 + p img,
.coleman-content-page__body p img {
	margin: 0.25em 0;
}

@media (max-width: 1100px) {
	.coleman-page-hero {
		height: 360px;
		min-height: 360px;
	}

	.coleman-page-hero__title {
		top: 133px;
		font-size: 48px;
		line-height: 40px;
	}

	.coleman-page-hero__tagline {
		top: 186px;
		font-size: 28px;
		line-height: 36px;
		width: min(720px, 92vw);
	}
}

@media (max-width: 768px) {
	.coleman-page-hero {
		height: 280px;
		min-height: 280px;
	}

	.coleman-page-hero__title {
		top: 96px;
		font-size: 36px;
		line-height: 1.15;
	}

	.coleman-page-hero__tagline {
		top: 148px;
		font-size: 20px;
		line-height: 1.3;
		width: min(560px, 92vw);
	}

	.coleman-page-hero--workshops {
		height: 361px;
		min-height: 361px;
		background-image: var(--coleman-page-hero-mobile) !important;
		background-size: cover;
		background-position: center;
		-webkit-background-size: cover;
	}

	.coleman-page-hero--workshops .coleman-page-hero__inner {
		display: flex;
		align-items: center;
		justify-content: center;
		padding: 24px 18px;
	}

	.coleman-page-hero--workshops .coleman-page-hero__title {
		position: static;
		top: auto;
		transform: none;
		width: min(370px, 92vw);
		font-size: 42.5px;
		line-height: 44px;
		text-shadow: 0 2px 2px rgba(0, 0, 0, 0.25);
	}

	.coleman-page-hero--workshops .coleman-page-hero__tagline {
		display: none;
	}

	.coleman-content-page__body {
		padding: 32px 18px 72px;
	}

	.coleman-content-page__body table {
		font-size: 18px;
	}

	.coleman-content-page__body h1 {
		font-size: 30px;
	}

	.coleman-content-page__body h2 {
		font-size: 26px;
	}
}
