/**
 * @file
 * Styles for the "Page alert" Layout Builder block (ticket #241).
 *
 * Markup: .page-alert > .page-alert__content (title + body).
 * Attached via the ih_components/page_alert_block library from
 * PageAlertBlock::build().
 *
 */

.page-alert {
    display: flex;
    align-items: flex-start;
    max-width: 600px;
    margin: 0 0 24px 0;
    border: 1px solid var(--color-orange-55, #c96312);
    border-radius: 12px;
    background: var(--color-orange-96, #fef1e9);
}

.page-alert__content {
    display: flex;
    flex: 1 0 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 20px 24px 22px;
}

/* Title - LG/Bold */
.field--name-field-page-alert-title {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
    color: var(--Colors-Orange-40, #934507);
    font-size: 2.3rem;
    font-weight: 700;
    line-height: 3.1rem;
}

/* Warning icon */
.field--name-field-page-alert-title::after {
    content: "";
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    margin-top: 0;
    margin-left: auto;
    background-color: #c96312;
    -webkit-mask: url(/themes/ih_main/images/warning2.svg) no-repeat center / contain;
    mask: url(/themes/ih_main/images/warning2.svg) no-repeat center / contain;
}
