.bmm-kol-blog-content > .kol-autoblog-figure {
    width: 38%;
    max-width: 22rem;
    margin-top: 0.45rem;
    margin-bottom: 1.35rem;
}

.bmm-kol-blog-single .bmm-kol-blog-story__image {
    background: transparent !important;
}

.bmm-kol-blog-content > .kol-autoblog-figure--right {
    float: right;
    clear: right;
    margin-right: 0;
    margin-left: 1.75rem;
}

.bmm-kol-blog-content > .kol-autoblog-figure--left {
    float: left;
    clear: both;
    margin-right: 1.75rem;
    margin-left: 0;
}

.kol-autoblog-figure img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.kol-autoblog-figure figcaption {
    margin: 0;
    background: transparent !important;
}

.kol-autoblog-figure-clear {
    display: block;
    clear: both;
    width: 100%;
    height: 0;
}

.kol-autoblog-credit {
    position: relative;
    display: block;
    margin-top: 0.4rem;
    background: transparent !important;
    color: #616a73;
    font-size: 0.78rem;
    line-height: 1.45;
}

.kol-autoblog-credit > small {
    display: block;
    background: transparent !important;
}

.kol-autoblog-credit--collapsed > small {
    max-height: 2.9em;
    padding-inline-end: 2.15rem;
    overflow: hidden;
}

.kol-autoblog-credit__more {
    position: absolute;
    right: 0;
    bottom: 0;
    min-width: 1.9rem;
    margin: 0;
    padding: 0 0.1rem;
    border: 0;
    background: transparent !important;
    box-shadow: none;
    color: inherit;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    line-height: 1.45;
    text-align: right;
}

.kol-autoblog-credit__more:hover,
.kol-autoblog-credit__more:focus {
    border: 0;
    background: transparent !important;
    box-shadow: none;
    color: inherit;
}

.kol-autoblog-credit__more:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

.kol-autoblog-credit a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.kol-autoblog-caution,
.kol-autoblog-disclosure {
    color: #616a73;
}

body.kol-autoblog-external-link-open {
    overflow: hidden;
}

.kol-autoblog-external-link-backdrop[hidden] {
    display: none;
}

.kol-autoblog-external-link-backdrop {
    position: fixed;
    z-index: 100000;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 1rem;
    background: rgba(15, 23, 42, 0.68);
    backdrop-filter: blur(3px);
}

.kol-autoblog-external-link-dialog {
    width: min(100%, 30rem);
    padding: 1.5rem;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.28);
    color: #1f2937;
}

.kol-autoblog-external-link-icon {
    display: inline-grid;
    width: 2.5rem;
    height: 2.5rem;
    place-items: center;
    margin-bottom: 0.75rem;
    border-radius: 999px;
    background: #e8f7ee;
    color: #176c3a;
    font-size: 1.35rem;
    font-weight: 700;
}

.kol-autoblog-external-link-dialog h2 {
    margin: 0 0 0.65rem;
    color: inherit;
    font-size: clamp(1.25rem, 4vw, 1.55rem);
    line-height: 1.25;
}

.kol-autoblog-external-link-dialog > p {
    margin: 0;
    color: #4b5563;
    line-height: 1.55;
}

.kol-autoblog-external-link-destination {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
    margin-top: 1rem !important;
    padding: 0.75rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #f3f4f6;
    overflow-wrap: anywhere;
}

.kol-autoblog-external-link-destination strong {
    color: #1f2937;
}

.kol-autoblog-external-link-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.kol-autoblog-external-link-actions button {
    min-height: 2.5rem;
    padding: 0.45rem 1rem;
    border-radius: 7px;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
}

.kol-autoblog-external-link-cancel {
    border: 1px solid #d1d5db;
    background: #fff;
    color: #374151;
}

.kol-autoblog-external-link-continue {
    border: 1px solid #1a4d1a;
    background: linear-gradient(#2d7c2d, #1f5f1f);
    box-shadow: 0 4px 8px rgba(31, 95, 31, 0.24);
    color: #fff;
}

.kol-autoblog-external-link-actions button:hover {
    filter: brightness(0.96);
}

.kol-autoblog-external-link-actions button:focus-visible {
    outline: 3px solid rgba(0, 153, 119, 0.38);
    outline-offset: 3px;
}

.kol-autoblog-admin__summary {
    max-width: 960px;
    margin: 1rem 0 1.25rem;
    padding: 0.75rem 1rem;
    border: 1px solid #c3c4c7;
    border-radius: 8px;
    background: #fff;
}

html.dark-mode .kol-autoblog-credit,
html.dark-mode .kol-autoblog-caution,
html.dark-mode .kol-autoblog-disclosure {
    color: #aeb7c0;
}

html.dark-mode .kol-autoblog-admin__summary {
    border-color: #39424b;
    background: #20272e;
    color: #f1f3f5;
}

html.light-mode .kol-autoblog-credit,
html.light-mode .kol-autoblog-caution,
html.light-mode .kol-autoblog-disclosure {
    color: #616a73;
}

html.light-mode .kol-autoblog-external-link-dialog {
    border-color: #e5e7eb;
    background: #fff;
    color: #1f2937;
}

html.light-mode .kol-autoblog-external-link-dialog > p {
    color: #4b5563;
}

html.light-mode .kol-autoblog-external-link-destination {
    border-color: #e5e7eb;
    background: #f3f4f6;
}

html.light-mode .kol-autoblog-external-link-destination strong {
    color: #1f2937;
}

html.dark-mode .kol-autoblog-external-link-dialog,
body.dark-mode .kol-autoblog-external-link-dialog {
    border-color: #333;
    background: #1a1a1a;
    color: #e0e0e0;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.58);
}

html.dark-mode .kol-autoblog-external-link-dialog > p,
body.dark-mode .kol-autoblog-external-link-dialog > p {
    color: #b7bdc5;
}

html.dark-mode .kol-autoblog-external-link-icon,
body.dark-mode .kol-autoblog-external-link-icon {
    background: #173c2b;
    color: #9ce1ba;
}

html.dark-mode .kol-autoblog-external-link-destination,
body.dark-mode .kol-autoblog-external-link-destination {
    border-color: #333;
    background: #2a2a2a;
}

html.dark-mode .kol-autoblog-external-link-destination strong,
body.dark-mode .kol-autoblog-external-link-destination strong {
    color: #e0e0e0;
}

html.dark-mode .kol-autoblog-external-link-cancel,
body.dark-mode .kol-autoblog-external-link-cancel {
    border-color: #555;
    background: #343434;
    color: #fff;
}

@media (max-width: 480px) {
    .kol-autoblog-external-link-dialog {
        padding: 1.25rem;
    }

    .kol-autoblog-external-link-actions {
        flex-direction: column-reverse;
    }

    .kol-autoblog-external-link-actions button {
        width: 100%;
    }
}

@media (max-width: 767px) {
    .bmm-kol-blog-content > .kol-autoblog-figure,
    .bmm-kol-blog-content > .kol-autoblog-figure--right,
    .bmm-kol-blog-content > .kol-autoblog-figure--left {
        float: none;
        clear: both;
        width: 100%;
        max-width: none;
        margin: 1.5rem 0;
    }
}
