/* Card Component Styles */

/* Base card styling */
.card {
  box-shadow: 2px 3px 10px rgba(206, 212, 218, 0.3);
}

.card .post-details {
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
      -ms-flex-pack: justify;
          justify-content: space-between;
  max-width: 250px;
  margin-bottom: 15px;
}

.card .post-details a {
  opacity: .6;
  color: #444;
  font-size: 15px;
}

.card .post-details a i {
  padding-right: 5px;
}

/* Custom card styling (also defined in Card.astro component) */
.custom-card {
  border-radius: 0.25rem;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

.custom-card .card-body {
  padding: 55px 0;
}

.custom-card .card-body i {
  display: block;
  font-size: 40px;
  margin-bottom: 18px;
  color: var(--primary);
}

.custom-card:hover, .custom-card:active {
  background: var(--hover-color);
  color: var(--white);
}

.custom-card:hover i, .custom-card:active i {
  color: var(--white);
}

/* Testimonial card styling */
.testmonial-card {
  background: var(--white);
  box-shadow: 2px 3px 10px rgba(206, 212, 218, 0.3);
  border-radius: 0.25rem;
  max-width: 700px;
  margin: 10px auto;
  padding: 20px 15px;
}

.testmonial-card img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  box-shadow: 2px 3px 10px rgba(206, 212, 218, 0.3);
  margin-bottom: 30px;
}

.testmonial-card .title {
  margin-top: 30px;
  font-size: 20px;
}
