/* Card 178: Blog navigation and a single reading column in the approved shell.
   Heading, body and action use the site's existing type roles. Related copy is
   16px apart; the return action is 32px below it. The same sequence stacks on
   narrow screens; there are no article cards until approved posts are supplied. */
.blog-page {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

.blog-main {
  flex: 1;
  display: grid;
  align-items: center;
  padding: clamp(64px, 12vh, 120px) 0;
}

.blog-main > .container {
  width: 100%;
}

.blog-content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.blog-content h1 {
  font-size: clamp(2.1rem, 5vw, 2.6rem);
}

.blog-description {
  margin-top: 16px;
}

.blog-home-link {
  margin-top: 32px;
}

.site-nav .nav-link {
  color: var(--ink);
}

.blog-page .nav-link[aria-current="page"] {
  font-weight: 700;
}

/* The existing pale-blue navigation and hover fills need dark text. */
.blog-page .nav-cta,
.blog-page .cta-btn:hover {
  color: var(--ink);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin: 0;
  white-space: nowrap;
}

@media (max-width: 600px) {
  .site-nav .container {
    gap: 16px;
    padding-right: 16px;
  }
  .site-nav .nav-logo {
    min-width: 0;
    min-height: 44px;
  }
  .site-nav .nav-logo img {
    width: 100%;
    height: auto;
    max-height: 26px;
  }
  .site-nav .nav-links,
  .site-nav .nav-cta {
    flex-shrink: 0;
    white-space: nowrap;
  }
  .site-nav .nav-cta,
  .site-nav .nav-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html:has(.blog-page) {
    scroll-behavior: auto;
  }
  .blog-page .cta-btn {
    transition: none;
    transform: none;
  }
}
