/**
 * REATS · Experience Discovery Hub
 */

.disc-hub-section__head {
  margin-bottom: clamp(18px, 3vw, 28px);
}
.disc-hub-section__kicker {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--exp-success, #3d6b4f);
  background: rgba(61, 107, 79, 0.1);
  padding: 4px 11px;
  border-radius: 999px;
  margin-bottom: 8px;
}
.disc-hub-section__head h2 {
  margin: 0 0 8px;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  color: var(--ink, #1a1f16);
}
.disc-hub-section__lead {
  margin: 0;
  color: var(--ink-2, #5a6354);
  line-height: 1.6;
  max-width: 52ch;
}

/* כוונות */
.disc-hub-intents {
  margin: clamp(28px, 5vw, 48px) 0;
}
.disc-hub-intents__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr));
  gap: 12px;
}
.disc-hub-intent {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 108px;
  padding: 16px 14px;
  border: 1.5px solid rgba(61, 107, 79, 0.18);
  border-radius: 16px;
  background: linear-gradient(165deg, #fff 0%, #f6faf3 100%);
  cursor: pointer;
  transition: border-color 180ms, box-shadow 180ms, transform 180ms, background 180ms;
  font: inherit;
  color: inherit;
  text-align: center;
}
.disc-hub-intent__icon {
  font-size: 1.65rem;
  line-height: 1;
}
.disc-hub-intent__label {
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.35;
}
.disc-hub-intent:hover,
.disc-hub-intent:focus-visible {
  border-color: rgba(61, 107, 79, 0.45);
  box-shadow: 0 8px 24px rgba(45, 74, 62, 0.1);
  transform: translateY(-2px);
  outline: none;
}
.disc-hub-intent.is-active {
  border-color: var(--exp-success, #3d6b4f);
  background: linear-gradient(165deg, #eef6e8 0%, #dcecd2 100%);
  box-shadow: 0 10px 28px rgba(45, 74, 62, 0.14);
}

/* חוויות חמות */
.disc-hub-hot {
  margin: clamp(32px, 5vw, 52px) 0;
}
.disc-hub-hot__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  gap: clamp(14px, 2.5vw, 22px);
}
.disc-hub-hot__item .retreat-card {
  height: 100%;
}

/* קטגוריות */
.disc-hub-categories {
  margin: clamp(32px, 5vw, 52px) 0;
}
.disc-hub-categories__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr));
  gap: clamp(14px, 2.5vw, 20px);
}
.disc-hub-categories__grid .disc-hub-card.is-hidden {
  display: none;
}
.disc-hub-categories__actions {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.disc-hub-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1.5px solid rgba(61, 107, 79, 0.35);
  background: #fff;
  color: var(--exp-success, #3d6b4f);
  font-weight: 700;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  transition: background 160ms, color 160ms, border-color 160ms;
}
.disc-hub-btn:hover,
.disc-hub-btn:focus-visible {
  background: var(--exp-success, #3d6b4f);
  color: #fff;
  outline: none;
}
.disc-hub-btn__count {
  font-weight: 500;
  opacity: 0.85;
  font-size: 0.9em;
}
.disc-hub-empty {
  margin: 0;
  color: var(--ink-2, #5a6354);
  text-align: center;
}

/* כרטיס קטגוריה */
.disc-hub-card {
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(45, 74, 62, 0.1);
  box-shadow: 0 4px 18px rgba(30, 50, 35, 0.06);
  transition: transform 200ms, box-shadow 200ms, opacity 200ms;
}
.disc-hub-card.is-hidden {
  display: none;
}
.disc-hub-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}
.disc-hub-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, #a9c4a8, #5a8878);
}
.disc-hub-card__media .reats-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.disc-hub-card__media .reats-cover__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.disc-hub-card__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(15, 25, 18, 0.55) 100%);
  pointer-events: none;
}
.disc-hub-card__badge {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(255, 235, 180, 0.95);
  color: #6b3f00;
}
.disc-hub-card__type {
  position: absolute;
  bottom: 10px;
  right: 10px;
  z-index: 2;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #2d4a3e;
}
.disc-hub-card__body {
  padding: 14px 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.disc-hub-card__title {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.35;
  font-weight: 800;
}
.disc-hub-card__desc {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--ink-2, #5a6354);
}
.disc-hub-card__meta {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  font-size: 0.78rem;
  font-weight: 600;
}
.disc-hub-card__count {
  color: var(--exp-success, #3d6b4f);
}
.disc-hub-card__audience {
  color: var(--ink-2, #5a6354);
}
.disc-hub-card__audience::before {
  content: '·';
  margin-left: 6px;
  opacity: 0.5;
}
@media (hover: hover) {
  .disc-hub-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(30, 50, 35, 0.12);
  }
}

/* חיפוש בראש העמוד */
body.page-discovery-hub .search-section--listing-hub {
  margin-top: clamp(20px, 4vw, 32px);
}
body.page-discovery-hub .search-card--listing-hub {
  border-radius: 20px;
  box-shadow: 0 12px 40px rgba(45, 74, 62, 0.1);
}

/* FAQ + המלצות */
body.page-discovery-hub .hub-faq-section {
  margin-top: clamp(36px, 6vw, 56px);
}

/* רוחב מלא — פורטל המלצות + כל תוכן הגילוי */
body.page-discovery-hub .bz-main__content {
  padding-inline: 0;
}

body.page-discovery-hub .bz-page-content--discovery {
  padding: 0;
  width: 100%;
  max-width: none;
}

body.page-discovery-hub .disc-hub-intents,
body.page-discovery-hub .disc-hub-hot,
body.page-discovery-hub .disc-hub-categories,
body.page-discovery-hub .hub-faq-section,
body.page-discovery-hub .community-banner {
  padding-inline: var(--bz-pad-x);
  box-sizing: border-box;
}

body.page-discovery-hub .search-section--listing-hub .container {
  max-width: none;
  width: 100%;
  padding-inline: var(--bz-pad-x);
}

body.page-discovery-hub .cat-discovery-portal {
  width: 100%;
  max-width: none;
  margin-top: clamp(28px, 5vw, 44px);
  padding-inline: 0;
}

body.page-discovery-hub .cat-discovery-portal .exp-portal__inner {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-inline: var(--bz-pad-x);
  box-sizing: border-box;
}

body.page-discovery-hub .cat-discovery-portal .cat-discovery-portal__carousel,
body.page-discovery-hub .cat-discovery-portal .cat-discovery-portal__track {
  width: 100%;
}

body.page-discovery-hub .cat-discovery-portal .cat-discovery-portal__sub {
  max-width: none;
}

@media (min-width: 900px) {
  .disc-hub-categories__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .disc-hub-hot__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .disc-hub-categories__grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (min-width: 1280px) {
  .disc-hub-hot__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  body.page-discovery-hub .cat-discovery-portal .cat-discovery-portal__track {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .disc-hub-intents__grid {
    grid-template-columns: 1fr 1fr;
  }
  .disc-hub-intent {
    min-height: 96px;
    padding: 12px 10px;
  }
  .disc-hub-intent__label {
    font-size: 0.82rem;
  }
}
