/* VISUALCRAFT Gutenberg Block Styles */

/* --- Editor container --- */
.edit-post-visual-editor {
    background-color: #080808;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
}

.edit-post-visual-editor h1,
.edit-post-visual-editor h2,
.edit-post-visual-editor h3,
.edit-post-visual-editor h4,
.edit-post-visual-editor h5,
.edit-post-visual-editor h6,
.editor-post-title__input {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    color: #ffffff;
}

/* --- Block: Paragraph --- */
.edit-post-visual-editor p {
    font-size: var(--vc-fs-base);
    line-height: 1.7;
    color: #cccccc;
}

/* --- Block: Heading --- */
.editor-styles-wrapper h1.wp-block-heading {
    font-size: 2.5rem;
    color: #ff1a1a;
    border-bottom: 2px solid #333;
    padding-bottom: 15px;
}
.editor-styles-wrapper h2.wp-block-heading {
    font-size: 2rem;
    color: #ff1a1a;
}
.editor-styles-wrapper h3.wp-block-heading {
    font-size: var(--vc-fs-2xl);
}

/* --- Block: Quote --- */
.wp-block-quote {
    border-left: 4px solid #ff1a1a;
    padding-left: 20px;
    margin-left: 0;
    color: #aaaaaa;
    font-style: normal;
}
.wp-block-quote cite {
    color: #888;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.85rem;
}

/* --- Block: Button --- */
.wp-block-button__link {
    background: #ff1a1a;
    color: #ffffff;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: 0.3s ease;
    box-shadow: 0 0 10px rgba(255, 26, 26, 0.7);
}
.wp-block-button__link:hover {
    background: #ffffff;
    color: #ff1a1a;
    box-shadow: none;
}

/* --- Block: Cover --- */
.wp-block-cover {
    border-radius: 5px;
    overflow: hidden;
}
.wp-block-cover .wp-block-cover__inner-container p {
    color: #ffffff;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: var(--vc-fs-xl);
}

/* --- Block: Media & Text --- */
.wp-block-media-text {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

/* --- Block: Gallery --- */
.wp-block-gallery {
    gap: 20px;
}
.wp-block-gallery li {
    list-style: none;
}
.wp-block-gallery li::before {
    display: none;
}

/* --- Block: Separator --- */
.wp-block-separator {
    border: none;
    border-top: 2px solid #333;
    margin: 40px 0;
}
.wp-block-separator.is-style-dots::before {
    color: #ff1a1a;
    font-size: var(--vc-fs-xl);
}

/* --- Block: Image --- */
.wp-block-image img {
    border-radius: 5px;
    border: 1px solid #333;
}
.wp-block-image figcaption {
    color: #888;
    font-size: 0.9rem;
    text-align: center;
}

/* --- Block: Columns --- */
.wp-block-columns {
    gap: 30px;
}
@media (max-width: 768px) {
    .wp-block-columns {
        flex-direction: column;
    }
}

/* --- Block: Latest Posts --- */
.wp-block-latest-posts li {
    border-bottom: 1px solid #333;
    padding: 15px 0;
    list-style: none;
}
.wp-block-latest-posts li::before {
    display: none;
}
.wp-block-latest-posts a {
    color: #ffffff;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: var(--vc-fs-base);
}
.wp-block-latest-posts a:hover {
    color: #ff1a1a;
}

/* --- Block: Categories / Archives --- */
.wp-block-archives li,
.wp-block-categories li {
    list-style: none;
    padding: 8px 0;
    border-bottom: 1px solid #333;
}
.wp-block-archives li::before,
.wp-block-categories li::before {
    content: '▸ ';
    color: #ff1a1a;
}

/* --- Block: Search --- */
.wp-block-search input {
    background: #222;
    border: 1px solid #444;
    color: #ffffff;
    padding: 12px;
    font-family: 'Inter', sans-serif;
}
.wp-block-search input:focus {
    border-color: #ff1a1a;
    outline: none;
    box-shadow: 0 0 10px rgba(255, 26, 26, 0.3);
}
.wp-block-search button {
    background: #ff1a1a;
    color: #ffffff;
    border: none;
    padding: 12px 20px;
    cursor: pointer;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
}
.wp-block-search button:hover {
    background: #ffffff;
    color: #ff1a1a;
}

/* --- Block: Table --- */
.wp-block-table {
    border-collapse: collapse;
}
.wp-block-table td,
.wp-block-table th {
    border: 1px solid #333;
    padding: 12px;
    color: #cccccc;
}
.wp-block-table th {
    background: #141414;
    color: #ff1a1a;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
}

/* --- Block: Pullquote --- */
.wp-block-pullquote {
    border-top: 4px solid #ff1a1a;
    border-bottom: 4px solid #ff1a1a;
    padding: 30px 0;
    color: #ffffff;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: var(--vc-fs-2xl);
    text-align: center;
}

/* --- Block: Code --- */
.wp-block-code {
    background: #141414;
    border: 1px solid #333;
    border-radius: 5px;
    padding: 20px;
}
.wp-block-code code {
    color: #ff1a1a;
    font-family: 'Courier New', monospace;
    font-size: 0.95rem;
}

/* --- Block: Preformatted --- */
.wp-block-preformatted {
    background: #141414;
    border: 1px solid #333;
    padding: 20px;
    color: #cccccc;
}

/* --- Block: Pullquote --- */
.wp-block-pullquote {
    border-top: 4px solid #ff1a1a;
    border-bottom: 4px solid #ff1a1a;
    padding: 30px 0;
    color: #ffffff;
    font-family: 'Orbitron', sans-serif;
    font-size: var(--vc-fs-2xl);
    text-align: center;
}
.wp-block-pullquote p {
    color: #ffffff;
    font-size: var(--vc-fs-2xl);
}

/* --- Block: Verse --- */
.wp-block-verse {
    background: #141414;
    border-left: 4px solid #ff1a1a;
    padding: 20px;
    color: #cccccc;
    font-family: 'Courier New', monospace;
}

/* --- Block: Spacer --- */
.wp-block-spacer {
    clear: both;
}
