.vpat-title-block {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding-top: 80px;
}

@media (max-width: 800px) {

  .vpat-title-block {
    gap: 16px;
    padding-top: 40px;
  }
}

.vpat-title-block__title {
  max-width: 800px;
}

.vpat-title-block__subtitle {
  font-size: 24px;
}

@media (max-width: 800px) {
  .vpat-title-block__subtitle {
    font-size: 18px;
    line-height: 24px;
  }
}

.vpat-title-block__cards {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 32px;
}

@media (max-width: 800px) {
  .vpat-title-block__cards {
    gap: 20px;
  }
}

.vpat-card {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 24px;
  border-radius: 24px;
  border: 1px solid var(--capti-color--outline-light);
}

@media (max-width: 800px) {
  .vpat-card {
    gap: 12px;
  }
}

.vpat-card__block {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.vpat-card__block-data {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (max-width: 800px) {
  .vpat-card__block-data {
    gap: 12px;
  }
}

.vpat-card__capti-logo-row {
  display: flex;
  gap: 16px;
  align-items: center;
}

.vpat-card__logo svg {
  height: 36px;
  width: 36px;
}

.vpat-card--second {
  gap: 16px;
}

.vpat-card__bullet-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr 1fr;
  grid-template-areas:
    "orange violet"
    "green red"
    "blue .";
  gap: 16px;
}

.vpat-card__bullet-point--orange {
  grid-area: orange;
}

.vpat-card__bullet-point--green {
  grid-area: green;
}

.vpat-card__bullet-point--blue {
  grid-area: blue;
}

.vpat-card__bullet-point--violet {
  grid-area: violet;
}

.vpat-card__bullet-point--red {
  grid-area: red;
}

.vpat-card__bullet-point {
  display: flex;
  gap: 16px;
  height: 70px;
  align-items: center;
}

@media (max-width: 800px) {
  .vpat-card__bullet-point {
    height: unset;
  }
}

.vpat-card__bullet-point-text-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

@media (max-width: 800px) {

  .vpat-title-block__cards {
    grid-template-columns: 1fr;
  }

  .vpat-card__bullet-points {
    grid-template-columns: 1fr;
    grid-template-areas:
      "orange"
      "green"
      "blue"
      "violet"
      "red";
  }
}

/* ================ VPAT Cntent ===================== */

.vpat-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 80px 0;
}

@media (max-width: 800px) {
  .vpat-content {
    padding: 40px 0;
  }
}


/* ================== Table ====================== */

.table-wrapper {
  width: 100%;
}

@media (max-width: 800px) {
  .table-wrapper {
    overflow-x: auto;
  }
}

table {
  display: grid;
  border-collapse: separate;
  border-spacing: 0;
  width: fit-content;
  border-radius: 8px;
  border: 1px solid var(--capti-color--outline-medium);
}

/* Таблиця з 2 колонками */
.table-wrapper--2-cols table {
  grid-template-columns: 1fr 1fr;
}

/* Таблиця з 3 колонками */
.table-wrapper--3-cols table {
  grid-template-columns: 40fr 26fr 47fr;
}

/* Таблиця з 4 колонками */
.table-wrapper--4-cols table {
  grid-template-columns: 1fr 1fr 1fr 1fr;
}

thead,
tbody {
  display: contents;
}

tr {
  display: contents;
}

th,
td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--capti-color--outline-medium);
  vertical-align: top;
  display: flex;
  align-items: center;
  min-height: 60px;
}

td:not(:last-child),
th:not(:last-child) {
  border-right: 1px solid var(--capti-color--outline-medium);
}

tbody tr:last-child td {
  border-bottom: none;
}

tr:first-child th:first-child {
  border-top-left-radius: 8px;
}

tr:first-child th:last-child {
  border-top-right-radius: 8px;
}

tr:last-child td:first-child {
  border-bottom-left-radius: 8px;
}

tr:last-child td:last-child {
  border-bottom-right-radius: 8px;
}

th {
  font-size: 20px;
  line-height: 28px;
  font-weight: 600;
}

thead>tr>th {
  background-color: var(--capti-color--white, #fff);
}

.vpat-cell--colored {
  background-color: #F3F8FE;
  font-size: 20px;
}

.vpat-cell--italic {
  font-size: 20px;
  line-height: 28px;
  font-weight: 400;
  font-style: italic;
}

.vpat-cell--left-aligment {
  text-align: left;
}

.vpat-cell__link {
  font-size: 20px;
  line-height: 28px;
  font-weight: 400;
}

.vpat-cell--th-central {
  text-wrap-mode: nowrap;
  padding: 16px 42px;
  justify-content: center;
}


@media (max-width: 690px) {
  .vpat-cell--th-central {
    padding: 16px 20px;
    text-wrap-mode: wrap;
  }
}


/* =============================== Bullet Points ======================= */

.vpat-bullet-points {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.vpat-bullet-point {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.vpat-bullet-point .body-m {
  padding-top: 8px;
}

.vpat-bullet-point:first-child .body-m {
  padding-top: 4px;

}

.vpat-bullet-point--align-center {
  align-items: center;
}

.vpat-bullet-point--align-top {
  align-items: flex-start;
}

.vpat-bullet-point--gap-10 {
  gap: 10px;
}

.vpat-bullet-point__text {
  font-size: 20px;
  line-height: 28px;
  font-weight: 600;
}

/* =============================== Sticky Headers ======================= */

.vpat-sticky-headers-container {
  padding: 0 16px;
}

.vpat-sticky-headers-container table {
  border-radius: 0;
  border-left: none;
  border-right: none;
  border-top: none;
}

.vpat-sticky-headers-container th {
  border-top: none;
}

.vpat-sticky-headers-container th:first-child {
  border-top-left-radius: 0;
}

.vpat-sticky-headers-container th:last-child {
  border-top-right-radius: 0;
}
