.landlord-document-bento {
  isolation: isolate;
  min-width: 0;
  min-height: 23rem;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: 9rem minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid rgba(34, 31, 22, .13);
  background:
    linear-gradient(90deg, rgba(245, 200, 0, .1) 0, rgba(245, 200, 0, .1) .22rem, transparent .22rem),
    #ebe9e1 !important;
  color: #181816 !important;
}

body.protection-page.protection-subpage .cost-bento-grid__small > .landlord-document-bento {
  min-height: 23rem !important;
}

body.protection-page.protection-subpage .landlord-document-bento .bento-card__content {
  position: relative !important;
  inset: auto !important;
  z-index: 2;
  grid-column: 1;
  grid-row: 2;
  min-width: 0;
  height: 100%;
  padding: .85rem clamp(1.2rem, 1.8vw, 1.65rem) clamp(1.2rem, 1.8vw, 1.65rem);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  border: 0;
  background: transparent !important;
  color: inherit !important;
  opacity: 1 !important;
  pointer-events: auto;
  transform: none !important;
  box-shadow: none;
}

body.protection-page.protection-subpage .landlord-document-bento h3 {
  max-width: 18ch;
  color: #181816 !important;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

body.protection-page.protection-subpage .landlord-document-bento p {
  max-width: 29rem;
  color: #5f5e58 !important;
}

body.protection-page.protection-subpage .landlord-document-bento .bento-card__kicker {
  color: #715d00 !important;
}

body.protection-page.protection-subpage .landlord-document-bento .bento-card__action {
  display: flex !important;
}

.landlord-document-bento__visual {
  position: relative;
  z-index: 1;
  grid-column: 1;
  grid-row: 1;
  align-self: start;
  justify-self: end;
  width: min(48%, 10.5rem);
  height: 8.7rem;
  margin: .85rem .75rem 0 0;
  pointer-events: none;
}

.landlord-document-bento__visual::before {
  content: "";
  position: absolute;
  right: 2%;
  bottom: .1rem;
  width: 92%;
  height: 72%;
  border: 1px solid rgba(102, 84, 0, .17);
  border-radius: .35rem;
  background: rgba(245, 200, 0, .13);
  transform: rotate(2deg);
}

.landlord-document-bento__sheet {
  position: absolute;
  top: 0;
  right: 8%;
  width: 60%;
  aspect-ratio: 720 / 1000;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, .13);
  border-radius: .22rem;
  background: #fff;
  box-shadow: 0 1rem 2rem rgba(27, 24, 12, .16);
  transform: rotate(3deg);
}

.landlord-document-bento__sheet:first-child {
  right: 43%;
  transform: translateY(.72rem) rotate(-4deg);
}

.landlord-document-bento__sheet img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.landlord-document-bento__badge {
  position: absolute;
  z-index: 3;
  top: 1.05rem;
  left: 1.15rem;
  padding: .42rem .65rem;
  border-radius: 999px;
  background: #f5c800;
  color: #171409;
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

html.dark .landlord-document-bento {
  border-color: rgba(255, 255, 255, .12);
  background:
    linear-gradient(90deg, rgba(245, 200, 0, .16) 0, rgba(245, 200, 0, .16) .22rem, transparent .22rem),
    #111210 !important;
  color: #f5f4ef !important;
}

html.dark .landlord-document-bento__visual::before {
  border-color: rgba(245, 200, 0, .22);
  background: rgba(245, 200, 0, .09);
}

html.dark body.protection-page.protection-subpage .landlord-document-bento h3 {
  color: #f5f4ef !important;
}

html.dark body.protection-page.protection-subpage .landlord-document-bento p {
  color: rgba(245, 244, 239, .68) !important;
}

html.dark body.protection-page.protection-subpage .landlord-document-bento .bento-card__kicker {
  color: #f5c800 !important;
}

@media (max-width: 47.99rem) {
  .landlord-document-bento {
    min-height: 25rem;
    grid-template-rows: 9.25rem minmax(0, 1fr);
  }

  body.protection-page.protection-subpage .cost-bento-grid__small > .landlord-document-bento {
    min-height: 25rem !important;
  }

  .landlord-document-bento__visual {
    width: min(47%, 10rem);
    height: 8.8rem;
    margin: .9rem .8rem 0 0;
  }

  body.protection-page.protection-subpage .landlord-document-bento h3 {
    max-width: 20ch;
  }
}
