.vm-docs{
  padding-bottom: 88px;
}

.vm-docs-lead{
  max-width: 860px;
  margin: 32px 0 0;
  color: #1a2332;
  font-size: 18px;
  line-height: 1.7;
}

.vm-docs-board{
  margin-top: 22px;
}

.vm-docs-board .elementor{
  width: 100%;
}

.vm-docs .vm-docs-grid.e-con{
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px !important;
  width: 100% !important;
  max-width: none !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.vm-docs .vm-doc.e-con{
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 0;
  width: auto !important;
  max-width: none !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 10px 10px 18px !important;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e6efee;
  border-radius: 22px;
  box-shadow: none;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}

.vm-docs .vm-doc.e-con:hover{
  border-color: #d5ebe9;
  box-shadow: 0 18px 40px rgba(8, 80, 86, .08);
  transform: translateY(-4px);
}

.vm-docs .vm-doc-copy.e-con{
  display: flex !important;
  flex: 1 1 auto !important;
  flex-direction: column !important;
  justify-content: flex-start;
  width: auto !important;
  min-width: 0;
  max-width: none !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 14px 8px 0 !important;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.vm-docs .vm-doc-photo{
  flex: none;
  width: 100% !important;
  max-width: none !important;
  margin: 0;
}

.vm-docs .vm-doc-photo .elementor-widget-container{
  display: grid;
  place-items: center;
  width: 100%;
  height: 240px;
  overflow: hidden;
  border: 0;
  border-radius: 14px;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(24, 184, 180, .16), transparent 58%),
    #f3faf9;
}

.vm-docs .vm-doc-photo .elementor-widget-container:not(:has(img)){
  border: 1px dashed #d3e4e2;
}

.vm-docs .vm-doc.e-con:not(:has(.vm-doc-photo))::before{
  content: "";
  display: block;
  height: 240px;
  border: 1px dashed #d3e4e2;
  border-radius: 14px;
  background: #f7fbfa;
}

.vm-docs .vm-doc-photo a{
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  cursor: zoom-in;
}

.vm-docs .vm-doc-photo img{
  display: block;
  width: auto !important;
  max-width: calc(100% - 36px) !important;
  height: 208px !important;
  max-height: 208px !important;
  object-fit: contain !important;
  object-position: center;
  border-radius: 4px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, .1);
}

.vm-docs .vm-doc-code,
.vm-docs .vm-doc-title,
.vm-docs .vm-doc-meta{
  width: auto;
  margin: 0;
}

.vm-docs .elementor-heading-title{
  margin: 0;
  padding: 0;
  color: var(--ink);
  font-family: var(--font-display);
  line-height: 1.3;
}

.vm-docs .vm-doc-code .elementor-heading-title{
  color: var(--gold-dark);
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.vm-docs .vm-doc-title .elementor-heading-title{
  margin-top: 4px;
  color: var(--ink) !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  letter-spacing: -0.03em;
}

.vm-docs .vm-doc-meta .elementor-widget-container,
.vm-docs .vm-doc-meta p{
  margin: 8px 0 0;
  color: #7a868e;
  font-size: 13px;
  line-height: 1.45;
}

body.vm-doc-lightbox-open{
  overflow: hidden;
}

.vm-doc-lightbox{
  position: fixed;
  z-index: 80;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(9, 16, 24, .78);
  cursor: zoom-out;
}

.vm-doc-lightbox[hidden]{
  display: none;
}

.vm-doc-lightbox img{
  width: auto !important;
  max-width: min(1040px, calc(100vw - 56px)) !important;
  height: auto !important;
  max-height: calc(100vh - 56px) !important;
  object-fit: contain;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .35);
  cursor: default;
}

.vm-doc-lightbox-close{
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .14);
  cursor: pointer;
}

.vm-doc-lightbox-close::before,
.vm-doc-lightbox-close::after{
  position: absolute;
  top: 19px;
  left: 11px;
  width: 18px;
  height: 1.5px;
  background: #fff;
  content: "";
}

.vm-doc-lightbox-close::before{
  transform: rotate(45deg);
}

.vm-doc-lightbox-close::after{
  transform: rotate(-45deg);
}

@media (max-width: 960px) {
  .vm-docs .vm-docs-grid.e-con{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .vm-docs{
    padding-bottom: 56px;
  }

  .vm-docs .vm-docs-grid.e-con{
    grid-template-columns: 1fr;
  }

  .vm-docs .vm-doc.e-con:hover{
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .vm-docs .vm-doc.e-con{
    transition: none;
  }

  .vm-docs .vm-doc.e-con:hover{
    transform: none;
  }
}
