/* Public blog surface — Binom tokens (requires core.css; pair with landing.css) */

.page-blog {
  overflow-x: clip;
  background:
    radial-gradient(ellipse at 18% 0%, rgba(123, 63, 160, 0.12), transparent 45%),
    radial-gradient(ellipse at 92% 8%, rgba(59, 111, 232, 0.1), transparent 42%),
    var(--paper, #f3eef9);
}

.page-blog .landing-nav-links a[aria-current="page"] {
  color: var(--accent-deep);
}

/* ── Content shell under sticky landing header ── */
.blog-shell {
  width: min(100%, 1100px);
  margin: 0 auto;
  padding: 1.75rem clamp(0.9rem, 3.5vw, 1.25rem) 3.5rem;
  overflow-x: clip;
}

.page-blog .blog-site-footer {
  margin-top: 1rem;
  overflow-x: clip;
}

.page-blog .blog-site-footer .landing-footer-panel {
  border-radius: 24px 24px 0 0;
}

/* ── List header / search / chips ── */
.blog-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.blog-header h1 {
  position: relative;
  display: inline-block;
  margin: 0;
  padding-bottom: 0.6rem;
  font-size: clamp(1.55rem, 3.5vw, 2rem);
  letter-spacing: -0.02em;
  color: var(--ink);
}

.blog-header h1::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 50%;
  transform: translateX(50%);
  width: 48px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), var(--blue));
}

.blog-header .lede {
  margin: 0.85rem auto 0;
  max-width: 36rem;
}

.blog-search {
  display: flex;
  max-width: 520px;
  margin: 0 auto 1.1rem;
  gap: 0.5rem;
}

.blog-search input[type="search"] {
  flex: 1 1 auto;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.72rem 0.9rem;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 450;
  background: #fff;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.blog-search input[type="search"]:focus {
  border-color: rgba(123, 63, 160, 0.45);
  box-shadow: 0 0 0 3px rgba(123, 63, 160, 0.12);
}

.blog-search .btn {
  flex: 0 0 auto;
  padding: 0.72rem 1.15rem;
}

.chip-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.35rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.12s ease, border-color 0.12s ease, color 0.12s ease;
}

.chip:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.chip-active,
a.chip-active {
  background: linear-gradient(135deg, var(--accent), var(--blue));
  border-color: transparent;
  color: #fff;
  -webkit-text-fill-color: #fff;
}

.chip-active:hover,
a.chip-active:hover {
  color: #fff;
  -webkit-text-fill-color: #fff;
  filter: brightness(1.05);
}

.chip-count {
  font-size: 0.7rem;
  line-height: 1;
  padding: 0.12rem 0.42rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--lilac) 70%, white);
  color: var(--accent-deep);
}

.chip-active .chip-count {
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
}

.blog-filter-meta {
  text-align: center;
  color: var(--muted);
  font-size: 0.88rem;
  margin: 0 0 1.25rem;
}

.blog-filter-meta a {
  color: var(--accent);
}

/* ── Card grid ── */
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 600px) {
  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .blog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.post-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 8px 24px rgba(74, 33, 112, 0.06);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(74, 33, 112, 0.12);
}

.post-card-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(123, 63, 160, 0.12), rgba(59, 111, 232, 0.1)),
    color-mix(in srgb, var(--lilac) 55%, white);
}

.post-card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 0.3s ease;
}

.post-card:hover .post-card-media img {
  transform: scale(1.05);
}

.post-card-noimg {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--accent);
  opacity: 0.45;
  font-weight: 700;
  font-size: 1.05rem;
}

.post-card-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 1rem 1.05rem 1.15rem;
  gap: 0.45rem;
}

.post-card-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-card-title a {
  color: var(--ink);
  text-decoration: none;
}

.post-card-title a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.post-card-title a:hover {
  color: var(--accent);
}

.post-card-excerpt {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.65;
  flex: 1 1 auto;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.badge-cat {
  position: absolute;
  inset-block-start: 0.6rem;
  inset-inline-start: 0.6rem;
  z-index: 2;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: rgba(26, 18, 40, 0.78);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  text-decoration: none;
  pointer-events: none;
}

.badge-cat--inline {
  position: static;
  display: inline-block;
  pointer-events: auto;
  background: color-mix(in srgb, var(--lilac) 65%, white);
  color: var(--accent-deep);
}

.badge-cat--inline:hover {
  color: var(--blue);
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  color: var(--muted);
  font-size: 0.82rem;
  row-gap: 0.35rem;
}

@media (min-width: 768px) {
  .post-meta span + span {
    position: relative;
    padding-inline-start: 1rem;
  }

  .post-meta span + span::before {
    content: "";
    position: absolute;
    inset-inline-start: 0.45rem;
    top: 50%;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: currentColor;
    transform: translateY(-50%);
  }
}

/* ── Empty / pagination ── */
.empty-state {
  text-align: center;
  padding: 2.5rem 1.25rem;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.empty-state p {
  margin: 0;
}

.empty-state p + p {
  margin-top: 0.4rem;
  color: var(--muted);
}

.empty-state .empty-title {
  font-size: 1.1rem;
  font-weight: 650;
  color: var(--ink);
}

.blog-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
}

.blog-pagination a,
.blog-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.35rem;
  min-height: 2.35rem;
  padding: 0.35rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 550;
  text-decoration: none;
}

.blog-pagination a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.blog-pagination .is-active span,
.blog-pagination [aria-current="page"] {
  background: linear-gradient(135deg, var(--accent), var(--blue));
  border-color: transparent;
  color: #fff;
}

.blog-pagination .is-disabled span,
.blog-pagination .is-disabled a {
  opacity: 0.4;
  pointer-events: none;
}

/* ── Preview banner ── */
.blog-preview-banner {
  margin-bottom: 1.25rem;
  padding: 0.85rem 1.1rem;
  text-align: center;
  border-radius: 12px;
  border: 1px solid rgba(196, 69, 106, 0.28);
  background: linear-gradient(135deg, rgba(255, 245, 247, 0.95), rgba(220, 201, 240, 0.35));
  color: var(--accent-deep);
  font-size: 0.92rem;
  font-weight: 550;
}

/* ── Detail layout ── */
.post-layout {
  display: grid;
  gap: 1.5rem;
  min-width: 0;
}

.post-main,
.post-sidebar,
.related {
  min-width: 0;
}

@media (min-width: 960px) {
  .post-layout {
    grid-template-columns: minmax(0, 1fr) 15.5rem;
    gap: 1.35rem;
    align-items: start;
  }

  /* Wider article column — less empty side gutters on desktop */
  .page-blog:has(.post-layout) .blog-shell {
    width: min(100% - 2rem, 1360px);
    padding-block: 1.15rem 2.25rem;
    padding-inline: 0;
  }

  @media (min-width: 1400px) {
    .page-blog:has(.post-layout) .blog-shell {
      width: min(100% - 3rem, 1480px);
    }
  }

  .post-sheet-body {
    padding: 1.15rem 1.35rem 1.35rem;
  }

  .post-crumbs {
    margin-bottom: 0.65rem;
  }

  .post-sheet-body > header {
    margin-bottom: 1rem;
  }

  .post-sheet-body > header h1 {
    margin-top: 0.4rem;
    font-size: clamp(1.4rem, 2.2vw, 1.75rem);
  }

  .article-body {
    font-size: 1.02rem;
    line-height: 1.8;
  }

  .article-body p,
  .article-body ul,
  .article-body ol {
    margin-bottom: 0.95rem;
  }

  .article-body figure,
  .article-body iframe,
  .article-body blockquote {
    margin-block: 1.15rem;
  }

  .article-body h2,
  .article-body h3 {
    margin-top: 1.45rem;
    margin-bottom: 0.55rem;
  }

  .share-row {
    margin-top: 1.35rem;
    padding-top: 1rem;
  }

  .post-nav {
    margin-top: 1rem;
    gap: 0.75rem;
  }

  .post-nav-item {
    padding: 0.7rem 0.85rem;
  }

  .post-sidebar {
    gap: 0.85rem;
  }

  .sidebar-card {
    padding: 0.95rem 1.05rem;
  }

  .sidebar-card h2 {
    margin-bottom: 0.65rem;
  }

  .sidebar-cta p {
    margin-bottom: 0.75rem;
    line-height: 1.55;
  }

  .side-post a {
    padding: 0.45rem 0;
    gap: 0.55rem;
  }

  .side-post img,
  .side-post-noimg {
    flex-basis: 48px;
    width: 48px;
    height: 48px;
  }

  .related {
    margin-top: 1.75rem;
  }

  .related h2 {
    margin-bottom: 0.75rem;
  }
}

.reading-progress {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  height: 3px;
  z-index: 1040;
  background: transparent;
  pointer-events: none;
}

.page-blog .reading-progress {
  /* sit just under sticky landing header */
  inset-block-start: 3.65rem;
}

.reading-progress > span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--accent), var(--blue));
}

.post-sheet {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(74, 33, 112, 0.06);
  min-width: 0;
}

.post-cover {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: none;
  object-fit: contain;
  object-position: center center;
  background: color-mix(in srgb, var(--lilac) 45%, white);
}

.post-sheet-body {
  padding: clamp(1rem, 3vw, 2rem);
  min-width: 0;
}

.post-crumbs {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.85rem;
  white-space: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  max-width: 100%;
}

.post-crumbs::-webkit-scrollbar {
  display: none;
}

.post-crumbs a {
  color: var(--muted);
  text-decoration: none;
}

.post-crumbs a:hover {
  color: var(--accent);
}

.post-crumbs > span:last-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--ink);
}

.post-sheet-body > header {
  margin-bottom: 1.35rem;
}

.post-sheet-body > header h1 {
  margin: 0.55rem 0 0;
  font-size: clamp(1.45rem, 3vw, 1.95rem);
  letter-spacing: -0.02em;
}

/* ── Article body ── */
.article-body {
  font-size: 1.075rem;
  line-height: 1.95;
  text-align: justify;
  text-justify: inter-word;
  overflow-wrap: anywhere;
  word-break: break-word;
  color: var(--ink);
  min-width: 0;
}

.article-body p {
  margin: 0 0 1.25rem;
}

.article-body img {
  display: block;
  max-width: 100%;
  width: auto;
  height: auto;
  border-radius: 0.65rem;
  margin-inline: auto;
}

.article-body figure {
  margin: 1.5rem 0;
  max-width: 100%;
}

.article-body figcaption {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
}

.article-body iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border: 0;
  border-radius: 0.65rem;
  margin: 1.5rem 0;
}

.article-body ul,
.article-body ol {
  padding-inline-start: 1.35rem;
  margin: 0 0 1.25rem;
}

.article-body li + li {
  margin-top: 0.3rem;
}

.article-body blockquote {
  margin: 1.5rem 0;
  padding: 0.55rem 1rem;
  border-inline-start: 3px solid var(--accent);
  color: var(--muted);
  background: color-mix(in srgb, var(--lilac) 28%, white);
  border-radius: 0 10px 10px 0;
}

.article-body h2,
.article-body h3 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.article-body h2 {
  font-size: clamp(1.15rem, 3.2vw, 1.4rem);
}

.article-body h3 {
  font-size: clamp(1.05rem, 2.8vw, 1.2rem);
}

.article-body pre,
.article-body table {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.article-body pre {
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: rgba(26, 18, 40, 0.04);
  font-size: 0.88rem;
}

.article-body a {
  color: var(--blue);
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

.article-body a:hover,
.article-body a:focus-visible {
  color: var(--accent);
  text-decoration-thickness: 0.12em;
}

/* ── Share ── */
.share-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.share-row > span {
  color: var(--muted);
  font-size: 0.85rem;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 38px;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.12s ease, color 0.12s ease;
}

.share-btn svg {
  width: 15px;
  height: 15px;
}

.share-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ── Post nav ── */
.post-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  margin-top: 1.25rem;
}

.post-nav-item {
  flex: 1 1 240px;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.12s ease, box-shadow 0.12s ease, transform 0.12s ease;
}

.post-nav-item:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 20px rgba(74, 33, 112, 0.08);
  transform: translateY(-2px);
  color: var(--ink);
}

.post-nav-prev {
  text-align: right;
}

.post-nav-next {
  text-align: left;
}

.pn-chevron {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: color-mix(in srgb, var(--lilac) 60%, white);
  color: var(--accent);
  transition: background 0.12s ease, color 0.12s ease;
}

.pn-chevron svg {
  width: 18px;
  height: 18px;
}

.post-nav-item:hover .pn-chevron {
  background: linear-gradient(135deg, var(--accent), var(--blue));
  color: #fff;
}

.pn-text {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.pn-label {
  font-size: 0.72rem;
  color: var(--muted);
}

.pn-title {
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-nav:has(> :only-child) .post-nav-item {
  flex: 0 1 380px;
}

@media (max-width: 575.98px) {
  .post-nav-item {
    flex-basis: 100%;
  }

  .post-nav:has(> :only-child) .post-nav-item {
    flex: 1 1 100%;
  }

  .post-sheet-body > header h1 {
    font-size: 1.35rem;
    line-height: 1.4;
  }

  .related h2 {
    font-size: 1.15rem;
  }
}

/* ── Mobile polish for article detail ── */
@media (max-width: 720px) {
  .blog-shell {
    padding: 1.1rem 0.8rem 2.4rem;
  }

  .page-blog .blog-site-footer .landing-footer-panel {
    border-radius: 18px 18px 0 0;
  }

  .post-sheet {
    border-radius: 14px;
  }

  .post-sheet-body {
    padding: 0.95rem 0.9rem 1.2rem;
  }

  .post-meta {
    gap: 0.35rem 0.7rem;
  }

  .article-body {
    font-size: 1rem;
    line-height: 1.85;
    text-align: start;
  }

  .article-body h2,
  .article-body h3 {
    margin-top: 1.5rem;
  }

  .article-body figure {
    margin: 1.15rem -0.15rem;
  }

  .article-body ul,
  .article-body ol {
    padding-inline-start: 1.15rem;
  }

  .share-row {
    gap: 0.45rem;
  }

  .share-btn {
    flex: 1 1 calc(50% - 0.45rem);
    justify-content: center;
  }

  .sidebar-card {
    padding: 1rem 1.05rem;
  }

  .sidebar-cta .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .blog-search {
    flex-direction: column;
  }

  .blog-search .btn {
    width: 100%;
  }

  .chip-bar {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.15rem;
    scrollbar-width: none;
  }

  .chip-bar::-webkit-scrollbar {
    display: none;
  }

  .chip {
    flex: 0 0 auto;
  }
}

@media (max-width: 420px) {
  .share-btn {
    flex-basis: 100%;
  }

  .landing-header-inner {
    padding-inline: 0.85rem;
  }

  .page-blog .landing-nav-brand span {
    font-size: 1.2rem;
  }
}

/* ── Sidebar ── */
.post-sidebar {
  display: grid;
  gap: 1.1rem;
}

@media (min-width: 960px) {
  .post-sidebar {
    position: sticky;
    /* Clear sticky landing header + reading-progress strip */
    top: calc(3.65rem + 0.85rem);
  }
}

.sidebar-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.25rem;
}

.sidebar-card h2 {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 0.85rem;
  color: var(--ink);
}

.sidebar-cta {
  background: linear-gradient(150deg, color-mix(in srgb, var(--lilac) 55%, white), #fff);
  border-color: color-mix(in srgb, var(--lilac) 70%, var(--line));
}

.sidebar-cta p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.65;
}

.side-cats {
  list-style: none;
  margin: 0;
  padding: 0;
}

.side-cats a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.5rem 0;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

.side-cats li:last-child a {
  border-bottom: 0;
}

.side-cats a:hover {
  color: var(--accent);
}

.side-count {
  font-size: 0.75rem;
  color: var(--muted);
  background: color-mix(in srgb, var(--lilac) 55%, white);
  border-radius: 999px;
  padding: 0.05rem 0.5rem;
}

.side-posts {
  list-style: none;
  margin: 0;
  padding: 0;
}

.side-post a {
  display: flex;
  gap: 0.7rem;
  padding: 0.55rem 0;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

.side-post:last-child a {
  border-bottom: 0;
}

.side-post img,
.side-post-noimg {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  border-radius: 0.6rem;
  object-fit: cover;
  background: color-mix(in srgb, var(--lilac) 55%, white);
}

.side-post-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.side-post-title {
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.side-post-date {
  font-size: 0.78rem;
  color: var(--muted);
}

.side-post a:hover .side-post-title {
  color: var(--accent);
}

/* ── Related ── */
.related {
  margin-top: 2.5rem;
}

.related h2 {
  margin: 0 0 1rem;
  font-size: 1.15rem;
  font-weight: 700;
}

/* ── Landing teaser (home.html section) ── */
.landing-blog {
  padding: clamp(2rem, 5vw, 3.5rem) 0;
}

.landing-blog-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  margin-bottom: 1.25rem;
}

.landing-blog-head h2 {
  margin: 0;
  font-size: clamp(1.25rem, 2.5vw, 1.55rem);
}

.landing-blog-head a {
  font-size: 0.9rem;
  font-weight: 550;
  color: var(--accent);
}

.landing-blog-head a:hover {
  color: var(--blue);
}

.landing-blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
}

@media (min-width: 700px) {
  .landing-blog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.landing-blog-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 24px rgba(74, 33, 112, 0.06);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.landing-blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(74, 33, 112, 0.1);
}

.landing-blog-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: color-mix(in srgb, var(--lilac) 55%, white);
}

.landing-blog-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1rem 1.05rem 1.15rem;
  flex: 1 1 auto;
}

.landing-blog-card h3 {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.45;
}

.landing-blog-card h3 a {
  color: var(--ink);
  text-decoration: none;
}

.landing-blog-card h3 a:hover {
  color: var(--accent);
}

.landing-blog-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1 1 auto;
}

.landing-blog-card time {
  color: var(--muted);
  font-size: 0.8rem;
}
