.sec-box.bg-gray {
  padding: 12rem 0;
}
.sec-box .row {
  --bs-gutter-x: 4rem;
  --bs-gutter-y: 4rem;
}
.box-item {
  position: relative;
  width: 100%;
  z-index: 1;
  border: 1px solid var(--border);
  padding: 4rem 4rem 6.4rem;
  display: flex;
  flex-direction: column;
  background: var(--white);
}
.sec-box.bg-gray .box-item {
  border-color: var(--white);
}
.box-item:has(.box-item-link):hover {
  background: var(--gray-bg);
  border-color: var(--gray-bg);
}
.sec-box.bg-gray .box-item:has(.box-item-link):hover {
  border-color: var(--border);
}
.box-item-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.box-item .subtitle {
  text-align: left;
  max-width: max-content;
  margin-left: auto;
  margin-right: auto;
}
.box-item p:has(+ .box-btn) {
  margin-bottom: 3.2rem;
}
.box-btn {
  margin-top: auto;
}
@media(min-width:1360px) and (max-width:1459.98px) {
  .sec-box.bg-gray {
    padding: 10rem 0;
  }
  .sec-box .row {
    --bs-gutter-x: 3rem;
    --bs-gutter-y: 3rem;
  }
  .box-item {
    padding: 4rem 3.2rem 5.6rem;
  }
  .box-item p:has(+ .box-btn) {
    margin-bottom: 2.8rem;
  }
}
@media(min-width:1200px) and (max-width:1359.98px) {
  .sec-box.bg-gray {
    padding: 10rem 0;
  }
  .sec-box .row {
    --bs-gutter-x: 2.8rem;
    --bs-gutter-y: 2.8rem;
  }
  .box-item {
    padding: 4rem 3.2rem 5.6rem;
  }
  .box-item br {
    display: none;
  }
  .box-item p:has(+ .box-btn) {
    margin-bottom: 2.4rem;
  }
}
@media(min-width:992px) and (max-width:1199.98px) {
  .sec-box.bg-gray {
    padding: 8rem 0;
  }
  .sec-box .row {
    --bs-gutter-x: 2.4rem;
    --bs-gutter-y: 2.4rem;
  }
  .box-item {
    padding: 3.2rem 2.2rem 4.8rem;
  }
  .box-item br {
    display: none;
  }
  .box-item p:has(+ .box-btn) {
    margin-bottom: 2.4rem;
  }
}
@media(min-width:768px) and (max-width:991.98px) {
  .sec-box.bg-gray {
    padding: 6rem 0;
  }
  .sec-box .row {
    --bs-gutter-x: 2rem;
    --bs-gutter-y: 2rem;
  }
  .box-item {
    padding: 3.2rem 3.2rem 4.8rem;
  }
  .box-item br {
    display: none;
  }
  .box-item p:has(+ .box-btn) {
    margin-bottom: 2rem;
  }
}
@media(max-width:767.98px) {
  .sec-box.bg-gray {
    padding: 4.8rem 0;
  }
  .sec-box .row {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 1.5rem;
  }
  .box-item {
    padding: 2.4rem;
  }
  .box-item br {
    display: none;
  }
  .box-item .subtitle {
    margin-bottom: 1.6rem;
  }
  .box-item p:has(+ .box-btn) {
    margin-bottom: 2.4rem;
  }
  .box-btn .btn {
    width: 100%;
  }
}
