/* Blog yazıları için metin taşmasını önleme */
.blog-content {
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
}

/* Kod blokları için kaydırma çubuğu ekleme */
.blog-content pre {
    max-width: 100%;
    overflow-x: auto;
    background: #2d2d2d;
    padding: 1rem;
    border-radius: 0.5rem;
    margin: 1rem 0;
}

/* Tablo taşmalarını önleme */
.blog-content table {
    max-width: 100%;
    display: block;
    overflow-x: auto;
    white-space: nowrap;
    margin: 1rem 0;
    border-collapse: collapse;
}

.blog-content table th,
.blog-content table td {
    padding: 0.5rem;
    border: 1px solid #444;
}

/* Resimlerin taşmasını önleme */
.blog-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 1rem 0;
}

/* Uzun URL'ler ve kelimeler için */
.blog-content a {
    word-break: break-all;
}

/* Önizleme metinleri için */
.blog-content .preview-text {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
