/* Monthly Hawaii visit pages */
.hm-planner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 22px;
  max-width: 1120px;
  margin: 18px auto 24px;
  padding: 30px;
  border-radius: 8px;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(11, 42, 50, 0.93) 0%, rgba(11, 42, 50, 0.8) 46%, rgba(11, 42, 50, 0.42) 100%),
    var(--hm-image) center center / cover no-repeat;
  box-shadow: 0 14px 34px rgba(20, 50, 60, 0.16);
  box-sizing: border-box;
}
.hm-planner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.22));
  pointer-events: none;
}
.hm-planner-copy,
.hm-metrics,
.hm-bottom {
  position: relative;
  z-index: 1;
}
.hm-planner .hm-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.hm-planner .hm-planner-copy h2 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 34px;
  line-height: 1.12;
  font-weight: 900;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.28);
}
.hm-planner .hm-verdict {
  margin: 0 0 8px;
  color: #fff;
  font-size: 20px;
  line-height: 1.35;
  font-weight: 800;
}
.hm-planner .hm-summary {
  max-width: 640px;
  margin: 0;
  color: rgba(255, 255, 255, 0.89);
  font-size: 16px;
  line-height: 1.55;
}
.hm-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.hm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  box-sizing: border-box;
}
.hm-btn-primary {
  background: var(--hm-accent, #1866b4);
  color: #fff;
  box-shadow: 0 9px 22px rgba(0, 0, 0, 0.22);
}
.hm-btn-primary:hover {
  color: #fff;
  filter: brightness(0.92);
}
.hm-btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.13);
  color: #fff;
}
.hm-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.24);
  color: #fff;
}
.hm-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-self: center;
}
.hm-metric {
  min-width: 0;
  padding: 13px 14px;
  border: 1px solid rgba(255, 255, 255, 0.19);
  border-radius: 8px;
  background: rgba(7, 24, 31, 0.7);
  box-sizing: border-box;
}
.hm-metric-label {
  display: block;
  margin-bottom: 5px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.hm-metric strong {
  display: block;
  color: #fff;
  font-size: 17px;
  line-height: 1.25;
}
.hm-bottom {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.hm-planner .hm-bottom p {
  margin: 0;
  padding: 12px 14px;
  border-left: 4px solid var(--hm-accent, #1866b4);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.91);
  color: #23383d;
  font-size: 14px;
  line-height: 1.45;
}
.hm-planner .hm-bottom strong {
  color: #172f35;
}

.hg-month-nav,
.hg-tools-strip {
  max-width: min(1404px, calc(100% - 64px));
  margin-left: auto !important;
  margin-right: auto !important;
}

.hg-month-nav {
  align-items: center;
  background: #f6f7f8;
  border: 1px solid #e3e6e8;
  border-radius: 10px;
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  line-height: 1.5;
  margin-bottom: 22px !important;
  margin-top: 18px !important;
  padding: 14px 18px;
}

.hg-month-nav strong {
  color: #1866b4;
  font-size: 15px;
  font-weight: 800;
  margin-right: 4px;
}

.hg-month-nav a,
.hg-month-nav span {
  align-items: center;
  background: #fff;
  border: 1px solid #d6dadd;
  border-radius: 6px;
  box-sizing: border-box;
  color: #1866b4;
  display: inline-flex;
  font-size: 15px;
  justify-content: center;
  min-height: 36px;
  padding: 5px 12px;
  text-decoration: none;
  white-space: nowrap;
}

.hg-month-nav span[aria-current="page"] {
  background: #1866b4;
  border-color: #1866b4;
  color: #fff;
  font-weight: 800;
}

.hg-month-nav a:hover,
.hg-month-nav a:focus-visible {
  background: #eaf2fb;
  color: #13528f;
  outline: none;
  text-decoration: none;
}

.hg-month-nav .hg-month-nav-cta {
  border-color: #1866b4;
  font-weight: 800;
  gap: 6px;
  margin-left: auto;
}

.hg-tools-strip {
  background: #fff;
  border: 1px solid #e3e6e8;
  border-radius: 10px;
  box-sizing: border-box;
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 22px !important;
  padding: 16px 18px 18px;
}

.hg-tools-title {
  color: #1866b4;
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 12px;
}

.hg-tools-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.hg-tool-card {
  background: #f6f7f8;
  border: 1px solid #e3e6e8;
  border-radius: 8px;
  box-sizing: border-box;
  color: #222;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  padding: 12px;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.hg-tool-card i {
  align-items: center;
  background: #e8f2f8;
  border-radius: 8px;
  color: #1866b4;
  display: inline-flex;
  font-size: 16px;
  grid-row: 1 / span 2;
  height: 30px;
  justify-content: center;
  width: 30px;
}

.hg-tool-card span {
  color: #1866b4;
  display: block;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25;
}

.hg-tool-card em {
  color: #555;
  display: block;
  font-size: 13px;
  font-style: normal;
  line-height: 1.35;
  margin-top: 3px;
}

.hg-tool-card:hover,
.hg-tool-card:focus-visible {
  background: #eef5f8;
  border-color: #cbdce3;
  outline: none;
  text-decoration: none;
  transform: translateY(-1px);
}

@media (max-width: 860px) {
  .hm-planner {
    grid-template-columns: 1fr;
    padding: 24px 20px;
  }
}

@media (max-width: 620px) {
  .hg-month-nav,
  .hg-tools-strip {
    max-width: calc(100% - 24px);
  }

  .hg-month-nav .hg-month-nav-cta {
    margin-left: 0;
    width: 100%;
  }

  .hm-planner {
    margin-top: 12px;
    padding: 22px 20px;
    border-radius: 0;
  }
  .hm-planner h2 {
    font-size: 28px;
  }
  .hm-verdict {
    font-size: 18px;
  }
  .hm-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .hm-metric {
    padding: 10px;
  }
  .hm-metric strong {
    font-size: 15px;
  }
  .hm-bottom {
    grid-template-columns: 1fr;
  }
  .hm-btn {
    width: 100%;
  }
}
