#post-page {
    padding-bottom: 1em;
}

#post-page h1{
    font-size: 1.8em;
}
#post-page h2{
    font-size: 1.5em;
}
#post-page h3{
    font-size: 1.2em;
    color: #363636;
}
#post-page h4{
    font-size: 1em;
    color: #363636;
}
#post-page h5{
    font-size: .8em;
    color: #363636;
}
#post-page h1,
#post-page h2,
#post-page h3,
#post-page h4,
#post-page h5{
    font-weight: 600;
    line-height: normal;
    color: #363636;
}

.header-content {
    display: flex;
    padding: 2em 0;
    justify-content: space-between;
}

.header-content h1{
    font-size: 1.5em!important;
    font-weight: 700!important;
}

.header-content h1,
.blog-section h1{
    font-size: 1.3em;
    font-weight: 600;
    /*margin-bottom: 1em;*/
}

.breadcrumb {
    font-size: 14px;
}

/* Pagination Styles */
.pagination ul { list-style: none; padding: 0; display: flex; gap: 10px; }
.pagination li a {
    padding: 6px 12px;
    border: 1px solid #ccc;
    text-decoration: none;
    border-radius: 4px;
    color: #333;
}
.pagination li.active a {
    background-color: #333;
    color: #fff;
    font-weight: bold;
}

.banner-text {
    text-align: center;
    /* Center the text horizontally */
    color: white;
    /* Text color */
}

/* Blog item styling */
.blog-list-items,
.blog-list-ct-items {
    display: grid;
    grid-gap: 3em;
    justify-items: center;
    padding-bottom: 2em;
}

.blog-list-items {
    grid-template-columns: repeat(2, 1fr);
}
.blog-list-ct-items {
    grid-template-columns: repeat(3, 1fr);
}

/*for category page */
.blog-list-items-category {
    display: grid;
    grid-gap: 4em;
    grid-template-columns: repeat(2, 1fr);
    /*min-height: 70vh;*/
    justify-items: center;
}

.blog-list-item {
    display: flex;
    flex-direction: column;
    padding: 0px;
    border: 1px solid #ddd;
    border-radius: 10px;
    height: 100%;
    transition: transform 0.3s ease;
    /* Ensure the item stretches to take up available space */
}


.blog-list-item:hover {
    transform: translateY(-5px);
    /* Optional: Adds hover effect */
}


.blog-list-item__image {
    flex-shrink: 0;
    overflow: hidden;
    height: 200px;
    border-radius: 10px;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
}

.blog-list-item__image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.blog-list-item__text {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    padding: 20px;
}

.blog-list-item__title {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 1em;
}

/* 'Read More' Link */
.blog-list-item__more {
    font-size: 0.95rem;
    font-weight: bold;
    color: #2d3d88;
    text-decoration: none;
    margin-top: 15px;
    font-size: 14px;
    color: #007bff;
    text-decoration: none;
}

.blog-list-item__more i {
    margin-left: 5px;
}

.blog-list-item__more:hover {
    color: #003366;
    text-decoration: underline;
}

/* Content area inside each blog item */
.blog-list-item__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.blog-list-item__meta {
    font-size: 14px;
    color: #888;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .blog-list-items,
    .blog-list-ct-items {
        grid-template-columns: repeat(2, 1fr);
        /* 2 items per row on medium screens */
    }
}

@media (max-width: 768px) {
    .blog-list-items,
    .blog-list-ct-items {
        grid-template-columns: 1fr;
        /* 1 item per row on small screens */
    }
}

 /* categary*/
/* Container Styles */


/* Row Styles */
.row {
    display: flex;
    flex-wrap: wrap;
     /* gap: 20px; */
}



/* Category Card Styles */
.category-card {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease-in-out;
}

.category-card:hover {
    transform: translateY(-10px);
}

/* Category Name Styles */
.category-name h4 {
    font-size: 18px;
    color: #333;
    font-weight: 600;
}

/* Divider Styles */
.divider {
    border: 1px solid #ddd;
    margin-top: 20px;
}

.post-title{
    margin: 0px 0px 12px;
}

.post-title h1{
}

.post-details {
    margin-bottom: 1em;
    display: flex;
}

.post-details .post-date,
.post-details .post-readtime,
.post-details .post-views{
    font-size: 14px;
    color: #7c7c7c;
    margin-left: 5px;
    margin-right: 1em;
}

.post-img{
    border-bottom: 1px solid #ccc;
    margin-bottom: 1em;
    padding-bottom: 1em;
}

.post-img img{
    border-radius: 1em;
}

.post-content{
    font-size: 16px;
    color: #444444;
    line-height: 1.75em
}

.post-content h2,
.post-faq h2{
    padding-top: 0.5em;
    font-weight: 600;
}

.post-content a{
    color: #0d6efd;
}

.post-content ul {
  list-style: none;
  padding-left: 1.2em;
}

.post-content ul li::before {
  content: "•";
  margin-right: 0.5em;
}

.post-content ol {
  list-style: none; /* disable native numbers */
  counter-reset: custom-counter;
  padding-left: 1.5em;
}

.post-content ol li {
  counter-increment: custom-counter;
  position: relative;
  padding-left: 1.5em; /* spacing for the number */
}

.post-content ol li::before {
  content: counter(custom-counter) ".";
  position: absolute;
  left: 0;
  font-weight: bold;
  color: #333;
}

.post-content table {
  border-collapse: collapse;
  width: 100%;
}

.post-content table td, 
.post-content table th {
  border: 1px solid #ddd;
  padding: 8px;
}

.post-content table tr:nth-child(even){
    background-color: #f2f2f2;
}

.post-content table tr:hover {
    background-color: #ddd;
}

.post-content table th {
  padding-top: 12px;
  padding-bottom: 12px;
  text-align: left;
  background-color: #04AA6D;
  color: white;
}

.post-faq{
    padding-top: 1em;
}

.post-references{
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 1em;
}

.post-tags{
    border-bottom: 1px solid #ccc;
    padding: 1em 0em;
}

.post-categories{
    padding: 1em 0em;
}

.post-categories h4{
    font-size: 1.1em;
    font-weight: bold;
    padding-bottom: 1em;
}

.post-categories{
    padding: 1em 0em;
}

.header_right .sidebar_search input,
.header_right .sidebar_search button{
    margin-bottom: 0!important;
}

.sidebar_posts,
.sidebar_tags,
.sidebar_categories,
.sidebar_button,
.sidebar_search input,
.sidebar_search button {
    border: 1px solid #ddd; 
    border-radius: .5em; 
    margin-bottom: 20px;
}

form.sidebar_search{
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: space-between;
}

.sidebar_search input{
    /*float: left;
    width: 80%;*/
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
    border-right: 0px;
}
.sidebar_search button {
    height: 43px;
    /*float: left;*/
    /*width: 20%;*/
    cursor: pointer;
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
}

.sidebar_search::after {
  content: "";
  clear: both;
  display: table;
}

.sidebar_posts h5,
.sidebar_tags h5,
.sidebar_categories h5,
.sidebar_button h5{
    padding: 15px; 
    font-size: 16px; 
    font-weight: bold; 
    margin-bottom: 0px; 
    border-bottom: 1px solid #ddd; 
}

.sidebar_recent_post_list a,
.sidebar_search input,
.sidebar_search button{
    padding: 10px 15px; 
    border-bottom: 1px solid #ddd;
    text-decoration: none; 
    font-size: 14px;
    display: block;
}

.sidebar_recent_post_list a:last-child{
    border-bottom: none;
}

.sidebar_recent_post_list a:hover,
.sidebar_tag_list a:hover,
.sidebar_catg_list a:hover,
.post-categories a:hover,
.sidebar_search button:hover {
    text-decoration: none; 
    color: #000;
    background: #ddffdc;
    font-weight: bold;
}

.sidebar_tag_list,
.sidebar_catg_list {
    display: flex; 
    flex-wrap: wrap; 
    gap: 10px;
    padding: 10px 15px;
}

.sidebar_button_list {
    padding: 10px 15px;
    /*display: grid;*/
    display: flex;
    grid-gap: 1em;
    grid-template-columns: repeat(2, 1fr);
    justify-content: flex-start;
    flex-wrap: wrap;
    align-content: center;
    align-items: center;
}

.sidebar_tag_list a,
.sidebar_catg_list a,
.post-categories a,
.sidebar_button_list a {
    padding: 5px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    text-decoration: none;
}

.sidebar_button_list a {
    text-decoration: none;
    color: #ffffff;
    background: #333333;
    font-weight: bold;
    padding: 10px;
    border-radius: 10px;
    text-align: center;
}

.post-categories a {
    margin-right: 1em;
    padding: 10px 15px;
}

.truncate {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 300px; /* adjust as needed */
  display: inline-block;
}

.accordion{
    width: 100%;
    background: #FFF;
}
.accordion .accordion-content{
    margin: 10px 0;
    border-bottom: 1px dashed #dddddd;
    overflow: hidden;
}
.accordion .accordion-content:last-child{
    border-bottom: none;
}

.accordion-content.open{
    padding-bottom: 10px;
}

.accordion-content svg{
    /*rotate: 0deg;*/
    transition: all 0.2s linear;
}
.accordion-content header{
    display: flex;
    min-height: 50px;
    padding: 0;
    cursor: pointer;
    align-items: center;
    justify-content: space-between;
    transition: all 0.2s linear;
}
.accordion-content.open header{
    /*min-height: 35px;*/
}
.accordion-content.open svg{
    rotate: 45deg;
    transition: all 0.2s linear;
}
.accordion-content header .title{
    font-weight: 500;
    color: #333;
}
.accordion-content header i{
    color: #333;
}

.accordion-content.open header .title{
    font-weight: 700;
}

.accordion-content.open header .title{
    font-weight: 700;
}

.accordion-content .description{
    height: 0;
    margin: 0;
    color: #333;
    font-weight: 400;
    padding: 0;
    transition: all 0.2s linear;
}