/* Case archive, category and detail presentation. Content remains in ACF. */
.case-archive .course-block {
  display: flex;
}
.case-archive .course-block-one {
  width: 100%;
}
.case-archive .course-block-one .inner-box {
  width: 100%;
  transition: box-shadow .2s ease;
}
.case-archive .course-block-one .image-box {
  flex: 0 0 auto;
  border-radius: 20px 20px 0 0;
}
.case-archive .course-block-one .image,
.case-archive .course-block-one .image > a {
  display: block;
  width: 100%;
  margin: 0;
}
.case-archive .course-block-one .image img {
  display: block;
  width: 100%;
  height: auto;
}
.case-archive .course-block-one .lower-content {
  padding: 26px 28px 30px;
}
.case-archive .course-block-one .lower-content h3 {
  font-size: 23px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.case-archive .course-block-one .lower-content .p {
  margin-bottom: 24px;
  line-height: 1.65;
}
.case-archive .course-block-one .lower-content .btn-box {
  margin-top: auto;
}
.case-archive > .auto-container > .sec-title {
  margin-bottom: 48px;
}
.case-archive .sec-title > .btn-box {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.case-archive .sec-title > .btn-box .theme-btn {
  margin: 0;
}
/* Match the site's other inner-page banners without initializing a carousel. */
.case-banner .top-carousel-li {
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  min-height: 450px;
  padding: 50px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.case-banner .top-carousel-li::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, .65), rgba(0, 0, 0, .15));
  pointer-events: none;
}
.case-banner .auto-container {
  position: relative;
  width: 100%;
}
@media screen and (max-width: 768px) {
  .case-banner .top-carousel-li {
    min-height: 300px;
  }
}
@media (max-width: 575px) {
  .case-archive .course-block-one .lower-content {
    padding: 24px;
  }
  .case-archive .sec-title > .btn-box {
    gap: 8px;
  }
  .case-archive .sec-title > .btn-box .theme-btn {
    padding: 11px 18px;
  }
}
