body {
    background-color: #f8f9fa; /* Light grey background similar to the image */
    font-family: Arial, sans-serif;
}
.main-content-card {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.sidebar-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    overflow: hidden; /* To contain border-radius on list group */
}
.sidebar-card .card-header {
    background-color: #2382dc; /* Blue header for Quick Links */
    color: white;
    font-weight: bold;
    padding: 10px 15px;
}
.card-link-btn {
    width: 100%;
    padding: 10px 15px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 6px;
}
.quick-links-list .list-group-item {
    border-left: none;
    border-right: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #eee;
    border-radius: 10px;
    padding:4px;
    margin-top:10px;
    width: 92%;
margin-left: 18px;
font-size: 11px;
}
.list-group-item{
    margin-top:5px !important;
    margin-bottom:5px !important;
}
.quick-links-list a {
    color: #333;
    text-decoration: none;
}
.quick-links-list a:hover {
    background-color: #f1f1f1;
}
.post-meta {
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 15px;
}
.post-meta a {
    color: #0d6efd;
    text-decoration: none;
}
.post-meta a:hover {
    text-decoration: underline;
}
.lajpat-nagar-image {
    width: 100%;
    height: auto;
    border-radius: 4px;
    margin-top: 15px;
}
/* Custom styling for the large "LAJPAT NAGAR" text overlay on the image is complex and requires absolute positioning/SVG/Canvas. 
   For simplicity and maintaining the Bootstrap focus, I'll use a text overlay, but achieving the exact look may need more advanced CSS/image editing. */
.image-container {
    position: relative;
    margin-bottom: 20px;
}
.image-overlay-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 4rem;
    font-weight: 900;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7); 
    text-align: center;
    line-height: 1;
}
@media (max-width: 768px) {
    .image-overlay-text {
        font-size: 2.5rem;
    }
}
@media (min-width: 1200px) {
.container {
max-width: 1200px !important;
}
}

.bdp-title {
margin-bottom: 20px;
}
.bdp-meta {
display: flex
;
align-items: center;
margin: 0 !important;
list-style: none !important;
line-height: 16px !important;
gap:10px;

}

.bdp-meta .meta-lbl {
display: inline-block;
vertical-align: middle;
color: #666;
font-size:13px;
}
.bdp-title h1 {
font-family: 'Roboto', sans-serif;
font-size: 22px;
line-height: 32px;
color: #000;
font-weight: 500;
}
.bdp-meta a.meta-val {
display: inline-block;
vertical-align: middle;
font-size:13px;

color: #03c;
text-decoration: none;
border-bottom: none !important;
}
.toc-sh {
    background-color: #f1f1f1; /* Light grey header background */
    font-size: 1.1rem;
    padding: 10px 15px;
    border-bottom: 1px solid #dee2e6;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.table-of-content {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    margin: 20px auto; /* Added margin for visibility */
    max-width: 700px; /* Constrain width for a typical article layout */
    background-color: white;
    overflow: hidden; /* Contains the border-radius */
}
.toc-sh h3 {
    font-size: 1.1rem;
    font-weight: bold;
    margin: 0;
    color: #333;
}
/* Style for the arrow icon */
.toc-sh::after {
    content: "\f282"; /* Bootstrap icon for chevron-down (default: hidden) */
    font-family: "bootstrap-icons";
    font-weight: bold;
    transition: transform 0.3s ease-in-out;
}
/* Style when the TOC is open (list is showing) */
.toc-sh.open::after {
    transform: rotate(180deg);
}

/* List Styling */
.toc-list {
    padding: 15px 15px 15px 35px !important; /* Adjust padding for list structure */
    margin-bottom: 0;
    background-color: #f1f1f1; 
}
.toc-list li {
    margin-bottom: 5px;
}
.toc-list li a {
    color: #0d6efd; /* Blue links */
    text-decoration: none;
    font-size: 0.95rem;
    display: inline-block;
}
.toc-list li a:hover {
    text-decoration: underline;
}
.toc-list ol {
    padding-left: 20px;
    margin-top: 5px;
}
.toc-list ol li {
    font-size: 0.9rem;
}
.sub-item{
    padding-left:10px;
}
.content h2 {
font-size: 22px;
line-height: 26px;
font-weight: 600;
margin-bottom: 15px;
margin-top: 30px;
padding: 10px 15px;
color: #1761cf;
background: linear-gradient(90deg, #e3ecfb 0, #fff);
border-left: solid 4px #1761cf;
}
.content{
text-align: start !important;
}
ul{
padding-left: 0rem !important;
}
.content p {

line-height: 28px;
color: #333;
margin-bottom: 15px;
}
.content h3 {
font-size: 19px;
line-height: 22px;
font-weight: 800;
margin-bottom: 15px;
margin-top: 30px;
color: #000;
}
.content ul {
margin-left: 0 !important;
}
.content ul > li {
font-size: 17px;
line-height: 28px;
margin-bottom: 15px;
color: #333;
}
.content ul > li {
position: relative;
padding-left: 30px;
list-style-type: none;
}
.content ul > li:before {
content: '\f105';
font-family: 'FontAwesome';
background: #5a8bd5;
color: #fff;
left: 0;
top: 4px;
font-size: 15px;
border-radius: 50%;
width: 20px;
height: 20px;
text-align: center;
display: flex
;
align-items: center;
justify-content: center;
position: absolute;
}
.content strong {
font-weight: 600;
}
.content table {
width: 100%;
border: 1px solid #ccc;
border-collapse: collapse;
font-size: 16px;
}
tr {
display: table-row;
vertical-align: inherit;
unicode-bidi: isolate;
border-color: inherit;
}

.content td {
padding: 10px 7px;
color: #333;
border: 1px solid #ccc;
text-align: center;
line-height: 26px;
word-break: keep-all;
}
.content th {
font-weight: 600;
color: #000;
padding: 10px 7px;
line-height: 23px;
text-align: center;
border: 1px solid #ccc;
word-break: keep-all;
}
.releted-post {
border-radius: 20px;
background: #f1f1f1;
border: 1px solid #ddd;
margin: 20px 0 15px;
background: #fff;
box-shadow: 1px 0px 15px #ccc;
}
.releted-post h3 {
padding: 15px 15px 10px;
font-size: 18px;
color: #000;
font-weight: 400;
border-bottom: 1px solid #ddd;
}
.releted-post .rp-list {
margin: 0 -10px 7px;
padding: 15px;
display: flex
;
list-style: none;
flex-wrap: wrap;
}
.releted-post .rp-list > li {
width: 33.33%;
box-sizing: border-box;
padding-left: 10px;
padding-right: 10px;
text-align: center;
}

.releted-post .rp-list .rp-item {
border: 1px solid #eee;
padding: 12px;
}
.releted-post .rp-list .rp-img {
display: flex
;
align-items: center;
justify-content: center;
background: #eee;
height: 140px;
overflow: hidden;
}
.releted-post .rp-list .rp-title {
font-size: 14px;
margin-top: 10px;
font-weight: 500;
font-family: 'Roboto', sans-serif;
color: #666;
display: block;
text-decoration:none;
}
.shareon-sec {
background: #fff;
padding: 20px 15px;
border-radius: 15px;
margin-bottom: 20px;
box-shadow: 1px 0px 15px #ccc;
}
.share-post {
display: flex
;
margin-bottom: 12px;
align-items: center;
color: #666;
}
.share-post i.fa.fa-share-alt {
display: flex
;
margin-right: 5px;
color: #666;
align-items: center;
justify-content: center;
font-size: 12px;
}
.share-post .share-icon{
height: 30px;
width: 30px;
border-radius: 5px;
display: flex;
align-items: center;
justify-content: center;
margin-left: 7px;
color: #fff;
font-size: 13px;
}
.share-post .share-icon.facebook {
background: #4267B2;
}
.share-post .share-icon.twitter {
background: #00acee;
}
.share-post .share-icon.linkedin {
background: #0077b5;
}

.share-post .share-icon.pinterest {
background: #b7081b;
}
.rate_sec {
display: flex
;
align-items: center;
color: #666;
}
.ratting0 {
background: #999;
color: #fff;
}
.r_count_box {
display: inline-block;
vertical-align: middle;
font-size: 12px;
line-height: 15px;
font-weight: bold;
margin-right: 3px;
padding: 3px 7px;
border-radius: 2px;
}
.share-rate .star-rating {
direction: rtl;
cursor: default;
margin: 0 10px;
}
.share-rate {
display: flex
;
align-items: center;
margin-left: 20px;
}
.fa-share-alt:before {
content: "\f1e0";}



.blog_tabs {
position: relative;
display: flex;
align-items: center;
overflow: hidden;
border-bottom: 2px solid #eee;
padding: 8px 0;
}

.roll_scroller {
display: flex;
overflow-x: auto;
scroll-behavior: smooth;
gap: 10px;
scrollbar-width: none;
padding:5px;
}

.roll_scroller::-webkit-scrollbar {
display: none;
}

.tab-button {
flex-shrink: 0;
background: #f1f1f1;
color: black;
border: none;
padding: 3px 10px;

cursor: pointer;
transition: all 0.3s;
font-size: 11px;
white-space: nowrap;
}

.tab-button.active,
.tab-button:hover {
background: #deedff;
color: #0033cc;
}




.recent-post-item {
display: flex;
align-items: center;
margin-bottom: 12px;
}

.recent-post-image {
width: 36px;
height:36px;
object-fit: cover;
border-radius: 6px;
margin-right: 10px;
}

.recent-post-content a {
font-size: 11px;
color: #03c;
text-decoration: none;
line-height: 1.3;
}

.recent-post-content a:hover {
text-decoration: underline;
color: #007bff;
}

.col-lg-3 {
position: sticky;
top: -208px; /* adjust based on your navbar height */
align-self: flex-start;

}
@media (max-width: 768px) {
.quick-links-list .list-group-item{
width:366px;
}

}
.row {
display: flex;
flex-wrap: nowrap;
}

@media (max-width: 991px) {
.row {
flex-wrap: wrap; /* On mobile, stack normally */
}
.col-lg-3 {
position: static; /* Disable sticky on small screens */
}

}
.add-comment {
background: #f8f8f8;
border-radius: 15px;
padding: 20px;
box-shadow: 1px 0px 15px #ccc;
}
.add-comment .ac-heading {
font-size: 20px;
margin-bottom: 20px;
font-weight: 600;
color: #222;
line-height: 25px;
}
.form-row {
display: flex
;
flex-wrap: wrap;
margin-left: -10px;
margin-right: -10px;
}
.form-row .col-half {
width: 50%;
box-sizing: border-box;
padding-left: 10px;
padding-right: 10px;
}

.ac-fg {
margin-bottom: 20px;
}
.floating-label {
position: relative;
}
.ac-fg .ac-fc {
width: 100%;
box-sizing: border-box;
padding: 10px;
border: 1px solid #ccc;
border-radius: 3px;
outline: none;
box-shadow: none;
resize: vertical; 
}
.btn-ac-submit {
display: inline-block;
padding: 10px 30px;
color: #fff;
border-radius: 3px;
border: none;
background: #d14445;
font-size: 14px;
font-weight: 600;
}
.ac-fc {
width: 100%;
padding: 10px;
border: 1px solid #ccc;
border-radius: 6px;
resize: vertical; /* allows vertical resizing */
font-family: inherit;
font-size: 14px;
}
.form-row .col-full {
width: 100%;
box-sizing: border-box;
padding-left: 10px;
padding-right: 10px;
}
.breadcrumb-item1{
color:grey;
font-size:12px;
}
.tab-contents {
display: none;
}
.tab-content.active {
display: block;
}
.tab-button.active {
background-color: #deedff;
color: #0033cc;
border: none;
}
.roll_scroller {
display: flex;
gap: 8px;
overflow-x: auto;
padding: 5px 0;
}
.roll_scroller::-webkit-scrollbar {
height: 6px;
}
.roll_scroller::-webkit-scrollbar-thumb {
background: #ccc;
border-radius: 4px;
}
.roll_scroller {
display: flex;
overflow-x: auto;
white-space: nowrap;
position: relative;
padding-right: 40px; /* 👈 adds space so icon doesn’t overlap */
}



.tabs-control-wrapper {
/* **Crucial for one row:** Sets the container as a flexible box */
display: flex; 
/* Vertically centers the items (arrows and tabs) */
align-items: center; 
/* Hides the horizontal scrollbar of the wrapper itself, allowing only the inner element to scroll */
overflow: hidden; 
padding: 5px 0;
border-bottom: 1px solid #eee;
}
.float-end{
display: inline-block;
width: 6px;
height: 6px;
border-top: 2px solid #ccc;
border-right: 2px solid #ccc;
transition: .5s 
ease;
margin-top: 0;
content: '';
transform: rotate(45deg);
position: absolute;
top: 9px;
right: 15px;
}
.post-nav li a {
display: flex
;
align-items: center;
max-width: 100%;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
background: #fff;
color: #08c;
font-weight: 600;
padding: 5px 15px;
box-shadow: 1px 0px 15px #ccc;
border-radius: 25px;
position: relative;
font-size: 14px;
line-height: 26px;
transition: all 0.3s 
ease;
gap:7px;
text-decoration: none;}
.post-nav {
margin-bottom: 20px;
display: flex
;
align-items: center;
justify-content: space-between;
}
.responsive-table{
width: 100%;
overflow-x: auto;
-webkit-overflow-scrolling: touch; /* smooth scrolling on mobile */
}
table {
width: 100%;
border-collapse: collapse;
}

table th,
table td {
border: 1px solid #ddd;
padding: 8px;
text-align: left;
}

table th {
background-color: #f4f4f4;
font-weight: 600;
}
@media (max-width: 768px) {
.hide-on-mobile {
display: none !important;
}
}
/* Base container styling */
.author-bio-container {
display: flex; /* Use flexbox to align image and text */
align-items: flex-start; /* Align items to the top */
max-width: 800px; /* Limit the width for better readability */
padding: 20px;
font-family: Arial, sans-serif; /* Common web font, similar to the image */
line-height: 1.6;
}

/* Profile Image Styling */
.profile-image-wrapper {
margin-right: 20px; /* Space between image and text */
}

.profile-image {
/* width: 250px; */
height: 53px;
border-radius: 50%; /* Makes the image circular */
object-fit: cover; /* Ensures the image covers the area without distortion */
display: block; /* Removes any default bottom spacing for inline elements */
}

/* Bio Content Styling */
.bio-content {
flex-grow: 1; /* Allows the content to take up the remaining space */
}

/* Name and Button Header */
.name-header {
display: flex;
align-items: center;
margin-bottom: 5px; /* Space between name/button and bio text */
}

.author-name {
font-size: 18px;
font-weight: bold;
color: #333; /* Darker text for the name */
margin: 0; /* Remove default margin from h3 */
/* text-transform: uppercase; Match the uppercase styling */
}

/*.close-button {
margin-left: 10px;
font-size: 12px;
font-weight: bold;
color: #888;
border: 1px solid #ccc;
padding: 2px 5px;
cursor: pointer;
line-height: 1; 
}*/

/* Bio Text Styling */
.bio-text {
font-size: 15px;
color: #555; /* Slightly lighter than the name */
margin: 0; /* Remove default margin */
}
@media (max-width: 576px) {
hr {
margin: 0rem 0;
}
.breadcrumb{
margin-bottom:5px !important;

}
.breadcrumb-item1{
font-size:8px;
}
.releted-post .rp-list > li{
width: 100.33%;
box-sizing: border-box;
/* padding-left: 25px; */
text-align: center;
padding-top: 10px;
}
.releted-post .rp-list{
padding: 15px;
}
.profile-image {
height:30px !important;
}
.author-bio-container{

flex-direction:column;
max-width: 800px;
padding: 20px;
font-family: Arial, sans-serif;
line-height: 1.6;
}
.profile-image-wrapper {
margin-right: 20px;
margin-bottom: 10px;
}
.profile-image {
width: 64px;
height: 63px !important;
border-radius: 50%;
object-fit: cover;
display: block;
}
}
.details>li {
display: list-item !important;
}
.newList a {
color:black;
text-decoration: none;
cursor: pointer;

}

.newList a:hover {
color: darkblue;
}
.details h1, .details h2 {
scroll-margin-top: 100px;  /* adjust this to match your header's height */
}
.category-list {
max-height: 200px; /* adjust as per your item height (≈5 items) */
overflow-y: auto;
scrollbar-width: thin; /* for Firefox */
scrollbar-color: #ccc transparent; /* optional style */
}

/* Optional: Better scrollbar look for Chrome, Edge */
.category-list::-webkit-scrollbar {
width: 6px;
}
.category-list::-webkit-scrollbar-thumb {
background-color: #bbb;
border-radius: 4px;
}
.category-list::-webkit-scrollbar-thumb:hover {
background-color: #999;
}
.recent-post-content a {
font-size: 14px !important;
}
ul{
margin-left:10px !important;
}
.details {
overflow: hidden;
word-wrap: break-word;
}
.details span {
display: contents !important;
width: 100% !important;
box-sizing: border-box !important;
height:60% !important;
}
/* img{
width: 100% !important;
} */
.details img {
width: 100% !important;
max-width: 100% !important;
height: auto !important;
display: block;
}