.news-list-header {
  padding: 4.8rem 11.2rem 0;
  background-color: #ffffff;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1.4rem;
  color: #666;
  max-width: 121.6rem;
  margin: 0 auto;
}

.breadcrumb-home {
  color: #666;
  text-decoration: none;
}

.breadcrumb-separator {
  color: #999;
}

span.breadcrums_item {
  color: #0070ad;
  text-decoration: none;
}

.contact-section {
  padding: 4.8rem 0;
}

.contact-container {
  max-width: 121.6rem;
  margin: 0 auto;
  padding: 0;
}

.contact-title {
  font-size: 3.6rem;
  font-weight: 700;
  margin-bottom: 6rem;
  color: #111827;
}

.work-title {
  font-size: 2.8rem;
  font-weight: 700;
  padding-bottom: 2rem;
  line-height: 3.6rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 3.2rem;
  row-gap: 4rem;
  margin-bottom: 6rem;
}

.contact-grid > :nth-child(1) {
  grid-area: a;
}
.contact-grid > :nth-child(2) {
  grid-area: b;
}
.contact-grid > :nth-child(3) {
  grid-area: c;
}
.contact-grid > :nth-child(4) {
  grid-area: d;
}
.contact-grid > :nth-child(5) {
  grid-area: e;
}

.contact-grid {
  grid-template-areas:
    "a b ."
    "c d e";
}

.contact-role {
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  color: #111827;
}
.contact-name {
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  color: #111827;
}

.contact-line {
  font-size: 1.6rem;
  line-height: 2.2rem;
  margin-bottom: 0.4rem;
  color: #6b7280;
}

.contact-mail {
  font-size: 1.6rem;
  color: #0070ad;
  text-decoration: none;
}

.contact-mail:hover {
  text-decoration: underline;
}

.work-block {
  font-size: 1.6rem;
  line-height: 2.3rem;
}

.work-block a:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 4rem;
  }
}

@media (max-width: 480px) {
  .contact-title {
    font-size: 3rem;
    margin-bottom: 3rem;
  }

  .work-title {
    font-size: 2.4rem;
    margin-top: 4rem;
    margin-bottom: 2rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    row-gap: 4rem;
  }

  .contact-line,
  .contact-role,
  .contact-name {
    font-size: 1.4rem;
    line-height: 2rem;
  }
}

/* Мобильная версия (375px - 768px) */
@media (max-width: 834px) {
  .news-list-header {
    padding: 3.2rem 1.6rem 0;
  }
  a.breadcrumb-home svg {
    width: 2rem;
    height: 2rem;
  }

  span.breadcrumb-separator svg {
    width: 2rem;
    height: 2rem;
  }

  .breadcrumb {
    font-size: 1.4rem;
    padding: 0;
    max-width: 100%;
  }

  .contact-section {
    padding-top: 2.4rem;
    padding-bottom: 3.2rem;
  }

  .contact-container {
    max-width: 100%;
    padding: 0 1.6rem;
  }

  .contact-title {
    font-size: 3.2rem;
    margin-bottom: 3.2rem;
  }

  .work-title {
    font-size: 2.4rem;
    padding-bottom: 2rem;
    line-height: 3rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    column-gap: 0;
    row-gap: 2.4rem;
    margin-bottom: 3.2rem;
  }

  .contact-role,
  .contact-name {
    font-size: 1.4rem;
    line-height: 2rem;
    margin-bottom: 0;
  }
  .contact-mail,
  .contact-line {
    font-size: 1.2rem;
    line-height: 2rem;
    margin-bottom: 0;
  }
  .contact-mail {
    word-break: break-all;
  }

  .work-block {
    font-size: 1.4rem;
    line-height: 2rem;
  }
}

/* Планшетная версия (768px - 1440px) */
@media (min-width: 834px) and (max-width: 1200px) {
  .news-list-header {
    padding: 4.8rem 3.2rem 0;
  }
  a.breadcrumb-home svg {
    width: 2rem;
    height: 2rem;
  }

  span.breadcrumb-separator svg {
    width: 2rem;
    height: 2rem;
  }

  .breadcrumb {
    font-size: 1.3rem;
    padding: 0;
    max-width: 100%;
  }

  .contact-section {
    padding-top: 3.2rem;
    padding-bottom: 3.2rem;
  }

  .contact-container {
    max-width: 100%;
    padding: 0 3.2rem;
  }

  .contact-title {
    font-size: 3.2rem;
    margin-bottom: 3/2rem;
  }

  .work-title {
    font-size: 2.6rem;
    padding-bottom: 1.8rem;
    line-height: 3.2rem;
  }

  .contact-grid {
    grid-template-columns: repeat(3, 1fr);
    column-gap: 2.4rem;
    row-gap: 3.2rem;
    margin-bottom: 5rem;
  }

  .contact-role,
  .contact-name,
  .contact-line,
  .contact-mail {
    font-size: 1.5rem;
    line-height: 2.1rem;
  }

  .work-block {
    font-size: 1.5rem;
    line-height: 2.2rem;
  }
}
