.gt-parent-page-cards {
    --gt-cards-bg: #ffffff;
    margin-top: clamp(36px, 5vw, 72px);
}

.gt-parent-page-cards:first-child {
    margin-top: 0;
}

.gt-parent-page-card {
    display: flex;
    flex-direction: column;
}

.gt-parent-page-card .gt-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
}

.gt-parent-page-card__content {
    color: inherit;
    font-size: 17px;
    line-height: 1.6;
}

.gt-parent-page-card__content p {
    margin: 0 0 1em;
}

.gt-parent-page-card__content p:last-child {
    margin-bottom: 0;
}

.gt-parent-page-card .gt-button-block {
    margin-top: auto;
    padding-top: 20px;
}

.gt-parent-page-card .gt-btn {
    width: fit-content;
}

@media (max-width: 800px) {
    .gt-parent-page-cards {
        margin-top: 32px;
    }
}

/*
 * Force every Parent Page Card image into the same 3:2 media box.
 * Absolutely positioning the image prevents intrinsic attachment dimensions
 * from affecting the rendered card height.
 */
.gt-parent-page-card .gt-card__media {
    position: relative;
    flex: 0 0 auto;
    width: 100%;
    aspect-ratio: 3 / 2;
    min-height: 0;
    overflow: hidden;
}

.gt-parent-page-card .gt-card__media > img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
}

