/* ==========================================================================
   Blog listing
   ========================================================================== */
.blog-page .bento-card {
  height: 100%;
  padding: 20px;
}

.blog-page .bento-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.blog-page .bento-card:hover {
  background: var(--card);
  color: inherit;
}

.blog-page .bento-card:hover p {
  color: var(--ink-2);
}

.blog-page .bento-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.blog-page .bento-card p {
  color: var(--ink-2);
  font-size: 0.92rem;
}

.blog-page .btn-av {
  min-height: 40px;
}

.blog-page .btn-av .btn-arrow {
  margin-right: -6px;
}

@media (max-width: 575.98px) {
  .blog-page .bento-card {
    padding: 16px;
  }
}

/* ==========================================================================
   Blog detail
   ========================================================================== */
.blog-detail-page .post-title {
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
  margin-bottom: 20px;
}

.blog-detail-page h3 {
  margin: 32px 0 12px;
}

.blog-detail-page p {
  color: var(--ink-2);
  margin-bottom: 16px;
}

.blog-detail-page img {
  width: 100%;
  height: auto;
  display: block;
}

.blog-detail-page ul,
.blog-detail-page ol {
  padding-left: 22px;
  margin-bottom: 16px;
}

.blog-detail-page li p {
  margin-bottom: 8px;
}

.bento-card-no-hover {
  position: sticky;
  top: calc(var(--header-h) + 32px);
}

.bento-card-no-hover:hover {
  background: var(--card);
  color: inherit;
}

.bento-card-no-hover a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
