.header-blog .header-top {
  padding-top: 20px;
  padding-bottom: 20px;
  background: #10007a;
  border-bottom: solid 1px #fff;
}
@media (max-width: 767.98px) {
  .header-blog .header-top {
    display: block;
  }
}
.header-blog .header-bottom {
  background: #050058;
}
.header-blog .header-bottom ul {
  display: flex;
  flex-direction: row;
  padding-top: 12px;
  padding-bottom: 12px;
}
.header-blog .header-bottom ul li {
  color: #fff;
  width: 16%;
  font-size: 14px;
  font-weight: 700;
  padding-right: 2rem;
}
@media (max-width: 767.98px) {
  .header-blog .header-bottom ul li {
    width: 30%;
  }
}
.header-blog .header-bottom .swiper-subjects {
  width: 90%;
  padding: 0 2rem;
  margin: 0;
}
@media (max-width: 767.98px) {
  .header-blog .header-bottom .swiper-subjects {
    width: 80%;
  }
}
.header-blog .header-bottom .swiper-subjects .swiper-slide {
  text-align: center;
}
@media (max-width: 767.98px) {
  .header-blog .header-bottom .swiper-subjects .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}
.header-blog .header-bottom .swiper-subjects .swiper-slide a {
  color: #fff;
}
.header-blog .header-bottom .swiper-subjects .swiper-button-next:after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23fff' class='bi bi-chevron-compact-right' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M6.776 1.553a.5.5 0 0 1 .671.223l3 6a.5.5 0 0 1 0 .448l-3 6a.5.5 0 1 1-.894-.448L9.44 8 6.553 2.224a.5.5 0 0 1 .223-.671z'/%3E%3C/svg%3E");
}
.header-blog .header-bottom .swiper-subjects .swiper-button-prev:after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23fff' class='bi bi-chevron-compact-left' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M9.224 1.553a.5.5 0 0 1 .223.67L6.56 8l2.888 5.776a.5.5 0 1 1-.894.448l-3-6a.5.5 0 0 1 0-.448l3-6a.5.5 0 0 1 .67-.223z'/%3E%3C/svg%3E");
}

.custom-pagination {
  display: flex;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
  justify-content: center;
  padding-top: 2rem;
}
@media (max-width: 767.98px) {
  .custom-pagination {
    padding-top: 32px;
  }
}
.custom-pagination li a {
  color: #4e4e4e;
  border: solid 1px #4e4e4e;
  border-radius: 10px;
  padding: 12px;
  color: #4e4e4e;
  margin: 0 0.5rem;
  display: block;
}
.custom-pagination li:not(.disabled):hover a {
  background: #4e4e4e;
  color: #fff;
}
.custom-pagination li.disabled {
  opacity: 0.8;
}

.total-pages {
  display: block;
  text-align: right;
  margin-top: -2.2rem;
}
@media (max-width: 991.98px) {
  .total-pages {
    margin-top: 0;
  }
}

.posts {
  padding-top: 60px;
  padding-bottom: 100px;
}
.posts article .box {
  border: solid 1px #000;
  border-radius: 10px;
  overflow: hidden;
  height: 100%;
}
.posts article .box .box-text {
  padding: 30px;
}
.posts article .box .box-text h2 {
  color: #c10f1a;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 20px;
}
.posts article .box .box-text h3 {
  color: #4e4e4e;
  font-weight: 700;
  font-size: 1rem;
}
.posts article .box:hover {
  background: #10007a;
}
.posts article .box:hover .box-text h2 {
  color: #fff;
}
.posts article .box:hover .box-text h3 {
  color: #fff;
}
.posts article .box.restricted:hover .box-text::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23fff' class='bi bi-lock-fill' viewBox='0 0 16 16'%3E%3Cpath d='M8 1a2 2 0 0 1 2 2v4H6V3a2 2 0 0 1 2-2zm3 6V3a3 3 0 0 0-6 0v4a2 2 0 0 0-2 2v5a2 2 0 0 0 2 2h6a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2z'/%3E%3C/svg%3E");
  border-color: #fff;
}
.posts article .box.restricted .box-text {
  position: relative;
}
.posts article .box.restricted .box-text::after {
  content: "";
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-lock-fill' viewBox='0 0 16 16'%3E%3Cpath d='M8 1a2 2 0 0 1 2 2v4H6V3a2 2 0 0 1 2-2zm3 6V3a3 3 0 0 0-6 0v4a2 2 0 0 0-2 2v5a2 2 0 0 0 2 2h6a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2z'/%3E%3C/svg%3E");
  background-size: 1rem;
  background-repeat: no-repeat;
  width: 30px;
  height: 30px;
  background-size: 1.1rem;
  background-repeat: no-repeat;
  background-position: center center;
  width: 30px;
  height: 30px;
  position: absolute;
  top: 1rem;
  right: 1rem;
  border: solid 1px #000;
  border-radius: 10rem;
  display: flex;
}
