
/* Header CTA button - Ajouter */
/*in fact not a real button, but a link styled as button therefor the a.*/
.ct-header-cta a.ct-button {
    background-color: var(--theme-palette-color-2) !important;
    border-color: var(--theme-palette-color-2) !important;
    color: #fff !important;
}

.ct-header-cta a.ct-button:hover {
    background-color: var(--theme-palette-color-1) !important;
    border-color: var(--theme-palette-color-1) !important;
}

/* ==========================================
   HERO SECTION — fitness.lu
   Config C — unique to this site only
   ========================================== */

.fl-hero {
  position: relative;
  min-height: clamp(600px, 90vh, 900px);
  background: var(--theme-palette-color-1);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.fl-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    color-mix(in srgb, var(--theme-palette-color-1) 96%, transparent) 0%,
    color-mix(in srgb, var(--theme-palette-color-1) 55%, transparent) 60%,
    color-mix(in srgb, var(--theme-palette-color-1) 75%, transparent) 100%);
  z-index: 1;
}

.fl-hero-inner {
  position: relative;
  z-index: 2;
  padding-inline: clamp(1.5rem, 5vw, 6rem);
}

.fl-hero-tag {
  font-family: "Space Mono", "JetBrains Mono", monospace;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  color: var(--theme-palette-color-4);
  margin-bottom: 1.5rem;
}

.fl-hero-title {
  font-weight: 800;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.05;
  color: var(--theme-palette-color-3);
  margin-bottom: 1.5rem;
}

.fl-hero-title .fl-accent {
  color: var(--theme-palette-color-2);
}

.fl-hero-sub {
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  color: var(--theme-palette-color-4);
  max-width: 32rem;
  margin-bottom: 2rem;
}

.fl-hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.fl-pill {
  font-family: "Space Mono", "JetBrains Mono", monospace;
  font-size: 0.75rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--theme-palette-color-4);
  border: 1px solid var(--theme-palette-color-7);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.fl-pill:hover {
  border-color: var(--theme-palette-color-2);
  color: var(--theme-palette-color-2);
}




/* GD Search dark override — hero-only.
   Config B already hides labels + themes the submit button. */
.fl-hero .geodir-search-container {
  background: transparent;
  box-shadow: none;
}

.fl-hero .geodir-search-container input[type="text"],
.fl-hero .geodir-search-container input[type="search"] {
  background-color: var(--theme-palette-color-8);
  border: 1px solid var(--theme-palette-color-7);
  color: var(--theme-palette-color-3);
}

.fl-hero .geodir-search-container input::placeholder {
  color: var(--theme-palette-color-4);
  font-style: normal; /* Config B sets italic globally; hero uses normal */
}

.fl-hero button.geodir_submit_search {
  border-radius: 0.5rem !important;
}


/* Icon/text overlap fix — hero search fields.
   AyeCode UI positions the icon (.input-group-text) as position:absolute
   on top of the input; input needs left padding to clear it.
   .gd_search_text = "Search for" field, .snear = "Near"/Area field. */
.fl-hero .geodir-search-container input.gd_search_text,
.fl-hero .geodir-search-container input.snear {
  padding-left: 2.5rem !important;
}













/* ==========================================
   FIX: Blocksy's #main-container overflow:hidden
   clips page height on tall homepage layouts.
   Restores normal scroll, keeps Blocksy's
   min-height flex/sticky-footer behavior intact.
   ========================================== */
#main-container {
  overflow: visible !important;
}


/* ==========================================
   HERO FIXES — layout width + search row wrap
   ========================================== */

/* Widen the hero content box so the search row fits on one line.
   Headline/subtext still look fine wider since h1 breaks via <br>
   and .fl-hero-sub already has its own tighter max-width. */
.fl-hero-inner {
  max-width: 880px;
}

/* Force the GD search form into a single-row flex layout */
.fl-hero .geodir-listing-search {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
}

/* CPT dropdown ("Studios") - fixed width, doesn't stretch */
.fl-hero .geodir-listing-search select {
  flex: 0 0 140px;
  background-color: var(--theme-palette-color-8);
  border: 1px solid var(--theme-palette-color-7);
  color: var(--theme-palette-color-3);
  border-radius: 0.5rem;
}

/* Text inputs - share remaining space evenly */
.fl-hero .geodir-listing-search input[type="text"],
.fl-hero .geodir-listing-search input[type="search"] {
  flex: 1 1 auto;
  min-width: 140px;
}

/* Search + gear buttons - fixed size, never shrink */
.fl-hero .geodir-listing-search button {
  flex: 0 0 auto;
}

/* Kill AyeCode UI's default button gradient */
.fl-hero .geodir-listing-search button {
  background-image: none !important;
}