/* =====================================================
   BLOG CONTENT – CARSECE (FINAL)
   Büyük blog / otorite site standartları
===================================================== */

/* === GENEL === */
.blog-content {
    color: #333;
    font-size: 17px;
    line-height: 1.75;
    word-break: break-word;
    max-width: 720px;
    margin: 0 auto;
}

/* === BAŞLIKLAR (GENEL) === */
.blog-content h1,
.blog-content h2,
.blog-content h3,
.blog-content h4 {
    font-family: inherit;
    font-weight: 800;
    color: #111;
    margin-bottom: 16px;
}

/* === H1 (tercihen içerikte kullanılmaz) === */
.blog-content h1 {
    font-size: 32px;
    line-height: 1.2;
    margin-top: 0;
}

/* === H2 === */
.blog-content h2 {
    font-size: 28px;
    line-height: 1.25;
    margin-top: 36px;
    margin-bottom: 16px;
}

/* === H3 === */
.blog-content h3 {
    font-size: 22px;
    line-height: 1.35;
    margin-top: 26px;
    margin-bottom: 10px;
}

/* === H4 === */
.blog-content h4 {
    font-size: 19px;
    line-height: 1.35;
    margin-top: 22px;
    margin-bottom: 10px;
}

/* === PARAGRAFLAR === */
.blog-content p {
    margin-bottom: 14px;
}

/* === LİSTELER === */
.blog-content ul,
.blog-content ol {
    margin: 16px 0;
    padding-left: 22px;
    line-height: 1.7;
}

.blog-content ul li,
.blog-content ol li {
    margin-bottom: 6px;
}

.blog-content ol li {
    list-style-type: decimal;
}

/* === RESİMLER === */
.blog-content img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 24px auto;
}

/* === TABLO === */
.blog-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    font-size: 16px;
}

.blog-content table th,
.blog-content table td {
    border: 1px solid #ddd;
    padding: 10px 12px;
    text-align: left;
}

.blog-content table th {
    background: #f8f8f8;
    font-weight: 700;
}

.blog-content table tr:nth-child(even) {
    background: #fafafa;
}

/* === BLOCKQUOTE === */
.blog-content blockquote {
    border-left: 4px solid #ddd;
    padding-left: 16px;
    margin: 25px 0;
    font-style: italic;
    color: #555;
}

/* === KOD BLOĞU === */
.blog-content pre {
    background: #0f172a;
    color: #e5e7eb;
    padding: 18px;
    border-radius: 10px;
    overflow-x: auto;
    margin: 25px 0;
    font-size: 13.5px;
}

.blog-content code {
    background: #f4f4f4;
    padding: 2px 5px;
    border-radius: 4px;
    font-size: 14px;
}

.blog-content pre code {
    background: transparent;
    padding: 0;
    font-size: 13.5px;
}

/* === LİNKLER === */
.blog-content a {
    color: #0d6efd;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid rgba(13, 110, 253, .3);
    transition: border-color .2s, color .2s;
}

.blog-content a:hover {
    color: #084298;
    border-bottom-color: #0d6efd;
}

/* === BOLD === */
.blog-content strong {
    font-weight: 700;
    color: #000;
}

/* === IFRAME / VIDEO === */
.blog-content iframe,
.blog-content video {
    width: 100%;
    max-width: 100%;
    border-radius: 12px;
    margin: 25px 0;
}

/* === HR === */
.blog-content hr {
    border: 0;
    border-top: 1px solid #e4e4e4;
    margin: 40px 0;
}

/* === QUOTES / NOTES / CALLOUT === */
.blog-content .note {
    background: #f0f7ff;
    border-left: 4px solid #3b82f6;
    padding: 12px 15px;
    border-radius: 8px;
    margin: 20px 0;
}

/* === MOBİL OPTİMİZASYON === */
@media (max-width: 768px) {
    .blog-content {
        font-size: 16px;
        line-height: 1.7;
        padding: 0 12px;
    }

    .blog-content h1 {
        font-size: 28px;
    }

    .blog-content h2 {
        font-size: 24px;
    }

    .blog-content h3 {
        font-size: 20px;
    }

    .blog-content h4 {
        font-size: 18px;
    }
}
