.team-member {
    margin-bottom: 3rem;
    width: 100%;
    position: relative;
}
.team-member .foto {
    overflow: hidden;
    position: relative;
    /* margin-bottom: 0.5em; */
    aspect-ratio: 340/390;
	  min-height: 390px;
		width: 100%;
}
.team-member .back, .team-member .front {
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    transition: all .5s;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 50%;
    object-fit: cover;
    top: 50%;
    bottom: auto;
    right: auto;
    transform: translateX(-50%) translateY(-50%);
}
.team-member .back {
    opacity: 1;
}
.team-member .front {
    opacity: 0;
    -webkit-filter: grayscale(0) !important;
    filter: grayscale(0) !important;
}
p small, .p-small p, .p-big p {
    text-transform: uppercase;
    display: inline-block;
    color: #FFF;
    margin: 0 !important;
    font-family: "Open Sans", Sans-serif;
    font-size: 23px;
    font-weight: 400;
}
.p-small {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 35px;
}
.team-member:hover p {
    background-image: -webkit-gradient(linear,left top,left bottom,color-stop(50%,transparent),color-stop(50%,#a6233b));
    background-image: linear-gradient(to bottom,transparent 50%,#a6233b 50%);
    background-repeat: repeat-x;
    background-size: 100% 80%;
    background-position: 0 100%;
}
.team-member:hover .back {
    opacity: 0;
}
.team-member:hover .front {
    opacity: 1;
}

.team-member img {
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
}
a.load-more {
    width: fit-content;
    text-decoration: none;
}
@media (max-width: 767px){
	.team-member .foto{
		min-height: 420px;
	}
	.brand-image img {
		object-fit: contain;
	}
}

/* Client Review */

.swiper-container.client-slider {
    overflow: hidden;
}
.client-image {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
	aspect-ratio: 295 / 295;
}
.client-image img {
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}
.client-review  {
    margin-bottom: 24px;
    min-height: 170px;
}

.client-review p {
    text-align: center;
    font-style: italic;
    font-size: 14px;
    line-height: 24px;
    letter-spacing: -0.16;
}

.brand-image {
    display: flex;
    justify-content: center;
    
}

.client-items {
    padding-bottom: 31px;
}

.swiper-backface-hidden .swiper-slide {
    backface-visibility: unset !important;
}

.category-filter {
    padding-bottom: 5px;
    border-bottom: 1px solid #DCDCDC;
}
.category-links {
    display: flex;
    gap: 14px;
	justify-content: center;
	flex-direction: row-reverse;
}
.category-links a {
    padding: 3px 12px;
    font-size: 14px;
    font-weight: 500;
    line-height: 21.67px;
    text-decoration: none;
	color: #000000;
}
.category-links a.active {
    font-weight: 600;
}

.ctp-container {
    max-width: 610px;
    margin: 0 auto;
	padding-top: 100px;
}
h3.cpt-group-date {
    font-size: 16px;
    line-height: 21.67px;
    font-weight: 600;
	color: #D69500;
	margin-bottom: 50px;
	margin-top: 16px;
}
.ctp-item {
    display: flex;
    gap: 20px;
	margin-top: 20px;
	padding: 10px 0 40px 0;
	border-bottom: 1px solid #DCDCDC;
}
.ctp-content {
    width: 79%;
    display: flex;
    justify-content: center;
    flex-direction: column;
}
h4.ctp-title {
	font-size: 18px;
    line-height: 27px;
    font-weight: 500;
	margin-bottom: 10px;
	color: #000;
	
}
.ctp-content a {
    text-decoration: none;
}
.ctp-excerpt p  {
    font-size: 15px;
    line-height: 22.5px;
    letter-spacing: -0.8px;
    font-weight: 400;
	margin-bottom: 10px;
	color: #9A9A9A;
}
.date-author {
    display: flex;
    gap: 5px;
}
.date-author span {
    color: #9A9A9A;
}
p.ctp-date, .ctp-author {
    font-size: 14px;
    line-height: 21px;
    letter-spacing: -0.8px;
    color: #9A9A9A;
	text-transform: uppercase;
}
.category-links a:first-child {
	order: 1;
}
.category-links a:nth-child(2) {
	order: 2;
}

@media only screen and (max-width: 767px) {
	.category-links {
        row-gap: 14px;
        justify-content: flex-start;
        white-space: nowrap; 
    	overflow-x: auto; 
    	-webkit-overflow-scrolling: touch;
		padding-bottom: 7.5px;
    }
	.category-links::-webkit-scrollbar {
		display: none; 
	}
	h3.cpt-group-date:first-child {
		display: none;
	}
	.category-links a {
		padding: 4px 5px;
	}
	.ctp-container {
		padding-top: 50px;
	}
	.ctp-excerpt p {
		width: 100%;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
		font-size: 13px;
		line-height: 20px;
	}
	h4.ctp-title {
		font-size: 16px;
		line-height: 24px;
	}
	.ctp-item {
		padding-bottom: 16px;
		gap: 4px;
	}
	p.ctp-date, .ctp-author {
		margin-bottom: 0;
	}
	.cpt-thumbnail {
		width: 21%;
	}
	.custom-post {
		width: 100% !important; 
		margin: 0px !important;  
		box-sizing: border-box;
	}
	.custom-posts-list {
		margin: 0 !important;
		gap: 20px;
	}
}

.img-classic-slider .swiper-wrapper {
    display: flex !important;
    align-items: center !important;
}
.img-item img {
    max-height: 60px;
}
.swiper-img.img-classic-slider {
   overflow: hidden;
}
.img-item {
    display: flex;
    justify-content: center;
    align-items: center;
}
span.swiper-pagination-bullet {
    width: 11px;
    height: 11px;
}
span.swiper-pagination-bullet.swiper-pagination-bullet-active {
    width: 28.23px;
    height: 11.23px;
    border-radius: 20px;
    background-color: #FBBC05;
	transition: all 0.3s ease-in;
}
.swiper-pagination {
    top: unset !important;
    bottom: -50px !important;
}


/* CUSTOM POST WIDGET  */
.custom-posts-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: -15px; 
}

.custom-post {
    width: calc(25% - 30px); 
    margin: 15px; 
    box-sizing: border-box;
}

.custom-post a {
    display: block;
    text-decoration: none;
}

.custom-post img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 5px; 
	aspect-ratio: 295/295;
}

.custom-post h2 {
    font-size: 15px;
    font-family: 'Poppins', sans-serif;
    margin: 10px 0;
	color: #000;
}

.custom-post time {
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    color: #666; 
    display: block;
    margin-top: 5px;
}

/* Post Group Widget */
.view-all a {
    border: 1px solid yellow;
    padding: 10px 20px;
    background-color: yellow;
    border-radius: 30px;
    text-align: center;
    
}
.view-all {
	margin-top: 20px; 
	display: flex;
	justify-content: center;
}
