.blog-template-page {
  direction: inherit;
  text-align: inherit;
}

.blog-template-page[dir="rtl"] {
  direction: rtl;
  text-align: right;
}

.blog-template-page[dir="ltr"] {
  direction: ltr;
  text-align: left;
}

.blog-template-breadcrumbs {
  border-top: 1px solid rgba(62, 62, 62, 0.17);
  font-size: 14px;
  background: #fff;
}

.blog-template-breadcrumbs__inner {
  max-width: 1712px;
  margin: 0 auto;
  padding: 0 104px;
}

.blog-template-breadcrumbs__list {
  margin: 0;
  padding: 14px 0 10px;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  direction: ltr;
  justify-content: flex-end;
}

.blog-template-breadcrumbs__item {
  display: inline-flex;
  align-items: center;
  font-family: "Rubik", sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #777;
}

.blog-template-breadcrumbs__item:not(:last-child)::after {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-right: 7px solid #f47721;
  margin: 0 12px;
}

.blog-template-page[dir="ltr"] .blog-template-breadcrumbs__item:not(:last-child)::after {
  border-right: 0;
  border-left: 7px solid #f47721;
}

.blog-template-breadcrumbs__text {
  text-decoration: none;
  color: #000;
  text-align: right;
  font-family: Rubik;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 14px;
  opacity: 0.4;
}

.blog-template-breadcrumbs__link {
  color: #000;
  font-size: 14px;
  text-decoration: none;
  font-weight: 400;
  line-height: 14px;
}

.blog-template-hero {
  position: relative;
  margin: 0 8px;
  min-height: 182px;
  background: #e9e9e9;
  overflow: hidden;
}

.blog-template-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-template-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(233, 233, 233, 0.4), rgba(233, 233, 233, 0.95));
}

.blog-template-hero__corner-deco {
  position: absolute;
  left: 5px;
  bottom: 0;
  width: 420px;
  height: 84px;
  line-height: 0;
  z-index: 2;
  pointer-events: none;
}

.blog-template-hero__corner-deco-svg {
  display: block;
  width: 100%;
  height: 100%;
}

.blog-template-hero__inner {
  position: relative;
  z-index: 3;
  max-width: 1712px;
  margin: 0 auto;
  min-height: 182px;
  padding: 24px 112px;
  display: flex;
  align-items: center;
}

.blog-template-hero__title {
  color: #000;
  font-size: 56px;
  font-weight: 600;
  line-height: 99%;
}

.blog-template-list {
  max-width: 1712px;
  margin: 0 auto;
  padding: 23px 104px 72px;
}

.blog-template-list__head {
  display: flex;
  margin-bottom: 16px;
}

.blog-template-filter {
  position: relative;
  min-width: 280px;
}

.blog-template-filter__toggle {
  width: 100%;
  border: none;
  min-height: 50px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-family: "Arimo", sans-serif;
  border-radius: 4px;
  background: #F2F2F2;
  color: #000;
  text-align: right;
  font-size: 17px;
  font-weight: 700;
  line-height: 132%;
  letter-spacing: 1px;
  text-transform: uppercase;
  direction: ltr;
}

.blog-template-filter__arrow {
  color: #f47721;
  font-size: 21px;
}

.blog-template-filter__menu {
  margin: 0;
  padding: 8px 0;
  list-style: none;
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 100%;
  border: 1px solid #dfdfdf;
  background: #fff;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.07);
  display: none;
  z-index: 20;
}

.blog-template-filter:hover .blog-template-filter__menu,
.blog-template-filter:focus-within .blog-template-filter__menu {
  display: block;
}

.blog-template-filter::after {
  content: "";
  position: absolute;
  top: 100%;
  right: 0;
  width: 100%;
  height: 8px;
}

.blog-template-filter__menu a {
  display: block;
  padding: 8px 14px;
  text-decoration: none;
  color: #1c1c1c;
  font-family: "Rubik", sans-serif;
  font-size: 14px;
}

.blog-template-filter__menu a:hover,
.blog-template-filter__menu a.is-active {
  background: #fff3ea;
  color: #f47721;
}

.blog-template-list__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px 23px;
}

.blog-template-card {
  position: relative;
  display: grid;
  grid-template-columns: 48% 52%;
  min-height: 184px;
  direction: ltr;
  overflow: hidden;
  border-radius: 4px;
  border: 1px solid #C4C4C4;
  background: var(--White, #FFF);
  padding: 12px 24px 12px 12px;
}

.blog-template-card__link {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.blog-template-card__media {
  background: #f0f0f0;
}

.blog-template-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 224.00 / 199.97;
  border-radius: 4px;
}

.blog-template-card__image--placeholder {
  background: linear-gradient(135deg, #ececec, #dadada);
}

.blog-template-card__content {
  padding: 10px 0 10px 7px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  direction: rtl;
  text-align: right;
}

.blog-template-card__title {
  margin: 0;
  color: #000;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
}

.blog-template-card__excerpt {
  margin: 0;
  text-overflow: ellipsis;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
  opacity: 0.6;
}

.blog-template-card__meta {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  direction: ltr;
  color: #000;
  text-align: right;
  font-family: Arimo;
  font-size: 14px;
  line-height: 150%;
  opacity: 0.5;
}
span.author {
    font-weight: 700;
    text-transform: capitalize;
}
.blog-template-pagination {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
}

.blog-template-pagination__item {
  display: inline-flex;
}

.blog-template-pagination__item .page-numbers {
  min-width: 30px;
  height: 30px;
  border: 1px solid #dddddd;
  background: #efefef;
  color: #666;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-family: "Rubik", sans-serif;
  padding: 0 8px;
}

.blog-template-pagination__item .page-numbers.current {
  background: #fffefe;
  border-color: #cfcfcf;
  color: #111;
}

.blog-template-pagination__item.is-next .page-numbers {
  background: #f47721;
  border-color: #f47721;
  color: #fff;
}

.blog-template-pagination__item.is-prev .page-numbers {
  background: #fbe3cf;
  border-color: #f5d1b3;
  color: #f47721;
}

.blog-template-list__empty {
  margin: 22px 0;
  color: #777;
  font-size: 16px;
}

@media (max-width: 1199px) {

  .blog-template-breadcrumbs__inner,
  .blog-template-list {
    padding-left: 24px;
    padding-right: 24px;
  }

  .blog-template-hero__inner {
    padding-left: 28px;
    padding-right: 28px;
  }

  .blog-template-list__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .blog-template-card__title {
    font-size: 17px;
  }
}

@media (max-width: 767px) {
  .blog-template-hero {
    min-height: 140px;
  }

  .blog-template-hero__inner {
    min-height: 140px;
    justify-content: center;
  }

  .blog-template-hero__title {
    font-size: 34px;
  }

  .blog-template-list__head {
    justify-content: stretch;
  }

  .blog-template-filter {
    width: 100%;
    min-width: 0;
  }

  .blog-template-filter__toggle {
    font-size: 21px;
  }

  .blog-template-list__grid {
    grid-template-columns: 1fr;
  }

  .blog-template-card {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .blog-template-card__media {
    height: 210px;
  }
}