/* =========================================================
   CamelPro — página de trabalhos (filtro + grade)
   ========================================================= */
.works-page { padding: calc(var(--header-h) + 22px) 20px 120px; min-height: 100vh; }

.works-page__title {
  text-align: center; color: var(--gold);
  font-size: 44px; line-height: 1.2; font-weight: bold;
}
html[lang="he"] .works-page__title { font-family: var(--f-he); }

.cat-tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 26px; margin-top: 28px; }
.cat-tabs button {
  font-size: 20px; text-transform: uppercase;
  color: rgba(255, 255, 255, .7); transition: color .2s;
}
.cat-tabs button:hover { color: rgba(255, 255, 255, .9); }
.cat-tabs button[aria-pressed="true"] { color: var(--gold); }
html[lang="he"] .cat-tabs button { font-family: var(--f-he); font-size: 22px; }

.works-page__msg {
  max-width: 600px; margin: 18px auto 0; text-align: center;
  font-size: 20px; line-height: 1.45; color: #b3b3b3;
}

.works-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 440px));
  justify-content: center; gap: 40px 8px; margin-top: 40px;
}

/* lista do celular escondida no computador */
.cat-drop, .works-stories { display: none; }

/* pedido do Vini (21/10): sempre três por fileira, até no tablet */
@media (max-width: 960px) {
  .works-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  .works-page { padding: var(--header2-h) 0 80px; }
  .works-page__title, .cat-tabs, .works-grid { display: none; }

  .cat-drop { display: block; margin: 53px 0 75px; background: #fff; color: #000; }
  .cat-drop__bar {
    width: 100%; height: 75px; padding: 0 34px;
    display: flex; align-items: center; justify-content: space-between;
    color: #000; font-size: 21px; font-weight: bold;
  }
  .cat-drop__bar svg { width: 20px; height: 12px; transition: transform .3s; }
  .cat-drop__bar[aria-expanded="true"] svg { transform: rotate(180deg); }
  .cat-drop__panel { display: flex; flex-direction: column; align-items: flex-start; padding: 0 35px 20px; }
  .cat-drop__panel[hidden] { display: none; }
  .cat-drop__panel button { font-size: 25px; margin-top: 10px; color: #000; text-align: start; }
  .cat-drop__panel button[aria-pressed="true"] { color: var(--bronze); }
  html[lang="he"] .cat-drop__bar, html[lang="he"] .cat-drop__panel button { font-family: var(--f-he); }

  .works-page__msg { margin: -50px 20px 40px; font-size: 18px; }

  .works-stories { display: flex; flex-direction: column; align-items: center; }
}
