.quick-answer {
    position: relative;
    margin-bottom: 34px;
    overflow: hidden;
    border: 1px solid #dce5fb;
    border-radius: 20px;
    background:
        radial-gradient(circle at 0 0, rgba(34, 184, 186, .12), transparent 34%),
        linear-gradient(145deg, #f7f9ff 0%, #fff 68%);
    box-shadow: 0 18px 48px rgba(12, 40, 111, .11);
    text-align: right;
}

.quick-answer::before {
    position: absolute;
    inset: 0 0 auto;
    height: 5px;
    background: linear-gradient(90deg, #22b8ba, var(--color-primary) 58%, #ffb400);
    content: "";
}

.quick-answer__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 28px 30px 20px;
}

.quick-answer__heading {
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 0;
}

.quick-answer__icon,
.long-form-content__icon {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    color: #fff;
    background: linear-gradient(145deg, var(--color-primary), #2255df);
    box-shadow: 0 10px 24px rgba(18, 57, 172, .22);
    font-size: 20px;
}

.quick-answer__eyebrow,
.long-form-content__header > div > span {
    display: block;
    margin-bottom: 3px;
    color: var(--color-primary);
    font-size: 13px;
    font-weight: 800;
}

.quick-answer h2 {
    margin: 0;
    color: var(--color-heading);
    font-size: clamp(21px, 2.4vw, 27px);
    font-weight: 800;
    line-height: 1.5;
}

.quick-answer__badge {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 7px;
    padding: 8px 13px;
    border: 1px solid #dfe6f7;
    border-radius: 999px;
    color: #4f5d7d;
    background: rgba(255, 255, 255, .88);
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.quick-answer__badge i {
    color: #15976d;
}

.quick-answer__body {
    margin: 0 30px;
    padding: 22px 24px;
    border: 1px solid rgba(18, 57, 172, .1);
    border-radius: 15px;
    color: #273452;
    background: rgba(255, 255, 255, .9);
    font-size: 17px;
    font-weight: 500;
    line-height: 2.15;
    overflow-wrap: anywhere;
}

.quick-answer__body > :first-child {
    margin-top: 0;
}

.quick-answer__body > :last-child {
    margin-bottom: 0;
}

.services-details-items .services-single-content .service-content .quick-answer__body ul,
.services-details-items .services-single-content .service-content .quick-answer__body ol,
.blog-area .item .blog-item-box .info .quick-answer__body ul,
.blog-area .item .blog-item-box .info .quick-answer__body ol {
    margin: 12px 0;
    padding: 0 24px 0 0;
    border: 0;
    background: transparent;
}

.quick-answer__body strong {
    color: #102967;
}

.quick-answer__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 20px 30px 25px;
}

.quick-answer__footer p {
    max-width: 570px;
    margin: 0;
    color: #6a7387;
    font-size: 13px;
    line-height: 1.9;
}

.quick-answer__footer a {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 45px;
    padding: 0 17px;
    border: 0 !important;
    border-radius: 12px;
    color: #fff !important;
    background: var(--color-primary);
    box-shadow: 0 9px 22px rgba(18, 57, 172, .2);
    font-size: 13px;
    font-weight: 800;
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.quick-answer__footer a:hover,
.quick-answer__footer a:focus-visible {
    color: #fff !important;
    background: #0c286f;
    box-shadow: 0 12px 27px rgba(12, 40, 111, .27);
    transform: translateY(-2px);
}

.quick-answer__footer a:focus-visible {
    outline: 3px solid rgba(255, 180, 0, .55);
    outline-offset: 3px;
}

.long-form-content {
    scroll-margin-top: 110px;
}

.long-form-content__header {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
    padding: 0 2px 22px;
    border-bottom: 1px solid #e7ebf3;
}

.long-form-content__icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    color: var(--color-primary);
    background: #edf2ff;
    box-shadow: none;
    font-size: 18px;
}

.long-form-content__header h2 {
    margin: 0 0 5px;
    color: var(--color-heading);
    font-size: clamp(20px, 2.2vw, 26px);
    font-weight: 800;
    line-height: 1.55;
}

.long-form-content__header p {
    margin: 0;
    color: #747d91;
    font-size: 13px;
    line-height: 1.9;
}

.long-form-content__body > :first-child {
    margin-top: 0;
}

@media (max-width: 767.98px) {
    .quick-answer {
        margin-bottom: 26px;
        border-radius: 16px;
    }

    .quick-answer__header,
    .quick-answer__footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .quick-answer__header {
        padding: 24px 20px 17px;
    }

    .quick-answer__heading {
        align-items: flex-start;
    }

    .quick-answer__icon {
        width: 45px;
        height: 45px;
        border-radius: 13px;
        font-size: 17px;
    }

    .quick-answer__body {
        margin: 0 20px;
        padding: 18px;
        font-size: 15px;
        line-height: 2.05;
    }

    .quick-answer__footer {
        gap: 13px;
        padding: 17px 20px 21px;
    }

    .quick-answer__footer a {
        width: 100%;
    }

    .long-form-content__header {
        gap: 12px;
    }

    .long-form-content__icon {
        width: 42px;
        height: 42px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .quick-answer__footer a {
        transition: none;
    }
}
