/**
 * Homepage AI chat banner.
 *
 * Sizes are in px to match the rest of the theme: Bootstrap sets a 10px root
 * font size, so rem values here would not line up with the site type scale.
 */

.ai-chat-banner {
    margin-bottom: 30px;
    padding: 30px 0 50px;
    color: #fff;
}

/* Sits inside .container so it matches the width of .promo-box. */
.ai-chat-banner__inner {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 40px;
    background: #292929;
    border-bottom: 5px solid #d6b161;
}

.ai-chat-banner__icon {
    display: flex;
    flex: 0 0 72px;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background-color: #790a03;
    color: #d6b161;
    font-size: 30px;
}

.ai-chat-banner__content {
    flex: 1 1 auto;
}

.ai-chat-banner__eyebrow {
    margin: 0 0 8px;
    color: #d6b161;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    line-height: 1.4;
    text-transform: uppercase;
}

/* Matches the site h2: 30px uppercase, 2px tracking, normal weight. */
.ai-chat-banner__title {
    margin: 0 0 15px;
    color: #fff;
    font-size: 30px;
    font-weight: 400;
    letter-spacing: 2px;
    line-height: 1.5;
    text-transform: uppercase;
}

.ai-chat-banner__title span {
    color: #d6b161;
}

.ai-chat-banner__description {
    max-width: 700px;
    margin: 0;
    color: #fff;
    font-size: 16px;
    line-height: 26px;
}

.ai-chat-banner__action {
    flex: 0 0 auto;
    text-align: center;
}

/* Matches the red CTA buttons: .btn-attorney-profile */
.ai-chat-banner__button {
    margin: 0;
    background: #790a03;
    border-color: #790a03;
    color: #fff;
}

.ai-chat-banner__button:hover,
.ai-chat-banner__button:focus {
    background: #d6b161;
    border-color: #d6b161;
    color: #333;
}

@media (max-width: 991px) {
    .ai-chat-banner__inner {
        flex-wrap: wrap;
        padding: 30px;
    }

    .ai-chat-banner__content {
        flex-basis: calc(100% - 102px);
    }

    .ai-chat-banner__action {
        flex-basis: 100%;
        padding-left: 102px;
        text-align: left;
    }
}

@media (max-width: 767px) {
    .ai-chat-banner {
        padding: 25px 0 40px;
    }

    .ai-chat-banner__inner {
        display: block;
        padding: 30px 20px;
        text-align: center;
    }

    .ai-chat-banner__icon {
        margin: 0 auto 20px;
    }

    .ai-chat-banner__title {
        font-size: 20px;
    }

    .ai-chat-banner__description {
        font-size: 15px;
        line-height: 24px;
    }

    .ai-chat-banner__action {
        margin-top: 25px;
        padding-left: 0;
        text-align: center;
    }
}
