/* ═══════════════════════════════════════════════════════════════
   Guide Match — Quiz & Results Styles
   ═══════════════════════════════════════════════════════════════ */

/* ─── Which Island page experience ───────────────────────── */
.wi-page-main {
  padding-top: 0 !important;
}

.wi-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 26px;
  align-items: end;
  /* Match the site's large hero rhythm; only the overlay treatment should vary. */
  width: 100vw;
  max-width: none;
  min-height: clamp(560px, 56.25vw, 760px);
  margin: 0 calc(50% - 50vw) 14px;
  padding: clamp(58px, 9vw, 112px) max(5vw, 28px) 96px;
  border-radius: 0;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(0deg, rgba(15, 45, 52, 0.58) 0%, rgba(15, 45, 52, 0.2) 36%, rgba(15, 45, 52, 0) 70%),
    linear-gradient(90deg, rgba(15, 45, 52, 0.72) 0%, rgba(15, 45, 52, 0.5) 42%, rgba(15, 45, 52, 0.16) 100%),
    url("https://cdn.hawaiiguide.io/cdn-cgi/image/width=1800,height=850,fit=cover,quality=85,format=auto/images/jcogs_img/cache/IMG_4965_-_abcdef_-_a8f381ac06e41b64e60ab2e35851143a540ab285.jpeg") center center / cover no-repeat;
  box-sizing: border-box;
}

/* ─── Cover-hero treatment ───────────────────────────────────
   Make this page behave like every other full-bleed hero page on the
   site (island homepages, content pages): transparent overlay nav, the
   hero photo bleeds up behind the sticky header, white nav text on
   desktop. Scoped to `.wi-page` (set together with cover-page in the page
   front matter) so no other #type-entry-page / cover-page template is
   touched. The section id here is #type-entry-page — NOT the
   #type-feature-page that island homepages use; a prior fix copied the
   feature-page selector verbatim, so the slide never applied and left the
   white band the user saw. */
.wi-page .main.nopad {
  padding-top: 0 !important; /* kill legacy .main.nopad 1% top padding */
}
.wi-page #type-entry-page {
  margin-top: -5px;
}
@media only screen and (min-width: 1024px) {
  .wi-page #type-entry-page {
    margin-top: -90px; /* slide the hero up under the transparent sticky nav */
  }
  /* Keep the visible hero (the portion below the nav) the same height by
     adding the 90px the nav now overlaps back into the box. */
  .wi-page .wi-hero {
    min-height: calc(clamp(560px, 56.25vw, 760px) + 90px);
    padding-top: calc(clamp(58px, 9vw, 112px) + 90px);
  }
  /* White nav text while the hero is showing; reverts to dark once the
     header goes sticky (solid white) on scroll. */
  .wi-page .goUS-header:not(.is-sticky) .nav-inline-block span {
    color: #fff;
    text-shadow: -1px -1px 2px rgba(0, 0, 0, 0.2), 1px -1px 2px rgba(0, 0, 0, 0.2),
      -1px 1px 2px rgba(0, 0, 0, 0.2), 1px 1px 2px rgba(0, 0, 0, 0.2);
  }
}

.wi-hero-copy,
.wi-hero-panel {
  position: relative;
  z-index: 1;
}
.wi-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.wi-kicker-dark {
  color: #24606b;
}
.wi-hero h1 {
  max-width: 720px;
  margin: 0;
  color: #fff;
  font-size: 48px;
  line-height: 1.04;
  font-weight: 900;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.3);
}
.wi-hero-lede {
  max-width: 660px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.91);
  font-size: 19px;
  line-height: 1.5;
}
.wi-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.wi-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  box-sizing: border-box;
}
.wi-btn-primary {
  background: #f27a24;
  color: #fff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
}
.wi-btn-primary:hover {
  background: #d96313;
  color: #fff;
}
.wi-btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.62);
  background: rgba(8, 29, 36, 0.32);
  color: #fff;
}
.wi-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}
.wi-hero-panel {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(8, 29, 36, 0.68);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
}
.wi-panel-label {
  margin: 0 0 8px;
  color: #ffd18e;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.wi-panel-main {
  margin: 0 0 14px;
  font-size: 16px;
  line-height: 1.5;
}
.wi-panel-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.wi-panel-list li {
  padding: 10px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.4;
}
.wi-panel-list span {
  color: #fff;
  font-weight: 800;
}
/* Island silhouette icons (gous font) in canonical brand colors. The names
   stay white for legibility on the dark panel; the icon carries the color. */
.wi-isle-ic {
  margin-right: 8px;
  font-size: 20px;
  vertical-align: -3px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45); /* legibility on the dark panel */
}
.wi-panel-main .wi-isle-ic {
  vertical-align: -2px;
}
.wi-isle-oahu { color: #f27a24; }
.wi-isle-maui { color: #1866b4; }
.wi-isle-big { color: #c3232f; }
.wi-isle-kauai { color: #1d9771; }
.wi-author-card {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-bottom: 16px;
  padding: 18px 20px;
  border: 1px solid #dde8e6;
  border-left: 5px solid #1d9771;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(20, 60, 70, 0.08);
  box-sizing: border-box;
}
.wi-author-card img {
  width: 132px;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  object-fit: cover;
  flex: 0 0 auto;
}
.wi-author-card p {
  margin: 0 0 8px;
  color: #35464b;
  font-size: 16px;
  line-height: 1.55;
}
.wi-author-card p:last-child {
  margin-bottom: 0;
}
.wi-author-eyebrow {
  color: #24606b !important;
  font-size: 13px !important;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.wi-jump-row {
  clear: both;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px !important;
}
.wi-jump-card:nth-child(1) {
  grid-column: 1;
  grid-row: 1;
}
.wi-jump-card:nth-child(2) {
  grid-column: 2;
  grid-row: 1;
}
.wi-jump-card:nth-child(3) {
  grid-column: 3;
  grid-row: 1;
}
.wi-jump-card {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 12px 14px;
  border: 1px solid #d8e2e4;
  border-radius: 8px;
  background: #fff;
  color: #183941;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(20, 60, 70, 0.06);
  box-sizing: border-box;
}
.wi-jump-card:hover {
  border-color: #9fc2c9;
  color: #0f5e6a;
  transform: translateY(-1px);
}
.wi-jump-card i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #e8f4f2;
  color: #1d9771;
  flex: 0 0 auto;
}
.wi-snapshot {
  padding-bottom: 6px;
  padding-top: 22px;
  box-sizing: border-box;
}
.wi-section-head {
  max-width: 760px;
  margin: 0 0 18px;
}
.wi-section-head h2 {
  margin: 0 0 8px;
  color: #16383f;
  font-size: 30px;
  line-height: 1.16;
}
.wi-section-head p {
  margin: 0;
  color: #586b70;
  font-size: 16px;
  line-height: 1.55;
}
.wi-island-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.wi-island-card {
  min-width: 0;
  border: 1px solid #dbe3e5;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 22px rgba(20, 60, 70, 0.08);
}
.wi-island-photo {
  display: block;
  color: inherit;
  text-decoration: none;
}
.wi-island-photo:focus-visible {
  outline: 3px solid #0f6570;
  outline-offset: -3px;
}
.wi-island-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.wi-island-body {
  padding: 15px;
}
.wi-island-label {
  margin: 0 0 5px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}
.wi-island-body h3 {
  margin: 0 0 7px;
  color: #172d33;
  font-size: 23px;
  line-height: 1.15;
}
.wi-island-body p {
  margin: 0 0 12px;
  color: #4d5e64;
  font-size: 14px;
  line-height: 1.5;
}
.wi-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 13px;
}
.wi-tag-row span {
  padding: 4px 8px;
  border-radius: 999px;
  background: #f2f5f4;
  color: #46575b;
  font-size: 12px;
  font-weight: 700;
}
.wi-island-body a {
  color: #0f6570;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}
.wi-island-body a:hover {
  color: #0b4550;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.wi-island-oahu .wi-island-label { color: #c65d11; }
.wi-island-maui .wi-island-label { color: #1866b4; }
.wi-island-big .wi-island-label { color: #b72231; }
.wi-island-kauai .wi-island-label { color: #167456; }

@media (max-width: 980px) {
  .wi-hero {
    grid-template-columns: 1fr;
    min-height: min(78vh, 680px);
    padding: 48px 22px 88px;
  }
  .wi-hero h1 {
    font-size: 39px;
  }
  .wi-island-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .wi-hero {
    padding: 30px 22px 82px;
  }
  .wi-hero h1 {
    font-size: 30px;
  }
  .wi-hero-lede {
    font-size: 16px;
  }
  .wi-hero-panel {
    padding: 16px;
  }
  .wi-panel-main {
    margin-bottom: 0;
  }
  .wi-panel-list {
    display: none;
  }
  .wi-btn {
    width: 100%;
  }
  .wi-author-card {
    align-items: flex-start;
  }
  .wi-author-card img {
    width: 88px;
  }
  .wi-jump-row,
  .wi-island-grid {
    grid-template-columns: 1fr;
  }
  .wi-jump-card:nth-child(1),
  .wi-jump-card:nth-child(2),
  .wi-jump-card:nth-child(3) {
    grid-column: auto;
    grid-row: auto;
  }
  .wi-section-head h2 {
    font-size: 25px;
  }
}

/* ─── Hero ─────────────────────────────────────────────────── */
.gm-hero {
  text-align: center;
  padding: 32px 20px 20px;
}
.gm-hero h1 {
  font-size: 28px;
  font-weight: 800;
  color: #1a1a2e;
  margin: 0 0 8px;
}
.gm-hero h1 i {
  color: #2e86de;
  margin-right: 8px;
}
.gm-hero p {
  font-size: 16px;
  color: #666;
  margin: 0;
}

/* ─── Quiz container ──────────────────────────────────────── */
.gm-quiz {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 16px 40px;
}

/* ─── Progress bar ────────────────────────────────────────── */
.gm-progress {
  background: #eee;
  border-radius: 20px;
  height: 8px;
  margin-bottom: 8px;
  position: relative;
  overflow: hidden;
}
.gm-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #2e86de, #54a0ff);
  border-radius: 20px;
  width: 20%;
  transition: width 0.4s ease;
}
.gm-progress-text {
  display: block;
  text-align: right;
  font-size: 12px;
  color: #999;
  margin-bottom: 24px;
}

/* ─── Steps ───────────────────────────────────────────────── */
.gm-step {
  display: none;
}
.gm-step.is-active {
  display: block;
  animation: gm-fadeIn 0.3s ease;
}
@keyframes gm-fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.gm-step h2 {
  font-size: 22px;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0 0 6px;
}
.gm-hint {
  font-size: 14px;
  color: #999;
  margin: 0 0 20px;
}

/* ─── Option buttons ──────────────────────────────────────── */
.gm-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.gm-opt {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border: 2px solid #e8e8e8;
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  text-align: left;
  font-family: inherit;
  font-size: 15px;
}
.gm-opt:hover {
  border-color: #bbb;
  background: #fafafa;
}
.gm-opt.is-selected {
  border-color: #2e86de;
  background: #eef6ff;
  box-shadow: 0 0 0 1px #2e86de;
}

.gm-opt-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  flex-shrink: 0;
}

.gm-opt-emoji {
  font-size: 28px;
  flex-shrink: 0;
  width: 42px;
  text-align: center;
}

.gm-opt-label {
  font-weight: 600;
  color: #1a1a2e;
  display: block;
  line-height: 1.3;
}
.gm-opt-sub {
  font-size: 12px;
  color: #999;
  display: block;
  line-height: 1.3;
  margin-top: 2px;
}

/* Activities — compact pill layout */
.gm-options-activities {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 8px;
}
.gm-opt-sm {
  padding: 10px 16px;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  gap: 0;
}
.gm-opt-sm.is-selected {
  background: #2e86de;
  border-color: #2e86de;
  color: #fff;
  box-shadow: none;
}

/* ─── Nav buttons ─────────────────────────────────────────── */
.gm-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 28px;
  gap: 12px;
}
.gm-nav-btn {
  padding: 12px 28px;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, opacity 0.2s;
  font-family: inherit;
}
.gm-nav-back {
  background: transparent;
  color: #666;
}
.gm-nav-back:hover {
  color: #333;
}
.gm-nav-back i { margin-right: 4px; }

.gm-nav-next {
  background: #2e86de;
  color: #fff;
  margin-left: auto;
}
.gm-nav-next:hover {
  background: #1a6fc4;
}
.gm-nav-next:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.gm-nav-next i { margin-left: 4px; }

/* ─── Results ─────────────────────────────────────────────── */
.gm-results {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 16px 40px;
}

.gm-results-header {
  text-align: center;
  margin-bottom: 24px;
}
.gm-results-header h2 {
  font-size: 24px;
  font-weight: 800;
  color: #1a1a2e;
  margin: 0 0 8px;
}
.gm-results-header h2 i {
  color: #2e86de;
  margin-right: 8px;
}
.gm-results-header p {
  font-size: 15px;
  color: #666;
  margin: 0 0 16px;
}

.gm-results-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.gm-btn-save-all,
.gm-btn-retake {
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: background 0.2s, color 0.2s;
}
.gm-btn-save-all {
  background: #2e86de;
  color: #fff;
}
.gm-btn-save-all:hover {
  background: #1a6fc4;
}
.gm-btn-save-all.is-saved {
  background: #27ae60;
  cursor: default;
}
.gm-btn-save-all:disabled:not(.is-saved) {
  opacity: 0.5;
  cursor: not-allowed;
}
.gm-btn-save-all i,
.gm-btn-retake i {
  margin-right: 5px;
}

.gm-btn-share {
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid #2e86de;
  background: transparent;
  color: #2e86de;
  font-family: inherit;
  transition: background 0.2s, color 0.2s;
}
.gm-btn-share:hover {
  background: #2e86de;
  color: #fff;
}
.gm-btn-share.is-copied {
  background: #27ae60;
  border-color: #27ae60;
  color: #fff;
  cursor: default;
}
.gm-btn-share i {
  margin-right: 5px;
}

.gm-btn-retake {
  background: #f0f0f0;
  color: #555;
}
.gm-btn-retake:hover {
  background: #e0e0e0;
}

/* ─── Results tabs ────────────────────────────────────────── */
.gm-results-tabs {
  display: flex;
  border-bottom: 2px solid #eee;
  margin-bottom: 24px;
  gap: 0;
}
.gm-results-tab {
  flex: 1;
  padding: 12px 16px;
  border: none;
  background: transparent;
  font-size: 15px;
  font-weight: 600;
  color: #999;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: color 0.2s, border-color 0.2s;
  font-family: inherit;
}
.gm-results-tab:hover {
  color: #555;
}
.gm-results-tab.is-active {
  color: #2e86de;
  border-bottom-color: #2e86de;
}
.gm-results-tab i {
  margin-right: 5px;
}
.gm-results-tab span {
  font-weight: 400;
  font-size: 13px;
}

/* ─── Island sub-tabs ─────────────────────────────────────── */
.gm-island-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  padding: 0;
  flex-wrap: wrap;
  justify-content: center;
}

.gm-island-tab {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 16px;
  background: #f4f5f7;
  border: 2px solid transparent;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  color: #666;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  font-family: inherit;
  line-height: 1.3;
}

.gm-island-tab i {
  font-size: 14px;
  opacity: 0.7;
}

.gm-island-tab:hover {
  background: #eaecf0;
  color: #444;
}

.gm-island-tab.is-active {
  background: #fff;
  border-color: var(--tab-color, #2e86de);
  color: var(--tab-color, #2e86de);
}

.gm-island-tab.is-active i {
  opacity: 1;
}

.gm-island-tab-count {
  display: inline-block;
  background: #e8e8e8;
  color: #888;
  font-size: 11px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 8px;
  min-width: 16px;
  text-align: center;
}

.gm-island-tab.is-active .gm-island-tab-count {
  background: var(--tab-color, #2e86de);
  color: #fff;
}

@media (max-width: 500px) {
  .gm-island-tabs {
    gap: 6px;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
    padding-bottom: 4px;
  }
  .gm-island-tab {
    font-size: 12px;
    padding: 6px 12px;
  }
}

/* ─── Island groups in results ────────────────────────────── */
.gm-island-group {
  margin-bottom: 28px;
}
.gm-island-name {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid currentColor;
}

/* ─── Match card grid ─────────────────────────────────────── */
.gm-match-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.gm-match-card {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
}
.gm-match-card:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}

.gm-match-img-wrap {
  position: relative;
  width: 100%;
  height: 170px;
  overflow: hidden;
  background: #f0f0f0;
}
.gm-match-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ─── Match badges ────────────────────────────────────────── */
.gm-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.gm-badge-top {
  background: #f0932b;
  color: #fff;
}
.gm-badge-great {
  background: rgba(255,255,255,0.92);
  color: #2e86de;
  border: 1px solid rgba(46,134,222,0.3);
}

/* ─── Match card body ─────────────────────────────────────── */
.gm-match-body {
  padding: 12px 14px 8px;
  flex: 1;
}
.gm-match-name {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 5px;
  line-height: 1.3;
}
.gm-match-name a {
  color: #1a1a2e;
  text-decoration: none;
}
.gm-match-name a:hover {
  color: #2e86de;
}

.gm-match-meta {
  font-size: 12px;
  color: #888;
  margin-bottom: 8px;
  line-height: 1.4;
}
.gm-match-meta i { color: #f0932b; }

.gm-match-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 4px;
}
.gm-match-tag {
  padding: 3px 8px;
  background: #f5f5f5;
  border-radius: 4px;
  font-size: 11px;
  color: #666;
}

/* ─── Match card footer ───────────────────────────────────── */
.gm-match-footer {
  display: flex;
  gap: 8px;
  padding: 8px 14px 14px;
}
.gm-btn-view,
.gm-btn-add {
  flex: 1;
  padding: 8px 0;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
  border: none;
  font-family: inherit;
}
.gm-btn-view {
  background: #f5f5f5;
  color: #333;
  display: block;
}
.gm-btn-view:hover {
  background: #e8e8e8;
  color: #333;
}
.gm-btn-add {
  background: transparent;
  border: 1.5px solid #2e86de;
  color: #2e86de;
}
.gm-btn-add:hover {
  background: #2e86de;
  color: #fff;
}
.gm-btn-add.is-saved {
  background: #27ae60;
  border-color: #27ae60;
  color: #fff;
  cursor: default;
}
.gm-btn-add i {
  margin-right: 3px;
}

.gm-no-results {
  text-align: center;
  color: #999;
  padding: 40px 20px;
  font-size: 15px;
}

/* ─── Attraction description ─────────────────────────────── */
.gm-match-desc {
  font-size: 13px;
  color: #555;
  line-height: 1.45;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ─── Section-level save button ──────────────────────────── */
.gm-section-actions {
  text-align: center;
  margin-bottom: 16px;
}
.gm-btn-save-section {
  font-size: 14px;
}
.gm-btn-save-section.is-saved {
  background: #27ae60;
  border-color: #27ae60;
  cursor: default;
}

/* ─── Responsive ──────────────────────────────────────────── */
@media (max-width: 600px) {
  .gm-hero h1 { font-size: 22px; }
  .gm-hero p { font-size: 14px; }
  .gm-step h2 { font-size: 19px; }
  .gm-opt { padding: 12px 14px; gap: 10px; }
  .gm-opt-icon { width: 36px; height: 36px; font-size: 16px; }
  .gm-opt-emoji { font-size: 24px; width: 36px; }
  .gm-match-grid { grid-template-columns: 1fr; }
  .gm-match-img-wrap { height: 150px; }
  .gm-results-actions { flex-direction: column; align-items: stretch; }
  .gm-btn-save-all, .gm-btn-retake { text-align: center; }
}

/* ─── Share row in results ────────────────────────────────── */
.gm-share-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
  width: 100%;
}
.gm-btn-print {
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid #666;
  background: transparent;
  color: #666;
  font-family: inherit;
  transition: background 0.2s, color 0.2s;
}
.gm-btn-print:hover {
  background: #666;
  color: #fff;
}
.gm-btn-print i,
.gm-btn-share i {
  margin-right: 5px;
}

/* ─── Amazon affiliate links in packing list ─────────────── */
.gm-amazon-link {
  display: inline-block;
  font-size: 12px;
  color: #f0932b;
  text-decoration: none;
  font-weight: 600;
  margin-left: 6px;
  white-space: nowrap;
}
.gm-amazon-link:hover {
  color: #e67e22;
  text-decoration: underline;
}

/* ─── Print logo (hidden on screen, shown on print) ──────── */
.gm-print-logo {
  display: none;
}

/* ─── Print ───────────────────────────────────────────────── */
@media print {
  /* Hide everything except results */
  header, footer, nav, .sidebar, .breadcrumb, .back-button,
  .save-for-later-container, .affiliate-disclosure, .content-nav-bar-links,
  .gm-nav, .gm-btn-add, .gm-btn-save-all, .gm-share-row, .gm-btn-retake,
  .gm-btn-print, .gm-btn-share, .gm-island-tabs, .gm-amazon-link,
  .my-trip-fab, #my-trip-panel, .hgads, .adthr-content { display: none !important; }
  .gm-print-logo {
    display: block !important;
    text-align: center;
    margin: 0 auto 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #eee;
  }
  .gm-print-logo img {
    height: 40px;
    width: auto;
  }
  .gm-results { max-width: 100% !important; padding: 0 !important; }
  .gm-results-header h2 { font-size: 20px !important; }
  .gm-match-card { break-inside: avoid; border: 1px solid #ccc; }
  body { font-size: 13px; }
  a { color: #000 !important; text-decoration: none !important; }
  a[href]::after { content: none !important; }
}
