/* Static pages: big title, the corporate menu as a strip under it, and the
   text on the same left edge as stories (the 860 px reading container). */

.g-page {
  max-width: 860px;
  padding: 20px 16px 24px;
}

.g-page > * {
  margin-block: 0 16px;
}

.g-corp-nav ul {
  display: flex;
  gap: 4px;
  margin: 0 -16px;
  padding: 0 16px;
  overflow-x: auto;
  list-style: none;
  scrollbar-width: none;
}

.g-corp-nav ul::-webkit-scrollbar {
  display: none;
}

.g-corp-nav a {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding-inline: 12px;
  border: 1px solid color-mix(in srgb, var(--wp--preset--color--stone) 35%, transparent);
  color: inherit;
  font-size: 0.875rem;
  white-space: nowrap;
  text-decoration: none;
}

.g-corp-nav a[aria-current="page"] {
  border-color: var(--wp--preset--color--brand);
  background: var(--wp--preset--color--brand);
  color: #ffffff;
}

.g-page .wp-block-post-content,
.g-page .gorunum-kunye {
  max-width: 720px;
  font-size: var(--wp--preset--font-size--body);
  line-height: 1.65;
}

.g-page .wp-block-post-content h2 {
  margin-top: 1.6em;
  font-size: var(--wp--preset--font-size--title-lg);
}

.g-page .wp-block-post-content a {
  color: var(--wp--preset--color--brand-deep);
}

@media (min-width: 1024px) {
  .g-page {
    padding: 32px 32px 40px;
  }

  /* Wide screens have room: the strip wraps instead of scrolling. */
  .g-corp-nav ul {
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    overflow: visible;
  }
}

/* Static text starts at the same edge as a story's. */
@media (min-width: 1100px) {
  .g-page {
    max-width: 980px;
    padding-inline: 116px 84px;
  }
}
