/* Blog Page Styles */

/* Blog Hero Section */
.blog-hero {
    background: linear-gradient(135deg, #0A1E3F 0%, #162447 50%, #0A1E3F 100%);
    color: #ffffff;
    position: relative;
    overflow: hidden;
    min-height: 60vh;
    display: flex;
    align-items: center;
    padding-top: 70px;
}

.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-pattern" width="40" height="40" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1.5" fill="%2300FFFF" opacity="0.1"/><circle cx="5" cy="5" r="0.8" fill="%2340E0D0" opacity="0.1"/><circle cx="35" cy="35" r="0.8" fill="%2300FFFF" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23blog-pattern)"/></svg>');
    opacity: 0.3;
}

.blog-hero .hero-content {
    text-align: center;
    color: #ffffff;
    position: relative;
    z-index: 2;
}

.blog-hero .hero-title {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: #00FFFF !important;
    text-shadow: 0 4px 20px rgba(0, 255, 255, 0.5);
    position: relative;
    display: inline-block;
    letter-spacing: -0.02em;
}

.blog-hero .hero-title::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, transparent, #00FFFF, transparent);
    border-radius: 2px;
    opacity: 0.6;
}

.blog-hero .hero-title::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, #0066FF, #00FFFF, #0066FF);
    border-radius: 2px;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

.blog-hero .hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    line-height: 1.7;
    max-width: 750px;
    margin: 2.5rem auto 0;
    opacity: 0.95;
    color: #00FFFF !important;
    font-weight: 400;
    text-shadow: 0 2px 10px rgba(0, 255, 255, 0.3);
}

/* Blog Layout */
.blog-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    padding: 60px 0;
    background: #ffffff;
}

/* Blog Content Area */
.blog-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Featured Post */
.featured-post {
    margin-bottom: 40px;
}

.featured-post-content {
    background: #ffffff !important;
    border: 1.5px solid #e2e8f0 !important;
    overflow: hidden;
    transition: all var(--transition-normal);
    position: relative;
    box-shadow: 0 8px 30px rgba(10, 30, 63, 0.1) !important;
}

.featured-post-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: linear-gradient(90deg, #0066FF, #2563EB);
    z-index: 1;
}

.featured-post-content:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(0, 255, 255, 0.2) !important;
    border-color: #0066FF !important;
    background: #ffffff !important;
}

.featured-post-image {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.featured-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.featured-post-content:hover .featured-post-image img {
    transform: scale(1.05);
}

.featured-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #0066FF;
    color: var(--base-dark);
    padding: 8px 16px;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 0.9rem;
    z-index: 2;
}

.featured-post-text {
    padding: 30px;
    background: transparent !important;
    color: #0A1E3F !important;
}

.post-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    opacity: 0.8;
}

.post-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.category {
    background: #0066FF;
    color: var(--base-dark);
    padding: 4px 12px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.8rem;
}

.featured-post-text h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #0A1E3F !important;
    margin-bottom: 15px;
    line-height: 1.3;
}

.featured-post-text p {
    color: #4a5568 !important;
    opacity: 0.9;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.post-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    font-size: 0.9rem;
    opacity: 0.8;
}

.post-stats span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.post-stats i {
    color: #0066FF;
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

/* Blog Cards */
.blog-card {
    background: #ffffff !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    transition: all var(--transition-normal);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(10, 30, 63, 0.08) !important;
}

.blog-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0066FF, #2563EB);
    z-index: 1;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 255, 255, 0.15) !important;
    border-color: #0066FF !important;
}

.blog-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

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

.category-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, #0066FF, #2563EB);
    color: var(--base-dark);
    padding: 6px 12px;
    border-radius: var(--radius-md);
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.blog-card-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
}

.post-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    opacity: 0.8;
    color: #718096 !important;
}

.post-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.category {
    background: #0066FF;
    color: var(--base-dark);
    padding: 4px 12px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.8rem;
}

.blog-card-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 15px;
    color: #0A1E3F !important;
}

.blog-card-content p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    opacity: 0.9;
    color: #4a5568 !important;
    flex: 1;
}

.post-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    opacity: 0.8;
    color: #718096 !important;
}

.post-stats span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.post-stats i {
    color: #0066FF !important;
    font-size: 1rem;
}

.blog-card-footer {
    margin-top: auto;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #0A1E3F !important;
    color: #0066FF !important;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all var(--transition-normal);
    padding: 10px 20px !important;
    border-radius: 8px !important;
    border: none !important;
}

.read-more:hover {
    color: #0066FF !important;
    background: #0A1E3F !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 255, 255, 0.3) !important;
}

.read-more::after {
    content: '→';
    transition: transform var(--transition-normal);
}

.read-more:hover::after {
    transform: translateX(3px);
}

/* Blog Sidebar */
.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-section {
    background: #f8f9fa !important;
    border-radius: var(--radius-xl);
    padding: 25px;
    border: 1px solid #e2e8f0 !important;
    position: relative;
    overflow: hidden;
}

.sidebar-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0066FF, #2563EB);
    z-index: 1;
}

.sidebar-section:hover {
    border-color: #0066FF !important;
    transform: translateY(-5px);
    transition: all var(--transition-normal);
    box-shadow: 0 8px 25px rgba(0, 102, 255, 0.1);
}

.sidebar-section h4 {
    color: #0A1E3F !important;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

/* Search */
.search-container {
    position: relative;
}

.search-input {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: var(--radius-lg);
    background: #ffffff !important;
    color: #0A1E3F !important;
    font-size: 0.95rem;
    transition: all var(--transition-normal);
}

.search-input:focus {
    outline: none;
    border-color: #0066FF !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(0, 255, 255, 0.1) !important;
}

.search-input::placeholder {
    color: #a0aec0 !important;
}

.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: var(--radius-lg);
    margin-top: 5px;
    z-index: 10;
    max-height: 300px;
    overflow-y: auto;
    box-shadow: 0 8px 25px rgba(10, 30, 63, 0.15);
}

.search-result-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background var(--transition-normal);
}

.search-result-item:hover {
    background: #f8f9fa !important;
}

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

.search-result-image {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    overflow: hidden;
    flex-shrink: 0;
}

.search-result-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.search-result-content h4 {
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.search-result-content h4 a {
    color: #0A1E3F !important;
    text-decoration: none;
}

.search-result-content h4 a:hover {
    color: #0066FF !important;
}

.search-result-content p {
    font-size: 0.8rem;
    opacity: 0.8;
    margin-bottom: 5px;
    color: #4a5568 !important;
}

.search-result-content .date {
    font-size: 0.75rem;
    opacity: 0.6;
    color: #718096 !important;
}

.no-results {
    padding: 20px;
    text-align: center;
    color: #718096 !important;
    font-style: italic;
}

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

.categories-list li {
    margin-bottom: 10px;
}

.category-filter {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #4a5568 !important;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
    font-size: 0.95rem;
}

.category-filter:hover,
.category-filter.active {
    background: #0A1E3F !important;
    color: #0066FF !important;
    transform: translateX(5px);
}

.category-filter .count {
    font-size: 0.8rem;
    opacity: 0.7;
}

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

.recent-posts-list li {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e2e8f0 !important;
}

.recent-posts-list li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.recent-post-image {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-md);
    overflow: hidden;
    flex-shrink: 0;
}

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

.recent-post-content h4 {
    font-size: 0.95rem;
    margin-bottom: 8px;
    line-height: 1.4;
}

.recent-post-content h4 a {
    color: #0A1E3F !important;
    text-decoration: none;
    transition: color var(--transition-normal);
}

.recent-post-content h4 a:hover {
    color: #0066FF !important;
}

.recent-post-content .date {
    font-size: 0.8rem;
    opacity: 0.7;
    color: #718096 !important;
}

/* Newsletter */
.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.newsletter-form input[type="email"] {
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    font-size: 0.95rem;
    transition: all var(--transition-normal);
}

.newsletter-form input[type="email"]:focus {
    outline: none;
    border-color: #0066FF;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}

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

.newsletter-form .btn {
    padding: 12px 20px;
    font-size: 0.95rem;
    font-weight: 600;
    background: #0A1E3F !important;
    color: #0066FF !important;
    border: none !important;
}

.newsletter-form .btn:hover {
    background: #0A1E3F !important;
    color: #0066FF !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 102, 255, 0.3);
}

/* Social Links */
.social-links {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: #0066FF;
    color: var(--base-dark);
    border-radius: var(--radius-lg);
    text-decoration: none;
    font-size: 1.2rem;
    transition: all var(--transition-normal);
}

.social-link:hover {
    background: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 255, 255, 0.3);
}

/* Ad Spots */
.sidebar-ad-spot {
    margin: 20px 0;
}

.ad-label {
    font-size: 0.8rem;
    color: #718096 !important;
    text-align: center;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ad-container {
    background: #ffffff !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: var(--radius-lg);
    padding: 20px;
    text-align: center;
    transition: all var(--transition-normal);
}

.ad-container:hover {
    border-color: #0066FF !important;
    background: #ffffff !important;
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.1);
}

.ad-placeholder {
    color: #718096 !important;
    font-size: 0.9rem;
}

.ad-placeholder i {
    font-size: 2rem;
    margin-bottom: 10px;
    display: block;
    color: #0066FF;
}

.ad-placeholder p {
    margin-bottom: 5px;
    font-weight: 600;
}

.ad-placeholder span {
    font-size: 0.8rem;
    opacity: 0.7;
}

/* Blog CTA */
.blog-cta {
    background: linear-gradient(135deg, #0A1E3F 0%, #162447 100%);
    color: #ffffff;
    position: relative;
    overflow: hidden;
    padding: 80px 0;
}

.blog-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.1) 0%, rgba(64, 224, 208, 0.1) 100%);
    z-index: 1;
}

.blog-cta .cta-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.blog-cta .cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0066FF;
    margin-bottom: 20px;
    line-height: 1.2;
}

.blog-cta .cta-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #0066FF, #2563EB);
    border-radius: 2px;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

.blog-cta .cta-subtitle {
    font-size: 1.2rem;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto 40px;
    opacity: 0.9;
    color: #ffffff;
}

.blog-cta .cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.blog-cta .btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: var(--radius-xl);
    text-decoration: none;
    transition: all var(--transition-normal);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.blog-cta .btn-primary {
    background: #0A1E3F !important;
    color: #0066FF !important;
    border: none !important;
    box-shadow: 0 8px 25px rgba(0, 102, 255, 0.3);
}

.blog-cta .btn-primary:hover {
    background: #0A1E3F !important;
    color: #0066FF !important;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 102, 255, 0.4);
}

.blog-cta .btn-outline {
    background: transparent;
    color: #0066FF;
    border: 2px solid #0066FF;
    backdrop-filter: blur(10px);
}

.blog-cta .btn-outline:hover {
    background: #0A1E3F;
    color: #0066FF;
    border-color: #0A1E3F;
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .blog-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .blog-sidebar {
        order: -1;
    }
    
    .blog-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .blog-hero .hero-title {
        font-size: 2rem;
    }
    
    .blog-hero .hero-subtitle {
        font-size: 1rem;
    }
    
    .blog-layout {
        padding: 40px 0;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .featured-post-text h2 {
        font-size: 1.5rem;
    }
    
    .blog-card-content h3 {
        font-size: 1.2rem;
    }
    
    .sidebar-section {
        padding: 20px;
    }
    
    .blog-cta {
        padding: 60px 0;
    }
    
    .blog-cta .cta-title {
        font-size: 2rem;
    }
    
    .blog-cta .cta-subtitle {
        font-size: 1.1rem;
    }
    
    .blog-cta .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .blog-cta .btn-large {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .blog-hero {
        min-height: 50vh;
    }
    
    .featured-post-text,
    .blog-card-content {
        padding: 20px;
    }
    
    .post-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .blog-cta .cta-title {
        font-size: 1.8rem;
    }
    
    .blog-cta .cta-subtitle {
        font-size: 1rem;
    }
}

/* Fix footer logo size */
.footer-logo a {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.footer-logo span {
    font-size: 1.2rem !important;
    font-weight: 700;
    color: #0066FF;
}

/* Remove white buttons and fix blog card styling */
.blog-card .btn,
.featured-post .btn,
.read-more {
    background: #0A1E3F !important;
    color: #0066FF !important;
    border: none !important;
    padding: 12px 24px;
    border-radius: var(--radius-lg);
    text-decoration: none;
    font-weight: 600;
    transition: all var(--transition-normal);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.blog-card .btn:hover,
.featured-post .btn:hover,
.read-more:hover {
    background: #0A1E3F !important;
    color: #0066FF !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 102, 255, 0.3);
}

/* Ensure proper white theme */
.blog-card,
.featured-post-content {
    background: #ffffff !important;
}

.sidebar-section {
    background: #f8f9fa !important;
}

/* Remove any unwanted margins/padding */
.blog-card-footer {
    margin-top: 20px;
    padding-top: 0;
}

.blog-card-content {
    padding-bottom: 0;
}

/* Fix any white gaps */
.blog-card,
.featured-post-content {
    border: 1.5px solid transparent !important;
}

.blog-card:hover,
.featured-post-content:hover {
    border-color: var(--primary) !important;
}

/* Additional fixes for blog cards */
.blog-card {
    background: #ffffff !important;
    border: 1.5px solid #e2e8f0 !important;
    margin-bottom: 0 !important;
}

.blog-card:hover {
    border-color: #0066FF !important;
    background: #ffffff !important;
}

.blog-card-content {
    background: transparent !important;
}

.blog-card-content h3 {
    color: #0A1E3F !important;
}

.blog-card-content p {
    color: #4a5568 !important;
    opacity: 0.9;
}

.blog-card-footer {
    background: transparent !important;
    border-top: none !important;
    margin-top: 15px;
    padding-top: 15px;
}

.read-more {
    background: #0A1E3F !important;
    color: #0066FF !important;
    padding: 8px 16px !important;
    border-radius: var(--radius-md) !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: all var(--transition-normal) !important;
    border: none !important;
}

.read-more:hover {
    background: #0A1E3F !important;
    color: #0066FF !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 15px rgba(0, 255, 255, 0.3) !important;
}

/* Featured post fixes */
.featured-post-content {
    background: #ffffff !important;
    border: 1.5px solid #e2e8f0 !important;
}

.featured-post-content:hover {
    border-color: #0066FF !important;
    background: #ffffff !important;
}

.featured-post-text {
    background: transparent !important;
}

.featured-post-text h2 {
    color: #0A1E3F !important;
}

.featured-post-text p {
    color: #4a5568 !important;
    opacity: 0.9;
}

/* Remove any white backgrounds from buttons */
.btn-primary {
    background: var(--gradient-primary) !important;
    color: var(--base-dark) !important;
    border: none !important;
}

.btn-primary:hover {
    background: var(--gradient-primary) !important;
    color: var(--base-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 102, 255, 0.3);
}

/* Blog Post Page Styles */
.blog-post-hero {
    background: var(--base-dark);
    color: var(--white);
    position: relative;
    overflow: hidden;
    min-height: 50vh;
    display: flex;
    align-items: center;
    padding-top: 70px;
}

.blog-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="blog-post-pattern" width="40" height="40" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1.5" fill="%2300FFFF" opacity="0.1"/><circle cx="5" cy="5" r="0.8" fill="%2340E0D0" opacity="0.1"/><circle cx="35" cy="35" r="0.8" fill="%2300FFFF" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23blog-post-pattern)"/></svg>');
    opacity: 0.3;
}

.blog-post-header {
    text-align: center;
    color: var(--white);
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    opacity: 0.8;
}

.breadcrumb a {
    color: #00FFFF;
    text-decoration: none;
    transition: color var(--transition-normal);
}

.breadcrumb a:hover {
    color: #40E0D0;
}

.breadcrumb .separator {
    color: rgba(255, 255, 255, 0.5);
}

.breadcrumb .current {
    color: var(--white);
    opacity: 0.7;
}

.post-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.post-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9rem;
    opacity: 0.8;
}

.category {
    background: #00FFFF;
    color: var(--base-dark);
    padding: 4px 12px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.8rem;
}

.funnel-badge {
    background: linear-gradient(135deg, #00FFFF, #40E0D0);
    color: var(--base-dark);
    padding: 4px 12px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.8rem;
}

.funnel-badge.tofu {
    background: linear-gradient(135deg, #00FFFF, #40E0D0);
}

.funnel-badge.mofu {
    background: linear-gradient(135deg, #FFD700, #FFA500);
}

.funnel-badge.bofu {
    background: linear-gradient(135deg, #FF6B6B, #FF8E8E);
}

.post-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #00FFFF;
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
}

.post-excerpt {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: 0.9;
    color: var(--white);
}

.post-author {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.author-info {
    text-align: left;
}

.author-name {
    display: block;
    font-weight: 600;
    color: #00FFFF;
    font-size: 1.1rem;
}

.author-title {
    display: block;
    font-size: 0.9rem;
    opacity: 0.8;
    color: var(--white);
}

/* Blog Post Main Layout */
.blog-post-main {
    background: var(--base-dark);
    color: var(--white);
    padding: 60px 0;
}

.blog-post-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
}

/* Post Content */
.post-content {
    background: var(--base-dark);
    border-radius: var(--radius-2xl);
    overflow: hidden;
}

.post-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: var(--radius-xl);
    margin-bottom: 30px;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

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

.post-body {
    line-height: 1.8;
    font-size: 1.1rem;
    color: var(--white);
}

.post-body h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #00FFFF;
    margin: 40px 0 20px;
    line-height: 1.3;
}

.post-body h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #00FFFF;
    margin: 30px 0 15px;
    line-height: 1.4;
}

.post-body p {
    margin-bottom: 20px;
    opacity: 0.9;
}

.post-body ul, .post-body ol {
    margin: 20px 0;
    padding-left: 30px;
}

.post-body li {
    margin-bottom: 10px;
    opacity: 0.9;
}

.post-body strong {
    color: #00FFFF;
    font-weight: 600;
}

/* Post Tags */
.post-tags {
    display: flex;
    gap: 10px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.tag {
    background: rgba(0, 255, 255, 0.1);
    color: #00FFFF;
    padding: 8px 16px;
    border-radius: var(--radius-lg);
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(0, 255, 255, 0.2);
    transition: all var(--transition-normal);
}

.tag:hover {
    background: #00FFFF;
    color: var(--base-dark);
    transform: translateY(-2px);
}

/* Social Sharing */
.social-sharing {
    margin: 40px 0;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-sharing h4 {
    color: #00FFFF;
    font-size: 1.2rem;
    margin-bottom: 20px;
    text-align: center;
}

.social-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: var(--radius-lg);
    text-decoration: none;
    font-weight: 600;
    transition: all var(--transition-normal);
    color: var(--white);
}

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

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

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

.social-btn.email {
    background: #00FFFF;
    color: var(--base-dark);
}

.social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Post Stats */
.post-stats {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin: 40px 0;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    opacity: 0.8;
}

.stat i {
    color: #00FFFF;
    font-size: 1.2rem;
}

/* Post CTA */
.post-cta {
    margin: 40px 0;
    padding: 30px;
    background: linear-gradient(135deg, #00FFFF, #40E0D0);
    border-radius: var(--radius-2xl);
    text-align: center;
    color: var(--base-dark);
}

.cta-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--base-dark);
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    opacity: 0.9;
    color: var(--base-dark);
}

.cta-content .btn {
    background: var(--base-dark);
    color: #00FFFF;
    border: none;
    padding: 15px 30px;
    border-radius: var(--radius-lg);
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-normal);
    display: inline-block;
}

.cta-content .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Post Sidebar */
.post-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.author-bio {
    background: var(--base-dark);
    border-radius: var(--radius-xl);
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.author-bio::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #00FFFF, #40E0D0);
    z-index: 1;
}

.author-bio-content {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.author-bio-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00FFFF, #40E0D0);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.author-bio-avatar i {
    font-size: 2rem;
    color: var(--base-dark);
}

.author-bio-text h4 {
    color: #00FFFF;
    font-size: 1.2rem;
    margin-bottom: 5px;
    font-weight: 600;
}

.author-title {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 10px;
    color: var(--white);
}

.author-bio-text p {
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.9;
    color: var(--white);
}

/* Related Posts */
.related-posts {
    background: var(--base-dark);
    border-radius: var(--radius-xl);
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.related-posts::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #00FFFF, #40E0D0);
    z-index: 1;
}

.related-posts h3 {
    color: #00FFFF;
    font-size: 1.3rem;
    margin-bottom: 20px;
    font-weight: 700;
    position: relative;
    z-index: 2;
}

.related-posts-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.related-post {
    display: flex;
    gap: 15px;
    padding: 15px;
    border-radius: var(--radius-lg);
    transition: all var(--transition-normal);
    border: 1px solid transparent;
}

.related-post:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: #00FFFF;
    transform: translateX(5px);
}

.related-post-image {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-md);
    overflow: hidden;
    flex-shrink: 0;
}

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

.related-post-content h4 {
    font-size: 1rem;
    margin-bottom: 8px;
    line-height: 1.4;
}

.related-post-content h4 a {
    color: #00FFFF;
    text-decoration: none;
    transition: color var(--transition-normal);
}

.related-post-content h4 a:hover {
    color: #40E0D0;
}

.related-post-content .date {
    font-size: 0.8rem;
    opacity: 0.7;
    color: var(--white);
    display: block;
    margin-bottom: 5px;
}

.related-post-content .funnel-badge {
    font-size: 0.7rem;
    padding: 3px 8px;
}

/* Newsletter Signup */
.newsletter-signup {
    background: var(--base-dark);
    border-radius: var(--radius-xl);
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.newsletter-signup::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #00FFFF, #40E0D0);
    z-index: 1;
}

.newsletter-signup h3 {
    color: #00FFFF;
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 700;
    position: relative;
    z-index: 2;
}

.newsletter-signup p {
    font-size: 0.95rem;
    margin-bottom: 20px;
    opacity: 0.9;
    color: var(--white);
    position: relative;
    z-index: 2;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    position: relative;
    z-index: 2;
}

.newsletter-form input[type="email"] {
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    font-size: 0.95rem;
    transition: all var(--transition-normal);
}

.newsletter-form input[type="email"]:focus {
    outline: none;
    border-color: #0066FF;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}

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

.newsletter-form .btn {
    padding: 12px 20px;
    font-size: 0.95rem;
    font-weight: 600;
    background: linear-gradient(135deg, #0066FF, #2563EB);
    color: var(--base-dark);
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-normal);
}

.newsletter-form .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 102, 255, 0.3);
}

/* Ad Spot */
.ad-spot {
    background: var(--base-dark);
    border-radius: var(--radius-xl);
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.ad-spot::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #0066FF, #2563EB);
    z-index: 1;
}

.ad-placeholder {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
    position: relative;
    z-index: 2;
}

.ad-placeholder i {
    font-size: 2rem;
    margin-bottom: 10px;
    display: block;
    color: #0066FF;
}

.ad-placeholder p {
    margin-bottom: 5px;
    font-weight: 600;
}

.ad-placeholder small {
    font-size: 0.8rem;
    opacity: 0.7;
}

/* Blog Post CTA */
.blog-post-cta {
    background: var(--base-dark);
    color: var(--white);
    position: relative;
    overflow: hidden;
    padding: 80px 0;
}

.blog-post-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.1) 0%, rgba(64, 224, 208, 0.1) 100%);
    z-index: 1;
}

.blog-post-cta .cta-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.blog-post-cta .cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0066FF;
    margin-bottom: 20px;
    line-height: 1.2;
}

.blog-post-cta .cta-subtitle {
    font-size: 1.2rem;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto 40px;
    opacity: 0.9;
    color: var(--white);
}

.blog-post-cta .cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Error Message */
.error-message {
    text-align: center;
    padding: 60px 20px;
    color: var(--white);
}

.error-message i {
    font-size: 4rem;
    color: #0066FF;
    margin-bottom: 20px;
    display: block;
}

.error-message h2 {
    font-size: 2rem;
    color: #0066FF;
    margin-bottom: 15px;
}

.error-message p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.8;
}

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

@media (max-width: 768px) {
    .blog-post-hero {
        min-height: 40vh;
    }
    
    .post-title {
        font-size: 1.8rem;
    }
    
    .post-excerpt {
        font-size: 1.1rem;
    }
    
    .post-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .post-image {
        height: 300px;
    }
    
    .post-body {
        font-size: 1rem;
    }
    
    .post-body h2 {
        font-size: 1.6rem;
    }
    
    .post-body h3 {
        font-size: 1.3rem;
    }
    
    .social-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .post-stats {
        flex-direction: column;
        gap: 15px;
    }
    
    .blog-post-cta {
        padding: 60px 0;
    }
    
    .blog-post-cta .cta-title {
        font-size: 2rem;
    }
    
    .blog-post-cta .cta-subtitle {
        font-size: 1.1rem;
    }
    
    .blog-post-cta .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .blog-post-hero {
        min-height: 35vh;
    }
    
    .post-title {
        font-size: 1.5rem;
    }
    
    .post-body {
        font-size: 0.95rem;
    }
    
    .post-body h2 {
        font-size: 1.4rem;
    }
    
    .post-body h3 {
        font-size: 1.2rem;
    }
    
    .cta-content h3 {
        font-size: 1.3rem;
    }
    
    .cta-content p {
        font-size: 1rem;
    }
}

/* Freelancing Banner */
.freelance-banner {
    background: var(--soft-gray);
    overflow: hidden;
    padding: 0;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

.banner-track {
    display: flex;
    white-space: nowrap;
    animation: scroll-banner 18s linear infinite;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--base-dark);
    letter-spacing: 2px;
    padding: 0.75rem 0;
    gap: 3rem;
}

.banner-track span {
    display: inline-block;
}

@keyframes scroll-banner {
    0% { transform: translateX(0); }
    100% { transform: translateX(-33.33%); }
}

@media (max-width: 600px) {
    .banner-track {
        font-size: 1rem;
        gap: 1.5rem;
        padding: 0.5rem 0;
    }
} 