html,
body {
  overflow-x: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

#main {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

.table-scroll {
  max-width: 100%;
  -webkit-overflow-scrolling: touch;
}

body.modal-open {
  overflow: hidden;
}

#cf-modal:not(.hidden) {
  animation: cf-modal-in 0.2s ease-out;
}

#cf-modal-panel {
  animation: cf-panel-in 0.25s ease-out;
}

@keyframes cf-modal-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes cf-panel-in {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  #cf-modal:not(.hidden),
  #cf-modal-panel {
    animation: none;
  }
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;
}

.card-mini {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.card-lift {
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card-lift:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px -10px rgb(48 47 54 / 0.16);
}

input:not([type="checkbox"]):not([type="radio"]),
select,
textarea {
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

input:not([type="checkbox"]):not([type="radio"]):focus,
select:focus,
textarea:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgb(81 75 96 / 0.25);
}

button,
[type="submit"],
[type="button"],
a.inline-flex {
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

#featured-guides a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
