/* Press article grid (replaces the hand-placed Tilda cards so articles can be added and paged).
   Desktop sizes match the 1440 design; fit-viewport.js zooms the page to the window. */
.pl {
  background: #17212e;
  padding: 114px 0 120px;
}
.pl__grid {
  box-sizing: border-box;
  width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 342px);
  column-gap: 79px;
  row-gap: 74px;
  list-style: none;
  /* the Tilda base styles pad every list (#allrecords ul) */
  padding: 0 !important;
  margin-bottom: 0 !important;
}
.pl__item[hidden] { display: none; }
/* cards in a row share a height, so READ MORE lines up even when a title wraps */
.pl__item { display: flex; }
.pl__card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  color: inherit !important;
  text-decoration: none !important;
}
.pl__img {
  display: block;
  width: 342px;
  height: 205px;
  border-radius: 40px;
  object-fit: cover;
  background: #222d3b;
  transition: opacity 0.2s ease-in-out;
}
.pl__card:hover .pl__img { opacity: 0.85; }
.pl__meta {
  margin: 20px 0 0;
  font: 400 13px/1.2 'Helvetica', Arial, sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8a94a3;
}
.pl__title {
  margin: 6px 0 0;
  font: 400 44px/1.15 'Anton', Arial, sans-serif;
  letter-spacing: -1px;
  color: #fff;
  white-space: nowrap;
  max-width: 342px;
}
/* press-list.js shrinks long titles to fit; one that still doesn't fit at the minimum wraps */
.pl__title--wrap { white-space: normal; }
.pl__desc {
  margin: 12px 0 0;
  min-height: 84px;
  flex-grow: 1;
  font: 300 18px/1.15 'Helvetica', Arial, sans-serif;
  color: #d1d4d7;
}
.pl__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font: 400 24px/1.15 'Anton', Arial, sans-serif;
  color: #eafc76;
}
.pl__more svg { width: 24px; height: 14px; transition: transform 0.2s ease-in-out; }
.pl__card:hover .pl__more svg { transform: translateX(4px); }

.pl__pager {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin: 80px auto 0;
}
.pl__pager[hidden] { display: none; }
.pl__page,
.pl__step {
  min-width: 52px;
  height: 52px;
  padding: 0 14px;
  box-sizing: border-box;
  border: 2px solid #eafc76;
  border-radius: 26px;
  background: transparent;
  color: #eafc76;
  font: 400 24px/1 'Anton', Arial, sans-serif;
  cursor: pointer;
  transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
}
.pl__page:hover,
.pl__step:hover:not(:disabled) { background: rgba(234, 252, 118, 0.12); }
.pl__page[aria-current="page"] { background: #eafc76; color: #17212e; cursor: default; }
.pl__step:disabled { opacity: 0.3; cursor: default; }
.pl__step svg { width: 24px; height: 14px; display: block; margin: 0 auto; }
.pl__step--prev svg { transform: rotate(180deg); }

/* Phones: one column, sized like the Tilda phone layout */
@media screen and (max-width: 479px) {
  .pl { padding: 30px 0 60px; }
  .pl__grid {
    width: 320px;
    grid-template-columns: 1fr;
    row-gap: 44px;
  }
  .pl__img { width: 280px; height: 168px; border-radius: 20px; }
  .pl__meta { margin-top: 14px; font-size: 10px; }
  .pl__title { margin-top: 4px; font-size: 30px; white-space: normal; }
  .pl__desc { margin-top: 8px; min-height: 0; font-size: 13px; }
  .pl__more { margin-top: 12px; font-size: 16px; }
  .pl__more svg { width: 17px; height: 10px; }
  .pl__pager { margin-top: 50px; gap: 10px; }
  .pl__page, .pl__step { min-width: 40px; height: 40px; border-radius: 20px; font-size: 18px; padding: 0 10px; }
}
