/*
Theme Name: Modern WordPress Theme
Description: A modern, responsive WordPress theme with clean design and excellent performance.
Author: KundanSoorya
Version: 1.0
License: GPL v2 or later
Text Domain: modern-theme
*/

/* Reset and Base Styles */
/* Google Font Import - सबसे ऊपर रखें */
/* --font-custom को अपने नए फ़ॉन्ट के नाम से बदलें (जो आपने fonts.css में दिया है) */
:root {
    --font-custom: "Anek Devanagari", system-ui, -apple-system, "Noto Sans Devanagari", "Mangal", sans-serif;
}

/* Font Display Optimization for Core Web Vitals */
@font-face {
    font-family: 'Anek Devanagari';
    font-display: swap;
}

@font-face {
    font-family: 'Noto Sans Devanagari';
    font-display: swap;
}

@font-face {
    font-family: 'Hind';
    font-display: swap;
}

body {
    font-family: var(--font-custom);
}

h1,
h2,
h3 {
    font-family: var(--font-custom);
}

.entry-content,
.site-content,
.widget,
.menu,
h1,
h2,
h3,
h4,
h5,
h6,
p,
span,
div,
a,
li,
td,
th {
    font-family: var(--font-custom) !important;
}

.news-card,
.news-title,
.news-date,
.row-text,
.row-number,
.category,
.taza-khabar-perfect,
.dynamic-news-list {
    font-family: var(--font-custom) !important;
}

/* पोस्ट के नीचे/लिस्ट में दिखने वाले टैग को hide करें */
.post-tags,
.tags,
.entry-tags,
.single-post .post-tags,
.single-post .tags {
    display: none !important;
}

html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background-color: #f2f2f2;
    font-family: var(--font-custom);
    font-weight: 400;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility
}

h1 {
    font-family: var(--font-custom);
    font-weight: 700;
    line-height: 1.2
}

h2,
h3 {
    font-family: var(--font-custom);
    font-weight: 700;
    line-height: 1.25
}

h4,
h5,
h6 {
    font-family: var(--font-custom);
    font-weight: 600;
    line-height: 1.3
}

p,
a,
li,
blockquote,
cite,
small,
strong,
em,
span,
div,
section,
article,
nav,
footer,
header,
aside,
label,
table,
th,
td,
figcaption {
    font-family: var(--font-custom) !important
}

button,
input,
select,
textarea {
    font-family: var(--font-custom) !important
}

.wp-block,
.entry-content,
.site-title,
.site-description,
.menu,
nav,
.widget,
.woocommerce,
.woocommerce a,
.woocommerce button,
.woocommerce input,
.woocommerce select,
.woocommerce textarea {
    font-family: var(--font-custom) !important
}

p,
li {
    letter-spacing: .1px
}

.single-post h1.entry-title,
.single-post .post-title,
.single-post h1 {
    font-size: 50px !important;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 15px;
    text-align: center
}

@media (max-width:768px) {

    .single-post h1.entry-title,
    .single-post .post-title,
    .single-post h1 {
        font-size: 40px !important;
        line-height: 1.4;
        text-align: center
    }
}

@media (max-width:480px) {

    .single-post h1.entry-title,
    .single-post .post-title,
    .single-post h1 {
        font-size: 32px !important;
        line-height: 1.3;
        text-align: center
    }
}

.single-post .entry-content p,
.single-post .entry-content li,
.single-post .entry-content span {
    font-size: 16px !important;
    font-weight: 400;
    line-height: 1.7;
    text-align: justify
}

* {
    box-sizing: border-box
}

.main-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background: transparent;
    line-height: 1.6;
    text-align: justify
}

.single-post-container {
    background: transparent;
    border-radius: 8px;
    overflow: hidden
}

.post-header {
    padding: 0 0 20px 0;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px
}

.post-meta {
    display: flex;
    gap: 10px;
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center
}

.post-meta .post-date,
.post-meta .post-time {
    background: #f0f0f0;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 400
}

.post-title {
    font-size: 50px !important;
    font-weight: 700;
    color: #333;
    margin: 15px 0 20px;
    line-height: 1.3;
    text-align: center
}

.share-buttons {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap;
    justify-content: center
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    transition: transform .3s ease, box-shadow .3s ease
}

.share-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, .2)
}

.share-btn.facebook {
    background: #1877f2
}

.share-btn.twitter {
    background: #1da1f2
}

.share-btn.whatsapp {
    background: #25d366
}

.share-btn.copy {
    background: #666
}

.post-featured-image {
    margin: 20px 0;
    text-align: center
}

.post-featured-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, .1);
    display: block;
    margin: 0 auto
}

.post-content {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 30px;
    text-align: justify
}

.post-content p {
    margin-bottom: 16px
}

.post-content h2,
.post-content h3 {
    color: #2c3e50;
    margin: 25px 0 15px;
    font-weight: 700;
    text-align: left
}

.post-content h2 {
    font-size: 24px
}

.post-content h3 {
    font-size: 20px
}

.post-content img {
    max-width: 100%;
    height: auto;
    margin: 15px auto;
    display: block;
    border-radius: 6px
}

.post-content ul,
.post-content ol {
    padding-left: 30px;
    margin-bottom: 16px
}

.post-content li {
    margin-bottom: 8px
}

.post-content blockquote {
    border-left: 4px solid #3498db;
    padding-left: 20px;
    margin: 20px 0;
    font-style: italic;
    background: #f8f9fa;
    padding: 15px 20px;
    border-radius: 0 6px 6px 0;
    text-align: justify
}

.post-content a {
    color: #2196f3;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-bottom .3s ease
}

.post-content a:hover {
    border-bottom: 1px solid #2196f3
}

.post-tags {
    padding: 20px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    margin-bottom: 30px;
}

.post-tags a {
    display: inline-block;
    background: #e3f2fd;
    color: #1976d2;
    padding: 6px 12px;
    margin: 0 5px 5px 0;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.post-tags a:hover {
    background: #bbdefb;
}

.related-posts-section {
    margin-top: 40px;
    padding: 30px 0 0 0;
    border-top: 2px solid #e0e0e0;
    background: transparent;
    clear: both;
}

.section-title {
    font-size: 24px;
    font-weight: bold;
    color: #2196f3;
    margin-bottom: 25px;
    text-align: left;
    display: block;
    padding: 0;
}

.related-posts-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.related-post-item {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    background: transparent;
    height: 120px;
    display: flex;
}

.related-post-item:hover {
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
    background: transparent;
}

.related-post-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    width: 100%;
    height: 100%;
}

.related-post-image {
    width: 120px;
    height: 120px;
    flex-shrink: 0;
    overflow: hidden;
    position: relative;
    background: #f5f5f5;
}

.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.03);
}

.no-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f0f0;
    color: #999;
    font-size: 20px;
}

.related-post-content {
    padding: 12px 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
    min-width: 0;
}

.related-post-title {
    font-size: 15px !important;
    font-weight: 600 !important;
    margin: 0 0 5px 0 !important;
    line-height: 1.3 !important;
    color: #333 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.related-post-excerpt {
    font-size: 13px;
    color: #666;
    line-height: 1.3;
    margin: 0 0 8px 0;
    display: -webkit-box !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
}

.related-post-date {
    font-size: 11px !important;
    color: #999 !important;
    font-weight: normal !important;
    display: block !important;
    margin-top: auto !important;
}

.no-related-posts {
    text-align: center;
    color: #666;
    font-style: italic;
    padding: 30px 20px;
    background: #f9f9f9;
    border-radius: 8px;
}

@media (max-width:768px) {
    .main-content {
        padding: 15px;
        margin: 0 10px;
        background: transparent;
    }

    .post-title {
        font-size: 50px !important;
        line-height: 1.4;
    }

    .post-meta {
        flex-wrap: wrap;
        gap: 8px;
    }

    .share-buttons {
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .post-content {
        font-size: 15px;
        line-height: 1.7;
    }

    .related-posts-section {
        padding: 20px 0 0 0;
        background: transparent;
    }

    .related-posts-container {
        gap: 10px;
    }

    .related-post-item {
        height: 110px;
        background: transparent;
    }

    .related-post-item:hover {
        background: transparent;
    }

    .related-post-image {
        width: 110px;
        height: 110px;
    }

    .related-post-content {
        padding: 10px 12px;
    }

    .related-post-title {
        font-size: 14px !important;
        -webkit-line-clamp: 2;
    }

    .related-post-excerpt {
        font-size: 12px !important;
        -webkit-line-clamp: 2;
    }

    .related-post-date {
        font-size: 10px !important;
    }

    .section-title {
        font-size: 20px;
        text-align: center;
    }
}

@media (max-width:480px) {
    .main-content {
        padding: 10px;
        margin: 0 5px;
        background: transparent;
    }

    .post-title {
        font-size: 50px !important;
    }

    .share-btn {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }

    .post-content {
        font-size: 14px;
    }

    .related-post-item {
        height: 100px;
        background: transparent;
    }

    .related-post-item:hover {
        background: transparent;
    }

    .related-post-image {
        width: 100px;
        height: 100px;
    }

    .related-post-content {
        padding: 8px 10px;
    }

    .related-post-title {
        font-size: 13px !important;
        -webkit-line-clamp: 2;
    }

    .related-post-excerpt {
        font-size: 11px !important;
        -webkit-line-clamp: 1;
    }

    .related-post-date {
        font-size: 9px !important;
    }
}

@media print {

    .share-buttons,
    .related-posts-section {
        display: none;
    }

    .main-content {
        box-shadow: none;
        max-width: 100%;
        margin: 0;
        padding: 0;
        background: transparent;
    }
}

.main-content,
.single-post-container,
.related-posts-section,
.related-post-item {
    background: transparent !important;
}

.related-post-item:hover {
    background: transparent !important;
}

* {
    box-sizing: border-box;
}

.category-main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background: transparent;
}

.category-container {
    background: transparent;
}

.category-header {
    margin-bottom: 30px;
    text-align: center;
    padding: 20px 0;
    border-bottom: 2px solid #e0e0e0;
}

.category-title {
    font-size: 32px;
    font-weight: bold;
    color: #2196f3;
    margin: 0 0 15px 0;
    text-transform: capitalize;
}

.category-description {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

.category-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.category-post-item {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    background: transparent;
    height: auto;
}

.category-post-item:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
    background: transparent;
}

.category-post-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.category-post-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
    background: #f5f5f5;
}

.category-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.category-post-item:hover .category-post-image img {
    transform: scale(1.05);
}

.no-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f0f0;
    color: #999;
    font-size: 24px;
}

.category-post-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 150px;
}

.category-post-title {
    font-size: 18px !important;
    font-weight: bold !important;
    margin: 0 0 12px 0 !important;
    line-height: 1.4 !important;
    color: #333 !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 50px;
}

.category-post-excerpt {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin: 0 0 15px 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
}

.category-post-meta {
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid #f0f0f0;
}

.category-post-meta .post-date {
    font-size: 12px;
    color: #999;
    font-weight: 400;
    background: #f8f9fa;
    padding: 4px 8px;
    border-radius: 4px;
    display: inline-block;
}

.category-pagination {
    grid-column: 1/-1;
    margin-top: 40px;
    text-align: center;
}

.category-pagination .page-numbers {
    display: inline-block;
    padding: 10px 15px;
    margin: 0 5px;
    background: #f8f9fa;
    color: #333;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.category-pagination .page-numbers:hover,
.category-pagination .page-numbers.current {
    background: #2196f3;
    color: white;
}

.category-pagination .page-numbers.prev,
.category-pagination .page-numbers.next {
    font-weight: bold;
}

.no-posts-found {
    grid-column: 1/-1;
    text-align: center;
    padding: 60px 20px;
    color: #666;
    font-size: 18px;
}

@media (min-width:1200px) {
    .category-posts-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width:992px) and (max-width:1199px) {
    .category-posts-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width:769px) and (max-width:991px) {
    .category-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .category-main-content {
        padding: 15px;
    }

    .category-title {
        font-size: 28px;
    }

    .category-post-image {
        height: 180px;
    }

    .category-post-content {
        padding: 15px;
        min-height: 120px;
    }

    .category-post-title {
        font-size: 16px !important;
        min-height: 45px;
    }

    .category-post-excerpt {
        font-size: 13px;
        -webkit-line-clamp: 2;
    }
}

@media screen and (max-width:480px) {
    .category-main-content {
        padding: 10px !important;
        margin: 0 5px !important;
        background: transparent !important;
    }

    .category-header {
        padding: 15px 0 !important;
        margin-bottom: 20px !important;
    }

    .category-title {
        font-size: 24px !important;
        color: #2196f3 !important;
    }

    .category-posts-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
        grid-template-columns: none !important;
    }

    .category-post-item {
        display: flex !important;
        flex-direction: row !important;
        height: auto !important;
        min-height: 80px !important;
        background: transparent !important;
        border: 1px solid #ddd !important;
        border-radius: 8px !important;
        overflow: hidden !important;
        box-shadow: none !important;
    }

    .category-post-item:hover {
        background: transparent !important;
        transform: none !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    }

    .category-post-link {
        display: flex !important;
        width: 100% !important;
        height: 100% !important;
        text-decoration: none !important;
        color: inherit !important;
    }




    /* YouTube Thumbnail Style Image */
    .category-post-image {
        width: 100px !important;
        height: 80px !important;
        flex-shrink: 0 !important;
        background: #000 !important;
        position: relative !important;
        overflow: hidden !important;
    }

    .category-post-image img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center !important;
    }

    .category-post-item:hover .category-post-image img {
        transform: none !important;
    }

    /* Mobile Text Content - Minimal */
    .category-post-content {
        flex: 1 !important;
        padding: 8px 10px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        min-height: 80px !important;
    }

    /* Mobile Title Only */
    .category-post-title {
        font-size: 13px !important;
        font-weight: 600 !important;
        color: #333 !important;
        line-height: 1.3 !important;
        margin: 0 !important;
        display: block !important;
        text-decoration: none !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 3 !important;
        -webkit-box-orient: vertical !important;
        word-wrap: break-word !important;
    }

    /* Hide Excerpt on Mobile */
    .category-post-excerpt {
        display: none !important;
    }

    /* Hide Meta on Mobile */
    .category-post-meta {
        display: none !important;
    }

    /* Mobile Pagination */
    .category-pagination {
        margin-top: 30px !important;
        grid-column: unset !important;
    }

    .category-pagination .page-numbers {
        padding: 8px 12px !important;
        margin: 0 3px !important;
        font-size: 14px !important;
    }
}

/* Force Transparent Background */
.category-main-content,
.category-container,
.category-post-item {
    background: transparent !important;
}

.category-post-item:hover {
    background: transparent !important;
}

/* Print Styles */
@media print {
    .category-pagination {
        display: none;
    }

    .category-main-content {
        max-width: 100%;
        margin: 0;
        padding: 0;
        background: transparent;
    }
}











/* Content Typography and Styling */
/* Headings */
.post-content h1,
.page-content h1 {
    font-size: 32px;
    font-weight: 700;
    color: #1a202c;
    margin: 30px 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 3px solid #3498db;
    position: relative;
}

.post-content h1:before {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 50px;
    height: 3px;
    background: #e74c3c;
}

.post-content h2,
.page-content h2 {
    font-size: 26px;
    font-weight: 600;
    color: #2c3e50;
    margin: 25px 0 15px 0;
    padding-left: 15px;
    border-left: 4px solid #3498db;
    background: linear-gradient(90deg, #f8f9fa 0%, transparent 100%);
    padding: 12px 0 12px 15px;
    border-radius: 0 6px 6px 0;
}

.post-content h3,
.page-content h3 {
    font-size: 22px;
    font-weight: 600;
    color: #34495e;
    margin: 20px 0 12px 0;
    position: relative;
    padding-left: 20px;
}

.post-content h3:before {
    content: '▶';
    position: absolute;
    left: 0;
    color: #3498db;
    font-size: 14px;
}

.post-content h4,
.page-content h4 {
    font-size: 18px;
    font-weight: 600;
    color: #4a5568;
    margin: 18px 0 10px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 16px;
}

.post-content h5,
.page-content h5 {
    font-size: 16px;
    font-weight: 600;
    color: #718096;
    margin: 15px 0 8px 0;
}

.post-content h6,
.page-content h6 {
    font-size: 14px;
    font-weight: 600;
    color: #a0aec0;
    margin: 12px 0 8px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Paragraphs */
.post-content p,
.page-content p {
    margin: 0 0 18px 0;
    text-align: justify;
    text-justify: inter-word;
}

.post-content p:first-child {
    font-size: 18px;
    font-weight: 400;
    color: #2d3748;
    line-height: 1.6;
}

/* Lists - Bullets */
.post-content ul,
.page-content ul {
    margin: 20px 0;
    padding-left: 0;
    list-style: none;
}

.post-content ul li,
.page-content ul li {
    position: relative;
    margin: 12px 0;
    padding-left: 30px;
    line-height: 1.6;
}

.post-content ul li:before,
.page-content ul li:before {
    content: '●';
    position: absolute;
    left: 0;
    color: #3498db;
    font-weight: bold;
    font-size: 16px;
    top: 0;
}

/* Nested Lists */
.post-content ul li ul,
.page-content ul li ul {
    margin: 8px 0;
}

.post-content ul li ul li:before,
.page-content ul li ul li:before {
    content: '◦';
    color: #95a5a6;
}

/* Ordered Lists - Numbers */
.post-content ol,
.page-content ol {
    margin: 20px 0;
    padding-left: 0;
    counter-reset: custom-counter;
    list-style: none;
}

.post-content ol li,
.page-content ol li {
    position: relative;
    margin: 12px 0;
    padding-left: 40px;
    line-height: 1.6;
    counter-increment: custom-counter;
}

.post-content ol li:before,
.page-content ol li:before {
    content: counter(custom-counter);
    position: absolute;
    left: 0;
    top: 0;
    background: #3498db;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

/* Tables */
.post-content table,
.page-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.post-content table th,
.page-content table th {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px 12px;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.post-content table td,
.page-content table td {
    padding: 12px;
    border-bottom: 1px solid #e2e8f0;
    vertical-align: top;
}

.post-content table tr:hover,
.page-content table tr:hover {
    background: #f7fafc;
}

.post-content table tr:nth-child(even),
.page-content table tr:nth-child(even) {
    background: #f8f9fa;
}

.post-content table tr:nth-child(even):hover,
.page-content table tr:nth-child(even):hover {
    background: #e2e8f0;
}

/* Blockquotes */
.post-content blockquote,
.page-content blockquote {
    margin: 25px 0;
    padding: 20px 25px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 8px;
    position: relative;
    font-style: italic;
    font-size: 16px;
    line-height: 1.6;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.post-content blockquote:before,
.page-content blockquote:before {
    content: '"';
    font-size: 60px;
    font-weight: bold;
    position: absolute;
    top: -10px;
    left: 15px;
    opacity: 0.3;
}

.post-content blockquote p,
.page-content blockquote p {
    margin: 0;
    color: white;
}

/* Links */
.post-content a,
.page-content a {
    color: #3498db;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
    font-weight: 400;
    position: relative;
}

.post-content a:hover,
.page-content a:hover {
    color: #2980b9;
    border-bottom: 2px solid #3498db;
}

.post-content a:before,
.page-content a:before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #3498db;
    transition: width 0.3s ease;
}

.post-content a:hover:before,
.page-content a:hover:before {
    width: 100%;
}

/* External Links */
.post-content a[href^="http"]:after,
.page-content a[href^="http"]:after {
    content: ' ↗';
    font-size: 12px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.post-content a[href^="http"]:hover:after,
.page-content a[href^="http"]:hover:after {
    opacity: 1;
}

/* Code */
.post-content code,
.page-content code {
    background: #f1f5f9;
    color: #e53e3e;
    padding: 3px 6px;
    border-radius: 4px;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 14px;
    border: 1px solid #e2e8f0;
}

.post-content pre,
.page-content pre {
    background: #2d3748;
    color: #e2e8f0;
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 20px 0;
    border-left: 4px solid #3498db;
}

.post-content pre code,
.page-content pre code {
    background: none;
    color: inherit;
    padding: 0;
    border: none;
    font-size: 14px;
}

/* Images */
.post-content img,
.page-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin: 20px 0;
    transition: transform 0.3s ease;
}

.post-content img:hover,
.page-content img:hover {
    transform: scale(1.02);
}

/* HR */
.post-content hr,
.page-content hr {
    border: none;
    height: 3px;
    background: linear-gradient(90deg, #3498db, #9b59b6, #e74c3c);
    margin: 30px 0;
    border-radius: 2px;
}

/* Responsive */
@media (max-width: 768px) {

    .post-content h1,
    .page-content h1 {
        font-size: 26px;
    }

    .post-content h2,
    .page-content h2 {
        font-size: 22px;
    }

    .post-content h3,
    .page-content h3 {
        font-size: 18px;
    }

    .post-content table,
    .page-content table {
        font-size: 14px;
    }

    .post-content table th,
    .page-content table th,
    .post-content table td,
    .page-content table td {
        padding: 8px 6px;
    }

    .post-content blockquote,
    .page-content blockquote {
        padding: 15px 20px;
        margin: 20px 0;
    }
}




/* Author Name in Meta */
.post-meta .post-author {
    background: #e8f5e8;
    color: #2e7d32;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 400;
}

.post-meta .post-author i {
    margin-right: 4px;
    font-size: 12px;
}

/* Author Bio Section */
.author-bio {
    display: flex;
    gap: 15px;
    padding: 20px;
    margin: 20px 0;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #3498db;
}

.author-avatar {
    flex-shrink: 0;
}

.author-avatar img {
    border-radius: 50%;
    width: 60px;
    height: 60px;
}

.author-info {
    flex: 1;
}

.author-name {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 8px 0;
}

.author-description {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin: 0 0 10px 0;
}

.author-links {
    display: flex;
    gap: 15px;
}

.author-links a {
    font-size: 12px;
    color: #3498db;
    text-decoration: none;
    padding: 4px 8px;
    border-radius: 4px;
    background: #e3f2fd;
    transition: background-color 0.3s ease;
}

.author-links a:hover {
    background: #bbdefb;
}

.author-links a i {
    margin-right: 4px;
}

/* Mobile Responsive */
@media (max-width: 480px) {
    .author-bio {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .author-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
    }
}

/* Author Name Link Styling */
.post-meta .post-author a {
    color: #2e7d32;
    text-decoration: none;
    font-weight: 400;
    transition: all 0.3s ease;
}

.post-meta .post-author a:hover {
    color: #1b5e20;
    text-decoration: underline;
}

/* Author Bio Links */
.author-bio .author-avatar a,
.author-bio .author-name a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

.author-bio .author-avatar a:hover,
.author-bio .author-name a:hover {
    opacity: 0.8;
}















/* Author Profile Main Container */
.author-profile-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background: transparent;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.author-profile-container {
    background: transparent;
}

/* Author Profile Header */
.author-profile-header {
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
}

.author-profile-card {
    background: transparent;
    border: 4px solid #2c3e50;
    border-radius: 0;
    padding: 50px 30px 40px 30px;
    color: #2c3e50;
    text-align: center;
    box-shadow: none;
    position: relative;
    overflow: visible;
    max-width: 500px;
    width: 100%;
    min-height: 500px;
    margin-top: 25px;
}

/* Name on Top Border */
.author-profile-card::before {
    content: attr(data-author-name);
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.9);
    padding: 8px 25px;
    font-size: 28px;
    font-weight: bold;
    color: #2c3e50;
    z-index: 10;
    border: 3px solid #2c3e50;
    border-radius: 0;
    white-space: nowrap;
}

.author-display-name {
    display: none !important;
}

.author-avatar-large {
    margin: 20px auto 25px auto;
    position: relative;
    z-index: 2;
}

.author-avatar-large img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid #2c3e50;
    box-shadow: none;
    object-fit: cover;
}

.author-job-title {
    font-size: 16px;
    margin: 0 0 25px 0;
    font-weight: normal;
    position: relative;
    z-index: 2;
    color: #555;
    line-height: 1.5;
    text-align: center;
}

/* Author Stats Box */
.author-stats-box {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 25px 0;
    padding: 15px;
    border-top: 1px solid rgba(44, 62, 80, 0.2);
    border-bottom: 1px solid rgba(44, 62, 80, 0.2);
}

.stat-item {
    text-align: center;
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 24px;
    font-weight: bold;
    color: #2c3e50;
    line-height: 1;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 400;
}

/* Author Bio */
.author-bio {
    max-width: 100%;
    margin: 0 auto 20px auto;
    position: relative;
    z-index: 2;
}

.author-bio p {
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
    color: #333;
    text-align: center;
}

.read-more-container {
    display: none !important;
}

.read-more-btn {
    display: none !important;
}

/* Author Posts Section */
.author-posts-section {
    background: transparent;
    margin-top: 40px;
}

/* Author Posts Grid */
.author-posts-grid {
    display: flex;
    flex-direction: column;
    gap: 1px;
    margin-bottom: 40px;
    border: 1px solid #e0e0e0;
    border-radius: 0;
    background: transparent;
}

.author-post-item {
    background: transparent;
    border: none;
    border-bottom: 1px solid #e0e0e0;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    transition: background-color 0.3s ease;
    display: flex;
    min-height: 130px;
}

.author-post-item:last-child {
    border-bottom: none;
}

.author-post-item:hover {
    background: rgba(248, 249, 250, 0.5);
    transform: none;
    box-shadow: none;
}

.author-post-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    width: 100%;
    padding: 20px;
}

.author-post-image {
    position: relative;
    width: 200px;
    height: 130px;
    flex-shrink: 0;
    overflow: hidden;
    margin-right: 20px;
    border-radius: 6px;
}

.author-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: none;
}

.no-image-placeholder {
    width: 100%;
    height: 100%;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 24px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
}

.post-category-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #e74c3c;
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 5;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.author-post-content {
    flex: 1;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.author-post-title {
    font-size: 20px;
    font-weight: bold;
    color: #2c3e50;
    margin: 0 0 10px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.author-post-excerpt {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin: 0 0 15px 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.author-post-meta {
    font-size: 12px;
    color: #999;
    margin-top: auto;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.author-post-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* FIXED HORIZONTAL PAGINATION - जैसा आपकी Image में है */
.author-pagination {
    display: flex;
    justify-content: center;
    margin: 35px 0 0 0;
    width: 100%;
    grid-column: 1 / -1;
}

.author-pagination ul,
.author-pagination .pagination,
.author-pagination .nav-links {
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: #fff;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.09);
    border-radius: 12px;
    padding: 0 22px;
    min-height: 60px;
    border: 1px solid #ececec;
    font-family: inherit;
    gap: 0;
    list-style: none;
    margin: 0;
}

.author-pagination li {
    margin: 0;
    list-style: none;
}

.author-pagination .page-numbers,
.author-pagination li .page-numbers,
.author-pagination li a,
.author-pagination li span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    margin: 0 5px;
    background: transparent;
    color: #222;
    text-decoration: none;
    border-radius: 9px;
    border: none;
    font-size: 17px;
    font-weight: 400;
    transition: box-shadow 0.2s, background 0.2s;
    box-shadow: none;
    position: relative;
    z-index: 1;
    cursor: pointer;
}

.author-pagination .page-numbers.current,
.author-pagination li .page-numbers.current,
.author-pagination li.current span,
.author-pagination li.current a {
    background: #2c3e50;
    color: #fff;
    font-weight: bold;
    box-shadow: 0 2px 16px rgba(44, 62, 80, 0.18);
    cursor: default;
}

.author-pagination .page-numbers.dots,
.author-pagination li .page-numbers.dots,
.author-pagination li.dots span {
    background: #fafafa;
    color: #bbb;
    min-width: 44px;
    font-size: 25px;
    pointer-events: none;
    box-shadow: 0 2px 8px rgba(44, 62, 80, 0.07);
    cursor: default;
}

.author-pagination .page-numbers.next,
.author-pagination .page-numbers.prev,
.author-pagination li.next a,
.author-pagination li.prev a {
    background: #fff;
    color: #2c3e50;
    border: 1px solid #d6d6d6;
    font-weight: 700;
    padding: 0 14px;
    margin: 0 8px;
    min-width: 55px;
    box-shadow: 0 2px 10px rgba(44, 62, 80, 0.05);
    transition: background 0.2s, color 0.2s, border 0.2s;
}

.author-pagination .page-numbers.next:hover,
.author-pagination .page-numbers.prev:hover,
.author-pagination .page-numbers:not(.current):hover,
.author-pagination li a:hover,
.author-pagination li.next a:hover,
.author-pagination li.prev a:hover {
    background: #f4f4f7;
    color: #111;
    box-shadow: 0 2px 16px rgba(44, 62, 80, 0.11);
}

/* No Posts Found */
.no-posts-found {
    text-align: center;
    padding: 60px 20px;
    color: #666;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid #e0e0e0;
    border-radius: 8px;
}

.no-posts-icon {
    font-size: 48px;
    color: #ddd;
    margin-bottom: 20px;
}

.no-posts-found h3 {
    font-size: 24px;
    margin: 0 0 15px 0;
    color: #333;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .author-profile-main {
        padding: 15px;
    }

    .author-profile-card {
        padding: 40px 20px 30px 20px;
        border-width: 3px;
        max-width: 100%;
        margin: 20px 10px 0 10px;
        background: transparent;
    }

    .author-profile-card::before {
        font-size: 22px;
        padding: 6px 20px;
        top: -18px;
        border-width: 2px;
        background: rgba(255, 255, 255, 0.9);
    }

    .author-avatar-large img {
        width: 100px;
        height: 100px;
        border-width: 3px;
    }

    .author-job-title {
        font-size: 14px;
    }

    .author-stats-box {
        gap: 20px;
        padding: 12px;
    }

    .stat-number {
        font-size: 20px;
    }

    .stat-label {
        font-size: 11px;
    }

    .author-posts-grid {
        border: none;
        background: transparent;
    }

    .author-post-item {
        flex-direction: column;
        min-height: auto;
        border: 1px solid #e0e0e0;
        margin-bottom: 15px;
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.8);
    }

    .author-post-link {
        flex-direction: column;
        padding: 0;
    }

    .author-post-image {
        width: 100%;
        height: 180px;
        margin-right: 0;
        margin-bottom: 0;
        border-radius: 8px 8px 0 0;
    }

    .post-category-badge {
        top: 8px;
        left: 8px;
        font-size: 10px;
        padding: 3px 8px;
    }

    .author-post-content {
        padding: 15px;
    }

    .author-post-title {
        font-size: 18px;
    }

    .author-post-excerpt {
        font-size: 13px;
    }

    .author-post-meta {
        font-size: 11px;
        gap: 10px;
    }

    /* Mobile Pagination */
    .author-pagination ul,
    .author-pagination .pagination,
    .author-pagination .nav-links {
        padding: 0 6px;
        border-radius: 9px;
        min-height: 48px;
    }

    .author-pagination .page-numbers,
    .author-pagination li .page-numbers,
    .author-pagination li a,
    .author-pagination li span {
        min-width: 34px;
        height: 34px;
        font-size: 15px;
        border-radius: 6px;
        margin: 0 2px;
    }

    .author-pagination .page-numbers.next,
    .author-pagination .page-numbers.prev,
    .author-pagination li.next a,
    .author-pagination li.prev a {
        min-width: 40px;
        padding: 0 7px;
        font-size: 14px;
        margin: 0 2px;
        border-radius: 6px;
    }

    .author-pagination .page-numbers.dots,
    .author-pagination li.dots span {
        font-size: 18px;
        min-width: 20px;
        border-radius: 6px;
    }
}

@media (max-width: 480px) {
    .author-profile-card {
        padding: 35px 15px 25px 15px;
        margin: 18px 5px 0 5px;
        border-width: 2px;
    }

    .author-profile_card::before {
        font-size: 18px;
        padding: 4px 15px;
        top: -16px;
        border-width: 2px;
    }

    .author-avatar-large img {
        width: 90px;
        height: 90px;
        border-width: 2px;
    }

    .author-job-title {
        font-size: 13px;
    }

    .author-stats-box {
        gap: 15px;
        flex-direction: column;
    }

    .stat-number {
        font-size: 18px;
    }

    .author-bio p {
        font-size: 13px;
    }

    .author-post-image {
        height: 160px;
    }

    .author-post-content {
        padding: 12px;
    }

    .author-post-title {
        font-size: 16px;
    }

    .author-post-excerpt {
        font-size: 12px;
    }
}




/* Dynamic Scroll Menu Styles */
.dynamic-scroll-menu-container {
    width: 100%;
    background: transparent !important;
    position: relative;
    margin: 0 !important;
    padding: 0 !important;
    margin-top: -5px !important;
}

.scroll-menu {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 0 20px;
    margin: 0;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    background: transparent !important;
    gap: 4px;
}

.scroll-menu::-webkit-scrollbar {
    display: none;
}

.scroll-menu {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.menu-item {
    flex: 0 0 auto;
    padding: 15px 20px;
    font-size: 16px;
    font-weight: 400;
    color: #333;
    text-decoration: none !important;
    cursor: pointer;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    user-select: none;
    border: none;
    background: transparent !important;
    display: block;
    border-radius: 8px;
}

.menu-item:hover {
    color: #2d58ff;
    background-color: rgba(45, 88, 255, 0.08) !important;
    text-decoration: none !important;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(45, 88, 255, 0.15);
}

.menu-item:focus {
    outline: 2px solid #2d58ff;
    outline-offset: 2px;
}

.menu-item.active {
    color: #2d58ff !important;
    font-weight: 700;
    background-color: rgba(45, 88, 255, 0.12) !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.menu-item::after,
.menu-item.active::after,
.menu-item:hover::after {
    display: none !important;
    content: none !important;
}

@media (max-width: 768px) {
    .scroll-menu {
        padding: 0 15px;
    }

    .menu-item {
        padding: 12px 16px;
        font-size: 14px;
    }

    .dynamic-scroll-menu-container {
        margin-top: -3px !important;
    }
}

@media (max-width: 480px) {
    .scroll-menu {
        padding: 0 10px;
    }

    .menu-item {
        padding: 10px 12px;
        font-size: 13px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .menu-item {
        transition: none;
    }

    .scroll-menu {
        scroll-behavior: auto;
    }
}



/* ====================================== */
/* NEWS TICKER STYLES */
/* ====================================== */

/* Error Message */
.news-ticker-error {
    padding: 20px;
    text-align: center;
    color: #666;
    font-style: italic;
}

/* Main Wrapper */
.news-ticker-wrapper {
    width: 100%;
    margin: 0;
    padding: 0;
    background: transparent;
}

/* News Card */
.news-card {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    background: transparent;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: none;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Image Container */
.image-container {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    border-radius: 10px 10px 0 0;
    margin: 0;
    padding: 0;
    background: #f0f0f0;
}

/* Image */
.news-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    margin: 0;
    padding: 0;
    background: #f0f0f0;
    border-radius: 10px 10px 0 0;
    transition: transform 0.3s ease;
}

.news-card:hover img {
    transform: scale(1.02);
}

/* Category Badge */
.category {
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 8px 20px;
    border: 2px solid #333;
    font-weight: bold;
    font-size: 16px;
    color: #333;
    z-index: 3;
    border-radius: 0;
    margin: 0;
    white-space: nowrap;
}

/* Content Area */
.content {
    padding: 25px 15px;
    padding-top: 35px;
    text-align: center;
    margin: 0;
    background: transparent;
}

/* Title */
.title {
    font-size: 22px;
    font-weight: bold;
    color: #333;
    line-height: 1.3;
    margin: 0 0 15px 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
    padding: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Date */
.date {
    font-size: 18px;
    color: #888;
    font-weight: 400;
    margin: 0;
    padding: 0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .image-container {
        height: 200px;
        border-radius: 10px 10px 0 0;
    }

    .news-card img {
        border-radius: 10px 10px 0 0;
    }

    .title {
        font-size: 20px;
        line-height: 1.2;
    }

    .category {
        font-size: 14px;
        padding: 6px 16px;
        bottom: -12px;
    }

    .content {
        padding: 20px 10px;
        padding-top: 30px;
    }

    .date {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .image-container {
        height: 180px;
    }

    .title {
        font-size: 18px;
    }

    .category {
        font-size: 12px;
        padding: 5px 12px;
        bottom: -10px;
    }

    .content {
        padding: 18px 8px;
        padding-top: 25px;
    }

    .date {
        font-size: 14px;
    }
}




/* ====================================== */
/* DYNAMIC NEWS LIST STYLES */
/* ====================================== */

/* Main Container - No font-family specified */
.dynamic-news-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 0;
    background: transparent;
    width: 100%;
}

/* Individual News Item */
.news-item {
    display: flex;
    width: 100%;
    background: transparent;
    margin-bottom: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    align-items: center;
    padding: 0;
    min-height: 120px;
}

.news-item:hover {
    background: rgba(248, 249, 250, 0.1);
    transform: translateX(2px);
}

/* Image Container */
.news-image-container {
    position: relative;
    width: 160px;
    height: 100px;
    margin: 15px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    background: #e9ecef;
}

.news-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-item:hover .news-image-container img {
    transform: scale(1.05);
}

/* Category Badge */
.news-category {
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    color: #333;
    padding: 4px 12px;
    font-size: 11px;
    font-weight: bold;
    border: 1.5px solid #333;
    white-space: nowrap;
    z-index: 2;
    text-transform: uppercase;
}

/* Content Area */
.news-content {
    flex: 1;
    padding: 15px 20px 15px 5px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: transparent;
}

/* News Title - No font-family */
.news-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    line-height: 1.4;
    margin: 0 0 8px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* News Date - No font-family */
.news-date {
    font-size: 13px;
    color: #888;
    font-weight: normal;
    margin: 0;
}

/* No Posts Message */
.no-posts {
    text-align: center;
    padding: 40px;
    background: transparent;
    color: #666;
    font-size: 16px;
}

/* Tablet Responsive */
@media (max-width: 768px) {
    .news-item {
        min-height: 100px;
    }

    .news-image-container {
        width: 130px;
        height: 85px;
        margin: 12px;
        border-radius: 10px;
    }

    .news-image-container img {
        border-radius: 10px;
    }

    .news-category {
        font-size: 10px;
        padding: 3px 10px;
    }

    .news-content {
        padding: 12px 15px 12px 5px;
    }

    .news-title {
        font-size: 16px;
        -webkit-line-clamp: 3;
    }

    .news-date {
        font-size: 12px;
    }
}

/* Mobile Responsive */
@media (max-width: 480px) {
    .news-image-container {
        width: 110px;
        height: 75px;
        margin: 10px;
        border-radius: 8px;
    }

    .news-image-container img {
        border-radius: 8px;
    }

    .news-title {
        font-size: 15px;
        line-height: 1.3;
    }

    .news-date {
        font-size: 11px;
    }

    .news-content {
        padding: 10px 12px 10px 5px;
    }
}

/* ====================================== */
/* TAZA KHABAR STYLES */
/* ====================================== */

/* Main Container - No font-family */
.taza-khabar-perfect {
    width: 100%;
    max-width: none;
    margin: 0;
    /* use grid column spacing instead of centering */
    position: relative;
    box-sizing: border-box;
}

/* Border Frame */
.border-frame {
    background: linear-gradient(145deg, #f8f9fa 0%, #e9ecef 100%);
    border: 3px solid #FFD700;
    border-radius: 25px;
    padding: 70px 30px 30px 30px;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Header Badge Container */
.header-badge-container {
    position: absolute;
    top: -65px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

/* Badge Image */
.badge-image {
    width: 170px;
    height: auto;
    display: block;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.25));
    transition: transform 0.3s ease;
}

.badge-image:hover {
    transform: scale(1.05);
}

/* Content Area */
.content-area {
    padding: 0;
}

/* Homepage Layout Styles from front-page.php */
.hp-shortcodes-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 18px 16px;
    box-sizing: border-box;
}

.hp-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin-bottom: 34px;
}

.hp-col {
    min-width: 0;
}

@media (max-width: 1024px) {
    .hp-shortcodes-wrapper {
        padding: 14px;
    }

    .hp-row {
        gap: 22px;
    }
}

@media (max-width: 768px) {
    .hp-row {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .hp-shortcodes-wrapper {
        padding: 10px;
    }

    .hp-row+.hp-row {
        margin-top: 8px;
    }
}

@media (max-width: 480px) {
    .hp-shortcodes-wrapper {
        padding: 8px;
    }

    .hp-row {
        gap: 12px;
        margin-bottom: 22px;
    }
}

.numbered-post-list {
    counter-reset: item;
    margin: 0;
    padding-left: 0;
    list-style: none;
}

.numbered-post-list .numbered-post-item {
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.numbered-post-list .numbered-post-item .num {
    font-weight: 700;
    margin-right: 8px;
    color: #2c3e50;
}

.numbered-post-list a {
    text-decoration: none;
    color: inherit;
    display: inline-block;
    width: 100%;
}

.hp-row.hp-fullscreen {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box;
    display: block !important;
}

.hp-row.hp-fullscreen .hp-col {
    padding: 0 !important;
    width: 100%;
    box-sizing: border-box;
}

.hp-row.hp-fullscreen .hp-col>* {
    max-width: none !important;
    width: 100% !important;
    box-sizing: border-box;
}

/* News Row */
.news-row {
    display: flex;
    align-items: flex-start;
    margin-bottom: 24px;
    cursor: pointer;
    padding: 8px 5px;
    border-radius: 8px;
    transition: all 0.3s ease;
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
}

.news-row:hover {
    background: rgba(255, 215, 0, 0.12);
    transform: translateX(4px);
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
}

.news-row:last-child {
    margin-bottom: 0;
}

/* Row Number - No font-family */
.row-number {
    font-size: 32px;
    font-weight: 600;
    color: #2c3e50;
    margin-right: 20px;
    flex-shrink: 0;
    line-height: 1;
    width: 45px;
    text-align: left;
}

/* Row Text - No font-family */
.row-text {
    font-size: 18px;
    font-weight: 400;
    color: #2c3e50;
    line-height: 1.4;
    flex: 1;
    padding-top: 2px;
    min-width: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

/* Frame Decorative Elements */
.border-frame::after {
    content: "";
    position: absolute;
    bottom: -3px;
    left: 60px;
    right: 60px;
    height: 4px;
    background: #FFD700;
    border-radius: 2px;
}

.border-frame::before {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 20px;
    right: 20px;
    height: 3px;
    background: #FFD700;
    border-radius: 0 0 20px 20px;
}

/* No Posts Message */
.no-posts-taza {
    text-align: center;
    padding: 40px 20px;
    color: #666;
    font-size: 16px;
}

/* Tablet Responsive */
@media (max-width: 768px) {
    .taza-khabar-perfect {
        max-width: 95%;
        margin: 40px auto 15px auto;
    }

    .border-frame {
        padding: 60px 25px 25px 25px;
        border-radius: 22px;
    }

    .header-badge-container {
        top: -58px;
    }

    .badge-image {
        width: 135px;
    }

    .row-number {
        font-size: 28px;
        margin-right: 16px;
        width: 40px;
    }

    .row-text {
        font-size: 16px;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .news-row {
        margin-bottom: 20px;
        padding: 6px;
    }
}

/* Mobile Responsive */
@media (max-width: 480px) {
    .border-frame {
        padding: 50px 20px 20px 20px;
        border-radius: 20px;
    }

    .header-badge-container {
        top: -52px;
    }

    .badge-image {
        width: 110px;
    }

    .row-number {
        font-size: 24px;
        margin-right: 14px;
        width: 35px;
    }

    .row-text {
        font-size: 15px;
        line-height: 1.3;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .news-row {
        margin-bottom: 18px;
    }

    .no-posts-taza {
        padding: 30px 15px;
        font-size: 14px;
    }
}

/* Ultra small screens */
@media (max-width: 360px) {
    .taza-khabar-perfect {
        margin: 30px auto 10px auto;
    }

    .badge-image {
        width: 95px;
    }

    .header-badge-container {
        top: -45px;
    }

    .row-number {
        font-size: 22px;
        width: 32px;
    }

    .row-text {
        font-size: 14px;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
}



/* ====================================== */
/* KHABARGAON SPECIAL STYLES */
/* ====================================== */

/* Main Container - No font-family */
.khabargaon-special-container {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Header Section */
.special-header {
    text-align: center;
    padding: 20px 0;
    background: transparent;
    border-bottom: 2px solid rgba(233, 236, 239, 0.3);
    margin-bottom: 0;
}

/* Header Title - No font-family */
.special-title {
    font-size: 32px;
    font-weight: bold;
    color: #2c3e50;
    margin: 0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

/* News List Container */
.special-news-list {
    background: transparent;
    padding: 0;
}

/* Individual News Item */
.special-news-item {
    display: flex;
    background: transparent;
    margin-bottom: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    align-items: center;
    padding: 0;
    min-height: 120px;
    border: none;
}

.special-news-item:hover {
    background: rgba(241, 243, 244, 0.1);
    transform: translateX(3px);
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.05);
}

/* Image Container */
.special-image-container {
    position: relative;
    width: 160px;
    height: 100px;
    margin: 15px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    background: #e9ecef;
}

/* News Image */
.special-news-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.special-news-item:hover .special-news-image {
    transform: scale(1.05);
}

/* Category Tag */
.special-category-tag {
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    color: #333;
    padding: 4px 12px;
    font-size: 11px;
    font-weight: bold;
    border: 1.5px solid #333;
    white-space: nowrap;
    z-index: 2;
    text-transform: uppercase;
}

/* Content Container */
.special-content-container {
    flex: 1;
    padding: 15px 20px 15px 5px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: transparent;
}

/* News Title - No font-family */
.special-news-title {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    line-height: 1.4;
    margin: 0 0 8px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* News Date - No font-family */
.special-news-date {
    font-size: 13px;
    color: #666;
    font-weight: normal;
    margin: 0;
}

/* No Posts Message */
.no-special-posts {
    text-align: center;
    padding: 50px 20px;
    color: #666;
    font-size: 16px;
    background: transparent;
    border-radius: 8px;
    border: 2px dashed rgba(221, 221, 221, 0.5);
}

/* Tablet Responsive */
@media (max-width: 768px) {
    .khabargaon-special-container {
        max-width: 100%;
        margin: 15px auto;
    }

    .special-header {
        padding: 15px 0;
    }

    .special-title {
        font-size: 28px;
    }

    .special-news-item {
        min-height: 100px;
    }

    .special-image-container {
        width: 130px;
        height: 85px;
        margin: 12px;
        border-radius: 10px;
    }

    .special-category-tag {
        font-size: 10px;
        padding: 3px 10px;
    }

    .special-content-container {
        padding: 12px 15px 12px 5px;
    }

    .special-news-title {
        font-size: 16px;
        -webkit-line-clamp: 3;
    }

    .special-news-date {
        font-size: 12px;
    }
}

/* Mobile Responsive */
@media (max-width: 480px) {
    .special-header {
        padding: 12px 0;
    }

    .special-title {
        font-size: 24px;
    }

    .special-image-container {
        width: 110px;
        height: 75px;
        margin: 10px;
        border-radius: 8px;
    }

    .special-content-container {
        padding: 10px 12px 10px 5px;
    }

    .special-news-title {
        font-size: 15px;
        line-height: 1.3;
    }

    .special-news-date {
        font-size: 11px;
    }

    .no-special-posts {
        padding: 40px 15px;
        font-size: 14px;
    }
}

/* Ultra small screens */
@media (max-width: 360px) {
    .special-title {
        font-size: 22px;
    }

    .special-image-container {
        width: 100px;
        height: 70px;
        margin: 8px;
    }

    .special-news-title {
        font-size: 14px;
    }
}




/* ====================================== */
/* FEATURED CATEGORY POST STYLES - UPDATED */
/* ====================================== */

/* Main Wrapper - No font-family */
.ld-featured-wrapper {
    width: 100%;
    margin: 40px 0;
}

/* Featured Title Section */
.ld-featured-title {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.ld-featured-title h2 {
    font-size: 32px;
    font-weight: 700;
    color: #8e44ad;
    margin: 0 15px;
    white-space: nowrap;
}

.ld-featured-title::before,
.ld-featured-title::after {
    content: '';
    flex-grow: 1;
    height: 2px;
    background: #e0e0e0;
}

/* Featured Post Box */
.ld-featured-post-box {
    background: #f7f7f7;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.07);
    text-decoration: none;
    display: block;
    color: #111;
    padding-bottom: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ld-featured-post-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

/* Featured Image Container */
.ld-featured-image-container {
    position: relative;
    margin-bottom: 15px;
}

.ld-featured-image-container img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px 16px 0 0;
    transition: transform 0.3s ease;
}

.ld-featured-post-box:hover .ld-featured-image-container img {
    transform: scale(1.02);
}

/* Featured Category Tag - UPDATED: More Down */
.ld-featured-category-tag {
    position: absolute;
    bottom: -25px;
    /* UPDATED: -15px से -25px किया */
    left: 50%;
    transform: translateX(-50%);
    background: #ffffff;
    border: 1px solid #e0e0e0;
    color: #333;
    padding: 5px 15px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 6px;
    white-space: nowrap;
    z-index: 2;
}

/* Featured Content Box */
.ld-featured-content-box {
    padding: 25px;
    padding-top: 25px;
    /* UPDATED: 15px से 25px किया to accommodate lower tag */
}

.ld-featured-content-box h3 {
    font-size: 26px;
    font-weight: 700;
    margin: 0 0 10px 0;
    line-height: 1.3;
    color: #111;
}

.ld-featured-content-box p {
    font-size: 16px;
    color: #555;
    margin: 0;
    line-height: 1.6;
}

/* Secondary List Wrapper */
.ld-secondary-list-wrapper {
    margin-top: 30px;
}

/* Secondary List Item */
.ld-secondary-list-item {
    display: flex;
    align-items: center;
    gap: 20px;
    text-decoration: none;
    margin-bottom: 25px;
    transition: transform 0.3s ease;
}

.ld-secondary-list-item:hover {
    transform: translateX(3px);
}

/* Secondary List Image */
.ld-secondary-list-image {
    flex-shrink: 0;
    width: 120px;
    height: 90px;
    position: relative;
}

.ld-secondary-list-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 12px;
    border: 2px solid #c593e8;
    background-color: #f5f5f5;
    transition: border-color 0.3s ease;
}

.ld-secondary-list-item:hover .ld-secondary-list-image img {
    border-color: #8e44ad;
}

/* Secondary Category Tag - UPDATED: More Down */
.ld-secondary-category-tag {
    position: absolute;
    bottom: -8px;
    /* UPDATED: 5px से -8px किया */
    left: 50%;
    transform: translateX(-50%);
    background: #ffffff;
    border: 1px solid #ccc;
    color: #333;
    padding: 3px 10px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 4px;
    white-space: nowrap;
    z-index: 2;
}

/* Secondary List Content */
.ld-secondary-list-content h4 {
    font-size: 18px;
    font-weight: 700;
    color: #111;
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.ld-secondary-list-content .post-date {
    font-size: 13px;
    color: #999;
}

/* Other News Section */
.ld-other-news-wrapper {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #f0f0f0;
}

.ld-other-news-title {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

/* Other News Icon */
.ld-other-news-icon {
    width: 24px;
    height: 24px;
    background-color: #d8bafc;
    margin-right: 12px;
    position: relative;
    clip-path: polygon(0% 0%, 100% 0%, 75% 100%, 0% 100%);
}

.ld-other-news-title h3 {
    font-size: 22px;
    font-weight: 700;
    color: #333;
    margin: 0;
}

/* Other News List */
.ld-other-news-list {
    list-style: none;
    padding-left: 1em;
    margin: 0;
}

.ld-other-news-list li {
    padding: 12px 0;
    border-bottom: 1px solid #e9e9e9 !important;
    word-wrap: break-word;
    overflow-wrap: break-word;
    min-width: 0;
}

.ld-other-news-list li:last-child {
    border-bottom: none;
}

.ld-other-news-list li::before {
    content: '•';
    color: #8e44ad;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
    font-size: 1.2em;
}

.ld-other-news-list li a {
    text-decoration: none;
    font-weight: 400;
    color: #333;
    font-size: 16px;
    padding-left: 5px;
    transition: color 0.3s ease;
    word-wrap: break-word;
    overflow-wrap: break-word;
    display: inline-block;
    width: 100%;
    box-sizing: border-box;
}

.ld-other-news-list li a:hover {
    color: #8e44ad;
}

/* Mobile Responsive - UPDATED */
@media (max-width: 768px) {
    .ld-featured-wrapper {
        margin: 30px 0;
    }

    .ld-featured-title h2 {
        font-size: 24px;
        margin: 0 10px;
    }

    .ld-featured-content-box {
        padding: 20px;
        padding-top: 20px;
        /* UPDATED: Mobile में भी proper spacing */
    }

    .ld-featured-content-box h3 {
        font-size: 22px;
    }

    /* UPDATED: Mobile category tags भी adjust */
    .ld-featured-category-tag {
        bottom: -20px;
        /* Mobile में थोड़ा कम */
        font-size: 11px;
        padding: 4px 12px;
    }

    .ld-secondary-category-tag {
        bottom: -6px;
        /* Mobile में adjust */
        font-size: 10px;
        padding: 2px 8px;
    }

    .ld-secondary-list-item {
        gap: 15px;
        margin-bottom: 20px;
    }

    .ld-secondary-list-image {
        width: 100px;
        height: 75px;
    }

    .ld-secondary-list-content h4 {
        font-size: 16px;
    }

    .ld-other-news-title h3 {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .ld-featured-title {
        margin-bottom: 20px;
    }

    .ld-featured-title h2 {
        font-size: 20px;
    }

    .ld-featured-content-box {
        padding: 18px;
        padding-top: 18px;
    }

    .ld-featured-content-box h3 {
        font-size: 20px;
    }

    .ld-featured-content-box p {
        font-size: 14px;
    }

    /* UPDATED: Very small mobile screens */
    .ld-featured-category-tag {
        bottom: -18px;
        font-size: 10px;
        padding: 3px 10px;
    }

    .ld-secondary-category-tag {
        bottom: -5px;
        font-size: 9px;
        padding: 2px 6px;
    }

    .ld-secondary-list-image {
        width: 85px;
        height: 65px;
    }

    .ld-secondary-list-content h4 {
        font-size: 15px;
    }

    .ld-other-news-list li a {
        font-size: 15px;
    }
}


/* ====================================== */
/* CATEGORY PAGE LAYOUT STYLES */
/* ====================================== */

/* Main Wrapper - No font-family */
.ld-cat-page-wrapper {
    width: 100%;
    margin: 40px 0;
}

/* Category Page Title */
.ld-cat-page-title {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.ld-cat-page-title h1 {
    font-size: 32px;
    font-weight: 700;
    color: #007bff;
    margin: 0 15px;
    white-space: nowrap;
}

.ld-cat-page-title::before,
.ld-cat-page-title::after {
    content: '';
    flex-grow: 1;
    height: 2px;
    background: #007bff;
}

/* Main Featured Post */
.ld-cat-main-featured {
    margin-bottom: 30px;
}

.ld-cat-main-featured a {
    text-decoration: none;
    color: #111;
    display: block;
    transition: transform 0.3s ease;
}

.ld-cat-main-featured a:hover {
    transform: translateY(-2px);
}

.ld-cat-main-featured-img {
    position: relative;
}

.ld-cat-main-featured-img img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.ld-cat-main-featured a:hover .ld-cat-main-featured-img img {
    transform: scale(1.02);
}

/* Main Featured Tag - UPDATED: More Down */
.ld-cat-main-featured-tag {
    position: absolute;
    bottom: -20px;
    /* UPDATED: -12px से -20px किया */
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border: 1px solid #eee;
    color: #333;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 4px;
    z-index: 2;
    white-space: nowrap;
}

.ld-cat-main-featured-content {
    padding: 30px 10px 10px 10px;
    /* UPDATED: 25px से 30px किया for lower tag */
    text-align: center;
}

.ld-cat-main-featured-content h2 {
    font-size: 26px;
    font-weight: 700;
    margin: 0 0 10px 0;
    line-height: 1.3;
}

.ld-cat-main-featured-content p {
    font-size: 15px;
    color: #555;
    margin: 0;
    line-height: 1.6;
}

/* Ad Placeholder */
.ld-ad-placeholder {
    width: 100%;
    min-height: 100px;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    font-size: 16px;
    margin: 30px 0;
    border-radius: 8px;
}

/* Quote Style Post */
.ld-quote-post {
    text-align: center;
    margin: 40px 0;
    padding: 20px 0;
    border-top: 2px solid #007bff;
    border-bottom: 2px solid #007bff;
}

.ld-quote-post a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.ld-quote-post a:hover {
    color: #007bff;
}

.ld-quote-post h2 {
    font-size: 28px;
    font-weight: 700;
    color: #111;
    margin: 0 0 10px 0;
    line-height: 1.4;
}

.ld-quote-post h2::before,
.ld-quote-post h2::after {
    content: '"';
    color: #007bff;
    font-size: 1.5em;
    vertical-align: sub;
}

.ld-quote-post .post-date {
    font-size: 14px;
    color: #888;
}

/* Post List */
.ld-post-list-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ld-post-list-item {
    display: flex;
    gap: 15px;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.ld-post-list-item:hover {
    transform: translateX(3px);
}

.ld-post-list-img {
    flex-shrink: 0;
    width: 110px;
    height: 80px;
    position: relative;
}

.ld-post-list-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid #b3d7ff;
    transition: border-color 0.3s ease;
}

.ld-post-list-item:hover .ld-post-list-img img {
    border-color: #007bff;
}

/* Post List Tag - UPDATED: More Down */
.ld-post-list-tag {
    position: absolute;
    bottom: -12px;
    /* UPDATED: -10px से -12px किया */
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border: 1px solid #ccc;
    color: #333;
    padding: 3px 10px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 4px;
    z-index: 2;
    white-space: nowrap;
}

.ld-post-list-content h3 {
    font-size: 17px;
    font-weight: 600;
    color: #111;
    margin: 0 0 5px 0;
    line-height: 1.4;
}

.ld-post-list-content .post-date {
    font-size: 13px;
    color: #888;
}

/* No Category Error */
.ld-no-category-error {
    text-align: center;
    padding: 40px 20px;
    color: #666;
    font-size: 16px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .ld-cat-page-wrapper {
        margin: 30px 0;
    }

    .ld-cat-page-title h1 {
        font-size: 26px;
        margin: 0 10px;
    }

    .ld-cat-main-featured-content {
        padding: 25px 8px 8px 8px;
    }

    .ld-cat-main-featured-content h2 {
        font-size: 22px;
    }

    .ld-cat-main-featured-tag {
        bottom: -18px;
        font-size: 11px;
        padding: 3px 10px;
    }

    .ld-quote-post h2 {
        font-size: 24px;
    }

    .ld-post-list-item {
        gap: 12px;
    }

    .ld-post-list-img {
        width: 90px;
        height: 70px;
    }

    .ld-post-list-tag {
        bottom: -10px;
        font-size: 10px;
        padding: 2px 8px;
    }

    .ld-post-list-content h3 {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .ld-cat-page-title h1 {
        font-size: 22px;
        margin: 0 8px;
    }

    .ld-cat-main-featured-content h2 {
        font-size: 20px;
    }

    .ld-cat-main-featured-content p {
        font-size: 14px;
    }

    .ld-cat-main-featured-tag {
        bottom: -15px;
        font-size: 10px;
        padding: 2px 8px;
    }

    .ld-quote-post h2 {
        font-size: 20px;
    }

    .ld-post-list-img {
        width: 80px;
        height: 60px;
    }

    .ld-post-list-content h3 {
        font-size: 14px;
    }
}







/* ===============================================
   DYNAMIC POSTS SECTION - MAIN CONTAINER
   =============================================== */
.lokdharma-posts-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background: transparent;
}

/* ===============================================
   POSTS HEADER SECTION
   =============================================== */
.lokdharma-posts-header-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

/* Posts Main Title */
.lokdharma-posts-main-title {
    margin: 0;
    color: #333;
    font-size: 20px;
}

/* ===============================================
   SEARCH & FILTER CONTROLS
   =============================================== */
.lokdharma-filter-controls-wrapper {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    position: relative;
}

/* Search Box Container */
.lokdharma-search-box-container {
    position: relative;
    display: flex;
    align-items: center;
}

/* Search Input Field */
.lokdharma-search-input-field {
    padding: 8px 35px 8px 12px;
    border: 2px solid #ddd;
    border-radius: 20px;
    background: white;
    outline: none;
    font-size: 14px;
    width: 200px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.lokdharma-search-input-field:focus {
    border-color: #febd01;
    box-shadow: 0 0 0 3px rgba(254, 189, 1, 0.2);
    width: 250px;
}

.lokdharma-search-input-field::placeholder {
    color: #999;
    font-size: 13px;
}

/* Search Icon */
.lokdharma-search-icon-element {
    position: absolute;
    right: 10px;
    color: #999;
    font-size: 16px;
    pointer-events: none;
}

/* Search Loading Spinner */
.lokdharma-search-loading-spinner {
    position: absolute;
    right: 10px;
    width: 16px;
    height: 16px;
    border: 2px solid #febd01;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: lokdharma-spinner-rotation 1s linear infinite;
    display: none;
}

@keyframes lokdharma-spinner-rotation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Category Filter Dropdown */
.lokdharma-category-filter-dropdown {
    padding: 8px 12px;
    border: 2px solid #ddd;
    border-radius: 20px;
    background: white;
    outline: none;
    font-size: 13px;
    min-width: 130px;
    transition: border-color 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.lokdharma-category-filter-dropdown:focus {
    border-color: #febd01;
    box-shadow: 0 0 0 3px rgba(254, 189, 1, 0.2);
}

/* ===============================================
   POSTS GRID SECTION
   =============================================== */
.lokdharma-posts-grid-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
    min-height: 300px;
}

/* Individual Post Card */
.lokdharma-single-post-card {
    display: flex;
    align-items: flex-start;
    background: white;
    border-radius: 8px;
    padding: 12px;
    cursor: pointer;
    border: 1px solid #e0e0e0;
    transition: all 0.2s ease;
    opacity: 0;
    animation: lokdharma-card-fade-in 0.3s ease forwards;
}

@keyframes lokdharma-card-fade-in {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.lokdharma-single-post-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

/* ===============================================
   POST IMAGE SECTION
   =============================================== */
.lokdharma-post-image-wrapper {
    position: relative;
    flex-shrink: 0;
    margin-right: 12px;
}

.lokdharma-post-thumbnail-container {
    width: 65px;
    height: 65px;
    border-radius: 6px;
    overflow: hidden;
    background: #f5f5f5;
    position: relative;
}

.lokdharma-post-thumbnail-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.2s ease;
}

.lokdharma-single-post-card:hover .lokdharma-post-thumbnail-container img {
    transform: scale(1.05);
}

/* Post Category Badge */
.lokdharma-post-category-badge {
    position: absolute;
    bottom: -3px;
    left: 0;
    background: #febd01;
    color: #333;
    padding: 1px 6px;
    border-radius: 3px;
    font-size: 9px;
    font-weight: 600;
}

/* ===============================================
   NAVIGATION SECTION
   =============================================== */
.lokdharma-navigation-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    gap: 20px;
}

/* Navigation Buttons */
.lokdharma-nav-button {
    background: #febd01;
    color: #333;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(254, 189, 1, 0.3);
}

.lokdharma-nav-button:hover {
    background: #e6a800;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(254, 189, 1, 0.4);
}

.lokdharma-nav-button:disabled {
    display: none;
}

/* Page Info Display */
.lokdharma-page-info-display {
    background: rgba(254, 189, 1, 0.1);
    color: #333;
    padding: 6px 14px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid rgba(254, 189, 1, 0.3);
}

/* ===============================================
   LOADING & NO POSTS MESSAGES
   =============================================== */
.lokdharma-loading-message {
    text-align: center;
    padding: 40px;
    color: #666;
}

.lokdharma-no-posts-message {
    text-align: center;
    padding: 40px;
    color: #666;
}

/* ===============================================
   SEARCH RESULTS INFO
   =============================================== */
.lokdharma-search-results-info-bar {
    background: rgba(254, 189, 1, 0.1);
    padding: 8px 12px;
    border-radius: 6px;
    margin-bottom: 15px;
    font-size: 12px;
    color: #333;
    border-left: 3px solid #febd01;
}

/* ===============================================
   MOBILE RESPONSIVE STYLES
   =============================================== */
@media (max-width: 768px) {

    /* Main Container Mobile */
    .lokdharma-posts-wrapper {
        padding: 15px;
    }

    /* Header Mobile */
    .lokdharma-posts-header-section {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }

    /* Filter Controls Mobile */
    .lokdharma-filter-controls-wrapper {
        justify-content: center;
        gap: 8px;
    }

    /* Search Box Mobile */
    .lokdharma-search-input-field {
        width: 160px;
    }

    .lokdharma-search-input-field:focus {
        width: 180px;
    }

    /* Category Filter Mobile */
    .lokdharma-category-filter-dropdown {
        min-width: 120px;
    }

    /* Post Image Mobile */
    .lokdharma-post-thumbnail-container {
        width: 55px;
        height: 55px;
    }

    .lokdharma-post-image-wrapper {
        margin-right: 10px;
    }

    /* Post Title Mobile */
    .lokdharma-post-title-text {
        font-size: 14px;
    }

    /* Navigation Mobile */
    .lokdharma-nav-button {
        padding: 8px 16px;
        font-size: 12px;
    }
}



/* Read more button*/







/* LokDharma Header Styles */
.lokdharma-container * {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

.lokdharma-container {
    font-family: 'Hind', sans-serif;
    position: relative;
    width: 100%;
    overflow-x: hidden
}

/* HEADER: grid to center logo precisely */
.lokdharma-header {
    background: #2d58ff;
    padding: 8px 20px;
    width: 100%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 100;
    display: grid;
    /* key change */
    grid-template-columns: 40px 1fr auto;
    /* hamburger | centered logo | right area */
    align-items: center;
    gap: 10px;
}

.lokdharma-hamburger {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    z-index: 1000;
    transition: .3s
}

.lokdharma-hamburger span {
    width: 25px;
    height: 3px;
    background: #fff;
    margin: 3px 0;
    transition: .3s;
    border-radius: 2px
}

.lokdharma-hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px)
}

.lokdharma-hamburger.active span:nth-child(2) {
    opacity: 0
}

.lokdharma-hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px)
}

.lokdharma-logo {
    justify-self: center;
    text-align: center;
    text-decoration: none
}

.lokdharma-logo img {
    height: 40px;
    width: auto;
    max-width: 200px;
    display: block;
    margin: 0 auto;
    transition: transform .3s ease;
    filter: brightness(1)
}

.lokdharma-logo:hover img {
    transform: scale(1.05);
    filter: brightness(1.1)
}

/* Right side area */
.lokdharma-header-social {
    display: none;
    gap: 8px;
    align-items: center
}

.lokdharma-header-social a {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .1);
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: .3s;
    opacity: .9
}

.lokdharma-header-social a:hover {
    background: rgba(255, 255, 255, .2);
    transform: translateY(-2px);
    opacity: 1
}

.lokdharma-header-social img {
    width: 14px;
    height: 14px;
    filter: brightness(0) invert(1)
}

/* right spacer kept in 3rd column with socials */
.lokdharma-spacer {
    grid-column: 3/4;
    width: auto;
    min-width: 0
}

/* Overlay & Side menu */
.lokdharma-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: .3s;
    backdrop-filter: blur(2px)
}

.lokdharma-menu-overlay.active {
    opacity: 1;
    visibility: visible
}

.lokdharma-side-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 85%;
    max-width: 350px;
    height: 100vh;
    background: #fff;
    z-index: 999;
    transition: left .3s ease;
    overflow-y: auto;
    box-shadow: 2px 0 20px rgba(0, 0, 0, .1);
    -webkit-overflow-scrolling: touch
}

.lokdharma-side-menu.active {
    left: 0
}

.lokdharma-menu-header {
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
    background: #fafafa;
    position: sticky;
    top: 0;
    z-index: 1000
}

.lokdharma-close-btn {
    font: bold 24px Arial;
    cursor: pointer;
    background: none;
    border: none;
    color: #000;
    padding: 5px;
    transition: all .3s;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center
}

.lokdharma-close-btn:hover {
    color: #ff4757;
    background: #f0f0f0;
    transform: scale(1.1)
}

.lokdharma-menu-logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: center
}

.lokdharma-menu-logo img {
    height: 36px;
    width: auto;
    max-width: 180px
}

.lokdharma-search-container {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    position: relative
}

.lokdharma-search-input {
    width: 100%;
    padding: 12px 40px 12px 0;
    border: none;
    border-bottom: 2px solid #ddd;
    font-size: 16px;
    color: #666;
    background: transparent;
    outline: none;
    transition: .3s
}

.lokdharma-search-input:focus {
    border-bottom-color: #2d58ff;
    box-shadow: 0 2px 5px rgba(45, 88, 255, .2)
}

.lokdharma-search-input:focus::placeholder {
    opacity: .5;
    transform: translateY(-2px)
}

.lokdharma-search-icon {
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    font-size: 16px;
    cursor: pointer;
    transition: color .3s
}

.lokdharma-search-icon:hover {
    color: #2d58ff
}

.lokdharma-search-icon img {
    width: 16px;
    height: 16px;
    filter: brightness(0) saturate(0) opacity(.6);
    transition: .3s
}

.lokdharma-search-icon:hover img {
    filter: brightness(0) saturate(0) invert(.3) sepia(1) saturate(5) hue-rotate(220deg)
}

.lokdharma-nav-links {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    line-height: 1.8
}

.lokdharma-nav-links span {
    display: inline;
    color: #333;
    font-size: 16px;
    cursor: pointer;
    transition: .3s;
    margin-right: 8px;
    opacity: 0;
    transform: translateY(20px);
    animation: lokdharmaSlideUp .3s ease forwards;
    padding: 2px 4px;
    border-radius: 3px;
    user-select: none;
    -webkit-tap-highlight-color: transparent
}

.lokdharma-nav-links span:hover {
    color: #2d58ff;
    background: rgba(45, 88, 255, .1);
    transform: translateY(-2px)
}

.lokdharma-nav-links span:active {
    transform: scale(0.95)
}

.lokdharma-nav-links span:after {
    content: " ";
    margin-right: 8px
}

.lokdharma-nav-links span:last-child:after {
    content: ""
}

.lokdharma-social-icons {
    padding: 15px 20px;
    display: flex;
    gap: 15px;
    border-bottom: 1px solid #eee
}

.lokdharma-social-icons a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
    font: bold 14px Arial;
    opacity: 0;
    transform: translateY(30px);
    animation: lokdharmaSlideUp .3s ease forwards;
    transition: transform .3s;
    user-select: none;
    -webkit-tap-highlight-color: transparent
}

.lokdharma-social-icons a:hover {
    transform: translateY(-3px) scale(1.1)
}

.lokdharma-social-icons a:active {
    transform: scale(0.95)
}

.lokdharma-facebook {
    background: #1877f2
}

.lokdharma-instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888)
}

.lokdharma-twitter {
    background: #000;
    font-size: 12px
}

.lokdharma-youtube {
    background: #ff0000
}

.lokdharma-categories {
    padding: 0;
    flex-grow: 1
}

.lokdharma-category {
    padding: 15px;
    color: #fff;
    font: bold 18px Arial;
    text-decoration: none;
    display: block;
    opacity: 0;
    transform: translateY(50px);
    animation: lokdharmaSlideUp .4s ease forwards;
    transition: .3s;
    position: relative;
    overflow: hidden;
    user-select: none;
    -webkit-tap-highlight-color: transparent
}

.lokdharma-category:hover {
    transform: translateX(5px)
}

.lokdharma-category:active {
    transform: scale(0.98)
}

.lokdharma-category:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, .1);
    transition: left .3s
}

.lokdharma-category:hover:before {
    left: 0
}

.lokdharma-desh {
    background: #e91e63
}

.lokdharma-duniya {
    background: #9c27b0;
    text-align: right
}

.lokdharma-rajniti {
    background: #ffeb3b;
    color: #333
}

.lokdharma-sports {
    background: #2196f3;
    text-align: right
}

.lokdharma-chunav {
    background: #4caf50
}

.lokdharma-entertainment {
    background: #ff5722
}

.lokdharma-rupya-paisa {
    background: #795548;
    text-align: right
}

.lokdharma-lifestyle {
    background: #607d8b
}

@keyframes lokdharmaSlideUp {
    to {
        opacity: 1;
        transform: translateY(0)
    }
}

.lokdharma-nav-links span:nth-child(1) {
    animation-delay: .05s
}

.lokdharma-nav-links span:nth-child(2) {
    animation-delay: .1s
}

.lokdharma-nav-links span:nth-child(3) {
    animation-delay: .15s
}

.lokdharma-nav-links span:nth-child(4) {
    animation-delay: .2s
}

.lokdharma-nav-links span:nth-child(5) {
    animation-delay: .25s
}

.lokdharma-nav-links span:nth-child(6) {
    animation-delay: .3s
}

.lokdharma-nav-links span:nth-child(7) {
    animation-delay: .35s
}

.lokdharma-nav-links span:nth-child(8) {
    animation-delay: .4s
}

.lokdharma-social-icons a:nth-child(1) {
    animation-delay: .6s
}

.lokdharma-social-icons a:nth-child(2) {
    animation-delay: .65s
}

.lokdharma-social-icons a:nth-child(3) {
    animation-delay: .7s
}

.lokdharma-social-icons a:nth-child(4) {
    animation-delay: .75s
}

.lokdharma-category:nth-child(1) {
    animation-delay: .8s
}

.lokdharma-category:nth-child(2) {
    animation-delay: .85s
}

.lokdharma-category:nth-child(3) {
    animation-delay: .9s
}

.lokdharma-category:nth-child(4) {
    animation-delay: .95s
}

.lokdharma-category:nth-child(5) {
    animation-delay: 1s
}

.lokdharma-category:nth-child(6) {
    animation-delay: 1.05s
}

.lokdharma-category:nth-child(7) {
    animation-delay: 1.1s
}

.lokdharma-category:nth-child(8) {
    animation-delay: 1.15s
}

.lokdharma-bottom-handle {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 4px;
    background: #ccc;
    border-radius: 2px
}

.fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0)
    }

    100% {
        transform: rotate(360deg)
    }
}

/* Tablet/Desktop: show socials and pull further left */
@media (min-width:768px) {
    .lokdharma-header-social {
        display: flex;
        justify-self: start;
        margin-right: 0
    }

    .lokdharma-spacer {
        min-width: 40px
    }

    /* reduce right whitespace */
    .lokdharma-header {
        padding-right: 10px
    }
}

@media (min-width:1024px) {
    .lokdharma-header-social {
        gap: 6px;
        transform: translateX(-8px)
    }

    .lokdharma-header {
        padding-right: 8px
    }

    .lokdharma-header-social a {
        width: 32px;
        height: 32px
    }

    .lokdharma-header-social img {
        width: 16px;
        height: 16px
    }
}

/* Mobile tweaks */
@media (max-width:767px) {
    .lokdharma-side-menu {
        width: 85%;
        max-width: 320px
    }

    .lokdharma-header {
        padding: 6px 15px
    }

    .lokdharma-logo img {
        height: 36px;
        max-width: 150px
    }

    .lokdharma-menu-logo img {
        height: 32px;
        max-width: 120px
    }

    /* Mobile menu improvements */
    .lokdharma-menu-header {
        padding: 12px 15px;
        flex-direction: column;
        gap: 10px;
        text-align: center
    }

    .lokdharma-close-btn {
        font-size: 20px;
        padding: 8px;
        background: #f0f0f0;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center
    }

    .lokdharma-search-container {
        padding: 12px 15px
    }

    .lokdharma-search-input {
        font-size: 16px;
        padding: 10px 35px 10px 0
    }

    .lokdharma-nav-links {
        padding: 12px 15px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px
    }

    .lokdharma-nav-links span {
        display: block;
        padding: 8px 12px;
        background: #f8f9fa;
        border-radius: 6px;
        text-align: center;
        font-size: 14px;
        border: 1px solid #e9ecef;
        transition: all 0.3s ease
    }

    .lokdharma-nav-links span:hover {
        background: #2d58ff;
        color: #fff;
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(45, 88, 255, 0.3)
    }

    .lokdharma-social-icons {
        padding: 12px 15px;
        justify-content: center;
        gap: 12px;
        display: flex !important
    }

    .lokdharma-social-icons a {
        width: 45px;
        height: 45px;
        font-size: 16px;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        opacity: 1 !important;
        transform: none !important;
        animation: none !important
    }

    .lokdharma-categories {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2px
    }

    .lokdharma-category {
        padding: 12px 8px;
        font-size: 14px;
        text-align: center;
        border-radius: 0
    }

    .lokdharma-category:hover {
        transform: none;
        box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.3)
    }
}

@media (max-width:480px) {
    .lokdharma-header {
        padding: 5px 15px
    }

    .lokdharma-logo img {
        height: 34px;
        max-width: 140px
    }

    .lokdharma-menu-logo img {
        height: 30px;
        max-width: 110px
    }

    .lokdharma-side-menu {
        width: 90%;
        max-width: 300px
    }

    .lokdharma-nav-links {
        grid-template-columns: 1fr;
        gap: 6px
    }

    .lokdharma-nav-links span {
        padding: 10px;
        font-size: 15px
    }

    .lokdharma-categories {
        grid-template-columns: 1fr
    }

    .lokdharma-category {
        padding: 10px;
        font-size: 13px
    }

    .lokdharma-social-icons a {
        width: 40px;
        height: 40px;
        font-size: 14px;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        opacity: 1 !important;
        transform: none !important;
        animation: none !important
    }
}

/* Force LokDharma styles to override any theme conflicts */
body .lokdharma-container {
    position: relative !important;
    width: 100% !important;
    font-family: 'Hind', sans-serif !important;
}

body .lokdharma-header {
    background: #2d58ff !important;
    display: grid !important;
    grid-template-columns: 40px 1fr auto !important;
    align-items: center !important;
    padding: 8px 20px !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
}

body .lokdharma-logo img {
    height: 40px !important;
    max-width: 200px !important;
    width: auto !important;
}

body .lokdharma-hamburger {
    display: flex !important;
    flex-direction: column !important;
    cursor: pointer !important;
}

/* Ensure social icons are always visible */
.lokdharma-social-icons {
    display: flex !important;
    gap: 15px;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
}

.lokdharma-social-icons a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
}

/* Mobile social icons */
@media (max-width: 768px) {
    .lokdharma-social-icons {
        justify-content: center !important;
        gap: 12px !important;
        padding: 12px 15px !important;
    }

    .lokdharma-social-icons a {
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
        width: 45px !important;
        height: 45px !important;
        font-size: 16px !important;
    }
}

@media (max-width: 480px) {
    .lokdharma-social-icons a {
        width: 40px !important;
        height: 40px !important;
        font-size: 14px !important;
    }
}

/* Dynamic Scroll Menu Integration */
.dynamic-scroll-menu-container {
    background: transparent !important;
    border-bottom: none !important;
    box-shadow: none !important;
    position: sticky;
    top: 0;
    z-index: 50;
    margin-top: 0 !important;
    width: 100%;
    overflow: hidden;
}

.dynamic-scroll-menu-container .scroll-menu {
    padding: 8px 20px;
    background: transparent !important;
    min-width: 0;
}

.dynamic-scroll-menu-container .menu-item {
    padding: 12px 18px;
    font-size: 15px;
    font-weight: 400;
    color: #555;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.dynamic-scroll-menu-container .menu-item:hover {
    color: #2d58ff;
    background-color: rgba(45, 88, 255, 0.1) !important;
    transform: translateY(-1px);
}

.dynamic-scroll-menu-container .menu-item.active {
    color: #2d58ff !important;
    font-weight: 600;
    background-color: rgba(45, 88, 255, 0.15) !important;
    box-shadow: 0 2px 4px rgba(45, 88, 255, 0.2);
}

/* Mobile responsive for dynamic menu */
@media (max-width: 768px) {
    .dynamic-scroll-menu-container .scroll-menu {
        padding: 6px 15px;
    }

    .dynamic-scroll-menu-container .menu-item {
        padding: 10px 14px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .dynamic-scroll-menu-container .scroll-menu {
        padding: 5px 10px;
    }

    .dynamic-scroll-menu-container .menu-item {
        padding: 8px 12px;
        font-size: 13px;
    }
}

/* Custom Responsive Footer */
.custom-footer {
    background-color: #2962ff;
    color: #ffffff;
    padding: 50px 0 20px 0;
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Top part of the footer with two columns */
.footer-main {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    padding-bottom: 30px;
}

/* Left Column (Logo & Social) */
.footer-col-1 {
    flex: 1;
    min-width: 250px;
}

/* Footer Logo Styles */
.footer-logo {
    margin: 0 0 8px 0;
    display: inline-block;
}

.footer-logo img {
    height: 60px;
    width: auto;
    filter: brightness(1);
    max-width: 100%;
}

/* Tagline Style */
.footer-tagline {
    font-size: 16px;
    font-weight: 400;
    color: #ffffff;
    margin: 0 0 15px 0;
    opacity: 0.9;
    line-height: 1.4;
}

/* About Link with Icon */
.about-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    display: inline-block;
}

.footer-logo img {
    height: 60px;
    width: auto;
    filter: brightness(1);
    max-width: 100%;
}

/* Tagline Style */
.footer-tagline {
    font-size: 16px;
    font-weight: 400;
    color: #ffffff;
    margin: 0 0 15px 0;
    opacity: 0.9;
    line-height: 1.4;
}

/* About Link with Icon */
.about-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.about-link:hover {
    text-decoration: underline;
    transform: translateX(2px);
}

.about-link .svg-icon {
    opacity: 0.9;
    margin-left: 2px;
}

/* SVG Icon Styles - White Color */
.svg-icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    vertical-align: middle;
    filter: brightness(0) invert(1);
}

.svg-icon-small {
    width: 10px;
    height: 10px;
    filter: brightness(0) invert(1);
}

/* Social Icons Container */
.social-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    text-decoration: none;
    border-radius: 50%;
    opacity: 0.9;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.social-icons a:hover {
    opacity: 1;
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.social-icons a .svg-icon {
    width: 16px;
    height: 16px;
    filter: brightness(0) invert(1);
}

/* Hover effect for icons */
.social-icons a:hover .svg-icon,
.about-link:hover .svg-icon {
    opacity: 1;
    filter: brightness(0) invert(1);
}

/* Right Column (Categories) */
.footer-col-2 {
    flex: 1.5;
}

.footer-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 15px 0;
    color: #ffffff;
}

/* Enhanced Category Grid Layout */
.category-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.category-column {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-column li {
    margin-bottom: 12px;
}

.category-column li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    opacity: 0.9;
    transition: all 0.3s ease;
    display: block;
    padding: 2px 0;
}

.category-column li a:hover {
    opacity: 1;
    text-decoration: underline;
    padding-left: 5px;
}

/* Divider Line */
.footer-divider {
    border: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.3), transparent);
    margin: 0;
}

/* Bottom part of the footer (Copyright) */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    flex-wrap: wrap;
    gap: 15px;
}

.copyright-text {
    font-weight: 400;
}

/* --- Responsive Design for Mobile --- */
@media (max-width: 768px) {
    .custom-footer {
        padding: 30px 0 15px 0;
    }

    .footer-main {
        flex-direction: column;
        gap: 25px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .footer-logo img {
        height: 50px;
    }

    .footer-tagline {
        font-size: 14px;
    }

    /* Single column on mobile */
    .category-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .social-icons {
        justify-content: flex-start;
    }

    .social-icons a {
        width: 35px;
        height: 35px;
    }

    .social-icons a .svg-icon {
        width: 14px;
        height: 14px;
        filter: brightness(0) invert(1);
    }
}

@media (max-width: 480px) {
    .footer-container {
        padding: 0 15px;
    }

    .footer-logo img {
        height: 45px;
    }

    .footer-tagline {
        font-size: 13px;
    }

    .footer-main {
        gap: 20px;
    }

    .social-icons a {
        width: 32px;
        height: 32px;
    }

    .social-icons a .svg-icon {
        width: 12px;
        height: 12px;
        filter: brightness(0) invert(1);
    }
}

/* Main Content */
.site-main {
    padding: 2rem 0;
    min-height: 60vh;
}

.content-area {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

/* Post Styles */
.post {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.post:hover {
    transform: translateY(-5px);
}

.post-thumbnail img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.post-content {
    padding: 1.5rem;
}

.post-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.post-title a {
    text-decoration: none;
    color: inherit;
}

.post-title a:hover {
    color: #3498db;
}

.post-meta {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.post-excerpt {
    color: #555;
    line-height: 1.6;
}

.read-more {
    display: inline-block;
    background: #3498db;
    color: white;
    padding: 0.5rem 1rem;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 1rem;
    transition: background 0.3s ease;
}

.read-more:hover {
    background: #2980b9;
}

/* Sidebar */
.sidebar {
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    height: fit-content;
}

.widget {
    margin-bottom: 2rem;
}

.widget-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #2c3e50;
    border-bottom: 2px solid #3498db;
    padding-bottom: 0.5rem;
}

.widget ul {
    list-style: none;
}

.widget li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.widget li:last-child {
    border-bottom: none;
}

.widget a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s ease;
}

.widget a:hover {
    color: #3498db;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }

    .main-navigation ul {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .content-area {
        grid-template-columns: 1fr;
    }

    .site-title {
        font-size: 1.5rem;
    }

    .container {
        padding: 0 15px;
    }
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 2rem 0;
}

.pagination a,
.pagination span {
    padding: 0.5rem 1rem;
    background: #fff;
    border: 1px solid #ddd;
    text-decoration: none;
    color: #333;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.pagination a:hover {
    background: #3498db;
    color: white;
    border-color: #3498db;
}

.pagination .current {
    background: #3498db;
    color: white;
    border-color: #3498db;
}

/* =========================================

/* Accessibility Focus Styles */
.lokdharma-nav-links a:focus,
.lokdharma-categories a:focus,
.lokdharma-social-icons a:focus,
.menu-item:focus,
.lokdharma-logo:focus,
.lokdharma-hamburger:focus {
    outline: 2px solid #fff;
    outline-offset: 2px;
    box-shadow: 0 0 0 4px #2d58ff;
}

/* Ensure focus is visible on high contrast */
@media (forced-colors: active) {

    .lokdharma-nav-links a:focus,
    .lokdharma-categories a:focus,
    .lokdharma-social-icons a:focus,
    .menu-item:focus {
        outline: 2px solid CanvasText;
    }
}