* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  background: #f5f5f5;
  color: #222;
}

.landing-container {
  max-width: 1980px;
  margin: auto;
  padding: 40px 80px;
}

/* Back link */

.back-link {
  margin-bottom: 20px;
  position: relative;
}

.back-link a {
  text-decoration: none;
  color: #2c6ed5;
  font-weight: 500;
  padding-left: 10px;
}

.back-link a::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0%;
  transform: translate(-50%, -50%);
  width: 14px;
  height: 14px;
  background: url(/static/frontend/img/LinkArrowBack.svg) no-repeat center;
  background-size: contain;
}

/* Title */

.page-title {
  font-size: 32px;
  margin-bottom: 30px;
  font-weight: 700;
}

/* GRID */

.services-grid-inner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-bottom: 30px;
}

/* CARD */

.service-card-inner {
  background: #fff;
  padding: 25px;
  border-radius: 0px;
  border: 1px solid #e4e4e4;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  color: inherit;

  transition: 0.3s;
}

.service-card-inner:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-card-inner h3 {
  font-size: 18px;
  margin-bottom: 20px;
  /* 3 line clamp */
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* CONTENT */

.card-content {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 20px;
  align-items: start;
}

.card-content img {
  width: 180px;
  height: 120px;
  object-fit: cover;
  border-radius: 4px;
}

.card-content p {
  font-size: 14px;
  line-height: 1.6;
  color: #444;

  /* 3 line clamp */
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* FOOTER */

.card-footer {
  margin-top: 25px;
  display: flex;
  justify-content: flex-end;
}

/* BUTTON */

.detail-btn {
  padding: 5px 50px 5px 15px;
  border: 1.5px solid #d6632f;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  color: #d6632f;
  transition: all 0.3s ease;
  position: relative;
}

.detail-btn:hover {
  background: #ff6a2a;
  color: #fff;
}

.detail-btn::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 10%;
  transform: translate(-50%, -50%);
  width: 14px;
  height: 14px;
  background: url(/static/frontend/img/arrow_outward.svg) no-repeat center;
  background-size: contain;
}


/* RESPONSIVE */

@media(max-width:1200px) {

  .container {
    padding: 40px 40px;
  }

  .card-content {
    grid-template-columns: 150px 1fr;
  }

  .card-content img {
    width: 150px;
    height: 110px;
  }

}

@media(max-width:768px) {

  .services-grid-inner {
    grid-template-columns: 1fr;
  }

  .card-content {
    grid-template-columns: 1fr;
  }

  .card-content img {
    width: 100%;
    height: 200px;
  }

  .card-footer {
    justify-content: flex-start;
  }

}