/* Start custom CSS for html, class: .elementor-element-60e8dd1 *//* ==========================================
   EXPERTS INDUSTRIES - CERTIFICATE GALLERY
========================================== */

.ei-certificates-section,
.ei-certificates-section * {
  box-sizing: border-box;
}

.ei-certificates-section {
  width: 100%;
  padding: 85px 0;
  background: #ffffff;
  color: #211d30;
  font-family: inherit;
}

.ei-certificates-inner {
  width: min(1450px, calc(100% - 80px));
  margin: 0 auto;
}


/* ==========================================
   SECTION HEADING
========================================== */

.ei-certificates-heading {
  display: grid;
  grid-template-columns: 1fr .7fr;
  align-items: end;
  gap: 55px;
  margin-bottom: 45px;
}

.ei-certificates-eyebrow {
  display: block;
  color: #f58220;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2.7px;
  margin-bottom: 17px;
}

.ei-certificates-heading h2 {
  color: #211d30;
  font-size: clamp(32px, 4vw, 53px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -1.5px;
  margin: 0;
}

.ei-certificates-heading h2 strong {
  color: #f58220;
}

.ei-certificates-heading > p {
  max-width: 480px;
  justify-self: end;
  color: #777181;
  font-size: 15px;
  line-height: 1.85;
  margin: 0 0 5px;
}


/* ==========================================
   CERTIFICATE GRID
========================================== */

.ei-certificates-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 25px;
  align-items: start;
}


/* ==========================================
   COMMON CERTIFICATE CARD
========================================== */

.ei-certificate-card {
  min-width: 0;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #e9e5ee;
  border-radius: 7px;
  box-shadow: 0 7px 24px rgba(30, 24, 50, .045);
  transition:
    transform .25s ease,
    box-shadow .25s ease,
    border-color .25s ease;
}

.ei-certificate-card:hover {
  transform: translateY(-4px);
  border-color: #d7c9eb;
  box-shadow: 0 15px 32px rgba(30, 24, 50, .09);
}


/* ==========================================
   WRAP CERTIFICATE - FULL WIDTH LANDSCAPE
========================================== */

.ei-certificate-wrap {
  grid-column: 1 / -1;
}

.ei-certificate-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 17px 20px;
  border-bottom: 1px solid #eeeaf2;
}

.ei-certificate-number {
  color: #f58220;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 1.8px;
}

.ei-certificate-format {
  color: #898392;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.5px;
}


/* ==========================================
   PDF PREVIEW FRAME

   WRAP: Landscape ratio 810:630
   ISO: A4 Portrait ratio 595:842
========================================== */

.ei-certificate-preview {
  position: relative;
  width: 100%;
  background: #f3f2f5;
  overflow: hidden;
}

.ei-certificate-preview iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #f3f2f5;
}


/* WRAP LANDSCAPE */

.ei-certificate-wrap .ei-certificate-preview {
  width: 100%;
  aspect-ratio: 810 / 630;
  max-height: 620px;
}


/* A4 PORTRAIT CERTIFICATES */

.ei-certificate-iso .ei-certificate-preview {
  aspect-ratio: 595.276 / 841.89;
}


/* ==========================================
   PLACEHOLDER WHEN URL IS EMPTY
========================================== */

.ei-certificate-placeholder {
  width: 100%;
  height: 100%;
  min-height: 200px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 13px;
  text-align: center;
  background: #f3f2f5;
  color: #898392;
}

.ei-certificate-placeholder-mark {
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d9d1e5;
  border-radius: 50%;
  color: #35217f;
  font-size: 16px;
  font-weight: 850;
  letter-spacing: 1px;
}

.ei-certificate-placeholder strong {
  max-width: 300px;
  color: #35217f;
  font-size: 15px;
  line-height: 1.5;
}

.ei-certificate-placeholder > span:last-child {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1px;
}


/* ==========================================
   CERTIFICATE DETAILS
========================================== */

.ei-certificate-details {
  padding: 20px 22px 5px;
}

.ei-certificate-subtitle {
  display: block;
  color: #f58220;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 1.5px;
  line-height: 1.5;
  margin-bottom: 10px;
}

.ei-certificate-details h3 {
  color: #252135;
  font-size: 19px;
  font-weight: 750;
  line-height: 1.45;
  margin: 0;
}


/* ==========================================
   VIEW / OPEN PDF ACTIONS
========================================== */

.ei-certificate-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  padding: 18px 22px 22px;
}

.ei-certificate-view,
.ei-certificate-download {
  display: inline-flex;
  align-items: center;
  text-decoration: none !important;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 1.2px;
  transition: color .2s ease;
}

.ei-certificate-view {
  color: #35217f !important;
}

.ei-certificate-download {
  color: #777181 !important;
}

.ei-certificate-view:hover,
.ei-certificate-download:hover {
  color: #f58220 !important;
}

.ei-certificate-missing {
  color: #a09aa9;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1px;
}


/* ==========================================
   TABLET
========================================== */

@media (max-width: 1024px) {

  .ei-certificates-inner {
    width: calc(100% - 50px);
  }

  .ei-certificates-heading {
    gap: 30px;
  }

  .ei-certificates-grid {
    gap: 18px;
  }

  .ei-certificate-details {
    padding-left: 16px;
    padding-right: 16px;
  }

  .ei-certificate-details h3 {
    font-size: 17px;
  }

  .ei-certificate-actions {
    padding-left: 16px;
    padding-right: 16px;
    gap: 13px;
  }

}


/* ==========================================
   MOBILE
========================================== */

@media (max-width: 767px) {

  .ei-certificates-section {
    padding: 55px 0;
  }

  .ei-certificates-inner {
    width: calc(100% - 30px);
  }

  .ei-certificates-heading {
    grid-template-columns: 1fr;
    gap: 17px;
    margin-bottom: 28px;
  }

  .ei-certificates-eyebrow {
    font-size: 9px;
    letter-spacing: 2px;
    margin-bottom: 13px;
  }

  .ei-certificates-heading h2 {
    font-size: clamp(30px, 8vw, 41px);
    letter-spacing: -1px;
  }

  .ei-certificates-heading > p {
    justify-self: start;
    font-size: 13px;
    line-height: 1.75;
  }


  /* WRAP FULL WIDTH */

  .ei-certificates-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 19px;
  }

  .ei-certificate-wrap {
    grid-column: auto;
  }


  /* KEEP ORIGINAL CERTIFICATE PROPORTIONS */

  .ei-certificate-wrap .ei-certificate-preview {
    aspect-ratio: 810 / 630;
    max-height: none;
  }

  .ei-certificate-iso .ei-certificate-preview {
    aspect-ratio: 595.276 / 841.89;
  }

  .ei-certificate-card-top {
    padding: 13px 15px;
  }

  .ei-certificate-details {
    padding: 16px 16px 4px;
  }

  .ei-certificate-details h3 {
    font-size: 17px;
  }

  .ei-certificate-actions {
    padding: 15px 16px 18px;
  }

  .ei-certificate-view,
  .ei-certificate-download {
    font-size: 9px;
  }

}


/* ==========================================
   SMALL MOBILE
========================================== */

@media (max-width: 380px) {

  .ei-certificates-inner {
    width: calc(100% - 24px);
  }

  .ei-certificate-details h3 {
    font-size: 16px;
  }

}/* End custom CSS */