/* Urdu category pages only */
.urdu-category-shell {
    min-height: 100vh;
    background: #f7f3ec;
    color: #171717;
}

.urdu-category-page {
    --urdu-font-naskh: "Noto Naskh Arabic", "Gulzar", serif;
    --urdu-red: #b51218;
    --urdu-blue: #1f5fae;
    --urdu-cream: #f7f3ec;
    --urdu-card: #fffefa;
    --urdu-border: #eadfce;
    direction: rtl;
    max-width: 1180px;
    margin: 0 auto;
    padding: 34px 22px 54px;
    font-family: var(--urdu-font-main);
}

.urdu-category-page a {
    color: inherit;
    text-decoration: none;
}

.urdu-category-page img {
    max-width: 100%;
}

@media (max-width: 900px) {
    .urdu-category-shell .qq-dispatch-nav--urdu .qq-dispatch-actions {
        top: 4px;
    }
}

.urdu-category-hero {
    position: relative;
    overflow: hidden;
    margin-bottom: 26px;
    padding: 28px 30px 30px;
    border-top: 4px solid var(--urdu-red);
    background: #fffefa;
    box-shadow: 0 16px 34px rgba(37, 31, 25, .07);
}

.urdu-breadcrumb {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 9px;
    margin-bottom: 16px;
    color: #8b1b1b;
    font-family: var(--urdu-font-naskh);
    font-size: 15px;
    line-height: 1.8;
}

.urdu-breadcrumb a {
    color: #8b1b1b;
    font-weight: 700;
}

.urdu-category-hero h1 {
    margin: 0 0 10px;
    color: #111827;
    font-size: 42px;
    font-weight: 400;
    line-height: 1.55;
}

.urdu-category-hero p {
    max-width: 720px;
    margin: 0;
    color: #4b5563;
    font-family: var(--urdu-font-naskh);
    font-size: 18px;
    line-height: 2;
}

.urdu-category-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 292px;
    gap: 28px;
    align-items: start;
    direction: ltr;
}

.urdu-category-posts,
.urdu-most-read {
    direction: rtl;
}

.urdu-post-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.urdu-post-card {
    overflow: hidden;
    border: 1px solid var(--urdu-border);
    border-radius: 4px;
    background: var(--urdu-card);
    box-shadow: 0 12px 28px rgba(37, 31, 25, .08);
}

.urdu-post-image {
    display: block;
    background: #e9e0d2;
}

.urdu-post-image img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.urdu-post-body {
    padding: 16px 18px 18px;
}

.urdu-post-kicker {
    display: block;
    margin-bottom: 7px;
    color: var(--urdu-red);
    font-family: var(--urdu-font-naskh);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.7;
}

.urdu-post-body h2 {
    margin: 0 0 8px;
    color: var(--urdu-blue);
    font-size: 25px;
    font-weight: 400;
    line-height: 1.65;
}

.urdu-post-body h2 a:hover,
.urdu-most-read h3 a:hover,
.urdu-breadcrumb a:hover {
    color: var(--urdu-red);
}

.urdu-post-body p {
    margin: 0 0 10px;
    color: #1f2937;
    font-family: var(--urdu-font-naskh);
    font-size: 15px;
    line-height: 2;
}

.urdu-post-body time {
    display: block;
    color: #9a8f80;
    direction: ltr;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 13px;
    text-align: right;
}

.urdu-most-read {
    position: sticky;
    top: 16px;
    overflow: hidden;
    border: 1px solid var(--urdu-border);
    border-top: 5px solid #111;
    border-radius: 4px;
    background: #fffdf8;
    box-shadow: 0 14px 30px rgba(30, 22, 14, .08);
}

.urdu-most-read h2 {
    margin: 0;
    padding: 22px 18px;
    border-bottom: 1px solid #e8dfd0;
    color: #111;
    font-family: var(--urdu-font-main, "Jameel Noori Nastaleeq", "Gulzar", "Noto Naskh Arabic", serif);
    font-size: 28px;
    font-weight: 700;
    line-height: 1.6;
    text-align: center;
}

.urdu-most-read ol {
    margin: 0;
    padding: 0 12px;
    list-style: none;
}

.urdu-most-read li {
    display: grid;
    grid-template-columns: 22px 86px minmax(0, 1fr);
    gap: 8px;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #eee5d8;
    direction: rtl;
}

.urdu-most-read li:last-child {
    border-bottom: 0;
}

.urdu-most-read-image {
    grid-column: 2;
    display: block;
    width: 86px;
    height: 62px;
    overflow: hidden;
    border-radius: 7px;
    background: #eee8dd;
}

.urdu-most-read-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.urdu-most-read-number,
.urdu-most-read li span {
    grid-column: 1;
    color: #a30d17;
    direction: ltr;
    font-family: Arial, sans-serif;
    font-size: 24px;
    font-weight: 800;
    line-height: 1;
    text-align: center;
}

.urdu-most-read-title,
.urdu-most-read li h3 {
    grid-column: 3;
    margin: 0;
    color: #101820;
    font-family: var(--urdu-font-main, "Jameel Noori Nastaleeq", "Gulzar", "Noto Naskh Arabic", serif);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.55;
    text-align: center;
}

.urdu-most-read-title a,
.urdu-most-read li h3 a {
    color: inherit;
    text-decoration: none;
}

.urdu-most-read p {
    margin: 0;
    padding: 14px;
    color: #4b5563;
    font-family: var(--urdu-font-naskh);
    font-size: 14px;
}

.urdu-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 26px;
    direction: rtl;
}

.urdu-pagination a,
.urdu-pagination span {
    min-width: 42px;
    padding: 8px 14px;
    border: 1px solid var(--urdu-border);
    border-radius: 999px;
    background: #fffefa;
    color: #111827;
    font-family: var(--urdu-font-naskh);
    font-size: 14px;
    text-align: center;
}

.urdu-pagination a:hover {
    border-color: var(--urdu-red);
    color: var(--urdu-red);
}

.urdu-empty-state {
    padding: 34px 22px;
    border: 1px solid var(--urdu-border);
    background: var(--urdu-card);
    text-align: center;
}

.urdu-empty-state h2 {
    margin: 0 0 8px;
    color: #111827;
    font-size: 28px;
    font-weight: 400;
}

.urdu-empty-state p {
    margin: 0;
    color: #4b5563;
    font-family: var(--urdu-font-naskh);
    font-size: 16px;
    line-height: 2;
}

@media (max-width: 920px) {
    .urdu-category-layout {
        grid-template-columns: 1fr;
    }

    .urdu-most-read {
        position: static;
    }
}

@media (max-width: 760px) {
    .urdu-post-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .urdu-post-card {
        display: grid;
        grid-template-columns: 43% minmax(0, 64%);
        direction: ltr;
        min-height: 118px;
        overflow: hidden;
        border-radius: 8px;
    }

    .urdu-post-image {
        grid-column: 1;
        width: 100%;
        height: 118px;
        overflow: hidden;
    }

    .urdu-post-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .urdu-post-body {
        grid-column: 2;
        direction: rtl;
        text-align: center;
        padding: 12px 18px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        min-width: 0;
    }

    .urdu-post-kicker {
        display: none;
        margin: 0 0 5px;
        color: #b91c1c;
        font-size: 12px;
        line-height: 1.5;
    }

    .urdu-post-body h2 {
        
		 margin: 0;
		width: 100%;
		text-align: center;
		font-size: 20px;
		font-weight: 700;
		line-height: 1.65;
    }

    .urdu-post-body p {
        display: none;
    }

    .urdu-post-body time {
        display: none;
		text-align: center;
    }

    .urdu-most-read {
        margin-top: 24px;
    }

    .urdu-most-read h2 {
        padding: 18px 14px;
        font-size: 24px;
    }

    .urdu-most-read ol {
        padding: 0 10px;
    }

    .urdu-most-read li {
        grid-template-columns: 22px 82px minmax(0, 1fr);
        gap: 8px;
        padding: 14px 0;
    }

    .urdu-most-read-number,
    .urdu-most-read li span {
        font-size: 23px;
    }

    .urdu-most-read-image {
        width: 82px;
        height: 60px;
        border-radius: 7px;
    }

    .urdu-most-read-title,
    .urdu-most-read li h3 {
        font-size: 19px;
        line-height: 1.55;
    }
}

@media (max-width: 680px) {
    .urdu-category-page {
        padding: 20px 12px 38px;
    }

    .urdu-category-hero {
        padding: 22px 16px 24px;
    }

    .urdu-category-hero h1 {
        font-size: 34px;
    }

    .urdu-category-hero p {
        font-size: 15px;
    }

}

@media (max-width: 430px) {
    .urdu-post-body h2 {
        font-size: 19px;
    }
}
/* this code was for changing title color from blue to black*/
/* for desktop
.urdu-category-page .urdu-post-body h2 a {
    color: #101820 !important;
}
 */
/* for mobile 
.urdu-category-page .urdu-post-body h2 a:hover {
    color: #b91c1c !important;
}
@media (max-width: 760px) {
    .urdu-category-page .urdu-post-body h2 a {
        color: #101820 !important;
    }
}
*/
