/* Travel page background (match site mood + globe art) */
body.travel-page {
  background:
    radial-gradient(1200px 600px at 30% 0%, rgba(60, 170, 255, 0.14) 0%, rgba(5, 11, 20, 0) 60%),
    linear-gradient(180deg, rgba(5, 11, 20, 0.88) 0%, rgba(7, 19, 37, 0.92) 100%),
    url("../../assets/images/hero/hero-globe.png");
  background-size: 100% 100%, 100% 100%, 110% auto;
  background-position: center top, center top, center -80px;
  background-repeat: no-repeat, no-repeat, repeat-y;
}

body.travel-page .page {
  background: transparent;
}


body.travel-page .site-header {
  z-index: 60;
}

body.travel-page .dest-publish-banner {
  z-index: 55;
}

.page-hero {
  padding: 44px 18px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(900px 520px at 30% 0%, rgba(60, 170, 255, 0.12) 0%, rgba(5, 11, 20, 0) 60%),
    linear-gradient(180deg, rgba(5, 11, 20, 0.38) 0%, rgba(5, 11, 20, 0.82) 70%, rgba(5, 11, 20, 0.98) 100%),
    url("../../assets/images/hero/hero-travel.JPEG");
  background-size: cover;
  background-position: 40% 45%;
  background-repeat: no-repeat;
  position: relative;
}

.page-hero > *{
  position: relative;
  z-index: 1;
}

/* Nudge Travel hero content down to match Training */
.page-hero .page-hero-inner {
  padding-top: 18px;
}

/* Travel hero card: match mobile "stacked tile" look on desktop */
.page-hero-card {
  background: rgba(8, 14, 24, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(6px);
}

.page-hero-card.travel-hero-logo{
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  width: 100%;
  max-width: 360px;
  justify-self: end;
  align-self: start;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.page-hero-card.travel-hero-logo img{
  width: 100%;
  height: auto;
  max-height: 220px;
  object-fit: contain;
}

.page-hero-card .stat {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(5, 11, 20, 0.55);
  padding: 12px 14px;
}

.page-hero-card .stat-label {
  font-size: 11px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: rgba(234, 242, 255, 0.6);
  margin-bottom: 4px;
}

.page-hero-card .stat-value {
  font-weight: 700;
  font-size: 15px;
  color: rgba(234, 242, 255, 0.95);
}

/* =========================
   TRAVEL — INTERACTIVE GLOBE (POC)
   ========================= */

/* Adjusted globe wrap layout for perfect centering */
body .page .globe-wrap {
  height: 560px !important; /* Larger globe area to fill the card */
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  margin: 0 auto !important; /* Center globe inside the card */
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: calc(var(--radius) - 6px);
  overflow: hidden;
}

body .page .globe-shell {
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.10);
  background: linear-gradient(180deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.03) 100%);
  box-shadow: 0 16px 38px rgba(0,0,0,0.45);
  padding: 16px;
  overflow: hidden;
  max-width: var(--max);
  margin: 0 auto;
}




/* Mobile adjustments */
@media (max-width: 768px) {
  .page-hero{
    background: none;
  }

  .page-hero::before{
    content: "";
    position: absolute;
    inset: 0;
    background:
      radial-gradient(900px 520px at 30% 0%, rgba(60, 170, 255, 0.12) 0%, rgba(5, 11, 20, 0) 60%),
      linear-gradient(180deg, rgba(5, 11, 20, 0.38) 0%, rgba(5, 11, 20, 0.82) 70%, rgba(5, 11, 20, 0.98) 100%),
      url("../../assets/images/hero/hero-travel.JPEG");
    background-size: cover;
    background-position: 40% 45%;
    transform: scaleX(-1);
    z-index: 0;
  }

  body .page .globe-shell {
    padding: 10px;
    border-radius: var(--radius);
    overflow: hidden;
  }

  body .page .globe-wrap {
    aspect-ratio: 1 / 1 !important; /* Square aspect ratio */
    height: auto !important; /* Let aspect ratio control height */
    width: 100% !important;
    padding: 0 !important; /* Maximize globe size on mobile */
    border-radius: calc(var(--radius) - 6px);
    overflow: hidden;
  }

  body .page .globe-wrap canvas {
    width: 100% !important; /* Ensure canvas fits */
    height: auto !important; /* Prevent vertical stretch */
    aspect-ratio: 1 / 1;
    border-radius: calc(var(--radius) - 6px);
  }

  /* Hide extra instruction tiles */
  .globe-instructions, .globe-help, .globe-overlay-text {
    display: none !important;
  }
}


/* Adjust canvas to fit globe size */
.globe-wrap canvas {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: calc(var(--radius) - 6px);
}

/* Hide hints and instruction tiles on mobile */
.globe-hint {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(5,11,20,0.62);
  color: rgba(234,242,255,0.75);
  font-weight: 650;
  font-size: 12px;
  letter-spacing: 0.2px;
  pointer-events: none;
}

/* Refined destination grid layout */
body .page .destination-grid {
  margin-top: 40px;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important; /* Two columns on desktop */
  gap: 20px !important; /* Standardize the gap between the cards */
  justify-items: stretch !important;
}

/* Ensure proper stacking and responsiveness for mobile */
@media (max-width: 768px) {
  body .page .destination-grid {
    grid-template-columns: minmax(0, 1fr) !important; /* Stack items on mobile */
    gap: 16px !important; /* Adjust gap for mobile layout */
    width: 100% !important;
  }
}


.destination-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.destination-title-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  flex-wrap: wrap;
  width: 100%;
}

/* Destination Grid Layout */
body .page .destination-grid {
  margin-top: 40px;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important; /* Two columns on desktop */
  gap: 24px !important; /* Increased gap for spacing between cards */
  justify-items: stretch !important; /* Fill each column for consistent card width */
}

/* Mobile responsiveness for grid */
@media (max-width: 768px) {
  body .page .destination-grid {
    grid-template-columns: minmax(0, 1fr) !important; /* Stack items on mobile */
    gap: 16px !important; /* Adjust gap on mobile */
    width: 100% !important;
  }
}

/* Ensure mobile responsiveness */
@media (max-width: 768px) {
  body .page .destination-grid {
    grid-template-columns: minmax(0, 1fr) !important; /* Stack items on mobile */
    gap: 16px !important; /* Adjust gap for mobile */
    width: 100% !important;
  }
}

@media (max-width: 768px) {
  body .page .destination-card {
    overflow: hidden;
  }

  body .page .destination-card .iso-link {
    display: block;
    width: 100%;
    max-width: 100%;
  }

  body .page .destination-card .iso-placeholder {
    width: 100%;
    max-width: 100%;
    min-height: 180px;
  }
}

/* Ensure mobile responsiveness for the grid */
@media (max-width: 768px) {
  body .page .destination-grid {
    grid-template-columns: minmax(0, 1fr) !important; /* Stack items on mobile */
    gap: 16px !important; /* Adjust gap for mobile */
    width: 100% !important;
  }
}

/* Destination card style adjustments */
body .page .destination-card {
  border-radius: 16px !important;
  border: 1px solid rgba(255, 255, 255, 0.10) !important;
  background: rgba(0, 0, 0, 0.18) !important;
  padding: 18px !important; /* Slightly reduce padding for better fit */
  transition: transform 0.3s ease !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
}

/* Hover effect */
body .page .destination-card:hover {
  transform: translateY(-4px) !important;
}

body .page .destination-actions .btn[aria-disabled="true"] {
  opacity: 0.55;
  pointer-events: none;
  cursor: not-allowed;
}

.micro-note--mobile {
  display: none;
}

@media (max-width: 768px) {
  .micro-note {
    display: none;
  }

  .micro-note--mobile {
    display: block;
    margin: 0;
  }
}


/* Hover effect */
body .page .destination-card:hover {
  transform: translateY(-4px) !important;
}

body .page .destination-card:hover {
  transform: translateY(-4px) !important; /* Hover effect for cards */
}


.destination-card:hover {
  transform: translateY(-4px);
}

.iso-placeholder {
  margin-top: 12px;
  height: auto;
  aspect-ratio: 16 / 9;
  min-height: 220px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.10);
  background: radial-gradient(900px 520px at 30% 0%, rgba(60,170,255,0.12) 0%, rgba(5,11,20,0) 60%), linear-gradient(180deg, rgba(255,255,255,0.06) 0%, rgba(0,0,0,0.18) 100%);
  display: grid;
  place-items: center;
  box-shadow: 0 14px 30px rgba(0,0,0,0.45);
  position: relative;
  overflow: hidden;
}

.iso-placeholder .iso-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  transition: opacity 220ms ease;
}

.iso-placeholder.is-loaded .iso-image {
  opacity: 1;
}

.iso-placeholder .iso-label {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 12px;
  transition: opacity 220ms ease;
}

.iso-placeholder.is-loaded .iso-label {
  opacity: 0;
}

.iso-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

/* Destination list */
.destination-list {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.destination-item {
  display: grid;
  gap: 8px;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.2);
  color: rgba(234, 242, 255, 0.95);
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.destination-item:hover {
  transform: translateY(-3px);
  border-color: rgba(85, 185, 255, 0.45);
  background: rgba(10, 18, 30, 0.5);
}

/* =========================
   Destinations Admin
   ========================= */
.dest-publish-banner {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(5, 11, 20, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(234, 242, 255, 0.92);
  padding: 0 18px;
  font-weight: 600;
  letter-spacing: 0.2px;
  opacity: 0;
  transform: translateY(-10px);
  max-height: 0;
  overflow: hidden;
  transition: opacity 200ms ease, transform 200ms ease, max-height 200ms ease, padding 200ms ease;
}

.dest-publish-banner.is-visible {
  opacity: 1;
  transform: translateY(0);
  max-height: 60px;
  padding: 10px 18px;
}

.dest-publish-banner.is-success {
  color: rgba(174, 255, 210, 0.95);
}

.dest-admin-panel {
  width: min(720px, calc(100% - 28px));
  position: fixed;
  top: 96px;
  right: 12px;
  z-index: 40;
  transform: translateX(calc(100% + 16px));
  transition: transform 180ms ease, opacity 180ms ease;
  opacity: 0;
  pointer-events: none;
}

body.dest-admin-open .dest-admin-panel {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}

.dest-admin-card {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(7, 12, 20, 0.9);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.45);
  padding: 10px;
  display: grid;
  gap: 10px;
  max-height: calc(100vh - 128px);
  overflow: auto;
}

.dest-admin-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.dest-admin-head-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dest-admin-title {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: rgba(234, 242, 255, 0.7);
}

.dest-admin-status {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  color: rgba(234, 242, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 4px 10px;
  background: rgba(10, 18, 30, 0.6);
}

.dest-admin-status.is-ready {
  border-color: rgba(85, 185, 255, 0.45);
}

.dest-admin-status.is-saving {
  border-color: rgba(255, 214, 153, 0.5);
  color: rgba(255, 234, 194, 0.95);
}

.dest-admin-status.is-saved {
  border-color: rgba(120, 220, 160, 0.55);
  color: rgba(194, 255, 215, 0.95);
}

.dest-admin-status.is-error {
  border-color: rgba(255, 122, 122, 0.6);
  color: rgba(255, 196, 196, 0.95);
}

.dest-admin-note {
  margin: 0;
  color: rgba(234, 242, 255, 0.65);
  font-size: 12px;
}

.dest-admin-grid--actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 8px;
}

.dest-admin-section {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 11, 20, 0.55);
  padding: 8px;
  display: grid;
  gap: 8px;
}

.dest-admin-section h3 {
  margin: 0;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: rgba(234, 242, 255, 0.7);
}

.dest-admin-actions {
  display: grid;
  gap: 6px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dest-admin-panel .dest-admin-actions .btn,
.dest-admin-actions .dest-admin-toggle {
  width: 100%;
  justify-content: center;
  text-align: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(7, 12, 20, 0.65);
  color: rgba(234, 242, 255, 0.75);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3px;
  padding: 7px 12px;
  cursor: pointer;
  transition: opacity 140ms ease, border-color 140ms ease, background 140ms ease;
  text-transform: uppercase;
}

.dest-admin-panel .dest-admin-actions .btn:hover,
.dest-admin-actions .dest-admin-toggle:hover {
  opacity: 0.9;
  border-color: rgba(85, 185, 255, 0.4);
  background: rgba(10, 18, 30, 0.75);
}

.dest-admin-panel .dest-admin-actions .btn.primary {
  border-color: rgba(85, 185, 255, 0.55);
  background: rgba(12, 22, 36, 0.85);
  color: rgba(234, 242, 255, 0.95);
}

.dest-admin-publish {
  grid-column: 1 / -1;
}

.dest-admin-panel .dest-admin-actions .btn.secondary {
  background: rgba(7, 12, 20, 0.7);
  color: rgba(234, 242, 255, 0.8);
}

.dest-admin-shell {
  display: none;
  gap: 12px;
  grid-template-columns: minmax(200px, 0.9fr) minmax(0, 1.5fr);
  align-items: start;
}

body.dest-edit-mode .dest-admin-shell {
  display: grid;
}

.dest-admin-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  padding-right: 10px;
}

.dest-admin-search,
.dest-admin-select,
.dest-admin-grid input,
.dest-admin-grid textarea {
  border-radius: 12px;
}

.dest-admin-list-head {
  display: flex;
  gap: 8px;
}

.dest-admin-search {
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(10, 18, 30, 0.65);
  color: rgba(234, 242, 255, 0.95);
}

.dest-admin-items {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 420px;
  overflow-y: auto;
  padding-right: 6px;
}

.dest-admin-select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(10, 18, 30, 0.7);
  color: rgba(234, 242, 255, 0.95);
  font-size: 13px;
}

.dest-admin-select:focus {
  outline: 2px solid rgba(85, 185, 255, 0.6);
  outline-offset: 2px;
}

.dest-admin-list-editor {
  display: grid;
  gap: 8px;
}

.dest-admin-list-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.dest-admin-list-row input {
  width: 100%;
  padding: 9px 11px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(10, 18, 30, 0.65);
  color: rgba(234, 242, 255, 0.95);
}

.dest-admin-inline-actions {
  margin-top: 8px;
  display: flex;
  justify-content: flex-start;
}

.travel-inline-add {
  display: none;
  margin-top: 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(8, 14, 24, 0.75);
  color: rgba(234, 242, 255, 0.86);
  font-size: 11px;
  font-weight: 700;
  padding: 6px 11px;
  cursor: pointer;
}

body.dest-edit-mode .travel-inline-add {
  display: inline-flex;
}

.travel-inline-delete {
  margin-left: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(7, 12, 20, 0.72);
  color: rgba(234, 242, 255, 0.76);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  cursor: pointer;
}

body.dest-edit-mode #destination [contenteditable="true"] {
  outline: 1px dashed rgba(85, 185, 255, 0.58);
  outline-offset: 2px;
  border-radius: 6px;
  background: rgba(80, 165, 220, 0.08);
  box-shadow: inset 0 0 0 999px rgba(80, 165, 220, 0.03);
}

.dest-admin-item {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(10, 18, 30, 0.55);
  color: rgba(234, 242, 255, 0.92);
  border-radius: 12px;
  padding: 10px 12px;
  text-align: left;
  display: grid;
  gap: 4px;
  cursor: pointer;
  transition: border-color 180ms ease, transform 180ms ease;
}

.dest-admin-item:hover {
  border-color: rgba(85, 185, 255, 0.45);
  transform: translateY(-2px);
}

.dest-admin-item.is-active {
  border-color: rgba(85, 185, 255, 0.75);
  background: rgba(12, 24, 40, 0.75);
}

.dest-admin-item-title {
  font-weight: 700;
  font-size: 14px;
}

.dest-admin-item-sub {
  font-size: 12px;
  color: rgba(234, 242, 255, 0.65);
}

.dest-admin-editor {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dest-admin-empty {
  padding: 20px;
  border-radius: 14px;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  text-align: center;
  color: rgba(234, 242, 255, 0.6);
}

.dest-admin-form {
  display: none;
  flex-direction: column;
  gap: 12px;
}

.dest-admin-card .dest-admin-section h3 {
  margin-bottom: 0;
}

.dest-admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 4px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(7, 12, 20, 0.65);
}

.dest-admin-tab {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(8, 14, 24, 0.75);
  color: rgba(234, 242, 255, 0.72);
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 160ms ease, color 160ms ease, background 160ms ease;
}

.dest-admin-tab.is-active {
  color: rgba(10, 20, 32, 0.95);
  background: rgba(120, 200, 255, 0.92);
  border-color: rgba(120, 200, 255, 0.9);
}

.dest-admin-tab-panel {
  display: none;
}

.dest-admin-tab-panel.is-active {
  display: block;
}

.dest-admin-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.dest-admin-grid label {
  display: grid;
  gap: 6px;
  font-size: 12px;
  color: rgba(234, 242, 255, 0.7);
}

.dest-admin-required::after {
  content: "Required";
  justify-self: start;
  font-size: 10px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  color: rgba(255, 214, 153, 0.75);
}

.dest-admin-grid input,
.dest-admin-grid textarea {
  padding: 9px 10px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(10, 18, 30, 0.65);
  color: rgba(234, 242, 255, 0.95);
}

.dest-admin-grid input.is-invalid,
.dest-admin-grid textarea.is-invalid {
  border-color: rgba(226, 27, 35, 0.85);
  box-shadow: 0 0 0 2px rgba(226, 27, 35, 0.2);
}

.dest-admin-validation {
  min-height: 18px;
  margin-top: 6px;
  font-size: 12px;
  color: rgba(255, 214, 153, 0.85);
}

.dest-admin-validation.is-error {
  color: rgba(226, 27, 35, 0.85);
}

.dest-admin-grid textarea {
  resize: vertical;
}

.dest-admin-upload {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
  border-radius: 12px;
  border: 1px dashed rgba(255, 255, 255, 0.14);
  padding: 10px;
  background: rgba(10, 18, 30, 0.35);
}

.dest-admin-upload-card {
  display: grid;
  gap: 8px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: rgba(234, 242, 255, 0.65);
}

.dest-admin-upload-status {
  min-height: 16px;
  font-size: 12px;
  text-transform: none;
  letter-spacing: 0;
  color: rgba(234, 242, 255, 0.7);
}

.dest-admin-span {
  grid-column: 1 / -1;
}

.dest-admin-form .dest-admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

@media (max-width: 900px) {
  .dest-admin-shell {
    grid-template-columns: minmax(0, 1fr);
  }

  .dest-admin-list {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-right: 0;
    padding-bottom: 12px;
  }
}

@media (min-width: 1200px) {
  .dest-admin-shell {
    grid-template-columns: minmax(220px, 0.95fr) minmax(0, 1.75fr);
  }

  .dest-admin-items {
    max-height: 460px;
  }
}

/* Reuse media auth modal styling */
.media-edit-modal{
  position: fixed;
  inset: 0;
  background: rgba(5, 8, 14, 0.72);
  display: grid;
  place-items: start center;
  z-index: 100;
  padding: 88px 18px 24px;
}

.media-edit-modal-card{
  width: min(520px, 100%);
  max-height: calc(100vh - 96px);
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(7, 12, 20, 0.95);
  box-shadow: 0 18px 48px rgba(0,0,0,0.6);
  padding: 18px;
  display: grid;
  gap: 12px;
  overflow-y: auto;
}

.media-edit-modal-card h3{
  margin: 0;
  font-size: 20px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.media-edit-modal-hint{
  margin: 0;
  color: rgba(234,242,255,0.6);
  font-size: 12.5px;
}

.media-edit-form{
  display: grid;
  gap: 8px;
}

.media-edit-form label{
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: rgba(234,242,255,0.6);
}

.media-edit-form input,
.media-edit-form select,
.media-edit-form textarea{
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(5,11,20,0.6);
  color: rgba(234,242,255,0.9);
  padding: 8px 10px;
  font-size: 13px;
}

.media-edit-form input:focus,
.media-edit-form select:focus,
.media-edit-form textarea:focus{
  outline: 2px solid rgba(85,185,255,0.6);
  outline-offset: 2px;
}

.media-edit-modal-actions{
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.media-edit-cancel,
.media-edit-save{
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(7, 12, 20, 0.75);
  color: rgba(234, 242, 255, 0.85);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3px;
  padding: 8px 14px;
  cursor: pointer;
}

.media-edit-save{
  border-color: rgba(85,185,255,0.6);
  background: rgba(12, 22, 36, 0.9);
}

.destination-item-title {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.destination-item-sub {
  color: rgba(234, 242, 255, 0.68);
  font-size: 13px;
}

.destination-item-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.destination-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 6px 10px;
  min-height: 24px;
  line-height: 1;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: rgba(234, 242, 255, 0.8);
  background: rgba(255, 255, 255, 0.04);
  white-space: nowrap;
}

/* Increased spacing for hero section */
body .page .page-hero {
  margin-bottom: 40px !important;
}

body.travel-page .site-footer {
  background: transparent;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

body.travel-page #destination-list {
  padding-bottom: 12px;
}

body.travel-page .travel-footer {
  margin-top: 0;
}

body.travel-page .travel-footer {
  margin-top: 0;
}

body.travel-page #destination-list,
body.travel-page .travel-footer {
  background: transparent;
}

.travel-footer {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.travel-login-button {
  position: absolute;
  right: 18px;
  bottom: 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(7, 12, 20, 0.55);
  color: rgba(234,242,255,0.55);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.4px;
  padding: 6px 10px;
  cursor: pointer;
  opacity: 0.35;
  transition: opacity 140ms ease, border-color 140ms ease, background 140ms ease;
}

.dest-admin-bar .travel-login-button {
  position: static;
  bottom: auto;
  right: auto;
}

body.dest-authenticated .travel-footer .dest-admin-login.travel-login-button {
  display: none;
}

.travel-footer .dest-admin-toggle.travel-login-button {
  display: none;
}

body.dest-authenticated .travel-footer .dest-admin-toggle.travel-login-button {
  display: inline-flex;
}

.travel-login-button:hover{
  opacity: 0.7;
  border-color: rgba(255,255,255,0.35);
  background: rgba(10, 18, 30, 0.7);
}

body.dest-authenticated .travel-login-button{
  display: none;
}

.dest-admin-fab{
  position: fixed;
  top: 110px;
  right: 18px;
  z-index: 39;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(8, 14, 24, 0.92);
  color: rgba(234,242,255,0.9);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.4px;
  padding: 10px 14px;
  cursor: pointer;
  box-shadow: 0 16px 38px rgba(0,0,0,0.45);
  transition: transform 140ms ease, border-color 140ms ease, background 140ms ease, opacity 140ms ease;
  opacity: 0;
  pointer-events: none;
}

.dest-admin-fab:hover{
  transform: translateY(-1px);
  border-color: rgba(85,185,255,0.45);
  background: rgba(10, 18, 30, 0.95);
}

body.dest-admin-open .dest-admin-fab{
  opacity: 1;
  pointer-events: auto;
}

body.dest-authenticated .dest-admin-fab{
  opacity: 1;
  pointer-events: auto;
}

.dest-admin-close{
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(7, 12, 20, 0.7);
  color: rgba(234,242,255,0.7);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.4px;
  padding: 6px 10px;
  cursor: pointer;
  opacity: 0.85;
  transition: opacity 140ms ease, border-color 140ms ease, background 140ms ease, transform 140ms ease;
}

.dest-admin-close:hover{
  opacity: 1;
  border-color: rgba(255,255,255,0.35);
  background: rgba(10, 18, 30, 0.7);
  transform: translateY(-1px);
}

@media (max-width: 780px){
  .dest-admin-panel{
    width: min(100%, calc(100% - 24px));
    right: 12px;
  }
}


/* Mobile destination grid adjustments */
@media (max-width: 768px) {
  .destination-grid {
    grid-template-columns: 1fr !important; /* Stack items on mobile */
    gap: 16px !important; /* Adjust gap */
    width: 100% !important; /* Ensure full-width layout on mobile */
  }
}






