/* AFFINGER7's confirmed date UI; only a queried legacy works page receives this class. */
body.upremake-legacy-works-single.single-works article .blogbox > p > span.kdate {
    display: none;
}

/* Confirmed AFFINGER article body; no sidebar, author box or other post type. */
body.single-works article .type-works .entry-content img {
    display: block;
    float: none;
    margin-left: auto;
    margin-right: auto;
    max-inline-size: 100%;
    height: auto;
}
body.single-works article .type-works .entry-content figure,
body.single-works article .type-works .entry-content .wp-caption {
    float: none;
    margin-left: auto;
    margin-right: auto;
    max-inline-size: 100%;
    text-align: center;
}
body.single-works article .type-works .entry-content figcaption,
body.single-works article .type-works .entry-content .wp-caption-text {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    overflow-wrap: anywhere;
}

/* Opt-in markup emitted for newly prepared B1 articles; no stored-body rewrite. */
body.single-works article .type-works .entry-content .upm-works-summary {
    margin: 20px 0 36px;
    border: 1px solid #dbe5e8;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}
body.single-works article .type-works .entry-content .upm-works-summary-row {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    border-bottom: 1px solid #e8eef0;
}
body.single-works article .type-works .entry-content .upm-works-summary-row:last-child {
    border-bottom: 0;
}
body.single-works article .type-works .entry-content .upm-works-summary-label,
body.single-works article .type-works .entry-content .upm-works-summary-value {
    min-width: 0;
    padding: 14px 16px;
    overflow-wrap: anywhere;
    line-height: 1.8;
}
body.single-works article .type-works .entry-content .upm-works-summary-label {
    background: #f3f7f8;
    color: #174d5c;
    font-weight: 700;
}
@media (max-width: 600px) {
    body.single-works article .type-works .entry-content .upm-works-summary-row {
        grid-template-columns: 1fr;
    }
    body.single-works article .type-works .entry-content .upm-works-summary-label,
    body.single-works article .type-works .entry-content .upm-works-summary-value {
        padding: 10px 14px;
    }
}
