.featured-post {
  position: relative;
  overflow: hidden;
  height: 100vh;
}
@media (max-width: 576px) {
  .featured-post {
    height: 815px;
  }
}
.featured-post__image {
  position: relative;
  display: inline-block;
  width: 100%;
  height: 100%;
}
.featured-post__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.featured-post__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 20px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
@media (max-width: 1024px) {
  .featured-post__overlay {
    justify-content: center;
    padding: 0 67px 100px;
  }
}
@media (max-width: 576px) {
  .featured-post__overlay {
    justify-content: flex-start;
    padding: 70px 18px 45px;
  }
}
.featured-post__content {
  margin-top: 115px;
  margin-left: 170px;
  display: flex;
  flex-direction: column;
}
@media (max-width: 1024px) {
  .featured-post__content {
    margin-top: 0;
    margin-left: 0;
  }
}
@media (max-width: 576px) {
  .featured-post__content {
    margin-top: 70px;
  }
}
.featured-post__title {
  font-size: 54px;
  line-height: 60px;
  font-weight: 700;
  margin-bottom: 5px;
  max-width: 730px;
  margin-top: 45px;
}
@media (max-width: 576px) {
  .featured-post__title {
    margin-top: 38px;
  }
}
.featured-post__sub-title {
  font-size: 20px;
  line-height: 26px;
  margin-top: 16px;
  font-weight: 400;
}
@media (max-width: 1024px) {
  .featured-post__sub-title {
    margin-top: 40px;
  }
}
.featured-post__meta {
  color: #ddd;
  margin-top: 42px;
  font-weight: 700;
  font-size: 18px;
  display: flex;
  gap: 10px;
}
@media (max-width: 1024px) {
  .featured-post__meta {
    margin-top: 35px;
  }
}
@media (max-width: 576px) {
  .featured-post__meta {
    margin-top: 45px;
  }
}
.featured-post__tag {
  color: #AA076B;
}

@media (max-width: 1024px) {
  .featured-posts-slider .swiper-pagination {
    margin-top: 50px;
    bottom: 40px !important;
  }
}
.featured-posts-slider .swiper-pagination-bullet {
  background: #fff;
  opacity: 1;
}
.featured-posts-slider .swiper-pagination-bullet-active {
  background: #AA076B;
}

.category-filter {
  background-color: var(--gray);
}
.category-filter > .wrap {
  max-width: 1440px;
  padding: 140px 80px 70px;
  margin: 0 auto;
}
.category-filter__header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}
.category-filter__select-label {
  position: absolute;
  top: 3px;
  z-index: 0;
}
.category-filter__select {
  position: absolute;
  appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
  width: 100%;
  height: 100%;
  color: var(--primary--color);
  background: none;
}
.category-filter__select.author-select {
  padding-left: 135px;
  margin-top: 2px;
}
.category-filter__select.tags-select {
  padding-left: 140px;
  margin-top: 2px;
}
.category-filter__select:focus {
  color: var(--primary--color);
}
.category-filter__input {
  appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
  width: 100%;
  height: 100%;
  background: none;
}
.category-filter__input:focus {
  color: var(--primary--color);
}
.category-filter__input::placeholder {
  color: var(--black);
}
.category-filter__input-wrapper {
  position: relative;
  flex: 1;
  min-height: 31px;
  border-bottom: 1px solid var(--black);
}
.category-filter__input-wrapper._focused {
  border-bottom: 1px solid var(--primary--color);
}
.category-filter__input-wrapper_search {
  padding-left: 27px;
}
.category-filter__input-wrapper_search:before {
  position: absolute;
  display: block;
  content: "";
  top: 5px;
  left: 0;
  bottom: 11px;
  width: 15px;
  height: 15px;
  background: url("/wp-content/themes/artelogic/img/icons/search.svg"), no-repeat;
  background-size: contain;
  pointer-events: none;
}
.category-filter__input-wrapper_search._focused:before {
  background: url("/wp-content/themes/artelogic/img/icons/search_blue.svg"), no-repeat;
  background-size: contain;
}
.category-filter__input-wrapper_select {
  padding-right: 20px;
}
.category-filter__input-wrapper_select:before {
  position: absolute;
  display: block;
  content: "";
  right: 8px;
  bottom: 11px;
  width: 12px;
  height: 7px;
  background: url("/wp-content/themes/artelogic/img/icons/select_category.svg"), no-repeat;
  background-size: contain;
  pointer-events: none;
}
.category-filter__input-wrapper_select._focused:before {
  background: url("/wp-content/themes/artelogic/img/icons/select_category_red.svg"), no-repeat;
  background-size: contain;
}
.category-filter__list {
  display: block;
  list-style: none;
}
.category-filter__pagination {
  display: flex;
  max-width: 1134px;
  margin: 0 auto;
  padding: 20px 0;
  text-align: center;
  justify-content: center;
  align-items: center;
}
.category-filter__pagination-wrapper {
  margin-top: 73px;
}
.category-filter__pagination-space {
  display: inline-block;
  color: var(--black);
  margin-right: 15px;
}
.category-filter__pagination-link {
  color: var(--black);
  margin-right: 15px;
}
.category-filter__pagination-link:last-child {
  margin-right: unset;
}
.category-filter__pagination-link_current {
  color: var(--primary--color);
}
.category-filter__pagination-link_arrow {
  display: inline-flex;
  margin-right: 20px;
  background-color: var(--white);
}
.category-filter__pagination-link_arrow:last-child {
  margin-right: unset;
  margin-left: 5px;
}

.category-posts {
  background-color: var(--gray);
}
.category-posts > .wrap {
  max-width: 1440px;
  padding: 0 80px 70px;
  margin: 0 auto;
}
.category-posts__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-column-gap: 40px;
  grid-row-gap: 43px;
}
.category-posts .card {
  position: relative;
  padding: 0 0 140px;
  background: var(--white);
  border: unset;
  border-radius: 5px;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2509803922);
}
.category-posts .card * {
  pointer-events: none;
}
.category-posts .card:hover {
  box-shadow: 4px 4px 5px rgba(255, 255, 255, 0.2);
  transform: scale(1.02);
}
.category-posts .card:before {
  content: unset;
}
.category-posts .card__image {
  display: block;
  width: 100%;
  height: 292px;
  margin-bottom: 40px;
  object-fit: cover;
  border-radius: 5px 5px 0 0;
}
.category-posts .card__info {
  width: fit-content;
  display: flex;
  min-height: 43px;
  justify-content: flex-start;
  align-items: flex-start;
  flex-wrap: wrap;
  white-space: normal;
  font-weight: 400;
  font-size: 18px;
  line-height: 23px;
  text-transform: capitalize;
  color: var(--black);
  padding-left: 30px;
  padding-right: 30px;
  margin-bottom: 20px;
}
.category-posts .card__date {
  color: var(--black);
}
.category-posts .card__tags {
  color: var(--primary--color);
  flex-basis: 100%;
}
.category-posts .card__tags-separator {
  color: var(--black);
}
.category-posts .card__title {
  color: var(--black);
  height: unset !important;
  padding: 0 30px;
  margin-bottom: 20px;
  font-size: 24px;
  line-height: 31px;
}
.category-posts .card__author {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0 30px;
  bottom: 30px;
}
@media (max-width: 1024px) {
  .category-posts .card__author svg {
    display: none;
  }
}
.category-posts .card__author > div {
  display: flex;
  height: 75px;
}
.category-posts .card__author-image {
  width: 50px;
  height: 50px;
  overflow: hidden;
  border-radius: 50%;
  margin-right: 14px;
  margin-top: 5px;
}
.category-posts .card__author-image + div {
  flex: 1 1;
}
.category-posts .card__author-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.category-posts .card__author-name {
  font-weight: 700;
  color: var(--black);
}
.category-posts .card__author-position {
  font-weight: 400;
  font-size: 18px;
  line-height: 23px;
  color: var(--primary--color);
}
.category-posts .card__learn-more {
  position: absolute;
  left: 30px;
  bottom: 40px;
}
.category-posts__item {
  position: relative;
}
.category-posts__item:hover::after {
  opacity: 1;
}
.category-posts__item:first-child {
  grid-column: 1/4;
}
.category-posts__item:first-child::after {
  right: 3.528%;
  bottom: 42px;
}
.category-posts__item:first-child .card {
  display: flex;
  flex-direction: column;
  padding: 60px 30px 40px calc(40% + 40px);
  background: var(--black);
  border-radius: 5px;
  min-height: 316px;
}
.category-posts__item:first-child .card__image {
  position: absolute;
  left: 0;
  top: 0;
  width: 40%;
  height: 100%;
  object-fit: cover;
  border-radius: 5px 0 0 5px;
}
.category-posts__item:first-child .card__info {
  padding: 0;
  min-height: unset;
}
.category-posts__item:first-child .card__tags {
  flex-basis: initial;
}
.category-posts__item:first-child .card__tags-item:last-child {
  margin-right: 3px;
}
.category-posts__item:first-child .card__tags-separator {
  color: #ffffff;
}
.category-posts__item:first-child .card__date {
  color: #FFFFFF;
}
.category-posts__item:first-child .card__title {
  color: #FFFFFF;
  padding: 0;
}
.category-posts__item:first-child .card__author {
  position: initial;
  margin-top: auto;
  padding: 0;
}
.category-posts__item:first-child .card__author-name {
  color: #FFFFFF;
}
.category-posts__item:first-child .card__author-position {
  max-width: unset;
  color: #FFFFFF;
}
.category-posts__item:first-child .card__learn-more {
  position: static;
  margin-top: 20px;
}
.category-posts__item.form {
  position: relative;
  background: var(--gradient--color--main);
  border-radius: 5px;
  padding: 124px 24px;
  padding-bottom: 124px !important;
}
.category-posts__item.form .category-form__title {
  font-weight: 700;
  font-size: 36px;
  line-height: 48px;
  color: #FFFFFF;
  margin-bottom: 70px;
  text-transform: uppercase;
}
.category-posts__item.form .category-form__wrapper {
  margin-bottom: 30px;
}
.category-posts__item.form .category-form__wrapper input {
  font-size: 18px;
  line-height: 60px;
  color: #FFFFFF;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: unset;
  width: 100%;
  border-bottom: 1px solid rgba(146, 169, 211, 0.5019607843);
}
.category-posts__item.form .category-form__wrapper input::placeholder {
  color: #FFFFFF;
}
.category-posts__item.form .category-form__acceptance {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 16px;
  height: 16px;
  border: 1px solid rgba(146, 169, 211, 0.5019607843);
  border-radius: 1px;
  margin-right: 13px;
  margin-top: 10px;
}
.category-posts__item.form .category-form__acceptance:checked {
  background: no-repeat url("../../img/icons/category/checked.svg") center;
  background-size: 12.5px 9.5px;
  -o-background-size: 12.5px 9.5px;
  -webkit-background-size: 12.5px 9.5px;
  -moz-background-size: 12.5px 9.5px;
}
.category-posts__item.form .category-form__acceptance-label {
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 18px;
  color: #FFFFFF;
  cursor: text;
}
.category-posts__item.form .category-form__acceptance-label a {
  text-decoration-line: underline;
  color: #FFFFFF;
}
.category-posts__item.form .category-form__acceptance-label_required {
  position: relative;
  padding-left: 12px;
}
.category-posts__item.form .category-form__acceptance-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto 56px;
}
.category-posts__item.form .category-form__acceptance-wrapper .wpcf7-list-item {
  margin: unset;
}
.category-posts__item.form .category-form__submit {
  color: var(--white);
  border-color: var(--white);
  transition: border-width, background-color 0.3s cubic-bezier(0.6, 0, 0.2, 1);
  background-color: transparent;
}
.category-posts__item.form .category-form__submit:hover {
  color: var(--primary--color);
  background-color: var(--white);
}
.category-posts__item.form .category-form__submit:disabled {
  opacity: 0.2;
  cursor: not-allowed;
}
.category-posts__item.form .category-form__submit-wrapper {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.category-posts__item.form .send__title {
  text-align: center;
  color: #fff;
  font-size: 24px;
}

.category-posts__item.form .send__subtitle {
  color: #fff;
}

.searchandfilter ul li.sf-field-search {
  padding-top: 25px;
}
.searchandfilter ul li.sf-field-post-meta-article_author {
  padding-top: 20px;
}
.searchandfilter ul .sf-field-tag {
  padding: 10px 0 20px;
}

.author-articles > .wrap {
  max-width: 1170px;
  padding-left: 15px;
  padding-right: 15px;
}
.author-articles .cards {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-column-gap: 30px;
  margin: unset;
}

.no-posts-wrapper .category-posts__item.form .category-form__title {
  text-align: center;
}

.category-posts__item.form form {
  max-width: 600px;
  margin: 0 auto;
}

.category-posts__item.form .wpcf7-spinner {
  bottom: 50%;
  transform: translateY(-50%);
  position: absolute;
}

/* TABLET */
@media only screen and (max-width: 1024px) {
  .category-filter > .wrap {
    padding-left: 67px;
    padding-right: 67px;
  }
  .category-filter__header {
    gap: 22px;
  }
  .category-posts > .wrap {
    padding-left: 67px;
    padding-right: 67px;
  }
  .category-posts__list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-row-gap: 40px;
  }
  .category-posts__item:first-child {
    grid-column: 1/3;
  }
  .category-posts__item:first-child::after {
    right: 4.368%;
    bottom: 42px;
  }
  .category-posts__item:first-child .card {
    min-height: 228px;
    padding: 40px 60px 39px calc(48% + 40px);
  }
  .category-posts__item:first-child .card__image {
    position: absolute;
    left: 0;
    top: 0;
    width: 48%;
    height: 100%;
    object-fit: cover;
  }
  .no-posts-wrapper .category-posts__item.form {
    grid-column: 1/3;
    padding: 80px 24px;
    padding-bottom: 80px !important;
  }
}
/* END TABLET */
/* MOBILE */
@media only screen and (max-width: 575px) {
  .blogpage-hero-section .owl-nav {
    display: block;
    top: 25vh;
  }
  .no-posts-wrapper .category-posts__item.form {
    grid-column: unset;
  }
  .category-posts__item:first-child {
    grid-column: unset;
  }
  .category-filter > .wrap {
    padding: 100px 18px 30px;
  }
  .category-filter__header {
    max-width: unset;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 0;
  }
  .category-filter__select {
    width: 100%;
    max-width: unset;
  }
  .category-filter__select-wrapper {
    width: 100%;
    max-width: unset;
  }
  .category-filter__input {
    width: 100%;
    max-width: unset;
  }
  .category-filter__input-wrapper {
    width: 100%;
    max-width: unset;
    margin-bottom: 40px;
  }
  .category-filter__pagination-wrapper {
    margin-top: 40px;
  }
  .category-posts > .wrap {
    max-width: 378px;
    padding: 0 0 70px;
  }
  .category-posts__list {
    display: grid;
    grid-template-columns: 100%;
    grid-row-gap: 40px;
  }
  .category-posts__item:first-child .card {
    position: relative;
    padding: 0 0 140px;
    background: var(--black);
    border: unset;
    border-radius: 5px;
  }
  .category-posts__item:first-child .card * {
    pointer-events: none;
  }
  .category-posts__item:first-child .card:hover {
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.25);
    transform: unset;
  }
  .category-posts__item:first-child .card:before {
    content: unset;
  }
  .category-posts__item:first-child .card__image {
    position: static;
    display: block;
    width: 100%;
    height: 292px;
    margin-bottom: 40px;
    object-fit: cover;
    border-radius: 5px 5px 0 0;
  }
  .category-posts__item:first-child .card__info {
    width: fit-content;
    display: flex;
    min-height: 43px;
    justify-content: flex-start;
    align-items: flex-start;
    flex-wrap: wrap;
    white-space: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 23px;
    text-transform: capitalize;
    color: var(--white);
    padding-left: 30px;
    padding-right: 30px;
    margin-bottom: 20px;
  }
  .category-posts__item:first-child .card__date {
    color: var(--white);
  }
  .category-posts__item:first-child .card__tags {
    color: var(--primary--color);
    flex-basis: 100%;
  }
  .category-posts__item:first-child .card__tags-item:last-child {
    margin-right: unset;
  }
  .category-posts__item:first-child .card__tags-separator {
    color: var(--white);
  }
  .category-posts__item:first-child .card__title {
    color: var(--white);
    height: unset !important;
    padding: 0 30px;
    margin-bottom: 20px;
    font-size: 24px;
    line-height: 31px;
  }
  .category-posts__item:first-child .card__title:hover {
    color: var(--white);
  }
  .category-posts__item:first-child .card__author {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    padding: 0 30px;
    bottom: 84px;
  }
  .category-posts__item:first-child .card__author-image {
    width: 50px;
    height: 50px;
    overflow: hidden;
    border-radius: 50%;
    margin-right: 14px;
    flex-shrink: 0;
  }
  .category-posts__item:first-child .card__author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .category-posts__item:first-child .card__author-name {
    font-weight: 700;
    color: var(--white);
  }
  .category-posts__item:first-child .card__author-position {
    font-weight: 400;
    font-size: 18px;
    line-height: 23px;
    color: var(--white);
  }
  .category-posts__item:first-child .card__learn-more {
    position: absolute;
    left: 30px;
    bottom: 40px;
  }
  .category-posts__item:last-child {
    padding: 80px 24px;
  }
}
/* MOBILE END */
.lds-spinner {
  color: #000;
  display: block;
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
}

.lds-spinner div {
  transform-origin: 40px 40px;
  animation: lds-spinner 1.2s linear infinite;
}

.lds-spinner div:after {
  content: " ";
  display: block;
  position: absolute;
  top: 3px;
  left: 37px;
  width: 6px;
  height: 18px;
  border-radius: 20%;
  background: #000;
}

.lds-spinner div:nth-child(1) {
  transform: rotate(0deg);
  animation-delay: -1.1s;
}

.lds-spinner div:nth-child(2) {
  transform: rotate(30deg);
  animation-delay: -1s;
}

.lds-spinner div:nth-child(3) {
  transform: rotate(60deg);
  animation-delay: -0.9s;
}

.lds-spinner div:nth-child(4) {
  transform: rotate(90deg);
  animation-delay: -0.8s;
}

.lds-spinner div:nth-child(5) {
  transform: rotate(120deg);
  animation-delay: -0.7s;
}

.lds-spinner div:nth-child(6) {
  transform: rotate(150deg);
  animation-delay: -0.6s;
}

.lds-spinner div:nth-child(7) {
  transform: rotate(180deg);
  animation-delay: -0.5s;
}

.lds-spinner div:nth-child(8) {
  transform: rotate(210deg);
  animation-delay: -0.4s;
}

.lds-spinner div:nth-child(9) {
  transform: rotate(240deg);
  animation-delay: -0.3s;
}

.lds-spinner div:nth-child(10) {
  transform: rotate(270deg);
  animation-delay: -0.2s;
}

.lds-spinner div:nth-child(11) {
  transform: rotate(300deg);
  animation-delay: -0.1s;
}

.lds-spinner div:nth-child(12) {
  transform: rotate(330deg);
  animation-delay: 0s;
}

@keyframes lds-spinner {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}