﻿.image-callout-card {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--card-surface-border);
    border-radius: 0;
    color: var(--color-charcoal);
    background-color: var(--card-surface-background);
    box-shadow: none;
    text-align: center;
    transition: box-shadow 0.15s ease-in-out;
}

    .image-callout-card:hover,
    .image-callout-card:focus-within {
        box-shadow: var(--card-surface-shadow-hover);
    }

.image-callout-card__media {
    position: relative;
    flex: 0 0 auto;
    width: 100%;
    height: 12.1875rem;
    min-width: 0;
    overflow: hidden;
    background-color: var(--color-gray-light);
}

    .image-callout-card__media picture {
        display: block;
        width: 100%;
        height: 100%;
    }

.image-callout-card__image {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease-in-out;
}

.image-callout-card:hover .image-callout-card__image,
.image-callout-card:focus-within .image-callout-card__image {
    transform: scale(1.03);
}

.image-callout-card__body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    align-items: center;
    width: 100%;
    min-width: 0;
    padding: var(--space-medium) 1rem;
    text-align: center;
}

.image-callout-card__heading-wrapper {
    width: 100%;
    text-align: center;
}

.image-callout-card__heading {
    display: inline-block;
    max-width: 100%;
    margin: 0 0 0.625rem;
    padding-bottom: 0.375rem;
    border-bottom: 4px solid var(--color-blue-action);
    color: var(--color-charcoal);
    font-family: var(--font-family-heading);
    font-size: var(--font-size-heading-5);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-heading);
    letter-spacing: var(--tracking-none);
    text-align: center;
    text-transform: none;
    overflow-wrap: anywhere;
}

.image-callout-card__text {
    width: 100%;
    min-width: 0;
    margin: 0 0 1rem;
    color: var(--color-charcoal);
    font-family: var(--font-family-body);
    font-size: var(--font-size-body-1);
    font-weight: var(--font-weight-regular);
    line-height: var(--line-height-body);
    letter-spacing: var(--tracking-none);
    text-align: center;
    overflow-wrap: anywhere;
}

    .image-callout-card__text > :first-child {
        margin-top: 0;
    }

    .image-callout-card__text > :last-child {
        margin-bottom: 0;
    }

    .image-callout-card__text p,
    .image-callout-card__text li {
        font-size: inherit;
        font-weight: inherit;
        line-height: inherit;
        letter-spacing: inherit;
        text-align: center;
    }

.image-callout-card__action {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 0;
    margin-top: auto;
    text-align: center;
}

    .image-callout-card__action .btn {
        max-width: 100%;
    }

.image-callout-card a:focus-visible {
    outline: var(--focus-width) solid var(--focus-color);
    outline-offset: var(--focus-offset);
}

.sfPageEditor .image-callout-card {
    min-height: 100%;
}

@media (prefers-reduced-motion: reduce) {
    .image-callout-card,
    .image-callout-card__image {
        transition: none;
    }

        .image-callout-card:hover .image-callout-card__image,
        .image-callout-card:focus-within .image-callout-card__image {
            transform: none;
        }
}

@media (max-width: 991.98px) {
    .image-callout-card__body {
        padding: var(--space-small) 1rem;
    }
}

@media (max-width: 767.98px) {
    .image-callout-card {
        height: auto;
    }

    .image-callout-card__media {
        height: 12.1875rem;
    }

    .image-callout-card__text {
        margin-bottom: 0.5rem;
    }
}