body.about-page .site-main {
  padding-top: 80px;
  background: #fff;
}

.about-page-section {
  padding: 90px 0 100px;
  background: #fff;
}

.about-page-container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.about-hero {
  margin-bottom: 56px;
  display: flex;
  flex-direction: column;
  gap: 42px;
  align-items: center;
}

.about-hero.has-image {
  display: flex;
  flex-direction: column;
}

.about-hero-image {
  width: 100%;
  overflow: hidden;
  background: #f3f4f5;
}

.about-hero-image img {
  width: 100%;
  height: auto;
  min-height: 420px;
  object-fit: cover;
  display: block;
}

.about-hero-content {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.about-hero-content h1 {
  margin: 0;
  color: #08253d;
  font-size: clamp(42px, 5vw, 72px);
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: -2px;
}

.about-hero-content p {
  max-width: 760px;
  margin: 24px auto 0;
  color: rgba(51, 40, 32, 0.72);
  font-size: 18px;
  line-height: 1.75;
}

.about-content {
  max-width: 1000px;
  margin: 0 auto;
}

.ckeditor-content {
  color: #332820;
  font-size: 16px;
  line-height: 1.78;
}

.ckeditor-content > *:first-child {
  margin-top: 0;
}

.ckeditor-content > *:last-child {
  margin-bottom: 0;
}

.ckeditor-content h1,
.ckeditor-content h2,
.ckeditor-content h3,
.ckeditor-content h4,
.ckeditor-content h5,
.ckeditor-content h6 {
  margin: 1.45em 0 0.65em;
  color: #08253d;
  line-height: 1.2;
  font-weight: 800;
}

.ckeditor-content h1 {
  font-size: 42px;
}

.ckeditor-content h2 {
  font-size: 34px;
}

.ckeditor-content h3 {
  font-size: 27px;
}

.ckeditor-content h4 {
  font-size: 22px;
}

.ckeditor-content p {
  margin: 0 0 1.15em;
}

.ckeditor-content a {
  color: #e97922;
  font-weight: 700;
  text-decoration: none;
}

.ckeditor-content a:hover {
  text-decoration: underline;
}

.ckeditor-content ul,
.ckeditor-content ol {
  margin: 0 0 1.25em 1.4em;
  padding: 0;
}

.ckeditor-content li {
  margin-bottom: 0.45em;
}

.ckeditor-content blockquote {
  margin: 30px 0;
  padding: 4px 0 4px 24px;
  border-left: 4px solid #e97922;
  color: #08253d;
  font-size: 19px;
  line-height: 1.65;
  font-weight: 600;
}

.ckeditor-content img {
  max-width: 100%;
  height: auto;
  display: block;
}

.ckeditor-content figure {
  margin: 32px 0;
}

.ckeditor-content figure img {
  margin: 0 auto;
}

.ckeditor-content figcaption {
  margin-top: 10px;
  color: rgba(51, 40, 32, 0.58);
  font-size: 14px;
  text-align: center;
}

.ckeditor-content table {
  width: 100%;
  margin: 30px 0;
  border-collapse: collapse;
  background: #fff;
}

.ckeditor-content th,
.ckeditor-content td {
  padding: 14px 16px;
  border: 1px solid rgba(45, 37, 30, 0.16);
  text-align: left;
  vertical-align: top;
}

.ckeditor-content th {
  color: #08253d;
  background: #f3f4f5;
  font-weight: 800;
}

.ckeditor-content iframe,
.ckeditor-content video {
  max-width: 100%;
}

.ckeditor-content .image-style-side {
  max-width: 46%;
  float: right;
  margin: 8px 0 18px 28px;
}

.ckeditor-content .image-style-align-left {
  float: left;
  max-width: 46%;
  margin: 8px 28px 18px 0;
}

.ckeditor-content .image-style-align-center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.ckeditor-content::after {
  content: "";
  clear: both;
  display: table;
}

@media (max-width: 991px) {
  body.about-page .site-main {
    padding-top: 60px;
  }

  .about-page-section {
    padding: 70px 0 80px;
  }

  .about-hero {
    gap: 34px;
    margin-bottom: 44px;
  }

  .about-hero-image img {
    min-height: 340px;
  }
}

@media (max-width: 575px) {
  .about-page-section {
    padding: 46px 0 64px;
  }

  .about-page-container {
    width: min(100% - 28px, 1180px);
  }

  .about-hero {
    gap: 28px;
    margin-bottom: 34px;
  }

  .about-hero-image img {
    min-height: 260px;
  }

  .about-hero-content h1 {
    font-size: 38px;
    letter-spacing: -1px;
  }

  .about-hero-content p {
    font-size: 15px;
  }

  .ckeditor-content {
    font-size: 15px;
  }

  .ckeditor-content h1 {
    font-size: 32px;
  }

  .ckeditor-content h2 {
    font-size: 27px;
  }

  .ckeditor-content h3 {
    font-size: 23px;
  }

  .ckeditor-content table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  .ckeditor-content .image-style-side,
  .ckeditor-content .image-style-align-left {
    float: none;
    max-width: 100%;
    margin: 22px 0;
  }
}
