/**
 * post-page.css — shared styles for blog post pages · procyclingapparel.com
 * Used by every HTML file with <meta name="post_article" content="true">.
 *
 * What stays inline in the HTML (post-optimizer contract — Step 11 greps the page itself):
 *   - .article-content img { ... }
 *   - .toc-nav max-height: 70px / .toc-nav.expanded
 *
 * Palette (_DESIGN-SYSTEM.md §0): ink #111827 · g-100 #F3F4F6 · g-200 #E5E7EB ·
 * g-600 #4B5563 · red #DC2626 for CTA fills only · amber #F59E0B for :focus-visible only.
 */

/* Breadcrumb + author/date strip (post-optimizer breadcrumb Template B) */
.article-meta-wrap { padding: 20px 0 8px; }
.article-meta .breadcrumb { background: transparent; }
.article-meta a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.article-meta a:hover { text-decoration-thickness: 2px; }

/* YouTube / Vimeo embed — responsive 16:9 wrapper */
.video-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 10px;
  margin: 32px 0;
  background: var(--ink, #111827);
}
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Author card at article end */
.author-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--g-100, #F3F4F6);
  padding: 24px 28px;
  border-radius: 10px;
  margin: 48px 0 0;
}
.author-card img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; margin: 0; flex: none; }
.author-card-name { font: 600 19px/1.3 var(--ff-head, "IBM Plex Sans Condensed", Arial, sans-serif); color: var(--ink, #111827); margin: 0; }
.author-card-meta { font-size: 15px; color: var(--g-600, #4B5563); margin: 4px 0 0; }

/* Keyboard focus — amber is the only place this colour appears */
.article-page a:focus-visible,
.blog-hero a:focus-visible,
.article-sidebar a:focus-visible { outline: 3px solid var(--amber, #F59E0B); outline-offset: 2px; }

/* Print: B2B readers take articles into meetings */
@media print {
  .dm-menu, #dynamic-menu-container, #site-footer, .ft-footer,
  .article-sidebar, .sidebar-cta, .cta-banner-section, .skip-link { display: none !important; }
  .blog-hero { background: #fff !important; color: var(--ink, #111827) !important; padding: 0 0 24px; }
  .blog-hero h1, .blog-hero .breadcrumb, .blog-hero .article-info { color: var(--ink, #111827) !important; }
  .article-page .row { display: block; }
  .article-content { max-width: none; }
  .article-content a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .85em; color: var(--g-600, #4B5563); }
  h2, h3 { page-break-after: avoid; }
  table, blockquote, figure, img { page-break-inside: avoid; }
}
