.gp-hub .gd-tools {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: .625rem;
  margin: 1.2rem 0 3.25rem;
}

.gp-hub .gd-tools a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: .75rem .5rem;
  border: 1px solid var(--gd-gold);
  background: #fffdf7;
  color: var(--gd-ink);
  text-align: center;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.5;
}

.gp-hub .gd-tools a:is(:hover, :focus-visible) {
  border-color: var(--gd-ink);
  background: var(--gd-ink);
  color: #fffdf7;
}

@media (max-width: 54rem) {
  .gp-hub .gd-tools {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 1rem 0 2rem;
  }

  .gp-hub .gd-tools a:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}

.gp-hub .gd-edition,
.gp-hub .gd-archive {
  margin-block-start: clamp(2.5rem, 5vw, 4.75rem);
}

.gp-hub .gd-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: .65rem;
  border-bottom: 1px solid var(--gd-gold);
}

.gp-hub .gd-section-head h2 {
  margin: 0;
  font-size: clamp(1.72rem, 3vw, 2.5rem);
  line-height: 1.3;
  letter-spacing: .035em;
}

.gp-hub .gd-section-head a,
.gp-hub .gd-count {
  flex: 0 0 auto;
  font-size: .92rem;
  color: #685b43;
}

.gp-hub .gd-latest-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  column-gap: clamp(1.4rem, 3vw, 3rem);
}

.gp-hub .gd-feature,
.gp-hub .gd-archive-entry {
  display: grid;
  align-items: center;
  color: var(--gd-ink);
  text-decoration: none;
  min-width: 0;
}

.gp-hub .gd-feature {
  grid-template-columns: minmax(7rem, 42%) minmax(0, 1fr);
  column-gap: clamp(.85rem, 1.7vw, 1.45rem);
  padding-block: 1.25rem;
}

.gp-hub .gd-feature-lead {
  grid-row: span 2;
  display: block;
  padding-block: 0;
}

.gp-hub .gd-feature:not(.gd-feature-lead) + .gd-feature {
  border-top: 1px solid var(--gd-line);
}

.gp-hub .gd-feature img,
.gp-hub .gd-archive-entry img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center;
  aspect-ratio: 1.43;
}

.gp-hub .gd-feature-lead img {
  aspect-ratio: 2.22;
}

.gp-hub .gd-feature-lead .gd-feature-copy {
  padding-top: .85rem;
}

.gp-hub .gd-byline {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .15rem .68rem;
  margin: 0;
  font-size: .875rem;
  line-height: 1.5;
  color: #675c47;
}

.gp-hub .gd-byline span {
  color: #6b512e;
  font-weight: 650;
}

.gp-hub .gd-byline time {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.gp-hub .gd-feature h3,
.gp-hub .gd-archive-entry h3 {
  margin: .4rem 0 0;
  font-size: clamp(1.16rem, 1.58vw, 1.48rem);
  line-height: 1.5;
  text-wrap: pretty;
}

.gp-hub .gd-feature-lead h3 {
  font-size: clamp(1.45rem, 2.25vw, 2rem);
  line-height: 1.38;
}

.gp-hub :is(.gd-feature, .gd-archive-entry):is(:hover, :focus-visible) h3 {
  color: #785829;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .18em;
}

.gp-hub .gd-archive {
  scroll-margin-top: .5rem;
}

.gp-hub .gd-archive .gd-section-head {
  margin-bottom: 0;
}

.gp-hub .gd-filters {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem .5rem;
  padding-block: .9rem;
}

.gp-hub .gd-filters a,
.gp-hub .gd-pagination :is(a, span) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: .38rem .9rem;
  color: var(--gd-ink);
  text-decoration: none;
  font-weight: 650;
  font-size: .97rem;
  line-height: 1.4;
}

.gp-hub .gd-filters a:hover,
.gp-hub .gd-pagination a:hover {
  background: #eee9db;
}

.gp-hub :is(.gd-filters, .gd-pagination) [aria-current="page"] {
  background: var(--gd-ink);
  color: #fffcf1;
}

.gp-hub .gd-archive-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(1.4rem, 3vw, 3rem);
  padding: 0;
  margin: 0;
}

.gp-hub .gd-archive-list li {
  min-width: 0;
  border-top: 1px solid var(--gd-line);
}

.gp-hub .gd-archive-entry {
  height: 100%;
  grid-template-columns: clamp(6.75rem, 11vw, 9.75rem) minmax(0, 1fr);
  gap: clamp(.8rem, 1.55vw, 1.35rem);
  padding-block: 1.2rem;
}

.gp-hub .gd-archive-entry h3 {
  font-size: clamp(1.08rem, 1.4vw, 1.3rem);
}

.gp-hub .gd-archive-entry p {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: .4rem 0 0;
  color: var(--gd-text);
  font-size: .95rem;
  line-height: 1.65;
}

.gp-hub .gd-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .3rem;
  border-top: 1px solid var(--gd-gold);
  padding-top: 1.35rem;
}

.gp-hub .gd-pagination :is(a, span) {
  min-width: 44px;
}

.gp-hub .gd-pagination [aria-disabled="true"] {
  color: #706d62;
  font-weight: 400;
}

@media (max-width: 760px) {
  .gp-hub .gd-latest-grid,
  .gp-hub .gd-archive-list {
    grid-template-columns: 1fr;
  }

  .gp-hub .gd-feature,
  .gp-hub .gd-archive-entry {
    grid-template-columns: clamp(5.25rem, 24vw, 8.5rem) minmax(0, 1fr);
    gap: .85rem;
    padding-block: .85rem;
  }

  .gp-hub .gd-feature-lead {
    grid-row: auto;
    padding: 0 0 1.2rem;
    border-bottom: 1px solid var(--gd-line);
  }

  .gp-hub .gd-feature-lead img {
    aspect-ratio: 1.95;
  }

  .gp-hub .gd-edition,
  .gp-hub .gd-archive {
    margin-block-start: 2.6rem;
  }

  .gp-hub .gd-section-head {
    margin-bottom: .9rem;
  }

  .gp-hub .gd-filters {
    gap: .18rem;
  }

  .gp-hub .gd-filters a {
    padding-inline: .65rem;
  }

  .gp-hub .gd-archive-entry p {
    display: none;
  }
}

@media (max-width: 375px) {
  .gp-hub .gd-filters a {
    padding-inline: .5rem;
    font-size: .92rem;
  }
}
