/* Allgemeine Sitepackage-Styles */

.ce-headline-center,
.text-center {
    text-align: center;
}

/* --- Content-Elemente: Vertikaler Abstand zwischen Frames --- */
.frame + .frame {
    margin-top: 2.5rem;
}

.frame {
    margin-bottom: 0;
}

/* --- Textmedia: Bild rechts (ce-right) --- */

/* Bild innerhalb der figure rechtsbündig */
.ce-textpic.ce-right .ce-gallery .image {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin: 0;
}

.ce-textpic.ce-right .ce-gallery .image-embed-item {
    display: block;
    max-width: 100%;
    height: auto;
}

/* Caption rechtsbündig, volle Breite */
.ce-textpic.ce-right .ce-gallery .image-caption {
    align-self: stretch;
    text-align: right;
    font-size: 0.8rem;
    line-height: 1.4;
    margin-top: 0.5rem;
    opacity: 0.85;
}

/* --- Textmedia: Bild rechts mit Textumfluss (ce-intext) --- */
.ce-textpic.ce-right.ce-intext .ce-gallery {
    float: right;
    max-width: 50%;
    margin: 0 0 1rem 1.5rem;
}

.ce-textpic.ce-right.ce-intext::after {
    content: "";
    display: table;
    clear: both;
}

/* --- Textmedia: Bild links mit Textumfluss (ce-intext) --- */
.ce-textpic.ce-left.ce-intext .ce-gallery {
    float: left;
    max-width: 50%;
    margin: 0 1.5rem 1rem 0;
}

.ce-textpic.ce-left.ce-intext::after {
    content: "";
    display: table;
    clear: both;
}

/* --- Blockquote: Mono-Schriftart, Neon-Glow --- */
blockquote {
    font-family: var(--sbm-font-family-mono, 'Syne Mono', monospace);
    font-size: var(--sbm-font-2xl, 1.5rem);
    line-height: 1.6;
    margin: 2rem 0;
    padding: 1.25rem 1.75rem;
    border-left: 3px solid #0ff;
    border-image: linear-gradient(180deg, #0ff, #f0f) 1;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.05), rgba(255, 0, 255, 0.05));
    color: #e0e0e0;
    text-shadow: 0 0 8px rgba(0, 255, 255, 0.4), 0 0 20px rgba(0, 255, 255, 0.15);
    position: relative;
}

blockquote::before {
    content: "";
    position: absolute;
    top: 0;
    left: -3px;
    width: 3px;
    height: 100%;
    box-shadow: 0 0 8px rgba(0, 255, 255, 0.6), 0 0 20px rgba(255, 0, 255, 0.3);
}

blockquote p {
    font-family: inherit;
    font-size: inherit;
    margin: 0;
    background: linear-gradient(90deg, #0ff, #f0f, #0ff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: neon-shift 6s linear infinite;
}

@keyframes neon-shift {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

/* Responsive: Float aufheben auf kleinen Bildschirmen */
@media (max-width: 600px) {
    .ce-textpic.ce-intext .ce-gallery {
        float: none;
        max-width: 100%;
        margin: 0 0 1rem 0;
    }
}
