body{
	background: #F1F4F7;
}

.res-hero__image-slide img{
	aspect-ratio: 16 / 9;
	border-radius: 0;
}

.res-hero__dots{
	justify-content: end;
	align-items: end;
}

.res-hero__container{
	gap: 0;
	border-radius: 0;
}

.res-hero__slides{
	background: #fff;
    padding: 25px;
    display: flex;
    align-items: stretch;
    justify-content: stretch;
	gap: 20px;
}

.res-hero__dots .dot{
	width: 12px;
	height: 12px;
	border: 1px solid #2F3551;
	background: #2F3551;
	opacity: 1;
}

.res-hero__dots .dot.active{
	background: #F44FCA;
}

.res-hero__slide__sec{
	display: grid;
}

.res-hero__slide {
    grid-area: 1 / 1;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: 0.4s;
	display: block;
}

.res-hero__slide.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.res-hero{
	background: transparent;
	padding: 76px 0;
}

.resources-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 30px;
}

.tab-btn {
    padding: 10px 20px;
    border-radius: 999px;
    border: none;
    background: #eee;
    cursor: pointer;
    font-size: 14px;
}

.tab-btn.active {
    background: #ec8be6;
    color: #fff;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.news-grid{
	grid-template-columns: repeat(3, 1fr);
	gap: 48px 24px;
	margin-bottom: 40px;
}

.news-card{
	background: #FCFCFD;
	border-radius: 0;
	align-items: stretch;
    display: flex;
    flex-direction: column;
}

.news-img img{
	aspect-ratio: 16 / 9;
}

.news-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: stretch;
    height: 100%;
/*     padding: 24px 12px; */
/* 	gap: 10px; */
}

.read-more{
	border-top: 2px solid #F44FCA;
	color: #474A5D;
	align-items: center;
	font-size: 16px;
	font-weight: 500;
	padding: 12px;
	display: flex;
	justify-content: center;
}

.news-title{
	font-size: 14px;
	padding: 24px 12px;
	font-family: "Libre Baskerville", serif;
}

.solution-p__tabs{
	gap: 24px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.solution-p__tabs_title{
	text-align: center;
	color: #2F3551;
}

.case-study-text{
	width: fit-content;
    background: #F44FCA;
    padding: 5px 12px;
    border-radius: 100px;
    font-size: 10px;
    color: #FCFCFD;
    margin-bottom: 10px;
    text-box-trim: none;
    font-family: 'Inter';
}

.tab-content{
	margin-bottom: 176px;
}

.case-search {
  position: relative;
  width: 100%;
  margin-bottom: 30px;
}

.case-search input {
  width: 100%;
  height: 50px;
/*   border-radius: 8px; */
  border: none;
  background: #FCFCFD;
  padding: 0 16px 0 45px;
  font-size: 16px;
  outline: none;
}

.case-search__icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  color: #6b7280;
	height: 20px;
    width: 20px;
}

#load-more-case,
#load-more-post{
    display: block;
/*     margin: 40px auto; */
    padding: 12px 24px;
    background: #FCFCFD;
    color: #474A5D;
    border: none;
    cursor: pointer;
	transition: all 0.3s;
}

#load-more-case:hover,
#load-more-post:hover{
	background: #F44FCA;
	color: #FCFCFD;
}

.case-pagination-items{
	display: flex;
    align-items: center;
    justify-content: space-between;
}

.case-pagination {
    display: flex;
    justify-content: end;
    gap: 12px;
}

.page-numbers {
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 15px;
    font-size: 12px;
	color: #474A5D;
	font-weight: 600;
	flex: auto !important;
	transition: all 0.3s;
}

.page-numbers.current{
	background: #F44FCA;
	color: #FCFCFD;
}

/* ===== Tablets (1024px tak) ===== */
@media (max-width: 1024px){
	.news-grid{
		grid-template-columns: repeat(3, 1fr);
	}
	
	.res-hero__slides{
		display: block
	}
}

/* ===== Mobile (768px tak) ===== */
@media (max-width: 768px){
	.news-grid{
		grid-template-columns: repeat(2, 1fr);
		gap: 24px; /* thoda spacing kam */
	}
}

/* ===== Small Mobile (480px optional) ===== */
@media (max-width: 480px){
	.news-grid{
		grid-template-columns: repeat(2, 1fr);
		gap: 16px;
	}
}

@media (max-width: 600px){
	div.wpforms-container .wpforms-form .wpforms-field-layout .wpforms-layout-row{
		gap: 0 !important;
	}
	
}

.filter-accordion.open > .filter-options {
    flex-direction: row;
    gap: 10px;
    flex-wrap: wrap;
}

.resources-sidebar{
	background: transparent !important; 
	padding: 0;
}

.filter-options a {
    background: #FCFCFD;
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 500;
}

.topic-options a{
	width: 80%;
    align-items: center;
    justify-content: center;
    display: flex;
}

.filter-search input{
	background: #FCFCFD !important;
	border-radius: 0;
	padding-left: 30px;
	color: #A3A5AE;
}

.filter-search input:placeholder{
	color: #A3A5AE !important;
}

.filter-search input::placeholder {
  color: #A3A5AE !important;
  opacity: 1; /* Firefox fix */
}

.filter-search input::-webkit-input-placeholder {
  color: #A3A5AE !important;
}

.filter-search input:-ms-input-placeholder {
  color: #A3A5AE !important;
}

.filter-toggle{
	background: #FCFCFD;
	border-radius: 0;
	border: 2px solid #FCFCFD;
	padding: 0;
	align-items: center;
}

.filter-toggle .filter-topic{
	padding: 12px;
}

.filter-toggle .icon{
	padding: 13px;
}

.filter-accordion.open button span.icon{
	background: #F44FCA;
}

.filter-accordion.open button{
	border-color: #F44FCA;
}

.filter-toggle .icon img{
	width: 15px;
	height: 15px;
}

.filter-toggle{
  background: #FCFCFD;
  border-radius: 0;
  border: 2px solid #FCFCFD;
  padding: 0;
  align-items: center;
  display: flex;
  justify-content: space-between;
}

/* text */
.filter-toggle .filter-topic{
  padding: 12px;
  color: #757785;
}

/* icon box */
.filter-toggle .icon{
  width: 40px;
  height: 41px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* PLUS lines */
.filter-toggle .icon::before,
.filter-toggle .icon::after{
  content: "";
  position: absolute;
  background-color: #757785; /* plus color */
  transition: all 0.3s ease;
}

/* horizontal */
.filter-toggle .icon::before{
  width: 14px;
  height: 2px;
}

/* vertical */
.filter-toggle .icon::after{
  width: 2px;
  height: 14px;
}

/* OPEN STATE (pink bg + cross) */
.filter-accordion.open .icon{
  background: #F44FCA;
}

/* rotate to make cross */
.filter-accordion.open .icon::before{
  transform: rotate(45deg);
  background-color: #FCFCFD; /* cross color */
}

.filter-accordion.open .icon::after{
  transform: rotate(45deg);
  background-color: #FCFCFD;
}

.filter-options a.active{
	background: #F44FCA;
	color: #FCFCFD;
}

.filters_clear{
	display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    padding: 10px 0;
	color: #A3A5AE;
	font-weight: 500;
}

.clear-filter a button{
	color: #F44FCA;
	font-weight: 600;
	text-decoration: underline;
}

.filter-label{
	margin: 0;
	color: #A3A5AE;
	font-weight: 500;
}

.filter-search{
	margin-bottom: 10px;
}



#ajax-blog-search{
	position: relative;
}

#ajax-blog-search .case-search__icon{
	left: 10px;
	height: 15px;
    width: 15px;
	fill: #A3A5AE;
}

.resources-layout{
	gap: 20px;
	margin-top: 0;
}

.resources-content article{
	border-radius: 0;
	background: #FCFCFD;
	padding: 0;
	border: none;
}

.resources-content article img{
	border-radius: 0;
	margin-bottom: 0;
}

.res-card__media img{
	position: relative;
}

.res-card__media{
	padding: 0;
	margin-bottom: 0;
}

.res-card__content{
	padding: 24px 12px;
	justify-content: space-between;
}

.res-card__btn{
	background: transparent;
	border-radius: 0;
	color: #474A5D;
	padding: 12px 24px;
}

.res-card__btn:hover{
	opacity: 1;
	color: #474A5D;
}

.res-card__btn_pink{
	border-top: 2px solid #F44FCA;
}

.res-card__btn_yellow{
	border-top: 2px solid #E5C430;
}

.res-card__btn_orenge{
	border-top: 2px solid #EF5737;
}

.res-card__cat{
	background: #EFE2A0;
	color: #757785;
}

.res-card__author-name{
	font-size: 12px;
    color: #A3A5AE;
    font-weight: 500;
}

.res-card__dec{
	font-size: 12px;
	color: #474A5D;
}

.res-card__author-row{
	margin-bottom: 0;
	margin-top: 12px;
	align-items: center;
}

.res-card__title a{
	font-family: 'Libre Baskerville';
}

.resources-content h3{
	--title-font-weight: 400;
}

.res-hero__title{
	font-family: 'Libre Baskerville';
	--title-font-weight: 400;
	color: #474A5D;
	font-size: 32px;
}

.res-hero__desc{
	color: #474A5D;
}

.res-hero__tag{
	background: #EFE2A0;
	color: #757785;
	font-weight: 600;
}

.solution-p__tab{
	padding: 16px 24px;
}

.filter__icon-mobile{
	display: none;
}

@media (max-width: 768px){
	.res-hero__title{
		font-size: 24px;
	}
	
	.filter__icon-mobile{
		background: #FCFCFD;
		align-items: center;
		display: flex;
		justify-content: center;
		font-size: 13px;
		fill: #A3A5AE;
		transition: all 0.3s ease;
	}
	
	.filter-search{
		display: grid;
		grid-template-columns: 1.7fr 0.3fr;
		gap: 15px;
	}
	.filters__box{
/* 		display: none; */
		transform: translateY(60px);
		opacity: 0;
    	transition: all 0.5s ease;
		max-height: 0;
		overflow: hidden;
		visibility: hidden;
	}

	.filters__box.active{
/* 		display: block; */
		transform: translateY(0);
		opacity: 1;
		visibility: visible;
		max-height: fit-content;
		transition: all 0.5s ease-out;
	}
	
	.filter__icon-mobile.active{
		background: #F44FCA;
		transition: all 0.3s ease;
	}

	.filter__icon-mobile.active svg path{
		fill: #FCFCFD !important;
		transition: all 0.3s ease;
	}
	
	.b-lobby__posts-list{
		grid-template-columns: 1fr 1fr !important;
        gap: 15px !important;
	}
	
	.res-card__cat{
		font-size: 8px;
		font-weight: 500;
	}
	
	.res-card__dec{
		display: none;
	}
	
	.res-card__author-row{
		display: none;
	}
	
	.resources-content h3{
		font-size: 12px;
	}
	.res-card__btn{
		font-size: 12px;
		font-weight: 500;
	}
	.res-card__content{
		justify-content: start;
	}
}

/* Default state */
#ajax-blog-search {
  border: 2px solid #FCFCFD;
  transition: 0.3s ease;
}

/* Focus state */
#ajax-blog-search:focus-within {
  border: 2px solid #F44FCA; /* apna color */
}

/* SVG default */
.case-search__icon svg path {
  fill: #A3A5AE;
  transition: 0.3s ease;
}

/* SVG change on focus */
#ajax-blog-search:focus-within .case-search__icon svg path {
  fill: #F44FCA;
}

.solution-p__hero{
	padding: 0 0 48px;
}

.solution-p__tabs_title{
	margin-bottom: 0;
}

.solution-p__tabs{
	margin-bottom: 76px;
}

.b-lobby__posts-list{
	margin-bottom: 40px;
	padding-bottom: 0;
}

.b-lobby__posts-pagination{
	margin: 0;
}

.b-lobby__posts{
	padding-bottom: 0;
}

.star-p__demo{
	padding: 0 0 320px;
}

.b-lobby__posts-pagination .page-numbers{
	background: #FCFCFD;
	color: #474A5D;
	transition: all 0.3s;
}

.b-lobby__posts-pagination .page-numbers.current, .b-lobby__posts-pagination .page-numbers:hover{
	background: #F44FCA;
	color: #FCFCFD;
	transition: all 0.3s; 
}

.b-lobby__posts-pagination .page-numbers{
	width: auto;
	height: auto;
}

.b-lobby__posts-pagination .next.page-numbers, .b-lobby__posts-pagination .prev.page-numbers{
	background: #FCFCFD;
	font-size: 12px;
}

.b-lobby__posts-pagination .next.page-numbers:hover, .b-lobby__posts-pagination .prev.page-numbers:hover{
	background: #F44FCA;
	color: #FCFCFD;
}

.b-lobby__posts-pagination .prev:after, .b-lobby__posts-pagination .next:after{
	display: none;
}

.page-numbers:hover{
	background: #F44FCA;
	color: #FCFCFD;
}

@media (max-width: 768px){
	.case-pagination-items{
		flex-direction: column;
		align-items: end;
		justify-content: end;
		gap: 20px;
	}
	
	.res-hero__container{
		padding: 0 15px;
	}
	
	.res-hero{
		margin: 64px 0;
	}
	
	.solution-p__tabs{
		margin-bottom: 24px;
		gap: 15px;
	}
	
	.solution-p__tabs_title{
		font-size: 24px;
		text-align: left;
	}
	
	.resources-layout{
		gap: 32px;
	}

	.filter-search{
		margin-bottom: 0;
	}
	
	.b-lobby__posts-list{
		margin-bottom: 32px;
	}
	
	#load-more-case, 
	#load-more-post {
		width: 100%;
	}
	
	.tab-content{
		margin-bottom: 92px;
	}
	
	.star-p__demo{
		padding: 0 0 284px;
	}
	
	.b-lobby__posts-pagination{
		row-gap: 20px;
		flex-wrap: wrap;
	}
}
