
/* ================================
   FEATURED PROPERTY
   ================================ */
.featured-grid{ width:100%; display:flex; justify-content:space-around; gap:20px; }
.featured-item[data-format="S"]{ flex:0.27; }
.featured-item[data-format="S"] a{ width:100%; }
.featured-item[data-format="S"] .feat-hero{ border-radius:6px;}
.featured-item[data-format="S"] .feat-meta{ padding-left:20px; padding-right:20px;}

.featured-item[data-format="R2"]{ flex:0.5; background:radial-gradient(circle at 30% 25%, #3f97f0 0%, #2f7fd6 38%, #1b4f9a 100%); }
.featured-item[data-format="R2"] a{ display:flex; width:100%; gap:30px;}
.featured-item[data-format="R2"] .feat-hero{ flex: 1; border-radius:6px 0 0 6px;}
.featured-item[data-format="R2"] .feat-meta{ flex: 1;}

.featured-item[data-format="R3"]{ flex:0.75; background:radial-gradient(circle at 30% 25%, #3f97f0 0%, #2f7fd6 38%, #1b4f9a 100%); }
.featured-item[data-format="R3"] a{ display:flex; width:100%; gap:15px;}
.featured-item[data-format="R3"] .feat-hero{ flex: 0.9; border-radius:6px 0 100px 6px;}
.featured-item[data-format="R3"] .feat-wrap{ display:flex; gap:20px; flex: 0.8;}
.featured-item[data-format="R3"] .feat-meta{ flex:1; padding-right:20px; border-right:1px solid #ffffff;}
.featured-item[data-format="R3"] .feat-extras{ flex: 1;}

.featured-item[data-format="R4"]{ flex:1; background:radial-gradient(circle at 30% 25%, #3f97f0 0%, #2f7fd6 38%, #1b4f9a 100%); }
.featured-item[data-format="R4"] a{ display:flex; width:100%; gap:5px;}
.featured-item[data-format="R4"] .feat-hero{ flex: 0.5; border-radius:6px 0 100px 6px;}
.featured-item[data-format="R4"] .feat-wrap{ display:flex; flex-flow:column; padding:5px 20px 5px 10px; gap:5px; flex: 0.5;}
.featured-item[data-format="R4"] .feat-meta{ flex:0.25; padding-right:10px; padding-left:20px; border-right:1px solid rgb(255 255 255 / 38%);}
.featured-item[data-format="R4"] .feat-extras{ width:100%; display:flex; justify-content:flex-start; gap:15px; width:100%; padding-left:20px; padding-bottom:2px; border-bottom:1px solid rgb(255 255 255 / 38%);}

.featured-item { display: flex; border-radius:2px; }
.featured-item:hover{ box-shadow: 5px 5px 20px rgba(15, 23, 42, .54); transform:translateY(-3px); }
.featured-item a{ text-decoration: none;}
.feat-hero{ height:100px; max-height:100px; padding: 0; background-repeat:no-repeat; background-size:100%; background-position: center;}
.feat-meta{ height:100%; display:flex; flex-direction:column; justify-content:center; color:#fff; font-size:14px; font-weight:700; align-self:center; text-shadow:0 1px 1px rgba(0,0,0,.75),0 2px 6px rgba(0,0,0,.55);}
.feat-extras{ color: #fff; font-size: 11px; align-self:center;}
.feat-msg { display:flex; align-items:center;color:#fff; white-space:normal; overflow-wrap:anywhere; word-break:break-word; line-height:1.25; max-width:100%; height:100%; font-size:11px;}

.is-collapsed .featured-grid{ flex-direction: column; align-items:end; }
.is-collapsed .featured-item[data-format="S"]{ flex:0; width:170px;}

.is-collapsed .featured-item[data-format="R2"]{ flex:0; width:170px;}
.is-collapsed .featured-item[data-format="R2"] a{ flex-direction:column; height:160px; gap:0;}
.is-collapsed .featured-item[data-format="R2"] .feat-meta{ flex: 0; padding:10px 0;}
.is-collapsed .featured-item[data-format="R2"] .feat-hero{ flex: 1; border-radius: 6px 6px 0 0;}

.is-collapsed .featured-item[data-format="R3"]{ flex:0; width:170px;}
.is-collapsed .featured-item[data-format="R3"] a{ flex-direction:column; height:300px; gap:0;}
.is-collapsed .featured-item[data-format="R3"] .feat-wrap{ flex-direction:column; gap:0; flex: 0;}
.is-collapsed .featured-item[data-format="R3"] .feat-meta{ flex: 0; padding:20px 0; border-bottom:1px solid #ffffff; border-right:none;}
.is-collapsed .featured-item[data-format="R3"] .feat-hero{ flex: 1; border-radius: 6px 6px 50px 0;}
.is-collapsed .featured-item[data-format="R3"] .feat-extras{ display:flex; gap:10px; flex: 0; padding:10px 0;}

.is-collapsed .featured-item[data-format="R4"]{ flex:0; width:170px;}
.is-collapsed .featured-item[data-format="R4"] a{ flex-direction:column; height:450px; gap:0;}
.is-collapsed .featured-item[data-format="R4"] .feat-wrap{ flex-direction:column; gap:0; flex: 0;}
.is-collapsed .featured-item[data-format="R4"] .feat-meta{ flex: 0; padding:10px 0; border-right:none;}
.is-collapsed .featured-item[data-format="R4"] .feat-hero{ flex: 1; border-radius: 6px 6px 50px 0;}
.is-collapsed .featured-item[data-format="R4"] .feat-extras{ display:flex; gap:10px; flex: 0; padding:10px 0 10px 5px;}
.is-collapsed .featured-item[data-format="R4"] .feat-msg{ padding:10px 5px;}

@media (max-width: 768px){
  .featured-grid{ width: 600px; min-width: 100%; justify-content: flex-start;   }
  .feat-meta{ font-size:11px; font-weight:500; text-shadow:0 1px 0px rgba(0,0,0,.9);}
  .feat-hero {height: 80px; max-height: 80px;}
}

/* ================================
   INDEX FLOATING BOOST - VERTICAL
   Only for index.php
   ================================ */

.boosts-wrap--index-floating .featured-grid {
  width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  gap: 12px;
}

.boosts-wrap--index-floating .featured-item,
.boosts-wrap--index-floating .featured-item[data-format="S"],
.boosts-wrap--index-floating .featured-item[data-format="R2"],
.boosts-wrap--index-floating .featured-item[data-format="R3"],
.boosts-wrap--index-floating .featured-item[data-format="R4"] {
  width: 100%;
  max-width: 100%;
  flex: 0 0 auto;
  display: block;
  overflow: hidden;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid rgb(51 51 51 / 30%);
}

.boosts-wrap--index-floating .featured-item a,
.boosts-wrap--index-floating .featured-item[data-format="S"] a,
.boosts-wrap--index-floating .featured-item[data-format="R2"] a,
.boosts-wrap--index-floating .featured-item[data-format="R3"] a,
.boosts-wrap--index-floating .featured-item[data-format="R4"] a {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: auto;
  gap: 0;
}

.boosts-wrap--index-floating .feat-hero,
.boosts-wrap--index-floating .featured-item[data-format="S"] .feat-hero,
.boosts-wrap--index-floating .featured-item[data-format="R2"] .feat-hero,
.boosts-wrap--index-floating .featured-item[data-format="R3"] .feat-hero,
.boosts-wrap--index-floating .featured-item[data-format="R4"] .feat-hero {
  width: 100%;
  flex: 0 0 auto;
  height: 150px;
  max-height: none;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.boosts-wrap--index-floating .featured-item[data-format="R4"] .feat-hero {
  border-radius: 6px 0 50px 6px;
}

.boosts-wrap--index-floating .feat-meta,
.boosts-wrap--index-floating .featured-item[data-format="R2"] .feat-meta,
.boosts-wrap--index-floating .featured-item[data-format="R3"] .feat-meta,
.boosts-wrap--index-floating .featured-item[data-format="R4"] .feat-meta {
  width: 100%;
  flex: 0 0 auto;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-self: stretch;
  padding: 12px 14px;
  border: 0;
  color: #0f172a;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  text-shadow: none;
}

.boosts-wrap--index-floating .featured-item[data-format="S"] .feat-hero {
  display: flex;
  align-items: flex-end;
}

.boosts-wrap--index-floating .featured-item[data-format="S"] .feat-meta {
  width: 100%;
  height: auto;
  padding: 38px 14px 12px;
  color: #ffffff;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(15, 23, 42, 0.75)
  );
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}

.boosts-wrap--index-floating .feat-wrap,
.boosts-wrap--index-floating .featured-item[data-format="R3"] .feat-wrap,
.boosts-wrap--index-floating .featured-item[data-format="R4"] .feat-wrap {
  width: 100%;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
}

.boosts-wrap--index-floating .feat-extras,
.boosts-wrap--index-floating .featured-item[data-format="R3"] .feat-extras,
.boosts-wrap--index-floating .featured-item[data-format="R4"] .feat-extras {
  width: 100%;
  display: flex;
  justify-content: flex-start;
  gap: 12px;
  padding: 14px 12px;
  border: 0;
  color: #64748b;
  font-size: 12px;
  font-weight: 600;
}

.boosts-wrap--index-floating .feat-msg {
  width: 100%;
  height: auto;
  padding: 0 14px 14px;
  color: #475569;
  font-size: 12px;
  line-height: 1.4;
  text-shadow: none;
}

.boosts-wrap--index-floating .featured-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.12);
}

/* ================================
   INDEX FLOATING BOOST - MOBILE STICKY BAR
   Must stay at the very end of featured-templates.css
   ================================ */

@media (max-width: 720px) {
  body.is-mobile-floating-bars .help-hub__floating-card--featured .help-hub__floating-card-kicker {
    display: none !important;
  }

  body.is-mobile-floating-bars .help-hub__floating-card--featured .boosts-wrap--index-floating {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    overflow: hidden !important;
  }

  body.is-mobile-floating-bars .help-hub__floating-card--featured .boosts-wrap--index-floating .featured-grid {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 0 !important;
    overflow: hidden !important;
  }

  body.is-mobile-floating-bars .help-hub__floating-card--featured .boosts-wrap--index-floating .featured-item,
  body.is-mobile-floating-bars .help-hub__floating-card--featured .boosts-wrap--index-floating .featured-item[data-format="S"],
  body.is-mobile-floating-bars .help-hub__floating-card--featured .boosts-wrap--index-floating .featured-item[data-format="R2"],
  body.is-mobile-floating-bars .help-hub__floating-card--featured .boosts-wrap--index-floating .featured-item[data-format="R3"],
  body.is-mobile-floating-bars .help-hub__floating-card--featured .boosts-wrap--index-floating .featured-item[data-format="R4"] {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    flex: 1 1 auto !important;
    display: block !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    overflow: hidden !important;
    box-shadow: none !important;
    transform: none !important;
  }

  body.is-mobile-floating-bars .help-hub__floating-card--featured .boosts-wrap--index-floating .featured-item:not(:first-child) {
    display: none !important;
  }

  body.is-mobile-floating-bars .help-hub__floating-card--featured .boosts-wrap--index-floating .featured-item a,
  body.is-mobile-floating-bars .help-hub__floating-card--featured .boosts-wrap--index-floating .featured-item[data-format="S"] a,
  body.is-mobile-floating-bars .help-hub__floating-card--featured .boosts-wrap--index-floating .featured-item[data-format="R2"] a,
  body.is-mobile-floating-bars .help-hub__floating-card--featured .boosts-wrap--index-floating .featured-item[data-format="R3"] a,
  body.is-mobile-floating-bars .help-hub__floating-card--featured .boosts-wrap--index-floating .featured-item[data-format="R4"] a {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: 42px !important;
    gap: 8px !important;
    text-decoration: none !important;
    overflow: hidden !important;
  }

  body.is-mobile-floating-bars .help-hub__floating-card--featured .boosts-wrap--index-floating .feat-hero,
  body.is-mobile-floating-bars .help-hub__floating-card--featured .boosts-wrap--index-floating .featured-item[data-format="S"] .feat-hero,
  body.is-mobile-floating-bars .help-hub__floating-card--featured .boosts-wrap--index-floating .featured-item[data-format="R2"] .feat-hero,
  body.is-mobile-floating-bars .help-hub__floating-card--featured .boosts-wrap--index-floating .featured-item[data-format="R3"] .feat-hero,
  body.is-mobile-floating-bars .help-hub__floating-card--featured .boosts-wrap--index-floating .featured-item[data-format="R4"] .feat-hero {
    flex: 0 0 54px !important;
    width: 54px !important;
    min-width: 54px !important;
    height: 38px !important;
    max-height: 38px !important;
    border-radius: 999px !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    overflow: hidden !important;
  }

  body.is-mobile-floating-bars .help-hub__floating-card--featured .boosts-wrap--index-floating .feat-meta,
  body.is-mobile-floating-bars .help-hub__floating-card--featured .boosts-wrap--index-floating .featured-item[data-format="S"] .feat-meta,
  body.is-mobile-floating-bars .help-hub__floating-card--featured .boosts-wrap--index-floating .featured-item[data-format="R2"] .feat-meta,
  body.is-mobile-floating-bars .help-hub__floating-card--featured .boosts-wrap--index-floating .featured-item[data-format="R3"] .feat-meta,
  body.is-mobile-floating-bars .help-hub__floating-card--featured .boosts-wrap--index-floating .featured-item[data-format="R4"] .feat-meta {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
    padding: 0 !important;
    border: 0 !important;
    color: #0f172a !important;
    background: transparent !important;
    text-shadow: none !important;
    font-size: 11px !important;
    line-height: 1.15 !important;
    overflow: hidden !important;
  }

  body.is-mobile-floating-bars .help-hub__floating-card--featured .boosts-wrap--index-floating .feat-type,
  body.is-mobile-floating-bars .help-hub__floating-card--featured .boosts-wrap--index-floating .feat-city,
  body.is-mobile-floating-bars .help-hub__floating-card--featured .boosts-wrap--index-floating .feat-price {
    display: block !important;
    max-width: 100% !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  body.is-mobile-floating-bars .help-hub__floating-card--featured .boosts-wrap--index-floating .feat-type {
    font-weight: 800 !important;
    color: #0f172a !important;
  }

  body.is-mobile-floating-bars .help-hub__floating-card--featured .boosts-wrap--index-floating .feat-city {
    color: #64748b !important;
    font-weight: 600 !important;
  }

  body.is-mobile-floating-bars .help-hub__floating-card--featured .boosts-wrap--index-floating .feat-price {
    color: #e11d2f !important;
    font-weight: 800 !important;
  }

  body.is-mobile-floating-bars .help-hub__floating-card--featured .boosts-wrap--index-floating .feat-wrap,
  body.is-mobile-floating-bars .help-hub__floating-card--featured .boosts-wrap--index-floating .feat-extras,
  body.is-mobile-floating-bars .help-hub__floating-card--featured .boosts-wrap--index-floating .feat-msg {
    display: none !important;
  }

  body.is-mobile-floating-bars .help-hub__floating-card--featured .boosts-wrap--index-floating .featured-item:hover {
    transform: none !important;
    box-shadow: none !important;
  }
}

/* ================================
   Hebrew / RTL mobile featured bar fix
   Must stay at the very end of featured-templates.css
   ================================ */

@media (max-width: 720px) {
  html[lang="he"] body.is-mobile-floating-bars .help-hub__floating-card--featured .boosts-wrap--index-floating,
  html[dir="rtl"] body.is-mobile-floating-bars .help-hub__floating-card--featured .boosts-wrap--index-floating {
    direction: rtl !important;
    text-align: right !important;
  }

  html[lang="he"] body.is-mobile-floating-bars .help-hub__floating-card--featured .boosts-wrap--index-floating .featured-item a,
  html[dir="rtl"] body.is-mobile-floating-bars .help-hub__floating-card--featured .boosts-wrap--index-floating .featured-item a {
    direction: rtl !important;
    text-align: right !important;
  }

  html[lang="he"] body.is-mobile-floating-bars .help-hub__floating-card--featured .boosts-wrap--index-floating .feat-meta,
  html[dir="rtl"] body.is-mobile-floating-bars .help-hub__floating-card--featured .boosts-wrap--index-floating .feat-meta {
    direction: rtl !important;
    text-align: right !important;
    min-width: 0 !important;
  }

  html[lang="he"] body.is-mobile-floating-bars .help-hub__floating-card--featured .boosts-wrap--index-floating .feat-type,
  html[lang="he"] body.is-mobile-floating-bars .help-hub__floating-card--featured .boosts-wrap--index-floating .feat-city,
  html[lang="he"] body.is-mobile-floating-bars .help-hub__floating-card--featured .boosts-wrap--index-floating .feat-price,
  html[dir="rtl"] body.is-mobile-floating-bars .help-hub__floating-card--featured .boosts-wrap--index-floating .feat-type,
  html[dir="rtl"] body.is-mobile-floating-bars .help-hub__floating-card--featured .boosts-wrap--index-floating .feat-city,
  html[dir="rtl"] body.is-mobile-floating-bars .help-hub__floating-card--featured .boosts-wrap--index-floating .feat-price {
    direction: rtl !important;
    text-align: right !important;
  }
}