/* ========================================
   Blog Styles
   ======================================== */

.blog-hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.blog-category-badge {
    margin-bottom: 15px;
}

.category-badge {
    background: var(--primary-color, #c5a47e);
    color: #fff;
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 13px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.category-badge:hover {
    background: #fff;
    color: var(--primary-color, #c5a47e);
}

.blog-tag {
    display: inline-block;
    padding: 6px 16px;
    margin: 4px;
    background: #f5f5f5;
    color: #555;
    border-radius: 50px;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.blog-tag:hover {
    background: var(--primary-color, #c5a47e);
    color: #fff;
}

.share-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

/* Featured Card */
.featured-card {
    position: relative;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    transition: all 0.3s ease;
}

.featured-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12) !important;
}

.card-link-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
}

.card-ribbon {
    position: absolute;
    top: 15px;
    right: -5px;
    background: var(--primary-color, #c5a47e);
    color: #fff;
    padding: 4px 14px;
    font-size: 12px;
    z-index: 3;
    border-radius: 4px 0 0 4px;
}

.featured-img img {
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.featured-category {
    bottom: 10px;
    left: 10px;
    z-index: 3;
}

.featured-content {
    position: relative;
    z-index: 1;
}

.featured-title {
    font-size: 18px;
    line-height: 1.4;
}

.card-description {
    font-size: 14px;
    line-height: 1.6;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more {
    color: var(--primary-color, #c5a47e);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.read-more i {
    transition: transform 0.3s ease;
}

.read-more:hover i {
    transform: translateX(5px);
}

/* Category Card */
.category-card {
    display: block;
    text-align: center;
    padding: 24px 16px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    color: var(--primary-color, #c5a47e);
    border-color: var(--primary-color, #c5a47e);
}

.category-content h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.category-content span {
    font-size: 13px;
    color: #888;
}

/* Related Post Items */
.related-post-item {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #eee;
}

.related-post-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.related-post-img img {
    width: 100%;
    height: 70px;
    object-fit: cover;
    border-radius: 6px;
}

.related-post-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 4px;
}

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

.related-post-title a:hover {
    color: var(--primary-color, #c5a47e);
}

.related-post-date {
    font-size: 12px;
    color: #999;
}

/* Author Bio */
.author-card {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: #f9f9f9;
    border-radius: 12px;
}

.author-card .author-image img {
    width: 80px;
    height: 80px;
    object-fit: cover;
}

.author-card .author-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 6px;
}

.author-card .author-description {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* Blog Share */
.blog-share-section {
    padding: 20px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

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

.pagination-wrapper .pagination {
    gap: 4px;
}

.pagination-wrapper .page-link {
    border-radius: 8px;
    padding: 8px 16px;
    color: #333;
    border: 1px solid #dee2e6;
    font-size: 14px;
}

.pagination-wrapper .page-item.active .page-link {
    background: var(--primary-color, #c5a47e);
    border-color: var(--primary-color, #c5a47e);
    color: #fff;
}
