@import url("../tag/style.css");

.c-card-areas {
  cursor: pointer;
  border-radius: 8px;
  border: 1px solid var(--primary-detail);
  overflow: hidden;
  position: relative;
  width: 100%;
}

@media screen and (min-width: 1026px) {
  .c-card-areas {
    max-width: 160px;
    width: auto;
    height: 120px;
  }
}

.c-card-areas__title {
  color: white;
  font-size: 14px;
  font-weight: 600;
  line-height: 28px;
}

@media screen and (max-width: 1026px) {
  .c-card-areas__title br {
    display: none;
  }
}

@media screen and (min-width: 1026px) {
  .c-card-areas__title {
    font-size: 16px;
    text-align: center;
  }
}

.c-card-areas__content {
  background: var(--bg-radial-gradient-primary);
  padding: 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media screen and (min-width: 1026px) {
  .c-card-areas__content {
    flex-direction: column;
    justify-content: center;
    padding: 0;
  }
}

@media screen and (max-width: 1026px) {
  .c-card-areas__action span {
    display: none;
  }
}

@media screen and (min-width: 1026px) {
  .c-card-areas__action {
    color: white;
    font-weight: 700;
    font-size: 14px;
    margin-top: 0;
    max-height: 0;
    opacity: 0;
    transition: max-height, opacity, transform, 0.3s var(--move);
    transform: translateY(20px);
  }
}

@media screen and (min-width: 1026px) {
  .c-card-areas:hover .c-card-areas__action {
    max-height: 200px;
    overflow: visible;
    opacity: 1;
    transform: translateY(0);
    margin-top: 16px;
  }
}

.c-card-areas__action svg {
  transform: rotate(90deg);
  margin-left: 8px;
}
