﻿:root {
    --primary-color: #2b5fc1;
    --secondary-color: #2c3e50;
    --accent-color: #2980b9;
    --bg-light: #f8f9fa;
    --text-dark: #333;
    --blockquote-border: #2b5fc1;
}

/* CK EDITOR --- POSTS */
.header {
  background: var(--color-blue);
  position: relative;
}

.header.scroll{
  position: fixed;
}
.form-wrapper {
  display: flex;
  justify-content: center;
}


    .ck-post h1,
    .ck-post h2,
    .ck-post h3,
    .ck-post h4,
    .ck-post h5,
    .ck-post h6 {
        color: var(--secondary-color);
        font-weight: bold;
        margin-bottom: 20px;
    }

    .ck-post h1 {
        font-size: 2em;
    }

    .ck-post h2 {
        font-size: 1.8em;
        margin-top: 30px;
    }

    .ck-post h3 {
        font-size: 1.6em;
    }

    .ck-post h4 {
        font-size: 1.4em;
    }

    .ck-post h5 {
        font-size: 1.2em;
    }

    .ck-post h6 {
        font-size: 1em;
    }

    .ck-post p {
        margin-bottom: 15px;
        font-size: 1em;
    }

    .ck-post blockquote {
        border-left: 5px solid var(--blockquote-border);
        padding-left: 15px;
        font-style: italic;
        color: var(--secondary-color);
        background: rgba(43, 95, 193, 0.1);
        padding: 15px;
        margin: 20px 0;
    }

    .ck-post ul,
    .ck-post ol {
        margin: 15px 0;
        padding-left: 20px;
    }

    .ck-post ul {
        list-style: disc;
    }

    .ck-post ol {
        list-style: decimal;
    }

        .ck-post ul li,
        .ck-post ol li {
            margin-bottom: 10px;
        }

    .ck-post strong {
        color: var(--accent-color);
        font-weight: bold;
    }

    .ck-post em {
        font-style: italic;
    }

    .ck-post a {
        color: var(--primary-color);
        text-decoration: none;
        font-weight: bold;
    }

        .ck-post a:hover {
            text-decoration: underline;
        }

    .ck-post pre {
        background: #1e1e1e;
        color: #f8f8f8;
        padding: 15px;
        border-radius: 6px;
        overflow-x: auto;
    }

    .ck-post code {
        font-family: 'Courier New', monospace;
        background: #eee;
        padding: 3px 6px;
        border-radius: 4px;
    }

    .ck-post table {
        width: 100%;
        border-collapse: collapse;
        margin: 20px 0;
        font-size: 1em;
    }

        .ck-post table th,
        .ck-post table td {
            border: 1px solid #ccc;
            padding: 10px;
            text-align: left;
        }

        .ck-post table th {
            background: var(--primary-color);
            color: #fff;
        }

    .ck-post img {
        max-width: 100%;
        height: auto;
        border-radius: 6px;
        display: block;
        margin: 20px auto;
    }

    .ck-post iframe {
        max-width: 100%;
        border-radius: 6px;
    }

/* Mobil Uyumluluk */
@media (max-width: 768px) {
    .ck-post {
        padding: 15px;
    }

        .ck-post h1 {
            font-size: 1.8em;
        }

        .ck-post h2 {
            font-size: 1.6em;
        }

        .ck-post h3 {
            font-size: 1.4em;
        }
}
