/* =========================================
   Brand Alert
========================================= */

.brand-alert {
    display: flex;
    align-items: center;
    gap: 16px;

    position: relative;

    width: 100%;

    margin: 28px 0;
    padding: 18px 20px;

    background: #fff6f8;

    border: 1px solid #f0c2cd;
    border-radius: 18px;

    box-shadow:
        0 6px 18px rgba(214, 0, 53, .05);

    box-sizing: border-box;
}


/* Icon */

.brand-alert-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 40px;

    width: 40px;
    height: 40px;

    border-radius: 50%;

    background: #d60035;
    color: #ffffff;

    font-size: 22px;
    line-height: 1;
    font-weight: 900;

    box-shadow:
        0 4px 12px rgba(214, 0, 53, .18);
}


/* Content */

.brand-alert-content {
    flex: 1;
    min-width: 0;
}


/* Title */

.brand-alert-title {
    margin: 0 0 4px;

    color: #d60035;

    font-size: 15px;
    line-height: 1.4;
    font-weight: 850;
}


/* Text */

.brand-alert-text {
    margin: 0;

    color: #3d3d40;

    font-size: 16px;
    line-height: 1.7;
    font-weight: 400;
}


/* CTA */

.brand-alert-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    flex: 0 0 auto;

    padding: 9px 13px;

    background: #ffffff;

    border: 1px solid #e0a8b5;
    border-radius: 999px;

    color: #d60035 !important;

    font-size: 12px;
    line-height: 1;
    font-weight: 800;

    text-decoration: none !important;

    white-space: nowrap;

    cursor: pointer;

    transition:
        background .2s ease,
        color .2s ease,
        border-color .2s ease,
        transform .2s ease,
        box-shadow .2s ease;
}


.brand-alert-cta span {
    display: inline-block;

    font-size: 15px;

    transition: transform .2s ease;
}


/* Hover */

.brand-alert:hover {
    border-color: #e5a7b6;

    box-shadow:
        0 8px 22px rgba(214, 0, 53, .08);
}


.brand-alert-cta:hover {
    background: #d60035;
    color: #ffffff !important;

    border-color: #d60035;

    transform: translateY(-1px);

    box-shadow:
        0 5px 14px rgba(214, 0, 53, .15);
}


.brand-alert-cta:hover span {
    transform: translateX(3px);
}


/* Gutenberg */

.editor-styles-wrapper .brand-alert {
    display: flex;
    background: #fff6f8;
    border: 1px solid #f0c2cd;
}


/* Mobile */

@media (max-width: 768px) {

    .brand-alert {
        align-items: flex-start;
        flex-wrap: wrap;

        gap: 12px;

        margin: 22px 0;
        padding: 15px 16px;

        border-radius: 15px;
    }

    .brand-alert-icon {
        width: 34px;
        height: 34px;

        flex-basis: 34px;

        font-size: 18px;
    }

    .brand-alert-content {
        flex: 1 1 calc(100% - 50px);
    }

    .brand-alert-title {
        font-size: 14px;
    }

    .brand-alert-text {
        font-size: 15px;
        line-height: 1.65;
    }

    .brand-alert-cta {
        margin-left: 46px;

        padding: 8px 12px;
    }
}