.hlp-wrap,
.hlp-wrap * {
  box-sizing: border-box;
}

.hlp-empty {
  border: 1px dashed #bbb;
  background: #fafafa;
  padding: 18px;
}

.hlp-hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: stretch;
  justify-content: center;
  min-height: var(--hlp-min-height, 700px);
}

.hlp-hero--fixed-bg .hlp-hero__bg {
  background-attachment: fixed;
}

.hlp-hero__bg,
.hlp-hero__overlay {
  position: absolute;
  inset: 0;
}

.hlp-hero__bg {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.hlp-hero__bg--fallback {
  background: linear-gradient(135deg, #121212 0%, #373737 100%);
}

.hlp-hero__overlay {
  background: #000;
  opacity: var(--hlp-overlay-opacity, .45);
}

.hlp-hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(30px, 5vw, 80px);
}

.hlp-hero__content {
  width: 100%;
  max-width: var(--hlp-content-max-width, 980px);
}

.hlp-hero__meta,
.hlp-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  align-items: center;
  line-height: 1.4;
}

.hlp-meta-sep {
  opacity: .7;
}

.hlp-hero__meta {
  margin: 0 0 1rem;
}

.hlp-hero__title {
  margin: 0 0 1rem;
  line-height: 1.02;
}

.hlp-hero__excerpt {
  margin: 0 0 1.35rem;
  line-height: 1.5;
}

.hlp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: .9rem 1.25rem;
  transition: opacity .2s ease;
}

.hlp-btn:hover {
  opacity: .88;
}

.hlp-grid-wrap {
  width: 100%;
  padding: 32px 0 0;
}

.hlp-grid-wrap--contained {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}

.hlp-grid-wrap--full {
  max-width: none;
  margin: 0;
}

.hlp-grid {
  display: grid;
  gap: 24px;
}

.hlp-grid--cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hlp-grid--cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hlp-grid--cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hlp-card {
  min-width: 0;
}

.hlp-card__thumb {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e8e8e8;
}

.hlp-card__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hlp-card__body {
  padding-top: 12px;
}

.hlp-card__title {
  margin: 0 0 .6rem;
  line-height: 1.15;
}

.hlp-card__title a {
  color: inherit;
  text-decoration: none;
}

.hlp-card__meta {
  margin: 0 0 .75rem;
}

.hlp-card__excerpt {
  margin: 0 0 1rem;
  line-height: 1.55;
}

@media (max-width: 1080px) {
  .hlp-grid--cols-4,
  .hlp-grid--cols-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .hlp-grid--cols-4,
  .hlp-grid--cols-3,
  .hlp-grid--cols-2 {
    grid-template-columns: 1fr;
  }
}
