:root {
  --lm-ink: #24312f;
  --lm-muted: #66716e;
  --lm-orange: #ef6c21;
  --lm-line: #d9dfdc;
  --lm-surface: #ffffff;
  --lm-surface-soft: #f2f1ed;
  --lm-surface-cool: #f7f8f6;
  --lm-frame: min(1540px, calc(100vw - 48px));
  --lm-header-offset: 92px;
  --lm-step-1: 8px;
  --lm-step-2: 16px;
  --lm-step-3: 24px;
  --lm-step-4: 32px;
  --lm-step-5: 48px;
  --lm-step-6: 72px;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body.lm-owner-review {
  color: var(--lm-ink) !important;
  background: var(--lm-surface) !important;
  font-family: "Century Gothic", CenturyGothic, Arial, sans-serif !important;
  overflow-x: clip !important;
}

body.lm-owner-review :is(h1, h2, h3, h4, h5, h6, p, a, button, input, select, textarea, label, dt, dd) {
  font-family: "Century Gothic", CenturyGothic, Arial, sans-serif !important;
}

/* Shared Nordic Frame header and contact tone. */
body.lm-owner-review :is(.header-desktop, .header-mobile, #site_header, .site-header, header.elementor-location-header),
body.lm-owner-review :is(.lm-functional-contact, .lm-contact-section, .lm-contact-wrap, footer, .site-footer, #site_footer) {
  background-color: var(--lm-surface-soft) !important;
}

body.lm-owner-review :is(.header-desktop, .header-mobile, #site_header) {
  border-bottom: 1px solid var(--lm-line) !important;
  box-shadow: none !important;
}

/* Soft transition from text to image in every internal hero. */
body.lm-owner-review .page-header {
  position: relative !important;
  min-height: clamp(330px, 36vw, 500px) !important;
  isolation: isolate;
  overflow: hidden !important;
  background-color: var(--lm-surface-soft) !important;
}

body.lm-owner-review .page-header::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: -1 !important;
  pointer-events: none !important;
  background: linear-gradient(90deg, var(--lm-surface-soft) 0%, rgba(242, 241, 237, .98) 27%, rgba(242, 241, 237, .70) 48%, rgba(242, 241, 237, .15) 72%, transparent 100%) !important;
}

body.lm-owner-review .page-header::after {
  content: "" !important;
  position: absolute !important;
  right: 0 !important;
  bottom: -1px !important;
  left: 0 !important;
  height: clamp(52px, 8vw, 118px) !important;
  z-index: 1 !important;
  pointer-events: none !important;
  background: linear-gradient(to bottom, transparent, var(--lm-surface)) !important;
}

body.lm-owner-review .page-header :is(.container, .page-header-content, .inner) {
  position: relative !important;
  z-index: 2 !important;
}

body.lm-owner-route-da-videos .page-header,
html.lm-internal-hero-standard body.lm-owner-route-da-videos.page-id-5593 .page-header {
  background-image: url('/verified-assets/video-header-pfizer.png') !important;
  background-position: right center !important;
  background-repeat: no-repeat !important;
  background-size: auto 100% !important;
}

/* Nordic Frame geometry for every public content destination. */
body.lm-owner-review:not(.home) #content,
body.lm-owner-review .site-main {
  background: var(--lm-surface) !important;
}

body.lm-owner-review:not(.home) #content > :is(.container, .elementor, article),
body.lm-owner-review .lm-owner-frame {
  width: var(--lm-frame) !important;
  max-width: var(--lm-frame) !important;
  margin-inline: auto !important;
  border-inline: 1px solid var(--lm-line) !important;
}

body.lm-owner-review .lm-owner-hidden-heading {
  display: none !important;
}

body.lm-owner-review :is(.project-item, .post-box, .lm-video-card, .lm-contact-card, .lm-main-contact, .lm-partner-card, .service-box, .icon-box, .lm-news-card) {
  border: 1px solid var(--lm-line) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background-color: var(--lm-surface) !important;
}

body.lm-owner-review :is(.project-item, .post-box, .lm-video-card, .lm-contact-card, .lm-main-contact, .lm-partner-card, .service-box, .icon-box, .lm-news-card)::after {
  border-color: var(--lm-orange) !important;
}

body.lm-owner-review :is(a, button, [role="button"]):focus-visible,
body.lm-owner-review :is(input, select, textarea):focus-visible {
  outline: 3px solid rgba(239, 108, 33, .42) !important;
  outline-offset: 3px !important;
}

/* Product left menu. */
body.lm-owner-route-da-products .elementor-widget-ipfilter > .elementor-widget-container {
  display: grid !important;
  grid-template-columns: 250px minmax(0, 1fr) !important;
  gap: clamp(28px, 4vw, 58px) !important;
  align-items: start !important;
}

body.lm-owner-route-da-products .project-filter-wrapper {
  position: sticky !important;
  top: var(--lm-header-offset) !important;
  z-index: 12 !important;
  width: 100% !important;
  padding: 22px !important;
  border: 1px solid var(--lm-line) !important;
  border-left: 3px solid var(--lm-orange) !important;
  background: rgba(247, 248, 246, .97) !important;
  backdrop-filter: blur(9px);
}

body.lm-owner-route-da-products .project-filter-wrapper .container {
  width: 100% !important;
  padding: 0 !important;
}

body.lm-owner-route-da-products ul.project_filters {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 2px !important;
}

body.lm-owner-route-da-products ul.project_filters li {
  width: 100% !important;
  margin: 0 !important;
}

body.lm-owner-route-da-products ul.project_filters a {
  display: block !important;
  padding: 11px 12px !important;
  border-left: 2px solid transparent !important;
  color: var(--lm-ink) !important;
}

body.lm-owner-route-da-products ul.project_filters a:is(.selected, .lm-is-active) {
  border-left-color: var(--lm-orange) !important;
  background: var(--lm-surface) !important;
  color: var(--lm-ink) !important;
  font-weight: 700 !important;
}

body.lm-owner-route-da-products :is(.projects-grid, .projects-box, .project-items) {
  grid-column: 2 !important;
  min-width: 0 !important;
}

/* Video left menu and verified poster treatment. */
body.lm-owner-route-da-videos .lm-video-library {
  padding-top: clamp(38px, 5vw, 76px) !important;
}

body.lm-owner-route-da-videos .lm-video-library-layout {
  grid-template-columns: 250px minmax(0, 1fr) !important;
  gap: clamp(28px, 4vw, 58px) !important;
  align-items: start !important;
}

body.lm-owner-route-da-videos .lm-video-filters {
  position: sticky !important;
  top: var(--lm-header-offset) !important;
  z-index: 12 !important;
  padding: 22px !important;
  border: 1px solid var(--lm-line) !important;
  border-left: 3px solid var(--lm-orange) !important;
  background: rgba(247, 248, 246, .97) !important;
  backdrop-filter: blur(9px);
}

body.lm-owner-route-da-videos .lm-video-filters button[aria-pressed="true"] {
  border-left: 2px solid var(--lm-orange) !important;
  background: var(--lm-surface) !important;
  color: var(--lm-ink) !important;
  font-weight: 700 !important;
}

body.lm-owner-route-da-videos :is(.lm-video-card-poster, .lm-video-card-media, .lm-video-card img) {
  aspect-ratio: 16 / 9 !important;
  object-fit: cover !important;
  background: var(--lm-surface-cool) !important;
}

/* Preserved and expanded process section. */
body.lm-owner-review .lm-about-section {
  color: #111 !important;
  background: var(--lm-surface-soft) !important;
  border-block: 1px solid var(--lm-line) !important;
}

body.lm-owner-review .lm-about-section :is(.main-heading, p) {
  color: #111 !important;
}

body.lm-owner-review .lm-about-section .elementor-element-6dac75e .elementor-widget-container {
  max-width: 780px !important;
}

body.lm-owner-review .lm-about-section p {
  margin: 0 0 1.05em !important;
  font-size: clamp(16px, 1.2vw, 20px) !important;
  line-height: 1.72 !important;
}

/* About, contact, partner and login destinations share one calm frame. */
body:is(.lm-owner-route-da-about-us, .lm-owner-route-da-contacts, .lm-owner-route-da-find-lokal-partner, .lm-owner-route-da-member-login) #content :is(.elementor-section, .lm-partner-page, .lm-functional-contact) {
  box-shadow: none !important;
}

body.lm-owner-route-da-about-us #content .elementor-section-boxed > .elementor-container,
body.lm-owner-route-da-member-login #content .elementor-section-boxed > .elementor-container {
  width: min(1240px, calc(100% - 48px)) !important;
  max-width: none !important;
  padding-block: clamp(28px, 5vw, 72px) !important;
  border-inline: 1px solid var(--lm-line) !important;
}

body.lm-owner-route-da-contacts .lm-functional-contact,
body.lm-owner-route-da-find-lokal-partner .lm-partner-page {
  background: var(--lm-surface-soft) !important;
}

body.lm-owner-route-da-contacts .lm-contact-cards,
body.lm-owner-route-da-find-lokal-partner :is(.lm-main-contact-grid, .lm-partner-grid) {
  align-items: stretch !important;
}

body.lm-owner-route-da-contacts .lm-contact-card,
body.lm-owner-route-da-find-lokal-partner :is(.lm-main-contact, .lm-partner-card) {
  height: 100% !important;
}

body.lm-owner-route-da-member-login :is(.ihc-login-template, .ihc-register-form, .iump-form-line-register, form) {
  max-width: 760px !important;
  margin-inline: auto !important;
  padding: clamp(28px, 5vw, 54px) !important;
  border: 1px solid var(--lm-line) !important;
  border-top: 3px solid var(--lm-orange) !important;
  background: var(--lm-surface) !important;
  box-shadow: none !important;
}

body.lm-owner-route-da-member-login :is(input, select, textarea) {
  min-height: 44px !important;
  border: 1px solid var(--lm-line) !important;
  border-radius: 0 !important;
}

/* Stable centered language controls. */
body.lm-owner-review .header-desktop #trp-floater-ls.lm-language-strip {
  position: relative !important;
  inset: auto !important;
  margin-inline: auto !important;
  transform: none !important;
}

body.lm-owner-review .lm-mobile-language-row {
  display: flex !important;
  justify-content: center !important;
  width: 100% !important;
  padding: 7px 12px 9px !important;
  border-top: 1px solid rgba(36, 49, 47, .10) !important;
  background: var(--lm-surface-soft) !important;
}

body.lm-owner-review .lm-mobile-language-row #trp-floater-ls.lm-language-strip {
  position: static !important;
  inset: auto !important;
  width: auto !important;
  margin: 0 auto !important;
  transform: none !important;
}

/* Local news page uses the same Nordic Frame language and geometry. */
.lm-static-header {
  min-height: 84px;
  display: grid;
  grid-template-columns: 220px 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 0 clamp(24px, 4vw, 72px);
  border-bottom: 1px solid var(--lm-line);
  background: var(--lm-surface-soft);
}

.lm-static-logo { color: var(--lm-ink); font-size: 34px; text-decoration: none; }
.lm-static-logo span { color: var(--lm-orange); font-weight: 700; }
.lm-static-header nav { display: flex; justify-content: center; gap: clamp(16px, 2.5vw, 38px); }
.lm-static-header nav a { color: var(--lm-ink); text-decoration: none; font-size: 14px; font-weight: 700; text-transform: uppercase; }
.lm-static-languages { display: flex; gap: 2px; align-items: center; }
.lm-static-languages :is(strong, span) { width: 40px; height: 40px; display: grid; place-items: center; }
.lm-static-languages strong { background: var(--lm-orange); color: #fff; }
.lm-static-hero { position: relative; width: var(--lm-frame); min-height: 420px; margin: 0 auto; padding: clamp(72px, 9vw, 132px) clamp(30px, 6vw, 92px); border-inline: 1px solid var(--lm-line); overflow: hidden; }
.lm-static-hero p { color: var(--lm-orange); font-size: 13px; font-weight: 700; letter-spacing: .18em; }
.lm-static-hero h1 { max-width: 860px; margin: 16px 0 0; font-size: clamp(48px, 6vw, 88px); font-weight: 400; line-height: 1.02; }
.lm-static-hero-art { position: absolute; inset: 0 0 0 42%; z-index: -1; background: radial-gradient(circle at 70% 42%, rgba(239,108,33,.16), transparent 28%), repeating-linear-gradient(90deg, transparent 0 43px, rgba(36,49,47,.06) 44px), var(--lm-surface-cool); }
.lm-news-intro { width: var(--lm-frame); margin: 0 auto; padding: 44px clamp(30px, 6vw, 92px); border: 1px solid var(--lm-line); border-top: 0; }
.lm-news-intro p { max-width: 900px; color: var(--lm-muted); font-size: clamp(17px, 1.5vw, 22px); line-height: 1.65; }
.lm-news-grid { width: var(--lm-frame); margin: 0 auto; padding: 42px clamp(24px, 4vw, 64px) 80px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; border-inline: 1px solid var(--lm-line); }
.lm-news-card { min-height: 320px; padding: 34px; display: flex; flex-direction: column; }
.lm-news-card h2 { margin: 18px 0; font-size: clamp(23px, 2vw, 31px); line-height: 1.18; font-weight: 400; }
.lm-news-card p { margin-top: auto; color: var(--lm-muted); line-height: 1.6; }
.lm-card-kicker { color: var(--lm-orange); font-size: 12px; font-weight: 700; letter-spacing: .16em; }
.lm-static-footer { display: flex; justify-content: space-between; padding: 34px clamp(24px, 4vw, 72px); border-top: 1px solid var(--lm-line); background: var(--lm-surface-soft); }
.lm-static-footer a { color: var(--lm-ink); }

@media (max-width: 1024px) {
  :root { --lm-frame: calc(100vw - 30px); --lm-header-offset: 78px; }
  body.lm-owner-route-da-products .elementor-widget-ipfilter > .elementor-widget-container,
  body.lm-owner-route-da-videos .lm-video-library-layout { grid-template-columns: 210px minmax(0, 1fr) !important; gap: 24px !important; }
  .lm-static-header { grid-template-columns: 180px 1fr; }
  .lm-static-header nav { display: none; }
  .lm-static-languages { justify-self: end; }
  .lm-news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  :root { --lm-frame: calc(100vw - 20px); --lm-header-offset: 112px; }
  body.lm-owner-review .page-header { min-height: 320px !important; }
  body.lm-owner-review .page-header::before { background: linear-gradient(180deg, rgba(242,241,237,.96) 0%, rgba(242,241,237,.75) 52%, rgba(242,241,237,.16) 100%) !important; }
  body.lm-owner-route-da-videos .page-header,
  html.lm-internal-hero-standard body.lm-owner-route-da-videos.page-id-5593 .page-header { background-position: 58% center !important; }
  body.lm-owner-review:not(.home) #content > :is(.container, .elementor, article), body.lm-owner-review .lm-owner-frame { border-inline: 0 !important; }
  body.lm-owner-route-da-products .elementor-widget-ipfilter > .elementor-widget-container,
  body.lm-owner-route-da-videos .lm-video-library-layout { display: block !important; }
  body.lm-owner-route-da-products .project-filter-wrapper,
  body.lm-owner-route-da-videos .lm-video-filters {
    position: sticky !important;
    top: var(--lm-header-offset) !important;
    margin-bottom: 22px !important;
    padding: 10px 12px !important;
    border-left-width: 1px !important;
    border-bottom: 3px solid var(--lm-orange) !important;
    overflow-x: auto !important;
  }
  body.lm-owner-route-da-products ul.project_filters,
  body.lm-owner-route-da-videos .lm-video-filters { display: flex !important; flex-direction: row !important; gap: 4px !important; white-space: nowrap !important; }
  body.lm-owner-route-da-products ul.project_filters li { width: auto !important; flex: 0 0 auto !important; }
  body.lm-owner-route-da-products ul.project_filters a { border-left: 0 !important; border-bottom: 2px solid transparent !important; }
  body.lm-owner-route-da-products ul.project_filters a:is(.selected, .lm-is-active) { border-bottom-color: var(--lm-orange) !important; }
  body.lm-owner-route-da-videos .lm-video-filters button[aria-pressed="true"] { border-left: 0 !important; border-bottom: 2px solid var(--lm-orange) !important; }
  body.lm-owner-route-da-about-us #content .elementor-section-boxed > .elementor-container,
  body.lm-owner-route-da-member-login #content .elementor-section-boxed > .elementor-container { width: calc(100% - 20px) !important; border-inline: 0 !important; }
  .lm-static-header { min-height: 72px; grid-template-columns: 1fr; gap: 10px; padding-block: 14px; }
  .lm-static-logo { justify-self: center; }
  .lm-static-languages { justify-self: center; }
  .lm-static-languages :is(strong, span) { width: 36px; height: 36px; font-size: 13px; }
  .lm-static-hero { min-height: 350px; padding: 68px 24px; }
  .lm-static-hero-art { inset: 42% 0 0; }
  .lm-news-intro { padding: 32px 24px; }
  .lm-news-grid { grid-template-columns: 1fr; padding: 28px 14px 58px; }
  .lm-news-card { min-height: 270px; padding: 28px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body.lm-owner-review *, body.lm-owner-review *::before, body.lm-owner-review *::after { animation: none !important; transition: none !important; }
}

