.card {
  border: none;
  border-radius: 10px;
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
  overflow: hidden;
}
.card img {
  width: 100%;
  /* height: 200px; */
  object-fit: cover;
}
.card-body {
  padding: 20px;
}
.card-title-blog {
  font-size: 1.5rem;
  font-weight: bold;
}
.card-title-blog a {
  color: #0a165e !important;
}
.tags {
  font-weight: bold;
}
.card-text.date {
  font-size: 0.9rem;
  color: #999;
  margin-bottom: 15px;
}
.card-text.summary {
  font-size: 1rem;
  color: #666;
}
.tags span {
  margin-right: 10px;
}
.sidebar .latest-posts li {
  display: flex;
  align-items: center;

  padding-bottom: 20px;
  margin-bottom: 25px;
  border-bottom: 1px solid #3e3e3e;
  border-color: #e3e3e3 !important;
}

.sidebar .latest-posts img {
  width: 30%;
  /* height: 60px; */
  object-fit: contain;
  margin-right: 15px;
  border-radius: 10px;
}
.sidebar .latest-posts h6 {
  font-size: 1rem;
  margin-bottom: 5px;
}
.tags span {
  display: inline-block;
  background-color: #0a165e;
  margin: 5px;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 14px;
  color: white;
  text-transform: capitalize;
}
.search-box {
  position: relative;
  margin: 20px 0;
}
.search-box input {
  width: 100%;
  padding: 15px 50px 15px 20px;
  border: 1px solid #ddd;
  border-radius: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  font-size: 16px;
  color: #666;
}
.search-box input:focus {
  outline: none;
  border-color: #aaa;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}
.search-box i {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #aaa;
  font-size: 18px;
}
.comments-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.comments-line .line {
  flex-grow: 1;
  height: 1px;
  background-color: #e9ecef;
  margin-right: 15px;
}
.comments-line .comments {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid #e9ecef;
  border-radius: 50%;
  background-color: #f8f9fa;
  font-size: 0.9rem;
  color: #666;
}
.comments-line .comments i {
  margin-right: 5px;
  font-size: 1rem;
  color: #666;
}

.pagination-container {
  display: table;
  margin: 30px auto;
  list-style: none;
  background-color: #f4f4f4;
  padding: 5px 4px;
  border-radius: 30px;
  border-width: 0;
}
.pagination {
  display: flex;
  list-style: none;

  gap: 10px;
  margin-bottom: 4%;
}
.pagination .page-item {
  display: block;

  line-height: 40px;
  font-weight: 400;
  cursor: pointer;
  padding: 0;
  text-align: center;
}
.pagination .page-item:hover .page-link {
  background-color: #e9ecef !important;
  color: #0a165e !important;
}

.pagination .pager__item--next:hover .page-link,
.pagination .pager__item--last:hover .page-link {
  background-color: #fff !important;
  color: #0a165e !important;
}
.pagination .page-item.active .page-link,
.pagination .page-item.active:hover .page-link {
  background-color: #0a165e !important;
  color: white !important;
  box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.2);
  width: 50px;
  height: 50px;
  border: none;
}
.pagination .page-item .page-link {
  background-color: #fff !important;
  color: #000;
  font-weight: bold;
  border-radius: 50% !important;
  box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.2);
  width: 50px;
  height: 50px;
  border: none;
}
.pagination .pager__item--next .page-link,
.pagination .pager__item--last .page-link {
  box-shadow: none !important;
  width: auto !important;
  height: auto !important;
}

.pagination .page-item span {
  display: block;
  font-size: 1rem;
  font-weight: bold;
}

.modal-body.newsletter-popups {
  padding: 0;
}
.newsletter-dialog {
  max-width: 1000px;
}
.popup-img img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
.popup-form {
  padding: 20px;
  position: relative;
}
.popup-form .btn-close {
  position: absolute;
  top: 15px;
  right: 15px;
}
.newsletter-popup-form h3 {
  font-size: 3.8rem;
  margin-bottom: 15px;
  font-weight: bold;
}
.newsletter-popup-form .form-control {
  border-radius: 0.375rem;
}
.newsletter-popup-form .input-group {
  border: none;
  border-bottom: 2px solid #969696;
}
.newsletter-popup-form .input-group-text {
  border: none;
  background-color: white;
  color: #969696;
  font-size: 25px;
  padding: 0px;
  /* padding-right: 10px; */
}
.newsletter-popup-form #email {
  font-size: 18px;
  border: none;
}
.newsletter-popup-form #email:focus {
  box-shadow: none;
}
.newsletter-popup-form #privacy {
  border: 2px solid #c2c2c2;
}
.newsletter-popup-form .privacy-checkbox label,
.newsletter-popup-form .privacy-checkbox label a {
  color: #969696;
}
.newsletter-popup-form .btn {
  background-color: #ff4500;
  color: white;
  border-radius: 0.375rem;
  width: 100%;
  margin-top: 25px;
}
.newsletter-popup-form .btn:hover {
  background-color: #0a165e;
}
.newsletter-popup-form .privacy-link:hover {
  color: #000000;
}

/* Sticky Sidebar */
.sticky-sidebar {
  position: sticky;
  top: 90px; /* Adjust based on your header height */
  align-self: flex-start; /* Needed inside flex containers like .row */
}

@media (max-width: 1024px) and (min-width: 769px) {
  .newsletter-dialog {
    max-width: 750px;
  }
  .newsletter-popup-form h3 {
    font-size: 2.3rem;
  }
  .popup-form {
    padding: 20px 25px !important;
  }
  .subscribe-form {
    margin: 17px 0px !important;
  }
  .newsletter-popup-form .input-group-text {
    font-size: 16px;
    padding-right: 10px;
  }
  .newsletter-popup-form #email {
    font-size: 16px;
  }
  .privacy-checkbox {
    font-size: 14px;
  }
}

@media (max-width: 768px) and (min-width: 426px) {
  .newsletter-dialog {
    max-width: 500px;
  }
  .newsletter-popup-form h3 {
    font-size: 2.3rem;
  }
  .popup-form {
    padding: 40px 35px !important;
  }
  .subscribe-form {
    margin: 17px 0px !important;
  }
  .newsletter-popup-form .input-group-text {
    font-size: 16px;
    padding-right: 10px;
  }
  .newsletter-popup-form #email {
    font-size: 16px;
  }
  .privacy-checkbox {
    font-size: 14px;
  }
}

@media (max-width: 426px) {
  .newsletter-dialog {
    max-width: 100%;
  }
  .newsletter-popup-form h3 {
    font-size: 2rem;
  }
  .popup-form {
    padding: 40px 35px !important;
  }
  .subscribe-form {
    margin: 17px 0px !important;
  }
  .newsletter-popup-form .input-group-text {
    font-size: 16px;
    padding-right: 10px;
  }
  .newsletter-popup-form #email {
    font-size: 16px;
  }
  .privacy-checkbox {
    font-size: 14px;
  }
}

@media (min-width: 768px) {
  .pagination {
    /* margin-left: -20%; */
  }
}
