/* WingmanWP 2026: WordPress integration layer. Keeps the verbatim design in wingman.css untouched. */

/* Base font: the mockup set Manrope on :root; make sure form controls and WP markup inherit it. */
body.wm-site { font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif; }

/* Brand is a link here (a button in the mockup). */
a.brand { text-decoration: none; color: inherit; }

/* Logos carry intrinsic width/height attributes for layout stability; let CSS height drive the size. */
.brand img, .foot-brand img { width: auto; }

.btn[disabled] { opacity: .6; cursor: progress; }

/* Logged-in admin bar: keep the sticky header and mobile panel below it. */
.admin-bar header.site { top: 32px; }
.admin-bar .mobile-panel { top: calc(84px + 32px); }
@media screen and (max-width: 782px) {
  .admin-bar header.site { top: 46px; }
  .admin-bar .mobile-panel { top: calc(84px + 46px); }
}
@media screen and (max-width: 600px) {
  .admin-bar header.site { top: 0; }
  .admin-bar .mobile-panel { top: 84px; }
}

/* Lock page scroll behind the open mobile menu. */
body.wm-site:has(.mobile-panel.open) { overflow: hidden; }

/* Thanks page: white button on the blue hero (same treatment as .cta-band). */
.contact-hero .wm-hero-btn { margin-top: 30px; background: #fff; color: var(--blue-deep); }
.contact-hero .wm-hero-btn:hover { background: #eaf1fb; }

/* Registered-trademark symbol on the logo mark (U.S. Reg. No. 8,449,291). */
.wm-mark { display: inline-flex; align-items: flex-start; }
.wm-reg { font-size: 9px; font-weight: 600; line-height: 1; margin-left: 2px; top: 0; position: static; color: var(--ink); }
.foot-brand .wm-mark { margin-bottom: 16px; }
.foot-brand .wm-mark img { margin-bottom: 0; }
.foot-brand .wm-reg { font-size: 10px; color: var(--on-navy); }
.foot-legal { margin: 14px 0 0; font-size: 12px; line-height: 1.5; color: var(--on-navy-muted); opacity: .75; }

/* Home hero: trust cards span the full content width in three columns, below the copy + art. */
.hero-copy .cta-row { margin-bottom: 0; }
.trust-row.trust-row--full {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  margin-top: 56px; padding-top: 0;
  animation: heroFadeUp .7s ease both; animation-delay: .32s;
}
.trust-row--full .trust-item { max-width: none; padding: 18px 20px; }
@media (max-width: 900px) { .trust-row.trust-row--full { margin-top: 8px; gap: 14px; } }
@media (max-width: 700px) { .trust-row.trust-row--full { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .trust-row.trust-row--full { animation: none !important; } }

/* Section heads whose h2 should run on one line where the screen allows; body copy keeps the 640px measure. */
.section-head--wide { max-width: none; }
.section-head--wide p { max-width: 640px; }
@media (min-width: 641px) { .section-head--wide h2 { white-space: nowrap; } }

/* CTA bands (every page): let the copy column use all the width beside the button instead of a 20ch cap. */
.cta-band-inner > div:first-child { flex: 1 1 0; min-width: 0; }
.cta-band h2 { max-width: none; text-wrap: balance; }
.cta-band .cta-sub { max-width: 64ch; }
.cta-band-inner > div:last-child { flex: 0 0 auto; width: min-content; }
.cta-band .btn { white-space: nowrap; }
.cta-band .cta-note { line-height: 1.45; text-wrap: balance; }
@media (max-width: 760px) {
  .cta-band-inner > div:first-child { flex-basis: 100%; }
  .cta-band-inner > div:last-child { width: auto; }
}

/* CTA bands: centre the button on the heading + subline (not on the icon above them). The note hangs below the button. */
@media (min-width: 761px) {
  .cta-band-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 40px; align-items: center; }
  .cta-band-inner > div:first-child { display: contents; }
  .cta-band-inner .cta-icon { grid-column: 1; grid-row: 1; }
  .cta-band-inner h2 { grid-column: 1; grid-row: 2; align-self: end; }
  .cta-band-inner .cta-sub { grid-column: 1; grid-row: 3; align-self: start; }
  .cta-band-inner > div:last-child { grid-column: 2; grid-row: 2 / 4; align-self: center; position: relative; }
  .cta-band-inner .cta-note { position: absolute; top: 100%; left: 0; right: 0; }
}
@media (max-width: 760px) {
  .cta-band-inner > div:last-child { align-items: flex-start; }
  .cta-band .cta-note { text-align: left; }
}

/* Footer legal links (Privacy Policy, Site Terms). */
.foot-legal-links { display: flex; gap: 20px; flex-wrap: wrap; }
.foot-legal-links a { color: var(--on-navy-muted); text-decoration: none; }
.foot-legal-links a:hover { color: var(--on-navy); }
@media (max-width: 600px) { .foot-legal-links a { padding: 7px 0; } }

/* Legal pages: block content set as a long-form reading column in the 2026 type system. */
.wm-legal-hero .contact-orb.o1 { left: auto; right: -40px; }
.wm-legal { font-size: 16px; line-height: 1.75; color: var(--body-text); }
.wm-legal > :first-child { margin-top: 0; }
.wm-legal h2 {
  font-weight: 300; font-size: clamp(24px, 2.6vw, 30px); line-height: 1.2; letter-spacing: -0.01em;
  color: var(--ink); margin: 52px 0 14px; padding-top: 30px; border-top: 1px solid var(--line);
}
.wm-legal > h2:first-child { padding-top: 0; border-top: none; }
.wm-legal h3 { font-weight: 700; font-size: 17px; color: var(--ink); margin: 28px 0 8px; }
.wm-legal p, .wm-legal ul, .wm-legal ol { margin: 0 0 16px; max-width: 70ch; }
.wm-legal ul, .wm-legal ol { padding-left: 22px; }
.wm-legal li { margin-bottom: 8px; }
.wm-legal li::marker { color: var(--blue); }
.wm-legal strong { color: var(--ink); font-weight: 700; }
.wm-legal a { color: var(--blue); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.wm-legal a:hover { text-decoration-thickness: 2px; }
.wm-legal hr { border: none; border-top: 1px solid var(--line); margin: 40px 0; }
.wm-legal .wm-legal-summary {
  background: var(--blue-soft); border-left: 3px solid var(--blue); border-radius: 3px;
  padding: 20px 24px; margin: 0 0 8px; max-width: none;
}
.wm-legal .wm-legal-summary p:last-child, .wm-legal .wm-legal-summary ul:last-child { margin-bottom: 0; }

/* ---------- Gravity Forms: 2026-Contact, styled to the design's .field system (GF theme CSS is off on these templates) ---------- */
.contact-card .gform_wrapper form { margin: 0; }
.contact-card .gform_fields { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 18px; row-gap: 0; }
.contact-card .gfield { grid-column: span 12; margin: 0 0 20px; min-width: 0; border: 0; padding: 0; }
.contact-card .gfield--width-half { grid-column: span 6; }
@media (max-width: 520px) { .contact-card .gfield--width-half { grid-column: span 12; } }
.contact-card .gform_validation_container,
.contact-card .gfield--type-honeypot { display: none !important; }
.contact-card .gfield_label { display: block; font-size: 13.5px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.contact-card .gfield_required { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.contact-card .gfield input[type="text"],
.contact-card .gfield input[type="email"],
.contact-card .gfield textarea,
.contact-card .gfield select {
  width: 100%; border: 1px solid var(--line); border-radius: 3px; padding: 13px 14px; margin: 0;
  font-family: inherit; font-size: 15px; line-height: 1.4; color: var(--ink); background: var(--paper);
}
.contact-card .gfield input::placeholder, .contact-card .gfield textarea::placeholder { color: #757575; opacity: 1; }
.contact-card .gfield input:focus, .contact-card .gfield textarea:focus, .contact-card .gfield select:focus { outline: 2px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
.contact-card .gfield textarea { resize: vertical; height: 130px; min-height: 130px; display: block; }
.contact-card .gform_footer { margin: 0; padding: 0; display: flex; align-items: center; gap: 12px; }
.contact-card .gform_footer .gform_ajax_spinner { width: 20px; height: 20px; }
.contact-card .gform_button.btn[disabled] { opacity: .6; cursor: progress; }

/* Validation */
.contact-card .gform_validation_errors { margin: 0 0 22px; padding: 14px 16px; background: #fdf0f0; border-left: 3px solid #dc2626; border-radius: 3px; }
.contact-card .gform_validation_errors:focus { outline: none; }
.contact-card .gform_submission_error { margin: 0; font-size: 14.5px; font-weight: 700; color: #991b1b; line-height: 1.45; }
.contact-card .gform_validation_errors .gform-icon, .contact-card .gform_validation_errors ol { display: none; }
.contact-card .gfield_error input, .contact-card .gfield_error textarea, .contact-card .gfield_error select { border-color: #dc2626; }
.contact-card .validation_message { margin-top: 7px; font-size: 13px; font-weight: 600; color: #b91c1c; }

/* Inline confirmation (only used if the GF confirmation is switched from the Thanks-page redirect to a message). */
.contact-card .gform_confirmation_message { padding: 20px 22px; background: var(--blue-soft); border-left: 3px solid var(--blue); border-radius: 3px; font-size: 15px; color: var(--ink); }

/* ---------- Blog: posts index, post archives and single posts, built from the home page's hero, trust row and teaser cards ---------- */
.wm-post .sep, .wm-site .eyebrow .sep, .post-card-meta .sep { margin: 0 8px; opacity: .55; }
.eyebrow a { color: inherit; text-decoration: none; }
.eyebrow a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Hero: the home .hero grid. Post titles run longer than the home headline, so they get a slightly smaller scale. */
h1.hero-head.post-title { font-size: clamp(34px, 4.4vw, 52px); line-height: 1.08; max-width: 18ch; text-wrap: balance; }
.hero-grid--solo { grid-template-columns: 1fr; }
.hero-grid--solo .hero-sub { max-width: 60ch; }
.post-hero .cta-row, .blog-hero .cta-row { margin-bottom: 0; }

/* Browser-window frame: the home hero art, holding a featured image. */
.post-hero-art { padding: 24px 0; animation: heroFadeUp .7s ease both; animation-delay: .2s; }
.wm-window {
  display: block; position: relative; overflow: hidden; text-decoration: none; color: inherit;
  background: var(--paper); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 1px 2px rgba(15,23,42,0.05), 0 18px 40px rgba(15,23,42,0.1);
}
.wm-window-bar { display: flex; align-items: center; gap: 7px; height: 42px; padding: 0 18px; background: var(--mist); }
.wm-window-bar i { width: 10px; height: 10px; border-radius: 50%; background: #f87171; }
.wm-window-bar i:nth-child(2) { background: #fbbf24; }
.wm-window-bar i:nth-child(3) { background: #4ade80; }
.wm-window-bar b { flex: 0 1 230px; height: 14px; margin-left: 26px; border-radius: 7px; background: var(--paper); }
.wm-window-media { display: block; aspect-ratio: 1.91 / 1; background: var(--mist-2); overflow: hidden; }
.wm-window-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
a.wm-window:hover .wm-window-media img { transform: scale(1.03); }
.wm-window-brand {
  display: flex; align-items: center; justify-content: center; position: relative;
  background: linear-gradient(135deg, #0d5bb0 0%, var(--blue) 45%, var(--blue-deep) 100%);
}
.wm-window-brand::before {
  content: ""; position: absolute; right: -10%; top: -40%; width: 60%; height: 180%;
  background: repeating-linear-gradient(115deg, rgba(255,255,255,0.08) 0 10px, transparent 10px 26px);
  transform: skewX(-10deg);
}
.wm-window-media.wm-window-brand img { position: relative; width: 30%; height: auto; object-fit: contain; opacity: .92; }
.post-hero-caption { margin: 14px 0 0; font-size: 13.5px; color: var(--muted); text-align: center; }

/* Floating status pills, as on the home hero art. */
.float-pill {
  position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 9px; max-width: 70%;
  padding: 6px 18px 6px 6px; border-radius: 999px; color: #fff; font-size: 14.5px; font-weight: 700;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; box-shadow: 0 10px 22px rgba(15,23,42,0.16);
}
.float-pill .dot { width: 28px; height: 28px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.float-pill .dot svg { width: 15px; height: 15px; }
.float-pill.c-blue { background: #0a4b93; } .float-pill.c-blue .dot { color: #0a4b93; }
.float-pill.c-orange { background: #d97706; } .float-pill.c-orange .dot { color: #d97706; }
.float-pill.c-green { background: #15803d; } .float-pill.c-green .dot { color: #15803d; }
.post-hero-art .float-a { left: -22px; bottom: 4px; }
.post-hero-art .float-b { right: -16px; top: 4px; }
.post-hero-art .float-c { right: 28px; bottom: 4px; }
@media (max-width: 1260px) { .post-hero-art .float-a { left: -8px; } .post-hero-art .float-b { right: -6px; } }
@media (max-width: 640px) { .post-hero-art .float-a { left: 10px; } .post-hero-art .float-b { right: 10px; } .float-pill { font-size: 13.5px; } }
@media (prefers-reduced-motion: reduce) { .post-hero-art { animation: none !important; } }

/* Newest post inside the window (posts index). */
.featured-body { display: flex; flex-direction: column; gap: 8px; padding: 22px 26px 26px; }
.featured-body .tag { font-size: 13px; font-weight: 700; color: var(--blue); }
.featured-body .h { font-size: 20px; font-weight: 700; line-height: 1.35; color: var(--ink); }
a.wm-window:hover .featured-body .h { color: var(--blue); }

/* Topic chips (the case-study filter look, as links). */
.topic-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.topic-chips a, .post-tags a {
  font-size: 13.5px; font-weight: 600; color: var(--muted); text-decoration: none; background: var(--paper);
  border: 1px solid var(--line); border-radius: 20px; padding: 9px 18px;
  transition: color .15s ease, border-color .15s ease, background .15s ease;
}
.topic-chips a:hover, .post-tags a:hover { color: var(--blue); border-color: var(--blue); }
.topic-chips a[aria-current="page"] { color: #fff; border-color: var(--blue); background: var(--blue); }

/* Post cards: the home teaser card, as a link. */
.post-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.post-card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.post-card .icon-tile { margin-bottom: 0; }
.post-card .tag { font-size: 13px; font-weight: 700; color: var(--blue); text-align: right; }
.post-card:hover h3 { color: var(--blue); }
.post-card-meta { margin-top: auto; padding-top: 20px; font-size: 13.5px; color: var(--muted); }
.post-card-link { margin-top: 10px; font-size: 14px; font-weight: 700; color: var(--blue); }

.blog-pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 44px; }
.blog-pagination a, .blog-pagination span {
  display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; padding: 0 16px;
  border: 1px solid var(--line); border-radius: 21px; background: var(--paper);
  font-size: 14px; font-weight: 600; color: var(--body-text); text-decoration: none;
}
.blog-pagination a:hover { color: var(--blue); border-color: var(--blue); }
.blog-pagination .current { background: var(--blue); border-color: var(--blue); color: #fff; }
.blog-pagination .dots { border: none; background: none; min-width: 0; padding: 0 4px; }
.blog-empty-cta { justify-content: center; margin-bottom: 0; }

/* Article: a centered reading column. */
.wrap-post { max-width: 784px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 640px) { .wrap-post { padding: 0 20px; } }
.post-body { border-top: 1px solid var(--line); padding-top: 64px; overflow-x: clip; }
@media (max-width: 640px) { .post-body { padding-top: 40px; } }

/* Block content. Core block styles stay loaded on posts; this sets them in the 2026 type system. */
.wm-prose { font-size: 17.5px; line-height: 1.75; color: var(--body-text); }
.wm-prose > * { margin-top: 0; margin-bottom: 24px; }
.wm-prose > :last-child { margin-bottom: 0; }
.wm-prose h2 { font-weight: 300; font-size: clamp(28px, 3.4vw, 38px); line-height: 1.15; letter-spacing: -0.01em; color: var(--ink); margin: 56px 0 16px; }
.wm-prose h3 { font-weight: 700; font-size: 20px; line-height: 1.35; color: var(--ink); margin: 38px 0 10px; }
.wm-prose h4, .wm-prose h5, .wm-prose h6 { font-weight: 700; font-size: 17px; color: var(--ink); margin: 30px 0 8px; }
.wm-prose > h2:first-child, .wm-prose > h3:first-child { margin-top: 0; }
.wm-prose ul, .wm-prose ol { padding-left: 24px; }
.wm-prose li { margin-bottom: 8px; }
.wm-prose li::marker { color: var(--blue); font-weight: 700; }
.wm-prose strong { color: var(--ink); font-weight: 700; }
.wm-prose a { color: var(--blue); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.wm-prose a:hover { text-decoration-thickness: 2px; }
.wm-prose hr, .wm-prose .wp-block-separator { border: none; border-top: 1px solid var(--line); margin: 48px 0; opacity: 1; }
.wm-prose img { height: auto; border-radius: 12px; }
.wm-prose figure { margin-left: 0; margin-right: 0; }
.wm-prose figcaption, .wm-prose .wp-element-caption { margin-top: 10px; font-size: 13.5px; line-height: 1.5; color: var(--muted); text-align: center; }
/* Quotes: the home testimonial card. */
.wm-prose blockquote, .wm-prose .wp-block-quote {
  margin-left: 0; margin-right: 0; padding: 34px 38px; border: none; border-radius: 10px; background: var(--mist);
  box-shadow: 0 1px 2px rgba(15,23,42,0.05), 0 12px 30px rgba(15,23,42,0.06);
}
.wm-prose blockquote::before { content: "\201C"; display: block; height: 30px; margin-bottom: 6px; font-size: 64px; font-weight: 800; line-height: 1; color: var(--blue); opacity: .55; }
.wm-prose blockquote p { font-size: clamp(19px, 2.4vw, 22px); line-height: 1.5; color: var(--ink); margin: 0 0 12px; }
.wm-prose blockquote p:last-of-type { margin-bottom: 0; }
.wm-prose blockquote cite { display: block; margin-top: 18px; font-size: 14px; font-style: normal; font-weight: 700; color: var(--muted); }
.wm-prose .wp-block-pullquote { padding: 34px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: center; }
.wm-prose .wp-block-pullquote blockquote { background: none; box-shadow: none; padding: 0; }
.wm-prose .wp-block-pullquote p { font-weight: 300; font-size: clamp(24px, 3vw, 30px); line-height: 1.35; }
.wm-prose code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .86em; background: var(--mist); color: var(--ink); padding: 2px 6px; border-radius: 4px; }
.wm-prose pre, .wm-prose .wp-block-code {
  background: var(--navy); color: var(--on-navy); border: none; border-radius: 10px; padding: 22px 24px;
  font-size: 14.5px; line-height: 1.65; overflow-x: auto;
}
.wm-prose pre code { background: none; color: inherit; padding: 0; font-size: inherit; }
.wm-prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.wm-prose .wp-block-table { overflow-x: auto; }
.wm-prose th, .wm-prose td { border: none; border-bottom: 1px solid var(--line); padding: 12px 14px; text-align: left; vertical-align: top; }
.wm-prose thead th, .wm-prose .wp-block-table thead { border-bottom: 2px solid var(--ink); }
.wm-prose th { color: var(--ink); font-weight: 700; }
.wm-prose .wp-block-button__link, .wm-prose .wp-element-button {
  background: var(--blue); color: #fff; border-radius: 3px; padding: 15px 26px;
  font-weight: 600; font-size: 15.5px; text-decoration: none;
}
.wm-prose .wp-block-button__link:hover { background: var(--blue-deep); color: #fff; }
.wm-prose .is-style-outline .wp-block-button__link { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.wm-prose .is-style-outline .wp-block-button__link:hover { border-color: var(--ink); }
.wm-prose .alignleft { float: left; margin: 6px 28px 16px 0; max-width: 50%; }
.wm-prose .alignright { float: right; margin: 6px 0 16px 28px; max-width: 50%; }
.wm-prose .aligncenter { margin-left: auto; margin-right: auto; }
.wm-prose .alignwide { margin-left: calc(50% - min(558px, 50vw - 32px)); margin-right: calc(50% - min(558px, 50vw - 32px)); max-width: none; }
.wm-prose .alignfull { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); max-width: none; }
.wm-prose .alignfull img { border-radius: 0; }
@media (max-width: 640px) {
  .wm-prose { font-size: 17px; }
  .wm-prose .alignleft, .wm-prose .alignright { float: none; margin: 0 0 24px; max-width: 100%; }
  .wm-prose .alignwide { margin-left: calc(50% - 50vw + 20px); margin-right: calc(50% - 50vw + 20px); }
  .wm-prose blockquote, .wm-prose .wp-block-quote { padding: 28px 24px; }
}
.post-pages { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 36px; font-size: 14px; font-weight: 700; color: var(--muted); }
.post-pages a, .post-pages .current { display: inline-flex; min-width: 36px; height: 36px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 20px; text-decoration: none; }
.post-pages .current { background: var(--blue); border-color: var(--blue); color: #fff; }

/* After the article: tags, author (the testimonial card), previous / next (teaser-card surface). */
.post-foot { clear: both; margin-top: 56px; padding-top: 34px; border-top: 1px solid var(--line); }
.post-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 30px; padding: 0; }
.testimonial.author-card { max-width: none; padding: 30px 34px; }
.author-card .author-bio { margin: 16px 0 0; font-size: 15px; line-height: 1.6; color: var(--muted); }
@media (max-width: 640px) { .testimonial.author-card { padding: 26px 24px; } }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 28px; }
@media (max-width: 600px) { .post-nav { grid-template-columns: 1fr; } .post-nav-spacer { display: none; } }
.post-nav-card {
  display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: inherit;
  background: var(--paper); border-radius: 12px; padding: 24px 26px;
  box-shadow: 0 1px 2px rgba(15,23,42,0.05), 0 10px 26px rgba(15,23,42,0.05);
  transition: transform .2s ease, box-shadow .2s ease;
}
.post-nav-card:hover { transform: translateY(-4px); box-shadow: 0 4px 8px rgba(15,23,42,0.07), 0 18px 34px rgba(15,23,42,0.09); }
.post-nav-card.next { text-align: right; align-items: flex-end; grid-column: 2; }
@media (max-width: 600px) { .post-nav-card.next { grid-column: auto; } }
.post-nav-card .dir { font-size: 13px; font-weight: 700; color: var(--blue); }
.post-nav-card .t { font-size: 16.5px; font-weight: 700; line-height: 1.4; color: var(--ink); }
.post-nav-card:hover .t { color: var(--blue); }

/* Single post meta: one compact block under the title (author, date, reading time). */
.post-meta { display: inline-flex; align-items: center; gap: 12px; }
.post-meta .avatar {
  width: 42px; height: 42px; border-radius: 50%; background: var(--blue); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; flex-shrink: 0;
}
.post-meta-text { font-size: 14px; line-height: 1.45; color: var(--muted); }
.post-meta-text strong { display: block; font-size: 15px; color: var(--ink); }
.post-hero .hero-sub { margin-bottom: 28px; }
.post-hero .hero-copy > :last-child { margin-bottom: 0; }

/* Author avatars (Gravatar or the site default) in the post meta and author card. */
.avatar.avatar--photo { background: var(--mist-2); overflow: hidden; padding: 0; }
.avatar--photo img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }

/* ---------- 404: the home hero with a "404" in the browser-window art, and teaser cards to the main pages ---------- */
.nf-window {
  display: flex; flex-direction: column; justify-content: center; gap: 14px; position: relative; overflow: hidden; padding: 0 12%;
  background: linear-gradient(135deg, #0d5bb0 0%, var(--blue) 45%, var(--blue-deep) 100%);
}
.nf-window::before {
  content: ""; position: absolute; right: -10%; top: -40%; width: 55%; height: 180%;
  background: repeating-linear-gradient(115deg, rgba(255,255,255,0.08) 0 10px, transparent 10px 26px);
  transform: skewX(-10deg);
}
.nf-code { position: relative; font-weight: 300; font-size: clamp(64px, 9vw, 112px); line-height: 1; letter-spacing: -0.03em; color: #fff; }
.nf-line { position: relative; display: block; width: 58%; height: 12px; border-radius: 6px; background: rgba(255,255,255,0.22); }
.nf-line.short { width: 36%; }
.nf-hero .cta-row { margin-bottom: 0; }
.nf-grid .post-card-link { margin-top: auto; padding-top: 18px; }
.nf-grid .teaser-card p { margin-bottom: 0; }
@media (min-width: 1000px) { .nf-grid--4 { grid-template-columns: repeat(4, 1fr); } }
