/**
 * ההדר והפוטר של האתר (template-parts/site-header.php, site-footer.php).
 *
 * מחליף את elementor-chrome.css, ששימש לליטוש ההדר והפוטר של אלמנטור.
 * אותה שפה עיצובית: כחול מוביל, זהב כמוטיב (קו, כפתור, ריחוף), שנהב עדין.
 * הכל נגזר מהמשתנים שב-style.css.
 */

/* ==========================================================================
   הדר
   ========================================================================== */

.ov-header {
	position: sticky;
	top: var(--wp-admin--admin-bar--height, 0px);
	z-index: 1000;
	background: var(--ov-surface);
	border-bottom: 2px solid var(--ov-gold);
	box-shadow: 0 1px 2px rgba(0, 35, 71, 0.04), 0 10px 30px -18px rgba(0, 35, 71, 0.3);
	font-family: 'Assistant', system-ui, sans-serif;
}

/* לרוחב המסך כולו, עם המרווח האחיד מהקצה (--ov-edge), ולא תיבה ממורכזת
   ברוחב קבוע: כך ההדר מיושר לתמונה הראשית ולא "צף" באמצע במסך רחב. */
.ov-header__inner {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 10px var(--ov-edge);
}

.ov-header__logo {
	flex: 0 0 auto;
	display: block;
	line-height: 0;
}

/* בקובץ הלוגו יש שוליים ריקים רחבים, ולכן התמונה גדולה מהשורה ונכנסת לריפוד
   שלה (margin שלילי). כך הסמל עצמו נראה בגודל הנכון בלי להגביה את ההדר. */
.ov-header__logo img {
	width: 80px;
	height: 80px;
	max-width: none;
	margin-block: -8px;
	object-fit: contain;
}

.ov-header__panel {
	flex: 1 1 auto;
	display: flex;
	align-items: center;
	gap: 14px;
	min-width: 0;
}

/* --- תפריט ------------------------------------------------------------- */

.ov-nav {
	flex: 0 0 auto;
}

.ov-nav__list,
.ov-nav__list .sub-menu {
	margin: 0;
	padding: 0;
	list-style: none;
}

.ov-nav__list {
	display: flex;
	align-items: center;
	gap: 2px;
}

.ov-nav__list > li {
	position: relative;
}

.ov-nav__list a {
	display: block;
	padding: 8px 7px;
	font-size: 14.5px;
	font-weight: 600;
	line-height: 1.3;
	color: var(--ov-navy);
	text-decoration: none;
	white-space: nowrap;
	border-bottom: 2px solid transparent;
	transition: color var(--ov-transition), border-color var(--ov-transition);
}

.ov-nav__list a:hover,
.ov-nav__list a:focus-visible,
.ov-nav__list .current-menu-item > a,
.ov-nav__list .current-menu-ancestor > a {
	color: var(--ov-gold-deep);
	border-bottom-color: var(--ov-gold);
}

.ov-nav__list a:focus-visible {
	outline: 2px solid var(--ov-gold);
	outline-offset: 2px;
}

/* פריט עם תת-תפריט: חץ קטן */
.ov-nav__list > .menu-item-has-children > a::after {
	content: "";
	display: inline-block;
	width: 6px;
	height: 6px;
	margin-inline-start: 7px;
	/* right ולא inline-end: חץ שמצביע למטה לא תלוי בכיוון הכתיבה */
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: translateY(-3px) rotate(45deg);
}

/* תת-תפריט בדסקטופ: נפתח בריחוף ובפוקוס מקלדת */
.ov-nav__list .sub-menu {
	position: absolute;
	top: 100%;
	inset-inline-start: 0;
	min-width: 210px;
	padding: 8px;
	background: var(--ov-surface);
	border: 1px solid var(--ov-border);
	border-top: 2px solid var(--ov-gold);
	border-radius: 0 0 var(--ov-radius) var(--ov-radius);
	box-shadow: var(--ov-shadow);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.ov-nav__list li:hover > .sub-menu,
.ov-nav__list li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.ov-nav__list .sub-menu a {
	padding: 9px 12px;
	font-weight: 500;
	border-bottom: 0;
	border-radius: var(--ov-radius-sm);
}

.ov-nav__list .sub-menu a:hover,
.ov-nav__list .sub-menu a:focus-visible {
	background: var(--ov-surface-alt);
}

/* "תרומות": כפתור זהב, לא עוד קישור טקסט */
.ov-nav__list .ov-nav-donate > a {
	margin-inline-start: 6px;
	padding: 8px 18px;
	color: var(--ov-navy);
	background-color: var(--ov-gold);
	background-image: linear-gradient(135deg, var(--ov-gold-bright) 0%, var(--ov-gold) 100%);
	border-bottom: 0;
	border-radius: var(--ov-radius-pill);
	box-shadow: 0 8px 20px -10px rgba(154, 108, 23, 0.6);
	transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease;
}

.ov-nav__list .ov-nav-donate > a:hover,
.ov-nav__list .ov-nav-donate > a:focus-visible {
	color: var(--ov-navy);
	transform: translateY(-2px);
	box-shadow: 0 12px 24px -10px rgba(154, 108, 23, 0.7);
}

/* כפתור הפתיחה של תת-תפריט: מתווסף ב-JS, מוצג רק בנייד */
.ov-nav__sub-toggle {
	display: none;
}

/* --- חיפוש ------------------------------------------------------------- */

.ov-search {
	flex: 1 1 auto;
	/* דוחף את החיפוש והרשתות לצד השמאלי, ליד החנות: התפריט מימין, הכלים משמאל */
	margin-inline-start: auto;
	display: flex;
	align-items: center;
	gap: 6px;
	min-width: 150px;
	max-width: 320px;
	margin-block: 0;
	padding: 4px 4px 4px 4px;
	padding-inline-start: 16px;
	background: var(--ov-surface-alt);
	border: 1px solid rgba(0, 35, 71, 0.12);
	border-radius: var(--ov-radius-pill);
	transition: border-color var(--ov-transition), box-shadow var(--ov-transition);
}

.ov-search:focus-within {
	border-color: var(--ov-gold);
	box-shadow: 0 0 0 3px rgba(213, 155, 42, 0.16);
}

.ov-search input[type="search"] {
	flex: 1 1 auto;
	min-width: 0;
	height: auto;
	padding: 7px 0;
	font-family: inherit;
	font-size: 14px;
	color: var(--ov-navy);
	background: transparent;
	border: 0;
	box-shadow: none;
	outline: none;
}

.ov-search input[type="search"]::placeholder {
	color: rgba(0, 35, 71, 0.5);
}

/* .ov-header לפני: גובר על עיצוב הכפתורים הכללי של OceanWP (ראו בפוטר). */
.ov-header .ov-search button {
	flex-shrink: 0;
	padding: 7px 16px;
	font-family: inherit;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: normal;
	text-transform: none;
	color: var(--ov-navy);
	background-color: var(--ov-gold);
	background-image: linear-gradient(135deg, var(--ov-gold-bright) 0%, var(--ov-gold) 100%);
	border: 0;
	border-radius: var(--ov-radius-pill);
	cursor: pointer;
	transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.ov-search button:hover,
.ov-search button:focus-visible {
	transform: translateY(-1px);
}

/* --- רשתות ------------------------------------------------------------- */

.ov-social {
	display: flex;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ov-social a {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	color: var(--ov-navy);
	background: var(--ov-surface-alt);
	border-radius: 50%;
	transition: background-color var(--ov-transition), color var(--ov-transition), transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.ov-social a:hover,
.ov-social a:focus-visible {
	color: var(--ov-gold-bright);
	background: var(--ov-navy);
	transform: translateY(-2px);
}

.ov-social a:focus-visible {
	outline: 2px solid var(--ov-gold);
	outline-offset: 2px;
}

/* במסכי לפטופ התפריט, החיפוש, הרשתות והחנות לא נכנסים בשורה אחת עם המרווח
   מהקצה. הרשתות יוצאות מההדר (הן מופיעות תמיד גם בפוטר), ובפאנל הנייד הן חוזרות. */
@media (min-width: 1181px) and (max-width: 1400px) {
	.ov-header .ov-social {
		display: none;
	}
}

/* --- חנות הספרים ------------------------------------------------------- */

.ov-store {
	flex: 0 0 auto;
	display: block;
	line-height: 0;
	transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.ov-store img {
	width: auto;
	height: 44px;
	max-width: none;
}

.ov-store:hover,
.ov-store:focus-visible {
	transform: translateY(-2px);
}

/* --- כפתור התפריט (נייד) ------------------------------------------------ */

.ov-header__toggle {
	display: none;
}

/* ==========================================================================
   הדר בנייד וטאבלט: הלוגו, החנות וכפתור התפריט בשורה; השאר בפאנל נפתח
   ========================================================================== */

/* 1180 ולא 1024: מתחת לרוחב הזה התפריט המלא, החיפוש, הרשתות והחנות לא נכנסים בשורה אחת. */
@media (max-width: 1180px) {
	.ov-header__inner {
		gap: 12px;
		padding-block: 8px;
	}

	.ov-header__logo img {
		width: 62px;
		height: 62px;
		margin-block: -6px;
	}

	.ov-store {
		margin-inline-start: auto;
	}

	.ov-store img {
		height: 38px;
	}

	.ov-header__toggle {
		display: grid;
		place-items: center;
		flex: 0 0 auto;
		width: 44px;
		height: 44px;
		padding: 0;
		background: var(--ov-navy);
		border: 0;
		border-radius: 50%;
		cursor: pointer;
		transition: background-color var(--ov-transition);
	}

	.ov-header__toggle:focus-visible {
		outline: 2px solid var(--ov-gold);
		outline-offset: 2px;
	}

	.ov-burger,
	.ov-burger::before,
	.ov-burger::after {
		display: block;
		width: 20px;
		height: 2px;
		background: #fff;
		border-radius: 2px;
		transition: transform 0.25s ease, background-color 0.25s ease;
	}

	.ov-burger {
		position: relative;
	}

	.ov-burger::before,
	.ov-burger::after {
		content: "";
		position: absolute;
		inset-inline-start: 0;
	}

	.ov-burger::before {
		top: -6px;
	}

	.ov-burger::after {
		top: 6px;
	}

	/* פתוח: X זהוב */
	.ov-header.is-open .ov-header__toggle {
		background: var(--ov-gold);
	}

	.ov-header.is-open .ov-burger {
		background: transparent;
	}

	.ov-header.is-open .ov-burger::before {
		background: var(--ov-navy);
		transform: translateY(6px) rotate(45deg);
	}

	.ov-header.is-open .ov-burger::after {
		background: var(--ov-navy);
		transform: translateY(-6px) rotate(-45deg);
	}

	/* הפאנל: מתחת להדר, ברוחב מלא, נגלל אם ארוך מהמסך */
	.ov-header__panel {
		position: absolute;
		top: 100%;
		inset-inline: 0;
		flex-direction: column;
		align-items: stretch;
		gap: 16px;
		max-height: calc(100vh - 70px);
		overflow-y: auto;
		padding: 16px 16px 24px;
		background: var(--ov-surface);
		border-bottom: 2px solid var(--ov-gold);
		box-shadow: 0 24px 40px -20px rgba(0, 35, 71, 0.35);
	}

	.ov-header:not(.is-open) .ov-header__panel {
		display: none;
	}

	.ov-nav__list {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}

	.ov-nav__list > li {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		border-bottom: 1px solid var(--ov-border);
	}

	.ov-nav__list > li > a {
		flex: 1 1 auto;
		padding: 13px 4px;
		font-size: 17px;
		border-bottom: 0;
	}

	.ov-nav__list > .menu-item-has-children > a::after {
		display: none;
	}

	.ov-nav__sub-toggle {
		display: grid;
		place-items: center;
		width: 44px;
		height: 44px;
		padding: 0;
		color: var(--ov-navy);
		background: transparent;
		border: 0;
		cursor: pointer;
	}

	.ov-nav__sub-toggle::before {
		content: "";
		width: 8px;
		height: 8px;
		border-right: 2px solid currentColor;
		border-bottom: 2px solid currentColor;
		transform: translateY(-2px) rotate(45deg);
		transition: transform 0.25s ease;
	}

	.ov-nav__sub-toggle[aria-expanded="true"]::before {
		transform: translateY(2px) rotate(-135deg);
	}

	.ov-nav__list .sub-menu {
		position: static;
		flex-basis: 100%;
		min-width: 0;
		margin: 0 0 10px;
		padding: 4px 12px;
		background: var(--ov-surface-alt);
		border: 0;
		border-radius: var(--ov-radius-sm);
		box-shadow: none;
		opacity: 1;
		visibility: visible;
		transform: none;
		transition: none;
	}

	.ov-nav__list .sub-menu[hidden] {
		display: none;
	}

	.ov-nav__list .sub-menu a {
		padding: 11px 4px;
		font-size: 16px;
	}

	.ov-nav__list .ov-nav-donate {
		border-bottom: 0;
		padding-top: 14px;
	}

	.ov-nav__list .ov-nav-donate > a {
		flex: 0 0 auto;
		margin: 0 auto;
		padding: 11px 34px;
		text-align: center;
	}

	.ov-search {
		max-width: none;
		margin-inline-start: 0;
	}

	.ov-search input[type="search"] {
		font-size: 16px; /* מתחת ל-16px אייפון מגדיל את המסך בפוקוס */
	}

	.ov-header .ov-social {
		justify-content: center;
		gap: 10px;
	}

	.ov-header .ov-social a {
		width: 42px;
		height: 42px;
	}
}

@media (max-width: 380px) {
	.ov-header__logo img {
		width: 56px;
		height: 56px;
	}

	.ov-store img {
		height: 32px;
	}
}

/* ==========================================================================
   פוטר

   מיכל ממורכז ברוחב התוכן (--ov-maxw), ארבע עמודות מיושרות לראש עם כותרות
   באותו סגנון: הישיבה, יצירת קשר, כתובת, עדכונים במייל. רקע בכחול העמוק של
   האתר (לא שחור), זהב רק כמבטא: קו עליון, קו מתחת לכותרות, כפתור וקישורים.
   ========================================================================== */

.ov-footer {
	color: rgba(255, 255, 255, 0.78);
	background-color: var(--ov-navy-deep);
	background-image:
		radial-gradient(900px 380px at 100% 0%, rgba(213, 155, 42, 0.07), transparent 65%),
		linear-gradient(180deg, #002249 0%, #00162f 100%);
	border-top: 3px solid var(--ov-gold);
	font-family: 'Assistant', system-ui, sans-serif;
	font-size: 15px;
	line-height: 1.7;
}

.ov-footer__main {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.45fr);
	align-items: start;
	gap: 48px;
	max-width: calc(var(--ov-maxw) + 2 * var(--ov-edge));
	margin-inline: auto;
	padding: 64px var(--ov-edge) 52px;
}

/* --- קישורים ----------------------------------------------------------- */

.ov-footer a {
	color: var(--ov-gold-bright);
	text-decoration: none;
	transition: color var(--ov-transition);
}

.ov-footer a:hover {
	color: #fff;
}

.ov-footer a:focus-visible {
	outline: 2px solid var(--ov-gold-bright);
	outline-offset: 3px;
	border-radius: 2px;
}

/* --- הישיבה: לוגו על לוח שנהב, שורת תיאור, רשתות ------------------------ */

.ov-footer__logo {
	display: inline-block;
	overflow: hidden;
	line-height: 0;
	background: var(--ov-cream);
	border-radius: var(--ov-radius-lg);
	box-shadow: 0 0 0 1px rgba(213, 155, 42, 0.35), 0 18px 36px -18px rgba(0, 0, 0, 0.7);
}

/* בקובץ הלוגו שוליים ריקים רחבים: מגדילים אותו בתוך הלוח (שחותך את העודף),
   כדי שהסמל ימלא את הלוח ולא ייראה קטן בתוכו. */
.ov-footer__logo img {
	display: block;
	width: 120px;
	height: 120px;
	object-fit: contain;
	transform: scale(1.3);
}

.ov-footer__tagline {
	margin: 18px 0 20px;
	font-size: 14.5px;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.7);
}

.ov-footer .ov-social {
	gap: 8px;
}

.ov-footer .ov-social a {
	width: 36px;
	height: 36px;
	color: var(--ov-gold-bright);
	background: rgba(255, 255, 255, 0.07);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.ov-footer .ov-social a:hover,
.ov-footer .ov-social a:focus-visible {
	color: var(--ov-navy);
	background: var(--ov-gold-bright);
	box-shadow: none;
}

/* --- כותרות העמודות: אותו סגנון בכל עמודה, עם קו זהב קצר ------------------ */

.ov-footer__heading {
	position: relative;
	margin: 0 0 22px;
	padding-bottom: 12px;
	font-family: 'Frank Ruhl Libre', Georgia, serif;
	font-size: 19px; /* px ולא rem: OceanWP קובע לשורש 10px */
	font-weight: 700;
	line-height: 1.3;
	color: #fff;
}

.ov-footer__heading::after {
	content: "";
	position: absolute;
	bottom: 0;
	inset-inline-start: 0;
	width: 28px;
	height: 2px;
	border-radius: 2px;
	background: var(--ov-gold);
}

/* --- יצירת קשר: תווית קטנה מעל כל ערך ----------------------------------- */

.ov-contact {
	display: grid;
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ov-contact li {
	margin: 0;
}

.ov-contact__label {
	display: block;
	margin-bottom: 2px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.01em;
	color: rgba(255, 255, 255, 0.5);
}

.ov-contact__value {
	display: block;
	color: #fff;
}

/* מספרי טלפון ומייל נכתבים משמאל לימין, אבל מיושרים לימין כמו שאר העמודה */
.ov-contact__value a {
	display: inline-block;
	unicode-bidi: isolate;
}

/* --- כתובת ------------------------------------------------------------- */

.ov-footer__address {
	margin: 0;
	font-style: normal;
	color: rgba(255, 255, 255, 0.85);
}

.ov-footer__more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 14px;
	font-weight: 600;
}

.ov-footer__more::after {
	content: "\2190";
	transition: transform var(--ov-transition);
}

.ov-footer__more:hover::after {
	transform: translateX(-3px);
}

/* --- עדכונים במייל ----------------------------------------------------- */

.ov-footer__lead {
	margin: -8px 0 16px;
	font-size: 14.5px;
	color: rgba(255, 255, 255, 0.7);
}

.ov-newsletter {
	margin: 0;
	/* אחרי השליחה חוזרים אל #ov-newsletter. בלי זה ההדר הדביק מסתיר את הודעת התודה. */
	scroll-margin-top: calc(var(--wp-admin--admin-bar--height, 0px) + 100px);
}

/* שם וטלפון בשורה, מייל בשורה מלאה, ואז הכפתור */
.ov-newsletter__fields {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	grid-template-areas:
		"name  phone"
		"email email";
	gap: 10px;
	margin-bottom: 12px;
}

.ov-newsletter__field {
	display: block;
	margin: 0;
}

.ov-newsletter__field:nth-child(1) { grid-area: name; }
.ov-newsletter__field:nth-child(2) { grid-area: email; }
.ov-newsletter__field:nth-child(3) { grid-area: phone; }

.ov-newsletter input[type="text"],
.ov-newsletter input[type="email"],
.ov-newsletter input[type="tel"] {
	display: block;
	width: 100%;
	height: 46px;
	margin: 0;
	padding: 0 14px;
	font-family: inherit;
	font-size: 15px;
	color: #fff;
	background-color: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 10px;
	box-shadow: none;
	transition: border-color var(--ov-transition), background-color var(--ov-transition), box-shadow var(--ov-transition);
}

/* שדות שנכתבים משמאל לימין (מייל, טלפון): הטקסט המציין מיושר כמו בשאר */
.ov-newsletter input[dir="ltr"]:placeholder-shown {
	direction: rtl;
}

.ov-newsletter input::placeholder {
	color: rgba(255, 255, 255, 0.45);
}

.ov-newsletter input:focus {
	outline: none;
	background-color: rgba(255, 255, 255, 0.1);
	border-color: var(--ov-gold);
	box-shadow: 0 0 0 3px rgba(213, 155, 42, 0.18);
}

/* .ov-footer לפני: עיצוב הכפתורים הכללי של OceanWP (button[type="submit"]) ספציפי
   יותר ממחלקה אחת, ומכריח 12px, ריווח אותיות ואותיות רישיות. */
.ov-footer .ov-newsletter__submit {
	display: block;
	width: 100%;
	height: 48px;
	padding: 0 20px;
	font-family: inherit;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: normal;
	text-transform: none;
	color: var(--ov-navy);
	background-color: var(--ov-gold);
	background-image: linear-gradient(135deg, var(--ov-gold-bright) 0%, var(--ov-gold) 100%);
	border: 0;
	border-radius: 10px;
	box-shadow: 0 10px 24px -12px rgba(213, 155, 42, 0.6);
	cursor: pointer;
	transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease, filter var(--ov-transition);
}

.ov-footer .ov-newsletter__submit:hover {
	transform: translateY(-1px);
	filter: brightness(1.05);
	box-shadow: 0 14px 28px -12px rgba(213, 155, 42, 0.7);
}

.ov-newsletter__submit:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
}

.ov-newsletter__notice {
	margin: 0 0 12px;
	padding: 10px 14px;
	font-size: 14.5px;
	border-radius: 10px;
}

.ov-newsletter__notice--ok {
	color: #fff;
	background: rgba(213, 155, 42, 0.16);
	box-shadow: inset 0 0 0 1px rgba(213, 155, 42, 0.45);
}

.ov-newsletter__notice--error {
	color: #fff;
	background: rgba(179, 45, 46, 0.22);
	box-shadow: inset 0 0 0 1px rgba(179, 45, 46, 0.6);
}

/* מלכודת הבוטים: נעלמת מהעין בלי display:none (חלק מהבוטים מדלגים על מוסתרים).
   לא left:-9999px: בעמוד מימין לשמאל זה יוצר גלילה הצידה. */
.ov-newsletter__hp {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

/* --- שורת הזכויות: באותו מיכל, זכויות מימין וקרדיט משמאל ---------------- */

.ov-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 6px 24px;
	max-width: calc(var(--ov-maxw) + 2 * var(--ov-edge));
	margin-inline: auto;
	padding: 20px var(--ov-edge) 24px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ov-footer__bottom p {
	margin: 0;
	font-size: 13px;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.45);
}

.ov-footer__bottom a {
	color: rgba(255, 255, 255, 0.65);
}

.ov-footer__bottom a:hover {
	color: var(--ov-gold-bright);
}

/* --- טאבלט: הישיבה, קשר וכתובת בשורה; ההרשמה בשורה מלאה מתחת ------------- */

@media (max-width: 1100px) {
	.ov-footer__main {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 40px 36px;
	}

	.ov-footer__signup {
		grid-column: 1 / -1;
		max-width: 640px;
	}
}

/* --- נייד: הישיבה למעלה, קשר וכתובת זה לצד זה, ההרשמה בשורה מלאה ------- */

@media (max-width: 700px) {
	.ov-footer__main {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 36px 24px;
		padding-block: 48px 36px;
	}

	.ov-footer__brand,
	.ov-footer__signup {
		grid-column: 1 / -1;
	}

	.ov-footer__brand {
		display: grid;
		grid-template-columns: auto 1fr;
		align-items: center;
		gap: 4px 18px;
	}

	.ov-footer__logo img {
		width: 88px;
		height: 88px;
	}

	.ov-footer__tagline {
		margin: 0;
	}

	.ov-footer__brand .ov-social {
		grid-column: 1 / -1;
		margin-top: 14px;
	}

	.ov-newsletter input[type="text"],
	.ov-newsletter input[type="email"],
	.ov-newsletter input[type="tel"] {
		font-size: 16px; /* מתחת ל-16px אייפון מגדיל את המסך בפוקוס */
	}

	.ov-footer__bottom {
		flex-direction: column;
		align-items: flex-start;
	}
}

@media (max-width: 420px) {
	.ov-footer__main {
		grid-template-columns: minmax(0, 1fr);
	}

	.ov-newsletter__fields {
		grid-template-columns: minmax(0, 1fr);
		grid-template-areas:
			"name"
			"email"
			"phone";
	}
}

/* ==========================================================================
   כפתור "חזרה למעלה" של OceanWP (עבר מ-elementor-chrome.css)
   ========================================================================== */

#scroll-top.scroll-top-right {
	color: var(--ov-navy);
	background-color: var(--ov-gold);
	border-radius: 50%;
	box-shadow: 0 10px 24px -10px rgba(154, 108, 23, 0.7);
	transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), background-color var(--ov-transition);
}

#scroll-top.scroll-top-right:hover {
	color: var(--ov-navy);
	background-color: var(--ov-gold-bright);
	transform: translateY(-3px);
}

@media (prefers-reduced-motion: reduce) {
	.ov-header *,
	.ov-footer *,
	#scroll-top.scroll-top-right {
		transition: none;
	}

	.ov-nav__list .ov-nav-donate > a:hover,
	.ov-search button:hover,
	.ov-social a:hover,
	.ov-store:hover,
	.ov-newsletter__submit:hover,
	#scroll-top.scroll-top-right:hover {
		transform: none;
	}
}
