.offer-card-editorial {
  --offer-accent: #dcc3ff;
  --offer-button: #34224c;
  --offer-button-hover: #442f62;
  display: flex;
  flex-direction: column;
}

.offer-card-editorial[data-offer-id="tanmoshi-animate"] {
  --offer-accent: #ffd0b8;
  --offer-button: #492736;
  --offer-button-hover: #603247;
}

.offer-card-editorial[data-offer-id="a3-eeo"] {
  --offer-accent: #f8d6af;
  --offer-button: #45303c;
  --offer-button-hover: #5b3d4a;
}

.offer-card-editorial .offer-art {
  position: relative;
  align-items: flex-end;
  flex: 0 0 187px;
  min-block-size: 0;
  padding: 52px 18px 16px;
  text-decoration: none;
}

:is(.offer-art, .work-art, .dialog-visual)[data-artwork] {
  background-image: linear-gradient(0deg, #11091fee 0%, #11091f8c 43%, transparent 83%), var(--art-image);
  background-color: var(--art-base, var(--art-b, #2c173c));
  background-repeat: no-repeat;
  background-size: 100% 100%, var(--art-size, cover);
  background-position: center, var(--art-position, center) 50%;
}

[data-artwork="mountain"] {
  --art-image: url("./feature-art.webp");
  --art-size: 300% auto;
  --art-position: 0%;
  --art-base: #30214e;
}

[data-artwork="satin"] {
  --art-image: url("./feature-art.webp");
  --art-size: 300% auto;
  --art-position: 50%;
  --art-base: #632b3e;
}

[data-artwork="cafe"] {
  --art-image: url("./feature-art.webp");
  --art-size: 300% auto;
  --art-position: 100%;
  --art-base: #735a65;
}

[data-artwork="city-evening"] {
  --art-image: url("./lycoris-evening.webp");
  --art-base: #462832;
}

:is(.offer-art, .work-art, .dialog-visual)[data-artwork]::before,
:is(.offer-art, .work-art, .dialog-visual)[data-artwork]::after {
  content: none;
}

[data-artwork="wedding"] { --art-image: url("./art/wedding.webp"); }
[data-artwork="spirit-alley"] { --art-image: url("./art/spirit-alley.webp"); }
[data-artwork="ocean-light"] { --art-image: url("./art/ocean-light.webp"); }
[data-artwork="stone-autumn"] { --art-image: url("./art/stone-autumn.webp"); }
[data-artwork="autumn-picnic"] { --art-image: url("./art/autumn-picnic.webp"); }
[data-artwork="science-workshop"] { --art-image: url("./art/science-workshop.webp"); }

.offer-card-editorial .offer-art:focus-visible {
  outline-offset: -4px;
}

.offer-card-editorial .offer-badges {
  position: absolute;
  inset: 12px 12px auto;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
}

.offer-card-editorial .offer-badges .status-pill {
  position: static;
}

.offer-card-editorial .offer-category {
  display: inline-block;
  border: 1px solid #fff5;
  border-radius: 999px;
  padding: 2px 7px;
  background: #170f28da;
  color: #fff3fb;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.4;
  white-space: nowrap;
}

.offer-card-editorial .art-label {
  max-width: none;
  color: #fff;
  font-size: clamp(20px, 2.4vw, 31px);
  line-height: 1.33;
  letter-spacing: -.04em;
  line-break: strict;
  overflow-wrap: anywhere;
  text-shadow: 0 2px 10px #160a22;
}

.offer-card-editorial .offer-art:hover .art-label {
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}

.offer-card-editorial .offer-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 15px 16px;
}

.offer-card-editorial .offer-provider {
  margin-bottom: 4px;
  color: var(--offer-accent);
}

.offer-card-editorial .offer-title {
  font-size: clamp(14px, 1.4vw, 17px);
  line-height: 1.45;
  margin-bottom: 4px;
}

.offer-card-editorial .offer-note {
  color: #dacbe9;
  font-size: 12px;
  margin-bottom: 7px;
}

.offer-card-editorial .offer-meta {
  margin: auto 0 0;
  padding-top: 6px;
  row-gap: 3px;
}

.offer-card-editorial .offer-deadline {
  font-weight: 750;
  color: #eee1f5;
}

.offer-card-editorial .offer-actions {
  display: block;
  border: 0;
  margin-top: 11px;
  padding: 0;
}

.offer-card-editorial .offer-cta {
  display: grid;
  min-height: 44px;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: 8px;
  padding: 7px 8px;
  background: var(--offer-button);
  color: var(--offer-accent);
  text-align: center;
  font-size: 12px;
  font-weight: 820;
  line-height: 1.35;
}

.offer-card-editorial .offer-cta:hover {
  background: var(--offer-button-hover);
}

.offer-card-editorial .offer-art-original {
  display: grid;
  grid-template: minmax(0, 1fr) / minmax(0, 1fr);
  padding: 7px;
  background: #21172e;
}

.offer-card-editorial .offer-art-original::before,
.offer-card-editorial .offer-art-original::after {
  content: none;
}

.offer-card-editorial .offer-art-original .art-label {
  display: none;
}

.offer-original-image {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  object-fit: contain;
}

.offer-card-editorial .offer-original-meta .offer-badges {
  position: static;
  margin-bottom: 6px;
}

.offer-card-editorial .offer-original-work {
  margin: 0 0 3px;
  color: var(--ink, #f5ebff);
  font-size: 13px;
  font-weight: 750;
  overflow-wrap: anywhere;
}

@media (max-width: 680px) {
  .offer-card-editorial .offer-art {
    flex-basis: 132px;
    padding: 46px 10px 11px;
  }

  .offer-card-editorial .offer-art-original {
    padding: 5px;
  }

  .offer-card-editorial .offer-badges {
    inset: 8px 8px auto;
    gap: 3px;
  }

  .offer-card-editorial .offer-category {
    font-size: 9px;
    padding: 2px 4px;
  }

  .offer-card-editorial .art-label {
    font-size: clamp(16px, 4.4vw, 22px);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
  }

  .offer-card-editorial .offer-title {
    font-size: 13px;
  }

  .offer-card-editorial .offer-cta,
  .offer-card-editorial .offer-note {
    font-size: 11px;
  }
}

@media (max-width: 365px) {
  .offer-card-editorial .offer-art {
    flex-basis: 124px;
  }
}
