/* Блоки-врезки «Внимание / Важно / Информация / Совет» */

.callout {
    margin: 0 0 14px;
    padding: 10px 14px;
    border-left: 4px solid #f0a43a;
    border-radius: 4px;
    background: rgba(240, 164, 58, 0.10);
}

.callout .callout-title {
    margin: 0 0 6px;
    font-weight: 700;
    font-size: 14px;
}

.callout .callout-title:before {
    display: inline-block;
    margin-right: 8px;
    font-weight: 400;
}

.callout > *:last-child {
    margin-bottom: 0;
}

.callout-warning {
    border-left-color: #f0a43a;
    background: rgba(240, 164, 58, 0.10);
}

.callout-warning .callout-title:before {
    content: "⚠";
}

.callout-danger {
    border-left-color: #d9534f;
    background: rgba(217, 83, 79, 0.10);
}

.callout-danger .callout-title:before {
    content: "✖";
}

.callout-info {
    border-left-color: #287cd3;
    background: rgba(40, 124, 211, 0.08);
}

.callout-info .callout-title:before {
    content: "ℹ";
}

.callout-success {
    border-left-color: #2abd54;
    background: rgba(42, 189, 84, 0.09);
}

.callout-success .callout-title:before {
    content: "✔";
}

/* Тёмная тема */
html[data-theme="dark"] .callout {
    color: #d7dde5;
}

html[data-theme="dark"] .callout-warning {
    background: rgba(240, 164, 58, 0.14);
}

html[data-theme="dark"] .callout-danger {
    background: rgba(217, 83, 79, 0.16);
}

html[data-theme="dark"] .callout-info {
    background: rgba(40, 124, 211, 0.16);
}

html[data-theme="dark"] .callout-success {
    background: rgba(42, 189, 84, 0.14);
}

html[data-theme="dark"] .callout .callout-title {
    color: #ffffff;
}
