.bamdad-th-hfb {
    width: 100%;
}

.bamdad-th-hfb__header {
    width: 100%;
    max-width: 760px;
    margin-inline: auto;
    margin-bottom: 36px;
    text-align: center;
}

.bamdad-th-hfb__eyebrow,
.bamdad-th-hfb__heading,
.bamdad-th-hfb__header-description,
.bamdad-th-hfb__title,
.bamdad-th-hfb__description {
    margin-top: 0;
}

.bamdad-th-hfb__eyebrow {
    margin-bottom: 8px;
    color: #1c6e9c;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.bamdad-th-hfb__heading {
    margin-bottom: 12px;
    color: #151b24;
    font-size: 38px;
    line-height: 1.2;
}

.bamdad-th-hfb__header-description {
    color: #6d7682;
    font-size: 16px;
    line-height: 1.65;
}

.bamdad-th-hfb__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.bamdad-th-hfb__item {
    display: flex;
    min-width: 0;
    min-height: 245px;
    overflow: hidden;
    background: #f2f6f8;
}

.bamdad-th-hfb__media,
.bamdad-th-hfb__content {
    min-width: 0;
}

.bamdad-th-hfb__media {
    display: block;
    flex: 0 0 50%;
    width: 50%;
    height: 245px;
    overflow: hidden;
    background: #e8eef1;
    text-decoration: none !important;
}

.bamdad-th-hfb__image,
.bamdad-th-hfb__image-placeholder {
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
}

.bamdad-th-hfb--image-cover .bamdad-th-hfb__image {
    object-fit: cover !important;
}

.bamdad-th-hfb--image-contain .bamdad-th-hfb__image {
    object-fit: contain !important;
}

.bamdad-th-hfb--image-auto .bamdad-th-hfb__media {
    height: auto !important;
}

.bamdad-th-hfb--image-auto .bamdad-th-hfb__image {
    height: auto !important;
    object-fit: initial !important;
}

.bamdad-th-hfb__content {
    display: flex;
    flex: 1 1 50%;
    flex-direction: column;
    justify-content: center;
    width: 50%;
    padding: 28px;
    color: #fff;
    background-color: #064a7a;
    background-repeat: no-repeat;
}

.bamdad-th-hfb__icon {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    align-self: flex-start;
    margin-bottom: 16px;
    color: #fff;
    font-size: 44px;
    line-height: 1;
}

.bamdad-th-hfb__icon svg {
    display: block;
    width: 1em;
    height: 1em;
    fill: currentColor;
}

.bamdad-th-hfb__title {
    margin-bottom: 10px;
    color: #fff;
    font-size: 24px;
    line-height: 1.25;
}

.bamdad-th-hfb__title a,
.bamdad-th-hfb__title a:hover,
.bamdad-th-hfb__title a:focus {
    color: inherit;
    text-decoration: none !important;
}

.bamdad-th-hfb__description {
    margin-bottom: 16px;
    color: #eaf4fa;
    font-size: 15px;
    line-height: 1.55;
}

.bamdad-th-hfb__description > :first-child {
    margin-top: 0;
}

.bamdad-th-hfb__description > :last-child {
    margin-bottom: 0;
}

.bamdad-th-hfb__button {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 7px;
    max-width: 100%;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none !important;
}

.bamdad-th-hfb__button--filled {
    padding: 8px 12px;
    background: #fff;
}

.bamdad-th-hfb__button-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    font-size: 11px;
    line-height: 1;
}

.bamdad-th-hfb__button-icon svg {
    display: block;
    width: 1em;
    height: 1em;
    fill: currentColor;
}

.bamdad-th-hfb__button:focus-visible,
.bamdad-th-hfb__media:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: -3px;
}

@media (max-width: 1024px) {
    .bamdad-th-hfb__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .bamdad-th-hfb--tablet-stacked_image_first .bamdad-th-hfb__item,
    .bamdad-th-hfb--tablet-stacked_content_first .bamdad-th-hfb__item {
        flex-direction: column;
    }

    .bamdad-th-hfb--tablet-stacked_image_first .bamdad-th-hfb__media {
        order: 1;
    }

    .bamdad-th-hfb--tablet-stacked_image_first .bamdad-th-hfb__content {
        order: 2;
    }

    .bamdad-th-hfb--tablet-stacked_content_first .bamdad-th-hfb__content {
        order: 1;
    }

    .bamdad-th-hfb--tablet-stacked_content_first .bamdad-th-hfb__media {
        order: 2;
    }

    .bamdad-th-hfb--tablet-stacked_image_first .bamdad-th-hfb__media,
    .bamdad-th-hfb--tablet-stacked_content_first .bamdad-th-hfb__media,
    .bamdad-th-hfb--tablet-stacked_image_first .bamdad-th-hfb__content,
    .bamdad-th-hfb--tablet-stacked_content_first .bamdad-th-hfb__content {
        flex-basis: auto !important;
        width: 100% !important;
    }

    .bamdad-th-hfb__heading {
        font-size: 32px;
    }
}

@media (max-width: 767px) {
    .bamdad-th-hfb__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .bamdad-th-hfb--mobile-stacked_image_first .bamdad-th-hfb__item,
    .bamdad-th-hfb--mobile-stacked_content_first .bamdad-th-hfb__item {
        flex-direction: column;
    }

    .bamdad-th-hfb--mobile-stacked_image_first .bamdad-th-hfb__media {
        order: 1;
    }

    .bamdad-th-hfb--mobile-stacked_image_first .bamdad-th-hfb__content {
        order: 2;
    }

    .bamdad-th-hfb--mobile-stacked_content_first .bamdad-th-hfb__content {
        order: 1;
    }

    .bamdad-th-hfb--mobile-stacked_content_first .bamdad-th-hfb__media {
        order: 2;
    }

    .bamdad-th-hfb--mobile-stacked_image_first .bamdad-th-hfb__media,
    .bamdad-th-hfb--mobile-stacked_content_first .bamdad-th-hfb__media,
    .bamdad-th-hfb--mobile-stacked_image_first .bamdad-th-hfb__content,
    .bamdad-th-hfb--mobile-stacked_content_first .bamdad-th-hfb__content {
        flex-basis: auto !important;
        width: 100% !important;
    }

    .bamdad-th-hfb__heading {
        font-size: 28px;
    }

    .bamdad-th-hfb__content {
        padding: 24px;
    }

    .bamdad-th-hfb__title {
        font-size: 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bamdad-th-hfb *,
    .bamdad-th-hfb *::before,
    .bamdad-th-hfb *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}
