/* Debit pages (FIN-IMP-PUBLIC-DEBIT-V2-215): fills of the design slots that the catalog renders differently. */

/* Card image in a design image slot: the slot kept its box, the image fits inside it. */
.v2 .v2-debit-img { display: block; width: 100%; height: 100%; object-fit: contain; }
.v2 .v2-debit-aside-img { display: block; width: 100%; height: 100%; object-fit: contain; }
/* Neutral placeholder when the owner has not supplied the card's image: issuer name on the design's cream. */
.v2 .v2-debit-ph { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; min-height: 72px; border-radius: 10px; background: #FFF8F1; box-shadow: inset 0 0 0 1px #EBDCCD; color: #6B5A73; font-weight: 600; font-size: 15px; text-align: center; }
.v2 .v2-debit-bank-ph { display: inline-flex; align-items: center; justify-content: center; width: 100%; height: 100%; color: #2B1838; font-weight: 700; font-size: 14px; }

/* Card title in a listing row is a link; it keeps the heading's look. */
.v2 .v2-debit-row-title { color: inherit; text-decoration: none; }
.v2 .v2-debit-row-title:hover { text-decoration: underline; text-underline-offset: 3px; }

/* A tile or value the sources do not state. */
.v2 .v2-debit-unknown { color: #6B5A73; font-weight: 500; }
/* A tile value is one source amount; a long stated value is clamped to three lines (the full text is in the page's rows). */
.v2 .v2-debit-tile-v { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; overflow-wrap: anywhere; }

/* Fact rows stack on phones so a several-line value keeps the full width. */
@media (max-width: 639px) {
  .v2 .v2-debit-row { flex-direction: column; align-items: flex-start; gap: 4px; }
  .v2 .v2-debit-row b { text-align: left; }
  .v2 .vad914bf[data-fin-state="UNKNOWN"] { flex-direction: row; }
}

/* Actions column of a listing row without the design's score ring. */
.v2 .v2-debit-actions { justify-content: flex-start; }
.v2 .v2-debit-note { display: block; }

/* Fact rows: several lines, a note and the source line stack under the label. */
.v2 .v2-debit-row b { font-weight: 600; }
.v2 .v2-debit-row .pd-line { display: block; }
.v2 .v2-debit-row .pd-note, .v2 .v2-debit-row .pd-src { display: block; margin-top: 4px; font-weight: 400; font-size: 12.5px; color: #6B5A73; }
.v2 .v2-debit-tag { display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: 999px; background: #F4F0F6; color: #6B5A73; font-size: 12px; font-weight: 600; vertical-align: 1px; white-space: nowrap; }

/* Notice under the hero tiles (discontinued card). */
.v2 .v2-debit-notice { margin: 12px 0 0; padding: 10px 14px; border-radius: 12px; background: #FFF2E0; color: #8A5A00; font-size: 13.5px; line-height: 1.5; }

/* Source URLs are shown as text, as on the card pages. */
.v2 .v2-source-url { overflow-wrap: anywhere; color: #6B5A73; font-size: 12.5px; }

/* Purpose page: byline without authors, group heading count, criterion line under each group heading. */
.v2 .v2-debit-byline { display: flex; flex-wrap: wrap; gap: 6px 14px; color: #6B5A73; font-size: 13.5px; }
.v2 .v2-debit-group-n { margin-left: 10px; padding: 2px 10px; border-radius: 999px; background: #FFF2E6; color: #B4520E; font-size: 13px; font-weight: 600; vertical-align: middle; }
.v2 .v2-debit-criterion { margin: 4px 0 14px; color: #4A3A55; font-size: 14px; }

/* Hub review strip: the card image takes the place of the design's drawn card; no score ring. */
.v2 .v2-debit-rv-top { display: flex; align-items: center; justify-content: center; height: 150px; }
.v2 .v2-debit-rv-art { display: block; max-width: 70%; max-height: 120px; width: auto; height: auto; object-fit: contain; }
.v2 span.v2-debit-rv-art { width: 150px; height: 95px; }

/* Hub knowledge cards: the illustration fills the numbered box of the design. */
.v2 .v2-debit-kt-img { overflow: hidden; padding: 0; }
.v2 .v2-debit-kt-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
