.gc-entity-hero {
	padding: 18px 0 8px;
	background: var(--wp--preset--color--paper, #fefcfa);
}

.gc-entity-hero__inner {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 32px;
	display: grid;
	grid-template-columns: 1fr 1.2fr;
	grid-template-areas: "intro media";
	gap: 48px;
	align-items: center;
}

/* Rental בלבד: "פרטים רלוונטיים"+WhatsApp הם פריט-Grid נפרד (extra) שיושב מתחת
   ל-intro באותה עמודה (לא בתוך אותו Flow), כדי שה-Media יוכל "לתפוס" את שתי
   השורות (span טבעי ב-grid-template-areas כשאותו שם-אזור חוזר בכמה תאים) —
   ובעיקר כדי שבמובייל אפשר יהיה למקם אותו אחרי התמונה (Refinement Pass סעיף 6:
   "1. שם+מלל 2. תמונות 3. פרטים 4. CTA") בלי לגעת ב-DOM, רק בסדר ה-Grid Areas. */
.gc-entity-hero__inner--has-extra {
	grid-template-areas: "intro media" "extra media";
	align-items: start;
}

.gc-entity-hero__intro {
	grid-area: intro;
}

.gc-entity-hero__extra {
	grid-area: extra;
}

.gc-entity-hero__eyebrow {
	font-size: 0.8rem;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	font-weight: 700;
	margin-bottom: 14px;
	color: var(--wp--preset--color--pink-deep, #BE3F82);
}

/* H1 Design System (Refinement קטן #2): entity-hero משמש רק ב-3 עמודי Single
   (שכבר כחולים דרך --single למטה) ובעמוד About ("הסיפור שלנו") — 4 שימושים
   בסך הכול, כולם ברשימת הכותרות שהתבקשו. לכן צביעת ה-Selector הבסיסי עצמו
   בטוחה ולא "גלובלית" באמת: אין שום שימוש חמישי של הבלוק הזה באתר. */
.gc-entity-hero__title {
	font-size: var(--wp--preset--font-size--hero, clamp(2.2rem, 4vw, 3.4rem));
	line-height: 1.12;
	margin: 0 0 10px;
	color: var(--wp--preset--color--blue-deep, #006E8C);
}

/* H1 Design System (Refinement Pass סעיף 9-10) — Scoped בכוונה ל-3 עמודי ה-
   Single בלבד (Concept/Project/Rental, ע"י מודיפייר שנקבע ב-PHP לפי post_type,
   לא לפי Selector גורף) — לא נוגע ב-Heading של About ("הסיפור שלנו"), ששומר על
   הסגנון המקורי. כחול-עמוק (blue-deep, כבר בשימוש בפלטת המותג — יחס Contrast
   ~3.98:1 על רקע לבן, עומד ב-AA לטקסט גדול/מודגש; #00AFE9 הרגיל נבדק ונפסל כי
   ה-Contrast שלו חלש מדי) — לא צבע חדש שהומצא. גודל מוקטן ומאוזן Desktop/Mobile,
   עדיין בולט וברור אבל לא משתלט/נשבר כמו קודם (בעיקר בשמות פריטי השכרה ארוכים). */
.gc-entity-hero__title--single {
	font-size: clamp(1.9rem, 2.6vw, 2.6rem);
	color: var(--wp--preset--color--blue-deep, #006E8C);
}

.gc-entity-hero__client {
	font-size: 1.05rem;
	color: var(--wp--preset--color--ink-soft, #6b6464);
	margin: 0 0 18px;
}

.gc-entity-hero__client b {
	color: var(--wp--preset--color--blue-deep, #006E8C);
}

.gc-entity-hero__excerpt {
	font-size: 1.1rem;
	color: var(--wp--preset--color--ink-soft, #6b6464);
	margin: 0;
}

.gc-entity-hero__excerpt + .gc-entity-hero__excerpt {
	margin-top: 14px;
}

/* "על ההפקה" (gc_project בלבד, Refinement Pass סעיף 7) — בתוך עמודת ה-Intro
   עצמה, מתחת לתיאור הקצר, לא כסקשן נפרד יותר. */
.gc-entity-hero__about {
	margin-top: 22px;
}

.gc-entity-hero__about-heading {
	font-size: 1.15rem;
	margin: 0 0 10px;
	color: var(--wp--preset--color--ink, #332e2e);
}

.gc-entity-hero__about-text {
	color: var(--wp--preset--color--ink-soft, #6b6464);
	font-size: 1rem;
	line-height: 1.7;
	margin: 0;
}

.gc-entity-hero__about-text + .gc-entity-hero__about-text {
	margin-top: 12px;
}

.gc-entity-hero__media {
	grid-area: media;
	position: relative;
	border-radius: var(--wp--custom--radius--lg, 32px);
	overflow: hidden;
	aspect-ratio: 4 / 3;
	box-shadow: 0 26px 52px -24px rgba(0, 0, 0, 0.22);
}

.gc-entity-hero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* פריט השכרה בלבד (gc_rental_item, ראו $is_rental ב-render.php): התמונה
   הראשית לא נכפית לתוך מסגרת 4:3 קבועה עם object-fit:cover — הלקוח צריך
   לראות את הפריט המלא. הפתרון: התמונה מקבלת את הממדים הטבעיים שלה
   (width/height:auto), עם שני תקרות (max-width יחסי לעמודה, max-height
   קבוע כדי שתמונת Portrait לא תהפוך לעמוד ענק) — הדפדפן שומר על היחס
   המקורי בעצמו, בלי Crop/Stretch/Distortion, לא משנה אם המקור הוא
   Portrait, Landscape או Square. הקונטיינר עצמו מתכווץ לגודל התמונה
   בפועל (width:max-content + justify-self:center) ולא נשאר "מסגרת רחבה"
   סביבה — זה בדיוק ה-Container הרחב-מדי שהתלונה המקורית תיארה. פתרון
   Responsive כללי (לא תיקון נקודתי לתמונה ספציפית אחת). */
.gc-entity-hero__media--natural {
	aspect-ratio: auto;
	width: max-content;
	max-width: 100%;
	justify-self: center;
}

.gc-entity-hero__media--natural img {
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 640px;
	object-fit: contain;
}

@media (max-width: 600px) {
	.gc-entity-hero__media--natural img {
		max-height: 460px;
	}
}

/* הצגת ה-Logo Asset המקורי (About/"הסיפור שלנו") כאלמנט עיצובי חופשי, לא בתוך
   כרטיס/מלבן (Refinement Pass סעיף 11): מבטלים את הרקע/ה-Shadow/ה-Radius/ה-
   Overflow-Hidden שהגיעו מ-.gc-entity-hero__media הבסיסי, ומחליפים אותם בכמה
   "ענני" גרדיאנט מטושטשים (::before/::after, sky-blue+pink מפלטת המותג) שיושבים
   מאחורי הלוגו ומותרים "לדמם" מעבר לגבולות התיבה — בלי לגעת בקובץ הלוגו עצמו
   (אותו src, אותם צבעים, אותן פרופורציות; רק Sizing/Positioning כמו קודם). */
.gc-entity-hero__media--logo {
	background: none;
	box-shadow: none;
	border-radius: 0;
	overflow: visible;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	position: relative;
	isolation: isolate;
}

.gc-entity-hero__media--logo::before,
.gc-entity-hero__media--logo::after {
	content: "";
	position: absolute;
	border-radius: 50%;
	filter: blur(6px);
	z-index: -1;
	pointer-events: none;
}

.gc-entity-hero__media--logo::before {
	width: 80%;
	height: 80%;
	top: 4%;
	inset-inline-start: 2%;
	background: radial-gradient(circle at 35% 30%, rgba(63, 194, 238, 0.38) 0%, rgba(63, 194, 238, 0) 70%);
}

.gc-entity-hero__media--logo::after {
	width: 58%;
	height: 58%;
	bottom: 2%;
	inset-inline-end: 0;
	background: radial-gradient(circle at 60% 60%, rgba(250, 142, 227, 0.3) 0%, rgba(250, 142, 227, 0) 70%);
}

.gc-entity-hero__media--logo img {
	position: relative;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.gc-entity-hero__placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 14px;
	background: linear-gradient(135deg, var(--wp--preset--color--blue-light, #6fdbf5) 0%, var(--wp--preset--color--pink-light, #ffc3f2) 100%);
}

.gc-entity-hero__placeholder svg {
	width: 15%;
	max-width: 56px;
	opacity: 0.5;
	fill: #fff;
}

.gc-entity-hero__placeholder span {
	font-size: 0.78rem;
	font-weight: 700;
	color: var(--wp--preset--color--ink-soft, #6b6464);
	background: rgba(255, 255, 255, 0.85);
	padding: 6px 14px;
	border-radius: 999px;
}

/* פרטים רלוונטיים (רק Rental) — רק מה שקיים בפועל, אין "שדה ריק" גלוי.
   margin-top (לא רק gap פנימי) כי .gc-entity-hero__extra הוא פריט-Grid נפרד
   מ-intro עכשיו, לא עוד באותו Flow פנימי שבו ריווח בין-אלמנטים הספיק. */
.gc-entity-hero__extra {
	margin-top: 14px;
}

.gc-entity-hero__details {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.gc-entity-hero__details-row {
	display: flex;
	gap: 8px;
	font-size: 0.95rem;
}

.gc-entity-hero__details-row dt {
	font-weight: 700;
	color: var(--wp--preset--color--ink, #332e2e);
	flex-shrink: 0;
}

.gc-entity-hero__details-row dd {
	margin: 0;
	color: var(--wp--preset--color--ink-soft, #6b6464);
}

.gc-entity-hero__whatsapp {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	margin-top: 22px;
	padding: 15px 32px;
	border-radius: 999px;
	font-weight: 700;
	font-size: 0.98rem;
	text-decoration: none;
	color: #fff;
	background: #0D7A6E;
	box-shadow: 0 12px 26px -10px rgba(37, 211, 102, 0.55);
	transition: transform 0.2s ease;
}

.gc-entity-hero__whatsapp:hover,
.gc-entity-hero__whatsapp:focus-visible {
	transform: translateY(-2px);
}

.gc-entity-hero__whatsapp svg {
	width: 18px;
	height: 18px;
	fill: #fff;
	flex-shrink: 0;
}

/* וידאו אנכי (Single Concept) — יחס Reel/Story, אותה שפת radius/צל כמו מדיה
   רגילה. ה-iframe שמגיע מ-wp_oembed_get ממוקם Absolute כדי למלא בדיוק את יחס
   הגובה-רוחב הקבוע, בלי תלות במידות ה-Width/Height הגולמיות שה-Embed מחזיר. */
/* Portrait אמיתי: הגובה נקבע במפורש וה-Width נגזר ממנו דרך aspect-ratio (לא
   להפך) — אחרת עמודת ה-Grid הרחבה "מכריחה" width:100% ומשטיחה את היחס כמעט
   לריבוע (נבדק ואומת ישירות: עם width:100% התוצאה בפועל הייתה יחס 1.05, לא
   9:16). margin-inline:auto ממרכז את הקופסה הצרה בתוך העמודה הרחבה יותר. */
.gc-entity-hero__media--video {
	aspect-ratio: 9 / 16;
	height: min(70vh, 640px);
	width: auto;
	max-width: 100%;
	margin-inline: auto;
	background: #000;
}

.gc-entity-hero__video-frame {
	position: relative;
	width: 100%;
	height: 100%;
}

.gc-entity-hero__video-frame iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

/* קובץ וידאו מקומי (<video>) — אותה מסגרת אנכית בדיוק כמו ה-iframe (oEmbed),
   object-fit:cover כדי שלא יהיה עיוות/מתיחה אם היחס לא תואם 100% ל-9:16. */
.gc-entity-hero__video-frame video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	background: #000;
}

/* FUN ZONE (פרויקט 5) — תמונה בודדת ב-Hero ("תמונה בהייר"). בעבר הוצג כאן
   Hero דו-תמונתי; "תמונה בהייר 2" הוסרה מכאן לפי הנחיה מפורשת (הקובץ עצמו
   נשאר בספריית המדיה, לא נמחק). aspect-ratio מחושב מהמידות האמיתיות של
   הקובץ (2000×1693) במקום ה-4:3 הגנרי של .gc-entity-hero__media, כדי לשמור
   על היחס המקורי במדויק — כך ש-object-fit:cover הקיים (מהכלל הבסיסי) לא
   חותך כלום, כי צורת המסגרת זהה לצורת התמונה עצמה. עיצוב (פינות מעוגלות,
   צל) ממשיך מהכלל הבסיסי .gc-entity-hero__media בלי שינוי — עמודה יחידה
   נקייה, בלי מבנה Grid דו-טורי ובלי חלל ריק. Scoped יחיד לפרויקט הזה. */
body.postid-5 .gc-entity-hero__media--fun-zone-single {
	aspect-ratio: 2000 / 1693;
}

@media (max-width: 900px) {
	.gc-entity-hero__inner {
		grid-template-columns: 1fr;
		grid-template-areas: "intro" "media";
	}
	.gc-entity-hero__inner--has-extra {
		grid-template-areas: "intro" "media" "extra";
	}
	.gc-entity-hero__extra {
		margin-top: 22px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.gc-entity-hero__whatsapp {
		transition: none;
	}
}

/* ============================================================
   Polishing Pass — Single Concept "גאווה" (ID 42) בלבד.
   entity-hero משותף לכל gc_concept/gc_project/gc_rental_item, ולפי בקשה
   מפורשת ("לא להחיל עדיין שינויי Template על שאר הקונספטים") כל הכללים
   כאן Scoped תחת body.postid-42 — אין השפעה על שום Single אחר. ברגע
   שיאושר, ה-Scope יוסר/יוחל במפורש על כולם בפאס נפרד.
   ============================================================ */
body.postid-42 .gc-entity-hero {
	padding: 10px 0 0;
	position: relative;
	overflow: visible;
}

/* אלמנט רקע אורגני-עדין ("ענן") — אותה שפה בדיוק כמו ::before/::after הקיימים
   ב-.gc-entity-hero__media--logo (radial-gradient מטושטש בצבעי המותג), רק כאן
   פרוס על כל הסקשן: תכלת בהיר מאוד + נגיעת ורוד עדינה, לא קופסה/רקע מלא/
   Gradient כבד, לא מתחרה בווידאו/בטקסט. */
body.postid-42 .gc-entity-hero::before,
body.postid-42 .gc-entity-hero::after {
	content: "";
	position: absolute;
	border-radius: 50%;
	filter: blur(50px);
	z-index: 0;
	pointer-events: none;
}

body.postid-42 .gc-entity-hero::before {
	width: 44%;
	height: 78%;
	top: -10%;
	inset-inline-start: -8%;
	background: radial-gradient(circle, rgba(63, 194, 238, 0.16) 0%, rgba(63, 194, 238, 0) 72%);
}

body.postid-42 .gc-entity-hero::after {
	width: 36%;
	height: 58%;
	bottom: -12%;
	inset-inline-end: 2%;
	background: radial-gradient(circle, rgba(250, 142, 227, 0.13) 0%, rgba(250, 142, 227, 0) 72%);
}

/* טור הטקסט מתחיל מלמעלה (לא ממורכז) — כך שהוא "נשען" על אותה שורה עליונה
   כמו הווידאו במקום לצוף ממורכז בתוך שורת-Grid גבוהה בהרבה ממנו (וידאו 9:16
   גבוה משמעותית מהטקסט הקצר של קונספט) — זה היה מקור תחושת ה"ריק" בפועל,
   לא ה-Padding עצמו. Gap מהודק (48→32) מקרב את שתי העמודות. */
body.postid-42 .gc-entity-hero__inner {
	position: relative;
	z-index: 1;
	align-items: start;
	gap: 32px;
	padding-top: 10px;
}

body.postid-42 .gc-entity-hero__title {
	margin-bottom: 8px;
}
