/*
Theme Name: TNP BOOT PRO
Theme URI: phuongloaimod.com
Author: TNP BOOT
Author URI: phuongloaimod.com/rip-candy
Description: This is a custom theme created for my website.
Version: 1.50
License: PhuongTnBoot
License URI: phuongloaimod.com/rip-candy
Text Domain: thiet ke boi tnp boot
*/

/* Cấu trúc bài viết cho single.php */
#content.single-post {
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Khung bài viết */
.post-container {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Tiêu đề bài viết */
.post-header {
    margin-bottom: 20px;
    text-align: center;
}

.post-meta {
    font-size: 14px;
    color: #777;
    margin-bottom: 20px;
}

.post-meta span {
    margin-right: 15px;
}

/* Hình ảnh đại diện bài viết */
.post-thumbnail {
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
}

.post-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}

/* Nội dung bài viết */
.post-content {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 30px;
}

/* Phân trang (trong bài viết) */
.page-links {
    margin-top: 30px;
    padding: 10px 0;
    text-align: center;
}

.page-links .page-link {
    display: inline-block;
    padding: 10px 15px;
    margin: 0 5px;
    background: #0073e6;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.page-links .page-link:hover {
    background: #005bb5;
}

/* Tags */
.post-tags {
    margin-top: 20px;
    font-size: 14px;
}

.post-tags a {
    color: #0073e6;
    text-decoration: none;
}

.post-tags a:hover {
    text-decoration: underline;
}

/* Phần bình luận */
.post-comments {
    margin-top: 40px;
}

/* Responsive cho màn hình nhỏ */
@media (max-width: 768px) {
    .post-grid {
        grid-template-columns: 1fr; /* 1 cột trên màn hình nhỏ */
    }
    
    .post-title {
        font-size: 28px; /* Giảm kích thước tiêu đề trên màn hình nhỏ */
    }
    
    .post-content {
        font-size: 15px; /* Giảm kích thước nội dung bài viết */
    }
}


/* Khu vực bình luận */
.comments-area {
    margin-top: 40px;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Tiêu đề bình luận */
.comments-title {
    font-size: 20px;
    margin-bottom: 20px;
    color: #333;
    font-weight: bold;
}

/* Danh sách bình luận */
.comment-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Bình luận cá nhân */
.comment-list .comment {
    margin-bottom: 20px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    display: flex;
    gap: 15px;
}

/* Avatar bình luận */
.comment-list .comment-author .avatar {
    border-radius: 50%;
    width: 50px;
    height: 50px;
}

/* Nội dung bình luận */
.comment-list .comment-body {
    flex: 1;
}

.comment-list .comment-author {
    font-weight: bold;
    margin-bottom: 5px;
    color: #0073e6;
}

.comment-list .comment-metadata {
    font-size: 12px;
    color: #999;
    margin-bottom: 10px;
}

.comment-list .comment-content {
    font-size: 14px;
    color: #444;
}

/* Điều hướng bình luận */
.comment-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.comment-navigation .nav-previous,
.comment-navigation .nav-next {
    font-size: 14px;
    color: #0073e6;
}

.comment-navigation a:hover {
    text-decoration: underline;
}

/* Form bình luận */
.comment-reply-title {
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: bold;
    color: #333;
}

.comment-form {
    margin-top: 20px;
}

.comment-form label {
    display: block;
    font-size: 14px;
    color: #333;
    margin-bottom: 5px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    box-sizing: border-box;
}

.comment-form textarea {
    height: 100px;
    resize: vertical;
}

.comment-form input[type="submit"] {
    background-color: #0073e6;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
}

.comment-form input[type="submit"]:hover {
    background-color: #005bb5;
}

/* Responsive */
@media (max-width: 768px) {
    .comment-list .comment {
        flex-direction: column;
        gap: 10px;
    }

    .comment-list .comment-author .avatar {
        width: 40px;
        height: 40px;
    }
}

/* Cấu trúc bài viết cho page.php */
#content.single-post {
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Khung bài viết */
.post-container {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Tiêu đề bài viết */
.post-header {
    margin-bottom: 20px;
    text-align: center;
}

.post-meta {
    font-size: 14px;
    color: #777;
    margin-bottom: 20px;
}

.post-meta span {
    margin-right: 15px;
}

/* Hình ảnh đại diện bài viết */
.post-thumbnail {
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
}

.post-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}

/* Nội dung bài viết */
.post-content {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 30px;
}

/* Phân trang (trong bài viết) */
.page-links {
    margin-top: 30px;
    padding: 10px 0;
    text-align: center;
}

.page-links .page-link {
    display: inline-block;
    padding: 10px 15px;
    margin: 0 5px;
    background: #0073e6;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.page-links .page-link:hover {
    background: #005bb5;
}

/* Tags */
.post-tags {
    margin-top: 20px;
    font-size: 14px;
}

.post-tags a {
    color: #0073e6;
    text-decoration: none;
}

.post-tags a:hover {
    text-decoration: underline;
}




