.elementor-541 .elementor-element.elementor-element-2177779{--display:flex;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}/* Start custom CSS for container, class: .elementor-element-2177779 *//* ============== BLÅ TOPCONTAINER ============== */
.baadmaeglere-hero {
  width: 100%;
  background: #0b5394;
  color: #fff;
  padding: 2rem 0;
  text-align: center;
}

.baadmaeglere-hero h1 {
  margin: 0;
  font-size: 2rem;
  color: #fff;
}

/* ============== SØGEFELT + DROPDOWN ============== */
#baadmaeglere-search-wrapper {
  display: inline-block;
  position: relative;
  margin-top: 1rem;
}

#baadmaeglere-search-input {
  width: 300px;
  padding: 0.5rem;
  font-size: 14px;
}

#suggestions-container {
  position: absolute;
  top: calc(100% + 2px);
  left: 0;
  width: 100%;
  background: #fff;
  border: 1px solid #ccc;
  border-top: none;
  max-height: 200px;
  overflow-y: auto;
  display: none;
  z-index: 100;
}
.suggestion-item {
  padding: 6px 12px;
  cursor: pointer;
  color: #666;
  text-align: left;
}
.suggestion-item:hover {
  background: #f0f0f0;
}

/* ============== LISTE OG KORT ============== */
.baadmaeglere-list {
  display: flex;
  flex-direction: column;
  gap: 24px; /* Afstand mellem kortene */
  max-width: 800px;
  margin: 0 auto;
  padding: 24px;
  box-sizing: border-box;
}

/* Selve kortet - bruger Grid layout */
.baadmaeglere-card {
  display: grid;
  grid-template-columns: 80px auto; /* Logo kolonne (fast) + Indhold kolonne (auto) */
  gap: 24px; /* Afstand mellem logo og indhold */
  border: 1px solid #ddd;
  border-radius: 12px;
  background: #fff;
  padding: 24px;
}

/* Venstre kolonne (billedet/logo) */
.baadmaeglere-card-left {
  display: flex;
  justify-content: center; /* Centrerer logo-containeren i kolonnen */
  align-items: flex-start; /* Justerer til toppen */
}

.logo-container {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f0f0f0; /* Baggrundsfarve hvis billede mangler/loader */
}

.baadmaeglere-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Højre kolonne (tekst, links) */
.baadmaeglere-card-right {
  display: flex;
  flex-direction: column;
}

/* Titel */
.baadmaeglere-card .baadmaeglere-title {
  font-size: 24px;
  font-weight: 600;
  margin: 0;
  margin-bottom: 8px; /* Afstand til Placering */
  line-height: 1.3;
}

/* Placering */
.baadmaeglere-placering {
  font-size: 16px;
  color: #555;
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  margin-bottom: 0px; /* Sikrer ingen bundmargin */
  line-height: 1.3; /* Bevar reduceret line-height */
}

/* Land */
.baadmaeglere-land {
  font-size: 16px;
  color: #555;
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  margin-top: -18px; /* <<< ÆNDRET: Negativ margin for at trække den op */
  line-height: 1.3; /* Bevar reduceret line-height */
}

/* Placering, Land ikoner */
.baadmaeglere-placering img.icon-location,
.baadmaeglere-land img.icon-location {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  /* vertical-align: middle; */ /* Kan evt. hjælpe med justering */
}

/* Container for knapper */
.baadmaeglere-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px; /* Afstand fra Land (eller Placering) til knapperne */
}

/* Fælles for knapper */
.call-button,
.website-button {
  color: #fff;
 text-decoration: none !important;
  padding: 8px 16px;
  border-radius: 24px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  transition: background-color 0.2s ease;
}

/* Specifik stil for Ring op knap */
.call-button {
  background-color: #046BD2;
  
}
.call-button:hover {
  background-color: #045CB4;
  color: #fff;
  text-decoration: none !important;
}
.call-button img.icon-phone {
  width: 16px;
  height: 16px;
}

/* Specifik stil for Besøg hjemmeside knap */
.website-button {
  background-color: #28a745;
  color: #fff;
  text-decoration: none !important;
}
.website-button:hover {
  background-color: #218838;
  color: #fff;
  text-decoration: none !important;
}
.website-button img.icon-link {
  width: 16px;
  height: 16px;
}/* End custom CSS */