/* About page: common.css is loaded first */
.about-main {
  width: min(100% - 40px, 1060px);
  margin: 42px auto 0;
  color: #111;
  font-size: 14px;
  line-height: 1.5;
}

.about-section {
  margin-bottom: 40px;
}

.about-heading {
  margin: 0 0 30px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.about-content {
  margin-left: 60px;
}

.about-content p {
  margin: 0;
}

.about-diagram {
  margin-top: 40px;
  margin-bottom: 52px;
}

.about-diagram .about-heading {
  margin-bottom: 18px;
}

.diagram-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  aspect-ratio: 900 / 260;
  min-height: 200px;
  padding: 20px;
  background: #d9d9d9;
  text-align: center;
}

.about-updates .about-heading {
  margin-bottom: 20px;
}

.update-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.update-list li {
  display: flex;
  align-items: baseline;
  gap: 16px;
}

.update-list time {
  flex: 0 0 94px;
  white-space: nowrap;
}

.updates-more-placeholder {
  display: inline-block;
  margin-top: 2px;
}
/* FigJam embed */

.diagram-embed {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.diagram-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 1px solid #ddd;
  box-sizing: border-box;
}
/* Update log toggle */

.updates-toggle {
  display: inline-block;
  margin-top: 2px;
  padding: 0;
  border: none;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
  text-align: left;
}

.updates-toggle:hover {
  opacity: 0.6;
}

.updates-toggle[hidden] {
  display: none;
}

#updates-status:empty {
  display: none;
}

@media (max-width: 600px) {
  .about-main {
    width: calc(100% - 40px);
    margin-top: 28px;
  }

  .about-content {
    margin-left: 0;
  }

  .about-heading {
    margin-bottom: 16px;
  }

  .about-section {
    margin-bottom: 36px;
  }

  .diagram-placeholder {
    min-height: 180px;
    aspect-ratio: auto;
  }

  .update-list li {
    display: block;
    margin-bottom: 8px;
  }

  .update-list time {
    display: block;
  }
}
