.spoe-article-archive-page .entry-header,
.spoe-article-archive-page .wp-block-post-title {
  display: none;
}

.spoe-article-archive {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(54px, 7vw, 92px) 0 80px;
  color: #171717;
}

.spoe-article-archive__head {
  max-width: 760px;
  margin-bottom: 38px;
}

.spoe-article-archive__eyebrow {
  margin: 0 0 10px;
  color: #ed1b24;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.spoe-article-archive__head h1 {
  margin: 0;
  color: #ed1b24;
  font-size: clamp(2.4rem, 6vw, 4.7rem);
  font-weight: 850;
  letter-spacing: -0.035em;
  line-height: 0.98;
}

.spoe-article-archive__head > p:last-child {
  margin: 18px 0 0;
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.55;
}

.spoe-article-archive__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.spoe-article-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(237, 27, 36, 0.16);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(38, 20, 21, 0.09);
}

.spoe-article-card__image {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #ed1b24, #b90f18);
  color: #fff;
}

.spoe-article-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.spoe-article-card__image:hover img,
.spoe-article-card__image:focus-visible img {
  transform: scale(1.035);
}

.spoe-article-card__image > span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 2.2rem;
  font-weight: 900;
}

.spoe-article-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px;
}

.spoe-article-card__date {
  margin: 0 0 10px;
  color: #ed1b24;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.spoe-article-card h2 {
  margin: 0;
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.18;
}

.spoe-article-card h2 a {
  color: #ed1b24;
  text-decoration: none;
}

.spoe-article-card__excerpt {
  margin: 16px 0 22px;
  color: #343434;
  font-size: 0.98rem;
  line-height: 1.55;
}

.spoe-article-card__button {
  display: inline-flex;
  min-height: 44px;
  margin-top: auto;
  align-items: center;
  justify-content: center;
  border: 2px solid #ed1b24;
  border-radius: 999px;
  padding: 9px 19px;
  background: #ed1b24;
  color: #fff;
  font-size: 0.94rem;
  font-weight: 800;
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease;
}

.spoe-article-card__button:hover,
.spoe-article-card__button:focus-visible {
  background: #fff;
  color: #ed1b24;
}

.spoe-article-pagination {
  display: flex;
  margin-top: 44px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 9px;
}

.spoe-article-pagination a,
.spoe-article-pagination span {
  display: inline-flex;
  min-width: 42px;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(237, 27, 36, 0.34);
  border-radius: 999px;
  padding: 8px 13px;
  color: #ed1b24;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
}

.spoe-article-pagination a:hover,
.spoe-article-pagination a:focus-visible,
.spoe-article-pagination .is-current {
  border-color: #ed1b24;
  background: #ed1b24;
  color: #fff;
}

.spoe-article-pagination__direction {
  padding-inline: 18px !important;
}

.spoe-article-archive__empty {
  border: 1px solid rgba(237, 27, 36, 0.22);
  border-radius: 22px;
  padding: 34px;
  background: #fff5f5;
}

.spoe-article-archive__empty h2 {
  margin-top: 0;
  color: #ed1b24;
}

@media (max-width: 900px) {
  .spoe-article-archive__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .spoe-article-archive {
    width: min(100% - 28px, 1160px);
    padding-top: 42px;
  }

  .spoe-article-archive__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .spoe-article-pagination {
    gap: 7px;
  }

  .spoe-article-pagination__direction {
    width: 100%;
  }
}
