.arifix-ap-wrapper {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.arifix-ap-wrapper a {
  text-decoration: none;
}

.arifix-ap-wrapper .arifix-ap-posts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 15px;
}

.arifix-ap-wrapper .ap-post-single {
  display: flex;
  flex-direction: column;
  box-shadow: 5px 5px 5px #ccc;
  background-color: #fff;
  border-radius: 5px;
}

.arifix-ap-wrapper .ap-featured-img {
  width: 100%;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  height: 250px;
  object-fit: cover;
}

.arifix-ap-wrapper .ap-post-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 15px;
}

.arifix-ap-wrapper .ap-image-cover {
  position: relative;
}

.arifix-ap-wrapper .ap-date {
  position: absolute;
  top: 12px;
  right: 12px;
  border-radius: 50%;
  height: 75px;
  width: 75px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 16px;
  padding: 10px;
  text-align: center;
  line-height: 20px;
}

.arifix-ap-wrapper .ap-post-meta {
  background-color: #f3f4f6;
  display: flex;
  justify-content: space-between;
  padding: 15px;
}

.arifix-ap-wrapper .ap-post-meta svg {
  height: 25px;
}

.arifix-ap-wrapper .ap-post-meta a {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.arifix-ap-wrapper .ap-btn {
  margin-left: auto !important;
  margin-right: auto !important;
}

.arifix-ap-wrapper.arifix-ap-grid-style2 .ap-post-single {
  background-color: transparent;
  position: relative;
  box-shadow: none;
}

.arifix-ap-wrapper.arifix-ap-grid-style2 .ap-featured-img {
  filter: brightness(0.75);
  border-radius: 10px;
}

.arifix-ap-wrapper.arifix-ap-grid-style2 .ap-date {
  background-color: transparent !important;
  height: auto;
  width: auto;
  padding: 0;
  top: 15px;
  right: 15px;
}

.arifix-ap-wrapper.arifix-ap-grid-style2 .ap-post-content {
  position: absolute;
  bottom: 10px;
  left: 10px;
}

.arifix-ap-wrapper.arifix-ap-grid-style2 .ap-post-meta {
  padding: 0;
  background-color: transparent;
  margin-bottom: 10px;
  gap: 15px;
  position: absolute;
  top: 15px;
  left: 15px;
}

.arifix-ap-wrapper.arifix-ap-grid-style2 .ap-btn,
.arifix-ap-wrapper.arifix-ap-grid-style3 .ap-btn {
  background-color: transparent !important;
  margin: 10px 0 0 !important;
  padding: 0 !important;
  text-align: left !important;
  display: flex;
  align-items: center;
  gap: 5px;
  width: max-content;
}

.arifix-ap-wrapper.arifix-ap-grid-style3 .ap-post-single {
  background-color: #fff;
  box-shadow: none;
  border-radius: 0;
}

.arifix-ap-wrapper.arifix-ap-grid-style3 .ap-post-content {
  padding: 25px;
}

.arifix-ap-wrapper.arifix-ap-grid-style3 .ap-featured-img {
  border-radius: 0;
}

.arifix-ap-wrapper.arifix-ap-grid-style3 .ap-cats {
  margin-top: 20px;
}

.arifix-ap-wrapper.arifix-ap-grid-style3 .ap-post-meta {
  background-color: transparent;
  padding: 10px 0;
  justify-content: start;
  gap: 15px;
}

.arifix-ap-wrapper.arifix-ap-grid-style3 .ap-post-meta a.ap-meta {
  margin-left: auto;
}

.arifix-ap-wrapper.arifix-ap-grid-style3 .ap-date {
  position: initial;
  background-color: transparent;
  width: auto;
  height: auto;
}

@media screen and (max-width: 767px) {
  .arifix-ap-wrapper .ap-date {
    width: 70px;
    height: 70px;
    font-size: 14px;
    top: 5px;
    right: 5px;
  }
}

.ap-loader {
  margin-left: 0 !important;
  display: none;
  position: relative;
  width: max-content;
  height: 80px;
}

.ap-loader.is-active {
  display: inline-block;
}

.ap-loader div {
  display: inline-block;
  position: absolute;
  left: 8px;
  width: 16px;
  background: #1f1f1f;
  animation: posts-loader 1.2s cubic-bezier(0, 0.5, 0.5, 1) infinite;
}

.ap-loader div:nth-child(1) {
  left: 8px;
  animation-delay: -0.24s;
}

.ap-loader div:nth-child(2) {
  left: 32px;
  animation-delay: -0.12s;
}

.ap-loader div:nth-child(3) {
  left: 56px;
  animation-delay: 0;
}

.ap-more-btn {
  width: 200px;
  background-color: #0da8e9;
  color: #ffffff;
  font-size: 18px;
  padding: 15px 25px;
  border: 0;
  margin: 25px auto 0 !important;
  cursor: pointer;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 30px;
}

.ap-more-btn:hover {
  background-color: #745ff1;
}

.arifix-ap-wrapper .spinner {
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 1s ease-in-out infinite;
  -webkit-animation: spin 1s ease-in-out infinite;
}

@keyframes posts-loader {
  0% {
    top: 8px;
    height: 64px;
  }
  50%,
  100% {
    top: 24px;
    height: 32px;
  }
}

@keyframes spin {
  to {
    -webkit-transform: rotate(360deg);
  }
}
@-webkit-keyframes spin {
  to {
    -webkit-transform: rotate(360deg);
  }
}
