/* ==========================================================================
   SMELCA theme styles
   Loaded on the website and inside the block editor, so pages look the same
   while you edit. Classes starting with "smelca-" are added in the block
   settings (Advanced > Additional CSS class). Classes starting with
   "is-style-smelca-" come from the block "Styles" panel.
   ========================================================================== */

:root {
  --sm-navy: #02405C; --sm-navy-700: #023449; --sm-navy-800: #012736; --sm-navy-50: #EEF4F7;
  --sm-teal: #2C7D92; --sm-teal-700: #226475; --sm-teal-800: #194C59; --sm-teal-50: #EDF6F8; --sm-teal-100: #D2E9EE; --sm-teal-200: #A3D0DA; --sm-teal-400: #4F9AAD;
  --sm-forest: #25682C; --sm-forest-700: #1D5323; --sm-forest-50: #EEF5EF; --sm-forest-200: #A9CFAD;
  --sm-leaf: #699C41; --sm-leaf-700: #547E33; --sm-leaf-400: #86B25F; --sm-leaf-200: #C4DBAC; --sm-leaf-100: #E2EDD6; --sm-leaf-50: #F3F8EE;
  --sm-slate-25: #F8FAFB; --sm-slate-50: #F2F5F7; --sm-slate-100: #E6EBEE; --sm-slate-200: #D3DBE0; --sm-slate-300: #B3C0C8; --sm-slate-400: #8797A2; --sm-slate-500: #5F707C; --sm-slate-600: #46555F; --sm-slate-800: #1F2A31;
  --sm-strong: #023449; --sm-body: #1F2A31; --sm-muted: #5F707C; --sm-on-dark-muted: #C3D5DE;
  --sm-display: Montserrat, 'Helvetica Neue', Arial, sans-serif; --sm-text: 'Source Sans 3', 'Segoe UI', Arial, sans-serif; --sm-mono: 'Source Code Pro', ui-monospace, Menlo, monospace;
  --sm-radius: 6px; --sm-radius-lg: 10px;
  --sm-shadow-2: 0 2px 6px rgba(1,27,38,.08), 0 1px 2px rgba(1,27,38,.05);
  --sm-shadow-3: 0 10px 28px rgba(1,27,38,.14), 0 2px 6px rgba(1,27,38,.06);
  --sm-ease: cubic-bezier(.2,.7,.2,1);
  --sm-content: var(--wp--style--global--content-size, 1200px);
  --sm-header-h: 81px;
}
html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; }
body .smelca-main, body .smelca-main * { box-sizing: border-box; }
body .smelca-main p { margin-top: 0; }
body .smelca-main h1, body .smelca-main h2, body .smelca-main h3 { text-wrap: balance; margin-top: 0; }
body .smelca-main p { text-wrap: pretty; }
body .smelca-main figure { margin-left: 0; margin-right: 0; }
body .smelca-main img { max-width: 100%; height: auto; }
::selection { background: var(--sm-teal-100); color: var(--sm-navy-800); }
:focus-visible { outline: 2px solid var(--sm-teal); outline-offset: 2px; }

/* ---------- small text helpers ---------- */
body .smelca-overline { font: 700 12px/1.3 var(--sm-display); letter-spacing: .12em; text-transform: uppercase; color: var(--sm-teal-700); }
body .smelca-lead { font-size: var(--wp--preset--font-size--lead, 20px); line-height: 1.6; color: var(--sm-body); }
body .smelca-badge { display: inline-block; width: fit-content; padding: 3px 9px; border-radius: 4px; background: var(--sm-teal-50); color: var(--sm-teal-800); font: 700 12px/1.4 var(--sm-display); letter-spacing: .06em; text-transform: uppercase; }
body .smelca-badge.is-solid { background: var(--sm-navy); color: #fff; }
body .smelca-more { font-weight: 600; font-size: 15px; }
body .smelca-more a { text-decoration: none; display: inline-flex; align-items: center; gap: 6px; transition: gap 260ms var(--sm-ease); }
body .smelca-more a::after { content: ""; width: 16px; height: 16px; background: currentColor; -webkit-mask: url(../images/ui/arrow-right.svg) center/contain no-repeat; mask: url(../images/ui/arrow-right.svg) center/contain no-repeat; }
body .smelca-more.is-external a::after { -webkit-mask-image: url(../images/ui/external-link.svg); mask-image: url(../images/ui/external-link.svg); }
body .smelca-more a:hover { gap: 10px; }
body .smelca-check { position: relative; padding-left: 28px; font-weight: 500; color: var(--sm-strong); }
body .smelca-check::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; background: var(--sm-forest); -webkit-mask: url(../images/ui/check.svg) center/contain no-repeat; mask: url(../images/ui/check.svg) center/contain no-repeat; }

/* ---------- icon tiles (Image blocks with the class "smelca-icon") ---------- */
body .smelca-icon { margin: 0; width: 52px; height: 52px; flex: none; border-radius: var(--sm-radius); display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--sm-teal-50), var(--sm-leaf-50)); box-shadow: inset 0 0 0 1px rgba(44,125,146,.12); transition: background 300ms var(--sm-ease); }
body .smelca-icon img { width: 58%; height: 58%; object-fit: contain; display: block; }
body .smelca-icon.is-dark { background: rgba(255,255,255,.1); box-shadow: none; }
body .is-style-smelca-card:hover .smelca-icon:not(.is-dark) { background: linear-gradient(135deg, var(--sm-teal-100), var(--sm-leaf-100)); }

/* ---------- block styles: sections ---------- */
body .is-style-smelca-section, body .is-style-smelca-section-grey, body .is-style-smelca-section-navy { padding-top: 80px; padding-bottom: 80px; position: relative; }
body .is-style-smelca-section-grey { background: rgba(242,245,247,.55); border-top: 1px solid var(--sm-slate-100); border-bottom: 1px solid var(--sm-slate-100); }
body .is-style-smelca-section-navy { background: var(--sm-navy); color: #fff; }
body .is-style-smelca-section-navy :where(h1, h2, h3, h4) { color: #fff; }
body .is-style-smelca-section > * + *, body .is-style-smelca-section-grey > * + *, body .is-style-smelca-section-navy > * + * { margin-block-start: 36px; }
@media (max-width: 480px) { body .is-style-smelca-section, body .is-style-smelca-section-grey, body .is-style-smelca-section-navy { padding-top: 56px; padding-bottom: 56px; } }

/* ---------- block styles: cards and panels ---------- */
body .is-style-smelca-card, body .is-style-smelca-card-navy, body .is-style-smelca-card-green, body .is-style-smelca-card-tint, body .is-style-smelca-panel {
  border-radius: var(--sm-radius); position: relative; overflow: hidden; }
body .is-style-smelca-card { background: #fff; border: 1px solid var(--sm-slate-200); padding: 28px; transition: transform 260ms var(--sm-ease), box-shadow 260ms var(--sm-ease), border-color 300ms; }
body .is-style-smelca-card-navy { background: linear-gradient(150deg, var(--sm-navy), var(--sm-teal-700)); color: #fff; padding: 28px; transition: transform 260ms var(--sm-ease), box-shadow 260ms var(--sm-ease); }
body .is-style-smelca-card-green { background: linear-gradient(135deg, var(--sm-forest), var(--sm-leaf-700)); color: #fff; padding: 28px; transition: transform 260ms var(--sm-ease), box-shadow 260ms var(--sm-ease); }
body .is-style-smelca-card-tint { background: var(--sm-teal-50); padding: 24px; }
body .is-style-smelca-card-navy :where(h1,h2,h3,h4), body .is-style-smelca-card-green :where(h1,h2,h3,h4) { color: #fff; }
body .is-style-smelca-card-navy p, body .is-style-smelca-card-green p { color: rgba(255,255,255,.9); }
body .is-style-smelca-card-navy .smelca-overline { color: var(--sm-leaf-200); }
body .is-style-smelca-card-navy a, body .is-style-smelca-card-green a { color: #fff; }
body .is-style-smelca-panel { background: rgba(255,255,255,.88); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); border: 1px solid var(--sm-slate-100); border-radius: var(--sm-radius-lg); padding: 28px; }
body :where(.is-style-smelca-card, .is-style-smelca-card-navy, .is-style-smelca-card-green, .is-style-smelca-card-tint, .is-style-smelca-panel) > * { margin-block: 0; }
body :where(.is-style-smelca-card, .is-style-smelca-card-navy, .is-style-smelca-card-green, .is-style-smelca-card-tint, .is-style-smelca-panel) > * + * { margin-block-start: 12px; }
@media (hover: hover) {
  body .is-style-smelca-card:hover, body .is-style-smelca-card-navy:hover, body .is-style-smelca-card-green:hover { transform: translateY(-4px); box-shadow: var(--sm-shadow-3); }
}
@media (max-width: 480px) { body .is-style-smelca-card, body .is-style-smelca-card-navy, body .is-style-smelca-card-green, body .is-style-smelca-panel { padding: 20px; } }

/* ---------- section intro box (overline + title + lead) ---------- */
body .smelca-intro { width: fit-content; max-width: min(100%, 820px); margin-left: max(0px, calc((100% - var(--sm-content)) / 2)) !important; margin-right: auto !important; padding: 24px 28px; }
body .smelca-intro::before { content: ""; display: block; width: 48px; height: 3px; background: var(--sm-leaf); margin-bottom: 14px; }
body .smelca-intro > * { margin-block: 0; }
body .smelca-intro > * + * { margin-block-start: 12px; }
body .smelca-intro.is-dark { padding: 0; background: none; border: 0; }
body .smelca-intro.is-dark::before { background: var(--sm-leaf-400); }
body .smelca-intro.is-dark .smelca-lead, body .smelca-intro.is-dark p { color: var(--sm-on-dark-muted); }
body .smelca-intro.is-dark .smelca-overline { color: var(--sm-leaf-200); }
@media (max-width: 480px) { body .smelca-intro { padding: 20px; } body .smelca-intro.is-dark { padding: 0; } }

/* ---------- buttons (block styles) ---------- */
body .wp-block-button .wp-block-button__link { transition: background 200ms, color 200ms, box-shadow 200ms; display: inline-flex; align-items: center; gap: 8px; }
body .wp-block-button.is-style-smelca-green .wp-block-button__link { background: var(--sm-forest); color: #fff; }
body .wp-block-button.is-style-smelca-green .wp-block-button__link:hover { background: var(--sm-forest-700); }
body .wp-block-button.is-style-smelca-outline .wp-block-button__link { background: #fff; color: var(--sm-navy); box-shadow: inset 0 0 0 1px var(--sm-navy); }
body .wp-block-button.is-style-smelca-outline .wp-block-button__link:hover { background: var(--sm-navy-50); }
body .wp-block-button.is-style-smelca-light .wp-block-button__link { background: #fff; color: var(--sm-navy); }
body .wp-block-button.is-style-smelca-light .wp-block-button__link:hover { background: var(--sm-teal-50); }
body .wp-block-button.is-style-smelca-arrow .wp-block-button__link::after { content: ""; width: 18px; height: 18px; background: currentColor; -webkit-mask: url(../images/ui/arrow-right.svg) center/contain no-repeat; mask: url(../images/ui/arrow-right.svg) center/contain no-repeat; }

/* ==========================================================================
   HEADER
   ========================================================================== */
body .smelca-header-part { position: sticky; top: var(--wp-admin--admin-bar--height, 0px); z-index: 50; }
body .smelca-header { background: rgba(255,255,255,.97); border-bottom: 1px solid var(--sm-slate-200); transition: box-shadow 260ms var(--sm-ease); position: relative; padding-top: 0; padding-bottom: 0; }
body .smelca-header.is-scrolled { box-shadow: var(--sm-shadow-2); }
body .smelca-header-inner { min-height: 80px; gap: 28px; transition: min-height 260ms var(--sm-ease); }
body .smelca-header.is-scrolled .smelca-header-inner { min-height: 64px; }
body .smelca-logo { margin: 0; flex: none; }
body .smelca-logo img { height: 38px; width: auto; display: block; transition: height 260ms var(--sm-ease); }
body .smelca-header.is-scrolled .smelca-logo img { height: 32px; }
body .smelca-header-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--sm-leaf); transform-origin: left; transform: scaleX(0); pointer-events: none; }
body .smelca-nav { flex: 1; justify-content: flex-end; font: 500 16px var(--sm-text); }
body .smelca-nav .wp-block-navigation__container { gap: 28px; }
body .smelca-nav .wp-block-navigation-item__content { color: var(--sm-slate-600); text-decoration: none; padding: 6px 0; border-bottom: 3px solid transparent; transition: border-color 200ms, color 200ms; }
body .smelca-nav .wp-block-navigation-item__content:hover { color: var(--sm-strong); border-bottom-color: var(--sm-slate-200); }
body .smelca-nav .current-menu-item > .wp-block-navigation-item__content, body .smelca-nav .wp-block-navigation-item__content[aria-current="page"] { color: var(--sm-strong); font-weight: 600; border-bottom-color: var(--sm-navy); }
body .smelca-header-cta { flex: none; margin: 0 !important; }
/* collapse the menu into the hamburger up to 1040px (WordPress only does this under 600px by default) */
@media (max-width: 1039px) {
  body .smelca-nav .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; }
  body .smelca-nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none; }
  body .smelca-header-inner { gap: 12px; }
}
body .smelca-nav .wp-block-navigation__responsive-container.is-menu-open { padding: 24px; background: #fff; }
body .smelca-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { gap: 4px; }
body .smelca-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { font-size: 20px; padding: 12px 0; }
body .smelca-nav .wp-block-navigation__responsive-container-open { padding: 8px; border: 1px solid var(--sm-slate-200); border-radius: var(--sm-radius); background: #fff; color: var(--sm-strong); }
@media (max-width: 420px) {
  body .smelca-logo img { height: 30px; } body .smelca-header.is-scrolled .smelca-logo img { height: 26px; }
  body .smelca-header-cta .wp-block-button__link { padding: 8px 14px; font-size: 15px; }
}

/* ==========================================================================
   PAGE TITLES (navy band at the top of inner pages)
   ========================================================================== */
body .smelca-pagehero { background: var(--sm-navy); color: #fff; padding-top: 72px; padding-bottom: 64px; position: relative; overflow: hidden; }
body .smelca-pagehero::after { content: ""; position: absolute; right: -90px; top: 50%; width: 420px; height: 420px; transform: translateY(-50%) rotate(var(--sm-spin, 0deg)); background: url(../images/parts/arrow-bottom-white.png) center/contain no-repeat; opacity: .09; pointer-events: none; }
body .smelca-pagehero::before { content: ""; position: absolute; right: -90px; top: 50%; width: 420px; height: 420px; transform: translateY(-50%) rotate(var(--sm-spin, 0deg)); background: url(../images/parts/arrow-top-white.png) center/contain no-repeat; opacity: .09; pointer-events: none; }
body .smelca-pagehero > * { position: relative; z-index: 1; margin-block: 0; }
body .smelca-pagehero > * + * { margin-block-start: 16px; }
body .smelca-pagehero h1 { color: #fff; max-width: 900px; margin-left: max(0px, calc((100% - var(--sm-content)) / 2)) !important; }
body .smelca-pagehero .smelca-overline { color: var(--sm-leaf-200); }
body .smelca-pagehero .smelca-lead { color: var(--sm-on-dark-muted); max-width: 760px; margin-left: max(0px, calc((100% - var(--sm-content)) / 2)) !important; }
body .smelca-pagehero .wp-block-post-date, body .smelca-pagehero .wp-block-post-date a { color: var(--sm-leaf-200); }

/* facts strip under page titles */
body .smelca-facts { background: #fff; border-bottom: 1px solid var(--sm-slate-200); padding: 22px max(clamp(16px, 4vw, 32px), calc((100% - var(--sm-content)) / 2)); gap: 14px 40px; position: relative; z-index: 1; margin-block: 0 !important; }
body .smelca-facts > * { margin: 0 !important; }
body .smelca-fact { display: inline-flex; align-items: center; gap: 10px; font: 600 16px var(--sm-text); color: var(--sm-strong); }
body .smelca-fact::before { content: ""; width: 20px; height: 20px; flex: none; background: var(--sm-forest); -webkit-mask: var(--sm-fact-icon) center/contain no-repeat; mask: var(--sm-fact-icon) center/contain no-repeat; }
.smelca-fact.icon-clock { --sm-fact-icon: url(../images/ui/clock.svg); } .smelca-fact.icon-monitor { --sm-fact-icon: url(../images/ui/monitor.svg); }
.smelca-fact.icon-users { --sm-fact-icon: url(../images/ui/users.svg); } .smelca-fact.icon-award { --sm-fact-icon: url(../images/ui/award.svg); }
.smelca-fact.icon-lock-open { --sm-fact-icon: url(../images/ui/lock-open.svg); } .smelca-fact.icon-download { --sm-fact-icon: url(../images/ui/download.svg); }
.smelca-fact.icon-badge-check { --sm-fact-icon: url(../images/ui/badge-check.svg); } .smelca-fact.icon-refresh-cw { --sm-fact-icon: url(../images/ui/refresh-cw.svg); }

/* section menu on the About page */
body .smelca-subnav { position: sticky; top: calc(var(--wp-admin--admin-bar--height, 0px) + var(--sm-header-h)); z-index: 40; background: #fff; border-bottom: 1px solid var(--sm-slate-200);
  padding: 0 max(clamp(16px, 4vw, 32px), calc((100% - var(--sm-content)) / 2)); gap: 28px; overflow-x: auto; scrollbar-width: none; margin-block: 0 !important; transition: top 260ms var(--sm-ease); }
body .smelca-subnav::-webkit-scrollbar { display: none; }
body .smelca-subnav > * { margin: 0 !important; flex: none; }
body .smelca-subnav-link a { display: block; padding: 16px 0 13px; border-bottom: 3px solid transparent; color: var(--sm-slate-600); text-decoration: none; font: 500 15px var(--sm-text); white-space: nowrap; transition: color 200ms, border-color 200ms; }
body .smelca-subnav-link.is-active a { color: var(--sm-strong); font-weight: 600; border-bottom-color: var(--sm-navy); }
body .smelca-main [id] { scroll-margin-top: 140px; }

/* ==========================================================================
   BACKGROUND ARROWS (added by the theme script inside .smelca-main)
   ========================================================================== */
body .smelca-main { position: relative; overflow-x: clip; }
body .smelca-bg-arrows { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
body .smelca-main > .wp-block-post-content, body .smelca-main > :not(.smelca-bg-arrows) { position: relative; z-index: 1; }

/* ==========================================================================
   HOME: HERO
   ========================================================================== */
body .smelca-hero { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding-top: 40px; padding-bottom: 40px; margin-block: 0 !important; }
body .smelca-hero > * { margin-block: 0 !important; }
body .smelca-hero-logo { width: min(720px, 82vw); margin: 0 auto 28px !important; }
body .smelca-hero-logo img { width: 100%; display: block; }
body .smelca-hero-text { background: rgba(255,255,255,.82); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-radius: var(--sm-radius-lg); padding: 22px 32px 26px; width: min(1000px, 100%); display: flex; flex-direction: column; align-items: center; }
body .smelca-hero-text > * { margin-block: 0 !important; }
body .smelca-hero-text > * + * { margin-block-start: 16px !important; }
body .smelca-hero-text h1 { font: 800 clamp(30px, 4.2vw, 54px)/1.15 var(--sm-display); letter-spacing: -.015em; max-width: 940px; }
body .smelca-hero-text .smelca-lead { font-size: clamp(16px, 1.6vw, 21px); max-width: 680px; }
body .smelca-hero-buttons { justify-content: center; gap: 12px; }
body .smelca-eu-emblem { width: auto; } body .smelca-eu-emblem img { height: 40px; width: auto; display: block; }
/* the animated version (built by the script) */
body .smelca-hero.is-animated { height: 210vh; justify-content: flex-start; padding: 0 !important; }
body .smelca-hero-stage { max-width: none !important; margin: 0 !important; position: sticky; top: calc(var(--wp-admin--admin-bar--height, 0px) + var(--sm-header-h)); height: calc(100vh - var(--sm-header-h) - var(--wp-admin--admin-bar--height, 0px)); width: 100%; display: flex; flex-direction: column; overflow: hidden; }
body .smelca-hero-area { flex: 1; position: relative; min-height: 110px; }
body .smelca-hero-group { position: absolute; left: 50%; top: 54%; aspect-ratio: 1856 / 559; transform-origin: 15.3% 49.9%; }
body .smelca-hero-group img { position: absolute; inset: 0; width: 100%; height: 100%; user-select: none; -webkit-user-drag: none; }
body .smelca-hero-group .sm-layer { position: absolute; inset: 0; transform-origin: 15.3% 49.9%; will-change: transform, opacity; }
body .smelca-hero-disc { position: absolute; left: .7%; top: 1.4%; width: 29.2%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; will-change: transform, opacity; }
body .smelca-hero-disc i { display: block; height: 50%; } body .smelca-hero-disc i:first-child { background: linear-gradient(90deg, #25682C, #3E8A3A); } body .smelca-hero-disc i:last-child { background: linear-gradient(90deg, #2C7D92, #02405C); }
body .smelca-hero.is-animated .smelca-hero-text { margin: 0 auto 32px !important; width: min(1000px, calc(100% - 24px)); flex: none; }
body .smelca-hero-ring { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--sm-slate-50); } body .smelca-hero-ring i { display: block; height: 100%; background: var(--sm-forest); transform-origin: left; transform: scaleX(0); }
body .smelca-hero-cue { position: absolute; right: 32px; bottom: 22px; display: flex; align-items: center; gap: 8px; font: 600 12px var(--sm-display); letter-spacing: .14em; text-transform: uppercase; color: var(--sm-muted); }
body .smelca-hero-cue::after { content: ""; width: 18px; height: 18px; background: currentColor; -webkit-mask: url(../images/ui/arrow-down.svg) center/contain no-repeat; mask: url(../images/ui/arrow-down.svg) center/contain no-repeat; animation: smNudge 1.8s ease-in-out infinite; }
@keyframes smNudge { 0%,100% { transform: translateY(0) } 50% { transform: translateY(6px) } }
@media (max-width: 760px), (max-height: 719px) {
  body .smelca-hero.is-animated .smelca-hero-text { padding: 14px 16px 16px; margin-bottom: 14px !important; }
  body .smelca-hero.is-animated .smelca-hero-text > * + * { margin-block-start: 10px !important; }
  body .smelca-hero.is-animated .smelca-hero-text h1 { font-size: clamp(22px, min(6.6vw, 4.6vh), 40px); }
  body .smelca-hero.is-animated .smelca-hero-text .smelca-lead { font-size: 16px; line-height: 1.45; }
  body .smelca-hero.is-animated .wp-block-button__link { padding: 9px 16px; font-size: 15px; }
  body .smelca-hero.is-animated .smelca-eu-emblem img { height: 30px; }
  body .smelca-hero-cue { display: none; }
}
@media (max-height: 479px) { body .smelca-hero.is-animated .smelca-hero-text .smelca-overline { display: none; } body .smelca-hero.is-animated .smelca-eu-emblem img { height: 24px; } }

/* ==========================================================================
   HOME: KEY FIGURES
   ========================================================================== */
body .smelca-figures-section { padding-top: 48px !important; padding-bottom: 48px !important; overflow: hidden; }
body .smelca-figures { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 20px; }
body .smelca-figures > * { margin: 0 !important; }
body .smelca-figure { position: relative; overflow: hidden; border-radius: var(--sm-radius); background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); padding: 24px 24px 26px; display: flex; flex-direction: column; gap: 14px; transition: background 260ms, transform 260ms var(--sm-ease); }
body .smelca-figure > * { margin: 0 !important; }
body .smelca-figure::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: var(--sm-leaf-400); transform-origin: left; transform: scaleX(var(--sm-grow, 1)); transition: transform 1100ms var(--sm-ease); }
body .smelca-figure .smelca-icon { width: 42px; height: 42px; }
body .smelca-figure-number { font: 800 56px/1 var(--sm-display); color: var(--sm-leaf-400) !important; min-height: 58px; display: flex; align-items: flex-end; font-variant-numeric: tabular-nums; }
body .smelca-figure-label { font: 600 17px/1.4 var(--sm-text); color: #fff !important; }
body .smelca-flags { display: flex; gap: 8px; align-items: flex-end; min-height: 58px; }
body .smelca-flags > * { margin: 0 !important; }
body .smelca-flag { margin: 0; flex: none; } body .smelca-flag img { width: 42px; height: 28px; object-fit: cover; border-radius: 3px; box-shadow: 0 0 0 1px rgba(255,255,255,.3); display: block; }
@media (hover: hover) { body .smelca-figure:hover { background: rgba(255,255,255,.11); transform: translateY(-4px); } }
@media (max-width: 959px) { body .smelca-figures { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 599px) {
  body .smelca-figures-section { padding-top: 28px !important; padding-bottom: 28px !important; }
  body .smelca-figures { gap: 10px; } body .smelca-figure { padding: 16px 14px 18px; gap: 10px; }
  body .smelca-figure .smelca-icon { width: 34px; height: 34px; }
  body .smelca-figure-number { font-size: 40px; min-height: 40px; } body .smelca-flags { min-height: 40px; gap: 6px; }
  body .smelca-figure-label { font-size: 14px; line-height: 1.35; }
  body .smelca-flag img { width: 30px; height: 20px; }
}

/* ---------- home statement ---------- */
body .smelca-statement { padding: clamp(24px, 4vw, 48px); max-width: 1040px !important; }
body .smelca-statement::before { content: ""; display: block; width: 64px; height: 3px; background: var(--sm-leaf); margin-bottom: 28px; }
body .smelca-scrolltext { font: 600 clamp(20px, 2.6vw, 34px)/1.4 var(--sm-display); letter-spacing: -.01em; color: var(--sm-strong); }
body .smelca-scrolltext .sm-word { transition: color 240ms linear; }
body .smelca-statement > * + * { margin-block-start: 28px !important; }

/* ==========================================================================
   LIFE CYCLE STRIP
   ========================================================================== */
body .smelca-lifecycle { position: relative; padding: 112px 32px 36px; }
body .smelca-lifecycle > .smelca-stage, body .smelca-lifecycle > .smelca-lifecycle-note { margin: 0 !important; }
.smelca-js body .smelca-lifecycle, body.smelca-js .smelca-lifecycle { }
body .smelca-lifecycle { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 12px; }
body .smelca-stage { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; position: relative; z-index: 1; }
body .smelca-stage > * { margin: 0 !important; }
body .smelca-stage .smelca-icon { width: 76px; height: 76px; border-radius: 50%; background: linear-gradient(135deg, var(--sm-navy), var(--sm-teal)); box-shadow: 0 0 0 7px var(--sm-teal-50); margin-bottom: 10px !important; transition: all 500ms var(--sm-ease); }
body .smelca-stage:last-of-type .smelca-icon { background: linear-gradient(135deg, var(--sm-forest), var(--sm-leaf)); box-shadow: 0 0 0 7px var(--sm-leaf-50); }
body .smelca-stage-num { font: 700 12px var(--sm-display); letter-spacing: .1em; color: var(--sm-teal-700); }
body .smelca-stage h3 { font: 700 17px/1.25 var(--sm-display); }
body .smelca-stage-text { font-size: 14px; line-height: 1.4; }
body .smelca-lifecycle-note { position: absolute; left: 0; right: 0; top: 20px; text-align: center; font: 600 14px var(--sm-text); color: var(--sm-forest-700); }
body .smelca-lc-svg { position: absolute; left: 0; top: 0; overflow: visible; pointer-events: none; z-index: 0; }
/* before the script runs (and in the editor) stages are shown lit; the script dims and lights them on scroll */
.smelca-js .smelca-lifecycle .smelca-stage:not(.is-lit) .smelca-icon { background: #fff; box-shadow: inset 0 0 0 2px var(--sm-slate-200); transform: scale(.9); }
.smelca-js .smelca-lifecycle .smelca-stage:not(.is-lit) .smelca-icon img { filter: brightness(0) invert(58%); }
.smelca-js .smelca-lifecycle .smelca-stage:not(.is-lit) > :not(.smelca-icon) { opacity: .55; }
.smelca-js .smelca-lifecycle .smelca-stage > * { transition: opacity 500ms var(--sm-ease); }
.smelca-js .smelca-lifecycle .smelca-lifecycle-note { opacity: 0; transition: opacity 500ms var(--sm-ease); }
.smelca-js .smelca-lifecycle.is-looped .smelca-lifecycle-note { opacity: 1; }
@media (max-width: 819px) {
  body .smelca-lifecycle { grid-template-columns: 1fr; gap: 22px; padding: 28px 20px 28px 60px; }
  body .smelca-stage { flex-direction: row; text-align: left; align-items: center; gap: 16px; display: grid; grid-template-columns: 60px 1fr; grid-template-rows: auto auto auto; column-gap: 16px; row-gap: 2px; }
  body .smelca-stage .smelca-icon { width: 60px; height: 60px; grid-row: 1 / 4; margin: 0 !important; }
  body .smelca-lifecycle-note { position: static; text-align: left; margin-top: 4px !important; }
}

/* ==========================================================================
   SECTOR CARDS
   ========================================================================== */
body .smelca-sectors { gap: 24px; }
body .smelca-sector { padding: 0 !important; height: 100%; display: flex; flex-direction: column; }
body .smelca-sector > * { margin: 0 !important; }
body .smelca-sector-art { position: relative; height: 190px; padding: 18px 22px 0; overflow: hidden; background: linear-gradient(135deg, var(--sm-navy-700), var(--sm-teal-700)); }
body .smelca-sector-art.is-packaging { background: linear-gradient(135deg, var(--sm-forest-700), var(--sm-leaf-700)); }
body .smelca-sector-art > * { margin: 0 !important; }
body .smelca-sector-illustration { position: absolute !important; left: 22px; right: 22px; top: 18px; bottom: 0; display: flex; align-items: flex-end; justify-content: center; transition: transform 500ms var(--sm-ease); }
body .smelca-sector-illustration img { width: 100%; height: 100%; object-fit: contain; object-position: center bottom; }
body .smelca-sector:hover .smelca-sector-illustration { transform: translateY(-4px); }
body .smelca-sector-tag { position: relative; z-index: 1; display: inline-flex; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.14); font: 700 13px var(--sm-display); letter-spacing: .06em; text-transform: uppercase; color: #fff !important; }
body .smelca-sector-body { padding: 24px 28px 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
body .smelca-sector-body > * { margin: 0 !important; }
body .smelca-sector-body .smelca-more { margin-top: auto !important; padding-top: 6px; }
@media (max-width: 480px) { body .smelca-sector-art { height: 150px; } body .smelca-sector-body { padding: 20px 18px 22px; } }

/* ==========================================================================
   WHO ARE YOU? (tabs built by the script; without it the options simply stack)
   ========================================================================== */
body .smelca-quickcheck > * + * { margin-block-start: 16px; }
body .smelca-qc-option { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; }
body .smelca-qc-option > * { margin: 0 !important; }
body .smelca-qc-option .smelca-qc-panel { grid-column: 1 / -1; }
body .smelca-qc-label { font: 600 17px/1.3 var(--sm-text) !important; color: var(--sm-strong); }
body .smelca-qc-panel .wp-block-buttons { margin-top: 18px !important; }
.smelca-js body .smelca-quickcheck.is-tabs, body.smelca-js .smelca-quickcheck.is-tabs { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.15fr); gap: 32px; }
.smelca-quickcheck.is-tabs > * { margin: 0 !important; }
.smelca-qc-tabs { display: flex; flex-direction: column; gap: 10px; }
.smelca-qc-tab { display: flex; align-items: center; gap: 14px; text-align: left; cursor: pointer; padding: 14px 16px; border-radius: var(--sm-radius); border: 2px solid var(--sm-slate-200); background: #fff; font: 600 17px/1.3 var(--sm-text); color: var(--sm-strong); transition: all 260ms var(--sm-ease); }
.smelca-qc-tab .smelca-icon { width: 48px; height: 48px; }
.smelca-qc-tab::after { content: ""; margin-left: auto; width: 20px; height: 20px; flex: none; background: var(--sm-teal-700); opacity: .35; -webkit-mask: url(../images/ui/chevron-right.svg) center/contain no-repeat; mask: url(../images/ui/chevron-right.svg) center/contain no-repeat; transition: opacity 260ms; }
.smelca-qc-tab[aria-selected="true"] { border-color: var(--sm-teal); background: var(--sm-teal-50); }
.smelca-qc-tab[aria-selected="true"]::after { opacity: 1; }
.smelca-qc-tab[aria-selected="true"] .smelca-icon { background: linear-gradient(135deg, var(--sm-navy), var(--sm-teal)); }
.smelca-qc-tab[aria-selected="true"] .smelca-icon img { filter: brightness(0) invert(1); }
.smelca-quickcheck.is-tabs .smelca-qc-option { display: none; }
.smelca-quickcheck.is-tabs .smelca-qc-option.is-active { display: block; animation: smFade 400ms ease; }
.smelca-quickcheck.is-tabs .smelca-qc-option.is-active > :not(.smelca-qc-panel) { display: none; }
.smelca-quickcheck.is-tabs .smelca-qc-panel { height: 100%; }
@keyframes smFade { from { opacity: 0 } to { opacity: 1 } }
@media (max-width: 899px) { .smelca-js body .smelca-quickcheck.is-tabs, body.smelca-js .smelca-quickcheck.is-tabs { grid-template-columns: minmax(0,1fr); gap: 18px; } }
@media (max-width: 600px) { .smelca-qc-tab { padding: 10px 12px; font-size: 16px; } .smelca-qc-tab .smelca-icon { width: 40px; height: 40px; } }
@media (max-width: 419px) { body .smelca-qc-panel .wp-block-button { width: 100%; } body .smelca-qc-panel .wp-block-button__link { width: 100%; justify-content: center; font-size: 15px; padding: 9px 14px; } }

/* ==========================================================================
   DELIVERABLES (bento grid)
   ========================================================================== */
body .smelca-bento { display: grid; gap: 20px; grid-template-columns: repeat(3, minmax(0,1fr)); grid-template-areas: "tp tp cf" "tp tp cs" "dt tt oa"; }
body .smelca-bento > * { margin: 0 !important; display: flex; flex-direction: column; min-height: 220px; }
body .smelca-bento .smelca-more { margin-top: auto !important; padding-top: 6px; }
body .smelca-bento .is-tp { grid-area: tp; padding: 36px; } body .smelca-bento .is-cf { grid-area: cf; } body .smelca-bento .is-cs { grid-area: cs; }
body .smelca-bento .is-dt { grid-area: dt; } body .smelca-bento .is-tt { grid-area: tt; } body .smelca-bento .is-oa { grid-area: oa; }
body .smelca-bento .is-tp h3 { font-size: var(--wp--preset--font-size--x-large, 34px); }
body .smelca-bento .is-tp > p { font-size: var(--wp--preset--font-size--lead, 20px); }
body .smelca-bento .is-tp::after { content: ""; position: absolute; right: -80px; bottom: -120px; width: 380px; height: 380px; background: url(../images/parts/arrow-top-white.png) center/contain no-repeat; opacity: .08; transition: transform 900ms var(--sm-ease); }
body .smelca-bento .is-tp:hover::after { transform: rotate(24deg); }
body .smelca-module-list { border-top: 1px solid rgba(255,255,255,.14); }
body .smelca-module-list > * { margin: 0 !important; }
body .smelca-module-line { padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,.14); font: 500 16px var(--sm-text); color: #fff !important; }
body .smelca-module-line span { font: 700 13px var(--sm-mono); color: var(--sm-leaf-200); margin-right: 10px; }
@media (max-width: 1000px) { body .smelca-bento { grid-template-columns: repeat(2, minmax(0,1fr)); grid-template-areas: "tp tp" "cf cs" "dt tt" "oa oa"; } }
@media (max-width: 680px) { body .smelca-bento { grid-template-columns: minmax(0,1fr); grid-template-areas: "tp" "cf" "cs" "dt" "tt" "oa"; } body .smelca-bento .is-tp { padding: 24px; } body .smelca-bento > * { min-height: 0; } }

/* ---------- generic card rows (Columns block) ---------- */
body .smelca-cards-3, body .smelca-partners, body .smelca-hosts, body .smelca-newsletter, body .smelca-contact, body .smelca-sectors { gap: 24px; }
body :where(.smelca-cards-3, .smelca-partners, .smelca-hosts, .smelca-sectors, .smelca-newsletter) > .wp-block-column { display: flex; flex-direction: column; }
body :where(.smelca-cards-3, .smelca-partners, .smelca-hosts, .smelca-sectors, .smelca-newsletter) > .wp-block-column > * { flex: 1; }
body .smelca-partners + .smelca-partners { margin-top: 24px !important; }
@media (max-width: 781px) { body .smelca-cards-3, body .smelca-partners, body .smelca-hosts, body .smelca-newsletter, body .smelca-contact, body .smelca-sectors { gap: 16px; } body .smelca-partners + .smelca-partners { margin-top: 16px !important; } }

/* ==========================================================================
   ABOUT
   ========================================================================== */
body .smelca-challenge-top { display: grid; grid-template-columns: minmax(0,1.6fr) minmax(0,1fr); gap: 20px; }
body .smelca-challenge-top > *, body .smelca-gaps > *, body .smelca-objectives > *, body .smelca-approach > * { margin: 0 !important; }
body .smelca-challenge-text > * + * { margin-block-start: 18px; }
body .smelca-chips { gap: 8px; }
body .smelca-chips > * { margin: 0 !important; }
body .smelca-chip { gap: 8px; padding: 6px 12px 6px 7px; border-radius: 999px; background: var(--sm-teal-50); border: 1px solid var(--sm-teal-100); }
body .smelca-chip > * { margin: 0 !important; }
body .smelca-chip p { font: 600 14px var(--sm-text); color: var(--sm-navy-700); }
body .smelca-chip .smelca-chip-icon { width: 26px; height: 26px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1px var(--sm-teal-100); }
body .smelca-chip .smelca-chip-icon img { width: 70%; height: 70%; }
body .smelca-stat { display: flex; flex-direction: column; justify-content: center; gap: 4px; }
body .smelca-stat > * { margin: 0 !important; }
body .smelca-stat::after { content: ""; position: absolute; right: -60px; bottom: -80px; width: 240px; height: 240px; background: url(../images/parts/arrow-top-white.png) center/contain no-repeat; opacity: .08; }
body .smelca-stat .smelca-icon { margin-bottom: 6px !important; }
body .smelca-stat-number { font: 800 64px/1 var(--sm-display); color: var(--sm-leaf-400) !important; font-variant-numeric: tabular-nums; }
body .smelca-stat-label { font: 600 17px/1.35 var(--sm-text); color: #fff !important; }
body .smelca-stat-note { font-size: 14px; color: var(--sm-on-dark-muted) !important; }
body .smelca-gaps { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 20px; margin-top: 20px !important; }
body .smelca-gap { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 14px; counter-increment: gap; }
body .smelca-gap > * { margin: 0 !important; }
body .smelca-gaps { counter-reset: gap; }
body .smelca-gap::before, body .smelca-objective::before, body .smelca-principle::before, body .smelca-result::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 3px; background: var(--sm-teal); transform-origin: left; transform: scaleX(var(--sm-grow, 1)); transition: transform 1100ms var(--sm-ease); }
body .smelca-gap::after, body .smelca-objective::after, body .smelca-principle::after { content: counter(gap, decimal-leading-zero); position: absolute; right: 14px; top: 8px; font: 800 56px/1 var(--sm-display); color: var(--sm-slate-50); pointer-events: none; transition: color 300ms; }
body .smelca-gap:hover::after, body .smelca-objective:hover::after, body .smelca-principle:hover::after { color: var(--sm-leaf-100); }
body .smelca-gap-text { font: 600 17px/1.45 var(--sm-text); color: var(--sm-strong); position: relative; }
body .smelca-sentences { font: 600 28px/1.45 var(--sm-display); color: #fff; max-width: 960px; margin-left: max(0px, calc((100% - var(--sm-content)) / 2)) !important; }
body .smelca-sentences .sm-s2 { color: var(--sm-on-dark-muted); } body .smelca-sentences .sm-s3 { color: var(--sm-leaf-200); }
body .smelca-objectives { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; counter-reset: gap; }
body .smelca-objective { counter-increment: gap; display: grid; grid-template-columns: auto 1fr; column-gap: 20px; row-gap: 6px; align-items: start; }
body .smelca-objective > * { margin: 0 !important; position: relative; }
body .smelca-objective .smelca-icon { grid-row: 1 / 3; }
body .smelca-objective .smelca-overline { color: var(--sm-forest); }
body .smelca-objective::before { width: 4px; height: 100%; background: linear-gradient(180deg, var(--sm-forest), var(--sm-leaf-400)); transform-origin: top; transform: scaleY(.35); transition: transform 420ms var(--sm-ease); }
body .smelca-objective:hover::before { transform: scaleY(1); }
body .smelca-objective-text { color: var(--sm-strong); }
body .smelca-audience > * + * { margin-block-start: 14px; }
body .smelca-approach { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 20px; counter-reset: gap; }
body .smelca-principle { counter-increment: gap; grid-column: span 2; padding: 30px 28px 28px; }
body .smelca-principle:nth-child(n+4) { grid-column: span 3; }
body .smelca-principle::before { background: var(--sm-navy); }
body .smelca-principle.is-style-smelca-card-green::before { background: var(--sm-leaf-200); }
body .smelca-principle.is-style-smelca-card-green::after { color: rgba(255,255,255,.12); }
body .smelca-principle.is-style-smelca-card-green { display: grid; grid-template-columns: auto 1fr; column-gap: 24px; align-items: center; }
body .smelca-principle.is-style-smelca-card-green .smelca-icon { grid-row: 1 / 3; }
body .smelca-principle.is-style-smelca-card-green > * { margin-block: 0 !important; }
body .smelca-principle.is-style-smelca-card-green > h3 { align-self: end; } body .smelca-principle.is-style-smelca-card-green > p { margin-top: 8px !important; align-self: start; }
@media (max-width: 1000px) {
  body .smelca-gaps { grid-template-columns: repeat(2, minmax(0,1fr)); }
  body .smelca-approach { grid-template-columns: repeat(2, minmax(0,1fr)); }
  body .smelca-principle, body .smelca-principle:nth-child(n+4) { grid-column: auto; }
  body .smelca-principle:last-child { grid-column: 1 / -1; }
}
@media (max-width: 900px) { body .smelca-challenge-top { grid-template-columns: minmax(0,1fr); } body .smelca-stat { flex-direction: row; align-items: center; flex-wrap: wrap; column-gap: 18px; } }
@media (max-width: 760px) { body .smelca-objectives { grid-template-columns: minmax(0,1fr); } body .smelca-sentences { font-size: 22px; } }
@media (max-width: 640px) {
  body .smelca-gaps, body .smelca-approach { grid-template-columns: minmax(0,1fr); gap: 12px; }
  body .smelca-gap { flex-direction: row; align-items: center; padding: 16px 18px; }
  body .smelca-gap::after, body .smelca-objective::after { display: none; }
  body .smelca-objective { grid-template-columns: auto 1fr; }
  body .smelca-objective .smelca-icon { grid-row: 1; width: 40px; height: 40px; } body .smelca-objective .smelca-objective-text { grid-column: 1 / -1; }
  body .smelca-objective .smelca-overline { align-self: center; }
  body .smelca-principle.is-style-smelca-card-green { display: block; } body .smelca-principle.is-style-smelca-card-green > * + * { margin-top: 12px !important; }
  body .smelca-stat-number { font-size: 48px; }
}

/* ==========================================================================
   TRAINING PROGRAMME: MODULES (arrow track) and EPD explainer
   ========================================================================== */
body .smelca-modules { display: flex; flex-direction: column; gap: 28px; position: relative; }
body .smelca-modules > * { margin: 0 !important; }
body .smelca-module { display: grid; grid-template-columns: auto 1fr; column-gap: 18px; row-gap: 6px; align-items: start; }
body .smelca-module > * { margin: 0 !important; }
body .smelca-module .smelca-icon { grid-row: 1 / 4; width: 56px; height: 56px; }
@media (max-width: 640px) {
  body .smelca-module { padding: 18px 16px !important; grid-template-columns: auto 1fr; }
  body .smelca-module .smelca-icon { grid-row: 1; width: 40px; height: 40px; }
  body .smelca-module .smelca-overline { align-self: center; }
  body .smelca-module h3, body .smelca-module p:not(.smelca-overline) { grid-column: 1 / -1; }
  body .smelca-module h3 { font-size: 20px; }
}
/* track rows (built by the script around each module/result) */
.smelca-track { position: relative; }
.smelca-track-layer { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.smelca-track-row { position: relative; z-index: 1; display: grid; align-items: start; }
.smelca-track-row.is-straight { grid-template-columns: 80px minmax(0,1fr); }
.smelca-track-num { width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; position: relative; z-index: 1; margin-top: 18px; background: #fff; color: var(--sm-muted); border: 2px solid var(--sm-slate-200); font: 800 18px var(--sm-display); transform: scale(.88); transition: all 420ms var(--sm-ease); }
[data-lit] > .smelca-track-num, [data-lit] .smelca-track-num { background: var(--sm-forest); color: #fff; border-color: var(--sm-forest); transform: scale(1); box-shadow: 0 0 0 6px var(--sm-forest-50); }
.smelca-track-dot { display: block; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 3px solid var(--sm-slate-200); transform: scale(.85); transition: all 420ms var(--sm-ease); position: relative; z-index: 1; }
[data-lit] .smelca-track-dot { background: var(--sm-forest); border-color: var(--sm-forest); box-shadow: 0 0 0 6px var(--sm-forest-50); transform: scale(1); }
.smelca-track-card { transition: opacity 700ms var(--sm-ease), transform 800ms var(--sm-ease); min-width: 0; }
.smelca-js .smelca-track-card { opacity: 0; transform: translate(var(--dx, 32px), 12px) scale(.97); }
.smelca-js [data-on] .smelca-track-card { opacity: 1; transform: none; }
[data-lit] .smelca-track-card > .is-style-smelca-card, [data-lit] .smelca-track-card.is-style-smelca-card { border-color: var(--sm-forest-200); }
@media (max-width: 640px) { .smelca-track-row.is-straight { grid-template-columns: 60px minmax(0,1fr); } }

body .smelca-epd { gap: 36px; align-items: flex-start; }
body .smelca-epd-doc { box-shadow: var(--sm-shadow-2); padding: 26px 28px 24px 40px !important; overflow: visible !important; }
body .smelca-epd-doc > * { margin: 0 !important; position: relative; }
body .smelca-epd-badge { position: absolute !important; top: -12px; right: 16px; padding: 4px 10px; border-radius: 999px; background: #FBF3E2; color: #9A6500; font: 700 11px var(--sm-display); letter-spacing: .08em; text-transform: uppercase; z-index: 2; }
body .smelca-epd-title { font: 700 21px/1.25 var(--sm-display) !important; padding-bottom: 14px; border-bottom: 2px solid var(--sm-navy); margin-top: 4px !important; }
body .smelca-epd-unit, body .smelca-epd-table, body .smelca-epd-meta { margin-top: 12px !important; padding: 10px 12px; border-radius: 3px; transition: background 300ms, box-shadow 300ms; }
body .smelca-epd-unit { font-size: 15px; color: var(--sm-muted); } body .smelca-epd-unit strong { color: var(--sm-strong); }
body .smelca-epd-table > * { margin: 0 !important; }
body .smelca-epd-head, body .smelca-epd-row { display: grid; grid-template-columns: 62px minmax(0,1fr) 120px 44px; gap: 8px; align-items: center; }
body .smelca-epd-head { grid-template-columns: 1fr auto; padding-bottom: 8px; }
body .smelca-epd-head > *, body .smelca-epd-row > * { margin: 0 !important; }
body .smelca-epd-head p { font: 700 12px var(--sm-display); letter-spacing: .06em; text-transform: uppercase; color: var(--sm-muted); }
body .smelca-epd-row { padding: 7px 0; border-top: 1px solid var(--sm-slate-100); border-radius: 4px; transition: background 300ms, box-shadow 300ms; }
body .smelca-epd-row::after { content: ""; grid-column: 3; grid-row: 1; height: 10px; border-radius: 5px; background: linear-gradient(90deg, var(--sm-bar-color, var(--sm-teal)) var(--sm-bar, 0%), var(--sm-slate-50) var(--sm-bar, 0%)); }
body .smelca-epd-row.epd-target-4 { --sm-bar-color: var(--sm-leaf-400); }
body .smelca-epd-code { font: 600 13px var(--sm-mono); color: var(--sm-navy); padding-left: 4px; }
body .smelca-epd-name { font: 500 14px/1.3 var(--sm-text); }
body .smelca-epd-value { grid-column: 4; font: 600 14px var(--sm-mono); text-align: right; padding-right: 4px; color: var(--sm-strong); }
body .smelca-epd-meta { font-size: 13px; color: var(--sm-muted); } body .smelca-epd-meta strong { color: var(--sm-strong); }
body .smelca-epd-note { font-style: italic; font-size: 12px; color: var(--sm-muted); margin-top: 12px !important; }
body .smelca-epd-spots > * { margin: 0 !important; }
body .smelca-epd-spot { padding: 18px 20px; border-radius: var(--sm-radius); background: #fff; border: 1px solid var(--sm-slate-100); }
body .smelca-epd-spot + .smelca-epd-spot { margin-top: 10px !important; }
body .smelca-epd-spot h3 { font: 600 19px var(--sm-display); margin-bottom: 6px !important; }
body .smelca-epd-footnote { font-size: 13px; color: var(--sm-muted); margin-top: 12px !important; }
/* interactive state (script) */
.smelca-epd-pin { position: absolute; width: 28px; height: 28px; border-radius: 50%; border: 0; cursor: pointer; display: flex; align-items: center; justify-content: center; font: 800 14px var(--sm-display); z-index: 3; background: var(--sm-navy); color: #fff; box-shadow: 0 2px 6px rgba(1,27,38,.25); transition: all 300ms var(--sm-ease); padding: 0; }
.smelca-epd-pin.is-active { background: var(--sm-forest); box-shadow: 0 0 0 6px rgba(37,104,44,.22); transform: scale(1.12); }
.smelca-epd .is-hl { background: var(--sm-teal-50); box-shadow: 0 0 0 2px var(--sm-teal-400); }
.smelca-epd .epd-target-4.is-hl { background: var(--sm-leaf-50); box-shadow: 0 0 0 2px var(--sm-leaf-400); }
.smelca-epd.spot-3 .smelca-epd-row:nth-of-type(2) { --sm-bar-color: #9A6500; }
.smelca-epd-spots.is-interactive .smelca-epd-spot { display: none; }
.smelca-epd-spots.is-interactive .smelca-epd-spot.is-active { display: block; animation: smFade 380ms ease; box-shadow: var(--sm-shadow-2); }
.smelca-epd-spots.is-interactive .smelca-epd-spot.is-active h3::before { content: attr(data-n); display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; margin-right: 10px; border-radius: 50%; background: var(--sm-forest); color: #fff; font: 800 15px var(--sm-display); vertical-align: middle; }
.smelca-epd-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.smelca-epd-chip { cursor: pointer; border: 1px solid var(--sm-slate-200); background: #fff; color: var(--sm-strong); border-radius: 999px; padding: 7px 12px; font: 600 14px var(--sm-text); transition: all 260ms; }
.smelca-epd-chip.is-active { border-color: var(--sm-forest); background: var(--sm-forest-50); }
@media (max-width: 520px) {
  body .smelca-epd-doc { padding: 20px 14px 18px 30px !important; }
  body .smelca-epd-row { grid-template-columns: 50px minmax(0,1fr) 56px 40px; }
  body .smelca-epd-title { font-size: 18px !important; }
  .smelca-epd-pin { width: 24px; height: 24px; font-size: 12px; }
}
@media (max-width: 399px) { body .smelca-epd-row { grid-template-columns: 48px minmax(0,1fr) 44px; } body .smelca-epd-row::after { display: none; } body .smelca-epd-value { grid-column: 3; } }

body .smelca-status { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
body .smelca-status > * { margin: 0 !important; }
body .smelca-status-text { flex: 1; min-width: 260px; display: flex; flex-direction: column; gap: 6px; }
body .smelca-status-text > * { margin: 0 !important; }
body .smelca-status-text .smelca-lead { color: var(--sm-strong); }

/* ==========================================================================
   RESULTS ROADMAP
   ========================================================================== */
body .smelca-roadmap { display: flex; flex-direction: column; gap: 20px; position: relative; }
body .smelca-roadmap > * { margin: 0 !important; }
body .smelca-year { display: flex; justify-content: center; position: relative; z-index: 2; padding: 0 !important; }
body .smelca-year p { display: inline-flex; padding: 8px 18px; border-radius: 999px; background: var(--sm-navy); color: #fff; font: 800 18px var(--sm-display); letter-spacing: .02em; box-shadow: 0 0 0 6px rgba(255,255,255,.9); margin: 0 !important; }
body .smelca-result > * { margin: 0 !important; position: relative; }
body .smelca-result > * + * { margin-top: 12px !important; }
body .smelca-result-date { display: inline-flex; align-items: center; gap: 6px; font: 600 14px var(--sm-text); color: var(--sm-teal-800); }
body .smelca-result-date::before { content: ""; width: 16px; height: 16px; background: currentColor; -webkit-mask: url(../images/ui/calendar.svg) center/contain no-repeat; mask: url(../images/ui/calendar.svg) center/contain no-repeat; }
body .smelca-result > p:not([class]) { font-size: 15px; }
body .smelca-result h3 { font-size: 21px; }
body .smelca-result-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px solid var(--sm-slate-100); flex-wrap: wrap; }
body .smelca-result-foot > * { margin: 0 !important; }
body .smelca-result-note { font-size: 13px; color: var(--sm-muted); }
body .smelca-result::before { display: none; }
body .smelca-result { counter-increment: result; }
body .smelca-roadmap { counter-reset: result; }
body .smelca-result::after { content: var(--sm-n, counter(result, decimal-leading-zero)); position: absolute; right: 20px; top: 8px; font: 800 76px/1 var(--sm-display); color: var(--sm-slate-50); pointer-events: none; transition: color 300ms; }
body .smelca-result:hover::after { color: var(--sm-leaf-100); }
.smelca-track-row.is-zig { grid-template-columns: minmax(0,1fr) 200px minmax(0,1fr); }
.smelca-track-row.is-zig > .smelca-track-mid { display: flex; padding-top: 34px; }
.smelca-track-row.is-zig.is-left > .smelca-track-mid { justify-content: flex-start; grid-column: 2; grid-row: 1; }
.smelca-track-row.is-zig.is-right > .smelca-track-mid { justify-content: flex-end; grid-column: 2; grid-row: 1; }
.smelca-track-row.is-zig.is-left > .smelca-track-card { grid-column: 1; grid-row: 1; }
.smelca-track-row.is-zig.is-right > .smelca-track-card { grid-column: 3; grid-row: 1; }
.smelca-track-row.is-narrow { grid-template-columns: 44px minmax(0,1fr); }
.smelca-track-row.is-narrow > .smelca-track-mid { display: flex; justify-content: center; padding-top: 34px; }
.smelca-roadmap.is-tracked { gap: 4px; padding-top: 8px; padding-bottom: 40px; }
.smelca-roadmap.is-tracked.is-narrow-mode { gap: 20px; }
.smelca-roadmap.is-tracked .smelca-year { padding: 28px 0 20px !important; }
.smelca-roadmap.is-tracked.is-narrow-mode .smelca-year { justify-content: flex-start; padding: 12px 0 4px !important; }
.smelca-roadmap-tabs { display: flex; gap: 28px; border-bottom: 1px solid var(--sm-slate-200); background: rgba(255,255,255,.88); border-radius: var(--sm-radius-lg) var(--sm-radius-lg) 0 0; padding: 4px 20px 0; overflow-x: auto; }
.smelca-roadmap-tab { border: 0; background: transparent; padding: 14px 0 11px; border-bottom: 3px solid transparent; font: 500 16px var(--sm-text); color: var(--sm-slate-600); cursor: pointer; white-space: nowrap; display: inline-flex; gap: 8px; align-items: center; }
.smelca-roadmap-tab span { font: 600 12px var(--sm-text); background: var(--sm-slate-100); border-radius: 999px; padding: 1px 7px; color: var(--sm-slate-600); }
.smelca-roadmap-tab[aria-selected="true"] { color: var(--sm-strong); font-weight: 600; border-bottom-color: var(--sm-navy); }
.smelca-roadmap .is-filtered-out { display: none !important; }
@media (max-width: 480px) { body .smelca-result { padding: 20px !important; } body .smelca-result-foot { flex-direction: column; align-items: flex-start; gap: 6px; } body .smelca-result::after { font-size: 52px; } }

/* hosting cards */
body .smelca-host { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; }
body .smelca-host > * { margin: 0 !important; }
body .smelca-host-logo { height: 72px; display: flex; align-items: center; justify-content: center; }
body .smelca-host-logo img { max-height: 56px; width: auto; }
body .smelca-host h3 { color: var(--sm-strong) !important; font-size: 21px; }
body .smelca-host .smelca-more a { color: var(--sm-teal-700) !important; }
body .smelca-host::before { content: ""; width: 48px; height: 2px; background: var(--sm-leaf); order: 1; }
body .smelca-host .smelca-host-logo { order: 0; } body .smelca-host h3 { order: 2; } body .smelca-host .smelca-more { order: 3; margin-top: auto !important; }

/* ==========================================================================
   PARTNERS: MAP and CARDS
   ========================================================================== */
body .smelca-map { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(0,1fr); gap: 36px; align-items: center; }
body .smelca-map > * { margin: 0 !important; }
body .smelca-map:not(.has-map) { grid-template-columns: minmax(0,1fr); }
body .smelca-map-list > * { margin: 0 !important; }
body .smelca-map-list > * + * { margin-top: 10px !important; }
body .smelca-map-item { gap: 14px; padding: 12px 16px; border-radius: var(--sm-radius); background: #fff; border: 1px solid var(--sm-slate-200); cursor: pointer; transition: all 260ms var(--sm-ease); }
body .smelca-map-item > * { margin: 0 !important; }
body .smelca-map-item .smelca-flag img { width: 34px; height: 23px; box-shadow: 0 0 0 1px var(--sm-slate-200); }
body .smelca-map-item .smelca-map-name { font-size: 16px; line-height: 1.3; color: var(--sm-strong); }
body .smelca-map-item .smelca-map-meta { font-size: 14px; color: var(--sm-muted); }
body .smelca-map-item::after { content: ""; margin-left: auto; width: 18px; height: 18px; flex: none; background: var(--sm-teal-700); opacity: .4; -webkit-mask: url(../images/ui/arrow-down.svg) center/contain no-repeat; mask: url(../images/ui/arrow-down.svg) center/contain no-repeat; transition: all 260ms; }
body .smelca-map-item.is-hot { background: var(--sm-teal-50); border-color: var(--sm-teal-400); }
body .smelca-map-item.is-hot::after { opacity: 1; transform: translateY(2px); }
.smelca-map-canvas { position: relative; width: 100%; }
.smelca-map-canvas svg { width: 100%; height: auto; display: block; border-radius: var(--sm-radius); background: linear-gradient(180deg, #EEF6F8, #E4F0F3); }
.smelca-map-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; margin-top: 12px; font: 500 13px var(--sm-text); color: var(--sm-body); }
.smelca-map-legend span { display: inline-flex; align-items: center; gap: 8px; }
.smelca-map-legend .sw { width: 14px; height: 14px; border-radius: 4px; background: linear-gradient(135deg, #0B5778, #2C7D92); }
.smelca-map-legend .dot { width: 11px; height: 11px; border-radius: 50%; background: #86B25F; box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--sm-slate-200); }
.smelca-map-legend .hint { color: var(--sm-muted); }
.smelca-map-tip { position: absolute; transform: translate(-50%, -100%); pointer-events: none; background: var(--sm-navy-800); color: #fff; padding: 6px 10px; border-radius: 6px; font: 600 13px var(--sm-text); white-space: nowrap; box-shadow: var(--sm-shadow-2); z-index: 3; }
.smelca-map-pick { margin-top: 12px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 14px; border-radius: var(--sm-radius); background: var(--sm-teal-50); border: 1px solid var(--sm-teal-200); animation: smFade 300ms ease; }
.smelca-map-pick img { width: 30px; height: 20px; object-fit: cover; border-radius: 3px; box-shadow: 0 0 0 1px var(--sm-slate-200); }
.smelca-map-pick b { flex: 1; min-width: 160px; font: 600 15px/1.35 var(--sm-text); color: var(--sm-strong); }
.smelca-map-pick button { border: 1px solid var(--sm-navy); background: #fff; color: var(--sm-navy); border-radius: var(--sm-radius); padding: 7px 12px; font: 600 14px var(--sm-text); cursor: pointer; }
.smelca-map path.sm-c { cursor: pointer; outline: none; transition: transform 320ms var(--sm-ease), filter 320ms, fill 200ms; transform-box: fill-box; transform-origin: center; }
@media (max-width: 980px) { body .smelca-map { grid-template-columns: minmax(0,1fr); gap: 20px; } }
@media (max-width: 520px) { body .smelca-map-item { padding: 10px 12px; } }
body .smelca-partner { padding: 0 !important; display: flex; flex-direction: column; scroll-margin-top: 110px; }
body .smelca-partner > * { margin: 0 !important; }
body .smelca-partner > :not(.smelca-partner-logo-box) { padding-left: 28px; padding-right: 28px; }
body .smelca-partner > :nth-child(2) { padding-top: 28px; } body .smelca-partner > * + * { margin-top: 14px !important; } body .smelca-partner > :last-child { padding-bottom: 28px; }
body .smelca-partner > :nth-child(2) { margin-top: 0 !important; }
body .smelca-partner-logo-box { height: 150px; display: flex; align-items: center; justify-content: center; padding: 24px 32px; border-bottom: 1px solid var(--sm-slate-100); position: relative; }
body .smelca-partner-logo-box::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 3px; width: 100%; background: var(--sm-leaf); transform-origin: left; transform: scaleX(0); transition: transform 420ms var(--sm-ease); }
body .smelca-partner:hover .smelca-partner-logo-box::after { transform: scaleX(1); }
body .smelca-partner-logo { margin: 0 !important; } body .smelca-partner-logo img { max-height: 76px; max-width: 78%; width: auto; object-fit: contain; transition: transform 420ms var(--sm-ease); margin: 0 auto; display: block; }
body .smelca-partner:hover .smelca-partner-logo img { transform: scale(1.04); }
body .smelca-partner-meta { gap: 10px; }
body .smelca-partner-meta > * { margin: 0 !important; }
body .smelca-partner-meta .smelca-flag img { width: 28px; height: 19px; box-shadow: 0 0 0 1px var(--sm-slate-200); }
body .smelca-partner-country { font: 600 15px var(--sm-text); color: var(--sm-muted); }
body .smelca-partner .smelca-more { margin-top: auto !important; }
body .smelca-partner[data-flash] { animation: smFlash 1.8s ease; }
@keyframes smFlash { 0% { box-shadow: 0 0 0 0 rgba(44,125,146,0) } 25% { box-shadow: 0 0 0 6px rgba(44,125,146,.45) } 100% { box-shadow: 0 0 0 0 rgba(44,125,146,0) } }
@media (max-width: 480px) { body .smelca-partner > :not(.smelca-partner-logo-box) { padding-left: 20px; padding-right: 20px; } body .smelca-partner > :nth-child(2) { padding-top: 20px; } body .smelca-partner > :last-child { padding-bottom: 20px; } }

/* ==========================================================================
   NEWS & EVENTS, CONTACT, FORMS
   ========================================================================== */
body .smelca-event { display: flex; flex-direction: column; gap: 4px; padding-left: 56px !important; }
body .smelca-event::before { content: ""; position: absolute; left: 22px; top: 25px; width: 22px; height: 22px; background: var(--sm-teal-700); -webkit-mask: url(../images/ui/calendar.svg) center/contain no-repeat; mask: url(../images/ui/calendar.svg) center/contain no-repeat; }
body .smelca-event > * { margin: 0 !important; }
body .smelca-event-title { font: 600 17px/1.4 var(--sm-text); color: var(--sm-strong); }
body .smelca-event-date { font-size: 15px; color: var(--sm-teal-800); }
body .smelca-news-card .wp-block-post-title a { color: inherit; text-decoration: none; }
body .smelca-placeholder { border: 1px dashed var(--sm-slate-400); border-radius: var(--sm-radius); padding: 24px; font-size: 15px; color: var(--sm-muted); background: #fff; }
body .smelca-form { display: flex; flex-direction: column; gap: 16px; }
body .smelca-form label { display: flex; flex-direction: column; gap: 6px; font: 600 15px/1.3 var(--sm-text); color: var(--sm-strong); }
body .smelca-form label span { color: #A8322D; }
body .smelca-form input:not([type=checkbox]), body .smelca-form select, body .smelca-form textarea { font: 400 17px var(--sm-text); color: var(--sm-body); padding: 11px 12px; border: 1px solid var(--sm-slate-200); border-radius: var(--sm-radius); background: #fff; width: 100%; }
body .smelca-form input:focus, body .smelca-form select:focus, body .smelca-form textarea:focus { outline: none; border-color: var(--sm-teal); box-shadow: 0 0 0 3px rgba(44,125,146,.25); }
body .smelca-form .smelca-check-label { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 400; color: var(--sm-body); }
body .smelca-form .smelca-check-label input { margin-top: 4px; width: 18px; height: 18px; flex: none; accent-color: var(--sm-navy); }
body .smelca-form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 16px; }
body .smelca-form-button { align-self: flex-start; border: 0; border-radius: var(--sm-radius); background: var(--sm-navy); color: #fff; font: 600 16px var(--sm-text); padding: 11px 20px; cursor: pointer; }
body .smelca-form-button.is-green { background: var(--sm-forest); }
body .smelca-contact { align-items: flex-start; gap: 48px; }
body .smelca-contact-side > * + * { margin-top: 16px !important; }
body .smelca-contact-side h3 + .smelca-contact-card { margin-top: 16px !important; }
body .smelca-contact-card { padding: 20px 20px 20px 54px; background: var(--sm-slate-25); border-radius: var(--sm-radius); position: relative; }
body .smelca-contact-card::before { content: ""; position: absolute; left: 20px; top: 22px; width: 20px; height: 20px; background: var(--sm-teal-700); -webkit-mask: url(../images/ui/mail.svg) center/contain no-repeat; mask: url(../images/ui/mail.svg) center/contain no-repeat; }
body .smelca-contact-card > * { margin: 0 !important; font-size: 15px; color: var(--sm-muted); }
body .smelca-contact-card .smelca-contact-role { font-size: 16px; color: var(--sm-strong); }
body .smelca-contact-email { font-family: var(--sm-mono) !important; font-size: 14px !important; }
body .smelca-contact-side h3:nth-of-type(2) { margin-top: 32px !important; }
@media (max-width: 480px) { body .smelca-contact { gap: 20px; } }
body .smelca-social { gap: 12px; }
body .smelca-social .wp-social-link { background: #fff !important; color: var(--sm-navy) !important; border: 1px solid var(--sm-navy); border-radius: var(--sm-radius) !important; }
body .smelca-social .wp-social-link a { padding: 10px; }
body .smelca-social .wp-social-link svg { fill: var(--sm-navy); }
body .smelca-social.is-small .wp-social-link a { padding: 6px; } body .smelca-social.is-small .wp-social-link svg { width: 16px; height: 16px; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
body .smelca-footer { background: var(--sm-slate-25); border-top: 1px solid var(--sm-slate-200); padding-top: 22px; padding-bottom: 18px; position: relative; z-index: 1; }
body .smelca-footer > * + * { margin-block-start: 14px; }
body .smelca-footer-top { display: flex; align-items: center; gap: 20px; }
body .smelca-footer-top > * { margin: 0 !important; }
body .smelca-footer-logo img { height: 30px; width: auto; display: block; }
body .smelca-footer-text { flex: 1; min-width: 0; padding-left: 20px; border-left: 1px solid var(--sm-slate-200); }
body .smelca-footer-text > * { margin: 0 !important; }
body .smelca-footer-project { font-size: 14px; line-height: 1.4; color: var(--sm-strong); }
body .smelca-footer-number { font-size: 12px; color: var(--sm-muted); margin-top: 3px !important; }
body .smelca-footer-number code { font: 500 12px var(--sm-mono); color: var(--sm-body); background: none; }
body .smelca-footer-eu img { height: 36px; width: auto; display: block; }
body .smelca-footer-bottom { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 32px; align-items: end; padding-top: 12px; border-top: 1px solid var(--sm-slate-200); }
body .smelca-footer-bottom > * { margin: 0 !important; }
body .smelca-footer-disclaimer { font-size: 12px; line-height: 1.45; color: var(--sm-muted); }
body .smelca-footer-links { gap: 4px 16px; justify-content: flex-end; align-items: center; }
body .smelca-footer-links > * { margin: 0 !important; }
body .smelca-footer-links p { font-size: 13px; } body .smelca-footer-links a { color: var(--sm-body); }
@media (max-width: 900px) {
  body .smelca-footer-top { flex-wrap: wrap; justify-content: space-between; gap: 12px; }
  body .smelca-footer-text { order: 3; flex-basis: 100%; padding-left: 0; border-left: 0; }
  body .smelca-footer-bottom { grid-template-columns: minmax(0,1fr); gap: 10px; }
  body .smelca-footer-links { justify-content: flex-start; }
}
@media (max-width: 599px) { body .smelca-footer-logo img { height: 26px; } body .smelca-footer-eu img { height: 30px; } }

/* ==========================================================================
   REVEAL ANIMATION (only when the script runs; never in the editor)
   ========================================================================== */
.smelca-js .sm-reveal { opacity: 0; transform: translateY(22px); transition: opacity 750ms var(--sm-ease), transform 750ms var(--sm-ease); }
.smelca-js .sm-reveal.is-in { opacity: 1; transform: none; }
.smelca-js .sm-grow-line { --sm-grow: 0; } .smelca-js .sm-grow-line.is-in { --sm-grow: 1; }
.smelca-js .smelca-objective.sm-grow-line.is-in { --sm-grow: .35; }

/* typography on phones */
@media (max-width: 480px) {
  body :where(.smelca-main) h1 { font-size: 32px; } body :where(.smelca-main) h2 { font-size: 27px; } body :where(.smelca-main) h3 { font-size: 21px; }
  body .smelca-lead { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }

/* ==========================================================================
   EDITOR ONLY: keep everything visible and readable while editing
   ========================================================================== */
.editor-styles-wrapper .smelca-hero { min-height: 0; }
.editor-styles-wrapper .smelca-quickcheck .smelca-qc-option { padding-bottom: 8px; border-bottom: 1px dashed var(--sm-slate-200); }
.editor-styles-wrapper .smelca-epd-spot + .smelca-epd-spot { margin-top: 10px; }

/* ==========================================================================
   LAYOUT SAFETY NET: flex rows keep working even if a block's layout setting is changed
   ========================================================================== */
body .smelca-header-inner { display: flex; flex-wrap: nowrap; align-items: center; justify-content: space-between; }
body .smelca-chips, body .smelca-partner-meta, body .smelca-footer-links, body .smelca-facts { display: flex; flex-wrap: wrap; align-items: center; }
body .smelca-chip, body .smelca-map-item, body .smelca-subnav { display: flex; flex-wrap: nowrap; align-items: center; }
body .smelca-subnav { align-items: stretch; }
body .smelca-epd-doc > .smelca-epd-pin { position: absolute; }
body .smelca-nav { align-self: center; } body .smelca-nav .wp-block-navigation__responsive-container-open { margin: 0; }
