/**
 * עמוד "שבושים" (page-15.php).
 *
 * הבסיס הוא הפתיח הכחול של בית המדרש הדיגיטלי (page-7601.css, נטען לפניו),
 * כמו בצור קשר. האריחים מ-content-page.css. כאן רק מה שמיוחד לעמוד:
 * התיבה "לתיאום שבוש" בפתיח, שלושת הצעדים שעולים על קצה הפתיח, ומרווחי
 * הרצועה "לפני שבאים".
 *
 * גדלים בפיקסלים ולא ב-rem: OceanWP קובע לשורש 10px.
 */

/* הפתיח: מקום בתחתית לצעדים שעולים עליו. */
.ov-shv__hero-inner {
	padding-bottom: clamp(104px, 14vh, 136px);
}

.ov-shv .ov-bm-hero__lede {
	text-wrap: balance;
}

.ov-shv__actions {
	margin: 30px 0 0;
}

/* ==========================================================================
   לתיאום שבוש
   ========================================================================== */

.ov-shv__contact {
	justify-self: end;
	width: 100%;
	max-width: 400px;
	padding: 30px 30px 28px;
	color: var(--ink);
	background: #ffffff;
	border-top: 3px solid var(--gold);
	border-radius: 20px;
	box-shadow: var(--shadow-lg);
}

.ov-shv__contact-label {
	margin: 0 0 10px;
	font-family: var(--body);
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1.4;
	color: var(--gold-deep);
}

.ov-shv__contact-name {
	margin: 0;
	font-family: var(--display);
	font-size: 28px;
	font-weight: 700;
	line-height: 1.2;
	color: var(--navy);
}

.ov-shv__contact-phone {
	display: inline-block;
	margin-top: 6px;
	font-size: 21px;
	font-weight: 700;
	letter-spacing: 0.02em;
	color: var(--navy-soft);
	text-decoration: none;
}

.ov-shv__contact-phone:hover,
.ov-shv__contact-phone:focus-visible {
	color: var(--gold-deep);
}

.ov-shv__contact-buttons {
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
	gap: 10px;
	margin-top: 22px;
}

.ov-shv__wa,
.ov-shv__call {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 50px;
	padding: 10px 16px;
	font-size: 17px;
	font-weight: 700;
	text-decoration: none;
	border-radius: 100px;
	transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.3s var(--ease);
}

.ov-shv__wa {
	color: #ffffff;
	background: #1f8f4e;
}

.ov-shv__wa:hover,
.ov-shv__wa:focus-visible {
	color: #ffffff;
	background: #18773f;
	transform: translateY(-2px);
}

.ov-shv__call {
	color: var(--navy);
	background: #ffffff;
	border: 1.5px solid var(--line);
}

.ov-shv__call:hover,
.ov-shv__call:focus-visible {
	color: var(--navy);
	border-color: var(--gold);
	transform: translateY(-2px);
}

.ov-shv__wa .ov-icon,
.ov-shv__call svg {
	flex: none;
	width: 20px;
	height: 20px;
}

.ov-shv__call svg {
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linejoin: round;
}

.ov-shv .ov-shv__contact a:focus-visible {
	outline-color: var(--navy);
}

/* ==========================================================================
   איך זה עובד: שלושה צעדים שווים, עולים על קצה הפתיח
   ========================================================================== */

.ov-shv__how {
	position: relative;
	z-index: 1;
	margin-top: calc(-1 * clamp(64px, 9vh, 80px));
}

.ov-shv__steps {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: ov-shv-step;
}

.ov-shv__step {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0;
	padding: 26px 26px 24px;
	padding-inline-start: 82px;
	background: #ffffff;
	border: 1px solid var(--line);
	border-top: 3px solid var(--gold);
	border-radius: 18px;
	box-shadow: var(--shadow-md);
	counter-increment: ov-shv-step;
}

.ov-shv__step::before {
	content: counter(ov-shv-step);
	position: absolute;
	inset-inline-start: 24px;
	top: 24px;
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	font-family: var(--display);
	font-size: 21px;
	font-weight: 700;
	line-height: 1;
	color: var(--navy);
	background: var(--sand);
	border: 2px solid var(--gold);
	border-radius: 50%;
}

.ov-shv__step-title {
	font-family: var(--display);
	font-size: 22px;
	font-weight: 700;
	line-height: 1.3;
	color: var(--navy);
}

.ov-shv__step-text {
	font-size: 16px;
	line-height: 1.6;
	color: var(--muted);
	text-wrap: pretty;
}

.ov-shv__step-go {
	align-self: flex-start;
	margin-top: auto;
	padding-top: 10px;
	font-size: 16px;
	font-weight: 700;
	color: var(--navy);
	text-decoration: underline;
	text-decoration-color: var(--gold);
	text-underline-offset: 4px;
}

.ov-shv__step-go::after {
	content: " ←";
}

.ov-shv__step-go:hover,
.ov-shv__step-go:focus-visible {
	color: var(--gold-deep);
}

.ov-shv .ov-shv__step-go:focus-visible {
	outline-color: var(--navy);
}

/* ==========================================================================
   לפני שבאים: האריחים
   ========================================================================== */

.ov-shv__more {
	padding-top: clamp(48px, 7vh, 72px);
	padding-bottom: clamp(56px, 8vh, 96px);
}

.ov-shv .ov-tiles {
	max-width: none;
	gap: 18px;
}

.ov-shv .ov-tile {
	min-height: 300px;
}

.ov-shv .ov-tile__text {
	text-wrap: balance;
}

/* שלושה אריחים בשורה: מקום לשתי שורות תיאור בכל אחד, כדי שהכותרות יתחילו באותו קו. */
@media (min-width: 901px) {
	.ov-shv .ov-tile__text {
		min-height: calc(2 * 1.55em);
	}
}

.ov-shv .ov-tile:focus-visible {
	outline-color: var(--navy);
}

@media (max-width: 1080px) {
	.ov-shv__contact {
		justify-self: start;
	}
}

@media (max-width: 900px) {
	.ov-shv__steps {
		grid-template-columns: minmax(0, 1fr);
		gap: 12px;
	}
}

@media (max-width: 600px) {
	.ov-shv__hero-inner {
		padding-bottom: 84px;
	}

	.ov-shv__how {
		margin-top: -56px;
	}

	.ov-shv__contact {
		padding: 24px 22px 22px;
	}

	.ov-shv__contact-name {
		font-size: 25px;
	}

	.ov-shv__contact-buttons {
		grid-template-columns: minmax(0, 1fr);
	}

	.ov-shv__step {
		padding: 18px 18px 18px;
		padding-inline-start: 70px;
	}

	.ov-shv__step::before {
		inset-inline-start: 18px;
		top: 18px;
		width: 38px;
		height: 38px;
		font-size: 19px;
	}

	.ov-shv__step-title {
		font-size: 19px;
	}

	.ov-shv__step-text {
		font-size: 15px;
	}

	.ov-shv .ov-tile {
		min-height: 220px;
	}
}
