/**
 * OOI Platform V1 — Moment Profile V2
 */

.ooi-moment-profile--v2 {
    display: flex;
    width: 100%;
    max-width: var(--ooi-container);
    margin: 0 auto;
    flex-direction: column;
    gap: clamp(
        var(--ooi-space-lg),
        4vw,
        var(--ooi-space-xxl)
    );
    color: var(--ooi-text);
}

.ooi-moment-profile__section {
    position: relative;
    width: 100%;
    min-width: 0;
}

.ooi-moment-profile__section > * {
    width: 100%;
    max-width: none;
    margin-right: 0;
    margin-left: 0;
}

.ooi-moment-profile__section--hero {
    z-index: 4;
}

.ooi-moment-profile__section--contributors {
    z-index: 3;
}

.ooi-moment-profile__section--gallery {
    z-index: 2;
}

.ooi-moment-profile__section--administration {
    z-index: 1;
}

.ooi-moment-profile__section--hero
.ooi-moment-hero,
.ooi-moment-profile__section--contributors
.ooi-moment-contributors,
.ooi-moment-profile__section--gallery
.ooi-moment-gallery,
.ooi-moment-profile__section--administration
.ooi-quick-contribution {
    max-width: none;
}

.ooi-moment-profile__admin-empty {
    padding: var(--ooi-space-md) var(--ooi-space-lg);
    border: 1px dashed rgba(114, 112, 172, .30);
    border-radius: var(--ooi-radius-md);
    background: rgba(114, 112, 172, .04);
    color: var(--ooi-text-light);
    font-size: var(--ooi-font-sm);
    line-height: 1.5;
}

.ooi-moment-profile__admin-empty strong {
    color: var(--ooi-text);
}

.ooi-moment-profile-error {
    padding: 14px 16px;
    border: 1px solid var(--ooi-memory);
    border-radius: var(--ooi-radius-md);
    background: rgba(217, 158, 130, .12);
}

@media screen and (max-width: 620px) {
    .ooi-moment-profile--v2 {
        gap: var(--ooi-space-lg);
    }

    .ooi-moment-profile__admin-empty {
        padding: var(--ooi-space-md);
    }
}