/* Best snorkeling in Hawaii: canonical guide + month planner */
.hg-snorkel-guide {
  --hg-sg-ink: #173047;
  --hg-sg-muted: #596a75;
  --hg-sg-line: #dce5e9;
  --hg-sg-surface: #f5f8f9;
  --hg-sg-oahu: #f27a24;
  --hg-sg-maui: #1866b4;
  --hg-sg-big-island: #c3232f;
  --hg-sg-kauai: #1d9771;
  color: var(--hg-sg-ink);
}

.hg-snorkel-guide p.hg-sg-dek:first-of-type {
  margin: 8px 0 24px;
  color: #334c5b !important;
  font-size: clamp(18px, 2.1vw, 22px) !important;
  line-height: 1.55 !important;
}

.hg-sg-kicker {
  display: inline-block;
  margin: 0 0 5px;
  color: #1d7c60;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.11em;
  line-height: 1.2;
  text-transform: uppercase;
}

.hg-sg-quick,
.hg-sg-live,
.hg-sg-safety {
  margin: 26px 0;
  border: 1px solid var(--hg-sg-line);
  border-radius: 16px;
  overflow: hidden;
}

.hg-sg-quick__head {
  padding: 22px 24px 12px;
}

.hg-sg-quick__head h2,
.hg-sg-live h2,
.hg-sg-section__head h2,
.hg-sg-safety h2 {
  margin: 0;
  color: var(--hg-sg-ink);
  line-height: 1.2;
}

.hg-sg-quick__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--hg-sg-line);
  border-top: 1px solid var(--hg-sg-line);
}

.hg-sg-quick__item {
  min-width: 0;
  padding: 20px 22px;
  background: #fff;
}

.hg-sg-quick__item > span {
  display: block;
  margin-bottom: 5px;
  color: var(--hg-sg-muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.hg-sg-quick__item > strong {
  display: block;
  color: var(--hg-sg-ink);
  font-size: 20px;
  line-height: 1.25;
}

.hg-snorkel-guide .hg-sg-quick__item p:first-of-type {
  margin: 7px 0 0;
  color: var(--hg-sg-muted) !important;
  font-size: 15px !important;
  line-height: 1.5 !important;
}

.hg-sg-live {
  padding: 24px;
  background:
    radial-gradient(circle at 90% 15%, rgba(29, 151, 113, 0.16), transparent 34%),
    linear-gradient(135deg, #eef7f4 0%, #f5f8fb 100%);
}

.hg-snorkel-guide .hg-sg-live p:first-of-type {
  max-width: 760px;
  margin: 8px 0 0;
  color: #415966 !important;
  font-size: 16px !important;
  line-height: 1.55 !important;
}

.hg-sg-live__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.hg-sg-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  box-sizing: border-box;
  padding: 10px 15px;
  border: 1px solid #b9c9d1;
  border-radius: 9px;
  background: #fff;
  color: var(--hg-sg-ink);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
}

.hg-sg-btn:hover,
.hg-sg-btn:focus {
  border-color: #1d9771;
  color: #126d51;
}

.hg-sg-btn--primary {
  border-color: #1d9771;
  background: #1d9771;
  color: #fff;
}

.hg-sg-btn--primary:hover,
.hg-sg-btn--primary:focus {
  background: #167a5b;
  color: #fff;
}

.hg-sg-section {
  margin: 42px 0 28px;
}

.hg-sg-section__head {
  max-width: 840px;
  margin-bottom: 18px;
}

.hg-snorkel-guide .hg-sg-section__head p:first-of-type {
  margin: 8px 0 0;
  color: var(--hg-sg-muted) !important;
  font-size: 17px !important;
  line-height: 1.55 !important;
}

.hg-sg-island-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.hg-sg-island {
  --hg-sg-island: #1d9771;
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 21px;
  border: 1px solid var(--hg-sg-line);
  border-top: 5px solid var(--hg-sg-island);
  border-radius: 12px;
  background: #fff;
}

.hg-sg-island--oahu { --hg-sg-island: var(--hg-sg-oahu); }
.hg-sg-island--maui { --hg-sg-island: var(--hg-sg-maui); }
.hg-sg-island--big-island { --hg-sg-island: var(--hg-sg-big-island); }
.hg-sg-island--kauai { --hg-sg-island: var(--hg-sg-kauai); }

.hg-sg-island__label {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 7px;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--hg-sg-island);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
}

.hg-sg-island h3 {
  margin: 13px 0 9px;
  color: var(--hg-sg-ink);
  font-size: 20px;
  line-height: 1.25;
}

.hg-sg-island ul {
  margin: 0 0 16px;
  padding-left: 20px;
}

.hg-sg-island li {
  margin: 0 0 9px;
  color: #425965;
  font-size: 15px;
  line-height: 1.48;
}

.hg-sg-island__more {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  color: var(--hg-sg-island);
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}

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

.hg-sg-month {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 17px;
  border: 1px solid var(--hg-sg-line);
  border-radius: 11px;
  background: var(--hg-sg-surface);
}

.hg-sg-month h3 {
  margin: 0 0 5px;
  color: var(--hg-sg-ink);
  font-size: 18px;
  line-height: 1.2;
}

.hg-sg-month > strong {
  color: #1a7458;
  font-size: 14px;
  line-height: 1.35;
}

.hg-snorkel-guide .hg-sg-month p:first-of-type {
  margin: 8px 0 12px;
  color: var(--hg-sg-muted) !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
}

.hg-sg-month a {
  display: inline-flex;
  margin-top: auto;
  color: #176a9f;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.hg-sg-safety {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px;
  border-color: #f0d49b;
  background: #fff8ea;
}

.hg-sg-safety__icon {
  display: flex;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #a76605;
  color: #fff;
  font-size: 20px;
}

.hg-sg-safety h2 {
  font-size: 20px;
}

.hg-snorkel-guide .hg-sg-safety p:first-of-type {
  margin: 8px 0 0;
  color: #5c4a2d !important;
  font-size: 16px !important;
  line-height: 1.55 !important;
}

@media (max-width: 760px) {
  .hg-sg-quick__grid,
  .hg-sg-island-grid {
    grid-template-columns: 1fr;
  }

  .hg-sg-month-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .hg-sg-quick__head,
  .hg-sg-quick__item,
  .hg-sg-live,
  .hg-sg-island,
  .hg-sg-month,
  .hg-sg-safety {
    padding: 17px;
  }

  .hg-sg-month-grid {
    grid-template-columns: 1fr;
  }

  .hg-sg-live__actions {
    flex-direction: column;
  }

  .hg-sg-finder-cta__actions {
    width: 100%;
    flex: 1 1 100% !important;
    flex-direction: column;
  }

  .hg-sg-finder-cta__actions a {
    width: 100%;
    box-sizing: border-box;
    text-align: center;
  }

  .hg-sg-btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .hg-sg-safety {
    display: block;
  }

  .hg-sg-safety__icon {
    margin-bottom: 12px;
  }
}
