.editorial-cards {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1.6rem, 2.5vw, 3.2rem);
  list-style: none;
  padding: 0;
}
* + .editorial-cards {
  margin-block-start: clamp(3.2rem, 5vw, 6.4rem);
}
.editorial-cards:has(+ *) {
  margin-block-end: clamp(3.2rem, 5vw, 6.4rem);
}
.editorial-cards > .editorial-cards__card {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  border-radius: 1.2rem;
  overflow: hidden;
  background: rgb(242.25, 247.25, 246.25);
  color: #181818;
}
.editorial-cards > .editorial-cards__card--light-green {
  background: rgb(213.9, 234.9, 188.4);
}
.editorial-cards > .editorial-cards__card--teal {
  background: #d6eff0;
}
.editorial-cards > .editorial-cards__card--clay {
  background: rgb(245.9, 233.65, 214.05);
}
.editorial-cards > .editorial-cards__card--white {
  background: #fff;
}
.editorial-cards > .editorial-cards__card::before {
  content: none;
}
.editorial-cards__image {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.editorial-cards__content {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 1.2rem;
  padding: clamp(1.8rem, 2.5vw, 3.2rem);
}
.editorial-cards__content > p {
  margin: 0;
}
.editorial-cards__title {
  margin: 0;
  color: #006450;
  font-size: clamp(1.9rem, 1.8vw, 2.5rem);
  line-height: 1.25;
}
.editorial-cards__content > .editorial-cards__title + p {
  margin-block-start: 0.8rem;
}
.editorial-cards__action {
  margin-top: auto;
  padding-top: 1.2rem;
}
.editorial-cards__action > .editorial-cards__link {
  display: inline-flex;
  align-items: center;
  font-family: var(--wp--preset--font-family--primary);
  font-size: var(--wp--preset--font-size--18);
  font-weight: 500;
  line-height: 1.05;
  text-align: center;
  text-decoration: none;
  padding: 1.2rem 2rem;
  color: #006450;
  background: transparent;
  border: 1px solid #006450;
  border-radius: 3.2rem;
  cursor: pointer;
  transition: color 0.25s cubic-bezier(0.4, 0, 0.2, 1), background 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.editorial-cards__action > .editorial-cards__link:after {
  content: "";
  background-color: currentColor;
  mask: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M15.0247 9.55859C15.2669 9.80078 15.2669 10.1992 15.0247 10.4414L7.52472 17.9414C7.28253 18.1836 6.88409 18.1836 6.64191 17.9414C6.39972 17.6992 6.39972 17.3008 6.64191 17.0586L13.7005 10L6.64191 2.94141C6.39972 2.69922 6.39972 2.30078 6.64191 2.05859C6.88409 1.81641 7.28253 1.81641 7.52472 2.05859L15.0247 9.55859Z' fill='%23000000'/%3E%3C/svg%3E");
  width: 20px;
  height: 20px;
  margin-left: 8px;
}
.editorial-cards__action > .editorial-cards__link:hover, .editorial-cards__action > .editorial-cards__link:active, .editorial-cards__action > .editorial-cards__link:focus {
  color: #fff;
  background: #006450;
}
.editorial-cards__action > .editorial-cards__link[href^=http]:not([href*="origin.luminated.co.uk"]):not([href*="originenterprises.com"]):not([href*="origin-plc-2026.luminated.co.uk"]):after, .editorial-cards__action > .editorial-cards__link[target=_blank]:after {
  margin-top: -3px;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 17 17' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M14.4213 9.38932V14.6834C14.4213 15.1515 14.2354 15.6003 13.9045 15.9313C13.5735 16.2622 13.1247 16.4481 12.6566 16.4481H2.95074C2.48271 16.4481 2.03385 16.2622 1.70291 15.9313C1.37196 15.6003 1.18604 15.1515 1.18604 14.6834V4.97755C1.18604 4.50952 1.37196 4.06066 1.70291 3.72972C2.03385 3.39877 2.48271 3.21284 2.95074 3.21284H8.24486' stroke='%23006450' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M10.8916 1.44814H16.1857V6.74225' stroke='%23006450' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M8.50619 9.12796L16.1862 1.44814' stroke='%23006450' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
  background-size: cover;
}
.editorial-cards__action > .editorial-cards__link[href*=wp-origin-resources-2024]:after {
  mask: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M15.0247 9.55859C15.2669 9.80078 15.2669 10.1992 15.0247 10.4414L7.52472 17.9414C7.28253 18.1836 6.88409 18.1836 6.64191 17.9414C6.39972 17.6992 6.39972 17.3008 6.64191 17.0586L13.7005 10L6.64191 2.94141C6.39972 2.69922 6.39972 2.30078 6.64191 2.05859C6.88409 1.81641 7.28253 1.81641 7.52472 2.05859L15.0247 9.55859Z' fill='%23000000'/%3E%3C/svg%3E") !important;
  background-size: cover;
}
.editorial-cards__action > .editorial-cards__link::after {
  flex-shrink: 0;
}
.editorial-cards__action > .editorial-cards__link:focus-visible {
  outline: 2px solid #006450;
  outline-offset: 3px;
}
@media (min-width: 900px) {
  .editorial-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .editorial-cards--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.editorial-cards.is-style-side-by-side {
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 768px) {
  .editorial-cards.is-style-side-by-side > .editorial-cards__card:has(> .editorial-cards__image) {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    min-height: 20rem;
  }
  .editorial-cards.is-style-side-by-side > .editorial-cards__card:has(> .editorial-cards__image) > .editorial-cards__image {
    position: absolute;
    grid-column: 1/2;
    grid-row: 1/2;
    inset: 0;
    height: 100%;
    aspect-ratio: auto;
  }
  .editorial-cards.is-style-side-by-side > .editorial-cards__card:has(> .editorial-cards__image) > .editorial-cards__content {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
  }
}
