/* Restrained overlay inside the bottom-left corner of a classified image. */
.ddcp-image-label {
    --ddcp-inset: 8px;
    position: relative;
    z-index: 2;
    display: block;
    width: fit-content;
    max-width: calc(100% - 2 * var(--ddcp-inset));
    /* Flow images: pull the label up over the image bottom without moving captions. */
    margin: calc(-1 * (0.75rem * 1.4 + 6px + var(--ddcp-inset))) 0 var(--ddcp-inset) var(--ddcp-inset);
    padding: 3px 8px;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    font: 500 0.75rem/1.4 var(--dd-font, sans-serif);
    letter-spacing: 0.01em;
    text-align: left;
    white-space: nowrap;
    pointer-events: none;
}
/* Images that fill a positioned frame. */
:is(.wp-block-post-featured-image, .wp-block-cover) .ddcp-image-label {
    position: absolute;
    left: var(--ddcp-inset);
    bottom: var(--ddcp-inset);
    margin: 0;
}
.wp-block-post-featured-image:has(.ddcp-image-label) { position: relative; }
/* Twenty Eleven, the AMP reader theme, letterboxes the header image centrally. */
#branding .ddcp-image-label { margin-inline: auto; }
.ddcp-disclosure-rule {
    width: 100%;
    border: 0;
    border-block-start: 1px solid var(--dd-color-border, #525252);
    margin: var(--dd-space-sm, 8px) 0;
}
.ddcp-text-notice[data-ddcp-text],
.ddcp-editorial-disclosure {
    max-width: 100%;
    margin: var(--dd-space-sm, 8px) 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--dd-color-text-secondary, #b0b0b0);
    font: 400 0.875rem/1.5 var(--dd-font, sans-serif);
    text-align: right;
    overflow-wrap: break-word;
}
