:root {
  --color65-base: #c00;
  --mx65-white: #ffffff;
  --mx65-black: #040404;
  --mx65-black1: #222222;
  --mx65-text: #636363;
  --transition: all 0.3s;
}
.team-65 .mos-img img{
  display: none !important;
}
.team-65 {
  position: relative;
  z-index: 1;
  background-color: #F4F4F4;
  margin-bottom: 53px !important;
}
.team-65::after {
  width: 75px;
  height: 80px;
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  background-color: var(--mx65-white, #fff);
  z-index: -1;
  clip-path: polygon(0 0, 100% 0, 100% 100%);
}
.team-65__image {
  overflow: hidden;
  z-index: 1;
  position: relative;
  height: 100%;
}
.team-65 .team-65__image .mos-img  {
  opacity: 0;
  position: absolute;
  bottom: -120px;
  left: 0px;
  right: 88px;
  padding: 25px;
  transition: all 0.4s ease-in-out;
}
.team-65:hover .team-65__image .mos-img  { 
  opacity: 1;
  transition: all 0.4s ease-in-out;
  position: absolute;
  bottom: 0px;
  left: 0px;
  right: 88px;
  padding: 25px;
  background: rgba(0, 0, 0, 0.5);
  color: var(--mx65-white, #fff);
}

.team-65__image img {
  transition: all 0.3s ease-in-out;
}
.team-65__content-box {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--mx65-white, #fff);
  padding: 20px 15px;
  position: absolute;
  transform: rotate(-180deg);
  position: absolute;
  writing-mode: vertical-rl;
  bottom: -5px;
  right: 0px;
  transition: all 0.4s ease-in-out;
  z-index: 1;
  min-height: 250px;
}
.team-65__content-box::after {
  content: "";
  top: 0;
  left: 0;
  width: 100%;
  height: 55px;
  background-color: var(--color65-base, #FF5A1E);
  box-shadow: 0px 2px 3.9px rgba(0, 0, 0, 0.1);
  position: absolute;
  clip-path: polygon(50% 64%, 100% 0, 100% 100%, 0 99%, 0 0);
  transform: rotateX(-180deg);
  z-index: -2;
  transition: all 0.4s ease-in-out;
}
.team-65__content-box::before {
  content: "";
  top: 0;
  left: 0;
  width: 100%;
  height: 55px;
  background-color: var(--color65-base, #FF5A1E);
  position: absolute;
  transform: rotateX(-180deg);
  z-index: -2;
  transition: all 0.4s ease-in-out;
  visibility: hidden;
  opacity: 0;
}
.team-65__hover__social {
  background-color: var(--mx65-black, #0E0E0E);
  display: flex;
  align-items: center;
  gap: 10px;
  position: absolute;
  top: 0px;
  padding: 12.5px 22px;
  left: 89px;
  visibility: hidden;
  opacity: 0;
  transition: all 0.4s ease-in-out;
  transform: rotate(180deg);
  position: absolute;
  z-index: -3;
  writing-mode: horizontal-tb;
}
.team-65__hover__social a {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--mx65-white, #fff);
  border-radius: 50%;
  font-size: 13px;
  color: var(--mx65-white, #fff);
  transition: all 0.4s ease-in-out;
}
.team-65__hover__social a:hover {
  color: var(--mx65-white, #fff);
  border-color: var(--color65-base, #FF5A1E);
  background-color: var(--color65-base, #FF5A1E);
}
.team-65__title {
  font-weight: 700;
  font-size: 22px;
  line-height: 118%;
  color: var(--mx65-black1, #222222);
  margin: 0px 0px 0px 7px;
}
.team-65__title a {
  color: inherit;
}
.team-65__title a:hover {
  color: var(--mx65-black1, #222222);
}
.team-65__designation {
  font-weight: 400;
  font-size: 16px;
  line-height: 162%;
  color: var(--mx65-text, #636363);
  margin: 0;
  transition: all 0.4s ease-in-out;
}
.team-65__hover__btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  background-color: var(--mx65-black, #0E0E0E);
  border: 3px solid var(--mx65-white, #fff);
  cursor: pointer;
}
.team-65__hover__btn__icon {
  width: 18px;
  height: 18px;
  position: relative;
}
.team-65__hover__btn__icon::after, .team-65__hover__btn__icon::before {
  content: "";
  width: 3px;
  height: 100%;
  background-color: var(--mx65-white, #fff);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.3s ease-in-out;
}
.team-65__hover__btn__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}
.team-65__shape {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 20%;
  transition: all 0.4s ease-in-out;
  z-index: -1;
}
.team-65:hover .team-65__content-box::before {
  content: "";
  height: 100%;
  visibility: visible;
  opacity: 1;
}
.team-65:hover .team-65__title,
.team-65:hover .team-65__designation {
  color: var(--mx65-white, #fff);
}
.team-65:hover .team-65__image img {
  transform: translateX(-10px);
}
.team-65:hover .team-65__shape {
  opacity: 100%;
}
.team-65 .team-65__content-box:hover .team-65__hover__btn__icon::before {
  visibility: hidden;
  opacity: 0;
}
.team-65 .team-65__content-box:hover .team-65__hover__social {
  width: auto;
  visibility: visible;
  opacity: 1;
}

.team-65 .team-65__hover__social span {
  display: inline-block;
}
.team-65 ul {
  padding-left: 0rem;
  margin-bottom: 0rem;
}
.team-65 .field-label {
  display: none !important
}
.team-65 .field-entry.icons,
	.team-65 .field-entry.icons .field-value,
	.team-65 .field-entry.icons .field-value a {
		writing-mode: horizontal-tb !important;
		direction: ltr;
	}
	.team-65 .field-entry.icons .field-value {
		display: inline-flex !important;
		flex-direction: row !important;
		align-items: center;
		gap: 6px;
		flex-wrap: nowrap;
	}
	.team-65 .field-entry.icons .field-value a {
		display: inline-flex !important;
	}