/* Flex Layout - Desktop */
.linkedin_cards_two .s-c-area .content-wrapper {
  display: flex;
  flex-direction: row;
  border-radius: 5px;
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
  
  height: 270px;
}



/* Responsive Column Container */
.linkedin_cards_two .text-white {
  padding: 0 20px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Image Container */


.linkedin_cards_two .image-wrapper img {
  max-height: 330px;
  max-width: 254px;
  width: 100%;
  height: auto;
}

/* Text Container */
.linkedin_cards_two .text-wrapper {
  flex: 1;
      padding: 64px 12px 80px 44px;
  border: 2px solid #D9D9D9;
  border-top-right-radius: 5px;
border-bottom-right-radius: 5px;
border-left: none;

  
}

.linkedin_cards_two .upper-content h3 {
  margin-bottom: 11px;
  
}

/* LinkedIn icon */
.linkedin_cards_two .fab.fa-linkedin {
  font-size: 23px;
  color: #9E9E9E;
  transition: color 0.3s ease;
  text-decoration: none;
}


.linkedin_cards_two  .fab.fa-linkedin:hover {
  color: #09741F;
}

.linkedin_cards_two  .linkedin-logo {
    margin-top: 33px;
}


/* ========== Desktop Styles (≥768px) ========== */
@media screen and (min-width: 768px) {
  .linkedin_cards_two .image-wrapper {
  flex: 0 0 auto;
  max-width: 210px;
}
  
  .linkedin_cards_two .upper-content h3 {
    max-width: 125px;
    font-size: 32px;
    line-height: 38px;
    letter-spacing: -2px;
    font-weight: 700;
    overflow: visible;
  }

  .linkedin_cards_two .upper-content p {
    max-width: 267px;
    font-size: 16px;
    line-height: 20px;
/*     letter-spacing: -0.5px; */
    color: #9E9E9E !important;
    overflow: visible;
    /* font-weight: 600 !important; */
  }

  .linkedin_cards_two .wrapper {
    max-width: 996px !important;
  }
}

/* ========== Tablet & Mobile Styles (≤767px) ========== */
@media screen and (max-width: 767px) {
  .linkedin_cards_two .upper-content h3 {
    letter-spacing: -1px;
  }

  .linkedin_cards_two .text-wrapper {
    padding: 20px 15px;
    border: none;
  }

  .linkedin_cards_two .s-c-area .content-wrapper {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: 20px;
    border: 2px solid #d9d9d9;
    height: unset;
    width: 100%;
  }
  .linkedin_cards_two .image-wrapper {
    width: 100% !important;
  
  }
  
  .linkedin_cards_two .image-wrapper img {
    min-width: unset !important;
    max-width: 367px !important;
    max-height: unset !important;
  }

  .linkedin_cards_two .linkedin-logo {
    padding-top: 10px;
  }
}

/* ========== LinkedIn Icon Padding ========== */
.linkedin_cards_two .fa-linkedin:before {
  padding: 0 3px;
}

/* ========== Narrow Desktop Range (992px - 1030px) ========== */
@media (min-width: 992px) and (max-width: 1030px) {
  .linkedin_cards_two .s-c-area .content-wrapper {
/*     max-width: 450px !important; */
  }
}

/* ========== Wide Desktop Padding Adjustments (≥1024px) ========== */
@media screen and (max-width: 1024px) {
  .linkedin_cards_two .custom-gap-row {
    margin: 0 !important;
  }
@media screen and (min-width: 1024px) {
  .linkedin_cards_two .upper-content h3 {
    margin-left: -3px;
  }
}









