﻿.ghb-blog-archive {
  padding: 18px 0 80px;
}

.ghb-blog-header,
.ghb-blog-top-featured,
.ghb-blog-list-wrap,
.ghb-blog-loadmore-wrap,
.ghb-blog-empty {
  width: min(1120px, calc(100% - 32px));
  margin-left: auto;
  margin-right: auto;
}

.ghb-blog-page-title {
  font-size: clamp(26px, 3.8vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
}

.ghb-blog-top-featured {
  margin-top: 8px;
  margin-bottom: 26px;
}

.ghb-blog-top-featured-link {
  position: relative;
  display: block;
  min-height: 340px;
  border-radius: 22px;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.ghb-blog-top-featured-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.02);
}

.ghb-blog-top-featured-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.28));
}

.ghb-blog-top-featured-body {
  position: relative;
  z-index: 2;
  padding: 28px;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
}

.ghb-blog-top-featured-kicker {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
}

.ghb-blog-top-featured-title {
  margin: 0;
  font-size: clamp(24px, 3.8vw, 40px);
  line-height: 1.2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ghb-blog-top-featured-excerpt {
  margin: 0;
  max-width: 760px;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ghb-blog-top-featured-meta {
  margin: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
}

.ghb-blog-list-wrap {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.ghb-blog-item {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: #12151d;
  overflow: hidden;
}

.ghb-blog-item-media {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #1b1f2a;
}

.ghb-blog-item-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ghb-blog-item-media--empty {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #252a36, #171a23);
}

.ghb-blog-item-body {
  display: flex;
  flex-direction: column;
  padding: 14px;
  min-height: 190px;
}

.ghb-blog-item-title {
  margin: 0 0 8px;
  font-size: 17px;
  line-height: 1.35;
}

.ghb-blog-item-title a {
  color: #fff;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ghb-blog-item-meta {
  margin: 0 0 10px;
  font-size: 12px;
  color: #a9b2c0;
}

.ghb-blog-item-excerpt {
  margin: 0 0 12px;
  color: #d0d7e2;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ghb-blog-item-more {
  margin-top: auto;
  align-self: flex-start;
  color: #f2ca74;
  font-size: 13px;
  text-decoration: none;
}

.ghb-blog-item-more:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ghb-blog-loadmore-wrap {
  margin-top: 22px;
  display: flex;
  justify-content: center;
}

#ghb-blog-loadmore {
  min-width: 220px;
}

.ghb-blog-empty {
  margin-top: 24px;
  text-align: center;
}

@media (max-width: 1024px) {
  .ghb-blog-list-wrap {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .ghb-blog-top-featured-link,
  .ghb-blog-top-featured-body {
    min-height: 300px;
  }

  .ghb-blog-top-featured-body {
    padding: 20px;
  }

  .ghb-blog-list-wrap {
    grid-template-columns: 1fr;
  }
}
