.template-blog {
  background: var(--hh-color-brand-primary);
}
.template-blog hh-modal {
  backdrop-filter: blur(2.5px);
}
.main-blog {
  padding: 0 1.2500rem;
}
@media screen and (min-width: 750px) {
  .main-blog {
    padding: 0 0.9375rem;
  }
}

.main-blog .title--primary {
  margin-block-start: 0;
  letter-spacing: var(--hh-body-large-letter-spacing);
  color: var(--hh-color-day);
}

@media screen and (min-width: 750px) {
  .main-blog .title--primary {
    margin-block-end: 38px;
    margin-left: 7px;
    font: 400 70px/78.5px var(--hh-font-family-body);
  }
}

@media screen and (max-width: 749px) {
  .main-blog .title--primary {
    margin-block-start: 53px;
    margin-block-end: 53px;
    font: 400 40px/45.5px var(--hh-font-family-body);
    text-align: center;
  }
}

.blog-divider {
  display: block;
  width: 100%;
  border: 1px solid var(--hh-color-subdued-secondary);
}
.blog-filter {
  display: flex;
  justify-content: space-between;
  padding-top: 33px;
  padding-bottom: 30px;
}
@media screen and (min-width: 749px) {
  .blog-filter {
    padding-top: 64px;
    padding-bottom: 49px;
  }
}
.blog-filter__container {
  display: flex;
  gap: 6px;
}
.blog-filter__title,
.blog-filter__count {
  font: var(--hh-body-large-font);
  color: var(--hh-color-neutral);
}
.blog-filter__button {
  font: var(--hh-body-large-font);
  color: var(--hh-color-day);
  background: none;
  border: none;
  padding: 0;
  gap: 6px;
  display: flex;
  align-items: center;
}
.blog-articles {
  display: grid;
  column-gap: 2.5000rem;
  padding-bottom: 40px;
  row-gap: 1.7500rem;
}
@media screen and (min-width: 749px) {
  .blog-articles {
    padding-bottom: 10%;
    row-gap: 1.7500rem;
  }
}
.blog-articles__column {
  display: flex;
  row-gap: 50px;
  flex-direction: column;
  height: fit-content;
}
@media screen and (max-width: 749px) {
  .blog-articles__column {
    row-gap: 1.8750rem;
    transform: unset !important;
  }
}
.blog-load-more {
  padding-top: 20px;
}
@media screen and (min-width: 749px) {
  .blog-load-more {
    padding-top: 60px;
  }
}
@media screen and (min-width: 750px) {
  .blog-articles {
    grid-template-columns: 55% 1fr;
  }
}

.blog-articles__header .article-card__info {
  padding: 0.6250rem 0 0.0000rem;
  width: 463px;
  max-width: 100%;
  gap: 8px;
}

@media screen and (min-width: 990px) {
  .blog-articles__header .article-card__info {
    padding: 0 0 0 4.5625rem;
    gap: 17px;
  }
}

@media screen and (min-width: 750px) and (max-width: 989px) {
  .blog-articles__header .article-card__info {
    padding: 0 0 0 1.2500rem;
  }
}

.blog-articles__header .article-content {
  margin-bottom: 34.8px;
}

@media screen and (min-width: 750px) {
  .blog-articles__header .article-content {
    flex-direction: row;
    align-items: center;
    margin-bottom: 56.21px;
  }
}

.blog-articles__header .article-card__title {
  font: 400 40px/45.5px var(--hh-font-family-heading);
  letter-spacing: var(--hh-h5-letter-spacing);
  line-height: 43.8px;
  max-width: 463px;
}

@media screen and (max-width: 749px) {
  .blog-articles__header .article-card__title {
    font-size: 32px;
    line-height: 36px;
  }
}

.blog-articles__header .article-card__image-wrapper {
  position: relative;
  max-width: 100%;
}

@media screen and (min-width: 990px) {
  .blog-articles__header .article-card__image-wrapper {
    width: 828px;
  }
}

@media screen and (min-width: 750px) and (max-width: 989px) {
  .blog-articles__header .article-card__image-wrapper {
    width: 500px;
  }
}

@media screen and (max-width: 749px) {
  .blog-articles__header .article-card__image-wrapper {
    display: flex;
    justify-content: center;
  }
}

@media screen and (max-width: 749px) {
  .blog-articles__header .article-card__image {
    margin: 0 -1.2500rem;
    width: calc(100% + 2.5000rem);
    height: 265px;
  }
}

.blog-articles__header .article-card__image-wrapper {
  position: relative;
  max-width: 100%;
}

@media screen and (min-width: 990px) {
  .blog-articles__header .article-card__image-wrapper {
    width: 828px;
  }
}

@media screen and (min-width: 750px) and (max-width: 989px) {
  .blog-articles__header .article-card__image-wrapper {
    width: 500px;
  }
}

@media screen and (max-width: 749px) {
  .blog-articles__header .article-card__image-wrapper {
    display: flex;
    justify-content: center;
  }
}

@media screen and (max-width: 749px) {
  .blog-articles__header .article-card__image {
    margin: 0 -8px;
    width: calc(100% + 1.2500rem);
    height: 265px;
  }
}


/* Blog Filter */

.filter-dropdowm {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.filter-dropdowm::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  opacity: 0.5;
  background: var(--hh-color-brand-primary);
  z-index: -1;
}
.filter-dropdown__container {
  display: flex;
  flex-direction: column;
  overflow-y: scroll;
  max-height: 456px;
}
.filter-dropdown__container::-webkit-scrollbar {
  width: 9px;
}
.filter-dropdown__container::-webkit-scrollbar-track {
  border-right: 1px solid var(--hh-color-brand-tertiary);
  border-left: 1px solid var(--hh-color-brand-tertiary);
  background: var(--hh-color-day);
}
.filter-dropdown__container::-webkit-scrollbar-thumb {
  background: var(--hh-color-night);
  background-clip: content-box;
  border-color: transparent;
  border-top-width: 3px;
  border-bottom-width: 3px;
  border-right-width: 2.5px;
  border-style: solid;
  border-radius: 10px;
}
.filter-dropdown__button {
  font: var(--hh-body-large-font);
  color: var(--hh-color-night);
  width: 435px;
  min-height: 57px;
  border-bottom: 1px solid var(--hh-color-neutral);
  background: var(--hh-color-day);
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}
.filter-dropdown__button.is-active {
  color: var(--hh-color-day);
  background: var(--hh-color-night);
}
