/* Blog Header */
.blog-header {
    text-align: center;
    padding: 60px 0 40px;
}

.blog-header h1 {
    font-size: 3rem;
    color: #1a1a1a;
    margin-bottom: 15px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.blog-subtitle {
    font-size: 1.2rem;
    color: #666;
    font-style: italic;
    max-width: 600px;
    margin: 0 auto;
}

/* Blog Layout */
.blog-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    margin: 40px 0;
}

.blog-main {
    min-width: 0;
}

.blog-sidebar {
    min-width: 0;
}

/* Blog Post Card */
.blog-post-card {
    background: #ffffff;
    padding: 35px;
    margin-bottom: 35px;
    border-left: 4px solid #2c5aa0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
}

.blog-post-card:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.blog-post-card.featured {
    border-left-width: 6px;
    border-left-color: #28a745;
    background: linear-gradient(135deg, #ffffff 0%, #f8fff9 100%);
}

.featured-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #28a745;
    color: white;
    padding: 5px 15px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Post Elements */
.post-date {
    display: block;
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 15px;
    font-style: italic;
}

.post-date i {
    margin-right: 5px;
    color: #2c5aa0;
}

.post-title {
    margin: 0 0 15px 0;
    font-size: 1.6rem;
    font-weight: 600;
    line-height: 1.3;
}

.post-title a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.3s;
}

.post-title a:hover {
    color: #2c5aa0;
}

.post-excerpt {
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 1.05rem;
    text-align: justify;
}

/* Post Meta */
.post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 15px;
}

.reading-time {
    color: #666;
    font-size: 0.9rem;
}

.reading-time i {
    margin-right: 5px;
    color: #2c5aa0;
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.post-tags .tag {
    background: #e8f0ff;
    color: #2c5aa0;
    padding: 4px 12px;
    font-size: 0.8rem;
    border: 1px solid #d0e2ff;
    transition: all 0.3s;
}

.post-tags .tag:hover {
    background: #2c5aa0;
    color: white;
}

/* Read More Link */
.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #2c5aa0;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.read-more:hover {
    gap: 12px;
    color: #1a4480;
}

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

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

/* Sidebar */
.blog-sidebar {
    position: sticky;
    top: 90px;
    height: fit-content;
}

.sidebar-widget {
    background: #ffffff;
    padding: 30px;
    margin-bottom: 30px;
    border-left: 4px solid #2c5aa0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.sidebar-widget h3 {
    color: #1a1a1a;
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 10px;
}

.sidebar-widget p {
    color: #555;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Category List */
.category-list {
    list-style: none;
}

.category-list li {
    margin-bottom: 12px;
}

.category-list a {
    color: #555;
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    transition: all 0.3s;
    font-size: 0.95rem;
}

.category-list a:hover {
    color: #2c5aa0;
    padding-left: 10px;
}

.category-list i {
    margin-right: 10px;
    color: #2c5aa0;
}

.category-list span {
    background: #f5f5f5;
    padding: 2px 8px;
    font-size: 0.8rem;
    color: #666;
}

/* Tag Cloud */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cloud-tag {
    background: #f5f5f5;
    color: #555;
    padding: 6px 14px;
    text-decoration: none;
    font-size: 0.85rem;
    border: 1px solid #ddd;
    transition: all 0.3s;
}

.cloud-tag:hover {
    background: #2c5aa0;
    color: white;
    border-color: #2c5aa0;
    transform: translateY(-2px);
}

/* Newsletter Widget */
.newsletter {
    background: linear-gradient(135deg, #2c5aa0 0%, #1a4480 100%);
    border-left-color: #28a745;
}

.newsletter h3 {
    color: white;
    border-bottom-color: rgba(255, 255, 255, 0.3);
}

.newsletter p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 15px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 0.9rem;
    font-family: 'Times New Roman', Georgia, serif;
    transition: all 0.3s;
}

.newsletter-form input:focus {
    outline: none;
    border-color: white;
    background: rgba(255, 255, 255, 0.2);
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.newsletter-form button {
    padding: 12px 20px;
    background: white;
    color: #2c5aa0;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.newsletter-form button:hover {
    background: #28a745;
    color: white;
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 968px) {
    .blog-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .blog-sidebar {
        position: static;
    }

    .blog-header h1 {
        font-size: 2.2rem;
    }

    .blog-subtitle {
        font-size: 1rem;
    }

    .post-title {
        font-size: 1.4rem;
    }

    .blog-post-card {
        padding: 25px;
    }

    .post-meta {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 600px) {
    .blog-header {
        padding: 40px 0 30px;
    }

    .blog-header h1 {
        font-size: 1.8rem;
    }

    .post-title {
        font-size: 1.2rem;
    }

    .featured-badge {
        position: static;
        display: inline-block;
        margin-bottom: 15px;
    }

    .newsletter-form {
        flex-direction: column;
    }
}