body {
  margin: 0;
  padding: 0;

}
.custom-dropdown {
position: relative;
width: 100%;

}
.blog-search-form{
	width:100%;
}
.dropdown-menu ul span{
  color: #000;
  padding-left: 12px;
}
.dropdown-menu li:hover{
background: #F6F2EE;
}
.dropdown-button {
color: #B1B1B1;  
padding: 16px 12px 16px 16px;  
border: none;  
border-radius: 5px;  
cursor: pointer;  
width: 100%;
text-align: left;
display: flex;
justify-content: space-between;
align-items: center;
background: #fff;
background-image: url(../images/down_arr.svg);
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 14px;
}
.dropdown-menu {
margin-top: 20px;
display: none;  
position: absolute;  
background-color: white;  
border: 1px solid #ccc;  
border-radius: 5px;  
z-index: 1;  
width: 100%;  
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);  
max-height: 370px;
overflow: scroll;
}
.dropdown-menu ul {
list-style: none;  
padding: 0;  
margin: 0;  
}
.dropdown-menu li {
padding: 16px 12px;  
cursor: pointer;  
}
.upper_section {
  background: url("https://ascentfoundation.in/wp-content/uploads/2025/02/blog-bg.png");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center;
  padding-bottom: 40px;
  margin-top: 96px;
}
.upper_section h1 {
  font-family: "Kaisei Decol";
  font-size: 60px;
  font-weight: 700;
  line-height: 68px;
  text-align: center;
  color: #FFFFFF;
  padding-top: 56px;
  padding-bottom: 20px;
}
.upper_section p {
  font-family: "Manrope";
  font-size: 24px;
  font-weight: 400;
  line-height: 36px;
  text-align: center;
  color: #FFFFFF;
  margin-bottom: 28px;
}
.filter-container {
  display: flex;
  justify-content: center;
  gap: 40px;
  padding: 20px 0;
  position: relative;
  max-width: 640px;
  margin: 0 auto;
}
.filter-dropdown {
  background: white;
  color: #777;
  font-size: 16px;
  padding: 12px 16px;
  width: 300px;
  border: 1px solid #ddd;
  border-radius: 6px;
  appearance: none;
  cursor: pointer;
  text-align: left;
}

.filter-dropdown {
  background-image: url('../images/down_arr.svg');
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 14px;
}

.filter-dropdown:focus {
  border: 1px solid #3B82F6;
  outline: none;
}

.month_placeholder {
  font-family: "Manrope";
  font-size: 20px;
  font-weight: 500;
  line-height: 24px;
  text-align: left;
}

.blogs_section {
  background: #121212;
  padding-bottom: 80px;
}

.blog-1 h5 {
  font-family: "Manrope";
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  text-align: left;
  color: #606060;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 1;
}

.blog-1 a {
  text-decoration: none;
}

.blog-1 a h4 {
  max-width: 80%;
  font-family: "Manrope";
  font-size: 20px;
  font-weight: 700;
  line-height: 27.32px;
  text-align: left;
  color: #121212;
  display: -webkit-box;
  display: box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  margin: 0;
  min-height: 54.64px;
}

.card-content {
  background-color: #F6F2EE;
  padding: 24px 20px;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
}

.blogs_cardd {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 24px;
}
.blogs_cardd p{
  text-align: center;
  width: 100%;
  color: #fff;
}
.blogs_cardd .blog-1:nth-last-child(-n+3){
  margin-bottom: 0;
  height: 100%;
}
.blog-1 {
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  flex: 0 0 auto;
  background-color: #F6F2EE;
  border-radius: 8px;
  margin-bottom: 20px;
  text-align: center;
  width: 32%;
  position: relative;
}
.blog-1 .blog-btn{
  position: absolute;
  right: 0;
  bottom: 0;
  width: 60px;
  height: 60px;
  background: #DE3E28;
  border-top-left-radius: 12px;
  border-bottom-right-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
}
.blog-1 .blog-btn a{
  left: 0;
  position: absolute;
  width: 0;
  transition: .5s
}
.blog-1:hover .blog-btn{
  opacity: 1;
}
.blog-1:hover .blog-btn a{
  width: 100%;
  left: 0%;
}
.dtd_2img {
  width: 100%;
  object-fit: cover;
  max-height: 336px;
  height: 336px;
  border-radius: 8px 8px 0px 0px;
}

.pagination {
  margin-top: 36px;
  display: flex;
  justify-content: center;
}
.pagination_blogs{
  display: flex;
  flex: 0 0 100%;
  justify-content: center;
}
.page,
.arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: #FFFFFF;
  cursor: pointer;
  padding: 10px;
  margin: 0 5px;
  border-radius: 50%;
  transition: background-color 0.3s, transform 0.3s;
  text-decoration: none;
}
.arrow{
  background-image: url(../images/right-arrow-white.svg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  font-size: 1px;
}
.prev.arrow{
  transform: rotate(180deg);
}
.page:hover {
  background-color: #DE3E28;
  color: #FFFFFF;
}
.page.active{
  background-color: #DE3E28;
}
.dots {
  color: #FFFFFF;
  padding: 10px;
  margin: 0 5px;
}
@media (max-width:1024px){
  .upper_section {
    margin-top: 72px;
  }
  .dtd_2img{
    max-height: 255px;
    height: 255px;
  }
}
@media (max-width:834px){
  .dtd_2img{
    max-height: 188px;
    height: 188px;
  }
}
@media (max-width:767px) {
  .dtd_2img{
    max-height: 336px;
    height: 336px;
  }
  .upper_section {
    background: url(https://ascentfoundation.in/wp-content/uploads/2025/02/blog-mob.png);
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: top center;
    margin-top: 72px;
  }
.blog-1{
  width: 100%;
}
.filter-dropdown{
  width: 100%;
}
.filter-container{
  flex-direction: column;
  padding: 20px 0;
}
.upper_section h1{
  font-size: 32px;
  line-height: 40px;
  padding-top: 40px;
  padding-bottom: 8px;
}
.upper_section p{
  font-size: 18px;
  line-height: 26px;
}
.blog-1 h5{
  font-size: 14px;
  line-height: 20px;
}
.blog-1 a h4{
  font-size: 18px;
  line-height: 26px;
  max-width: 100%;
  margin: 0;

}
.card-content {
  padding: 24px 20px
}
.blogs_cardd .blog-1:nth-last-child(-n+3), .blogs_cardd .blog-1:nth-last-child(-n+3) {
  margin-bottom: 20px;
}
.blogs_section {
  padding-bottom: 0px;
}
.pagination {
  margin-top: 28px;
  padding: 0;
}
}