#programs-page {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}


/* cards section */

#programs-cards {
    display: flex;
    flex-direction: row;
    flex: 0 1 auto;

    justify-content: center;

    padding: 60px 30px;
}

.programs-cards-content-wrapper {
    display: flex;
    flex-direction: column;
    flex: 0 1 auto;

    width: 100%;
    max-width: var(--base-page-max-width);
}

.programs-cards-content__title {
    display: flex;
    flex-direction: row;
    flex: 0 1 auto;

    justify-content: center;

    width: 100%;
    border-top: 2px solid var(--base-papiroti-yellow);
    background-color: #fff;

}

.programs-cards-content__title-text-wrapper {
    display: flex;
    flex-direction: column;
    flex: 0 1 auto;

    margin-top: -42px;
    margin-bottom: 60px;
    padding: 15px;
    background-color: #fff;
}

.programs-cards-content__title-text__title {
    color: var(--base-papiroti-blue-7);
    font-weight: var(--base-font-black-weight);
    font-size: 2rem;
    text-align: center;
}

.programs-cards-content__title-text__subtitle {
    color: var(--base-papiroti-blue-7);
    font-weight: var(--base-font-regular-weight);
    font-size: 1rem;
    text-align: center;
    max-width: 500px;
}

.programs-cards-content__cards-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.programs-card-wrapping-link {
    /*position: relative;*/
}

.programs-card {
    position: relative;

    border-radius: 15px;
    background-color: #fff;
    box-shadow: 0 3px 8px var(--base-papiroti-blue-7-box-shadow);
    padding: 30px;

    overflow: hidden;
}

.programs-card-background-image-overlay {
    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    z-index: 2;

    border-radius: 15px;
    background: linear-gradient(to right, white 40%, transparent);
}

.programs-card-background-image {
    position: absolute;
    top: 0;
    right: 0;

    /*width: 100%;*/
    height: 100%;

    object-fit: cover;
    object-position: top right;
    z-index: 1;
    border-radius: 15px;
}

.programs-card-info-wrapper {
    position: relative;

    display: flex;
    flex-direction: column;
    flex: 0 1 auto;

    z-index: 3;
}

.programs-card-info__title {
    margin-bottom: 15px;
    font-size: 1.25rem;
    font-weight: var(--base-font-black-weight);
    color: var(--base-papiroti-blue-7);
}

.programs-card-info__subtitle {
    max-width: 80%;
    margin-bottom: 6px;
    font-size: 0.875rem;
    font-weight: var(--base-font-regular-weight);
    color: var(--base-papiroti-blue-7);
}

.programs-card-info__link-wrapper {
    display: flex;
    flex-direction: row;
    flex: 0 1 auto;
}

.programs-card-info__link,
.programs-card-info__link:visited,
.programs-card-info__link:active {
    display: flex;
    flex-direction: row;
    flex: 0 1 auto;

    align-items: flex-end;

    text-decoration: none;
    cursor: pointer;
}

.programs-card-info__link__text {
    font-size: 1rem;
    font-weight: var(--base-font-black-weight);
    color: var(--base-papiroti-blue-1);
    margin-right: 6px;
}

.programs-card-info__link__icon {
    font-size: 0.875rem;
    color: var(--base-papiroti-yellow);
}


@media all and (min-width: 300px) {

}

@media all and (min-width: 350px) {

}

@media all and (min-width: 600px) {

    .programs-cards-content__cards-wrapper {
        grid-template-columns: 1fr 1fr;
    }

}

@media all and (min-width: 750px) {

}

@media all and (min-width: 960px) {

    #programs-cards {
        padding: 60px 0;
    }

}

@media all and (min-width: 1024px) {

}