/**
 * Atmosfera widget: Mortgage and support.
 */

.atm-mortgage {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    width: 100%;
    min-height: 0;
    box-sizing: border-box;
    background: #f2ebe7;
    color: #2f2f2f;
}

.elementor-widget-atmosfera_mortgage_support,
.elementor-widget-atmosfera_mortgage_support > .elementor-widget-container {
    height: 100%;
}

.atm-mortgage--stretch {
    height: 100%;
}

.atm-mortgage__content {
    position: relative;
    z-index: 2;
    max-width: 650rem;
    box-sizing: border-box;
}

.atm-mortgage__decor {
    position: absolute;
    z-index: 1;
    top: 0;
    right: 0;
    width: 360rem;
    height: 360rem;
    background-repeat: no-repeat;
    background-position: right top;
    background-size: 100% 100%;
    pointer-events: none;
    user-select: none;
}

.atm-mortgage__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 24rem;
    margin-bottom: 86rem;
}

.atm-mortgage__eyebrow-icon {
    display: block;
    width: 46rem;
    height: 46rem;
    object-fit: contain;
    flex: 0 0 auto;
}

.atm-mortgage__eyebrow-text {
    display: block;
    font-family: Inter, Arial, sans-serif;
    font-size: 22rem;
    font-weight: 400;
    line-height: 1.2;
    color: #7c7c7c;
    text-transform: uppercase;
}

.atm-mortgage__title {
    max-width: 640rem;
    margin: 0;
    font-family: Forum, Georgia, serif;
    font-size: 52rem;
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #2e2e2e;
    text-transform: uppercase;
}

.atm-mortgage__description {
    max-width: 650rem;
    margin-top: 42rem;
    font-family: Inter, Arial, sans-serif;
    font-size: 24rem;
    font-weight: 400;
    line-height: 1.55;
    color: #7c7c7c;
}

.atm-mortgage__list {
    display: flex;
    flex-direction: column;
    gap: 22rem;
    max-width: 650rem;
    margin-top: 70rem;
}

.atm-mortgage__item {
    display: flex;
    align-items: center;
    column-gap: 24rem;
    padding-bottom: 17rem;
    border-bottom: 1rem solid rgba(120, 120, 120, 0.24);
}

.atm-mortgage__item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.atm-mortgage__item-icon {
    display: block;
    width: 42rem;
    height: 42rem;
    object-fit: contain;
    flex: 0 0 auto;
}

.atm-mortgage__item-text {
    font-family: Inter, Arial, sans-serif;
    font-size: 24rem;
    font-weight: 400;
    line-height: 1.35;
    color: #666666;
}

@media (max-width: 767px) {
    .atm-mortgage {
        min-height: 0;
        padding: 36rem 22rem 42rem;
    }

    .atm-mortgage__content {
        max-width: none;
    }

    .atm-mortgage__decor {
        width: 156rem;
        height: 156rem;
        top: 0;
        right: 0;
    }

    .atm-mortgage__eyebrow {
        gap: 12rem;
        margin-bottom: 42rem;
    }

    .atm-mortgage__eyebrow-icon {
        width: 28rem;
        height: 28rem;
    }

    .atm-mortgage__eyebrow-text {
        font-size: 13rem;
    }

    .atm-mortgage__title {
        max-width: 320rem;
        font-size: 34rem;
        line-height: 1.12;
    }

    .atm-mortgage__description {
        max-width: none;
        margin-top: 22rem;
        font-size: 15rem;
        line-height: 1.5;
    }

    .atm-mortgage__list {
        max-width: none;
        margin-top: 36rem;
        gap: 16rem;
    }

    .atm-mortgage__item {
        column-gap: 12rem;
        padding-bottom: 13rem;
    }

    .atm-mortgage__item-icon {
        width: 28rem;
        height: 28rem;
    }

    .atm-mortgage__item-text {
        font-size: 15rem;
        line-height: 1.35;
    }
}
