* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    background: #fafafa;
    color: #191919;
}

.container {
    min-height: 100vh;
}

/* Sidebar */
.sidebar {
    width: 200px;
    padding: 40px 20px;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
}
ul.sidebar-item {
    list-style: none;
}

ul.sidebar-item>li {
    padding: 12px 16px;
    margin-bottom: 4px;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.2s;
}

ul.sidebar-item>li:hover {
    background: #f5f5f5;
    color: #191919;
}
ul.sidebar-item>li>a {
    text-decoration: none;
    font-size: 15px;
    color: #666;
}

.sidebar-item.active {
    background: #f0f0f0;
    color: #191919;
    font-weight: 500;
}

/* Main Content */
.main-content {
    margin-left: 200px;
    flex: 1;
    padding: 40px 60px;
    max-width: 1400px;
}

h1 {
    font-size: 48px;
    font-weight: 400;
    margin-bottom: 30px;
}

/* Filter Bar */
.filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e5e5;
}

.category-filters {
    display: flex;
    gap: 24px;
}

.category-btn {
    background: none;
    border: none;
    padding: 8px 0;
    font-size: 15px;
    color: #999;
    cursor: pointer;
    transition: color 0.2s;
    position: relative;
}

.category-btn:hover {
    color: #191919;
}

.category-btn.active {
    color: #191919;
    font-weight: 500;
}

.category-btn.active::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 0;
    right: 0;
    height: 2px;
    background: #191919;
}

.filter-controls {
    display: flex;
    gap: 16px;
    align-items: center;
}

.control-btn {
    background: white;
    border: 1px solid #e5e5e5;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}

.control-btn:hover {
    border-color: #ccc;
    background: #fafafa;
}

/* Grid */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.news-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid #e5e5e5;
}

.news-card:hover {
    transform: translateY(-4px);
}

.news-card.featured {
    grid-column: span 2;
    grid-row: span 2;
}

.card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-card.featured .card-image {
    height: 400px;
}

.card-content {
    padding: 20px;
}

.card-title {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 12px;
    line-height: 1.4;
}

.news-card.featured .card-title {
    font-size: 32px;
}

.card-meta {
    display: flex;
    gap: 12px;
    font-size: 13px;
    color: #999;
}

.card-category {
    color: #666;
    font-weight: 500;
}

/* Gradient backgrounds */
.gradient-purple {
    background: linear-gradient(135deg, #e0c3fc 0%, #8ec5fc 100%);
}

.gradient-dots {
    background:
            radial-gradient(circle, #4a5fc1 20%, transparent 20%),
            radial-gradient(circle, #764ba2 20%, transparent 20%),
            linear-gradient(135deg, #fbc2eb 0%, #a6c1ee 100%);
    background-size: 8px 8px, 8px 8px, 100% 100%;
    background-position: 0 0, 4px 4px, 0 0;
}

.gradient-blue {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}

.gradient-coral {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
}

.gradient-yellow {
    background: linear-gradient(135deg, #ffeaa7 0%, #fdcb6e 100%);
}

.gradient-multi {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 50%, #30cfd0 100%);
}

.gradient-purple-blue {
    background: linear-gradient(135deg, #a8caba 0%, #5d4e6d 100%);
}

/* Icon placeholders */
.icon-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    margin: 40px auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
}

@media (max-width: 1024px) {
    .news-card.featured {
        grid-column: span 1;
        grid-row: span 1;
    }

    .news-card.featured .card-image {
        height: 200px;
    }

    .news-card.featured .card-title {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .sidebar {
        display: block;
        position: relative;
        height: auto;
        margin-top: -3rem;
        padding: 2rem 1rem;
    }

    .main-content {
        margin-left: 0;
        padding: 1rem!important;

    }

    .category-filters {
        overflow-x: auto;
        white-space: nowrap;
    }

    .filter-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
}


.footer {
    width: 100%;
    padding: 30px 60px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

/* Left Section - Social Icons */
.social-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

.social-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #191919;
    text-decoration: none;
    transition: color 0.2s;
}

.social-icon:hover {
    color: #666;
}

.social-icon svg {
    width: 20px;
    height: 20px;
}

/* Center Section - Copyright & Links */
.footer-center {
    display: flex;
    align-items: center;
    gap: 24px;
    font-size: 14px;
    color: #666;
}

.footer-link {
    color: #191919;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-link:hover {
    color: #666;
}

/* Right Section - Language & Region */
.footer-right {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
}

.footer-right span {
    color: #191919;
    font-weight: 500;
}

.footer-right .region {
    color: #666;
}

@media (max-width: 768px) {
    .footer {
        padding: 24px 20px;
    }

    .footer-content {
        flex-direction: column;
        gap: 24px;
        align-items: flex-start;
    }

    .footer-center {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}


.filter-bar {
    margin: 40px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.category-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.category-btn {
    padding: 10px 20px;
    background: #ffffff;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    transition: all 0.3s ease;
}

.category-btn:hover {
    background: #f0f0f0;
    border-color: #333;
}

.category-btn.active {
    background: #333;
    color: #ffffff;
    border-color: #333;
}

.posts-container {
    margin: 40px 0;
}

.posts-container.loading {
    opacity: 0.5;
    pointer-events: none;
}

.post-item {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #e0e0e0;
}

.post-thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

.post-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
    font-size: 14px;
    color: #666;
}

.post-category {
    padding: 4px 12px;
    background: #e8f4fd;
    color: #1a73e8;
    border-radius: 4px;
    font-weight: 500;
}

.post-title {
    margin: 10px 0;
    font-size: 24px;
    line-height: 1.4;
}

.post-title a {
    color: #333;
    text-decoration: none;
}

.post-title a:hover {
    color: #1a73e8;
}

.post-excerpt {
    color: #666;
    line-height: 1.6;
    margin: 15px 0;
}

.read-more {
    color: #1a73e8;
    text-decoration: none;
    font-weight: 500;
}

.read-more:hover {
    text-decoration: underline;
}

.pagination {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin: 40px 0;
}

.pagination a,
.pagination .current {
    padding: 10px 15px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
}

.pagination .current {
    background: #333;
    color: #fff;
}

.no-posts {
    text-align: center;
    padding: 40px;
    color: #666;
}

@media (max-width: 768px) {
    .post-item {
        grid-template-columns: 1fr;
    }
}



/* Blog Section */
.blog-section {
    padding: 60px 0;
}

.blog-section-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Blog Grid - Responsive Layout */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Tablet: 2 columns */
@media (max-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

/* Mobile: 1 column */
@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Blog Card */
.blog-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    width: 100%;
}

.blog-card:hover {
    transform: translateY(-5px);
}

/* Blog Card Image */
.blog-card-image {
    position: relative;
    width: 100%;
    padding-top: 66.67%;
    overflow: hidden;
}

.blog-card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    transition: transform 0.3s ease;
}

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

/* Category Badge */
.category-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 2;
    letter-spacing: 0.5px;
}

/* Post Date Badge */
.post-date {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: #fff;
    padding: 8px 12px;
    border-radius: 4px;
    text-align: center;
    z-index: 2;
}

.date-day {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #333;
}

.date-month {
    display: block;
    font-size: 11px;
    color: #666;
    text-transform: uppercase;
}

/* Blog Card Content */
.blog-card-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1;
}

/* Blog Title */
.blog-title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
}

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

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

/* Blog Excerpt */
.blog-excerpt {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
}

/* Blog Meta */
.blog-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid #eee;
}

.author-avatar {
    flex-shrink: 0;
}

.author-avatar img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: block;
}

.meta-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}

.author-name {
    font-size: 13px;
    font-weight: 600;
    color: #333;
}
.blog-meta .post-date {
    position: static;
    background: transparent;
    padding: 0;
    box-shadow: none;
    font-size: 12px;
    color: #999;
}

.post-date {
    font-size: 12px;
    color: #999;
}

/* Blog Card Actions */
.blog-card-actions {
    margin-top: auto;
    padding-top: 16px;
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #007bff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: gap 0.3s ease, color 0.3s ease;
}

.read-more-btn:hover {
    color: #0056b3;
    gap: 12px;
}

.read-more-btn svg {
    transition: transform 0.3s ease;
}

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

/* No Posts Message */
.no-posts-message {
    grid-column: 1 / -1;
    padding: 60px 20px;
    text-align: center;
}

.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.empty-icon {
    font-size: 48px;
    display: block;
}

.empty-state h3 {
    margin: 0;
    font-size: 24px;
    color: #333;
}

.empty-state p {
    margin: 0;
    color: #666;
    font-size: 16px;
}

/* View All Button */
.section-cta {
    display: flex;
    justify-content: center;
    padding-top: 20px;
}

.view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 32px;
    background: #007bff;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    border-radius: 6px;
    transition: background 0.3s ease, gap 0.3s ease;
}

.view-all-btn:hover {
    background: #0056b3;
    gap: 16px;
}

.view-all-btn svg {
    transition: transform 0.3s ease;
}

.view-all-btn:hover svg {
    transform: translateX(3px);
}


/* Featured Layout Container */
.featured-layout {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

/* Main Featured Post - 8 columns */
.featured-main {
    grid-column: span 8;
}

/* Sidebar Posts Container - 4 columns */
.featured-sidebar {
    grid-column: span 4;
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow-y: auto;
    padding-right: 10px;
    overflow-x: hidden;
}

/* Custom Scrollbar Styling */
.featured-sidebar::-webkit-scrollbar {
    width: 6px;
}

.featured-sidebar::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.featured-sidebar::-webkit-scrollbar-thumb {
    background: #007bff;
    border-radius: 10px;
}

.featured-sidebar::-webkit-scrollbar-thumb:hover {
    background: #0056b3;
}

/* Featured Card Styling */
.featured-card {
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.featured-card:hover {
    transform: translateY(-4px);
}

/* Main Featured Post */
.featured-main .featured-card {
    height: 100%;
}

.featured-card-image {
    width: 100%;
    padding-top: 55%;
    position: relative;
    overflow: hidden;
    border-radius: 3px;
}

.featured-card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.featured-card:hover .featured-card-image img {
    transform: scale(1.05);
}
.featured-category-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 2;
    letter-spacing: 0.5px;
}

/* Featured Content */
.featured-card-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1;
}

.featured-card-title {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    color: #222;
    margin-top: 2rem;
}

.featured-main .featured-card-title {
    font-size: 32px;
}

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

.featured-card-title a:hover {
    color: #007bff;
}

/* Card Meta */
.featured-card-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    padding-bottom: 12px;
    border-bottom: 1px solid #eee;
    flex-direction: row;
    margin-top: 1rem;
}

.featured-card-category {
    color: #007bff;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.featured-post-date {
    color: #999;
    font-size: 12px;
}

/* Post Excerpt */
.featured-post-excerpt {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    flex: 1;
}

.featured-main .featured-post-excerpt {
    font-size: 16px;
    line-height: 1.7;
}

/* Read More Button */
.featured-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #007bff;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: gap 0.3s ease, color 0.3s ease;
    width: fit-content;
}

.featured-read-more:hover {
    color: #0056b3;
    gap: 12px;
}

/* Sidebar Post Cards */
.featured-sidebar .featured-card {
    display: flex;
    flex-shrink: 0;
    height: 200px;
}

.featured-sidebar .featured-card-image-sidebar img {
    width: 100%;
    border-radius: 5px;
    height: 240px;
}
.featured-sidebar .featured-card-content-sidebar {
    width: 100%;
    border-radius: 5px;
}
h3.featured-card-title-sidebar a {
    font-size: 1.2rem;
    text-decoration: none;
    color: #222222;
}
h3.featured-card-title-sidebar {
    margin: 1rem 0;
}
.featured-card-meta-sidebar {
    color: #999999;
}

.featured-sidebar .featured-card-content {
    padding: 12px 16px;
    gap: 8px;
    grid-column: 2;
}

.featured-sidebar .featured-card-title {
    font-size: 14px;
}

.featured-sidebar .featured-post-excerpt {
    display: none;
}

.featured-sidebar .featured-card-meta {
    padding-bottom: 0;
    border-bottom: none;
    gap: 8px;
    flex-direction: row;
    align-items: flex-start;
    font-size: 11px;
    margin-top: 1rem;
}

.featured-sidebar .featured-read-more {
    display: none;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .featured-layout {
        grid-template-columns: repeat(12, 1fr);
        gap: 25px;
    }

    .featured-main {
        grid-column: span 7;
    }

    .featured-sidebar {
        grid-column: span 5;
    }

    .featured-main .featured-card-content {
        padding: 30px;
    }

    .featured-main .featured-card-title {
        font-size: 24px;
    }

    .featured-main .featured-post-excerpt {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .featured-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .featured-main,
    .featured-sidebar {
        grid-column: span 1;
    }

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

    .featured-sidebar .featured-card-image {
        width: 100%;
        height: auto;
        padding-top: 66.67%;
        grid-column: 1;
        grid-row: 1;
    }

    .featured-sidebar .featured-card-content {
        grid-column: 1;
        padding: 12px;
    }

    .featured-main .featured-card-content {
        padding: 24px;
    }

    .featured-main .featured-card-title {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .featured-sidebar .featured-card {
        grid-template-columns: 80px 1fr;
    }

    .featured-sidebar .featured-card-image {
        width: 80px;
        height: 80px;
        padding-top: 0;
        grid-column: 1;
        grid-row: 1 / -1;
    }
}

.no-posts {
    text-align: center;
    padding: 40px 20px;
    color: #666;
    font-size: 16px;
}



/* Post Article Container */
article.post {
    border-radius: 12px;
    overflow: hidden;
}

/* Entry Header */
.entry-header {
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
    text-align: center;
}

.entry-title {
    margin: 0 0 20px 0;
    font-size: 42px;
    font-weight: 700;
    line-height: 1.3;
    color: #1a1a1a;
}

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

.entry-title a:hover {
    color: #007bff;
}

@media (max-width: 768px) {
    .entry-header {
        padding: 24px;
    }

    .entry-title {
        font-size: 28px;
    }
}

/* Entry Meta */
.entry-meta {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    font-size: 14px;
    color: #666;
    justify-content: center;
}

.entry-meta a {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.entry-meta a:hover {
    color: #0056b3;
}

.posted-on,
.byline {
    display: flex;
    align-items: center;
    gap: 8px;
}

.posted-on::before,
.byline::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 4px;
    background: #007bff;
    border-radius: 50%;
    margin-right: 8px;
}

.posted-on:first-child::before,
.byline:first-child::before {
    display: none;
}

/* Featured Image */
.post-thumbnail {
    width: 100%;
    margin: 0;
    overflow: hidden;
    max-height: 500px;
}

.post-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Entry Content */
.entry-content {
    padding: 2rem 0;
}

.entry-content p {
    margin: 0 0 20px 0;
    font-size: 16px;
    line-height: 1.8;
    color: #444;
}

.entry-content p:last-child {
    margin-bottom: 0;
}

.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    margin: 35px 0 20px 0;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.3;
}

.entry-content h2 {
    font-size: 28px;
    padding-bottom: 15px;
    border-bottom: 2px solid #007bff;
}

.entry-content h3 {
    font-size: 22px;
}

.entry-content h4 {
    font-size: 18px;
}

.entry-content h5 {
    font-size: 16px;
}

.entry-content h6 {
    font-size: 14px;
}

.entry-content ul,
.entry-content ol {
    margin: 20px 0 20px 30px;
    color: #444;
}

.entry-content li {
    margin-bottom: 12px;
    font-size: 16px;
    line-height: 1.7;
}

.entry-content a {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    border-bottom: 1px solid transparent;
}

.entry-content a:hover {
    color: #0056b3;
    border-bottom-color: #0056b3;
}

.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 30px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.entry-content blockquote {
    border-left: 4px solid #007bff;
    padding: 20px 25px;
    margin: 30px 0;
    background: #f8f9fa;
    font-style: italic;
    color: #555;
    border-radius: 4px;
}

.entry-content blockquote p {
    margin: 0;
}

.entry-content code {
    background: #f5f5f5;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    color: #d63384;
}

.entry-content pre {
    background: #1e1e1e;
    color: #d4d4d4;
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 20px 0;
    font-size: 14px;
    line-height: 1.5;
}

.entry-content pre code {
    background: none;
    padding: 0;
    color: inherit;
}

.entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 14px;
}

.entry-content table th,
.entry-content table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.entry-content table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #1a1a1a;
}

.entry-content table tr:hover {
    background: #f8f9fa;
}

/* Page Links */
.page-links {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid #eee;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 14px;
}

.page-links a,
.page-links span {
    padding: 8px 12px;
    background: #f8f9fa;
    border-radius: 4px;
    text-decoration: none;
    color: #007bff;
    transition: all 0.3s ease;
}

.page-links a:hover {
    background: #007bff;
    color: #fff;
}

.page-links .post-page-numbers {
    background: #007bff;
    color: #fff;
}

/* Entry Footer */
.entry-footer {
    padding: 30px 40px;
    border-top: 1px solid #eee;
    background: #f8f9fa;
}

.entry-footer-content {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

/* Category Tags */
.cat-links,
.tags-links {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.cat-links a,
.tags-links a {
    display: inline-block;
    background: #f0f4ff;
    color: #007bff;
    padding: 6px 14px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.cat-links a:hover,
.tags-links a:hover {
    background: #007bff;
    color: #fff;
}

.cat-links-label,
.tags-links-label {
    font-weight: 600;
    color: #1a1a1a;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Author Info Box */
.about-author {
    margin-top: 50px;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #007bff;
}

.author-box-title {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.author-box-content {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.author-box-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

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

.author-box-text {
    flex: 1;
}

.author-box-text p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #666;
}

/* Related Posts Section */
.related-posts {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid #eee;
}

.related-posts-title {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 30px;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 1024px) {
    .related-posts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .related-posts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .entry-content {
        padding: 30px 24px;
    }

    .entry-footer {
        padding: 24px;
    }

    .author-box-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

.related-post-item {
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.related-post-item:hover {
    transform: translateY(-4px);
}

.related-post-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.related-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.related-post-content {
    padding: 20px;
}

.related-post-title {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 10px 0;
}

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

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

.related-post-meta {
    font-size: 12px;
    color: #999;
}


/* Comments Area */
.comments-area {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid #eee;
}

/* Comments Title */
.comments-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #007bff;
}

.comments-title span {
    font-style: italic;
    color: #007bff;
}

/* Comments Navigation */
.comments-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.comments-pagination a,
.comments-pagination span {
    padding: 8px 16px;
    border-radius: 6px;
    border: 1px solid #ddd;
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 14px;
}

.comments-pagination a:hover {
    background: #007bff;
    color: #fff;
    border-color: #007bff;
}

.comments-pagination .screen-reader-text {
    display: none;
}

/* Comment List */
.comment-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.comment-list .children {
    list-style: none;
    padding-left: 40px;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .comment-list .children {
        padding-left: 20px;
    }
}

/* Individual Comment */
.comment {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.comment:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.comment-author {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.comment-author .avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    flex-shrink: 0;
    overflow: hidden;
}

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

.comment-author-info {
    flex: 1;
}

.comment-author b {
    font-size: 15px;
    color: #1a1a1a;
    display: block;
    margin-bottom: 4px;
}

.comment-author b a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.3s ease;
}

.comment-author b a:hover {
    color: #007bff;
}

.comment-author .says {
    display: none;
}

.comment-metadata {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: #999;
    flex-wrap: wrap;
}

.comment-metadata a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.comment-metadata a:hover {
    color: #0056b3;
}

.comment-awaiting-moderation {
    display: inline-block;
    background: #fff3cd;
    color: #856404;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    margin: 0 0 10px 0;
}

/* Comment Content */
.comment-content {
    margin: 16px 0;
    color: #666;
    font-size: 15px;
    line-height: 1.7;
}

.comment-content p {
    margin: 0 0 10px 0;
}

.comment-content p:last-child {
    margin-bottom: 0;
}

.comment-content a {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.comment-content a:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* Comment Actions */
.comment-reply-link,
.comment-edit-link {
    display: inline-block;
    padding: 6px 12px;
    background: #f0f4ff;
    color: #007bff;
    border-radius: 4px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 10px;
    margin-right: 8px;
}

.comment-reply-link:hover,
.comment-edit-link:hover {
    background: #007bff;
    color: #fff;
}

.comment-reply-link::before {
    content: '↩ ';
    margin-right: 4px;
}

.comment-edit-link::before {
    content: '✎ ';
    margin-right: 4px;
}

/* Pingback */
.pingback {
    border-left: 4px solid #ddd;
    padding: 16px 20px;
    margin-bottom: 20px;
    background: #f8f9fa;
    border-radius: 4px;
}

.pingback .comment-author {
    margin-bottom: 8px;
}

.pingback .comment-author .avatar {
    display: none;
}

/* No Comments */
.no-comments {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    color: #666;
    font-size: 16px;
    margin: 30px 0;
    border-left: 4px solid #007bff;
}

/* Comment Form */
#respond {
    margin-top: 40px;
}

#reply-title {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #007bff;
}

.comment-form-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.comment-form-wrapper .comment-form-comment {
    grid-column: 1 / -1;
}

.comment-form-wrapper .form-submit {
    grid-column: 1 / -1;
}

@media (max-width: 768px) {
    .comment-form-wrapper {
        grid-template-columns: 1fr;
    }
}

.comment-form p {
    margin: 0 0 20px 0;
}

.comment-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #1a1a1a;
    font-size: 14px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
    background: #f8f9fa;
    transition: all 0.3s ease;
    color: #333;
}

.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form input[type="url"]:focus,
.comment-form textarea:focus {
    outline: none;
    background: #fff;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.comment-form textarea {
    resize: vertical;
    min-height: 140px;
    font-size: 14px;
    line-height: 1.6;
}

.comment-form .required {
    color: #dc3545;
    font-weight: 700;
}

.comment-form-cookies-consent {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 20px 0;
}

.comment-form-cookies-consent input[type="checkbox"] {
    margin-top: 4px;
    cursor: pointer;
}

.comment-form-cookies-consent label {
    margin: 0;
    font-weight: normal;
    cursor: pointer;
    font-size: 13px;
}

/* Form Submit Button */
.form-submit {
    margin-top: 20px;
}

.form-submit input[type="submit"] {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: #fff;
    padding: 12px 40px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.form-submit input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.4);
}

.form-submit input[type="submit"]:active {
    transform: translateY(0);
}

/* Comment Notes */
.comment-notes,
.logged-in-as {
    background: #f0f4ff;
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 13px;
    color: #666;
    margin-bottom: 20px;
    border-left: 4px solid #007bff;
}

.comment-notes a,
.logged-in-as a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.comment-notes a:hover,
.logged-in-as a:hover {
    color: #0056b3;
}

/* Responsive */
@media (max-width: 768px) {
    .comments-area {
        margin-top: 40px;
        padding-top: 30px;
    }

    .comments-title {
        font-size: 20px;
    }

    .comment {
        padding: 16px;
    }

    .comment-author {
        gap: 12px;
    }

    .comment-author .avatar {
        width: 40px;
        height: 40px;
    }

    #respond {
        padding: 30px 20px;
    }

    #reply-title {
        font-size: 20px;
    }
}


.single-posts-container{
    width: 700px;
    margin: auto;
}



/* Mobile Responsive - Tablet and Below */
@media (max-width: 1024px) {
    .site-content {
        flex-direction: column;
        gap: 20px;
        padding: 0 20px;
    }

    #primary {
        width: 100%;
        flex: 1;
    }

    .sidebar {
        width: 100%;
    }

    .single-posts-container {
        padding: 0;
    }
}

/* Mobile Responsive - Medium Devices (768px and below) */
@media (max-width: 768px) {
    .main-content {
        padding: 40px 0;
    }

    .single-posts-container {
        margin: 0 auto;
        padding: 0 15px;
        max-width: fit-content;
    }

    /* Entry Header */
    .entry-header {
        padding: 24px 0;
        border-bottom: 1px solid #eee;
    }

    .entry-title {
        font-size: 28px !important;
        margin-bottom: 15px;
    }

    .entry-meta {
        gap: 12px !important;
        font-size: 12px !important;
        flex-wrap: wrap;
    }

    /* Featured Image */
    .post-thumbnail {
        margin: 20px 0;
    }

    .post-thumbnail img {
        width: 100%;
        height: auto;
    }

    /* Entry Content */
    .entry-content {
        padding: 30px 0;
        font-size: 15px;
    }

    .entry-content h2 {
        font-size: 22px !important;
    }

    .entry-content h3 {
        font-size: 18px !important;
    }

    .entry-content h4 {
        font-size: 16px !important;
    }

    .entry-content p {
        font-size: 15px;
        line-height: 1.7;
    }

    .entry-content img {
        max-width: 100%;
        height: auto;
        margin: 20px 0;
    }

    .entry-content blockquote {
        padding: 16px;
        margin: 20px 0;
    }

    .entry-content code {
        font-size: 12px;
    }

    .entry-content pre {
        padding: 16px;
        margin: 20px 0;
        font-size: 12px;
        overflow-x: auto;
    }

    /* Page Links */
    .page-links {
        gap: 6px;
        font-size: 12px;
        margin-top: 20px;
    }

    .page-links a,
    .page-links span {
        padding: 6px 10px;
        font-size: 12px;
    }

    /* Entry Footer */
    .entry-footer {
        padding: 20px 0;
        background: transparent;
        border-top: 1px solid #eee;
    }

    .entry-footer-content {
        gap: 15px;
        flex-direction: column;
    }

    .cat-links,
    .tags-links {
        gap: 8px;
    }

    .cat-links a,
    .tags-links a {
        padding: 4px 10px;
        font-size: 11px;
    }

    /* About Author Box */
    .about-author {
        margin-top: 30px;
        padding: 20px;
        border-radius: 6px;
    }

    .author-box-title {
        font-size: 14px;
        margin-bottom: 12px;
    }

    .author-box-content {
        gap: 12px;
    }

    .author-box-avatar {
        width: 50px;
        height: 50px;
    }

    .author-box-text p {
        font-size: 13px;
    }

    /* Related Posts */
    .related-posts {
        margin-top: 40px;
        padding-top: 30px;
    }

    .related-posts-title {
        font-size: 20px;
        margin-bottom: 20px;
    }

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

    .related-post-item {
        border-radius: 6px;
    }

    .related-post-image {
        height: 180px;
    }

    .related-post-content {
        padding: 16px;
    }

    .related-post-title {
        font-size: 14px;
    }

    .related-post-meta {
        font-size: 11px;
    }

    /* Comments Area */
    .comments-area {
        margin-top: 40px;
        padding-top: 30px;
        max-width: 100%;
    }

    .comments-title {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .comment {
        padding: 16px;
        margin-bottom: 16px;
    }

    .comment-author {
        gap: 12px;
        margin-bottom: 12px;
    }

    .comment-author .avatar {
        width: 40px;
        height: 40px;
    }

    .comment-author b {
        font-size: 13px;
    }

    .comment-metadata {
        font-size: 11px;
        gap: 8px;
    }

    .comment-content {
        font-size: 13px;
        margin: 12px 0;
    }

    #respond {
        padding: 25px 0;
        border: none;
        background: transparent;
    }

    #reply-title {
        font-size: 20px;
    }

    .comment-form-wrapper {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .comment-form-wrapper .comment-form-comment {
        grid-column: 1;
    }

    .comment-form input[type="text"],
    .comment-form input[type="email"],
    .comment-form input[type="url"],
    .comment-form textarea {
        padding: 10px 12px;
        font-size: 14px;
    }

    .comment-form textarea {
        min-height: 100px;
    }

    .form-submit input[type="submit"] {
        padding: 10px 24px;
        font-size: 14px;
    }

    .comment-form label {
        font-size: 13px;
    }

    /* Post Navigation */
    .post-navigation {
        grid-template-columns: 1fr;
        gap: 16px;
        margin: 30px 0;
        padding: 20px 0;
    }

    .nav-previous a,
    .nav-next a {
        padding: 16px;
        border-radius: 6px;
    }

    .nav-subtitle {
        font-size: 11px;
    }

    .nav-title {
        font-size: 16px;
    }
}

/* Mobile Responsive - Small Devices (480px and below) */
@media (max-width: 480px) {
    .main-content {
        padding: 30px 0;
    }

    .single-posts-container {
        padding: 0 12px;
    }

    /* Entry Header */
    .entry-header {
        padding: 16px 0;
    }

    .entry-title {
        font-size: 22px !important;
        margin-bottom: 12px;
    }

    .entry-meta {
        gap: 10px !important;
        font-size: 11px !important;
    }

    /* Featured Image */
    .post-thumbnail {
        margin: 16px 0;
    }

    /* Entry Content */
    .entry-content {
        padding: 20px 0;
        font-size: 14px;
    }

    .entry-content h2 {
        font-size: 18px !important;
        margin-top: 20px;
    }

    .entry-content h3 {
        font-size: 16px !important;
    }

    .entry-content h4 {
        font-size: 14px !important;
    }

    .entry-content p {
        font-size: 14px;
        line-height: 1.6;
    }

    .entry-content ul,
    .entry-content ol {
        margin-left: 16px;
    }

    .entry-content li {
        font-size: 14px;
        margin-bottom: 8px;
    }

    .entry-content blockquote {
        padding: 12px;
        margin: 16px 0;
        font-size: 13px;
    }

    .entry-content pre {
        padding: 12px;
        margin: 16px 0;
        font-size: 11px;
    }

    .page-links {
        gap: 4px;
        font-size: 11px;
        margin-top: 16px;
    }

    /* Entry Footer */
    .entry-footer {
        padding: 16px 0;
    }

    .cat-links,
    .tags-links {
        gap: 6px;
        flex-direction: column;
    }

    .cat-links a,
    .tags-links a {
        padding: 4px 8px;
        font-size: 10px;
    }

    /* About Author Box */
    .about-author {
        margin-top: 24px;
        padding: 16px;
        border-radius: 6px;
    }

    .author-box-title {
        font-size: 13px;
        margin-bottom: 12px;
    }

    .author-box-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 12px;
    }

    .author-box-avatar {
        width: 45px;
        height: 45px;
    }

    .author-box-text p {
        font-size: 12px;
        margin: 0;
    }

    /* Related Posts */
    .related-posts {
        margin-top: 30px;
        padding-top: 20px;
    }

    .related-posts-title {
        font-size: 18px;
        margin-bottom: 16px;
    }

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

    .related-post-image {
        height: 150px;
    }

    .related-post-content {
        padding: 12px;
    }

    .related-post-title {
        font-size: 13px;
        margin-bottom: 6px;
    }

    .related-post-meta {
        font-size: 10px;
    }

    /* Comments Area */
    .comments-area {
        margin-top: 30px;
        padding-top: 20px;
        max-width: 100%;
    }

    .comments-title {
        font-size: 18px;
        margin-bottom: 16px;
    }

    .comment {
        padding: 12px;
        margin-bottom: 12px;
        border-radius: 6px;
    }

    .comment-author {
        gap: 10px;
        margin-bottom: 10px;
    }

    .comment-author .avatar {
        width: 35px;
        height: 35px;
    }

    .comment-author b {
        font-size: 12px;
    }

    .comment-metadata {
        font-size: 10px;
        gap: 6px;
    }

    .comment-content {
        font-size: 12px;
        margin: 10px 0;
    }

    #respond {
        padding: 20px 0;
    }

    #reply-title {
        font-size: 18px;
    }

    .comment-form input[type="text"],
    .comment-form input[type="email"],
    .comment-form input[type="url"],
    .comment-form textarea {
        padding: 8px 10px;
        font-size: 13px;
    }

    .comment-form textarea {
        min-height: 80px;
    }

    .comment-form label {
        font-size: 12px;
    }

    .form-submit input[type="submit"] {
        width: 100%;
        padding: 10px 20px;
        font-size: 13px;
    }

    .comment-form-cookies-consent label {
        font-size: 11px;
    }

    /* Post Navigation */
    .post-navigation {
        grid-template-columns: 1fr;
        gap: 12px;
        margin: 20px 0;
        padding: 16px 0;
    }

    .nav-previous a,
    .nav-next a {
        padding: 12px;
    }

    .nav-subtitle {
        font-size: 10px;
    }

    .nav-title {
        font-size: 14px;
    }

    /* Sidebar */
    .sidebar {
        width: 100%;
    }
}

/* Extra Small Devices (360px and below) */
@media (max-width: 360px) {
    .single-posts-container {
        padding: 0 10px;
    }

    .entry-title {
        font-size: 20px !important;
    }

    .entry-meta {
        font-size: 10px !important;
    }

    .entry-content {
        font-size: 13px;
    }

    .entry-content h2 {
        font-size: 16px !important;
    }

    .entry-content h3 {
        font-size: 14px !important;
    }

    .entry-content p {
        font-size: 13px;
    }

    .category-post-card {
        grid-template-columns: 1fr;
    }

    .category-post-image {
        height: 120px;
    }
}


/* Category Archive */
.category-archive {
    background: #f8f9fa;
    padding: 60px 0;
    min-height: 100vh;
}

/* Single Posts Container */
.single-posts-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Category Header */
.category-header {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    margin-bottom: 40px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.category-header-content {
    text-align: center;
}

.category-title {
    font-size: 42px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 15px 0;
    line-height: 1.2;
}

.category-description {
    font-size: 16px;
    color: #666;
    margin: 0 0 20px 0;
    line-height: 1.6;
}

.category-post-count {
    font-size: 14px;
    color: #999;
    margin: 0;
    font-weight: 500;
}

/* Category Container */
.category-container {
    display: flex;
    flex-direction: column;
}

/* Posts Grid - Single Column */
.category-posts-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Category Post Card - List Style */
.category-post-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 0;
}

.category-post-card:hover {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .category-post-card {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* Post Image */
.category-post-image {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: linear-gradient(135deg, #87CEEB 0%, #E0BBE4 50%, #FFDAB9 100%);
}

.category-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.category-post-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(135, 206, 235, 0.3) 0%, rgba(224, 187, 228, 0.3) 50%, rgba(255, 218, 185, 0.3) 100%);
    z-index: 1;
}

/* Post Content */
.category-post-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.category-post-title {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.4;
}

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

.category-post-title a:hover {
    color: #007bff;
}

/* Post Meta */
.category-post-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 13px;
    color: #999;
}

.category-post-category {
    color: #007bff;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Post Excerpt */
.category-post-excerpt {
    font-size: 15px;
    line-height: 1.6;
    color: #666;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Read More Link */
.category-read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #007bff;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: gap 0.3s ease, color 0.3s ease;
    width: fit-content;
}

.category-read-more:hover {
    color: #0056b3;
    gap: 10px;
}

/* No Posts Message */
.no-posts-category {
    background: #fff;
    padding: 60px 40px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.no-posts-category-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.no-posts-category h3 {
    font-size: 24px;
    color: #1a1a1a;
    margin: 0 0 10px 0;
}

.no-posts-category p {
    font-size: 16px;
    color: #666;
    margin: 0;
}

/* Pagination */
.category-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.category-pagination a,
.category-pagination span {
    padding: 8px 12px;
    border-radius: 4px;
    border: 1px solid #ddd;
    color: #007bff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 14px;
}

.category-pagination a:hover {
    background: #007bff;
    color: #fff;
    border-color: #007bff;
}

.category-pagination .page-numbers.current {
    background: #007bff;
    color: #fff;
    border-color: #007bff;
}

/* Responsive Design */
@media (max-width: 768px) {
    .category-archive {
        padding: 40px 0;
        width: 100%;
    }

    .single-posts-container {
        padding: 0 15px;
        max-width: fit-content;
    }

    .category-header {
        padding: 30px 20px;
        margin-bottom: 30px;
    }

    .category-title {
        font-size: 28px;
    }

    .category-description {
        font-size: 14px;
    }

    .category-post-card {
        grid-template-columns: 1fr;
    }

    .category-post-image {
        height: 200px;
    }

    .category-post-content {
        padding: 20px;
    }

    .category-post-title {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .category-header {
        padding: 20px 15px;
    }

    .category-title {
        font-size: 22px;
    }

    .category-post-image {
        height: 150px;
    }

    .category-post-content {
        padding: 16px;
    }

    .category-post-title {
        font-size: 16px;
    }

    .category-post-excerpt {
        font-size: 14px;
    }
}
