/*
 * Shai Magen 2026 – inner pages (no Figma frames): page head, contact, activity centres, story, promise, download.
 * Built only from the homepage system in home.css / sections.css: tokens (--smh-orange, --smh-ink,
 * --smh-muted, --smh-line), Karantina display + Rubik text styles, chapter rule, pill buttons, 28px radii.
 */

/* ───────── Page head (dark band, header floats over it like the homepage hero) ───────── */
.smh.smh-pagehead {
	--head-clear: 112px; /* transparent header height */
	padding: calc(var(--head-clear) + 96px) var(--smh-pad-x) 104px;
	overflow: hidden; background: var(--smh-ink); color: var(--smh-white);
}
.smh .smh-pagehead__wrap { position: relative; z-index: 1; }
.smh .smh-pagehead__giraffe {
	position: absolute; z-index: 0; left: max(24px, calc((100% - 1224px) / 2 - 40px)); bottom: -129px;
	width: 340px; height: auto; max-width: none; opacity: .95; pointer-events: none;
}
.smh .smh-crumbs { padding-bottom: 14px; border-bottom: 1px solid rgba(255, 255, 255, .85); }
.smh .smh-crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 0; padding: 0; list-style: none; }
.smh .smh-crumbs li { display: flex; align-items: center; gap: 10px; margin: 0; font: 600 14px/normal var(--smh-font); letter-spacing: .56px; }
.smh .smh-crumbs li + li::before { content: '/'; color: var(--smh-orange); font-weight: 400; }
.smh .smh-crumbs a { color: rgba(255, 255, 255, .7); text-decoration: none; transition: color .2s; }
.smh .smh-crumbs a:hover, .smh .smh-crumbs a:focus-visible { color: var(--smh-orange); }
.smh .smh-crumbs [aria-current] { color: var(--smh-white); }
.smh .smh-pagehead__title { max-width: 900px; padding-top: 56px; color: var(--smh-white); }
.smh .smh-pagehead__text { max-width: 580px; margin: 26px 0 0; font: 400 19px/1.6 var(--smh-font); color: rgba(255, 255, 255, .78); }

/* ───────── Contact (grid of homepage section 06) ───────── */
.smh.smh-contact { padding-bottom: 0; scroll-margin-top: 80px; } /* next section's 128px top sets the rhythm, as on the homepage */
.smh .smh-contact__title { white-space: nowrap; }
.smh .smh-contact__form { flex: 664 1 0; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.smh .smh-contact__form .smh-form { flex: none; }
.smh .smh-contact__form-title + .smh-contact__note { margin-top: -14px; } /* sits under the form title */
.smh .smh-contact__note {
	margin: 0; padding-inline-start: 14px; border-inline-start: 3px solid var(--smh-orange);
	font: 400 16px/1.65 var(--smh-font); color: var(--smh-muted);
}
.smh .smh-contact__note strong { font-weight: 600; color: var(--smh-ink); }

.smh .smh-channels { width: 100%; margin: 8px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--smh-line); }
.smh .smh-channel { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; margin: 0; padding: 18px 0; border-bottom: 1px solid var(--smh-line); }
.smh .smh-channel__label { font: 600 14px/normal var(--smh-font); letter-spacing: .28px; color: var(--smh-muted); }
.smh .smh-channel__value {
	font: 400 43px/.95 var(--smh-display); color: var(--smh-ink); text-decoration: none; white-space: nowrap;
	transition: color .2s;
}
.smh a.smh-channel__value:hover, .smh a.smh-channel__value:focus-visible { color: var(--smh-orange); }
.smh .smh-channel__value--tel { padding-bottom: 2px; border-bottom: 3px solid var(--smh-orange); }

.smh .smh-service {
	display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%;
	margin-top: 10px; padding: 24px 28px; border-radius: 28px; background: #f5f4f2;
}
.smh .smh-service__text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.smh .smh-service__title { margin: 0; padding: 0; font: 400 30px/1 var(--smh-display); letter-spacing: 0; text-transform: none; color: var(--smh-ink); }
.smh .smh-service__text p { margin: 0; font: 400 15px/1.6 var(--smh-font); color: var(--smh-muted); }

.smh .smh-consent__label--strong { color: var(--smh-ink); }

/* ───────── Activity centres (card grid like section 02) ───────── */
.smh.smh-centres { padding-bottom: 128px; }
.smh .smh-centres__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; padding: 56px 0 48px; }
.smh .smh-centres__title { white-space: nowrap; }
.smh .smh-centres__text { width: 440px; max-width: 100%; }
.smh .smh-centres__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 72px 58px; margin: 0; padding: 0; list-style: none; }
.smh .smh-centre { display: flex; flex-direction: column; margin: 0; }
.smh .smh-centre__map { position: relative; aspect-ratio: 583 / 360; overflow: hidden; border-radius: 28px; background: #f5f4f2; }
.smh .smh-centre__map iframe {
	position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
	filter: grayscale(1) contrast(1.05); transition: filter .4s var(--smh-ease);
}
.smh .smh-centre:hover .smh-centre__map iframe, .smh .smh-centre:focus-within .smh-centre__map iframe { filter: none; }
.smh .smh-centre__info { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding-top: 20px; }
.smh .smh-centre__hours { margin: 0; font: 600 14px/1.5 var(--smh-font); color: var(--smh-ink); }
.smh .smh-centre__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; padding-top: 12px; }
.smh .smh-centre__actions .smh-text-link { margin: 0; }

/* ───────── Story: H2 + lede head, titled text blocks, light facts (about page 01) ───────── */
.smh.smh-story { padding-bottom: 128px; }
.smh .smh-story__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px 72px; padding: 56px 0 0; }
.smh .smh-story__title { flex: none; }
.smh .smh-story__lede { width: 520px; max-width: 100%; display: flex; flex-direction: column; gap: 14px; }
.smh .smh-story__lede-p { margin: 0; font: 400 19px/1.65 var(--smh-font); color: var(--smh-ink); }
.smh .smh-story__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 58px; padding-top: 80px; }
.smh .smh-story__block { display: flex; flex-direction: column; gap: 14px; padding-top: 18px; border-top: 1px solid var(--smh-line); }
.smh .smh-story__index { font: 400 26px/1 var(--smh-display); color: var(--smh-orange); }
.smh .smh-story__block-title { margin: 0 0 4px; padding: 0; font: 400 38px/.95 var(--smh-display); letter-spacing: 0; text-transform: none; color: var(--smh-ink); }
.smh .smh-story__facts { grid-template-columns: repeat(4, minmax(0, 1fr)); padding-top: 96px; }
.smh .smh-story__facts .smh-fact { border-top-color: var(--smh-ink); }
.smh .smh-story__facts .smh-fact + .smh-fact::before { background: var(--smh-line); }
.smh .smh-story__facts .smh-fact__value { font-size: 72px; }
.smh .smh-story__facts .smh-fact__label { color: var(--smh-muted); }

/* ───────── Promise: dark band like homepage 05 (about page 02) ───────── */
.smh.smh-promise { padding-bottom: 120px; overflow: hidden; background: var(--smh-ink); color: var(--smh-white); }
.smh .smh-promise__title { color: var(--smh-white); }
.smh .smh-promise__text .smh-story__lede-p { font-size: 17px; line-height: 1.8; color: rgba(255, 255, 255, .78); }
.smh .smh-promise__body { display: flex; align-items: center; gap: 72px; padding-top: 72px; }
.smh .smh-promise__list { flex: 1 1 0; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 32px; margin: 0; padding: 0; list-style: none; }
.smh .smh-promise__item { display: flex; flex-direction: column; gap: 12px; margin: 0; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .3); }
.smh .smh-promise__num { font: 400 44px/.9 var(--smh-display); color: var(--smh-orange); }
.smh .smh-promise__item-title { margin: 0; padding: 0; font: 600 19px/1.35 var(--smh-font); letter-spacing: 0; text-transform: none; color: var(--smh-white); }
.smh .smh-promise__item-text { margin: 0; font: 400 15px/1.6 var(--smh-font); color: rgba(255, 255, 255, .7); }
.smh .smh-promise__media { flex: 0 1 600px; min-width: 0; margin: 0; }
.smh .smh-promise__img { display: block; width: 100%; height: auto; max-width: none; }
.smh .smh-cert {
	display: flex; align-items: center; gap: 28px; margin-top: 88px; padding: 28px 32px;
	border: 1px solid rgba(255, 255, 255, .22); border-radius: 28px;
}
.smh .smh-cert__img { flex: none; width: 112px; height: 112px; object-fit: contain; border-radius: 50%; background: var(--smh-white); }
.smh .smh-cert__text { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.smh .smh-cert__title { margin: 0; padding: 0; font: 400 43px/1 var(--smh-display); letter-spacing: 0; text-transform: none; color: var(--smh-white); unicode-bidi: plaintext; text-align: start; }
.smh .smh-cert__desc { max-width: 640px; margin: 0; font: 400 16px/1.65 var(--smh-font); color: rgba(255, 255, 255, .75); }

/* ───────── Download card (about page 03 – catalogue) ───────── */
.smh.smh-download { padding-bottom: 128px; }
.smh .smh-download__card {
	display: flex; align-items: center; gap: 40px; margin-top: 56px; padding: 48px 56px;
	border-radius: 28px; background: #f5f4f2;
}
.smh .smh-download__badge {
	flex: none; display: grid; place-items: center; width: 132px; aspect-ratio: 3 / 4; border-radius: 14px;
	background: var(--smh-ink); color: var(--smh-orange); font: 400 54px/1 var(--smh-display);
	clip-path: polygon(0 0, 72% 0, 100% 21%, 100% 100%, 0 100%); /* folded document corner */
}
.smh .smh-download__cover {
	flex: none; width: 168px; margin: -88px 0 -8px; transform: rotate(-4deg); transition: transform .4s var(--smh-ease);
}
.smh .smh-download__card:hover .smh-download__cover { transform: rotate(0deg) translateY(-6px); }
.smh .smh-download__cover-img { display: block; width: 100%; height: auto; border-radius: 6px; box-shadow: 0 18px 40px rgba(26, 21, 18, .22); }
.smh .smh-download__text { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.smh .smh-download__btn { flex: none; }

/* ───────── Tablet ───────── */
@media (max-width: 1279px) {
	.smh .smh-pagehead__giraffe { width: 26vw; bottom: -10vw; } /* keeps the desktop -129px / 340px proportion */
}
@media (max-width: 1099px) {
	.smh.smh-pagehead { --head-clear: 72px; }
}
@media (max-width: 1023px) {
	.smh .smh-contact__form { flex: none; width: 100%; }
	.smh .smh-pagehead__giraffe { opacity: .35; }
	.smh .smh-centres__head { flex-direction: column; align-items: flex-start; gap: 18px; }
	.smh .smh-story__head { flex-direction: column; align-items: flex-start; gap: 24px; }
	.smh .smh-promise__body { flex-direction: column-reverse; align-items: stretch; gap: 48px; }
	.smh .smh-promise__media { flex: none; width: min(600px, 100%); }
	.smh .smh-download__card { flex-wrap: wrap; }
	.smh .smh-download__text { flex-basis: 320px; }
}

/* ───────── Mobile (393 system: 20px gutters, 72px section tops) ───────── */
@media (max-width: 767px) {
	.smh.smh-pagehead { padding: calc(var(--head-clear) + 56px) var(--smh-pad-x) 64px; }
	.smh .smh-pagehead__giraffe { left: -55px; bottom: -120px; width: 200px; opacity: .25; }
	.smh .smh-pagehead__title { padding-top: 36px; }
	.smh .smh-pagehead__text { margin-top: 22px; font-size: 16px; line-height: 1.65; }

	.smh .smh-contact__title { white-space: normal; }
	.smh .smh-channel { padding: 16px 0; }
	.smh .smh-channel__value { font-size: 35px; }
	.smh .smh-service { flex-direction: column; align-items: flex-start; padding: 22px 20px; }

	.smh.smh-centres { padding-bottom: 72px; }
	.smh .smh-centres__head { padding: 36px 0 32px; }
	.smh .smh-centres__title { white-space: normal; }
	.smh .smh-centres__grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
	.smh .smh-centre__map { aspect-ratio: 353 / 240; }

	.smh.smh-story, .smh.smh-download { padding-bottom: 72px; }
	.smh.smh-promise { padding-bottom: 72px; }
	.smh .smh-story__head { padding-top: 36px; }
	.smh .smh-story__title, .smh .smh-promise__title { white-space: normal; }
	.smh .smh-story__lede-p { font-size: 17px; }
	.smh .smh-story__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; padding-top: 48px; }
	.smh .smh-story__block-title { font-size: 32px; }
	.smh .smh-story__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-top: 56px; }
	.smh .smh-story__facts .smh-fact__value { font-size: 48px; }
	.smh .smh-promise__body { padding-top: 48px; }
	.smh .smh-promise__list { grid-template-columns: minmax(0, 1fr); gap: 28px; }
	.smh .smh-promise__item { flex-direction: row; align-items: baseline; gap: 16px; }
	.smh .smh-promise__num { flex: none; width: 44px; font-size: 36px; }
	.smh .smh-cert { flex-direction: column; align-items: flex-start; gap: 18px; margin-top: 56px; padding: 24px 20px; }
	.smh .smh-cert__img { width: 88px; height: 88px; }
	.smh .smh-cert__title { font-size: 35px; }
	.smh .smh-download__card { flex-direction: column; align-items: flex-start; gap: 24px; margin-top: 36px; padding: 28px 20px; }
	.smh .smh-download__text { flex-basis: auto; }
	.smh .smh-download__badge { width: 84px; font-size: 36px; }
	.smh .smh-download__cover { width: 120px; margin: -64px 0 0; }
}

/* ───────── Jobs: head like the centres, bordered cards like the catalogue (1px line, 6px radius) ───────── */
.smh.smh-jobs { padding-bottom: 128px; }
.smh .smh-jobs__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; padding: 56px 0 48px; }
.smh .smh-jobs__text { width: 440px; max-width: 100%; }
.smh .smh-jobs__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.smh .smh-job {
	display: flex; flex-direction: column; gap: 18px; margin: 0; padding: 32px 32px 28px;
	border: 1px solid var(--smh-line); border-radius: 6px; background: var(--smh-white);
	transition: border-color .2s;
}
.smh .smh-job:hover, .smh .smh-job:focus-within { border-color: var(--smh-ink); }
.smh .smh-job__meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.smh .smh-job__meta li {
	display: inline-flex; align-items: center; gap: 6px; margin: 0; padding: 6px 12px 6px 14px; border-radius: 999px;
	background: var(--smh-ink); font: 600 13px/1.2 var(--smh-font); color: var(--smh-orange);
}
.smh .smh-job__meta svg { flex: none; width: 15px; height: 15px; }
.smh .smh-job__summary { margin: 0; font: 400 17px/1.6 var(--smh-font); color: var(--smh-muted); }
.smh .smh-job__label { margin: 0 0 4px; padding: 0; font: 600 14px/normal var(--smh-font); letter-spacing: .56px; color: var(--smh-ink); text-transform: none; }
.smh .smh-job__list ul { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--smh-ink); }
.smh .smh-job__list li {
	position: relative; margin: 0; padding: 10px 18px 10px 0; border-bottom: 1px solid var(--smh-line);
	font: 400 16px/1.5 var(--smh-font); color: var(--smh-ink);
}
.smh .smh-job__list li::before { content: ''; position: absolute; top: 19px; inset-inline-start: 2px; width: 6px; height: 6px; border-radius: 50%; background: var(--smh-orange); }
.smh .smh-job__foot { margin-top: auto; padding-top: 10px; }
.smh .smh-jobs__note { margin: 32px 0 0; font: 400 15px/1.6 var(--smh-font); color: var(--smh-muted); }
@media (max-width: 1023px) {
	.smh .smh-jobs__head { flex-direction: column; align-items: flex-start; gap: 18px; }
	.smh .smh-jobs__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767px) {
	.smh.smh-jobs { padding-bottom: 72px; }
	.smh .smh-jobs__head { padding: 36px 0 32px; }
	.smh .smh-job { padding: 24px 20px 22px; gap: 16px; }
	.smh .smh-job__summary { font-size: 16px; }
	.smh .smh-job__list li { font-size: 15px; }
}

/* ───────── Elementor Pro forms in an SM section (e.g. /takala/): same fields as .smh-form ───────── */
.smh.smh-elform { padding-bottom: 128px; }
/* In the site grid: the same centred 1224px column as .smh-wrap (page head, contact, jobs). Padding, not max-width,
   because Elementor forces max-width:100% on container children. */
.smh.smh-elform { padding-inline: max(var(--smh-pad-x), calc((100% - 1224px) / 2)) !important; }
.smh-elform .elementor-form-fields-wrapper { row-gap: 20px; }
.smh-elform .elementor-field-group { margin-bottom: 0; }
.smh-elform .elementor-field-group > .elementor-field-label {
	margin-bottom: 8px; padding: 0; font: 600 14px/normal var(--smh-font); letter-spacing: .28px; color: var(--smh-ink);
}
.smh-elform .elementor-field-textual, .smh-elform .elementor-field-group .elementor-field-textual {
	width: 100%; min-height: 56px; margin: 0; padding: 0 18px;
	border: 2px solid var(--smh-line); border-radius: 14px; background: var(--smh-white); box-shadow: none; outline: 0;
	font: 400 17px/1.65 var(--smh-font); color: var(--smh-ink); transition: border-color .2s, box-shadow .2s;
}
.smh-elform textarea.elementor-field-textual { min-height: 140px; padding: 14px 18px; border-radius: 14px; resize: vertical; }
.smh-elform .elementor-field-textual:hover { border-color: #c9c3bf; }
.smh-elform .elementor-field-textual:focus { border-color: var(--smh-ink); box-shadow: 4px 4px 0 var(--smh-orange); outline: 0; }
.smh-elform .elementor-field-type-html { padding-top: 16px; }
.smh-elform .smh-elform__sub {
	display: block; padding-bottom: 12px; border-bottom: 1px solid var(--smh-ink);
	font: 600 14px/normal var(--smh-font); letter-spacing: .56px; color: var(--smh-ink);
}
.smh-elform .elementor-field-type-upload .elementor-field {
	width: 100%; padding: 14px 18px; border: 2px dashed var(--smh-line); border-radius: 14px; background: #f5f4f2;
	font: 400 15px/1.5 var(--smh-font); color: var(--smh-muted); cursor: pointer;
}
.smh-elform .elementor-field-type-upload .elementor-field::file-selector-button {
	margin-inline-end: 14px; padding: 8px 16px; border: 0; border-radius: 999px; background: var(--smh-ink);
	font: 600 14px/1 var(--smh-font); color: var(--smh-white); cursor: pointer;
}
.smh-elform .elementor-field-type-acceptance .elementor-field-subgroup { display: flex; align-items: flex-start; gap: 10px; }
.smh-elform .elementor-field-type-acceptance input[type="checkbox"] { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--smh-ink); cursor: pointer; }
.smh-elform .elementor-field-type-acceptance label { font: 400 15px/1.6 var(--smh-font); color: var(--smh-muted); }
.smh-elform .elementor-field-type-acceptance a { color: inherit; text-decoration: underline; }
.smh-elform .elementor-field-type-submit { padding-top: 8px; }
.smh-elform .elementor-field-type-acceptance > .elementor-field-label { display: none; } /* the checkbox carries the same text */
.smh.smh-elform .elementor-button[type="submit"] {
	width: 100%; height: 64px; padding: 0 28px; border: 2px solid var(--smh-orange); border-radius: 999px;
	background: var(--smh-orange); color: var(--smh-ink) !important; font: 600 17px/1 var(--smh-font); transition: background-color .2s, color .2s;
}
.smh.smh-elform .elementor-button[type="submit"]:hover, .smh.smh-elform .elementor-button[type="submit"]:focus-visible { background: var(--smh-ink); border-color: var(--smh-ink); color: var(--smh-white) !important; }
.smh-elform .elementor-message { margin-top: 12px; font: 400 16px/1.6 var(--smh-font); }
.smh-elform .elementor-message.elementor-message-success { color: var(--smh-ink); }
.smh-elform .elementor-error .elementor-field-textual { border-color: #c62828; }
@media (max-width: 767px) {
	.smh.smh-elform { padding-bottom: 72px; }
	.smh-elform .elementor-field-group.elementor-col-50 { width: 100%; }
}

/* ───────── Text pages in Elementor (legal, accessibility, sitemap, thanks, landing): container classes
   "smh smh-section smh-prose" around ordinary Elementor widgets. Same 1224px grid as .smh-wrap. ───────── */
.smh.smh-prose { padding-inline: max(var(--smh-pad-x), calc((100% - 1224px) / 2)) !important; padding-bottom: 128px; }
.smh-prose .elementor-widget-text-editor { max-width: 860px !important; } /* Elementor forces 100% on container children */
.smh-prose, .smh-prose .elementor-widget-text-editor, .smh-prose .elementor-text-editor {
	font: 400 18px/1.75 var(--smh-font); color: var(--smh-ink);
}
.smh-prose p { margin: 0 0 1.1em; }
.smh-prose h2, .smh-prose h3, .smh-prose h4,
.smh-prose .elementor-widget-text-editor h2, .smh-prose .elementor-widget-text-editor h3 {
	margin: 1.6em 0 .5em; padding: 0; font: 400 43px/.95 var(--smh-display); color: var(--smh-ink); text-transform: none; letter-spacing: 0;
}
.smh-prose h3, .smh-prose .elementor-widget-text-editor h3 { font-size: 32px; }
.smh-prose h4 { font: 600 18px/1.4 var(--smh-font); }
.smh-prose ul, .smh-prose ol { margin: 0 0 1.2em; padding-inline-start: 1.3em; }
.smh-prose li { margin: 0 0 .5em; padding-inline-start: .2em; }
.smh-prose ul li::marker { color: var(--smh-orange); }
.smh-prose ol li::marker { color: var(--smh-orange); font-weight: 600; }
.smh-prose a:not(.smh-btn) { color: var(--smh-ink); text-decoration: underline; text-decoration-color: var(--smh-orange); text-underline-offset: 4px; }
.smh-prose a:not(.smh-btn):hover { color: var(--smh-orange); }
.smh-prose strong, .smh-prose b { font-weight: 600; }
.smh-prose img { max-width: 100%; height: auto; border-radius: 6px; }
.smh-prose .smh-prose__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 12px; }
/* Elementor Pro sitemap widget */
.smh-prose .elementor-sitemap-wrap { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 40px; }
.smh-prose .elementor-sitemap-title { margin: 0 0 12px; padding-bottom: 12px; border-bottom: 1px solid var(--smh-ink); font: 600 14px/normal var(--smh-font); letter-spacing: .56px; }
.smh-prose .elementor-sitemap-list { margin: 0; padding: 0; list-style: none; }
.smh-prose .elementor-sitemap-item { margin: 0; padding: 8px 0; border-bottom: 1px solid var(--smh-line); font-size: 16px; }
.smh-prose .elementor-sitemap-item::marker { content: none; }
.smh-prose .elementor-sitemap-list .children { padding-inline-start: 16px; }
.smh-prose .smh-prose__pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin: 32px 0; }
.smh-prose .smh-prose__pair figure { margin: 0; overflow: hidden; border: 1px solid var(--smh-line); border-radius: 6px; }
.smh-prose .smh-prose__pair img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 0; }
.smh-prose .smh-prose__pair figcaption { padding: 14px 18px; font: 400 35px/1 var(--smh-display); }
.smh.smh-prose.smh-elform .elementor-widget-text-editor { margin-bottom: 24px; }
/* Video and image pairs on the landing page */
.smh-prose .elementor-widget-video { overflow: hidden; border-radius: 6px; margin-bottom: 48px; }
@media (max-width: 767px) {
	.smh.smh-prose { padding-bottom: 72px; }
	.smh-prose, .smh-prose .elementor-widget-text-editor { font-size: 16px; }
	.smh-prose h2, .smh-prose .elementor-widget-text-editor h2 { font-size: 35px; }
	.smh-prose h3 { font-size: 28px; }
}

/* ───────── Blog: /blog/ cards and single articles ───────── */
.smh.smh-blog { padding-bottom: 128px; }
.smh .smh-blog--more { padding-top: 0; }
.smh .smh-blog--more .smh-postcards { padding-top: 40px; }
.smh .smh-postcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.smh .smh-postcard-item { margin: 0; }
.smh .smh-postcard {
	display: flex; flex-direction: column; gap: 14px; height: 100%; box-sizing: border-box; padding: 28px 28px 22px;
	border: 1px solid var(--smh-line); border-radius: 6px; background: var(--smh-white); color: var(--smh-ink); text-decoration: none;
	transition: border-color .2s;
}
.smh .smh-postcard:hover, .smh .smh-postcard:focus-visible { border-color: var(--smh-ink); }
.smh .smh-postcard:focus-visible { outline: 2px solid var(--smh-orange); outline-offset: 3px; }
.smh .smh-postcard__title { font: 400 35px/1 var(--smh-display); color: var(--smh-ink); }
.smh .smh-postcard__text { font: 400 16px/1.6 var(--smh-font); color: var(--smh-muted); }
.smh .smh-postcard__foot {
	display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 14px;
	border-top: 1px solid var(--smh-line); font: 600 14px/normal var(--smh-font);
}
.smh .smh-postcard__go { display: flex; color: var(--smh-orange); transition: transform .25s var(--smh-ease); }
.smh .smh-postcard__go svg { width: 20px; height: 20px; }
.smh .smh-postcard:hover .smh-postcard__go { transform: translateX(-4px); }
.smh .smh-pagination { margin-top: 48px; }
.smh .smh-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.smh .smh-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 14px; border: 1px solid var(--smh-line); border-radius: 999px; color: var(--smh-ink); font: 600 15px/1 var(--smh-font); text-decoration: none; }
.smh .smh-pagination .page-numbers.current { border-color: var(--smh-ink); background: var(--smh-ink); color: var(--smh-white); }
.smh.smh-post-head .smh-pagehead__title { font-size: clamp(48px, 5.5vw, 80px); line-height: .95; }
.smh-post-body .smh.smh-prose { padding-bottom: 72px; }
.smh.smh-post-cta { padding-top: 0; padding-bottom: 96px; }
.smh .smh-post-cta__card { display: flex; align-items: center; justify-content: space-between; gap: 32px 56px; padding: 48px 56px; border-radius: 6px; background: #f5f4f2; }
.smh .smh-post-cta__text { display: flex; flex-direction: column; gap: 12px; max-width: 560px; }
.smh .smh-post-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 1023px) {
	.smh .smh-postcards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.smh .smh-post-cta__card { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 767px) {
	.smh.smh-blog { padding-bottom: 72px; }
	.smh .smh-postcards { grid-template-columns: minmax(0, 1fr); gap: 16px; }
	.smh .smh-postcard { padding: 22px 20px 18px; }
	.smh .smh-postcard__title { font-size: 30px; }
	.smh .smh-post-cta__card { padding: 32px 22px; }
	.smh.smh-post-head .smh-pagehead__title { font-size: 44px; }
}
/* Form hierarchy (from the old forms): main part (who fills it in) → section → note. */
.smh-elform .smh-elform__part {
	display: block; margin-top: 24px; padding: 18px 22px; border-radius: 6px; border-inline-start: 6px solid var(--smh-orange);
	background: var(--smh-ink); font: 400 35px/1 var(--smh-display); color: var(--smh-white);
}
.smh-elform .elementor-field-type-html:first-child .smh-elform__part { margin-top: 0; }
.smh-elform .smh-elform__note { display: block; font: 400 15px/1.6 var(--smh-font); color: var(--smh-muted); }
.smh-elform .elementor-field-type-html:has(.smh-elform__note) { padding-top: 4px; }
html[lang="ar"] .smh-elform .smh-elform__part { font-size: 24px; line-height: 1.3; }
