.blog-header {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 100%);
    position: relative;
    overflow: hidden;
}

    .blog-header::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: radial-gradient(circle at 20% 50%, rgba(0, 122, 255, 0.1) 0%, transparent 50%), radial-gradient(circle at 80% 80%, rgba(52, 199, 89, 0.1) 0%, transparent 50%);
    }

.blog-header-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.blog-header h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #007AFF 0%, #34C759 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.blog-header p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
}

.blog-search-bar {
    margin: 3rem 0 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
}

    .search-input-wrapper:focus-within {
        border-color: #007AFF;
        box-shadow: 0 0 0 4px rgba(0, 122, 255, 0.2);
    }

.search-icon {
    color: rgba(255, 255, 255, 0.5);
    margin-right: 1rem;
}

.search-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #ffffff;
    font-size: 1rem;
    padding: 0.5rem 0;
}

    .search-input::placeholder {
        color: rgba(255, 255, 255, 0.5);
    }

.blog-categories {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 2rem;
}

.category-badge {
    padding: 0.5rem 1.25rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

    .category-badge:hover {
        background: rgba(255, 255, 255, 0.2);
        border-color: rgba(255, 255, 255, 0.4);
        color: #ffffff;
        transform: translateY(-2px);
    }

    .category-badge.active {
        background: linear-gradient(135deg, #007AFF 0%, #0051D5 100%);
        border-color: #007AFF;
        color: #ffffff;
    }

.blog-main {
    padding: 4rem 0;
    background: #f5f7fa;
}

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

.blog-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.blog-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

    .blog-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    }

.blog-card-image {
    width: 100%;
    height: 240px;
    object-fit: cover;
    background: linear-gradient(135deg, #007AFF 0%, #34C759 100%);
}

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

.blog-card-category {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    background: rgba(0, 122, 255, 0.1);
    color: #007AFF;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 6px;
    margin-bottom: 1rem;
    width: fit-content;
}

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

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

        .blog-card-title a:hover {
            color: #007AFF;
        }

.blog-card-excerpt {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex: 1;
}

.blog-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #eee;
    font-size: 0.875rem;
    color: #999;
}

.blog-card-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-card-reading-time {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-widget {
    background: #ffffff;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
}

    .sidebar-widget h3 {
        font-size: 1.25rem;
        font-weight: 700;
        color: #1a1f3a;
        margin-bottom: 1.5rem;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

.popular-posts-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

    .search-box input {
        flex: 1;
        padding: 0.875rem 1rem;
        border: 2px solid #e5e7eb;
        border-radius: 12px;
        font-size: 0.95rem;
        transition: all 0.3s ease;
        outline: none;
    }

        .search-box input:focus {
            border-color: #007AFF;
            box-shadow: 0 0 0 4px rgba(0, 122, 255, 0.1);
        }

    .search-box button {
        width: 44px;
        height: 44px;
        border-radius: 12px;
        background: #007AFF;
        border: none;
        color: #ffffff;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
    }

        .search-box button:hover {
            background: #0051D5;
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(0, 122, 255, 0.3);
        }

        .search-box button:active {
            transform: translateY(0);
        }

.popular-post-item {
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}

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

    .popular-post-item:first-child {
        padding-top: 0;
    }

.popular-post-link {
    text-decoration: none;
    color: #1a1f3a;
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.4;
    transition: color 0.3s ease;
    display: block;
}

    .popular-post-link:hover {
        color: #007AFF;
    }

.popular-post-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: #999;
}

.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag-link {
    padding: 0.4rem 1rem;
    background: #f5f7fa;
    color: #666;
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
}

    .tag-link:hover {
        background: #007AFF;
        color: #ffffff;
        transform: translateY(-2px);
    }

.blog-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 4rem;
}

.pagination-btn {
    padding: 0.75rem 1.25rem;
    background: #ffffff;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    color: #666;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

    .pagination-btn:hover {
        border-color: #007AFF;
        color: #007AFF;
        transform: translateY(-2px);
    }

    .pagination-btn.active {
        background: #007AFF;
        border-color: #007AFF;
        color: #ffffff;
    }

    .pagination-btn:disabled {
        opacity: 0.5;
        cursor: not-allowed;
    }

        .pagination-btn:disabled:hover {
            transform: none;
        }

.load-more-btn {
    display: block;
    margin: 3rem auto;
    padding: 1rem 3rem;
    background: linear-gradient(135deg, #007AFF 0%, #0051D5 100%);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 122, 255, 0.3);
}

    .load-more-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 25px rgba(0, 122, 255, 0.4);
    }

.no-posts-message {
    text-align: center;
    padding: 4rem 2rem;
    color: #666;
}

    .no-posts-message svg {
        width: 100px;
        height: 100px;
        margin-bottom: 2rem;
        color: #ccc;
    }

    .no-posts-message h3 {
        font-size: 1.5rem;
        color: #1a1f3a;
        margin-bottom: 0.5rem;
    }

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

    .blog-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
    }

    .sidebar-widget {
        margin-bottom: 0;
    }
}

/* Blog Post Page Styles */
.blog-post-page {
    padding: 6rem 0 4rem;
    background: #f5f7fa;
}

.blog-post-article {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
    margin-bottom: 3rem;
}

.blog-post-header {
    padding: 3rem 3rem 2rem;
}

.blog-post-meta-top {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.blog-post-category {
    padding: 0.5rem 1.25rem;
    background: rgba(0, 122, 255, 0.1);
    color: #007AFF;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 8px;
}

.blog-post-meta-info {
    display: flex;
    gap: 1.5rem;
}

    .blog-post-meta-info .meta-item {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        color: #999;
        font-size: 0.875rem;
    }

.blog-post-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: #1a1f3a;
    line-height: 1.2;
    margin-bottom: 2rem;
}

.blog-post-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 12px;
    padding: 0.5rem;
    margin: -0.5rem;
}

    .blog-post-author:hover {
        background: rgba(0, 122, 255, 0.05);
        transform: translateX(5px);
    }

    .blog-post-author img {
        width: 50px;
        height: 50px;
        border-radius: 50%;
    }

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 700;
    color: #1a1f3a;
    font-size: 1rem;
}

.author-title {
    color: #999;
    font-size: 0.875rem;
}

.blog-post-featured-image {
    width: 100%;
    height: 500px;
    overflow: hidden;
}

    .blog-post-featured-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.blog-post-content {
    padding: 3rem;
    max-width: 800px;
    margin: 0 auto;
}

    .blog-post-content .lead {
        font-size: 1.25rem;
        line-height: 1.8;
        color: #555;
        margin-bottom: 2rem;
        font-weight: 400;
    }

    .blog-post-content h2 {
        font-size: 2rem;
        font-weight: 700;
        color: #1a1f3a;
        margin: 3rem 0 1.5rem;
    }

    .blog-post-content h3 {
        font-size: 1.5rem;
        font-weight: 700;
        color: #1a1f3a;
        margin: 2rem 0 1rem;
    }

    .blog-post-content p {
        font-size: 1.05rem;
        line-height: 1.8;
        color: #333;
        margin-bottom: 1.5rem;
    }

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

    .blog-post-content li {
        font-size: 1.05rem;
        line-height: 1.8;
        color: #333;
        margin-bottom: 0.75rem;
    }

    .blog-post-content strong {
        color: #1a1f3a;
        font-weight: 700;
    }

.code-block {
    background: #1a1f3a;
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    overflow-x: auto;
}

    .code-block pre {
        margin: 0;
        color: #e0e0e0;
        font-family: 'Monaco', 'Courier New', monospace;
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .code-block code {
        color: #e0e0e0;
    }

.blog-post-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid #eee;
}

.tag-label {
    font-weight: 700;
    color: #666;
}

.post-tag {
    padding: 0.5rem 1rem;
    background: #f5f7fa;
    color: #007AFF;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
}

    .post-tag:hover {
        background: #007AFF;
        color: #ffffff;
        transform: translateY(-2px);
    }

.blog-post-navigation {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
}

.nav-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: #ffffff;
    color: #007AFF;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

    .nav-back:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 25px rgba(0, 0, 0, 0.12);
    }

.related-posts-section {
    background: #ffffff;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

    .related-posts-section .section-title {
        font-size: 2rem;
        font-weight: 700;
        color: #1a1f3a;
        margin-bottom: 2rem;
        text-align: center;
    }

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

@media (max-width: 768px) {
    .blog-header {
        padding: 6rem 0 3rem;
    }

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

    .blog-categories {
        gap: 0.5rem;
    }

    .category-badge {
        padding: 0.4rem 1rem;
        font-size: 0.8rem;
    }

    .blog-post-header {
        padding: 2rem 1.5rem 1.5rem;
    }

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

    .blog-post-featured-image {
        height: 300px;
    }

    .blog-post-title {
        font-size: 1.75rem;
    }

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

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

    .related-posts-section {
        padding: 2rem 1.5rem;
    }

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

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

.blog-post-page {
    padding: 6rem 0 4rem;
    background: #f5f7fa;
    min-height: 100vh;
}

.blog-post {
    max-width: 900px;
    margin: 0 auto 4rem;
    background: #ffffff;
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

.post-header {
    margin-bottom: 3rem;
}

.post-category {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(0, 122, 255, 0.1);
    color: #007AFF;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.post-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: #1a1f3a;
    line-height: 1.2;
    margin-bottom: 2rem;
}

.post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    border-top: 2px solid #eee;
    border-bottom: 2px solid #eee;
}

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

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #007AFF 0%, #34C759 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 700;
    font-size: 1.5rem;
    overflow: hidden;
}

    .author-avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.author-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.author-name {
    font-weight: 700;
    color: #1a1f3a;
    font-size: 1.1rem;
}

.post-meta-details {
    display: flex;
    gap: 0.75rem;
    color: #999;
    font-size: 0.9rem;
}

.post-share {
    display: flex;
    gap: 0.5rem;
}

.share-btn {
    width: 50px;
    height: 50px;
    border: 2px solid #e0e0e0;
    background: #ffffff;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
}

    .share-btn:hover {
        border-color: #007AFF;
        color: #007AFF;
        transform: translateY(-2px);
    }

.post-featured-image {
    margin: 2rem 0;
    border-radius: 16px;
    overflow: hidden;
}

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

.post-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

.post-excerpt {
    font-size: 1.25rem;
    line-height: 1.8;
    color: #666;
    font-style: italic;
    padding-left: 1.5rem;
    border-left: 4px solid #007AFF;
    margin-bottom: 3rem;
}

.post-body {
    margin-top: 2rem;
}

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

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid #eee;
}

.post-tag {
    padding: 0.5rem 1rem;
    background: #f5f7fa;
    color: #666;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 20px;
}

.related-posts-section {
    max-width: 900px;
    margin: 0 auto;
}

.related-title {
    font-size: 2rem;
    font-weight: 800;
    color: #1a1f3a;
    margin-bottom: 2rem;
    text-align: center;
}

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

.related-post-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

    .related-post-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    }

.related-post-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

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

.related-post-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1f3a;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

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

        .related-post-title a:hover {
            color: #007AFF;
        }

.related-post-excerpt {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.related-post-meta {
    display: flex;
    gap: 0.5rem;
    color: #999;
    font-size: 0.85rem;
}

.post-not-found {
    max-width: 600px;
    margin: 4rem auto;
    text-align: center;
    padding: 4rem 2rem;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

    .post-not-found svg {
        color: #ccc;
        margin-bottom: 2rem;
    }

    .post-not-found h2 {
        font-size: 2rem;
        color: #1a1f3a;
        margin-bottom: 1rem;
    }

    .post-not-found p {
        color: #666;
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

.btn-back {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #007AFF 0%, #0051D5 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 122, 255, 0.3);
}

    .btn-back:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(0, 122, 255, 0.4);
    }

.author-profile-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
}

.author-profile-header {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 3rem;
    background: white;
    border-radius: 20px;
    padding: 3rem;
    margin-bottom: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.author-profile-avatar {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid #007AFF;
    box-shadow: 0 10px 30px rgba(0, 122, 255, 0.3);
}

    .author-profile-avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.author-profile-info h1 {
    font-size: 2.5rem;
    color: #1a1f3a;
    margin-bottom: 0.5rem;
}

.author-role {
    color: #007AFF;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: block;
}

.author-bio {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.author-stats {
    display: flex;
    gap: 3rem;
    margin-bottom: 2rem;
}

.author-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.author-stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: #007AFF;
}

.author-stat-label {
    color: #666;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

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

.author-social-link {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #f0f4ff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #007AFF;
    transition: all 0.3s ease;
}

    .author-social-link:hover {
        background: #007AFF;
        color: white;
        transform: translateY(-3px);
    }

.author-posts-section {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.author-posts-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

    .author-posts-header h2 {
        font-size: 2rem;
        color: #1a1f3a;
    }

.author-posts-filter {
    display: flex;
    gap: 0.5rem;
}

.filter-btn {
    padding: 0.625rem 1.25rem;
    border: 2px solid #e5e7eb;
    background: white;
    border-radius: 10px;
    color: #666;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .filter-btn:hover {
        border-color: #007AFF;
        color: #007AFF;
    }

    .filter-btn.active {
        background: #007AFF;
        border-color: #007AFF;
        color: white;
    }

.loading-state,
.no-posts {
    text-align: center;
    padding: 3rem;
    color: #666;
    font-size: 1.1rem;
}

.author-name {
    color: #1a1f3a;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

    .author-name:hover {
        color: #007AFF;
    }

.section-search {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .blog-post {
        padding: 2rem 1.5rem;
        border-radius: 16px;
    }

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

    .post-share {
        width: 100%;
        justify-content: flex-end;
    }

    .post-excerpt {
        font-size: 1.1rem;
        padding-left: 1rem;
    }

    .post-content {
        font-size: 1rem;
    }

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

    .author-profile-header {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 2rem;
        gap: 2rem;
    }

    .author-profile-avatar {
        width: 150px;
        height: 150px;
        margin: 0 auto;
    }

    .author-stats {
        justify-content: center;
    }

    .author-social {
        justify-content: center;
    }

    .author-posts-header {
        flex-direction: column;
        gap: 1rem;
    }

    .author-posts-filter {
        width: 100%;
        justify-content: center;
    }

    .filter-btn {
        flex: 1;
        padding: 0.5rem;
        font-size: 0.9rem;
    }
}
