.popular-categories {
  margin-top: 2.75rem;
  margin-bottom: 3rem;
}

.popular-categories > h2 {
  margin-top: 0;
  margin-bottom: 1.75rem;
}

.popular-categories__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 960px) {
  .popular-categories__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (min-width: 1200px) {
  .popular-categories__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
  }
}

.popular-categories__card {
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  height: 100%;
  min-height: 12rem;
  padding: 1.6rem 1.75rem 1.5rem;
  border: 1px solid #e5e5e5;
  background: #fff;
  color: #404040;
  text-decoration: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.popular-categories__card:hover,
.popular-categories__card:focus {
  border-color: #0e73d8;
  box-shadow: 0 2px 8px rgba(14, 115, 216, 0.12);
  color: #404040;
  text-decoration: none;
}

.popular-categories__card h3 {
  margin: 0 0 0.9rem;
  font-size: 1.15rem;
  line-height: 1.35;
  color: #0e73d8;
}

.popular-categories__card:hover h3,
.popular-categories__card:focus h3 {
  color: #0c35bc;
}

.popular-categories__card p {
  flex-grow: 1;
  margin: 0 0 1.35rem;
  color: #777;
  font-size: 0.95rem;
  line-height: 1.5;
}

.popular-categories__card span {
  display: block;
  margin-top: auto;
  padding-top: 0.35rem;
  font-size: 0.9rem;
  line-height: 1.4;
  font-weight: 500;
  color: #0e73d8;
}

.popular-categories__card:hover span,
.popular-categories__card:focus span {
  color: #0c35bc;
  text-decoration: underline;
}

@media (max-width: 959px) {
  .popular-categories__card {
    min-height: 0;
    padding: 1.4rem 1.5rem;
  }
}

.trust-block {
  margin-top: 2.75rem;
  margin-bottom: 3rem;
}

.trust-block > h2 {
  margin-top: 0;
  margin-bottom: 1.75rem;
}

.trust-block__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 960px) {
  .trust-block__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (min-width: 1200px) {
  .trust-block__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}

.trust-block__card {
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  height: 100%;
  padding: 1.5rem 1.6rem;
  border: 1px solid #e5e5e5;
  background: #fff;
}

.trust-block__card h3 {
  margin: 0 0 0.85rem;
  font-size: 1.05rem;
  line-height: 1.35;
  color: #404040;
}

.trust-block__card p {
  margin: 0;
  color: #777;
  font-size: 0.95rem;
  line-height: 1.5;
}

@media (max-width: 959px) {
  .trust-block__card {
    padding: 1.35rem 1.4rem;
  }
}

.home-bottom-text {
  margin-top: 2.75rem;
  margin-bottom: 3rem;
}

.home-bottom-text h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.home-bottom-text h2:first-child {
  margin-top: 0;
}

.home-bottom-text p,
.home-bottom-text ul {
  margin-bottom: 1rem;
  line-height: 1.55;
}

.home-bottom-text ul {
  padding-left: 1.25rem;
}

.home-bottom-text li {
  margin-bottom: 0.5rem;
}
