/* Blog layout (uses resume theme tokens via linked resume.min.css) */

.blog-page {
  padding-top: 0;
  padding-left: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(180deg, rgba(23, 162, 184, 0.06), transparent 12rem),
    #fff;
}

.blog-header {
  border-bottom: 1px solid #e9ecef;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.blog-header-inner {
  max-width: 42rem;
  margin: 0 auto;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.blog-brand {
  font-family: "Saira Extra Condensed", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #212529 !important;
  text-decoration: none;
}

.blog-brand:hover {
  color: #17a2b8 !important;
}

.blog-nav {
  display: flex;
  gap: 1rem;
  font-family: "Saira Extra Condensed", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.blog-nav a {
  color: #868e96;
  text-decoration: none;
}

.blog-nav a:hover,
.blog-nav a[aria-current="page"] {
  color: #17a2b8;
}

.blog-main {
  flex: 1;
  max-width: 42rem;
  width: 100%;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
}

.blog-footer {
  border-top: 1px solid #e9ecef;
  padding: 1.25rem;
  text-align: center;
  color: #868e96;
  font-size: 0.9rem;
}

.blog-footer a {
  color: #17a2b8;
}

.blog-index-header h1,
.blog-post-header h1 {
  font-size: clamp(2.5rem, 8vw, 3.5rem);
  line-height: 1.1;
  margin-bottom: 0.75rem;
}

.blog-lead {
  color: #868e96;
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.blog-meta {
  color: #868e96;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

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

.blog-post-list li {
  padding: 1.25rem 0;
  border-top: 1px solid #e9ecef;
}

.blog-post-list li:last-child {
  border-bottom: 1px solid #e9ecef;
}

.blog-post-list a {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  text-decoration: none;
  color: inherit;
}

.blog-post-list time {
  color: #868e96;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.blog-post-title {
  font-family: "Saira Extra Condensed", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  font-size: 1.75rem;
  text-transform: uppercase;
  color: #212529;
}

.blog-post-list a:hover .blog-post-title {
  color: #17a2b8;
}

.blog-post-list p {
  margin: 0.5rem 0 0;
  color: #868e96;
}

.blog-content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #495057;
}

.blog-content h2,
.blog-content h3 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  text-transform: none;
  letter-spacing: normal;
}

.blog-content h2 {
  font-size: 1.75rem;
}

.blog-content h3 {
  font-size: 1.35rem;
}

.blog-content a {
  color: #17a2b8;
}

.blog-content pre {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 0.25rem;
  padding: 1rem;
  overflow-x: auto;
  font-size: 0.9rem;
}

.blog-content code {
  font-size: 0.9em;
}

.blog-content :not(pre) > code {
  background: #f8f9fa;
  padding: 0.1em 0.35em;
  border-radius: 0.2rem;
}

.blog-content ul,
.blog-content ol {
  padding-left: 1.25rem;
}

.blog-back {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e9ecef;
}

.blog-back a {
  color: #17a2b8;
  text-decoration: none;
  font-family: "Saira Extra Condensed", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 500;
}

.blog-back a:hover {
  text-decoration: underline;
}
