/* =========================================================
   מורה לגיטרה - סגנון עיקרי
   צבעים: טורקיז + נייבי כהה + לבן
   פונטים: Heebo (כותרות מודגשות + טקסט רגיל)
   ========================================================= */

:root {
	--gt-turquoise: #17b6b0;
	--gt-turquoise-dark: #109a95;
	--gt-turquoise-light: #e5f8f7;
	--gt-navy: #0e2b3d;
	--gt-navy-light: #1a3f56;
	--gt-white: #ffffff;
	--gt-gray-50: #f7f9fa;
	--gt-gray-100: #eef1f3;
	--gt-gray-200: #cfd8dc;
	--gt-gray-400: #a3adb3;
	--gt-gray-600: #5c6b73;
	--gt-radius: 16px;
	--gt-radius-sm: 10px;
	--gt-shadow: 0 10px 30px rgba(14, 43, 61, 0.08);
	--gt-shadow-hover: 0 16px 40px rgba(14, 43, 61, 0.14);
	--gt-font-heading: 'Heebo', sans-serif;
	--gt-font-body: 'Heebo', sans-serif;
}

/*
 * שימו לב: overflow-x כאן חייב להיות "clip" ולא "hidden". "hidden" הופך
 * את html/body ל"מיכל גלילה" (scroll container) מבחינת הדפדפן - וזה
 * שובר לגמרי position: sticky בכל האתר (למשל סיידבר הבאנרים לא נדבק
 * בגלילה - נבדק ותוקן ב-24.9). "clip" מונע גלישה אופקית בדיוק כמו
 * "hidden", אבל בלי ליצור מיכל גלילה, כך ש-sticky ממשיך לעבוד תקין.
 */
html {
	scroll-behavior: smooth;
	overflow-x: clip;
}

body {
	font-family: var(--gt-font-body);
	color: var(--gt-navy);
	background-color: var(--gt-white);
	direction: rtl;
	text-align: right;
	overflow-x: clip;
	max-width: 100%;
}

h1, h2, h3, h4, h5, h6,
.gt-font-heading {
	font-family: var(--gt-font-heading);
	font-weight: 800;
	color: var(--gt-navy);
}

a {
	color: var(--gt-turquoise-dark);
	text-decoration: none;
}
a:hover {
	color: var(--gt-turquoise);
}

/* =========================================================
   Header / Navbar
   ========================================================= */

.gt-header {
	background: var(--gt-white);
	box-shadow: 0 2px 12px rgba(14, 43, 61, 0.06);
	z-index: 1030;
}

.gt-navbar {
	padding: 14px 0;
}

.gt-brand {
	display: flex;
	align-items: center;
	gap: 10px;
	font-family: var(--gt-font-heading);
	font-weight: 800;
	font-size: 1.4rem;
	color: var(--gt-navy) !important;
}
/* לוגו האתר (צללית גיטרה, SVG מוטמע - ראו gt_site_logo_svg() ב-
   inc/template-tags.php). מוצג בכותרת ובפוטר כל עוד לא הוגדר לוגו מותאם
   אישית דרך מראה > הגדרות האתר > זהות האתר (Custom Logo). צבוע ב-
   currentColor כדי שיתאים אוטומטית לרקע כהה/בהיר בכל הקשר. */
.gt-logo-svg {
	width: 34px;
	height: auto;
	flex-shrink: 0;
	color: var(--gt-turquoise);
}
.gt-logo-svg-footer {
	width: 26px;
	color: var(--gt-white);
}

.gt-nav {
	column-gap: 6px;
	row-gap: 4px;
}
.gt-nav .nav-link {
	font-weight: 500;
	color: var(--gt-navy);
	padding: 8px 16px !important;
	border-radius: 999px;
	transition: all 0.2s ease;
}
.gt-nav .nav-link:hover,
.gt-nav .nav-link.active {
	background: var(--gt-turquoise-light);
	color: var(--gt-turquoise-dark);
}

/* =========================================================
   Hero
   ========================================================= */

.gt-hero {
	position: relative;
	background: linear-gradient(135deg, var(--gt-navy) 0%, var(--gt-navy-light) 60%, var(--gt-turquoise-dark) 130%);
	padding: 100px 0 140px;
	overflow: hidden;
}

.gt-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: radial-gradient(circle at 15% 20%, rgba(23, 182, 176, 0.25), transparent 40%),
		radial-gradient(circle at 85% 80%, rgba(23, 182, 176, 0.18), transparent 45%);
}

.gt-hero-title {
	color: var(--gt-white);
	font-size: clamp(1.8rem, 3.5vw, 2.75rem);
	margin-bottom: 36px;
	position: relative;
}

.gt-search-form {
	position: relative;
}

.gt-search-box {
	position: relative;
	display: flex;
	align-items: center;
	background: var(--gt-white);
	border-radius: 999px;
	box-shadow: var(--gt-shadow-hover);
	padding: 8px 8px 8px 8px;
}

.gt-search-input-wrap {
	position: relative;
	flex: 1 1 auto;
	min-width: 0;
}

.gt-search-icon {
	position: absolute;
	inset-inline-end: 24px;
	top: 50%;
	transform: translateY(-50%);
	color: var(--gt-gray-400);
	font-size: 1.1rem;
	pointer-events: none;
}

.gt-search-input {
	width: 100%;
	border: none;
	outline: none;
	background: transparent;
	padding: 14px 56px 14px 20px;
	font-size: 1.05rem;
	font-family: var(--gt-font-body);
	color: var(--gt-navy);
	border-radius: 999px;
}

.gt-search-btn {
	background: var(--gt-turquoise);
	color: var(--gt-white);
	border: none;
	border-radius: 999px;
	padding: 14px 32px;
	font-weight: 600;
	white-space: nowrap;
	transition: background 0.2s ease;
}
.gt-search-btn:hover {
	background: var(--gt-turquoise-dark);
	color: var(--gt-white);
}

.gt-autocomplete-list {
	position: absolute;
	top: calc(100% + 10px);
	inset-inline-start: 0;
	inset-inline-end: 0;
	background: var(--gt-white);
	border-radius: var(--gt-radius-sm);
	box-shadow: var(--gt-shadow-hover);
	list-style: none;
	margin: 0;
	padding: 8px;
	max-height: 320px;
	overflow-y: auto;
	z-index: 50;
	display: none;
	text-align: right;
}
.gt-autocomplete-list.show {
	display: block;
}
.gt-autocomplete-list li {
	padding: 10px 14px;
	border-radius: var(--gt-radius-sm);
	cursor: pointer;
	color: var(--gt-navy);
	font-size: 0.98rem;
	display: flex;
	align-items: center;
	gap: 8px;
}
.gt-autocomplete-list li i {
	color: var(--gt-turquoise);
}
.gt-autocomplete-list li:hover,
.gt-autocomplete-list li.active {
	background: var(--gt-turquoise-light);
}
.gt-autocomplete-list .gt-no-results {
	color: var(--gt-gray-400);
	cursor: default;
}
.gt-autocomplete-list .gt-no-results:hover {
	background: transparent;
}

/* Compact search form used in archive header */
.gt-archive-hero {
	position: relative;
	background: linear-gradient(135deg, var(--gt-navy) 0%, var(--gt-navy-light) 60%, var(--gt-turquoise-dark) 130%);
	padding: 48px 0;
	overflow: hidden;
}
.gt-archive-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: radial-gradient(circle at 15% 20%, rgba(23, 182, 176, 0.25), transparent 40%),
		radial-gradient(circle at 85% 80%, rgba(23, 182, 176, 0.18), transparent 45%);
}
.gt-archive-hero .container {
	position: relative;
}
/* כותרת ותת-כותרת/מונה בתוך הבאנר הכהה (gradient) - חייבות להיות
   בהירות, אחרת הן נבלעות ברקע הכהה (ברירת המחדל של h1/.text-muted
   היא כהה, מיועדת לרקע לבן). */
.gt-archive-hero .gt-section-title {
	color: var(--gt-white);
}
.gt-archive-hero .text-muted {
	color: rgba(255, 255, 255, 0.75) !important;
}
.gt-search-form-compact {
	max-width: 640px;
	margin: 0 auto;
}
.gt-search-form-compact .gt-search-box {
	box-shadow: var(--gt-shadow);
}

/* ערים פופולריות - קישורי טקסט מתחת לתיבת החיפוש בדף הבית */
.gt-popular-cities {
	margin-top: 22px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 4px 2px;
	font-size: 0.92rem;
}
.gt-popular-cities-label {
	color: rgba(255, 255, 255, 0.6);
	margin-inline-end: 4px;
}
.gt-popular-city-link {
	color: rgba(255, 255, 255, 0.85);
	font-weight: 500;
	padding: 2px 4px;
	border-radius: 6px;
	transition: color 0.15s ease, background 0.15s ease;
}
.gt-popular-city-link:hover {
	color: var(--gt-white);
	background: rgba(255, 255, 255, 0.1);
}
.gt-popular-cities-sep {
	color: rgba(255, 255, 255, 0.35);
	margin: 0 2px;
}

/* =========================================================
   Sections
   ========================================================= */

.gt-sections {
	padding: 60px 0;
}

.gt-section {
	margin-bottom: 60px;
}

/* רקע מלא-רוחב (בורח מגבולות ה-container) לסקשנים שצריכים "לשבור" את
   הרצף לבן/אפור בדף הבית - למשל "מה מורה לגיטרה יכול ללמד אותי?" */
.gt-section-bleed {
	background: var(--gt-gray-50);
	border-top: 1px solid var(--gt-gray-100);
	border-bottom: 1px solid var(--gt-gray-100);
	padding: 56px 0;
	width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

/* =========================================================
   סקשן "מורה לגיטרה לפי עיר" - רשימת קישורים לכל הערים שיש בהן
   מורים, מחולקת לעמודות. מוצג מעל ה-footer בדף הבית (front-page.php,
   #cities-index) - נבנה אוטומטית מהטקסונומיה (gt_get_cities_with_teachers()
   ב-inc/taxonomy-city.php), אין צורך לעדכן ידנית.
   ========================================================= */

/* .gt-section הרגיל מוסיף margin-bottom: 60px אחרי כל סקשן (רווח בין
   סקשנים) - אבל זה הסקשן האחרון בדף לפני ה-footer, אז אותו margin
   הופיע כרצועה לבנה מיותרת בין הרקע הבהיר של הסקשן לבין ה-footer הכהה.
   מבטלים אותו כאן בלבד. */
.gt-cities-index-section {
	margin-bottom: 0;
}
/* ל-.gt-footer יש margin-top: 40px גלובלי (רווח קבוע מתחת לתוכן בכל
   העמודים) - בדף הבית, אחרי הסקשן הזה, זה יצר פס לבן מיותר בין הרקע
   הבהיר של הסקשן לרקע הכהה של ה-footer. מבוטל רק בדף הבית (class
   gt-footer-flush-top, מתווסף ב-footer.php לפי is_front_page()) -
   בכל שאר העמודים ה-footer שומר על ה-margin-top הרגיל. */
.gt-footer.gt-footer-flush-top {
	margin-top: 0;
}
/* ל-.gt-sections (ה-div שעוטף את כל הסקשנים בדף הבית ובעוד תבניות) יש
   padding: 60px 0 גלובלי - כשהסקשן הזה הוא הילד האחרון בתוכה (בדף הבית),
   ה-padding-bottom הזה יצר עוד רצועה לבנה מיותרת בין הרקע הבהיר שלו לבין
   ה-footer. מבוטל רק כשהוא באמת הילד האחרון של .gt-sections, כדי לא
   להשפיע על השימוש הרגיל ב-.gt-sections בתבניות אחרות (ארכיון מורים,
   עמוד עיר, עמודים רגילים וכו'). */
.gt-sections:has(> .gt-cities-index-section:last-child) {
	padding-bottom: 0;
}

.gt-cities-index-list {
	list-style: none;
	margin: 0;
	padding: 0;
	columns: 4 200px;
	column-gap: 28px;
}
.gt-cities-index-list li {
	break-inside: avoid;
	margin-bottom: 4px;
}
.gt-cities-index-link {
	display: inline-block;
	padding: 6px 4px;
	color: var(--gt-gray-600);
	font-size: 0.92rem;
	line-height: 1.5;
	transition: color 0.15s ease;
}
.gt-cities-index-link:hover {
	color: var(--gt-turquoise-dark);
	text-decoration: underline;
}

@media (max-width: 767.98px) {
	.gt-cities-index-list {
		columns: 2 140px;
	}
}

/* =========================================================
   פריסת דף הבית / ארכיון מורים: תוכן ראשי + סיידבר פרסומות
   ========================================================= */

.gt-home-layout {
	display: flex;
	align-items: flex-start;
	gap: 32px;
}
.gt-home-main {
	flex: 1 1 auto;
	min-width: 0;
}
.gt-ad-sidebar {
	flex: 0 0 200px;
	width: 200px;
	position: sticky;
	top: 96px;
	display: flex;
	flex-direction: column;
	gap: 24px;
}
.gt-ad-label {
	font-size: 0.72rem;
	color: var(--gt-gray-400);
	font-weight: 600;
	letter-spacing: 0.05em;
	margin-bottom: 6px;
}
.gt-ad-slot {
	width: 200px;
	border: 1.5px dashed var(--gt-gray-400);
	border-radius: var(--gt-radius-sm);
	background: var(--gt-gray-50);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	color: var(--gt-gray-400);
	gap: 6px;
	font-size: 0.8rem;
}
.gt-ad-slot i {
	font-size: 1.5rem;
}

/* באנר פרסומת אמיתי (widget "באנר פרסומת") - תמונה עם קישור */
.gt-ad-banner {
	display: block;
	width: 200px;
	border-radius: var(--gt-radius-sm);
	overflow: hidden;
	box-shadow: var(--gt-shadow);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}
a.gt-ad-banner:hover {
	transform: translateY(-4px);
	box-shadow: var(--gt-shadow-hover);
}
.gt-ad-banner-img {
	width: 100%;
	height: auto;
	display: block;
}

@media (max-width: 991.98px) {
	.gt-home-layout {
		flex-direction: column;
	}
	.gt-ad-sidebar {
		position: static;
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: center;
		width: 100%;
	}
}

.gt-section-title,
.gt-section-subtitle {
	position: relative;
	display: flex;
	align-items: center;
	gap: 10px;
}
/* פס טורקיז מאונך לפני כותרת סקשן/תת-כותרת - רק כשאין כבר אייקון לפני
   הטקסט (כדי לא להכביד עם שני אלמנטים דקורטיביים ביחד) */
.gt-section-title::before,
.gt-section-subtitle::before {
	content: "";
	display: inline-block;
	width: 4px;
	border-radius: 999px;
	background: var(--gt-turquoise);
	flex-shrink: 0;
	align-self: stretch;
}
.gt-section-title:has(.gt-title-icon)::before {
	display: none;
}

.gt-section-title {
	font-size: 1.75rem;
	margin: 0;
}
.gt-title-icon {
	color: var(--gt-turquoise);
	font-size: 1.4rem;
}
.gt-section-subtitle {
	font-size: 1.3rem;
	margin-bottom: 18px;
}

.gt-see-all {
	font-weight: 600;
	font-size: 0.95rem;
	display: flex;
	align-items: center;
	gap: 6px;
}

/* =========================================================
   Teacher Card
   ========================================================= */

.gt-card {
	border-radius: var(--gt-radius);
	overflow: hidden;
	position: relative;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
	/* border עדין + shadow (במקום shadow-sm החלש של Bootstrap בלבד) - בלי
	   זה הכרטיס "נבלע" ברקע הלבן/אפור-בהיר של העמוד, במיוחד בעמודי
	   ארכיון עם הרבה כרטיסים זה לצד זה */
	border: 1px solid var(--gt-gray-100) !important;
	box-shadow: var(--gt-shadow) !important;
}
.gt-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--gt-shadow-hover) !important;
}

.gt-card-img-link {
	display: block;
	overflow: hidden;
	border-radius: var(--gt-radius) var(--gt-radius) 0 0;
}
/* תמונות מורים מגיעות בכל יחס-רוחב/גובה (חלק לאורך, חלק לרוחב) - ריבוע
   קשיח עם object-fit:cover היה חותך תמונות לאורך ומאבד תוכן (למשל
   הגיטרה), ובלי אפשרות לתקן את זה בעזרת נקודת המיקוד כי החיתוך כבר קרה
   ברמת קובץ התמונה עצמו (ראו add_image_size ב-functions.php). הפתרון:
   שתי תמונות זו על גבי זו - רקע מטושטש וממולא (cover) של אותה תמונה
   ממש (לא נטענת פעמיים - זה אותו src, מגיע מה-cache של הדפדפן), ומעליה
   התמונה החדה בשלמותה (contain, בלי לחתוך כלום). כך כל תמונה, בכל יחס
   ממדים, נראית שלמה ואסתטית בלי "פסים" בצבע שרירותי. */
.gt-card-img-wrap {
	position: relative;
	width: 100%;
	height: 220px;
	overflow: hidden;
}
.gt-card-img-bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: blur(18px) brightness(0.85) saturate(1.15);
	transform: scale(1.15); /* מונע "קצוות" שקופים/לבנים שהטשטוש חושף בשולי התמונה */
}
.gt-card-img {
	position: relative;
	z-index: 1;
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
	transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.gt-card:hover .gt-card-img {
	transform: scale(1.12);
}
.gt-card-img-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--gt-turquoise-light);
	color: var(--gt-turquoise);
	font-size: 4rem;
	height: 220px;
	transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.gt-card:hover .gt-card-img-placeholder {
	transform: scale(1.1);
}

/* תגית "המלצת האתר" - תג עגול פשוט בפינה הימנית-עליונה של כרטיס המורה,
   בתוך גבולות הכרטיס (בלי ריבון אלכסוני). */
.gt-card-badge-recommended {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 6px 14px;
	border-radius: 999px;
	background-color: #ffc94d;
	color: var(--gt-navy);
	font-size: 0.78rem;
	font-weight: 700;
	white-space: nowrap;
	box-shadow: 0 4px 10px rgba(255, 201, 77, 0.45);
}

/* גרסת "תג" עצמאית (לא ממוקמת absolute) - לשימוש מחוץ להקשר של כרטיס,
   למשל ליד הכותרת בעמוד המורה עצמו (single-teacher.php) */
.gt-badge-static {
	position: static;
	top: auto;
	right: auto;
	font-size: 0.85rem;
	padding: 7px 16px;
}

.gt-card-title a {
	color: var(--gt-navy);
}
.gt-card-title a:hover {
	color: var(--gt-turquoise-dark);
}

.gt-card-city {
	font-size: 0.9rem;
}
.gt-dot-sep {
	margin: 0 4px;
}

.gt-card-excerpt {
	line-height: 1.6;
}

.gt-card-badges .gt-badge {
	background: var(--gt-turquoise-light);
	color: var(--gt-turquoise-dark);
	font-weight: 500;
	font-size: 0.75rem;
	padding: 6px 10px;
	border-radius: 999px;
	margin-inline-end: 6px;
	margin-bottom: 6px;
	display: inline-block;
}

.gt-card-price {
	font-size: 0.9rem;
	color: var(--gt-gray-600);
}
.gt-card-price strong {
	color: var(--gt-navy);
}

.gt-btn-outline {
	border: 1.5px solid var(--gt-turquoise);
	color: var(--gt-turquoise-dark);
	border-radius: 999px;
	padding: 6px 18px;
	font-weight: 600;
	font-size: 0.85rem;
	background: transparent;
}
.gt-btn-outline:hover {
	background: var(--gt-turquoise);
	color: var(--gt-white);
}

/* =========================================================
   מאמרים אחרונים בבלוג (דף הבית) - רשת סטטית, 4 כרטיסים
   ========================================================= */

.gt-blog-card {
	display: block;
	background: var(--gt-white);
	border-radius: var(--gt-radius);
	box-shadow: var(--gt-shadow);
	overflow: hidden;
	height: 100%;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.gt-blog-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--gt-shadow-hover);
	color: inherit;
}

.gt-blog-card-img-wrap {
	overflow: hidden;
}
.gt-blog-card-img {
	width: 100%;
	height: 170px;
	object-fit: cover;
	display: block;
	transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.gt-blog-card:hover .gt-blog-card-img {
	transform: scale(1.1);
}
.gt-blog-card-img-default {
	/* תמונת ברירת מחדל (כשלמאמר אין תמונה ראשית) - אותה תבנית כמו תמונה אמיתית */
	background: var(--gt-turquoise-light);
}

.gt-blog-card-body {
	padding: 18px;
}
.gt-blog-card-cat {
	color: var(--gt-turquoise-dark);
	font-size: 0.75rem;
	font-weight: 600;
	display: block;
	margin-bottom: 6px;
}
.gt-blog-card-title {
	font-size: 1.05rem;
	line-height: 1.4;
	color: var(--gt-navy);
	margin-bottom: 8px;
}
.gt-blog-card-excerpt {
	font-size: 0.85rem;
	color: var(--gt-gray-600);
	line-height: 1.6;
	margin: 0;
}

/* =========================================================
   ערים בהן מלמד המורה (עמוד מורה בודד)
   ========================================================= */

.gt-teacher-cities {
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.gt-teacher-city-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 10px 14px;
	border-radius: var(--gt-radius-sm);
	background: var(--gt-turquoise-light);
	color: var(--gt-turquoise-dark);
	font-weight: 600;
	font-size: 0.92rem;
}
.gt-teacher-city-link:hover {
	background: var(--gt-turquoise);
	color: #fff;
}

/* =========================================================
   Single Teacher Page
   ========================================================= */

.gt-teacher-hero {
	position: relative;
	background: linear-gradient(135deg, var(--gt-navy-light) 0%, var(--gt-turquoise-dark) 130%);
	padding: 56px 0;
	overflow: hidden;
}
.gt-teacher-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: radial-gradient(circle at 12% 15%, rgba(255, 255, 255, 0.12), transparent 40%),
		radial-gradient(circle at 90% 85%, rgba(23, 182, 176, 0.25), transparent 45%);
}
.gt-teacher-hero > .container {
	position: relative;
}

.gt-teacher-photo {
	width: 220px;
	height: 220px;
	border-radius: 50%;
	object-fit: cover;
	box-shadow: var(--gt-shadow-hover);
	border: 6px solid var(--gt-white);
}
.gt-teacher-photo-placeholder {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--gt-turquoise-light);
	color: var(--gt-turquoise);
	font-size: 6rem;
}

.gt-teacher-name {
	font-size: 2.2rem;
	margin-bottom: 12px;
}
/* על רקע ה-gradient הכהה של ה-hero, הכותרת (שבד"כ יורשת navy כהה
   מהכלל הגלובלי של h1/h2/h3) חייבת להיות לבנה כדי להיקרא */
.gt-teacher-hero .gt-teacher-name {
	color: var(--gt-white);
}

.gt-teacher-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
}
.gt-meta-item {
	display: flex;
	align-items: center;
	gap: 6px;
	color: var(--gt-gray-600);
	font-weight: 500;
}
.gt-meta-item i {
	color: var(--gt-turquoise);
}
/* אותו טיפול - גרסה בהירה של הטקסט/אייקון על רקע כהה */
.gt-teacher-hero .gt-meta-item {
	color: rgba(255, 255, 255, 0.85);
}
.gt-teacher-hero .gt-meta-item i {
	color: var(--gt-turquoise-light);
}

.gt-teacher-contact {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	margin-top: 20px;
}

.gt-btn-primary {
	background: var(--gt-turquoise);
	color: var(--gt-white);
	border-radius: 999px;
	padding: 12px 28px;
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}
.gt-btn-primary:hover {
	background: var(--gt-turquoise-dark);
	color: var(--gt-white);
}

.gt-btn-whatsapp {
	background: #25d366;
	color: var(--gt-white);
	border-radius: 999px;
	padding: 12px 28px;
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}
.gt-btn-whatsapp:hover {
	background: #1eb856;
	color: var(--gt-white);
}

.gt-teacher-bio {
	line-height: 1.9;
	color: var(--gt-navy-light);
	font-size: 1.05rem;
}

/* =========================================================
   Footer
   ========================================================= */

.gt-footer {
	background: var(--gt-navy);
	color: var(--gt-white);
	margin-top: 40px;
}
.gt-footer-brand {
	display: flex;
	align-items: center;
	gap: 10px;
	font-family: var(--gt-font-heading);
	font-weight: 800;
	font-size: 1.3rem;
}
.gt-footer-links {
	margin: 0;
}
.gt-footer-links li {
	margin-bottom: 8px;
}
.gt-footer-links a {
	color: rgba(255, 255, 255, 0.7);
}
.gt-footer-links a:hover {
	color: var(--gt-white);
}
.gt-footer-hr {
	border-color: rgba(255, 255, 255, 0.12);
	margin: 30px 0 20px;
}
.widget-title {
	color: var(--gt-white);
	font-size: 0.85rem;
	letter-spacing: 0.05em;
}
/* כל widget שמוסיפים בניהול לאחת מעמודות הפוטר (מראה > ווידג'טים) ומכיל
   <ul> - כמו ה-widget המובנה "תפריט ניווט" של וורדפרס - מתעצב אוטומטית
   כמו עמודת "ניווט" הקבועה בקוד (bullets מוסתרים, אותו צבע/מרווח/hover),
   בלי צורך להוסיף class ידני (ל-widgets מובנים של וורדפרס אין שדה כזה). */
.gt-footer .widget ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.gt-footer .widget ul li {
	margin-bottom: 8px;
}
.gt-footer .widget ul a {
	color: rgba(255, 255, 255, 0.7);
	text-decoration: none;
	transition: color 0.15s ease;
}
.gt-footer .widget ul a:hover {
	color: var(--gt-white);
}

/* =========================================================
   Responsive tweaks
   ========================================================= */

@media (max-width: 576px) {
	/* רשת בטוחה לשוליים צדדיים - גיבוי למקרה שגיליון הסגנון של
	   Bootstrap (נטען מ-CDN) לא נטען כראוי; מבטיח שתוכן לא ייצמד
	   לקצוות המסך במובייל. */
	.container {
		padding-left: 16px;
		padding-right: 16px;
	}
	.gt-post-hero-content-overlay {
		padding-left: 16px;
		padding-right: 16px;
	}

	.gt-hero {
		padding: 60px 0 100px;
	}
	.gt-search-box {
		flex-wrap: wrap;
		border-radius: var(--gt-radius);
	}
	.gt-search-input-wrap {
		width: 100%;
		flex-basis: 100%;
	}
	.gt-search-input {
		padding: 14px 44px 14px 14px;
	}
	.gt-search-btn {
		width: 100%;
		border-radius: var(--gt-radius-sm);
		margin-top: 6px;
	}
	.gt-teacher-contact {
		flex-direction: column;
	}
	.gt-teacher-contact .btn {
		width: 100%;
		justify-content: center;
	}

	/* כותרת סקשן + "לכל המורים" - לא נשארים באותה שורה במסך צר,
	   כדי שלא יתנגשו/יתחפפו (הכותרת עם האייקון עלולה להיות ארוכה). */
	.gt-section .d-flex.align-items-center.justify-content-between {
		flex-direction: column;
		align-items: flex-start !important;
		gap: 10px;
	}
	.gt-section-title {
		font-size: 1.35rem;
	}
}

/* =========================================================
   עמוד הצטרפות מורים (Contact Form 7)
   ========================================================= */

.gt-join-breadcrumb {
	background: var(--gt-white);
	border-bottom: 1px solid var(--gt-gray-100);
}
.gt-join-breadcrumb .container {
	padding-top: 14px;
	padding-bottom: 14px;
}
.gt-join-back-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 0.88rem;
	font-weight: 600;
	color: var(--gt-gray-600);
	transition: color 0.2s ease;
}
.gt-join-back-link:hover {
	color: var(--gt-turquoise-dark);
}

.gt-hero-sm {
	padding: 56px 0;
}

.gt-join-hero-inner {
	position: relative;
	max-width: 760px;
	margin: 0 auto;
	text-align: center;
}
.gt-join-hero-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: rgba(255, 255, 255, 0.14);
	color: var(--gt-white);
	font-size: 0.78rem;
	font-weight: 600;
	padding: 6px 14px;
	border-radius: 999px;
	margin-bottom: 16px;
}
.gt-join-hero-title {
	margin-bottom: 14px !important;
}
.gt-join-hero-text {
	color: rgba(255, 255, 255, 0.75);
	font-size: 1rem;
	line-height: 1.7;
	margin: 0;
}

.gt-join-form-wrap {
	max-width: 760px;
	padding-top: 48px;
	padding-bottom: 96px;
}

/* Panels (wrapping HTML pasted into the CF7 "Form" tab) */
.gt-form-panel {
	background: var(--gt-white);
	border: 1px solid var(--gt-gray-200);
	border-radius: var(--gt-radius);
	box-shadow: var(--gt-shadow);
	padding: 28px;
	margin-bottom: 24px;
}
.gt-form-panel-title {
	font-size: 1.15rem;
	position: relative;
	display: inline-block;
	padding-bottom: 10px;
	margin: 0 0 18px;
}
.gt-form-panel-title::after {
	content: "";
	position: absolute;
	bottom: 0;
	right: 0;
	width: 36px;
	height: 3px;
	border-radius: 3px;
	background: var(--gt-turquoise);
}
.gt-form-field-hint {
	color: var(--gt-gray-600);
	font-size: 0.85rem;
	margin: -8px 0 18px;
}
.gt-form-row {
	display: flex;
	gap: 18px;
	flex-wrap: wrap;
}
.gt-form-row .gt-form-field {
	flex: 1;
	min-width: 220px;
}
.gt-form-field {
	margin: 0 0 18px;
}
.gt-form-field:last-child,
.gt-form-panel > .gt-form-field:last-child {
	margin-bottom: 0;
}
.gt-form-field > label {
	display: block;
	font-size: 0.88rem;
	font-weight: 600;
	color: var(--gt-navy);
	margin-bottom: 8px;
}

/* Contact Form 7's own generated markup */
.gt-join-form .wpcf7-form-control-wrap {
	display: block;
}
.gt-join-form .wpcf7-form-control {
	font-family: var(--gt-font-body);
	color: var(--gt-navy);
}
.gt-join-form input.wpcf7-form-control,
.gt-join-form textarea.wpcf7-form-control,
.gt-join-form select.wpcf7-form-control {
	width: 100%;
	border: 1.5px solid var(--gt-gray-200);
	border-radius: var(--gt-radius-sm);
	padding: 12px 14px;
	font-size: 0.95rem;
	background: var(--gt-gray-50);
	transition: border-color 0.15s ease, background 0.15s ease;
}
.gt-join-form input.wpcf7-form-control:focus,
.gt-join-form textarea.wpcf7-form-control:focus,
.gt-join-form select.wpcf7-form-control:focus {
	outline: 2px solid var(--gt-turquoise);
	outline-offset: 1px;
	border-color: var(--gt-turquoise);
	background: var(--gt-white);
}
.gt-join-form textarea.wpcf7-textarea {
	min-height: 140px;
	line-height: 1.7;
	resize: vertical;
}
.gt-join-form input.wpcf7-file {
	width: 100%;
	border: 1.5px dashed var(--gt-gray-400);
	border-radius: var(--gt-radius-sm);
	background: var(--gt-gray-50);
	padding: 24px 14px;
	text-align: center;
	cursor: pointer;
}

/* Checkbox groups (guitar types / styles) rendered as pill chips */
.gt-join-form .wpcf7-checkbox {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}
.gt-join-form .wpcf7-list-item {
	margin: 0;
}
.gt-join-form .wpcf7-list-item label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 9px 16px;
	border: 1.5px solid var(--gt-gray-200);
	border-radius: 999px;
	font-size: 0.88rem;
	color: var(--gt-navy-light);
	background: var(--gt-gray-50);
	cursor: pointer;
}
.gt-join-form .wpcf7-list-item input[type="checkbox"] {
	accent-color: var(--gt-turquoise);
	width: 16px;
	height: 16px;
	margin: 0;
}
.gt-join-form .wpcf7-list-item:has(input:checked) label {
	border-color: var(--gt-turquoise);
	background: var(--gt-turquoise-light);
	color: var(--gt-turquoise-dark);
	font-weight: 600;
}

/* Pricing rows */
.gt-price-field {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding: 14px 0;
	border-bottom: 1px solid var(--gt-gray-200);
}
.gt-price-field:last-child {
	border-bottom: none;
	padding-bottom: 0;
}
.gt-price-field > label {
	font-size: 0.92rem;
	font-weight: 600;
	color: var(--gt-navy);
}
.gt-price-input {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	flex-shrink: 0;
	color: var(--gt-gray-600);
	font-size: 0.85rem;
}
.gt-price-input input.wpcf7-number {
	width: 90px;
	text-align: center;
}

/* Submit */
.gt-form-submit {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	text-align: center;
}
/* רשת ביטחון: אם Contact Form 7 עוטף את השורות ב-<p> (wpautop) כי אין
   שורה ריקה ביניהן בטאב "Form", הכפתור עדיין ימורכז וירווח כמו שצריך -
   אבל התיקון האמיתי הוא לסמן "Exclude line breaks from output" בעריכת
   הטופס (ראו ההוראות שבראש קובץ ה-CF7 template). */
.gt-form-submit > p {
	margin: 0 0 12px;
	width: 100%;
}
.gt-form-submit > p:last-child {
	margin-bottom: 0;
}
.gt-join-form input.wpcf7-submit {
	display: block;
	width: 100%;
	max-width: 320px;
	margin: 0 auto;
	background: var(--gt-turquoise);
	color: var(--gt-white);
	border: none;
	border-radius: 999px;
	padding: 14px 32px;
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.15s ease, opacity 0.15s ease;
	-webkit-appearance: none;
	appearance: none;
}
.gt-join-form input.wpcf7-submit:hover {
	background: var(--gt-turquoise-dark);
}
/* הבאג האמיתי: כפתור השליחה מקבל גם את class="wpcf7-form-control" (כמו כל
   שדה אחר בטופס), ולכן ה-focus state הכללי (.wpcf7-form-control:focus)
   שהפך את הרקע ללבן חל גם עליו - וכיוון שהטקסט שלו לבן, הכפתור נראה ריק
   ולבן ברגע שמקבל פוקוס (למשל מיד אחרי לחיצה עליו). כלל ספציפי יותר
   לכפתור עצמו, שמוגדר אחריו בקובץ, "מחזיר" את הרקע הטורקיז. */
.gt-join-form input.wpcf7-submit:focus,
.gt-join-form input.wpcf7-submit:focus-visible {
	background: var(--gt-turquoise);
	color: var(--gt-white);
	border-color: var(--gt-turquoise);
	outline: 2px solid var(--gt-turquoise-dark);
	outline-offset: 2px;
}
/* בזמן שליחה (AJAX) קונטקט פורם 7 מוסיף disabled לכפתור - בלי הכלל הזה
   הדפדפן מציג עיצוב ברירת מחדל (לבן) שדורס את הרקע הטורקיז. */
.gt-join-form input.wpcf7-submit:disabled,
.gt-join-form input.wpcf7-submit[disabled] {
	background: var(--gt-turquoise);
	color: var(--gt-white);
	opacity: 0.65;
	cursor: not-allowed;
	-webkit-appearance: none;
	appearance: none;
}
.gt-form-submit-note {
	color: var(--gt-gray-600);
	font-size: 0.82rem;
	max-width: 460px;
	line-height: 1.6;
}

/* =========================================================
   עמוד "כתיבת ביקורת למורה" (page-templates/template-teacher-review.php)
   ========================================================= */

.gt-required {
	color: #dc2626;
}

.gt-review-teacher-preview {
	display: flex;
	align-items: center;
	gap: 14px;
	background: var(--gt-turquoise-light);
	border-radius: var(--gt-radius);
	padding: 14px 18px;
	margin-bottom: 24px;
}
.gt-review-teacher-preview img,
.gt-review-teacher-preview-placeholder {
	width: 52px;
	height: 52px;
	border-radius: 50%;
	object-fit: cover;
	flex-shrink: 0;
}
.gt-review-teacher-preview-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--gt-white);
	color: var(--gt-turquoise);
	font-size: 1.6rem;
}
.gt-review-teacher-preview-label {
	display: block;
	font-size: 0.8rem;
	color: var(--gt-turquoise-dark);
	margin-bottom: 2px;
}

/* מצבי "עמוד תוצאה" (תודה על השליחה / אימות הצליח / שגיאה) */
.gt-review-state-panel {
	text-align: center;
	padding: 40px 24px;
	border-radius: var(--gt-radius);
}
.gt-review-state-panel i {
	font-size: 2.4rem;
	margin-bottom: 12px;
	display: inline-block;
}
.gt-review-state-panel h2 {
	font-size: 1.3rem;
	margin-bottom: 10px;
}
.gt-review-state-panel p {
	color: var(--gt-gray-600);
	line-height: 1.7;
	max-width: 480px;
	margin: 0 auto;
}
.gt-review-state-success {
	background: var(--gt-turquoise-light);
}
.gt-review-state-success i {
	color: var(--gt-turquoise-dark);
}
.gt-review-state-error {
	background: #fef2f2;
}
.gt-review-state-error i {
	color: #dc2626;
}
/* אזהרה לא-חוסמת (למשל שגיאת ולידציה שאפשר לתקן) - מוצגת מעל הטופס עצמו,
   ולכן מיושרת לימין (RTL) בניגוד למצבי ההצלחה/שגיאה שתופסים את כל העמוד */
.gt-review-state-warning {
	background: #fff7ed;
	text-align: right;
	padding: 16px 20px;
	margin-bottom: 20px;
	display: flex;
	align-items: flex-start;
	gap: 10px;
}
.gt-review-state-warning i {
	color: #b45309;
	font-size: 1.2rem;
	margin: 2px 0 0;
}
.gt-review-state-warning p {
	margin: 0;
	color: #7c2d12;
	max-width: none;
}

/* שדות קלט "רגילים" (לא מסומנים ב-.wpcf7-form-control כי זה לא טופס
   Contact Form 7) - אותו עיצוב חזותי בדיוק, כדי שהעמוד ייראה עקבי */
.gt-review-form input[type="text"],
.gt-review-form input[type="email"],
.gt-review-form textarea {
	width: 100%;
	border: 1.5px solid var(--gt-gray-200);
	border-radius: var(--gt-radius-sm);
	padding: 12px 14px;
	font-size: 0.95rem;
	font-family: var(--gt-font-body);
	background: var(--gt-gray-50);
	transition: border-color 0.15s ease, background 0.15s ease;
}
.gt-review-form input[type="text"]:focus,
.gt-review-form input[type="email"]:focus,
.gt-review-form textarea:focus {
	outline: 2px solid var(--gt-turquoise);
	outline-offset: 1px;
	border-color: var(--gt-turquoise);
	background: var(--gt-white);
}
.gt-review-form textarea {
	min-height: 130px;
	line-height: 1.7;
	resize: vertical;
}
.gt-review-submit-btn {
	display: block;
	width: 100%;
	max-width: 320px;
	margin: 0 auto;
	cursor: pointer;
}

/* ווידג'ט קלט כוכבי דירוג (assets/js/review-form.js מפעיל אותו) */
.gt-star-input {
	display: inline-flex;
	gap: 6px;
	direction: ltr; /* כדי שלחיצה/מיקוד על כוכב N תמיד "תמלא" עקבית גם את
	                   הכוכבים שלפניו (1..N), בלי קשר לכיוון RTL של העמוד */
}
.gt-star-btn {
	background: none;
	border: none;
	padding: 4px;
	cursor: pointer;
	font-size: 1.8rem;
	line-height: 1;
	color: var(--gt-gray-400);
	transition: color 0.12s ease, transform 0.12s ease;
}
.gt-star-btn:hover,
.gt-star-btn:focus-visible {
	transform: scale(1.12);
	color: #f5a623;
}
.gt-star-btn[aria-pressed="true"] {
	color: #f5a623;
}
.gt-star-btn i {
	pointer-events: none;
}
.gt-star-error {
	color: #dc2626;
	font-size: 0.82rem;
	margin: 6px 0 0;
}

/* Honeypot - שדה מוסתר מבני-אדם באופן נגיש (לא display:none, כדי שקוראי
   מסך לא "יתבלבלו", אבל מחוץ לאזור הנראה לחלוטין) שנועד ללכוד בוטים */
.gt-hp-field {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* Validation / response messages */
.gt-join-form .wpcf7-not-valid-tip {
	display: block;
	color: #dc2626;
	font-size: 0.8rem;
	margin-top: 6px;
}
.gt-join-form .wpcf7-response-output {
	border-radius: var(--gt-radius-sm) !important;
	margin: 24px 0 0 !important;
	font-size: 0.9rem;
}
.gt-join-form .wpcf7-spinner {
	margin: 10px auto 0;
}

@media (max-width: 767.98px) {
	.gt-form-panel {
		padding: 22px;
	}
	.gt-form-row {
		flex-direction: column;
		gap: 0;
	}
}

/* =========================================================
   Homepage: "מה מורה לגיטרה יכול ללמד אותי?"
   ========================================================= */

.gt-feature {
	text-align: center;
	padding: 8px;
}
.gt-feature-icon {
	width: 72px;
	height: 72px;
	margin: 0 auto 18px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--gt-turquoise-light);
	color: var(--gt-turquoise-dark);
	font-size: 1.9rem;
}
.gt-feature-title {
	font-size: 1.15rem;
	color: var(--gt-navy);
	margin-bottom: 10px;
}
.gt-feature-text {
	color: var(--gt-gray-600);
	font-size: 0.95rem;
	line-height: 1.7;
	margin: 0;
}

/* =========================================================
   Homepage: "איזה מורה מתאים לך?"
   ========================================================= */

.gt-which-teacher {
	display: flex;
	align-items: stretch;
	gap: 40px;
	border-radius: var(--gt-radius);
	overflow: hidden;
	background: var(--gt-white);
	box-shadow: var(--gt-shadow);
}
.gt-which-teacher-illustration {
	position: relative;
	flex: 0 0 38%;
	min-height: 320px;
	background: var(--gt-gray-100);
	overflow: hidden;
}
.gt-which-teacher-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
/* Placeholder - כל עוד לא הועלתה תמונה דרך מראה > הגדרות האתר > "תמונות בדף הבית" */
.gt-which-teacher-placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	color: var(--gt-gray-400);
	background: repeating-linear-gradient(
		135deg,
		var(--gt-gray-100),
		var(--gt-gray-100) 14px,
		var(--gt-gray-50) 14px,
		var(--gt-gray-50) 28px
	);
}
.gt-which-teacher-placeholder i {
	font-size: 2.5rem;
}
.gt-which-teacher-placeholder span {
	font-size: 0.85rem;
	font-weight: 600;
}
.gt-which-teacher-badge {
	position: absolute;
	bottom: 24px;
	inset-inline-start: 24px;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: var(--gt-white);
	color: var(--gt-turquoise-dark);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.5rem;
	box-shadow: var(--gt-shadow);
}
.gt-which-teacher-content {
	flex: 1 1 auto;
	padding: 36px 36px 36px 8px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.gt-which-teacher-content p {
	color: var(--gt-gray-600);
	line-height: 1.75;
	margin-bottom: 14px;
}
.gt-which-teacher-content .gt-btn-outline {
	align-self: flex-start;
	margin-top: 8px;
}

@media (max-width: 767.98px) {
	.gt-which-teacher {
		flex-direction: column;
	}
	.gt-which-teacher-illustration {
		min-height: 160px;
		flex-basis: auto;
	}
	.gt-which-teacher-content {
		padding: 26px;
	}
}

/* =========================================================
   עמוד מורה בודד - שדות Premium (סוג גיטרה, רשתות, סרטון, ביקורות)
   ========================================================= */

.gt-badge-guitar-type {
	background: var(--gt-navy-light);
	color: var(--gt-white);
}

.gt-phone-reveal {
	min-width: 190px;
}

.gt-teacher-social {
	display: flex;
	gap: 10px;
}
.gt-social-link {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--gt-turquoise-light);
	color: var(--gt-turquoise-dark);
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
	font-size: 1.1rem;
	transition: filter 0.2s ease, transform 0.2s ease;
}
.gt-social-link i {
	display: block;
	line-height: 1;
}
.gt-social-link:hover {
	filter: brightness(0.9);
	transform: translateY(-2px);
	color: var(--gt-white);
}

/* צבעי brand לכל רשת - במקום צבע טורקיז אחיד */
.gt-social-facebook {
	background: #1877f2;
	color: #fff;
}
.gt-social-instagram {
	background: linear-gradient(45deg, #f9ce34, #ee2a7b, #6228d7);
	color: #fff;
}
.gt-social-tiktok {
	background: #000000;
	color: #fff;
}
.gt-social-youtube {
	background: #ff0000;
	color: #fff;
}

.gt-video-embed {
	position: relative;
	border-radius: var(--gt-radius);
	overflow: hidden;
	box-shadow: var(--gt-shadow);
}
.gt-video-embed iframe {
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	display: block;
	border: 0;
}

.gt-teacher-reviews .gt-review {
	padding: 16px 0;
	border-bottom: 1px solid var(--gt-gray-100);
}
.gt-teacher-reviews .gt-review:first-child {
	padding-top: 0;
}
.gt-review-header {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 6px;
	color: var(--gt-navy);
}
.gt-review-header i {
	color: var(--gt-turquoise);
	font-size: 1.3rem;
}
.gt-review-date {
	color: var(--gt-gray-400);
	font-size: 0.82rem;
	margin-inline-start: auto;
}
.gt-review-text {
	color: var(--gt-gray-600);
	line-height: 1.7;
	margin: 0;
}

.gt-reviews-section-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 18px;
}
.gt-rating-summary {
	display: flex;
	align-items: center;
	gap: 8px;
}
.gt-rating-summary-text {
	color: var(--gt-gray-600);
	font-size: 0.9rem;
	font-weight: 600;
}
/* כוכבי דירוג לקריאה בלבד (gt_render_stars() ב-inc/template-tags.php) -
   בממוצע הדירוג ובכל ביקורת בודדת. direction: ltr כדי שהכוכבים ה"מלאים"
   תמיד ייראו מהצד השמאלי, בלי קשר לכיוון RTL הכללי של העמוד. */
.gt-star-display {
	display: inline-flex;
	gap: 2px;
	direction: ltr;
	color: #f5a623;
	font-size: 0.95rem;
}
.gt-star-display .bi-star {
	color: var(--gt-gray-400);
}
.gt-review-header .gt-star-display {
	font-size: 0.85rem;
}
.gt-write-review-btn {
	margin-top: 18px;
}

/* =========================================================
   באנר הסכמה לעוגיות (Cookies)
   ========================================================= */

.gt-cookie-banner {
	position: fixed;
	inset-inline: 0;
	bottom: 0;
	z-index: 1050;
	background: var(--gt-navy);
	box-shadow: 0 -6px 20px rgba(14, 43, 61, 0.18);
	transform: translateY(100%);
	transition: transform 0.35s ease;
}
.gt-cookie-banner.is-visible {
	transform: translateY(0);
}
.gt-cookie-banner-inner {
	max-width: 1100px;
	margin: 0 auto;
	padding: 16px 24px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}
.gt-cookie-banner-inner p {
	margin: 0;
	flex: 1 1 320px;
	color: rgba(255, 255, 255, 0.88);
	font-size: 0.9rem;
}
.gt-cookie-banner-inner .btn {
	flex-shrink: 0;
}

@media (max-width: 576px) {
	.gt-cookie-banner-inner {
		flex-direction: column;
		align-items: stretch;
		text-align: center;
	}
	/* ל-<p> יש flex: 1 1 320px שנועד לקבוע רוחב מועדף כשה-flex-direction
	   הוא row (דסקטופ) - אבל ברגע שהפריסה כאן הופכת ל-column, אותו 320px
	   נמדד על הציר הראשי החדש (האנכי), כלומר הופך לגובה מועדף של הפסקה,
	   ויוצר רווח ענק לפני הכפתור. מאפסים אותו רק כאן. */
	.gt-cookie-banner-inner p {
		flex-basis: auto;
	}
	.gt-cookie-banner-inner .btn {
		width: 100%;
	}
}

/* =========================================================
   עמוד מאמר בודד (single.php)
   ========================================================= */

.gt-post-hero {
	position: relative;
	margin-bottom: 40px;
}
/* ה-container חייב position:relative כדי שהכותרת (position:absolute)
   תוגבל לרוחב ולמרכוז של ה-container ולא "תיברח" לקצה המסך */
.gt-post-hero > .container {
	position: relative;
}

.gt-post-hero-img-wrap {
	position: relative;
	width: 100%;
	height: 380px;
	overflow: hidden;
}
.gt-post-hero-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.gt-post-hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(14, 43, 61, 0.15) 0%, rgba(14, 43, 61, 0.85) 100%);
}

.gt-post-hero-content {
	padding: 32px 0 0;
}
/* left:0;right:0 על אלמנט position:absolute נמדד מקצה ה-padding של
   .container (לא מקצה ה-content) - כלומר ה-padding הרגיל של .container
   מתבטל לגמרי בשבילו, וה-breadcrumb/כותרת נדבקים לקצה המסך בלי רווח
   (בעיקר בולט במובייל). מוסיפים ריפוד אופקי משלו שמשקף בדיוק את ריפוד
   ה-container (משתנה ה-CSS של Bootstrap, ובמובייל - אותו 16px שנקבע
   ב-.container במדיה query למטה). */
.gt-post-hero-content-overlay {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 0 calc(var(--bs-gutter-x, 1.5rem) * .5) 32px;
}
.gt-post-hero-content-overlay .gt-breadcrumb a,
.gt-post-hero-content-overlay .gt-breadcrumb i {
	color: rgba(255, 255, 255, 0.75);
}
.gt-post-hero-content-overlay .gt-breadcrumb a:hover {
	color: var(--gt-white);
}
.gt-post-hero-content-overlay .gt-post-title {
	color: var(--gt-white);
}
.gt-post-hero-content-overlay .gt-meta-item {
	color: rgba(255, 255, 255, 0.8);
}

.gt-breadcrumb {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 0.85rem;
	margin-bottom: 16px;
	flex-wrap: wrap;
}
.gt-breadcrumb a {
	color: var(--gt-gray-600);
	font-weight: 500;
}
.gt-breadcrumb a:hover {
	color: var(--gt-turquoise-dark);
}
.gt-breadcrumb i {
	font-size: 0.65rem;
	color: var(--gt-gray-400);
}

.gt-post-cat-badge {
	display: inline-block;
	background: var(--gt-turquoise-light);
	color: var(--gt-turquoise-dark);
	font-size: 0.8rem;
	font-weight: 700;
	padding: 5px 14px;
	border-radius: 999px;
	margin-bottom: 14px;
}
.gt-post-cat-badge:hover {
	background: var(--gt-turquoise);
	color: var(--gt-white);
}

.gt-post-title {
	font-size: 2.1rem;
	font-weight: 700;
	line-height: 1.35;
	margin-bottom: 16px;
	max-width: 850px;
}

.gt-post-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 20px;
	font-size: 0.9rem;
	color: var(--gt-gray-600);
}
.gt-post-meta .gt-meta-item {
	display: flex;
	align-items: center;
	gap: 6px;
}
.gt-post-meta .gt-meta-item i {
	color: var(--gt-turquoise);
}

/* --- גוף המאמר --- */

.gt-post-content {
	font-size: 1.08rem;
	line-height: 1.95;
	color: var(--gt-navy-light);
	max-width: 850px;
}
.gt-post-content > *:first-child {
	margin-top: 0;
}
.gt-post-content p {
	margin: 0 0 22px;
}
.gt-post-content h2,
.gt-post-content h3,
.gt-post-content h4 {
	font-family: var(--gt-font-heading);
	color: var(--gt-navy);
	font-weight: 700;
	line-height: 1.4;
	margin: 40px 0 16px;
}
.gt-post-content h2 {
	font-size: 1.5rem;
}
.gt-post-content h3 {
	font-size: 1.25rem;
}
.gt-post-content h4 {
	font-size: 1.1rem;
}
.gt-post-content a {
	color: var(--gt-turquoise-dark);
	text-decoration: underline;
	text-decoration-color: var(--gt-turquoise-light);
	text-underline-offset: 3px;
}
.gt-post-content a:hover {
	color: var(--gt-turquoise);
}
.gt-post-content ul,
.gt-post-content ol {
	margin: 0 0 22px;
	padding-inline-start: 28px;
}
.gt-post-content li {
	margin-bottom: 8px;
}
.gt-post-content img {
	max-width: 100%;
	height: auto;
	border-radius: var(--gt-radius);
	margin: 8px 0 28px;
	display: block;
}
.gt-post-content figure {
	margin: 0 0 28px;
}
.gt-post-content figcaption {
	font-size: 0.85rem;
	color: var(--gt-gray-400);
	text-align: center;
	margin-top: 10px;
}
.gt-post-content blockquote {
	margin: 28px 0;
	padding: 18px 24px;
	border-inline-start: 4px solid var(--gt-turquoise);
	background: var(--gt-turquoise-light);
	border-radius: 0 var(--gt-radius-sm) var(--gt-radius-sm) 0;
	font-style: italic;
	color: var(--gt-navy);
}
.gt-post-content blockquote p:last-child {
	margin-bottom: 0;
}
.gt-post-content hr {
	border: none;
	border-top: 1px solid var(--gt-gray-100);
	margin: 36px 0;
}
.gt-post-content table {
	width: 100%;
	border-collapse: collapse;
	margin: 0 0 28px;
	font-size: 0.95rem;
}
.gt-post-content th,
.gt-post-content td {
	padding: 10px 14px;
	border: 1px solid var(--gt-gray-100);
	text-align: right;
}
.gt-post-content th {
	background: var(--gt-gray-50);
	font-weight: 700;
	color: var(--gt-navy);
}
.gt-post-content iframe {
	max-width: 100%;
	border-radius: var(--gt-radius-sm);
}
.gt-post-content .wp-block-embed,
.gt-post-content .wp-video,
.gt-post-content .gt-video-embed {
	margin: 8px 0 28px;
}

.gt-post-pagination {
	margin: 24px 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	font-weight: 600;
	color: var(--gt-navy);
}
.gt-post-pagination a,
.gt-post-pagination span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 34px;
	height: 34px;
	padding: 0 10px;
	border-radius: var(--gt-radius-sm);
	background: var(--gt-gray-50);
}
.gt-post-pagination a:hover {
	background: var(--gt-turquoise-light);
	color: var(--gt-turquoise-dark);
}

/* --- תגיות --- */

.gt-post-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	max-width: 850px;
	margin: 8px 0 32px;
}
.gt-post-tag {
	font-size: 0.85rem;
	font-weight: 500;
	color: var(--gt-gray-600);
	background: var(--gt-gray-50);
	border: 1px solid var(--gt-gray-100);
	padding: 5px 14px;
	border-radius: 999px;
}
.gt-post-tag:hover {
	background: var(--gt-turquoise-light);
	color: var(--gt-turquoise-dark);
	border-color: var(--gt-turquoise-light);
}

/* --- תיבת כותב/ת המאמר --- */

.gt-post-author-box {
	max-width: 850px;
	display: flex;
	align-items: flex-start;
	gap: 18px;
	background: var(--gt-gray-50);
	border: 1px solid var(--gt-gray-100);
	border-radius: var(--gt-radius);
	padding: 22px;
	margin: 12px 0 48px;
}
.gt-post-author-avatar img {
	border-radius: 50%;
	display: block;
}
.gt-post-author-name {
	font-weight: 700;
	color: var(--gt-navy);
	margin-bottom: 6px;
}
.gt-post-author-bio {
	color: var(--gt-gray-600);
	font-size: 0.92rem;
	margin: 0;
	line-height: 1.7;
}

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

.gt-post-related {
	max-width: 850px;
}

@media (max-width: 767px) {
	.gt-post-hero-img-wrap {
		height: 220px;
	}
	.gt-post-title {
		font-size: 1.5rem;
	}
	.gt-post-hero-content-overlay {
		padding-bottom: 20px;
	}
}

/* =========================================================
   עימוד (pagination) - דפדוף בין עמודי רשימת מאמרים/מורים
   ========================================================= */

/* וורדפרס (paginate_links עם type='list') מפיק <ul class="page-numbers">
   עם <li> לכל עמוד - בלי list-style:none זה מציג נקודות (bullets) של
   רשימה רגילה, ובלי flex+justify-content על ה-ul עצמו (לא על מחלקות
   "nav-links"/"pagination" שלא קיימות בפלט האמיתי) זה לא ממורכז. */
.gt-pagination ul.page-numbers {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px;
}
.gt-pagination li {
	display: flex;
}
.gt-pagination a.page-numbers,
.gt-pagination span.page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	border-radius: var(--gt-radius-sm);
	background: var(--gt-gray-50);
	color: var(--gt-navy);
	font-weight: 600;
	font-size: 0.92rem;
}
.gt-pagination a.page-numbers:hover {
	background: var(--gt-turquoise-light);
	color: var(--gt-turquoise-dark);
}
.gt-pagination span.page-numbers.current {
	background: var(--gt-turquoise);
	color: var(--gt-white);
}
.gt-pagination span.page-numbers.dots {
	background: transparent;
	color: var(--gt-gray-400);
}
