.department-section {
  padding-block: 40px;
}
.department-section .department-card {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  display: block;
}
.department-section .department-card .cover img {
  width: 100%;
  height: auto;
  border-radius: 20px;
}
.department-section .department-card .cover::after {
  content: "";
  position: absolute;
  height: 40%;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(149, 0, 0, 0);
  background: linear-gradient(
    180deg,
    rgba(149, 0, 0, 0) 0%,
    rgba(17, 29, 94, 1) 100%
  );
}

.department-section .department-card .product-card-cover {
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  padding: 20px;
}
.department-section .department-card .product-card-cover .department-title {
  font-size: 28px;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
}

.department-section .department-card .product-card-cover > a {
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: all 0.3s ease;
  background-color: #ffffff;
  font-size: 25px;
  color: #a60a27;
  border-radius: 100%;
  aspect-ratio: 1/1;
  width: 40px;
  margin-inline: auto;
  transform: translateY(50px);
  display: none;
}

.department-section .department-card:hover .product-card-cover a {
  visibility: visible;
  opacity: 1;
}

.department-section .bottom-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding-top: 20px;
}

.department-section .bottom-wrapper .navigation {
  display: flex;
  align-items: center;
  gap: 10px;
}
.department-section .bottom-wrapper .navigation .prev,
.department-section .bottom-wrapper .navigation .next {
  color: #ffffff;
  font-size: 24px;
  background-color: #a60a27;
  border: 1px solid #a60a27;
  height: 40px;
  width: 40px;
  border-radius: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.department-section .bottom-wrapper .navigation .prev.swiper-button-lock,
.department-section .bottom-wrapper .navigation .next.swiper-button-lock {
  display: none;
}
.department-section .bottom-wrapper a {
  background-color: #a60a27;
  border-radius: 58px;
  padding: 10px 25px;
  color: #ffffff;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}
@media (min-width: 1025px) {
  .department-section .bottom-wrapper a {
    position: absolute;
    right: 0;
  }
}
.department-section .bottom-wrapper a i {
  font-size: 18px;
}
.department-section .section-title {
  --font-scale: 1;
  --margin-bottom: 25px;
  --font-size: 35px;

  margin-bottom: var(--margin-bottom);
}
@media (min-width: 1025px) {
  .department-section .section-title {
    --font-size: 45px;
  }
}
.department-section .section-title * {
  font-size: calc(var(--font-size) * var(--font-scale));
  line-height: 1.2;
  color: #111d5e;
}

.department-section .section-title strong {
  font-weight: 800;
  display: block;
}
