.page-main {
  padding-top: 48px;
  padding-bottom: 3rem;
}

.about-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.about-section {
  margin-bottom: 7rem;
}

.about-section:not(:first-child) .about-section-title {
  margin-top: 3rem;
}

.about-section:last-child {
  margin-bottom: 0;
}

.about-section-title {
  font-size: 2rem;
  font-weight: 700;
  color: #1f2937;
  margin: 0 0 1.75rem;
  text-align: center;
  line-height: 1.3;
  padding: 0 0.5rem;
}

.about-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: stretch;
}

.about-row--reverse .about-row-media {
  order: 2;
}

.about-row--reverse .about-row-text {
  order: 1;
}

.about-row-media {
  border-radius: 0.75rem;
  overflow: hidden;
  background: #e5e7eb;
  aspect-ratio: 4 / 3;
  min-height: 0;
}

.about-row-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-row-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  font-size: 1rem;
  line-height: 1.75;
  color: #4b5563;
}

.about-row-text p {
  margin: 0 0 1rem;
}

.about-row-text p:last-child {
  margin-bottom: 0;
}

body {
  overflow-x: hidden;
}

@media (max-width: 1023px) {
  .page-main {
    padding-top: 32px;
    padding-bottom: 2.5rem;
  }

  .about-inner {
    padding: 0;
  }

  .about-section {
    margin-bottom: 4rem;
  }

  .about-section:not(:first-child) .about-section-title {
    margin-top: 2rem;
  }

  .about-section-title {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
  }

  .about-row {
    gap: 2rem;
  }
}

@media (max-width: 640px) {
  .page-main {
    padding-top: 24px;
    padding-bottom: 2rem;
  }

  .about-section {
    margin-bottom: 3rem;
  }

  .about-section:not(:first-child) .about-section-title {
    margin-top: 1.5rem;
  }

  .about-section-title {
    font-size: 1.375rem;
    margin-bottom: 1.25rem;
    padding: 0;
  }

  .about-row,
  .about-row--reverse {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .about-row--reverse .about-row-media,
  .about-row--reverse .about-row-text {
    order: unset;
  }

  .about-row-media {
    aspect-ratio: 16 / 10;
  }

  .about-row-text {
    height: auto;
    display: block;
    font-size: 0.9375rem;
    line-height: 1.65;
  }

  .about-row-text p {
    margin-bottom: 0.875rem;
  }
}

@media (max-width: 480px) {
  .page-main {
    padding-top: 20px;
    padding-bottom: 1.75rem;
  }

  .about-section {
    margin-bottom: 2.5rem;
  }

  .about-section:not(:first-child) .about-section-title {
    margin-top: 1.25rem;
  }

  .about-section-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
  }

  .about-row {
    gap: 0.875rem;
  }

  .about-row-media {
    border-radius: 0.5rem;
    aspect-ratio: 3 / 2;
  }

  .about-row-text {
    font-size: 0.875rem;
    line-height: 1.6;
  }

  .about-row-text p {
    margin-bottom: 0.75rem;
  }
}
