.image-and-info-cards-with-load-more-button {
    padding-top: var(--s12);
    padding-bottom: var(--s12);
}

.image-and-info-cards-with-load-more-button .image-and-info-cards-with-load-more-button__heading {
    margin-bottom: var(--s6);
}

.image-and-info-cards-with-load-more-button__cards-list {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.image-and-info-cards-with-load-more-button__cards-list a.card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    flex: 1 1 calc(33.33% - 26.66px);
    width: 100%;
    max-width: calc(33.33% - 26.66px);
}

.image-and-info-cards-with-load-more-button__cards-list a.card .card__image {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--s5);
    border-radius: 29.078px;
    background: var(--Vivid-Blue-vivid-000, #F5F8FF);
    margin-bottom: var(--s3);
    box-shadow: 0 3.877px 15.508px 0 rgba(0, 49, 106, 0.05);
    max-height: 410px;
    min-height: 410px;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.image-and-info-cards-with-load-more-button__cards-list a.card .card__image::after {
    content: "";
    position: absolute;
    bottom: -5%;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: bottom;
}

.image-and-info-cards-with-load-more-button__cards-list a.card:nth-child(3n+1) .card__image::after {
    background-image: url(/wp-content/themes/fx/assets/img/blocks/innerpage/image-and-info-cards-with-load-more-button/first-card-bg-pattern.png);
}

.image-and-info-cards-with-load-more-button__cards-list a.card:nth-child(3n+2) .card__image::after {
    background-image: url(/wp-content/themes/fx/assets/img/blocks/innerpage/image-and-info-cards-with-load-more-button/second-card-bg-pattern.png);
}

.image-and-info-cards-with-load-more-button__cards-list a.card:nth-child(3n+3) .card__image::after {
    background-image: url(/wp-content/themes/fx/assets/img/blocks/innerpage/image-and-info-cards-with-load-more-button/third-card-bg-pattern.png);
}

.image-and-info-cards-with-load-more-button__cards-list a.card .card__image img {
    height: auto;
    position: relative;
    z-index: 1;
}

.image-and-info-cards-with-load-more-button__cards-list a.card .card__content .card__title {
    color: #000;
    font-family: var(--font-inter);
    font-size: 21px;
    font-style: normal;
    font-weight: 800;
    line-height: 140%;
    letter-spacing: -0.378px;
    margin-bottom: 24px;
}

.image-and-info-cards-with-load-more-button__cards-list a.card .card__content .card__description p {
    color: var(--Core-gray-04, #869298);
    font-family: var(--font-inter);
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px;
}

.image-and-info-cards-with-load-more-button__cards-list a.card .card__content .card__description p:last-child {
    margin-bottom: 0;
}

.image-and-info-cards-with-load-more-button__toggle {
    border-radius: var(--s1, 8px);
    background: rgba(204, 228, 255, 0.30);
    display: flex;
    width: 1360px;
    padding: 16px 48px;
    justify-content: center;
    align-items: center;
    outline: none;
    border: 0px;
    margin-top: 48px;
    color: var(--Primary-Blue, #207DE9);
    font-family: Inter;
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: 32px;
    letter-spacing: -0.864px;
    width: 100%;
}

.image-and-info-cards-with-load-more-button__accordion-content {
    padding-top: var(--s6);
}

.image-and-info-cards-with-load-more-button__toggle .toggle-icon {
    display: flex;
    transition: transform 0.3s ease-in-out;
}

.image-and-info-cards-with-load-more-button__toggle .toggle-icon i {
    font-size: 30px;
    transition: transform 0.3s ease-in-out;
}

/* Rotate the chevron when accordion is open */
.image-and-info-cards-with-load-more-button__accordion.is-open .toggle-icon {
    transform: rotate(-180deg);
}

@media (max-width: 1200px) {
    .image-and-info-cards-with-load-more-button__cards-list a.card {
        flex: 1 1 calc(50% - 20px);
        width: 100%;
        max-width: calc(50% - 20px);
    }
    .image-and-info-cards-with-load-more-button__cards-list a.card .card__image img {
        max-width: 350px;
        width: 100%;
    }
}

@media (max-width: 600px) {
    .image-and-info-cards-with-load-more-button__cards-list a.card {
        flex: 1 1 100%;
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 400px) {
    .image-and-info-cards-with-load-more-button__cards-list a.card .card__image {
        min-height: 310px;
        max-height: 310px;
    }
}