/* =========================================================
   CARD SYSTEM (BASE STYLES)
========================================================= */

.flysub-card,
.flysub-section,
.flysub-view,
.flysub-accordion,
.flysub-login-box,
.info-card,
.quick-stat,
.dest-section {
  background: var(--card);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: var(--space);
}

/* =========================================================
   CARD BEHAVIOR
========================================================= */

.flysub-card {
  overflow: hidden;
  cursor: pointer;
  transition: 0.2s;
  display: flex;
  flex-direction: column;
  aspect-ratio: 4 / 6;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.08);
  background: #fff;
  border-radius: 22px;
}

/* Hover effect (only on hover-capable devices) */
@media (hover: hover) {
  .flysub-card:hover {
    transform: translateY(-4px);
  }
}

/* =========================================================
   CARD BODY
========================================================= */

.card-body {
  flex: 3;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 0;
}

/* =========================================================
   IMAGE CONTAINERS
========================================================= */

.flysub-card-image {
  height: 160px;
  background-size: cover;
  background-position: center;
  border-radius: var(--radius);
}

.card-image-wrapper {
  flex: 3;
  min-height: 0;
  padding: 10px;
  box-sizing: border-box;
}

.card-image {
  width: 100%;
  height: 100%;
  border-radius: 16px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}