

:root {
  --skytravel-blue: #005eb8;
  --skytravel-blue-hover: #004a94;
  --skytravel-light-blue: #f0f7ff;
  --bg-color: #f8f9fa;
  --card-bg: #ffffff;
  --text-main: #333333;
  --text-muted: #666666;
  --border-color: #e5e5e5;
  --tag-bg: #e6f2ff;
  --tag-text: #005eb8;
}

body {
  background-color: var(--bg-color);
  -webkit-font-smoothing: antialiased;
  color: var(--text-main);
}

/* ================== Hero Section ================== */
.cz-hero {
  background-image: url('/element/img/cz-special-offer/banner.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 60px 20px 40px;
  text-align: center;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cz-hero-content {
  max-width: 1000px;
  margin: 0 auto;
  width: 100%;
}

.cz-hero-top {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  padding: 8px 24px 8px 12px;
  border-radius: 50px;
  margin-bottom: 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.cz-hero-icon {
  width: 36px;
  height: 36px;
  object-fit: contain;
  margin-right: 12px;
}

.cz-hero-logo {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: 16px;
  border-right: 1px solid #e0e0e0;
}

.cz-hero-logo-main {
  font-weight: 800;
  color: #004a94;
  font-size: 16px;
}

.cz-hero-logo-sub {
  font-size: 10px;
  color: #666;
  margin-top: 2px;
}

.cz-hero-campaign {
  margin-left: 16px;
  padding: 4px 12px;
  background: #ebf3ff;
  color: #004a94;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 20px;
  border: 1px solid #cce0ff;
  white-space: nowrap;
}

.cz-hero-title {
  font-size: 64px;
  font-weight: 900;
  color: #003366;
  margin-bottom: 20px;
  text-shadow: 0 2px 4px rgba(255,255,255,0.8);
  letter-spacing: 1px;
}

.cz-hero-ribbon {
    display: inline-block;
    background: #db2c45;
    color: #ffffff;
    padding: 10px 50px;
    font-size: 24px;
    font-weight: 700;
    position: relative;
    margin-bottom: 24px;
    clip-path: polygon(0 0, 100% 0, calc(100% - 18px) 50%, 100% 100%, 0 100%, 18px 50%);
    letter-spacing: 1px;
}

.cz-hero-desc {
    font-size: 20px;
    color: #003366;
    font-weight: 600;
    line-height: 1.8;
    margin-bottom: 40px;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.9);
}

.cz-hero-desc p {
  margin: 0;
}

.cz-hero-features {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #ffffff;
  border-radius: 60px;
  padding: 16px 40px;
  box-shadow: 0 8px 24px rgba(0, 48, 135, 0.1);
  max-width: 960px;
  margin: 0 auto;
}

.cz-feature-item {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  justify-content: center;
  position: relative;
}

.cz-feature-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 40px;
  width: 1px;
  background-color: #d8e2ef;
}

.cz-feature-icon {
  background: #005eb8;
  color: #ffffff;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 4px 10px rgba(0, 94, 184, 0.3);
}

.cz-feature-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.cz-feature-title {
  font-size: 16px;
  font-weight: 700;
  color: #001f5c;
  margin-bottom: 4px;
}

.cz-feature-sub {
  font-size: 14px;
  color: #697386;
  font-weight: 500;
}

@media (max-width: 768px) {
  .cz-hero-features {
    flex-direction: column;
    border-radius: 24px;
    padding: 24px;
    gap: 24px;
  }
  
  .cz-feature-item {
    width: 100%;
    justify-content: flex-start;
  }
  
  .cz-feature-item:not(:last-child)::after {
    right: 0;
    top: auto;
    bottom: -12px;
    transform: none;
    width: 100%;
    height: 1px;
  }
}

/* ================== Main Container ================== */
.cz-container {
  max-width: 1000px;
  margin: 0 auto 60px;
  padding: 40px 20px;
}

/* ================== Routes Categories ================== */
.cz-route-category {
  font-size: 22px;
  font-weight: 700;
  color: #001f5c;
  margin-top: 48px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.cz-route-category i {
  color: #2563eb;
  font-size: 20px;
}

/* Reduce top margin for the very first category */
.cz-section-header + .cz-route-category {
  margin-top: 16px;
}

.cz-routes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
  margin-bottom: 60px;
}

.cz-route-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--card-bg);
  border-radius: 12px;
  padding: 24px 20px;
  border: 1px solid #f0f0f0;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.cz-route-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
  border-color: transparent;
}

.cz-route-card-title {
  font-size: 20px;
  font-weight: 700;
  color: #001f5c;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.cz-route-card-arrow {
  color: #8892a3;
  font-size: 16px;
  font-weight: 400;
}

.cz-route-card-airline {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.cz-airline-logo {
  height: 16px;
  width: auto;
}

.cz-airline-name {
  font-size: 14px;
  color: #333333;
  font-weight: 600;
}

.cz-route-card-tags {
  margin-bottom: 24px;
}

.cz-route-tag {
  background-color: #e8f0fe;
  color: #1a73e8;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 12px;
}

.cz-route-card-btn {
  background-color: #2563eb;
  color: #ffffff;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 700;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background-color 0.2s;
  position: relative;
}

.cz-route-card-btn i {
  position: absolute;
  right: 16px;
  font-size: 12px;
}

.cz-route-card:hover .cz-route-card-btn {
  background-color: #1d4ed8;
}

/* ================== Section Headers ================== */
.cz-section-header {
  text-align: center;
  margin-bottom: 32px;
}

.cz-section-title {
  font-size: 24px;
  font-weight: 700;
  color: #001f5c;
  margin-bottom: 8px;
}

.cz-section-desc {
  font-size: 14px;
  color: #697386;
}

/* ================== Rules Section ================== */
.cz-rules-section {
  margin-bottom: 0px;
}

.cz-rules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.cz-rule-card {
  background: #ffffff;
  border: 1px solid #f0f0f0;
  border-radius: 12px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.cz-rule-icon {
  color: #2563eb;
  font-size: 28px;
  width: 48px;
  display: flex;
  justify-content: center;
}

.cz-rule-text {
  display: flex;
  flex-direction: column;
}

.cz-rule-label {
  font-size: 13px;
  color: #697386;
  font-weight: 600;
  margin-bottom: 6px;
}

.cz-rule-value {
  font-size: 15px;
  font-weight: 700;
  color: #333333;
  line-height: 1.5;
}

/* ================== Responsive ================== */
@media (max-width: 992px) {
  .cz-rules-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  /* Hero Top Logo & Badge - Keep it as a tiny horizontal pill */
  .cz-hero-top {
    flex-direction: row;
    padding: 6px 12px 6px 8px;
    border-radius: 40px;
    margin-bottom: 20px;
    gap: 8px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
  }
  
  .cz-hero-icon {
    width: 24px;
    height: 24px;
    margin-right: 0;
  }
  
  .cz-hero-logo {
    border-right: 1px solid #e0e0e0;
    padding-right: 8px;
    align-items: flex-start;
    text-align: left;
  }

  .cz-hero-logo-main {
    font-size: 12px;
  }

  .cz-hero-logo-sub {
    font-size: 8px;
  }
  
  .cz-hero-campaign {
    margin-left: 0;
    padding: 2px 8px;
    font-size: 9px;
  }

  /* Main Hero Content */
  .cz-hero-title {
    font-size: 32px;
    line-height: 1.2;
    margin-bottom: 16px;
  }
  
  .cz-hero-ribbon {
    font-size: 16px;
    padding: 8px 30px;
    margin-bottom: 16px;
    clip-path: polygon(0 0, 100% 0, calc(100% - 12px) 50%, 100% 100%, 0 100%, 12px 50%);
  }
  
  .cz-hero-desc {
    font-size: 15px;
    margin-bottom: 30px;
    padding: 0 10px;
  }

  /* Features list */
  .cz-hero-features {
    flex-direction: column;
    border-radius: 24px;
    padding: 24px;
    gap: 24px;
  }
  
  .cz-feature-item {
    width: 100%;
    justify-content: flex-start;
  }
  
  .cz-feature-item:not(:last-child)::after {
    /* Change horizontal line to a horizontal divider instead of vertical */
    height: 1px;
    width: 100%;
    top: auto;
    bottom: -12px;
    right: 0;
    left: 0;
    transform: none;
  }

  /* Route Cards */
  .cz-route-category {
    font-size: 18px;
    margin-top: 32px;
  }

  /* Rules Grid */
  .cz-rules-grid {
    grid-template-columns: 1fr;
  }
}
