.jns {
  --jns-accent: #1866b4;
  --jns-accent-dark: #13528f;
  background: #fff;
  border: 1px solid #dfe6e8;
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(32, 45, 54, 0.1);
  box-sizing: border-box;
  margin: 18px auto 24px;
  max-width: 1120px;
  overflow: hidden;
  width: calc(100% - 40px);
}

.jns-oahu {
  --jns-accent: #f27a24;
  --jns-accent-dark: #c95f18;
}

.jns-maui {
  --jns-accent: #1866b4;
  --jns-accent-dark: #13528f;
}

.jns-kauai {
  --jns-accent: #1d9771;
  --jns-accent-dark: #15785a;
}

.jns-big-island {
  --jns-accent: #c3232f;
  --jns-accent-dark: #9e1c26;
}

.jns-weather {
  --jns-accent: #2a7b5b;
  --jns-accent-dark: #1f5f45;
}

.jns-travel {
  --jns-accent: #6f56a6;
  --jns-accent-dark: #574386;
}

.jns-lead {
  background: #f6f8f8;
  border-bottom: 1px solid #dfe6e8;
  box-sizing: border-box;
  padding: 22px 26px;
}

.jns-kicker {
  color: var(--jns-accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 7px;
  text-transform: uppercase;
}

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

.jns p {
  color: #526168;
  font-size: 15px;
  line-height: 1.5;
  margin: 0;
  max-width: 840px;
}

.jns-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 18px;
}

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

.jns-card:hover,
.jns-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);
}

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

.jns-card:nth-child(2) {
  border-left-color: #1d9771;
}

.jns-card:nth-child(2) .jns-icon {
  background: #1d9771;
}

.jns-card:nth-child(3) {
  border-left-color: #f27a24;
}

.jns-card:nth-child(3) .jns-icon {
  background: #f27a24;
}

.jns-card:nth-child(4) {
  border-left-color: #0a5e8c;
}

.jns-card:nth-child(4) .jns-icon {
  background: #0a5e8c;
}

.jns-card:nth-child(5) {
  border-left-color: #6f56a6;
}

.jns-card:nth-child(5) .jns-icon {
  background: #6f56a6;
}

.jns-card:nth-child(6) {
  border-left-color: #c3232f;
}

.jns-card:nth-child(6) .jns-icon {
  background: #c3232f;
}

.jns-copy {
  display: block;
  min-width: 0;
}

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

.jns-copy span {
  color: #526168;
  display: block;
  font-size: 14px;
  line-height: 1.38;
}

@media (max-width: 920px) {
  .jns-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .jns {
    margin-bottom: 20px;
    margin-top: 14px;
    width: calc(100% - 20px);
  }

  .jns-lead {
    padding: 19px 16px;
  }

  .jns h2 {
    font-size: 23px;
  }

  .jns-grid {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .jns-card {
    min-height: 0;
  }
}

@media print {
  .jns {
    display: none;
  }
}
