/* Archive Page Styles */
.nagarikpana-header-title {
    background: #f9f9f9;
    padding: 40px 0;
    text-align: center;
    border-bottom: 1px solid #eee;
    margin-bottom: 40px;
}

.nagarikpana-header-title h1 {
    margin: 0;
    color: var(--primary-color);
    font-size: 36px;
    font-weight: 800;
}

.nagarikpana-header-title .taxonomy-description {
    margin-top: 10px;
    color: #666;
    font-size: 16px;
}

/* Archive Grid */
.archive-wrapper {
    margin-bottom: 30px;
}

/* Featured Archive Item */
.archive-item-featured {
    display: flex;
    width: 100%;
    margin-bottom: 30px;
    background: #2b3034;
    overflow: hidden;
    border-radius: 4px;
}

.archive-item-featured .featured-thumb {
    width: 50%;
    margin: 0;
    position: relative;
}

.archive-item-featured .featured-thumb a {
    display: block;
    height: 100%;
}

.archive-item-featured .featured-thumb img {
    width: 100%;
    height: 100%;
    min-height: 400px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}

.archive-item-featured:hover .featured-thumb img {
    transform: scale(1.05);
}

.archive-item-featured .featured-content {
    width: 50%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.archive-item-featured .entry-title {
    margin: 0 0 15px 0;
}

.archive-item-featured .entry-title a {
    color: #fff;
    font-size: 32px;
    font-weight: 700;
    text-decoration: none;
    line-height: 1.3;
}

.archive-item-featured .entry-title a:hover {
    color: var(--secondary-color);
}

.archive-item-featured .entry-excerpt {
    color: #ccc;
    font-size: 16px;
    line-height: 1.6;
}

.archive-item-featured .entry-excerpt p {
    margin: 0;
}

/* Two Column Grid */
.archive-grid-two-col {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.archive-item-half {
    width: 50%;
    padding: 0 15px;
    box-sizing: border-box;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
}

.archive-item-half .archive-thumb {
    width: 100%;
    margin-bottom: 15px;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.archive-item-half .archive-thumb img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s;
}

.archive-item-half:hover .archive-thumb img {
    transform: scale(1.05);
}

.archive-grid {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.archive-item {
    width: 33.333%;
    padding: 0 15px;
    box-sizing: border-box;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
}

.archive-thumb {
    width: 100%;
    margin-bottom: 15px;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.archive-thumb img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s;
}

.archive-thumb:hover img {
    transform: scale(1.05);
}

/* Date Badge on Image */
.image-date-badge {
    position: absolute;
    bottom: 0;
    right: 0;
    background-color: var(--secondary-color, #e11b22);
    color: #fff;
    padding: 5px 12px;
    font-size: 13px;
    font-weight: 600;
    z-index: 10;
}

.archive-item .entry-header {
    width: 100%;
}

.archive-item .entry-title {
    font-size: 20px;
    line-height: 1.3;
    margin: 0 0 10px;
    font-weight: 700;
}

.archive-item .entry-meta {
    font-size: 13px;
    color: #999;
    margin-bottom: 10px;
}

.archive-item .entry-summary {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

/* Pagination */
.pagination {
    margin-top: 40px;
    text-align: center;
    width: 100%;
}

.pagination .page-numbers {
    display: inline-block;
    padding: 8px 15px;
    background: #fff;
    border: 1px solid #ddd;
    margin: 0 3px;
    border-radius: 4px;
    font-weight: 600;
}

.pagination .current {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.pagination a:hover {
    background: var(--secondary-color);
    color: #fff;
    border-color: var(--secondary-color);
}

/* Sidebar Widget Generic */
.sidebar-widget {
    background: #fff;
    border: 1px solid #eee;
    padding: 20px;
    margin-bottom: 30px;
}

/*.sidebar-widget h3 {
    margin-top: 0;
    font-size: 18px;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 10px;
    margin-bottom: 15px;
    display: inline-block;
}*/

.sidebar-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-widget ul li {
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid #f9f9f9;
}

.sidebar-widget ul li a {
    font-weight: 500;
}

@media (max-width: 768px) {
    .archive-item {
        width: 100%;
        flex-direction: row;
    }

    .archive-thumb {
        width: 35%;
        margin-right: 15px;
        margin-bottom: 0;
    }

    .archive-thumb img {
        height: 100px;
    }

    .archive-item .entry-header {
        width: 65%;
    }


    .archive-item .entry-summary {
        display: none;
        /* Hide excerpt on mobile list view for valid cleaner look */
    }
}

/* Author Archive Header - Attractive & Simple */
/* Author Archive Header - Attractive & Simple */
.author-header-section {
    background: #fff;
    /* Clean white background */
    padding: 60px 0;
    text-align: left;
    border-bottom: 1px solid #f0f0f0;
}

.author-header-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.author-avatar {
    margin-bottom: 0;
    flex-shrink: 0;
}

.author-avatar img {
    border-radius: 50%;
    width: 150px;
    height: 150px;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    /* Soft shadow */
    transition: transform 0.3s ease;
}

.author-avatar img:hover {
    transform: translateY(-5px);
}

.author-info {
    text-align: left;
}

.author-info h1 {
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 10px;
    color: var(--primary-color);
    /* Blue as per image/theme */
}

.author-bio {
    max-width: 100%;
    margin: 0;
    color: #666;
    font-size: 16px;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .author-header-section {
        text-align: center;
        padding: 40px 0;
    }

    .author-header-wrapper {
        flex-direction: column;
        gap: 20px;
    }
}


/* Author Posts Title */
.author-posts-title {
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--text-dark);
    position: relative;
    padding-bottom: 10px;
}

.author-posts-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--secondary-color);
    margin: 10px auto 0;
}