@charset "UTF-8";

.blog-detail-box {
    padding: 20px;
    background: var(--sitew);
    border-radius: 5px;
}

.blog-detail-title h1 {
    font-size: 24px;
    padding: 10px 5px;
    color: var(--siteb);
    margin: 0;
}

.blog-detail-short-dsc {
    font-size: 18px;
}

.part-short {
    font-size: 20px;
}

.blog-detail-part-short {
    background: var(--sitegrey);
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 10px;
}


.part-short-item-dsc {
    color: var(--siteb);
    font-weight: 500;
    display: block;
    padding: 10px;
}

.blog-detail-short-dsc p {
    margin-bottom: 10px;
    padding: 10px 5px;
    font-size: 16px;
}


.detail-part-short-item:before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    position: absolute;
    top: 19px;
    background: var(--siteb);
}

.detail-part-short-item {
    position: relative;
}


.blog-detail-content-title h3 {
    font-size: 20px;
    font-weight: 500;
}


.blog-detail-dsc-content {
    padding: 10px;
}

.blog-detail-content-dsc {
    padding-left: 10px;
    font-size: 16px;
}


.prev-box-img img {
    width: 150px;
    height: 100%;
    object-fit: cover;
	border-radius: 5px;
}

.bw-prev-box {
    display: flex;
    align-items: center;
    padding: 15px;
    transition: all 500ms ease;
}

.bw-right {
    display: flex;
    align-items: center;
}

.prev-box-dsc p {
    margin: 0;
    color: var(--siteb);
    padding-left: 10px;
    font-size: 14px;
}

.prev-box-icon {
    padding-right: 10px;
}


.next-box-img img {
    width: 150px;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
}

.bw-next-box {
    display: flex;
    align-items: center;
    padding: 15px;
    transition: all 500ms ease;
	justify-content: space-between;
}

.bw-left {
    display: flex;
    align-items: center;
}

.next-box-dsc p {
    margin: 0;
    color: var(--siteb);
    padding-right: 10px;
    font-size: 14px;
}

.next-box-icon {
    padding-left: 10px;
}


.blog-detail-next-prev {
    padding: 15px;
    background: var(--sitew);
    margin-top: 20px;
    border-radius: 10px;
    position: relative;
	flex-wrap: wrap;
}

.blog-detail-next-prev:before {
    content: "";
    width: 1px;
    height: 129px;
    position: absolute;
    left: 50%;
    transform: translate(-50%);
    background: #e6e6e6;
}


.bw-next-box:hover {
    scale: 1.03;
    transition: all 500ms ease;
}

.bw-prev-box:hover {
    scale: 1.03;
    transition: all 500ms ease;
}
@media (max-width: 768px) {
    .blog-detail-next-prev {
        flex-direction: column;
        justify-content: center; /* Bloglar ortalansın */
        gap: 10px; /* Aralarındaki boşluğu ayarla */
    }

    .blog-detail-next-prev:before {
        display: none; /* Mobilde ortadaki çizgiyi kaldır */
    }

    .bw-prev-box {
        width: 100%;
        display: flex;
        justify-content: flex-start; /* Önceki blog sola */
        text-align: left;
    }

    .bw-next-box {
        width: 100%;
        display: flex;
        justify-content: flex-end; /* Sonraki blog sağa */
        text-align: right;
    }

    .prev-box-img img,
    .next-box-img img {
        width: 100px; /* Mobilde daha iyi görünmesi için küçült */
        height: 70px;
    }

    .prev-box-dsc p,
    .next-box-dsc p {
        font-size: 12px;
    }

    .prev-box-icon,
    .next-box-icon {
        font-size: 18px;
    }
}

.user-avatar img {
    width: 50px;
    height: 50px;
}

.user-comment-box {
    display: flex;
    align-items: baseline;
    padding: 10px 0;
    width: 100%;
}

.user-avatar {
    margin-right: 10px;
}

.user-comment {
    padding: 8px;
    background: var(--sitegrey);
    border-radius: 0 20px 0;
}

.blog-detail-comment-area {
    padding: 20px;
    background: var(--sitew);
    margin-top: 20px;
    border-radius: 10px;
}


.user-name {
    margin-bottom: 5px;
}

.comment-date {
    font-size: 13px;
    color: #00000099;
}


.user-dsc-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

.subm-button {
    width: 100%;
    background: var(--siteb);
    color: #fff;
}

.report-btn {
    background: transparent;
    border: none;
    font-size: 13px;
    color: #00000099;
}

.report-btn-holder {
    text-align: end;
}


.add-comment-btn {
    text-align: center;
}

.add-comment-button {
    border: none;
    background: var(--siteb);
    color: var(--sitew);
    padding: 10px 20px;
    border-radius: 10px;
}

.bw-blog-img img {
    width: 80px;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
}

.bw-blog-holder {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #e6e6e6;
    transition: all 500ms ease;
}

.bw-blog-img {
    margin-right: 9px;
}

.bw-blog-dsc {
    font-size: 15px;
    color: var(--siteb);
    padding: 10px;
}

.bw-box {
    background: var(--sitew);
    padding: 10px;
    border-radius: 10px;
}

.bw-box-title {
    text-align: center;
    font-size: 20px;
    font-weight: 500;
    border-bottom: 1px solid #e6e6e6;
    padding: 10px;
}

.subm-button:hover {
    background: var(--siteb);
    color: #fff;
    transition: all 500ms ease;
}

.tag-flex {
    display: flex;
    flex-wrap: wrap;
}


.tag-item-link {
    padding: 5px;
    border: 1px solid #e6e6e6;
    margin: 2px;
    border-radius: 5px;
    display: block;
    color: var(--siteb);
    transition: all 500ms ease;
}

.tag-item-link:hover {
    color: var(--site);
    transition: all 500ms ease;
}

.bw-blog-holder:hover {
    scale: 1.03;
    transition: all 500ms ease;
}

.blog-detail-img img {
    width: 100%;
    max-height: 600px;
    object-fit: cover;
    height: 100%;
    border-radius: 10px;
}
/* === 📌 TABLOLARI DÜZENLEYELİM === */
table {
    width: 100%; /* Tam genişlik kullan */
    max-width: 100%;
    table-layout: auto; /* Otomatik genişlik ayarı */
    border-collapse: collapse; /* Hücre kenarlarını birleştir */
    margin-bottom: 20px; /* Alt boşluk ekleyelim */
}

/* Tablo Hücreleri */
table th, table td {
    padding: 10px; /* Hücre iç boşluğu */
    border: 1px solid #ddd; /* Hücre kenarlıkları */
    text-align: left; /* Yazıları sola hizala */
    font-size: 16px; /* Yazı boyutunu ayarla */
    word-break: break-word; /* Taşan yazıları böl */
}

/* Tablo Başlıkları */
table th {
    background: #f5f5f5; /* Açık gri arka plan */
    font-weight: bold;
    text-align: center;
}

@media (max-width: 768px) {
    table, thead, tbody, th, td, tr {
        display: block;
    }

    table thead {
        display: none; /* Masaüstü başlıklarını gizle */
    }

    table tr {
        margin-bottom: 10px;
        border: 1px solid #ddd;
        border-radius: 10px;
        padding: 10px;
        box-shadow: 0px 2px 5px rgba(0,0,0,0.1);
    }

    table td {
        display: flex;
        justify-content: space-between;
        padding: 8px 10px;
        border: none;
        font-size: 15px;
    }

    table td:before {
        content: attr(data-label);
        font-weight: bold;
        color: #333;
        flex: 1;
    }
}


/* Tablo İçindeki Resimler */
table img {
    max-width: 100%;
    height: auto;
}

/* Mobilde Düzgün Görünüm İçin Tüm İçerik */
@media (max-width: 768px) {
    .blog-detail-title h1 {
        font-size: 20px;
    }

    .blog-detail-short-dsc {
        font-size: 16px;
    }

    .blog-detail-content-title h3 {
        font-size: 18px;
    }
}
