/* Add to your main CSS file */
.language-switcher {
    display: inline-flex;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
    margin: 0 10px;
    vertical-align: middle;
}

.lang-btn {
    background: none;
    border: none;
    padding: 5px 12px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
    font-family: inherit;
}

.lang-btn.hi {
    font-family: 'Noto Sans Devanagari', 'Mangal', 'Arial Unicode MS', sans-serif;
}

.lang-btn.active {
    background: #007bff;
    color: white;
}



/* Font family for Devanagari script */
[lang="hi"] body {
    font-family: 'Noto Sans Devanagari', 'Mangal', 'Arial Unicode MS', sans-serif;
}

/* Add to your main CSS file */
#articleModal .modal-content {
    border: none;
    border-radius: 0.5rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

#articleModal .modal-header {
    border-bottom: 1px solid #dee2e6;
    padding: 1rem 1.5rem;
}

#articleModal .modal-title {
    font-weight: 600;
    font-size: 1.5rem;
}

#articleModal .modal-body {
    padding: 1.5rem;
    max-height: 70vh;
    overflow-y: auto;
}

#articleModal .article-image img {
    max-height: 400px;
    width: auto;
    margin: 0 auto;
    display: block;
}

#articleModal .image-caption {
    font-size: 0.9rem;
    text-align: center;
}

#articleModal .article-content {
    line-height: 1.6;
    font-size: 1.1rem;
}

[lang="hi"] #articleModal .modal-title,
[lang="hi"] #articleModal .article-content {
    font-family: 'Noto Sans Devanagari', 'Mangal', 'Arial Unicode MS', sans-serif;
}




/* Add to your main CSS file */
.featured-content .block-overlay {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 30px;
}

.featured-content .overlay-holder {
    position: relative;
    min-height: 500px;
}

.featured-content .p-featured {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.featured-content .p-featured img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-content .overlay-wrap {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
    color: white;
}

.featured-content .p-category {
    background-color: #ff184e;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 14px;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 15px;
}

.featured-content .entry-title {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.featured-content .entry-title a {
    color: white;
    text-decoration: none;
}

.featured-content .entry-summary {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.featured-content .meta-inner {
    display: flex;
    align-items: center;
    gap: 15px;
}

.featured-content .meta-date {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* RTL support for Hindi */
[lang="hi"] .featured-content .entry-title,
[lang="hi"] .featured-content .entry-summary {
    font-family: 'Noto Sans Devanagari', 'Mangal', 'Arial Unicode MS', sans-serif;
}


/* Add to your main CSS file */
#featuredArticleModal .modal-content {
    border-radius: 0.5rem;
    border: none;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

#featuredArticleModal .modal-header {
    border-bottom: 1px solid #dee2e6;
    padding: 1rem 1.5rem;
}

#featuredArticleModal .modal-title {
    font-weight: 600;
    font-size: 1.5rem;
}

#featuredArticleModal .modal-body {
    padding: 1.5rem;
}

#featuredArticleModal .featured-modal-image img {
    max-height: 400px;
    width: auto;
    max-width: 100%;
}

#featuredArticleModal .featured-modal-content {
    line-height: 1.6;
    font-size: 1.1rem;
}

#featuredArticleModal .image-caption {
    font-size: 0.9rem;
    text-align: center;
}

#featuredArticleModal .article-meta {
    font-size: 0.9rem;
}

#featuredArticleModal .category-badge {
    background-color: #ff184e;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.8rem;
}

/* RTL support for Hindi */
[lang="hi"] #featuredArticleModal .modal-title,
[lang="hi"] #featuredArticleModal .featured-modal-content {
    font-family: 'Noto Sans Devanagari', 'Mangal', 'Arial Unicode MS', sans-serif;
}











.qlayout-2 .qlink a {
    font-size: 2vh !important;
}

.p-featured img.featured-img,
.i-ratio .s-feat img,
.p-featured img {
    /* object-fit: contain !important; */
}