.h4bs-image-guidance {
    margin: 10px 0 0;
    border: 1px solid #b8c7d9;
    border-left: 4px solid #0877c9;
    border-radius: 6px;
    background: #f7fbff;
    color: #172033;
    max-width: 720px;
}

.h4bs-image-guidance > summary {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 7px 10px;
    cursor: pointer;
    font-weight: 700;
    line-height: 1.35;
}

.h4bs-image-guidance > summary::marker {
    color: #0877c9;
}

.h4bs-image-guidance__summary {
    margin-left: auto;
    color: #40536d;
    font-size: 12px;
    font-weight: 600;
    text-align: right;
}

.h4bs-image-guidance__body {
    padding: 0 12px 12px;
    border-top: 1px solid #d8e3ef;
}

.h4bs-image-guidance__purpose {
    display: grid;
    grid-template-columns: minmax(110px, auto) minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    margin: 12px 0;
    font-weight: 600;
}

.h4bs-image-guidance__purpose select {
    width: 100%;
    max-width: 360px;
    min-height: 44px;
}

.h4bs-image-guidance__facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: 0;
}

.h4bs-image-guidance__fact {
    min-width: 0;
    padding: 8px;
    border: 1px solid #d8e3ef;
    border-radius: 4px;
    background: #fff;
}

.h4bs-image-guidance__fact dt {
    margin: 0 0 3px;
    color: #40536d;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.h4bs-image-guidance__fact dd {
    margin: 0;
    color: #172033;
    font-weight: 650;
    overflow-wrap: anywhere;
}

.h4bs-image-guidance__advice,
.h4bs-image-guidance__status {
    margin: 10px 0 0;
    line-height: 1.5;
}

.h4bs-image-guidance__status {
    padding: 8px 10px;
    border-left: 3px solid #6b7d92;
    background: #fff;
}

.h4bs-image-guidance__status.is-good {
    border-left-color: #168245;
    color: #0f6334;
}

.h4bs-image-guidance__status.is-warning {
    border-left-color: #b65c00;
    color: #7a3d00;
}

.h4bs-image-guidance__link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    margin-top: 4px;
    font-weight: 650;
}

.h4bs-field > .h4bs-image-guidance,
.h4bs-slider-field > .h4bs-image-guidance,
.h4bs-calendar-image > .h4bs-image-guidance,
.h4bs-staff-editor-section > .h4bs-image-guidance {
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 782px) {
    .h4bs-image-guidance__summary {
        flex: 1 1 100%;
        margin-left: 0;
        text-align: left;
    }

    .h4bs-image-guidance > summary {
        flex-wrap: wrap;
    }

    .h4bs-image-guidance__purpose,
    .h4bs-image-guidance__facts {
        grid-template-columns: 1fr;
    }

    .h4bs-image-guidance__purpose select {
        max-width: none;
        min-height: 44px;
    }
}
