/* Touch The Himalaya — Kanchenjunga-style departure explorer
   Structure matches kanchenjungaguides.com; brand accent = Manaslu green. */

:root {
  --mg-navy: #16324f;
  --mg-muted: #5c6570;
  --mg-lead: #4b5b68;
  --mg-line: #e8ecf0;
  --mg-soft: #f4f8fc;
  --mg-panel: #e4f0e4;
  --mg-brand: #3f8f3f;
  --mg-brand-dark: #347834;
  --mg-gold: #e8b86d;
}

.mg-dep-eyebrow {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mg-brand);
  text-align: center;
}

.mg-dep-home {
  padding: 3rem 1rem;
}

.mg-dep-home__panel {
  max-width: 82rem;
  width: min(100%, 82rem);
  margin: 0 auto;
  padding: 1.75rem 1.25rem 2rem;
  border-radius: 1.75rem;
  background: var(--mg-panel);
}

@media (min-width: 640px) {
  .mg-dep-home__panel {
    padding: 2.25rem 2rem 2.5rem;
  }
}

@media (min-width: 1100px) {
  .mg-dep-home__panel {
    padding: 2.5rem 2.5rem 2.75rem;
  }
}

.mg-dep-home__intro {
  max-width: 36rem;
  margin: 0 auto;
  text-align: center;
}

.mg-dep-home__title {
  margin: 0.75rem 0 0;
  color: var(--mg-navy);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-align: center;
}

.mg-dep-home__lead {
  margin: 1rem 0 0;
  color: var(--mg-lead);
  font-size: 0.95rem;
  line-height: 1.6;
  text-align: center;
}

.mg-dep-home__ctas {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.mg-dep-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2.75rem;
  padding: 0 1.5rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none !important;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
}

.mg-dep-btn--primary {
  width: 100%;
  max-width: 20rem;
  background: var(--mg-brand);
  color: #fff !important;
}

.mg-dep-btn--primary:hover {
  background: var(--mg-brand-dark);
  color: #fff !important;
}

.mg-dep-btn--ghost {
  height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--mg-navy) !important;
  text-decoration: underline !important;
  text-underline-offset: 4px;
}

.mg-dep-btn--ghost:hover {
  border-color: transparent;
  background: transparent;
}

@media (min-width: 640px) {
  .mg-dep-home__ctas {
    flex-direction: row;
  }

  .mg-dep-btn--primary {
    width: auto;
    max-width: none;
  }

  .mg-dep-btn--ghost {
    height: 2.75rem;
    padding: 0 1.5rem;
    border: 1px solid #9eb4a5;
    background: rgba(255, 255, 255, 0.7);
    text-decoration: none !important;
  }

  .mg-dep-btn--ghost:hover {
    border-color: rgba(63, 143, 63, 0.45);
    background: #fff;
  }
}

.mg-explorer {
  margin-top: 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.mg-explorer__banner[hidden],
.mg-explorer__calendar[hidden],
.mg-explorer__more[hidden],
.mg-explorer__list[hidden],
.mg-who[hidden],
.mg-card[hidden] {
  display: none !important;
}

.mg-dep-page {
  padding: 2rem 1rem 3rem;
}

.mg-dep-page__inner {
  max-width: 82rem;
  width: min(100%, 82rem);
  margin: 0 auto;
}

.mg-dep-page__intro {
  margin: 0 auto 2rem;
  max-width: 40rem;
  text-align: center;
}

.mg-dep-page__title {
  margin: 0.75rem 0 0;
  color: var(--mg-navy);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.mg-dep-page__lead {
  margin: 1rem auto 0;
  max-width: 36rem;
  color: var(--mg-lead);
  font-size: 0.95rem;
  line-height: 1.6;
}

.mg-dep-package {
  padding: 0.25rem 0 0.5rem;
  margin: 0;
}

.mg-dep-package__inner {
  max-width: 82rem;
  width: min(100%, 82rem);
  margin: 0 auto;
}

.mg-dep-package__intro {
  margin: 0 0 0.65rem;
  max-width: 40rem;
  text-align: left;
}

.mg-dep-package__intro .mg-dep-eyebrow {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

.mg-dep-package__title {
  margin: 0.25rem 0 0;
  color: var(--mg-navy);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.mg-dep-package__trek {
  margin: 0.2rem 0 0;
  color: var(--mg-brand);
  font-size: 0.9rem;
  font-weight: 600;
}

.mg-dep-package__lead {
  margin: 0.4rem 0 0;
  color: var(--mg-lead);
  font-size: 0.85rem;
  line-height: 1.45;
}

.mg-dep-package .mg-explorer {
  margin-top: 0.65rem;
  gap: 0.55rem;
}

.mg-dep-package .mg-explorer__filters:empty,
.mg-dep-package .mg-explorer__toolbar:empty,
.mg-dep-package .mg-explorer__more:empty {
  display: none !important;
  margin: 0;
  padding: 0;
}

.mg-dep-package .mg-scope {
  margin: 0 0 0.4rem;
}

.mg-dep-package .mg-filters-package {
  align-items: flex-start;
  gap: 0.45rem;
}

.mg-dep-package .mg-explorer__toolbar {
  margin: 0;
  gap: 0.5rem;
}

.mg-dep-package .mg-explorer__more {
  padding-top: 0;
}

.mg-filters-package {
  align-items: flex-start;
}

/* —— Filters —— */

.mg-filters-home {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: center;
  gap: 0.75rem;
}

.mg-filters-home .mg-field {
  min-width: 7.5rem;
  flex: 1 1 7.5rem;
  max-width: 11rem;
}

.mg-filters-package {
  justify-content: flex-start;
}

.mg-filters-package .mg-field {
  max-width: 12rem;
}

.mg-filters-panel {
  border: 1px solid var(--mg-line);
  border-radius: 1rem;
  background: #fff;
  padding: 1rem;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

@media (min-width: 640px) {
  .mg-filters-panel {
    padding: 1.25rem;
  }
}

.mg-filters-panel__row {
  display: grid;
  gap: 0.85rem;
}

.mg-filters-panel__row--selects {
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .mg-filters-panel__row--selects {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: end;
  }
}

@media (min-width: 900px) {
  .mg-filters-panel__row--selects {
    grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(7rem, 0.7fr));
  }
}

.mg-field {
  display: block;
}

.mg-field--block {
  margin-top: 1rem;
}

.mg-field__label {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--mg-muted);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mg-select {
  display: flex;
  width: 100%;
  height: 2.75rem;
  align-items: center;
  border: 1px solid var(--mg-line);
  border-radius: 0.75rem;
  background: var(--mg-soft);
  padding: 0 0.75rem;
  color: var(--mg-navy);
  font-size: 0.875rem;
  font-weight: 600;
  outline: none;
  cursor: pointer;
}

.mg-filters-home .mg-select {
  background: #fff;
}

@media (min-width: 640px) {
  .mg-select {
    height: 3rem;
  }
}

.mg-select:focus {
  border-color: var(--mg-brand);
  box-shadow: 0 0 0 3px rgba(63, 143, 63, 0.2);
}

.mg-scope {
  display: inline-flex;
  margin: 0 auto 0.75rem;
  padding: 0.25rem;
  border: 1px solid var(--mg-line);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.mg-filters-home .mg-scope,
.mg-filters-panel .mg-scope {
  display: flex;
  width: fit-content;
  max-width: 100%;
}

.mg-scope__btn {
  border: 0;
  border-radius: 999px;
  background: transparent;
  padding: 0.5rem 1.15rem;
  color: var(--mg-muted);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.mg-scope__btn:hover {
  color: var(--mg-navy);
}

.mg-scope__btn.is-active {
  background: var(--mg-navy);
  color: #fff;
}

.mg-scope__hint {
  margin: 0 0 1rem;
  max-width: 36rem;
  color: var(--mg-muted);
  font-size: 0.8rem;
  line-height: 1.45;
  text-align: center;
}

.mg-filters-panel .mg-scope__hint {
  text-align: left;
}

.mg-card--past {
  opacity: 0.96;
}

.mg-card--past .mg-card__chip {
  background: #5c6570;
}

.mg-card__bar--past {
  background: #c5ced6;
}

.mg-card__badge--past {
  background: var(--mg-soft);
  color: var(--mg-muted);
}

.mg-card__price-note {
  margin: 0.35rem 0 0;
  color: var(--mg-muted);
  font-size: 0.7rem;
  font-weight: 500;
}

.mg-card__book--ghost {
  background: transparent !important;
  border: 1px solid var(--mg-brand);
  color: var(--mg-brand) !important;
}

.mg-card__book--ghost:hover {
  background: rgba(63, 143, 63, 0.06) !important;
  color: var(--mg-brand) !important;
}

.mg-year-pills,
.mg-pill-row {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 0.25rem;
  border: 1px solid var(--mg-line);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.mg-year-pills {
  max-width: 100%;
}

.mg-year-pills--home {
  background: #fff;
}

.mg-pill-row {
  border-radius: 999px;
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
  gap: 0.5rem;
}

.mg-pill-row--center {
  justify-content: center;
}

.mg-pill {
  border: 0;
  border-radius: 999px;
  background: transparent;
  padding: 0.4rem 1rem;
  color: var(--mg-muted);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.mg-pill-row .mg-pill {
  border: 1px solid var(--mg-line);
  background: #fff;
}

.mg-pill:hover {
  color: var(--mg-navy);
}

.mg-pill.is-active {
  background: var(--mg-navy);
  color: #fff;
  border-color: var(--mg-navy);
}

.mg-explorer__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.mg-toolbar__count {
  margin: 0;
  color: var(--mg-muted);
  font-size: 0.875rem;
}

.mg-view-toggle {
  display: inline-flex;
  padding: 0.25rem;
  border: 1px solid var(--mg-line);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.mg-view-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  padding: 0.4rem 0.65rem;
  color: var(--mg-muted);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
}

.mg-view-btn__label {
  display: none;
}

.mg-toolbar__extra {
  display: none;
}

@media (min-width: 640px) {
  .mg-view-btn {
    padding: 0.4rem 0.9rem;
  }

  .mg-view-btn__label {
    display: inline;
  }

  .mg-toolbar__extra {
    display: inline;
  }
}

.mg-view-btn.is-active {
  background: var(--mg-navy);
  color: #fff;
}

.mg-explorer__banner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid var(--mg-line);
  border-radius: 0.75rem;
  background: #fff;
  padding: 0.75rem 1rem;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}

.mg-banner__dot {
  width: 0.625rem;
  height: 0.625rem;
  flex-shrink: 0;
  border-radius: 999px;
  background: var(--mg-brand);
}

.mg-banner__text {
  flex: 1;
  margin: 0;
  color: var(--mg-muted);
  font-size: 0.875rem;
  line-height: 1.45;
}

.mg-banner__text strong {
  color: var(--mg-navy);
}

.mg-banner__count {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
  border-radius: 999px;
  background: var(--mg-navy);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
}

.mg-explorer__list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.mg-explorer__more {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  padding-top: 0.35rem;
}

.mg-explorer__more > .mg-see-more {
  align-self: center;
}

.mg-load-more {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.75rem;
  width: 100%;
}

.mg-load-more__status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  gap: 0.5rem;
  min-height: 2.5rem;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--mg-line);
  color: var(--mg-navy);
  font-size: 0.875rem;
  font-weight: 600;
}

.mg-see-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 2.75rem;
  border: 1px solid var(--mg-brand);
  border-radius: 0.75rem;
  background: #fff;
  padding: 0 1.5rem;
  color: var(--mg-brand);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, opacity 0.15s ease, transform 0.1s ease;
}

.mg-see-more:hover:not(:disabled) {
  background: rgba(63, 143, 63, 0.05);
}

.mg-see-more:disabled,
.mg-see-more.is-loading {
  opacity: 0.85;
  cursor: wait;
}

.mg-spinner {
  flex-shrink: 0;
  color: currentColor;
}

.mg-toolbar__count .mg-spinner {
  display: inline-block;
  vertical-align: -0.25em;
  margin-right: 0.4rem;
}

.mg-skel-stack {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.mg-skel {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem 1.25rem;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--mg-line);
  border-radius: 1rem;
  background: #fff;
  padding: 1.15rem 1.25rem;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.04);
  overflow: hidden;
}

@media (min-width: 640px) {
  .mg-skel {
    grid-template-columns: auto 1fr auto;
  }
}

.mg-skel__chip,
.mg-skel__line,
.mg-skel__btn {
  background: linear-gradient(90deg, #e8ecef 0%, #f5f7f9 45%, #e8ecef 100%);
  background-size: 200% 100%;
  animation: mg-shimmer 1.15s ease-in-out infinite;
  border-radius: 0.5rem;
}

.mg-skel__chip {
  width: 4.25rem;
  height: 4.5rem;
  flex-shrink: 0;
  border-radius: 0.75rem;
}

.mg-skel__main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mg-skel__aside {
  display: none;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.65rem;
  min-width: 7rem;
}

@media (min-width: 640px) {
  .mg-skel__aside {
    display: flex;
  }
}

.mg-skel__line {
  height: 0.7rem;
  width: 72%;
  max-width: 18rem;
}

.mg-skel__line--lg {
  height: 1rem;
  width: 58%;
  max-width: 16rem;
}

.mg-skel__line--sm {
  width: 42%;
  max-width: 10rem;
}

.mg-skel__line--price {
  width: 5rem;
  height: 1.1rem;
}

.mg-skel__btn {
  width: 6.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
}

@keyframes mg-shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

.mg-card--enter {
  animation: mg-card-in 0.35s ease both;
}

@keyframes mg-card-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.mg-explorer.is-reloading .mg-explorer__list {
  min-height: 8rem;
}

.mg-filters-home.is-disabled,
.mg-filters-panel.is-disabled {
  opacity: 0.55;
  pointer-events: none;
}

.mg-load-error {
  text-align: center;
  max-width: 24rem;
  margin: 0 auto;
}

.mg-load-error p {
  margin: 0 0 0.75rem;
  color: var(--mg-muted);
  font-size: 0.875rem;
}

.mg-cal {
  position: relative;
}

.mg-cal__loading {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  background: rgba(255, 255, 255, 0.72);
  color: var(--mg-navy);
  font-size: 0.875rem;
  font-weight: 600;
  backdrop-filter: blur(2px);
}

.mg-empty {
  margin: 0;
  border: 1px dashed var(--mg-line);
  border-radius: 0.75rem;
  background: #fff;
  padding: 2rem 1.5rem;
  color: var(--mg-muted);
  font-size: 0.875rem;
  text-align: center;
}

/* —— Calendar —— */

.mg-cal {
  overflow: hidden;
  border: 1px solid var(--mg-line);
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.mg-cal__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #eef1f4;
  padding: 0.75rem 1rem;
}

.mg-cal__title {
  margin: 0;
  color: var(--mg-navy);
  font-weight: 700;
}

.mg-cal__nav-btn {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--mg-muted);
  font-size: 1.25rem;
  cursor: pointer;
}

.mg-cal__nav-btn:hover {
  background: var(--mg-soft);
  color: var(--mg-navy);
}

.mg-cal__weekdays,
.mg-cal__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1px;
  background: var(--mg-line);
}

.mg-cal__weekdays > div {
  background: var(--mg-soft);
  padding: 0.5rem 0;
  color: var(--mg-muted);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-align: center;
  text-transform: uppercase;
}

.mg-cal__empty {
  min-height: 4.5rem;
  background: var(--mg-soft);
}

.mg-cal__day {
  min-height: 4.5rem;
  border: 0;
  background: #fff;
  padding: 0.4rem;
  color: #9aa3ad;
  text-align: left;
  cursor: default;
}

.mg-cal__day.has-trips {
  cursor: pointer;
  color: var(--mg-navy);
}

.mg-cal__day.tone-open { background: rgba(63, 143, 63, 0.1); }
.mg-cal__day.tone-filling { background: #fff6d6; color: #8a6a12; }
.mg-cal__day.tone-almost { background: rgba(63, 143, 63, 0.1); color: var(--mg-brand-dark); }
.mg-cal__day.tone-sold { background: var(--mg-soft); color: var(--mg-muted); }

.mg-cal__day.is-selected {
  box-shadow: inset 0 0 0 2px var(--mg-brand);
}

.mg-cal__num {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.mg-cal__meta {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.65rem;
  font-weight: 600;
  line-height: 1.2;
}

.mg-cal__meta.muted {
  font-weight: 400;
}

.mg-cal__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  border-top: 1px solid var(--mg-line);
  padding: 0.75rem 1rem;
  color: var(--mg-muted);
  font-size: 0.75rem;
}

.mg-cal__legend i.lg {
  display: inline-block;
  width: 0.625rem;
  height: 0.625rem;
  margin-right: 0.35rem;
  border-radius: 999px;
  vertical-align: middle;
}

.mg-cal__legend i.open { background: var(--mg-brand); }
.mg-cal__legend i.fill { background: var(--mg-gold); }
.mg-cal__legend i.sold { background: #c5ced6; }

.mg-cal__selected {
  margin-top: 1rem;
}

/* —— Card —— */

.mg-card {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--mg-line);
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.mg-card__body {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem;
}

@media (min-width: 640px) {
  .mg-card__body {
    flex-direction: row;
    align-items: stretch;
    gap: 1.25rem;
    padding: 1.25rem;
  }
}

.mg-card__bar {
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
}

.mg-card__bar--available { background: var(--mg-brand); }
.mg-card__bar--filling { background: var(--mg-gold); }
.mg-card__bar--almost { background: var(--mg-brand-dark); }
.mg-card__bar--sold,
.mg-card__bar--cancelled { background: #c5ced6; }

.mg-card__chip-col {
  display: flex;
  flex-shrink: 0;
  align-items: flex-start;
  gap: 0.75rem;
  padding-left: 0.5rem;
}

@media (min-width: 640px) {
  .mg-card__chip-col {
    flex-direction: column;
    align-items: center;
    padding-left: 0.25rem;
  }
}

.mg-card__chip {
  display: flex;
  min-width: 4.25rem;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  border-radius: 0.75rem;
  background: var(--mg-navy);
  color: #fff;
}

.mg-card__chip-month {
  width: 100%;
  padding: 0.5rem 0.75rem 0;
  text-align: center;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.mg-card__chip-day {
  padding: 0 0.75rem;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.mg-card__chip-year {
  padding: 0 0.75rem 0.5rem;
  font-size: 0.65rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
}

.mg-card__days {
  display: inline-flex;
  border-radius: 999px;
  background: rgba(63, 143, 63, 0.1);
  padding: 0.25rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--mg-brand);
}

.mg-card__main {
  min-width: 0;
  flex: 1;
  padding-left: 0.5rem;
}

@media (min-width: 640px) {
  .mg-card__main {
    padding-left: 0;
  }
}

.mg-card__title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.mg-card__title {
  color: var(--mg-navy) !important;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none !important;
}

.mg-card__title:hover {
  color: var(--mg-brand) !important;
}

.mg-card__badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.15rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 600;
}

.mg-card__badge-dot {
  display: inline-block;
  width: 0.375rem;
  height: 0.375rem;
  margin-right: 0.4rem;
  border-radius: 999px;
  background: currentColor;
}

.mg-card__badge--available,
.mg-card__badge--almost {
  background: rgba(63, 143, 63, 0.1);
  color: var(--mg-brand);
}

.mg-card__badge--almost { color: var(--mg-brand-dark); }
.mg-card__badge--filling { background: #fff6d6; color: #8a6a12; }
.mg-card__badge--sold,
.mg-card__badge--cancelled { background: var(--mg-soft); color: var(--mg-muted); }

.mg-card__range {
  margin: 0.4rem 0 0;
  color: var(--mg-muted);
  font-size: 0.875rem;
}

.mg-card__who {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  border: 0;
  background: transparent;
  padding: 0;
  color: var(--mg-muted);
  font-size: 0.875rem;
  text-align: left;
  cursor: pointer;
}

.mg-card__who:hover {
  color: var(--mg-navy);
}

.mg-card__who-flags {
  display: flex;
  align-items: center;
}

.mg-card__who-flag {
  display: grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  margin-right: -0.25rem;
  border: 2px solid #fff;
  border-radius: 999px;
  background: var(--mg-soft);
  font-size: 0.7rem;
  line-height: 1;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

.mg-card__who-flag--user {
  background: rgba(63, 143, 63, 0.1);
  color: var(--mg-brand);
}

.mg-card__who-count {
  color: var(--mg-navy);
  font-weight: 500;
}

.mg-card__who-link {
  color: var(--mg-brand);
  font-weight: 600;
}

.mg-card__going--empty {
  margin: 0.65rem 0 0;
  color: var(--mg-muted);
  font-size: 0.875rem;
  font-weight: 500;
}

.mg-card__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
  margin-top: 0.55rem;
}

.mg-card__guide {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  color: var(--mg-muted);
  font-size: 0.875rem;
  line-height: 1.25;
}

.mg-card__guide-avatar {
  position: relative;
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  overflow: hidden;
  border-radius: 999px;
  background: var(--mg-soft);
  color: var(--mg-brand);
  font-size: 0.55rem;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 0 0 1px var(--mg-line);
}

.mg-card__guide-avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.mg-card__guide-text {
  display: inline;
  min-width: 0;
  line-height: 1.25;
}

.mg-card__guide-label {
  color: #8a939c;
}

.mg-card__guide-name {
  font-weight: 600;
  color: var(--mg-navy);
}

.mg-card__guaranteed {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  color: var(--mg-brand);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.25;
}

.mg-card__shield {
  flex-shrink: 0;
}

.mg-card__aside {
  display: flex;
  flex-shrink: 0;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 0 0 0.5rem;
  border-top: 1px solid var(--mg-line);
}

@media (min-width: 640px) {
  .mg-card__aside {
    align-items: flex-end;
    padding: 0;
    border-top: 0;
  }
}

.mg-card__price-block { text-align: left; }
@media (min-width: 640px) {
  .mg-card__price-block { text-align: right; }
}

.mg-card__save-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

@media (min-width: 640px) {
  .mg-card__save-row { justify-content: flex-end; }
}

.mg-card__compare {
  color: var(--mg-muted);
  font-size: 0.75rem;
  text-decoration: line-through;
}

.mg-card__save {
  border-radius: 999px;
  background: var(--mg-gold);
  padding: 0.15rem 0.65rem;
  color: var(--mg-navy);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mg-card__price {
  margin: 0;
  color: var(--mg-navy);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.mg-card__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.mg-card__wa {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--mg-line);
  border-radius: 0.75rem;
  background: #fff;
  transition: transform 0.15s ease;
}

.mg-card__wa:hover { transform: scale(1.05); }

.mg-card__book {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2.75rem;
  padding: 0 1.25rem;
  border-radius: 0.75rem;
  background: var(--mg-brand);
  color: #fff !important;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none !important;
  transition: background 0.15s ease, transform 0.1s ease;
}

.mg-card__book:hover {
  background: var(--mg-brand-dark);
  color: #fff !important;
}

.mg-card__book--sold {
  background: var(--mg-soft);
  color: var(--mg-muted) !important;
  cursor: default;
}

.mg-card__book.mg-card__book--ghost {
  background: transparent !important;
  border: 1px solid var(--mg-brand);
  color: var(--mg-brand) !important;
}

.mg-card__book.mg-card__book--ghost:hover {
  background: rgba(63, 143, 63, 0.08) !important;
  color: var(--mg-brand) !important;
}

.mg-card__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  border-top: 1px solid var(--mg-line);
  background: var(--mg-soft);
  padding: 0.65rem 1rem;
}

@media (min-width: 640px) {
  .mg-card__footer { padding: 0.65rem 1.25rem; }
}

.mg-card__avatar {
  position: relative;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 999px;
  background: #fff;
  color: var(--mg-brand);
  font-size: 0.65rem;
  font-weight: 700;
  box-shadow: 0 0 0 1px var(--mg-line);
}

.mg-card__avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mg-card__flag {
  position: absolute;
  right: -0.15rem;
  bottom: -0.15rem;
  font-size: 0.65rem;
  line-height: 1;
}

.mg-card__footer-text { min-width: 0; flex: 1; }

.mg-card__footer-name {
  margin: 0;
  overflow: hidden;
  color: var(--mg-navy);
  font-size: 0.875rem;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mg-card__footer-sub {
  margin: 0;
  color: var(--mg-muted);
  font-size: 0.75rem;
}

.mg-card__footer-when {
  margin: 0;
  color: var(--mg-muted);
  font-size: 0.75rem;
  font-weight: 500;
}

.mg-dep-empty {
  max-width: 56rem;
  margin: 0 auto;
  padding: 1.5rem;
  color: var(--mg-muted);
}

/* —— Who's going drawer —— */

.mg-who[hidden] { display: none !important; }

.mg-who__backdrop {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: rgba(15, 23, 42, 0.6);
}

.mg-who__drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 100001;
  display: flex;
  width: min(100%, 26rem);
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  color: var(--mg-navy);
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.14);
}

.mg-who__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  background: var(--mg-navy);
  padding: 1rem 1.25rem;
  color: #fff;
}

.mg-who__eyebrow {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7) !important;
}

.mg-who__title {
  margin: 0.25rem 0 0;
  color: #ffffff !important;
  font-size: 1.15rem;
  font-weight: 600;
}

.mg-who__head h3.mg-who__title,
.mg-who__drawer .mg-who__title {
  color: #ffffff !important;
}

.mg-who__sub {
  margin: 0.4rem 0 0;
  font-size: 0.875rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.75) !important;
}

.mg-who__x {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  border: 0;
  border-radius: 0.5rem;
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
}

.mg-who__x:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.mg-who__privacy {
  display: flex;
  gap: 0.75rem;
  border-bottom: 1px solid var(--mg-line);
  background: var(--mg-soft);
  padding: 0.9rem 1.25rem;
}

.mg-who__lock {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
  border-radius: 999px;
  background: #fff;
  color: var(--mg-brand);
  box-shadow: 0 0 0 1px var(--mg-line);
}

.mg-who__privacy p {
  margin: 0;
  color: var(--mg-muted);
  font-size: 0.875rem;
  line-height: 1.45;
}

.mg-who__privacy strong { color: var(--mg-navy); }

.mg-who__guide[hidden] { display: none !important; }

.mg-who__guide {
  border-bottom: 1px solid var(--mg-line);
  padding: 1rem 1.25rem 0.85rem;
}

.mg-who__guide-label {
  margin: 0 0 0.65rem;
  color: var(--mg-muted);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mg-who__guide-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.mg-who__guide-avatar {
  position: relative;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(63, 143, 63, 0.1);
  color: var(--mg-brand);
  font-size: 0.8rem;
  font-weight: 700;
  box-shadow: 0 0 0 1px var(--mg-line);
}

.mg-who__guide-avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.mg-who__guide-name {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--mg-navy);
}

.mg-who__guide-role {
  margin: 0.15rem 0 0;
  color: var(--mg-muted);
  font-size: 0.8rem;
}

.mg-who__count {
  margin: 0;
  padding: 0.75rem 1.25rem 0.25rem;
  color: var(--mg-muted);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mg-who__list {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
}

.mg-who__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1.25rem;
  background: #fff;
}

.mg-who__item.is-alt { background: var(--mg-soft); }

.mg-who__avatar {
  position: relative;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(63, 143, 63, 0.1);
  color: var(--mg-brand);
  font-size: 0.8rem;
  font-weight: 700;
}

.mg-who__avatar-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mg-who__name {
  margin: 0;
  overflow: hidden;
  font-size: 0.875rem;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mg-who__from {
  margin: 0.15rem 0 0;
  color: var(--mg-muted);
  font-size: 0.8rem;
}

.mg-who__extra {
  margin: 0.15rem 0 0;
  color: var(--mg-muted);
  font-size: 0.7rem;
}

.mg-who__empty {
  margin: 0;
  padding: 2.5rem 1.25rem;
  color: var(--mg-muted);
  font-size: 0.875rem;
  text-align: center;
}

.mg-who__foot {
  border-top: 1px solid var(--mg-line);
  background: #fff;
  padding: 1rem 1.25rem;
}

.mg-who__close-btn {
  display: flex;
  width: 100%;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--mg-brand);
  border-radius: 0.75rem;
  background: transparent;
  color: var(--mg-brand);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
}

.mg-who__close-btn:hover {
  background: rgba(63, 143, 63, 0.05);
}

/* —— Guide profiles —— */

a.mg-card__guide {
  text-decoration: none !important;
  color: inherit;
  transition: color 0.15s ease;
}

a.mg-card__guide:hover .mg-card__guide-name {
  color: var(--mg-brand);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.mg-who__guide-link {
  color: inherit;
  font-weight: 700;
  text-decoration: none;
}

.mg-who__guide-link:hover {
  color: var(--mg-brand);
  text-decoration: underline;
}

.mg-guides-main {
  max-width: 72rem;
  margin: 0 auto;
  padding: 2rem 1rem 3.5rem;
}

.mg-guides-shell-header {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--mg-line);
}

.mg-guides-shell-header a {
  color: var(--mg-navy);
  font-weight: 700;
  text-decoration: none;
}

.mg-guides__intro {
  max-width: 40rem;
  margin: 0 auto 1.75rem;
  text-align: center;
}

.mg-guides__title {
  margin: 0.75rem 0 0;
  color: var(--mg-navy);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.mg-guides__lead {
  margin: 1rem auto 0;
  max-width: 34rem;
  color: var(--mg-lead);
  font-size: 0.95rem;
  line-height: 1.6;
}

.mg-guides__jump {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin: 0 0 2rem;
}

.mg-guides__jump a {
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--mg-line);
  border-radius: 999px;
  background: #fff;
  color: var(--mg-navy);
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
}

.mg-guides__jump a:hover {
  border-color: var(--mg-brand);
  color: var(--mg-brand);
}

.mg-guides__section {
  margin: 0 0 2.5rem;
  scroll-margin-top: 5.5rem;
}

.mg-guides__section-title {
  margin: 0 0 1rem;
  color: var(--mg-navy);
  font-size: 1.2rem;
  font-weight: 700;
}

.mg-guides__grid {
  display: grid;
  gap: 1.15rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 720px) {
  .mg-guides__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1080px) {
  .mg-guides__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.mg-guide-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--mg-line);
  border-radius: 1.1rem;
  background: #fff;
  color: inherit;
  text-decoration: none !important;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.mg-guide-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.1);
}

.mg-guide-card__photo {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #12304a;
}

.mg-guide-card__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.mg-guide-card__initials {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: #e8c36a;
  font-size: 1.8rem;
  font-weight: 700;
}

.mg-guide-card__body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.85rem 0.95rem 1rem;
}

.mg-guide-card__role {
  color: var(--mg-brand);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mg-guide-card__name {
  color: var(--mg-navy);
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.25;
}

.mg-guide-card__rating {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem 0.5rem;
  margin-top: 0.2rem;
}

.mg-guide-card__stars {
  color: #c9842a;
  letter-spacing: 0.06em;
  font-size: 0.82rem;
  line-height: 1;
}

.mg-guide-card__rating-meta {
  color: var(--mg-lead);
  font-size: 0.78rem;
  font-weight: 600;
}

.mg-guide-card__years {
  color: var(--mg-lead);
  font-size: 0.82rem;
}

.mg-guide-empty {
  margin: 1rem 0 0;
  color: var(--mg-muted);
  font-size: 0.9rem;
}

.mg-guide-profile {
  color: var(--mg-navy);
}

.mg-guide-profile__shell {
  max-width: 72rem;
  margin: 0 auto;
  padding: 1.25rem 1rem 3rem;
}

@media (min-width: 768px) {
  .mg-guide-profile__shell {
    padding: 1.75rem 1.25rem 4rem;
  }
}

.mg-guide-profile__crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  margin: 0 0 1.1rem;
  color: var(--mg-muted);
  font-size: 0.85rem;
}

.mg-guide-profile__crumbs a {
  color: var(--mg-brand);
  font-weight: 600;
  text-decoration: none;
}

.mg-guide-profile__toc {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.85rem;
  margin: -0.35rem 0 1.15rem;
}

.mg-guide-profile__toc a {
  color: var(--mg-navy);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(22, 50, 79, 0.16);
}

.mg-guide-profile__toc a:hover {
  color: var(--mg-brand);
  border-bottom-color: var(--mg-brand);
}

.mg-guide-profile__masthead--banner .mg-guide-profile__banner {
  overflow: hidden;
  height: 14rem;
  border-radius: 1.35rem;
}

@media (min-width: 768px) {
  .mg-guide-profile__masthead--banner .mg-guide-profile__banner {
    height: 17rem;
  }
}

.mg-guide-profile__banner img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.mg-guide-profile__hero {
  display: grid;
  gap: 1.25rem;
}

.mg-guide-profile__masthead--banner .mg-guide-profile__hero {
  padding: 0 0.75rem;
  position: relative;
}

.mg-guide-profile__masthead--banner .mg-guide-profile__photo {
  margin-top: -4.5rem;
}

@media (min-width: 800px) {
  .mg-guide-profile__hero {
    grid-template-columns: 15rem minmax(0, 1fr);
    gap: 1.5rem 1.75rem;
    align-items: start;
  }

  .mg-guide-profile__masthead--banner .mg-guide-profile__hero {
    padding: 0 1.25rem;
  }

  .mg-guide-profile__masthead--banner .mg-guide-profile__photo {
    margin-top: -6.5rem;
  }

  .mg-guide-profile__masthead--banner .mg-guide-profile__intro {
    margin-top: 1.25rem;
  }
}

.mg-guide-profile__photo {
  position: relative;
  align-self: start;
  z-index: 1;
  width: 10.5rem;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  margin: 0 auto;
  border: 4px solid #fff;
  border-radius: 1.15rem;
  background: #12304a;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
}

@media (min-width: 800px) {
  .mg-guide-profile__photo {
    position: sticky;
    top: 6.5rem;
    width: 100%;
    margin: 0;
  }
}

.mg-guide-profile__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.mg-guide-profile__initials {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: #e8c36a;
  font-size: 2.4rem;
  font-weight: 700;
}

.mg-guide-profile__intro {
  display: flex;
  flex-direction: column;
  padding: 1.2rem 1.15rem 1.4rem;
  border: 1px solid rgba(22, 50, 79, 0.08);
  border-radius: 1.2rem;
  background: #fff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
}

@media (min-width: 800px) {
  .mg-guide-profile__intro {
    padding: 1.5rem 1.6rem 1.7rem;
  }
}

.mg-guide-profile__role {
  margin: 0;
  color: var(--mg-brand);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mg-guide-profile__name {
  margin: 0.3rem 0 0;
  color: var(--mg-navy);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.mg-guide-profile__subtitle {
  margin: 0.45rem 0 0;
  color: var(--mg-lead);
  font-size: 0.95rem;
}

.mg-guide-profile__rating {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.55rem;
  margin: 0.65rem 0 0;
  color: var(--mg-navy);
  font-size: 0.95rem;
  font-weight: 600;
}

.mg-guide-profile__rating strong {
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.mg-guide-profile__rating-stars {
  color: #c9842a;
  letter-spacing: 0.08em;
  font-size: 1rem;
  line-height: 1;
}

.mg-guide-profile__rating [data-mg-review-hero-count] {
  color: var(--mg-lead);
  font-weight: 500;
}

.mg-guide-profile__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1.1rem 0 0;
}

.mg-guide-profile__stat {
  flex: 1 1 7.5rem;
  min-width: 7rem;
  padding: 0.7rem 0.85rem;
  border-radius: 0.8rem;
  background: var(--mg-soft, #f4f8f4);
}

.mg-guide-profile__stat dt {
  margin: 0;
  color: #6b7280;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mg-guide-profile__stat dd {
  margin: 0.3rem 0 0;
  color: var(--mg-navy);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.25;
}

.mg-guide-profile__stat dd > span {
  margin-left: 0.2rem;
  color: #6b7280;
  font-size: 0.8rem;
  font-weight: 500;
}

.mg-guide-profile__stat-stars {
  display: block;
  margin: 0.15rem 0 0.1rem;
  color: #c9842a;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
}

.mg-guide-profile__label {
  margin: 0;
  color: #6b7280;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mg-guide-profile__specs {
  margin-top: 1.1rem;
}

.mg-guide-profile__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.55rem;
}

.mg-guide-profile__chips span {
  display: inline-flex;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: var(--mg-soft, #f4f8f4);
  color: var(--mg-navy);
  font-size: 0.8rem;
  font-weight: 600;
}

.mg-guide-profile__chips--brand span {
  color: var(--mg-brand);
  background: rgba(63, 143, 63, 0.1);
}

.mg-guide-profile__cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
  margin-top: 1.35rem;
}

.mg-guide-profile__socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  width: 100%;
}

@media (min-width: 640px) {
  .mg-guide-profile__socials {
    width: auto;
  }
}

.mg-guide-profile__socials a {
  color: var(--mg-navy);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.mg-guide-profile__socials a:hover {
  color: var(--mg-brand);
  border-bottom-color: rgba(63, 143, 63, 0.35);
}

.mg-guide-profile__about,
.mg-guide-profile__certs,
.mg-guide-profile__deps {
  margin: 2.35rem 0 0;
}

.mg-guide-profile__body {
  margin: 2.35rem 0 0;
}

.mg-guide-profile__body .mg-guide-profile__about,
.mg-guide-profile__body .mg-guide-profile__certs {
  margin-top: 0;
}

@media (min-width: 960px) {
  .mg-guide-profile__body--split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 18rem;
    gap: 1.75rem 2rem;
    align-items: start;
  }

  .mg-guide-profile__certs {
    position: sticky;
    top: 5.75rem;
  }

  body.admin-bar .mg-guide-profile__certs {
    top: 7.75rem;
  }
}

.mg-guide-profile__about h2,
.mg-guide-profile__certs h2,
.mg-guide-profile__deps h2 {
  margin: 0;
  color: var(--mg-navy);
  font-size: clamp(1.3rem, 2.2vw, 1.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.mg-guide-profile__bio {
  max-width: 46rem;
  margin-top: 1rem;
  color: #2c333c;
  font-size: 1.02rem;
  line-height: 1.75;
}

.mg-guide-profile__bio p {
  margin: 0 0 1rem;
}

.mg-guide-profile__bio p:last-child {
  margin-bottom: 0;
}

.mg-guide-profile__certs ul {
  display: grid;
  gap: 0.65rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.mg-guide-profile__certs li {
  padding: 0.85rem 1rem;
  border: 1px solid var(--mg-line);
  border-radius: 0.85rem;
  background: #fff;
}

.mg-guide-profile__cert-name {
  margin: 0;
  color: var(--mg-navy);
  font-weight: 600;
}

.mg-guide-profile__cert-meta {
  margin: 0.3rem 0 0;
  color: var(--mg-muted);
  font-size: 0.85rem;
}

.mg-guide-profile__deps-head {
  margin-bottom: 0.25rem;
}

.mg-guide-profile__deps-lead {
  margin: 0.55rem 0 0;
  max-width: 36rem;
  color: var(--mg-lead);
  font-size: 0.95rem;
  line-height: 1.55;
}

.mg-guide-profile__deps-heading {
  margin: 1.75rem 0 0.85rem;
  color: var(--mg-navy);
  font-size: 1.05rem;
  font-weight: 700;
}

.mg-guide-profile__list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mg-guide-reviews,
.mg-guide-related {
  margin-top: 2.75rem;
}

.mg-guide-reviews h2,
.mg-guide-related h2 {
  margin: 0;
  color: var(--mg-navy);
  font-size: clamp(1.3rem, 2.2vw, 1.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.mg-guide-reviews__head {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1rem;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 1.15rem;
}

.mg-guide-reviews__lead {
  margin: 0.4rem 0 0;
  max-width: 28rem;
  color: var(--mg-lead);
  font-size: 0.95rem;
  line-height: 1.5;
}

.mg-guide-reviews__board {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  align-items: baseline;
  margin: 0 0 0.75rem;
  padding: 0.75rem 0.95rem;
  border-radius: 0.85rem;
  background: var(--mg-soft, #f4f8f4);
}

.mg-guide-reviews__avg {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  margin: 0;
}

.mg-guide-reviews__avg strong {
  color: var(--mg-navy);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}

.mg-guide-reviews__count,
.mg-guide-reviews__empty {
  margin: 0;
  color: var(--mg-lead);
}

.mg-guide-reviews__stars,
.mg-guide-review__stars {
  color: #c9842a;
  letter-spacing: 0.08em;
}

.mg-guide-reviews__list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.mg-guide-review {
  margin: 0;
  padding: 0.7rem 0.85rem 0.75rem;
  border: 1px solid rgba(22, 50, 79, 0.09);
  border-radius: 0.85rem;
  background: #fff;
}

.mg-guide-review p,
.mg-guide-review blockquote {
  margin: 0;
}

.mg-guide-review__top {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.mg-guide-review__avatar {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(63, 143, 63, 0.12);
  color: var(--mg-brand);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.mg-guide-review__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mg-guide-review__who {
  min-width: 0;
  flex: 1;
}

.mg-guide-review__name-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.65rem;
  align-items: center;
  justify-content: flex-start;
}

.mg-guide-review__name {
  margin: 0;
  color: var(--mg-navy);
  font-size: 0.95rem;
  font-weight: 700;
  text-align: left;
}

.mg-guide-review__stars {
  margin: 0;
  color: #c9842a;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  line-height: 1;
  flex-shrink: 0;
}

.mg-guide-review__byline {
  margin: 0.2rem 0 0;
  color: var(--mg-muted);
  font-size: 0.8rem;
}

.mg-guide-review__byline a {
  color: inherit !important;
  font-weight: 600;
  text-decoration: none !important;
}

.mg-guide-review__byline a:hover {
  color: var(--mg-brand) !important;
  text-decoration: underline !important;
}

.mg-guide-review__trek,
.mg-guide-review__guide {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.5rem;
  max-width: 100%;
  margin: 0.4rem 0 0;
  padding: 0.28rem 0.55rem 0.28rem 0.35rem;
  border: 1px solid rgba(22, 50, 79, 0.1);
  border-radius: 999px;
  background: var(--mg-soft, #f4f8f4);
  color: var(--mg-navy) !important;
  font-size: 0.78rem;
  line-height: 1.25;
}

.mg-guide-review__trek-label,
.mg-guide-review__guide-label {
  display: inline-block;
  padding: 0.12rem 0.4rem;
  border-radius: 999px;
  background: rgba(22, 50, 79, 0.08);
  color: #5b6570 !important;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mg-guide-review__trek-name,
.mg-guide-review__guide-name {
  color: var(--mg-navy) !important;
  font-weight: 600;
  text-decoration: none !important;
}

a.mg-guide-review__trek-name:hover,
a.mg-guide-review__guide-name:hover {
  color: var(--mg-brand) !important;
  text-decoration: underline !important;
}

.mg-guide-review__copy {
  margin: 0.45rem 0 0;
  padding: 0 0 0 0.75rem;
  border: 0;
  border-left: 3px solid rgba(63, 143, 63, 0.38);
}

.mg-guide-review__title {
  margin: 0;
  color: var(--mg-navy);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.35;
}

.mg-guide-review__body {
  margin: 0.3rem 0 0;
  color: #3a434c;
  font-size: 0.95rem;
  line-height: 1.65;
}

.mg-guide-review__body.is-clamped {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
}

.mg-guide-review__more-btn {
  display: inline-block;
  margin: 0.35rem 0 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--mg-brand) !important;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none !important;
}

.mg-guide-review__more-btn:hover {
  text-decoration: underline !important;
}

.mg-guide-review__copy .mg-guide-review__title + .mg-guide-review__body {
  margin-top: 0.35rem;
}

.mg-guide-reviews__more-wrap {
  margin: 0.65rem 0 0;
}

.mg-guide-reviews__more {
  width: 100%;
}

.mg-guide-review-form {
  margin-top: 1rem;
}

.mg-guide-review-form:not(.is-collapsed) {
  padding: 1rem 1.1rem 1.15rem;
  border: 1px solid rgba(22, 50, 79, 0.08);
  border-radius: 1.05rem;
  background: #fff;
}

.mg-guide-review-form.is-collapsed {
  padding: 0;
  border: 0;
  background: transparent;
}

.mg-guide-review-form.is-collapsed .mg-guide-review-form__panel {
  display: none;
}

.mg-guide-review-form:not(.is-collapsed) .mg-guide-review-form__toggle {
  display: none;
}

.mg-guide-review-form__toggle {
  width: 100%;
}

@media (min-width: 480px) {
  .mg-guide-review-form__toggle {
    width: auto;
  }
}

.mg-guide-review-form__intro h3 {
  margin: 0;
  font-size: 1.08rem;
}

.mg-guide-review-form__intro p {
  margin: 0.3rem 0 0;
  color: var(--mg-lead);
  font-size: 0.88rem;
  line-height: 1.45;
}

.mg-guide-review-form__fields {
  display: grid;
  gap: 0.7rem;
  margin-top: 0.85rem;
}

.mg-guide-review-form.is-success .mg-guide-review-form__fields {
  display: none;
}

.mg-guide-review-form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
}

.mg-guide-review-form__row {
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 640px) {
  .mg-guide-review-form__row {
    grid-template-columns: 1fr 1fr;
  }
}

.mg-guide-review-form .mg-guide-review-form__row > label,
.mg-guide-review-form .mg-guide-review-form__fields > label,
.mg-star-picker legend {
  display: grid;
  gap: 0.35rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.mg-star-picker {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.mg-star-picker legend {
  float: none;
  padding: 0;
  width: auto;
}

.mg-star-picker__row {
  position: relative;
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  width: max-content;
  max-width: 100%;
  gap: 0.05rem;
  margin-top: 0.15rem;
}

.mg-star-picker__row input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}

.mg-star-picker__row label {
  cursor: pointer;
  color: #d1d5db;
  font-size: 1.55rem;
  line-height: 1;
}

.mg-star-picker__row input:checked + label,
.mg-star-picker__row input:checked ~ label,
.mg-star-picker__row label:hover,
.mg-star-picker__row label:hover ~ label {
  color: #c9842a;
}

.mg-guide-review-form input,
.mg-guide-review-form select,
.mg-guide-review-form textarea {
  width: 100%;
  padding: 0.65rem 0.8rem;
  border: 1px solid rgba(22, 50, 79, 0.16);
  border-radius: 0.6rem;
  font: inherit;
}

.mg-guide-review-form input:focus,
.mg-guide-review-form textarea:focus {
  outline: 2px solid rgba(63, 143, 63, 0.35);
  outline-offset: 1px;
}

.mg-guide-review-form__honeypot {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

.mg-guide-review-form .cf-turnstile {
  min-height: 65px;
}

.mg-guide-review-form__status {
  margin: 0.9rem 0 0;
  padding: 0.85rem 1rem;
  border-radius: 0.75rem;
  font-weight: 600;
  line-height: 1.45;
}

.mg-guide-review-form__status[data-ok="pending"] {
  color: #1e3a5f;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
}

.mg-guide-review-form__status[data-ok="1"] {
  color: #166534;
  background: #ecfdf3;
  border: 1px solid #bbf7d0;
}

.mg-guide-review-form__status[data-ok="0"] {
  color: #991b1b;
  background: #fef2f2;
  border: 1px solid #fecaca;
}

/* Package detail — linked guide reviews */
.mg-pkg-reviews {
  margin: 2.75rem 0 1.5rem;
  padding: 1.75rem 0 0;
  border-top: 1px solid rgba(22, 50, 79, 0.08);
  color: var(--mg-navy);
  text-align: left;
}

.mg-pkg-reviews .mg-dep-eyebrow,
.mg-pkg-reviews__intro .mg-dep-eyebrow {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

.mg-pkg-reviews a {
  color: var(--mg-navy);
  text-decoration: none !important;
}

.mg-pkg-reviews a:hover {
  color: var(--mg-brand);
}

.mg-pkg-reviews__intro {
  margin: 0 0 1.25rem;
  text-align: left;
}

.mg-pkg-reviews__title {
  margin: 0.35rem 0 0;
  color: var(--mg-navy);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  text-align: left;
}

.mg-pkg-reviews__lead {
  margin: 0.45rem 0 0;
  max-width: 34rem;
  color: var(--mg-lead);
  font-size: 0.95rem;
  line-height: 1.5;
  text-align: left;
}

.mg-pkg-reviews__board {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  align-items: baseline;
  margin: 0 0 1.35rem;
  padding: 0.9rem 1.05rem;
  border-radius: 0.95rem;
  background: var(--mg-soft, #f4f8f4);
}

.mg-pkg-reviews__avg {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  margin: 0;
}

.mg-pkg-reviews__avg strong {
  color: var(--mg-navy);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}

.mg-pkg-reviews__stars {
  color: #c9842a;
  letter-spacing: 0.08em;
  font-size: 1rem;
}

.mg-pkg-reviews__count {
  margin: 0;
  color: var(--mg-lead);
  font-size: 0.95rem;
}

.mg-pkg-reviews__guides {
  margin: 0 0 1.5rem;
}

.mg-pkg-reviews__guides-label {
  margin: 0 0 0.7rem;
  color: #6b7280;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: left;
}

.mg-pkg-reviews__guide-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

@media (min-width: 640px) {
  .mg-pkg-reviews__guide-grid {
    grid-template-columns: repeat(auto-fit, minmax(16.5rem, 1fr));
  }
}

.mg-pkg-guide {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr);
  gap: 0.95rem;
  align-items: center;
  margin: 0;
  padding: 0.85rem;
  border: 1px solid rgba(22, 50, 79, 0.1);
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
}

.mg-pkg-guide__photo {
  position: relative;
  display: block;
  width: 5.5rem;
  height: 5.5rem;
  overflow: hidden;
  border-radius: 0.85rem;
  background: #12304a;
  flex-shrink: 0;
}

.mg-pkg-guide__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.mg-pkg-guide__initials {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.mg-pkg-guide__body {
  min-width: 0;
}

.mg-pkg-guide__role {
  margin: 0;
  color: var(--mg-brand);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.mg-pkg-guide__name {
  margin: 0.2rem 0 0;
  color: var(--mg-navy);
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.mg-pkg-guide__name a {
  color: inherit !important;
}

.mg-pkg-guide__name a:hover {
  color: var(--mg-brand) !important;
}

.mg-pkg-guide__rating {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem 0.45rem;
  margin: 0.35rem 0 0;
  color: var(--mg-navy);
  font-size: 0.88rem;
  font-weight: 600;
}

.mg-pkg-guide__stars {
  color: #c9842a;
  letter-spacing: 0.06em;
  font-size: 0.82rem;
  line-height: 1;
}

.mg-pkg-guide__rating span:last-child {
  color: var(--mg-lead);
  font-weight: 500;
}

.mg-pkg-guide__years {
  margin: 0.25rem 0 0;
  color: var(--mg-lead);
  font-size: 0.85rem;
}

.mg-pkg-guide__cta {
  margin-top: 0.65rem !important;
  padding: 0.45rem 0.85rem !important;
  font-size: 0.82rem !important;
}

.mg-pkg-reviews__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

@media (min-width: 720px) {
  .mg-pkg-reviews__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.mg-pkg-reviews__list .mg-guide-review {
  height: 100%;
}

.mg-pkg-reviews__more-wrap {
  margin: 1rem 0 0;
  text-align: left;
}

.mg-pkg-reviews__more {
  width: auto;
}
