.blog-cover {
  margin: 0 10%;
  display: block;
}

article {
  padding: 10px 10px;
  display: flex;
  flex-direction: column;
  height: 100%;
  /* border-bottom: 1px solid #a4a4a49a; */
  margin-bottom: 20px;
  /* border-radius: 20px; */
  transition: all 0.4s ease 0s;
}

article.blog:hover {
  /* transform: translateY(-16px) scale(1.1);
    box-shadow: rgba(0, 8, 78, 0.25) 0px 2.5rem 5rem;
    z-index: 999; */
}

.blog-image {
  /*padding-top: 52.3%;*/
  width: 100%;
  height: 250px;
  position: relative;
  overflow: hidden;
  border-radius: 0px;
}

.blog-image a {
  position: absolute;
  display: block;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

.blog-image a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

article .blog-body {
  padding: 0 10px;
  margin-top: 24px;
}

.blog-body .head {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 16px;
  justify-content: space-between;
}

.blog-body .head .blog-category {
  display: inline-flex;
  align-content: center;
  justify-content: center;
  min-width: 0;
  padding-left: 4px;
  padding-right: 4px;
  border-style: solid;
  border-width: 1px;
  border-radius: 3px;
  font-size: 12px;
  line-height: 1.84615385;
  text-decoration: none;
  text-transform: lowercase;
  vertical-align: middle;
  white-space: nowrap;
  border-color: transparent;
  background-color: #3e4a52;
  color: #9cc3db;
  margin-right: 8px;
  margin-bottom: 3px;
}

.blog-body .head .blog-date {
  letter-spacing: 0.08em;
  vertical-align: middle;
  text-transform: uppercase;
  color: #7d848d;
  /* margin-left: 4px; */
  font-weight: bold;
  font-size: 13px;
}

.blog-body h2 {
  word-wrap: break-word;
  line-height: 1.15384615;
  font-size: 25px;
  text-transform: capitalize;
  font-family: MontserratBold;
  margin-bottom: 15px;
}

.blog-body h2 a {
  color: #1b1b25;
}

.blog-body h2 a:hover {
  color: #030f25;
}

.blog-body p {
  font-size: 14px;
  line-height: 1.4em;
  margin: 0;
  /* text-align: justify; */
}

.blog-body .more {
  display: flex;
  text-align: center;
  width: max-content;
  background-color: var(--dark-blue);
  /* background-color: #030f25; */
  color: white;
  margin-top: 5px;
  text-decoration: none;
  padding: 8px 15px;
}

.search-form {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 50px;
  padding-bottom: 50px;
  border-bottom: 2px solid #d6dbe3;
}

.search-form form {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  position: relative;
  margin: 0;
  min-width: 360px;
}

.search-form form p {
  margin: 0;
  margin-right: 20px;
}

.search-form form input {
  appearance: none;
  width: 450px;
  border: 0;
  background: #ebebeb;
  font-size: 16px;
  padding: 20px;
  transition: 0.3s;
}

.search-form form button.submit {
  border: 0;
  background-color: #030f25;
  color: white;
  font-size: 18px;
  height: 100%;
  padding: 0px 25px;
  margin-left: 5px;
  font-weight: bold;
  cursor: pointer;
}
.search-form form .input-holder {
  position: relative;
}
.search-form form .input-holder .reset {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  color: white;
  background: #e13f3f;
  border: 0;
  border-radius: 10px;
  padding: 8px 15px;
}
.search-result-header {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 15px;
}
/* Pagination */

.pagination {
  display: flex;
  justify-content: center;
}
.pagination ul li a {
  width: 40px;
  height: 40px;
  border-radius: 3px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  background-color: #eee;
  color: #030f25;
}
.pagination ul li.active a {
  background-color: var(--dark-blue);
  color: #fff;
  font-family: MontserratBold;
}

/* Blog Details Page*/

.blog-detail-header {
  padding: 40px 10px;
  border-bottom: 1px solid #a4a4a49a;
  margin-bottom: 80px;
}

.blog-detail-content {
  line-height: 1.52em;
  font-size: 18px;
  margin-left: auto;
  margin-right: auto;
  width: 90%;
}

.blog-detail-header h2 {
  font-size: 35px;
}

.blog-tags {
  display: flex;
  align-items: center;
  margin-top: 40px;
}

.blog-tags span {
  margin-right: 10px;
}

.blog-tags ul {
  display: flex;
  list-style: none;
  margin: 0;
}

.blog-tags ul li {
  padding: 5px 10px;
  font-size: 12px;
  border: 1px solid #eee;
  border-radius: 10px;
  background: #f7f7f7;
  margin-right: 10px;
  font-weight: bold;
}
