.wp-site-blocks .etalon-service-photo-credit {
    box-sizing: border-box;
    color: #36394c;
    text-align: start;
    font-size: 0.875rem;
    line-height: 1.5;
    overflow-wrap: anywhere;
}
.wp-site-blocks .etalon-service-cover-credit {
    width: min(1200px, calc(100% - 48px));
    margin: 0 auto;
    padding-block: 10px;
}
.wp-site-blocks .etalon-service-photo-credit a {
    color: #292b52;
    text-decoration: underline;
    text-underline-offset: 0.14em;
}
.wp-site-blocks .etalon-service-photo-credit a:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}
.wp-site-blocks .etalon-service-samples:has(> figure + .wp-block-group) > figure:has(> .etalon-service-credit-frame) {
    display: grid;
    grid-template-rows: minmax(224px, 1fr) auto;
    min-width: 0;
    aspect-ratio: auto;
}
.wp-site-blocks .etalon-service-credit-frame {
    position: relative;
    min-width: 0;
}
.wp-site-blocks .etalon-service-samples figure > .etalon-service-photo-credit {
    align-self: start;
    margin: 0;
    padding: 8px 12px;
    background: #fff;
}
@media (max-width: 600px) {
    .wp-site-blocks .etalon-service-samples:has(> figure + .wp-block-group) > figure:has(> .etalon-service-credit-frame) {
        grid-template-rows: auto auto;
    }
    .wp-site-blocks .etalon-service-credit-frame { aspect-ratio: 16 / 9; }
    .wp-site-blocks .etalon-service-cover-credit { width: calc(100% - 40px); }
}
