/* Blog Sayfası Stilleri */
.blog-container {
    display: flex;
    flex-wrap: wrap;
    margin: 40px 0;
    gap: 30px;
}

.blog-main {
    flex: 1;
    min-width: 65%;
}

.blog-sidebar {
    width: 30%;
    min-width: 300px;
}

.blog-post {
    margin-bottom: 40px;
    border-bottom: 1px solid #eee;
    padding-bottom: 40px;
}

.blog-post:last-child {
    border-bottom: none;
}

.post-image {
    position: relative;
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 5px;
}

.post-image img {
    width: 100%;
    height: auto;
    max-height: 450px;
    transition: transform 0.3s ease;
}

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

.post-date {
    position: absolute;
    bottom: 40px;
    left: 20px;
    background-color: #0056b3;
    color: #fff;
    padding: 10px 15px;
    text-align: center;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.post-date .day {
    display: block;
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
}

.post-date .month {
    display: block;
    font-size: 14px;
    text-transform: uppercase;
    margin: 5px 0;
}

.post-date .year {
    display: block;
    font-size: 14px;
}

.post-content h2 {
    font-size: 24px;
    margin-bottom: 15px;
}

.post-content h2 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-content h2 a:hover {
    color: #0056b3;
}

.post-meta {
    margin-bottom: 15px;
    color: #777;
    font-size: 14px;
}

.post-meta span {
    margin-right: 15px;
}

.post-meta i {
    margin-right: 5px;
}

.post-meta a {
    color: #777;
    text-decoration: none;
}

.post-meta a:hover {
    color: #0056b3;
}

.post-excerpt {
    margin-bottom: 20px;
    line-height: 1.6;
}

.read-more {
    display: inline-block;
    padding: 8px 20px;
    background-color: #0056b3;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.read-more:hover {
    background-color: #003d82;
}

/* Sidebar Stilleri */
.sidebar-widget {
    margin-bottom: 30px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 5px;
}

.sidebar-widget h3 {
    font-size: 18px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.search-widget form {
    display: flex;
}

.search-widget input[type="text"] {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
    outline: none;
}

.search-widget button {
    padding: 10px 15px;
    background-color: #0056b3;
    color: #fff;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
}

.categories-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.categories-widget li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.categories-widget li:last-child {
    border-bottom: none;
}

.categories-widget a {
    color: #333;
    text-decoration: none;
    display: flex;
    justify-content: space-between;
}

.categories-widget a:hover {
    color: #0056b3;
}

.popular-posts-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.popular-posts-widget li {
    display: flex;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.popular-posts-widget li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.post-thumb {
    width: 80px;
    height: 80px;
    margin-right: 15px;
    overflow: hidden;
    border-radius: 4px;
}

.post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-info h4 {
    font-size: 14px;
    margin: 0 0 5px;
}

.post-info h4 a {
    color: #333;
    text-decoration: none;
}

.post-info h4 a:hover {
    color: #0056b3;
}

.post-info span {
    font-size: 12px;
    color: #777;
}

.tags-widget .tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tags-widget a {
    display: inline-block;
    padding: 5px 10px;
    background-color: #eee;
    color: #333;
    text-decoration: none;
    border-radius: 3px;
    font-size: 12px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.tags-widget a:hover {
    background-color: #0056b3;
    color: #fff;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.pagination ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.pagination li {
    margin: 0px;
}

.pagination a {
    /* display: block; */
    /* padding: 8px 15px; */
    /* background-color: #f5f5f5; */
    /* color: #333; */
    /* text-decoration: none; */
    /* border-radius: 4px; */
    /* transition: background-color 0.3s ease, color 0.3s ease; */
}

.pagination a:hover,
.pagination a.active {
    background-color: #0056b3;
    color: #fff;
}

/* Blog Detay Sayfası Stilleri */
.blog-post-detail {
    margin-bottom: 40px;
}

.post-full-content {
    line-height: 1.8;
    margin-bottom: 30px;
}

.post-full-content p {
    margin-bottom: 20px;
}

.post-full-content h3 {
    font-size: 22px;
    margin: 30px 0 15px;
}

.post-full-content ul,
.post-full-content ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

.post-full-content li {
    margin-bottom: 10px;
}

.post-tags {
    margin-bottom: 30px;
    display: flex;
    align-items: center;
}

.post-tags h4 {
    margin: 0 15px 0 0;
    font-size: 16px;
}

.post-share {
    margin-bottom: 40px;
    display: flex;
    align-items: center;
}

.post-share h4 {
    margin: 0 15px 0 0;
    font-size: 16px;
}

.social-icons {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.social-icons li {
    margin-right: 10px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: #f5f5f5;
    color: #333;
    border-radius: 50%;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.social-icons a:hover {
    background-color: #0056b3;
    color: #fff;
}

.social-icons a.facebook:hover {
    background-color: #3b5998;
}

.social-icons a.twitter:hover {
    background-color: #1da1f2;
}

.social-icons a.linkedin:hover {
    background-color: #0077b5;
}

.social-icons a.instagram:hover {
    background-color: #e4405f;
}

/* Yorumlar Alanı */
.comments-area {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.comments-title {
    font-size: 22px;
    margin-bottom: 30px;
}

.comment-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comment {
    margin-bottom: 30px;
}

.comment-body {
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 5px;
}

.comment-author {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
}

.fn {
    font-weight: 700;
    font-style: normal;
    margin-right: 10px;
}

.comment-date {
    font-size: 12px;
    color: #777;
}

.comment-content {
    line-height: 1.6;
    margin-bottom: 15px;
}

.comment-reply {
    text-align: right;
}

.comment-reply-link {
    display: inline-block;
    padding: 5px 15px;
    background-color: #eee;
    color: #333;
    text-decoration: none;
    border-radius: 3px;
    font-size: 14px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.comment-reply-link:hover {
    background-color: #0056b3;
    color: #fff;
}

/* Yorum Formu */
.comment-respond {
    margin-top: 50px;
}

.comment-reply-title {
    font-size: 22px;
    margin-bottom: 20px;
}

.comment-notes {
    font-size: 14px;
    color: #777;
    margin-bottom: 20px;
}

.comment-form p {
    margin-bottom: 20px;
}

.comment-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    outline: none;
}

.comment-form textarea {
    height: 150px;
}

.btn-primary {
    display: inline-block;
    padding: 10px 25px;
    background-color: #0056b3;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #003d82;
}

/* Responsive Tasarım */
@media (max-width: 992px) {
    .blog-container {
        flex-direction: column;
    }
    
    .blog-main,
    .blog-sidebar {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .post-date {
        padding: 8px 12px;
    }
    
    .post-date .day {
        font-size: 20px;
    }
    
    .post-date .month,
    .post-date .year {
        font-size: 12px;
    }
    
    .post-content h2 {
        font-size: 20px;
    }
    
    .comments-title,
    .comment-reply-title {
        font-size: 20px;
    }
}

@media (max-width: 576px) {
    .post-meta span {
        display: block;
        margin-bottom: 5px;
    }
    
    .post-tags,
    .post-share {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .post-tags h4,
    .post-share h4 {
        margin: 0 0 10px;
    }
    
    .social-icons {
        margin-top: 10px;
    }
}