/* Editable Elementor certificate photo gallery. */
.vds-certificate-gallery,
.vds-certificate-gallery * {
  box-sizing: border-box;
}

.vds-certificate-gallery {
  --vds-gallery-primary: #007773;
  --vds-gallery-ink: #182526;
  --vds-gallery-muted: #526261;
  --vds-gallery-line: #d8e2e1;
  width: 100%;
  padding: 76px 24px 92px;
  background: #f8f7f5;
  color: var(--vds-gallery-ink);
  font-family: "Noto Sans KR", sans-serif;
}

.vds-certificate-gallery > .e-con-inner {
  width: min(1200px, 100%) !important;
  max-width: 1200px !important;
  margin-inline: auto;
}

.vds-certificate-title {
  text-align: center;
}

.vds-certificate-title .elementor-heading-title {
  margin: 0;
  color: var(--vds-gallery-ink) !important;
  font-family: "Noto Serif KR", serif !important;
  font-size: clamp(34px, 4.2vw, 52px) !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  letter-spacing: -.045em !important;
}

.vds-certificate-divider {
  width: 74px;
  margin: 18px auto 38px;
}

.vds-certificate-divider .elementor-divider {
  padding: 0 !important;
}

.vds-certificate-divider .elementor-divider-separator {
  width: 74px !important;
  border-block-start: 3px solid var(--vds-gallery-primary) !important;
}

.vds-certificate-grid {
  display: grid !important;
  width: 100% !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 24px !important;
}

.vds-certificate-card {
  display: flex !important;
  width: 100% !important;
  min-width: 0;
  flex-direction: column !important;
  gap: 0 !important;
  overflow: hidden;
  border: 1px solid var(--vds-gallery-line);
  border-top: 3px solid var(--vds-gallery-primary);
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(23, 55, 53, .065);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.vds-certificate-card:hover {
  border-color: var(--vds-gallery-primary);
  box-shadow: 0 16px 36px rgba(0, 119, 115, .11);
  transform: translateY(-3px);
}

.vds-certificate-image,
.vds-certificate-image > .elementor-widget-container,
.vds-certificate-image a {
  display: block;
  width: 100%;
}

.vds-certificate-image img {
  display: block;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
}

.vds-certificate-card-title {
  display: flex;
  flex: 1;
}

.vds-certificate-card-title > .elementor-widget-container {
  display: flex;
  width: 100%;
  padding: 18px 20px 20px;
  align-items: flex-start;
}

.vds-certificate-card-title .elementor-heading-title {
  margin: 0;
  color: var(--vds-gallery-ink) !important;
  font-family: "Noto Sans KR", sans-serif !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.55 !important;
  word-break: keep-all;
}

@media (max-width: 1024px) {
  .vds-certificate-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .vds-certificate-gallery {
    padding: 48px 16px 64px;
  }

  .vds-certificate-title .elementor-heading-title {
    font-size: 31px !important;
  }

  .vds-certificate-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px !important;
  }

  .vds-certificate-card-title > .elementor-widget-container {
    padding: 16px 18px 18px;
  }
}
