img {
  max-width: 100%;
  vertical-align: middle;
}
.ic {
  display: inline-block;
  vertical-align: middle;
  width: 20px;
  height: 20px;
  background-position: center center;
  background-repeat: no-repeat;
}
.i-cal {
  background-image: url("../images/blog/i-cal.svg");
}
.i-time {
  background-image: url("../images/blog/i-time.svg");
}
.ul-list {
  margin: 0 0 10px 0;
  padding: 0 0 0 20px;
  li {
    padding: 0 0 10px;
  }
}
.ap-blogtable {
  border: 1px solid #dae9f5;
  font-size: 14px;
  line-height: 23px;
}
.ap-blogtable th {
  background-color: #dae9f5;
  color: var(--primary);
  padding: 0.8rem 0.5rem;
}
.ap-blogtable > tbody > tr:nth-of-type(even) > * {
  background-color: #f1f5fa !important;
}
.ap-blogtable > tbody > tr:nth-of-type(odd) > * {
  background-color: #fff !important;
}
.ap-blogtable2 th {
  background-color: var(--primary);
  color: #fff;
}
.ap-blogtable2 > tbody > tr:nth-of-type(even) > * {
  background-color: #fff !important;
}
.ap-blogtable2 > tbody > tr:nth-of-type(odd) > * {
  background-color: #fff !important;
}
.searchbar {
  background-color: #fff;
  background-image: url("../images/i-search.svg");
  background-position: 95% 13px;
  background-repeat: no-repeat;
  max-width: 230px;
  border: 1px solid #d3e2f5;
  border-radius: 8px;
  padding: 0.675rem 2.35rem 0.675rem 0.75rem;
  font-size: 14px;
}
.searchbar:focus,
.searchbar:active {
  border: 1px solid #90b2dd;
  box-shadow: none;
  outline: 0;
}
.main-page-heading h1 {
  font-size: 65px;
  color: #0066a6;
  padding: 20px 0px;
  font-family: "Anton", sans-serif;
  font-weight: 400;
  text-transform: uppercase;
}
.bloglist-section {
  background-color: #fff;
  padding: 0 0 50px 0;
}

/* Filter Buttons */
.shortfilterwrapper {
  padding: 10px 15px;
  margin-bottom: 20px;
  background-color: #f1f5fa;
  border-radius: 10px;
}
.shortfilterscoll {
  overflow-x: auto;
  position: relative;
  /*padding-bottom: 10px;*/
}
.shortfilterscoll::-webkit-scrollbar {
  height: 0.35rem;
  border-radius: 10px;
}
.shortfilterscoll::-webkit-scrollbar-track {
  background: #f7fbff;
  border-radius: 30px;
}

.shortfilterscoll::-webkit-scrollbar-thumb {
  background: #a8c8db;
  border-radius: 30px;
}
.shortfilter {
  width: 100%;
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
}
.shortnav {
  display: inline-block;
  background: #e9f1f9;
  color: #5a5a5a;
  font-size: 15px;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  padding: 6px 15px;
  border: 1px solid #e0e9f1;
  border-radius: 5px;
  transition: 0.3s;
}

.shortnav.active {
  background: #fff;
  color: #5a5a5a;
  border-color: #f98613;
}

.controlswrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  font-size: 13px;
}
.controlswrapper select {
  font-size: 13px;
  border: 1px solid #dee2e6;
  background: url(../images/challenge-yourself/arrow-down.svg);
  background-repeat: no-repeat;
  background-position: 93%;
  background-size: 12px 12px;
  display: block;
}
.controlswrapper .form-select:focus {
  border: 1px solid #86b7fe;
}
.controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

#postCount {
  font-weight: 400;
  color: #5a5a5a;
  font-size: 12px;
}
/* Posts */
.shortdata {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  /*grid-template-rows:;*/
  grid-column-gap: 28px;
  grid-row-gap: 15px;
}
.shortdata img {
  max-width: 100%;
  vertical-align: middle;
}
.shortpost {
  display: block;
  border: 0px solid #ddd;
  padding: 0;
  margin-bottom: 15px;
  border-radius: 20px;
  transition: all 0.3s ease;
  background-color: #f8f6f4;
  overflow: hidden;
  text-align: left;
}

.shortimg img {
  width: 100%;
  max-width: 200px;
}
.posthumbbody {
  padding: 20px;
}

.pagination {
  margin: 20px 0;
  display: flex;
  justify-content: center;
}
.pagination button {
  color: #5a5a5a;
  font-size: 16px;
  padding: 5px 10px;
  margin: 3px;
  border: 1px solid #e0e9f1;
  border-radius: 10px;
  background-color: #fff;
  cursor: pointer;
  min-width: 45px;
  min-height: 45px;
}
.pagination button:hover {
  background: #f0f0f0;
}

.pagination button.active {
  background: #0066a7;
  color: #fff;
}
.paginav {
  display: flex;
  justify-content: center;
  align-items: center;
}
.btnprv {
  width: 8px;
  height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 8 14' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 14c-.3 0-.5-.1-.7-.3l-6-6c-.4-.4-.4-1 0-1.4l6-6c.4-.4 1-.4 1.4 0s.4 1 0 1.4L2.4 7l5.3 5.3c.4.4.4 1 0 1.4-.2.2-.4.3-.7.3z' fill='%23686869'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  text-indent: -9999px;
  display: inline-block;
}
.btnnext {
  width: 8px;
  height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 9 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 16c-.3 0-.5-.1-.7-.3-.4-.4-.4-1 0-1.4L6.6 8 .3 1.7c-.4-.4-.4-1 0-1.4s1-.4 1.4 0l7 7c.4.4.4 1 0 1.4l-7 7c-.2.2-.4.3-.7.3z' fill='%23686869'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  text-indent: -9999px;
  display: inline-block;
}
#pageNumbers {
  display: flex;
  justify-content: center;
}
.post-thumb {
  border-radius: 0;
  overflow: hidden;
  max-height: 400px;
}
.shortpost .post-thumb {
  position: relative;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.9);
}
.shortpost .post-thumb img {
  transition: 1.5s cubic-bezier(0, 0, 0.2, 1);
  opacity: 0.9;
}
.shortpost .post-thumb:hover img {
  transform: scale(1.1);
}
/*.shortpost .post-thumb:before,
.shortpost .post-thumb:hover:before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.2);
}*/
.shorttitle {
  color: #0066a6;
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 10px 0;
  padding: 0;
}
.shortdesc {
  color: var(--text-muted);
  margin: 0;
  padding: 10px 0;
  font-size: 15px;
}
.readmore {
  color: #0066a7;
  text-decoration: none;
  padding: 0 30px 0 0;
  position: relative;
  background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M14.0909 7.26521C14.4968 6.8906 15.1294 6.9159 15.504 7.32172L18.7348 10.8217C19.0884 11.2047 19.0884 11.7952 18.7348 12.1782L15.504 15.6783C15.1294 16.0841 14.4968 16.1094 14.091 15.7348C13.6851 15.3602 13.6598 14.7276 14.0344 14.3217L15.716 12.5L6 12.5C5.44771 12.5 5 12.0523 5 11.5C5 10.9477 5.44771 10.5 6 10.5L15.716 10.5L14.0344 8.67829C13.6598 8.27247 13.6851 7.63981 14.0909 7.26521Z' fill='%230066A7'/%3E%3C/svg%3E");

  background-repeat: no-repeat;
  background-position: right center;
  background-repeat: no-repeat;
}
.postmeta {
  display: flex;
  gap: 20px;
  padding: 0 0 10px;
}
.postdate,
.posttime {
  font-size: 14px;
  line-height: 14px;
  color: #9b9898;
}
.postcatlist {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  padding: 0 0 10px;
}
.postcatlist .postcat {
  display: inline-block;
  color: #0066a7;
  font-size: 12px;
  line-height: 14px;
  background-color: #fff;
  border: 1px solid #e0e9f1;
  padding: 4px 8px;
  border-radius: 4px;
}
.shortpost .postdate,
.shortpost .posttime {
  color: #8d8d8d;
}
.sidebarright {
  background-color: #f1f5fa;
  border-radius: 12px;
  padding: 20px 20px 10px 20px;
  text-align: left;
}
.widgettitle {
  font-size: 18px;
  line-height: 24px;
  font-weight: 600;
  margin-bottom: 15px;
  font-family: "Montserrat", sans-serif;
  color: #545454;
}
.sidewidget h4,
.sidewidget .posthead {
  color: #111827;
  font-size: 14px;
  font-weight: 600;
  line-height: 18px;
  margin: 0 0 5px;
  padding: 0;
}
.popularpost {
  display: flex;
  align-items: start;
  gap: 10px;
  margin-bottom: 15px;
  color: #6c757d;
}
.popularpost .postdate {
  font-size: 12px;
  line-height: 13px;
}
.popularpost .post-thumb {
  width: 75px;
  flex-shrink: 0;
  border-radius: 8px;
  margin-top: 3px;
}
.popularpost .post-thumb img {
  max-height: 90px;
  max-width: 100%;
}
.tagwidget {
  padding: 10px 0 20px;
}
.tagwidgetlist {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.tagwidgetlist .shortfilter {
  flex-wrap: wrap;
}
.tagwidgetlist .shortnav {
  background-color: #fff;
  border: 1px solid #d3e2f5;
  color: #545454;
  font-weight: 500;
}
.tagwidgetlist .shortnav.active {
  background: #0066a7;
  border-color: #0066a7;
  color: #fff;
}
.tagbadge {
  display: inline-block;
  padding: 4px 10px;
  background-color: #fff;
  border: 1px solid #d3e2f5;
  border-radius: 6px;
  font-size: 14px;
  color: #545454;
  text-align: center;
  text-decoration: none;
  text-transform: capitalize;
  white-space: nowrap;
}
.tagbadge:hover {
  background: #f0f0f0;
  background: #0066a7;
  border-color: #0066a7;
  color: #fff;
}

.tagbadge.active {
  background: #0066a7;
  color: #fff;
}
.tagbadge .lowercase {
  text-transform: lowercase;
}

.catwidget {
  margin: 0 0 30px;
  padding: 10px 0 0;
}
.catwidgetdiv {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 5px 0 8px;
  margin: 0 0 5px;
  border-bottom: 1px solid #f7f1f1;
}
.catwidgetdiv h5 {
  color: #545454;
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 14px;
  margin: 0;
}
.catwidgetdiv a {
  color: #545454;
}
.catwidgetdiv a:hover {
  color: #0066a7;
}
.blogsingle-section {
  padding: 10px 0 50px 0;
  font-size: 14px;
  line-height: 23px;
}
.blogsingle-section h1,
.blogsingle-section .shorttitle {
  font-size: 1.75rem;
  line-height: 36px;
  color: var(--theme-color);
}
.blogsingle-section h2,
.blogsingle-section .subhead {
  font-size: 1.25rem;
  color: var(--theme-color);
}
.blogsingle-section h3,
.blogsingle-section .subtitle {
  font-size: 1rem;
  color: var(--theme-color);
}
.blogsingle-section .bg-light-gray100 h3 {
  font-family: "Montserrat", sans-serif;
}
.blogsingle-section .postslide {
  margin-bottom: 20px;
  border-radius: 14px;
  overflow: hidden;
}
.blogsingle-section .postcatlist {
  margin-bottom: 20px;
}
.blogsingle-section .postcatlist .postcat {
  background-color: #e0e9f1;
  border: 1px solid #e0e9f1;
  color: #545454;
}

.apblog-tab {
  border: 0px;
  gap: 15px;
}
.apblog-tab a,
.apblog-tab .nav-link {
  background-color: #fff;
  color: #545454;
  font-size: 14px;
  font-weight: 500;
  border: 0px;
  border-radius: 8px;
}
.apblog-tab a.active,
.apblog-tab .nav-link.active {
  background-color: #f98613;
  color: #fff;
  font-size: 14px;
  border: 0px;
  border-radius: 8px;
}

/* Hide on desktop */
@media (min-width: 992px) {
  .convert-more-pagination {
    display: none;
  }
  .searchbar {
    min-width: 270px;
  }
}

@media (min-width: 1300px) {
  .blogleft {
    width: 70%;
  }
  .blogsidebar {
    width: 30%;
  }
  .sidebarright {
    padding-left: 15px;
  }
}
@media (max-width: 1199px) {
}

/* ─────────────────────────────────────────────────
   991px – Tablets portrait
───────────────────────────────────────────────── */
@media (max-width: 991px) {
}

/* ─────────────────────────────────────────────────
   767px – Mobile landscape
───────────────────────────────────────────────── */
@media (max-width: 780px) {
  .singlebloghead .blogslideitem {
    height: auto;
  }
}
/* ─────────────────────────────────────────────────
   575px – Mobile portrait
───────────────────────────────────────────────── */
@media (max-width: 640px) {
  /*.shorttitle {
    font-size: 14px;
    line-height: 18px;
    margin-bottom: 3px;
  }
  .postcatlist .postcat {
    font-size: 11px;
    line-height: 12px;
    padding: 3px 6px;
  }
  .postdate {
    font-size: 11px;
    padding: 0 0 3px;
  }*/
}
@media (max-width: 575px) {
  .shortdata {
    display: block;
  }
  .shortpost {
    max-width: 400px;
    margin: 0 auto 15px;
    text-align: left;
  }
  .blogsingle-section .shorttitle {
    font-size: 22px;
    line-height: 30px;
  }
}
