/* Blog Page Specific Styles */

/* Active navigation state */
nav ul li a.active {
    color: #4ade80;
    font-weight: 600;
}

/* Blog Page Layout */
.blog-page {
    padding: 2rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
}

.blog-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Side-by-side layout wrapper */
.blog-content-wrapper {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 3rem;
    align-items: start;
}

/* Blog Info Sidebar */
.blog-info-sidebar {
    position: sticky;
    top: 2rem;
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #f1f5f9;
}

/* Blog Header Section */
.blog-header {
    text-align: left;
}

.blog-page-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #4ade80, #22c55e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.blog-page-subtitle {
    font-size: 1rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Search Section */
.blog-search-section {
    margin-bottom: 2rem;
}

.search-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.search-input {
    padding: 0.875rem 1.25rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 0.95rem;
    outline: none;
    background: #f9fafb;
    transition: all 0.3s ease;
}

.search-input:focus {
    border-color: #4ade80;
    background: white;
    box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.1);
}

.search-input::placeholder {
    color: #9ca3af;
}

.search-btn {
    padding: 0.875rem 1.25rem;
    background: linear-gradient(135deg, #4ade80, #22c55e);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.search-btn:hover {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(74, 222, 128, 0.3);
}

/* Categories Filter in Sidebar */
.categories-filter {
    margin-top: 2rem;
}

.filter-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.categories {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.category-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    color: #666;
    text-decoration: none;
    border-radius: 10px;
    background: #f8f9fa;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.category-link:hover {
    background: #4ade80;
    color: white;
    transform: translateX(5px);
}

.category-link span {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Main Content Area */
.blog-main {
    background: transparent;
    min-height: 100vh;
}

/* Featured Article */
.featured-article {
    margin-bottom: 3rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    background: white;
}

.article-image {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.featured-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.featured-article:hover .featured-img {
    transform: scale(1.05);
}

.article-content {
    padding: 2rem;
}

.article-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #666;
    flex-wrap: wrap;
}

.article-meta .author {
    color: #4ade80;
    font-weight: 600;
}

.article-meta .comments,
.article-meta .date {
    color: #888;
}

.article-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.article-excerpt {
    color: #666;
    line-height: 1.7;
    margin-bottom: 2rem;
    font-size: 1rem;
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: #4ade80;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.read-more-btn:hover {
    background: #22c55e;
    transform: translateY(-2px);
}

.btn-icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.read-more-btn:hover .btn-icon {
    transform: translateX(3px);
}

/* Recent Articles Section */
.recent-articles {
    padding: 2rem;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid #4ade80;
    display: inline-block;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    padding: 0;
}

/* Blog grid for homepage cards */
.blog-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    max-width: none;
    margin: 0 auto;
    padding: 2rem 0;
}

.blog-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f8f9fa;
    border-radius: 16px;
    padding: 1.75rem 2rem;
    text-decoration: none;
    color: inherit;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    position: relative;
}

.blog-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.blog-card-left {
    display: flex;
    align-items: flex-start;
    gap: 0;
    flex: 1;
    min-width: 0;
}

.blog-card-indicator {
    display: none;
}

.blog-card-text {
    flex: 1;
    min-width: 0;
}

.blog-card .card-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
    color: #000000;
    line-height: 1.4;
}

.blog-card .card-excerpt {
    color: #6b7280;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
    margin-left: 3rem;
}

.blog-card .blog-category {
    background: transparent;
    color: #10b981;
    padding: 0;
    border-radius: 0;
    font-weight: 600;
    font-size: 0.95rem;
    white-space: nowrap;
}

.blog-indicator-dot {
    color: #000000;
    font-size: 0.6rem;
}

.blog-card .blog-date {
    color: #000000;
    font-size: 0.95rem;
    white-space: nowrap;
}

@media(max-width: 768px) {
    .blog-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding: 1.5rem;
    }
    
    .blog-card-right {
        margin-left: 0;
        width: 100%;
        justify-content: flex-start;
    }
    
    .blog-card .card-title {
        font-size: 1.15rem;
    }
}

/* Article Cards */
.article-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    position: relative;
}

.article-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4ade80, #22c55e, #16a34a);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.article-card:hover::before {
    transform: scaleX(1);
}

.article-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.card-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.article-card:hover .card-img {
    transform: scale(1.1);
}

.card-content {
    padding: 2rem;
}

.card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.85rem;
}

.category {
    background: linear-gradient(135deg, #4ade80, #22c55e);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-meta .date,
.card-meta .read-time,
.card-meta .views {
    color: #888;
    font-size: 0.8rem;
}

.card-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.article-card:hover .card-title {
    color: #4ade80;
}

.card-excerpt {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tag {
    background: #f1f5f9;
    color: #64748b;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    background: linear-gradient(135deg, #4ade80, #22c55e);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.card-link:hover {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    transform: translateY(-2px);
}

/* Loading Spinner */
.loading-spinner {
    text-align: center;
    padding: 3rem;
    color: #666;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f4f6;
    border-top: 4px solid #4ade80;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.no-posts {
    text-align: center;
    padding: 3rem;
    color: #666;
    font-size: 1.1rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

/* Categories Filter */
.categories-filter {
    margin-bottom: 2rem;
    text-align: center;
}

.filter-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

/* Sidebar Styles (Legacy - can be removed) */
.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-widget {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e5e5;
}

.widget-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #4ade80;
}

/* Search Widget */
.search-form {
    display: flex;
    gap: 0.5rem;
}

.search-input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.9rem;
    transition: border-color 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: #4ade80;
}

.search-btn {
    padding: 0.75rem 1.5rem;
    background: #4ade80;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.search-btn:hover {
    background: #22c55e;
}

/* Recent Posts Widget */
.recent-posts {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.recent-post {
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.recent-post:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.recent-post h4 {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    line-height: 1.4;
    margin: 0;
    cursor: pointer;
    transition: color 0.3s ease;
}

.recent-post h4:hover {
    color: #4ade80;
}

/* Categories Widget */
.categories {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.category-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #666;
    text-decoration: none;
    border-bottom: 1px solid #eee;
    transition: color 0.3s ease;
}

.category-link:hover {
    color: #4ade80;
}

.category-link span {
    font-size: 0.8rem;
    color: #888;
}

/* Recent Comments Widget */
.recent-comments {
    color: #888;
    font-style: italic;
    text-align: center;
}

.no-comments {
    margin: 0;
    padding: 1rem 0;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .blog-content-wrapper {
        grid-template-columns: 300px 1fr;
        gap: 2rem;
    }
    
    .blog-info-sidebar {
        padding: 1.5rem;
    }
    
    .articles-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 992px) {
    .blog-content-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .blog-info-sidebar {
        position: relative;
        top: 0;
        order: -1;
        padding: 2rem;
    }
    
    .blog-header {
        text-align: center;
    }
    
    .search-form {
        flex-direction: row;
        gap: 0.5rem;
    }
    
    .search-input {
        flex: 1;
    }
    
    .articles-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .blog-page {
        padding: 1rem 0;
    }
    
    .blog-container {
        padding: 0 1rem;
    }
    
    .blog-page-title {
        font-size: 2rem;
    }
    
    .blog-page-subtitle {
        font-size: 0.95rem;
    }
    
    .search-form {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .article-card {
        border-radius: 16px;
    }
    
    .card-content {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .blog-info-sidebar {
        padding: 1.5rem;
    }
    
    .blog-page-title {
        font-size: 1.8rem;
    }
    
    .card-image {
        height: 180px;
    }
}
    
    .featured-article .article-content {
        padding: 1.5rem;
    }
    
    .article-title {
        font-size: 1.5rem;
    }
    
    .recent-articles {
        padding: 1.5rem;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }


@media (max-width: 576px) {
    .blog-container {
        padding: 0 0.5rem;
    }
    
    .featured-article .article-content {
        padding: 1rem;
    }
    
    .article-title {
        font-size: 1.3rem;
    }
    
    .recent-articles {
        padding: 1rem;
    }
    
    .search-form {
        flex-direction: column;
    }
    
    .search-btn {
        padding: 0.75rem;
    }
}

/* Loading animation for images */
.featured-img,
.card-img {
    animation: imageLoad 0.6s ease-out;
}

@keyframes imageLoad {
    from {
        opacity: 0;
        filter: blur(5px);
    }
    to {
        opacity: 1;
        filter: blur(0);
    }
}

/* Blog Detail Main - Modern Background */
.blog-detail-main {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    min-height: 100vh;
    position: relative;
    width: 100%;
    overflow-x: hidden;
}

/* Error Container */
.error-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
    padding: 2rem;
}

.error-content {
    text-align: center;
    max-width: 500px;
}

.error-content i {
    font-size: 4rem;
    color: #f59e0b;
    margin-bottom: 1.5rem;
}

.error-content h2 {
    font-size: 2rem;
    color: #1f2937;
    margin-bottom: 1rem;
    font-weight: 600;
}

.error-content p {
    color: #6b7280;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6);
    color: white;
}

/* Full Width Featured Image - Modern Design */
.fullwidth-featured-image {
    width: 100%;
    height: 60vh;
    max-height: 600px;
    min-height: 450px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.fullwidth-featured-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        45deg,
        rgba(102, 126, 234, 0.1) 0%,
        rgba(118, 75, 162, 0.1) 100%
    );
    z-index: 1;
}

.fullwidth-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
    z-index: 0;
}

.fullwidth-featured-image:hover img {
    transform: scale(1.05);
}

/* Full Width Article - Modern Design */
.fullwidth-article {
    width: 100%;
    background: #ffffff;
    position: relative;
    box-shadow: 0 -20px 40px rgba(0, 0, 0, 0.05);
    border-radius: 30px 30px 0 0;
    margin-top: -30px;
    z-index: 10;
}

/* Article Header Full Width - Modern Design */
.article-header-fullwidth {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem 3rem;
    background: transparent;
    border-bottom: none;
    text-align: center;
}

.article-title-fullwidth {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.3;
    margin-bottom: 2rem;
    text-align: center;
    letter-spacing: -0.02em;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.article-meta-fullwidth {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

.publish-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-size: 1rem;
    color: #6b7280;
    font-weight: 500;
    background: rgba(102, 126, 234, 0.1);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    backdrop-filter: blur(10px);
}

.publish-info i {
    color: #667eea;
    font-size: 1rem;
}

.article-stats {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.category-tag,
.read-time,
.view-count {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #6b7280;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.8);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.category-tag {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    font-weight: 600;
}

.read-time i,
.view-count i {
    color: #667eea;
}

/* Article Content Full Width - Modern Design */
.article-content-fullwidth {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 2rem;
    font-size: 1.125rem;
    line-height: 1.8;
    color: #374151;
    background: #ffffff;
    position: relative;
}

.article-content-fullwidth h1,
.article-content-fullwidth h2,
.article-content-fullwidth h3,
.article-content-fullwidth h4,
.article-content-fullwidth h5,
.article-content-fullwidth h6 {
    color: #1a202c;
    font-weight: 700;
    margin: 2.5rem 0 1.5rem;
    line-height: 1.3;
}

.article-content-fullwidth h2 {
    font-size: 2.25rem;
    border-bottom: 3px solid #667eea;
    padding-bottom: 0.75rem;
    margin-top: 3rem;
}

.article-content-fullwidth h3 {
    font-size: 1.75rem;
    color: #2d3748;
}

.article-content-fullwidth h4 {
    font-size: 1.375rem;
    color: #4a5568;
}

.article-content-fullwidth p {
    margin-bottom: 1.75rem;
    font-size: 1.125rem;
    line-height: 1.8;
}

.article-content-fullwidth ul,
.article-content-fullwidth ol {
    margin: 2rem 0;
    padding-left: 2.5rem;
}

.article-content-fullwidth li {
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

.article-content-fullwidth blockquote {
    border-left: 5px solid #667eea;
    background: linear-gradient(135deg, #f7fafc, #edf2f7);
    padding: 2rem 2.5rem;
    margin: 2.5rem 0;
    border-radius: 0 12px 12px 0;
    font-style: italic;
    font-size: 1.2rem;
    color: #4a5568;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.article-content-fullwidth pre {
    background: #2d3748;
    color: #f7fafc;
    padding: 2rem;
    border-radius: 12px;
    overflow-x: auto;
    margin: 2.5rem 0;
    font-size: 0.95rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.article-content-fullwidth code {
    background: #edf2f7;
    color: #e53e3e;
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.9em;
    font-weight: 600;
}

.article-content-fullwidth pre code {
    background: none;
    color: inherit;
    padding: 0;
    font-weight: normal;
}

.article-content-fullwidth img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 2rem 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.article-content-fullwidth table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.article-content-fullwidth th,
.article-content-fullwidth td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.article-content-fullwidth th {
    background: #f7fafc;
    font-weight: 600;
    color: #2d3748;
}



.read-time i,
.article-views i {
    color: #4ade80;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    color: #1a1a1a;
}

.author-title {
    color: #666;
    font-size: 0.9rem;
}

/* Featured Image */
.article-featured-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.article-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Article Content */
.article-content {
    padding: 2.5rem 0;
    line-height: 1.8;
    font-size: 1.1rem;
    color: #333;
}

.article-intro {
    font-size: 1.2rem;
    color: #555;
    font-weight: 400;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-left: 4px solid #4ade80;
    border-radius: 0 8px 8px 0;
}

.article-content h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 2.5rem 0 1rem;
}

.article-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 2rem 0 1rem;
}

.article-content p {
    margin-bottom: 1.5rem;
    color: #444;
}

.article-content ul,
.article-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.article-content li {
    margin-bottom: 0.5rem;
    color: #444;
}

.article-content pre {
    background: #f8f9fa;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 1.5rem;
    overflow-x: auto;
    margin: 1.5rem 0;
}

.article-content code {
    background: #f8f9fa;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.9rem;
}

.article-content pre code {
    background: none;
    padding: 0;
}

/* Article Social Share */
.article-social-share {
    margin-top: 3rem;
    padding: 2rem 0;
    border-top: 2px solid #f0f0f0;
}

.social-share-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    text-align: center;
}

.social-share-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.tag {
    background: #f1f5f9;
    color: #64748b;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.article-share {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.article-share span {
    color: #666;
    font-weight: 600;
}

.share-buttons {
    display: flex;
    gap: 0.5rem;
}

.social-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    color: white;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    min-width: 120px;
    justify-content: center;
}

.social-share-btn i {
    font-size: 1.1rem;
}

.social-share-btn.twitter {
    background: linear-gradient(135deg, #1da1f2, #1a91da);
}

.social-share-btn.facebook {
    background: linear-gradient(135deg, #4267b2, #365899);
}

.social-share-btn.linkedin {
    background: linear-gradient(135deg, #0077b5, #006799);
}

.social-share-btn.whatsapp {
    background: linear-gradient(135deg, #25d366, #20b954);
}

.social-share-btn.telegram {
    background: linear-gradient(135deg, #0088cc, #006699);
}

.social-share-btn.copy-link {
    background: linear-gradient(135deg, #6b7280, #4b5563);
}

.social-share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    color: white;
}

.social-share-btn.twitter:hover {
    background: linear-gradient(135deg, #1a91da, #1681c7);
}

.social-share-btn.facebook:hover {
    background: linear-gradient(135deg, #365899, #2d4373);
}

.social-share-btn.linkedin:hover {
    background: linear-gradient(135deg, #006799, #005580);
}

.social-share-btn.whatsapp:hover {
    background: linear-gradient(135deg, #20b954, #1da449);
}

.social-share-btn.telegram:hover {
    background: linear-gradient(135deg, #006699, #005580);
}

.social-share-btn.copy-link:hover {
    background: linear-gradient(135deg, #4b5563, #374151);
}

/* Related Articles */
.related-articles {
    margin-top: 3rem;
    padding: 2rem 0;
    border-top: 1px solid #eee;
}

.related-articles h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 2rem;
    text-align: center;
}

.related-articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.related-article-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.related-article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.related-article-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.related-article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-article-card:hover .related-article-image img {
    transform: scale(1.05);
}

.related-article-content {
    padding: 1.5rem;
}

.related-article-content h3 {
    margin: 0 0 1rem 0;
}

.related-article-content h3 a {
    color: #1a1a1a;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.related-article-content h3 a:hover {
    color: #667eea;
}

.related-article-content p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.related-article-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.8rem;
    color: #888;
}

.related-article-meta .category {
    background: #667eea;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
}

.related-article-meta .date {
    color: #888;
}

/* Responsive Design for Related Articles */
@media (max-width: 768px) {
    .related-articles {
        margin-top: 2rem;
        padding: 1.5rem 1rem;
    }
    
    .related-articles h2 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .related-articles-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .related-article-image {
        height: 180px;
    }
    
    .related-article-content {
        padding: 1.2rem;
    }
    
    .related-article-content h3 a {
        font-size: 1.1rem;
    }
    
    .related-article-content p {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .related-articles {
        margin-top: 1.5rem;
        padding: 1rem 0.75rem;
    }
    
    .related-articles h2 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
    
    .related-articles-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .related-article-card {
        border-radius: 8px;
    }
    
    .related-article-image {
        height: 160px;
    }
    
    .related-article-content {
        padding: 1rem;
    }
    
    .related-article-content h3 a {
        font-size: 0.95rem;
    }
    
    .related-article-content p {
        font-size: 0.8rem;
    }
    
    .related-article-meta {
        font-size: 0.7rem;
        gap: 0.5rem;
    }
    
    .related-article-meta .category {
        padding: 0.2rem 0.5rem;
        font-size: 0.7rem;
    }
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.related-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.related-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.related-content {
    padding: 1.5rem;
}

.related-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.related-content p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.related-link {
    color: #4ade80;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.related-link:hover {
    color: #22c55e;
}

/* Responsive Design for Modern Blog Detail */
@media (max-width: 768px) {
    .fullwidth-featured-image {
        height: 45vh;
        min-height: 300px;
    }
    
    .fullwidth-article {
        border-radius: 20px 20px 0 0;
        margin-top: -20px;
    }
    
    .article-header-fullwidth {
        padding: 3rem 1.5rem 2rem;
    }
    
    .article-title-fullwidth {
        font-size: 2rem;
        line-height: 1.4;
    }
    
    .article-meta-fullwidth {
        gap: 1rem;
    }
    
    .article-stats {
        flex-direction: column;
        gap: 0.75rem;
        align-items: center;
    }
    
    .category-tag,
    .read-time,
    .view-count {
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem;
    }
    
    .article-content-fullwidth {
        padding: 2rem 1.5rem;
        font-size: 1rem;
    }
    
    .article-content-fullwidth h2 {
        font-size: 1.75rem;
    }
    
    .article-content-fullwidth h3 {
        font-size: 1.4rem;
    }
    
    .share-container {
        padding: 0 4%;
    }
    
    .share-buttons-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .share-button {
        padding: 0.875rem 1rem;
        min-height: 50px;
        font-size: 0.9rem;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .fullwidth-featured-image {
        height: 250px;
    }
    
    .article-header-fullwidth {
        padding: 1.5rem 3%;
    }
    
    .article-title_fullwidth {
        font-size: 2rem;
        line-height: 1.1;
    }
    
    .publish-info {
        font-size: 1rem;
    }
    
    .article-content-fullwidth {
        padding: 1.5rem 3%;
    }
    
    .article-content-fullwidth h2 {
        font-size: 1.5rem;
    }
    
    .article-content-fullwidth h3 {
        font-size: 1.25rem;
    }
    
    .share-title {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .share-container {
        padding: 0 3%;
    }
    
    .social-share-fullwidth {
        padding: 3rem 0;
    }
}

@media (max-width: 480px) {
    .article-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .article-title {
        font-size: 1.7rem;
    }
    
    .article-content {
        padding: 1.5rem 1rem;
    }
    
    .article-content pre {
        padding: 1rem;
        font-size: 0.8rem;
    }
}

/* Pagination Styles */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 3rem;
    padding: 2rem 0;
}

.pagination-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: white;
    color: #666;
    text-decoration: none;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.pagination-btn:hover {
    background: #4ade80;
    color: white;
    border-color: #4ade80;
    transform: translateY(-2px);
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-numbers {
    display: flex;
    gap: 0.5rem;
}

.pagination-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: white;
    color: #666;
    text-decoration: none;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.pagination-number:hover,
.pagination-number.active {
    background: #4ade80;
    color: white;
    border-color: #4ade80;
}

.pagination-number.active {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(74, 222, 128, 0.3);
}

/* Search Results Header */
.search-results-header {
    background: white;
    border-radius: 12px;
    padding: 1.5rem 2rem;
    margin-bottom: 2rem;
    border-left: 4px solid #4ade80;
}

.search-results-header h2 {
    color: #1a1a1a;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.search-results-header p {
    color: #666;
    margin: 0;
}

/* Recent Posts Widget */
.recent-posts-widget {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e5e5;
}

.recent-posts-widget h3 {
    color: #1a1a1a;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.recent-post-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f1f5f9;
}

.recent-post-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.recent-post-image {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
}

.recent-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recent-post-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.recent-post-placeholder span {
    font-size: 1.5rem;
    opacity: 0.8;
}

.recent-post-content {
    flex: 1;
    min-width: 0;
}

.recent-post-content h4 {
    margin: 0 0 0.25rem 0;
    font-size: 0.9rem;
    line-height: 1.3;
}

.recent-post-content h4 a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.3s ease;
}

.recent-post-content h4 a:hover {
    color: #4ade80;
}

.recent-post-date {
    color: #999;
    font-size: 0.8rem;
    margin: 0;
}

/* Active Category Link */
.category-link.active {
    background: #4ade80;
    color: white !important;
}

.category-link.active span {
    color: rgba(255, 255, 255, 0.8);
}

/* Responsive Pagination */
@media (max-width: 768px) {
    .pagination {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .pagination-numbers {
        order: 2;
    }
    
    .pagination-btn {
        order: 1;
        width: 100%;
        justify-content: center;
    }
    
    .pagination-btn.next {
        order: 3;
    }
}

/* ====================================
   Golang vs Java Comparison Styles
==================================== */

.golang-java-comparison {
    max-width: 100%;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.article-header {
    background: linear-gradient(135deg, #4ade80, #22c55e);
    color: white;
    padding: 2rem;
    text-align: center;
}

.article-header h1 {
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
}

.intro-section, 
.performance-section,
.concurrency-section,
.syntax-section,
.ecosystem-section,
.community-section,
.conclusion-section {
    padding: 2rem;
    border-bottom: 1px solid #f1f5f9;
}

.intro-section:last-child,
.performance-section:last-child,
.concurrency-section:last-child,
.syntax-section:last-child,
.ecosystem-section:last-child,
.community-section:last-child,
.conclusion-section:last-child {
    border-bottom: none;
}

.intro-section p,
.performance-section p,
.concurrency-section p,
.syntax-section p,
.ecosystem-section p,
.community-section p,
.conclusion-section p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #374151;
    margin-bottom: 1rem;
}

.intro-section h2,
.performance-section h2,
.concurrency-section h2,
.syntax-section h2,
.ecosystem-section h2,
.community-section h2,
.conclusion-section h2 {
    color: #22c55e;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #e5e7eb;
    padding-bottom: 0.5rem;
}

.overview-section,
.use-cases-section,
.summary-section {
    padding: 2rem;
    background: #f8f9fa;
    border-bottom: 1px solid #e5e7eb;
}

.overview-section h2,
.use-cases-section h2,
.summary-section h2 {
    color: #22c55e;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-align: center;
}

.comparison-table,
.use-cases-table,
.summary-table {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin: 1rem 0;
}

.comparison-table table,
.use-cases-table table,
.summary-table table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table th,
.comparison-table td,
.use-cases-table th,
.use-cases-table td,
.summary-table th,
.summary-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
    font-size: 0.95rem;
}

.comparison-table th,
.use-cases-table th,
.summary-table th {
    background: #f1f5f9;
    font-weight: 600;
    color: #374151;
    font-size: 1rem;
}

.comparison-table tr:last-child td,
.use-cases-table tr:last-child td,
.summary-table tr:last-child td {
    border-bottom: none;
}

.comparison-table tr:hover,
.use-cases-table tr:hover,
.summary-table tr:hover {
    background: #f8f9fa;
}

.verdict {
    font-weight: 600;
    color: #dc2626;
    background: #fef2f2;
    padding: 1rem;
    border-left: 4px solid #dc2626;
    border-radius: 4px;
    margin: 1rem 0;
    font-style: italic;
}

.conclusion-section ul,
.community-section ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.conclusion-section li,
.community-section li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
    color: #374151;
}

.summary-table {
    max-width: 500px;
    margin: 2rem auto;
}

.summary-table th,
.summary-table td {
    text-align: center;
    font-size: 1.1rem;
    padding: 1.2rem;
}

.summary-table td:last-child {
    font-weight: 600;
    font-size: 1.2rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .golang-java-comparison {
        margin: 0 1rem;
    }
    
    .article-header {
        padding: 1.5rem 1rem;
    }
    
    .article-header h1 {
        font-size: 1.8rem;
    }
    
    .intro-section, 
    .performance-section,
    .concurrency-section,
    .syntax-section,
    .ecosystem-section,
    .community-section,
    .conclusion-section,
    .overview-section,
    .use-cases-section,
    .summary-section {
        padding: 1.5rem 1rem;
    }
    
    .comparison-table,
    .use-cases-table,
    .summary-table {
        font-size: 0.9rem;
    }
    
    .comparison-table th,
    .comparison-table td,
    .use-cases-table th,
    .use-cases-table td,
    .summary-table th,
    .summary-table td {
        padding: 0.75rem 0.5rem;
    }
}

/* Creative Featured Image (Blog Detail) */
.creative-featured-image {
    position: relative;
    width: 100%;
    min-height: 340px;
    max-height: 520px;
    margin: 0 0 2.5rem 0;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    overflow: visible;
    z-index: 2;
}

.creative-featured-image img {
    width: 480px;
    max-width: 90vw;
    height: auto;
    border-radius: 2.5rem 1.5rem 3.5rem 1.5rem/2.5rem 3.5rem 1.5rem 2.5rem;
    box-shadow: 0 12px 48px 0 rgba(102,126,234,0.18), 0 2px 8px 0 rgba(0,0,0,0.04);
    object-fit: cover;
    position: relative;
    z-index: 2;
    background: #f8fafc;
    transition: transform 0.5s cubic-bezier(.4,2,.6,1), box-shadow 0.4s;
}

.creative-featured-image img:hover {
    transform: scale(1.04) rotate(-1.5deg);
    box-shadow: 0 24px 64px 0 rgba(102,126,234,0.22), 0 4px 16px 0 rgba(0,0,0,0.08);
}

.creative-featured-image .featured-image-decor {
    position: absolute;
    left: 0;
    bottom: -30px;
    width: 340px;
    height: 120px;
    background: radial-gradient(ellipse at 40% 60%, #667eea33 0%, #fff0 80%);
    filter: blur(18px);
    z-index: 1;
    pointer-events: none;
}

@media (max-width: 700px) {
    .creative-featured-image img {
        width: 98vw;
        max-width: 98vw;
        border-radius: 2rem;
    }
    .creative-featured-image .featured-image-decor {
        width: 80vw;
        height: 60px;
        left: 0;
        bottom: -18px;
    }
}

/* Simple Blog Detail Layout */
.simple-featured-image {
    width: 100%;
    max-width: 900px;
    margin: 0 auto 2.5rem auto;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 6px 32px 0 rgba(102,126,234,0.10);
}
.simple-featured-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 18px;
    background: #f8fafc;
}

.simple-blog-content {
    max-width: 900px;
    margin-left: 0;
    margin-right: auto;
    margin-bottom: 3rem;
    padding: 0 1.5rem;
}
.simple-blog-content h1 {
    text-align: left;
}
.simple-blog-meta {
    justify-content: flex-start;
}
@media (max-width: 700px) {
    .simple-blog-content {
        max-width: 100vw;
        margin-left: 0;
        margin-right: 0;
        padding: 0 0.5rem;
    }
    .simple-blog-content h1 {
        text-align: left;
    }
    .simple-blog-meta {
        justify-content: flex-start;
    }
}

/* Blog Detail Simple Two-Column Layout */
.blog-detail-layout {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 2.5rem;
    max-width: 1200px;
    margin: 2.5rem auto 3rem auto;
    padding: 0 1.5rem;
    box-sizing: border-box;
    width: 100%;
}
.blog-main-content {
    padding-top: 40px;
    flex: 1 1 0;
    min-width: 0;
    width: 100%;
}
.blog-featured-img {
    width: 62%;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    object-fit: cover;
    height: auto;
}
.blog-meta-simple {
    margin-bottom: 0.7rem;
    color: #22c55e;
    font-size: 1rem;
    font-weight: 500;
}
.blog-author-simple {
    color: #22c55e;
}
.blog-category-simple {
    color: #222;
    margin-left: 0.5rem;
}
.blog-title-simple {
    font-size: 2.1rem;
    font-weight: 800;
    color: #22223b;
    margin-bottom: 0.7rem;
    line-height: 1.2;
    text-align: left;
}
.blog-date-simple {
    color: #888;
    font-size: 0.98rem;
    margin-bottom: 1.7rem;
    text-align: left;
}
.blog-content-simple {
    font-size: 1.13rem;
    line-height: 1.85;
    color: #2d3748;
    text-align: left;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.blog-content-simple img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.blog-content-simple table {
    width: 100%;
    overflow-x: auto;
    display: block;
}

.blog-content-simple pre {
    overflow-x: auto;
    padding: 1rem;
    background: #f5f5f5;
    border-radius: 8px;
}
.blog-sidebar-simple {
    padding-top: 40px;
    width: 320px;
    flex-shrink: 0;
}
.sidebar-box {
    width: fit-content;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 16px 0 rgba(0,0,0,0.04);
    padding: 1.5rem 1.2rem 1.2rem 1.2rem;
    margin-bottom: 2rem;
}
.sidebar-box h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.1rem;
    color: #22223b;
}
.sidebar-search form {
    display: flex;
    gap: 0.5rem;
}
.sidebar-search input[type="text"] {
    flex: 1;
    padding: 0.6rem 0.9rem;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 1rem;
}
.sidebar-search button {
    background: #22c55e;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 0 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
.sidebar-search button:hover {
    background: #16a34a;
}
.sidebar-recent ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.sidebar-recent li {
    margin-bottom: 0.7rem;
    border-bottom: 1px dotted #e5e7eb;
    padding-bottom: 0.7rem;
}
.sidebar-recent li:last-child {
    border-bottom: none;
}
.sidebar-recent a {
    color: #22223b;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.2s;
}
.sidebar-recent a:hover {
    color: #22c55e;
}
@media (max-width: 1000px) {
    .blog-detail-layout {
        flex-direction: column;
        gap: 1.5rem;
        padding: 0 1rem;
        margin: 1.5rem auto 2rem auto;
    }
    .blog-sidebar-simple {
        display: none;
    }
}
@media (max-width: 768px) {
    .blog-detail-layout {
        padding: 0 1rem;
        margin: 1rem auto 1.5rem auto;
        gap: 1rem;
    }
    
    .blog-main-content {
        padding-top: 15px;
        width: 100%;
    }
    
    .blog-featured-img {
        width: 100%;
        max-width: 100%;
        margin-bottom: 0.8rem;
        border-radius: 6px;
    }
    
    .blog-meta-simple {
        font-size: 0.85rem;
        margin-bottom: 0.4rem;
    }
    
    .blog-title-simple {
        font-size: 1.5rem;
        margin-bottom: 0.4rem;
        line-height: 1.3;
    }
    
    .blog-date-simple {
        font-size: 0.8rem;
        margin-bottom: 0.8rem;
    }
    
    .blog-content-simple {
        font-size: 0.95rem;
        line-height: 1.65;
    }
    
    .blog-content-simple h2 {
        font-size: 1.3rem;
        margin: 1rem 0 0.6rem 0;
    }
    
    .blog-content-simple h3 {
        font-size: 1.1rem;
        margin: 0.8rem 0 0.5rem 0;
    }
    
    .blog-content-simple p {
        margin-bottom: 0.8rem;
    }
    
    .blog-content-simple ul,
    .blog-content-simple ol {
        padding-left: 1.2rem;
        margin: 0.8rem 0;
    }
    
    .blog-content-simple blockquote {
        padding: 0.8rem;
        margin: 0.8rem 0;
        border-left: 3px solid #4ade80;
    }
    
    .sidebar-box {
        display: none;
    }
}

@media (max-width: 600px) {
    .blog-detail-layout {
        padding: 0 0.75rem;
        margin: 1rem auto 1.5rem auto;
    }
    
    .blog-main-content {
        padding-top: 15px;
    }
    
    .blog-featured-img {
        width: 100%;
        margin-bottom: 1rem;
        border-radius: 8px;
    }
    
    .blog-title-simple {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }
    
    .blog-content-simple {
        font-size: 0.95rem;
        line-height: 1.65;
    }
    
    .blog-content-simple h2 {
        font-size: 1.3rem;
        margin: 1.2rem 0 0.8rem 0;
    }
    
    .blog-content-simple h3 {
        font-size: 1.1rem;
        margin: 0.8rem 0 0.5rem 0;
    }
    
    .blog-content-simple pre {
        padding: 0.75rem;
        font-size: 0.8rem;
    }
    
    .blog-meta-simple {
        font-size: 0.85rem;
    }
    
    .blog-date-simple {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .blog-detail-layout {
        padding: 0 0.5rem;
        margin: 0.75rem auto 1rem auto;
    }
    
    .blog-main-content {
        padding-top: 10px;
    }
    
    .blog-featured-img {
        width: 100%;
        margin-bottom: 0.75rem;
    }
    
    .blog-title-simple {
        font-size: 1.3rem;
        margin-bottom: 0.3rem;
        line-height: 1.25;
    }
    
    .blog-content-simple {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    .blog-content-simple h2 {
        font-size: 1.2rem;
        margin: 1rem 0 0.6rem 0;
    }
    
    .blog-content-simple h3 {
        font-size: 1rem;
        margin: 0.7rem 0 0.4rem 0;
    }
    
    .blog-content-simple p {
        margin-bottom: 0.8rem;
    }
    
    .blog-content-simple ul,
    .blog-content-simple ol {
        padding-left: 1.2rem;
        margin: 0.8rem 0;
    }
    
    .blog-content-simple li {
        margin-bottom: 0.3rem;
        font-size: 0.9rem;
    }
    
    .blog-content-simple pre {
        padding: 0.5rem;
        font-size: 0.75rem;
    }
    
    .blog-meta-simple {
        font-size: 0.8rem;
        margin-bottom: 0.3rem;
    }
    
    .blog-date-simple {
        font-size: 0.75rem;
        margin-bottom: 0.8rem;
    }
    
    .sidebar-box {
        display: none;
    }
}

@media (max-width: 360px) {
    .blog-detail-layout {
        padding: 0 0.25rem;
        margin: 0.25rem auto 0.5rem auto;
    }
    
    .blog-main-content {
        padding-top: 8px;
    }
    
    .blog-featured-img {
        margin-bottom: 0.5rem;
    }
    
    .blog-title-simple {
        font-size: 1.1rem;
    }
    
    .blog-content-simple {
        font-size: 0.8rem;
        line-height: 1.5;
    }
    
    .blog-meta-simple,
    .blog-date-simple {
        font-size: 0.65rem;
    }
}