/*Style Starts Here*/
.custom-container{max-width: 1440px;}

h1,h2,h3,h4,h5,h6{
  font-family: "DM Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
}
body,p{
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-style: normal;
}
a{color: #000000;}

/*---news & insights page style---*/
.heading {text-align: center;margin: 45px 0 35px;font-size: 2.25rem;line-height: 1.2;}
.news-filter-wrapper, .insights-filter-wrapper {display: flex;flex-wrap: wrap;gap: 15px;padding: 10px; margin-bottom: 35px;}
.news-filter-sidebar li {margin-bottom: 22px;transition: all 0.5s ease-in-out;}
.insights-card {display: flex;flex-direction: column;/* padding: 5px; */border-radius: 32px; margin-bottom: 10px;transition: all 0.5s ease-in-out;}
.news-filter-sidebar a:hover, .news-filter-sidebar a.active {font-weight: normal;color: #fff;background-color: #131220;border-color: #131220;text-decoration: none;}
.insights-filter-sidebar a:hover, .insights-filter-sidebar a.active {font-weight: normal;color: #fff;background-color: #131220;border-color: #131220;text-decoration: none;}
.insights-card:hover .insights-title a {color: #700D0A !important;}
.news-card:hover .news-title a {color: #700D0A !important;}
.news-card-posts:hover .news-inner-content h2 a, .insights-card-posts:hover .insights-inner-content h2 a, .resource-post:hover .resource-title a {color: #700D0A !important;}
.news-filter-sidebar li a, .insights-filter-sidebar li a {font-size: 0.92rem; line-height: 1.2;margin-bottom: 10px;border: 1px solid #000000;border-radius: 16px;width: max-content;padding: 8px 20px;font-weight: 600;color: #000000;transition: all 0.5s ease-in-out;}
.news-filter-sidebar ul, .insights-filter-sidebar ul {list-style: none;padding: 0;padding-top: 6px !important;}
.news-grid, .insights-grid {display: grid;grid-template-columns: 1fr;gap: 20px;}
.news-filter-sidebar, .insights-filter-sidebar {/*flex: 1 1 250px;*/background: #FFFFFF;padding: 20px;border-radius: 18px;height: max-content;}
.form-select {border-radius: 50px;}
.news-posts-section, .insights-posts-section {flex: 3 1 70%;}
.news-card{margin-bottom: 10px;}
.insights-category, .news-category {font-size: 0.8rem;line-height: 1.2;font-weight: normal;color: #131220;margin: 10px 0;text-transform: capitalize;display: block;
border: 1px solid #FCE4E3;background-color: #FCE4E3;border-radius: 30px;width: max-content;padding: 6px 12px;font-family: "Lato", sans-serif;}
.news-title, .insights-title {font-size: 1.5rem;line-height: 1.2;}
.news-thumbnail img, .insights-thumbnail img, .resource-grid .resource-thumbnail img {width: 100%;height: 225px;object-fit: cover;object-position: center;border-radius: 24px;border: 1px solid #e3e3e3;margin-bottom: 5px;}
.news-inner-content h2 a, .insights-inner-content h2 a {font-size: 1.5rem;line-height: 1.2;margin: 0 0 10px;color: #000000 !important;text-decoration: none;}
.news-filter-sidebar a:hover, .news-filter-sidebar a.active, .insights-filter-sidebar a:hover, .insights-filter-sidebar a.active {font-weight: normal;color: #ffffff !important;background-color: #000000;border-color: #000000;text-decoration: none;font-weight: 600;}
.news-title a, .insights-title a {text-decoration: none;color: #000000;font-weight: 700;transition: all 0.3s ease-in-out;}
.insights-category a, .news-category a{color: #700D0A;line-height: 1;}
.archive-card:hover .archive-card-inner .news-title a{color: #700D0A;}
.insights-category a:hover, .news-category a:hover{color: #700D0A;}
.news-excerpt, .insights-excerpt, .resources-excerpt {font-size: 1rem;line-height: 1.4;color: #000000;margin-top: auto;font-family: "Lato", sans-serif;font-weight: 600;}
.news-card-posts, .insights-card-posts {display: flex;flex-direction: column;padding: 0;border-radius: 32px;transition: all 0.5s ease-in-out;}
.insights-filter-sidebar h3, .news-filter-sidebar h3 {font-size: 1.25rem;line-height: 1.2;}
.insights-filter-sidebar li:last-child, .news-filter-sidebar li:last-child{margin-bottom: 10px;}
.insights-filter-sidebar li {margin-bottom: 22px;transition: all 0.5s ease-in-out;}
#ez-toc-container a:visited {color: #f36e6e;}

.fa-chevron-up{font-size: 12px;}
.owl-next.disabled .latest-slider, .owl-prev.disabled .latest-slider, .home-slider-post .owl-prev .latest-slider, .home-slider-post .owl-next .latest-slider {padding: 5px 10px !important;}
.insights-section .insights-1-post {background-color: #f5f5f5;border-radius: 26px;}
.insights-dis, .news-dis, .resources-dis, p.latest-post-desc{color: #000000;}
.news-carousel .item, .resources-carousel .item{background: #ffffff;border-radius: 16px;}
.resources-carousel .item, .latest-posts-carousel .item{margin: 0 18px 18px 18px;}
.resources-img{height: 225px;object-fit: cover;object-position: center;}
.news-img img, .latest-img img{height: 225px;object-fit: cover;object-position: center;border-radius: 16px;}
.insights-title h1, .news-title h1, .resources-title h1, h1.latest-title{font-size: 24px; line-height: 1.2;margin-bottom: 0;}
.insights-img, .news-img{height: 225px;padding: 15px 15px 5px 15px;}
.insights-1-post:hover .insights-title h1 a{color: #700D0A;}
.news-1-post:hover .news-title h1 a{color: #700D0A;}
.resources-title a, h1.latest-title a{color: #000000 !important;}
.resources-1-post:hover .resources-title h1 a{color: #700D0A !important;}
.resources-img{padding: 15px 15px 5px 15px;}
.insights-img img, .news-img img, .resources-img img {height: 100%;object-fit: cover;width: 100%;border-radius: 16px;}
.insights-info, .news-info, .resources-info{padding: 15px;display: flex;flex-direction: column;flex-wrap: wrap;align-content: flex-start;justify-content: center;align-items: flex-start;gap: 15px;}
.latest-info{padding: 20px 0;display: flex;flex-direction: column;flex-wrap: wrap;align-content: flex-start;justify-content: center;align-items: flex-start;gap: 15px;}
.insights-section .insights-list .insights-info {padding: 10px 20px;}
.insight-carousel .item{padding: 12px;}
.insights-cat a, .news-cat a, .resources-cat a {border: 1px solid #FCE4E3;border-radius: 16px;padding: 5px 12px;font-size: 13px;white-space: nowrap;text-decoration: none;color: #700D0A;font-weight: 400;background-color: #FCE4E3;}

/*---resources page style---*/
.resource-sidebar {/*flex: 1 1 250px;*/position: sticky;top: 110px;height: max-content;margin-bottom: 30px;}
.resource-sidebar {/* width: 225px; */padding: 20px;background: #ffffff;border-radius: 38px;}
.resource-layout {display: flex;}
.tabs {display: flex;margin: 60px auto 20px;flex-direction: column;flex-wrap: wrap;align-content: center;align-items: center;}
.resource-content {flex: 3 1 70%;padding: 0 0 20px 20px;}
.resource-sidebar h3 {font-size: 1.25rem;line-height: 1.2;margin-bottom: 0 !important;}
.resource-grid {display: grid;grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));gap: 20px; min-height: calc(100vh - 150px);}
.resource-tags {display: flex;gap: 5px;}
.type-tag, .topic-tag {font-size: 0.8rem;line-height: 1.2;font-weight: normal;color: #131220;margin: 10px 0;display: block;border: 1px solid #131220;border-radius: 16px;width: max-content;padding: 4px 12px;font-family: 'Lato', sans-serif;}
span.resource-tag.type-tag {display: block; background-color: #000000 !important;}
span.resource-tag.topic-tag{border: 1px solid #FCE4E3;background-color: #FCE4E3;}
span.resource-tag.topic-tag a{color: #700D0A;}
span.resource-tag.type-tag a{color: #ffffff;}
.resource-title a {text-decoration: none;color: #000000;transition: all 0.3s ease-in-out;}
.resource-title {font-size: 1.5rem;line-height: 1.2;margin: 0 0 10px;}
.resource-post p{color: #000000;margin-bottom: 0;font-weight: 600;line-height: 1.3;}
.main-category-tab, .sub-category-item {cursor: pointer;text-align: center;padding: 10px 20px;/*border: 1px solid #131220;*/border-radius: 16px;width: max-content;color: #000000;
font-family: "Lato", sans-serif;font-weight: normal;text-decoration: none;font-weight: 600;}
.main-category-tab.active {color: #ffffff;background: #000000;border-color: #000000;}
li.sub-category-item, li.sub-category-item.active {transition: all 0.5s ease-in-out;border: 1px solid #000000;}
li.sub-category-item {transition: all 0.3s ease-in-out;}
li.sub-category-item.active {background: #000000;color: #ffffff;}
.sub-category-list {flex-direction: column;margin-bottom: 0px;}
.main-category-tabs {list-style: none;display: flex;gap: 10px;margin: 20px 0;background: #e9e9e9;border-radius: 24px;padding:8px 10px;}
.sub-category-list {list-style: none;display: flex;gap: 10px;border-radius: 30px;padding: 5px 0;}
.form-select:focus {border-color: #060606 !important;outline: 0;box-shadow: 0px 0px 10px 1px #00000040 !important;}
.mega-menu-content:hover .wp-taitle-memu h2 a{color: #700D0A;}

/*---paginaton styling---*/
.page-btn {padding: 5px 12px !important;border: 1px solid #F05B57 !important;background-color: #F05B57 !important;border-radius: 100%;color: #fff;}
.navigation.pagination{margin: 25px 0 35px;}
.navigation.pagination a.page-numbers, a.prev.page-numbers{border-radius: 30px !important; background-color: #F05B57 !important;}
.navigation.pagination .nav-links, span.page-numbers.current{border-radius: 100% !important;}
.category-wp-wrp .read-more-wrp a:hover {color: #fff;background-color: #f05b57;border: 1px solid #f05b57;}


/*---media screen queries---*/
@media screen and (max-width: 992px) {.resource-sidebar, .news-filter-sidebar, .insights-filter-sidebar {top: 0px !important;}}

@media screen and (max-width: 768px) {
  .resources-tab-section .resources-tab{padding: 35px 15px 10px !important;}
    .resource-sidebar {width: 96% !important;margin: 0 auto;position: relative !important;margin-bottom: 30px;}
    .resource-layout {flex-direction: column;}
    .resource-content {padding: 0px !important;}
    .resource-sidebar {flex: 1 !important;}
    .news-filter-sidebar, .insights-filter-sidebar {width: 95% !important;margin: 0 auto;position: relative !important;margin-bottom: 30px;}
    .form-select{background-color: #FCE4E3;color: #700D0A;}
    .tabs{margin: 0 0 20px !important;} 
    .tabs h1, .heading{font-size: 2rem; line-height: 1.2;margin: 30px 0;}
    .news-post-hero-container{padding: 20px !important;}
    .px-8 {padding: 10px !important;}
    .mb-dev{justify-content: flex-end !important;}
    .sidebar-top .meta-info, .blog-author{padding-left: 0 !important;}
    li.d-flex.flex-column.flex-md-row.align-items-start.align-items-md-center {flex-direction: row !important;align-items: center !important;}
}

@media screen and (max-width: 575px) {#home-page .updated-post{padding: 20px !important;}#home-page {padding: 10px 0 !important;}.top-bar{padding: 12px !important;}.main-category-tabs, .sub-category-list {flex-direction: row !important;align-content: center;justify-content: flex-start;flex-wrap: nowrap; align-items: center;overflow-y: scroll;width: 100%;} .resource-post{margin-bottom: 10px;}.single-resources .wp-header {
display: flex;align-items: flex-start !important;gap: 30px !important;flex-direction: column;align-content: flex-start !important;}.single-resources .header-bg{padding: 40px 20px !important;} .single-resources .block .sub-meta{margin: 0 0 30px;}
.insights-card, .news-card, .resource-post, .news-card-posts, .insights-card-posts{padding: 8px; margin-bottom: 0 !important;} .news-filter-wrapper, .insights-filter-wrapper{gap: 0;}.news-list{padding: 15px;}}

@media screen and (min-width: 576px) and (max-width: 992px) {.main-category-tabs, .sub-category-list {flex-direction: row !important;align-content: center;justify-content: center;flex-wrap: wrap;}}

@media screen and (min-width: 768px) and (max-width: 1024px){.news-filter-wrapper, .insights-filter-wrapper{flex-direction: column;}.col-md-4.medium-desktop.news-grid, .col-md-4.medium-desktop.insights-grid{grid-template-columns: repeat(1, 1fr) !important; padding-left: 0px; min-height: 480px;} .px-8 {padding: 0 120px !important;}.news-post-hero-container{padding: 25px !important;}}

@media (min-width: 1024px) {.col-md-4.medium-desktop.news-grid, .col-md-4.medium-desktop.insights-grid{grid-template-columns: repeat(1, 1fr) !important; padding-left: 0px; min-height: 480px;}.news-grid, .insights-grid, .archive-grid {grid-template-columns: repeat(3, 1fr); padding-left: 7px;}.resource-grid{grid-template-columns: repeat(4, 1fr);}}

@media screen and (min-width: 641px) and (max-width: 1023px){.news-grid, .insights-grid, .archive-grid, .resource-grid {grid-template-columns: repeat(2, 1fr);} .resource-post{margin-bottom: 20px;} .news-grid, .insights-grid, .archive-grid {padding: 5px !important;}}

@media screen and (max-width: 640px){.news-grid, .insights-grid, .resource-grid , .archive-grid{grid-template-columns: repeat(1, 1fr); padding-left: 7px;}}

@media (min-width: 768px){.news-filter-sidebar, .insights-filter-sidebar {/*flex: 1 1 250px;*/background: #FFFFFF;padding: 20px;border-radius:24px;height: max-content;}
#news-category-filter, #insights-category-filter{display: flex !important;flex-direction: column;margin: 0;}.sidebar{position: sticky;top: 10px;margin-bottom: 30px;}}

@media screen and (min-width: 768px) and (max-width: 1024px) {#news-category-filter, #insights-category-filter {flex-wrap: wrap;flex-direction: row !important;align-content: center;justify-content: center;gap: 10px;}
.resource-layout{flex-direction: column;}.resource-post{margin-bottom: 25px;} .mega-menu-content{flex-direction: column; gap: 15px !important;} .mega-menu-content .wp-img-menu img{height: 200px !important;}.resources-toggle-memu .cat-menu{margin-top: 5px !important;}}    

@media screen and (min-width: 1200px){h1, .h1 {font-size: 2.25rem;} .resource-post{margin-bottom: 20px;}}