.contentCards {
    display: flex;
    width:auto;
    padding: var(--section-padding-lg, 64px) var(--page-padding, 20px);
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    text-align:center;
}

.contentCards-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    align-self: stretch;
}

.contentCards-tagline {
    color: var(--color-iceland-1200, #030303);
    text-align: center;
}

.contentCards-heading {
    color: var(--color-iceland-1200, #030303);
    text-align: center;
    max-width: 650px;
}

@media (min-width: 768px) { 
    .contentCards-heading {
        height: 100%;
        color: var(--color-iceland-1200, #030303);
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 40px;
        text-align: center;
    }
}

.contentCardsTabs-container {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.contentCardsTabs-scroll {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.contentCardsTabs-scroll::-webkit-scrollbar {
    display: none;
}

.contentCards .contentCardsTabs {
    display: flex;
    flex-direction: row;
    gap: 24px;
    padding: 0;
    margin: 0;
    white-space: nowrap;
}

.contentCards .contentCardsTabs li {
    padding-top: 2px;
    list-style: none;
    text-align: center;
    padding-bottom: 8px;
    cursor: pointer;
    color: var(--color-iceland-800, #524F48);
}

.ContentCardsTabs button {
    background: none;
    border: none;
    cursor: pointer;
}

.contentCards .contentCardsTabs .contentCardTab-active {
    color: var(--color-iceland-900, #34322E);
    font-weight: 600;
    border-bottom: 2px solid var(--color-accent-coral, #FF5A58);
}

@media (min-width: 768px) { 
  .contentCardsTabs-scroll {
    width: 470px;
    overflow: visible;
  }

  .contentCards .contentCardsTabs {
    justify-content: center;
    white-space: normal; 
  }

  .contentCards .contentCardsTabs li {
    flex: 0 0 auto;
  }
}

.__contentCard {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 100%;
    max-width: 360px;
    position: relative;
    max-height: 494px;

}

.contentCard-image-wrapper {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.contentCard-image-wrapper::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        33deg,
        rgba(0, 0, 0, 0) 75.15%,
        rgba(0, 0, 0, 0.30) 94.37%
    );
    pointer-events: none;
}
    
.contentCard-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.contentCards .__contentCard:nth-child(1) img {
    border-radius: 0 0 0 80px;
}

.contentCards .__contentCard:nth-child(4) img {
    border-radius: 80px 0 0 0;
}

.contentCards-heading h2 {
    color: var(--color-iceland-1200, #030303);
    text-align: center;
}

.contentCards__buttonContainer {
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: stretch;
}

.contentCards__button {
    height: 48px;
    padding: 8px var(--sizing--s, 12px);
    flex: 1 0 0;
}

@media (min-width: 768px) {
  .contentCards__button {
    height: 48px;
    min-width: 104px;
    max-width: 201px;
  }
}

.contentCard-hidden { 
    display: none !important;
}

.contentCards-card.contentCard-active { 
    display: flex; 
    flex-wrap: wrap;
}

.contentCards-cardContainer {
    display: flex;
    justify-content: center;
    gap: 0;
}

@media (max-width: 768px) {
  .contentCards-cardContainer {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: auto;
    column-gap: 4px;
  }
}
.contentCards-whiteArrowContainer {
    display: flex;
    width: 56px;
    height: 56px;
    padding: 8px 12px;
    justify-content: center;
    align-items: center;
    position: absolute;
    right: 0;
    z-index: 2;
    
}

.contentCards-whiteArrow {
    stroke-width: 1.5px;
    stroke: var(--color-contrast-100, #FFF);
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

@media (max-width: 768px) { 
    .contentCards-whiteArrowContainer {
        right: 0.5px;
    }
}