/* Wave 8 C: opt-in content variants only. Registered by root after review. */

.w8-content-gallery__more,
.w8-content-before-after__more,
.w8-content-compact__more,
.w8-geo-context__details {
    margin-top: 1.25rem;
}

.w8-content-gallery__more > summary,
.w8-content-before-after__more > summary,
.w8-content-compact__more > summary,
.w8-geo-context__details > summary {
    align-items: center;
    cursor: pointer;
    display: inline-flex;
    min-height: 44px;
    padding: 0.55rem 0.85rem;
}

.w8-content-gallery__more > summary:focus-visible,
.w8-content-before-after__more > summary:focus-visible,
.w8-content-compact__more > summary:focus-visible,
.w8-geo-context__details > summary:focus-visible,
.w8-geo-actions a:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}

.w8-content-gallery__more[open] > .w8-content-gallery__grid,
.w8-content-compact__more[open] > .w8-content-compact__grid,
.w8-content-before-after__more[open] > .before-after {
    margin-top: 1rem;
}

.w8-content-before-after .before-after__comparison.is-ready .before-after__panel--before figcaption {
    inset-inline-start: auto;
    inset-inline-end: 0.75rem;
}

.s-garanties.advantages.w8-content-compact .w8-content-compact__scope {
    margin: 0 0 0.75rem;
}

.s-garanties.advantages.w8-content-compact.background-dark .w8-content-compact__scope,
.s-garanties.advantages.w8-content-compact.background-dark .w8-content-compact__more > summary {
    color: #fff;
}

.s-garanties.advantages.w8-content-compact .w8-content-compact__grid {
    grid-template-columns: minmax(0, 1fr);
}

.w8-geo-actions {
    align-items: stretch;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.w8-geo-actions .btn {
    align-items: center;
    display: inline-flex;
    justify-content: center;
    min-height: 44px;
}

.w8-geo-context__original {
    margin-top: 1rem;
}

@media (min-width: 48rem) {
    .s-garanties.advantages.w8-content-compact .w8-content-compact__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
