/* hf-pages.css — shared styling for Ticket Finderz content pages (Hello Flights design) */

.hf-page {
  background: #f0f2f5;
  padding-bottom: 2.5rem;
}

.hf-content-card {
  background: #fff;
  border: 1px solid var(--hf-border);
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(2, 6, 23, 0.06);
  padding: clamp(1.25rem, 3vw, 2.25rem);
  margin-top: -2.5rem;
  position: relative;
}

/* Long-form article / legal typography */
.hf-article { color: var(--hf-text); line-height: 1.7; }
.hf-article > h2 {
  font-size: clamp(1.3rem, 3.5vw, 1.75rem);
  font-weight: 800;
  color: var(--hf-navy);
  margin: 0 0 0.75rem;
}
.hf-article h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--hf-navy);
  margin: 1.75rem 0 0.5rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid #eef2f7;
}
.hf-article h4 { font-size: 1rem; font-weight: 700; color: var(--hf-navy); margin: 1.25rem 0 0.5rem; }
.hf-article p { margin: 0 0 1rem; }
.hf-article a { color: var(--hf-sky-deep); }
.hf-article strong { color: var(--hf-navy); }
.hf-article ul { margin: 0 0 1rem; padding-left: 1.25rem; }
.hf-article li { margin-bottom: 0.4rem; }

.hf-quote-banner {
  background: linear-gradient(135deg, var(--hf-navy) 0%, var(--hf-navy-dark) 100%);
  color: #fff;
  border-radius: 14px;
  padding: 1.5rem;
  text-align: center;
  font-weight: 700;
  margin: 1.5rem 0;
  line-height: 1.5;
}

/* Feature grid (Why choose us) */
.hf-feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }
.hf-feature {
  background: #fff;
  border: 1px solid var(--hf-border);
  border-radius: 14px;
  padding: 1.5rem 1.25rem;
  text-align: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.hf-feature:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(2, 6, 23, 0.08); }
.hf-feature-icon {
  width: 56px; height: 56px; margin: 0 auto 0.9rem;
  display: flex; align-items: center; justify-content: center;
  border-radius: 14px;
  background: rgba(247, 180, 24, 0.14);
  color: var(--hf-yellow-dark);
  font-size: 1.6rem;
}
.hf-feature h5 { font-size: 1.02rem; font-weight: 800; color: var(--hf-navy); margin: 0 0 0.4rem; }
.hf-feature p { font-size: 0.9rem; color: var(--hf-muted); margin: 0; line-height: 1.55; }

/* Section heading helper */
.hf-section-title { text-align: center; margin: 0 auto 1.75rem; max-width: 680px; }
.hf-section-title h2 { font-size: clamp(1.3rem, 3.5vw, 1.9rem); font-weight: 800; color: var(--hf-navy); margin: 0 0 0.5rem; }
.hf-section-title p { color: var(--hf-muted); margin: 0; }

/* Contact info cards */
.hf-contact-card {
  background: #fff;
  border: 1px solid var(--hf-border);
  border-radius: 14px;
  padding: 1.4rem;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.hf-contact-card-icon {
  flex: 0 0 auto;
  width: 54px; height: 54px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--hf-navy) 0%, var(--hf-navy-dark) 100%);
  color: var(--hf-yellow);
  font-size: 1.4rem;
}
.hf-contact-card-label { font-size: 0.82rem; color: var(--hf-muted); margin: 0 0 0.15rem; }
.hf-contact-card-value { font-weight: 700; color: var(--hf-navy); margin: 0; word-break: break-word; }
.hf-contact-card-value a { color: var(--hf-navy); text-decoration: none; }
.hf-contact-card-value a:hover { color: var(--hf-sky-deep); }

/* Generic HF form (contact etc.) */
.hf-form .form-label,
.hf-form label { font-weight: 600; color: var(--hf-navy); font-size: 0.88rem; margin-bottom: 0.3rem; display: inline-block; }
.hf-form .form-control { border-radius: 10px; padding: 0.65rem 0.85rem; }
.hf-form-submit {
  border: none; border-radius: 10px; padding: 0.85rem 2rem;
  font-weight: 800; font-size: 1rem; color: var(--hf-navy);
  background: linear-gradient(180deg, var(--hf-yellow) 0%, var(--hf-yellow-dark) 100%);
  transition: filter 0.15s ease;
}
.hf-form-submit:hover { filter: brightness(1.05); }

/* Destination link grid (continent pages) */
.hf-dest-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0.85rem; }
.hf-dest-link {
  display: flex; align-items: center; justify-content: space-between; gap: 0.5rem;
  background: #fff;
  border: 1px solid var(--hf-border);
  border-radius: 12px;
  padding: 0.9rem 1.1rem;
  color: var(--hf-navy);
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.hf-dest-link:hover { border-color: var(--hf-yellow); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(2, 6, 23, 0.08); color: var(--hf-navy); }
.hf-dest-link .bi { color: var(--hf-yellow-dark); }

/* Map embed */
.hf-map-embed { border: 0; width: 100%; height: 380px; border-radius: 14px; display: block; }

/* Destination city cards (continent pages) */
.hf-dest-card {
  display: block;
  background: #fff;
  border: 1px solid var(--hf-border);
  border-radius: 16px;
  overflow: hidden;
  height: 100%;
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.hf-dest-card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(2, 6, 23, 0.12); color: inherit; }
.hf-dest-card-img {
  position: relative;
  min-height: 190px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
}
.hf-dest-card-img::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15, 25, 45, 0) 35%, rgba(15, 25, 45, 0.78) 100%);
}
.hf-dest-card-city {
  position: absolute; top: 0.85rem; left: 0.85rem; z-index: 1;
  background: #fff; color: var(--hf-navy);
  border-radius: 999px; padding: 0.25rem 0.85rem;
  font-weight: 700; font-size: 0.85rem;
}
.hf-dest-card-fare {
  position: relative; z-index: 1;
  margin: 0.85rem; color: #fff; font-weight: 800; font-size: 1.15rem;
}
.hf-dest-card-fare small { font-weight: 500; opacity: 0.85; font-size: 0.75rem; margin-right: 0.25rem; }
.hf-dest-card-body { padding: 1rem 1.1rem 1.2rem; }
.hf-dest-card-meta { font-size: 0.85rem; color: var(--hf-muted); display: flex; align-items: center; gap: 0.35rem; margin-bottom: 0.25rem; }
.hf-dest-card-meta .bi { color: var(--hf-yellow-dark); }
.hf-dest-card-airport { font-weight: 700; color: var(--hf-navy); font-size: 0.95rem; margin-bottom: 0.75rem; }
.hf-dest-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; border-top: 1px solid #eef2f7; padding-top: 0.75rem; }
.hf-dest-card-foot .hf-dest-dur { font-size: 0.82rem; color: var(--hf-muted); display: inline-flex; align-items: center; gap: 0.3rem; }
.hf-dest-card-btn { font-weight: 700; color: var(--hf-sky-deep); font-size: 0.88rem; display: inline-flex; align-items: center; gap: 0.3rem; }

/* Soft badges */
.hf-badge-soft {
  display: inline-block;
  background: rgba(28, 45, 76, 0.08);
  color: var(--hf-navy);
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
  font-size: 0.78rem;
  font-weight: 600;
}

/* Flight deal rows (city pages) */
.hf-deal-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  border: 1px solid var(--hf-border);
  border-radius: 14px;
  padding: 1rem 1.25rem;
  margin-bottom: 0.9rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.hf-deal-row:hover { border-color: var(--hf-yellow); box-shadow: 0 10px 24px rgba(2, 6, 23, 0.06); }
.hf-deal-airline { display: flex; align-items: center; gap: 0.6rem; min-width: 130px; flex: 1 1 130px; }
.hf-deal-airline img { width: 46px; height: 46px; object-fit: contain; }
.hf-deal-airline span { font-size: 0.82rem; color: var(--hf-muted); font-weight: 600; }
.hf-deal-route { display: flex; align-items: center; gap: 0.75rem; flex: 2 1 260px; justify-content: center; }
.hf-deal-point { display: flex; flex-direction: column; min-width: 70px; }
.hf-deal-code { font-weight: 800; color: var(--hf-navy); font-size: 1.1rem; line-height: 1.1; }
.hf-deal-air { font-size: 0.74rem; color: var(--hf-muted); }
.hf-deal-mid { display: flex; flex-direction: column; align-items: center; color: var(--hf-sky-deep); min-width: 90px; }
.hf-deal-mid .bi { font-size: 1.1rem; }
.hf-deal-dur { font-size: 0.74rem; color: var(--hf-muted); }
.hf-deal-price { text-align: center; flex: 1 1 130px; }
.hf-deal-amount { font-weight: 800; font-size: 1.25rem; color: var(--hf-navy); margin-bottom: 0.4rem; }
.hf-deal-btn {
  display: inline-block; text-decoration: none;
  border-radius: 10px; padding: 0.5rem 1.4rem;
  font-weight: 700; color: var(--hf-navy);
  background: linear-gradient(180deg, var(--hf-yellow) 0%, var(--hf-yellow-dark) 100%);
}
.hf-deal-btn:hover { filter: brightness(1.05); color: var(--hf-navy); }

/* Sidebar card */
.hf-sidebar-card { position: sticky; top: 1rem; }
.hf-sidebar-badge {
  display: inline-block; background: var(--hf-navy); color: #fff;
  border-radius: 999px; padding: 0.3rem 0.85rem; font-size: 0.8rem; font-weight: 600;
}

/* Per-city description (legacy markup wrapped in .hf-desc) */
.hf-desc { color: var(--hf-text); line-height: 1.7; }
.hf-desc h3, .hf-desc h5 { color: var(--hf-navy); font-weight: 800; }
.hf-desc h3 { font-size: 1.25rem; margin: 0 0 0.75rem; }
.hf-desc .main-heading-start-style { font-size: 1.4rem !important; margin: 1rem 0 0.5rem; }
.hf-desc .subheading-style { font-size: 1.05rem !important; margin: 1.25rem 0 0.4rem; }
.hf-desc p { margin: 0 0 1rem; }
.hf-desc .main-heading-style { text-decoration: none; }
/* Force-expand legacy "View more" collapse so no content is hidden, and hide the toggle */
.hf-desc .collapse { display: block !important; height: auto !important; visibility: visible !important; }
.hf-desc .link-collapse { display: none !important; }
