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

/* Blog Variables - Using theme colors */
:root {
    --blog-primary: #2563eb;
    --blog-secondary: #f59e0b;
    --blog-text: #1f2937;
    --blog-text-light: #6b7280;
    --blog-border: #e5e7eb;
    --blog-bg: #f9fafb;
    --blog-white: #ffffff;
    --blog-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --blog-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* ============================================
   Blog Hero Section
   ============================================ */
.blog-hero {
    background: linear-gradient(135deg, var(--blog-primary) 0%, #1e40af 100%);
    color: var(--blog-white);
    padding: 5rem 0 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.blog-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="blog-dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23blog-dots)"/></svg>');
    opacity: 0.3;
}

.blog-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.blog-hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.blog-hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.95;
    margin-bottom: 0;
}

.blog-hero-description {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-top: 1rem;
}

/* ============================================
   Blog Content Layout
   ============================================ */
.blog-content-section {
    padding: 4rem 0;
    background: var(--blog-bg);
}

.blog-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 3rem;
    align-items: start;
}

@media (max-width: 1024px) {
    .blog-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .blog-sidebar {
        order: 2;
    }
}

/* ============================================
   Blog Grid (Archive)
   ============================================ */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Blog Card Styles
   ============================================ */
.blog-card {
    background: var(--blog-white);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--blog-shadow);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--blog-shadow-lg);
}

.blog-card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.blog-card-category,
.blog-post-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--blog-secondary);
    color: var(--blog-white);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    z-index: 2;
}

.blog-card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: var(--blog-text-light);
}

.blog-meta-item {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.blog-meta-item i {
    font-size: 0.875rem;
}

.blog-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.blog-card-title a {
    color: var(--blog-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-card-title a:hover {
    color: var(--blog-primary);
}

.blog-card-excerpt {
    color: var(--blog-text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.blog-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--blog-border);
}

.blog-comments-count {
    color: var(--blog-text-light);
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* ============================================
   Blog Sidebar
   ============================================ */
.blog-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-widget {
    background: var(--blog-white);
    border-radius: 1rem;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--blog-shadow);
}

.widget-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--blog-text);
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--blog-primary);
}

/* Search Widget */
.search-input-group {
    display: flex;
    gap: 0.5rem;
}

.search-field {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid var(--blog-border);
    border-radius: 0.5rem;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.search-field:focus {
    outline: none;
    border-color: var(--blog-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.search-submit {
    padding: 0.75rem 1.5rem;
    background: var(--blog-primary);
    color: var(--blog-white);
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-submit:hover {
    background: #1e40af;
}

/* Categories Widget */
.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li {
    margin-bottom: 0.75rem;
}

.category-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background: var(--blog-bg);
    border-radius: 0.5rem;
    text-decoration: none;
    color: var(--blog-text);
    transition: all 0.3s ease;
}

.category-list a:hover {
    background: var(--blog-primary);
    color: var(--blog-white);
    transform: translateX(5px);
}

.category-list i {
    margin-right: 0.75rem;
}

.category-count {
    background: var(--blog-white);
    color: var(--blog-text-light);
    padding: 0.25rem 0.75rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.category-list a:hover .category-count {
    background: rgba(255, 255, 255, 0.2);
    color: var(--blog-white);
}

/* Recent Posts Widget */
.recent-posts-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.recent-post-item {
    display: flex;
    gap: 1rem;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--blog-border);
}

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

.recent-post-thumb {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 0.5rem;
    overflow: hidden;
}

.recent-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.recent-post-item:hover .recent-post-thumb img {
    transform: scale(1.1);
}

.recent-post-content {
    flex: 1;
}

.recent-post-title {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.recent-post-title a {
    color: var(--blog-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.recent-post-title a:hover {
    color: var(--blog-primary);
}

.recent-post-date {
    font-size: 0.75rem;
    color: var(--blog-text-light);
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

/* Tags Widget */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag-item {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--blog-bg);
    color: var(--blog-text);
    text-decoration: none;
    border-radius: 2rem;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.tag-item:hover {
    background: var(--blog-primary);
    color: var(--blog-white);
    transform: translateY(-2px);
}

/* Newsletter Widget */
.newsletter-widget {
    background: linear-gradient(135deg, var(--blog-primary) 0%, #1e40af 100%);
    color: var(--blog-white);
}

.newsletter-widget .widget-title {
    color: var(--blog-white);
    border-color: rgba(255, 255, 255, 0.3);
}

.newsletter-widget p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

.newsletter-form input[type="email"] {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    background: rgba(255, 255, 255, 0.1);
    color: var(--blog-white);
}

.newsletter-form input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

/* CTA Widget */
.cta-widget {
    background: linear-gradient(135deg, var(--blog-secondary) 0%, #d97706 100%);
    color: var(--blog-white);
    text-align: center;
}

.cta-widget .widget-title {
    display: none;
}

.cta-content i {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

.cta-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--blog-white);
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

.cta-content .btn {
    background: var(--blog-white);
    color: var(--blog-secondary);
}

.cta-content .btn:hover {
    background: var(--blog-bg);
    transform: translateY(-2px);
}

/* ============================================
   Blog Pagination
   ============================================ */
.blog-pagination {
    margin-top: 3rem;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.pagination .page-numbers {
    padding: 0.75rem 1.25rem;
    background: var(--blog-white);
    color: var(--blog-text);
    text-decoration: none;
    border-radius: 0.5rem;
    border: 1px solid var(--blog-border);
    transition: all 0.3s ease;
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
    background: var(--blog-primary);
    color: var(--blog-white);
    border-color: var(--blog-primary);
}

/* ============================================
   Single Post Page
   ============================================ */
.post-hero {
    background: linear-gradient(135deg, var(--blog-primary) 0%, #1e40af 100%);
    color: var(--blog-white);
    padding: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.post-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="post-dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23post-dots)"/></svg>');
    opacity: 0.3;
}

.post-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.post-category-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--blog-secondary);
    color: var(--blog-white);
    padding: 0.5rem 1.25rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.post-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    font-size: 0.875rem;
    opacity: 0.95;
}

.post-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

/* Featured Image */
.post-featured-image {
    margin: -3rem 0 0;
    position: relative;
    z-index: 3;
}

.featured-image-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--blog-shadow-lg);
}

.featured-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

/* Post Content */
.post-content-section {
    padding: 4rem 0;
    background: var(--blog-bg);
}

.post-article {
    background: var(--blog-white);
    border-radius: 1rem;
    padding: 3rem;
    box-shadow: var(--blog-shadow);
    margin-bottom: 2rem;
}

.post-content {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--blog-text);
}

.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: var(--blog-text);
}

.post-content h2 {
    font-size: 2rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--blog-border);
}

.post-content h3 {
    font-size: 1.5rem;
}

.post-content p {
    margin-bottom: 1.5rem;
}

.post-content ul,
.post-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.post-content li {
    margin-bottom: 0.5rem;
}

.post-content a {
    color: var(--blog-primary);
    text-decoration: underline;
}

.post-content a:hover {
    color: #1e40af;
}

.post-content blockquote {
    border-left: 4px solid var(--blog-primary);
    padding: 1rem 1.5rem;
    margin: 2rem 0;
    background: var(--blog-bg);
    border-radius: 0.5rem;
    font-style: italic;
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    margin: 2rem 0;
}

/* Post Tags */
.post-tags {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--blog-border);
}

.post-tags h4 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: var(--blog-text);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* Share Buttons */
.post-share {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--blog-border);
}

.post-share h4 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: var(--blog-text);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border-radius: 0.5rem;
    text-decoration: none;
    color: var(--blog-white);
    font-weight: 600;
    transition: all 0.3s ease;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--blog-shadow-lg);
}

.share-btn.facebook {
    background: #1877f2;
}

.share-btn.twitter {
    background: #1da1f2;
}

.share-btn.linkedin {
    background: #0077b5;
}

.share-btn.pinterest {
    background: #e60023;
}

.share-btn.email {
    background: #6b7280;
}

/* Author Box */
.author-box {
    display: flex;
    gap: 2rem;
    background: var(--blog-white);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--blog-shadow);
    margin-bottom: 2rem;
}

.author-avatar {
    flex-shrink: 0;
}

.author-avatar img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 3px solid var(--blog-primary);
}

.author-info {
    flex: 1;
}

.author-name {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--blog-text);
}

.author-bio {
    color: var(--blog-text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.author-social {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.author-social a {
    color: var(--blog-primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.author-social a:hover {
    color: #1e40af;
}

/* Related Posts */
.related-posts {
    background: var(--blog-white);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--blog-shadow);
    margin-bottom: 2rem;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--blog-text);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.related-post-card {
    border: 1px solid var(--blog-border);
    border-radius: 0.75rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.related-post-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--blog-shadow-lg);
}

.related-post-image {
    aspect-ratio: 16/10;
    overflow: hidden;
}

.related-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-post-card:hover .related-post-image img {
    transform: scale(1.05);
}

.related-post-content {
    padding: 1rem;
}

.related-post-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.related-post-title a {
    color: var(--blog-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.related-post-meta {
    font-size: 0.75rem;
    color: var(--blog-text-light);
}

/* Post Navigation */
.post-navigation {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.nav-previous,
.nav-next {
    background: var(--blog-white);
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: var(--blog-shadow);
    transition: all 0.3s ease;
}

.nav-previous:hover,
.nav-next:hover {
    transform: translateY(-5px);
    box-shadow: var(--blog-shadow-lg);
}

.nav-next {
    text-align: right;
}

.nav-label {
    display: block;
    font-size: 0.875rem;
    color: var(--blog-text-light);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.nav-title {
    display: block;
    color: var(--blog-text);
    text-decoration: none;
    font-size: 1.125rem;
    font-weight: 700;
    transition: color 0.3s ease;
}

.nav-title:hover {
    color: var(--blog-primary);
}

/* Comments Section */
.comments-section {
    background: var(--blog-white);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--blog-shadow);
}

.comments-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--blog-text);
}

.comment-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.comment-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--blog-border);
}

.comment-item:last-child {
    border-bottom: none;
}

.comment-body {
    display: flex;
    gap: 1rem;
}

.comment-author-avatar {
    flex-shrink: 0;
}

.comment-author-avatar img {
    border-radius: 50%;
}

.comment-content-wrap {
    flex: 1;
}

.comment-meta {
    margin-bottom: 0.75rem;
}

.comment-author-name {
    font-weight: 600;
    color: var(--blog-text);
    margin-right: 1rem;
}

.comment-date {
    font-size: 0.875rem;
    color: var(--blog-text-light);
}

.comment-content {
    margin-bottom: 0.75rem;
    line-height: 1.6;
    color: var(--blog-text);
}

.comment-reply a {
    color: var(--blog-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
}

.comment-reply a:hover {
    text-decoration: underline;
}

/* Comment Form */
.comment-form {
    margin-top: 2rem;
}

.comment-form-comment,
.comment-form-author,
.comment-form-email,
.comment-form-url {
    margin-bottom: 1.5rem;
}

.comment-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--blog-text);
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--blog-border);
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: var(--blog-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.comment-form textarea {
    min-height: 150px;
    resize: vertical;
}

/* ============================================
   Homepage Blog Section
   ============================================ */
.blog-section {
    padding: 5rem 0;
    background: var(--blog-bg);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.section-header .subtitle {
    color: var(--blog-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--blog-text);
}

.section-header p {
    font-size: 1.125rem;
    color: var(--blog-text-light);
}

.blog-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.blog-post-card {
    background: var(--blog-white);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--blog-shadow);
    transition: all 0.3s ease;
}

.blog-post-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--blog-shadow-lg);
}

.blog-post-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.blog-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-post-card:hover .blog-post-image img {
    transform: scale(1.05);
}

.blog-post-content {
    padding: 1.5rem;
}

.blog-post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: var(--blog-text-light);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.blog-post-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.blog-post-title a {
    color: var(--blog-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-post-title a:hover {
    color: var(--blog-primary);
}

.blog-post-excerpt {
    color: var(--blog-text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.blog-post-link {
    color: var(--blog-primary);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.blog-post-link:hover {
    color: #1e40af;
    gap: 0.75rem;
}

.blog-section-footer {
    text-align: center;
}

/* No Posts Found */
.no-posts-found {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--blog-text-light);
}

.no-posts-found i {
    color: var(--blog-border);
    margin-bottom: 1.5rem;
}

.no-posts-found h2 {
    color: var(--blog-text);
    margin-bottom: 1rem;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 768px) {
    .blog-hero-title,
    .post-title {
        font-size: 2rem;
    }

    .post-article {
        padding: 2rem 1.5rem;
    }

    .author-box {
        flex-direction: column;
        text-align: center;
    }

    .share-buttons {
        flex-direction: column;
    }

    .share-btn {
        width: 100%;
        justify-content: center;
    }

    .comment-body {
        flex-direction: column;
    }

    .related-posts-grid {
        grid-template-columns: 1fr;
    }

    .post-navigation {
        grid-template-columns: 1fr;
    }

    .blog-posts-grid {
        grid-template-columns: 1fr;
    }

    .post-meta {
        gap: 1rem;
    }
}

/* ============================================
   Animations
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.blog-card,
.blog-post-card {
    animation: fadeInUp 0.6s ease-out;
}
