.square.article-list .post-grid {
  position: relative;
  overflow: hidden;
  max-width: 90%;
}
.square.article-list .post-grid:hover > .item-without-img-container {
  top: 0;
}
.square.article-list .post-grid .item-with-img-container .img-container {
  height: 18rem;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 50% 50%;
}
.square.article-list .post-grid .item-with-img-container .info-container h3 {
  font-family: EagleBook;
  font-size: 22px;
  font-weight: 500;
  line-height: 24.95px;
  color: #9e0b0f;
}
.square.article-list .post-grid .item-with-img-container .info-container .summary {
  font-family: Poppins;
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
  -moz-columns: rgba(0, 0, 0, 0.6980392157);
       columns: rgba(0, 0, 0, 0.6980392157);
}
.square.article-list .post-grid .item-with-img-container .info-container .bottom-container {
  font-family: Poppins;
  font-size: 12px;
  font-weight: 500;
  line-height: 20px;
  color: rgba(0, 0, 0, 0.3019607843);
}
.square.article-list .post-grid .col-lg-4:nth-child(3n+1) .item-with-img-container {
  float: left;
}
@media (max-width: 992px) {
  .square.article-list .post-grid .col-lg-4:nth-child(3n+1) .item-with-img-container {
    float: none;
  }
}
.square.article-list .post-grid .col-lg-4:nth-child(3n+2) .item-with-img-container {
  margin: 0 auto;
}
.square.article-list .post-grid .col-lg-4:nth-child(3n) .item-with-img-container {
  float: right;
}
@media (max-width: 992px) {
  .square.article-list .post-grid .col-lg-4:nth-child(3n) .item-with-img-container {
    float: none;
  }
}
.square.article-list .post-grid .col-12 .item-with-img-container {
  margin: 0 auto;
}
.square.article-list .post-grid .col-12:nth-child(3n) .item-with-img-container {
  margin-top: 0rem;
}
@media (max-width: 992px) {
  .square.article-list .post-grid .col-12:nth-child(3n) .item-with-img-container {
    margin-top: 6rem;
  }
}
.square.article-list .post-grid .item-without-img-container {
  position: absolute;
  top: 100%;
  transition: top 0.5s;
  background: rgba(217, 217, 217, 0.84);
  -webkit-backdrop-filter: blur(5px);
          backdrop-filter: blur(5px);
  height: 100%;
  width: 100%;
  padding: 2rem 2rem 2rem 2rem;
  margin: 0 auto;
}
@media (max-width: 992px) {
  .square.article-list .post-grid .item-without-img-container {
    margin-top: 3rem;
  }
}
.square.article-list .post-grid .item-without-img-container h3 {
  font-family: EagleBook;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 30px;
  letter-spacing: -0.5px;
  color: #9e0b0f;
  margin-bottom: 0;
  width: 80%;
}
.square.article-list .post-grid .item-without-img-container .divider {
  width: 100%;
  height: 2px;
  background: #d9d9d9;
  margin-top: 1rem;
  margin-bottom: 1rem;
}
.square.article-list .post-grid .item-without-img-container p {
  font-family: Poppins;
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 26px;
  text-align: left;
  width: 80%;
}
.square.article-list .post-grid .item-without-img-container .button {
  background: #9e0b0f;
  border: 0;
  padding: 0.875rem 3rem;
  border-radius: 6.25rem;
  font-family: Inter;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  text-align: center;
  color: #fff;
  float: right;
  margin-top: 1.2rem;
}
.rectangle.article-list {
  margin: 4rem 0;
  position: relative;
}
.rectangle.article-list .article-container {
  position: relative;
  padding: 2.5rem 0;
}
.rectangle.article-list .article-container:not(:last-child) {
  border-bottom: 1px solid #dee2e6;
}
.rectangle.article-list .article-container img {
  max-width: 520px;
  max-height: 270px;
  -o-object-fit: contain;
     object-fit: contain;
}
.rectangle.article-list .article-container .top-info-container {
  margin-top: 1.2rem;
}
.rectangle.article-list .article-container .top-info-container .artilce-title {
  font-family: EagleBook;
  font-size: 30px;
  font-weight: 500;
  line-height: 32px;
  text-align: left;
  color: #9e0b0f;
}
@media (max-width: 992px) {
  .rectangle.article-list .article-container .top-info-container .artilce-title {
    text-align: center;
  }
}
.rectangle.article-list .article-container .top-info-container .date {
  color: rgba(0, 0, 0, 0.3019607843);
}
@media (max-width: 992px) {
  .rectangle.article-list .article-container .top-info-container .date {
    text-align: center;
  }
}
.rectangle.article-list .article-container .summary {
  font-family: Poppins;
  font-size: 18px;
  font-weight: 500;
  line-height: 24px;
  text-align: left;
  margin-top: 0.6rem;
}
.rectangle.article-list .article-container .summary span {
  font-weight: 700;
}
.rectangle.article-list .article-container .bottom-tag {
  position: absolute;
  bottom: 0;
  right: 0;
  color: rgba(0, 0, 0, 0.3019607843);
}
@media (max-width: 992px) {
  .rectangle.article-list .article-container .bottom-tag {
    position: relative;
    text-align: end;
  }
}
.rectangle.article-list .divider {
  width: 100%;
  height: 2px;
  background: #d9d9d9;
  margin-top: 3rem;
  margin-bottom: 3rem;
}
.article-list .list {
  overflow-x: auto;
  position: relative;
  scrollbar-color: #c96 #f0e1b8;
  scrollbar-width: thin;
  -ms-overflow-style: none;
}
@media (max-width: 768px) {
  .article-list .list {
    overflow: unset;
  }
}
.article-list .list a h3 {
  transition: all 0.4s ease-in-out 0s;
}
.article-list .list a h3:hover {
  color: #c96 !important;
}
.article-list .list img {
  transition: all 0.4s ease-in-out 0s;
}
.article-list .list img:hover {
  opacity: 0.3;
}
@media (max-width: 992px) {
  .search-form-container {
    margin-top: 2.4rem;
  }
}
.search-form-container i {
  cursor: pointer;
}
.search-form-container .search-form {
  display: inline-flex; /* Use inline-flex to keep input and icon aligned */
  background-color: rgba(226, 227, 230, 0.6);
  border: 0; /* Removes the border */
  padding: 0.5rem 1rem; /* Adds some padding inside the search form */
  align-items: center; /* Centers the items vertically */
  right: 0;
  border-radius: 0.625rem;
}
.search-form-container .search-form button {
  border: none;
  background-color: transparent;
  border-radius: 50%;
}
.search-form-container .search-form button:hover {
  background-color: #c49b6d;
  color: #fff;
}
@media (max-width: 992px) {
  .search-form-container .search-form {
    float: none;
    width: 100%;
  }
}
.search-form-container .search-form input:hover {
  border: 0;
  outline: none; /* You can also ensure that the outline is removed when hovered */
}
.search-form-container .search-form input:focus-visible {
  border: 0;
  outline: none; /* You can also ensure that the outline is removed when hovered */
}
.search-form-container .search-form input {
  border: 0;
  background-color: rgba(226, 227, 230, 0.1843137255);
  width: 20rem;
}
@media (max-width: 992px) {
  .search-form-container .search-form input {
    width: 100%;
  }
}
.search-form-container .search-form i {
  color: #495057; /* Adjust color to match the input text or as desired */
}
.search-form-container .search-form input:focus {
  box-shadow: none;
}
