.logo-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  background: white;
}

.logo {
  position: relative;
  height: 200px;
  border: 1px solid #e5e7eb;
  overflow: hidden;
}

.logo:nth-child(6) {
  grid-column: 2;
}

.logo:nth-child(7) {
  grid-column: 4;
}

.crosses__wrapper {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cross__wrapper {
  position: absolute;
  width: 16px;
  height: 16px;
}

.cross__wrapper.top-left {
  top: 8px;
  left: 8px;
}

.cross__wrapper.top-right {
  top: 8px;
  right: 8px;
}

.cross__wrapper.bottom-right {
  bottom: 8px;
  right: 8px;
}

.cross__wrapper.bottom-left {
  bottom: 8px;
  left: 8px;
}

.cross-flicker__wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.vertical {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1px;
  height: 16px;
  background: #d1d5db;
  transform: translate(-50%, -50%);
  transition: transform 0.3s ease;
}

.horizontal {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 1px;
  background: #d1d5db;
  transform: translate(-50%, -50%);
  transition: transform 0.3s ease;
}

.block__visual-divider {
  position: absolute;
  background: #e5e7eb;
}

.block__visual-divider.horizontal {
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
}

.block__visual-divider.vertical-top {
  top: 0;
  bottom: 50%;
  left: 50%;
  width: 1px;
}

.block__visual-divider.vertical-bottom {
  top: 50%;
  bottom: 0;
  left: 50%;
  width: 1px;
}

.border__wrapper {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.overflow__wrapper {
  position: relative;
  height: 100%;
  width: 100%;
}

.border-bg-v {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: #e5e7eb;
}

.border-bg-h {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: #e5e7eb;
}

.border-holder {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 32px;
  height: 32px;
  border: 1px solid #d1d5db;
  transform: translate(-50%, -50%);
  transition: transform 0.3s ease;
}

.background-holder {
  position: absolute;
  inset: 0;
  background: white;
}

.slot__wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
}

.image {
  opacity: 1;
  transition: opacity 0.3s ease;
}

.background-gradient {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    transparent 0%,
    rgba(249, 250, 251, 0.2) 50%,
    transparent 100%
  );
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
}

.logo:hover .background-gradient {
  opacity: 1;
}

.logo:hover .border-holder {
  transform: translate(-50%, -50%) scale(1.1);
}

.logo:hover .cross-flicker__wrapper .vertical {
  transform: translate(-50%, -50%) scale(1, 0.5);
}

.logo:hover .cross-flicker__wrapper .horizontal {
  transform: translate(-50%, -50%) scale(0.5, 1);
}
