/*============================================================================================================================================================*/
/*===== who we are =====*/

#who-we-are-main-wrapper strong {
	font-weight: 700 !important;
}

#who-we-are-bottom-background:before {
	content:			 '';
	display:			 block;
	position:			 absolute;
	top:				 0;
	bottom:				 -6rem;
	left:				 0;
	right:				 0;
	background-image:	 url(../../../../themes/AsiaImpact/assets/images/who-we-are-background.svg);
	background-repeat:	 no-repeat;
	background-size:	 cover;
	background-position: center center;
	z-index:			 -2;
}

.team-cards > .col > .card > img {
	aspect-ratio: 1;
	object-fit:	  cover;
}
.team-cards > .col > .card > .card-body {
	background-color: rgba(196, 55, 55, 1);
}
.linkedin-logo {
	width:				 1.875rem;
	height:				 1.875rem;
	margin-top:			 -0.375rem;
	background-image:	 url(../../../../themes/AsiaImpact/assets/images/linkedin.svg);
	background-size:	 contain;
	background-repeat:	 no-repeat;
	background-position: center center;
	filter:				 invert(100%) sepia(0%) saturate(7500%) hue-rotate(192deg) brightness(101%) contrast(101%);
}
.card > .collapseBio {
	width:		calc(300% + 6rem);
	z-index:	1;
	transition: all 0.2s ease-in-out;
}

.team-cards > .col > .card > .card-body {
	width:		calc(300% + 6rem);
	z-index:	1;
	transition: all 0.2s ease-in-out;
}
@media (max-width: 767.98px) {
	.card > .collapseBio {
		width: 100%;
	}
	.team-cards > .col > .card > .card-body {
		width: 100%;
	}
}
@media (min-width: 768px) and (max-width: 991.98px) {
	.card > .collapseBio {
		width: calc(200% + 3rem);
	}
	.team-cards > .col > .card > .card-body {
		width: calc(200% + 3rem);
	}
}
.team-cards > .col > .card > .card-body.collapsed {
	width: 100%;
}
.team-cards > .col > .card.lower > .card-body {
	margin-top: -5rem;
}


@media (min-width: 992px) {
	.team-cards .col:nth-of-type(3n+2) > .card > .card-body,
	.team-cards .col:nth-of-type(3n+2) .collapseBio {
		margin-left: calc(-100% - 3rem);
	}
	.team-cards .col:nth-of-type(3n+3) > .card > .card-body,
	.team-cards .col:nth-of-type(3n+3) .collapseBio {
		margin-left: calc(-200% - 6rem);
	}
	.team-cards .col:nth-of-type(3n+2) > .card > .card-body.collapsed,
	.team-cards .col:nth-of-type(3n+3) > .card > .card-body.collapsed {
		margin-left: 0;
	}
	
	.team-cards .card .card-img-top {
		transition: all 0.2s ease-in-out;
	}
	.team-cards .card .card-img-top:not(.collapsed) {
		width: calc(100% + 2rem);
	}
	.team-cards .col:nth-of-type(3n+2) .card .card-img-top:not(.collapsed) {
		margin-left: -1rem;
	}
	.team-cards .col:nth-of-type(3n+3) .card .card-img-top:not(.collapsed) {
		margin-left: -2rem;
	}
}
@media (min-width: 768px) and (max-width: 991.98px) {
	.team-cards .col:nth-of-type(2n+2) > .card > .card-body,
	.team-cards .col:nth-of-type(2n+2) .collapseBio {
		margin-left: calc(-100% - 3rem);
	}
	.team-cards .col:nth-of-type(2n+2) > .card > .card-body.collapsed {
		margin-left: 0;
	}
	
	.team-cards .card .card-img-top {
		transition: all 0.2s ease-in-out;
	}
	.team-cards .card .card-img-top:not(.collapsed) {
		width: calc(100% + 2rem);
	}
	.team-cards .col:nth-of-type(2n+2) .card .card-img-top:not(.collapsed) {
		margin-left: -2rem;
	}
}

.teamMember {
	transition: all 0.2s ease-in-out;
}

.teamMember > .card {
	background-color: transparent;
}

.mezzi-header {
	aspect-ratio: 20/9;
	object-position: center bottom;
}

.video-play-button {
  display: block;
  width: 104px;
  height: 104px;
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -52px 0 0 -52px;
  cursor: pointer;
}

.video-play-outline {
  display: block;
  width: 96px;
  height: 96px;
  border: #000 4px solid;
  border-radius: 50%;
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  opacity: .7;
  transition:all .5s;
}

.video-play-circle {
  stroke-dasharray: 315;
  stroke-dashoffset: 315;
  transition: stroke-dashoffset .5s;
}

.video-play-button svg {
  display: block;
  transform: rotate(-90deg);
  transition: transform .3s;
}

.video-play-button:hover .video-play-circle {
  stroke-dashoffset: 0;
}

.video-play-button:active .video-play-outline {
  transform: scale(1.5);
  opacity: 0;
}

.video-play-button:active svg {
  transform: rotate(-90deg) scale(.95);
}

.icon.document {
  position: relative;
  width: 50px;
  height: 70px;
  background-color: #ffffff;
  border: 5px solid #202020;
  box-sizing: border-box;
  clip-path: polygon(
    0 0, 
    calc(100% - 15px) 0, 
    100% 15px, 
    100% 100%, 
    0 100%
  );
}

/* Folded corner visual (optional for shading) */
.icon.document .folded-corner {
  position: absolute;
  top: 0;
  right: 0;
  width: 15px;
  height: 15px;
  background-color: #d0d0d0;
  clip-path: polygon(0 0, 100% 0, 100% 100%);
}

/* Text lines */
.icon.document .line {
  height: 4px;
  background-color: #202020;
  margin: 6px auto;
  border-radius: 2px;
  width: 70%;
}

.icon.document .line1 { margin-top: 18px; }
.icon.document .line2 { width: 60%; }
.icon.document .line3 { width: 50%; }












.gallery-filter a {
  text-decoration: none;
  color : black;
}
 
.pagination-wrapper {
  display: inline-block;
}

.pagination-wrapper a,
.pagination-wrapper span {
  color: black;
  float: left;
  padding: 8px 16px;
  text-decoration: none;
  /*border-radius: 5px;*/
  transition: background-color .3s;
  font-weight: 350;
}

.pagination-wrapper span.current {
  background-color: rgba(199, 153, 156, 1) !important;
  color: white;
  /*border-radius: 5px;*/
}

.pagination-wrapper a:hover:not(.active) {
    background-color: #ddd;
}



.tag-scroll-wrapper {
  position: relative;
}

.tag-scroll-container {
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch; /* Smooth scroll on mobile */
  scrollbar-width: none; /* Firefox hides scrollbar */
  position: relative;
}

/* Chrome, Safari scrollbar hide */
.tag-scroll-container::-webkit-scrollbar {
  display: none;
}

.tag-scroll-inner {
  display: inline-flex;
  min-width: 100%;
}

.tag-button {
  white-space: nowrap;
  cursor: pointer;
  flex-shrink: 0;
}
.tag-scroll-wrapper::before,
.tag-scroll-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 60px;
  pointer-events: none;
  z-index: 1;
}

.tag-scroll-wrapper::before {
  left: 0;
  background: linear-gradient(to right, white 0%, transparent 100%);
}

.tag-scroll-wrapper::after {
  right: 0;
  background: linear-gradient(to left, white 0%, transparent 100%);
}


.modal-nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(0, 0, 0, 0.4);
  border: none;
  color: white;

  width: 60px;   /* or any size you like */
  height: 120px;
  font-size: 3rem;

  cursor: pointer;
  top: 50%;
  transform: translateY(-50%);
  transition: background 0.2s ease-in-out;
}

.modal-nav-btn:hover {
  background: rgba(0, 0, 0, 0.6);
}

.modal-nav-btn.prev-btn {
  left: 0.5rem; /* slightly inset from edge */
}

.modal-nav-btn.next-btn {
  right: 0.5rem;
}



.tag-hidden {
  display: none !important;
}

#tagFilterToggle::before,
#tagFilterToggle::after {
  display: inline-block;
  vertical-align: .255em;
  content: "";
  border-top: .3em solid;
  border-right: .3em solid transparent;
  border-bottom: 0;
  border-left: .3em solid transparent;
}