


.blog-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.7)), url('../images/blog-bg.jpg');
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    text-align: center;
    color: white;
    margin-bottom: 50px;
}

.blog-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.blog-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}


.blog-container {
    display: grid;
    grid-template-columns: 1fr 300px;
    
    gap: 40px;
    margin-bottom: 80px;
}


.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}


.blog-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.blog-thumb {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.blog-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-thumb img {
    transform: scale(1.05);
}

.blog-category-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.blog-details {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    font-size: 13px;
    color: #888;
    margin-bottom: 10px;
    display: flex;
    gap: 15px;
}

.blog-meta i {
    color: #d4a373;
    margin-right: 5px;
}

.blog-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.4;
}

.blog-title a {
    color: #222;
    text-decoration: none;
    transition: color 0.2s;
}

.blog-title a:hover {
    color: #d4a373;
}

.blog-summary {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-footer {
    border-top: 1px solid #f0f0f0;
    padding-top: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.read-more {
    font-size: 14px;
    font-weight: 600;
    color: #d4a373;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
}

.read-more:hover {
    gap: 8px;
    
}


.sidebar-widget {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 30px;
}

.widget-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e0e0e0;
    color: #333;
}

.cat-list {
    list-style: none;
    padding: 0;
}

.cat-list li {
    margin-bottom: 10px;
}

.cat-list a {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    background: white;
    color: #555;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.2s;
    border: 1px solid #eee;
}

.cat-list a:hover {
    background: #d4a373;
    color: white;
    border-color: #d4a373;
}

.popular-posts .post-item {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.popular-posts .post-thumb {
    width: 70px;
    height: 70px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}

.popular-posts .post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.popular-posts h5 {
    font-size: 14px;
    margin: 0 0 5px;
    line-height: 1.4;
}

.popular-posts h5 a {
    color: #333;
    text-decoration: none;
}

.popular-posts span {
    font-size: 12px;
    color: #999;
}


.blog-detail-container {
    max-width: 800px;
    margin: 0 auto;
}

.detail-header {
    text-align: center;
    margin-bottom: 40px;
}

.detail-cat {
    display: inline-block;
    background: #d4a373;
    color: white;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.detail-title {
    font-size: 36px;
    color: #222;
    margin-bottom: 15px;
    line-height: 1.3;
}

.detail-meta {
    color: #888;
    font-size: 14px;
}

.detail-image {
    width: 100%;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 40px;
}

.detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-content {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
}

.detail-content h2,
.detail-content h3 {
    color: #222;
    margin-top: 30px;
    margin-bottom: 15px;
}

.detail-content p {
    margin-bottom: 20px;
}

.detail-content ul,
.detail-content ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

.detail-content li {
    margin-bottom: 10px;
}


@media (max-width: 900px) {
    .blog-container {
        grid-template-columns: 1fr;
    }

    .blog-sidebar {
        order: 2;
        
    }
}