/* Blog Frontend Styles - MediaSnap.AI Theme */

.blog-page {
    background: #0f0f23;
    min-height: 100vh;
}

/* Hero Section - Transform Lab Style */
.blog-hero {
    background: #1a1a2e;
    color: white;
    padding: 4rem 0 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid #2d3748;
}

/* Glassmorphism Background Effects */
.blog-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.05) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    pointer-events: none;
}

/* Animated Background Particles */
.blog-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(118, 75, 162, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(240, 147, 251, 0.05) 0%, transparent 50%);
    animation: heroFloat 20s ease-in-out infinite;
    pointer-events: none;
}

@keyframes heroFloat {
    0%, 100% { opacity: 0.3; transform: translateY(0px); }
    50% { opacity: 0.6; transform: translateY(-10px); }
}

.blog-hero h1 {
    font-size: clamp(2.5rem, 8vw, 4rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0 0 1rem;
    line-height: 1.1;
    position: relative;
    z-index: 2;
}

/* Gradient Text Effect - Transform Lab Style */
.blog-hero h1 .title-primary {
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.blog-hero h1 .title-accent {
    background: linear-gradient(135deg, #f093fb, #f5576c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

/* Hero Icon */
.blog-hero-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-lg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    z-index: 2;
    animation: pulse 2s ease-in-out infinite;
}

.blog-hero-icon i {
    font-size: 32px;
    color: var(--text-primary);
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.blog-hero p {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.blog-search {
    max-width: 600px;
    margin: 0 auto;
}

.search-form {
    display: flex;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    padding: 2px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.search-form:focus-within {
    border-color: rgba(102, 126, 234, 0.5);
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.2);
}

.search-form input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    background: transparent;
    font-size: 1rem;
    color: white;
    outline: none;
}

.search-form input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.search-form button {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border: none;
    border-radius: 50px;
    color: white;
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #764ba2, #667eea);
}

/* Responsive Design */
@media (max-width: 768px) {
    .blog-hero {
        padding: 3rem 0 2rem;
    }

    .blog-hero h1 {
        font-size: clamp(2rem, 10vw, 3rem);
    }

    .blog-hero p {
        font-size: 1.1rem;
        padding: 0 1rem;
    }

    .blog-hero-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1.5rem;
    }

    .blog-hero-icon i {
        font-size: 24px;
    }

    .search-form {
        margin: 0 1rem;
    }

    .search-form input {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }

    .search-form button {
        padding: 0.75rem 1rem;
        min-width: 50px;
    }
}

@media (max-width: 480px) {
    .blog-hero {
        padding: 2rem 0 1.5rem;
    }

    .blog-hero h1 {
        font-size: clamp(1.8rem, 12vw, 2.5rem);
        margin-bottom: 0.75rem;
    }

    .blog-hero p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .blog-hero-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 1rem;
    }

    .blog-hero-icon i {
        font-size: 20px;
    }
}

/* Categories Filter */
.blog-categories {
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(102, 126, 234, 0.2);
    position: sticky;
    top: 70px;
    z-index: 100;
}

.categories-scroll {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}

.categories-scroll::-webkit-scrollbar {
    height: 4px;
}

.categories-scroll::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.categories-scroll::-webkit-scrollbar-thumb {
    background: #667eea;
    border-radius: 2px;
}

.category-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #e2e8f0;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.3s;
}

.category-chip:hover {
    background: var(--cat-color, rgba(102, 126, 234, 0.3));
    border-color: var(--cat-color, #667eea);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.category-chip.active {
    background: linear-gradient(135deg, var(--cat-color, #667eea) 0%, var(--cat-color, #764ba2) 100%);
    border-color: var(--cat-color, #667eea);
    color: white;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/* Blog Tags Section */
.blog-tags-section {
    background: #1a1a2e;
    padding: 2rem 0;
    border-bottom: 1px solid #2d3748;
}

.tags-title {
    color: #e2e8f0;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 1rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tags-title i {
    color: #667eea;
}

.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.tag-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #cbd5e0;
    text-decoration: none;
    transition: all 0.3s ease;
}

.tag-chip .tag-count {
    background: rgba(102, 126, 234, 0.3);
    color: #a5b4fc;
    padding: 0.125rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.tag-chip:hover {
    background: rgba(102, 126, 234, 0.2);
    border-color: #667eea;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(102, 126, 234, 0.3);
}

.tag-chip.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
    color: white;
    box-shadow: 0 3px 8px rgba(102, 126, 234, 0.4);
}

.tag-chip.active .tag-count {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

/* Active Filters Section */
.active-filters {
    background: #14142e;
    padding: 1rem 0;
    border-bottom: 1px solid #2d3748;
}

.filters-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filters-label {
    color: #a0aec0;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filters-label i {
    color: #667eea;
}

.filters-tags {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: rgba(102, 126, 234, 0.2);
    border: 1px solid #667eea;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #cbd5e0;
}

.filter-tag i {
    font-size: 0.75rem;
}

.filter-tag .remove-filter {
    margin-left: 0.25rem;
    color: #a0aec0;
    text-decoration: none;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
}

.filter-tag .remove-filter:hover {
    color: #f56565;
}

.filter-tag .remove-filter i {
    font-size: 0.7rem;
}

.clear-all-filters {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.75rem;
    background: rgba(245, 101, 101, 0.1);
    border: 1px solid rgba(245, 101, 101, 0.3);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #fc8181;
    text-decoration: none;
    transition: all 0.2s ease;
}

.clear-all-filters:hover {
    background: rgba(245, 101, 101, 0.2);
    border-color: #f56565;
    color: #feb2b2;
}

.clear-all-filters i {
    font-size: 0.8rem;
}

/* Blog Posts Section */
.blog-posts {
    padding: 3rem 0;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.post-card {
    background: rgba(26, 26, 46, 0.8);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    display: flex;
    flex-direction: column;
}

.post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.3);
    border-color: rgba(102, 126, 234, 0.5);
}

.post-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #e2e8f0;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.post-card:hover .post-image img {
    transform: scale(1.05);
}

.post-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.post-category {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.post-title {
    margin: 0 0 1rem;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.4;
}

.post-title a {
    color: #e8e8f5;
    text-decoration: none;
    transition: color 0.3s;
    text-shadow: 0 2px 10px rgba(139, 92, 246, 0.3);
}

.post-title a:hover {
    color: #a78bfa;
    text-shadow: 0 2px 15px rgba(139, 92, 246, 0.5);
}

.post-excerpt {
    color: #b8c4d0;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex: 1;
}

.post-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    color: #a0aec0;
    margin-bottom: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(102, 126, 234, 0.2);
}

.post-meta span {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #667eea;
    font-weight: 600;
    text-decoration: none;
    transition: gap 0.3s;
}

.read-more:hover {
    gap: 0.75rem;
}

/* No Posts State */
.no-posts {
    text-align: center;
    padding: 4rem 2rem;
}

.no-posts i {
    font-size: 4rem;
    color: rgba(102, 126, 234, 0.5);
    margin-bottom: 1rem;
}

.no-posts h2 {
    font-size: 1.5rem;
    color: #e8e8f5;
    margin-bottom: 0.5rem;
    text-shadow: 0 1px 8px rgba(139, 92, 246, 0.2);
}

.no-posts p {
    color: #cbd5e0;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    padding: 2rem 0;
}

.pagination-btn,
.pagination-number {
    padding: 0.75rem 1.25rem;
    background: rgba(26, 26, 46, 0.8);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 8px;
    color: #e2e8f0;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.pagination-btn:hover,
.pagination-number:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: #667eea;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.pagination-number.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: #667eea;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.pagination-numbers {
    display: flex;
    gap: 0.5rem;
}

/* Blog Post Page */
.blog-post-page {
    background: #0f0f23;
    min-height: 100vh;
}

.blog-post-container {
    padding: 2rem 0;
}

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 0;
    font-size: 0.9rem;
    color: #a0aec0;
}

.breadcrumbs a {
    color: #8b5cf6;
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
    color: #a78bfa;
}

.post-header {
    background: rgba(26, 26, 46, 0.8);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 16px;
    padding: 3rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.post-category-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.post-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    color: #e8e8f5;
    margin: 0 0 2rem;
    text-shadow: 0 2px 10px rgba(139, 92, 246, 0.2);
}

.post-meta-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(102, 126, 234, 0.2);
    margin-bottom: 2rem;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
}

.author-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.author-name {
    font-weight: 600;
    color: #e8e8f5;
    text-shadow: 0 1px 4px rgba(139, 92, 246, 0.15);
}

.post-date {
    font-size: 0.9rem;
    color: #a0aec0;
}

.post-stats {
    display: flex;
    gap: 1.5rem;
    font-size: 0.9rem;
    color: #a0aec0;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.post-featured-image {
    width: 100%;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
}

.post-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-body {
    background: rgba(26, 26, 46, 0.8);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 16px;
    padding: 3rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    font-size: 1.1rem;
    line-height: 1.8;
    color: #e2e8f0;
}

.post-body h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 2rem 0 1rem;
    color: #e8e8f5;
    text-shadow: 0 1px 8px rgba(139, 92, 246, 0.2);
}

.post-body h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 1.5rem 0 0.75rem;
    color: #e8e8f5;
    text-shadow: 0 1px 6px rgba(139, 92, 246, 0.15);
}

.post-body p {
    margin-bottom: 1.5rem;
}

.post-body ul,
.post-body ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.post-body li {
    margin-bottom: 0.5rem;
}

.post-footer {
    background: rgba(26, 26, 46, 0.8);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 16px;
    padding: 2rem 3rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.post-tags {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(102, 126, 234, 0.2);
}

.post-tags i {
    color: #a0aec0;
}

.tag {
    padding: 0.375rem 0.875rem;
    background: rgba(102, 126, 234, 0.2);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 20px;
    font-size: 0.85rem;
    color: #e2e8f0;
    text-decoration: none;
    transition: all 0.3s;
}

.tag:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
    color: white;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.post-share {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.share-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: transform 0.3s;
}

.share-btn:hover {
    transform: scale(1.1);
}

.share-btn.twitter {
    background: #1da1f2;
}

.share-btn.facebook {
    background: #4267b2;
}

.share-btn.linkedin {
    background: #0077b5;
}

.ai-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: #f3e5f5;
    color: #7b1fa2;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Related Posts */
.related-posts {
    padding: 3rem 0;
}

.related-posts h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #e8e8f5;
    text-shadow: 0 2px 10px rgba(139, 92, 246, 0.2);
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.related-post-card {
    background: rgba(26, 26, 46, 0.8);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.related-post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.3);
    border-color: rgba(102, 126, 234, 0.5);
}

.related-post-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 1rem;
}

.related-post-card h3 a {
    color: #e8e8f5;
    text-decoration: none;
    transition: color 0.3s;
    text-shadow: 0 1px 6px rgba(139, 92, 246, 0.2);
}

.related-post-card h3 a:hover {
    color: #a78bfa;
    text-shadow: 0 2px 10px rgba(139, 92, 246, 0.4);
}

.related-excerpt {
    color: #cbd5e0;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.related-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #667eea;
    font-weight: 600;
    text-decoration: none;
    transition: gap 0.3s;
}

.related-link:hover {
    gap: 0.75rem;
}

/* Post Tags Section - At end of blog post */
.post-tags-section {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    padding: 3rem 0;
    border-top: 1px solid rgba(102, 126, 234, 0.2);
}

.tags-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.tags-section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #e8e8f5;
    margin: 0 0 0.5rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.tags-section-title i {
    color: #667eea;
    font-size: 1.5rem;
}

.tags-description {
    color: #a0aec0;
    font-size: 1rem;
    margin: 0 0 2rem 0;
}

.post-tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.post-tag-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(26, 26, 46, 0.6);
    border: 2px solid rgba(102, 126, 234, 0.3);
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #cbd5e0;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.post-tag-link i {
    color: #667eea;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.post-tag-link:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.3) 0%, rgba(118, 75, 162, 0.3) 100%);
    border-color: #667eea;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.post-tag-link:hover i {
    color: #a5b4fc;
    transform: scale(1.1);
}

/* Search Highlight */
.search-highlight {
    background: linear-gradient(135deg, #ffd700, #ff6b35);
    color: #1a1a2e;
    padding: 0.1em 0.3em;
    border-radius: 3px;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(255, 215, 0, 0.3);
}

/* Search Results Header */
.search-results-header {
    background: rgba(26, 26, 46, 0.8);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.search-results-header h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #e8e8f5;
    margin: 0 0 0.5rem;
    text-shadow: 0 2px 10px rgba(139, 92, 246, 0.2);
}

.search-results-header p {
    color: #a0aec0;
    font-size: 1rem;
    margin: 0 0 1.5rem;
}

.clear-search-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(102, 126, 234, 0.2);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 8px;
    color: #667eea;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.clear-search-btn:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

/* Post Header Top Section */
.post-header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.go-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(102, 126, 234, 0.2);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 8px;
    color: #667eea;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.go-back-btn:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.go-back-btn i {
    font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 768px) {
    .blog-hero h1 {
        font-size: 2rem;
    }

    .blog-hero p {
        font-size: 1rem;
    }

    .posts-grid {
        grid-template-columns: 1fr;
    }

    .post-header {
        padding: 2rem 1.5rem;
    }

    .post-header-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .post-title {
        font-size: 1.75rem;
    }

    .post-meta-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .post-body {
        padding: 2rem 1.5rem;
        font-size: 1rem;
    }

    .post-footer {
        padding: 1.5rem;
    }

    .search-results-header {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .search-results-header h2 {
        font-size: 1.5rem;
    }

    .related-posts-grid {
        grid-template-columns: 1fr;
    }
}

