.story-card.story-card-branded {
  display: grid;
  grid-template-rows: 190px 1fr;
  align-items: stretch;
  min-height: 310px;
  border: 1px solid #33547b;
  background: #102a51;
}

.story-card.story-card-branded::after {
  content: none;
}

.story-brand-cover,
.story-product-cover figure,
.story-product-cover figure > a {
  display: grid;
  place-items: center;
  background:
    radial-gradient(ellipse at 80% 0%, #315781, transparent 68%),
    linear-gradient(135deg, #0b2142, #173965);
}

.story-card-branded .story-card-media {
  min-width: 0;
  padding: 0;
  overflow: hidden;
  background: #fff;
}

.story-card-branded .story-card-media img {
  position: static;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 0;
  opacity: 1;
}

.story-card-branded .story-card-media-logo img {
  object-fit: contain;
  object-position: center;
}

.story-card-branded:hover .story-card-media img,
.story-card-branded:focus-visible .story-card-media img {
  transform: none;
  opacity: 1;
}

.story-card-branded .story-card-copy {
  padding: 20px 24px 25px;
}

.story-card-branded .story-card-copy h3 {
  max-width: none;
  font-size: clamp(19px, 2.4vw, 26px);
  line-height: 1.2;
}

.story-brand-cover {
  min-height: 210px;
  padding: 32px;
}

.story-brand-cover img {
  display: block;
  width: min(100%, 380px);
  height: auto;
  max-height: 145px;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
}

.content-page .story-product-cover figure > a {
  padding: clamp(12px, 3vw, 26px);
}

.content-page .story-product-cover figure:not(:has(> a)) {
  padding: clamp(12px, 3vw, 26px);
}

.content-page .story-product-cover figure > picture {
  display: grid;
  place-items: center;
}

.content-page .story-product-cover img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: min(68vh, 680px);
  object-fit: contain;
  border-radius: 6px;
}

.content-page .editorial-page .story-product-cover figcaption {
  width: 100%;
  color: #dbe8f6;
}

.content-page .editorial-page .post > .post-content {
  padding: clamp(24px, 4vw, 56px) clamp(24px, 5vw, 68px) clamp(32px, 6vw, 76px);
  overflow-wrap: anywhere;
}

.editorial-page .post-content > :first-child {
  margin-top: 0;
}

.content-page .editorial-page .post-content .editorial-answer {
  color: #173554;
  font-size: clamp(17px, 2vw, 20px) !important;
  font-weight: 600;
}

.editorial-page .post-content .row {
  display: grid;
  gap: 20px;
}

.editorial-page .post-content .row:has(> .col-lg-8 + .col-lg-4) {
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  align-items: start;
}

.editorial-page .editorial-subtitle {
  display: block;
  margin-top: 16px;
  color: #dbe8f6;
}

@media (max-width: 700px) {
  .editorial-page .post-content .row:has(> .col-lg-8 + .col-lg-4) {
    grid-template-columns: minmax(0, 1fr);
  }
}

.story-screenshot {
  width: fit-content;
  max-width: 100%;
  margin: 32px 0 0;
}

.story-screenshot img {
  display: block;
  border: 1px solid #d7e2ec;
}

.story-screenshot figcaption {
  margin-top: 8px;
  color: var(--legacy-muted);
  font-size: 13px;
}

[data-product="kiosk"] .kiosk-photo-caption::before {
  content: "";
  display: block;
  width: 72px;
  height: 48px;
  margin-bottom: 5px;
  border-radius: 4px;
  background: #fff url("../img/kiosk/aahk-logo.svg") center / 58px auto no-repeat;
}
