.staff-comment-section {
  background-color: #f9f9f9;
  padding: 60px 20px;
  overflow: hidden;
  position: relative;
}

.sf-header {
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 0;
}
.staff-comment-detail{
  overflow: hidden;
  position: relative;
}
.sf-bg {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}


.staff-block {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  position: relative;
  z-index: 2;
  flex-direction: row;
  margin: 60px auto;
}

.staff-block.reverse {
  flex-direction: row-reverse;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  position: relative;
  z-index: 2;
  margin: 60px auto;
}

.staff-block.reverse-bg {
  flex-direction: column-reverse;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 3rem;
  position: relative;
  z-index: 2;
  margin: 60px auto;
}

.staff-image {
  max-width: 420px;
  width: 100%;
  position: relative;
}

.staff-image-reverse {
  max-width: 420px;
  width: 100%;
  position: relative;
}

.staff-image-reverse-bg {
  max-width: 100%;
  width: 100%;
  position: relative;
}

.staff-text-bg {
  flex: 1; /* ðŸ‘ˆ khÃ´ng giÃ£n full */
  max-width: 100%;
  width: 100%;
  z-index: 2;
}
.staff-frame {
  position: relative;
  width: 100%;
}


.staff-frame-bg {
  position: absolute;
  width: 100%;
  max-width: 405px;
  height: 650px;
  /* height: auto; */
  object-fit: cover;
  z-index: 4;
  top: 0;
  left: 0;
  clip-path: polygon(0% 9%, 84% 0%, 84% 90%, 0% 100%);
}

.staff-frame-top
{
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 340px;
  height: auto;
  pointer-events: none;
  top: 20px;
  left: 20px;
}
.staff-frame-middle
{
  position: absolute;
  z-index: 4;
  width: 100%;
  max-width: 340px;
  height: auto;
  pointer-events: none;
  top: -4px;
  left: 0px;
}

.staff-frame-brigde {
    position: absolute;
    width: 100%;
    max-width: 370px;
    height: auto;
    object-fit: cover;
    z-index: 4;
    top: 0;
    left: 0;
    /* min-height: 590px; */
    clip-path: polygon(0% 2%, 100% 0%, 100% 98%, 0% 100%);
}

.staff-frame-bottom
{
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 340px;
  height: auto;
  pointer-events: none;
  top: -30px;
  left: 15px;
}

.staff-frame-braved{
  position: absolute;
  z-index: 4;
  width: 100%;
  max-width: 340px;
  height: auto;
  pointer-events: none;
  top: -34px;
  left: 15px;
}

.staff-frame-wrapper {
  position: absolute;
  width: 100%;
  max-width: 100%;
  object-fit: cover;
  top: 10px;
  left: 0;
  max-height: 645px;
  clip-path: polygon(0% 2%, 100% 0%, 100% 98%, 0% 100%);
  height: auto;
  display: block;
  
  /* chiá»u sÃ¢u nháº¹ nhÆ° hÃ¬nh máº«u */
  box-shadow: 0 12px 36px rgba(0,0,0,.20);
  z-index: 4;
}

.staff-frame-underground {position: relative;z-index: 3;width: 100%;max-width: 97.8%;height: auto;pointer-events: none;top: -30px;left: 15px;clip-path: polygon(0% 2%, 100% 0%, 100% 98%, 0% 100%);}

.staff-frame-scrapper {position: absolute;z-index: 4;width: 100%;max-width: 97.8%;height: auto;pointer-events: none;top: -30px;left: 15px;clip-path: polygon(0% 2%, 100% 0%, 100% 98%, 0% 100%);}

.staff-text {
  flex: 1; 
  max-width: 1020px;
  width: 100%;
  z-index: 2;
}

.staff-section-box {
  border-radius: 33px;
  margin-bottom: 30px;
  padding: 20px;
  background: #fff;
  position: relative;
}

.staff-avatar-bg{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
}

.staff-section-box .staff-subtile {
  color: #e60012;
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
  background: linear-gradient(transparent 25%, #f8e178d6 70%);
  font-weight: bold;
}
.staff-section-box .staff-subtile::before {
  position: absolute;
  /* content: ''; */
  /* top: 0; */
  /* left: 0; */
  /* right: 0; */
  /* bottom: 0; */
  /* background-image: url(/image/黄色_下敷き.png); */
  /* z-index: -1; */
  /* width: 100%; */
  /* max-width: 100%; */
}
.staff-name-box {
  position: relative;
  top: -73px; /* Ä‘iá»u chá»‰nh vá»‹ trÃ­ tÃ¹y áº£nh */
  left: -40px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  z-index: 5;
}



.name-bg-white {
  z-index: 3;
  position: absolute;
  bottom: 7px;
  left: 23px;
  height: auto;
  width: 100%;
  max-width: 200px;
  min-height: 150px;
  
}

.name-bg-green {
  z-index: 2;
  left: 10px;
  height: auto;
  width: 100%;
  max-width: 200px;
  min-height: 150px;
  position: relative;
  bottom: 13px;
  left: 10px;
}

.name-text {
  position: relative;
  z-index: 3;
  color: #fff;
  padding-left: 25px;
  padding-top: 5px;
}

.staff-department {
  font-size: 14px;
  margin: 0;
}

.staff-name {
  font-size: 22px;
  font-weight: bold;
  margin: 0;
}

.name-text {
  position: absolute;
  z-index: 3;
  color: #fff;
  top: 25px;
  left: 3px;
  transform: skewY(-18deg); /* ðŸ‘ˆ táº¡o gÃ³c nghiÃªng */
  max-width: 245px;
  white-space: wrap;
  word-break: break-word;
}

.staff-department,
.staff-name {

  display: inline-block;
}

.staff-department {
  font-size: 12px;
  margin: 0;
}

.staff-name {
  font-size: 30px;
  font-weight: bold;
  margin: 0px 30px;
  font-family: cursive;
  display: flex;
  justify-content: flex-end;
}


/* ====== â‰¤1024px: thu nhá» thÃªm, giá»¯ áº£nh mÃ©p pháº£i ====== */
@media (max-width: 1024px) {


.staff-frame-scrapper{
    max-width: 96.5%;
    top: -10px;
    left: 15px;
}
  .staff-frame-underground{
    max-width: 96.5%;
    top: -10px;
    left: 15px;
}
}


/* Tablet vÃ  nhá» hÆ¡n */
@media (max-width: 768px) {
  .staff-text-bg { max-width: 100%; }
 .staff-frame-scrapper{max-width: 96.5%;top: -3px;left: 9px;}
  .staff-frame-underground{
    max-width: 96.5%;
    top: -3px;
    left: 9px;
}

  .staff-block {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  .staff-block.reverse {
    flex-direction: column-reverse;
    align-items: center;
    gap: 3.5rem;
  }
  .staff-image {
  max-width: 330px;
  margin:0 auto;
}
.staff-image-reverse {
  max-width: 360px;
  margin:0 auto;
}

  .staff-frame-bg,
 
  .staff-frame-middle {
    max-width: 100%;
    left: 0;
    height: 630px;
    clip-path: polygon(0% 7%, 100% 0%, 100% 91%, 0% 100%);
  }
  .staff-frame-top{
    left:20px;
  }

  .staff-frame-bottom{
    left: 10px;
  }
 
  .staff-frame-braved {
    left: 10px;
  }
 .staff-frame-brigde{
  left: 0px;
  max-width: 100%;
 }

  .staff-name-box {
    position: relative;
    bottom: auto;
    left: -60px;
    /* margin-top: 480px; */
    transform: scale(0.9);
  }

  .name-bg-white,
  .name-bg-green {
    max-width: 160px;
  }

  .name-text {
    top: 35px;
    left: 5px;
    transform: skewY(-18deg) scale(0.95);
  }

  .staff-text {
    max-width: 100%;
  }

  .staff-section-box {
    padding: 15px;
    margin-bottom: 20px;
  }

  .staff-section-box .staff-subtile {
    font-size: 18px;
  }

  .staff-department {
    font-size: 12px;
  }

  .staff-name {
    font-size: 22px;
  }
}

/* Äiá»‡n thoáº¡i vá»«a (<=576px) */
@media (max-width: 576px) {
  .staff-frame-bg, .staff-frame-middle {
    max-width: 100%;
    left: 0;
    height: 495px;
    clip-path: polygon(0% 8%, 100% 0%, 100% 91%, 0% 100%);
  }
  .staff-image {
    max-width: 260px;
  }

  .staff-name-box {
    transform: scale(0.85);
    /* margin-top: 406px; */
  }

  .name-bg-white,
  .name-bg-green {
    max-width: 140px;
  }

  .name-text {
    top: 35px;
    left: -3px;
    transform: skewY(-22deg) scale(0.9);
  }

  .staff-section-box {
    padding: 12px;
  }

  .staff-section-box .staff-subtile {
    font-size: 16px;
  }

  .staff-name {
    font-size: 20px;
  }

}

/* Äiá»‡n thoáº¡i nhá» (<=480px) */
@media (max-width: 480px) {
  .staff-frame-bg, .staff-frame-middle {
    max-width: 100%;
    left: 0;
    height: 420px;
    clip-path: polygon(0% 8%, 100% 0%, 100% 91%, 0% 100%);
  }
  .staff-image {
    max-width: 220px;
  }

  .staff-name-box {
    transform: scale(0.8);
    /* margin-top: 330px; */
  }

  .name-bg-white,
  .name-bg-green {
    max-width: 120px;
  }

  .name-text {
    top: 42px;
    left: -6px;
    transform: skewY(-27deg) scale(0.87);
  }

  .staff-section-box {
    padding: 10px;
  }

  .staff-section-box .staff-subtile {
    font-size: 15px;
  }

  .staff-department {
    font-size: 11px;
  }

  .staff-name {
    font-size: 18px;
  }


  .staff-frame-scrapper{
    max-width: 96.5%;
    top: 0px;
    left: 6px;
}
  .staff-frame-underground{
    max-width: 96.5%;
    top: 0px;
    left: 6px;
}
}

@media (max-width: 460px) {
  .staff-image-reverse {
    max-width: 260px;
    margin: 0px auto;
  }

  .staff-frame-braved {
    left: 15px;
    top: -9px;
    max-width: 230px;
    /* left: 0px; */
    /* max-width: 100%; */
    /* height: 360px; */
    /* clip-path: polygon(0% 2%, 100% 0%, 100% 98%, 0% 100%); */
    /* max-width: 100%; */
    /* left: 0; */
    /* height: 420px; */
    /* clip-path: polygon(0% 8%, 100% 0%, 100% 91%, 0% 100%); */
  }
  .staff-frame-bottom {
    left: 15px;
    top: -9px;
    max-width: 230px;
  }
  .staff-frame-brigde {
    left: 0px;
    max-width: 100%;
    height: 400px;
    clip-path: polygon(0% 2%, 100% 0%, 100% 98%, 0% 100%);
}
 
}
@media (max-width: 400px) {
  .staff-image-reverse {
    max-width: 230px;
    margin: 0px auto;
  }

  .staff-frame-braved {
    left: 12px;
    top: -12px;
    max-width: 204px;
  }
  .staff-frame-bottom {
    left: 12px;
    top: -9px;
    max-width: 204px;
  }

  .staff-frame-brigde {
    left: 0px;
    max-width: 100%;
    height: 360px;
    clip-path: polygon(0% 2%, 100% 0%, 100% 98%, 0% 100%);
}
}

@media (max-width: 360px) {

  /* Ná»™i dung box thu gá»n padding chÃºt cho thoÃ¡ng */
  .staff-section-box { padding: 12px; }
  .staff-section-box .staff-subtile { font-size: 15px; }
}

/* ====== â‰¤320px: cá»±c nhá» â€“ thÃªm chÃºt co giÃ£n */
@media (max-width: 320px) {

  .staff-section-box { padding: 10px; }
  .staff-section-box .staff-subtile { font-size: 14px; }
}

@media (max-width: 315px) {
  .staff-image-reverse {
    max-width: 200px;
    margin: 0px auto;
  }

  .staff-frame-braved {
    left: 10px;
    top: -14px;
    max-width: 180px;
  }
  .staff-frame-bottom {
    left: 10px;
    top: -11px;
    max-width: 180px;
  }

  .staff-frame-brigde {
    left: 0px;
    max-width: 100%;
    height: 315px;
    clip-path: polygon(0% 2%, 100% 0%, 100% 98%, 0% 100%);
}
}

@media (max-width: 308px) {
   .staff-frame-bg, .staff-frame-middle {
    max-width: 100%;
    left: 0;
    height: 215px;
    clip-path: polygon(0% 8%, 100% 0%, 100% 91%, 0% 100%);
  }
    .staff-image {
    max-width: 110px;
  }
      .staff-name-box {
        transform: scale(0.8);
        /* margin-top: 120px; */
  }
    .name-text {
    top: 37px;
    left: 8px;
    transform: skewY(-27deg);
  }
    .staff-department {
    font-size: 10px;
}
}

@media (max-width: 287px) {
  .staff-image-reverse {
    max-width: 150px;
    margin: 0px auto;
  }

  .staff-frame-braved {
    left: 8px;
    top: -9px;
    max-width: 135px;
  }
  .staff-frame-bottom {
    left: 8px;
    top: -7px;
    max-width: 135px;
  }

    .staff-frame-brigde {
    left: 0px;
    max-width: 100%;
    height: 240px;
    clip-path: polygon(0% 2%, 100% 0%, 100% 98%, 0% 100%);
}
}
@media (max-width: 240px) {
  
    .staff-frame-brigde {
    left: 0px;
    max-width: 100%;
    height: 190px;
    clip-path: polygon(0% 2%, 100% 0%, 100% 98%, 0% 100%);
}
  .staff-image-reverse {
    max-width: 120px;
    margin: 0px auto;
  }

  .staff-frame-braved {
    left: 5px;
    top: -10px;
    max-width: 110px;
  }
  .staff-frame-bottom {
    left: 5px;
    top: -8px;
    max-width: 110px;
  }
}

@media (max-width: 208px) {
      .staff-frame-brigde {
    left: 0px;
    max-width: 100%;
    height: 140px;
    clip-path: polygon(0% 2%, 100% 0%, 100% 98%, 0% 100%);
}
  .staff-image-reverse {
    max-width: 90px;
    margin: 0px auto;
  }

  .staff-frame-braved {
    left: 5px;
    top: -4px;
    max-width: 80px;
  }
  .staff-frame-bottom {
    left: 5px;
    top: -4px;
    max-width: 80px;
  }
}


@media (max-width: 196px) {
   .staff-frame-bg, .staff-frame-middle {
    max-width: 100%;
    left: 0;
    height: 180px;
    clip-path: polygon(0% 8%, 100% 0%, 100% 91%, 0% 100%);
  }
    .staff-image {
    max-width: 90px;
  }
    .staff-name-box {
      transform: scale(0.8);
      /* margin-top: 60px; */
  }
    .name-text {
      top: 59px;
      left: 8px;
      transform: skewY(-34deg);
  }
    .staff-department {
      font-size: 8px;
  }
    .staff-name {
      font-size: 8px;
  }
}@media (max-width: 178px) {
      .staff-frame-brigde {
    left: 0px;
    max-width: 100%;
    height: 96px;
    clip-path: polygon(0% 2%, 100% 0%, 100% 98%, 0% 100%);
}
  
  .staff-image-reverse {
    max-width: 60px;
    margin: 0px auto;
  }

  .staff-frame-braved {
    left: 2px;
    top: -4px;
    max-width: 55px;
  }
  .staff-frame-bottom {
    left: 2px;
    top: -3px;
    max-width: 55px;
  }
}