/* Standalone Press page, aligned to the Blog landing-page card system. */

.page-press .press-landing {
  padding: 60px 0 100px;
  background: #fff;
}

.page-press .press-landing > .container {
  width: calc(100% - 40px);
  max-width: 1080px;
  margin: 0 auto;
  padding: 0;
}

.page-press .press-landing h1,
.page-press .press-landing h2,
.page-press .press-landing p {
  margin: 0;
}

.page-press .press-landing h1 {
  color: #0f193b;
  font-size: 36px;
  font-weight: 700;
  line-height: 45px;
}

.page-press .press-intro {
  margin-top: 10px !important;
  color: #5f6578;
  font-size: 14px;
  font-weight: 400;
  line-height: 18px;
}

.page-press .press-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 340px);
  gap: 30px;
  margin: 60px 0 0;
  padding: 0;
  list-style: none;
}

.page-press .press-card {
  position: relative;
  display: flex;
  width: 340px;
  min-height: 199px;
  flex-direction: column;
  border: 1px solid #dce1eb;
  border-radius: 10px;
  background: #fff;
}

.page-press .press-card::before {
  position: absolute;
  top: 30px;
  left: 0;
  width: 3px;
  height: 40px;
  background: #7297ff;
  content: "";
  pointer-events: none;
}

.page-press .press-card-link {
  display: flex;
  width: 100%;
  min-height: 100%;
  padding: 30px;
  flex: 1;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}

.page-press .press-card-link::after {
  position: absolute;
  z-index: 2;
  inset: 0;
  border-radius: 9px;
  content: "";
}

.page-press .press-card-link:focus-visible {
  border-radius: 9px;
  outline: 2px solid #3064f9;
  outline-offset: -2px;
}

.page-press .press-card-top {
  display: flex;
  width: 100%;
  min-height: 50px;
  align-items: center;
  justify-content: space-between;
}

.page-press .press-card-logo-slot {
  display: block;
  width: 190px;
  height: 50px;
  flex: 0 0 190px;
}

.page-press .press-card-logo-slot picture,
.page-press .press-card-logo-slot img {
  display: block;
  width: 160px;
  height: 40px;
  object-fit: contain;
  object-position: left center;
}

.page-press .press-card-logo-placeholder {
  display: flex;
  width: 190px;
  height: 50px;
  align-items: center;
  justify-content: center;
  border: 1px dashed #b9c1d1;
  border-radius: 6px;
  background: #f7f8fb;
  color: #7a8294;
  font-size: 12px;
  line-height: 16px;
}

.page-press .press-card-title {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 18px !important;
  color: #0f193b;
  font-size: 18px;
  font-weight: 700;
  line-height: 23px;
}

.page-press .press-card-arrow {
  display: none;
  width: 16px;
  height: 12px;
  flex: 0 0 16px;
}

.page-press .press-card:hover,
.page-press .press-card:focus-within {
  box-shadow: 0 2px 4px rgb(0 0 0 / 6%);
}

.page-press .press-card:hover .press-card-title,
.page-press .press-card:focus-within .press-card-title {
  color: #3064f9;
}

.page-press .press-card:hover .press-card-arrow,
.page-press .press-card:focus-within .press-card-arrow {
  display: block;
}

.page-press .press-card-description {
  margin-top: 12px !important;
  color: #5f6578;
  font-size: 13px;
  font-weight: 400;
  line-height: 20px;
}

@media (max-width: 1079px) {
  .page-press .press-landing {
    padding: 60px 0;
  }

  .page-press .press-landing > .container {
    width: min(100%, 375px);
    max-width: 375px;
    padding: 0 20px;
  }

  .page-press .press-landing h1 {
    font-size: 26px;
    line-height: 33px;
  }

  .page-press .press-card-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    margin-top: 40px;
  }

  .page-press .press-card {
    width: 100%;
    height: auto;
  }

  .page-press .press-card-link {
    padding-bottom: 39.5px;
  }

  .page-press .press-card-logo-slot,
  .page-press .press-card-logo-placeholder {
    width: 155px;
    height: 46px;
  }

  .page-press .press-card-logo-slot picture,
  .page-press .press-card-logo-slot img {
    width: 155px;
    height: 40px;
  }

  .page-press .press-card-logo-slot {
    flex-basis: 155px;
  }

  .page-press .press-card-description {
    line-height: 17px;
    letter-spacing: -0.25px;
  }
}
