/* MASAÜSTÜ */
.entry-content table,
.wp-block-post-content table,
article table {
    width: 100%;
    max-width: 100%;
    border-collapse: collapse;
    border: 1px solid #111;
    border-top: none;
    table-layout: fixed;
}

.entry-content caption,
.wp-block-post-content caption,
article caption {
    border: 1px solid #111;
    padding: 10px 12px;
    text-align: center;
}

.entry-content td,
.entry-content th,
.wp-block-post-content td,
.wp-block-post-content th,
article td,
article th {
    border: 1px solid #111 !important;
    padding: 10px 12px !important;
    vertical-align: top;
    word-wrap: break-word;
}

.entry-content thead th,
.wp-block-post-content thead th,
article thead th {
    font-weight: 600 !important;
}

/* MOBİL: kart görünümü */
@media (max-width: 768px) {

    .entry-content table,
    .wp-block-post-content table,
    article table {
        border: none;
        table-layout: auto;
    }

    .entry-content caption,
    .wp-block-post-content caption,
    article caption {
        border: 1px solid #111;
        margin-bottom: 8px;
        display: block;
    }

    .entry-content thead,
    .wp-block-post-content thead,
    article thead {
        display: none;
    }

    .entry-content tr,
    .wp-block-post-content tr,
    article tr {
        display: block;
        border: 1px solid #111;
        margin-bottom: 12px;
        border-radius: 4px;
        width: 100%;
        box-sizing: border-box;
    }

    .entry-content td,
    .wp-block-post-content td,
    article td {
        display: block;
        border: none !important;
        border-bottom: 1px solid #ddd !important;
        padding: 8px 12px !important;
        width: 100%;
        box-sizing: border-box;
    }

    .entry-content td:last-child,
    .wp-block-post-content td:last-child,
    article td:last-child {
        border-bottom: none !important;
    }
}