/* HEADER COLOR */
/*.main-header-container,
.main-header-container header {
  background-color: #fff !important;
}*/

/* LAYOUT *************************************************************************** */

#main {
  padding-top: 32px;
}

.page-blog #main.site-main,
.archive #main.site-main {
  display: flex;
  flex-direction: column;
}

.page-header .entry-title,
.site-footer .footer-inner,
.site-footer:not(.dynamic-footer),
.site-header .header-inner,
.site-header:not(.dynamic-header),
body:not([class*="elementor-page-"]) .site-main {
  padding-inline-start: 20px;
  padding-inline-end: 20px;
}
/*@media screen and (max-width: 575px) {
  .page-header .entry-title,
  .site-footer .footer-inner,
  .site-footer:not(.dynamic-footer),
  .site-header .header-inner,
  .site-header:not(.dynamic-header),
  body:not([class*="elementor-page-"]) .site-main {
    padding-inline-start: 16px;
    padding-inline-end: 16px;
  }
}*/
@media screen and (min-width: 576px) {
  .page-header .entry-title,
  .site-footer .footer-inner,
  .site-footer:not(.dynamic-footer),
  .site-header .header-inner,
  .site-header:not(.dynamic-header),
  body:not([class*="elementor-page-"]) .site-main {
    /*max-width: 500px;*/
    max-width: 100%;
  }
}

@media screen and (min-width: 1025px) {
  #main {
    padding-top: 56px;
    padding-left: 20px;
    padding-right: 20px;
  }
  /*.page-header .entry-title,
  .site-footer .footer-inner,
  .site-footer:not(.dynamic-footer),
  .site-header .header-inner,
  .site-header:not(.dynamic-header),
  body:not([class*="elementor-page-"]) .site-main {
    max-width: 600px;
  }*/
  .page-blog #main.site-main,
  .archive #main.site-main {
    flex-direction: row;
    column-gap: 80px;
  }
  .blog-sidebar {
    min-width: 222px;
  }
  .blog-index-main-wrapper {
    padding-top: 30px;
    flex-grow: 1;
  }
}

@media screen and (min-width: 992px) {
  /*.page-header .entry-title,
  .site-footer .footer-inner,
  .site-footer:not(.dynamic-footer),
  .site-header .header-inner,
  .site-header:not(.dynamic-header),
  body:not([class*="elementor-page-"]) .site-main {
    max-width: 800px;
  }*/
}
@media screen and (min-width: 1200px) {
  .page-header .entry-title,
  .site-footer .footer-inner,
  .site-footer:not(.dynamic-footer),
  .site-header .header-inner,
  .site-header:not(.dynamic-header),
  body:not([class*="elementor-page-"]) .site-main {
    max-width: 1326px;
  }
}

/*@media screen and (min-width: 1420px) {
  .page-blog .container,
  .archive .container {
    width: 1370px;
  }
}*/

/* SIDEBAR *************************************************************************** */

@media screen and (min-width: 1025px) {
  body {
    overflow: unset;
  }
  .page-blog .sticky-wrapper,
  .archive .sticky-wrapper {
    position: sticky;
    top: 120px;
    max-height: calc(100vh - 100px);
    overflow-y: scroll;
    padding-bottom: 40px;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
  }
  .page-blog .sticky-wrapper::-webkit-scrollbar,
  .archive .sticky-wrapper::-webkit-scrollbar {
    display: none;
  }
}

.blog-index-header .page-title {
  color: #171514;
  margin-top: 0;
  margin-bottom: 32px;
  font-family: "Martina Plantijn", Sans-serif;
  font-size: 28px;
  font-weight: 400;
  line-height: 40px;
  letter-spacing: -0.88px;
}
@media (min-width: 1025px) {
  .blog-index-header .page-title {
    font-size: 28px;
    letter-spacing: -0.64px;
    max-width: 186px;
  }
}

.aa-dropdown-menu .autocomplete-header {
  display: none;
}

/* SEARCH FORM */

.header-widget-section {
  margin-bottom: 32px;
}
.header-widget-section .search-form label {
  width: 100%;
  position: relative;
}
.header-widget-section .search-form .search-field {
  padding: 10px 16px;
  background-color: #fff;
  width: 100%;
  border-radius: 50px;
  border: 1px solid var(--text-icons-text-base-dark, #222c36);
}
.header-widget-section .search-form .search-field::placeholder {
  color: #222c36cc;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -0.16px;
}
.header-widget-section .search-form .search-field:focus-visible {
  outline: none !important;
}
.header-widget-section .search-form label::after {
  content: "";
  display: block;
  background-image: url(/wp-content/themes/hello-child/img/icon-search.svg);
  width: 16px;
  height: 16px;
  position: absolute;
  right: 19px;
  top: 15px;
  opacity: 0.9;
  background-size: contain;
}
.header-widget-section .search-form .search-submit {
  display: none;
}

/* FILTER */

.blog-index-filter {
  margin-bottom: 25px;
}
.blog-index-filter .searchandfilter ul {
  padding-left: 2px;
}

.blog-index-filter .searchandfilter > ul li ul {
  display: flex;
  flex-direction: column;
  row-gap: 16px;
}
.blog-index-filter .searchandfilter li.sf-level-0 {
  padding: 0 0 0 15px;
}
.blog-index-filter .searchandfilter li.sf-level-0 input {
  display: none;
}
.blog-index-filter .searchandfilter li.sf-level-0 .sf-label-radio {
  cursor: pointer;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  padding-left: 0;
  letter-spacing: -0.16px;
}
.blog-index-filter .searchandfilter li.sf-level-0.sf-item-0 .sf-label-radio {
  color: #e35072;
  font-weight: 600;
}

.blog-index-filter .searchandfilter li.sf-level-0:hover .sf-label-radio,
.blog-index-filter
  .searchandfilter
  li.sf-level-0.sf-option-active
  .sf-label-radio {
  font-weight: 700;
}

/* Reset */
.blog-index-filter .sf-field-reset {
  display: none;
  opacity: 0;
}

@media screen and (max-width: 1024px) {
  .blog-index-filter {
    border-radius: 8px;
    background: rgba(34, 44, 54, 0.05);
  }
  .blog-index-filter .filter-heading {
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    letter-spacing: -0.16px;
    padding: 12px 16px;
    display: block;
    position: relative;
  }
  .blog-index-filter .filter-heading::after {
    content: "";
    background-image: url(/wp-content/themes/hello-child/img/chevron.svg);
    width: 16px;
    height: 16px;
    display: inline-block;
    background-repeat: no-repeat;
    background-size: contain;
    transform: rotate(180deg);
    position: absolute;
    right: 24px;
    top: 17px;
  }
  .blog-index-filter form.searchandfilter {
    display: none;
  }
}
@media screen and (min-width: 1025px) {
  .blog-index-filter .searchandfilter > ul > li {
    margin-bottom: 32px;
  }
  .blog-index-filter .searchandfilter > ul li ul {
    border-left: 1px solid #4b607424;
    display: flex;
    flex-direction: column;
    row-gap: 16px;
  }
  .blog-index-filter .searchandfilter li.sf-level-0.sf-option-active {
    position: relative;
  }
  .blog-index-filter .searchandfilter li.sf-level-0.sf-option-active::before {
    content: "";
    width: 5px;
    position: absolute;
    left: -5px;
    border-radius: 6px;
    background: var(--colors-primary-new-pink, #e35072);
    height: 100%;
  }
}

/* Sidebar links */

/*.blog-sidebar .links a {
  display: block;
  font-size: 13px;
  line-height: 26px;
  font-weight: 400;
}
.blog-sidebar .links a:hover {
  font-weight: 600;
}*/

/* POST PAGINATION *************************************************************************** */

.navigation.pagination {
  display: block;
  text-align: center;
  margin-bottom: 70px;
}
.navigation.pagination .page-numbers {
  display: inline-block;
  color: #222c36;
  margin-bottom: 10px;
  font-weight: 600;
  width: 44px;
  height: 44px;
  line-height: 40px;
  margin-right: 12px;
  border-radius: 24px;
  border: 1px solid var(--ui-secondary, #4b6074);
  letter-spacing: -0.16px;
}
.navigation.pagination .page-numbers.current {
  color: #fff;
  border: none;
  background: linear-gradient(0deg, #e35072 -65%, #fa5d89 171.25%);
}

.navigation.pagination .next.page-numbers,
.navigation.pagination .prev.page-numbers {
  background-image: url(/wp-content/themes/hello-child/img/chevron.svg);
  background-size: 15px;
  background-position: center;
  background-repeat: no-repeat;
  color: transparent !important;
}
.navigation.pagination .prev.page-numbers {
  transform: rotate(-90deg);
}
.navigation.pagination .next.page-numbers {
  transform: rotate(90deg);
}

@media screen and (min-width: 1025px) {
  .navigation.pagination .page-numbers {
    width: 48px;
    height: 48px;
    line-height: 50px;
    margin-right: 16px;
  }
}

/* Inserted ad */
@media screen and (min-width: 1025px) {
  .posts-row-item.insert-indy-ad {
    max-width: 320px;
  }
}
.posts-row-item.insert-indy-ad a img {
  /*margin-bottom: 45px;*/
  display: block;
}

/* CONVERSION WIDGET *************************************************************************** */
.conversion-wrapper {
  background: var(--background-background, #fef7ec);
  padding: 56px 16px;
}

@media screen and (min-width: 1025px) {
  .conversion-wrapper {
    padding: 80px;
  }
  .conversion-wrapper .indy-conversion-widget {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
  }
}
