.p-problems__content,
.p-services__content,
.p-cta__content,
.p-filter__content,
.p-kv__content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

.p-hero {
  width: 100%;
}

.p-hero__image,
.p-hero__image img {
  width: 100%;
}

.p-problems {
  padding: 80px 0;
}

.p-services {
  padding: 80px 0;
}

.p-content {
  padding: 40px 0 100px;
}

.p-content__wrapper {
  display: flex;
  gap: 80px;
}

.p-content__column {
  flex: 1;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 40px;
  overflow: hidden;
}

.p-cta {
  background: #d8e1ee;
  padding: 100px 0;
}

.p-cta__content {
  gap: 80px;
}

.p-cta__column {
  flex: 1;
}

.p-filter {
  padding: 20px 0;
}

.p-filter__container {
  background: #eceef0;
  border-radius: 12px;
  padding: 40px;
}

.p-filter__categories {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 800px;
  padding-top: 8px;
}

.p-knowledge-grid {
  background: #ffffff;
  padding: 40px 0 100px;
}

.p-knowledge-grid__content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}

.p-problem-section {
  padding: 100px 0;
}

.p-problem-section--gray {
  background: #eceef0;
}

.p-problem-section--white {
  background: #ffffff;
}

.p-problem-section__content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.p-article {
  background: #ffffff;
  padding: 60px 0 100px;
}

.p-article__layout {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.p-article__main {
  flex: 1;
}

.p-article__sidebar {
  position: sticky;
  width: 360px;
  flex-shrink: 0;
  top: 40px;
}

.p-documents {
  background: #ffffff;
  padding: 20px 0 100px;
}

.p-documents__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.p-contact {
  background: #ffffff;
  padding: 60px 0 100px;
}

.p-contact__layout {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

.p-contact__info {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 24px;
  flex: 1;
  min-width: 0;
}

.p-contact__form {
  flex-shrink: 0;
}

.p-breadcrumb {
  padding: 16px 0;
}

.p-kv {
  padding: 60px 0;
}

.p-kv__description {
  flex: 1;
  max-width: 480px;
  text-align: left;
}

.p-kv__description p {
  font-family: 'Zen Kaku Gothic Antique', sans-serif;
  font-weight: 400;
  font-size: 15px;
  color: rgba(0, 0, 0, 0.87);
  line-height: 1.6;
}

.p-hero-image {
  width: 100%;
  position: relative;
  max-height: 320px;
}

.p-hero-image__container {
  width: 100%;
  height: 100%;
}

.p-hero-image__container img {
  width: 100%;
  height: 100%;
  max-height: 320px;
  object-fit: cover;
}

.p-hero-image__container.p-hero-image__container--service img {
  max-height: 320px;
  object-fit: cover;
}

.p-article__wrapper {
  display: flex;
  justify-content: center;
}

.p-article__main {
  max-width: 960px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.p-article__main.p-article__main--single {
  gap: 48px;
}

.p-article__headWrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.p-article__head {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.p-article__main-title {
  font-family: 'Zen Kaku Gothic Antique', sans-serif;
  font-weight: 700;
  font-size: 30px;
  color: rgba(0, 0, 0, 0.87);
  line-height: 1.6;
  text-align: center;
}

.p-article__main-description {
  font-family: 'Zen Kaku Gothic Antique', sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: #474747;
  line-height: 1.8;
}

.p-article__description p {
  font-family: 'Zen Kaku Gothic Antique', sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: #474747;
  line-height: 1.8;
}

.p-service-features {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.p-systems-handled {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.p-lab-strengths {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.p-lab-strengths__content {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.p-lab-strengths__images {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.p-use-cases {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.p-implementation-flow {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.p-contact-form {
  width: 100%;
}

.p-related-content {
  padding: 40px 0 100px;
}

.p-related-content__wrapper {
  display: flex;
  gap: 80px;
}

.p-related-content__column {
  flex: 1;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 40px;
  overflow: hidden;
}

.p-other-services {
  padding: 80px 0;
}

.p-other-services__content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

.p-service-detail {
  padding: 100px 0;
}

.p-service-detail--gray {
  background: #eceef0;
}

.p-service-detail--white {
  background: #ffffff;
}

.p-service-detail__content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.p-service-detail__title {
  font-family: 'Zen Kaku Gothic Antique', sans-serif;
  font-weight: 700;
  font-size: 32px;
  color: #004aad;
  line-height: 1.6;
}

.p-service-detail__body {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.p-service-detail__image {
  width: 400px;
  height: 240px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}

.p-service-detail__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p-service-detail__text-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px 0;
  min-height: 240px;
}

.p-service-detail__description {
  flex: 1;
}

.p-service-detail__description p {
  font-family: 'Zen Kaku Gothic Antique', sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #474747;
  line-height: 1.6;
}

.p-service-detail__link-wrapper {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
}

.p-case-grid {
  background: #ffffff;
  padding: 40px 0 100px;
}

.p-case-grid__content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}

.p-resource-detail {
  background: #ffffff;
  padding: 60px 0 100px;
}

.p-resource-detail__layout {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

.p-resource-detail__info {
  flex: 1;
  min-width: 0;
}

.p-resource-detail__form {
  flex-shrink: 0;
}

.p-page {
  background: #ffffff;
  padding: 60px 0 100px;
}

.p-page__content {
  display: flex;
  justify-content: center;
}

.p-page__article {
  max-width: 800px;
  width: 100%;
}

.p-page__article h1 {
  font-family: 'Zen Kaku Gothic Antique', sans-serif;
  font-weight: 700;
  font-size: 32px;
  color: rgba(0, 0, 0, 0.87);
  line-height: 1.4;
  margin-bottom: 40px;
}

.p-page__article h2 {
  font-family: 'Zen Kaku Gothic Antique', sans-serif;
  font-weight: 700;
  font-size: 24px;
  color: rgba(0, 0, 0, 0.87);
  line-height: 1.6;
  margin-top: 40px;
  margin-bottom: 20px;
  padding: 8px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.12);
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.p-page__article h3 {
  font-family: 'Zen Kaku Gothic Antique', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: rgba(0, 0, 0, 0.87);
  line-height: 1.4;
  margin-top: 24px;
  margin-bottom: 12px;
}

.p-page__article p {
  font-family: 'Zen Kaku Gothic Antique', sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #474747;
  line-height: 1.6;
  margin-bottom: 0;
}

.p-page__article ol {
  padding-left: 24px;
  margin: 16px 0;
}

.p-page__article ol li {
  font-family: 'Zen Kaku Gothic Antique', sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #474747;
  line-height: 1.6;
  margin-bottom: 8px;
}

.p-page__article address {
  font-style: normal;
  margin: 20px 0;
}

.p-page__article address p {
  font-family: 'Zen Kaku Gothic Antique', sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #474747;
  line-height: 1.6;
}

.p-page__article footer {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.12);
}

.p-page__article footer p {
  font-family: 'Zen Kaku Gothic Antique', sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #474747;
  line-height: 1.6;
}

@media (max-width: 767px) {

  .p-kv {
    padding: 40px 0;
  }

  .p-kv__content {
    flex-direction: column;
    gap: 32px;
  }

  .p-kv__description {
    max-width: 100%;
  }

  .p-hero-image {
    height: 200px;
  }

  .p-hero-image__container.p-hero-image__container--service img {
    max-height: 200px;
    object-fit: cover;
  }

  .p-article {
    padding: 40px 0 60px;
  }

  .p-article__main {
    width: 100%;
    gap: 40px;
  }

  .p-article__main-title {
    font-size: 24px;
  }

  .p-article__main-description {
    font-size: 14px;
  }

  .p-article__description p {
    font-size: 14px;
  }

  .p-service-features,
  .p-systems-handled,
  .p-lab-strengths__content,
  .p-use-cases,
  .p-implementation-flow {
    gap: 32px;
  }

  .p-contact {
    padding: 30px 0 60px;
  }

  .p-contact__layout {
    flex-direction: column;
    gap: 40px;
  }

  .p-related-content {
    padding: 20px 0 60px;
  }

  .p-related-content__wrapper {
    flex-direction: column;
    gap: 40px;
  }

  .p-other-services {
    padding: 40px 0;
  }

  .p-other-services__content {
    flex-direction: column;
    gap: 32px;
    align-items: center;
  }

  .p-service-detail {
    padding: 60px 0;
  }

  .p-service-detail__title {
    font-size: 24px;
  }

  .p-service-detail__body {
    flex-direction: column;
    gap: 24px;
  }

  .p-service-detail__image {
    width: 100%;
    height: 200px;
    align-self: stretch;
  }

  .p-service-detail__text-content {
    min-height: auto;
    gap: 20px;
  }

  .p-service-detail__description p {
    font-size: 14px;
  }

  .p-problems,
  .p-services {
    padding: 40px 0;
  }

  .p-problems__content,
  .p-services__content {
    flex-direction: column;
    gap: 32px;
  }

  .p-content {
    padding: 20px 0 60px;
  }

  .p-content__wrapper {
    flex-direction: column;
    gap: 40px;
  }

  .p-filter__container {
    padding: 24px;
  }

  .p-filter__content {
    flex-direction: column;
    gap: 16px;
    align-items: left;
  }

  .p-filter__categories {
    width: 100%;
    gap: 20px;
  }

  .p-problem-section {
    padding: 60px 0;
  }

  .p-problem-section__content {
    gap: 32px;
  }

  .p-documents {
    padding: 20px 0 60px;
  }

  .p-documents__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .p-article__layout {
    flex-direction: column;
    gap: 32px;
  }

  .p-article__main {
    max-width: 100%;
  }

  .p-article__sidebar {
    position: relative;
    width: 100%;
    top: 0;
  }

  .p-resource-detail {
    padding: 30px 0 60px;
  }

  .p-resource-detail__layout {
    flex-direction: column;
    gap: 40px;
  }

  .p-resource-detail__info {
    order: 1;
  }

  .p-resource-detail__form {
    order: 2;
  }

  .p-page {
    padding: 30px 0 60px;
  }

  .p-page__article h1 {
    font-size: 28px;
    margin-bottom: 32px;
  }

  .p-page__article h2 {
    font-size: 20px;
    margin-top: 32px;
    margin-bottom: 16px;
    padding: 6px 0;
  }

  .p-page__article h3 {
    font-size: 16px;
    margin-top: 20px;
    margin-bottom: 8px;
  }

  .p-page__article p,
  .p-page__article ol li,
  .p-page__article address p,
  .p-page__article footer p {
    font-size: 14px;
  }

  .p-page__article ol {
    padding-left: 16px;
    margin: 12px 0;
  }

  .p-page__article ol li {
    margin-bottom: 6px;
  }

  .p-page__article footer {
    margin-top: 32px;
    padding-top: 16px;
  }

  .p-contact__form {
    width: 100%;
  }

}

@media (max-width: 480px) {
  .p-kv {
    padding: 32px 0;
  }

  .p-filter {
    padding: 0;
  }

  .p-cta__content {
    gap: 32px;
  }

  .p-article__main-title {
    font-size: 20px;
  }

  .p-service-detail__title {
    font-size: 20px;
  }

  .p-cta__content {
    gap: 32px;
  }

  .p-page__article h1 {
    font-size: 24px;
  }

  .p-page__article h2 {
    font-size: 18px;
  }

  .p-page__article h3 {
    font-size: 15px;
  }

  .p-page__article p,
  .p-page__article ol li,
  .p-page__article address p,
  .p-page__article footer p {
    font-size: 13px;
  }

  .p-page__article ol {
    padding-left: 12px;
  }
}