/* KakPozvonit note styling. Existing [note] and .example markup is unchanged. */
@font-face {
    font-family: FontAwesome;
    src: url('../fonts/fontawesome-webfont.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

.wp-block-custom-info-note.info-note {
    position: relative;
    box-sizing: border-box;
    overflow: hidden;
    min-height: 42px;
    margin: 24px 0;
    padding: 14px 14px 12px 58px;
    border: 0;
    border-radius: 0;
    color: #313131;
    font-family: inherit;
    font-size: inherit;
    font-style: normal;
    line-height: inherit;
}

.wp-block-custom-info-note.info-note::before {
    content: var(--kp-note-icon);
    position: absolute;
    top: 0;
    left: 0;
    width: 42px;
    height: 100%;
    min-height: 42px;
    background: var(--kp-note-strip);
    color: #fff;
    font: normal 28px/46px FontAwesome;
    text-align: center;
}

.wp-block-custom-info-note .info-note__icon {
    display: none;
}

.wp-block-custom-info-note .info-note__header {
    display: block;
    margin: 0 0 8px;
}

.wp-block-custom-info-note .info-note__title {
    color: inherit;
    font-family: inherit;
    font-size: 1.4em;
    font-weight: 600;
    line-height: inherit;
}

.wp-block-custom-info-note .info-note__content {
    margin-left: 0;
    color: inherit;
    font-family: inherit;
    font-size: 16px;
    font-style: inherit;
    line-height: inherit;
}

.wp-block-custom-info-note .info-note__content strong,
.wp-block-custom-info-note .info-note__content em {
    color: inherit;
}

.wp-block-custom-info-note.info-note--information {
    background: #ddfdde;
    --kp-note-strip: #7eb77f;
    --kp-note-icon: '\f05a';
}

.wp-block-custom-info-note.info-note--attention {
    background: #f5eea8;
    --kp-note-strip: #f4d35e;
    --kp-note-icon: '\f0a4';
}

.wp-block-custom-info-note.info-note--important {
    background: #ffe0e6;
    --kp-note-strip: #dc7386;
    --kp-note-icon: '\f071';
}

.wp-block-custom-info-note.info-note--example,
.wp-block-custom-info-note.info-note--cta {
    padding: 20px;
    border-left: 10px solid #456990;
    margin-bottom: 1.5em;
}

.wp-block-custom-info-note.info-note--example {
    background: #efefef;
    font-family: Georgia, serif;
    font-style: italic;
    font-size: 15px;
}

.wp-block-custom-info-note.info-note--example em {
    text-decoration: underline;
    font-weight: 600;
}

.wp-block-custom-info-note.info-note--cta {
    background: #e8f5fc;
    font-family: inherit;
    font-style: normal;
}

.wp-block-custom-info-note.info-note--example::before,
.wp-block-custom-info-note.info-note--cta::before {
    content: none;
}

/* Core Gutenberg buttons and legacy .btn links match the site's standard buttons. */
.wp-block-custom-info-note.info-note--cta .wp-block-button__link,
.wp-block-custom-info-note.info-note--cta a.btn {
    display: inline-block;
    box-sizing: border-box;
    width: auto;
    height: auto;
    padding: 10px 12px 8px;
    border: none;
    border-radius: 3px;
    background: #fd7681;
    color: #fff;
    font-family: inherit;
    font-size: 17px;
    font-style: normal;
    line-height: 1.35;
    text-decoration: none;
    cursor: pointer;
    transition: background 100ms ease-out;
}

.wp-block-custom-info-note.info-note--cta .wp-block-button__link:visited,
.wp-block-custom-info-note.info-note--cta a.btn:visited {
    background: #fd7681;
    color: #fff;
}

.wp-block-custom-info-note.info-note--cta .wp-block-button__link:hover,
.wp-block-custom-info-note.info-note--cta a.btn:hover {
    background: #f45b69;
    color: #fff;
    text-decoration: none;
}

.wp-block-custom-info-note.info-note--cta .wp-block-button__link:active,
.wp-block-custom-info-note.info-note--cta a.btn:active {
    background: #fd7681;
}

/* Center the editable Gutenberg wrapper within the content column. */
.wp-block-custom-info-note.info-note[data-block] {
    margin-left: auto;
    margin-right: auto;
}
