:root {
    --bs-primary: #007bff;
    --bs-secondary: #6c757d;
    --bs-light: #f8f9fa;
    --bs-dark: #343a40;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bs-light);
}

.navbar .nav-link {
    color: var(--bs-dark) !important;
}
.navbar .nav-link:hover {
    color: var(--bs-primary) !important;
}

.card-image-cover {
    height: 200px;
    overflow: hidden;
}

.card-image-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
}

.card:hover .card-image-cover img {
    transform: scale(1.05);
}

.author-avatar {
    width: 80px;
    height: 80px;
    object-fit: cover;
}

.featured-image-single {
    max-height: 500px;
    object-fit: cover;
}

.comment-avatar {
    width: 48px;
    height: 48px;
    object-fit: cover;
}

/* H2 başlıkları için yatay çizgi ve koyu mavi tonu */
.post-content h2 {
    color: #0d47a1; /* Koyu mavi */
    border-bottom: 3px solid #0d47a1;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

/* H3 başlıkları için dikey çizgi ve orta mavi tonu */
.post-content h3 {
    color: #1565c0; /* Orta mavi */
    border-left: 5px solid #1565c0;
    padding-left: 1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

/* H4 başlıkları için dikey çizgi ve açık mavi tonu */
.post-content h4 {
    color: #1e88e5; /* Açık mavi */
    border-left: 3px solid #1e88e5;
    padding-left: 0.75rem;
    margin-bottom: 0.75rem;
    font-weight: 500;
}

/* İçindekiler Tablosu Stili */
.toc-container {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 0.5rem;
    padding: 1.5rem;
}

.toc-container details summary {
    cursor: pointer;
    list-style: none;
}

.toc-container details summary::-webkit-details-marker {
    display: none;
}

.toc-container details summary::before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f0da"; /* Chevron Right ikon kodu */
    margin-right: 0.5rem;
    color: var(--bs-primary);
    transition: transform 0.3s ease;
}

.toc-container details[open] summary::before {
    transform: rotate(90deg);
}

.toc-container .toc-list {
    margin-top: 1rem;
    border-top: 1px solid #e9ecef;
    padding-top: 1rem;
}

.toc-container .toc-list ul {
    list-style: none;
    padding: 0;
}

.toc-container .toc-list li a {
    display: block;
    padding: 0.5rem 0;
    transition: color 0.2s ease;
    color: #495057;
}

.toc-container .toc-list li a:hover {
    color: var(--bs-primary);
}

/* Hiyerarşik ikonlar */
.toc-h2::before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f0da"; /* Chevron-right ikonu */
    margin-right: 0.5rem;
    color: #0d47a1;
}

.toc-h3::before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f061"; /* Arrow-right ikonu */
    margin-right: 0.5rem;
    color: #1565c0;
}

.toc-h4::before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f192"; /* Dot-circle ikonu */
    margin-right: 0.5rem;
    color: #1e88e5;
}

/* Tablo Stilleri */
.post-content table {
    width: 100%;
    margin-bottom: 1.5rem;
    color: #212529;
    border-collapse: collapse;
}

.post-content table th,
.post-content table td {
    padding: 0.75rem;
    vertical-align: top;
    border-top: 1px solid #dee2e6;
}

.post-content table thead th {
    vertical-align: bottom;
    border-bottom: 2px solid #dee2e6;
    background-color: #f8f9fa;
    color: var(--bs-dark);
}

.post-content table tbody tr:nth-of-type(odd) {
    background-color: rgba(0, 0, 0, 0.05);
}

.post-content table.table-bordered {
    border: 1px solid #dee2e6;
}

.post-content table.table-bordered th,
.post-content table.table-bordered td {
    border: 1px solid #dee2e6;
}

.post-content table.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(0, 0, 0, 0.05);
}

.post-content table.table-hover tbody tr:hover {
    color: #212529;
    background-color: rgba(0, 0, 0, 0.075);
}