.hg-ct {
  --hg-ct-accent: #1866b4;
  --hg-ct-accent-dark: #13528f;
  --hg-ct-bg: #f7faf9;
  background: var(--hg-ct-bg);
  border-bottom: 1px solid #dfe6e8;
  border-top: 1px solid #dfe6e8;
  box-sizing: border-box;
  margin: 32px 0;
  padding: 24px 16px;
}

.hg-ct--ocean {
  --hg-ct-accent: #0a5e8c;
  --hg-ct-accent-dark: #07486b;
  --hg-ct-bg: #f4fafc;
}

.hg-ct--trail,
.hg-ct--kauai {
  --hg-ct-accent: #1d9771;
  --hg-ct-accent-dark: #15785a;
  --hg-ct-bg: #f4faf7;
}

.hg-ct--explore {
  --hg-ct-accent: #2a7b5b;
  --hg-ct-accent-dark: #1f5f45;
  --hg-ct-bg: #f7faf8;
}

.hg-ct--sunset,
.hg-ct--oahu {
  --hg-ct-accent: #f27a24;
  --hg-ct-accent-dark: #c95f18;
  --hg-ct-bg: #fff8f2;
}

.hg-ct--maui {
  --hg-ct-accent: #1866b4;
  --hg-ct-accent-dark: #13528f;
  --hg-ct-bg: #f4f8fd;
}

.hg-ct--big-island {
  --hg-ct-accent: #c3232f;
  --hg-ct-accent-dark: #9e1c26;
  --hg-ct-bg: #fff5f6;
}

.hg-ct__inner {
  box-sizing: border-box;
  margin: 0 auto;
  max-width: 1120px;
  width: 100%;
}

.hg-ct__header {
  align-items: flex-end;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin: 0 0 18px;
}

.hg-ct__lead {
  max-width: 760px;
}

.hg-ct__kicker {
  align-items: center;
  color: var(--hg-ct-accent);
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  gap: 7px;
  letter-spacing: 0;
  line-height: 1.2;
  margin: 0 0 7px;
  text-transform: uppercase;
}

.hg-ct h2 {
  color: #1f2f38;
  font-size: 26px;
  line-height: 1.16;
  margin: 0 0 8px;
}

.hg-ct p {
  color: #526168;
  font-size: 15px;
  line-height: 1.5;
  margin: 0;
}

.hg-ct__browse {
  align-items: center;
  background: #fff;
  border: 1px solid rgba(32, 45, 54, 0.14);
  border-radius: 999px;
  color: var(--hg-ct-accent-dark);
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 14px;
  font-weight: 800;
  gap: 8px;
  padding: 9px 13px;
  text-decoration: none;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.hg-ct__browse:hover,
.hg-ct__browse:focus-visible {
  border-color: rgba(32, 45, 54, 0.28);
  box-shadow: 0 8px 18px rgba(32, 45, 54, 0.1);
  color: var(--hg-ct-accent-dark);
  outline: none;
  text-decoration: none;
  transform: translateY(-1px);
}

.hg-ct__grid {
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1.15fr) repeat(3, minmax(0, 1fr));
}

.hg-ct-card {
  align-items: flex-start;
  background: #fff;
  border: 1px solid #dfe6e8;
  border-left: 5px solid var(--hg-ct-accent);
  border-radius: 8px;
  box-sizing: border-box;
  color: #26343a;
  display: flex;
  gap: 12px;
  min-height: 132px;
  padding: 15px;
  text-decoration: none;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.hg-ct-card:hover,
.hg-ct-card:focus-visible {
  border-color: #b8c8ce;
  box-shadow: 0 8px 18px rgba(32, 45, 54, 0.12);
  color: #26343a;
  outline: none;
  text-decoration: none;
  transform: translateY(-2px);
}

.hg-ct__primary {
  min-height: 100%;
  padding: 18px;
}

.hg-ct-card__icon {
  align-items: center;
  background: var(--hg-ct-accent);
  border-radius: 8px;
  color: #fff;
  display: inline-flex;
  flex: 0 0 38px;
  font-size: 18px;
  height: 38px;
  justify-content: center;
  margin-top: 1px;
  width: 38px;
}

.hg-ct-card__copy {
  display: block;
  min-width: 0;
}

.hg-ct-card__badge {
  color: var(--hg-ct-accent-dark);
  display: block;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 5px;
  text-transform: uppercase;
}

.hg-ct-card strong {
  color: #1f2f38;
  display: block;
  font-size: 17px;
  line-height: 1.22;
  margin: 0 0 6px;
}

.hg-ct-card__desc {
  color: #526168;
  display: block;
  font-size: 14px;
  line-height: 1.38;
}

.hg-ct-card em {
  color: var(--hg-ct-accent-dark);
  display: inline-flex;
  font-size: 14px;
  font-style: normal;
  font-weight: 800;
  gap: 6px;
  line-height: 1.25;
  margin: 11px 0 0;
}

.hg-ct-card--green {
  border-left-color: #1d9771;
}

.hg-ct-card--green .hg-ct-card__icon {
  background: #1d9771;
}

.hg-ct-card--green .hg-ct-card__badge,
.hg-ct-card--green em {
  color: #15785a;
}

.hg-ct-card--orange,
.hg-ct-card--amber {
  border-left-color: #f27a24;
}

.hg-ct-card--orange .hg-ct-card__icon,
.hg-ct-card--amber .hg-ct-card__icon {
  background: #f27a24;
}

.hg-ct-card--orange .hg-ct-card__badge,
.hg-ct-card--orange em,
.hg-ct-card--amber .hg-ct-card__badge,
.hg-ct-card--amber em {
  color: #c95f18;
}

.hg-ct-card--red {
  border-left-color: #c3232f;
}

.hg-ct-card--red .hg-ct-card__icon {
  background: #c3232f;
}

.hg-ct-card--red .hg-ct-card__badge,
.hg-ct-card--red em {
  color: #9e1c26;
}

.hg-ct-card--purple {
  border-left-color: #6f56a6;
}

.hg-ct-card--purple .hg-ct-card__icon {
  background: #6f56a6;
}

.hg-ct-card--purple .hg-ct-card__badge,
.hg-ct-card--purple em {
  color: #574386;
}

.hg-ct--band {
  margin: 0 0 28px;
  padding-bottom: 28px;
  padding-top: 28px;
}

.hg-ct--band .hg-ct__grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hg-ct--band .hg-ct__primary {
  grid-column: span 2;
}

.hg-ct--band .hg-ct-card {
  min-height: 152px;
}

/* Sidebar-embedded grids sit in a ~700-760px content column on tablet-width
   viewports (iPad portrait ≈1024-1366px) — four columns crush to one word per
   line there. Drop to 2 columns earlier for the in-column grid; the full-width
   island-homepage band (.hg-ct--band) keeps 4 columns until 980px. */
@media (max-width: 1240px) {
  .hg-ct__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hg-ct:not(.hg-ct--band) .hg-ct__primary {
    grid-column: 1 / -1;
  }
}

@media (max-width: 980px) {
  .hg-ct__grid,
  .hg-ct--band .hg-ct__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hg-ct__primary {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .hg-ct {
    margin: 24px 0;
    padding: 22px 10px;
  }

  .hg-ct--band {
    margin-bottom: 24px;
  }

  .hg-ct__header {
    align-items: flex-start;
    display: block;
  }

  .hg-ct__browse {
    margin-top: 14px;
  }

  .hg-ct h2 {
    font-size: 22px;
  }

  .hg-ct__grid,
  .hg-ct--band .hg-ct__grid {
    grid-template-columns: 1fr;
  }

  .hg-ct-card,
  .hg-ct--band .hg-ct-card {
    min-height: 0;
  }
}

@media print {
  .hg-ct {
    display: none;
  }
}
