/* Card Block Styles */
.cardBlock {
  width: 100%;
  padding: 0;
}

.cardBlock_Container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* Card Base Styles */
.cardBlock_Card {
  position: relative;
  min-height: 300px;
  aspect-ratio: 1/1;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.cardBlock_Card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Background Colors */
.cardBlock_Card--lightBlue {
  background-color: #adb9c2;
  color: #000;
}

.cardBlock_Card--darkBlue {
  background-color: #334c5d;
  color: #fff;
}

.cardBlock_Card--lightGreen {
  background-color: #cccdb5;
  color: #000;
}

.cardBlock_Card--darkGreen {
  background-color: #464d3c;
  color: #fff;
}

.cardBlock_Card--image {
  color: #fff;
  position: relative;
}

.cardBlock_Card--image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

/* Card Content */
.cardBlock_CardContent {
  position: relative;
  z-index: 2;
  padding: 40px 30px;
  width: 100%;
  box-sizing: border-box;
}

.cardBlock_CardTitle {
  text-align: center;
  font-family: "Montserrat", sans-serif;
  font-size: 36px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  margin: 0;
}

/* Card Link Styles */
.cardBlock_CardLink {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  cursor: pointer;
  z-index: 10;
}

.cardBlock_CardLink:hover {
  text-decoration: none;
  color: inherit;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .cardBlock_Container {
    gap: 20px;
  }

  .cardBlock_Card {
    min-height: 250px;
  }

  .cardBlock_CardTitle {
    font-size: 20px;
  }
}

@media (max-width: 768px) {
  .cardBlock {
    width: 90%;
    margin: 0 auto;
  }

  .cardBlock_Container {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .cardBlock_Card {
    min-height: 200px;
  }

  .cardBlock_CardContent {
    padding: 30px 20px;
  }

  .cardBlock_CardTitle {
    font-size: 36px;
  }
}
