/* ============================================================
   FLEWLT - BASE
   Shared reset, font loading, and default element behavior.
   ============================================================ */

@import url("https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css");
@import url("https://fonts.googleapis.com/css2?family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500;9..40,600;9..40,700&display=swap");
@import url("./tokens.css");

html {
  -webkit-text-size-adjust: 100%;
}

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  background: var(--Tints-Blue-2, #FAFCFE);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
input,
select,
textarea {
  font: inherit;
}

input::placeholder,
textarea::placeholder {
  color: var(--Neutrals-Placeholder, #8E8E93) !important;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid #4a90e2 !important;
  outline: -webkit-focus-ring-color auto 5px !important;
}

a {
  color: inherit;
  text-decoration: none;
}

.view-hero {
  align-items: center;
  background: var(--blue-10);
  border-radius: 0;
  display: flex;
  height: 480px;
  justify-content: center;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  overflow: hidden;
  position: relative;
  width: 100vw;
  z-index: 0;
}

.view-hero + .page-card {
  margin-top: -50px;
  min-height: calc(100vh - 74px - 176px - 480px + 50px);
  z-index: 10;
}

.view-hero-carousel {
  inset: 0;
  position: absolute;
  z-index: 20;
}

.view-hero-carousel-container {
  display: flex;
  height: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  width: 100%;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}

.view-hero-carousel-container::-webkit-scrollbar {
  display: none;
}

.view-hero-carousel-item {
  flex: 0 0 100%;
  height: 100%;
  pointer-events: none;
  position: relative;
  scroll-snap-align: start;
}

.view-hero-carousel-item img {
  background: #e8e8e8;
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.view-hero-photo-slide {
  align-items: center;
  background: #e8e8e8;
  display: flex;
  justify-content: center;
  overflow: hidden;
}

.view-hero-photo-slide .view-hero-photo-bg {
  filter: blur(24px);
  inset: -32px;
  height: calc(100% + 64px);
  object-fit: cover;
  opacity: 0.78;
  position: absolute;
  transform: scale(1.08);
  width: calc(100% + 64px);
  z-index: 0;
}

.view-hero-photo-slide .view-hero-photo-img {
  background: transparent;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  position: relative;
  width: 100%;
  z-index: 1;
}

.view-hero-carousel-item.active-slide {
  pointer-events: auto;
}

.view-hero-nav {
  align-items: center;
  display: flex;
  justify-content: space-between;
  left: 0;
  padding: 30px 112px;
  position: absolute;
  right: 0;
  top: 16px;
  z-index: 10;
}

.view-hero-btn {
  align-items: center;
  background-color: #ffffffb2;
  backdrop-filter: blur(8px);
  border: none;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  color: var(--ink);
  cursor: pointer;
  display: flex;
  font-size: 16px;
  height: 38px;
  justify-content: center;
  text-decoration: none;
  transition: var(--t-fast);
  width: 38px;
}

.view-hero-btn:hover {
  background: white;
  color: var(--sky-blue);
}

.view-hero-btn-right {
  display: flex;
  gap: 8px;
}

.view-hero-slide-btn {
  align-items: center;
  background: #ffffffb2;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  height: 42px;
  justify-content: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transition: .2s ease;
  width: 42px;
  z-index: 1000;
}

.view-hero-slide-btn.prev {
  left: 50px;
}

.view-hero-slide-btn.next {
  right: 50px;
}

.view-hero-dots {
  bottom: 82px;
  display: flex;
  gap: 8px;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
  z-index: 30;
}

.view-hero-dot {
  background: var(--Tints-Blue-2, #FAFCFE);
  border-radius: 50%;
  cursor: pointer;
  height: 10px;
  transition: all 0.3s ease;
  width: 10px;
}

.view-hero-dot.active {
  background: linear-gradient(140deg, rgba(0, 113, 206, 0.8) 4%, rgba(0, 90, 182, 1) 30%, rgba(6, 47, 135, 1) 57%);
  height: 12px;
  width: 12px;
}

.view-hero-dot:hover {
  background: rgba(255, 255, 255, 0.8);
}

.view-info-box {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 96px;
  padding: 24px;
  border-radius: 8px;
  background: var(--Core-Pure-White, #FFF);
  box-shadow: 10px 12px 40px 4px rgba(0, 90, 182, 0.06);
  transition: var(--t-fast);
}

.view-info-box:hover {
  background: var(--blue-10);
  border-color: var(--blue-20);
}

.view-actions-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 28px;
  padding-top: 20px;
}

.view-delete-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px;
  border-radius: var(--r-sm);
  border: 1.5px solid var(--waypoint-coral);
  background: none;
  color: var(--Error-Red-100, #C70101);
  text-align: center;
  font-family: var(--font-family-body, "DM Sans");
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: 120%;
  letter-spacing: 0.28px;
  cursor: pointer;
  transition: var(--t-fast);
}

.view-delete-button:hover {
  background: var(--coral-10);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 0;
}

.gallery-grid__ad {
  height: 230px;
  align-self: stretch;
}

.gallery-grid > .gallery-tile {
  background: var(--card);
  border: 1px solid transparent;
  border-radius: 8px;
  box-shadow: none;
  box-sizing: border-box;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  position: relative;
  text-decoration: none;
  transition: background-color .18s ease, border-color .18s ease;
  width: 260px;
  animation: galleryFadeUp .28s ease both;
  -webkit-user-drag: none;
}

.gallery-grid > .gallery-tile * {
  -webkit-user-drag: none;
}

.gallery-grid > .gallery-tile:hover,
.gallery-grid > .gallery-tile:focus-visible {
  border-radius: 8px;
  border: 1px solid rgba(0, 113, 206, 0.80);
  background: var(--Neutrals-Cloud-Blue, #F1F7FE);
  box-shadow: none;
  outline: none;
  transform: none;
}

.gallery-tile__inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.gallery-tile__media {
  background: var(--blue-20);
  border-radius: 8px;
  height: 160px;
  overflow: hidden;
  position: relative;
}

.gallery-tile__media .leaflet-container {
  border-radius: 8px;
  height: 100% !important;
  width: 100%;
}

.gallery-tile__swiper {
  cursor: grab;
  display: flex;
  height: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  touch-action: pan-y;
  user-select: none;
  width: 100%;
  -webkit-overflow-scrolling: touch;
}

.gallery-tile__swiper.dragging {
  cursor: grabbing;
  scroll-behavior: auto;
  scroll-snap-type: none;
}

.gallery-tile__swiper::-webkit-scrollbar {
  display: none;
}

.gallery-tile__slide {
  flex: 0 0 100%;
  height: 100%;
  position: relative;
  scroll-snap-align: start;
  user-select: none;
  width: 100%;
}

.gallery-tile__slide > * {
  pointer-events: none;
}

.gallery-tile__map {
  inset: 0;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  width: 100%;
}

.gallery-tile__map--active {
  opacity: 1;
  pointer-events: auto;
}

.gallery-tile__image {
  border-radius: 8px;
  display: block;
  height: 100%;
  object-fit: cover;
  user-drag: none;
  user-select: none;
  width: 100%;
  -webkit-user-drag: none;
}

.gallery-tile__dots {
  align-items: center;
  bottom: 10px;
  display: flex;
  filter: drop-shadow(0 1px 6px rgba(0, 0, 0, .25));
  gap: 6px;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
  z-index: 1000;
}

.gallery-tile__dot {
  background: rgba(250, 250, 250, .95);
  border-radius: 50%;
  height: 8px;
  width: 8px;
}

.gallery-tile__dot.active {
  background: var(--grad-sky);
}

.gallery-tile__dot.small {
  height: 6px;
  width: 6px;
}

.gallery-tile__dot.tiny {
  height: 4px;
  width: 4px;
}

.gallery-tile__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 12px 8px;
}

.gallery-tile__meta {
  color: var(--Neutrals-Panel-Gray, #626262);
  font-family: var(--font-family-body, "DM Sans");
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: 120%;
  letter-spacing: 0.28px;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.gallery-tile__meta-separator {
  display: inline-block;
  margin: 0 6px;
}

.gallery-tile__title {
  align-items: center;
  align-self: flex-start;
  display: flex;
  flex-wrap: wrap;
  max-width: 100%;
  width: fit-content;
  font-family: var(--font-family-body, "DM Sans");
  font-size: var(--font-size-lg, 20px);
  font-style: normal;
  font-weight: 600;
  line-height: 120%;
  letter-spacing: 0.4px;
  gap: 4px;
  background: var(--Core-Skyline-Gradient, linear-gradient(124deg, rgba(0, 113, 206, 0.80) -8.3%, #005AB6 43.6%, #062F87 97.5%));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gallery-tile__title img[src$="arrow_right.svg"] {
  padding: 0 4px;
}

.gallery-tile__title--route {
  background: none;
  -webkit-text-fill-color: initial;
}

.gallery-tile__title-segment {
  background: var(--Core-Skyline-Gradient, linear-gradient(124deg, rgba(0, 113, 206, 0.80) -8.3%, #005AB6 43.6%, #062F87 97.5%));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gallery-tile__title .arrow {
  background: url('../icons/icon-ionicons-filled-airplane-1.svg') center/12px 12px no-repeat;
  display: inline-block;
  flex: 0 0 12px;
  font-size: 0;
  height: 12px;
  line-height: 0;
  width: 12px;
}

.gallery-tile__summary {
  align-items: center;
  color: var(--Neutrals-Panel-Gray, #626262);
  display: flex;
  font-family: var(--font-family-body, "DM Sans");
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  gap: 8px;
  letter-spacing: .28px;
  line-height: 125%;
  margin-top: 8px;
  text-align: left;
}

@keyframes galleryFadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.gallery-grid > .gallery-tile:nth-child(1) { animation-delay: .03s; }
.gallery-grid > .gallery-tile:nth-child(2) { animation-delay: .06s; }
.gallery-grid > .gallery-tile:nth-child(3) { animation-delay: .09s; }
.gallery-grid > .gallery-tile:nth-child(4) { animation-delay: .12s; }
.gallery-grid > .gallery-tile:nth-child(5) { animation-delay: .15s; }
.gallery-grid > .gallery-tile:nth-child(6) { animation-delay: .18s; }
.gallery-grid > .gallery-tile:nth-child(7) { animation-delay: .21s; }
.gallery-grid > .gallery-tile:nth-child(8) { animation-delay: .24s; }

.page-table-wrap {
  background: var(--card);
  border: none;
  border-radius: var(--r-sm);
  box-shadow: none;
  max-width: 100%;
  overflow-x: hidden;
  overflow-y: hidden;
}

.page-table {
  border-collapse: separate;
  border-spacing: 0;
  max-width: 100%;
  min-width: 100%;
  table-layout: fixed;
  width: 100%;
}

.page-table thead tr {
  background: var(--Core-Skyline-Gradient, linear-gradient(124deg, rgba(0, 113, 206, 0.80) -8.3%, #005AB6 43.6%, #062F87 97.5%));
  border-radius: 8px;
}

.page-table thead th {
  background: transparent;
  border: none;
  color: var(--Core-Pure-White, #FFF);
  cursor: pointer;
  font-family: var(--font-family-body, "DM Sans");
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  height: 52px;
  letter-spacing: 0.28px;
  line-height: 120%;
  padding: 12px 24px;
  position: relative;
  text-align: left;
  transition: background .15s;
  user-select: none;
  vertical-align: middle;
  white-space: nowrap;
}

.page-table thead th:hover {
  background: rgba(255, 255, 255, .08);
}

.page-table thead th:first-child {
  border-radius: 8px 0 0 8px;
}

.page-table thead th:last-child {
  border-radius: 0 8px 8px 0;
}

.page-table thead th .th-inner {
  align-items: center;
  color: inherit;
  display: flex;
  font: inherit;
  gap: 6px;
  justify-content: flex-start;
  letter-spacing: inherit;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.page-table__sort-icon {
  align-items: center;
  align-self: center;
  display: inline-flex;
  flex: 0 0 16px;
  flex-direction: column;
  gap: 4px;
  height: 16px;
  justify-content: center;
  line-height: 0;
  width: 16px;
}

.page-table__sort-icon::before,
.page-table__sort-icon::after {
  content: "";
  display: block;
  height: 0;
  width: 0;
}

.page-table__sort-icon::before {
  border-bottom: 6px solid var(--Tints-Blue-60, #66AAE2);
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
}

.page-table__sort-icon::after {
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid var(--Tints-Blue-60, #66AAE2);
}

.page-table__sort-icon--asc::before {
  border-bottom-color: var(--Core-Pure-White, #FFF);
}

.page-table__sort-icon--desc::after {
  border-top-color: var(--Core-Pure-White, #FFF);
}

.page-table__customize-th {
  min-width: 72px;
  padding: 12px 24px 12px 8px !important;
  text-align: right !important;
  width: 72px;
}

.page-table__actions-th {
  cursor: default !important;
  width: 88px;
}

.page-table__resize-handle {
  cursor: col-resize;
  height: 100%;
  position: absolute;
  right: -4px;
  top: 0;
  touch-action: none;
  width: 8px;
  z-index: 2;
}

.page-table__resize-handle::after {
  background: rgba(255, 255, 255, .45);
  content: "";
  height: calc(100% - 28px);
  opacity: 0;
  position: absolute;
  right: 3px;
  top: 14px;
  transition: opacity .15s;
  width: 1px;
}

.page-table thead th:hover .page-table__resize-handle::after,
.page-table__resize-handle:hover::after {
  opacity: 1;
}

.page-table-resizing,
.page-table-resizing * {
  cursor: col-resize !important;
  user-select: none !important;
}

.page-table__customize-btn {
  align-items: center;
  box-sizing: border-box;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  filter: brightness(0) invert(1);
  font-size: 24px;
  height: 32px;
  justify-content: center;
  line-height: 1;
  object-fit: contain;
  padding: 4px;
  vertical-align: middle;
  width: 32px;
}

.page-table__customize-btn:hover {
  opacity: .82;
}

.class-badge {
  align-items: center;
  border-radius: 50%;
  color: var(--Core-Pure-White, #FFF);
  display: inline-flex;
  flex: 0 0 32px;
  font-family: var(--font-family-caption, "DM Sans");
  font-size: var(--font-size-xs, 12px);
  font-style: normal;
  font-weight: 600;
  height: 32px;
  justify-content: center;
  letter-spacing: 0.025px;
  line-height: 120%;
  width: 32px;
}

.class-badge.first {
  background: rgba(6, 47, 135, .70);
}

.class-badge.economy {
  background: var(--Tints-Blue-60, #66AAE2);
}

.class-badge.business {
  background: var(--Core-Cruise-Blue, #005AB6);
}

.class-badge.premium {
  background: var(--Tints-Blue-80, #338DD8);
}

.class-badge.private_jet,
.class-badge.private-jet {
  background: var(--Core-Altitude-Blue, #062F87);
}

.class-badge--companion {
  background: var(--Tints-Blue-80, #338DD8);
}

.class-badge-group {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  justify-content: flex-start;
}

.seat-badge {
  align-items: center;
  border-radius: 50%;
  color: var(--Core-Pure-White, #FFF);
  display: inline-flex;
  flex: 0 0 32px;
  font-family: var(--font-family-caption, "DM Sans");
  font-size: var(--font-size-xs, 12px);
  font-style: normal;
  font-weight: 600;
  height: 32px;
  justify-content: center;
  letter-spacing: 0.025px;
  line-height: 120%;
  padding: 0;
  vertical-align: middle;
  width: 32px;
}

.seat-badge.window {
  background: var(--Core-Altitude-Blue, #062F87);
}

.seat-badge.middle {
  background: var(--Core-Cruise-Blue, #005AB6);
}

.seat-badge.aisle {
  background: var(--Tints-Blue-80, #338DD8);
}

.page-action-btn {
  align-items: center;
  border: none;
  border-radius: 8px;
  box-sizing: border-box;
  cursor: pointer;
  display: inline-flex;
  flex: 0 0 32px;
  height: 32px;
  justify-content: center;
  min-height: 32px;
  min-width: 32px;
  padding: 0;
  text-decoration: none;
  transition: var(--t-fast);
  width: 32px;
}

.page-action-btn img {
  display: block;
  height: 16px;
  width: 16px;
}

.page-action-btn--edit {
  background: var(--blue-10);
  color: var(--sky-blue);
}

.page-action-btn--edit:hover {
  background: var(--blue-20);
  color: var(--cruise-blue);
}

.page-action-btn--delete {
  background: var(--coral-10);
  color: var(--waypoint-coral);
}

.page-action-btn--delete:hover {
  background: var(--coral-20);
}

.page-table-modal__row {
  align-items: center;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  padding: 0;
}

.page-table-modal__row + .page-table-modal__row {
  margin-top: 16px;
}

.page-table-modal__row:last-child {
  border-bottom: none;
}

.page-table-modal__row.select-all {
  padding-top: 0;
}

.page-table-modal__row-label {
  background: var(--Core-Skyline-Gradient, linear-gradient(124deg, rgba(0, 113, 206, 0.80) -8.3%, #005AB6 43.6%, #062F87 97.5%));
  background-clip: text;
  font-family: var(--font-family-body, "DM Sans");
  font-size: var(--font-size-sm, 16px);
  font-style: normal;
  font-weight: 600;
  line-height: 120%;
  letter-spacing: 0.32px;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.page-table-modal__checkbox {
  align-items: center;
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: 6px;
  display: flex;
  flex-shrink: 0;
  height: 22px;
  justify-content: center;
  width: 22px;
}

.page-table-modal__row.checked .page-table-modal__checkbox {
  background: var(--sky-blue);
  border-color: var(--sky-blue);
  color: white;
}

.page-table-modal__checkbox i {
  font-size: 12px;
  opacity: 0;
}

.page-table-modal__row.checked .page-table-modal__checkbox i {
  opacity: 1;
}

.page-table-modal__checkbox-dash {
  background: white;
  border-radius: 1px;
  height: 2px;
  opacity: 0;
  width: 10px;
}

.page-table-modal__row.indeterminate .page-table-modal__checkbox {
  background: var(--sky-blue);
  border-color: var(--sky-blue);
}

.page-table-modal__row.indeterminate .page-table-modal__checkbox-dash {
  opacity: 1;
}

.page-table tbody tr {
  border-bottom: 1px solid #eef0f8;
  cursor: pointer;
  height: 52px;
  transition: background .15s;
}

.page-table tbody tr:last-child {
  border-bottom: none;
}

.page-table tbody tr:hover td {
  background: var(--Neutrals-Cloud-Blue, #F1F7FE);
}

.page-table tbody td {
  border-bottom: 1px solid #eef0f8;
  color: var(--Neutrals-Panel-Gray, #626262);
  font-family: var(--font-family-body, "DM Sans");
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  height: 52px;
  letter-spacing: .28px;
  line-height: 125%;
  overflow: hidden;
  padding: 12px 24px;
  text-align: left;
  text-overflow: ellipsis;
  vertical-align: middle;
  white-space: nowrap;
}

.page-table tbody td.page-table__linked-cell {
  padding: 0;
}

.page-table__row-link {
  align-items: center;
  color: inherit;
  display: flex;
  height: 52px;
  min-width: 0;
  overflow: hidden;
  padding: 12px 24px;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 100%;
}

.page-table__row-link:focus-visible {
  outline: 2px solid var(--Core-Cruise-Blue, #005AB6);
  outline-offset: -3px;
}

.page-table tbody tr:last-child td {
  border-bottom: none;
}

.page-table__date,
.page-table__flight,
.page-table__title {
  color: var(--Neutrals-Panel-Gray, #626262);
  font-family: var(--font-family-body, "DM Sans");
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: .28px;
  line-height: 125%;
}

.page-table tbody td.page-table__title {
  text-align: left;
}

.page-table__date {
  background: none;
  background-clip: unset;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: currentColor;
}

.page-pagination {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  margin-top: auto;
  padding: 64px 0 12px;
}

.page-pagination__per-page {
  align-items: center;
  color: var(--Neutrals-Panel-Gray, #626262);
  display: flex;
  font-family: var(--font-family-body, "DM Sans");
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  gap: 6px;
  letter-spacing: 0.28px;
  line-height: 120%;
}

.page-pagination__per-page select {
  appearance: none;
  -webkit-appearance: none;
  background: var(--card) url('../icons/chevron-down.svg') no-repeat right 14px center;
  background-size: 12px 12px;
  border: 1px solid var(--Neutrals-Light-Gray, #F1F1F1);
  border-radius: 8px;
  color: var(--Neutrals-Panel-Gray, #626262);
  cursor: pointer;
  font-family: var(--font-family-body, "DM Sans");
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  height: 40px;
  letter-spacing: 0.28px;
  line-height: 120%;
  outline: none;
  padding: 10px 32px 10px 16px;
}

.page-pagination__count {
  color: var(--Neutrals-Panel-Gray, #626262);
  font-family: var(--font-family-body, "DM Sans");
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.28px;
  line-height: 120%;
  margin-left: 24px;
}

.page-pagination__pages {
  align-items: center;
  display: flex;
  gap: 4px;
}

.page-pagination__button {
  align-items: center;
  background: var(--card);
  border: 0.5px solid var(--Neutrals-Light-Gray, #F1F1F1);
  border-radius: 8px;
  color: var(--Neutrals-Panel-Gray, #626262);
  cursor: pointer;
  display: flex;
  font-family: var(--font-family-body, "DM Sans");
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  height: 40px;
  justify-content: center;
  letter-spacing: 0.28px;
  line-height: 120%;
  text-decoration: none;
  transition: var(--t-fast);
  width: 40px;
}

.page-pagination__button:hover {
  background: var(--cloud-blue);
}

.page-pagination__button.active {
  border: 0.5px solid var(--Neutrals-Light-Gray, #F1F1F1);
  border-radius: 8px;
  font-family: var(--font-family-body, "DM Sans");
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: 120%;
  letter-spacing: 0.28px;
  background: var(--Core-Skyline-Gradient, linear-gradient(124deg, rgba(0, 113, 206, 0.80) -8.3%, #005AB6 43.6%, #062F87 97.5%));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.page-pagination__button.disabled {
  cursor: not-allowed;
  opacity: .35;
  pointer-events: none;
}

.page-pagination__dots {
  align-items: center;
  background-image: var(--grad-sky);
  background-clip: text;
  color: var(--muted);
  display: flex;
  font-size: 16px;
  font-weight: 500;
  padding: 0 4px;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

@media (min-width: 801px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    align-items: stretch;
    gap: 32px;
  }

  .gallery-grid > .gallery-tile {
    width: 100%;
  }

  .gallery-grid__ad {
    min-height: 176px;
  }

  .gallery-tile__media {
    height: 176px;
  }
}

@media (max-width: 1100px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 800px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

@media (max-width: 560px) {
  .view-hero {
    height: 220px;
    margin-left: -16px;
    margin-right: -16px;
    width: calc(100% + 32px);
  }

  .view-hero + .page-card {
    margin-top: -16px;
    min-height: calc(100vh - 58px - 242px - 220px + 16px);
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .gallery-grid__ad {
    grid-column: span 2 !important;
    height: 120px;
  }

  .gallery-tile__media {
    height: 120px;
  }

  .gallery-tile__meta {
    font-size: 12px;
  }

  .gallery-tile__title {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .page-pagination {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .page-pagination__per-page select {
    font-size: 13px;
  }

  .page-pagination__button {
    font-size: 12px;
    height: 30px;
    width: 30px;
  }
}
