/* ── Dashboard Component ── */
.dashboard {
  position: relative;
  z-index: 2;
}

.dashboard__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
}

.dashboard__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 60px;
  width: 100%;
  max-width: 900px;
}

.dashboard__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.dashboard__card:hover {
  transform: translateY(-4px);
}

.dashboard__icon {
  position: relative;
  width: 100%;
  max-width: 203px;
  aspect-ratio: 1 / 1;
  height: auto;
}

.dashboard__icon-normal,
.dashboard__icon-hover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: opacity 0.5s;
}

.dashboard__icon-hover {
  opacity: 0;
}

.dashboard__card:hover .dashboard__icon-normal {
  opacity: 0;
}

.dashboard__card:hover .dashboard__icon-hover {
  opacity: 1;
}

.dashboard__label {
  font-family: "u3", sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: #ffe7ba;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.3;
}

/* ── Планшетна Версія — < 1280px ── */
@media (max-width: 1279px) {
  .dashboard__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 600px;
  }

  .dashboard__inner {
    padding: 0 40px;
  }
}

/* ── Мобільна Версія — < 768px ── */
@media (max-width: 767px) {
  .dashboard__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 16px;
    max-width: 600px;
  }

  .dashboard__inner {
    padding: 0 20px;
  }

  .dashboard__label {
    font-size: 14px;
  }
}

/* Watermark clearance pair: pull up into the hero under-box's reserved
   overhang so the 160 OMBr bg-text stays visible (desktop fixed pair,
@media (min-width: 1280px) {
  .index2-hero + .dashboard {
    margin-top: -134px;
  }
}

@media (max-width: 1279px) {
  .index2-hero + .dashboard {
    margin-top: calc(-1 * 0px);
  }
}
