/* ==========================================================================
   CMS içerik tablosu stilleri (.content-wrapper table)
   Blog / SEO metinlerindeki tablolar için. Wrapper div gerektirmez —
   veritabanındaki içeriğe dokunmadan çalışır.
   ========================================================================== */

.content-wrapper table {
    width: 100%;
    /* fixed + break-word: uzun hücre metni taşmayı imkânsız kılar,
       bu yüzden yatay scroll wrapper'ına gerek kalmaz */
    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 0;
    margin: 25px 0 30px;
    background-color: #fff;
    border: 1px solid #e4e4e4;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 5px 10px -8px rgba(0, 0, 0, .45);
    font-size: 15px;
    line-height: 1.55;
}

/* Başlık satırı — tema rengi */
.content-wrapper table thead th {
    background-color: #4b371f;
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    text-align: left;
    padding: 14px 16px;
    border-bottom: 1px solid #4b371f;
}

.content-wrapper table td {
    padding: 14px 16px;
    text-align: left;
    vertical-align: top;
    color: #151515;
    border-top: 1px solid #ececec;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

/* İlk satırın üst çizgisi thead ile çakışmasın */
.content-wrapper table tbody tr:first-child td {
    border-top: 0;
}

/* Zebra */
.content-wrapper table tbody tr:nth-child(even) td {
    background-color: #faf8f7;
}

.content-wrapper table tbody tr:hover td {
    background-color: #f3eef1;
}

/* Sol sütun (etiket kolonu) biraz dar ve vurgulu */
.content-wrapper table th:first-child,
.content-wrapper table td:first-child {
    width: 32%;
}

.content-wrapper table td strong {
    color: #472439;
    font-weight: 600;
}

/* Editörden hücre içine <p> gelirse boşluk bozulmasın */
.content-wrapper table td p,
.content-wrapper table th p {
    margin: 0;
    padding: 0;
    color: inherit;
}

/* thead'siz tablolarda ilk satırı başlık gibi göster */
.content-wrapper table > tbody > tr > th {
    background-color: #4b371f;
    color: #fff;
    font-weight: 600;
    text-align: left;
    padding: 14px 16px;
}

/* --------------------------------------------------------------------------
   Mobil
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
    .content-wrapper table {
        font-size: 14px;
        margin: 20px 0 25px;
    }

    .content-wrapper table thead th,
    .content-wrapper table td,
    .content-wrapper table > tbody > tr > th {
        padding: 10px 12px;
    }

    .content-wrapper table th:first-child,
    .content-wrapper table td:first-child {
        width: 38%;
    }
}
