.modal {
  display: none;
}

.seo-first-screen h1 {
  font-family: 'RadiateSans';
  font-weight: 600;
}

.seo-cost h2,
.promotion-cases h2,
.seo-consultations h2,
.seo-reviews h2,
.seo-page-roi h2,
.seo-guarantees h2,
.why-dont-work h2,
.seo-team h2,
.seo-team h2,
.you-tube-channel h2,
.how-it-works-text h2,
.last-blog-posts h2,
.seo-faq h2 {
  font-family: 'RadiateSans';
  color: #393333;
  text-transform: uppercase;
  font-size: clamp(20px, 2.5vw, 40px);
  font-weight: 800;
}

h3 {
  font-size: 20px;
  color: #393333;
}

.promotion-cases p,
.seo-consultations p,
.seo-reviews p,
.seo-page-roi p,
.why-us p,
.seo-guarantees p,
.why-dont-work p,
.seo-team p,
.seo-team p,
.you-tube-channel p,
.how-it-works-text p,
.last-blog-posts p {
  font-family: 'Century Gothic';
  font-size: clamp(14px, 2.5vw, 18px);
  color: #393333;
  margin: 0;
}

.seo-main-page * {
  margin: 0;
  padding: 0;
  color: #393333;
}

.seo-page-button {
  width: 256px;
  height: 50px;
  border: 2px solid #ffc24b;
  background-color: #ffc24b;
  transition: background-color 0.3s;
  font-family: 'Century Gothic';
  font-weight: 700;
  font-size: clamp(10px, 2.5vw, 14px);
}

.seo-page-button span {
  border-bottom: 2px solid #378033;
}

.seo-page-button:hover {
  background-color: #f7f5f5;
}

.seo-tg-button {
  border: 2px solid #217499;
  background-color: #217499;
  color: #f7f5f5;
}

.seo-tg-button span {
  border-bottom: 2px solid #f7f5f5;
}

.seo-tg-button:hover {
  background-color: #288fbd;
}

.seo-page-button-link {
  padding: 0;
  margin: 0;
  background: none;
  border: none;
}

.seo-page-button-link p {
  font-weight: bold;
  border-bottom: 2px solid #378033;
  max-width: fit-content;
}

.promotion-cases .swiper-pagination-bullet-active {
  background-color: #ffc24b;
  width: bold;
}

.custom-select-wrapper {
  display: none;
  position: relative;
  width: calc(100% - 30px);
  font-family: sans-serif;
  margin: 0 auto;
}

.custom-select {
  position: relative;
  user-select: none;
  font-family: 'Century Gothic';
}

.select-selected {
  background-color: #ffc24b;
  padding: 10px;
  border: 1px solid #ccc;
  cursor: pointer;
}

.select-selected::after {
  content: url('https://gusarov-group.by/seo/wp-content/uploads/2025/07/arrow-down.svg');
  position: absolute;
  right: 10px;
}

.select-items {
  position: absolute;
  background-color: white;
  width: 100%;
  z-index: 99;
  max-height: 200px;
  overflow-y: auto;
}

.select-items div {
  padding: 10px;
  cursor: pointer;
  border: 1px solid #ffc24b;
}

.select-items div:hover {
  background-color: #f1f1f1;
}

.select-hide {
  display: none;
}

.swiper-pagination-bullet-active {
  background-color: #ffc24b;
}

@media screen and (max-width: 500px) {
  .seo-page-button {
    height: 40px;
  }

  .advantage {
    gap: 16px;
  }

  .custom-select-wrapper {
    display: block;
  }
}

.section-blog {
  position: relative;
  padding: 4rem 0rem;
}

.section-blog > div {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.section-blog > div::after {
  content: url(../images/sections/blog-section/blogSectionPlane.svg);
  position: absolute;
  top: calc(35% - 122px);
  right: 3rem;
  z-index: -1;
}

.section-blog__title {
  color: #393333;
  font-family: 'RadiateSans';
  font-size: 2.5rem;
  font-weight: 800;
  text-transform: uppercase;
}

.section-blog__grid {
  display: grid;
  grid-template-areas:
    'first first first'
    'second thrid fourth';
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.section-blog__grid .blog__card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
  position: relative;
}

.section-blog__grid .blog__card:first-child {
  grid-area: first;
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  grid-column-gap: 7rem;
}

.section-blog__grid .blog__card:first-child .card__category {
  position: relative;
  top: 0;
  left: 0;
}

.section-blog__grid .blog__card .card__category {
  position: absolute;
  background: #393333;
  padding: 0.625rem 1.25rem;
  border-radius: 100px;
  font-family: 'Century Gothic';
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.875rem;
  top: 1rem;
  left: 1rem;
}

.section-blog__grid .blog__card .card__category:hover {
  background: #ffc24b;
}

.section-blog__grid .blog__card:first-child .card__img {
  width: fit-content;
  max-width: 100%;
  width: 100%;
  overflow: hidden;
  height: 290px;
}

.section-blog__grid .blog__card .card__img {
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  width: 100%;
  height: 210px;
  object-fit: cover;
  overflow: hidden;
  border-radius: 1.25rem;
}

.section-blog__grid .blog__card .card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section-blog__grid .blog__card .card__body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.section-blog__grid .blog__card:first-child .card__title {
  height: fit-content;
  order: 1;
  color: #393333;
  font-size: 1.5rem;
}

.section-blog__grid .blog__card .card__title {
  font-family: 'Century Gothic';
  font-weight: 700;
  font-size: 1.1rem;
  color: #393333;
  text-decoration: none;
  word-wrap: break-word;
  word-break: break-word;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  overflow: hidden;
  -webkit-box-orient: vertical;
  height: 59px;
}

.section-blog__grid .blog__card .card__title {
  width: fit-content;
}

.section-blog__grid .blog__card:first-child .card__excerpt {
  -webkit-line-clamp: 5;
  order: 3;
}

.section-blog__grid .blog__card .card__excerpt {
  font-family: 'Century Gothic';
  font-weight: 400;
  font-size: 1rem;
  color: #646469;
  word-wrap: break-word;
  word-break: break-word;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  overflow: hidden;
  -webkit-box-orient: vertical;
}

.section-blog__grid .blog__card:first-child .card__short-info {
  order: 0;
  justify-content: flex-start;
}

.section-blog__grid .blog__card .card__short-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.section-blog__grid .blog__card .card__date {
  color: #6e6e6e;
}

.section-blog__grid .blog__card .card__view {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.section-blog__grid .blog__card .card__view > svg {
  width: 1.5rem;
  height: 1.5rem;
  fill: #393333;
}

.section-blog__grid .blog__card .card__view .ajax_views {
  color: #393333;
  font-family: 'Century Gothic';
  font-weight: 400;
}

.section-blog__grid .blog__card:first-child .card__link {
  order: 4;
}

.section-blog__grid .blog__card .card__link {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
}

.section-blog__grid .blog__card .card__link > svg {
  width: 1.75rem;
  height: 1rem;
  fill: #393333;
}

.section-blog__grid .blog__card .card__link > span {
  color: #393333;
  font-family: 'Century Gothic';
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
}

.section-blog__grid .blog__card .card__link:hover > svg {
  fill: #ffc24b;
}

.section-blog__grid .blog__card .card__link:hover > span {
  color: #ffc24b;
}

@media screen and (max-width: 1399px) {
  .section-blog__grid .blog__card:first-child .card__img {
    max-width: 100%;
    width: 100%;
    height: 290px;
    overflow: hidden;
  }

  .section-blog__grid .blog__card .card__img {
    max-width: 100%;
    width: 100%;
    height: 210px;
    overflow: hidden;
  }
}

@media screen and (max-width: 1199px) {
  .section-blog__grid {
    display: flex;
    flex-direction: column;
  }

  .section-blog__grid .blog__card:first-child {
    display: flex;
    flex-direction: row;
    gap: 2rem;
  }

  .section-blog__grid .blog__card {
    flex-direction: row;
  }

  .section-blog__grid .blog__card:first-child .card__img,
  .section-blog__grid .blog__card .card__img {
    flex: 1 0 auto;
    width: 350px;
  }

  .section-blog__grid .blog__card .card__body {
    gap: 2rem;
  }
}

@media screen and (max-width: 991px) {
  .section-blog__grid .blog__card:first-child {
    flex-direction: column;
  }

  .section-blog__grid .blog__card:first-child .card__img {
    width: 100%;
    max-width: 100%;
  }
}

@media screen and (max-width: 767px) {
  .section-blog__grid .blog__card {
    flex-direction: column;
  }

  .section-blog__grid .blog__card:first-child .card__img,
  .section-blog__grid .blog__card .card__img {
    width: 100%;
    max-width: 100%;
  }

  .section-blog > div::after {
    content: url(../images/sections/blog-section/blogSectionPlane.svg);
    position: absolute;
    top: calc(30% - 122px);
    right: 2rem;
    z-index: -1;
  }
}

@media screen and (max-width: 575px) {
  .section-blog__grid .blog__card:first-child .card__short-info {
    flex-wrap: wrap;
  }
}
