/* About — Blog posts. Scoped to .hk-blog; reuses theme fonts (FreightBig Pro / Now).
   Shared helpers (.hk-wrap/.hk-h2/.hk-btn/.hk-sechead) from the old tokens.css are
   inlined here, scoped under .hk-blog, so the block is self-contained. */
.hk-blog {
  --hk-font-headline: "FreightBig Pro", Georgia, "Times New Roman", serif;
  --hk-font-body:
    "Now", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --font-body: var(--hk-font-body);
  --color-brand-1: #09334a;
  --color-brand-2: #8c752c;
  --color-white: #ffffff;
  --aged-antics-300: #d4cbb3;
  --sea-of-stars-600: #5f7888;
  --transition: 0.2s ease;
}
.hk-blog,
.hk-blog * {
  box-sizing: border-box;
}
.hk-blog {
  padding-top: clamp(60px, 4.166vw, 80px);
  padding-bottom: clamp(60px, 4.166vw, 80px);
}
.hk-blog .hk-wrap {
  width: min(100% - 32px, 1295px);
  margin-inline: auto;
}
.hk-blog .hk-sechead {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.hk-blog .hk-h2 {
  font-family: var(--hk-font-headline) !important;
  font-weight: 400 !important;
  font-size: clamp(34px, 3.6vw, 49px) !important;
  line-height: 1.1;
  color: var(--color-brand-1);
  margin: 0;
}
.hk-blog .hk-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0;
  text-transform: none;
  padding: 13px 24px;
  border-radius: 3px;
  border: 0;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
  text-decoration: none;
  transition:
    background var(--transition),
    color var(--transition),
    opacity var(--transition);
}
.hk-blog .hk-btn--dark {
  background: var(--color-brand-1);
  color: var(--color-white);
}
.hk-blog .hk-btn--dark:hover {
  opacity: 0.9;
}
.hk-blog__all {
  font-size: 16px;
  line-height: 24px;
}
.hk-blog__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.hk-post {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(9, 51, 74, 0.12);
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
  text-decoration: none;
}
.hk-post__media {
  position: relative;
  aspect-ratio: 16/11;
  overflow: hidden;
  display: block;
}
.hk-post__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.hk-post:hover .hk-post__media img {
  transform: scale(1.04);
}
.hk-post__ph {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    120% 120% at 30% 20%,
    #6b4a2a,
    #2a1c10 70%,
    #140d07
  );
}
.hk-post__body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  gap: 10px;
  padding: 18px 18px 20px;
}
.hk-post__cat {
  font-family: var(--hk-font-body);
  font-size: 14px;
  line-height: 21px;
  color: var(--color-brand-1);
}
.hk-post__title {
  font-family: var(--hk-font-headline) !important;
  font-weight: 600;
  font-size: 22px !important;
  line-height: 1.3;
  color: var(--color-brand-1);
  margin: 0;
  transition: 0.3s;
}
.hk-post:hover .hk-post__title {
  color: var(--color-brand-2);
}
.hk-post__author {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
}
.hk-post__avatar__box {
  border-top: 1px solid #09334a50;
  padding-top: 15px;
}
.hk-post__avatar {
  display: grid;
  place-items: center;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--aged-antics-300);
  color: var(--color-brand-1);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  flex-shrink: 0;
}
.hk-post__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hk-post__by {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
  padding-top: 15px;
}
.hk-post__name {
  font-family: var(--hk-font-body);
  font-weight: 500;
  font-size: 14px;
  color: var(--color-brand-1);
}
.hk-post__date {
  font-family: var(--hk-font-body);
  font-size: 13px;
  color: var(--sea-of-stars-600);
}
.hk-blog__empty {
  font-family: var(--hk-font-body);
  color: var(--sea-of-stars-600);
  margin: 0;
}
@media (max-width: 820px) {
  .hk-blog__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
@media (max-width: 767px) {
  .hk-blog .hk-wrap {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }
  .hk-blog .hk-sechead {
    display: contents;
  }
  .hk-blog .hk-h2 {
    order: 1;
  }
  .hk-blog__grid {
    order: 2;
  }
  .hk-blog__all {
    order: 3;
    align-self: flex-start;
  }
  .hk-blog .hk-btn{
    width: 100%;
  }
}
