/* Homepage blog highlights, three cards side by side with a read more button */
.blog-highlights {
  --bh-ink: #1c2539;
  --bh-muted: #5d666f;
  --bh-faded: #98a0a8;
  --bh-accent: #fa8b17;
  --bh-card: #ffffff;
  position: relative;
  padding: clamp(56px, 6vw, 100px) 0;
  background: var(--gotezu-bg, #f7f4ef);
}

.blog-highlights__inner {
  width: 100%;
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.blog-highlights__head {
  margin-bottom: clamp(30px, 3.4vw, 52px);
  text-align: center;
}

.blog-highlights__eyebrow {
  margin: 0 0 12px;
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bh-accent);
}

.blog-highlights__title {
  margin: 0;
  font-family: "Red Hat Display", sans-serif;
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--bh-ink);
}

.blog-highlights__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2vw, 32px);
}

.blog-highlights__card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 14px 14px 26px;
  border-radius: 22px;
  background: var(--bh-card);
  box-shadow: 0 10px 30px rgba(28, 37, 57, 0.07);
  text-decoration: none;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.blog-highlights__card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 44px rgba(28, 37, 57, 0.13);
}

.blog-highlights__thumb {
  position: relative;
  margin: 0 0 20px;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #e4e2de;
}

.blog-highlights__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-highlights__card:hover .blog-highlights__thumb img {
  transform: scale(1.04);
}

.blog-highlights__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  margin-bottom: 10px;
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--bh-faded);
}

.blog-highlights__category {
  color: var(--bh-accent);
}

.blog-highlights__card-title {
  margin: 0 0 10px;
  padding: 0 10px;
  font-family: "Red Hat Display", sans-serif;
  font-size: clamp(18px, 1.4vw, 21px);
  font-weight: 700;
  line-height: 1.34;
  letter-spacing: -0.01em;
  color: var(--bh-ink);
  transition: color 0.3s ease;
}

.blog-highlights__card:hover .blog-highlights__card-title {
  color: var(--bh-accent);
}

.blog-highlights__excerpt {
  margin: 0;
  padding: 0 10px;
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  line-height: 1.68;
  color: var(--bh-muted);
  /* keep all three cards the same height regardless of copy length */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-highlights__foot {
  margin-top: clamp(30px, 3.2vw, 48px);
  text-align: center;
}

.blog-highlights__more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 17px 40px;
  border: 0;
  border-radius: 999px;
  background: var(--bh-accent);
  color: #fff;
  font-family: "DM Sans", sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(250, 139, 23, 0.28);
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-highlights__more svg {
  width: 16px;
  height: 16px;
}

.blog-highlights__more:hover {
  background: var(--bh-ink);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(28, 37, 57, 0.24);
}

@media (max-width: 768px) {
  .blog-highlights__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .blog-highlights__inner {
    padding: 0 20px;
  }

  .blog-highlights__more {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }
}
