/* Media Embed Styles */
.status-video-embed {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    border: 1px dotted var(--main-color);
    margin: 10px 0;
}

/* Responsive wrapper for iframe embeds (YouTube, TikTok, etc.) */
.status-embed-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    margin: 10px 0;
}

.status-embed-wrapper iframe,
.status-embed-wrapper video,
.status-embed-wrapper embed,
.status-embed-wrapper object {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.reddit-embed {
    min-height: 500px;
}

.instagram-media,
.twitter-tweet {
    margin: 10px auto !important;
    max-width: 100% !important;
}

@media (max-width: 767px) {
    .status-video-embed {
        aspect-ratio: 4 / 3;
    }

    .status-embed-wrapper {
        padding-bottom: 75%;
        /* 4:3 for mobile */
    }
}