/* CKEditor Content Styles - Editor Preview ile Eşleşen Stiller */

.editor-content {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

/* Başlıklar */
.editor-content h1 {
    font-size: 2.5em;
    font-weight: 700;
    margin-top: 0.2em;
    margin-bottom: 0.3em;
    line-height: 1.2;
    color: #1a1a1a;
}

.editor-content h2 {
    font-size: 4em;
    font-weight: 600;
    /* margin-top: 0.2em; */
    margin-bottom: 0.3em;
    /* line-height: 1.3; */
    color: #1a1a1a;
}

.editor-content h3 {
    font-size: 1.75em;
    font-weight: 600;
    margin-top: 0.1em;
    margin-bottom: 0.2em;
    line-height: 1.3;
    color: #1a1a1a;
}

.editor-content h4 {
    font-size: 1.5em;
    font-weight: 600;
    margin-top: 1.5em;
    margin-bottom: 0.2em;
    line-height: 1.4;
    color: #1a1a1a;
}

.editor-content h5 {
    font-size: 1.25em;
    font-weight: 600;
    margin-top: 0.1em;
    margin-bottom: 0.2em;
    line-height: 1.4;
    color: #1a1a1a;
}

.editor-content h6 {
    font-size: 1em;
    font-weight: 600;
    margin-top: 0.1em;
    margin-bottom: 0.2em;
    line-height: 1.4;
    color: #1a1a1a;
}

/* Paragraflar */
.editor-content p {
    margin-bottom: 0.5em;
    line-height: 1.6;
}

.editor-content p:last-child {
    margin-bottom: 0;
}

/* Listeler */
.editor-content ul,
.editor-content ol {
    margin-bottom: 0.5em;
    margin-top: 0.3em;
    padding-left: 0;
    list-style: none;
}

.editor-content ul li {
    position: relative;
    padding-left: 1.8em;
    margin-bottom: 0.3em;
    line-height: 1.6;
}

.editor-content ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #c19052;
    font-weight: bold;
    font-size: 1.1em;
}

.editor-content ol {
    counter-reset: item;
    padding-left: 0;
}

.editor-content ol li {
    position: relative;
    padding-left: 1.8em;
    margin-bottom: 0.3em;
    line-height: 1.6;
    counter-increment: item;
}

.editor-content ol li:before {
    content: counter(item) ".";
    position: absolute;
    left: 0;
    color: #c19052;
    font-weight: bold;
}

.editor-content ul ul,
.editor-content ol ol,
.editor-content ul ol,
.editor-content ol ul {
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

/* Linkler */
.editor-content a {
    color: #0066cc;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.editor-content a:hover {
    color: #004499;
}

/* Görseller */
.editor-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 1.5em auto;
    border-radius: 4px;
}

.editor-content figure {
    margin: 1.5em 0;
}

.editor-content figure img {
    margin-bottom: 0.5em;
}

.editor-content figcaption {
    text-align: center;
    font-size: 0.9em;
    color: #666;
    font-style: italic;
}

/* Blockquote */
.editor-content blockquote {
    border-left: 4px solid #ddd;
    padding-left: 1.5em;
    margin: 1.5em 0;
    color: #666;
    font-style: italic;
}

/* Kod Blokları */
.editor-content pre {
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 1em;
    overflow-x: auto;
    margin-bottom: 1.5em;
}

.editor-content code {
    background-color: #f5f5f5;
    padding: 0.2em 0.4em;
    border-radius: 3px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9em;
}

.editor-content pre code {
    background-color: transparent;
    padding: 0;
}

/* Tablolar */
.editor-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5em;
    overflow-x: auto;
    display: block;
}

.editor-content table thead {
    background-color: #f5f5f5;
}

.editor-content table th,
.editor-content table td {
    border: 1px solid #ddd;
    padding: 0.75em;
    text-align: left;
}

.editor-content table th {
    font-weight: 600;
}

/* Yatay Çizgi */
.editor-content hr {
    border: none;
    border-top: 2px solid #ddd;
    margin: 2em 0;
}

/* Vurgulama */
.editor-content strong,
.editor-content b {
    font-weight: 700;
}

.editor-content em,
.editor-content i {
    font-style: italic;
}

.editor-content mark {
    background-color: #ffeb3b;
    padding: 0.1em 0.3em;
}

/* Alt çizgi ve üstü çizili */
.editor-content u {
    text-decoration: underline;
}

.editor-content s,
.editor-content del {
    text-decoration: line-through;
}

/* Video ve iframe */
.editor-content iframe {
    max-width: 100%;
    margin: 1.5em 0;
}

/* Boş paragrafları düzelt */
.editor-content p:empty,
.editor-content p br:only-child {
    display: none;
}

/* Text alignment */
.editor-content .text-left {
    text-align: left;
}

.editor-content .text-center {
    text-align: center;
}

.editor-content .text-right {
    text-align: right;
}

.editor-content .text-justify {
    text-align: justify;
}

/* Responsive ayarlar */
@media (max-width: 768px) {
    .editor-content {
        font-size: 14px;
    }
    
    .editor-content h1 {
        font-size: 2em;
    }
    
    .editor-content h2 {
        font-size: 1.75em;
    }
    
    .editor-content h3 {
        font-size: 1.5em;
    }
    
    .editor-content h4 {
        font-size: 1.25em;
    }
    
    .editor-content table {
        font-size: 0.9em;
    }
}

