/* Light Ideas Community — first-party presentation overrides. */

/* Preserve the natural aspect ratio of uploaded feed images.
 * The bundled engine defaults feed images to a 1.91:1 crop and caps the
 * Element image wrapper at 80vh. Light Ideas displays the complete upload. */
.feed_media_image,
.feed_media_image *,
.feed_custom_uploaded,
.feed_custom_uploaded * {
    max-height: none !important;
    height: auto !important;
    aspect-ratio: auto !important;
}

.feed_media_image img,
.feed_custom_uploaded img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    object-fit: contain !important;
}

/* Marketplace seller action rendered by Light Ideas Community. */
a.li-community-shop-button,
a.li-fc-shop-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: 0 !important;
    height: 32px !important;
    min-height: 32px !important;
    padding: 0 14px !important;
    margin: 0 8px 0 0 !important;
    background: #24272d !important;
    border: 1px solid #24272d !important;
    border-radius: 8px !important;
    color: #fff !important;
    font-family: inherit !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    box-shadow: none !important;
    -webkit-tap-highlight-color: transparent;
}

a.li-community-shop-button:only-child,
a.li-fc-shop-button:only-child {
    padding: 0 12px !important;
    margin: 0 !important;
    border-radius: 5px !important;
}

a.li-community-shop-button:active,
a.li-fc-shop-button:active {
    background: #56585c !important;
    border-color: #56585c !important;
}

html[data-color-mode="dark"] a.li-community-shop-button,
html.dark a.li-community-shop-button,
a.li-fc-shop-button {
    background: #fff !important;
    border-color: #fff !important;
    color: #24272d !important;
}

html[data-color-mode="dark"] a.li-community-shop-button:active,
html.dark a.li-community-shop-button:active,
a.li-fc-shop-button:active {
    background: #d4d5d6 !important;
    border-color: #d4d5d6 !important;
}


/* Profile identity/trust status belongs in About, away from repeated feed activity. */
.li-community-profile-status{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:14px 0 16px}
.li-community-status-badge{display:inline-flex;align-items:center;gap:5px;min-height:24px;padding:2px 8px 2px 5px;border:1px solid currentColor;border-radius:999px;background:var(--fcom-card-bg,#fff);font-size:12px;font-weight:600;line-height:1.2;white-space:nowrap;cursor:help}
.li-community-status-badge__icon{display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;border-radius:50%;color:#fff;font-size:11px;font-weight:700;line-height:1}
.li-community-status-badge--verified{color:#1877d2}.li-community-status-badge--verified .li-community-status-badge__icon{background:#1877d2}
.li-community-status-badge--trusted{color:#2e9b55}.li-community-status-badge--trusted .li-community-status-badge__icon{background:#2e9b55}
