/**
 * Skewart Editor Styles
 * 
 * Styles for the WordPress block editor to match the theme's frontend appearance
 */

/* Editor Width Settings */
.wp-block {
    max-width: 1200px;
}
 
.wp-block[data-align="wide"] {
    max-width: 1400px;
}
 
.wp-block[data-align="full"] {
    max-width: none;
}

/* Typography */
.editor-styles-wrapper {
    color: #e0e0ff;
    font-family: 'Oswald', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    letter-spacing: 0.03em;
    background-color: #171125;
}

.editor-styles-wrapper .editor-post-title__input {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 2.5em;
    line-height: 1.3;
    color: #00f3ff;
    text-shadow: 0 0 5px rgba(0, 243, 255, 0.5);
}

.editor-styles-wrapper h1,
.editor-styles-wrapper h2,
.editor-styles-wrapper h3,
.editor-styles-wrapper h4,
.editor-styles-wrapper h5,
.editor-styles-wrapper h6 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    margin: 1rem 0;
    color: #00f3ff;
    text-shadow: 0 0 5px rgba(0, 243, 255, 0.5);
}

.editor-styles-wrapper h1 {
    font-size: 2em;
}

.editor-styles-wrapper h2 {
    font-size: 1.8em;
}

.editor-styles-wrapper h3 {
    font-size: 1.6em;
}

.editor-styles-wrapper h4 {
    font-size: 1.4em;
}

.editor-styles-wrapper h5 {
    font-size: 1.3em;
}

.editor-styles-wrapper h6 {
    font-size: 1.2em;
}

.editor-styles-wrapper p {
    margin: 0 0 1em;
}

/* Links */
.editor-styles-wrapper a {
    color: #00f3ff;
    text-decoration: none;
    text-shadow: 0 0 3px rgba(0, 243, 255, 0.3);
}

/* Lists */
.editor-styles-wrapper ul,
.editor-styles-wrapper ol {
    margin-bottom: 1.5em;
    padding-left: 2em;
}

.editor-styles-wrapper ul li {
    position: relative;
    margin-bottom: 0.7em;
}

.editor-styles-wrapper ol li {
    margin-bottom: 0.5em;
}

/* Quotes */
.editor-styles-wrapper blockquote {
    margin: 0 0 1.5em;
    padding: 0.8em 1.2em;
    background: rgba(36, 36, 84, 0.3);
    border-left: 2px solid #00f3ff;
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.2), inset 0 0 15px rgba(10, 11, 22, 0.5);
}

.editor-styles-wrapper blockquote p {
    margin-bottom: 0.5em;
}

.editor-styles-wrapper .wp-block-quote cite {
    color: #8888aa;
    font-size: 90%;
    text-transform: uppercase;
}

/* Buttons */
.editor-styles-wrapper .wp-block-button .wp-block-button__link {
    background: linear-gradient(45deg, #001a1b, #003638);
    color: #ffffff;
    border: 2px solid #00f3ff;
    border-radius: 0;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    padding: 0.55em 2.5em;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

.editor-styles-wrapper .is-style-outline .wp-block-button__link {
    color: #00f3ff;
    background: transparent;
    border: 2px solid #00f3ff;
}

/* Tables */
.editor-styles-wrapper .wp-block-table {
    margin-bottom: 1.5em;
}

.editor-styles-wrapper .wp-block-table td,
.editor-styles-wrapper .wp-block-table th {
    border: 1px solid #444466;
    padding: 0.5em 1em;
}

.editor-styles-wrapper .wp-block-table thead {
    background: #242454;
}

/* Code */
.editor-styles-wrapper code,
.editor-styles-wrapper pre {
    font-family: monospace;
    background-color: rgba(36, 36, 84, 0.3);
    padding: 0.1em 0.3em;
    border-radius: 0;
    color: #00f3ff;
}

.editor-styles-wrapper pre {
    padding: 1em;
    overflow: auto;
}

/* Image captions */
.editor-styles-wrapper figcaption {
    font-size: 0.8em;
    text-align: center;
    color: #8888aa;
}

/* Separator */
.editor-styles-wrapper hr,
.editor-styles-wrapper .wp-block-separator {
    margin: 3em auto;
    height: 4px;
    background: linear-gradient(90deg, #00f3ff, #ff00ff);
    border: 0;
}