/*
 * ארון הקסמים – קליניקות
 * Matches the original Elementor/JetEngine listing (measured on the live site at 1920px):
 * palette #BC6C25 / #DDA15E / #FEFAE0 / #606C38 / #283618, font "לאון" (loaded by the site).
 */
.ahk-clinics {
	--ahk-orange: #bc6c25;
	--ahk-sand: #dda15e;
	--ahk-cream: #fefae0;
	--ahk-olive: #606c38;
	--ahk-forest: #283618;
	--ahk-wa: #14b649;
	--ahk-font: "לאון", "לאון רגיל", sans-serif;
	--ahk-font-display: "לאון רגיל", "לאון", sans-serif;
	--ahk-card-radius: 30px;
	--ahk-shadow: 0 0 6px 0 rgba(207, 207, 207, .5);
	direction: rtl;
	font-family: var(--ahk-font);
}
.ahk-clinics *, .ahk-clinics *::before, .ahk-clinics *::after { box-sizing: border-box; }
.ahk-clinics svg { display: block; }

/* ---------- Hero (fallback archive only; the real page keeps its Elementor hero) ---------- */
.ahk-archive { max-width: 1787px; margin: 0 auto; padding: 0 16px 60px; }
.ahk-hero {
	display: flex; align-items: center; min-height: 451px; padding: 96px;
	background: var(--ahk-orange); border-radius: 30px; color: #fff;
}
.ahk-hero__title { margin: 0 0 20px; font-family: var(--ahk-font-display); font-weight: 700; font-size: clamp(40px, 4.1vw, 78.72px); line-height: 1; color: #fff; }
.ahk-hero__intro { margin: 0 0 24px; font-size: clamp(18px, 1.4vw, 26.88px); line-height: 1.5; color: #fff; }
.ahk-hero__btn {
	display: inline-block; padding: 15px 35px 18px; border-radius: 60px; background: #fff; color: var(--ahk-forest);
	font-size: clamp(18px, 1.4vw, 26.88px); line-height: 1; text-decoration: none;
}
.ahk-hero__btn:hover { color: var(--ahk-forest); opacity: .92; }

/* ---------- Search pill ---------- */
.ahk-search { display: flex; justify-content: flex-start; margin: 38px 0 20px; }
form.ahk-search input.ahk-search__input {
	width: 380px; max-width: 100%; height: 54px; padding: 8px 0; margin: 0;
	border: 0; border-bottom: 1px solid var(--ahk-olive); border-radius: 0; background: transparent;
	color: var(--ahk-forest); font-family: var(--ahk-font); font-size: 22px; font-weight: 500; line-height: 1.5;
	box-shadow: none; outline: none; -webkit-appearance: none; appearance: none;
}
.ahk-search__input::placeholder { color: var(--ahk-forest); opacity: 1; }
form.ahk-search input.ahk-search__input:focus { border-color: var(--ahk-forest); background: transparent; }
.ahk-search__input::-webkit-search-cancel-button { -webkit-appearance: none; }

/* ---------- Grid ---------- */
.ahk-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 25px; }
.ahk-no-results { padding: 30px 0; text-align: center; color: var(--ahk-olive); font-size: 19.2px; }
.ahk-card[hidden] { display: none; }

/* ---------- Card ---------- */
.ahk-card {
	display: flex; flex-direction: column; min-height: 504px;
	padding: 15px 15px 20px; border-radius: var(--ahk-card-radius); background: #fff; box-shadow: var(--ahk-shadow);
}
.ahk-card__media { position: relative; height: 258px; border-radius: 15px; overflow: hidden; background: var(--ahk-cream); }
.ahk-card__placeholder { width: 100%; height: 100%; }
.ahk-badge {
	position: absolute; top: 12px; inset-inline-start: 12px; z-index: 2;
	padding: 6px 10px 10px; border-radius: 15px; background: var(--ahk-sand);
	color: var(--ahk-cream); font-size: 19.2px; font-weight: 500; line-height: 1;
}

/* Carousel */
.ahk-slider { position: relative; width: 100%; height: 100%; overflow: hidden; direction: ltr; }
.ahk-slider__track { display: flex; height: 100%; transition: transform .5s ease; }
.ahk-slider__slide { flex: 0 0 100%; height: 100%; display: block; }
.ahk-slider__slide img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 15px; }
.ahk-slider__arrow {
	position: absolute; top: 50%; z-index: 2; width: 30px; height: 30px; margin-top: -15px; padding: 0;
	display: flex; align-items: center; justify-content: center;
	border: 0; background: transparent; cursor: pointer; color: var(--ahk-forest);
}
.ahk-slider__arrow svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 2px rgba(255,255,255,.8)); }
.ahk-slider__arrow--prev { left: 6px; }
.ahk-slider__arrow--next { right: 6px; }
.ahk-clinics button.ahk-slider__arrow, .ahk-clinics button.ahk-slider__arrow:hover, .ahk-clinics button.ahk-slider__arrow:focus, .ahk-clinics button.ahk-slider__arrow:active {
	background: transparent; background-color: transparent; border: 0; box-shadow: none; outline: none; color: var(--ahk-forest); padding: 0; min-height: 0;
}
.ahk-clinics button.ahk-slider__arrow:focus-visible, .ahk-clinics button.ahk-gallery__arrow:focus-visible { outline: 2px solid var(--ahk-orange); outline-offset: 2px; }
.ahk-clinics button.ahk-gallery__thumb, .ahk-clinics button.ahk-gallery__thumb:hover, .ahk-clinics button.ahk-gallery__thumb:focus { background: none; background-color: transparent; padding: 0; border: 2px solid transparent; box-shadow: none; outline: none; min-height: 0; }
.ahk-clinics button.ahk-gallery__thumb.is-active, .ahk-clinics button.ahk-gallery__thumb:hover { border-color: var(--ahk-orange); opacity: 1; }

/* Text */
.ahk-card__body { flex: 1; padding: 18px 6px 0; position: relative; }
.ahk-card__slide-link { display: block; }
.ahk-clinics a.ahk-card__link { color: inherit; text-decoration: none; }
.ahk-clinics a.ahk-card__link::after { content: ""; position: absolute; inset: 0; }
.ahk-clinics a.ahk-card__link:hover, .ahk-clinics a.ahk-card__link:focus { color: var(--ahk-orange); }
.ahk-card { transition: box-shadow .2s ease, transform .2s ease; }
.ahk-card:hover { box-shadow: 0 6px 22px 0 rgba(96, 108, 56, .18); }
.ahk-card__title {
	margin: 0 0 10px; font-family: var(--ahk-font); font-size: 23.04px; font-weight: 400; line-height: 1;
	color: var(--ahk-orange);
}
.ahk-card__desc {
	margin: 0 0 12px; font-family: var(--ahk-font); font-size: 19.2px; font-weight: 500; line-height: 1;
	color: var(--ahk-olive); white-space: pre-line;
	display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; line-clamp: 4; overflow: hidden;
}
.ahk-card__price {
	margin: 0; font-family: var(--ahk-font); font-size: 23.04px; font-weight: 700; line-height: 1;
	color: var(--ahk-olive);
}

/* Contact row */
.ahk-card__contact { display: flex; align-items: center; gap: 10px; padding: 24px 6px 0; margin-top: auto; }
.ahk-pill {
	display: inline-flex; align-items: center; gap: 8px; height: 39px; padding: 10px 13px; border-radius: 999px;
	background: var(--ahk-cream); color: var(--ahk-forest); font-size: 19px; font-weight: 500; line-height: 1; text-decoration: none;
}
.ahk-pill:hover { color: var(--ahk-forest); }
.ahk-pill svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ahk-circle {
	display: inline-flex; align-items: center; justify-content: center; width: 39px; height: 39px; border-radius: 999px;
	color: var(--ahk-cream); text-decoration: none; transition: opacity .15s ease;
}
.ahk-circle:hover { opacity: .88; color: var(--ahk-cream); }
.ahk-circle--wa { background: var(--ahk-wa); }
.ahk-circle--wa svg { width: 21px; height: 21px; }
.ahk-circle--wa .fill { fill: currentColor; }
.ahk-circle--mail { background: var(--ahk-orange); }
.ahk-circle--mail svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Single clinic page ---------- */
.ahk-single { max-width: 1787px; margin: 0 auto; padding: 20px 16px 80px; }
.ahk-single__hero {
	position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 18px;
	padding: 56px 96px 64px; border-radius: 30px; background: var(--ahk-orange); color: #fff;
}
.ahk-clinics a.ahk-single__back { display: inline-flex; align-items: center; gap: 6px; color: var(--ahk-cream); font-size: 19px; text-decoration: none; opacity: .9; }
.ahk-clinics a.ahk-single__back:hover { color: #fff; opacity: 1; }
.ahk-single__back svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.ahk-badge--hero { position: static; }
.ahk-single__title { margin: 0; font-family: var(--ahk-font-display); font-weight: 700; font-size: clamp(36px, 3.6vw, 68px); line-height: 1.05; color: #fff; }
.ahk-single__price { margin: 0; font-size: clamp(20px, 1.5vw, 28px); font-weight: 700; line-height: 1.3; color: var(--ahk-cream); }
.ahk-single__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.ahk-clinics a.ahk-btn {
	display: inline-flex; align-items: center; gap: 10px; padding: 14px 30px 16px; border-radius: 60px;
	font-family: var(--ahk-font); font-size: clamp(18px, 1.2vw, 23px); line-height: 1; text-decoration: none; transition: opacity .15s ease;
}
.ahk-clinics a.ahk-btn:hover { opacity: .9; }
.ahk-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ahk-btn .fill { fill: currentColor; stroke: none; }
.ahk-clinics a.ahk-btn--white, .ahk-clinics a.ahk-btn--white:hover { background: #fff; color: var(--ahk-forest); }
.ahk-clinics a.ahk-btn--wa, .ahk-clinics a.ahk-btn--wa:hover { background: var(--ahk-wa); color: #fff; }
.ahk-clinics a.ahk-btn--orange, .ahk-clinics a.ahk-btn--orange:hover { background: var(--ahk-orange); color: #fff; }

.ahk-single__layout { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 32px; align-items: start; margin-top: 32px; }
.ahk-single__main { display: flex; flex-direction: column; gap: 28px; }
.ahk-gallery__main { position: relative; margin: 0; aspect-ratio: 16 / 10; max-height: 620px; width: 100%; border-radius: 30px; overflow: hidden; background: var(--ahk-cream); touch-action: pan-y; }
.ahk-gallery__main img { width: 100%; height: 100%; object-fit: cover; display: block; transition: opacity .25s ease; }
.ahk-gallery__main img.is-loading { opacity: .35; }
.ahk-clinics button.ahk-gallery__arrow, .ahk-clinics button.ahk-gallery__arrow:focus, .ahk-clinics button.ahk-gallery__arrow:active {
	position: absolute; top: 50%; z-index: 2; width: 52px; height: 52px; margin: -26px 0 0; padding: 0; min-height: 0;
	display: flex; align-items: center; justify-content: center; border: 0; border-radius: 999px; outline: none;
	background: rgba(254, 250, 224, .92); background-color: rgba(254, 250, 224, .92); color: var(--ahk-forest);
	box-shadow: 0 6px 18px rgba(40, 54, 24, .18); cursor: pointer; transition: background-color .2s ease, color .2s ease, transform .2s ease;
}
.ahk-clinics button.ahk-gallery__arrow:hover { background: var(--ahk-orange); background-color: var(--ahk-orange); color: var(--ahk-cream); border: 0; box-shadow: 0 6px 18px rgba(40, 54, 24, .18); transform: scale(1.06); }
.ahk-gallery__arrow svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.ahk-clinics .ahk-gallery__arrow--prev { left: 18px; }
.ahk-clinics .ahk-gallery__arrow--next { right: 18px; }
.ahk-gallery__count {
	position: absolute; bottom: 18px; left: 50%; z-index: 2; transform: translateX(-50%);
	padding: 6px 16px 7px; border-radius: 999px; background: rgba(40, 54, 24, .72); color: var(--ahk-cream);
	font-family: Arial, Helvetica, sans-serif; font-size: 15px; font-weight: 600; line-height: 1; letter-spacing: .5px; pointer-events: none;
}
.ahk-gallery__thumbs { display: flex; gap: 14px; margin-top: 16px; overflow-x: auto; padding: 2px 2px 8px; scrollbar-width: thin; }
.ahk-clinics button.ahk-gallery__thumb, .ahk-clinics button.ahk-gallery__thumb:hover, .ahk-clinics button.ahk-gallery__thumb:focus, .ahk-clinics button.ahk-gallery__thumb:active {
	position: relative; flex: 0 0 120px; height: 84px; margin: 0; padding: 0; min-height: 0;
	border: 0; border-radius: 18px; outline: none; box-shadow: none; overflow: hidden; cursor: pointer;
	background: var(--ahk-cream); background-color: var(--ahk-cream); opacity: .55; transition: opacity .2s ease, transform .2s ease;
}
.ahk-clinics button.ahk-gallery__thumb:hover { opacity: .85; }
.ahk-clinics button.ahk-gallery__thumb.is-active { opacity: 1; transform: translateY(-2px); }
.ahk-clinics button.ahk-gallery__thumb::after {
	content: ""; position: absolute; left: 50%; bottom: 8px; width: 0; height: 4px; border-radius: 4px;
	background: var(--ahk-cream); transform: translateX(-50%); transition: width .2s ease;
}
.ahk-clinics button.ahk-gallery__thumb.is-active::after { width: 34px; }
.ahk-clinics button.ahk-gallery__thumb:focus-visible { box-shadow: 0 0 0 3px var(--ahk-orange); }
.ahk-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.ahk-panel, .ahk-details { padding: 30px 34px; border-radius: 30px; background: #fff; }
.ahk-details { box-shadow: var(--ahk-shadow); }
.ahk-panel { box-shadow: none; padding-inline: 0; }
.ahk-panel__title { margin: 0 0 16px; font-family: var(--ahk-font-display); font-size: clamp(24px, 1.7vw, 32px); font-weight: 700; line-height: 1.1; color: var(--ahk-orange); }
.ahk-single__content { font-size: 21px; font-weight: 500; line-height: 1.55; color: var(--ahk-olive); white-space: pre-line; }
.ahk-map { display: block; width: 100%; height: 360px; border: 0; border-radius: 20px; background: var(--ahk-cream); }

.ahk-single__aside { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 20px; }
.ahk-details__list { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.ahk-details__list li { display: flex; align-items: flex-start; gap: 12px; margin: 0; font-size: 19px; line-height: 1.35; color: var(--ahk-forest); }
.ahk-details__list strong { display: block; font-size: 15px; font-weight: 500; color: var(--ahk-olive); margin-bottom: 2px; }
.ahk-details__list a { color: var(--ahk-forest); text-decoration: none; word-break: break-word; }
.ahk-details__list a:hover { color: var(--ahk-orange); }
.ahk-details__icon { flex: 0 0 40px; width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; background: var(--ahk-cream); color: var(--ahk-orange); }
.ahk-details__icon svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ahk-details__icon .fill { fill: currentColor; stroke: none; }
.ahk-details .ahk-card__contact { padding: 18px 0 0; margin: 0; flex-wrap: wrap; border-top: 1px solid var(--ahk-cream); }
.ahk-promo { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 24px 30px; border-radius: 30px; background: var(--ahk-cream); }
.ahk-promo p { margin: 0; font-size: 21px; font-weight: 500; color: var(--ahk-forest); }

.ahk-single__more { margin-top: 64px; }
.ahk-single__more-title { margin: 0 0 24px; font-family: var(--ahk-font-display); font-size: clamp(30px, 2.6vw, 50px); font-weight: 700; line-height: 1.1; color: var(--ahk-orange); }

/* ---------- Form ---------- */
.ahk-form { display: flex; flex-direction: column; gap: 18px; max-width: 760px; font-family: var(--ahk-font); }
.ahk-form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.ahk-form__field { display: flex; flex-direction: column; gap: 6px; font-size: 18px; font-weight: 500; color: var(--ahk-forest); }
.ahk-form__field--full { grid-column: 1 / -1; }
.ahk-form input[type="text"], .ahk-form input[type="tel"], .ahk-form input[type="email"], .ahk-form select, .ahk-form textarea {
	width: 100%; min-height: 47px; padding: 10px 16px; border: 1px solid var(--ahk-olive); border-radius: 24px;
	background: var(--ahk-cream); color: var(--ahk-forest); font-family: var(--ahk-font); font-size: 18px;
}
.ahk-form textarea { border-radius: 20px; }
.ahk-form__check { display: flex; gap: 8px; align-items: flex-start; font-size: 17px; color: var(--ahk-forest); }
.ahk-form__check input { margin-top: 5px; }
.ahk-form__images { display: flex; flex-wrap: wrap; gap: 10px; }
.ahk-form__images label { position: relative; width: 96px; height: 96px; border-radius: 15px; overflow: hidden; cursor: pointer; }
.ahk-form__images img { width: 100%; height: 100%; object-fit: cover; }
.ahk-form__images input { position: absolute; top: 6px; right: 6px; }
.ahk-form__submit {
	align-self: flex-start; padding: 15px 35px 18px; border: 0; border-radius: 60px; cursor: pointer;
	background: var(--ahk-orange); color: #fff; font-family: var(--ahk-font); font-size: 22px; line-height: 1;
}
.ahk-form__submit:hover { opacity: .92; }
.ahk-hp { position: absolute !important; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ahk-notice { padding: 16px 20px; border-radius: 20px; background: var(--ahk-cream); color: var(--ahk-forest); font-size: 18px; font-family: var(--ahk-font); }
.ahk-notice a { color: var(--ahk-orange); }
.ahk-notice ul { margin: 0; padding-inline-start: 18px; }
.ahk-notice--ok { background: #eef3e2; }
.ahk-notice--error { background: #fbe9dc; color: #8a3f0e; }
.ahk-btn { display: inline-block; margin-top: 10px; padding: 12px 28px 14px; border-radius: 60px; background: var(--ahk-orange); color: #fff; text-decoration: none; }
.ahk-btn:hover { color: #fff; opacity: .92; }

/* ---------- Responsive (Elementor breakpoints) ---------- */
@media (max-width: 1024px) {
	.ahk-card__title { font-size: 21px; }
	.ahk-card__desc { font-size: 17px; }
	.ahk-pill { font-size: 16px; padding: 10px; }
	.ahk-single__layout { grid-template-columns: 1fr; }
	.ahk-single__aside { position: static; }
	.ahk-single__hero { padding: 40px 32px 44px; }
	.ahk-hero { padding: 56px 40px; min-height: 0; }
}
@media (max-width: 767px) {
	.ahk-grid { grid-template-columns: 1fr; }
	.ahk-card { min-height: 0; }
	form.ahk-search input.ahk-search__input { width: 100%; }
	.ahk-form__row { grid-template-columns: 1fr; }
	.ahk-hero { padding: 40px 24px; }
	.ahk-single__hero { padding: 28px 20px 32px; }
	.ahk-panel, .ahk-details { padding: 22px 20px; }
	.ahk-panel { padding-inline: 0; }
	.ahk-map { height: 260px; }
	.ahk-clinics button.ahk-gallery__thumb { flex-basis: 88px; height: 64px; border-radius: 14px; }
	.ahk-clinics button.ahk-gallery__arrow { width: 42px; height: 42px; margin-top: -21px; }
	.ahk-clinics .ahk-gallery__arrow--prev { left: 10px; }
	.ahk-clinics .ahk-gallery__arrow--next { right: 10px; }
}
@media (prefers-reduced-motion: reduce) {
	.ahk-slider__track { transition: none; }
}

/* ₪ in a font that draws it properly (Leon's glyph is off) */
.ahk-clinics .ahk-shekel { font-family: Arial, "Heebo", "Assistant", sans-serif; font-weight: 600; font-size: .9em; }

/* ---------- SEO blocks: H1 with keyword, city links, about, FAQ ---------- */
.ahk-single__title { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.ahk-single__title .ahk-badge { font-family: var(--ahk-font); font-size: 19.2px; font-weight: 500; line-height: 1; }
.ahk-single__more-link { margin: 28px 0 0; text-align: center; }
.ahk-section-title { margin: 0 0 20px; font-family: var(--ahk-font-display); font-size: clamp(28px, 2.2vw, 42px); font-weight: 700; line-height: 1.1; color: var(--ahk-orange); }
.ahk-cities, .ahk-about, .ahk-faq { margin-top: 64px; }
.ahk-cities__list { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; padding: 0; list-style: none; }
.ahk-clinics .ahk-cities__list a {
	display: inline-flex; align-items: center; gap: 6px; padding: 10px 18px 12px; border-radius: 60px;
	background: var(--ahk-cream); color: var(--ahk-forest); font-family: var(--ahk-font); font-size: 18px; line-height: 1; text-decoration: none;
	transition: background-color .2s ease, color .2s ease;
}
.ahk-clinics .ahk-cities__list a:hover { background: var(--ahk-orange); color: #fff; }
.ahk-cities__list span { opacity: .7; font-size: .85em; }
.ahk-about p { max-width: 900px; margin: 0 0 14px; font-family: var(--ahk-font); font-size: 20px; line-height: 1.6; color: var(--ahk-olive); }
.ahk-clinics .ahk-about a { color: var(--ahk-orange); }
.ahk-faq__grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 78px; align-items: start; }
.ahk-faq__col { display: flex; flex-direction: column; }
.ahk-faq__item { border-bottom: 1px solid rgba(96, 108, 56, .42); }
.ahk-faq__item summary {
	display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 20px 5px; cursor: pointer; list-style: none;
	font-family: var(--ahk-font); font-size: 19.2px; font-weight: 400; line-height: 1.4; color: var(--ahk-forest);
}
.ahk-faq__item summary::-webkit-details-marker { display: none; }
.ahk-faq__icon { flex: 0 0 24px; width: 24px; height: 24px; color: var(--ahk-orange); }
.ahk-faq__icon svg { display: block; width: 24px; height: 24px; }
.ahk-faq__icon .is-open, .ahk-faq__item[open] .ahk-faq__icon .is-closed { display: none; }
.ahk-faq__item[open] .ahk-faq__icon .is-open { display: block; }
.ahk-faq__item p { margin: 0; padding: 10px; font-family: var(--ahk-font); font-size: 19.2px; font-weight: 400; line-height: 1.5; color: var(--ahk-forest); }
.ahk-clinics .ahk-faq__item p a { color: var(--ahk-orange); text-decoration: underline; text-underline-offset: 3px; }
.ahk-archive .ahk-hero .ahk-single__back { margin-bottom: 14px; }
@media (max-width: 767px) {
	.ahk-cities, .ahk-about, .ahk-faq { margin-top: 44px; }
	.ahk-about p, .ahk-faq__item p { font-size: 17px; }
	.ahk-faq__item summary { font-size: 18px; }
	.ahk-faq__grid { grid-template-columns: 1fr; }
	.ahk-clinics .ahk-cities__list a { font-size: 16px; padding: 9px 14px 11px; }
}

/* ---------- Breadcrumbs on the single hero ---------- */
.ahk-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 18px; font-family: var(--ahk-font); font-size: 19.2px; font-weight: 500; line-height: 1.3; color: #fff; }
.ahk-clinics .ahk-crumbs a { color: #fff; background: none; padding: 0; text-decoration: none; }
.ahk-clinics .ahk-crumbs a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.ahk-crumbs__sep { opacity: .8; }
.ahk-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
@media (max-width: 767px) { .ahk-crumbs { font-size: 16px; } }
.ahk-clinics .ahk-single__price, .ahk-clinics .ahk-single__price * { color: #fff; }

/* Compact SEO area: about text + city list side by side, quieter headings (v1.4.4) */
.ahk-seo { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 64px; align-items: start; margin-top: 72px; padding-top: 48px; border-top: 1px solid rgba(96, 108, 56, .25); }
.ahk-seo .ahk-about, .ahk-seo .ahk-cities { margin-top: 0; }
.ahk-seo .ahk-section-title, .ahk-faq .ahk-section-title, .ahk-cities .ahk-section-title { font-size: clamp(24px, 1.7vw, 30px); margin-bottom: 16px; }
.ahk-seo .ahk-about p { font-size: 18px; line-height: 1.65; }
.ahk-cities__list { display: block; column-count: 2; column-gap: 32px; }
.ahk-cities__list li { break-inside: avoid; }
.ahk-clinics .ahk-cities__list a { display: block; padding: 7px 0; border-radius: 0; background: none; color: var(--ahk-forest); font-size: 16.5px; line-height: 1.35; }
.ahk-clinics .ahk-cities__list a:hover { background: none; color: var(--ahk-orange); text-decoration: underline; text-underline-offset: 3px; }
.ahk-seo + .ahk-faq { margin-top: 56px; }
@media (max-width: 900px) {
	.ahk-seo { grid-template-columns: 1fr; gap: 36px; margin-top: 48px; padding-top: 32px; }
	.ahk-seo .ahk-about p { font-size: 17px; }
}
@media (max-width: 480px) {
	.ahk-cities__list { column-count: 1; }
	.ahk-clinics .ahk-cities__list a { font-size: 16px; padding: 6px 0; }
}

/* ---------- Form: match the original JetFormBuilder look (measured on the live "הוספת משחק חדש" form) ---------- */
.ahk-form { max-width: none; width: 100%; gap: 10px; }
.ahk-form__row { column-gap: 24px; row-gap: 10px; }
.ahk-form__field { gap: 4px; padding: 5px 0; font-size: clamp(20px, 1.4vw, 26.88px); font-weight: 400; line-height: 1.5; color: var(--ahk-forest); }
.ahk-form input[type="text"], .ahk-form input[type="tel"], .ahk-form input[type="email"], .ahk-form input[type="number"], .ahk-form input[type="url"], .ahk-form select, .ahk-form textarea {
	min-height: 0; height: auto; padding: 20px; border: 1px solid var(--ahk-sand); border-radius: 30px;
	background: #fff; color: var(--ahk-olive); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	font-size: 16px; font-weight: 400; line-height: 24px; box-shadow: none;
}
.ahk-form textarea { min-height: 140px; border-radius: 30px; }
.ahk-form input::placeholder, .ahk-form textarea::placeholder { color: var(--ahk-olive); opacity: 1; }
.ahk-form input:focus, .ahk-form select:focus, .ahk-form textarea:focus { outline: none; border-color: var(--ahk-orange); }
.ahk-form input[type="file"] { padding: 14px 20px; border: 1px dashed var(--ahk-sand); border-radius: 30px; background: #fff; color: var(--ahk-olive); font-size: 16px; }
.ahk-form__check { font-size: 18px; line-height: 1.5; }
.ahk-form__submit { align-self: stretch; width: 100%; margin-top: 10px; padding: 20px; border-radius: 60px; font-size: clamp(22px, 1.4vw, 26.88px); line-height: 1.2; text-align: center; }
@media (max-width: 767px) { .ahk-form__row { row-gap: 0; } }

/* ---------- Mobile tweaks ---------- */
@media (max-width: 1024px) {
	/* Clinic details come before the map ("איך מגיעים"). */
	.ahk-single__main { display: contents; }
	.ahk-single__layout { row-gap: 28px; }
	.ahk-single__aside { order: 1; }
	.ahk-panel--map { order: 2; }
}
@media (max-width: 767px) {
	/* Extra 5px side margin for the listing shortcode (search, cards, SEO block). */
	div.ahk-clinics { padding-inline: 5px; }
}

/* Custom file picker (Hebrew instead of the browser's English button) + larger consent text. */
.ahk-file { position: relative; display: flex; align-items: center; gap: 14px; padding: 14px 20px; border: 1px dashed var(--ahk-sand); border-radius: 30px; background: #fff; cursor: pointer; }
.ahk-file__input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.ahk-file__btn { flex: none; padding: 8px 22px; border-radius: 60px; background: var(--ahk-orange); color: #fff; font-size: 16px; line-height: 1.4; }
.ahk-file__name { color: var(--ahk-olive); font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ahk-form .ahk-form__check { font-size: 21px; line-height: 1.5; }
.ahk-form .ahk-form__check input { width: 18px; height: 18px; margin-top: 7px; }
.ahk-clinics .ahk-form .ahk-form__submit:hover,
.ahk-clinics .ahk-form .ahk-form__submit:focus { background: var(--ahk-olive) !important; border-color: var(--ahk-olive) !important; color: #fff !important; opacity: 1; }
.ahk-form__submit { transition: background-color .2s ease; }

/* ---------- הקליניקות שלי (account page) ---------- */
.ahk-mine { margin: 40px 0 0; }
.ahk-mine__title { margin: 0 0 20px; font-family: var(--ahk-font-display); font-size: clamp(26px, 2.2vw, 36px); font-weight: 700; color: var(--ahk-forest); }
.ahk-mine .ahk-mine__grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.ahk-mine__item { display: flex; flex-direction: column; gap: 12px; }
.ahk-mine__item .ahk-card { flex: 1; }
.ahk-mine__bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ahk-mine__status { display: inline-block; padding: 4px 14px; border-radius: 30px; font-size: 15px; line-height: 1.5; color: #fff; background: var(--ahk-olive); }
.ahk-mine__status--wait { background: var(--ahk-sand); }
.ahk-mine__status--off { background: #9a9a9a; }
.ahk-clinics a.ahk-mine__view { color: var(--ahk-olive); font-size: 16px; text-decoration: underline; }
.ahk-clinics a.ahk-mine__edit { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 24px; border-radius: 60px; background: var(--ahk-orange); color: #fff; font-size: 19px; line-height: 1.4; text-decoration: none; transition: background-color .2s ease; }
.ahk-clinics a.ahk-mine__edit:hover, .ahk-clinics a.ahk-mine__edit:focus { background: var(--ahk-olive); color: #fff; }
.ahk-mine__edit svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ahk-clinics .ahk-notice .ahk-btn { margin-inline-start: 8px; }
.ahk-clinics a.ahk-btn--ghost, .ahk-clinics a.ahk-btn--ghost:hover { background: transparent; color: var(--ahk-olive); border: 1px solid var(--ahk-olive); }
@media (max-width: 767px) { .ahk-mine .ahk-mine__grid { grid-template-columns: 1fr; } }

/* Price in the card: same size as the description, site orange */
.ahk-clinics .ahk-card__price { font-size: 19.2px; line-height: 1.2; color: var(--ahk-orange); font-weight: 400; }
.ahk-clinics .ahk-card__price * { font-weight: 400; }
@media (max-width: 1024px) { .ahk-clinics .ahk-card__price { font-size: 17px; } }
/* Address title: bold, same olive as the description */
.ahk-clinics .ahk-card__title { font-weight: 700; color: var(--ahk-olive); }
/* Search text a bit smaller */
form.ahk-search input.ahk-search__input { font-size: 19px; height: 48px; }
@media (max-width: 1024px) { form.ahk-search input.ahk-search__input { font-size: 18px; } }
@media (max-width: 767px) { form.ahk-search input.ahk-search__input { font-size: 17px; height: 44px; } }

/* "הקליניקות שלי" on the account page: same section look as "המשחקים שלי" / "הקורסים שלי" */
.ahk-clinics.ahk-mine { margin: 0; padding: 3vw; overflow: hidden; }
.ahk-clinics .ahk-mine__title { margin: 0 0 30px; font-family: var(--ahk-font); font-size: 2.5vw; font-weight: 700; line-height: 1.1; color: var(--ahk-olive); }
@media (max-width: 767px) {
	.ahk-clinics.ahk-mine { padding: 60px 10px 55px; }
	.ahk-clinics .ahk-mine__title { font-size: 28px; text-align: center; }
}

/* "הקליניקות שלי": 3 per row on desktop, 2 on tablet, 1 on mobile */
.ahk-clinics.ahk-mine .ahk-mine__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1024px) { .ahk-clinics.ahk-mine .ahk-mine__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { .ahk-clinics.ahk-mine .ahk-mine__grid { grid-template-columns: 1fr; } }

/* Page builders' text widgets wrap parts of our shortcode output in stray <p> tags. Make them invisible to the layout. */
.ahk-clinics p:empty { display: none; }
.ahk-clinics .ahk-form p:not([class]),
.ahk-clinics.ahk-mine p:not([class]) { display: contents; }
