.rh-match-history {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid #e8e1e9;
}

.rh-match-history > header {
  display: flex;
  max-width: none;
  margin-bottom: 1.5rem;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.rh-match-history > header h2 {
  margin: .2rem 0;
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.rh-history-eyebrow {
  margin: 0;
  color: #75147d;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.rh-history-seasons {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.rh-history-seasons label {
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #6e6471;
}

.rh-history-seasons select {
  padding: 9px 34px 9px 14px;
  border: 1px solid #e8e1e9;
  border-radius: 999px;
  appearance: none;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%2375147d'%3E%3Cpath d='M5.5 7.5 10 12l4.5-4.5z'/%3E%3C/svg%3E") right 12px center / 14px no-repeat;
  color: #75147d;
  font-size: .85rem;
  font-weight: 700;
  cursor: pointer;
}

.rh-history-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(460px, 1fr));
  gap: 20px;
}

.rh-history-empty {
  margin: 0;
  padding: 2rem;
  border: 1px solid #e8e1e9;
  border-radius: 12px;
  background: #fff;
  color: #6e6471;
}

.rh-history-card {
  overflow: hidden;
  border: 1px solid #e8e1e9;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 34px rgb(64 25 70 / 8%);
  transition: box-shadow .2s ease, transform .2s ease;
}

.rh-history-card:hover {
  box-shadow: 0 18px 44px rgb(64 25 70 / 14%);
  transform: translateY(-2px);
}

.rh-history-card__row {
  display: grid;
  grid-template-columns: 1fr;
}

.rh-history-card.has-image .rh-history-card__row {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 34%);
}

.rh-history-card__main {
  display: flex;
  flex-direction: column;
}

.rh-history-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
}

.rh-history-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 28px 28px 0;
}

.rh-history-card p:empty {
  display: none;
}

.rh-history-card time {
  color: #75147d;
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.rh-history-card h3 {
  margin: .35rem 0;
  font-size: 1.35rem;
  line-height: 1.25;
}

.rh-history-location {
  margin: 0;
  color: #6e6471;
  font-size: .92rem;
}

.rh-awards-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.rh-award {
  padding: 12px 14px;
  border-radius: 9px;
  background: #f7eff8;
}

.rh-award--first {
  background: #fbf1da;
}

.rh-award strong {
  color: #43104c;
}

.rh-award-klasse-label {
  display: block;
  margin-bottom: 2px;
  color: #75147d;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.rh-award--first strong::after {
  content: "1e prijs";
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #a06b00;
  color: #fff;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .03em;
  text-transform: uppercase;
  vertical-align: middle;
}

.rh-history-card .rh-award--first strong::after {
  display: none;
}

.rh-history-card .rh-awards-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.rh-history-card .rh-award {
  flex: 1 1 200px;
}

.rh-award ul {
  display: grid;
  gap: 5px;
  margin: 9px 0 0;
  padding: 0;
  list-style: none;
}

.rh-award li {
  font-size: .9rem;
}

.rh-award li span {
  color: #a06b00;
}

.rh-history-more {
  margin-top: auto;
  padding: 22px 28px 28px;
}

.rh-button {
  display: inline-block;
  padding: 11px 20px;
  border-radius: 999px;
  color: #fff;
  background: #75147d;
  font-size: .88rem;
  font-weight: 800;
  text-decoration: none;
  transition: background-color .18s ease, transform .18s ease;
}

.rh-button:hover {
  background: #5c0f62;
  transform: translateY(-1px);
}

.rh-match-detail-page > .rh-match-detail-back {
  width: 100% !important;
  max-width: none !important;
  margin: 0 0 1rem !important;
}

.rh-match-detail-back a {
  color: #75147d;
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
}

.rh-match-detail-back a:hover {
  text-decoration: underline;
}

.rh-match-detail-hero {
  display: grid;
  grid-template-columns: 1fr;
  overflow: hidden;
  border: 1px solid #e8e1e9;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 16px 42px rgb(64 25 70 / 12%);
}

.rh-match-detail-hero.has-image {
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr);
}

.rh-match-detail-summary {
  padding: clamp(28px, 5vw, 55px);
}

.rh-match-detail-summary h1 {
  margin: .35rem 0 1rem;
  font-size: clamp(2.1rem, 5vw, 4rem);
}

.rh-match-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 18px;
  color: #6e6471;
}

.rh-match-detail-summary p:empty {
  display: none;
}

.rh-match-detail-hero figure {
  margin: 0;
}

.rh-match-photo-trigger {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
}

.rh-match-detail-hero figure img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
}

.rh-lightbox {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgb(20 8 22 / 88%);
  opacity: 0;
  transition: opacity .2s ease;
}

.rh-lightbox.is-open {
  opacity: 1;
}

.rh-lightbox img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgb(0 0 0 / 40%);
}

.rh-lightbox__close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: rgb(255 255 255 / 15%);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.rh-lightbox__close:hover {
  background: rgb(255 255 255 / 25%);
}

body.rh-lightbox-open {
  overflow: hidden;
}

.rh-match-detail-page > .rh-match-awards {
  width: 100% !important;
  max-width: none !important;
  margin-top: 3rem !important;
}

.rh-match-awards__title {
  margin: 0 0 1.25rem;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
}

.rh-award-klasse {
  margin-bottom: 1.75rem;
}

.rh-award-klasse:last-child {
  margin-bottom: 0;
}

.rh-award-klasse__title {
  margin: 0 0 .85rem;
  color: #75147d;
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.rh-match-awards .rh-awards-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.rh-match-detail-page > .rh-match-report {
  width: 100% !important;
  max-width: 900px !important;
  margin-top: 3rem !important;
  margin-left: 0 !important;
  margin-right: auto !important;
}

.rh-match-report > h2 {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}

@media (max-width: 720px) {
  .rh-match-history > header {
    align-items: flex-start;
    flex-direction: column;
  }

  .rh-match-detail-hero.has-image {
    grid-template-columns: 1fr;
  }

  .rh-history-grid {
    grid-template-columns: 1fr;
  }

  .rh-history-card.has-image .rh-history-card__row {
    grid-template-columns: 1fr;
  }

  .rh-history-card__image {
    order: -1;
  }

  .rh-history-card__image img {
    min-height: 0;
    height: 200px;
  }

  .rh-history-card__body {
    padding: 22px 22px 0;
  }

  .rh-history-more {
    padding: 18px 22px 22px;
  }

  .rh-match-detail-hero figure {
    order: -1;
  }

  .rh-match-detail-hero figure img {
    height: 220px;
  }

  .rh-match-awards .rh-awards-list {
    grid-template-columns: 1fr;
  }
}
