.project-article-template {
  padding: 42px 0 72px;
  background: linear-gradient(180deg, #fbf8f1 0%, #fff 220px, #fff 100%);
}

.project-article-template__container {
  width: min(100% - 32px, 1080px);
}

.project-article-template__header {
  margin: 0 auto 34px;
  text-align: center;
}

.project-article-template__eyebrow {
  margin-bottom: 10px;
  color: #bf8641;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.project-article-template__title {
  margin: 0;
  color: #0b4b75;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.18;
}

.project-article-template__intro {
  width: min(100%, 900px);
  margin: 20px auto 0;
  color: #29475e;
  font-size: 1.05rem;
}

.project-article-template__content {
  display: grid;
  gap: 34px;
}

.project-article-section {
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(11, 75, 117, 0.08);
}

.project-article-section:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.project-article-section__title {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  margin: 0 0 22px;
  padding: 0 0 0 18px;
  color: #0b4b75;
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  line-height: 1.25;
}

.project-article-section__title::before {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  border-radius: 999px;
  background: linear-gradient(180deg, #bf8641 0%, #0b4b75 100%);
  content: "";
}

.project-article-section__title::after {
  position: absolute;
  left: 18px;
  right: 0;
  bottom: -10px;
  width: 82px;
  height: 2px;
  background: linear-gradient(90deg, #bf8641 0%, rgba(191, 134, 65, 0) 100%);
  content: "";
}

.project-article-section__title {
  color: #0b4b75;
  font-weight: 700;
}

.project-article-richtext {
  color: #29475e;
  line-height: 1.8;
}

.project-article-richtext p:first-child,
.project-article-richtext ul:first-child,
.project-article-richtext ol:first-child,
.project-article-richtext table:first-child {
  margin-top: 0;
}

.project-article-richtext p:last-child,
.project-article-richtext ul:last-child,
.project-article-richtext ol:last-child,
.project-article-richtext table:last-child {
  margin-bottom: 0;
}

.project-article-richtext img {
  display: block;
  width: 100%;
  height: auto;
  margin: 18px auto;
  border-radius: 16px;
}

.project-article-richtext figure {
  margin: 18px 0;
}

.project-article-richtext ul,
.project-article-richtext ol {
  padding-left: 22px;
}

.project-article-richtext table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(11, 75, 117, 0.08);
}

.project-article-richtext th,
.project-article-richtext td {
  padding: 14px 16px;
  border: 1px solid rgba(11, 75, 117, 0.08);
  vertical-align: top;
}

.project-article-richtext th {
  width: 30%;
  background: #0b4b75;
  color: #fff;
  text-align: left;
}

.project-article-richtext blockquote {
  margin: 20px 0;
  padding: 16px 20px;
  border-left: 4px solid #bf8641;
  background: #f8f3ea;
  color: #0b4b75;
}

@media (max-width: 768px) {
  .project-article-template {
    padding: 28px 0 56px;
  }

  .project-article-template__header {
    margin-bottom: 28px;
  }

  .project-article-section {
    padding-bottom: 24px;
  }

  .project-article-section__title {
    min-height: 42px;
    padding-left: 16px;
  }

  .project-article-richtext th,
  .project-article-richtext td {
    display: block;
    width: 100%;
  }
}
