/*
  general
  header
  card content
  small cards
  responsive
*/

/* general
============================================================================ */

.bg-bigcard {
  background: var(--pos-color-panel-background, #FFF);
  margin-top: var(--pos-gap-section-section, 240px);
}

.index-bigcard {
  display: flex;
  max-width: 1440px;
  padding: var(--pos-gap-section-section, 240px) var(--pos-gap-page-content-x-margin, 40px);
  flex-direction: column;
  align-items: center;
  align-self: stretch;
  margin: 0 auto;
}

/* header
============================================================================ */

.bigcard-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  align-self: stretch;
  gap: 8px;
  padding-bottom: var(--pos-gap-section-title-content);
}

.bigcard-header h2 {
  align-self: stretch;
  color: var(--pos-color-prominent, #141414);
  text-align: center;
  font-size: var(--pos-headline-1, 48px);
  font-style: normal;
  font-weight: 700;
  line-height: var(--pos-headline-1-line-height, 48px);
}

/* card content
============================================================================ */

.bigcard-card-content {
  display: flex;
  flex-wrap: wrap;
  max-width: 1440px;
  padding: var(--pos-gap-section-title-content, 80px);
  justify-content: space-between;
  align-items: center;
  gap: var(--pos-gap-card-card, 40px);
  align-self: stretch;

  background: linear-gradient(180deg, var(--pos-color-page-background) 0%, var(--pos-color-page-background-transparent, rgba(247, 248, 250, 0.00)) 100%);
}

.bigcard-text {
  display: flex;
  width: 619px;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--pos-gap-section-elements, 40px);
  align-self: stretch;
}

.bigcard-card-text p {
  color: var(--pos-color-normal);
}

.bigcard-text h3 {
  color: var(--pos-color-prominent, #141414);
  text-align: left;
  font-size: var(--pos-headline-2, 32px);
  font-style: normal;
  font-weight: 700;
  line-height: var(--pos-headline-2-line-height, 32px);
}

.bigcard-text p {
  color: var(--pos-color-normal, #374151);
  text-align: left;
  font-size: var(--pos-body-1, 16px);
  font-style: normal;
  font-weight: 400;
  line-height: var(--pos-body-1-line-height, 24px);
}

.bigcard-card-content img {
  width: 300px;
  height: 300px;
  object-fit: cover;
  border-radius: var(--pos-border-radius-card, 8px);
}

/* small cards
============================================================================ */

.bigcard-cards {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 32px;
  justify-content: space-evenly;
  align-self: stretch;
  border-radius: 4px;
  padding-bottom: var(--pos-gap-section-elements, 40px);
}

.bigcard-card {
  display: flex;
  padding: var(--pos-padding-cards-boxes, 40px);
  align-items: center;
  gap: var(--pos-padding-cards-boxes, 40px);
  flex: 1 0 0;
  align-self: stretch;

  border-radius: var(--Card-corner, 4px);
  background: var(--pos-color-highlighted-background);
  box-shadow: 0px 4px 6px 0px rgba(40, 51, 65, 0.10);
}

.bigcard-card svg {
  display: flex;
  width: 40px;
  height: 40px;
  justify-content: center;
  align-items: center;
}

/* icon color */
.bigcard-card svg path {
  stroke: var(--pos-color-graphic);
}

/* icon background color */
.bigcard-card svg path:first-child {
  fill: var(--pos-color-panel-background);
}

.bigcard-card-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1 0 0;
}

.bigcard-card-text .subtitle {
  background: linear-gradient(to bottom,
      var(--subtitle-gradient-dark-from, #2173c4) 0%,
      var(--subtitle-gradient-dark-to, #0f7b0a) 100%);
  background-clip: text;

}

/* responsive
============================================================================ */

@media (max-width: 768px) {
  .bigcard-header {
    align-items: flex-start;
  }

  .bigcard-header h2 {
    text-align: start;
  }

  .bigcard-card-content img {
    width: 100%;
    height: auto;
  }
}