/* Compact advice menu: content-sized cards and reduced list gutters. */
.elementor-location-header .elementor-element.elementor-element-ea68732 { padding: 30px 50px 20px !important; }
.elementor-location-header .elementor-element.elementor-element-6217c33 { align-items: flex-start !important; }
:is(.elementor-location-header .elementor-element.elementor-element-dd1a56a, .elementor-location-header .elementor-element.elementor-element-690387a) {
 min-height: 0 !important;
 height: auto !important;
 align-self: flex-start !important;
 justify-content: flex-start !important;
 padding: 176px 16px 18px !important;
 gap: 12px !important;
}
:is(.elementor-location-header .elementor-element.elementor-element-dd1a56a, .elementor-location-header .elementor-element.elementor-element-690387a)::after { height: 160px !important; }
:is(.elementor-location-header .elementor-element.elementor-element-dd1a56a, .elementor-location-header .elementor-element.elementor-element-690387a) .elementor-heading-title { font-size: 18px !important; line-height: 1.2 !important; }
:is(.elementor-location-header .elementor-element.elementor-element-dd1a56a, .elementor-location-header .elementor-element.elementor-element-690387a) .elementor-widget-text-editor { font-size: 16px !important; line-height: 1.3 !important; }
:is(.elementor-location-header .elementor-element.elementor-element-dd1a56a, .elementor-location-header .elementor-element.elementor-element-690387a) .elementor-button {
 font-size: 12px !important;
 min-height: 40px !important;
 padding: 11px 16px !important;
 gap: 12px !important;
 box-sizing: border-box;
}
:is(.elementor-location-header .elementor-element.elementor-element-dd1a56a, .elementor-location-header .elementor-element.elementor-element-690387a) .aveo-ghost-button__text { font-size: 12px !important; }
:is(.elementor-location-header .elementor-element.elementor-element-dd1a56a, .elementor-location-header .elementor-element.elementor-element-690387a) .aveo-ghost-button__icon { font-size: 14px !important; }
@media (max-width: 1024px) {
 .elementor-location-header .elementor-element.elementor-element-ea68732 { padding: 24px 20px 20px !important; }
}

/* Membership and media: existing photography above compact card content. */
.elementor-location-header :is(.elementor-element-7d771ba, .elementor-element-e6cd074, .elementor-element-9012d88) { padding: 30px 50px 20px !important; }
.elementor-location-header .elementor-element-58aac94 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; align-items: start !important; gap: 20px !important; }
.elementor-location-header .elementor-element-72653cd { align-items: start !important; }
.elementor-location-header :is(.elementor-element-4e2011e, .elementor-element-ed6053e, .elementor-element-f43f906) {
 background: #f4f4f4 !important;
 border: 1px solid #d8d2cf !important;
 border-radius: 12px !important;
 overflow: hidden;
 position: relative;
 min-height: 0 !important;
 height: auto !important;
 align-self: start !important;
 justify-content: flex-start !important;
 padding: 126px 18px 18px !important;
 gap: 12px !important;
 text-decoration: none;
}
.elementor-location-header :is(.elementor-element-4e2011e, .elementor-element-ed6053e, .elementor-element-f43f906)::before { display: none !important; }
.elementor-location-header :is(.elementor-element-4e2011e, .elementor-element-ed6053e, .elementor-element-f43f906)::after {
 content: "";
 position: absolute;
 inset: 0 0 auto;
 height: 110px;
 background-position: center;
 background-size: cover;
 background-repeat: no-repeat;
 pointer-events: none;
}
.elementor-location-header .elementor-element-4e2011e::after { background-image: url("https://mmf.dk/wp-content/uploads/Intersection-54-768x422.webp"); }
.elementor-location-header .elementor-element-ed6053e::after { background-image: url("https://mmf.dk/wp-content/uploads/Intersection-239-768x289.webp"); }
.elementor-location-header .elementor-element-f43f906::after { background-image: url("https://mmf.dk/wp-content/uploads/slider4-768x312.webp"); }
.elementor-location-header :is(.elementor-element-4e2011e, .elementor-element-ed6053e, .elementor-element-f43f906) .elementor-heading-title { color: #150e12 !important; font-size: 18px !important; line-height: 1.2 !important; font-weight: 700; }
.elementor-location-header :is(.elementor-element-4e2011e, .elementor-element-ed6053e, .elementor-element-f43f906) .elementor-widget-text-editor { color: #150e12 !important; font-size: 16px !important; line-height: 1.3 !important; }
.elementor-location-header :is(.elementor-element-4e2011e, .elementor-element-ed6053e, .elementor-element-f43f906) .elementor-widget-text-editor p { margin: 0 !important; }
.elementor-location-header :is(.elementor-element-4e2011e, .elementor-element-ed6053e, .elementor-element-f43f906) .aveo-ghost-button-wrapper { width: 100%; }
.elementor-location-header :is(.elementor-element-4e2011e, .elementor-element-ed6053e, .elementor-element-f43f906) .elementor-button {
 display: flex !important;
 flex-direction: row !important;
 justify-content: center !important;
 align-items: center !important;
 width: 100%;
 min-height: 40px;
 padding: 11px 16px !important;
 gap: 12px !important;
 border: 1px solid #d20b52 !important;
 border-radius: 7px !important;
 background: #d20b52 !important;
 color: #fff !important;
 font-size: 12px !important;
 line-height: 1.2 !important;
 font-weight: 700;
 box-sizing: border-box;
}
.elementor-location-header :is(.elementor-element-4e2011e, .elementor-element-ed6053e, .elementor-element-f43f906) .elementor-button-text { color: #fff !important; font-size: 12px !important; white-space: nowrap; transform: none !important; margin: 0 !important; }
.elementor-location-header :is(.elementor-element-4e2011e, .elementor-element-ed6053e, .elementor-element-f43f906) .aveo-ghost-button__icon { position: static !important; transform: none !important; order: 2; margin: 0 !important; flex: 0 0 auto; color: #fff !important; font-size: 14px; }
.elementor-location-header :is(.elementor-element-4e2011e, .elementor-element-ed6053e, .elementor-element-f43f906):hover .elementor-button { background: #ad0843 !important; border-color: #ad0843 !important; }
.elementor-location-header .elementor-element-4e2011e .elementor-widget-aveo_ghost-button { width: min(100%, 300px); }
@media (max-width: 1024px) {
 .elementor-location-header :is(.elementor-element-7d771ba, .elementor-element-e6cd074, .elementor-element-9012d88) { padding: 24px 20px 20px !important; }
}

.elementor-location-header .elementor-element-4e2011e::after { background-position: center 10%; }
.elementor-location-header .elementor-element-ed6053e::after { background-position: center bottom; }
.elementor-location-header .elementor-element-f43f906::after { background-position: center 30%; }
.elementor-location-header :is(.elementor-element-4e2011e, .elementor-element-ed6053e, .elementor-element-f43f906) .elementor-widget-aveo_ghost-button { width: min(100%, 300px) !important; max-width: 100%; }
.elementor-location-header :is(.elementor-element-4e2011e, .elementor-element-ed6053e, .elementor-element-f43f906) .aveo-ghost-button-wrapper { display: flex; width: 100%; }

/* Membership video: equal photo and text halves. */
.elementor-location-header .elementor-element.elementor-element-4e2011e {
 padding: 24px 22px 18px calc(50% + 22px) !important;
 min-height: 228px !important;
 justify-content: flex-start !important;
 gap: 20px !important;
}
.elementor-location-header .elementor-element.elementor-element-4e2011e::after {
 inset: 0 auto 0 0 !important;
 width: 50%;
 height: 100% !important;
 background-position: center !important;
}
.elementor-location-header .elementor-element.elementor-element-4e2011e .elementor-heading-title {
 font-size: 18px !important;
 line-height: 1.2 !important;
}
.elementor-location-header .elementor-element.elementor-element-4e2011e .elementor-element-636a07a {
 gap: 8px !important;
}
.elementor-location-header .elementor-element.elementor-element-4e2011e .elementor-widget-aveo_ghost-button {
 margin-top: auto !important;
}
@media (max-width: 767px) {
 .elementor-location-header .elementor-element.elementor-element-4e2011e {
  padding: 146px 18px 18px !important;
  min-height: 0 !important;
 }
 .elementor-location-header .elementor-element.elementor-element-4e2011e::after {
  width: 100%; height: 130px !important; inset: 0 0 auto !important;
 }
}

/* Match the existing news-card background on all five menu cards. */
body .elementor-location-header .elementor-element:is(.elementor-element-dd1a56a, .elementor-element-690387a, .elementor-element-4e2011e, .elementor-element-ed6053e, .elementor-element-f43f906) { background-color: #f4f4f4 !important; }

/* Contact panel in the Om MF menu. */
body .elementor-location-header .elementor-element.elementor-element-38bbed5 {
 background: #f4f4f4;
 border: 1px solid #dedede;
 border-radius: 12px;
 padding: 18px !important;
 margin-top: -18px;
 gap: 14px !important;
 align-self: start;
 min-width: 0;
}
body .elementor-location-header .elementor-element.elementor-element-38bbed5 .elementor-element-80b3740 .elementor-widget-container::after {
 content: "Vi er klar til at hjælpe.";
 display: block;
 margin-top: 10px;
 color: #150e12;
 font-size: 16px;
 font-weight: 400;
 line-height: 1.3;
 text-transform: none;
}
body .elementor-location-header .elementor-element.elementor-element-38bbed5 .elementor-element-0c8eb27 { padding: 0; gap: 0; }
body .elementor-location-header .elementor-element.elementor-element-38bbed5 .elementor-icon-list-items { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; }
body .elementor-location-header .elementor-element.elementor-element-38bbed5 .elementor-icon-list-item { margin: 0 !important; padding: 0 !important; width: 100%; }
body .elementor-location-header .elementor-element.elementor-element-38bbed5 .elementor-icon-list-item::after { display: none !important; }
body .elementor-location-header .elementor-element.elementor-element-38bbed5 .elementor-icon-list-item a {
 position: relative;
 display: flex;
 align-items: center;
 gap: 10px;
 padding: 10px 28px 10px 10px;
 width: 100%;
 min-height: 58px;
 border: 1px solid #e2e2e2;
 border-radius: 8px;
 background: #fff;
 color: #150e12;
 text-decoration: none !important;
 box-sizing: border-box;
 transition: border-color .18s ease, background-color .18s ease;
}
body .elementor-location-header .elementor-element.elementor-element-38bbed5 .elementor-icon-list-item a::after {
 content: "\2192";
 position: absolute;
 right: 10px;
 top: 50%;
 transform: translateY(-50%);
 font-size: 20px;
 color: #150e12;
}
body .elementor-location-header .elementor-element.elementor-element-38bbed5 .elementor-icon-list-item a:hover,
body .elementor-location-header .elementor-element.elementor-element-38bbed5 .elementor-icon-list-item a:focus-visible { border-color: #d20b52; background: #fff9fb; }
body .elementor-location-header .elementor-element.elementor-element-38bbed5 .elementor-icon-list-icon {
 display: flex;
 align-items: center;
 justify-content: center;
 flex: 0 0 34px;
 width: 34px;
 height: 34px;
 padding: 0;
 background: #fce7ef;
 border-radius: 50%;
}
body .elementor-location-header .elementor-element.elementor-element-38bbed5 .elementor-icon-list-icon i { color: #d20b52 !important; font-size: 16px !important; width: auto; }
body .elementor-location-header .elementor-element.elementor-element-38bbed5 .elementor-icon-list-text {
 display: block;
 padding: 0 !important;
 color: #150e12 !important;
 font-size: 15px !important;
 font-weight: 700;
 line-height: 1.25;
 white-space: nowrap;
}
body .elementor-location-header .elementor-element.elementor-element-38bbed5 .elementor-icon-list-text::before {
 display: block;
 margin-bottom: 2px;
 font-size: 12px;
 font-weight: 400;
 color: #555;
}
body .elementor-location-header .elementor-element.elementor-element-38bbed5 a[href^="tel:"] .elementor-icon-list-text::before { content: "Ring til os"; }
body .elementor-location-header .elementor-element.elementor-element-38bbed5 a[href^="mailto:"] .elementor-icon-list-text::before { content: "Skriv til os"; }
body .elementor-location-header .elementor-element.elementor-element-38bbed5 .elementor-element-1ef059c .elementor-widget-container { display: flex; align-items: center; gap: 12px; }
body .elementor-location-header .elementor-element.elementor-element-38bbed5 .elementor-element-1ef059c .elementor-widget-container::before {
 content: "Følg os";
 font-size: 14px;
 color: #150e12;
 white-space: nowrap;
}
body .elementor-location-header .elementor-element.elementor-element-38bbed5 .elementor-social-icons-wrapper { display: flex; gap: 8px; }
body .elementor-location-header .elementor-element.elementor-element-38bbed5 .elementor-social-icon {
 display: flex;
 align-items: center;
 justify-content: center;
 width: 30px;
 height: 30px;
 padding: 0;
 border: 1px solid #dedede;
 border-radius: 50%;
 background: #fff !important;
 color: #150e12;
 font-size: 15px;
}
body .elementor-location-header .elementor-element.elementor-element-38bbed5 .elementor-social-icon i { color: #150e12 !important; }
body .elementor-location-header .elementor-element.elementor-element-38bbed5 .elementor-social-icon:hover,
body .elementor-location-header .elementor-element.elementor-element-38bbed5 .elementor-social-icon:focus-visible { border-color: #d20b52; }
body .elementor-location-header .elementor-element.elementor-element-38bbed5 .elementor-social-icon:hover i { color: #d20b52 !important; }
@media (max-width: 1024px) { body .elementor-location-header .elementor-element.elementor-element-38bbed5 { margin-top: 0; } }

/* Third media card links to the latest published podcast episode. */
body .elementor-location-header .elementor-element.elementor-element-58aac94 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; align-items: stretch !important; }
body .elementor-location-header .elementor-element-58aac94 > :is(.elementor-element-ed6053e, .elementor-element-f43f906) { align-self: stretch !important; }
body .elementor-location-header .elementor-element-58aac94 .elementor-heading-title { min-height: 43.2px; }
body .elementor-location-header .elementor-element-58aac94 .elementor-widget-text-editor {
 font-size: 15px !important;
}
body .elementor-location-header .elementor-element-58aac94 .elementor-widget-aveo_ghost-button { margin-top: auto !important; }
body .elementor-location-header .mmf-menu-podcast-1007825 {
 position: relative;
 display: flex;
 flex-direction: column;
 align-items: stretch;
 gap: 12px;
 padding: 126px 18px 18px;
 min-width: 0;
 border: 1px solid #d8d2cf;
 border-radius: 12px;
 overflow: hidden;
 background: #f4f4f4;
 color: #150e12;
 text-decoration: none;
}
.mmf-menu-podcast-photo-1007825 {
 position: absolute;
 inset: 0 0 auto;
 height: 110px;
 display: flex;
 align-items: center;
 justify-content: center;
 background: #fce7ef;
}
.mmf-menu-podcast-photo-1007825 img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.mmf-menu-podcast-photo-1007825 > i { font-size: 46px; color: #d20b52; }
body .elementor-location-header .mmf-menu-podcast-1007825 .elementor-heading-title { margin: 0; color: #150e12; font-size: 18px; line-height: 1.2; font-weight: 700; text-transform: uppercase; }
body .elementor-location-header .mmf-menu-podcast-title-1007825 { margin: 0; color: #150e12; font-size: 15px; line-height: 1.3; }
.mmf-menu-podcast-cta-1007825 {
 display: flex; align-items: center; justify-content: center; gap: 12px;
 margin-top: auto; min-height: 40px; padding: 11px 12px;
 border: 1px solid #d20b52; border-radius: 7px; background: #d20b52;
 color: #fff; font-size: 12px; font-weight: 700; line-height: 1.2; white-space: nowrap;
}
.mmf-menu-podcast-cta-1007825 > span { font-size: 18px; line-height: 1; }
.mmf-menu-podcast-1007825:hover .mmf-menu-podcast-cta-1007825 { background: #ad0843; border-color: #ad0843; }
.mmf-menu-podcast-1007825:focus-visible { outline: 2px solid #d20b52; outline-offset: 3px; }
@media (max-width: 1024px) {
 body .elementor-location-header .elementor-element.elementor-element-58aac94 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 767px) {
 body .elementor-location-header .elementor-element.elementor-element-58aac94 { grid-template-columns: minmax(0, 1fr) !important; }
}

/* All three media cards point directly to the latest item. */
body .elementor-location-header .elementor-element-58aac94:has(.mmf-menu-latest-1007825) > :is(.elementor-element-ed6053e, .elementor-element-f43f906) { display: none !important; }
body .elementor-location-header .mmf-menu-latest-1007825 .mmf-menu-podcast-photo-1007825 img { object-position: center; }

/* Match standard site cards using the shared Elementor color tokens. */
body .elementor-location-header :is(.elementor-element.elementor-element-dd1a56a, .elementor-element.elementor-element-690387a, .elementor-element.elementor-element-4e2011e, .elementor-element.elementor-element-ed6053e, .elementor-element.elementor-element-f43f906, .elementor-element.elementor-element-38bbed5, .mmf-menu-latest-1007825) {
 background-color: var(--e-global-color-secondary, #f4f4f4) !important;
 border: 0 solid var(--e-global-color-secondary, #f4f4f4) !important;
 border-bottom-width: 4px !important;
 transition: border-color .3s ease !important;
}
body .elementor-location-header :is(.elementor-element.elementor-element-dd1a56a, .elementor-element.elementor-element-690387a, .elementor-element.elementor-element-4e2011e, .elementor-element.elementor-element-ed6053e, .elementor-element.elementor-element-f43f906, .elementor-element.elementor-element-38bbed5, .mmf-menu-latest-1007825)::before { display: none !important; }
body .elementor-location-header :is(.elementor-element.elementor-element-dd1a56a, .elementor-element.elementor-element-690387a, .elementor-element.elementor-element-4e2011e, .elementor-element.elementor-element-ed6053e, .elementor-element.elementor-element-f43f906, .elementor-element.elementor-element-38bbed5, .mmf-menu-latest-1007825):is(:hover, :focus-within) { border-bottom-color: var(--e-global-color-15f4a207, #d60956) !important; }
body .elementor-location-header :is(.elementor-element.elementor-element-dd1a56a, .elementor-element.elementor-element-690387a, .elementor-element.elementor-element-4e2011e, .elementor-element.elementor-element-ed6053e, .elementor-element.elementor-element-f43f906, .elementor-element.elementor-element-38bbed5, .mmf-menu-latest-1007825) :is(.elementor-button, .mmf-menu-podcast-cta-1007825) {
 background: var(--e-global-color-138b43c, #1c3953) !important;
 border-color: var(--e-global-color-138b43c, #1c3953) !important;
 color: #fff !important;
 transition: background-color .2s ease, border-color .2s ease !important;
}
body .elementor-location-header :is(.elementor-element.elementor-element-dd1a56a, .elementor-element.elementor-element-690387a, .elementor-element.elementor-element-4e2011e, .elementor-element.elementor-element-ed6053e, .elementor-element.elementor-element-f43f906, .elementor-element.elementor-element-38bbed5, .mmf-menu-latest-1007825):is(:hover, :focus-within) :is(.elementor-button, .mmf-menu-podcast-cta-1007825) {
 background: var(--e-global-color-15f4a207, #d60956) !important;
 border-color: var(--e-global-color-15f4a207, #d60956) !important;
}

/* Card titles match the regular weight of the menu list headings. */
body .elementor-location-header :is(.elementor-element-dd1a56a, .elementor-element-690387a, .elementor-element-4e2011e, .elementor-element-ed6053e, .elementor-element-f43f906, .mmf-menu-latest-1007825) .elementor-heading-title {
 font-weight: 400 !important;
}

/* Media titles use the same heading typeface as the native menu headings. */
body .elementor-location-header .mmf-menu-latest-1007825 .elementor-heading-title {
 font-family: var(--e-global-typography-primary-font-family, "erbaum"), sans-serif !important;
 font-weight: 400 !important;
}
