/* GAON projects - the chips, the logo row and the back link.
 *
 * Chip geometry is read from the desktop single 1:3113 (nodes 1:3236, 1:3238,
 * 1:3240): 33 tall, radius 10, a half-pixel dark hairline, and a background
 * that is barely there - 5% white over whatever is behind, blurred. On the
 * page's own #F4F4F4 that reads as a near-transparent chip with a fine outline.
 */

/* The division badge is not one of the tags. In the frame (278:4184) it is
   filled with the division's own colour rather than outlined, sits a little
   shorter at 28, and carries the name in regular weight. It reads as the
   heading of the group, which is what it is. */
.gpr-division{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-block-size: 28px;
  padding-block: 0;
  padding-inline: 15px;
  border: 1.5px solid var(--gpr-division-bg, #8EB1F2);
  border-radius: 10px;
  background-color: var(--gpr-division-bg, #8EB1F2);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  color: var(--gpr-division-ink, #040404);
  font-weight: 400;
  font-size: clamp(15px, 14.33px + 0.185vw, 17px);
  line-height: 1.25;
  white-space: nowrap;
}

.gpr-tags__item,
.gpr-logos__item{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-block-size: clamp(30.8px, 30.06px + 0.204vw, 33px);
  padding-block: 4px;
  padding-inline: clamp(14px, 13.67px + 0.093vw, 15px);
  border: 0.5px solid #1E1E1E;
  border-radius: clamp(9.33px, 9.11px + 0.062vw, 10px);
  background-color: rgba(255,255,255,0.05);
  backdrop-filter: blur(6.5px);
  -webkit-backdrop-filter: blur(6.5px);
  color: #2B2B29;
  font-size: clamp(14.93px, 14.57px + 0.099vw, 16px);
  line-height: 1.25;
  white-space: nowrap;
}

.gpr-years{ unicode-bidi: isolate; }

.gpr-logos,
.gpr-tags{
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(9.33px, 9.11px + 0.062vw, 10px);
}

/* Logos share one cap height so mixed marks read as one row. Width is free,
   so a wide wordmark and a square emblem both keep their proportions. */
.gpr-logos .gpr-logos__img{
  display: block;
  inline-size: auto;
  block-size: 15px;
  max-inline-size: 90px;
  object-fit: contain;
}

/* "לכל הפרויקטים" - 24 bold with the brand arrow, centred under the gallery. */
.gpr-back{
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #07080A;
  font-weight: 700;
  font-size: clamp(19px, 17.33px + 0.463vw, 24px);
  line-height: 1.17;
  text-decoration: underline;
  text-underline-offset: 8px;
  text-decoration-thickness: 1px;
}
.gpr-back:hover,
.gpr-back:focus-visible{ text-decoration-thickness: 2px; }
.gpr-back__arrow{ display: inline-flex; }
.gpr-back__arrow svg{ display: block; width: 26px; height: 26px; fill: currentColor; }

/* The project page sits on the group's off-white, not on the theme's white. */
body.single-gaon_project{ background-color: #F4F4F4; }

/* Phone: the logo row stays on one line and scrolls sideways, so eight marks
   do not stack four deep under the card. The scrollbar is left visible - it is
   the only affordance a keyboard or switch user gets here. */
@media (max-width: 767px){
  .gpr-logos{
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-block-end: 6px;
    scrollbar-width: thin;
  }
  .gpr-logos__item{ flex: 0 0 auto; }
}