/*
 * LokalFokus design pass v1
 * Scope: global polish for Hello Elementor + existing Elementor header/footer.
 */

:root {
  --lf-blue: #136396;
  --lf-blue-dark: #0b4368;
  --lf-blue-light: #e8f3f8;
  --lf-green: #119948;
  --lf-orange: #e68730;
  --lf-red: #f01820;
  --lf-ink: #17212b;
  --lf-muted: #5b6670;
  --lf-border: #d8e2e8;
  --lf-bg: #f7fafc;
  --lf-surface: #ffffff;
}

body {
  background: var(--lf-bg);
  color: var(--lf-ink);
  font-family: Roboto, "Open Sans", Arial, sans-serif;
}

a {
  color: var(--lf-blue);
}

a:hover,
a:focus {
  color: var(--lf-blue-dark);
}

.elementor-location-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: var(--lf-surface);
  border-bottom: 1px solid var(--lf-border);
  box-shadow: 0 8px 24px rgba(11, 67, 104, 0.08);
}

.admin-bar .elementor-location-header {
  top: 32px;
}

.elementor-25 .elementor-element.elementor-element-e9de188 {
  background: var(--lf-surface) !important;
  max-width: 1240px;
  margin: 0 auto;
  padding: 14px clamp(16px, 4vw, 40px) !important;
  display: grid !important;
  grid-template-columns: minmax(220px, 320px) minmax(220px, 280px);
  grid-template-areas:
    "logo search"
    "nav nav";
  gap: 12px 24px;
  align-items: center;
  justify-content: space-between;
}

.elementor-25 .elementor-element.elementor-element-cb6d43d {
  grid-area: logo;
  justify-self: start;
}

.elementor-25 .elementor-element.elementor-element-5049eac {
  grid-area: nav;
  justify-self: center;
}

.elementor-25 .elementor-element.elementor-element-19ab84f {
  grid-area: search;
  justify-self: end;
  width: min(280px, 100%);
}

.elementor-25 .elementor-widget-theme-site-logo img {
  width: auto;
  max-width: min(280px, 100%);
  max-height: 56px;
  object-fit: contain;
}

.elementor-25 .elementor-nav-menu--main .elementor-item {
  border-radius: 999px;
  color: var(--lf-blue-dark) !important;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.2;
  padding: 10px 13px !important;
  transition: background-color 160ms ease, color 160ms ease;
}

.elementor-25 .elementor-nav-menu--main .elementor-nav-menu {
  column-gap: 4px;
  justify-content: center;
  row-gap: 4px;
}

.elementor-25 .elementor-nav-menu--main .elementor-item:hover,
.elementor-25 .elementor-nav-menu--main .elementor-item:focus,
.elementor-25 .elementor-nav-menu--main .elementor-item-active {
  background: var(--lf-blue-light);
  color: var(--lf-blue-dark) !important;
}

.elementor-25 .menu-item-622 > a {
  background: var(--lf-orange);
  color: #fff !important;
}

.elementor-25 .menu-item-622 > a:hover,
.elementor-25 .menu-item-622 > a:focus {
  background: #c96e1f;
  color: #fff !important;
}

.elementor-25 .menu-item-222 > a {
  color: var(--lf-muted) !important;
}

.elementor-25 .elementor-search-form {
  border-radius: 999px;
  overflow: hidden;
  box-shadow: 0 0 0 1px var(--lf-border);
}

.elementor-25 .elementor-search-form__input {
  min-height: 38px;
  color: var(--lf-ink);
  background: #fff;
}

.elementor-25 .elementor-search-form__submit {
  min-width: 42px;
  background: var(--lf-blue-dark) !important;
  color: #fff !important;
}

.site-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 56px) 20px;
}

.page-header .entry-title,
.entry-title,
h1 {
  color: var(--lf-ink);
  font-family: Oswald, Roboto, Arial, sans-serif;
  font-size: clamp(2.35rem, 4vw, 4rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.wp-block-image,
.wp-caption,
.elementor-widget-image figure {
  margin-bottom: 1.4rem;
}

.lf-featured-image {
  margin-top: 0;
}

.wp-block-image img,
.wp-caption img,
.elementor-widget-image img {
  display: block;
  height: auto;
  max-width: 100%;
}

.wp-block-image figcaption,
.wp-caption .wp-caption-text,
.wp-caption-text,
.elementor-widget-image .widget-image-caption {
  display: block;
  max-width: 100%;
  margin: 7px 0 0;
  padding: 0;
  color: var(--lf-muted);
  font-size: 13px;
  font-style: normal;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0;
  text-align: left;
}

.wp-block-image figcaption a,
.wp-caption .wp-caption-text a,
.wp-caption-text a,
.elementor-widget-image .widget-image-caption a {
  color: var(--lf-blue-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.elementor-button,
button,
input[type="submit"] {
  border-radius: 8px !important;
}

.page-id-169 a[href*="/opret-event/"] {
  display: none !important;
}

.home .page-header,
.page-id-22 .page-header {
  display: none;
}

.home .site-main,
.page-id-22 .site-main {
  max-width: none;
  padding: 0;
}

.lf-front {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 56px) 20px 64px;
}

.lf-front__intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  margin-bottom: 28px;
}

.lf-front__intro h1,
.lf-front__hero h2,
.lf-section h2,
.lf-panel h2,
.lf-local-links h2,
.lf-empty h2 {
  margin: 0;
  color: var(--lf-ink);
  font-family: Oswald, Roboto, Arial, sans-serif;
  letter-spacing: 0;
}

.lf-front__intro h1 {
  max-width: 760px;
  font-size: clamp(2.4rem, 4.4vw, 4.8rem);
  line-height: 0.98;
}

.lf-front__intro p:not(.lf-kicker) {
  max-width: 650px;
  margin: 14px 0 0;
  color: var(--lf-muted);
  font-size: 18px;
  line-height: 1.55;
}

.lf-kicker {
  margin: 0 0 10px;
  color: var(--lf-green);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.lf-front__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.lf-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 18px;
  border-radius: 8px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none !important;
}

.lf-button--primary {
  background: var(--lf-orange);
  color: #fff !important;
}

.lf-button--secondary {
  background: #fff;
  color: var(--lf-blue-dark) !important;
  box-shadow: inset 0 0 0 1px var(--lf-border);
}

.lf-front__hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: clamp(20px, 4vw, 40px);
  align-items: stretch;
  margin-bottom: 44px;
  border-top: 4px solid var(--lf-blue);
  background: #fff;
  box-shadow: 0 14px 38px rgba(11, 67, 104, 0.08);
}

.lf-front__hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(24px, 4vw, 42px);
}

.lf-front__hero h2 {
  font-size: clamp(2rem, 3.4vw, 3.55rem);
  line-height: 1.02;
}

.lf-front__hero h2 a,
.lf-card__title a {
  color: inherit;
  text-decoration: none;
}

.lf-front__hero h2 a:hover,
.lf-front__hero h2 a:focus,
.lf-card__title a:hover,
.lf-card__title a:focus {
  color: var(--lf-blue);
}

.lf-front__hero-copy p:not(.lf-kicker) {
  margin: 16px 0 22px;
  color: var(--lf-muted);
  font-size: 18px;
  line-height: 1.58;
}

.lf-front__hero-media {
  display: flex;
  min-height: 340px;
  background: linear-gradient(135deg, var(--lf-blue-light), #fff);
  color: var(--lf-blue-dark);
  text-decoration: none !important;
}

.lf-front__hero-media img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
}

.lf-front__hero-media span {
  display: grid;
  width: 100%;
  min-height: 340px;
  place-items: center;
  font-family: Oswald, Roboto, Arial, sans-serif;
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 800;
}

.lf-read-more {
  display: inline-flex;
  width: fit-content;
  color: var(--lf-blue-dark);
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.lf-section {
  margin-bottom: 44px;
}

.lf-section__header {
  display: flex;
  gap: 20px;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 18px;
}

.lf-section__header h2,
.lf-panel h2,
.lf-local-links h2,
.lf-empty h2 {
  font-size: clamp(1.75rem, 2.4vw, 2.45rem);
  line-height: 1.05;
}

.lf-section__header > a {
  color: var(--lf-blue-dark);
  font-weight: 800;
}

.lf-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.lf-card {
  overflow: hidden;
  border: 1px solid var(--lf-border);
  border-radius: 8px;
  background: #fff;
}

.lf-card__media {
  display: flex;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--lf-blue-light);
  text-decoration: none !important;
}

.lf-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lf-card__placeholder {
  display: grid;
  width: 100%;
  place-items: center;
  color: var(--lf-blue-dark);
  font-family: Oswald, Roboto, Arial, sans-serif;
  font-size: 1.7rem;
  font-weight: 800;
}

.lf-card__body {
  padding: 18px;
}

.lf-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--lf-muted);
  font-size: 13px;
  font-weight: 700;
}

.lf-card__meta span {
  color: var(--lf-green);
}

.lf-card__title {
  margin: 0 0 10px;
  color: var(--lf-ink);
  font-family: Oswald, Roboto, Arial, sans-serif;
  font-size: 1.55rem;
  line-height: 1.08;
  letter-spacing: 0;
}

.lf-card p {
  margin: 0;
  color: var(--lf-muted);
  line-height: 1.55;
}

.lf-front__split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 44px;
}

.lf-panel,
.lf-empty,
.lf-local-links {
  border: 1px solid var(--lf-border);
  border-radius: 8px;
  background: #fff;
  padding: clamp(22px, 3vw, 30px);
}

.lf-panel--accent {
  border-top: 4px solid var(--lf-orange);
}

.lf-panel p:not(.lf-kicker),
.lf-empty p {
  color: var(--lf-muted);
  line-height: 1.6;
}

.lf-event-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 18px 0 20px;
  list-style: none;
}

.lf-event-list li {
  display: grid;
  gap: 4px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--lf-border);
}

.lf-event-list a {
  color: var(--lf-ink);
  font-weight: 800;
  text-decoration: none;
}

.lf-event-list time {
  color: var(--lf-muted);
  font-size: 14px;
}

.lf-local-links {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 22px;
  align-items: center;
}

.lf-local-links nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.lf-local-links nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 8px;
  background: var(--lf-blue-light);
  color: var(--lf-blue-dark);
  font-weight: 800;
  text-decoration: none;
}

.lf-local-links nav a:hover,
.lf-local-links nav a:focus {
  background: var(--lf-blue);
  color: #fff;
}

.elementor-location-footer {
  background: var(--lf-blue-dark);
  color: #fff;
  margin-top: 56px;
}

.elementor-54 .elementor-element.elementor-element-bc682ae {
  background: var(--lf-blue-dark) !important;
  max-width: 1240px;
  margin: 0 auto;
  padding: 34px clamp(16px, 4vw, 40px) !important;
  gap: 24px;
  align-items: center;
}

.elementor-location-footer,
.elementor-location-footer p {
  color: rgba(255, 255, 255, 0.9);
}

.elementor-location-footer a,
.elementor-54 .elementor-nav-menu .elementor-item {
  color: #fff !important;
}

.elementor-location-footer a:hover,
.elementor-location-footer a:focus {
  color: #ffcf9d !important;
}

.elementor-54 .elementor-social-icon {
  background: var(--lf-blue) !important;
  color: #fff !important;
  border-radius: 8px;
}

.elementor-54 .elementor-social-icon:hover,
.elementor-54 .elementor-social-icon:focus {
  background: var(--lf-orange) !important;
}

.elementor-54 .elementor-widget-text-editor {
  font-size: 15px;
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .elementor-25 .elementor-element.elementor-element-e9de188 {
    grid-template-columns: minmax(180px, 1fr) auto;
    grid-template-areas:
      "logo nav"
      "search search";
    gap: 14px;
  }

  .elementor-25 .elementor-element.elementor-element-19ab84f {
    max-width: 520px;
    width: 100%;
    justify-self: stretch;
  }

  .elementor-25 .elementor-widget-theme-site-logo img {
    max-height: 48px;
    max-width: 260px;
  }

  .elementor-25 .elementor-menu-toggle {
    border-radius: 8px;
    color: var(--lf-blue-dark);
    background: var(--lf-blue-light);
  }

  .elementor-25 .elementor-nav-menu--dropdown {
    border: 1px solid var(--lf-border);
    border-radius: 10px;
    box-shadow: 0 18px 36px rgba(11, 67, 104, 0.14);
    margin-top: 10px;
    overflow: hidden;
  }
}

@media (max-width: 767px) {
  .admin-bar .elementor-location-header {
    top: 46px;
  }

  .elementor-25 .elementor-element.elementor-element-e9de188 {
    padding: 12px 14px !important;
  }

  .elementor-25 .elementor-widget-theme-site-logo img {
    max-height: 42px;
    max-width: 245px;
  }

  .elementor-25 .elementor-search-form {
    max-width: 100%;
  }

  .site-main {
    padding: 24px 16px 34px;
  }

  .home .site-main,
  .page-id-22 .site-main {
    padding: 0;
  }

  .page-header .entry-title,
  .entry-title,
  h1 {
    font-size: clamp(2.15rem, 12vw, 3.25rem);
  }

  .lf-front {
    padding: 24px 14px 42px;
  }

  .lf-front__intro,
  .lf-front__hero,
  .lf-front__split,
  .lf-local-links {
    grid-template-columns: 1fr;
  }

  .lf-front__actions {
    justify-content: flex-start;
  }

  .lf-front__hero-media,
  .lf-front__hero-media img,
  .lf-front__hero-media span {
    min-height: 220px;
  }

  .lf-card-grid,
  .lf-local-links nav {
    grid-template-columns: 1fr;
  }

  .lf-section__header {
    align-items: flex-start;
    flex-direction: column;
  }

  .elementor-54 .elementor-element.elementor-element-bc682ae {
    grid-template-columns: 1fr !important;
    text-align: left;
    padding: 30px 18px !important;
  }

  .elementor-54 .elementor-widget-social-icons {
    justify-self: start;
  }

  .elementor-54 .elementor-menu-toggle {
    display: none;
  }

  .elementor-54 .elementor-nav-menu--dropdown {
    display: block !important;
    position: static;
    width: auto;
    margin: 0;
    background: transparent;
  }
}
