/* Egypt Airport Transfers — hub & subcategory layouts */

.transport-breadcrumb {
  padding: 0.75rem 0;
  font-size: 0.9rem;
  color: var(--text-muted, #666);
}
.transport-breadcrumb a {
  color: var(--primary, #0d6efd);
  text-decoration: none;
}
.transport-breadcrumb a:hover { text-decoration: underline; }

.transport-hero {
  background: linear-gradient(135deg, #0a3d62 0%, #1e6f9f 50%, #2980b9 100%);
  color: #fff;
  padding: 2.5rem 0 2rem;
  text-align: center;
}
.transport-hero.transport-hero-image {
  background-size: cover;
  background-position: center;
  padding: 3.25rem 0 2.75rem;
}
.transport-hero h1 { margin: 0 0 0.5rem; font-size: clamp(1.5rem, 4vw, 2.25rem); }
.transport-hero p { margin: 0; opacity: 0.92; max-width: 720px; margin-inline: auto; }

.transport-intro {
  padding: 2rem 0 1rem;
  line-height: 1.7;
}

.transport-hubs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  padding: 1rem 0 2.5rem;
}

.transport-hub-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}
.transport-hub-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.12);
}
.transport-hub-card-img {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #e8eef3;
}
.transport-hub-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.transport-hub-card-body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.transport-hub-card-body h3 {
  margin: 0 0 0.75rem;
  font-size: 1.1rem;
  line-height: 1.35;
}
.transport-hub-card-body p {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  color: #555;
  flex: 1;
  line-height: 1.55;
}

.transport-filter-bar {
  background: #f4f7fa;
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: flex-end;
}
.transport-filter-bar label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
  min-width: 180px;
  flex: 1;
}
.transport-filter-bar select {
  padding: 0.55rem 0.75rem;
  border: 1px solid #ccd5de;
  border-radius: 8px;
  font-size: 0.95rem;
  background: #fff;
}
.transport-filter-bar input[type="search"] {
  padding: 0.55rem 0.75rem;
  border: 1px solid #ccd5de;
  border-radius: 8px;
  font-size: 0.95rem;
  background: #fff;
  width: 100%;
}
.filter-search-label { flex: 2; min-width: 220px; }
.transport-filter-actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.transport-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.transport-count {
  font-weight: 600;
  color: #333;
}
.transport-view-toggle button {
  padding: 0.4rem 0.85rem;
  border: 1px solid #ccd5de;
  background: #fff;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.85rem;
}
.transport-view-toggle button.active {
  background: var(--primary, #0d6efd);
  color: #fff;
  border-color: var(--primary, #0d6efd);
}

.transport-listings {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.transport-listings.list-view {
  grid-template-columns: 1fr;
}
.transport-listings.list-view .transfer-listing-card {
  flex-direction: row;
  max-width: 100%;
}
.transport-listings.list-view .transfer-listing-img {
  width: 220px;
  min-width: 220px;
  aspect-ratio: auto;
  min-height: 160px;
}

.transfer-listing-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 3px 16px rgba(0,0,0,0.07);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s;
}
.transfer-listing-card:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.11);
}
.transfer-listing-card.is-hidden { display: none; }
.medical-partner-card.is-hidden { display: none; }
.transport-hub-card.is-hidden { display: none; }
.tour-card.is-hidden { display: none; }
.tours-table tr.is-hidden { display: none; }

.transfer-listing-img {
  position: relative;
  aspect-ratio: 16/10;
  background: #e8eef3;
  overflow: hidden;
}
.transfer-listing-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.transfer-listing-price {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  background: rgba(0,0,0,0.75);
  color: #fff;
  padding: 0.35rem 0.65rem;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
}

.transfer-listing-body {
  padding: 1.1rem 1.25rem 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.transfer-listing-body h3 {
  margin: 0 0 0.65rem;
  font-size: 1.05rem;
  line-height: 1.35;
}
.transfer-listing-body h3 a {
  color: inherit;
  text-decoration: none;
}
.transfer-listing-body h3 a:hover { color: var(--primary, #0d6efd); }

.transfer-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  font-size: 0.82rem;
  color: #666;
  margin-bottom: 0.65rem;
}
.transfer-meta-row span { white-space: nowrap; }

.transfer-route-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.85rem;
}
.transfer-route-tag {
  background: #e8f4fc;
  color: #0a5a8a;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 500;
}
.transfer-route-tag.to {
  background: #fef3e8;
  color: #9a5a0a;
}

.transfer-listing-desc {
  font-size: 0.88rem;
  color: #555;
  line-height: 1.5;
  margin: 0 0 1rem;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 640px) {
  .transport-listings.list-view .transfer-listing-card { flex-direction: column; }
  .transport-listings.list-view .transfer-listing-img {
    width: 100%;
    min-width: 0;
  }
  .transport-filter-bar label { min-width: 100%; }
}

.transport-price-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.75rem;
  font-size: 0.92rem;
}
.transport-price-table th,
.transport-price-table td {
  border: 1px solid #e2e8f0;
  padding: 0.65rem 0.85rem;
  text-align: left;
}
.transport-price-table th { background: #f4f7fa; font-weight: 600; }
.transport-price-amount { font-weight: 700; color: #0a5a8a; white-space: nowrap; }
.transport-price-tier { margin-bottom: 1.5rem; }
.transport-price-tier h3 { margin: 0 0 0.25rem; font-size: 1.15rem; }

.transport-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}
.transport-gallery-item {
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 10px;
  background: #e8eef3;
}
.transport-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.transport-overview p { line-height: 1.7; margin-bottom: 1rem; }
.transport-incl-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
@media (max-width: 640px) {
  .transport-incl-grid { grid-template-columns: 1fr; }
}

/* Nile cruise ship detail pages */
.transport-hub-meta {
  font-size: 0.85rem;
  color: var(--primary, #0d6efd);
  font-weight: 600;
  margin: 0 0 0.75rem;
}
.nile-ship-hero {
  background: linear-gradient(135deg, #0a3d62 0%, #1e6f9f 50%, #2980b9 100%);
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 3rem 0 2.5rem;
  text-align: center;
}
.nile-ship-hero h1 {
  margin: 0.35rem 0 0.75rem;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
}
.nile-ship-eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  opacity: 0.85;
}
.nile-ship-tagline {
  max-width: 760px;
  margin: 0 auto 1rem;
  opacity: 0.94;
  line-height: 1.6;
}
.nile-ship-programs-badge {
  display: inline-block;
  margin: 0;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.16);
  font-size: 0.9rem;
}
.nile-ship-gallery-section { padding: 2rem 0 0.5rem; background: #f4f8fb; }
.nile-ship-gallery-main {
  height: min(52vw, 420px);
  border-radius: 14px;
  background-size: cover;
  background-position: center;
  margin-bottom: 0.85rem;
  box-shadow: 0 8px 28px rgba(0,0,0,0.12);
}
.nile-ship-gallery-thumbs { display: flex; gap: 10px; flex-wrap: wrap; }
.nile-ship-gallery-thumb {
  width: 88px;
  height: 64px;
  border: 2px solid transparent;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  opacity: 0.72;
  padding: 0;
}
.nile-ship-gallery-thumb.active,
.nile-ship-gallery-thumb:hover {
  opacity: 1;
  border-color: var(--primary, #0d6efd);
}
.nile-ship-profile { padding: 2rem 0 1rem; }
.nile-ship-profile-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
  align-items: start;
}
.nile-ship-about h2 { margin-top: 0; }
.nile-ship-about p { line-height: 1.75; margin-bottom: 1rem; }
.nile-ship-highlights {
  background: #f4f8fb;
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
}
.nile-ship-highlights h3 { margin-top: 0; font-size: 1.05rem; }
.nile-ship-highlights ul {
  margin: 0;
  padding-left: 1.1rem;
  line-height: 1.65;
}
.nile-ship-programs .section-title p {
  color: var(--text-muted, #666);
  margin-top: 0.35rem;
}
.nile-ship-empty {
  text-align: center;
  padding: 2.5rem 1rem;
  background: #f8fafc;
  border-radius: 12px;
}
.nile-ship-empty p { max-width: 560px; margin: 0 auto 1.25rem; line-height: 1.7; }
@media (max-width: 768px) {
  .nile-ship-profile-grid { grid-template-columns: 1fr; }
  .nile-ship-gallery-main { height: 240px; }
}
