/* pro.css – אזור התיירנים (עדשה כהה). נטען רק בעמודי התיירנים. */
[data-lens="pro"] {
  --ground: #0B2E42;           /* כחול-לילה מהלוגו */
  --ink: #F4F1EA;              /* 12.6:1 */
  --muted: #A8B8C2;            /* 6.9:1 */
  --line: #24495E;             /* דקורטיבי */
  --panel: #123B53;            /* muted עליו 6.0:1 */
  --sea: #9FD0E8;              /* קישורים על כהה · 9.6:1 */
  --focus: #9FD0E8;
  background: var(--ground);
  color: var(--ink);
}
.tn-pro { background: #0B2E42; }
.tn-pro .site-footer { background: #0B2E42; border-top-color: #24495E; }
.tn-pro .site-footer__inner { color: #A8B8C2; } /* 6.9:1 */
.tn-pro .site-footer a { color: #F4F1EA; }
.pro .btn--cta { color: #0B2E42; } /* כתום + כחול-לילה · 4.7:1 */
.pro .link, .pro-link { color: var(--sea); font-weight: 600; display: inline-flex; align-items: center; min-height: var(--tap); }

/* אבנים בעדשה הכהה */
.stone--mist { background: #A8B8C2; }
.board__type--orange { color: #F08A2E; }
.board__type--turquoise { color: #06ACB8; }
.board__type--sand { color: #D09B48; }
.board__type--olive { color: #9DB45A; }
.board__type--mist { color: #A8B8C2; }

.pro-section-title { font-size: var(--fs-h2); line-height: 1.06; }

/* ---------- פתיחה ---------- */
.pro-hero__inner { display: grid; gap: 56px; padding-block: clamp(48px, 7vw, 96px) 56px; }
.pro-hero__label { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 1.0625rem; }
.pro-hero__title { margin-top: 20px; font-size: clamp(2.75rem, 1.6rem + 4vw, 5rem); line-height: 1.06; }
.pro-hero__lead { margin-top: 24px; max-width: 34em; color: var(--muted); font-size: 1.1875rem; }
.pro-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 32px; }
@media (min-width: 1000px) {
  .pro-hero__inner { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: start; }
}

/* ---------- לוח הענף ---------- */
.board { border-top: 2px solid var(--ink); min-width: 0; }
.board__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-top: 18px; }
.board__heading { font-size: 2rem; }
.board__all { color: var(--sea); font-size: var(--fs-small); font-weight: 600; }
.board__filters { display: flex; flex-wrap: wrap; gap: 8px; padding-block: 14px; }
.board__filter {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  padding-inline: 16px;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-ui);
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: var(--fs-small);
  text-decoration: none;
  cursor: pointer;
  transition: background-color .16s var(--ease-out), color .16s var(--ease-out);
}
.board__filter[aria-pressed="true"],
.board__filter[aria-current="page"] { background: var(--ink); color: var(--ground); }
.board__list { list-style: none; margin: 0; padding: 0; }
.board__row { border-bottom: 1px solid var(--line); }
.board__link {
  display: grid;
  grid-template-columns: 22px 84px minmax(0, 1fr) auto;
  align-items: start;
  gap: 4px 16px;
  padding: 16px 8px;
  color: inherit;
  text-decoration: none;
  transition: background-color .16s var(--ease-out);
}
.board__link .stone { margin-top: 6px; }
@media (hover: hover) and (pointer: fine) { a.board__link:hover { background: var(--panel); } }
.board__type { font-size: var(--fs-small); font-weight: 700; padding-top: 2px; }
.board__main { display: flex; flex-direction: column; min-width: 0; }
.board__title { font-weight: 600; line-height: 1.4; }
.board__meta { font-size: var(--fs-small); color: var(--muted); }
.board__date { font-size: var(--fs-small); color: var(--muted); padding-top: 2px; white-space: nowrap; }
.board__note, .board__empty { margin-top: 12px; font-size: var(--fs-small); color: var(--muted); }
@media (max-width: 599px) {
  .board__link { grid-template-columns: 22px minmax(0, 1fr) auto; }
  .board__type { grid-column: 2; grid-row: 1; }
  .board__date { grid-column: 3; grid-row: 1; }
  .board__main { grid-column: 2 / 4; grid-row: 2; }
}

/* ---------- רצועת פסיפס ---------- */
.pro-band { padding-block: 8px; }
.pro-band__frame { height: clamp(200px, 26vw, 400px); }

/* ---------- הכלים ---------- */
.pro-tools { padding-block: var(--section); }
.pro-tools__grid { display: grid; gap: 24px; margin-top: 32px; }
@media (min-width: 1000px) { .pro-tools__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
.pro-tools__index { display: flex; flex-direction: column; gap: 20px; padding: clamp(24px, 3vw, 40px); background: var(--panel); }
.pro-tools__title { display: flex; align-items: center; gap: 12px; font-size: 2rem; }
.pro-tools__title--sm { font-size: 1.5rem; }
.pro-tools__text { color: var(--muted); max-width: 36em; }
.pro-search { display: flex; flex-direction: column; gap: 8px; }
.pro-search__label { font-size: var(--fs-small); color: var(--muted); }
.pro-search__row { display: flex; flex-wrap: wrap; gap: 8px; }
.pro-search__input {
  flex: 1 1 260px;
  min-height: 56px;
  padding-inline: 16px;
  border: 1.5px solid var(--ink);
  border-radius: 0;
  background: var(--ground);
  color: var(--ink);
  font: inherit;
}
.pro-search__input::placeholder { color: var(--muted); }
.pro-tools__cats { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pro-chip {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  padding-inline: 14px;
  border: 1.5px solid var(--line);
  color: var(--ink);
  font-size: var(--fs-small);
  text-decoration: none;
}
.pro-chip:hover { border-color: var(--ink); }
.pro-tools__side { display: flex; flex-direction: column; gap: 24px; }
.pro-tools__jobs { border-top: 2px solid var(--ink); padding-top: 18px; }
.pro-tools__jobs .board__link { grid-template-columns: 22px minmax(0, 1fr) auto; }
.pro-tools__jobs .board__type { display: none; }
.pro-tools__forum {
  --ink: #0B2E42; --muted: #5A6670; --sea: #065884; --focus: #065884;
  padding: 28px;
  background: #F4F1EA;
  color: var(--ink);
}
.pro-tools__forum .pro-tools__text { color: var(--muted); }
.pro-tools__lock { display: flex; align-items: center; gap: 8px; font-size: var(--fs-small); font-weight: 700; }
.pro-tools__forum .pro-tools__title { margin-top: 8px; }

/* ---------- מגמות ---------- */
.pro-trends { padding-block: 0 var(--section); }
.pro-trends__inner { display: grid; gap: 40px; }
@media (min-width: 1000px) { .pro-trends__inner { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.pro-trends__note { margin-top: 18px; color: var(--muted); max-width: 30em; }
.pro-trends__updated { margin-top: 12px; font-size: var(--fs-small); color: var(--muted); }
.pro-trends__list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.pro-trends__item { display: flex; align-items: center; gap: 18px; padding-block: 18px; border-bottom: 1px solid var(--line); }
.pro-trends__rank { width: 32px; font-size: 1.75rem; font-weight: 800; color: var(--muted); font-variant-numeric: tabular-nums; }
.pro-trends__query { flex: 1; font-weight: 600; font-size: 1.125rem; min-width: 0; }
.pro-trends__region { font-size: var(--fs-small); color: var(--muted); }

/* ---------- יומן ---------- */
.pro-cal { padding-block: 0 var(--section); }
.pro-cal__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 28px; }
.pro-cal__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; position: relative; }
.pro-cal__item { position: relative; padding-top: 0; }
.pro-cal__date { margin-top: 16px; font-size: var(--fs-small); color: var(--muted); }
.pro-cal__title { margin-top: 6px; font-size: 1.375rem; font-weight: 800; line-height: 1.25; }
.pro-cal__title a { color: inherit; }
.pro-cal__meta { margin-top: 6px; font-size: var(--fs-small); color: var(--muted); }
@media (min-width: 900px) {
  .pro-cal__list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
  .pro-cal__list::before { content: ""; position: absolute; inset-inline: 0; top: 7px; height: 2px; background: var(--line); }
}

/* ---------- אזור חברים (בהיר) ---------- */
.pro-members {
  --ground: #F4F1EA; --ink: #0B2E42; --muted: #5A6670; --sea: #065884; --focus: #065884;
  background: var(--ground);
  color: var(--ink);
}
.pro-members__inner { display: grid; gap: 48px; padding-block: var(--section); align-items: center; }
@media (min-width: 1000px) { .pro-members__inner { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.pro-members__lead { margin-top: 18px; color: var(--muted); }
.pro-members__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px 40px; }
@media (min-width: 600px) { .pro-members__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pro-members__item { display: flex; flex-direction: column; gap: 4px; border-top: 2px solid var(--ink); padding-top: 14px; }
.pro-members__title { font-size: 1.5rem; font-weight: 800; }
.pro-members__text { color: var(--muted); }

/* ---------- ארכיון ופריט ---------- */
.pro-archive, .pro-single { padding-block: var(--section); }
.pro-single__article { max-width: 860px; display: flex; flex-direction: column; gap: 20px; }
.pro-single__title { font-size: var(--fs-h2); }
.pro-single__meta { display: flex; flex-wrap: wrap; gap: 16px 40px; margin: 0; }
.pro-single__meta dt { font-size: var(--fs-small); color: var(--muted); }
.pro-single__meta dd { margin: 0; font-weight: 600; }
.pro-single__content { max-width: 65ch; }
