/* =========================================
   Single Post Card Style
   ========================================= */

/* Single Post Card Container */
.single-post-card {
    background: #fff;
    border-radius: 8px;
    padding: 30px 40px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Breadcrumb */
.breadcrumb {
    font-size: 13px;
    color: #999;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.breadcrumb-label {
    color: #666;
}

.breadcrumb a {
    color: #666;
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: #2f80ed;
}

.breadcrumb-separator {
    margin: 0 8px;
    color: #ccc;
}

.breadcrumb-current {
    color: #999;
}

/* Post Header */
.post-header {
    margin-bottom: 25px;
}

.post-title {
    font-size: 26px;
    font-weight: 700;
    color: #333;
    line-height: 1.4;
    margin-bottom: 15px;
}

.post-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 13px;
    color: #999;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.meta-item i {
    width: 14px;
    height: 14px;
}

.meta-item a {
    color: #999;
    transition: color 0.2s;
}

.meta-item a:hover {
    color: #2f80ed;
}

/* Post Content */
.post-content {
    font-size: 15px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 30px;
}

.post-content p {
    margin-bottom: 18px;
}

.post-content h2,
.post-content h3,
.post-content h4 {
    margin-top: 25px;
    margin-bottom: 15px;
    font-weight: 700;
    color: #333;
}

.post-content h2 {
    font-size: 22px;
}

.post-content h3 {
    font-size: 19px;
}

.post-content h4 {
    font-size: 17px;
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    margin: 20px 0;
    display: block;
}

.post-content a {
    color: #2f80ed;
    text-decoration: underline;
}

.post-content a:hover {
    color: #1a5dc4;
}

.post-content ul,
.post-content ol {
    margin: 18px 0;
    padding-left: 25px;
}

.post-content li {
    margin-bottom: 8px;
}

.post-content blockquote {
    margin: 20px 0;
    padding: 15px 20px;
    border-left: 4px solid #2f80ed;
    background: #f8f9fa;
    font-style: italic;
    color: #666;
}

.post-content code {
    padding: 2px 6px;
    background: #f5f5f5;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    color: #e83e8c;
}

.post-content pre {
    padding: 15px;
    background: #f5f5f5;
    border-radius: 5px;
    overflow-x: auto;
    margin: 20px 0;
}

.post-content pre code {
    background: none;
    padding: 0;
    color: #333;
}

/* Post Footer */
.post-footer {
    padding-top: 20px;
    margin-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.post-tags {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 14px;
}

.post-tags i {
    width: 16px;
    height: 16px;
    color: #2f80ed;
}

.tags-label {
    color: #666;
}

.post-tags a {
    display: inline-block;
    padding: 4px 12px;
    background: #f0f0f0;
    color: #666;
    border-radius: 3px;
    font-size: 13px;
    transition: all 0.2s;
}

.comments-card {
    background: #fff;
    border-radius: 8px;
    padding: 25px 40px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.comments-card .comments-title,
.comments-card #reply-title {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
}

.comments-card .comment-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comments-card .comment {
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.comments-card .comment:last-child {
    border-bottom: none;
}

.comments-card .comment-author {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.comments-card .comment-meta {
    font-size: 13px;
    color: #999;
    margin-bottom: 10px;
}

.comments-card .comment-content {
    font-size: 14px;
    line-height: 1.7;
    color: #666;
}

.comments-card .comment-form label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    font-size: 14px;
}

.comments-card .comment-form input[type="text"],
.comments-card .comment-form input[type="email"],
.comments-card .comment-form input[type="url"],
.comments-card .comment-form textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 14px;
    margin-bottom: 15px;
    font-family: inherit;
}

.comments-card .comment-form textarea {
    min-height: 120px;
    resize: vertical;
}

.comments-card .comment-form input[type="submit"] {
    padding: 10px 25px;
    background: #2f80ed;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 14px;
}

.comments-card .comment-form input[type="submit"]:hover {
    background: #1a5dc4;
    transform: translateY(-2px);
}

/* =========================================
   Archive Page Styles
   ========================================= */
.archive-header {
    background: #fff;
    padding: 25px 40px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.archive-title {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
}

.archive-description {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* Archive Posts List */
.archive-posts-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.archive-post-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.archive-post-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.post-item-wrapper {
    display: flex;
    gap: 20px;
    padding: 20px;
}

.post-item-thumbnail {
    flex-shrink: 0;
    width: 260px;
    height: 170px;
    border-radius: 6px;
    overflow: hidden;
}

.post-item-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.archive-post-item:hover .post-item-thumbnail img {
    transform: scale(1.05);
}

.post-item-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.post-item-categories {
    margin-bottom: 10px;
}

.category-badge {
    display: inline-block;
    padding: 3px 10px;
    background: #eaf2fd;
    color: #2f80ed;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
}

.post-item-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.4;
}

.post-item-title a {
    color: #333;
    transition: color 0.2s;
}

.post-item-title a:hover {
    color: #2f80ed;
}

.post-item-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
    font-size: 13px;
    color: #999;
}

.post-author {
    display: flex;
    align-items: center;
    gap: 6px;
}

.post-author img {
    border-radius: 50%;
}

.post-item-meta i {
    width: 14px;
    height: 14px;
}

.post-item-excerpt {
    font-size: 14px;
    line-height: 1.7;
    color: #666;
    margin-bottom: 12px;
    flex: 1;
}

.read-more-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #2f80ed;
    font-size: 14px;
    font-weight: 600;
    transition: gap 0.2s;
}

.read-more-link:hover {
    gap: 10px;
}

.read-more-link i {
    width: 16px;
    height: 16px;
}

/* No Posts Found */
.no-posts-found {
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.no-posts-icon {
    margin-bottom: 15px;
}

.no-posts-icon i {
    width: 48px;
    height: 48px;
    color: #ccc;
}

.no-posts-found h2 {
    font-size: 20px;
    color: #333;
    margin-bottom: 8px;
}

.no-posts-found p {
    font-size: 14px;
    color: #999;
    margin-bottom: 20px;
}

.btn-back-home {
    display: inline-block;
    padding: 10px 25px;
    background: #2f80ed;
    color: #fff;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.2s;
}

.btn-back-home:hover {
    background: #1a5dc4;
    transform: translateY(-2px);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 30px;
}

.pagination .page-numbers {
    padding: 8px 14px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    color: #666;
    font-weight: 600;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 5px;
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
    background: #2f80ed;
    color: #fff;
    border-color: #2f80ed;
}

.pagination .page-numbers i {
    width: 16px;
    height: 16px;
}

/* =========================================
   Responsive Design
   ========================================= */
@media (max-width: 768px) {

    .single-post-card,
    .post-nav-card,
    .related-posts-card,
    .comments-card,
    .archive-header {
        padding: 20px;
    }

    .post-title {
        font-size: 22px;
    }

    .post-nav {
        grid-template-columns: 1fr;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }

    .archive-post-item:hover .post-item-thumbnail img {
        transform: scale(1.05);
    }

    .post-item-content {
        flex: 1;
        display: flex;
        flex-direction: column;
    }

    .post-item-categories {
        margin-bottom: 10px;
    }

    .category-badge {
        display: inline-block;
        padding: 3px 10px;
        background: #eaf2fd;
        color: #2f80ed;
        border-radius: 3px;
        font-size: 12px;
        font-weight: 600;
    }

    .post-item-title {
        font-size: 18px;
        font-weight: 700;
        margin-bottom: 10px;
        line-height: 1.4;
    }

    .post-item-title a {
        color: #333;
        transition: color 0.2s;
    }

    .post-item-title a:hover {
        color: #2f80ed;
    }

    .post-item-meta {
        display: flex;
        align-items: center;
        gap: 15px;
        margin-bottom: 12px;
        font-size: 13px;
        color: #999;
    }

    .post-author {
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .post-author img {
        border-radius: 50%;
    }

    .post-item-meta i {
        width: 14px;
        height: 14px;
    }

    .post-item-excerpt {
        font-size: 14px;
        line-height: 1.7;
        color: #666;
        margin-bottom: 12px;
        flex: 1;
    }

    .read-more-link {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        color: #2f80ed;
        font-size: 14px;
        font-weight: 600;
        transition: gap 0.2s;
    }

    .read-more-link:hover {
        gap: 10px;
    }

    .read-more-link i {
        width: 16px;
        height: 16px;
    }

    /* No Posts Found */
    .no-posts-found {
        text-align: center;
        padding: 60px 20px;
        background: #fff;
        border-radius: 8px;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    }

    .no-posts-icon {
        margin-bottom: 15px;
    }

    .no-posts-icon i {
        width: 48px;
        height: 48px;
        color: #ccc;
    }

    .no-posts-found h2 {
        font-size: 20px;
        color: #333;
        margin-bottom: 8px;
    }

    .no-posts-found p {
        font-size: 14px;
        color: #999;
        margin-bottom: 20px;
    }

    .btn-back-home {
        display: inline-block;
        padding: 10px 25px;
        background: #2f80ed;
        color: #fff;
        border-radius: 5px;
        font-weight: 600;
        transition: all 0.2s;
    }

    .btn-back-home:hover {
        background: #1a5dc4;
        transform: translateY(-2px);
    }

    /* Pagination */
    .pagination {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 8px;
        margin-top: 30px;
    }

    .pagination .page-numbers {
        padding: 8px 14px;
        background: #fff;
        border: 1px solid #e0e0e0;
        border-radius: 4px;
        color: #666;
        font-weight: 600;
        transition: all 0.2s;
        display: flex;
        align-items: center;
        gap: 5px;
    }

    .pagination .page-numbers:hover,
    .pagination .page-numbers.current {
        background: #2f80ed;
        color: #fff;
        border-color: #2f80ed;
    }

    .pagination .page-numbers i {
        width: 16px;
        height: 16px;
    }

    /* =========================================
   Responsive Design
   ========================================= */
    @media (max-width: 768px) {

        .single-post-card,
        .post-nav-card,
        .related-posts-card,
        .comments-card,
        .archive-header {
            padding: 20px;
        }

        .post-title {
            font-size: 22px;
        }

        .post-nav {
            grid-template-columns: 1fr;
        }

        .post-item-wrapper {
            flex-direction: column;
        }

        .post-item-thumbnail {
            width: 100%;
            height: 200px;
        }
    }
}

/* =========================================
   Post Navigation - Split Card Style
   ========================================= */
.post-nav-card {
    background: #fff;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    display: flex;
    overflow: hidden;
    padding: 20px 0;
}

.post-nav-half {
    flex: 1;
    padding: 0 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.post-nav-half.nav-prev {
    border-right: 1px solid #f0f0f0;
}

.post-nav-half a {
    display: block;
    text-decoration: none;
}

.nav-label {
    display: block;
    font-size: 14px;
    color: #999;
    margin-bottom: 8px;
}

.nav-title {
    display: block;
    font-size: 15px;
    color: #333;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color 0.2s;
}

.post-nav-half a:hover .nav-title {
    color: #2f80ed;
}

.nav-next {
    text-align: right;
}

/* =========================================
   Related Posts Card (New Style)
   ========================================= */
.related-posts-card {
    background: #fff;
    border-radius: 8px;
    padding: 25px 40px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.card-title {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 0;
    border-bottom: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-title::before {
    content: '';
    width: 4px;
    height: 18px;
    background: #2f80ed;
    border-radius: 2px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.related-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #f0f0f0;
    transition: all 0.3s;
}

.related-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border-color: #e0e0e0;
}

.related-thumb {
    display: block;
    width: 100%;
    height: 140px;
    overflow: hidden;
    background: #f0f0f0;
}

.related-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.related-item:hover .related-thumb img {
    transform: scale(1.1);
}

.related-item-content {
    padding: 15px;
}

.related-item-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 10px;
}

.related-item-title a {
    color: #333;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.post-nav-card {
    background: #fff;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    display: flex;
    overflow: hidden;
    padding: 20px 0;
}

.post-nav-half {
    flex: 1;
    padding: 0 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.post-nav-half.nav-prev {
    border-right: 1px solid #f0f0f0;
}

.post-nav-half a {
    display: block;
    text-decoration: none;
}

.nav-label {
    display: block;
    font-size: 14px;
    color: #999;
    margin-bottom: 8px;
}

.nav-title {
    display: block;
    font-size: 15px;
    color: #333;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color 0.2s;
}

.post-nav-half a:hover .nav-title {
    color: #2f80ed;
}

.nav-next {
    text-align: right;
}

/* =========================================
   Related Posts Card (New Style)
   ========================================= */
.related-posts-card {
    background: #fff;
    border-radius: 8px;
    padding: 25px 40px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.card-title {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 0;
    border-bottom: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-title::before {
    content: '';
    width: 4px;
    height: 18px;
    background: #2f80ed;
    border-radius: 2px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.related-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #f0f0f0;
    transition: all 0.3s;
}

.related-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border-color: #e0e0e0;
}

.related-thumb {
    display: block;
    width: 100%;
    height: 140px;
    overflow: hidden;
    background: #f0f0f0;
}

.related-thumb img {
    width: 100%;
    height: 18px;
    background: #2f80ed;
    border-radius: 2px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.related-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #f0f0f0;
    transition: all 0.3s;
}

.related-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border-color: #e0e0e0;
}

.related-thumb {
    display: block;
    width: 100%;
    height: 140px;
    overflow: hidden;
    background: #f0f0f0;
}

.related-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.related-item:hover .related-thumb img {
    transform: scale(1.1);
}

.related-item-content {
    padding: 15px;
}

.related-item-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 10px;
}

.related-item-title a {
    color: #333;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.post-nav-card {
    background: #fff;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    display: flex;
    overflow: hidden;
    padding: 20px 0;
}

.post-nav-half {
    flex: 1;
    padding: 0 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.post-nav-half.nav-prev {
    border-right: 1px solid #f0f0f0;
}

.post-nav-half a {
    display: block;
    text-decoration: none;
}

.nav-label {
    display: block;
    font-size: 14px;
    color: #999;
    margin-bottom: 8px;
}

.nav-title {
    display: block;
    font-size: 15px;
    color: #333;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color 0.2s;
}

.post-nav-half a:hover .nav-title {
    color: #2f80ed;
}

.nav-next {
    text-align: right;
}

/* =========================================
   Related Posts Card (New Style)
   ========================================= */
.related-posts-card {
    background: #fff;
    border-radius: 8px;
    padding: 25px 40px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.card-title {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 0;
    border-bottom: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-title::before {
    content: '';
    width: 4px;
    height: 18px;
    background: #2f80ed;
    border-radius: 2px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.related-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #f0f0f0;
    transition: all 0.3s;
}

.related-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border-color: #e0e0e0;
}

.related-thumb {
    display: block;
    width: 100%;
    height: 140px;
    overflow: hidden;
    background: #f0f0f0;
}

.related-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.related-item:hover .related-thumb img {
    transform: scale(1.1);
}

.related-item-content {
    padding: 15px;
}

.related-item-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 10px;
}

.related-item-title a {
    color: #333;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.post-like-btn svg {
    width: 18px;
    height: 18px;
    stroke-width: 2;
}

.post-like-btn .like-count {
    font-weight: 600;
}

/* Liked State */
.post-like-btn.liked {
    background: #2563eb;
    color: white;
    border-color: #2563eb;
}

.post-like-btn.liked:hover {
    background: #1d4ed8;
    border-color: #1d4ed8;
}

/* Reward Button - Green */
.btn-reward {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #bbf7d0;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-reward:hover {
    background: #dcfce7;
    border-color: #86efac;
    transform: translateY(-1px);
}

.btn-reward svg {
    width: 18px;
    height: 18px;
    stroke-width: 2;
}

/* Reward Modal */
.reward-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.reward-modal.active {
    display: flex;
}

.reward-modal-content {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    max-width: 400px;
    text-align: center;
    position: relative;
}

.reward-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    border: none;
    background: #f3f4f6;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.reward-modal-close:hover {
    background: #e5e7eb;
}

.reward-modal h3 {
    margin: 0 0 20px 0;
    font-size: 20px;
    color: #111827;
}

.reward-qrcode {
    max-width: 250px;
    height: auto;
    margin: 0 auto;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
}

/* Responsive */
@media (max-width: 768px) {
    .post-actions {
        flex-wrap: wrap;
    }

    .post-like-btn,
    .btn-reward {
        flex: 1;
        min-width: 120px;
        justify-content: center;
    }

    .reward-modal-content {
        margin: 20px;
        max-width: calc(100% - 40px);
    }
}

/* =========================================
   Article Footer Meta (New Design)
   ========================================= */
.article-footer-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #f0f0f0;
    flex-wrap: wrap;
    gap: 20px;
}

.author-info-box {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.author-text .author-name {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin: 0;
    line-height: 1.2;
}

.author-text .author-desc {
    font-size: 13px;
    color: #888;
    margin: 5px 0 0;
    line-height: 1.4;
    max-width: 300px;
}

.post-actions-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    color: #fff;
    transition: all 0.2s ease;
    min-width: 100px;
    height: 42px;
}

.action-btn i {
    width: 18px;
    height: 18px;
}

.action-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.action-btn:active {
    transform: translateY(0);
}

.btn-like {
    background-color: #2f80ed;
    /* Blue */
}

.btn-share,
.btn-reward {
    background-color: #10b981;
    /* Green */
}

/* Responsive for Footer Meta */
@media (max-width: 600px) {
    .article-footer-meta {
        flex-direction: column;
        align-items: flex-start;
    }

    .post-actions-buttons {
        width: 100%;
    }

    .action-btn {
        flex: 1;
    }
}