/**
 * HALINK DV04 - Blog archive & single (DV04)
 */
.hl-blog-section {
  padding: 2.5rem 0 3rem;
}

.hl-blog-card {
  background: #fff;
  border: 1px solid var(--hl-border-color);
  border-radius: 0.75rem;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: var(--hl-transition);
}

.hl-blog-card:hover {
  box-shadow: var(--hl-shadow-md);
  transform: translateY(-2px);
}

.hl-blog-card__img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.hl-blog-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.hl-blog-card:hover .hl-blog-card__img img {
  transform: scale(1.04);
}

.hl-blog-card__body {
  padding: 1rem 1.25rem 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.hl-blog-card__date {
  font-size: 14.62px;
  color: #64748b;
  margin-bottom: 0.5rem;
}

.hl-blog-card__title {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 0.5rem;
  line-height: 1.4;
}

.hl-blog-card__title a {
  color: var(--hl-navy);
  text-decoration: none;
}

.hl-blog-card__title a:hover {
  color: var(--hl-gold);
}

.hl-blog-card__excerpt {
  font-size: 15.75px;
  color: #64748b;
  margin-bottom: 0;
  flex: 1;
}

.hl-blog-sidebar {
  position: sticky;
  top: 90px;
}

.hl-blog-sidebar__box {
  background: #fff;
  border: 1px solid var(--hl-border-color);
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
}

.hl-blog-sidebar__title {
  font-size: 16.88px;
  font-weight: 700;
  color: var(--hl-navy);
  margin: 0 0 0.75rem;
}

.hl-blog-sidebar__search input {
  width: 100%;
  border: 1px solid var(--hl-border-color);
  border-radius: 999px;
  padding: 0.55rem 1rem;
  font-size: 15.75px;
}

.hl-blog-sidebar__cats {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hl-blog-sidebar__cats li {
  margin-bottom: 0.35rem;
}

.hl-blog-sidebar__cats a {
  color: var(--hl-dark);
  text-decoration: none;
  font-size: 15.75px;
}

.hl-blog-sidebar__cats a:hover,
.hl-blog-sidebar__cats .current-cat a {
  color: var(--hl-gold);
  font-weight: 600;
}

.hl-blog-sidebar__featured-item {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.hl-blog-sidebar__featured-item:last-child {
  margin-bottom: 0;
}

.hl-blog-sidebar__featured-thumb {
  flex: 0 0 72px;
  width: 72px;
  height: 72px;
  border-radius: 0.5rem;
  overflow: hidden;
}

.hl-blog-sidebar__featured-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hl-blog-sidebar__featured-title {
  font-size: 14.62px;
  font-weight: 600;
  margin: 0 0 0.25rem;
  line-height: 1.35;
}

.hl-blog-sidebar__featured-title a {
  color: var(--hl-navy);
  text-decoration: none;
}

.hl-blog-sidebar__featured-title a:hover {
  color: var(--hl-gold);
}

/* Single post */
.hl-post-article {
  background: #fff;
  border: 1px solid var(--hl-border-color);
  border-radius: 1rem;
  padding: 1.5rem;
}

.hl-post-article__title {
  font-size: 24.75px;
  font-weight: 800;
  color: var(--hl-navy);
  margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
  .hl-post-article__title {
    font-size: 31.5px;
  }
}

.hl-post-article__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 15.75px;
  color: #64748b;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--hl-border-color);
}

.hl-post-article__content {
  font-size: 16.88px;
  line-height: 1.75;
  color: var(--hl-dark);
}

.hl-post-article__content h2,
.hl-post-article__content h3 {
  color: var(--hl-navy);
  font-weight: 700;
  margin-top: 1.5rem;
}

.hl-post-article__content img {
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
}

.hl-post-toc {
  background: #f8fafc;
  border: 1px solid var(--hl-border-color);
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
}

.hl-post-toc__title {
  font-size: 16.88px;
  font-weight: 700;
  color: var(--hl-navy);
  margin-bottom: 0.5rem;
}

.hl-post-toc ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hl-post-toc li {
  margin-bottom: 0.35rem;
}

.hl-post-toc a {
  color: var(--hl-dark);
  text-decoration: none;
  font-size: 15.75px;
}

.hl-post-toc a:hover {
  color: var(--hl-gold);
}

.hl-post-related {
  margin-top: 2rem;
}

.hl-post-related__title {
  font-size: 20.25px;
  font-weight: 800;
  color: var(--hl-navy);
  margin-bottom: 1rem;
}

.hl-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  height: 2.25rem;
  margin: 0 0.15rem;
  border-radius: 999px;
  border: 1px solid var(--hl-border-color);
  color: var(--hl-dark);
  text-decoration: none;
  font-size: 15.75px;
}

.hl-pagination .page-numbers.current,
.hl-pagination .page-numbers:hover {
  background: var(--hl-gold);
  border-color: var(--hl-gold);
  color: var(--hl-navy);
  font-weight: 700;
}
