/* theshoppad.com/blog
   Builds on skeleton.css (navy background, system font, gold links). html font-size is 62.5%, so 1rem = 10px.
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.blog {
  /* Slightly off-white: pure white on navy glows over a long read; headings and bold stay #fff */
  --blog-text: #d3dbe3;
  --blog-muted: #a9b8c6;
  --blog-rule: rgba(255, 255, 255, 0.14);
  --blog-surface: rgba(255, 255, 255, 0.05);
  --blog-gold: #f6c90e;
  --blog-gold-text: #f8b739;
  --blog-link: oklch(90.1% 0.058 230.902);
  /* Calm reading surface behind article text, over the #cosmic stars */
  --blog-reading-bg: rgba(2, 22, 42, 0.86);
  font-size: 1.8rem;
  line-height: 1.55;
}

#blog-main {
  color: var(--blog-text);
}
/* #cosmic and #atmosphere come from skeleton.css, as on the homepage */
.blog #cosmic {
  /* Clear the 100px wave at the bottom of #cosmic */
  padding-bottom: 14rem;
  /* The article's full-bleed reading surface is 100vw, which includes any scrollbar */
  overflow-x: clip;
}
.blog #atmosphere {
  padding: 4rem 0 8rem;
}

.blog-container {
  box-sizing: border-box;
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 16px;
}
.blog-narrow {
  max-width: 752px;
}

/* Headings and type
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.blog h1,
.blog h2,
.blog h3,
.blog h4,
.blog h5,
.blog h6 {
  font-weight: 700;
  text-wrap: balance;
}
.blog h1 {
  font-weight: 900;
}
.blog h2 {
  font-weight: 800;
}
.blog h3,
.blog h4,
.blog h5,
.blog h6 {
  color: var(--blog-text);
}
.blog h1 {
  font-size: clamp(3.2rem, 2.4rem + 2.6vw, 4.8rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.6rem;
}
.blog-lede {
  font-size: 2rem;
  line-height: 1.5;
  color: var(--blog-muted);
}
.blog-meta {
  font-size: 1.4rem;
  color: var(--blog-muted);
  margin-bottom: 0;
}
.blog-breadcrumb {
  font-size: 1.5rem;
  margin-bottom: 1.2rem;
  color: var(--blog-muted);
}
.blog-breadcrumb a {
  color: var(--blog-gold-text);
  text-decoration: none;
}

/* Index
–––––––––––––––––––––––––––––––––––––––––––––––––– */
/* Matches #home-about on the homepage */
.blog-index-header {
  padding-top: 2rem;
  padding-bottom: 0;
  text-align: center;
}
.blog .blog-index-header h1 {
  color: #fff;
}
.blog-index-header .blog-lede {
  max-width: 860px;
  margin: 0 auto 2rem;
  font-size: 2.4rem;
  line-height: 1.35;
  color: #fff;
  opacity: 0.75;
}
@media (min-width: 550px) {
  .blog .blog-index-header h1 {
    font-size: 6rem;
  }
  .blog-index-header .blog-lede {
    font-size: 3rem;
  }
}
@media (max-width: 550px) {
  .blog-index-header {
    text-align: left;
  }
}
.blog-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 3rem;
}
@media (max-width: 550px) {
  .blog-tags {
    justify-content: flex-start;
  }
}
.blog-tags a {
  display: inline-block;
  padding: 0.6rem 1.4rem;
  border: 1px solid var(--blog-rule);
  border-radius: 999px;
  font-size: 1.5rem;
  color: var(--blog-text);
  text-decoration: none;
}
/* Light blue, not gold: gold is reserved for App Store CTAs */
.blog-tags a:hover,
.blog-tags a[aria-current="page"] {
  border-color: var(--blog-link);
  color: var(--blog-link);
}
.blog-tags a[aria-current="page"] {
  background: color-mix(in srgb, var(--blog-link) 12%, transparent);
}
.blog-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 750px) {
  .blog-list {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1000px) {
  .blog-list {
    grid-template-columns: repeat(3, 1fr);
  }
}
/* Topic pages: a short last row sits under the centered title instead of hugging the left */
.blog-list-centered {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.blog-list-centered > .blog-card {
  flex: 0 1 100%;
  box-sizing: border-box;
}
@media (min-width: 750px) {
  .blog-list-centered > .blog-card {
    flex-basis: calc((100% - 2rem) / 2);
  }
}
@media (min-width: 1000px) {
  .blog-list-centered > .blog-card {
    flex-basis: calc((100% - 4rem) / 3);
  }
}
.blog-card {
  /* Column so the meta line sits at the bottom and lines up across a row */
  display: flex;
  flex-direction: column;
  padding: 2.4rem;
  /* Opaque enough to keep text readable where #atmosphere fades to teal */
  background: rgba(6, 28, 50, 0.82);
  border: 1px solid var(--blog-rule);
  border-radius: 12px;
}
.blog-card > .blog-tag,
.blog-card > .blog-unpublished {
  align-self: flex-start;
}
.blog-card > .blog-meta {
  margin-top: auto;
}
.blog-card-image {
  display: block;
  margin: -2.4rem -2.4rem 2rem;
  overflow: hidden;
  border-radius: 11px 11px 0 0;
}
.blog-card-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.3s ease-in-out;
}
.blog-card:hover .blog-card-image img {
  transform: scale(1.03);
}
@media (prefers-reduced-motion: reduce) {
  .blog-card-image img {
    transition: none;
  }
}
.blog-card-title {
  font-size: 2.4rem;
  line-height: 1.25;
  letter-spacing: 0;
  margin: 0.8rem 0 1rem;
}
.blog-card-title a {
  color: #fff;
  text-decoration: none;
}
.blog-card-title a:hover {
  color: var(--blog-gold);
}
.blog-card-excerpt {
  color: var(--blog-muted);
  font-size: 1.6rem;
  line-height: 1.5;
}
.blog-tag {
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.04rem;
  text-transform: uppercase;
  color: var(--blog-gold-text);
  text-decoration: none;
}
.blog-empty {
  color: var(--blog-muted);
}
.blog-pagination {
  display: flex;
  justify-content: space-between;
  margin-top: 4rem;
}
.blog-pagination a {
  padding: 1.2rem 2rem;
  background: #061c32;
  border-radius: 8px;
  color: var(--blog-gold);
  font-size: 1.6rem;
  font-weight: 600;
  text-decoration: none;
}
.blog-pagination a:hover {
  color: #fff;
}

/* Topic hub (content/blog/topics/<tag>.json): header and guide share one stacking context,
   like .blog-article, so the reading surface sits behind both */
.blog-hub {
  isolation: isolate;
}
/* Room between the topic pills and the short answer */
.blog-hub .blog-index-header {
  padding-bottom: 5.6rem;
}
@media (max-width: 550px) {
  .blog-hub .blog-index-header {
    padding-bottom: 4rem;
  }
}
/* Topic hero ("hero" in the topic file): the art's navy ground fades into the starfield, no frame */
.blog-hub-hero {
  max-width: 960px;
  margin-top: -2.4rem;
  margin-bottom: 2.4rem;
}
.blog-hub-hero img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  -webkit-mask-image:
    linear-gradient(to right, transparent, #000 18%, #000 82%, transparent),
    linear-gradient(to bottom, transparent, #000 20%, #000 78%, transparent);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent, #000 18%, #000 82%, transparent),
    linear-gradient(to bottom, transparent, #000 20%, #000 78%, transparent);
  mask-composite: intersect;
}
@media (max-width: 550px) {
  .blog-hub-hero {
    margin-top: -1.6rem;
    margin-bottom: 0.8rem;
    padding: 0;
  }
}
/* Guide cards closing each hub section (blog_render_hub) */
.blog-hub-guides {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.6rem;
  margin: 2.4rem 0 0;
}
.blog-body a.blog-hub-guide {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: rgba(6, 28, 50, 0.82);
  border: 1px solid var(--blog-rule);
  border-radius: 12px;
  color: #fff;
  text-decoration: none;
  transition: border-color 0.2s ease-in-out;
}
.blog-body a.blog-hub-guide:hover {
  border-color: var(--blog-gold);
  color: var(--blog-gold);
}
.blog-body .blog-hub-guide img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 0;
  transition: transform 0.3s ease-in-out;
}
.blog-hub-guide:hover img {
  transform: scale(1.03);
}
@media (prefers-reduced-motion: reduce) {
  .blog-hub-guide,
  .blog-body .blog-hub-guide img {
    transition: none;
  }
}
/* A lone guide runs full width, image beside the title */
@media (min-width: 550px) {
  .blog-hub-guides:has(> :only-child) {
    grid-template-columns: 1fr;
  }
  .blog-body a.blog-hub-guide:only-child {
    display: grid;
    grid-template-columns: 40% 1fr;
    grid-template-rows: auto auto;
    align-content: center;
  }
  .blog-body .blog-hub-guide:only-child img {
    grid-row: 1 / 3;
  }
  .blog-hub-guide:only-child .blog-hub-guide-label {
    align-self: end;
    padding: 0 2.4rem;
  }
  .blog-hub-guide:only-child .blog-hub-guide-title {
    align-self: start;
    padding: 0.4rem 2.4rem 0;
    font-size: 2rem;
  }
}
.blog-hub-guide-label {
  padding: 1.4rem 1.6rem 0;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.04rem;
  text-transform: uppercase;
  color: var(--blog-gold-text);
}
.blog-hub-guide-title {
  padding: 0.4rem 1.6rem 1.6rem;
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1.3;
  text-wrap: balance;
}
.blog-hub-note {
  font-size: 0.85em;
  color: var(--blog-muted);
}
.blog-list-heading {
  margin-bottom: 2.4rem;
  font-size: 2.8rem;
  letter-spacing: 0;
  text-align: center;
}

/* "Lost in space" 404 (assets/partials/lost-in-space.php)
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.lost-in-space {
  padding: 2rem 16px 2rem;
  text-align: center;
}
.lost-astronaut {
  display: block;
  width: 180px;
  height: 180px;
  margin: 0 auto 2rem;
  overflow: visible;
  animation: astronaut-drift 7s ease-in-out infinite alternate;
}
@keyframes astronaut-drift {
  0% { transform: translate(-6px, 4px) rotate(-8deg); }
  100% { transform: translate(6px, -8px) rotate(10deg); }
}
.lost-in-space .blog-lede {
  margin: 0 auto;
  max-width: 560px;
}
/* On tall screens the sky stretches so the wave and footer sit at the bottom of the window */
#page-404 {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}
#page-404 #blog-main {
  display: flex;
  flex: 1 0 auto;
  flex-direction: column;
}
#page-404 #cosmic {
  flex: 1 0 auto;
}
/* About page (/about)
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.about-photo {
  margin: 0 0 3.2rem;
}
.about-photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}
.about-photo figcaption {
  margin-top: 0.8rem;
  font-size: 1.4rem;
  color: var(--blog-muted);
  text-align: center;
}
.about-facts {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 1rem 2.4rem;
  margin: 0 0 2.4rem;
}
.about-facts dt {
  font-weight: 700;
  color: #fff;
}
.about-facts dd {
  margin: 0;
}
@media (max-width: 549px) {
  .about-facts {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }
  .about-facts dd {
    margin-bottom: 1.2rem;
  }
}
.about-team-section > h2 {
  font-size: 2.8rem;
  letter-spacing: 0;
  text-align: center;
  margin-bottom: 3.2rem;
}
.about-team {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 550px) {
  .about-team {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 1000px) {
  .about-team {
    grid-template-columns: repeat(5, 1fr);
  }
}
.about-team li {
  margin: 0;
  padding: 2rem 1.2rem;
  /* Dark cards, like .blog-card, keep names readable where #atmosphere fades to teal */
  background: rgba(6, 28, 50, 0.82);
  border: 1px solid var(--blog-rule);
  border-radius: 12px;
  text-align: center;
  line-height: 1.35;
}
.about-team li:hover img {
  transform: scale(1.05);
}
.about-team img {
  display: block;
  width: 100%;
  max-width: 112px;
  height: auto;
  margin: 0 auto 1.2rem;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  transition: transform 0.25s ease;
}
.about-team-name {
  display: block;
  font-size: 1.7rem;
  font-weight: 700;
  color: #fff;
}
.about-team-role {
  display: block;
  font-size: 1.5rem;
  color: var(--blog-muted);
}

/* Article
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.blog-article-header {
  padding: 2rem 0 2.4rem;
  text-align: center;
}
.blog-article {
  /* Stacking context for the reading surface (.blog-body:before), so it sits behind all article content */
  isolation: isolate;
}
.blog-hero {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin-bottom: 3.2rem;
}
.blog-body {
  position: relative;
  /* 18px on phones up to 21px on desktop */
  font-size: clamp(1.8rem, 1.6rem + 0.6vw, 2.1rem);
  line-height: 1.65;
}
/* Full-bleed reading surface: fades in behind the hero and out behind the author box, so the stars stay at the top */
.blog-body:before {
  content: '';
  position: absolute;
  z-index: -1;
  top: -30rem;
  bottom: -20rem;
  left: calc(50% - 50vw);
  right: calc(50% - 50vw);
  background: linear-gradient(to bottom, transparent, var(--blog-reading-bg) 30rem, var(--blog-reading-bg) calc(100% - 20rem), transparent);
  pointer-events: none;
}
.blog-body p,
.blog-body li {
  text-wrap: pretty;
}
.blog-body h2 {
  font-size: clamp(2.8rem, 2.2rem + 1.6vw, 3.6rem);
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 4.8rem 0 0.6rem;
  scroll-margin-top: 2rem;
}
.blog-body h3 {
  font-size: clamp(2.3rem, 2rem + 0.9vw, 2.8rem);
  line-height: 1.3;
  letter-spacing: 0;
  margin: 3.2rem 0 0.6rem;
  scroll-margin-top: 2rem;
}
.blog-body h4 {
  font-size: 2rem;
  letter-spacing: 0;
  margin: 2.4rem 0 1rem;
}
.blog-body p {
  margin-bottom: 2rem;
}
.blog-body ul,
.blog-body ol {
  margin-bottom: 2.4rem;
}
.blog-body ul,
.blog-body ol {
  padding-left: 2.4rem;
}
.blog-body ul {
  list-style: disc outside;
}
.blog-body ol {
  list-style: decimal outside;
}
.blog-body li {
  margin-bottom: 1.2rem;
}
.blog-body li::marker {
  color: var(--blog-muted);
}
.blog-body a {
  color: var(--blog-link);
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, currentColor 40%, transparent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}
.blog-body a:hover {
  color: #fff;
  text-decoration-color: currentColor;
}

/* Short answer: the intro paragraph that answers the title (blog_render_short_answer) */
.blog-answer {
  margin: 0 0 3.2rem;
  padding: 2rem 2.4rem;
  border-left: 4px solid var(--blog-link);
  border-radius: 0 12px 12px 0;
  background: color-mix(in srgb, var(--blog-link) 8%, transparent);
}
.blog-body .blog-answer p {
  margin-bottom: 0;
  color: #fff;
}
.blog-body .blog-answer .blog-answer-label {
  margin-bottom: 0.6rem;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blog-link);
}
.blog-body strong {
  color: #fff;
}
.blog-body img,
.blog-body svg {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}
.blog-body figure {
  margin: 3rem 0;
}
.blog-body figcaption {
  font-size: 1.5rem;
  color: var(--blog-muted);
  margin-top: 0.8rem;
}
/* Development and staging only: a screenshot the article still needs (blog_render_screenshots). */
.blog-screenshot-placeholder {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.8rem;
  min-height: 24rem;
  padding: 3rem;
  border: 2px dashed var(--blog-gold);
  border-radius: 8px;
  background: var(--blog-surface);
  color: var(--blog-text);
}
.blog-screenshot-placeholder strong {
  color: var(--blog-gold-text);
  font-size: 1.3rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.blog-screenshot-placeholder p {
  margin: 0;
}
.blog-screenshot-placeholder code {
  color: var(--blog-muted);
  font-size: 1.4rem;
  overflow-wrap: anywhere;
}
.blog-body blockquote {
  margin: 2.4rem 0;
  padding: 0.4rem 0 0.4rem 2rem;
  border-left: 3px solid var(--blog-gold);
  color: var(--blog-muted);
}
.blog-body code {
  border: 0;
  font-size: 0.85em;
  padding: 0.2rem 0.5rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  white-space: break-spaces;
}
.blog-body pre {
  overflow-x: auto;
  padding: 1.6rem;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  margin-bottom: 2.4rem;
}
.blog-body pre code {
  padding: 0;
  background: none;
  white-space: pre;
}
.blog-body table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2.4rem;
}
@media (max-width: 749px) {
  .blog-body table {
    display: block;
    overflow-x: auto;
  }
}
.blog-body th,
.blog-body td {
  font-size: 1.6rem;
  line-height: 1.45;
  text-transform: none;
  letter-spacing: 0;
  padding: 1rem 1.2rem;
  border-bottom: 1px solid var(--blog-rule);
  text-align: left;
  vertical-align: top;
}
.blog-body th {
  color: #fff;
  font-weight: 600;
}
/* Comparison tables: the price leads, the plan name sits under it */
.blog-body td small {
  display: block;
  margin-top: 0.2rem;
  font-size: 1.3rem;
  line-height: 1.3;
  color: var(--blog-muted);
}
.blog-table-compare td {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.blog-table-compare .blog-table-none {
  color: var(--blog-muted);
  opacity: 0.7;
}
.blog-body .blog-table-compare th[scope="row"] {
  font-weight: 500;
  color: var(--blog-text);
  min-width: 14rem;
}

/* Table of contents */
.blog-toc {
  margin: 0 0 3.2rem;
  padding: 2rem 2.4rem;
  background: var(--blog-surface);
  border: 1px solid var(--blog-rule);
  border-radius: 12px;
  font-size: 1.7rem;
}
.blog-toc-title {
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.8rem;
}
.blog-toc ol {
  margin: 0;
}
.blog-toc li {
  margin-bottom: 0.4rem;
}
.blog-toc a {
  text-decoration: none;
}
/* Wide screens: the contents move into the left margin and stay in view; blog.js marks the current section */
@media (min-width: 1320px) {
  .blog-toc {
    float: left;
    position: sticky;
    top: 3rem;
    box-sizing: border-box;
    width: 24rem;
    max-height: calc(100vh - 6rem);
    overflow-y: auto;
    margin: 0 0 0 -28rem;
    padding: 0;
    background: none;
    border: 0;
    border-radius: 0;
    font-size: 1.4rem;
    line-height: 1.4;
  }
  .blog-toc-title {
    font-size: 1.3rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--blog-muted);
  }
  .blog-body .blog-toc ol {
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .blog-body .blog-toc li {
    margin: 0;
  }
  .blog-body .blog-toc a {
    display: block;
    padding: 0.6rem 0 0.6rem 1.2rem;
    border-left: 2px solid var(--blog-rule);
    color: var(--blog-muted);
  }
  .blog-body .blog-toc a:hover {
    color: #fff;
  }
  .blog-body .blog-toc a[aria-current] {
    border-left-color: var(--blog-link);
    color: var(--blog-link);
  }
}

/* App Store call to action */
.blog-cta {
  --blog-cta-color: var(--blog-gold);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.6rem;
  margin: 3.6rem 0;
  padding: 2.4rem;
  background: color-mix(in srgb, var(--blog-cta-color) 12%, transparent);
  border: 1px solid var(--blog-cta-color);
  border-radius: 12px;
}
/* Each app's icon color, from the .app-card rules on the homepage (skeleton.scss) */
.blog-cta[data-app="tracktor"] {
  --blog-cta-color: #c27803;
}
.blog-cta[data-app="infinite-options"] {
  --blog-cta-color: #1a56db;
}
.blog-cta[data-app="uploadery"] {
  --blog-cta-color: #6b7280;
}
.blog-cta-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  flex: none;
}
.blog-cta-body {
  flex: 1 1 240px;
}
.blog-cta-body p {
  margin: 0;
  line-height: 1.4;
}
.blog-cta-name {
  font-size: 2rem;
  font-weight: 600;
  color: #fff;
}
.blog-cta-pitch {
  font-size: 1.6rem;
  color: var(--blog-muted);
}
.blog-body .blog-cta-button,
.blog-cta-button {
  display: inline-block;
  padding: 1.2rem 2rem;
  background: var(--blog-gold);
  border-radius: 8px;
  color: #061c32;
  font-size: 1.6rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.blog-cta-button:hover,
.blog-cta-button:focus-visible {
  background: var(--blog-cta-color);
  color: #fff;
}

/* Inline related link */
.blog-related-inline {
  display: block;
  margin: 2.4rem 0;
  padding: 1.4rem 1.8rem;
  border-left: 3px solid var(--blog-gold);
  background: var(--blog-surface);
  color: #fff;
  text-decoration: none;
}
.blog-body .blog-related-inline {
  text-decoration: none;
  color: #fff;
}
.blog-related-inline span {
  display: block;
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 0.04rem;
  color: var(--blog-gold-text);
}

/* FAQ */
.blog .blog-faq {
  padding: 0;
}
.blog .blog-related {
  padding-top: 0;
  padding-bottom: 0;
}
.blog-faq h3 {
  font-size: 2rem;
  margin-top: 2.4rem;
}

/* Author */
.blog-author {
  display: flex;
  gap: 1.6rem;
  align-items: flex-start;
  margin-top: 4.8rem;
  padding-top: 3.2rem;
  border-top: 1px solid var(--blog-rule);
  font-size: 1.6rem;
}
.blog-author img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  flex: none;
  object-fit: cover;
}
.blog-author p {
  margin: 0 0 0.4rem;
}
.blog-author-name {
  font-weight: 600;
  color: #fff;
}
.blog-author-linkedin {
  display: inline-flex;
  vertical-align: -0.2em;
  margin-left: 0.6rem;
  /* Larger hit area than the 18px icon */
  padding: 0.4rem;
  margin-block: -0.4rem;
  color: var(--blog-link);
}
.blog-author-linkedin:hover,
.blog-author-linkedin:focus-visible {
  color: #fff;
}
.blog-author-bio {
  color: var(--blog-muted);
}

/* Related posts */
.blog-related > h2 {
  font-size: 2.8rem;
  letter-spacing: 0;
  text-align: center;
}

/* Drafts and scheduled posts, shown on development and staging only */
.blog-unpublished {
  display: inline-block;
  margin: 0 0.8rem 0.8rem 0;
  padding: 0.3rem 1rem;
  border: 1px dashed var(--blog-gold);
  border-radius: 999px;
  font-size: 1.3rem;
  color: var(--blog-gold);
}

/* Click-to-enlarge article figures (blog.js). Resets skeleton.css's button styles. */
.blog-zoom,
.blog-zoom:hover,
.blog-zoom:focus {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: none;
  cursor: zoom-in;
  line-height: 0;
  white-space: normal;
  text-align: inherit;
  transition: none;
}
.blog-zoom img {
  display: block;
  width: 100%;
}
.blog-zoom::after {
  content: "";
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 50%;
  background: rgba(2, 22, 42, 0.78) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M15 3h6v6M9 21H3v-6M21 3l-7 7M3 21l7-7'/%3E%3C/svg%3E") center / 1.8rem no-repeat;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}
.blog-zoom:hover::after,
.blog-zoom:focus-visible::after {
  opacity: 1;
}
.blog-zoom:focus-visible {
  outline: 2px solid var(--blog-gold);
  outline-offset: 4px;
  border-radius: 8px;
}
.blog-lightbox {
  width: 100vw;
  max-width: none;
  height: 100vh;
  max-height: none;
  margin: 0;
  padding: 5.6rem 2rem 2rem;
  border: 0;
  background: transparent;
  color: #d3dbe3;
}
.blog-lightbox::backdrop {
  background: rgba(1, 10, 20, 0.96);
}
.blog-lightbox[open] {
  display: flex;
  align-items: center;
  justify-content: center;
}
.blog-lightbox figure {
  margin: 0;
  max-width: min(160rem, 100%);
  text-align: center;
}
.blog-lightbox img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: calc(100vh - 13rem);
  margin: 0 auto;
  border-radius: 8px;
  object-fit: contain;
}
/* SVG mockups have a fixed intrinsic width; let them grow to the space available. */
.blog-lightbox img[src$=".svg"] {
  width: 100%;
}
.blog-lightbox figcaption {
  max-width: 72rem;
  margin: 1.2rem auto 0;
  font-size: 1.5rem;
  line-height: 1.5;
  color: #a9b8c6;
}
.blog-lightbox-close {
  position: fixed;
  top: 1.2rem;
  right: 1.6rem;
  width: 4.4rem;
  height: 4.4rem;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  background: rgba(2, 22, 42, 0.6);
  color: #fff;
  font-size: 2.8rem;
  line-height: 1;
  cursor: pointer;
}
.blog-lightbox-close:hover,
.blog-lightbox-close:focus {
  border-color: var(--blog-gold, #f6c90e);
  background: rgba(2, 22, 42, 0.6);
  color: var(--blog-gold, #f6c90e);
}
.blog-lightbox-close:focus-visible {
  outline: 2px solid var(--blog-gold, #f6c90e);
  outline-offset: 2px;
}
html:has(.blog-lightbox[open]) {
  overflow: hidden;
}
@media (prefers-reduced-motion: no-preference) {
  .blog-lightbox[open] img {
    animation: blog-lightbox-in 0.2s ease-out;
  }
  @keyframes blog-lightbox-in {
    from {
      opacity: 0;
      transform: scale(0.97);
    }
  }
}
