:root {
  --announcement-bar-height: 0px;
  --heading-font: "Playfair Display", Georgia, "Times New Roman", serif;
  --body-font: "Roboto", Helvetica, Arial, sans-serif;
}
.l-posts-container {
  margin: 0 auto;
  position: relative;
}
@media only screen and (min-width: 48rem) {
  .l-posts-container {
    max-width: 1000px;
    padding-bottom: 115px;
  }
}
.m-hero {
  background-color: var(--primary-foreground-color);
  border-bottom: 1px solid var(--background-color);
  height: calc(100vh - 50px);
  position: relative;
}
@media only screen and (min-width: 48rem) {
  .m-hero {
    border-bottom: 0;
    height: 460px !important;
  }
}
.m-hero.no-image {
  background-color: transparent;
  border-bottom: 0;
  height: auto !important;
}
@media only screen and (min-width: 48rem) {
  .m-hero.no-image {
    padding-top: 75px;
  }
}
.m-hero.no-image .m-hero__content {
  display: block;
  height: auto;
  padding: 0;
}
.m-hero__background {
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: cover;
  height: 100%;
  left: 0;
  opacity: 0.4;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 1;
}
.m-hero__content {
  align-items: center;
  display: flex;
  height: 100%;
  justify-content: center;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}
.m-post-card {
  margin: 0 -20px;
  width: calc(100% + 40px);
}
@media only screen and (min-width: 48rem) {
  .m-post-card {
    align-items: flex-start;
    display: flex;
    justify-content: space-between;
    margin: 0 0 95px;
    width: 100%;
  }
}
@media only screen and (min-width: 64rem) {
  .m-post-card {
    margin-bottom: 115px;
  }
}
.m-post-card.no-image .m-post-card__image__link {
  background-color: var(--empty-color);
}
.m-post-card.no-image .m-post-card__image__background {
  background-size: auto 70%;
}
@media only screen and (min-width: 48rem) {
  .m-post-card.even .m-post-card__image {
    order: 2;
  }
  .m-post-card.even .m-post-card__content {
    order: 1;
  }
  .m-post-card.even .m-post-card__image__link {
    left: auto;
    right: 20px;
  }
}
@media only screen and (min-width: 64rem) {
  .m-post-card.even .m-post-card__image__link {
    right: 40px;
  }
}
@media only screen and (min-width: 48rem) {
  .m-post-card.even .m-post-card__image__link:hover {
    right: 30px;
  }
}
@media only screen and (min-width: 64rem) {
  .m-post-card.even .m-post-card__image__link:hover {
    right: 50px;
  }
}
@media only screen and (min-width: 48rem) {
  .m-post-card.last {
    margin-bottom: 0;
  }
  .rtl .m-post-card.even .m-post-card__image__link {
    left: 20px;
    right: auto;
  }
}
@media only screen and (min-width: 64rem) {
  .rtl .m-post-card.even .m-post-card__image__link {
    left: 40px;
  }
}
@media only screen and (min-width: 48rem) {
  .rtl .m-post-card.even .m-post-card__image__link:hover {
    left: 30px;
  }
}
@media only screen and (min-width: 64rem) {
  .rtl .m-post-card.even .m-post-card__image__link:hover {
    left: 50px;
  }
}
.m-post-card__image {
  height: 350px;
  position: relative;
}
@media only screen and (min-width: 48rem) {
  .m-post-card__image {
    height: 300px;
    width: 300px;
  }
}
@media only screen and (min-width: 64rem) {
  .m-post-card__image {
    height: 400px;
    width: 400px;
  }
}
.m-post-card__image__shadow {
  display: none;
}
@media only screen and (min-width: 48rem) {
  .m-post-card__image__shadow {
    background-color: var(--primary-subtle-color);
    border-radius: 2px;
    display: block;
    height: 100%;
    position: relative;
    width: 100%;
    z-index: 1;
  }
}
.m-post-card__image__link {
  background-color: var(--empty-color);
  display: block;
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 2;
}
@media only screen and (min-width: 48rem) {
  .m-post-card__image__link {
    background-color: transparent;
    border-radius: 2px;
    left: 20px;
    overflow: hidden;
    top: 20px;
    transition: all 0.2s cubic-bezier(0.02, 0.01, 0.47, 1);
  }
}
@media only screen and (min-width: 64rem) {
  .m-post-card__image__link {
    left: 40px;
    top: 40px;
  }
}
@media only screen and (min-width: 48rem) {
  .m-post-card__image__link:hover {
    left: 30px;
    top: 30px;
  }
}
@media only screen and (min-width: 64rem) {
  .m-post-card__image__link:hover {
    left: 50px;
    top: 50px;
  }
}
@media only screen and (min-width: 48rem) {
  .rtl .m-post-card__image__link {
    left: auto;
    right: 20px;
  }
}
@media only screen and (min-width: 64rem) {
  .rtl .m-post-card__image__link {
    left: auto;
    right: 40px;
  }
}
@media only screen and (min-width: 48rem) {
  .rtl .m-post-card__image__link:hover {
    left: auto;
    right: 30px;
  }
}
@media only screen and (min-width: 64rem) {
  .rtl .m-post-card__image__link:hover {
    left: auto;
    right: 50px;
  }
}
.m-post-card__image__background {
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: cover;
  height: 100%;
}
@media only screen and (min-width: 48rem) {
  .m-post-card__image__background {
    border-radius: 2px;
  }
}
.m-post-card__badge {
  height: 60px;
  position: absolute;
  right: 0;
  top: 0;
  width: 60px;
}
.m-post-card__badge:before {
  border-color: #fed330 #fed330 transparent transparent;
  border-style: solid;
  border-width: 30px;
  content: "";
  height: 100%;
  position: absolute;
  right: 0;
  top: 0;
  width: 100%;
  z-index: 1;
}
.m-post-card__badge span {
  color: #624d00;
  font-size: 1.125rem;
  position: absolute;
  right: 8px;
  top: 9px;
  z-index: 2;
}
.m-post-card__content {
  margin-bottom: 20px;
  padding: 20px;
}
@media only screen and (min-width: 48rem) {
  .m-post-card__content {
    margin: 0;
    padding: 20px 0 0;
    width: 50%;
  }
}
@media only screen and (min-width: 64rem) {
  .m-post-card__content {
    padding-top: 40px;
    width: 450px;
  }
}
.m-post-card__title {
  color: var(--primary-foreground-color);
  font-family: var(--gh-font-heading, var(--heading-font));
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  line-height: 1.3;
  margin: 0 0 20px;
}
@media only screen and (min-width: 48rem) {
  .m-post-card__title {
    font-size: 2.25rem;
    margin-bottom: 25px;
  }
}
.m-post-card__title a {
  color: inherit;
}
.m-post-card__excerpt {
  color: var(--primary-foreground-color);
  font-size: 0.875rem;
  letter-spacing: 0.6px;
  line-height: 1.5;
  margin-bottom: 20px;
}
@media only screen and (min-width: 48rem) {
  .m-post-card__excerpt {
    margin-bottom: 25px;
    max-width: 400px;
  }
}
.m-post-card__metas {
  align-items: center;
  display: flex;
  margin-bottom: 20px;
}
@media only screen and (min-width: 48rem) {
  .m-post-card__metas {
    margin-bottom: 25px;
  }
}
.m-post-card__authors {
  align-items: center;
  display: flex;
}
.m-post-card__author {
  background-color: var(--background-color);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  display: flex;
  height: 36px;
  position: relative;
  transition: transform 0.2s cubic-bezier(0.02, 0.01, 0.47, 1);
  width: 36px;
}
.m-post-card__author:hover {
  transform: scale(1.05);
  z-index: 4 !important;
}
.m-post-card__author.author-0 {
  z-index: 3;
}
.m-post-card__author.author-1 {
  margin-left: -10px;
  z-index: 2;
}
.m-post-card__author.author-2 {
  margin-left: -20px;
  z-index: 1;
}
.m-post-card__author div {
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 50%;
  height: 32px;
  width: 32px;
}
.rtl .m-post-card__author.author-1 {
  margin-left: 0;
  margin-right: -10px;
}
.rtl .m-post-card__author.author-2 {
  margin-left: 0;
  margin-right: -20px;
}
.m-post-card__timestamp {
  color: var(--primary-foreground-color);
  font-size: 0.75rem;
  letter-spacing: 0.6px;
  padding-left: 20px;
}
.rtl .m-post-card__timestamp {
  padding-left: 0;
  padding-right: 20px;
}
.m-post-card__social {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  list-style-type: none;
  margin: 0 0 20px;
  padding: 0;
}
@media only screen and (min-width: 48rem) {
  .m-post-card__social {
    margin-bottom: 25px;
  }
}
.m-post-card__social:empty {
  display: none;
}
.m-post-card__social li a {
  color: var(--primary-foreground-color);
}
.m-post-card__social li a span {
  color: inherit;
  font-size: 0.938rem;
}
.m-post-card__stats {
  color: var(--primary-foreground-color);
  font-size: 0.875rem;
  letter-spacing: 0.6px;
}
.m-post-card__stats span {
  display: inline-block;
}
.m-post-card__stats span:nth-child(2) {
  margin: 0 10px;
}
.m-post-card__tag {
  color: var(--primary-foreground-color);
  display: inline-block;
  font-size: 0.688rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  padding-bottom: 3px;
  position: relative;
  text-transform: uppercase;
}
.m-post-card__tag:hover:after {
  transform: scaleX(0);
  transform-origin: bottom right;
}
.m-post-card__tag:after {
  background-color: var(--border-color);
  bottom: 0;
  content: "";
  height: 2px;
  left: 0;
  position: absolute;
  transform: scaleX(1);
  transform-origin: bottom left;
  transition: transform 0.3s ease-in-out;
  width: 100%;
}
.rtl .m-post-card__tag:hover:after {
  transform-origin: bottom left;
}
.rtl .m-post-card__tag:after {
  transform-origin: bottom right;
}
.m-pagination__text {
  color: var(--primary-foreground-color);
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.6px;
  margin: 0 20px;
  text-align: center;
}
@media only screen and (min-width: 48rem) {
  .m-pagination__text {
    font-size: 0.875rem;
  }
}
.m-pagination__button {
  border: 1px solid var(--secondary-foreground-color);
  border-radius: 50%;
  color: var(--secondary-foreground-color);
  height: 32px;
  width: 32px;
}
@media only screen and (min-width: 48rem) {
  .m-pagination__button {
    height: 40px;
    width: 40px;
  }
}
.m-pagination__button span {
  color: inherit;
  font-size: 0.813rem;
}
@media only screen and (min-width: 48rem) {
  .m-pagination__button span {
    font-size: 0.938rem;
  }
}
.rtl .m-pagination__button.next,
.rtl .m-pagination__button.prev {
  transform: rotate(180deg);
}

/* Explore and Popular Blocks */
.l-explore-popular {
  padding: 2rem 0;
  margin: 2rem 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.l-explore-popular__container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

@media (min-width: 960px) {
  .l-explore-popular__container {
    grid-template-columns: 1fr 1fr;
  }
}

.l-explore-popular__block {
  background: var(--color-bg-muted);
  border-radius: 0.5rem;
  padding: 1.5rem;
}

.l-explore-popular__title {
  font-size: 1.25rem;
  margin: 0 0 1rem;
  color: var(--color-text-highlight);
}

/* Tag Cloud */
.tagcloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tagcloud .button {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: #fff;
  border: 1px solid #18181b;
  border-radius: 0;
  color: #18181b;
  margin: 0.25rem 0.5rem 0.25rem 0;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: none;
}

.tagcloud .button:hover {
  background: #18181b;
  color: #fff;
  border-color: #18181b;
}

/* Post List */
.post-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem 3rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 900px) {
  .post-list {
    grid-template-columns: 1fr 1fr;
  }
}

.post-list-item {
  margin: 0;
}

.post-list-item-link {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  text-decoration: none;
  color: var(--color-text-highlight);
  transition: color 0.2s;
  min-width: 0;
  padding: 0.7rem 0;
}

.post-list-item-link:hover .post-list-item-title {
  text-decoration: underline;
}

.post-list-item-image {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 0.25rem;
  overflow: hidden;
  background: #eee;
  margin-right: 1rem;
}

.post-list-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.post-list-item-content {
  flex: 1 1 0%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.2rem;
  max-width: 100%;
  text-align: left;
}

.post-list-item-title {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.2rem 0;
  color: var(--primary-foreground-color) !important;
  line-height: 1.3;
  word-break: break-word;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  white-space: normal;
}

.post-list-item-meta {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 400;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 899px) {
  .post-list-item-image {
    width: 48px;
    height: 48px;
    margin-right: 0.7rem;
  }
  .post-list-item-title {
    font-size: 0.9rem;
  }
  .post-list-item-meta {
    font-size: 0.7rem;
  }
  .post-list-item-link {
    gap: 0.7rem;
  }
}

.l-explore-popular-outer {
  background: var(--background-color);
  border-radius: 0;
  margin: 2.5rem auto;
  padding: 0 16px;
  max-width: 97%;
  box-sizing: border-box;
  border: 1px solid var(--border-color);
}

@media (min-width: 600px) {
  .l-explore-popular-outer {
    padding: 0;
  }
}

.l-explore-popular-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  max-width: 100%;
  padding: 2.5rem 1rem;
  box-sizing: border-box;
}

@media (min-width: 900px) {
  .l-explore-popular-inner {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem 3rem;
    padding: 2.5rem 1.5rem;
  }
}

.l-explore-popular__block {
  background: none;
  border-radius: 0;
  padding: 0;
}

.l-explore-popular__divider {
  display: block;
  background: var(--border-color);
  margin: 2.5rem 0;
  grid-column: 1 / -1;
  height: 1px;
  width: 100%;
}

.l-explore-popular__title,
.post-list-item-title {
  color: var(--primary-foreground-color);
}

.post-list-item-meta {
  color: var(--secondary-foreground-color);
}

.tagcloud .button {
  background: var(--background-color);
  color: var(--primary-foreground-color);
  border-color: var(--primary-foreground-color);
}

.tagcloud .button:hover {
  background: var(--primary-foreground-color);
  color: var(--background-color);
  border-color: var(--primary-foreground-color);
}

@media (min-width: 900px) {
  .l-explore-popular-inner {
    grid-template-columns: 1fr min-content 1fr;
    gap: 0 3rem;
  }
  .l-explore-popular__block--explore {
    grid-column: 1;
  }
  .l-explore-popular__divider {
    height: 100%;
    width: 1px;
    margin: 0;
    grid-column: 2;
    grid-row: 1;
    align-self: stretch;
    justify-self: center;
  }
  .l-explore-popular__block--popular {
    grid-column: 3;
  }
}

.tagcloud .button {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: #fff;
  border: 1px solid #18181b;
  border-radius: 0;
  color: #18181b;
  margin: 0.25rem 0.5rem 0.25rem 0;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: none;
}

.tagcloud .button:hover {
  background: #18181b;
  color: #fff;
  border-color: #18181b;
}

.post-list--grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (max-width: 899px) {
  .post-list--grid {
    grid-template-columns: 1fr;
    gap: 1.2rem 0;
  }
}

.post-list-item-title {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.2rem 0;
  color: var(--color-text-highlight);
  line-height: 1.3;
  word-break: break-word;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  white-space: normal;
}
