p.home-paragraph {
  font-size: 18px;
  line-height: 30px;
}

p.all-posts {
  margin-top: 20px;
  font-weight: 24px;
  line-height: 30px;
  font-weight: var(--bold);
}

.posts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px 20px;
}

.blog-card {
  display: grid;
  grid-template-columns: 1fr;
  border-radius: 20px;
  overflow: hidden;
  transition: var(--transition);
  max-width: 387px;
  margin: 0 auto;
}

.posts-grid .blog-card:hover {
  scale: 1.03;
}

.blog-card .text {
  position: relative;
  width: 100%;
  max-height: 210px;
  min-height: 210px;
  height: 210px;
  background-image: linear-gradient(to right, #8b2b80, #dd2427);
  border-radius: 20px;
  overflow: hidden;
}

.blog-card .text .text-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas:
    "title title"
    "excerpt excerpt"
    "more date";
  position: relative;
  top: 2px;
  left: 2px;
  width: calc(100% - 4px);
  height: calc(100% - 4px);
  padding: 15px;
  background-color: #fff;
  border-radius: 20px;
}

.blog-card .text p {
  color: #000;
}

.blog-card img {
  display: block;
  width: 100%;
  height: 120%;
  min-height: 280px;
  object-fit: cover;
}

.blog-card .text p.title {
  font-size: 18px;
  line-height: 20px;
  font-weight: var(--bold);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  grid-area: title;
  min-height: 60px;
}

.blog-card .text p.excerpt {
  margin-top: 10px;
  margin-bottom: 15px;
  font-size: 16px;
  line-height: 24px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  grid-area: excerpt;
}

.blog-card .text p.read-more {
  font-size: 16px;
  line-height: 20px;
  font-weight: var(--bold);
  grid-area: more;
}

.blog-card .text p.date {
  font-size: 16px;
  line-height: 20px;
  grid-area: date;
  justify-self: end;
}

.posts-slider {
  display: none;
}

.posts-slider-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.posts-slider-track::-webkit-scrollbar {
  display: none;
}

.posts-slider-slide {
  flex: 0 0 85%;
  max-width: 387px;
  scroll-snap-align: start;
}

@media (hover: none) and (pointer: coarse) and (max-width: 849px) {
  .posts-slider {
    display: block;
  }

  .posts-slider + .posts-grid {
    display: none;
  }
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}

a.page-numbers.prev,
a.page-numbers.next {
  display: none;
}

a.page-numbers {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 28px;
  height: 28px;
  background-color: #332c34;
  border: none;
  border-radius: 5px;
  text-decoration: none;
  transition: var(--transition);
  transform-origin: top;
  font-size: 16px;
  line-height: 16px;
  transform: translateY(0px);
}

a.page-numbers:hover {
  transform: translateY(-3px);
}

span.page-numbers.current {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 28px;
  height: 28px;
  background-color: #f4f4f4;
  color: #000;
  border: none;
  border-radius: 5px;
  text-decoration: none;
  transition: var(--transition);
  transform-origin: top;
  font-size: 16px;
  line-height: 16px;
  transform: translateY(0px);
}
span.page-numbers.current:hover {
  transform: translateY(0px);
}

section.hero .heading {
  font-weight: var(--bold);
}

section.hero header.single {
  justify-content: start;
}

section.hero header.single h2 {
  font-size: 16px;
  padding: 15px 8px;
  background-image: linear-gradient(to right, #8b2b80, #dd2427);
}

.article h1 {
  font-size: 24px;
  line-height: 30px;
  font-weight: var(--bold);
  margin-bottom: 10px;
}

.article-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  justify-content: space-between;
  margin-bottom: 10px;
}

.article-info .author,
.article-info .time,
.article-info .date {
  font-size: 14px;
  line-height: 18px;
}

.article-info .author,
.article-info .date {
  font-weight: var(--bold);
}
.article-info .time {
  justify-self: end;
}

.article p {
  font-size: 16px;
}

article ul.wp-block-list {
  margin-left: 20px;
}

.wp-block-button__link {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 200px;
  width: 200px;
  height: 38px;
  font-size: 20px;
  font-weight: 400;
  background-image: linear-gradient(
    to left,
    #302760 25%,
    #7a2a79 50%,
    #302760 100%
  );
  background-size: 200% 100%;
  background-position: 100% 0;
  border-radius: 17px;
  text-decoration: none;
  transition: 0.2s;
}

.wp-block-button__link:hover {
  background-position: 0% 100%;
}

.elementor img.emoji {
  width: 20px !important;
  height: 20px !important;
}

.wp-block-buttons {
  display: flex;
  justify-content: center;
}

.article table p {
  font-size: 18px;
}

@media (min-width: 850px) {
  .posts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1280px) {
  p.home-paragraph {
    font-size: 30px;
    line-height: 50px;
  }

  p.all-posts {
    margin-top: 40px;
    font-weight: 36px;
    line-height: 60px;
  }

  .article h1 {
    font-size: 36px;
    line-height: 42px;
    margin-bottom: 20px;
  }

  .article-info .author,
  .article-info .time,
  .article-info .date {
    font-size: 24px;
    line-height: 30px;
  }

  section.hero header.single h2 {
    font-size: 24px;
    padding: 30px 15px;
  }

  .blog-card .text {
    max-height: 285px;
    min-height: 285px;
    height: 285px;
  }

  .blog-card .text p.title {
    font-size: 26px;
    line-height: 36px;
    min-height: 108px;
  }

  .blog-card .text p.excerpt {
    font-size: 18px;
    line-height: 27px;
  }

  .blog-card .text p.read-more {
    font-size: 18px;
    line-height: 27px;
  }

  .blog-card .text p.date {
    font-size: 18px;
    line-height: 27px;
  }

  .posts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 60px 20px;
  }

  .article p {
    font-size: 24px;
  }
}
