/* Home New — Featured boxes. Scoped to .hk-nboxes; reuses theme fonts (FreightBig Pro / Now). */
.hk-nboxes {
  --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;
  --hk-navy: #09334a;
  --hk-gold: #8c752c;
}
.hk-nboxes,
.hk-nboxes * {
  box-sizing: border-box;
}
.hk-nboxes {
  scroll-margin-top: 90px;
  padding-bottom: 20px;
  background: #fff;
}
.hk-nboxes__wrap {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: min(100% - 32px, 1295px);
  margin-inline: auto;
}

/* Card — background image with a dark gradient on the text side */
.hk-nboxes__item {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  min-height: clamp(300px, 18.49vw, 355px);
  padding: clamp(20px, 1.562vw, 30px);
  background: var(--hk-navy);
  border-radius: 3px;
  color: #fff;
}
.hk-nboxes__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.65) 43%, rgba(0, 0, 0, 0) 62%);
  pointer-events: none;
}
.hk-nboxes__img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hk-nboxes__content,
.hk-nboxes__btns {
  position: relative;
  z-index: 1;
}
.hk-nboxes__content {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 348px;
}
.hk-nboxes__title {
  font-family: var(--hk-font-headline) !important;
  font-weight: 600 !important;
  font-size: clamp(28px, 1.823vw, 35px) !important;
  line-height: 1.1 !important;
  text-transform: none !important;
  color: #fff !important;
  margin: 0 !important;
}
.hk-nboxes__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  font-family: var(--hk-font-body);
  font-size: 17px;
  line-height: 1.3;
}
.hk-nboxes__price del {
  font-weight: 400;
  color: #fff;
}
.hk-nboxes__price ins {
  font-weight: 600;
  text-decoration: none;
  color: #fff;
}
.hk-nboxes__details {
  max-width: 223px;
  margin: 0;
  font-family: var(--hk-font-body);
  font-size: 14px;
  line-height: 1.5;
  color: #fff;
}
.hk-nboxes__desc {
  margin-top: -5px;
  font-family: var(--hk-font-body);
  font-size: clamp(16px, 0.9375vw, 18px);
  line-height: 1.5;
  color: #fff;
}
.hk-nboxes__desc p {
  margin: 0;
  color: inherit;
}
.hk-nboxes__desc strong,
.hk-nboxes__desc b {
  font-weight: 500;
}

/* Buttons — white filled / white outline */
.hk-nboxes__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.hk-nboxes__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 20px;
  font-family: var(--hk-font-body);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.3;
  color: var(--hk-navy);
  background: #fff;
  border: 1px solid #fff;
  border-radius: 3px;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}
.hk-nboxes__btn:hover,
.hk-nboxes__btn:focus {
  background: var(--hk-gold);
  border-color: var(--hk-gold);
  color: #fff;
  text-decoration: none;
}
.hk-nboxes__btn--outline {
  background: transparent;
  color: #fff;
}

@media (max-width: 767px) {
  .hk-nboxes__wrap {
    grid-template-columns: minmax(0, 1fr);
    width: min(100% - 20px, 1295px);
  }
  .hk-nboxes__item {
    min-height: 320px;
    padding: 20px;
  }
  /* Mobile mockup: text on top, gradient runs top to bottom */
  .hk-nboxes__item::after {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.65) 35%, rgba(0, 0, 0, 0) 65%);
  }
  .hk-nboxes__content {
    max-width: none;
  }
}
