/* Blog list layout */
@media screen and (min-width:1024px) {
   .blog_list {
      padding-top: calc(var(--height-header) + 13.8rem);
   }
}

@media screen and (max-width:1023.5px) {
   .blog_list {
      padding-top: calc(var(--height-header) + 1rem);
   }
}

@media screen and (max-width: 768px) {
   .blog_list.section {
      padding-bottom: 1.6rem;
   }
}

.blog_list.section {
   width: 100%;
   padding-left: 0;
   padding-right: 0;
}

.blog_list .section_in {
   max-width: 100%;
}

.blog_post__hero,
.blog_category_section {
   width: 100%;
   max-width: 128rem;
   margin: 0 auto;
}

.blog_list__breadcrumbs {
   max-width: 123rem;
   margin-right: auto;
}

@media screen and (min-width:1024px) {
   .blog_list__breadcrumbs:not(:last-child) {
      margin-bottom: 2.5rem;
   }
}

@media screen and (max-width:1023.5px) {
   .blog_list__breadcrumbs:not(:last-child) {
      margin-bottom: 4.8rem;
   }
}

.blog_list__title {
   text-align: center;
   max-width: 98.2rem;
   margin-left: auto;
   margin-right: auto;
}

@media screen and (min-width:1024px) and (min-width:1024px) {
   .blog_list__title {
      font-size: 4.8rem;
      line-height: 1.3;
   }
}

@media screen and (min-width:1024px) and (max-width:1023.5px) {
   .blog_list__title {
      font-size: 3.2rem;
      line-height: 1.2;
   }
}

@media screen and (max-width:1023.5px) and (min-width:1024px) {
   .blog_list__title {
      font-size: 3.6rem;
      line-height: 1.4;
   }
}

@media screen and (max-width:1023.5px) and (max-width:1023.5px) {
   .blog_list__title {
      font-size: 2.4rem;
      line-height: normal;
   }
}

.blog_list__title:not(:last-child) {
   margin-bottom: 5rem;
}

.blog_list__filters {
   display: none !important;
}

@media screen and (min-width:768px) {
   .blog_list__filters:not(:last-child) {
      margin-bottom: 2rem;
   }
}

@media screen and (max-width:767px) {
   .blog_list__filters:not(:last-child) {
      margin-bottom: 5rem;
   }
}

@media screen and (min-width:1024px) {
   .blog_list__wrap:not(:last-child) {
      margin-bottom: 5.6rem;
   }
}

@media screen and (max-width:1023.5px) {
   .blog_list__wrap:not(:last-child) {
      margin-bottom: 4rem;
   }
}

@media screen and (min-width:1024px) {
   .blog_list__row {
      margin: 0 -3rem -3rem 0;
   }
}

@media(max-width:1023.5px) and (min-width:768px) {
   .blog_list__row {
      margin: 0 -2rem -2rem 0;
   }
}

@media screen and (min-width:768px) {
   .blog_list__row {
      -ms-flex-wrap: wrap;
      flex-wrap: wrap;
      display: -ms-flexbox;
      display: flex;
   }
}

@media screen and (min-width:1024px) {
   .blog_list__column {
      width: 33.333%;
      padding: 0 2.4rem 2.4rem 0;
   }
}

@media(max-width:1023.5px) and (min-width:768px) {
   .blog_list__column {
      width: 50%;
      padding: 0 2rem 2rem 0;
   }
}

@media screen and (max-width:767px) {
   .blog_list__column:not(:last-child) {
      margin-bottom: 2rem;
   }
}

.blog_list__column.blog_list__column--full_width_mod {
   width: 100%;
}

@media screen and (min-width:1024px) {
   .blog_list__column.blog_list__column--full_width_mod {
      margin: 1.8rem 0;
   }
}

@media screen and (max-width:767px) {
   .blog_list__column.blog_list__column--full_width_mod {
      padding: 3rem 0;
   }
}

@media(max-width:1023.5px) and (min-width:768px) {
   .blog_list__column.blog_list__column--full_width_mod + .blog_list__column {
      -ms-flex-order: -1;
      order: -1;
   }
}

/* Blog category/tag pagination */
.blog_category__pagination {
   display: flex;
   justify-content: center;
   align-items: center;
   gap: 1rem;
   margin-bottom: 5.2rem;
}

.pagination_container {
   display: flex;
   justify-content: center;
   align-items: center;
}

.pagination {
   display: flex;
   justify-content: center;
   align-items: center;
}

.pagination__list {
   display: flex;
   align-items: center;
   gap: 0.4rem;
   list-style: none;
   margin: 0;
   padding: 0;
}

.pagination__item {
   display: flex;
}

.pagination__item .page-numbers {
   display: flex;
   justify-content: center;
   align-items: center;
   width: 4rem;
   height: 4rem;
   color: #020617;
   background-color: transparent;
   border: none;
   border-radius: 0.6rem;
   font-family: Inter;
   font-size: 1.4rem;
   font-weight: 500;
   line-height: 1.428571429;
   text-decoration: none;
   transition: all 0.2s ease;
   cursor: pointer;
}

.pagination__item .page-numbers.prev {
   width: auto;
   height: 4rem;
   padding: 0.8rem 1.6rem 0.8rem 1rem;
   gap: 0.4rem;
}

.pagination__item .page-numbers.next {
   width: auto;
   height: 4rem;
   padding: 0.8rem 1rem 0.8rem 1.6rem;
   gap: 0.4rem;
}

.pagination__item .page-numbers.current {
   color: #020617;
   background-color: #FFFFFF;
   border: 1px solid #E2E8F0;
   pointer-events: none;
   font-weight: 500;
}

.pagination__item .page-numbers:not(.current):hover {
   background-color: rgba(217, 221, 231, 0.2);
   text-decoration: none;
}

.pagination__item .page-numbers:focus {
   outline: none;
   background-color: rgba(217, 221, 231, 0.2);
   text-decoration: none;
}

.pagination svg {
   width: 1.6rem;
   height: 1.6rem;
   flex-shrink: 0;
}

@media screen and (max-width: 1023.5px) {
   .blog_category__pagination {
      padding-bottom: 4rem;
      margin-bottom: 0;
   }

   .pagination__item .page-numbers {
      font-size: 1.4rem;
   }

   .pagination__item .page-numbers.prev,
   .pagination__item .page-numbers.next {
      padding: 0.8rem 1.2rem;
   }
}

/* Blog hero on home */
.blog_post__hero {
   margin-bottom: 4.8rem;
}

.blog_hero__container {
   display: flex;
   align-items: center;
   gap: 6.4rem;
}

@media screen and (min-width: 1024px) {
   .blog_hero__container {
      flex-direction: row-reverse;
   }

   .blog_hero__image {
      flex: 0 0 51.2rem;
      order: 2;
   }

   .blog_hero__content {
      flex: 1;
      order: 1;
   }
}

@media screen and (max-width: 1023px) {
   .blog_hero__container {
      flex-direction: column;
      gap: 3.2rem;
      padding: 9.6rem 1.6rem 1.6rem;
   }

   .blog_hero__image {
      order: 2;
      width: 100%;
   }

   .blog_hero__content {
      order: 1;
      width: 100%;
   }

   .blog_post__hero {
      margin-bottom: .8rem;
   }
}

.blog_hero__image img {
   width: 100%;
   height: auto;
   border-radius: 1.2rem;
   object-fit: cover;
}

@media screen and (min-width: 1024px) {
   .blog_hero__image img {
      height: 41rem;
   }
}

@media screen and (max-width: 1023px) {
   .blog_hero__image img {
      height: 28.9rem;
   }
}

.blog_hero__content {
   display: flex;
   flex-direction: column;
   gap: 3.2rem;
}

@media screen and (max-width: 1023px) {
   .blog_hero__content {
      gap: 2.4rem;
   }
}

.blog_hero__info {
   display: flex;
   flex-direction: column;
   gap: 2rem;
}

@media screen and (max-width: 1023px) {
   .blog_hero__info {
      gap: 1.6rem;
   }
}

.blog_hero__meta .article_card__meta {
   margin-bottom: 0;
}

.blog_hero__text {
   display: flex;
   flex-direction: column;
   gap: 0.4rem;
}

.blog_hero__title {
   color: #020617;
   font-family: Inter;
   font-weight: 700;
   margin: 0;
   margin-bottom: 2rem;
}

@media screen and (min-width: 1024px) {
   .blog_hero__title {
      font-size: 4rem;
      line-height: 1.25;
      max-width: 62.6rem;
   }
}

@media screen and (max-width: 1023px) {
   .blog_hero__title {
      font-size: 2.8rem;
      line-height: 1.2;
   }
}

.blog_hero__description {
   color: #475569;
   font-family: Inter;
   font-size: 1.8rem;
   font-style: normal;
   font-weight: 400;
   line-height: 1.556;
   margin: 0;
}

@media screen and (min-width: 1024px) {
   .blog_hero__description {
      max-width: 62.6rem;
   }
}

.blog_hero__action {
   display: flex;
   align-items: flex-start;
}

@media screen and (min-width: 1024px) {
   .blog_hero__action .btn_primary {
      padding: 0.8rem 1.6rem;
      height: 4rem;
   }
}

@media screen and (max-width: 1023px) {
   .blog_hero__action {
      width: 100%;
   }

   .blog_hero__action .btn_primary {
      width: 100%;
      text-align: center;
      justify-content: center;
      padding: 0.8rem 3.2rem;
   }
}

/* Blog category sections */
.blog_category_section {
   padding: 5.2rem 0;
}

.blog_category__container {
   max-width: 100%;
   margin: 0 auto;
   padding: 0;
}

.blog_category__header {
   display: flex;
   justify-content: space-between;
   align-items: center;
   margin-bottom: 4.8rem;
   gap: 4.8rem;
}

.blog_category__title {
   font-family: 'Inter', sans-serif;
   font-weight: 700;
   font-size: 3.2rem;
   line-height: 1.2;
   color: #030712;
   margin: 0;
}

.blog_category__button {
   display: inline-flex;
   align-items: center;
   justify-content: center;
   gap: 0.8rem;
   padding: 0.8rem 1.6rem;
   font-family: 'Inter', sans-serif;
   font-weight: 500;
   font-size: 1.4rem;
   line-height: 1.428;
   color: #030712;
   background: #ffffff;
   border: 1px solid #020617;
   border-radius: 4px;
   text-decoration: none;
   white-space: nowrap;
   transition: all 0.3s ease;
}

.blog_category__button:hover {
   border-color: #FF4E32;
   background: #fff;
   color: #FF4E32;
   text-decoration: none;
}

.blog_category__posts {
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   gap: 2.4rem;
}

.blog_category__post_card {
   display: flex;
   flex-direction: column;
   gap: 1.6rem;
}

.blog_category__separator {
   display: none;
}

.blog_category__footer {
   display: none;
}

.blog_category_section--smb-guide {
   background: #F6F9FC;
}

.blog_category_section--smb-guide .blog_category__container {
   margin: 0 auto;
}

.blog_category__smb_wrapper {
   display: flex;
   align-items: stretch;
   gap: 4.8rem;
}

.blog_category__smb_info {
   display: flex;
   flex-direction: column;
   gap: 3.2rem;
   flex: 1;
}

.blog_category__smb_text {
   display: flex;
   flex-direction: column;
   gap: 2rem;
}

.blog_category__smb_title {
   font-family: 'Inter', sans-serif;
   font-weight: 700;
   font-size: 3.2rem;
   line-height: 1.2;
   color: #030712;
   margin: 0;
}

.blog_category__smb_description {
   font-family: 'Inter', sans-serif;
   font-weight: 400;
   font-size: 1.8rem;
   line-height: 1.556;
   color: #475569;
   margin: 0;
}

.blog_category__smb_description p {
   margin: 0;
}

.blog_category__smb_button {
   display: inline-flex;
   align-items: center;
   justify-content: center;
   width: 16.4rem;
   flex-shrink: 0;
}

.blog_category__smb_posts {
   display: flex;
   flex-direction: row;
   gap: 2.4rem;
}

.blog_category__smb_card {
   background: #ffffff;
   border: 1px solid #E2E8F0;
   border-radius: 12px;
   box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.06), 0px 1px 3px 0px rgba(0, 0, 0, 0.1);
   overflow: hidden;
   max-width: 34.8rem;
   display: flex;
   flex-direction: column;
   transition: all 0.3s ease;
}

.blog_category__smb_image {
   width: 100%;
   height: 26.1rem;
   overflow: hidden;
   border-radius: 12px 12px 0 0;
}

.blog_category__smb_img {
   width: 100%;
   height: 100%;
   object-fit: cover;
   transition: transform 0.3s ease;
}

.blog_category__smb_card:hover .blog_category__smb_img {
   transform: scale(1.05);
}

.blog_category__smb_card_content {
   padding: 2.4rem;
   display: flex;
   flex-direction: column;
   gap: 1.2rem;
   flex: 1;
}

.blog_category__smb_meta {
   display: flex;
   align-items: center;
   gap: 1.2rem;
}

.blog_category__smb_date {
   font-family: 'Inter', sans-serif;
   font-weight: 400;
   font-size: 1.4rem;
   line-height: 1.428;
   color: #64748B;
}

.blog_category__smb_divider {
   width: 4px;
   height: 4px;
   background: #64748B;
   border-radius: 0;
   flex-shrink: 0;
}

.blog_category__smb_tag {
   font-family: 'Inter', sans-serif;
   font-weight: 400;
   font-size: 1.4rem;
   line-height: 1.428;
   color: #1D4ED8;
   text-decoration: none;
   text-transform: uppercase;
}

.blog_category__smb_tag:hover {
   text-decoration: underline;
}

.blog_category__smb_card_title {
   font-family: 'Inter', sans-serif;
   font-weight: 600;
   font-size: 1.6rem;
   line-height: 1.5;
   color: #030712;
   text-decoration: none;
   margin: 0;
   transition: color 0.3s ease;
}

.blog_category__smb_card_title:hover {
   text-decoration: underline;
   text-underline-offset: 3px;
}

.blog_category__smb_card_text {
   font-family: 'Inter', sans-serif;
   font-weight: 400;
   font-size: 1.4rem;
   line-height: 1.428;
   color: #475569;
   margin: 0;
}

@media (max-width: 768px) {
   .blog_category_section--smb-guide {
      padding: 1.6rem 0 0;
   }

   .blog_category__smb_card {
      max-width: 100%;
   }

   .blog_category_section {
      padding-left: 1.6rem;
      padding-right: 1.6rem;
   }

   .blog_category__smb_wrapper {
      flex-direction: column;
      align-items: center;
      gap: 3.6rem;
   }

   .blog_category__smb_info {
      text-align: start;
      gap: 3.2rem;
      align-self: stretch;
   }

   .blog_category__smb_title {
      font-size: 2.4rem;
      line-height: 1.25;
   }

   .blog_category__smb_description {
      font-size: 1.8rem;
      line-height: 1.556;
   }

   .blog_category__smb_button {
      width: 100%;
      height: auto;
      padding: 0.8rem 3.2rem;
      align-self: stretch;
   }

   .blog_category__smb_posts {
      flex-direction: column;
      align-self: stretch;
      gap: 2.4rem;
   }
}

@media (max-width: 1023px) {
   .blog_category_section {
      padding: 1.6rem 1.6rem 3.2rem 1.6rem;
   }

   .blog_category__container {
      padding: 0;
   }

   .blog_category__header {
      flex-direction: column;
      align-items: stretch;
      gap: 1.6rem;
      margin-bottom: .8rem;
   }

   .blog_category__header .blog_category__button {
      display: none;
   }

   .blog_category__footer {
      display: block;
      width: 100%;
      margin-top: 0.8rem;
   }

   .blog_category__button {
      width: 100%;
   }

   .blog_category__title {
      font-size: 2.4rem;
      line-height: 1.25;
   }

   .blog_category__button {
      height: 4.4rem;
      align-self: stretch;
      justify-content: center;
      padding: 0.8rem 3.2rem;
   }

   .blog_category__posts {
      grid-template-columns: 1fr;
      gap: 0;
   }

   .blog_category__post_card {
      padding: 2.4rem 0;
      border-bottom: 1px solid #E2E8F0;
      gap: 1.2rem;
   }

   .blog_category__post_card:hover .article_card__img {
      transform: scale(1.05) !important;
   }

   .blog_category__post_card:last-child {
      border-bottom: none;
   }

   .blog_category__post_card .article_card__media {
      display: none;
   }

   .blog_category__separator {
      display: none;
   }

   .blog_category__smb_header {
      flex-direction: column;
      align-items: stretch;
      gap: 3.2rem;
      margin-bottom: 3.6rem;
   }

   .blog_category__smb_title {
      font-size: 2.4rem;
      line-height: 1.25;
   }

   .blog_category__smb_description {
      font-size: 1.8rem;
      line-height: 1.556;
   }

   .blog_category__smb_button {
      align-self: stretch;
      justify-content: center;
      padding: 0.8rem 3.2rem;
      height: 4.4rem;
   }

   .blog_category__smb_posts {
      grid-template-columns: 1fr;
      gap: 2.4rem;
   }
}

/* Category/Tag featured first post */
.category_first_post {
   padding: 0 0 5.2rem 0;
}

.category_first_post__container {
   display: flex;
   gap: 6.4rem;
   align-items: flex-start;
   max-width: 128rem;
   margin: 0 auto;
}

@media screen and (min-width: 1024px) {
   .category_first_post__container {
      flex-direction: row;
   }

   .category_first_post__content {
      flex: 1;
      max-width: 71.6rem;
   }

   .category_first_post__image {
      flex: 0 0 51.2rem;
   }
}

@media screen and (max-width: 1023px) {
   .category_first_post__container {
      flex-direction: column;
      gap: 2.4rem;
      padding: 0 1.6rem;
   }

   .category_first_post__content {
      order: 1;
      width: 100%;
   }

   .category_first_post__image {
      order: 2;
      width: 100%;
   }

   .category_first_post {
      padding: 9.6rem 0 0;
   }
}

.category_first_post__content {
   display: flex;
   flex-direction: column;
   gap: 1.6rem;
}

.category_first_post__meta {
   display: flex;
   align-items: center;
   gap: 1.2rem;
}

.category_first_post__date {
   color: #64748B;
   font-family: Inter;
   font-size: 1.4rem;
   font-weight: 400;
   line-height: 1.429;
}

.category_first_post__divider {
   width: 0.4rem;
   height: 0.4rem;
   background-color: #64748B;
}

.category_first_post__tag {
   color: #1D4ED8;
   font-family: Inter;
   font-size: 1.4rem;
   font-weight: 400;
   line-height: 1.429;
   text-transform: uppercase;
   text-decoration: none;
   transition: color 0.2s ease;
}

.category_first_post__tag:hover {
   text-decoration: underline;
   text-underline-offset: .3rem;
}

.category_first_post__text {
   display: flex;
   flex-direction: column;
   gap: 2rem;
}

.category_first_post__title {
   color: #020617;
   font-family: Inter;
   font-weight: 700;
   text-decoration: none;
   transition: color 0.2s ease;
   margin: 0;
}

@media screen and (min-width: 1024px) {
   .category_first_post__title {
      font-size: 4rem;
      line-height: 1.25;
      max-width: 62.6rem;
   }
}

@media screen and (max-width: 1023px) {
   .category_first_post__title {
      font-size: 2.8rem;
      line-height: 1.2;
   }
}

.category_first_post__title:hover {
   text-decoration: underline;
   text-underline-offset: 3px;
}

.category_first_post__description {
   color: #475569;
   font-family: Inter;
   font-size: 1.8rem;
   font-weight: 400;
   line-height: 1.556;
   margin: 0;
}

@media screen and (min-width: 1024px) {
   .category_first_post__description {
      max-width: 62.6rem;
   }
}

.category_first_post__image {
   position: relative;
   overflow: hidden;
   border-radius: 1.2rem;
}

.category_first_post__image a {
   display: block;
   transition: transform 0.3s ease;
}

.category_first_post__image a:hover {
   transform: scale(1.05);
}

.category_first_post__img {
   width: 100%;
   height: auto;
   object-fit: cover;
   display: block;
}

@media screen and (min-width: 1024px) {
   .category_first_post__img {
      height: 41rem;
   }
}

@media screen and (max-width: 1023px) {
   .category_first_post__img {
      height: 28.9rem;
   }
}

/* Article hero (single post) */
.article_hero {
   color: #fff;
   background-color: #020617;
}

@media screen and (min-width:1024px) {
   .article_hero {
      border-bottom-right-radius: 6rem;
      border-bottom-left-radius: 6rem;
      padding-top: 9.4rem;
      padding-bottom: 4.8rem;
   }
}

@media screen and (max-width:1023.5px) {
   .article_hero {
      padding-top: 7rem;
      padding-bottom: 2.6rem;
   }

   .article_hero:before {
      content: "";
      filter: blur(12rem);
      opacity: .2;
      background-color: #fff;
      border-radius: 50%;
      width: 32.2rem;
      height: 32.2rem;
      margin-top: -30rem;
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
   }
}

.article_hero__decor {
   object-fit: cover;
   pointer-events: none;
   width: 100%;
   height: 64rem;
   display: block;
   position: absolute;
   top: 0;
   left: 0;
}

@media screen and (min-width:768px) {
   .article_hero__decor {
      display: none;
   }
}

.article_hero__content {
   z-index: 1;
   border-bottom: 1px solid #fff;
   position: relative;
}

@media screen and (min-width:768px) {
   .article_hero__content {
      padding-bottom: 4.6rem;
      display: -ms-flexbox;
      display: flex;
   }
}

@media screen and (max-width:767px) {
   .article_hero__content {
      padding-bottom: 3rem;
   }
}

@media screen and (min-width:768px) {
   .article_hero__content:not(:last-child) {
      margin-bottom: 2rem;
   }
}

@media screen and (max-width:767px) {
   .article_hero__content:not(:last-child) {
      margin-bottom: 1.2rem;
   }
}

@media screen and (min-width:768px) {
   .article_hero__info {
      width: 59.8%;
      max-width: 67rem;
      padding-right: 6rem;
   }
}

@media screen and (max-width:1023.5px) {
   .article_hero__info:not(:last-child) {
      margin-bottom: 2.8rem;
   }
}

@media screen and (min-width:1024px) {
   .article_hero__title {
      font-size: 4.8rem;
      line-height: 1.3;
   }
}

@media screen and (max-width:1023.5px) {
   .article_hero__title {
      font-size: 3.2rem;
      line-height: 1.2;
   }
}

.article_hero__title:not(:last-child) {
   margin-bottom: 3rem;
}

.article_hero__text {
   line-height: 1.5;
}

@media screen and (min-width:1024px) {
   .article_hero__text {
      letter-spacing: 0;
      font-size: 2.4rem;
   }
}

@media screen and (max-width:1023.5px) {
   .article_hero__text {
      letter-spacing: .01em;
      font-size: 2rem;
      line-height: 1.2;
   }
}

@media screen and (min-width:768px) {
   .article_hero__media {
      -ms-flex-negative: 0;
      flex-shrink: 0;
      width: 40.2%;
      margin-left: auto;
      padding-top: 7.2rem;
   }
}

.article_hero__pic {
   border-radius: 1.6rem;
   width: 100%;
   padding-bottom: 100%;
   display: block;
   position: relative;
   overflow: hidden;
}

.article_hero__img {
   object-fit: cover;
   width: 100%;
   height: 100%;
   display: block;
   position: absolute;
   top: 0;
   bottom: 0;
   left: 0;
   right: 0;
}

.article_hero__details {
   -ms-flex-wrap: wrap;
   flex-wrap: wrap;
   -ms-flex-align: center;
   align-items: center;
   gap: 2rem;
   display: -ms-flexbox;
   display: flex;
}

.article_hero__links {
   -ms-flex-wrap: wrap;
   flex-wrap: wrap;
   gap: 1.2rem;
   margin-left: auto;
   display: -ms-flexbox;
   display: flex;
}

@media screen and (min-width:1024px) {
   .article_hero__links {
      display: none;
   }
}

.article_hero__link {
   color: #fff;
   width: 2.4rem;
   height: 2.4rem;
   transition: opacity .3s;
   display: block;
}

.article_hero__link:hover,
.article_hero__link:focus {
   opacity: .6;
}
