/* Ariel Services: כרטיסי שירות ושאלות נפוצות. הערכים מ-DESIGN-SPEC.md ו-SPACING-GUIDE.md. */

.ariel-svc-grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
}

.ariel-svc-card { margin: 0; }

/* כרטיס רשימה: לבן, מסגרת לילך, פס סגול בהתחלה הלוגית. */
.ariel-svc-card > a {
	display: flex;
	flex-direction: column;
	gap: 8px;
	height: 100%;
	box-sizing: border-box;
	padding: 18px;
	background: #fff;
	border: 1px solid #E4DCEE;
	border-inline-start: 3px solid #64479B;
	border-radius: 14px;
	text-decoration: none;
	transition: transform .2s, box-shadow .2s;
}

.ariel-svc-card > a:hover,
.ariel-svc-card > a:focus-visible {
	transform: translateY(-4px);
	box-shadow: 0 10px 24px rgba(27, 27, 36, .08);
}

.ariel-svc-card > a:focus-visible { outline: 2px solid #055294; outline-offset: 2px; }

.ariel-svc-card__title {
	margin: 0;
	font-family: Heebo, sans-serif;
	font-size: 24px;
	line-height: 30px;
	font-weight: 600;
	letter-spacing: -0.04em;
	color: #055294;
}

.ariel-svc-card__text {
	margin: 0;
	font-size: 16px;
	line-height: 24px;
	color: #6B6478;
}

.ariel-svc-card__more {
	margin-top: auto;
	padding-top: 4px;
	font-size: 16px;
	line-height: 24px;
	font-weight: 600;
	color: #055294;
}

.ariel-svc-card__more::after { content: " ←"; }

/* שאלות נפוצות: מסגרת אחת סביב כל הפריטים, קו בין פריט לפריט. */
.ariel-sec-title {
	margin: 0 0 36px;
	font-family: Heebo, sans-serif;
	font-size: 56px;
	line-height: 56px;
	font-weight: 600;
	letter-spacing: -0.04em;
	color: #1B1B24;
}

/* סקשן שהשורטקוד שלו ריק (אין שירותים מפורסמים או אין שאלות) לא מוצג בכלל. */
.ariel-hide-empty:not(:has(.ariel-svc-grid, .ariel-faq)) { display: none; }

/* Elementor נותן לווידג'ט בתוך קונטיינר max-width:100%, ולכן הספציפיות הגבוהה. */
.elementor .e-con .e-con-inner > .elementor-widget.ariel-lead,
.elementor .e-con .e-con > .elementor-widget.ariel-lead { max-width: 72ch; }
.elementor .e-con .elementor-widget.ariel-lead p { margin: 0 0 16px; }
.elementor .e-con .elementor-widget.ariel-lead p:last-child { margin-bottom: 0; }
.ariel-hero .ariel-book { margin-top: 32px; }

.ariel-faq__list {
	border: 1px solid #E4DCEE;
	border-radius: 14px;
	background: #fff;
	overflow: hidden;
}

.ariel-faq__item + .ariel-faq__item { border-top: 1px solid #E4DCEE; }

.ariel-faq__q {
	cursor: pointer;
	list-style: none;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	padding: 18px 22px;
	font-size: 18px;
	line-height: 27px;
	font-weight: 600;
	color: #1B1B24;
}

.ariel-faq__q::-webkit-details-marker { display: none; }

.ariel-faq__q::after {
	content: "+";
	flex: none;
	font-size: 24px;
	line-height: 1;
	color: #055294;
}

.ariel-faq__item[open] .ariel-faq__q::after { content: "−"; }

.ariel-faq__a {
	padding: 0 22px 18px;
	font-size: 16px;
	line-height: 24px;
	color: #3A3A48;
	max-width: 72ch;
}

.ariel-faq__a p { margin: 0 0 12px; }
.ariel-faq__a p:last-child { margin-bottom: 0; }

/* עמוד "שירותי המרפאה": כותרת לכל תחום בסגנון כותרות דף הבית. */
.ariel-hub-services .ariel-sec-title { margin: 56px 0 24px; font-size: 32px; line-height: 1.2; color: #64479B; text-align: right; }
.ariel-hub-services .elementor-widget-shortcode:first-of-type .ariel-sec-title { margin-top: 32px; }

/* תמונה ראשית: בתחום משמאל לטקסט, בשירות בראש העמודה הצדדית. */
.elementor img.ariel-svc-img, .ariel-svc-img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; }
.elementor .e-con.ariel-hero__text { flex: 1 1 0; min-width: 0; }
.elementor .e-con.ariel-hero__media { flex: 0 0 520px; }
.ariel-hero__media:not(:has(img)) { display: none; }

/* עמוד שירות: תוכן מימין, עמודה של 380 משמאל שנשארת צמודה למעלה בגלילה (מתחת להאדר הדביק, 74px). */
.elementor .e-con.ariel-svc-main { flex: 1 1 0; min-width: 0; }
.elementor .e-con.ariel-svc-aside { flex: 0 0 380px; position: sticky; top: 98px; }
.elementor .e-con.ariel-cta-card { background: #fff; border: 1px solid #E4DCEE; border-radius: 14px; padding: 26px 24px; box-shadow: 0 10px 24px rgba(27, 27, 36, .06); }
.ariel-cta-card .elementor-widget-button, .ariel-cta-card .elementor-button { width: 100%; }
.ariel-cta-card .ariel-book { margin-top: 4px; }
.ariel-cta-card p { margin: 0; }
/* בכרטיס עם תמונה: התמונה ממלאת את כל רוחב הכרטיס, והריפוד רק סביב הטקסט. */
.ariel-svc-card > a:has(.ariel-svc-card__img) { padding: 0 0 18px; overflow: hidden; }
.ariel-svc-card > a:has(.ariel-svc-card__img) > :not(.ariel-svc-card__img) { padding-inline: 18px; }
.elementor img.ariel-svc-card__img, .ariel-svc-card__img { display: block; width: 100%; max-width: 100%; height: auto; margin: 0 0 4px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 0; }

@media (max-width: 1024px) {
	.elementor .e-con.ariel-hero__media { flex-basis: 380px; }
	.elementor .e-con.ariel-svc-aside { flex-basis: 300px; }
	.ariel-svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
	.ariel-sec-title { margin-bottom: 30px; font-size: 46px; line-height: 46px; }
}

@media (max-width: 767px) {
	.elementor .e-con.ariel-hero__media, .elementor .e-con.ariel-svc-aside { flex-basis: auto; width: 100%; }
	/* בנייד התמונה וכרטיס התור עולים לפני התוכן, ובלי צמידה. */
	.elementor .e-con.ariel-svc-aside { position: static; order: -1; }
	.ariel-svc-card > a:has(.ariel-svc-card__img) { padding: 0 0 16px; }
	.ariel-svc-card > a:has(.ariel-svc-card__img) > :not(.ariel-svc-card__img) { padding-inline: 16px; }
	.ariel-svc-grid { grid-template-columns: 1fr; gap: 16px; }
	.ariel-svc-card > a { padding: 16px; }
	.ariel-svc-card__title { font-size: 20px; line-height: 26px; }
	.ariel-sec-title { margin-bottom: 24px; font-size: 36px; line-height: 36px; }
	.ariel-hub-services .ariel-sec-title { margin-top: 40px; font-size: 24px; line-height: 1.2; }
	.ariel-faq__q { padding: 16px 18px; font-size: 16px; line-height: 24px; }
	.ariel-faq__a { padding: 0 18px 16px; }
}

/* 1.1.4 (רונן: "הגובה שורה לא מספיק גדול", להחליף את צבע "הטיפולים בתחום"): כותרות הסקשנים כמו בדף הבית, סגול 38 במרכז. */
.elementor .ariel-hero .elementor-widget-heading h1.elementor-heading-title { line-height: 1.1; }
.ariel-sec-title { margin: 0 0 40px; font-size: 38px; line-height: 1.2; color: #64479B; text-align: center; }
.ariel-posts-more { margin: 32px 0 0; text-align: center; }
.ariel-posts-more a { display: inline-block; padding: 10px 22px; border: 1px solid #055294; border-radius: 8px; font-weight: 600; color: #055294; text-decoration: none; }
.ariel-posts-more a:hover { background: #055294; color: #fff; }
.ariel-posts-grid .ariel-svc-card__title { font-size: 20px; line-height: 28px; }
@media (max-width: 1024px) { .ariel-sec-title { margin-bottom: 32px; font-size: 34px; line-height: 1.2; } }
@media (max-width: 767px) { .ariel-sec-title { margin-bottom: 24px; font-size: 28px; line-height: 1.2; } }
/* כותרת עמוד התחום כמו הכותרת הראשית בדף הבית: סגול, 56. ב-112 שם של שתי מילים נשבר לשתי שורות צפופות. */
.elementor .ariel-hero--area .elementor-widget-heading h1.elementor-heading-title { font-size: 56px; line-height: 1.15; color: #64479B; }
@media (max-width: 767px) { .elementor .ariel-hero--area .elementor-widget-heading h1.elementor-heading-title { font-size: 40px; } }
/* כשיש פחות משלושה כרטיסים, הם במרכז ולא נצמדים לימין. */
.ariel-svc-grid { display: flex; flex-wrap: wrap; justify-content: center; }
.ariel-svc-grid > .ariel-svc-card { flex: 0 1 calc((100% - 44px) / 3); min-width: 0; }
@media (max-width: 1024px) { .ariel-svc-grid > .ariel-svc-card { flex-basis: calc((100% - 20px) / 2); } }
@media (max-width: 767px) { .ariel-svc-grid > .ariel-svc-card { flex-basis: 100%; } }
/* בעמוד "שירותי המרפאה" כותרת כל תחום מימין, ולכן גם הכרטיסים מתחתיה מתחילים מימין (רונן, 29.10). */
.ariel-hub-services .ariel-svc-grid { justify-content: flex-start; }
