/* ===== BLOG DESIGN SYSTEM - MATCHING SERVICES PAGE ===== */

/* Blog Header Styles - Matching Services Theme */
.modern-blog-header {
    position: relative;
    padding: 140px 0 80px 0;
    overflow: hidden;
    background: transparent;
}

/* Background Effects - Simplified to match services page */
.hero-background-effects {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

@keyframes float-orb {
    0%, 100% { 
        transform: translateY(0px) translateX(0px) scale(1); 
    }
    25% { 
        transform: translateY(-30px) translateX(20px) scale(1.1); 
    }
    50% { 
        transform: translateY(-10px) translateX(-20px) scale(0.9); 
    }
    75% { 
        transform: translateY(-40px) translateX(10px) scale(1.05); 
    }
}

/* Header Content - Matching Services Page Style */
.header-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 7xl;
    margin: 0 auto;
    padding: 0 1rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(79, 209, 197, 0.2);
    color: rgb(79, 209, 197);
    padding: 8px 16px;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(79, 209, 197, 0.3);
}

.modern-blog-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 600;
    color: white;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.title-main {
    color: white;
}

.title-accent {
    color: rgb(79, 209, 197);
}

.modern-blog-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Header Stats - Services Page Style */
.header-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: rgb(79, 209, 197);
}

.stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(79, 209, 197, 0.3);
}

/* Scroll Indicator - Removed to match services page */
.scroll-indicator {
    display: none;
}

/* Main Container - Services Page Style */
.modern-main-container {
    position: relative;
    overflow: hidden;
}

.content-wrapper {
    max-width: 1280px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* Navigation Section - Services Style */
.modern-navigation-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    padding: 1rem;
}

.nav-breadcrumb {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item:hover {
    color: #18abac;
}

.breadcrumb-separator {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.8rem;
}

.breadcrumb-current {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #18abac;
    font-weight: 600;
}

/* Modern Back Button - Services Style */
.modern-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    color: white;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.75rem;
    text-decoration: none;
    transition: all 0.3s duration-300;
    backdrop-filter: blur(4px);
}

.modern-back-btn:hover {
    background: rgb(1, 201, 161);
    color: rgb(1, 5, 4);
    box-shadow: 0 0 12px rgba(1, 201, 161, 0.6);
}

.btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-glow-effect {
    /* Not needed for services style */
}

/* Tools Section */
.modern-tools-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 4rem;
}

/* Search Container */
.search-container {
    position: relative;
}

.search-wrapper {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.search-icon-container {
    position: absolute;
    left: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: #18abac;
    font-size: 1.1rem;
    z-index: 5;
}

.modern-search-input {
    width: 100%;
    padding: 0.75rem 3rem 0.75rem 3rem;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.75rem;
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.modern-search-input:focus {
    outline: none;
    border-color: rgba(79, 209, 197, 0.5);
    box-shadow: 0 0 0 3px rgba(79, 209, 197, 0.2);
    background: rgba(79, 209, 197, 0.1);
}

.modern-search-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.search-clear-btn {
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-clear-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

/* Filter Chips - Services Style */
.filter-chips-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.section-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    font-weight: 600;
    font-size: 1rem;
}

.filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.filter-chip {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(79, 209, 197, 0.2);
    color: rgb(79, 209, 197);
    border: 1px solid rgba(79, 209, 197, 0.3);
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-chip:hover {
    background: rgba(79, 209, 197, 0.3);
    color: white;
}

.filter-chip.active {
    background: rgb(21, 75, 63);
    color: white;
    border-color: rgb(21, 75, 63);
}

.chip-count {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.125rem 0.5rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
}

.filter-chip.active .chip-count {
    background: rgba(255, 255, 255, 0.3);
}

/* Posts Section */
.posts-section {
    margin-bottom: 4rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #ffffff;
    background: linear-gradient(135deg, #ffffff 0%, #18abac 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.results-info {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
}

/* Blog Grid - Services Style */
.modern-blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    justify-items: center;
}

/* Blog Cards - Matching Services Cards */
.blog-card {
    position: relative;
    width: 100%;
    max-width: 400px;
    background: linear-gradient(to bottom right, rgba(79, 209, 197, 0.1), rgba(79, 209, 197, 0.06), rgba(79, 209, 197, 0.02));
    border: 2px solid rgba(79, 209, 197, 0.3);
    border-radius: 0.75rem;
    padding: 1.5rem;
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
    cursor: pointer;
}

.blog-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(79, 209, 197, 0.2);
    border-color: rgba(79, 209, 197, 0.4);
}

.blog-card::before {
    display: none;
}

/* Pagination - Services Style */
.modern-pagination-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    margin-top: 3rem;
}

.modern-pagination {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.pagination-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    color: white;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.75rem;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.pagination-btn:hover:not(.disabled) {
    background: rgb(1, 201, 161);
    color: rgb(1, 5, 4);
    box-shadow: 0 0 12px rgba(1, 201, 161, 0.6);
}

.pagination-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-numbers {
    display: flex;
    gap: 0.5rem;
}

.pagination-number {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    color: white;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.75rem;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.pagination-number:hover {
    background: rgb(1, 201, 161);
    color: rgb(1, 5, 4);
    box-shadow: 0 0 12px rgba(1, 201, 161, 0.6);
}

.pagination-number.active {
    background: rgb(21, 75, 63);
    color: white;
    border-color: rgb(21, 75, 63);
}

.pagination-info {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
}

/* CTA Section - Services Style */
.modern-cta-section {
    background: linear-gradient(to bottom right, rgba(79, 209, 197, 0.15), rgba(79, 209, 197, 0.08), rgba(79, 209, 197, 0.03));
    border: 2px solid rgba(79, 209, 197, 0.5);
    border-radius: 0.75rem;
    padding: 3rem 2rem;
    text-align: center;
    margin-top: 3rem;
    backdrop-filter: blur(4px);
}

.cta-background {
    display: none;
}

.cta-content {
    position: relative;
}

.cta-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
    background: linear-gradient(to bottom right, rgb(79, 209, 197), rgb(79, 209, 197));
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: rgb(1, 5, 4);
}

.cta-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    color: white;
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.primary-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(to right, rgb(1, 201, 161), rgb(0, 212, 170));
    color: rgb(1, 5, 4);
    font-weight: 600;
    border: 1px solid rgb(0, 212, 170);
    border-radius: 0.75rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.primary-cta-btn:hover {
    box-shadow: 0 0 16px rgba(0, 212, 170, 0.5);
    transform: scale(1.05);
}

.primary-cta-btn:active {
    transform: scale(0.95);
}

.btn-content {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-shine {
    display: none;
}

.secondary-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    color: white;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.75rem;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.secondary-cta-btn:hover {
    background: rgb(1, 201, 161);
    color: rgb(1, 5, 4);
    box-shadow: 0 0 12px rgba(1, 201, 161, 0.6);
}

/* Enhanced Loading States */
.loading-spinner {
    text-align: center;
    padding: 4rem 2rem;
    color: #18abac;
    font-size: 3rem;
    grid-column: 1 / -1;
}

.loading-spinner i {
    animation: spin 1s linear infinite;
    filter: drop-shadow(0 0 20px rgba(24, 171, 172, 0.5));
}

.no-posts-message {
    text-align: center;
    padding: 4rem 2rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.2rem;
    grid-column: 1 / -1;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    backdrop-filter: blur(20px);
}

.no-posts-message i {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: #18abac;
    filter: drop-shadow(0 0 20px rgba(24, 171, 172, 0.3));
}

/* ===== RESPONSIVE DESIGN ===== */

@media (max-width: 1200px) {
    .modern-blog-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 1.5rem;
    }
    
    .cta-buttons {
        gap: 1.5rem;
    }
}

@media (max-width: 992px) {
    .modern-blog-header {
        min-height: 80vh;
        padding: 2rem 1rem;
    }
    
    .content-wrapper {
        padding: 3rem 1rem;
    }
    
    .modern-navigation-section {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .header-stats {
        gap: 1.5rem;
    }
    
    .modern-blog-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .modern-blog-title {
        font-size: clamp(2.5rem, 10vw, 4rem);
    }
    
    .filter-chips {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 0.5rem;
    }
    
    .filter-chip {
        flex-shrink: 0;
    }
    
    .header-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .stat-divider {
        width: 40px;
        height: 1px;
        background: linear-gradient(to right, transparent, rgba(24, 171, 172, 0.5), transparent);
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .primary-cta-btn,
    .secondary-cta-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .orb-1 {
        width: 200px;
        height: 200px;
    }
    
    .orb-2, .orb-3 {
        width: 150px;
        height: 150px;
    }
    
    .modern-search-input {
        padding: 1.25rem 3.5rem 1.25rem 3.5rem;
        font-size: 1rem;
    }
    
    .filter-chip {
        padding: 0.75rem 1.25rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
}

/* ===== BLOG SHOW PAGE STYLES ===== */

/* Modern Post Header */
.modern-post-header {
    position: relative;
    min-height: 70vh;
    background: linear-gradient(135deg, 
        #0a0a0a 0%, 
        #0f1419 25%, 
        #1a2332 50%, 
        #0f1419 75%, 
        #0a0a0a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 2rem 0;
}

.modern-header-back {
    position: absolute;
    top: 2rem;
    left: 2rem;
    z-index: 20;
}

.modern-post-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
    padding: 2rem;
}

/* Category Badge */
.modern-category-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, rgba(24, 171, 172, 0.2), rgba(210, 134, 96, 0.1));
    border: 1px solid rgba(24, 171, 172, 0.3);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    color: #18abac;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(24, 171, 172, 0.1);
}

/* Modern Post Title */
.modern-post-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    margin-bottom: 2rem;
    line-height: 1.2;
    background: linear-gradient(135deg, #ffffff 0%, #18abac 50%, #d28660 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 4px 8px rgba(24, 171, 172, 0.2));
    text-align: center;
    max-width: 100%;
}

/* Enhanced Meta Information */
.modern-post-meta {
    margin-bottom: 3rem;
}

.meta-group {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.meta-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(24, 171, 172, 0.2), rgba(210, 134, 96, 0.1));
    border: 1px solid rgba(24, 171, 172, 0.3);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #18abac;
    font-size: 1.1rem;
    backdrop-filter: blur(10px);
}

.meta-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.meta-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.meta-value {
    font-size: 1rem;
    color: #ffffff;
    font-weight: 600;
}

.meta-divider {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, transparent, rgba(24, 171, 172, 0.5), transparent);
}

/* Modern Featured Image - Fixed Responsive Layout */
.modern-featured-image {
    margin-top: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.image-wrapper {
    position: relative;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    transition: all 0.5s ease;
    aspect-ratio: 16/9;
}

.image-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 35px 70px rgba(24, 171, 172, 0.2);
}

.featured-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.image-wrapper:hover .featured-img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(24, 171, 172, 0.1) 0%,
        transparent 50%,
        rgba(210, 134, 96, 0.1) 100%
    );
    opacity: 0;
    transition: opacity 0.5s ease;
}

.image-wrapper:hover .image-overlay {
    opacity: 1;
}

/* Modern Post Main */
.modern-post-main {
    background: linear-gradient(180deg, #0a0a0a 0%, #0f1419 100%);
    position: relative;
}

/* Modern Article Section */
.modern-article-section {
    padding: 4rem 2rem;
    position: relative;
}

.article-wrapper {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

/* Reading Progress Bar */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 1000;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #18abac, #d28660, #e97c51);
    width: 0%;
    transition: width 0.3s ease;
    box-shadow: 0 0 10px rgba(24, 171, 172, 0.5);
}

/* Modern Article Content */
.modern-article-content {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 3rem;
    backdrop-filter: blur(20px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.modern-article-content::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #18abac, #d28660, #e97c51);
}

.content-body {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Enhanced Typography for Article Content */
.content-body h1,
.content-body h2,
.content-body h3,
.content-body h4,
.content-body h5,
.content-body h6 {
    color: #ffffff;
    font-weight: 700;
    margin: 2rem 0 1rem 0;
    background: linear-gradient(135deg, #ffffff 0%, #18abac 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.content-body h2 {
    font-size: 2rem;
    border-left: 4px solid #18abac;
    padding-left: 1.5rem;
    margin-left: -1.5rem;
}

.content-body h3 {
    font-size: 1.5rem;
}

.content-body p {
    margin-bottom: 1.5rem;
}

.content-body a {
    color: #18abac;
    text-decoration: none;
    border-bottom: 1px solid rgba(24, 171, 172, 0.3);
    transition: all 0.3s ease;
}

.content-body a:hover {
    border-bottom-color: #18abac;
    color: #d28660;
}

.content-body blockquote {
    background: rgba(24, 171, 172, 0.1);
    border-left: 4px solid #18abac;
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    border-radius: 0 15px 15px 0;
    font-style: italic;
    position: relative;
}

.content-body blockquote::before {
    content: '"';
    font-size: 4rem;
    color: rgba(24, 171, 172, 0.3);
    position: absolute;
    top: -10px;
    left: 15px;
    font-family: serif;
}

.content-body pre {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 15px;
    overflow-x: auto;
    margin: 2rem 0;
    font-family: 'Consolas', 'Monaco', monospace;
}

.content-body code {
    background: rgba(24, 171, 172, 0.1);
    color: #18abac;
    padding: 0.25rem 0.5rem;
    border-radius: 5px;
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 0.9rem;
}

.content-body ul,
.content-body ol {
    padding-left: 2rem;
    margin-bottom: 1.5rem;
}

.content-body li {
    margin-bottom: 0.5rem;
    position: relative;
}

.content-body ul li::marker {
    color: #18abac;
}

.content-body ol li::marker {
    color: #18abac;
    font-weight: 600;
}

.content-body img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    margin: 2rem 0;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.content-body img:hover {
    transform: scale(1.02);
}

.content-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    overflow: hidden;
}

.content-body th,
.content-body td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.content-body th {
    background: rgba(24, 171, 172, 0.1);
    color: #18abac;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== COMMENT SECTION STYLING ===== */

/* Comment Section - Services Page Design System */
.comment-section {
    background: transparent;
}

.comment-section > div {
    max-width: 1200px;
    margin: 0 auto;
}

.comment-section-title {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 3rem;
    text-align: center;
    justify-content: center;
}

.comment-section-title i {
    color: rgb(79, 209, 197);
}

/* Comment Form - Services Style */
.comment-form-container {
    background: linear-gradient(to bottom right, rgba(79, 209, 197, 0.15), rgba(79, 209, 197, 0.08), rgba(79, 209, 197, 0.03));
    border: 2px solid rgba(79, 209, 197, 0.3);
    border-radius: 1rem;
    padding: 2.5rem;
    margin-bottom: 4rem;
    backdrop-filter: blur(8px);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.comment-form-container h3 {
    color: white;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
    background: linear-gradient(135deg, #ffffff 0%, rgb(79, 209, 197) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.comment-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.comment-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.comment-form .form-group label {
    color: white;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.5px;
}

.comment-form .form-control {
    padding: 1rem 1.25rem;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 2px solid rgba(79, 209, 197, 0.3);
    border-radius: 0.75rem;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
}

.comment-form .form-control:focus {
    outline: none;
    border-color: rgba(79, 209, 197, 0.5);
    box-shadow: 0 0 0 3px rgba(79, 209, 197, 0.2);
    background: rgba(79, 209, 197, 0.1);
}

.comment-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.comment-form textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.submit-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 2rem;
    background: linear-gradient(to right, rgb(1, 201, 161), rgb(0, 212, 170));
    color: rgb(1, 5, 4);
    font-weight: 600;
    border: 1px solid rgb(0, 212, 170);
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 1.5rem auto 0;
    font-size: 1rem;
}

.submit-button:hover {
    box-shadow: 0 0 16px rgba(0, 212, 170, 0.5);
    transform: scale(1.05);
}

.submit-button:active {
    transform: scale(0.95);
}

/* Comments List */
.comments-list {
    max-width: 800px;
    margin: 0 auto;
}

.comment-item {
    display: flex;
    gap: 1.25rem;
    padding: 2rem;
    background: linear-gradient(to bottom right, rgba(79, 209, 197, 0.1), rgba(79, 209, 197, 0.06), rgba(79, 209, 197, 0.02));
    border: 2px solid rgba(79, 209, 197, 0.3);
    border-radius: 1rem;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.comment-item:hover {
    border-color: rgba(79, 209, 197, 0.4);
    background: linear-gradient(to bottom right, rgba(79, 209, 197, 0.15), rgba(79, 209, 197, 0.08), rgba(79, 209, 197, 0.03));
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(79, 209, 197, 0.1);
}

.comment-avatar {
    flex-shrink: 0;
}

.avatar-placeholder {
    width: 48px;
    height: 48px;
    background: linear-gradient(to bottom right, rgb(79, 209, 197), rgb(79, 209, 197));
    color: rgb(1, 5, 4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    text-transform: uppercase;
}

.comment-content {
    flex: 1;
    min-width: 0;
}

.comment-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}

.comment-author {
    color: white;
    font-weight: 600;
    font-size: 1rem;
    margin: 0;
}

.comment-date {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

.comment-body {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.comment-body p {
    margin: 0;
}

/* No Comments State */
.no-comments {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(to bottom right, rgba(79, 209, 197, 0.05), rgba(79, 209, 197, 0.02));
    border: 1px solid rgba(79, 209, 197, 0.2);
    border-radius: 0.75rem;
    backdrop-filter: blur(4px);
}

.no-comments i {
    font-size: 3rem;
    color: rgb(79, 209, 197);
    margin-bottom: 1rem;
}

.no-comments p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    margin: 0;
}

/* Back Button Above Comments */
.back-button-section {
    text-align: center;
    background: transparent;
}

.back-to-blog-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    color: white;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.75rem;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.back-to-blog-btn:hover {
    background: rgb(1, 201, 161);
    color: rgb(1, 5, 4);
    box-shadow: 0 0 12px rgba(1, 201, 161, 0.6);
}

/* Related Posts Section */
.related-posts-section {
    background: transparent;
}

.related-posts-title {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 2rem;
    font-weight: 600;
    color: white;
    margin-bottom: 2rem;
    text-align: center;
    justify-content: center;
}

.related-posts-title i {
    color: rgb(79, 209, 197);
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.related-post-card {
    background: linear-gradient(to bottom right, rgba(79, 209, 197, 0.1), rgba(79, 209, 197, 0.06), rgba(79, 209, 197, 0.02));
    border: 2px solid rgba(79, 209, 197, 0.3);
    border-radius: 0.75rem;
    overflow: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.related-post-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(79, 209, 197, 0.2);
    border-color: rgba(79, 209, 197, 0.4);
}

.related-post-image {
    position: relative;
    height: 200px;
    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-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(79, 209, 197, 0.2);
    color: rgb(79, 209, 197);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid rgba(79, 209, 197, 0.3);
}

.related-post-content {
    padding: 1.5rem;
}

.related-post-title {
    margin-bottom: 1rem;
}

.related-post-title a {
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-post-title a:hover {
    color: rgb(79, 209, 197);
}

.related-post-meta {
    margin-bottom: 1rem;
}

.related-post-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

.related-post-meta-item i {
    color: rgb(79, 209, 197);
}

.related-post-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgb(79, 209, 197);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.related-post-link:hover {
    color: white;
    transform: translateX(4px);
}

/* ===== RESPONSIVE DESIGN FOR SHOW PAGE ===== */

@media (max-width: 992px) {
    .modern-post-header {
        min-height: 100vh;
        padding: 2rem 1rem;
    }
    
    .modern-header-back {
        top: 1rem;
        left: 1rem;
    }
    
    .modern-post-content {
        padding: 1.5rem;
        max-width: 100%;
    }
    
    .modern-post-title {
        font-size: clamp(2rem, 8vw, 3rem);
        margin-bottom: 1.5rem;
    }
    
    .meta-group {
        gap: 1rem;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .meta-item {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
        min-width: 80px;
    }
    
    .meta-divider {
        width: 2px;
        height: 30px;
        background: linear-gradient(to bottom, transparent, rgba(79, 209, 197, 0.5), transparent);
    }
    
    .modern-featured-image {
        margin-top: 2rem;
    }
    
    .comment-form .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .comment-form-container,
    .comment-item {
        margin: 0 1rem 2rem;
        padding: 1.5rem;
    }
    
    .modern-article-content {
        padding: 2rem;
        border-radius: 20px;
    }
}

@media (max-width: 768px) {
    .modern-post-title {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
        line-height: 1.3;
        margin-bottom: 1.5rem;
        text-align: center;
        padding: 0 1rem;
    }
    
    .meta-group {
        flex-direction: row;
        gap: 1rem;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
    }
    
    .meta-item {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
        min-width: 80px;
    }
    
    .meta-divider {
        width: 2px;
        height: 30px;
        background: linear-gradient(to bottom, transparent, rgba(79, 209, 197, 0.5), transparent);
    }
    
    .featured-img {
        height: 250px;
    }
    
    .modern-article-content {
        padding: 1.5rem;
        border-radius: 15px;
    }
    
    .content-body {
        font-size: 1rem;
    }
    
    .content-body h2 {
        font-size: 1.5rem;
    }
    
    .content-body blockquote {
        padding: 1rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .modern-post-header {
        min-height: 50vh;
    }
    
    .modern-post-content {
        padding: 1rem;
    }
    
    .featured-img {
        height: 200px;
    }
}

/* ===== ANIMATIONS AND UTILITIES ===== */

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus styles for accessibility */
.modern-search-input:focus,
.filter-chip:focus,
.pagination-btn:focus,
.pagination-number:focus {
    outline: 2px solid rgba(79, 209, 197, 0.5);
    outline-offset: 2px;
}\n\n/* ===== DESKTOP CENTERING IMPROVEMENTS ===== */\n\n@media (min-width: 1025px) {\n    .modern-post-content {\n        max-width: 900px;\n        margin: 0 auto;\n        padding: 2.5rem;\n        display: flex;\n        flex-direction: column;\n        align-items: center;\n        justify-content: center;\n    }\n    \n    .modern-post-title {\n        text-align: center;\n        max-width: 800px;\n    }\n    \n    .modern-post-meta {\n        width: 100%;\n        display: flex;\n        justify-content: center;\n    }\n    \n    .meta-group {\n        justify-content: center;\n        align-items: center;\n        max-width: 700px;\n    }\n    \n    .modern-featured-image {\n        width: 100%;\n        max-width: 800px;\n        margin: 3rem auto 0;\n    }\n}\n\n/* ===== MOBILE FIXES FOR BLOG DETAIL PAGE ===== */

@media (max-width: 480px) {
    .modern-post-header {
        min-height: 100vh;
        padding: 0.75rem;
    }
    
    .modern-header-back {
        top: 0.5rem;
        left: 0.5rem;
    }
    
    .modern-post-content {
        padding: 1rem;
        max-width: 100%;
        margin: 0 auto;
    }
    
    .modern-post-title {
        font-size: clamp(1.5rem, 7vw, 2rem);
        line-height: 1.4;
        margin-bottom: 1rem;
    }
    
    .modern-category-badge {
        font-size: 0.7rem;
        padding: 0.4rem 0.8rem;
        margin-bottom: 1rem;
    }
    
    .meta-group {
        gap: 0.5rem;
        flex-direction: row;
        justify-content: center;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding: 0 1rem;
    }
    
    .meta-item {
        gap: 0.25rem;
        flex-shrink: 0;
        min-width: 70px;
        font-size: 0.8rem;
    }
    
    .meta-icon {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .modern-featured-image {
        margin-top: 1rem;
    }
    
    .image-wrapper {
        border-radius: 12px;
        aspect-ratio: 16/9;
    }
    
    .modern-article-content {
        padding: 1rem;
        border-radius: 12px;
        margin: 1.5rem 0.5rem;
    }
    
    .content-body {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    .content-body h2 {
        font-size: 1.3rem;
        margin: 1.25rem 0 0.75rem 0;
        padding-left: 1rem;
    }
    
    .comment-section {
        padding: 1.5rem 0;
    }
    
    .comment-section-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .comment-form-container {
        margin: 0 0.5rem 1.5rem;
        padding: 1.25rem;
    }
    
    .comment-item {
        margin: 0 0.5rem 1.25rem;
        padding: 1rem;
    }
    
    .related-posts-grid {
        padding: 0 0.5rem;
        gap: 1.25rem;
    }
}