/* רשימת מעונות – כל הסגנונות תחומים תחת .maonot כדי לא להתנגש בתבנית */
.maonot {
  /* צבעי הלוגו של אליעד */
  --m-navy: #23516d;
  --m-teal: #1cab9f;
  --m-pink: #e91e6b;
  --m-purple: #8853a3;
  --m-yellow: #fcc31a;

  --m-accent: var(--m-navy);
  --m-accent-soft: #e8f0f5;
  --m-text: #23516d;
  --m-muted: #5a6f7d;
  --m-border: #e2e8ec;
  --m-card: #ffffff;
  --m-wa: #158b81;       /* טורקיז הלוגו, כהה מעט לקריאות טקסט לבן */
  --m-wa-hover: #0f6f67;
  direction: rtl;
  text-align: right;
  color: var(--m-text);
  font-family: 'Rubik', Arial, sans-serif;
  line-height: 1.5;
}
.maonot button, .maonot input { font-family: 'Rubik', Arial, sans-serif; }
.maonot *, .maonot *::before, .maonot *::after { box-sizing: border-box; }

.maonot__toolbar { display: flex; flex-direction: column; gap: 14px; margin-bottom: 12px; }

.maonot__search {
  width: 100%;
  max-width: 460px;
  padding: 11px 14px;
  font: inherit;
  font-size: 16px;
  color: var(--m-text);
  background: #fff;
  border: 1px solid var(--m-border);
  border-radius: 10px;
  outline: none;
}
.maonot__search:focus { border-color: var(--m-accent); box-shadow: 0 0 0 3px var(--m-accent-soft); }

.maonot__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.maonot__chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  font: inherit;
  font-size: 15px;
  color: var(--m-text);
  background: #fff;
  border: 1px solid var(--m-border);
  border-radius: 999px;
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
}
.maonot__chip:hover { border-color: var(--m-accent); }
.maonot__chip[aria-pressed="true"] { background: var(--m-accent); border-color: var(--m-accent); color: #fff; }
.maonot__count {
  font-size: 12px;
  min-width: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--m-accent-soft);
  color: var(--m-accent);
  text-align: center;
}
.maonot__chip[aria-pressed="true"] .maonot__count { background: rgba(255,255,255,.25); color: #fff; }

.maonot__summary { margin: 0 0 14px; font-size: 14px; color: var(--m-muted); }

.maonot__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.maonot__card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
  background: var(--m-card);
  border: 1px solid var(--m-border);
  border-top: 4px solid var(--m-stripe, var(--m-teal));
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(16,24,40,.04);
}
.maonot__card[data-c="0"] { --m-stripe: var(--m-teal); }
.maonot__card[data-c="1"] { --m-stripe: var(--m-pink); }
.maonot__card[data-c="2"] { --m-stripe: var(--m-purple); }
.maonot__card[data-c="3"] { --m-stripe: var(--m-yellow); }
.maonot__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.maonot__name { margin: 0; font-family: 'Rubik', Arial, sans-serif; font-size: 19px; font-weight: 700; line-height: 1.3; color: var(--m-navy); }
.maonot__tag {
  flex-shrink: 0;
  font-size: 12px;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--m-accent-soft);
  color: var(--m-accent);
  white-space: nowrap;
}

.maonot__details { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.maonot__details li { display: flex; align-items: flex-start; gap: 8px; margin: 0; font-size: 15px; color: var(--m-muted); }
.maonot__details a { color: var(--m-text); text-decoration: none; border-bottom: 1px dotted var(--m-muted); }
.maonot__details a:hover { color: var(--m-accent); border-color: var(--m-accent); }

.maonot__icon { display: inline-flex; width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; }
.maonot__icon svg { width: 100%; height: 100%; fill: currentColor; }
.maonot__details .maonot__icon { color: var(--m-teal); }

.maonot__register {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  font-size: 15px;
  font-weight: 500;
  color: #fff !important;
  background: var(--m-wa);
  border-radius: 10px;
  text-decoration: none !important;
  transition: background .15s;
}
.maonot__register:hover { background: var(--m-wa-hover); }
.maonot__register .maonot__icon { width: 20px; height: 20px; margin: 0; }

@media (max-width: 600px) {
  .maonot__chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .maonot__chips::-webkit-scrollbar { display: none; }
  .maonot__chip { flex-shrink: 0; }
  .maonot__search { max-width: none; }
}
