/* Responsive wrapper. Bluesky's own script renders the official post inside this container. */
.bsse-embed {
    box-sizing: border-box;
    width: 100%;
    max-width: var(--bsse-max-width, 600px);
    margin-top: 1.2rem;
    margin-bottom: 1.2rem;
    clear: both;
}
.bsse-embed.bsse-align-center { margin-left: auto; margin-right: auto; }
.bsse-embed.bsse-align-left { margin-left: 0; margin-right: auto; }
.bsse-embed.bsse-align-right { margin-left: auto; margin-right: 0; }
.bsse-embed iframe { display: block; width: 100% !important; max-width: 100% !important; }
.bsse-embed .bluesky-embed { box-sizing: border-box; width: 100%; max-width: 100%; overflow-wrap: anywhere; }
.bsse-fallback {
    box-sizing: border-box;
    border: 1px solid #d8e1ec;
    border-radius: 12px;
    background: #f7fafe;
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 15px;
    line-height: 1.6;
}
.bsse-fallback-title { font-weight: 700; color: #1e293b; }
.bsse-fallback a { color: #116bd1; text-decoration: underline; }

/* Preserve captions from native WordPress Bluesky Embed blocks. */
.bsse-figure { max-width: 600px; width: 100%; margin: 1.2rem auto; }
.bsse-figure .bsse-embed { margin-top: 0; margin-bottom: 0; }
.bsse-figure figcaption { font-size: .875em; color: inherit; opacity: .8; text-align: center; padding-top: .5rem; }
