/* Выписка Chase: Arial, без скруглений; крупная типографика внутри карточки */

section.post-content .main-content-col .post-content .bank-receipt {
  --bank-receipt-blue: #117aca;
  --bank-receipt-border: #dfe1e5;
  --bank-receipt-header-bg: #ececec;
  --bank-receipt-table-border: #b8b8b8;
  font-family: Arial, Helvetica, sans-serif;
  background: #fff;
  border: 1px solid var(--bank-receipt-border);
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.07);
  border-radius: 0;
  padding: 1.65rem 1.5rem 1.5rem;
  margin: 1.35rem 0 1.5rem;
  box-sizing: border-box;
  max-width: 100%;
  color: #222;
  font-size: 1.25rem;
  line-height: 1.5;
}

section.post-content .main-content-col .post-content .bank-receipt__header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e3e5e8;
}

section.post-content .main-content-col .post-content .bank-receipt__brand {
  flex-shrink: 0;
}

section.post-content .main-content-col .post-content .bank-receipt__logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 4rem;
  min-height: 2.65rem;
  height: auto;
  padding: 0 0.5rem;
  background: var(--bank-receipt-blue);
  margin-bottom: 0.35rem;
  box-sizing: border-box;
  border-radius: 0;
}

section.post-content .main-content-col .post-content .bank-receipt__logo-text {
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
}

section.post-content .main-content-col .post-content .bank-receipt__brand-name {
  font-size: 1.1875rem;
  font-weight: 700;
  color: var(--bank-receipt-blue);
  letter-spacing: 0.02em;
}

section.post-content .main-content-col .post-content .bank-receipt__meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem 1.75rem;
  font-size: 1.125rem;
  color: #222;
  min-width: min(100%, 280px);
}

section.post-content .main-content-col .post-content .bank-receipt__meta-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.35rem 0.5rem;
  align-items: baseline;
}

section.post-content .main-content-col .post-content .bank-receipt__meta-label {
  font-weight: 600;
  white-space: nowrap;
  color: #444;
}

section.post-content .main-content-col .post-content .bank-receipt__meta-row span:last-child {
  text-align: right;
  word-break: break-word;
}

section.post-content .main-content-col .post-content .bank-receipt__ref {
  font-size: 2.125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin: 0 0 0.65rem;
  color: #111;
}

section.post-content .main-content-col .post-content .bank-receipt__holder {
  margin: 0 0 1rem;
  font-size: 1.1875rem;
  line-height: 1.55;
  color: #222;
}

section.post-content .main-content-col .post-content .bank-receipt__holder-name {
  font-weight: 700;
  font-size: 1.3125rem;
  margin-bottom: 0.2rem;
}

section.post-content .main-content-col .post-content .bank-receipt__table-wrap {
  overflow: visible;
  margin-bottom: 0.85rem;
  max-width: 100%;
}

section.post-content .main-content-col .post-content .bank-receipt__table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  font-size: 1.125rem;
  border: 1px solid var(--bank-receipt-table-border);
  table-layout: fixed;
}

section.post-content .main-content-col .post-content .bank-receipt__table-caption {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

section.post-content .main-content-col .post-content .bank-receipt__table th,
section.post-content .main-content-col .post-content .bank-receipt__table td {
  border: 1px solid var(--bank-receipt-table-border);
  padding: 0.55rem 0.65rem;
  text-align: left;
  vertical-align: top;
  word-wrap: break-word;
  overflow-wrap: anywhere;
}

section.post-content .main-content-col .post-content .bank-receipt__table th {
  background: var(--bank-receipt-header-bg);
  font-weight: 700;
  color: #111;
}

section.post-content .main-content-col .post-content .bank-receipt__table td:nth-child(n + 3),
section.post-content .main-content-col .post-content .bank-receipt__table th:nth-child(n + 3) {
  text-align: right;
}

section.post-content .main-content-col .post-content .bank-receipt__table td:nth-child(2),
section.post-content .main-content-col .post-content .bank-receipt__table th:nth-child(2) {
  word-break: break-word;
}

section.post-content .main-content-col .post-content .bank-receipt__footer {
  text-align: right;
  font-size: 0.9375rem;
  color: #61656d;
  line-height: 1.4;
  margin: 0;
}

@media (max-width: 640px) {
  section.post-content .main-content-col .post-content .bank-receipt__table-wrap {
    overflow: visible;
  }

  section.post-content .main-content-col .post-content .bank-receipt__table,
  section.post-content .main-content-col .post-content .bank-receipt__table tbody,
  section.post-content .main-content-col .post-content .bank-receipt__table thead,
  section.post-content .main-content-col .post-content .bank-receipt__table tr,
  section.post-content .main-content-col .post-content .bank-receipt__table th,
  section.post-content .main-content-col .post-content .bank-receipt__table td {
    display: block;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  section.post-content .main-content-col .post-content .bank-receipt__table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  section.post-content .main-content-col .post-content .bank-receipt__table tbody tr {
    border: 1px solid var(--bank-receipt-table-border);
    border-radius: 0;
    padding: 0.5rem 0.65rem;
    margin: 0;
  }

  section.post-content .main-content-col .post-content .bank-receipt__table tbody td {
    border: none;
    padding: 0.4rem 0;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
    text-align: right;
    font-size: 1.0625rem;
  }

  section.post-content .main-content-col .post-content .bank-receipt__table tbody td::before {
    content: attr(data-label);
    font-weight: 700;
    text-align: left;
    flex: 0 0 auto;
    max-width: 42%;
    color: #444;
  }

  section.post-content .main-content-col .post-content .bank-receipt__table tbody td:nth-child(2) {
    flex-wrap: wrap;
  }
}

@media (max-width: 520px) {
  section.post-content .main-content-col .post-content .bank-receipt {
    padding: 1.1rem 0.95rem 1.15rem;
    margin-left: 0;
    margin-right: 0;
  }

  section.post-content .main-content-col .post-content .bank-receipt__meta-grid {
    grid-template-columns: 1fr;
    min-width: 0;
  }

  section.post-content .main-content-col .post-content .bank-receipt__meta-row span:last-child {
    text-align: left;
  }

  section.post-content .main-content-col .post-content .bank-receipt__ref {
    font-size: 1.75rem;
  }
}
