.cms-public-content {
  width: min(920px, calc(100% - 48px));
  margin: 80px auto 112px;
}
.cms-public-content > h1 {
  font-weight: 700;
  text-align: center;
  font-size: 32px;
  margin-bottom: 56px;
}
.cms-public-content article {
  margin: 32px 0;
}
.cms-public-content article > p,
.cms-public-content blockquote {
  white-space: pre-wrap;
  text-align: justify;
  text-align-last: start;
  line-height: 1.9;
  margin: 24px 0;
}
.cms-public-content article > h3 {
  font-weight: 700;
  text-align: center;
  margin: 44px 0 24px;
  font-size: 21px;
}
.cms-public-content img {
  max-width: 100%;
  height: auto;
}
.cms-work-header {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  margin-bottom: 56px;
}
.cms-work-header h2 {
  font-weight: 700;
  font-size: 24px;
}
.cms-work-header img {
  max-width: 240px;
  max-height: 150px;
  object-fit: contain;
}
.cms-public-entries article {
  border-bottom: 1px solid #dce3d6;
  padding-bottom: 24px;
}
.cms-public-entries a {
  color: inherit;
  text-decoration: none;
}
.cms-contact-confirm {
  width: min(760px, calc(100% - 32px));
  padding: 32px;
  border: 0;
  border-radius: 12px;
  max-height: 90dvh;
  overflow: auto;
}
.cms-contact-confirm::backdrop {
  background: #18291c99;
}
.cms-contact-confirm dl {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 16px;
}
.cms-contact-confirm dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.cms-confirm-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 28px;
}
@media (max-width: 639px) {
  .cms-public-content {
    margin: 60px auto 80px;
  }
  .cms-public-content > h1 {
    font-size: 26px;
  }
  .cms-public-content article > h3 {
    font-size: 18px;
  }
  .cms-work-header {
    flex-direction: column;
    gap: 24px;
  }
  .cms-work-header h2 {
    font-size: 22px;
    text-align: center;
  }
  .cms-contact-confirm {
    padding: 22px;
  }
  .cms-contact-confirm dl {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .cms-contact-confirm dd {
    margin-bottom: 16px;
  }
  .cms-confirm-actions {
    flex-direction: column;
  }
}
.cms-public-table {
  overflow-x: auto;
  margin: 24px 0;
}
.cms-public-table table {
  border-collapse: collapse;
  width: 100%;
  min-width: 0;
  table-layout: fixed;
}
.cms-public-table table:has(tr > :nth-child(4)) {
  min-width: 640px;
  table-layout: auto;
}
.cms-public-table th,
.cms-public-table td {
  border: 1px solid #d4ddd1;
  padding: 12px;
  text-align: left;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.cms-public-table th {
  background: #edf3e7;
}

.company-details dl > div:has([data-cms-key="shared.company.representative"]:empty),
.company-details dl > div:has([data-cms-key="shared.company.address"]:empty) {
  display: none;
}

.ceo-section:has([data-cms-key="shared.company.representative"]:empty) {
  display: none;
}
