/* ||||||||||||||||||||||||||||||||||||||||||||||||*/
/* ESB Section Experience Certificate */
/* ||||||||||||||||||||||||||||||||||||||||||||||||*/

.esb-experience-certificate {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 30px 21px;
  justify-content: center;
}

.esb-experience-certificate__item {
  max-width: 156px;
  width: 100%;
  flex: 0 0 156px;
  flex-shrink: 0;
  text-align: center;
}

.esb-experience-certificate__image {
  width: 100%;
  aspect-ratio: 1/1;
  border: 1px solid var(--PrimaryGreen);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 35px;
  margin-bottom: 15px;
  transition: border-color 0.3s ease;
}

.esb-experience-certificate__image:hover {
  border-color: var(--LightGrey2);
}

.esb-experience-certificate__image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  max-width: 100%;
  max-height: 100%;
}

/* ------------------------------------------------ */
/* Desktop Large and Down */
/* ------------------------------------------------ */

@media (max-width: 1919px) {
  .esb-experience-certificate__image {
    padding: 26px;
  }

  .esb-experience-certificate {
    gap: 30px 15px;
  }

  .esb-experience-certificate__item {
    max-width: 128px;
    flex: 0 0 128px;
    font-size: 20px;
  }
}

/* ------------------------------------------------ */
/* Desktop Smaller and Down */
/* ------------------------------------------------ */

@media (max-width: 1439px) {
  .esb-experience-certificate__image {
    padding: 18px;
  }

  .esb-experience-certificate__item {
    max-width: 104px;
    flex: 0 0 104px;
    font-size: 18px;
  }
}

/* ------------------------------------------------ */
/* Tablet L and Down */
/* ------------------------------------------------ */

@media (max-width: 1199px) {
  .esb-experience-certificate__item {
    max-width: 118px;
    flex: 0 0 118px;
  }
}

/* ------------------------------------------------ */
/* Tablet P and Down */
/* ------------------------------------------------ */

@media (max-width: 1023px) {
  .esb-experience-certificate__item {
    max-width: 90px;
    flex: 0 0 90px;
  }
}

/* ------------------------------------------------ */
/* Mobile */
/* ------------------------------------------------ */

@media (max-width: 767px) {
  .esb-experience-certificate__item {
    max-width: 100px;
    flex: 0 0 100px;
  }
}
