/* =========================================================
   CATEGORY / ARCHIVE HEADER
========================================================= */

.cat-header {
    padding: 26px 0 8px;
}

.cat-header h1 {
    font-family: 'Noto Serif Devanagari', serif;
    font-weight: 800;
    font-size: 34px;
    line-height: 1.2;

    margin: 0 0 8px;

    color: var(--indigo-dark);
}

.cat-header .archive-description,
.cat-header p {
    font-family: 'Mukta', sans-serif;

    font-size: 14px;
    line-height: 1.6;

    color: var(--text-muted);

    max-width: 640px;

    margin: 0;
}

.archive-description p {
    font-family: 'Mukta', sans-serif;

    margin: 0;
}


/* =========================================================
   ARCHIVE PAGE LAYOUT
========================================================= */

.page {
    margin-top: 20px;
}


/* =========================================================
   ARCHIVE POST ROW
========================================================= */

.post-row {
    display: flex;

    gap: 20px;

    background: var(--white);

    border: 1px solid var(--line);

    padding: 18px;

    margin-bottom: 20px;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.post-row:hover {
    border-color: rgba(32, 22, 160, 0.24);

    box-shadow:
        0 8px 24px
        rgba(15, 11, 84, 0.06);
}


/* =========================================================
   ARCHIVE POST IMAGE
========================================================= */

.post-row .img {
    width: 220px;
    height: 150px;

    flex-shrink: 0;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #ededfb 0%,
            #d3d1f4 50%,
            #aaa6e3 100%
        );
}

.post-row .img img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;

    transition: transform 0.35s ease;
}

.post-row:hover .img img {
    transform: scale(1.025);
}


/* =========================================================
   ARCHIVE POST BODY
========================================================= */

.post-row .body {
    flex: 1;

    min-width: 0;

    display: flex;

    flex-direction: column;
}


/* =========================================================
   POST CATEGORY
========================================================= */

.post-row .cat {
    color: var(--indigo);

    text-decoration: none;

    transition: color 0.2s ease;
}

.post-row .cat:hover {
    color: var(--brick);
}


/* =========================================================
   POST TITLE
========================================================= */

.post-row h2 {
    font-family: 'Noto Serif Devanagari', serif;

    font-weight: 700;

    font-size: 24px;

    line-height: 1.3;

    margin: 6px 0 10px;

    color: var(--ink);
}

.post-row h2 a {
    color: inherit;

    text-decoration: none;

    transition: color 0.2s ease;
}

.post-row h2 a:hover {
    color: var(--brick);
}


/* =========================================================
   DUAL LANGUAGE AREA
========================================================= */

.post-row .dual {
    display: flex;

    gap: 16px;

    padding-top: 10px;

    border-top: 1px solid var(--line);
}

.post-row .dual .col {
    flex: 1;

    min-width: 0;
}

.post-row .dual p {
    margin: 6px 0 0;

    font-family: 'Mukta', sans-serif;

    font-size: 14px;

    line-height: 1.58;

    color: var(--text-soft);

    display: -webkit-box;

    -webkit-line-clamp: 2;

    -webkit-box-orient: vertical;

    overflow: hidden;
}


/* =========================================================
   POST FOOTER
========================================================= */

.post-row .foot {
    margin-top: 12px;

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 16px;
}

.post-row .foot .meta {
    color: var(--text-muted);
}


/* =========================================================
   PAGINATION
========================================================= */

.pagination {
    display: flex;

    justify-content: center;

    align-items: center;

    gap: 8px;

    margin: 34px 0 10px;

    font-family: 'Work Sans', sans-serif;

    font-weight: 600;

    font-size: 13px;

    flex-wrap: wrap;
}

.pagination .page-numbers {
    min-width: 34px;
    height: 34px;

    padding: 0 10px;

    display: flex;

    align-items: center;

    justify-content: center;

    border: 1px solid var(--line);

    background: var(--white);

    text-decoration: none;

    color: var(--ink);

    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}

.pagination a.page-numbers:hover {
    background: rgba(32, 22, 160, 0.07);

    border-color: rgba(32, 22, 160, 0.28);

    color: var(--brick);
}

.pagination .current {
    background: var(--brick);

    color: var(--white);

    border-color: var(--brick);
}


/* =========================================================
   ADVERTISEMENTS — ARCHIVE / CATEGORY
========================================================= */

.ndd-archive-ad-wrap {
    width: 100%;
}

.ndd-archive-ad-wrap-top {
    margin-top: 22px;
}

.ndd-ad {
    width: 100%;
    max-width: 100%;

    text-align: center;
}

.ndd-ad a {
    display: block;

    width: 100%;
}

.ndd-ad-image {
    display: block;

    max-width: 100%;
    height: auto;

    margin: 0 auto;
}

.ndd-ad-leaderboard {
    max-width: 728px;

    margin: 0 auto 26px;
}

.ndd-ad-archive-infeed {
    margin: 30px auto;
}

.ndd-ad-sidebar {
    width: 100%;

    margin: 0 0 24px;
}

.ndd-ad-sidebar-bottom {
    margin-top: 24px;
}

.ndd-ad-sidebar .ndd-ad-image {
    width: 100%;
    height: auto;
}