/* Crime Israel — Phase 2 chrome (mobile-first). Tokens from Figma. */

/* ynet Moses Text Inter (variable) — matches Figma MosesText_Inter */
@font-face {
  font-family: "Moses";
  src: url("/fonts/moses/MosesText_Inter-VF.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
}

:root {
  --ci-ink: #292c3b;
  --ci-bg: #f6f6f6;
  --ci-blue: #293da8;
  --ci-caption: #78787b;
  --ci-border: #e2e8ef;
  --ci-white: #fff;
  --ci-search-btn: rgba(41, 44, 59, 0.6);
  --ci-font: "Moses", "MosesText Inter", -apple-system, "Segoe UI", sans-serif;
  /* MosesText_Inter-VF named instances (not CSS 400/700) */
  --moses-light: 220;
  --moses-rg-neg: 310;
  --moses-regular: 340;
  --moses-medium: 500;
  --moses-bold-neg: 630;
  --moses-bold: 670;
  --ci-header-h: 50px;
  /* Content column: 1040@1280, 1120@1920 (Figma Desktop frames) */
  --ci-content-w: 1040px;
  --ci-page-gutter: 16px;
  --ci-page-max: 100%;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--ci-font);
  font-weight: var(--moses-regular);
  background: var(--ci-bg);
  color: var(--ci-ink);
  line-height: 1.5;
  min-height: 100%;
  overflow-x: clip;
}

b,
strong {
  font-weight: var(--moses-bold);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: 0;
  background: none;
  padding: 0;
}

/* display:flex on components must not override the hidden attribute */
[hidden] {
  display: none !important;
}

/* Hebrew text nodes (per project RTL note) */
.hero__title,
.hero__subtitle,
.search-bar__input,
.compare-btn {
  direction: rtl;
  unicode-bidi: embed;
}

/* ----- Site header (mobile) ----- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--ci-white);
  box-shadow: 0 4px 2px rgba(0, 0, 0, 0.25);
  height: var(--ci-header-h);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
}

.site-header__mobile {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  position: relative;
}

.site-header__desktop {
  display: none;
}

/* Figma MenuButton at x=16 — header already pads 16px, so left:0 = 16px from viewport */
.site-header__menu {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 8px;
}

.site-header__menu img {
  width: 24px;
  height: 24px;
}

/* Keep Madlan | ynet order (do not let page RTL reverse brands) */
.site-header__brands {
  display: flex;
  align-items: center;
  gap: 0;
  direction: ltr;
}

/*
 * Mobile: center the divider, not the brand group.
 * Madlan (105) + gap (8) is wider than ynet (64) + gap (7) → shift left by half the difference.
 */
.site-header__mobile .site-header__brands {
  transform: translateX(calc((64px + 7px - 105px - 8px) / 2));
}

.site-header__madlan-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.site-header__madlan {
  /* Figma Top Frame 3322:35286 — Madlan lockup 105×26 @1x */
  width: 105px;
  height: 26px;
  object-fit: contain;
  object-position: center;
  flex-shrink: 0;
}

.site-header__divider {
  width: 1px;
  height: 20px;
  background: #131313;
  margin-inline: 8px 7px;
  flex-shrink: 0;
}

.site-header__ynet {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.site-header__ynet-img {
  object-fit: contain;
  object-position: center;
}

.site-header__ynet-img--mobile {
  width: 64px;
  height: 33px;
}

.site-header__ynet-img--desktop {
  display: none;
}

/* ----- Mobile nav drawer (Figma NAV_MOBILE) ----- */
.site-menu {
  position: fixed;
  inset: 0;
  z-index: 50;
}

.site-menu[hidden] {
  display: none;
}

body.site-menu-open {
  overflow: hidden;
}

.site-menu__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  margin: 0;
  background: rgba(0, 0, 0, 0.35);
  cursor: pointer;
}

.site-menu__panel {
  position: absolute;
  top: 0;
  left: 0;
  width: min(334px, 86vw);
  height: 100%;
  background: var(--ci-white);
  border-radius: 0 16px 16px 0;
  box-shadow: 2px 0 2px rgba(33, 33, 33, 0.1);
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 64px 14px 24px;
  overflow-y: auto;
}

.site-menu__close {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

.site-menu__close img {
  width: 16px;
  height: 16px;
}

.site-menu__head {
  display: flex;
  flex-direction: column;
  /* Page is dir=rtl; force LTR so flex-end = physical right (QA / Figma) */
  direction: ltr;
  align-items: flex-end;
  gap: 12px;
  padding: 8px;
  width: 100%;
  box-sizing: border-box;
}

.site-menu__title {
  margin: 0;
  font-size: 26px;
  line-height: 26px;
  font-weight: var(--moses-bold);
  color: #292c3b;
  text-align: right;
  direction: rtl;
}

.site-menu__home-link {
  color: inherit;
  text-decoration: none;
}

.site-menu__home-link:hover {
  text-decoration: none;
}

.site-menu__updated {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  /* LTR flex [text][dot] so the white dot sits on the visual right */
  padding: 8px 12px 8px 16px;
  border-radius: 49px;
  background: #293da8;
  color: #fff;
  font-size: 12px;
  line-height: 12px;
  letter-spacing: -0.06px;
  direction: ltr;
}

.site-menu__updated-text {
  direction: rtl;
}

.site-menu__updated-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fff;
  flex-shrink: 0;
}

.site-menu__updated-label {
  font-weight: var(--moses-regular);
}

.site-menu__updated-value {
  font-weight: var(--moses-bold);
}

.site-menu__divider {
  height: 1px;
  width: 100%;
  background: #e2e2e2;
}

.site-menu__nav {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  width: 100%;
  /* Figma NAV_MOBILE: 10px between button LIGHT rows */
  gap: 10px;
}

.site-menu__link {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding: 16px;
  border-bottom: 1px solid #e2e2e2;
  color: #000;
  font-size: 16px;
  line-height: 20px;
  font-weight: var(--moses-medium);
  text-align: right;
  /* LTR flex so DOM [text][icon] keeps icon on the physical right (Figma button LIGHT) */
  direction: ltr;
}

.site-menu__link-text {
  direction: rtl;
}

.site-menu__link-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  object-fit: contain;
}

.site-menu__link-icon--madlan {
  width: 28px;
  height: 28px;
}

.site-menu__foot {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding-top: 24px;
}

.site-menu__social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  /* Keep X → Facebook → WhatsApp left-to-right (Figma) despite page RTL */
  direction: ltr;
}

.site-menu__social a {
  display: flex;
  width: 30px;
  height: 30px;
}

.site-menu__social img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  /* results share SVGs are white (for dark cards) — invert for white menu */
  filter: brightness(0);
}

.site-menu__legal {
  margin: 0;
  font-size: 12px;
  line-height: 20px;
  text-align: center;
  color: #000;
  direction: rtl;
}

.site-menu__legal a {
  color: inherit;
}

.site-menu__legal span {
  margin: 0 6px;
  opacity: 0.6;
}

.app-results__loading {
  padding: 24px 16px;
  text-align: center;
  font-size: 16px;
  color: #292c3b;
  direction: rtl;
}

/* ----- Hero ----- */
.hero {
  position: relative;
  /* Mobile: top 68 matches Figma; bottom tight so popular sits near info card */
  padding: 68px 8px 16px;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}

.hero.is-search-active {
  overflow: visible;
  z-index: 10;
}

.hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero__bg picture,
.hero__bg img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.hero__bg img {
  max-width: none;
  /*
   * Mobile Figma: photo fills Headline Section and continues under search.
   * Fill full hero height; anchor to bottom so car bodies stay behind the
   * search field (cover would otherwise crop them when hero > asset ratio).
   */
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}

.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(246, 246, 246, 0.8) 38.663%, rgba(246, 246, 246, 0) 58.816%),
    /* Soften later so search (mid-lower hero) still shows photo underneath */
    linear-gradient(180deg, rgba(246, 246, 246, 0) 55%, #f6f6f6 96%),
    rgba(41, 61, 168, 0.1);
}

.hero__inner {
  position: relative;
  z-index: 1;
  /* Fluid: 8px hero pad only — no 374px cap (wider phones) */
  width: 100%;
  max-width: none;
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
}

.hero__titles {
  text-align: center;
  width: 100%;
}

.hero__title {
  margin: 0;
  font-size: 31px;
  font-weight: var(--moses-bold);
  letter-spacing: -0.66px;
  line-height: 1.15;
  color: var(--ci-ink);
  white-space: normal;
}

.hero__home-link {
  color: inherit;
  text-decoration: none;
}

.hero__home-link:hover {
  text-decoration: none;
}

.hero__subtitle {
  margin: 8px 0 0;
  font-size: 16px;
  font-weight: var(--moses-medium);
  letter-spacing: -0.08px;
  line-height: 20px;
  color: var(--ci-ink);
}

.hero__disclaimer {
  margin: 12px 0 0;
  font-size: 13px;
  font-weight: var(--moses-regular);
  line-height: 18px;
  color: #3d4453;
}

/* LTR shell so flex-end = physical right (להשוואה under search icon) */
.hero__search-area {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  /* Figma Popular Searches Section: gap 44 between search block and popular row */
  gap: 44px;
  direction: ltr;
}

.hero__search-block {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  direction: ltr;
}

.hero__search-single {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.hero__search-row {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
}

.hero__search-row--single .search-wrap {
  order: 1;
  width: 100%;
}

.hero__search-row--single .compare-btn {
  order: 2;
  align-self: flex-end;
}

/* Figma LTR flex: submit (←) left, placeholder + 🔍 right */
.search-bar {
  position: relative;
  z-index: 32;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 60px;
  padding: 8px 16px 8px 8px;
  background: var(--ci-white);
  border: 1px solid var(--ci-border);
  border-radius: 104px;
  box-shadow: 0 2px 4px rgba(33, 33, 33, 0.15);
  gap: 8px;
  direction: ltr;
}

.search-bar__submit {
  box-sizing: border-box;
  /* Figma Search Btn Variant3: h 46, pad 24, rgba(41,44,59,0.6) */
  min-width: 68px;
  height: 46px;
  padding: 0 24px;
  border: 0;
  border-radius: 67px;
  background: var(--ci-search-btn);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  opacity: 1;
}

.search-bar__submit:disabled {
  cursor: default;
}

.search-bar__submit:not(:disabled) {
  background: var(--ci-ink);
  cursor: pointer;
}

/* Figma Left Arrow: 20×20 frame, opacity 0.8, flipped */
.search-bar__submit img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex-shrink: 0;
  opacity: 0.8;
  /* Figma component flips the right-pointing path to face left */
  transform: scaleX(-1);
}

.search-bar__submit-label {
  display: none;
  font-size: 14px;
  font-weight: var(--moses-medium);
  line-height: 22px;
  color: #fff;
  white-space: nowrap;
}

/* Figma Search Btn hover/Default: arrow + "הצגת נתונים" */
.search-bar__submit:not(:disabled):hover {
  gap: 3px;
  width: auto;
  min-width: 68px;
  padding: 0 20px 0 24px;
  background: var(--ci-ink);
}

.search-bar__submit:not(:disabled):hover .search-bar__submit-label {
  display: inline;
}

.search-bar__field {
  flex: 1;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  min-width: 0;
  direction: ltr;
}

.search-bar__input {
  flex: 1;
  border: 0;
  outline: none;
  /* 16px minimum on mobile — smaller sizes trigger iOS input zoom (QA row 57) */
  font-size: 16px;
  font-family: inherit;
  font-weight: var(--moses-regular);
  color: var(--ci-ink);
  background: transparent;
  text-align: right;
  min-width: 0;
  line-height: 22px;
  -webkit-appearance: none;
  appearance: none;
}

.search-bar__input::placeholder {
  color: var(--ci-caption);
  font-size: 16px;
  line-height: 22px;
}

.search-bar__input::-webkit-search-cancel-button {
  display: none;
}

.search-bar__icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.compare-btn {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  gap: 3px;
  padding: 9px 10px;
  background: var(--ci-white);
  border: 1px solid var(--ci-border);
  border-radius: 104px;
  box-shadow: 0 2px 4px rgba(33, 33, 33, 0.15);
  font-size: 12px;
  color: var(--ci-ink);
  line-height: 12px;
  /* Keep + on the physical right of the label (QA row 69) */
  direction: ltr;
}

.compare-btn__label {
  order: 1;
  direction: rtl;
}

.compare-btn img {
  width: 14px;
  height: 14px;
  opacity: 0.8;
  order: 2;
}

.search-wrap {
  position: relative;
  width: 100%;
  z-index: 1;
}

/* Raise the active slot above sibling compare/single bars so autocomplete is tappable. */
.search-wrap:focus-within,
.search-wrap:has(.search-suggest:not([hidden])) {
  z-index: 45;
}

/* Align under search pill with inset (Figma M: 320 under ~374 → ~27px; D: 498 under 550 → 26px). */
.search-suggest {
  position: absolute;
  top: 100%;
  left: 26px;
  right: 26px;
  z-index: 40;
  box-sizing: border-box;
  margin: 0;
  background: var(--ci-white);
  border-radius: 0 0 16px 16px;
  box-shadow: 0 4px 5px rgba(33, 33, 33, 0.21);
  overflow: hidden;
}

.search-suggest__row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 12px;
  padding: 16px 20px;
  border: 0;
  border-bottom: 1px solid #dfdfdf;
  background: var(--ci-white);
  direction: ltr;
}

.search-suggest__row:last-child {
  border-bottom: 0;
  border-radius: 0 0 14px 14px;
}

.search-suggest__row.is-active,
.search-suggest__row:hover {
  background: #eaecf6;
}

.search-suggest__row.is-active .search-suggest__primary,
.search-suggest__row:hover .search-suggest__primary {
  color: var(--ci-blue);
}

.search-suggest__tag {
  flex-shrink: 0;
  min-width: 44px;
  padding: 4px 8px;
  border-radius: 48px;
  font-size: 10px;
  font-weight: var(--moses-medium);
  line-height: 10px;
  color: var(--ci-white);
  text-align: center;
}

.search-suggest__tag--city {
  background: var(--ci-ink);
}

.search-suggest__tag--neighborhood {
  background: var(--ci-blue);
}

.search-suggest__names {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
  min-width: 0;
  direction: rtl;
}

.search-suggest__primary {
  font-size: 14px;
  font-weight: var(--moses-bold);
  line-height: 1.2;
  color: #131313;
  white-space: nowrap;
}

.search-suggest__secondary {
  font-size: 12px;
  font-weight: var(--moses-regular);
  line-height: 1.2;
  color: #454545;
  white-space: nowrap;
}

/* Figma LTR: cities then label, packed to the right (same as search row shell) */
.popular-searches {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  margin-top: 0;
  direction: ltr;
}

.popular-searches__label {
  direction: rtl;
  unicode-bidi: isolate;
  font-weight: var(--moses-bold);
  color: var(--ci-blue);
  font-size: 12px;
  letter-spacing: -0.06px;
  line-height: 1.1;
}

.popular-searches__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.popular-searches__list a {
  color: var(--ci-ink);
  font-size: 12px;
  font-weight: var(--moses-regular);
  letter-spacing: -0.06px;
  line-height: 1.1;
}

.popular-searches__list li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.popular-searches__list li + li::before {
  content: "";
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--ci-blue);
  flex-shrink: 0;
}

/* Placeholder until next Figma slices */
.page-rest {
  padding: 24px 16px 48px;
  color: var(--ci-caption);
  font-size: 14px;
  text-align: center;
}

/* ----- Homepage intro (summary + leader) — Figma 2682:7344 / 2682:7346 ----- */
.home-intro {
  display: flex;
  flex-direction: column;
}

.summary-card-wrap--top {
  padding: 4px 16px 8px;
}

.home-leader-band {
  background: #f6f6f6;
  display: flex;
  justify-content: center;
  padding: 40px 16px;
}

.home-leader-band .ad-slot--responsive {
  padding: 0;
  width: 100%;
  max-width: 300px;
}

/* Ad bands above/below article — white strip (Figma Content Container) */
.ad-band {
  background: #fff;
  display: flex;
  justify-content: center;
  padding: 40px 16px;
}

.ad-band--mid,
.ad-band--article {
  background: #fff;
}

.ad-band .ad-slot {
  padding: 0;
  width: 100%;
  max-width: 300px;
}

/* ----- Info / disclaimer card (mobile) ----- */
.summary-card-wrap {
  padding: 4px 16px 24px;
}

.info-card {
  background: #f3f7fe;
  border-radius: 16px;
  box-shadow: 0 3px 4px rgba(33, 33, 33, 0.25);
  padding: 20px 16px;
  /* Fluid mobile: parent .summary-card-wrap already pads 16px each side */
  max-width: none;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.info-card__row {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 8px;
  direction: ltr;
}

.info-card__text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
  text-align: right;
  direction: rtl;
}

.info-card__title {
  margin: 0;
  width: 100%;
  font-size: 15px;
  font-weight: var(--moses-bold);
  color: #3b3d53;
  line-height: normal;
  text-align: right;
}

.info-card__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  font-size: 12px;
  font-weight: var(--moses-regular);
  color: #000;
  text-align: right;
  align-items: flex-start;
}

.info-card__copy {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.info-card__copy p {
  margin: 0;
  line-height: 16px;
}

.info-card__body > p {
  margin: 0;
  line-height: 16px;
}

.info-card__more {
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  color: var(--ci-blue);
  text-decoration: underline;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  font-family: inherit;
  display: inline;
}

.info-card__extra p {
  margin: 0;
  line-height: 16px;
}

.info-card__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 64px;
  background: var(--ci-blue);
  color: #fff;
  font-size: 16px;
  font-weight: var(--moses-regular);
  line-height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 3px;
  box-sizing: border-box;
}

/* ----- Ad placeholder / GPT targets ----- */
.ad-slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px;
  width: 100%;
}

.ad-slot__box {
  box-sizing: border-box;
  background: #d9d9d9;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  flex-shrink: 0;
}

/* Mobile default + off-DFP placeholder: 300×250 MPU */
.ad-slot__box--fluid,
.ad-slot__box--mpu {
  width: 300px;
  height: 250px;
  max-width: min(300px, 100%);
  margin: 0 auto;
}

.ad-slot__label {
  font-size: 16px;
  font-weight: var(--moses-medium);
  color: #000;
  text-align: center;
  direction: rtl;
  unicode-bidi: embed;
  line-height: 1.3;
  max-width: 100%;
}

.ad-slot__target {
  display: flex;
  justify-content: center;
  width: 100%;
}

.ad-slot__target--hidden {
  display: none;
}

/* Legacy class kept for results.css / older markup */
.ad-slot__box--leaderboard {
  width: 300px;
  max-width: 100%;
  height: 250px;
  min-height: 90px;
  margin: 0 auto;
}

/* ----- National band (before ranking widgets) ----- */
.national-band {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 16px 24px;
  min-height: 96px;
  overflow: hidden;
}

.national-band__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.national-band__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.national-band__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(41, 44, 59, 0.64);
}

.national-band__title {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 28px;
  font-weight: var(--moses-bold);
  line-height: 32px;
  color: #fff;
  text-align: center;
  direction: rtl;
  unicode-bidi: embed;
}

/* ----- Ranking widget (green neighborhoods) ----- */
.rank-widgets-shell {
  width: 100%;
  background: linear-gradient(
    176.04deg,
    #1a1c26 8%,
    #1f1d2c 36%,
    #ffffff 88%
  );
  padding: 0 0 24px;
}

.rank-widgets {
  padding: 16px 16px 8px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.rank-widget {
  width: 100%;
  /* Fluid mobile: .rank-widgets pads 16px; do not cap at Figma-390 358px */
  max-width: none;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 3px 8px rgba(33, 33, 33, 0.25);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-bottom: 24px;
  box-sizing: border-box;
}

.rank-widget__head {
  position: relative;
  height: 135px;
  width: 100%;
  flex-shrink: 0;
}

.rank-widget__title-bar {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  /* Room for 2-line mobile title (Figma Widget Heading py 20 + 16/18 lh) */
  height: auto;
  min-height: 47.41%;
  background: #04a620;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 16px;
  z-index: 1;
  box-sizing: border-box;
}

.rank-widget__title-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 6px;
  direction: ltr;
  max-width: 100%;
  min-width: 0;
  width: 100%;
}

.rank-widget__title {
  margin: 0;
  min-width: 0;
  /* Mobile Figma: 16px / 18lh, two lines — paren on line 2 */
  font-size: 16px;
  font-weight: var(--moses-bold);
  color: #fff;
  text-align: center;
  letter-spacing: -0.2px;
  line-height: 18px;
  direction: rtl;
  unicode-bidi: embed;
  white-space: normal;
}

.rank-widget__title-sub {
  display: block;
  /* Different weight from main title (QA + chart title-sub pattern) */
  font-weight: var(--moses-regular);
}

.rank-widget__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  /* Mobile Figma: no header icons (desktop only) */
  display: none;
  object-fit: contain;
}

.rank-widget__icon--rise,
.rank-widget__icon--fall {
  /* Stay hidden on mobile with .rank-widget__icon; flex only @1280 */
  display: none;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.rank-widget__icon--rise img,
.rank-widget__icon--fall img {
  width: 16px;
  height: 12px;
  display: block;
}

/* Figma Arrow Icon: rise = -90deg (point up), fall = +90deg (point down) */
.rank-widget__icon--rise img {
  transform: rotate(-90deg);
}

.rank-widget__icon--fall img {
  transform: rotate(90deg);
}

.rank-widget__photo {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  /* Sit below the auto-height title bar */
  top: 56%;
  overflow: hidden;
}

.rank-widget__photo img {
  position: absolute;
  width: 100%;
  height: 260.62%;
  max-width: none;
  left: 0;
  top: -130.45%;
  object-fit: cover;
}

.rank-widget--red .rank-widget__photo img {
  height: 474.26%;
  top: -274.37%;
}

.rank-widget--rise .rank-widget__photo img {
  height: 260.62%;
  top: -30.82%;
}

.rank-widget--fall .rank-widget__photo img {
  height: 260.62%;
  top: -68.98%;
}

.rank-widget__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(41, 61, 168, 0.25);
}

.rank-widget__list {
  list-style: none;
  margin: 0;
  padding: 0 16px;
  width: 100%;
  box-sizing: border-box;
}

.rank-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  min-height: 56px;
  padding: 12px 16px;
  border-radius: 16px;
  box-sizing: border-box;
  direction: ltr;
}

.rank-row[data-entity-key] {
  cursor: pointer;
}

.rank-row__rate {
  background: #cec;
  border-radius: 8px;
  width: 112px;
  max-width: 112px;
  padding: 6px 17px;
  font-size: 14px;
  font-weight: var(--moses-medium);
  color: #000;
  letter-spacing: -0.07px;
  line-height: 1.4;
  white-space: nowrap;
  flex-shrink: 0;
  direction: rtl;
  unicode-bidi: embed;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.rank-row__place {
  flex: 1;
  min-width: 0;
  display: flex;
  /* wrap-reverse: one line keeps city→name (RTL read: name then city);
     two lines put bold neighborhood on top, city below */
  flex-wrap: wrap-reverse;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  direction: ltr;
}

.rank-row__city {
  font-size: 12px;
  font-weight: var(--moses-regular);
  color: #454545;
  text-align: right;
  direction: rtl;
  unicode-bidi: embed;
}

.rank-row__name {
  font-size: 15px;
  font-weight: var(--moses-bold);
  color: #131313;
  text-align: right;
  direction: rtl;
  unicode-bidi: embed;
}

.rank-row__num {
  width: 25px;
  height: 25px;
  border-radius: 72px;
  background: rgba(126, 213, 124, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  line-height: 14px;
  color: #000;
  flex-shrink: 0;
}

.rank-widget__note {
  margin: 0;
  /* Mobile Figma Disclaimer: 11px / lh 11, one line */
  padding: 20px 4px 8px;
  text-align: center;
  font-size: 11px;
  line-height: 11px;
  font-weight: var(--moses-regular);
  color: #000;
  direction: rtl;
  unicode-bidi: embed;
  white-space: nowrap;
}

.rank-widget__star {
  color: #d70026;
  font-weight: var(--moses-bold);
}

/* Widget color variants */
.rank-widget--red .rank-widget__title-bar {
  background: #d70026;
}

.rank-widget--red .rank-row__rate {
  background: #fde6ea;
}

.rank-widget--red .rank-row__num {
  background: rgba(215, 0, 38, 0.25);
}

.rank-widget--rise .rank-widget__title-bar {
  background: #f45e11;
}

.rank-widget--rise .rank-row__rate {
  background: transparent;
  width: auto;
  max-width: none;
  padding: 6px 0;
}

.rank-widget--rise .rank-row__num {
  background: rgba(244, 94, 17, 0.35);
}

.rank-widget--fall .rank-widget__title-bar {
  background: #293da8;
}

.rank-widget--fall .rank-row__rate {
  background: transparent;
  width: auto;
  max-width: none;
  padding: 6px 0;
}

.rank-widget--fall .rank-row__num {
  background: rgba(41, 61, 168, 0.35);
}

/* ----- Article (compact teaser; no tabs) ----- */
.article-section {
  background: #f6f6f6;
  padding: 24px 16px 32px;
}

.article-section__inner {
  max-width: var(--ci-content-w);
  margin: 0 auto;
}

.article-section__top {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.article-section__media-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
  width: 100%;
}

.article-section__media {
  width: 100%;
  height: 220px;
  border-radius: 12px;
  overflow: hidden;
}

.article-section__media a {
  display: block;
  width: 100%;
  height: 100%;
}

.article-section__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Figma Author: caption (black) + credit (gray), RgNegative */
.article-section__caption {
  margin: 0;
  width: 100%;
  font-size: 12px;
  font-weight: var(--moses-rg-neg);
  line-height: 16px;
  text-align: right;
  direction: rtl;
}

.article-section__caption-lead {
  color: #000;
}

.article-section__caption-credit {
  color: #78787b;
}

.article-section__copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  width: 100%;
  direction: rtl;
}

.article-section__main {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  width: 100%;
  direction: rtl;
}

.article-section__text {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.article-section__tag {
  display: inline-flex;
  align-items: center;
  margin: 0;
  background: #293da8;
  color: #fff;
  font-size: 14px;
  line-height: 18px;
  padding: 6px 16px;
  border-radius: 4px;
  direction: rtl;
}

.article-section__title {
  margin: 0;
  font-size: 22px;
  font-weight: var(--moses-bold);
  line-height: 26px;
  color: #292c3b;
  text-align: right;
  direction: rtl;
}

.article-section__title-link {
  color: inherit;
  text-decoration: none;
}

.article-section__title-link:hover {
  text-decoration: underline;
}

.article-section__lead {
  margin: 0;
  font-size: 16px;
  font-weight: var(--moses-regular);
  line-height: 24px;
  color: #000;
  text-align: right;
  direction: rtl;
}

.article-section__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  box-sizing: border-box;
  flex-shrink: 0;
  height: 46px;
  padding: 0 24px;
  border-radius: 67px;
  background: #292c3b;
  color: #fff;
  font-size: 14px;
  font-weight: var(--moses-medium);
  line-height: 22px;
  text-decoration: none;
  /* LTR flex so icon stays physical-left of Hebrew label (Figma Search Btn) */
  direction: ltr;
}

.article-section__cta:hover {
  text-decoration: none;
  filter: brightness(1.08);
}

.article-section__cta-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  transform: scaleX(-1);
}

/* ----- Madlan mailing promo (Figma 2682:7638 desktop, 3010:53101 mobile) ----- */
.mailing-section {
  position: relative;
  min-height: 480px;
  padding: 59px 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.mailing-section__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.mailing-section__bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

.mailing-section__card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: none;
  margin: 0 auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 3px 4px rgba(33, 33, 33, 0.25);
  padding: 40px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.mailing-section__logo-wrap {
  display: block;
  line-height: 0;
}

.mailing-section__logo {
  width: 153px;
  height: 29px;
  object-fit: contain;
}

.mailing-section__copy {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  width: 100%;
  direction: rtl;
}

.mailing-section__title {
  margin: 0;
  font-size: 20px;
  font-weight: var(--moses-bold);
  line-height: 22px;
  color: #292c3b;
  width: 100%;
}

.mailing-section__title-desktop {
  display: none;
}

.mailing-section__text {
  margin: 0;
  font-size: 16px;
  line-height: 25px;
  color: #000;
  width: 100%;
}

.mailing-section__text--desktop {
  display: none;
}

.mailing-section__text strong {
  font-weight: var(--moses-bold);
}

.mailing-section__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 46px;
  padding: 0 24px;
  border-radius: 67px;
  background: #005f63;
  color: #fff;
  font-size: 14px;
  font-weight: var(--moses-medium);
  line-height: 22px;
  text-decoration: none;
  direction: rtl;
}

.mailing-section__cta-label--desktop {
  display: none;
}

.mailing-section__cta:hover {
  text-decoration: none;
  filter: brightness(1.05);
}

/* Asset points right; Figma CTA arrow points left */
.mailing-section__cta-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  transform: scaleX(-1);
}

/* ----- Footer (Figma 2682:7665) ----- */
.site-footer {
  position: relative;
  padding: 32px 16px;
  overflow: hidden;
  min-height: 100px;
}

.site-footer__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.site-footer__bg img {
  position: absolute;
  width: 100%;
  height: 342.83%;
  max-width: none;
  left: 0.03%;
  top: -103.55%;
  object-fit: fill;
}

.site-footer__overlay {
  position: absolute;
  inset: 0;
  background: rgba(41, 44, 59, 0.74);
  pointer-events: none;
}

.site-footer__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.site-footer__links-line {
  margin: 0;
  width: 100%;
  text-align: center;
  font-size: 14px;
  line-height: 22px;
  font-weight: var(--moses-light);
  color: #fff;
}

.site-footer__links-line a {
  color: #fff;
  text-decoration: none;
}

.site-footer__links-line a:hover {
  text-decoration: underline;
}

.site-footer__logo-link {
  display: inline-flex;
  line-height: 0;
}

.site-footer__logo {
  width: 148px;
  height: 27px;
  object-fit: contain;
}

@media (min-width: 768px) {
  .hero__inner {
    max-width: 550px;
  }

  .hero__title {
    font-size: 48px;
    letter-spacing: -1px;
  }

  /* Tablet: full-bleed cover until desktop crop rules @1280 */
  .hero__bg img {
    inset: 0;
    top: auto;
    left: auto;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
  }

  .hero__search-area {
    gap: 24px;
  }

  .site-header {
    padding: 0 24px;
  }

  .rank-widget {
    max-width: none;
  }
}

@media (min-width: 1280px) {
  :root {
    --ci-header-h: 52px;
    --ci-content-w: 1040px;
    --ci-page-gutter: 120px;
    --ci-page-max: 1280px;
  }

  .site-header {
    padding: 0;
    justify-content: center;
  }

  .site-header__mobile {
    display: none;
  }

  .site-header__desktop {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: var(--ci-page-max);
    height: 100%;
    margin: 0 auto;
    padding: 0 var(--ci-page-gutter);
    box-sizing: border-box;
    direction: ltr;
  }

  .site-header__desktop-start {
    display: flex;
    align-items: center;
    gap: 25px;
    direction: ltr;
  }

  .site-header__social {
    display: flex;
    align-items: center;
    gap: 16px;
  }

  .site-header__social a {
    display: flex;
    width: 30px;
    height: 30px;
  }

  .site-header__social img {
    width: 30px;
    height: 30px;
    object-fit: contain;
    /* results share SVGs are white (for dark cards) */
    filter: brightness(0);
  }

  .site-header__updated {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    /* Figma Update Info: LTR flex [text][dot] so the white dot sits on the visual right */
    padding: 6px 10px 6px 12px;
    border-radius: 49px;
    background: var(--ci-blue);
    color: #fff;
    font-size: 12px;
    line-height: 1;
    letter-spacing: -0.06px;
    direction: ltr;
  }

  .site-header__updated-text {
    display: inline-flex;
    align-items: center;
    gap: 0.25em;
    direction: rtl;
    line-height: 1;
  }

  .site-header__updated-label {
    font-weight: var(--moses-regular);
    line-height: 1;
  }

  .site-header__updated-value {
    font-weight: var(--moses-bold);
    line-height: 1;
  }

  .site-header__updated-dot {
    display: block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #fff;
    flex-shrink: 0;
    align-self: center;
    /* Optical nudge: Hebrew metrics sit slightly high vs geometric center */
    transform: translateY(-1px);
  }

  .site-header__brands--desktop {
    gap: 24px;
  }

  .site-header__brands--desktop .site-header__madlan {
    /* Desktop Top Bar: horizontal wordmark + בשיתוף */
    width: 182px;
    height: 35px;
    object-fit: contain;
    object-position: center;
  }

  .site-header__ynet-img--mobile {
    display: none;
  }

  .site-header__ynet-img--desktop {
    display: block;
    width: 76px;
    height: 32px;
  }

  .site-header__brands--desktop .site-header__ynet-img--desktop {
    width: 76px;
    height: 32px;
    object-fit: contain;
  }

  .site-header__menu {
    display: none;
  }

  .site-menu {
    display: none !important;
  }

  .hero {
    padding: 120px 24px 40px;
    min-height: 530px;
    height: 530px;
    box-sizing: border-box;
    align-items: stretch;
  }

  .hero__bg {
    height: 530px;
  }

  .hero__bg picture,
  .hero__bg img {
    inset: auto;
  }

  .hero__bg img {
    /*
     * Figma Image 2682:7342 @1280: bottom 530 of scaled photo (top -35.83%, h 135.92%).
     * Use bottom-aligned height:auto so wider viewports keep the same slice (cars/wheels)
     * instead of object-fit:cover re-cropping a stretched box.
     */
    left: 0;
    right: auto;
    top: auto;
    bottom: 0;
    width: 100%;
    height: auto;
    object-fit: unset;
    object-position: unset;
  }

  .hero__bg::after {
    background:
      linear-gradient(90.16deg, rgba(246, 246, 246, 0) 0%, rgba(246, 246, 246, 0.84) 64.56%),
      linear-gradient(180deg, rgba(246, 246, 246, 0) 88.96%, #f6f6f6 98.15%),
      linear-gradient(90deg, rgba(41, 61, 168, 0.25) 0%, rgba(41, 61, 168, 0.25) 100%);
  }

  .hero__inner {
    max-width: var(--ci-content-w);
    margin: 0 auto;
    align-items: flex-start;
    width: 100%;
  }

  .hero__titles {
    text-align: right;
    max-width: none;
  }

  .hero__title {
    font-size: 48px;
    letter-spacing: -1.22px;
    line-height: 1.05;
    white-space: normal;
  }

  .hero__subtitle {
    font-size: 18px;
    line-height: 22px;
    max-width: 640px;
  }

  .hero__disclaimer {
    font-size: 14px;
    line-height: 20px;
    max-width: 640px;
  }

  .hero__search-area {
    max-width: 618px;
  }

  .hero--compare .hero__search-area {
    max-width: 700px;
  }

  .hero__search-block {
    max-width: none;
  }

  .hero--compare .hero__search-block {
    max-width: none;
  }

  .hero__search-row--single {
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
  }

  .hero__search-row--single .compare-btn {
    order: 1;
  }

  .hero__search-row--single .search-wrap {
    order: 2;
    width: 550px;
    flex: 0 0 550px;
  }

  /* Same 26px inset as mobile base (Figma Supplementary Search Bar). */
  .search-suggest {
    left: 26px;
    right: 26px;
  }

  .compare-btn {
    width: 60px;
    height: 60px;
    padding: 12px 10px;
    justify-content: center;
    gap: 0;
    flex-shrink: 0;
    transition: box-shadow 0.15s ease;
  }

  .compare-btn__label {
    display: none;
    font-size: 12px;
    font-weight: var(--moses-bold);
    line-height: 16px;
    color: #001937;
    white-space: nowrap;
  }

  /* Figma Plus Icon: 24px frame with inset — graphic reads smaller than full 24 */
  .compare-btn img {
    width: 16px;
    height: 16px;
    object-fit: contain;
    opacity: 1;
  }

  /* Desktop hover: keep 60×60; label shown via native title tooltip */
  .compare-btn:hover {
    box-shadow: 0 2px 4px rgba(33, 33, 33, 0.55);
  }

  .search-bar__input {
    font-size: 16px;
    line-height: 22px;
  }

  .search-bar__input::placeholder {
    font-size: 16px;
    line-height: 22px;
  }

  .search-bar__submit {
    min-width: 68px;
    padding: 0 24px;
  }

  .popular-searches {
    justify-content: flex-end;
    font-size: 13px;
  }

  .popular-searches__label,
  .popular-searches__list a {
    font-size: 13px;
  }

  .summary-card-wrap--top {
    padding: 0 var(--ci-page-gutter) 8px;
  }

  .summary-card-wrap--top .info-card {
    max-width: var(--ci-content-w);
    margin: 0 auto;
    padding: 20px 24px;
  }

  .summary-card-wrap--top .info-card__row {
    gap: 24px;
    justify-content: flex-end;
  }

  .summary-card-wrap--top .info-card__text {
    align-items: flex-start;
  }

  .summary-card-wrap--top .info-card__icon {
    width: 32px;
    height: 32px;
    font-size: 18px;
    line-height: 18px;
  }

  .summary-card-wrap--top .info-card__title {
    font-size: 16px;
  }

  .summary-card-wrap--top .info-card__body {
    font-size: 15px;
  }

  .summary-card-wrap--top .info-card__body p {
    line-height: 18px;
  }

  .home-leader-band,
  .ad-band {
    padding: 40px var(--ci-page-gutter);
  }

  .ad-band .ad-slot,
  .home-leader-band .ad-slot--responsive {
    max-width: 1190px;
    padding: 0;
  }

  /* Desktop flash banners: 970/1190 × 90/250 */
  .ad-slot__box--fluid,
  .ad-slot__box--leaderboard {
    width: 1190px;
    max-width: 100%;
    height: auto;
    min-height: 90px;
  }

  .ad-slot__box--mpu {
    width: 300px;
    height: 250px;
  }

  .national-band {
    min-height: 179px;
    padding: 80px var(--ci-page-gutter) 48px;
  }

  .national-band__title {
    font-size: 46px;
    line-height: 80px;
    white-space: nowrap;
  }

  .rank-widgets-shell {
    background: linear-gradient(
      176.04deg,
      #1a1c26 12.11%,
      #1f1d2c 39.77%,
      #ffffff 87.96%
    );
    padding: 0 var(--ci-page-gutter) 64px;
  }

  .info-card,
  .rank-widget {
    max-width: 510px;
  }

  .rank-widgets {
    max-width: var(--ci-content-w);
    margin: -24px auto 0;
    align-items: stretch;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    padding: 0;
  }

  .rank-widget {
    max-width: none;
    border-radius: 16px;
  }

  .rank-widget__title-bar {
    padding: 20px 24px;
    height: 47.41%;
    min-height: 0;
  }

  .rank-widget__photo {
    top: 47.41%;
  }

  .rank-widget__title {
    font-size: 18px;
    line-height: normal;
    white-space: nowrap;
  }

  .rank-widget__title-sub {
    display: inline;
    margin-inline-start: 0.25em;
    font-weight: var(--moses-regular);
  }

  .rank-widget__icon {
    display: block;
  }

  .rank-widget__icon--rise,
  .rank-widget__icon--fall {
    display: flex;
  }

  .rank-widget__list {
    padding: 0 24px;
  }

  .rank-widget__note {
    padding: 12px 24px;
    font-size: 14px;
    line-height: normal;
  }

  .article-section {
    padding: 72px var(--ci-page-gutter);
  }

  .article-section__top {
    display: flex;
    flex-direction: row;
    gap: 48px;
    align-items: flex-start;
    direction: ltr;
  }

  .article-section__media-col {
    flex: 0 0 508px;
    width: 508px;
  }

  .article-section__media {
    height: 346px;
    border-radius: 16px;
  }

  .article-section__caption {
    font-size: 14px;
    line-height: 19px;
  }

  .article-section__main {
    flex: 1 1 auto;
    min-width: 0;
    gap: 24px;
    direction: rtl;
    align-items: flex-start;
  }

  .article-section__copy {
    gap: 20px;
    direction: rtl;
    align-items: flex-start;
  }

  .article-section__text {
    gap: 16px;
  }

  .article-section__tag {
    font-size: 16px;
    line-height: 1.4;
    letter-spacing: -0.08px;
    padding: 6px 17px;
  }

  .article-section__title {
    font-size: 28px;
    line-height: 34px;
  }

  .article-section__lead {
    font-size: 18px;
    font-weight: var(--moses-medium);
    line-height: 30px;
  }

  .article-section__cta {
    font-size: 16px;
  }

  .mailing-section {
    min-height: 493px;
    padding: 64px var(--ci-page-gutter);
    align-items: flex-start;
  }

  .mailing-section__bg img {
    inset: auto;
    width: 118.98%;
    height: 120.67%;
    left: -18.98%;
    top: -11.02%;
    object-fit: fill;
  }

  .mailing-section__card {
    max-width: 892px;
    padding: 60px 140px;
    gap: 25px;
    border-radius: 15px;
  }

  .mailing-section__logo {
    width: 172px;
    height: 32px;
  }

  .mailing-section__copy {
    gap: 10px;
    max-width: 612px;
  }

  .mailing-section__title {
    font-size: 26px;
    line-height: 29px;
    white-space: nowrap;
  }

  .mailing-section__title-mobile {
    display: none;
  }

  .mailing-section__title-desktop {
    display: inline;
  }

  .mailing-section__text {
    font-size: 18px;
    line-height: 30px;
  }

  .mailing-section__text--mobile {
    display: none;
  }

  .mailing-section__text--desktop {
    display: block;
  }

  .mailing-section__cta {
    min-height: 44px;
    font-size: 16px;
  }

  .mailing-section__cta-label--mobile {
    display: none;
  }

  .mailing-section__cta-label--desktop {
    display: inline;
  }

  .site-footer {
    /* Same side inset as content column above (Figma ~120). */
    padding: 48px var(--ci-page-gutter);
  }

  .site-footer__inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    width: 100%;
    max-width: var(--ci-content-w);
    margin: 0 auto;
    direction: ltr;
    padding: 0 4px;
  }

  .site-footer__links-line {
    width: auto;
    flex: 0 1 auto;
    text-align: right;
    font-size: 16px;
    line-height: 40px;
    white-space: nowrap;
  }
}

/* ----- Sticky search FAB (Figma 2868:16640 / 2868:16642) ----- */
.search-fab {
  position: fixed;
  z-index: 40;
  bottom: 20px;
  right: 16px;
  left: auto;
  box-sizing: border-box;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 62px;
  height: 62px;
  padding: 0;
  margin: 0;
  border: 4px solid #fff;
  border-radius: 104px;
  background: #292c3b;
  box-shadow: 0 2px 4px rgba(33, 33, 33, 0.15);
  cursor: pointer;
  color: #fff;
  font-family: inherit;
  transition: width 0.2s ease, padding 0.2s ease, gap 0.2s ease, box-shadow 0.15s ease;
}

.search-fab[hidden] {
  display: none !important;
}

.search-fab__label {
  display: none;
  font-size: 15px;
  font-weight: var(--moses-bold);
  line-height: normal;
  white-space: nowrap;
  color: #fff;
  direction: rtl;
}

.search-fab__icon {
  width: 28px;
  height: 28px;
  display: block;
  flex-shrink: 0;
  object-fit: contain;
}

/* Hover: expand and show "בדקו את האזור שלכם" (Figma 2868:16642) */
@media (hover: hover) and (pointer: fine) {
  .search-fab:hover {
    width: auto;
    min-width: 62px;
    height: 62px;
    padding: 0 17px;
    gap: 10px;
    justify-content: flex-end;
    box-shadow: 0 2px 4px rgba(33, 33, 33, 0.45);
  }

  .search-fab:hover .search-fab__label {
    display: inline;
  }
}

@media (min-width: 1280px) {
  .search-fab {
    bottom: 32px;
    right: 32px;
    left: auto;
  }
}

/* Desktop 1920 — Figma content column 1120, side inset 400 */
@media (min-width: 1920px) {
  :root {
    --ci-content-w: 1120px;
    --ci-page-gutter: 400px;
    --ci-page-max: 1920px;
  }
}
