@layer reset, base, components, editorial, theme, overrides;
html, body { overflow-x: clip !important; }
/* FM4 Engine base layout - served externally to avoid CSP inline-style restrictions */
@layer reset {
  /* Reset browser default figure margin (1em 40px in Chrome/Firefox) — mirrors _applyCanvasStyles */
  figure{margin:0;padding:0}
}
@layer base {
  /* ── Smooth scrolling & anchor targeting for in-page navigation ── */
  html {
    scroll-behavior: smooth;
    min-height: 100%;
    max-width: 100%;
    overflow-x: clip;
    background-color: var(--fm4-background-color, var(--fm4-bg-color, #f8fafc));
    color: var(--fm4-text-color, #111827);
  }
  :is(.fm4-block-wrap, .fm4-generic-block, [data-fm4-type])[id],
  .fm4-anchor-target {
    scroll-margin-top: calc(var(--fm4-header-height, 72px) + 24px);
  }
  .fm4-anchor-target {
    display: block;
    position: relative;
    height: 0;
    width: 0;
    margin: 0;
    padding: 0;
    visibility: hidden;
    pointer-events: none;
  }
  /* ── Sticky footer: body is a flex column so the footer hugs the viewport
     bottom even when a page has little content. .fm4-main grows to fill. ── */
  body#fm4-page{display:flex;flex-direction:column;min-height:100vh;min-height:100dvh;margin:0;max-width:100%;overflow-x:clip;background-color:var(--fm4-background-color,var(--fm4-bg-color,#f8fafc));color:var(--fm4-text-color,#111827)}
  body#fm4-page > .fm4-main{flex:1 0 auto;width:100%}
  body#fm4-page > .fm4-site-header,body#fm4-page > .fm4-site-footer{flex-shrink:0}
}
.fm4-main, [data-fm4-parent-group="main_content"], .fm4-g-main-content {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}
.fm4-main {
  padding-top: var(--fm4-main-top-padding, clamp(1.75rem, 3.5vw, 3rem));
  padding-bottom: var(--fm4-main-bottom-padding, clamp(2.5rem, 5vw, 4.5rem));
  padding-inline: var(--fm4-site-padding, clamp(0.9rem, 3.8vw, 2.25rem));
}
.fm4-main > .fm4-hero-cover,
.fm4-main > .fm4-article--has-cover > .fm4-article-cover--magazine,
.fm4-main > .fm4-article--has-cover > .fm4-article-cover--photo,
.fm4-main > .fm4-article--has-cover .fm4-article-hero {
  margin-inline: calc(-1 * var(--fm4-site-padding, clamp(0.9rem, 3.8vw, 2.25rem))) !important;
  width: calc(100% + 2 * var(--fm4-site-padding, clamp(0.9rem, 3.8vw, 2.25rem))) !important;
  max-width: 100vw !important;
}
:is(body, body#fm4-page, html body) > .fm4-main:has(> :is(.monumental-hero, .fm4-block-portfolio_hero_block, .fm4-hero-cover, [data-fm4-type="portfolio_hero_block"], [data-fm4-type*="hero"])),
:is(body, body#fm4-page, html body) > .fm4-main:has(.fm4-block-background_section_block:first-child),
:is(body, body#fm4-page, html body) > .fm4-main:has(.uv-content > .fm4-block-wrap:first-child > .fm4-background-section),
:is(body, body#fm4-page, html body) > .fm4-main:has(.fm4-background-section:first-child),
:is(body.has-cover-hero, body:has(.monumental-hero), body:has([data-fm4-type="portfolio_hero_block"])) > .fm4-main,
.fm4-main:has(> :is(.monumental-hero, .fm4-block-portfolio_hero_block, .fm4-hero-cover, [data-fm4-type*="hero"])),
body#fm4-page > .fm4-main:has(> .fm4-article--has-cover),
body#fm4-page > .fm4-main:has(.fm4-article-cover) {
  padding-top: 0 !important;
  margin-top: 0 !important;
}
body#fm4-page > main.fm4-main:has(.fm4-article),
body#fm4-page > .fm4-main:has(.fm4-article) {
  padding-inline: 0 !important;
  max-width: none !important;
}
:is(body.has-cover-hero, body:has(.monumental-hero), body:has([data-fm4-type="portfolio_hero_block"])) > .fm4-main,
.fm4-main:has(> :is(.monumental-hero, .fm4-block-portfolio_hero_block)) {
  padding-inline: 0 !important;
}
.fm4-main > :is(.monumental-hero, .fm4-block-portfolio_hero_block, .fm4-hero-cover) {
  margin-top: 0 !important;
}
body.has-cover-hero .fm4-main > .fm4-live-add-control:first-child,
body:has(.monumental-hero) .fm4-main > .fm4-live-add-control:first-child,
.fm4-main > .fm4-live-add-control:first-child:has(+ :is(.monumental-hero, .fm4-block-portfolio_hero_block, .fm4-hero-cover, [data-fm4-type*="hero"])) {
  display: none !important;
  min-height: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
}
.fm4-article--has-cover {
  margin-top: 0 !important;
}
.fm4-article-hero {
  margin-top: 0 !important;
}
.fm4-article-cover {
  margin-top: 0 !important;
}
.fm4-article-body figure:first-child,
.fm4-article-body > .blog-images:first-child,
.fm4-article-body > .blog-image:first-child,
.fm4-article-body > img:first-child {
  margin-top: 0 !important;
}
.fm4-article-body .blog-images {
  margin: 1.25rem auto;
  text-align: center;
}
.fm4-article-body .blog-images:first-child {
  margin-top: 0 !important;
}
.fm4-article-body .blog-images .blog-image {
  margin: 0 auto;
  display: block;
}
.fm4-article-body .blog-images img,
.fm4-article-body .blog-image img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  border-radius: var(--fm4-ejs-image-local-radius, var(--fm4-ejs-image-radius, var(--fm4-image-radius, var(--fm4-global-radius, 8px))));
}
.fm4-article-body img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 1.25em auto;
  border-radius: var(--fm4-ejs-image-local-radius, var(--fm4-ejs-image-radius, var(--fm4-image-radius, var(--fm4-global-radius, 8px))));
}
.fm4-article-body,
.fm4-article-body p,
.fm4-article-body span,
.fm4-article-body div:not(.blog-images):not(.blog-image):not(.image-caption),
.fm4-article-body .bread,
.fm4-article-body .bread p,
.fm4-article-body .bread span,
.fm4-article-body .fm4-editorjs-content p {
  font-family: var(--fm4-art-body, 'Source Serif 4', Georgia, serif) !important;
}
@layer base {
  .fm4-article-body {
    font-size: var(--fm4-body-font-size, clamp(1.08rem, 1rem + .35vw, 1.22rem));
    line-height: max(var(--fm4-body-line-height, 1.72), 1.5);
  }
  .fm4-article-body :is(p, .bread, .bread p, .fm4-editorjs-content, .fm4-editorjs-content p) {
    font-size: inherit;
    line-height: inherit;
  }
  .fm4-article-body figure {
    margin: 1.25em 0;
  }
}
/* Layout areas: align-self:start prevents sidebar columns from stretching to match taller neighbours */
.fm4-area{min-height:1px;align-self:start}
/* -- Performance firewall: CSS containment on group scope containers -----------
   Every .fm4-g-* element is an isolated rendering context.
   contain:layout  → internal layout never forces re-layout of ancestors (O(1) per group).
   contain:style   → CSS counters and custom-property resets stay inside the boundary.
   Custom properties (--fm4-*) still cascade normally through contain:style — the
   variable bus is unaffected. Absolutely-positioned children inside a group are
   contained to that group, which is correct behaviour for FM4 block overlays.
   The two-selector form covers both "fm4-g-main" (first class) and "foo fm4-g-bar" (mid-list). */
[class^="fm4-g-"],[class*=" fm4-g-"]{contain:layout style}
/* -- CSS Variable Bus consumers ----------------------------------------------
   The DS Effects Panel (canvas) and buildParamsCss (PHP live page) both output
   --fm4-block-* custom properties. This is the SINGLE consuming rule that maps
   those variables to visual CSS properties. No other place should hardcode these.
   Fallbacks = neutral/invisible so blocks without params are unaffected.
   Template CSS (injected after this file) overrides with equal specificity if needed. */
.fm4-block-wrap{
  position:relative;
  width:100%;
  max-width:var(--fm4-container-width,1200px);
  min-width:0 !important;
  /* Centering — !important so no theme/GrapesJS rule can override.
     full-bleed rule below wins because it has attribute-selector specificity AND !important */
  margin-left:auto !important;
  margin-right:auto !important;
  padding-left:var(--fm4-block-padding-h, var(--fm4-site-padding, clamp(1.5rem, 5vw, 3.5rem)));
  padding-right:var(--fm4-block-padding-h, var(--fm4-site-padding, clamp(1.5rem, 5vw, 3.5rem)));
  box-sizing:border-box;
  /* Layout */
  margin-top:var(--fm4-block-margin-top,var(--fm4-block-margin,0));
  margin-bottom:var(--fm4-block-margin-bottom,var(--fm4-block-margin,0));
  padding-top:var(--fm4-block-padding-top,0);
  padding-bottom:var(--fm4-block-padding-bottom,0);
  overflow:var(--fm4-block-overflow,visible);
  /* Decoration */
  border-radius:var(--fm4-block-radius,0);
  background-color:var(--fm4-block-bg,transparent);
  box-shadow:var(--fm4-block-shadow,none);
  border:var(--fm4-block-border,none);
  opacity:var(--fm4-block-opacity,1);
  /* Filters */
  filter:var(--fm4-block-drop-filter,none);
  backdrop-filter:var(--fm4-block-bdblur,none);
  -webkit-backdrop-filter:var(--fm4-block-bdblur,none);
  text-shadow:var(--fm4-text-shadow,none);
}
.fm4-block-wrap[data-fm4-container-style="full-bleed"],
.fm4-block-wrap.fm4-container-full-bleed {
  max-width: 100% !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  position: static !important;
  left: auto !important;
  right: auto !important;
}
.fm4-block-wrap[data-fm4-container-style="narrow"] {
  max-width: 680px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  width: 100% !important;
  padding-left: var(--fm4-block-padding-h, var(--fm4-site-padding, clamp(1.5rem, 5vw, 3.5rem)));
  padding-right: var(--fm4-block-padding-h, var(--fm4-site-padding, clamp(1.5rem, 5vw, 3.5rem)));
}
.fm4-block-wrap[data-fm4-container-style="card"] {
  max-width: var(--fm4-container-width, 1200px) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  width: 100% !important;
  padding-left: var(--fm4-block-padding-h, var(--fm4-site-padding, clamp(1.5rem, 5vw, 3.5rem)));
  padding-right: var(--fm4-block-padding-h, var(--fm4-site-padding, clamp(1.5rem, 5vw, 3.5rem)));
}
/* Standard (no attribute): margin auto is the default from --fm4-container-ml/mr.
   Inner small blocks inside cards/groups stay 100% contained within their column with 0 outer padding */
.uv-content > .fm4-block-wrap,
.fm4-g-main-content > .fm4-block-wrap,
[data-fm4-block-group] > .fm4-block-wrap,
.fm4-generic-group > *,
.fm4-builder-list .fm4-generic-group > *,
.fm4-block-wrap .fm4-block-wrap,
.fm4-generic-block--card,
.fm4-generic-media,
.fm4-generic-image {
  min-width: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
  box-sizing: border-box !important;
}
.fm4-block-wrap .fm4-block-wrap {
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  position: static !important;
  left: auto !important;
  right: auto !important;
}
.fm4-generic-image img,
.fm4-generic-media img {
  display: block !important;
  max-width: 100% !important;
  width: 100% !important;
  height: auto !important;
  object-fit: cover !important;
}
.fm4-block-wrap h1,.fm4-block-wrap h2,.fm4-block-wrap h3,.fm4-block-wrap h4,.fm4-block-wrap h5,.fm4-block-wrap p,.fm4-block-wrap .fm4-generic-field,.fm4-block-wrap .fm4-hero-title,.fm4-block-wrap .fm4-hero-lead{
  text-shadow:var(--fm4-text-shadow,inherit);
}
/* ── Default: blocks inside layout containers get full width so the block-wrap can self-constrain via max-width ── */
:is(.uv-content, .sd-two-column, .sd-column-text, .sd-column-side, .fm4-area, [class*="col-"], [class*="grid-"], [class*="fm4-g-"]) > .fm4-block-wrap {
  position: static;
  left: auto;
  right: auto;
  width: 100%;
  /* DO NOT set max-width here — each block controls its own max-width via data-fm4-container-style or .fm4-block-wrap default (1200px) */
}
/* Full-bleed override: only blocks explicitly set to full-bleed stretch to 100% */
:is(.uv-content, .sd-two-column, .sd-column-text, .sd-column-side, .fm4-area, [class*="col-"], [class*="grid-"], [class*="fm4-g-"]) > .fm4-block-wrap[data-fm4-container-style="full-bleed"],
:is(.uv-content, .sd-two-column, .sd-column-text, .sd-column-side, .fm4-area, [class*="col-"], [class*="grid-"], [class*="fm4-g-"]) > .fm4-block-wrap.fm4-container-full-bleed {
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
/* -- CSS Variable Bus - image/asset consumers ---------------------------------
   --fm4-block-filter : curves/blur/opacity -> <img> inside block wrapper
   --fm4-block-mask   : clip-path polygon/path -> <img> inside block wrapper
   --fm4-img-filter   : hero/cover images
   --fm4-figure-filter: img_shadow_on drop-shadow on <figure> (follows clip-path)
   Two rules - same declarations, different specificity:
   L1 class rule  (0,0,2,1): base browsers / embedded renders without #fm4-page
   L2 ID rule     (1,0,2,1): NUCLEAR OPTION - beats any GrapesJS #id rule (0,1,0,0)
                              that still carries filter/clip-path/object-position.
   Both carry !important to also beat inline style="" values.
   The ID rule wins among !important declarations because (1,0,2,1) > (0,1,0,0). */
.fm4-block-wrap img,.fm4-block-wrap video{
  filter:var(--fm4-block-filter,none)!important;
  clip-path:var(--fm4-block-mask,none)!important;
  object-position:var(--fm4-smart-focal, var(--fm4-img-object-position, var(--fm4-block-focal-x,50%) var(--fm4-block-focal-y,50%)))!important
}
#fm4-page .fm4-block-wrap img,#fm4-page .fm4-block-wrap video{
  filter:var(--fm4-block-filter,none)!important;
  clip-path:var(--fm4-block-mask,none)!important;
  object-position:var(--fm4-smart-focal, var(--fm4-img-object-position, var(--fm4-block-focal-x,50%) var(--fm4-block-focal-y,50%)))!important
}
/* container drop-filter + top/bottom margin/padding guarded with ID specificity.
   margin-left/right are NOT here: --fm4-block-margin-left defaults to 0 on :root
   which would always override the auto centering. Centering is handled by
   .fm4-block-wrap { margin: auto } and data-fm4-container-style rules. */
#fm4-page .fm4-block-wrap{
  filter:var(--fm4-block-drop-filter,none)!important;
  margin-top:var(--fm4-block-margin-top,var(--fm4-block-margin,0))!important;
  margin-bottom:var(--fm4-block-margin-bottom,var(--fm4-block-margin,0))!important;
}
@layer base {
  #fm4-page .fm4-block-wrap {
    padding-top: var(--fm4-block-padding-top, 0);
    padding-right: var(--fm4-block-padding-right, 0);
    padding-bottom: var(--fm4-block-padding-bottom, 0);
    padding-left: var(--fm4-block-padding-left, 0);
  }
}
/* Stacked blocks inside a single three-column cell or gallery-grid cell get a
   controllable vertical gap so multiple images/blocks in one column are not
   glued together. Sets the --fm4-block-margin-top VARIABLE (consumed by the
   ID rule above) rather than margin-top directly, so it survives the !important
   bus. First child stays flush to the cell top. Driven by the Content gap tweak.
   Lives in the always-loaded base CSS so it applies to every module (pages,
   news, products, …), not just news articles. */
.fm4-section-content > .fm4-block-wrap:first-child,
.fm4-gallery-grid > .fm4-block-wrap,
.fm4-generic-group > .fm4-block-wrap,
.fm4-builder-list .fm4-block-wrap,
.fm4-card-grid > .fm4-block-wrap,
.fm4-grid > .fm4-block-wrap,
[data-fm4-block-group]:not([data-fm4-block-group="images"]):not([data-fm4-block-group="content_blocks"]) > .fm4-block-wrap,
.fm4-block-wrap .fm4-block-wrap{--fm4-block-margin-top:0px !important;--fm4-block-margin:0px !important;margin-top:0 !important;margin-bottom:0 !important}
.fm4-section-content--stack > .fm4-block-wrap + .fm4-block-wrap,
.fm4-section-content--stack > .fm4-live-add-control + .fm4-block-wrap{--fm4-block-margin-top:var(--fm4-col-block-gap,var(--fm4-content-gap,1rem))}
/* Section container: responsive columns. Grid/masonry collapse to a single
   column on phones so multi-column sections stay readable. The column count is
   driven by --fm4-section-cols (set inline per block from the Columns control). */
.fm4-section-content{min-width:0;min-height:2rem}
body.fm4-live-editing .fm4-section-content:empty{min-height:3.5rem;border:2px dashed rgba(82,82,91,.22);border-radius:10px;display:flex;align-items:center;justify-content:center}
body.fm4-live-editing .fm4-section-content:empty::after{content:'Klicka + för att lägga till innehåll';color:rgba(82,82,91,.5);font:600 12px/1.2 Inter,system-ui,sans-serif}
body.fm4-live-editing .fm4-section-content > .fm4-live-add-control{flex:0 0 100%;min-height:2rem;z-index:2147482001}
body.fm4-live-editing .fm4-section-content > .fm4-live-add-control .fm4-live-add-trigger{background:#f8fafc;border-color:#2563eb;color:#2563eb;box-shadow:0 2px 8px rgba(37,99,235,.18)}
.fm4-section-content--grid > .fm4-block-wrap,.fm4-section-content--masonry > .fm4-block-wrap{--fm4-block-margin-top:0px;min-width:0}
.fm4-section-content--grid > .fm4-live-add-control{grid-column:1 / -1;--fm4-block-margin-top:0px}
/* Per-column add-controls in an empty grid section: each occupies a single
   track (not the full row) so the user sees + drop zones matching the
   configured column count. */
body.fm4-live-editing .fm4-section-content--grid > .fm4-live-add-control.fm4-live-add-col,
body.fm4-live-editing .fm4-section-content--masonry > .fm4-live-add-control.fm4-live-add-col,
body.fm4-live-editing .fm4-gallery-grid > .fm4-live-add-control.fm4-live-add-col {grid-column:auto;flex:1 1 auto;min-height:3.5rem;margin:0;border:2px dashed rgba(82,82,91,.28);border-radius:10px;display:flex;align-items:center;justify-content:center}
body.fm4-live-editing .fm4-section-content--masonry > .fm4-live-add-control.fm4-live-add-col,
body.fm4-live-editing .fm4-gallery-grid.fm4-list-layout--masonry > .fm4-live-add-control.fm4-live-add-col {break-inside:avoid;margin-bottom:var(--fm4-col-block-gap,1rem)}
.fm4-section-content--masonry > .fm4-block-wrap{break-inside:avoid}
.fm4-hero-cover img, .fm4-article-cover img, .fm4-gallery-item img, .fm4-story-figure img, .fm4-ejs-image img {filter:var(--fm4-img-filter,none);object-position:var(--fm4-hero-focal-x,var(--fm4-focal-x,50%)) var(--fm4-hero-focal-y,var(--fm4-focal-y,50%))}
/* img_shadow_on drop-shadow on <figure> follows clip-path contour.
   Always transparent so no rectangular box shows through the masked <img> shape. */
/* --fm4-image-radius: theme-level default radius for standalone images (not cover/hero).
   Applied to <img> directly so drop-shadows on the <figure> container are not clipped. */
.fm4-image-block{filter:var(--fm4-figure-filter,none);background-color:transparent}
.fm4-image-block img{border-radius:var(--fm4-card-media-radius,var(--fm4-image-radius,var(--fm4-global-radius,8px)))}
.fm4-image-block--card{box-sizing:border-box;padding:.5rem .5rem .68rem;border:1px solid color-mix(in srgb,var(--fm4-border-color,#e2e8f0) 86%,transparent);border-radius:max(10px,var(--fm4-global-radius,8px));background:var(--fm4-surface-color,#fff);box-shadow:0 14px 34px rgba(15,23,42,.1)}
.fm4-image-block--card img{border-radius:var(--fm4-card-media-radius,var(--fm4-image-radius,var(--fm4-global-radius,8px)))}
.fm4-image-block--card.fm4-image-block--fit-contain{display:grid;place-items:center;overflow:hidden}
.fm4-image-block--card.fm4-image-block--fit-contain img{width:auto!important;height:auto!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;border-radius:var(--fm4-card-media-radius,var(--fm4-image-radius,var(--fm4-global-radius,8px)))!important}
.fm4-image-block--editorial{overflow:hidden;border-radius:max(10px,var(--fm4-global-radius,8px));background:var(--fm4-surface-color,#fff)}
.fm4-image-block--editorial img{aspect-ratio:4/3;object-fit:cover}
.fm4-image-block--width-proportional{display:inline-block;max-width:100%;vertical-align:top}
.fm4-image-block--width-full-bleed{width:100vw;width:100dvw;max-width:none;margin-left:calc(50% - 50vw);margin-left:calc(50% - 50dvw);margin-right:calc(50% - 50vw);margin-right:calc(50% - 50dvw);border-radius:0!important}
.fm4-image-block--width-full-bleed img{width:100%;border-radius:0!important}
.fm4-image-block--fit-cover,.fm4-image-block--fit-contain,.fm4-image-block--fit-repeat{overflow:hidden}
.fm4-image-block--fit-contain{display:grid;place-items:center;background:transparent}
.fm4-image-block--fit-repeat img{pointer-events:none}
.fm4-image-block--empty{display:grid;place-items:center;min-height:9rem;border:1px dashed color-mix(in srgb,var(--fm4-border-color,#cbd5e1) 80%,var(--fm4-primary-color,#2563eb));border-radius:max(8px,var(--fm4-global-radius,8px));background:color-mix(in srgb,var(--fm4-surface-color,#fff) 94%,var(--fm4-primary-color,#2563eb));color:color-mix(in srgb,var(--fm4-text-color,#1f2937) 72%,var(--fm4-primary-color,#2563eb));font-weight:700}
.fm4-image-placeholder{padding:1rem;text-align:center}
.fm4-image-block-frame{position:relative;display:block;width:100%;max-width:100%;box-sizing:border-box}
.fm4-image-block-frame--proportional{display:inline-block;width:auto;vertical-align:top}
/* Image size caps (image_size setting): S/M/L center a smaller image inside the
   column; Full keeps the column width. Applies to the frame so card padding,
   captions and overlays all scale with the chosen width. */
.fm4-block-wrap.fm4-block-image_block .fm4-image-block-frame--size-lg{display:block!important;width:auto!important;max-width:760px!important;margin-left:auto!important;margin-right:auto!important}
.fm4-block-wrap.fm4-block-image_block .fm4-image-block-frame--size-md{display:block!important;width:auto!important;max-width:520px!important;margin-left:auto!important;margin-right:auto!important}
.fm4-block-wrap.fm4-block-image_block .fm4-image-block-frame--size-sm{display:block!important;width:auto!important;max-width:320px!important;margin-left:auto!important;margin-right:auto!important}
.fm4-block-wrap.fm4-block-image_block .fm4-image-block-frame--size-xs{display:block!important;width:auto!important;max-width:160px!important;margin-left:auto!important;margin-right:auto!important}
.fm4-block-wrap.fm4-block-image_block .fm4-image-block-frame--size-lg.fm4-block-align--left,.fm4-block-wrap.fm4-block-image_block .fm4-image-block-frame--size-md.fm4-block-align--left,.fm4-block-wrap.fm4-block-image_block .fm4-image-block-frame--size-sm.fm4-block-align--left,.fm4-block-wrap.fm4-block-image_block .fm4-image-block-frame--size-xs.fm4-block-align--left{margin-left:0!important;margin-right:auto!important}
.fm4-block-wrap.fm4-block-image_block .fm4-image-block-frame--size-lg.fm4-block-align--right,.fm4-block-wrap.fm4-block-image_block .fm4-image-block-frame--size-md.fm4-block-align--right,.fm4-block-wrap.fm4-block-image_block .fm4-image-block-frame--size-sm.fm4-block-align--right,.fm4-block-wrap.fm4-block-image_block .fm4-image-block-frame--size-xs.fm4-block-align--right{margin-left:auto!important;margin-right:0!important}
.fm4-image-block-frame--full-bleed{width:100vw;width:100dvw;max-width:100vw;max-width:100dvw;margin-left:calc(50% - 50vw);margin-left:calc(50% - 50dvw);margin-right:calc(50% - 50vw);margin-right:calc(50% - 50dvw)}
.fm4-image-block-frame--full-bleed>.fm4-image-block--width-full-bleed{width:100%;max-width:100%;margin-left:0;margin-right:0}
/* Block placement (block_align setting). Center/left/right position the image at
   its natural width in the column via flex justify; float lets following text/blocks
   flow beside it. Flex on the wrapper avoids fighting the frame's display rules. */
.fm4-block-wrap.fm4-block-image_block:has(> .fm4-block-align--center){display:flex;justify-content:center}
.fm4-block-wrap.fm4-block-image_block:has(> .fm4-block-align--left){display:flex;justify-content:flex-start}
.fm4-block-wrap.fm4-block-image_block:has(> .fm4-block-align--right){display:flex;justify-content:flex-end}
/* Align via the frame's own auto-margins so it stays correct even when edit-mode overlays (block quickbar + position:relative on the wrap) interfere with the parent :has() flex centering. Works whether the wrap is flex or plain block. */
.fm4-image-block-frame.fm4-block-align--left{width:fit-content;max-width:100%;margin-left:0;margin-right:auto}
.fm4-image-block-frame.fm4-block-align--center{width:fit-content;max-width:100%;margin-left:auto;margin-right:auto}
.fm4-image-block-frame.fm4-block-align--right{width:fit-content;max-width:100%;margin-left:auto;margin-right:0}
.fm4-block-wrap.fm4-block-image_block:has(> .fm4-block-align--float-left){float:left;width:fit-content;max-width:min(48%,440px);margin:.4rem 1.6rem 1rem 0}
.fm4-block-wrap.fm4-block-image_block:has(> .fm4-block-align--float-right){float:right;width:fit-content;max-width:min(48%,440px);margin:.4rem 0 1rem 1.6rem}
@media (max-width: 768px){.fm4-block-wrap.fm4-block-image_block:has(> .fm4-block-align--float-left),.fm4-block-wrap.fm4-block-image_block:has(> .fm4-block-align--float-right){float:none;width:auto;max-width:100%;margin-left:0;margin-right:0}}
.fm4-image-block-frame>.fm4-image-block{margin:0}
.fm4-image-block-frame>.fm4-caption{box-sizing:border-box;max-width:100%}
.fm4-block-wrap.fm4-block-image_block .fm4-image-block-frame{position:relative!important}
#fm4-page .fm4-block-wrap.fm4-block-image_block .fm4-image-block-frame:not([data-bld-surface="card"])>.fm4-caption:not(.fm4-caption--manual),
.fm4-block-wrap.fm4-block-image_block .fm4-image-block-frame:not([data-bld-surface="card"])>.fm4-caption:not(.fm4-caption--manual){position:absolute!important;left:50%!important;right:auto!important;bottom:.75rem!important;width:max-content!important;max-width:calc(100% - 1.5rem)!important;transform:translateX(-50%)!important;box-sizing:border-box!important;margin:0!important;padding:.4rem .65rem!important;background:color-mix(in srgb,var(--fm4-surface-color,#fff) 76%,transparent)!important;-webkit-backdrop-filter:blur(14px) saturate(155%)!important;backdrop-filter:blur(14px) saturate(155%)!important;border:1px solid color-mix(in srgb,var(--fm4-border-color,#e2e8f0) 76%,transparent)!important;border-radius:max(6px,calc(var(--fm4-global-radius,12px) - 2px))!important;box-shadow:0 10px 28px color-mix(in srgb,var(--fm4-text-color) 14%,transparent)!important;color:var(--fm4-text-color,#111827)!important;text-align:center!important;opacity:1!important;overflow:hidden!important;z-index:4!important}
.fm4-block-wrap.fm4-block-image_block .fm4-image-block-frame>.fm4-image-block--card+.fm4-caption:not(.fm4-caption--manual){bottom:.82rem!important;max-width:calc(100% - 1.7rem)!important;border-radius:max(7px,calc(var(--fm4-global-radius,8px) - 2px))!important}
body:not(.fm4-live-editing)#fm4-page .fm4-image-block-frame>.fm4-caption[data-fm4-live-empty="1"]:empty,
body:not(.fm4-live-editing) .fm4-block-wrap.fm4-block-image_block .fm4-image-block-frame>.fm4-caption[data-fm4-live-empty="1"]:empty{display:none!important;background:transparent!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;border:0!important;box-shadow:none!important;padding:0!important}
.fm4-block-wrap.fm4-block-image_block .fm4-image-block-frame--proportional{display:inline-block!important;width:auto!important;max-width:100%!important}
/* Aligned proportional frames: block-level so margin auto can center */
.fm4-block-wrap.fm4-block-image_block .fm4-image-block-frame--proportional.fm4-block-align--center{display:block!important;width:fit-content!important;max-width:100%!important;margin-left:auto!important;margin-right:auto!important}
.fm4-block-wrap.fm4-block-image_block .fm4-image-block-frame--proportional.fm4-block-align--left{display:block!important;width:fit-content!important;max-width:100%!important;margin-left:0!important;margin-right:auto!important}
.fm4-block-wrap.fm4-block-image_block .fm4-image-block-frame--proportional.fm4-block-align--right{display:block!important;width:fit-content!important;max-width:100%!important;margin-left:auto!important;margin-right:0!important}
.fm4-hero-cover{display:block;overflow:hidden;width:100%;max-width:100%;box-sizing:border-box}
/* Figcaption normalisation: never stretch in grid/flex containers;
   no margin bleeds from sibling image; readable font size */
figcaption,.fm4-block-wrap figcaption,.fm4-block-wrap .fm4-caption,.fm4-image-block~figcaption{height:fit-content;margin-top:0;margin-bottom:0;font-size:var(--fm4-caption-size,0.88rem);line-height:1.4}
/* Image block caption overlay: figcaption sits outside <figure>, inside .fm4-block-image_block.
   No default background — template CSS provides background via !important rules. */
.fm4-block-image_block{position:relative}
.fm4-block-image_block>figcaption.fm4-caption,.fm4-block-image_block>.fm4-caption{position:absolute;bottom:.75rem;left:50%;right:auto;width:max-content;max-width:calc(100% - 1.5rem);transform:translateX(-50%);box-sizing:border-box;color:var(--fm4-text-color,#111827);text-align:center;padding:.4rem .65rem;background:color-mix(in srgb,var(--fm4-surface-color,#fff) 68%,transparent);-webkit-backdrop-filter:blur(14px) saturate(155%);backdrop-filter:blur(14px) saturate(155%);border:1px solid color-mix(in srgb,var(--fm4-border-color,#e2e8f0) 72%,transparent);border-radius:max(7px,calc(var(--fm4-global-radius,8px) - 2px));box-shadow:0 10px 28px rgba(15,23,42,.16)}
#fm4-page .fm4-block-wrap.fm4-block-image_block{background-color:transparent!important}
/* Image overlay text — absolutely positioned over the image. The <figure> (.fm4-image-block) is the positioning anchor. Mirror of the article-preview rules in admin/includes/article_preview_css.php so live + static match. */
.fm4-image-block-frame, .fm4-image-block{position:relative!important}
.fm4-img-overlay-text{position:absolute!important;z-index:5;pointer-events:none;max-width:100%;box-sizing:border-box}
.fm4-img-overlay-text>*{pointer-events:auto;margin:0}
.fm4-ov-pos--bottomleft{bottom:0;left:0}
.fm4-ov-pos--bottomright{bottom:0;right:0;text-align:right}
.fm4-ov-pos--bottomcenter{bottom:0;left:50%;transform:translateX(-50%);text-align:center}
.fm4-ov-pos--topleft{top:0;left:0}
.fm4-ov-pos--topright{top:0;right:0;text-align:right}
.fm4-ov-pos--topcenter{top:0;left:50%;transform:translateX(-50%);text-align:center}
.fm4-ov-pos--center{top:50%;left:50%;transform:translate(-50%,-50%);text-align:center}
.fm4-ov-style--dark{background:linear-gradient(transparent 25%,rgba(0,0,0,.65));padding:2.5rem 1.2rem 1rem;width:100%;color:#fff}
.fm4-ov-style--dark-solid{background:rgba(0,0,0,.55);padding:1rem 1.2rem;width:100%;color:#fff}
.fm4-ov-style--light{color:#fff;text-shadow:0 1px 6px rgba(0,0,0,.5);padding:1rem 1.2rem}
.fm4-accent{color:var(--fm4-primary-color,var(--fm4-accent-color,#fb923c))}
.fm4-ov-style--accent{background:var(--fm4-primary-color,#b91c1c);color:#fff;padding:.7rem 1.2rem;border-radius:4px;margin:.8rem;width:max-content;max-width:calc(100% - 1.6rem)}
.fm4-ov-style--none{padding:1rem 1.2rem}
.fm4-ov-style--glass{margin:.8rem;padding:.55rem .85rem;width:max-content;max-width:calc(100% - 1.6rem);color:var(--fm4-text-color,#111827);background:color-mix(in srgb,var(--fm4-surface-color,#fff) 62%,transparent);-webkit-backdrop-filter:blur(14px) saturate(150%);backdrop-filter:blur(14px) saturate(150%);border:1px solid color-mix(in srgb,var(--fm4-border-color,#e2e8f0) 60%,transparent);border-radius:max(8px,calc(var(--fm4-global-radius,8px) - 1px));box-shadow:0 8px 24px rgba(15,23,42,.18)}
.fm4-ov-style--glass-panel{padding:.7rem 1.1rem;width:100%;color:var(--fm4-text-color,#111827);background:color-mix(in srgb,var(--fm4-surface-color,#fff) 52%,transparent);-webkit-backdrop-filter:blur(16px) saturate(150%);backdrop-filter:blur(16px) saturate(150%);border-top:1px solid color-mix(in srgb,var(--fm4-border-color,#e2e8f0) 50%,transparent)}
.fm4-image-block--card .fm4-img-overlay-text.fm4-ov-style--dark,
.fm4-image-block--card .fm4-img-overlay-text.fm4-ov-style--dark-solid{left:.5rem!important;right:.5rem!important;bottom:.5rem!important;top:auto!important;width:auto!important;max-width:calc(100% - 1rem);transform:none!important;border-radius:max(6px,calc(var(--fm4-global-radius,8px) - 3px))}
.fm4-image-block--editorial .fm4-img-overlay-text.fm4-ov-style--dark,
.fm4-image-block--editorial .fm4-img-overlay-text.fm4-ov-style--dark-solid{border-radius:0 0 max(10px,var(--fm4-global-radius,8px)) max(10px,var(--fm4-global-radius,8px))}
/* Overlay host & slot hover transitions (migrated from FM4_Engine::ensureOverlayCss) */
.fm4-ov-host{position:relative}
.fm4-ov-slot{transition:opacity .3s ease,transform .3s ease,clip-path .4s ease;box-sizing:border-box}
.fm4-ov-host:hover .fm4-ov-fade_out{opacity:0}
.fm4-ov-host:hover .fm4-ov-zoom{transform:scale(1.07)}
.fm4-ov-host:hover .fm4-ov-reveal{clip-path:inset(0 0% 0 0)}
/* Caption placement/treatment (caption_position + caption_style). Opts out of the
   runtime-guard glass chip via .fm4-caption--manual; needs #fm4-page + extra classes
   to beat the base !important rule that forces left/right/width on captions. */
#fm4-page .fm4-block-wrap.fm4-block-image_block .fm4-image-block-frame>.fm4-caption--manual{box-sizing:border-box!important;text-align:center!important;font-size:var(--fm4-caption-size,0.88rem)!important;line-height:1.4!important;overflow:hidden!important}
#fm4-page .fm4-block-wrap.fm4-block-image_block .fm4-image-block-frame>.fm4-caption--manual.fm4-cap-pos--overlay-bottom,#fm4-page .fm4-block-wrap.fm4-block-image_block .fm4-image-block-frame>.fm4-caption--manual.fm4-cap-pos--overlay-bottom-left,#fm4-page .fm4-block-wrap.fm4-block-image_block .fm4-image-block-frame>.fm4-caption--manual.fm4-cap-pos--overlay-bottom-right,#fm4-page .fm4-block-wrap.fm4-block-image_block .fm4-image-block-frame>.fm4-caption--manual.fm4-cap-pos--overlay-top,#fm4-page .fm4-block-wrap.fm4-block-image_block .fm4-image-block-frame>.fm4-caption--manual.fm4-cap-pos--overlay-top-left,#fm4-page .fm4-block-wrap.fm4-block-image_block .fm4-image-block-frame>.fm4-caption--manual.fm4-cap-pos--overlay-top-right{position:absolute!important;width:max-content!important;max-width:calc(100% - 1.5rem)!important;margin:0!important;z-index:5!important}
#fm4-page .fm4-block-wrap.fm4-block-image_block .fm4-image-block-frame>.fm4-caption--manual.fm4-cap-pos--overlay-bottom,#fm4-page .fm4-block-wrap.fm4-block-image_block .fm4-image-block-frame>.fm4-caption--manual.fm4-cap-pos--overlay-top{left:50%!important;right:auto!important;transform:translateX(-50%)!important}
#fm4-page .fm4-block-wrap.fm4-block-image_block .fm4-image-block-frame>.fm4-caption--manual.fm4-cap-pos--overlay-bottom-left,#fm4-page .fm4-block-wrap.fm4-block-image_block .fm4-image-block-frame>.fm4-caption--manual.fm4-cap-pos--overlay-top-left{left:.75rem!important;right:auto!important;transform:none!important}
#fm4-page .fm4-block-wrap.fm4-block-image_block .fm4-image-block-frame>.fm4-caption--manual.fm4-cap-pos--overlay-bottom-right,#fm4-page .fm4-block-wrap.fm4-block-image_block .fm4-image-block-frame>.fm4-caption--manual.fm4-cap-pos--overlay-top-right{right:.75rem!important;left:auto!important;transform:none!important}
#fm4-page .fm4-block-wrap.fm4-block-image_block .fm4-image-block-frame>.fm4-caption--manual.fm4-cap-pos--overlay-bottom,#fm4-page .fm4-block-wrap.fm4-block-image_block .fm4-image-block-frame>.fm4-caption--manual.fm4-cap-pos--overlay-bottom-left,#fm4-page .fm4-block-wrap.fm4-block-image_block .fm4-image-block-frame>.fm4-caption--manual.fm4-cap-pos--overlay-bottom-right{bottom:.75rem!important;top:auto!important}
#fm4-page .fm4-block-wrap.fm4-block-image_block .fm4-image-block-frame>.fm4-caption--manual.fm4-cap-pos--overlay-top,#fm4-page .fm4-block-wrap.fm4-block-image_block .fm4-image-block-frame>.fm4-caption--manual.fm4-cap-pos--overlay-top-left,#fm4-page .fm4-block-wrap.fm4-block-image_block .fm4-image-block-frame>.fm4-caption--manual.fm4-cap-pos--overlay-top-right{top:.75rem!important;bottom:auto!important}
#fm4-page .fm4-block-wrap.fm4-block-image_block .fm4-image-block-frame>.fm4-caption--manual.fm4-cap-pos--below{position:static!important;left:auto!important;right:auto!important;transform:none!important;width:auto!important;max-width:100%!important;margin:.55rem 0 0!important}
#fm4-page .fm4-block-wrap.fm4-block-image_block .fm4-image-block-frame>.fm4-caption--manual.fm4-cap-pos--hidden{display:none!important;position:static!important;left:auto!important;right:auto!important;transform:none!important;width:0!important;height:0!important;margin:0!important;opacity:0!important;visibility:hidden!important;overflow:hidden!important}
#fm4-page .fm4-block-wrap.fm4-block-image_block .fm4-image-block-frame>.fm4-caption--manual.fm4-cap-style--glass{background:color-mix(in srgb,var(--fm4-surface-color,#fff) 62%,transparent)!important;-webkit-backdrop-filter:blur(14px) saturate(150%)!important;backdrop-filter:blur(14px) saturate(150%)!important;border:1px solid color-mix(in srgb,var(--fm4-border-color,#e2e8f0) 60%,transparent)!important;border-radius:max(8px,calc(var(--fm4-global-radius,8px) - 1px))!important;box-shadow:0 8px 24px rgba(15,23,42,.18)!important;color:var(--fm4-text-color,#111827)!important;padding:.45rem .7rem!important}
#fm4-page .fm4-block-wrap.fm4-block-image_block .fm4-image-block-frame>.fm4-caption--manual.fm4-cap-style--glass-panel{background:color-mix(in srgb,var(--fm4-surface-color,#fff) 52%,transparent)!important;-webkit-backdrop-filter:blur(16px) saturate(150%)!important;backdrop-filter:blur(16px) saturate(150%)!important;border-radius:max(8px,calc(var(--fm4-global-radius,8px) - 1px))!important;box-shadow:0 8px 24px rgba(15,23,42,.16)!important;color:var(--fm4-text-color,#111827)!important;padding:.55rem 1rem!important}
#fm4-page .fm4-block-wrap.fm4-block-image_block .fm4-image-block-frame>.fm4-caption--manual.fm4-cap-pos--overlay-bottom.fm4-cap-style--glass-panel,#fm4-page .fm4-block-wrap.fm4-block-image_block .fm4-image-block-frame>.fm4-caption--manual.fm4-cap-pos--overlay-top.fm4-cap-style--glass-panel{left:0!important;right:0!important;transform:none!important;width:100%!important;max-width:100%!important;border-radius:0!important}
#fm4-page .fm4-block-wrap.fm4-block-image_block .fm4-image-block-frame>.fm4-caption--manual.fm4-cap-style--solid{background:rgba(0,0,0,.62)!important;color:#fff!important;border:0!important;border-radius:max(7px,calc(var(--fm4-global-radius,8px) - 2px))!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;box-shadow:none!important;padding:.45rem .8rem!important}
#fm4-page .fm4-block-wrap.fm4-block-image_block .fm4-image-block-frame>.fm4-caption--manual.fm4-cap-style--plain{background:transparent!important;border:0!important;box-shadow:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;color:#fff!important;text-shadow:0 1px 6px rgba(0,0,0,.55)!important;padding:.3rem .5rem!important}
#fm4-page .fm4-block-wrap.fm4-block-image_block .fm4-image-block-frame>.fm4-caption--manual.fm4-cap-pos--below.fm4-cap-style--plain,#fm4-page .fm4-block-wrap.fm4-block-image_block .fm4-image-block-frame>.fm4-caption--manual.fm4-cap-pos--hidden.fm4-cap-style--plain{color:var(--fm4-text-color,#111827)!important;text-shadow:none!important}
.fm4-text-block{overflow:hidden}
.fm4-text-block:has(.fm4-image-block-frame--full-bleed),.fm4-text-content:has(.fm4-image-block-frame--full-bleed),.fm4-text-content .fm4-block-wrap.fm4-block-image_block:has(.fm4-image-block-frame--full-bleed){overflow:visible}
.fm4-text-block img{max-width:100%;height:auto}
.fm4-gallery-shell{display:grid;gap:var(--fm4-content-gap,1rem);margin-block:var(--fm4-section-gap,clamp(1.4rem,4vw,2.5rem))}
.fm4-gallery-title{margin:0;font-size:var(--fm4-h2-size,clamp(1.45rem,3vw,2.2rem));line-height:var(--fm4-heading-line-height,1.12)}
.fm4-gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr));gap:var(--fm4-content-gap,1rem)}
.fm4-gallery--carousel{display:flex;gap:var(--fm4-content-gap,1rem);overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;padding:.15rem .1rem .9rem;scrollbar-width:thin}
.fm4-gallery--carousel>.fm4-block-wrap,.fm4-gallery--carousel>.fm4-gallery-item{flex:0 0 min(78vw,520px);scroll-snap-align:start}
.fm4-gallery--carousel .fm4-image-block-frame{height:100%}
.fm4-gallery--carousel .fm4-image-block{height:100%;min-height:clamp(220px,38vw,430px)}
.fm4-gallery--carousel .fm4-image-block img{height:100%!important;object-fit:cover}
.fm4-gallery-empty{min-height:12rem;display:grid;place-items:center;border:1px dashed color-mix(in srgb,var(--fm4-border-color,#cbd5e1) 78%,var(--fm4-primary-color,#2563eb));border-radius:max(10px,var(--fm4-global-radius,10px));background:color-mix(in srgb,var(--fm4-surface-color,#fff) 94%,var(--fm4-primary-color,#2563eb));color:color-mix(in srgb,var(--fm4-text-color,#1f2937) 68%,var(--fm4-primary-color,#2563eb));font-weight:750}
/* Feature-cards preset for section containers: card chrome on each column child. */
.fm4-section.feature-cards .fm4-section-content{gap:var(--fm4-content-gap,1rem)!important}
.fm4-section.feature-cards .fm4-section-content > .fm4-block-wrap{padding:clamp(1rem,2.4vw,1.35rem);border:1px solid color-mix(in srgb,var(--fm4-border-color,#e2e8f0) 84%,transparent);border-radius:max(10px,var(--fm4-global-radius,10px));background:var(--fm4-surface-color,#fff);box-shadow:0 14px 34px rgba(15,23,42,.07)}
.fm4-section.feature-cards .fm4-text-content{display:grid;gap:.55rem}
.fm4-section.feature-cards .fm4-text-content h3{margin:0!important;font-size:clamp(1.05rem,1.4vw,1.25rem);line-height:1.2}
.fm4-section.feature-cards .fm4-text-content p{margin:0!important;color:color-mix(in srgb,var(--fm4-text-color,#1f2937) 78%,transparent);line-height:1.6}
.fm4-recipe-intro{display:grid;gap:.7rem;max-width:760px;margin-block:0 var(--fm4-content-gap,1rem)}
.fm4-recipe-intro h2{margin:0;font-size:var(--fm4-h2-size,clamp(1.45rem,3vw,2.2rem));line-height:var(--fm4-heading-line-height,1.12)}
.fm4-recipe-intro p{margin:0}
.fm4-step-card,.fm4-stat-card{display:grid;gap:.55rem}
.fm4-step-number{display:inline-grid;place-items:center;width:2.2rem;height:2.2rem;border-radius:999px;background:color-mix(in srgb,var(--fm4-primary-color,#2563eb) 14%,var(--fm4-surface-color,#fff));color:var(--fm4-primary-color,#2563eb);font-weight:800;font-size:.95rem}
.fm4-stat-value{display:block;color:var(--fm4-primary-color,#2563eb);font-size:clamp(2rem,4.5vw,3.2rem);line-height:.95;letter-spacing:0;font-weight:850}
/* Anchor-injected attachments: on mobile, un-float so they stack vertically */
@media (max-width: 768px){.fm4-text-block .fm4-block-wrap[style*="float"]{float:none!important;width:100%!important;margin:0 0 1rem!important}}

/* ── Front-page editorial masthead ──────────────────────────────────── */
.fm4-g-main-content .fm4-block-text_block:first-child h1{font-size:var(--fm4-h1-size,clamp(2.2rem,5.5vw,3.8rem));letter-spacing:-.02em;margin-bottom:var(--fm4-heading-gap,.35rem);line-height:var(--fm4-heading-line-height,1.05)}

/* -- Site header ----------------------------------------------------------- */
/* -- Site header ----------------------------------------------------------- */
.fm4-site-header {
  background: var(--fm4-surface-color, #fff) !important;
  color: var(--fm4-text-color, #111827);
  border-bottom: 1px solid var(--fm4-border-color, rgba(0,0,0,.1));
  position: sticky;
  top: 0;
  z-index: 100;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1) !important;
  will-change: transform;
}
.fm4-site-header.fm4-header--hidden {
  transform: translateY(-100%) !important;
}

/* Live Admin Overlay docked offset */
:root {
  --fm4-la-bar-h: 0px;
}
html.fm4-la-docked,
body.fm4-la-docked,
body:has(#fm4-live-admin-root.is-docked) {
  --fm4-la-bar-h: 44px;
}
html.fm4-la-docked body#fm4-page:not(.has-cover-hero):not(:has(.monumental-hero)),
body.fm4-la-docked#fm4-page:not(.has-cover-hero):not(:has(.monumental-hero)),
body.fm4-la-docked:not(.has-cover-hero):not(:has(.monumental-hero)),
body:has(#fm4-live-admin-root.is-docked):not(.has-cover-hero):not(:has(.monumental-hero)) {
  padding-top: var(--fm4-la-bar-h, 44px) !important;
}
body.has-cover-hero,
body:has(.monumental-hero),
body:has([data-fm4-type="portfolio_hero_block"]) {
  padding-top: 0 !important;
}
body.has-cover-hero .fm4-main,
body:has(.monumental-hero) .fm4-main,
body:has([data-fm4-type="portfolio_hero_block"]) .fm4-main,
.fm4-main:has(> .monumental-hero),
.fm4-main:has(> [data-fm4-type="portfolio_hero_block"]),
.fm4-main:has(> .fm4-hero-cover) {
  padding-top: 0 !important;
  margin-top: 0 !important;
}
html.fm4-la-docked .fm4-site-header,
body.fm4-la-docked .fm4-site-header,
body:has(#fm4-live-admin-root.is-docked) .fm4-site-header,
html.fm4-la-docked .cc-header,
body.fm4-la-docked .cc-header,
body:has(#fm4-live-admin-root.is-docked) .cc-header {
  position: sticky !important;
  top: var(--fm4-la-bar-h, 44px) !important;
  z-index: 100 !important;
}
html.fm4-la-docked .fm4-site-header.fm4-header--hidden,
html.fm4-la-docked .cc-header.is-hidden,
body.fm4-la-docked .fm4-site-header.fm4-header--hidden,
body.fm4-la-docked .cc-header.is-hidden,
body:has(#fm4-live-admin-root.is-docked) .fm4-site-header.fm4-header--hidden,
body:has(#fm4-live-admin-root.is-docked) .cc-header.is-hidden {
  transform: translateY(calc(-100% - var(--fm4-la-bar-h, 44px))) !important;
}
#fm4-live-admin-root.is-docked {
  top: 0 !important;
  bottom: auto !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  align-items: stretch !important;
}
#fm4-live-admin-root.is-docked .fm4-la-panel {
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  max-height: 44px !important;
}
@media (max-width: 720px) {
  body:not(.fm4-la-docked),
  body:has(#fm4-live-admin-root:not(.is-docked)) {
    padding-top: 0 !important;
  }
}

body.has-cover-hero .site-header,
body:has(.monumental-hero) .site-header {
  position: fixed !important;
}
body.has-cover-hero.hero-cover-unscrolled:not(.header-hover-reveal) .site-header:not(:hover),
body:has(.monumental-hero).hero-cover-unscrolled:not(.header-hover-reveal) .site-header:not(:hover) {
  transform: translateY(calc(-100% - var(--fm4-la-bar-h, 44px) - 12px)) !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
body.has-cover-hero:not(.hero-cover-unscrolled) .site-header,
body:has(.monumental-hero):not(.hero-cover-unscrolled) .site-header {
  top: var(--fm4-la-bar-h, 44px) !important;
}
.fm4-header-inner{position:relative;display:flex!important;align-items:center!important;justify-content:space-between;gap:clamp(.5rem,1.5vw,1.25rem);max-width:var(--fm4-container-width,1400px);min-height:var(--fm4-header-height,72px);margin:0 auto;padding:.5rem var(--fm4-site-padding,1rem);flex-wrap:nowrap;line-height:1}

#fm4-page .fm4-site-header .fm4-site-tagline:empty,
#fm4-page .fm4-site-header .fm4-zone-header_after_title:empty,
.fm4-brand-stack .fm4-site-tagline:empty,
.fm4-brand-stack .fm4-zone-header_after_title:empty{display:none!important}

#fm4-page .fm4-site-header .fm4-placement-slot,
#fm4-page .fm4-site-header .fm4-block-wrap{
  --fm4-block-margin-top:0px!important;
  --fm4-block-margin-bottom:0px!important;
  --fm4-block-margin:0px!important;
  --fm4-block-padding-top:0px!important;
  --fm4-block-padding-bottom:0px!important;
  display:inline-flex!important;
  align-items:center!important;
  margin:0!important;
  margin-top:0!important;
  margin-bottom:0!important;
  padding:0!important;
  padding-top:0!important;
  padding-bottom:0!important;
  max-width:none!important;
  width:auto!important;
  vertical-align:middle!important
}

#fm4-page .fm4-site-header .fm4-search-widget,
#fm4-page .fm4-site-header .fm4-search-widget--contained{
  margin:0!important;
  margin-block:0!important;
  padding:0!important;
  display:inline-flex!important;
  align-items:center!important;
  max-width:260px!important;
  width:auto!important;
  vertical-align:middle!important;
  position:relative!important
}

#fm4-page .fm4-site-header .fm4-search-widget__form{
  display:inline-flex!important;
  align-items:center!important;
  margin:0!important;
  padding:0!important;
  gap:.35rem!important;
  vertical-align:middle!important;
  position:relative!important
}

#fm4-page .fm4-site-header .fm4-search-widget__field{
  position:relative!important;
  display:inline-flex!important;
  align-items:center!important;
  margin:0!important;
  padding:0!important;
  width:160px!important;
  vertical-align:middle!important
}

#fm4-page .fm4-site-header .fm4-search-widget__input{
  height:2.15rem!important;
  line-height:2.15rem!important;
  padding:0 2rem 0 .75rem!important;
  font-size:.85rem!important;
  border-radius:6px!important;
  margin:0!important;
  box-sizing:border-box!important;
  vertical-align:middle!important;
  border:1px solid var(--fm4-border-color,#d4d4d8)!important;
  background:var(--fm4-surface-color,#fff)!important;
  color:inherit!important
}

#fm4-page .fm4-site-header .fm4-search-widget__icon-btn,
.fm4-search-widget__icon-btn{
  position:absolute!important;
  right:.45rem!important;
  left:auto!important;
  top:50%!important;
  transform:translateY(-50%)!important;
  background:transparent!important;
  border:0!important;
  padding:0!important;
  margin:0!important;
  cursor:pointer!important;
  color:var(--fm4-muted-color,#94a3b8)!important;
  z-index:2!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important
}
.fm4-search-widget__icon-btn:hover{color:var(--fm4-primary-color,#ea580c)!important}

#fm4-page .fm4-site-header .fm4-search-widget__icon{
  width:15px!important;
  height:15px!important;
  display:block!important
}

#fm4-page .fm4-site-header .fm4-search-widget__btn{display:none!important}
#fm4-page .fm4-site-header .fm4-search-widget__title{display:none!important}

@media (max-width: 768px){
  #fm4-page .fm4-site-header .fm4-search-widget,
  #fm4-page .fm4-site-header .fm4-search-widget--contained{
    max-width:none!important;
    position:relative!important
  }
  #fm4-page .fm4-site-header .fm4-search-widget__field{
    width:2.15rem!important;
    border-radius:6px!important;
    transition:width .25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow .2s ease!important
  }
  #fm4-page .fm4-site-header .fm4-search-widget__input{
    width:100%!important;
    opacity:0!important;
    cursor:pointer!important;
    padding-left:.65rem!important;
    transition:opacity .15s ease!important
  }
  #fm4-page .fm4-site-header .fm4-search-widget__field:focus-within,
  #fm4-page .fm4-site-header .fm4-search-widget.is-open .fm4-search-widget__field{
    width:170px!important;
    box-shadow:0 4px 14px rgba(0,0,0,0.12)!important
  }
  #fm4-page .fm4-site-header .fm4-search-widget__field:focus-within .fm4-search-widget__input,
  #fm4-page .fm4-site-header .fm4-search-widget.is-open .fm4-search-widget__input{
    opacity:1!important;
    cursor:text!important
  }
}

#fm4-page .fm4-site-header .fm4-site-brand{
  font-family:var(--fm4-heading-font,system-ui,sans-serif);
  font-weight:700;
  font-size:1.1rem;
  color:var(--fm4-text-color,#1a1a1a);
  text-decoration:none;
  white-space:nowrap;
  flex-shrink:0;
  display:inline-flex!important;
  align-items:center!important;
  gap:.5rem;
  margin:0!important;
  padding:0!important;
  line-height:1!important;
  vertical-align:middle!important
}
.fm4-site-brand:hover{opacity:.85}
.fm4-site-brand-logo{display:block;height:38px;width:auto;max-width:200px;object-fit:contain}
.fm4-site-brand:has(.fm4-site-brand-logo) .fm4-site-brand-text{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.fm4-site-tagline{display:block;color:var(--fm4-muted-color,#64748b);font-size:.75rem;line-height:1.15;max-width:20rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
/* -- Utility slot (e.g. language switcher) -------------------------------- */
.fm4-placement-slot--header_utility{display:inline-flex!important;align-items:center!important;margin:0!important;flex-shrink:0!important}
.fm4-placement-slot--header_utility .fm4-block-wrap{display:inline-flex!important;align-items:center!important;margin:0!important;padding:0!important;width:auto!important;max-width:none!important}
.fm4-placement-slot--header_utility .fm4-language-switcher{display:inline-flex!important;align-items:center!important;margin:0!important}
.fm4-placement-slot--header_utility .fm4-language-switcher__items{display:inline-flex!important;align-items:center!important;gap:.35rem!important}
/* -- Search widget default styles ----------------------------------------- */
.fm4-search-widget{margin-block:0;max-width:100%;position:relative!important}
.fm4-search-widget--contained{max-width:var(--fm4-search-widget-width,34rem)}
.fm4-search-widget--full{max-width:100%}
.fm4-search-widget--center{margin-inline:auto;text-align:center}
.fm4-search-widget__title{font-size:clamp(1.15rem,1rem+.6vw,1.5rem);margin:0 0 .6rem}
.fm4-search-widget__title:empty{display:none!important}
.fm4-search-widget__form{display:flex;gap:.5rem;align-items:stretch;position:relative}
.fm4-search-widget__field{position:relative;flex:1 1 auto;display:flex;align-items:center;min-width:0}
.fm4-search-widget__icon{position:absolute;right:.75rem;left:auto;top:50%;transform:translateY(-50%);color:color-mix(in srgb,currentColor 55%,transparent);pointer-events:none;z-index:2}
.fm4-search-widget__input{width:100%;box-sizing:border-box;height:2.85rem;padding:0 2.4rem 0 .9rem;font-size:1rem;border:1px solid var(--fm4-border-color,#d4d4d8);border-radius:var(--fm4-block-radius,var(--fm4-global-radius,12px));background:var(--fm4-surface-color,#fff);color:inherit}
.fm4-search-widget__input:focus{outline:2px solid var(--fm4-primary-color,#2563eb);outline-offset:1px}
.fm4-search-widget__btn{flex:0 0 auto;height:2.85rem;padding:0 1.1rem;font-size:.95rem;font-weight:600;border:0;border-radius:var(--fm4-block-radius,var(--fm4-global-radius,12px));background:var(--fm4-primary-color,#2563eb);color:var(--fm4-btn-text-color,var(--fm4-surface-color,#fff));cursor:pointer}
.fm4-search-widget__btn:hover{filter:brightness(1.06)}
#fm4-page .fm4-search-widget__suggest,
.fm4-search-widget__suggest{position:absolute!important;top:calc(100% + 4px)!important;left:0!important;right:auto!important;width:max(100%,300px)!important;max-width:min(92vw,420px)!important;margin:0!important;padding:.35rem!important;list-style:none!important;background:var(--fm4-surface-color,#fff)!important;border:1px solid var(--fm4-border-color,#d4d4d8)!important;border-radius:8px!important;box-shadow:0 14px 36px rgba(0,0,0,.16)!important;max-height:min(60vh,22rem)!important;overflow-y:auto!important;z-index:99999!important}
.fm4-search-widget--contained .fm4-search-widget__form,.fm4-search-widget__form{position:relative}
.fm4-search-widget__suggest li{margin:0}
.fm4-search-widget__suggest a{display:flex;justify-content:space-between;gap:.6rem;align-items:baseline;padding:.5rem .65rem;border-radius:var(--fm4-block-radius,var(--fm4-global-radius,12px));text-decoration:none;color:inherit;font-size:.95rem}
.fm4-search-widget__suggest a:hover{background:color-mix(in srgb,var(--fm4-primary-color,#2563eb) 12%,transparent)}
.fm4-search-widget__suggest a span{font-size:.72rem;text-transform:uppercase;letter-spacing:.04em;color:color-mix(in srgb,currentColor 55%,transparent);white-space:nowrap}
.fm4-search-widget__none{padding:.55rem .65rem;color:color-mix(in srgb,currentColor 60%,transparent);font-size:.9rem}
@media(max-width:520px){.fm4-search-widget__form{flex-wrap:wrap}.fm4-search-widget__field{flex:1 1 100%}.fm4-search-widget__btn{flex:1 1 100%}}
/* -- Navigation ----------------------------------------------------------- */
nav.fm4-nav{flex:1 1 auto;display:flex;justify-content:flex-end;align-items:center;min-width:0}
.fm4-nav > ul.fm4-nav,.fm4-nav ul.fm4-nav{list-style:none;margin:0;padding:0;display:flex;align-items:center;gap:clamp(.15rem,.4vw,.35rem);flex-wrap:nowrap!important;white-space:nowrap!important}
.fm4-nav-device-mobile,.fm4-nav-vis-mobile{display:none!important}
.fm4-nav-link{display:inline-flex;align-items:center;gap:.3em;padding:.38rem .65rem;border-radius:min(var(--fm4-global-radius,8px),8px);text-decoration:none!important;font-size:var(--fm4-nav-font-size,.9rem);font-weight:650;color:var(--fm4-text-color,currentColor);white-space:nowrap!important;flex-shrink:0;transition:all .15s ease}
.fm4-nav-link:hover{background:color-mix(in srgb, var(--fm4-text-color, currentColor) 12%, transparent)!important;color:var(--fm4-primary-color)!important;text-decoration:none!important}
.fm4-nav-link.fm4-nav-active,.fm4-nav-link.is-active{background:color-mix(in srgb, var(--fm4-primary-color) 20%, transparent)!important;color:var(--fm4-text-color)!important;border:1px solid color-mix(in srgb, var(--fm4-primary-color) 40%, transparent)!important;box-shadow:0 2px 8px rgba(0,0,0,.15);font-weight:750;text-decoration:none!important}
:root:not(.dark-mode) .fm4-nav-link.fm4-nav-active,:root:not(.dark-mode) .fm4-nav-link.is-active,html:not(.dark-mode) .fm4-nav-link.fm4-nav-active,.light-mode .fm4-nav-link.fm4-nav-active{color:var(--fm4-text-color)!important;background:color-mix(in srgb, var(--fm4-primary-color) 14%, var(--fm4-surface-color, transparent))!important;border-color:color-mix(in srgb, var(--fm4-primary-color) 30%, transparent)!important}
.fm4-theme--light .fm4-nav-link,[data-theme="light"] .fm4-nav-link{color:var(--fm4-text-color)}
.fm4-theme--light .fm4-nav-link:hover,[data-theme="light"] .fm4-nav-link:hover{background:color-mix(in srgb, var(--fm4-text-color) 8%, transparent)!important;color:var(--fm4-primary-color)!important}
.fm4-theme--light .fm4-nav-link.fm4-nav-active,[data-theme="light"] .fm4-nav-link.fm4-nav-active{background:color-mix(in srgb, var(--fm4-primary-color) 14%, var(--fm4-surface-color, transparent))!important;color:var(--fm4-text-color)!important;border:1px solid color-mix(in srgb, var(--fm4-primary-color) 30%, transparent)!important}
.fm4-nav-heading{padding:.45rem .75rem;font-size:.75rem;font-weight:700;text-transform:uppercase;letter-spacing:.06em;opacity:.5;cursor:default}
.fm4-nav-badge{display:inline-block;font-size:.65rem;padding:1px 6px;border-radius:99px;background:var(--fm4-primary-color,#0066cc);color:#fff;margin-left:.3em}
/* -- Dropdown submenus (desktop) ------------------------------------------ */
.fm4-nav-item.has-children > .fm4-nav-link::after{content:'-';font-size:.7em;margin-left:.25em;opacity:.6}
.fm4-nav-sub{display:none;position:absolute;top:calc(100% + 4px);left:0;min-width:180px;background:var(--fm4-surface-color,#fff);border:1px solid var(--fm4-border-color,rgba(0,0,0,.1));border-radius:6px;box-shadow:0 4px 16px rgba(0,0,0,.12);list-style:none;margin:0;padding:.35rem 0;z-index:200}
.fm4-nav-item.has-children:hover > .fm4-nav-sub{display:block}
.fm4-nav-sub .fm4-nav-link{padding:.4rem .85rem;border-radius:0;width:100%;font-size:.85rem}
/* -- Hamburger button (hidden on desktop) --------------------------------- */
.fm4-nav-toggle{display:none;flex-direction:column;align-items:center;justify-content:center;gap:4px;width:2.55rem;height:2.55rem;background:var(--fm4-surface-color,#fff);color:var(--fm4-text-color,#1a1a1a);border:1px solid var(--fm4-border-color,rgba(0,0,0,.16));border-radius:min(var(--fm4-global-radius,8px),8px);cursor:pointer;padding:0;margin-left:auto;flex-shrink:0;box-shadow:0 4px 14px rgba(15,23,42,.06)}
.fm4-nav-toggle span{display:block;width:1.18rem;height:2px;background:currentColor;border-radius:2px;transition:transform .2s,opacity .2s}
.fm4-nav-toggle-open span:nth-child(1){transform:translateY(6px) rotate(45deg)}

/* -- Programmable app component mount points ------------------------------ */
.fm4-app-component{
  width:100%;
  border:1px solid var(--fm4-border-color,rgba(0,0,0,.12));
  border-radius:var(--fm4-global-radius,10px);
  background:var(--fm4-surface-color,#fff);
  color:var(--fm4-text-color,#1a1a1a);
  padding:clamp(1rem,3vw,1.75rem);
}
.fm4-app-component__title{
  margin:0 0 .75rem;
  font-size:clamp(1.25rem,2vw,1.8rem)!important;
  line-height:1.15!important;
}
.fm4-app-component__mount{
  min-height:3.5rem;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
}
.fm4-visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.fm4-app-component__label{
  font-size:.78rem;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--fm4-primary-color,#0066cc);
}
.fm4-placement-slot{width:100%}
.fm4-placement-slot:empty{display:none !important}
/* Mobile drawer placement slot: Strictly hidden on desktop and in navbar */
.fm4-placement-slot--mobile_drawer,
body.fm4-live-editing .fm4-placement-slot--mobile_drawer {
  display: none !important;
}
@media (max-width: 768px) {
  body.fm4-nav-open .fm4-placement-slot--mobile_drawer {
    display: grid !important;
    gap: .75rem;
    padding: .75rem 1rem;
    border-top: 1px solid var(--fm4-border-color,rgba(0,0,0,.08));
  }
}
/* In live-edit, empty placement slots (e.g. above page content) only show when explicitly inspecting parts/layout */
body.fm4-live-editing.fm4-la-show-parts .fm4-placement-slot:empty,
body.fm4-live-editing.fm4-la-show-layout .fm4-placement-slot:empty {
  display: block !important;
  min-height: 2.4rem;
  outline: 1px dashed rgba(251,146,60,.45);
  outline-offset: -1px;
  border-radius: 8px;
  position: relative;
  margin: 10px auto;
}
body.fm4-live-editing.fm4-la-show-parts .fm4-placement-slot:empty::after,
body.fm4-live-editing.fm4-la-show-layout .fm4-placement-slot:empty::after {
  content: "+" attr(data-fm4-empty-label);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  color: #fb923c;
  font: 700 .82rem/1 Inter,system-ui,sans-serif;
  pointer-events: none;
  opacity: .85;
}
.fm4-placement-slot--header_utility{display:flex;align-items:center;justify-content:flex-end;gap:.5rem;width:auto;margin-left:.5rem}
body.fm4-live-editing .fm4-placement-slot--header_utility:empty{display:none}
body.fm4-live-editing.fm4-la-show-parts .fm4-placement-slot--header_utility:empty{display:flex;width:auto;min-width:8rem}
.fm4-placement-slot--before_content,.fm4-placement-slot--after_content{display:grid;gap:var(--fm4-space-breathe,1.5rem);max-width:var(--fm4-container-width,1200px);margin:0 auto;padding:clamp(1rem,3vw,2rem) 1rem}
.fm4-main>.fm4-placement-slot--before_content,.fm4-main>.fm4-placement-slot--after_content{max-width:100%;padding-inline:0}
.fm4-placement-slot--footer{display:grid;gap:1rem;margin-bottom:1rem}
.fm4-placement-slot--floating{position:fixed;right:1rem;bottom:1rem;z-index:250;display:grid;gap:.75rem;max-width:min(360px,calc(100vw - 2 * var(--fm4-site-padding, 1rem)))}
.fm4-placement-item--desktop{display:block}
.fm4-placement-item--mobile{display:none}
.fm4-placement-slot--header_utility .fm4-app-component,.fm4-app-component--cart_button{width:auto;border:0;background:transparent;padding:0}
.fm4-app-component--cart_button .fm4-app-component__title{display:none}
.fm4-app-component--cart_button .fm4-app-component__mount{min-height:0}
.fm4-cart-button{display:inline-flex;align-items:center;justify-content:center;gap:.35rem;min-width:2.5rem;min-height:2.5rem;padding:0 .45rem;border:1px solid var(--fm4-border-color,rgba(0,0,0,.16));border-radius:min(var(--fm4-global-radius,8px),8px);background:var(--fm4-surface-color,#fff);color:var(--fm4-text-color,#111827);font:inherit;font-weight:700;cursor:pointer}
.fm4-cart-button--bump{animation:fm4-cart-bump .5s cubic-bezier(.2,.8,.2,1)}
.fm4-cart-button__icon{width:1.18rem;height:1.18rem;flex:0 0 auto}
.fm4-cart-button strong{display:inline-grid;place-items:center;min-width:1.35rem;height:1.35rem;padding:0 .32rem;border-radius:999px;background:var(--fm4-primary-color,#2563eb);color:#fff;font-size:.76rem;line-height:1}
.fm4-cart-drawer{position:fixed;inset:0;z-index:500;display:none;background:rgba(0,0,0,.35)}
.fm4-cart-drawer--open{display:block}
.fm4-cart-drawer__panel{position:absolute;top:0;right:0;width:min(420px,100vw);height:100%;display:flex;flex-direction:column;gap:1rem;padding:1rem;background:var(--fm4-surface-color,#fff);color:var(--fm4-text-color,#111827);box-shadow:-16px 0 40px rgba(0,0,0,.18)}
.fm4-cart-drawer__head{display:flex;align-items:center;justify-content:space-between;gap:1rem}
.fm4-cart-drawer__head button{width:2.2rem;height:2.2rem;border:1px solid var(--fm4-border-color);border-radius:var(--fm4-global-radius,8px);background:transparent;color:inherit;font-size:1.35rem;cursor:pointer}
.fm4-cart-drawer__body{display:grid;gap:.75rem;overflow:auto;align-content:start}
.fm4-cart-drawer__summary{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.65rem .8rem;border:1px solid var(--fm4-border-color);border-radius:var(--fm4-global-radius,8px);background:color-mix(in srgb,var(--fm4-surface-color) 92%,var(--fm4-primary-color));font-size:.94rem}
.fm4-cart-drawer__summary span{color:var(--fm4-muted-color)}
.fm4-cart-drawer__summary strong{color:var(--fm4-text-color)}
.fm4-cart-live-summary{display:grid;gap:.65rem}
.fm4-cart-actions{display:flex;justify-content:flex-start;gap:.5rem}
.fm4-shipping-meter{display:grid;gap:.4rem;padding:.7rem .85rem;border:1px solid var(--fm4-border-color);border-radius:var(--fm4-global-radius,8px);background:color-mix(in srgb,var(--fm4-surface-color) 92%,var(--fm4-primary-color))}
.fm4-shipping-meter--unlocked{border-color:color-mix(in srgb,var(--fm4-success-color,var(--fm4-primary-color)) 45%,var(--fm4-border-color));background:color-mix(in srgb,var(--fm4-surface-color) 90%,var(--fm4-success-color,var(--fm4-primary-color)))}
.fm4-shipping-meter__text{display:flex;align-items:center;justify-content:space-between;gap:.75rem;font-size:.84rem;color:var(--fm4-text-color)}
.fm4-shipping-meter__text strong{font-size:.78rem;color:var(--fm4-muted-color)}
.fm4-shipping-meter__track{height:.45rem;border-radius:999px;background:color-mix(in srgb,var(--fm4-border-color) 75%,transparent);overflow:hidden}
.fm4-shipping-meter__fill{display:block;height:100%;border-radius:inherit;background:var(--fm4-primary-color);transition:width .25s ease}
.fm4-shipping-meter--unlocked .fm4-shipping-meter__fill{background:var(--fm4-success-color,var(--fm4-primary-color))}
.fm4-product-filters{display:grid;gap:.75rem;margin-bottom:var(--fm4-content-gap,1.25rem);padding:.85rem;border:1px solid var(--fm4-border-color);border-radius:var(--fm4-global-radius,8px);background:var(--fm4-surface-color)}
.fm4-product-filters__pills{display:flex;flex-wrap:wrap;gap:.45rem}
.fm4-product-filters__pill{display:inline-flex;align-items:center;gap:.35rem;min-height:2.1rem;padding:.25rem .75rem;border:1px solid var(--fm4-border-color);border-radius:999px;background:var(--fm4-background-color,var(--fm4-surface-color));color:var(--fm4-text-color);font:inherit;font-size:.86rem;font-weight:700;cursor:pointer;transition:border-color .15s ease,background-color .15s ease,color .15s ease}
.fm4-product-filters__pill span{font-size:.76rem;opacity:.75}
.fm4-product-filters__pill:hover{border-color:var(--fm4-primary-color)}
.fm4-product-filters__pill.is-active{border-color:var(--fm4-primary-color);background:var(--fm4-primary-color);color:var(--fm4-on-primary-color,var(--fm4-surface-color))}
.fm4-product-filters__controls{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(160px,.8fr) auto;gap:.65rem;align-items:center}
.fm4-product-filters__search,.fm4-product-filters__sort{width:100%;min-width:0;min-height:2.4rem;padding:0 .75rem;border:1px solid var(--fm4-border-color);border-radius:var(--fm4-global-radius,8px);background:var(--fm4-background-color,var(--fm4-surface-color));color:var(--fm4-text-color);font:inherit;box-sizing:border-box}
.fm4-product-filters__stock{display:inline-flex;align-items:center;gap:.45rem;font-size:.86rem;font-weight:600;color:var(--fm4-text-color);white-space:nowrap;cursor:pointer}
.fm4-product-filters__stock input{width:1rem;height:1rem;accent-color:var(--fm4-primary-color)}
.fm4-product-card__cta{margin-top:auto;text-decoration:none;text-align:center}
.fm4-cart-drawer__checkout{margin-top:auto;text-decoration:none}
.fm4-app-empty,.fm4-app-loading,.fm4-app-note{padding:1rem;border:1px solid var(--fm4-border-color,#e5e7eb);border-radius:var(--fm4-global-radius,8px);color:var(--fm4-muted-color,#64748b);background:var(--fm4-surface-color,#fff)}
.fm4-app-btn{display:inline-flex;align-items:center;justify-content:center;min-height:2.5rem;padding:0 .95rem;border:1px solid var(--fm4-primary-color,#2563eb);border-radius:min(var(--fm4-global-radius,8px),8px);background:var(--fm4-primary-color,#2563eb);color:#fff;font:inherit;cursor:pointer}
.fm4-app-btn:disabled{opacity:.55;cursor:not-allowed}
.fm4-app-btn--secondary{background:var(--fm4-surface-color,#fff);color:var(--fm4-text-color,#111827);border-color:var(--fm4-border-color,#e5e7eb)}
.fm4-app-btn--cart-added{animation:fm4-cart-button-pop .42s cubic-bezier(.2,.8,.2,1);border-color:color-mix(in srgb,var(--fm4-success-color,#16a34a) 82%,#fff);background:var(--fm4-success-color,#16a34a)}
.fm4-app-btn--cart-blocked{border-color:color-mix(in srgb,var(--fm4-warning-color,#d97706) 78%,#fff);background:var(--fm4-warning-color,#d97706)}
.fm4-cart-toast-region{position:fixed;right:clamp(.75rem,2vw,1.25rem);bottom:clamp(.75rem,2vw,1.25rem);z-index:650;display:grid;gap:.55rem;width:min(360px,calc(100vw - 1.5rem));pointer-events:none}
.fm4-cart-toast{justify-self:end;max-width:100%;padding:.72rem .9rem;border:1px solid var(--fm4-border-color,rgba(15,23,42,.14));border-radius:min(var(--fm4-global-radius,8px),8px);background:color-mix(in srgb,var(--fm4-surface-color,#fff) 94%,var(--fm4-primary-color,#2563eb));color:var(--fm4-text-color,#111827);box-shadow:0 14px 34px rgba(15,23,42,.18);font-size:.92rem;font-weight:800;line-height:1.25;opacity:0;transform:translateY(.5rem) scale(.98);transition:opacity .18s ease,transform .18s ease}
.fm4-cart-toast.is-visible{opacity:1;transform:translateY(0) scale(1)}
.fm4-cart-toast--warning{background:color-mix(in srgb,var(--fm4-surface-color,#fff) 90%,var(--fm4-warning-color,#d97706));border-color:color-mix(in srgb,var(--fm4-warning-color,#d97706) 42%,transparent)}
@keyframes fm4-cart-bump{0%{transform:scale(1)}35%{transform:scale(1.12)}70%{transform:scale(.97)}100%{transform:scale(1)}}
@keyframes fm4-cart-button-pop{0%{transform:scale(1)}45%{transform:scale(1.04)}100%{transform:scale(1)}}
@media(prefers-reduced-motion:reduce){.fm4-cart-button--bump,.fm4-app-btn--cart-added{animation:none}.fm4-cart-toast{transition:none;transform:none}}
.fm4-product-grid-title{margin:0 0 var(--fm4-content-gap,1rem);font-size:var(--fm4-h2-size,clamp(1.55rem,3vw,2.4rem));line-height:1.1;color:var(--fm4-text-color,#111827)}
.fm4-product-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:var(--fm4-space-breathe,1.5rem);width:100%}
.fm4-product-card{display:flex;flex-direction:column;border:1px solid var(--fm4-border-color,#e5e7eb);border-radius:var(--fm4-global-radius,8px);overflow:hidden;background:var(--fm4-surface-color,#fff);min-width:0}
.fm4-product-card a{color:inherit;text-decoration:none}
.fm4-product-card a:hover{text-decoration:underline}
.fm4-product-card__media{display:block;background:color-mix(in srgb,var(--fm4-surface-color,#fff) 86%,var(--fm4-primary-color,#2563eb));overflow:hidden}
.fm4-product-card img{width:100%;aspect-ratio:4/3;object-fit:cover;display:block;transition:transform .2s ease}
.fm4-product-card:hover img{transform:scale(1.025)}
.fm4-product-card__placeholder{display:block;aspect-ratio:4/3;background:linear-gradient(135deg,color-mix(in srgb,var(--fm4-primary-color,#2563eb) 12%,transparent),color-mix(in srgb,var(--fm4-border-color,#e5e7eb) 45%,transparent))}
.fm4-product-card__body{padding:1rem;display:flex;flex:1;flex-direction:column;gap:.6rem}
.fm4-product-card__body h3,.fm4-product-card__body p{margin:0}
.fm4-product-admin-actions{display:none;margin-top:auto;padding-top:.35rem}
body.fm4-live-editing .fm4-product-admin-actions{display:flex}
.fm4-product-admin-actions a{display:inline-flex;align-items:center;justify-content:center;min-height:28px;padding:0 .65rem;border:1px solid color-mix(in srgb,var(--fm4-border-color,#e5e7eb) 72%,var(--fm4-text-color,#111827));border-radius:999px;background:var(--fm4-surface-color,#fff);color:var(--fm4-text-color,#111827);font-size:.78rem;font-weight:800;text-decoration:none!important}
.fm4-product-card__meta,.fm4-product-detail__meta{display:flex;flex-wrap:wrap;gap:.35rem .55rem;color:var(--fm4-muted-color,#64748b);font-size:.78rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em}
.fm4-product-price{display:flex;align-items:baseline;gap:.55rem;font-weight:700;color:var(--fm4-text-color,#111827)}
.fm4-product-price strong{font-size:1.12rem}
.fm4-product-price s{color:var(--fm4-muted-color,#64748b);font-size:.9rem}
.fm4-product-tax{color:var(--fm4-muted-color,#64748b);font-size:.82rem}
.fm4-product-stock{display:inline-flex;align-items:center;width:max-content;min-height:1.55rem;padding:0 .5rem;border-radius:999px;background:color-mix(in srgb,var(--fm4-primary-color,#2563eb) 10%,var(--fm4-surface-color,#fff));color:var(--fm4-primary-color,#2563eb);font-size:.78rem;font-weight:800}
.fm4-product-stock--out{background:color-mix(in srgb,var(--fm4-danger-color,var(--fm4-accent-color)) 14%,var(--fm4-surface-color));color:var(--fm4-danger-color,var(--fm4-accent-color))}
.fm4-product-detail-app{display:grid;grid-template-columns:minmax(260px,.95fr) minmax(0,1.05fr);gap:var(--fm4-content-gap,clamp(1.5rem,5vw,4rem));align-items:start;max-width:var(--fm4-container-width,1200px);margin:0 auto;width:100%}
.fm4-product-detail__media{display:grid;gap:.75rem;min-width:0}
.fm4-product-detail__media>img,.fm4-product-detail__placeholder{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:var(--fm4-image-radius,var(--fm4-global-radius,12px));background:color-mix(in srgb,var(--fm4-surface-color,#fff) 86%,var(--fm4-primary-color,#2563eb))}
.fm4-product-detail__thumbs{display:flex;gap:.55rem;overflow:auto;padding-bottom:.1rem}
.fm4-product-detail__thumbs button{width:4.5rem;aspect-ratio:1;border:2px solid transparent;border-radius:clamp(0px,calc(var(--fm4-card-media-radius,var(--fm4-image-radius,var(--fm4-global-radius,8px))) * 0.38),7px);padding:0;background:transparent;overflow:hidden;cursor:pointer;flex:0 0 auto}
.fm4-product-detail__thumbs button[aria-current="true"]{border-color:var(--fm4-primary-color,#2563eb)}
.fm4-product-detail__thumbs img{width:100%;height:100%;object-fit:cover;display:block}
.fm4-product-detail__content{display:grid;gap:var(--fm4-content-gap,1rem);min-width:0}
.fm4-product-detail__content h1{margin:0;font-size:var(--fm4-h1-size,clamp(2.2rem,5.4vw,4.6rem));line-height:var(--fm4-heading-line-height,1.03);color:var(--fm4-text-color,#111827)}
.fm4-product-detail__summary{margin:0;color:var(--fm4-text-color,#111827);font-size:clamp(1.05rem,1.5vw,1.22rem);line-height:1.55}
.fm4-product-detail__tax{color:var(--fm4-muted-color,#64748b);font-size:.92rem}
.fm4-product-detail__actions{display:flex;flex-wrap:wrap;gap:.75rem}
.fm4-product-detail__description{margin-top:.25rem;padding-top:var(--fm4-content-gap,1rem);border-top:1px solid var(--fm4-border-color,#e5e7eb);line-height:var(--fm4-body-line-height,1.65);color:var(--fm4-text-color,#111827)}
.fm4-app-component--product_detail{border:0;background:transparent;padding:0}
.fm4-app-component--product_detail .fm4-app-component__title{display:none}
.fm4-app-component--product_detail .fm4-app-component__mount{display:block}
@media (max-width: 768px){.fm4-product-detail-app{grid-template-columns:1fr}.fm4-product-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr))}.fm4-product-detail__content h1{font-size:clamp(1.9rem,10vw,3rem)}}
.fm4-query-block{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:var(--fm4-space-breathe,1.5rem)}
.fm4-query-cols--1{grid-template-columns:repeat(1,minmax(0,1fr))}
.fm4-query-cols--2{grid-template-columns:repeat(2,minmax(0,1fr))}
.fm4-query-cols--3{grid-template-columns:repeat(3,minmax(0,1fr))}
.fm4-query-cols--4{grid-template-columns:repeat(4,minmax(0,1fr))}
@media(max-width:760px){.fm4-query-cols--2,.fm4-query-cols--3,.fm4-query-cols--4{grid-template-columns:1fr}}
.fm4-qb-card{border:1px solid var(--fm4-border-color,#e5e7eb);border-radius:var(--fm4-global-radius,8px);overflow:hidden;background:var(--fm4-surface-color,#fff)}
.fm4-qb-card[data-bld-grid="1"]{padding:0 0 1rem}
.fm4-qb-card[data-bld-grid="1"] > :not([data-bld-slot="media"]){padding:0 1rem !important;margin:0 !important}
.fm4-qb-card[data-bld-grid="1"][data-bld-no-media="1"]{padding-top:1rem}
.fm4-qb-card h3{margin:0;padding:0 1rem 1rem;font-size:1.05rem;line-height:1.25}
.fm4-qb-card a{color:inherit;text-decoration:none}
.fm4-qb-card a:hover{text-decoration:underline}
.fm4-qb-media{display:block;margin:0}
.fm4-qb-media img{width:100%;aspect-ratio:var(--fm4-card-aspect,16/10);height:auto;object-fit:cover;display:block}
.fm4-qb-date{display:block;padding:1rem 1rem .35rem;color:var(--fm4-muted-color,#64748b);font-size:.82rem;font-weight:700}
.fm4-qb-excerpt{margin:0;padding:0 1rem 1rem;color:var(--fm4-muted-color,#64748b);font-size:.94rem;line-height:1.55}
.fm4-query-block--compact{display:grid;grid-template-columns:1fr;gap:.75rem}
.fm4-query-block--compact .fm4-qb-card{display:grid;grid-template-columns:minmax(7rem,10rem) minmax(0,1fr);align-items:start;border:0;border-top:1px solid var(--fm4-border-color,#e5e7eb);border-radius:0;background:transparent;padding-top:.85rem}
.fm4-query-block--compact .fm4-qb-media img{height:6.5rem}
.fm4-news-front{padding-top:clamp(.4rem,1.5vw,1.1rem);padding-bottom:var(--fm4-space-section,clamp(2rem,6vw,5rem));border-top:3px solid var(--fm4-text-color,#111827);margin-top:clamp(.6rem,2vw,1.25rem)}
.fm4-news-front__top{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(280px,.85fr);gap:clamp(1.5rem,3.5vw,3rem);align-items:start}
.fm4-news-front__rail{display:flex;flex-direction:column;gap:0;align-self:stretch;border-left:1px solid var(--fm4-border-color,#e5e7eb);padding-left:clamp(1.1rem,2vw,1.75rem)}
.fm4-news-front__grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,250px),1fr));gap:clamp(1.4rem,2.5vw,2.25rem);margin-top:clamp(1.6rem,3vw,2.6rem);padding-top:clamp(1.4rem,2.5vw,2.2rem);border-top:1px solid var(--fm4-border-color,#e5e7eb)}
.fm4-news-front-card{min-width:0}
.fm4-news-front-card--lead{display:flex;flex-direction:column;gap:1rem}
.fm4-news-front-card--rail{display:grid;grid-template-columns:minmax(0,1fr) 5.5rem;gap:.9rem;align-items:start;padding:clamp(.85rem,1.5vw,1.15rem) 0;border-top:1px solid var(--fm4-border-color,#e5e7eb)}
.fm4-news-front-card--rail:first-child{padding-top:0;border-top:0}
.fm4-news-front-card--rail .fm4-news-front-card__media{order:2;align-self:start}
.fm4-news-front-card--rail .fm4-news-front-card__text{order:1}
.fm4-news-front-card--tile{display:flex;flex-direction:column;gap:.7rem}
.fm4-news-front-card__media{display:block;overflow:hidden;border-radius:max(4px,var(--fm4-global-radius,4px));background:var(--fm4-surface-color,#f5f5f2);color:inherit;text-decoration:none;transition:opacity .25s ease}
.fm4-news-front-card__media:hover{opacity:.96}
.fm4-news-front-card__media img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;transition:transform .45s cubic-bezier(.2,.6,.2,1)}
.fm4-news-front-card__media:hover img{transform:scale(1.045)}
.fm4-news-front-card--lead .fm4-news-front-card__media img{aspect-ratio:16/10}
.fm4-news-front-card--rail .fm4-news-front-card__media img{aspect-ratio:1/1}
.fm4-news-front-card__text{min-width:0;display:flex;flex-direction:column;gap:.4rem}
.fm4-news-front-card--lead .fm4-news-front-card__text{gap:.6rem}
.fm4-news-front-card__meta{display:flex;align-items:center;gap:.5rem;font-size:.74rem;color:var(--fm4-muted-color,#64748b);font-weight:600;text-transform:uppercase;letter-spacing:.04em}
.fm4-news-front-card__category{position:relative;color:var(--fm4-primary-color,#b91c1c);font-weight:800;text-transform:uppercase;letter-spacing:.06em;font-size:.7rem}
.fm4-news-front-card__meta time{position:relative;padding-left:.6rem}
.fm4-news-front-card__meta .fm4-news-front-card__category + time::before{content:"";position:absolute;left:0;top:50%;width:3px;height:3px;border-radius:50%;background:currentColor;transform:translateY(-50%);opacity:.6}
.fm4-news-front-card__kicker{display:block;color:var(--fm4-primary-color,#b91c1c);font-weight:800;text-transform:uppercase;letter-spacing:.07em;font-size:.72rem;margin-bottom:.05rem}
.fm4-news-front-card__date,.fm4-news-front-card time,.fm4-news-archive time{color:var(--fm4-muted-color,#64748b);font-size:.74rem;font-weight:600;line-height:1.25}
.fm4-news-front-card h2,.fm4-news-front-card h3{font-family:var(--fm4-heading-font,Georgia,serif);margin:0;letter-spacing:-.005em;line-height:1.16}
.fm4-news-front-card--lead h2{font-size:clamp(1.95rem,4.4vw,3.4rem);letter-spacing:-.018em;line-height:1.04}
.fm4-news-front-card--rail h3{font-size:clamp(1rem,1.3vw,1.18rem);line-height:1.2}
.fm4-news-front-card--tile h3{font-size:clamp(1.08rem,1.6vw,1.35rem)}
.fm4-news-front-card a{color:inherit;text-decoration:none;transition:color .15s ease}
.fm4-news-front-card h2 a:hover,.fm4-news-front-card h3 a:hover{color:var(--fm4-primary-color,#b91c1c)}
.fm4-news-front-card p{margin:0;color:var(--fm4-muted-color,#64748b);line-height:1.58;font-size:.92rem}
.fm4-news-front-card--lead p{font-size:clamp(1rem,1.2vw,1.12rem);line-height:1.6}
.fm4-query-news-two-col{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(1.1rem,2.6vw,2rem);align-items:start}
.fm4-query-news-one-col{display:grid;gap:clamp(1rem,2.4vw,1.75rem);max-width:920px}
.fm4-news-list-card{display:grid;gap:.9rem;min-width:0;border-top:1px solid var(--fm4-border-color,#e5e7eb);padding-top:1rem}
.fm4-query-news-one-col .fm4-news-list-card{grid-template-columns:minmax(11rem,.38fr) minmax(0,.62fr);gap:clamp(1rem,2.8vw,2rem);align-items:start}
.fm4-news-list-card--no-media{display:block}
.fm4-news-list-card__media{display:block;overflow:hidden;background:var(--fm4-surface-color,#f5f5f2);color:inherit;text-decoration:none}
.fm4-news-list-card__media img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;transition:transform .2s ease}
.fm4-news-list-card__media:hover img{transform:scale(1.025)}
.fm4-news-list-card__text{min-width:0}
.fm4-news-list-card time,.fm4-news-headline-row time{display:block;color:var(--fm4-muted-color,#64748b);font-size:.8rem;font-weight:750;margin-bottom:.35rem}
.fm4-news-list-card h3,.fm4-news-headline-row h3{margin:0;font-size:clamp(1.12rem,1.7vw,1.55rem);line-height:1.1}
.fm4-query-news-one-col .fm4-news-list-card h3{font-size:clamp(1.28rem,2.2vw,2rem)}
.fm4-news-list-card a,.fm4-news-headline-row a{color:inherit;text-decoration:none}
.fm4-news-list-card a:hover,.fm4-news-headline-row a:hover{text-decoration:underline}
.fm4-news-list-card p{margin:.65rem 0 0;color:var(--fm4-muted-color,#64748b);line-height:1.55}
.fm4-query-news-headlines{display:grid;gap:0;max-width:860px}
.fm4-news-headline-row{display:grid;grid-template-columns:7rem minmax(0,1fr);gap:1rem;align-items:baseline;border-top:1px solid var(--fm4-border-color,#e5e7eb);padding:.8rem 0}
.fm4-news-headline-row h3{font-size:clamp(1rem,1.35vw,1.25rem)}
.fm4-news-archive{display:grid;gap:clamp(1.5rem,4vw,3rem);max-width:820px}
.fm4-news-archive__group{border-top:2px solid var(--fm4-text-color,#111827);padding-top:.8rem}
.fm4-news-archive__group h3{margin:0 0 1rem;font-size:clamp(1.4rem,3vw,2.2rem)}
.fm4-news-archive ol{list-style:none;margin:0;padding:0;display:grid;gap:.75rem}
.fm4-news-archive li{display:grid;grid-template-columns:7rem minmax(0,1fr);gap:1rem;align-items:baseline;border-top:1px solid var(--fm4-border-color,#e5e7eb);padding-top:.75rem}
.fm4-news-archive a{color:inherit;text-decoration:none;font-weight:750}
.fm4-news-archive a:hover{text-decoration:underline}
.fm4-archive-pager{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:.5rem;margin-top:clamp(2rem,5vw,3.5rem);padding-top:1.4rem;border-top:1px solid var(--fm4-border-color,#e5e7eb)}.fm4-archive-pager__pages{list-style:none;display:flex;flex-wrap:wrap;align-items:center;gap:.35rem;margin:0;padding:0}.fm4-archive-pager__num,.fm4-archive-pager__edge{display:inline-flex;align-items:center;justify-content:center;min-width:2.4rem;height:2.4rem;padding:0 .65rem;border:1px solid var(--fm4-border-color,#e5e7eb);border-radius:6px;color:inherit;text-decoration:none;font-weight:650;font-size:.85rem;line-height:1;transition:background-color .15s,border-color .15s}.fm4-archive-pager__num:hover,.fm4-archive-pager__edge:hover{border-color:var(--fm4-text-color,#111827);background:var(--fm4-surface-alt-color,var(--fm4-bg-subtle,#f3f4f6))}.fm4-archive-pager__num.is-current{background:var(--fm4-text-color,#111827);color:var(--fm4-surface-color,#fff);border-color:var(--fm4-text-color,#111827);cursor:default}.fm4-archive-pager__gap{display:inline-flex;align-items:center;justify-content:center;min-width:1.6rem;height:2.4rem;color:var(--fm4-muted-color,#64748b)}.fm4-archive-pager__edge{font-weight:700}
@media(max-width:760px){.fm4-news-front__top,.fm4-query-news-two-col{grid-template-columns:1fr}.fm4-news-front__rail{border-left:0;padding-left:0;border-top:1px solid var(--fm4-border-color,#e5e7eb);padding-top:clamp(1rem,4vw,1.4rem)}.fm4-news-front-card--rail{grid-template-columns:minmax(0,1fr) 4.5rem}.fm4-query-block--compact .fm4-qb-card,.fm4-query-news-one-col .fm4-news-list-card,.fm4-news-headline-row{grid-template-columns:1fr}.fm4-news-archive li{grid-template-columns:1fr;gap:.1rem}.fm4-news-front-card--lead h2{font-size:clamp(1.8rem,9vw,2.7rem)}.fm4-news-headline-row{gap:.1rem}}
.fm4-generic-block{display:grid;gap:var(--fm4-space-breathe,1.25rem);min-width:0}
.fm4-generic-block--card{border:1px solid var(--fm4-border-color,#e5e7eb);border-radius:var(--fm4-global-radius,8px);background:var(--fm4-surface-color,#fff);padding:var(--fm4-space-breathe,1.25rem)}
.fm4-generic-block--media-card{grid-template-columns:minmax(180px,.9fr) minmax(0,1.2fr);align-items:start}
.fm4-generic-content{display:grid;gap:.75rem;min-width:0}
.fm4-generic-field{min-width:0;margin:0;color:var(--fm4-text-color,#111827)}
.fm4-generic-field--title{font-size:clamp(1.25rem,2vw,1.85rem);line-height:1.12;font-weight:800}
.fm4-generic-icon{display:inline-grid;place-items:center;width:2.75rem;height:2.75rem;border-radius:max(8px,var(--fm4-global-radius,8px));background:color-mix(in srgb,var(--fm4-primary-color,#2563eb) 12%,var(--fm4-surface-color,#fff));color:var(--fm4-primary-color,#2563eb)}
.fm4-generic-icon svg{width:1.5rem;height:1.5rem;display:block}
.fm4-generic-field--meta{display:flex;gap:.35rem;align-items:baseline;color:var(--fm4-muted-color,#64748b);font-size:.9rem}
.fm4-generic-label{font-weight:800;color:var(--fm4-muted-color,#64748b)}
.fm4-generic-value{min-width:0}
.fm4-generic-image{margin:0;border-radius:var(--fm4-global-radius,8px);overflow:hidden;background:var(--fm4-bg-subtle,#f8fafc)}
.fm4-generic-image img{display:block;width:100%;height:auto;object-fit:cover}
.fm4-generic-image.is-empty{min-height:10rem;border:1px dashed var(--fm4-border-color,#cbd5e1)}
.fm4-generic-group{display:grid;gap:var(--fm4-space-breathe,1rem);min-width:0}
.fm4-generic-group-empty{display:grid;place-items:center;min-height:3rem;border:1px dashed var(--fm4-border-color,#cbd5e1);border-radius:var(--fm4-global-radius,8px);color:var(--fm4-muted-color,#64748b);font-size:.9rem}
@media (max-width:720px){.fm4-generic-block--media-card{grid-template-columns:1fr}}
.fm4-graph-block{display:grid;gap:.8rem;border:1px solid var(--fm4-border-color,#e5e7eb);border-radius:var(--fm4-global-radius,8px);background:var(--fm4-surface-color,#fff);padding:1rem}
.fm4-graph-block h3{margin:0;font-size:1.05rem;line-height:1.25;color:var(--fm4-text-color,#111827)}
.fm4-graph-block canvas{display:none}
.fm4-graph-block.is-canvas-ready canvas{display:block;width:100%;height:auto}
.fm4-graph-block.is-canvas-ready .fm4-graph-fallback{display:none}
.fm4-graph-fallback{display:grid;gap:.55rem}
.fm4-graph-row{display:grid;grid-template-columns:minmax(4rem,.75fr) minmax(0,2fr) auto;gap:.7rem;align-items:center;font-size:.9rem}
.fm4-graph-row span{color:var(--fm4-muted-color,#64748b)}
.fm4-graph-row strong{color:var(--fm4-text-color,#111827);font-size:.86rem}
.fm4-graph-bar{height:.6rem;border-radius:999px;background:color-mix(in srgb,var(--fm4-border-color,#e5e7eb) 70%,transparent);overflow:hidden}
.fm4-graph-bar i{display:block;height:100%;border-radius:inherit;background:var(--fm4-primary-color,#2563eb)}
.fm4-cart-lines{display:grid;gap:.5rem;margin-bottom:.75rem;width:100%;min-width:0}
.fm4-cart-line{display:flex;justify-content:space-between;gap:1rem;min-width:0;padding:.65rem .75rem;border:1px solid var(--fm4-border-color,#e5e7eb);border-radius:var(--fm4-global-radius,8px);background:var(--fm4-surface-color,#fff)}
.fm4-cart-line>a,.fm4-cart-line>span,.fm4-cart-line__main{min-width:0;overflow-wrap:anywhere}
.fm4-cart-line a{color:inherit;text-decoration:none;font-weight:700}
.fm4-cart-line a:hover{text-decoration:underline}
.fm4-cart-line>div,.fm4-cart-line__qty{display:flex;align-items:center;gap:.55rem;color:var(--fm4-muted-color,#64748b)}
.fm4-cart-line--checkout{align-items:flex-start}
.fm4-cart-line__main{display:grid!important;gap:.35rem;color:var(--fm4-text-color,#111827)!important}
.fm4-cart-line__side{display:grid!important;justify-items:end;gap:.45rem;flex:0 0 auto;color:var(--fm4-muted-color,#64748b)}
.fm4-cart-line__qty{flex:0 0 auto}
.fm4-cart-line__price,.fm4-cart-line__count{white-space:nowrap}
.fm4-cart-line__meta,.fm4-cart-line__stock{display:block;color:var(--fm4-muted-color,#64748b);font-size:.82rem;line-height:1.35}
.fm4-cart-line__details{font-size:.82rem;color:var(--fm4-muted-color,#64748b)}
.fm4-cart-line__details summary{cursor:pointer;font-weight:700}
.fm4-cart-line__details p{margin:.2rem 0 0;line-height:1.35}
.fm4-cart-qty-control{display:grid;grid-template-columns:2rem 3.2rem 2rem auto;align-items:center;gap:.25rem}
.fm4-cart-qty-control button,.fm4-cart-qty-control input{min-width:0;height:2rem;border:1px solid var(--fm4-border-color,#e5e7eb);border-radius:min(var(--fm4-global-radius,8px),8px);background:var(--fm4-surface-color,#fff);color:var(--fm4-text-color,#111827);font:inherit}
.fm4-cart-qty-control button{display:grid;place-items:center;cursor:pointer;font-weight:800}
.fm4-cart-qty-control button:disabled{opacity:.42;cursor:not-allowed}
.fm4-cart-qty-control input{text-align:center;padding:0 .25rem}
.fm4-cart-remove{padding:0 .55rem!important;font-size:.82rem;font-weight:700!important;color:var(--fm4-muted-color,#64748b)!important}
.fm4-search{position:relative;width:100%;min-width:min(18rem,100%)}
.fm4-placement-slot--header_utility .fm4-search{width:min(24rem,42vw)}
.fm4-search-form{display:flex;align-items:center;gap:.5rem;width:100%}
.fm4-search-input-wrap{position:relative;flex:1;min-width:0}
.fm4-search-form input{width:100%;min-width:0;min-height:2.55rem;border:1px solid var(--fm4-border-color,#e5e7eb);border-radius:min(var(--fm4-global-radius,8px),8px);padding:0 2.25rem 0 .85rem;font:inherit;color:var(--fm4-text-color,#111827);background:var(--fm4-surface-color,#fff)}
.fm4-search-form input:focus{outline:2px solid color-mix(in srgb,var(--fm4-primary-color,#2563eb) 22%,transparent);border-color:var(--fm4-primary-color,#2563eb)}
.fm4-search-spinner{position:absolute;right:.75rem;top:50%;width:.9rem;height:.9rem;margin-top:-.45rem;border:2px solid color-mix(in srgb,var(--fm4-muted-color,#64748b) 30%,transparent);border-top-color:var(--fm4-primary-color,#2563eb);border-radius:50%;opacity:0;transform:scale(.85);pointer-events:none}
.fm4-search--busy .fm4-search-spinner{opacity:1;animation:fm4-spin .75s linear infinite}
.fm4-search-results{display:grid;gap:.45rem;width:100%;z-index:420}
.fm4-search--suggest .fm4-search-results{position:absolute;top:calc(100% + .45rem);left:0;right:0;display:none;max-height:min(420px,70vh);overflow:auto;padding:.45rem;border:1px solid var(--fm4-border-color,#e5e7eb);border-radius:min(var(--fm4-global-radius,10px),10px);background:var(--fm4-surface-color,#fff);box-shadow:0 18px 44px rgba(15,23,42,.16)}
.fm4-search--suggest.fm4-search--open .fm4-search-results{display:grid}
.fm4-search--results .fm4-search-results{margin-top:.75rem}
.fm4-search-result{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;padding:.7rem .75rem;border:1px solid transparent;border-radius:min(var(--fm4-global-radius,8px),8px);background:transparent;color:inherit;text-decoration:none}
.fm4-search-result:hover,.fm4-search-result.is-active{border-color:color-mix(in srgb,var(--fm4-primary-color,#2563eb) 22%,transparent);background:color-mix(in srgb,var(--fm4-primary-color,#2563eb) 8%,var(--fm4-surface-color,#fff));text-decoration:none}
.fm4-search-result__text{display:grid;gap:.18rem;min-width:0}
.fm4-search-result strong{font-weight:700;line-height:1.2}
.fm4-search-result small{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;color:var(--fm4-muted-color,#64748b);line-height:1.35}
.fm4-search-result__module{flex:0 0 auto;color:var(--fm4-muted-color,#64748b);font-size:.78em;font-weight:700;text-transform:uppercase;letter-spacing:.04em}
.fm4-search-hint{padding:.75rem;color:var(--fm4-muted-color,#64748b);font-size:.9rem}
.fm4-app-component--form{border:0;background:transparent;padding:0}
.fm4-app-component--form .fm4-app-component__title{display:none}
.fm4-public-form{display:grid;gap:var(--fm4-content-gap,1rem);width:min(760px,100%);color:var(--fm4-text-color,#111827)}
.fm4-public-form--compact{gap:.75rem}
.fm4-public-form--quiet{width:100%}
.fm4-form-title{margin:0;font-size:var(--fm4-h2-size,clamp(1.55rem,3vw,2.4rem));line-height:1.12;color:var(--fm4-text-color,#111827)}
.fm4-form-intro,.fm4-form-privacy{margin:0;color:var(--fm4-muted-color,#64748b);line-height:1.55}
.fm4-form-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.85rem}
.fm4-form-field{display:grid;gap:.38rem;min-width:0;font-size:.9rem;color:var(--fm4-muted-color,#64748b)}
.fm4-form-field--textarea,.fm4-form-field--checkbox,.fm4-form-field--radio,.fm4-form-field--checkbox_group,.fm4-form-field--file,.fm4-form-field--scale,.fm4-form-field--nps,.fm4-form-field--rating{grid-column:1/-1}
.fm4-form-field span{font-weight:750;color:var(--fm4-text-color,#111827)}
.fm4-form-field em{font-style:normal;color:var(--fm4-primary-color,#2563eb)}
.fm4-form-field input,.fm4-form-field textarea,.fm4-form-field select{width:100%;min-width:0;min-height:2.65rem;border:1px solid var(--fm4-border-color,#e5e7eb);border-radius:min(var(--fm4-global-radius,8px),8px);padding:.7rem .85rem;font:inherit;color:var(--fm4-text-color,#111827);background:var(--fm4-surface-color,#fff);box-sizing:border-box}
.fm4-form-field textarea{resize:vertical;line-height:1.45}
.fm4-form-field input:focus,.fm4-form-field textarea:focus,.fm4-form-field select:focus{outline:2px solid color-mix(in srgb,var(--fm4-primary-color,#2563eb) 22%,transparent);border-color:var(--fm4-primary-color,#2563eb)}
.fm4-form-field input[type=file]{padding:.55rem .7rem}
.fm4-form-field--checkbox{display:flex;align-items:flex-start;gap:.65rem;color:var(--fm4-text-color,#111827)}
.fm4-form-field--checkbox input{width:1.05rem;height:1.05rem;min-height:0;margin:.18rem 0 0;padding:0;accent-color:var(--fm4-primary-color,#2563eb)}
.fm4-form-field--radio,.fm4-form-field--checkbox_group,.fm4-form-field--scale,.fm4-form-field--nps,.fm4-form-field--rating{margin:0;border:0;padding:0;display:grid;gap:.55rem}
.fm4-form-field legend{font-size:.9rem;font-weight:750;color:var(--fm4-text-color,#111827);padding:0}
.fm4-form-choice-list{display:flex;flex-wrap:wrap;gap:.5rem .75rem}
.fm4-form-choice{display:inline-flex;align-items:center;gap:.45rem;min-height:2.25rem;padding:.35rem .65rem;border:1px solid var(--fm4-border-color,#e5e7eb);border-radius:min(var(--fm4-global-radius,8px),8px);background:var(--fm4-surface-color,#fff);color:var(--fm4-text-color,#111827);line-height:1.25}
.fm4-form-choice input{width:1rem!important;height:1rem!important;min-height:0!important;margin:0!important;padding:0!important;accent-color:var(--fm4-primary-color,#2563eb)}
.fm4-form-scale-anchors{display:flex;justify-content:space-between;gap:1rem;font-size:.78rem;color:var(--fm4-muted-color,#64748b)}
.fm4-form-scale-anchors span{font-weight:600;color:var(--fm4-muted-color,#64748b)}
.fm4-form-scale-grid,.fm4-form-nps-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(2.4rem,1fr));gap:.45rem}
.fm4-form-scale-pill{position:relative;display:grid;place-items:center;min-height:2.6rem;border:1px solid var(--fm4-border-color,#e5e7eb);border-radius:min(var(--fm4-global-radius,8px),8px);background:var(--fm4-surface-color,#fff);color:var(--fm4-text-color,#111827);cursor:pointer;transition:border-color .14s ease,background .14s ease,color .14s ease}
.fm4-form-scale-pill input,.fm4-form-rating-pill input{position:absolute;opacity:0;pointer-events:none;width:1px!important;height:1px!important;min-height:0!important}
.fm4-form-scale-pill span{font-weight:750;font-size:.9rem;color:inherit;pointer-events:none}
.fm4-form-scale-pill:hover{border-color:var(--fm4-primary-color,#2563eb);background:color-mix(in srgb,var(--fm4-primary-color,#2563eb) 9%,var(--fm4-surface-color,#fff))}
.fm4-form-scale-pill:has(input:checked){border-color:var(--fm4-primary-color,#2563eb);background:var(--fm4-primary-color,#2563eb);color:#ffffff}
.fm4-form-scale-pill[data-nps-zone="detractor"]:has(input:checked){background:color-mix(in srgb,#dc2626 88%,var(--fm4-surface-color,#fff));border-color:#dc2626}
.fm4-form-scale-pill[data-nps-zone="passive"]:has(input:checked){background:color-mix(in srgb,#d97706 88%,var(--fm4-surface-color,#fff));border-color:#d97706}
.fm4-form-scale-pill[data-nps-zone="promoter"]:has(input:checked){background:color-mix(in srgb,#059669 88%,var(--fm4-surface-color,#fff));border-color:#059669}
.fm4-form-rating-grid{display:inline-flex;flex-wrap:wrap;gap:.45rem;align-items:center}
.fm4-form-rating-pill{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:.3rem;min-width:2.75rem;min-height:2.6rem;padding:0 .55rem;border:1px solid var(--fm4-border-color,#e5e7eb);border-radius:min(var(--fm4-global-radius,8px),8px);background:var(--fm4-surface-color,#fff);color:var(--fm4-muted-color,#64748b);cursor:pointer;transition:border-color .14s ease,background .14s ease,color .14s ease}
.fm4-form-star-svg{width:1.15rem;height:1.15rem;fill:transparent;stroke:currentColor;stroke-width:1.9;transition:fill .14s ease,stroke .14s ease}
.fm4-form-rating-num{font-size:.78rem;font-weight:750;color:inherit}
.fm4-form-rating-pill.is-filled,.fm4-form-rating-pill:has(input:checked){border-color:color-mix(in srgb,var(--fm4-accent-color,#f59e0b) 65%,var(--fm4-border-color,#e5e7eb));background:color-mix(in srgb,var(--fm4-accent-color,#f59e0b) 14%,var(--fm4-surface-color,#fff));color:var(--fm4-accent-color,#d97706)}
.fm4-form-rating-pill.is-filled .fm4-form-star-svg,.fm4-form-rating-pill:has(input:checked) .fm4-form-star-svg{fill:var(--fm4-accent-color,#f59e0b);stroke:var(--fm4-accent-color,#d97706)}
.fm4-assessment-result{display:grid;gap:1.1rem;padding:1.45rem;border:1px solid color-mix(in srgb,var(--fm4-primary-color,#2563eb) 28%,var(--fm4-border-color,#e5e7eb));border-radius:var(--fm4-global-radius,12px);background:var(--fm4-surface-color,#fff);color:var(--fm4-text-color,#111827)}
.fm4-assessment-head{display:grid;grid-template-columns:auto minmax(0,1fr);gap:1.2rem;align-items:center}
.fm4-assessment-ring{position:relative;width:96px;height:96px;display:grid;place-items:center}
.fm4-assessment-ring svg{width:96px;height:96px;transform:rotate(-90deg)}
.fm4-assessment-ring-track{fill:none;stroke:color-mix(in srgb,var(--fm4-muted-color,#64748b) 20%,transparent);stroke-width:8}
.fm4-assessment-ring-fill{fill:none;stroke:var(--fm4-primary-color,#2563eb);stroke-width:8;stroke-linecap:round;transition:stroke-dashoffset .45s ease}
.fm4-assessment-result[data-band-color="success"] .fm4-assessment-ring-fill{stroke:#16a34a}
.fm4-assessment-result[data-band-color="warning"] .fm4-assessment-ring-fill{stroke:#d97706}
.fm4-assessment-result[data-band-color="danger"] .fm4-assessment-ring-fill{stroke:#dc2626}
.fm4-assessment-result[data-band-color="accent"] .fm4-assessment-ring-fill{stroke:var(--fm4-accent-color,#f59e0b)}
.fm4-assessment-ring-value{position:absolute;display:grid;text-align:center;line-height:1.1}
.fm4-assessment-ring-value strong{font-size:1.25rem;font-weight:800;color:var(--fm4-text-color,#111827)}
.fm4-assessment-ring-value small{font-size:.74rem;color:var(--fm4-muted-color,#64748b)}
.fm4-assessment-band{display:inline-flex;align-items:center;width:max-content;max-width:100%;padding:.25rem .7rem;border-radius:999px;font-size:.78rem;font-weight:800;text-transform:uppercase;letter-spacing:.04em;background:color-mix(in srgb,var(--fm4-primary-color,#2563eb) 14%,transparent);color:var(--fm4-primary-color,#2563eb)}
.fm4-assessment-result[data-band-color="success"] .fm4-assessment-band{background:color-mix(in srgb,#16a34a 15%,transparent);color:#15803d}
.fm4-assessment-result[data-band-color="warning"] .fm4-assessment-band{background:color-mix(in srgb,#d97706 16%,transparent);color:#b45309}
.fm4-assessment-result[data-band-color="danger"] .fm4-assessment-band{background:color-mix(in srgb,#dc2626 15%,transparent);color:#b91c1c}
.fm4-theme--dark .fm4-assessment-result[data-band-color="success"] .fm4-assessment-band,[data-theme="dark"] .fm4-assessment-result[data-band-color="success"] .fm4-assessment-band{background:color-mix(in srgb,#22c55e 22%,transparent);color:#86efac}
.fm4-theme--dark .fm4-assessment-result[data-band-color="warning"] .fm4-assessment-band,[data-theme="dark"] .fm4-assessment-result[data-band-color="warning"] .fm4-assessment-band{background:color-mix(in srgb,#f59e0b 22%,transparent);color:#fcd34d}
.fm4-theme--dark .fm4-assessment-result[data-band-color="danger"] .fm4-assessment-band,[data-theme="dark"] .fm4-assessment-result[data-band-color="danger"] .fm4-assessment-band{background:color-mix(in srgb,#ef4444 22%,transparent);color:#fca5a5}
.fm4-assessment-headline{margin:.3rem 0 0;font-size:1.2rem;line-height:1.25;color:var(--fm4-text-color,#111827)}
.fm4-assessment-summary,.fm4-assessment-advice{margin:.35rem 0 0;color:var(--fm4-muted-color,#64748b);line-height:1.5;font-size:.92rem}
.fm4-assessment-advice{padding:.65rem .85rem;border-left:3px solid var(--fm4-primary-color,#2563eb);background:color-mix(in srgb,var(--fm4-surface-color,#fff) 78%,var(--fm4-background-color,#f8fafc));color:var(--fm4-text-color,#111827)}
.fm4-assessment-dims{display:grid;gap:.65rem;padding-top:.55rem;border-top:1px solid var(--fm4-border-color,#e5e7eb)}
.fm4-assessment-dims-title{margin:0;font-size:.82rem;text-transform:uppercase;letter-spacing:.05em;color:var(--fm4-muted-color,#64748b);font-weight:800}
.fm4-assessment-dim{display:grid;gap:.28rem}
.fm4-assessment-dim-head{display:flex;justify-content:space-between;font-size:.86rem;font-weight:700;color:var(--fm4-text-color,#111827)}
.fm4-assessment-dim-bar{height:.52rem;border-radius:999px;background:color-mix(in srgb,var(--fm4-muted-color,#64748b) 18%,transparent);overflow:hidden}
.fm4-assessment-dim-bar>span{display:block;height:100%;border-radius:999px;background:var(--fm4-primary-color,#2563eb)}
.fm4-assessment-foot{display:flex;flex-wrap:wrap;gap:.75rem;align-items:center;justify-content:space-between}
.fm4-assessment-foot-actions{display:flex;flex-wrap:wrap;gap:.55rem;align-items:center}
.fm4-assessment-pdf-btn{gap:.45rem;text-decoration:none}
.fm4-account-profile{border:1px solid var(--fm4-border-color,#e5e7eb);border-radius:min(var(--fm4-global-radius,8px),8px);padding:.75rem .9rem;background:color-mix(in srgb,var(--fm4-surface-color,#fff) 96%,var(--fm4-primary-color,#2563eb))}
.fm4-account-profile>summary{cursor:pointer;font-weight:700;color:var(--fm4-text-color,#111827)}
.fm4-account-profile-form{display:grid;gap:.85rem;margin-top:.8rem}
.fm4-account-profile__actions{display:flex;flex-wrap:wrap;align-items:center;gap:.75rem}
.fm4-account-profile-msg,.fm4-account-token__msg,.fm4-audio-error{font-size:.86rem;color:var(--fm4-muted-color,#64748b)}
.fm4-account-notice{padding:.65rem .85rem;border-radius:min(var(--fm4-global-radius,8px),8px);font-size:.9rem;font-weight:600;border:1px solid color-mix(in srgb,var(--fm4-primary-color,#2563eb) 35%,var(--fm4-border-color,#e5e7eb));background:color-mix(in srgb,var(--fm4-primary-color,#2563eb) 10%,var(--fm4-surface-color,#fff));color:var(--fm4-text-color,#111827)}
.fm4-account-tokens{display:grid;gap:.5rem;margin-top:.45rem}
.fm4-account-token{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.65rem;padding:.55rem .7rem;border:1px solid var(--fm4-border-color,#e5e7eb);border-radius:min(var(--fm4-global-radius,8px),8px);background:var(--fm4-surface-color,#fff)}
.fm4-account-token__meta{display:grid;gap:.15rem;min-width:0}
.fm4-account-token__meta small{color:var(--fm4-muted-color,#64748b);font-size:.78rem}
.fm4-account-token__act{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem}
.fm4-app-component--booking .fm4-app-component__mount,.fm4-app-component--newsletter .fm4-app-component__mount,.fm4-app-component--newsletter_signup .fm4-app-component__mount,.fm4-app-component--form .fm4-app-component__mount{display:block;width:100%}
.fm4-booking-app,.fm4-newsletter-app,.fm4-booking-confirm{display:grid;gap:1rem;width:100%;box-sizing:border-box;padding:clamp(1rem,2.5vw,1.35rem);border:1px solid var(--fm4-border-color,#e5e7eb);border-radius:var(--fm4-global-radius,10px);background:var(--fm4-surface-color,#fff);color:var(--fm4-text-color,#111827)}
.fm4-booking-app__controls,.fm4-newsletter-form__fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}
.fm4-booking-field,.fm4-newsletter-form label{display:grid;gap:.35rem;font-size:.86rem;color:var(--fm4-muted-color,#64748b)}
.fm4-booking-field input,.fm4-booking-field select,.fm4-newsletter-form input[type="text"],.fm4-newsletter-form input[type="email"]{min-width:0;min-height:2.5rem;padding:0 .75rem;border:1px solid var(--fm4-border-color,#e5e7eb);border-radius:min(var(--fm4-global-radius,8px),8px);background:var(--fm4-surface-color,#fff);color:var(--fm4-text-color,#111827);font:inherit}
.fm4-booking-app__desc{margin:0;color:var(--fm4-muted-color,#64748b);font-size:.92rem;line-height:1.45}
.fm4-booking-app__label{margin:0 0 .5rem;font-size:.92rem;color:var(--fm4-text-color,#111827)}
.fm4-booking-slots{display:flex;flex-wrap:wrap;gap:.5rem}
.fm4-booking-slot{min-height:2.35rem;padding:.35rem .85rem;border:1px solid var(--fm4-border-color,#e5e7eb);border-radius:min(var(--fm4-global-radius,8px),8px);background:var(--fm4-surface-color,#fff);color:var(--fm4-text-color,#111827);font:600 .86rem/1 var(--fm4-body-font,system-ui,sans-serif);cursor:pointer;transition:border-color .15s ease,background-color .15s ease,color .15s ease}
.fm4-booking-slot:hover{border-color:var(--fm4-primary-color,#2563eb);color:var(--fm4-primary-color,#2563eb)}
.fm4-booking-slot.is-selected{background:var(--fm4-primary-color,#2563eb);border-color:var(--fm4-primary-color,#2563eb);color:var(--fm4-surface-color,#fff)}
.fm4-booking-form,.fm4-newsletter-form{display:grid;gap:.85rem}
.fm4-booking-form__foot,.fm4-booking-confirm__actions,.fm4-newsletter-form__actions{display:flex;flex-wrap:wrap;align-items:center;gap:.75rem}
.fm4-booking-status{font-size:.88rem;color:var(--fm4-muted-color,#64748b)}
.fm4-booking-confirm__head{display:flex;align-items:center;gap:.5rem;color:var(--fm4-primary-color,#2563eb)}
.fm4-booking-confirm__head h3{margin:0;color:var(--fm4-text-color,#111827);font-size:1.1rem}
.fm4-booking-confirm__meta{display:grid;gap:.45rem;margin:0;padding:.75rem;border-radius:min(var(--fm4-global-radius,8px),8px);background:color-mix(in srgb,var(--fm4-surface-color,#fff) 95%,var(--fm4-primary-color,#2563eb))}
.fm4-booking-confirm__meta>div{display:flex;justify-content:space-between;gap:1rem;font-size:.9rem}
.fm4-booking-confirm__meta dt{color:var(--fm4-muted-color,#64748b)}
.fm4-booking-confirm__meta dd{margin:0;font-weight:600;color:var(--fm4-text-color,#111827)}
.fm4-newsletter-consent{display:flex!important;align-items:flex-start;gap:.55rem;font-size:.88rem;color:var(--fm4-text-color,#111827)!important;cursor:pointer}
.fm4-newsletter-consent input{margin-top:.2rem;flex:0 0 auto}
.fm4-newsletter-status{padding:.7rem .9rem;border-radius:min(var(--fm4-global-radius,8px),8px);font-size:.9rem;border:1px solid var(--fm4-border-color,#e5e7eb);background:color-mix(in srgb,var(--fm4-primary-color,#2563eb) 8%,var(--fm4-surface-color,#fff));color:var(--fm4-text-color,#111827)}
.fm4-newsletter-status.is-error{border-color:color-mix(in srgb,var(--fm4-danger-color,#dc2626) 45%,var(--fm4-border-color,#e5e7eb));background:color-mix(in srgb,var(--fm4-danger-color,#dc2626) 9%,var(--fm4-surface-color,#fff))}
.fm4-newsletter-magnet{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.75rem;padding:.75rem .9rem;border:1px solid color-mix(in srgb,var(--fm4-primary-color,#2563eb) 35%,var(--fm4-border-color,#e5e7eb));border-radius:min(var(--fm4-global-radius,8px),8px);background:color-mix(in srgb,var(--fm4-primary-color,#2563eb) 8%,var(--fm4-surface-color,#fff))}
.fm4-booking-payment-box{display:grid;gap:.55rem;padding:.85rem 1rem;border:1px solid color-mix(in srgb,var(--fm4-primary-color,#2563eb) 35%,var(--fm4-border-color,#e5e7eb));border-radius:var(--fm4-global-radius,10px);background:color-mix(in srgb,var(--fm4-primary-color,#2563eb) 7%,var(--fm4-surface-color,#fff));color:var(--fm4-text-color,#111827)}
.fm4-booking-payment-box__row{display:flex;justify-content:space-between;align-items:center;gap:.75rem;font-size:.94rem}
.fm4-booking-payment-box__desc{margin:0;font-size:.86rem;line-height:1.45;color:var(--fm4-muted-color,#64748b)}
.fm4-booking-payment-box__ref{font-size:.84rem;color:var(--fm4-muted-color,#64748b)}
.fm4-booking-payment-box__ref code{padding:.15rem .4rem;border-radius:calc(var(--fm4-global-radius,10px) * .5);background:color-mix(in srgb,var(--fm4-border-color,#e5e7eb) 45%,transparent);color:var(--fm4-text-color,#111827)}
.fm4-booking-payment-box__cta{display:flex;flex-wrap:wrap;gap:.6rem;margin-top:.25rem}
.fm4-member-gate{display:grid;gap:.85rem;width:100%;box-sizing:border-box;padding:clamp(1rem,2.5vw,1.35rem);border:1px solid var(--fm4-border-color,#e5e7eb);border-radius:var(--fm4-global-radius,10px);background:var(--fm4-surface-color,#fff);color:var(--fm4-text-color,#111827)}
.fm4-member-gate__title{margin:0;font-family:var(--fm4-heading-font,inherit);font-size:1.08rem;color:var(--fm4-text-color,#111827)}
.fm4-member-gate__desc{margin:0;font-size:.88rem;line-height:1.45;color:var(--fm4-muted-color,#64748b)}
.fm4-member-gate__form{display:grid;gap:.75rem}
.fm4-member-gate__form label{display:grid;gap:.35rem;font-size:.86rem;color:var(--fm4-muted-color,#64748b)}
.fm4-member-gate__form input{min-width:0;min-height:2.5rem;padding:0 .75rem;border:1px solid var(--fm4-border-color,#e5e7eb);border-radius:var(--fm4-global-radius,10px);background:var(--fm4-surface-color,#fff);color:var(--fm4-text-color,#111827);font:inherit}
.fm4-member-gate__actions{display:flex;flex-wrap:wrap;align-items:center;gap:.65rem}
.fm4-member-gate__signed{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.85rem}
.fm4-member-gate__meta{margin-top:.2rem;font-size:.86rem;color:var(--fm4-muted-color,#64748b)}
.fm4-member-gate__status{font-size:.88rem;color:var(--fm4-muted-color,#64748b)}
.fm4-member-gate__status.is-success,.fm4-member-gate__status.is-error{padding:.65rem .85rem;border-radius:var(--fm4-global-radius,10px);border:1px solid var(--fm4-border-color,#e5e7eb);color:var(--fm4-text-color,#111827);background:color-mix(in srgb,var(--fm4-primary-color,#2563eb) 8%,var(--fm4-surface-color,#fff))}
.fm4-member-gate__status.is-error{border-color:color-mix(in srgb,var(--fm4-danger-color,#dc2626) 45%,var(--fm4-border-color,#e5e7eb));background:color-mix(in srgb,var(--fm4-danger-color,#dc2626) 9%,var(--fm4-surface-color,#fff))}
.fm4-schedule-timer{display:grid;gap:.5rem;padding:1rem 1.2rem;border:1px solid var(--fm4-border-color,#e5e7eb);border-radius:var(--fm4-global-radius,10px);background:var(--fm4-surface-color,#fff);color:var(--fm4-text-color,#111827)}
.fm4-schedule-timer .fm4-timer-label{margin:0;font-size:.88rem;font-weight:700;color:var(--fm4-muted-color,#64748b);text-transform:uppercase;letter-spacing:.04em}
.fm4-schedule-timer .fm4-timer-display{display:flex;flex-wrap:wrap;align-items:baseline;gap:.65rem;font-family:var(--fm4-heading-font,inherit);font-size:clamp(1.35rem,3vw,2rem);font-weight:800;font-variant-numeric:tabular-nums}
.fm4-schedule-timer .fm4-timer-display span{color:var(--fm4-primary-color,#2563eb)}
.fm4-schedule-timer.is-expired{opacity:.72}
@media(max-width:640px){.fm4-booking-app__controls,.fm4-newsletter-form__fields{grid-template-columns:minmax(0,1fr)}}
@media(max-width:560px){.fm4-form-fields{grid-template-columns:1fr}.fm4-assessment-head{grid-template-columns:1fr}.fm4-form-nps-grid{grid-template-columns:repeat(6,minmax(0,1fr))}}
.fm4-form-help{color:var(--fm4-muted-color,#64748b);line-height:1.35}
.fm4-form-error{min-height:1em;color:#f87171!important;font-weight:700;font-size:.85rem}
.fm4-form-field--error input,.fm4-form-field--error textarea,.fm4-form-field--error select{border-color:#ef4444!important;box-shadow:0 0 0 1px rgba(239,68,68,.35)!important}
.fm4-form-message{padding:.85rem 1.1rem;border:1px solid rgba(239,68,68,.45)!important;border-radius:min(var(--fm4-global-radius,8px),8px);background:rgba(239,68,68,.16)!important;color:#fca5a5!important;font-weight:750;font-size:.92rem;line-height:1.4;margin-bottom:1rem}
.fm4-form-success{padding:1rem 1.25rem;border:1px solid rgba(34,197,94,.4)!important;border-radius:min(var(--fm4-global-radius,8px),8px);background:rgba(34,197,94,.16)!important;color:#86efac!important;font-weight:750;font-size:.95rem;line-height:1.4}
.fm4-theme--light .fm4-form-message,[data-theme="light"] .fm4-form-message{background:#fef2f2!important;border-color:#fecaca!important;color:#b91c1c!important}
.fm4-theme--light .fm4-form-success,[data-theme="light"] .fm4-form-success{background:#f0fdf4!important;border-color:#bbf7d0!important;color:#15803d!important}
.fm4-public-form .fm4-form-submit,.fm4-public-form .fm4-app-btn{display:inline-flex;align-items:center;justify-content:center;min-height:2.85rem;padding:0 1.6rem;border-radius:min(var(--fm4-global-radius,8px),8px);background:var(--fm4-primary-color,#ea580c)!important;color:#ffffff!important;font:750 .95rem/1 Inter,system-ui,sans-serif!important;border:1px solid color-mix(in srgb,var(--fm4-primary-color,#ea580c) 80%,white)!important;cursor:pointer!important;box-shadow:0 4px 14px rgba(0,0,0,.15)!important;transition:all .15s ease!important;text-decoration:none!important;letter-spacing:.01em!important}
.fm4-public-form .fm4-form-submit:hover,.fm4-public-form .fm4-app-btn:hover{background:color-mix(in srgb,var(--fm4-primary-color,#ea580c) 85%,white)!important;box-shadow:0 6px 20px rgba(0,0,0,.22)!important;transform:translateY(-1px)!important;color:#ffffff!important}
.fm4-form-steps{display:flex;flex-wrap:wrap;align-items:center;gap:.45rem}
.fm4-form-step-pill{display:inline-flex;align-items:center;gap:.4rem;min-height:2rem;border:1px solid var(--fm4-border-color,#e5e7eb);border-radius:999px;padding:.25rem .65rem;background:var(--fm4-surface-color,#fff);color:var(--fm4-muted-color,#64748b);font-size:.82rem;font-weight:800}
.fm4-form-step-pill strong{display:grid;place-items:center;width:1.35rem;height:1.35rem;border-radius:999px;background:color-mix(in srgb,var(--fm4-muted-color,#64748b) 12%,transparent);color:var(--fm4-text-color,#111827);font-size:.78rem}
.fm4-form-step-pill.is-active{border-color:color-mix(in srgb,var(--fm4-primary-color,#2563eb) 45%,var(--fm4-border-color,#e5e7eb));color:var(--fm4-primary-color,#2563eb)}
.fm4-form-step-pill.is-active strong,.fm4-form-step-pill.is-complete strong{background:var(--fm4-primary-color,#2563eb);color:#fff}
.fm4-form-step-panels,.fm4-form-step-panel{display:grid;gap:.85rem}
.fm4-form-step-panel[hidden]{display:none!important}
.fm4-form-nav{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:.65rem}
.fm4-form-nav [hidden]{display:none!important}
.fm4-form-hp{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important}
@keyframes fm4-spin{to{transform:rotate(360deg)}}
.fm4-app-component--checkout{min-width:0;max-width:100%;border:0;background:transparent;padding:0}
.fm4-app-component--checkout .fm4-app-component__title{display:none}
.fm4-app-component--checkout .fm4-app-component__mount{display:block;min-width:0;max-width:100%;min-height:0}
.fm4-checkout-form{display:grid;gap:1rem;margin-top:0;width:100%;max-width:100%;min-width:0;box-sizing:border-box}
.fm4-checkout-shell{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(280px,.8fr);gap:1rem;align-items:start;min-width:0;max-width:100%}
.fm4-checkout-card{display:grid;gap:1rem;min-width:0;max-width:100%;box-sizing:border-box;border:1px solid var(--fm4-border-color,#e5e7eb);border-radius:min(var(--fm4-global-radius,8px),8px);background:var(--fm4-surface-color,#fff);padding:1rem}
.fm4-checkout-review{position:sticky;top:1rem}
.fm4-checkout-section-head{display:flex;align-items:center;gap:.65rem}
.fm4-checkout-section-head span{display:grid;place-items:center;width:1.7rem;height:1.7rem;border-radius:999px;background:color-mix(in srgb,var(--fm4-primary-color,#2563eb) 12%,var(--fm4-surface-color,#fff));color:var(--fm4-primary-color,#2563eb);font-weight:800;font-size:.82rem}
.fm4-checkout-section-head h3{margin:0;font-size:1rem;line-height:1.25;color:var(--fm4-text-color,#111827)}
.fm4-checkout-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:.75rem}
.fm4-checkout-wide{grid-column:1/-1}
.fm4-checkout-form label{display:grid;gap:.35rem;font-size:.85rem;color:var(--fm4-muted-color,#64748b)}
.fm4-checkout-form input,.fm4-checkout-form textarea{min-width:0;min-height:2.5rem;border:1px solid var(--fm4-border-color);border-radius:var(--fm4-global-radius,8px);padding:0 .8rem;font:inherit;color:var(--fm4-text-color);background:var(--fm4-surface-color);box-sizing:border-box;width:100%}
.fm4-checkout-form textarea{min-height:4.2rem;padding:.6rem .8rem;resize:vertical;line-height:1.45}
.fm4-checkout-method-badge{display:inline-flex;align-items:center;margin-left:.45rem;padding:.1rem .45rem;border-radius:999px;font-size:.7rem;font-weight:800;background:color-mix(in srgb,var(--fm4-warning-color,var(--fm4-accent-color)) 18%,var(--fm4-surface-color));color:var(--fm4-warning-color,var(--fm4-accent-color))}
.fm4-checkout-error{display:grid;gap:.3rem;padding:.75rem .9rem;border:1px solid color-mix(in srgb,var(--fm4-danger-color,var(--fm4-accent-color)) 50%,var(--fm4-border-color));border-radius:var(--fm4-global-radius,8px);background:color-mix(in srgb,var(--fm4-danger-color,var(--fm4-accent-color)) 12%,var(--fm4-surface-color));color:var(--fm4-text-color);font-size:.9rem;font-weight:700;line-height:1.4}
.fm4-checkout-save{display:flex!important;align-items:center;gap:.55rem;color:var(--fm4-text-color,#111827)!important}
.fm4-checkout-save input{width:1rem!important;height:1rem!important;min-height:0!important;padding:0!important;accent-color:var(--fm4-primary-color,#2563eb)}
.fm4-checkout-payment-methods{display:grid;gap:.65rem;margin:.35rem 0 .5rem}
.fm4-checkout-method-option{display:flex!important;align-items:flex-start;gap:.75rem;padding:.85rem 1rem;border:1px solid var(--fm4-border-color,#e5e7eb);border-radius:min(var(--fm4-global-radius,8px),8px);background:var(--fm4-surface-color,#fff);cursor:pointer;transition:border-color .15s ease,background .15s ease}
.fm4-checkout-method-option:hover{border-color:var(--fm4-primary-color,#2563eb)}
.fm4-checkout-method-option:has(input:checked){border-color:var(--fm4-primary-color,#2563eb);background:color-mix(in srgb,var(--fm4-surface-color,#fff) 92%,var(--fm4-primary-color,#2563eb))}
.fm4-checkout-method-option input[type="radio"]{width:1.15rem!important;height:1.15rem!important;min-height:0!important;margin-top:.15rem;accent-color:var(--fm4-primary-color,#2563eb)}
.fm4-checkout-method-content{display:grid;gap:.2rem}
.fm4-checkout-method-content strong{font-size:.95rem;color:var(--fm4-text-color,#111827)}
.fm4-checkout-method-content small{font-size:.82rem;color:var(--fm4-muted-color,#64748b);line-height:1.35}
.fm4-checkout-totals{display:grid;gap:.5rem}
.fm4-checkout-shipping{display:grid;gap:.35rem;font-size:.85rem;color:var(--fm4-muted-color,#64748b)}
.fm4-checkout-shipping select{min-width:0;min-height:2.5rem;border:1px solid var(--fm4-border-color,#e5e7eb);border-radius:min(var(--fm4-global-radius,8px),8px);padding:0 .8rem;font:inherit;color:var(--fm4-text-color,#111827);background:var(--fm4-surface-color,#fff)}
.fm4-checkout-summary{display:grid;gap:.45rem;border:1px solid var(--fm4-border-color,#e5e7eb);border-radius:var(--fm4-global-radius,8px);padding:.85rem;background:color-mix(in srgb,var(--fm4-surface-color,#fff) 92%,var(--fm4-primary-color,#2563eb))}
.fm4-checkout-summary>div{display:flex;align-items:center;justify-content:space-between;gap:1rem}
.fm4-checkout-summary span{color:var(--fm4-muted-color,#64748b)}
.fm4-checkout-summary strong{color:var(--fm4-text-color,#111827)}
.fm4-checkout-summary__total{border-top:1px solid var(--fm4-border-color,#e5e7eb);padding-top:.55rem;margin-top:.2rem;font-size:1.08rem}
.fm4-checkout-summary p{margin:.25rem 0 0;color:var(--fm4-muted-color,#64748b);font-size:.88rem}
.fm4-checkout-tax-note--ok{color:var(--fm4-success-color,var(--fm4-primary-color))!important}
.fm4-checkout-submit{width:100%}
.fm4-checkout-result{display:grid;gap:.5rem}
body[data-fm4-slug="checkout"] .fm4-placement-slot--before_content{padding-top:.25rem}
body[data-fm4-slug="checkout"] .uv-header{margin-bottom:clamp(.75rem,2vw,1.25rem)}
body[data-fm4-slug="checkout"] .uv-title{font-size:clamp(2rem,5vw,3.2rem)!important;line-height:1.05!important;margin-bottom:0!important}
.fm4-checkout-account{display:grid;gap:.75rem;border:1px solid color-mix(in srgb,var(--fm4-border-color,#e5e7eb) 80%,transparent);border-radius:min(var(--fm4-global-radius,8px),8px);padding:.85rem;background:color-mix(in srgb,var(--fm4-surface-color,#fff) 94%,var(--fm4-primary-color,#2563eb))}
.fm4-checkout-account:empty{display:none}
.fm4-checkout-account__head{display:flex;align-items:flex-start;justify-content:space-between;gap:.75rem}
.fm4-checkout-account__head strong{display:block;color:var(--fm4-text-color,#111827)}
.fm4-checkout-account__head small{display:block;color:var(--fm4-muted-color,#64748b);line-height:1.35}
.fm4-checkout-account__actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.6rem}
.fm4-checkout-account__actions input{width:100%}
.fm4-checkout-account__wide{grid-column:1/-1}
.fm4-checkout-account__status{display:flex;align-items:center;justify-content:space-between;gap:.75rem;flex-wrap:wrap}
.fm4-checkout-account__message{font-size:.86rem;color:var(--fm4-muted-color,#64748b)}
.fm4-checkout-account__message--error{color:var(--fm4-danger-color,var(--fm4-accent-color));font-weight:700}
.fm4-checkout-google{width:100%;text-decoration:none}
.fm4-order-confirmation{display:grid;gap:1rem;max-width:min(760px,100%);padding:clamp(1rem,3vw,1.4rem);border:1px solid var(--fm4-border-color,#e5e7eb);border-radius:min(var(--fm4-global-radius,10px),10px);background:var(--fm4-surface-color,#fff);box-shadow:0 18px 44px rgba(15,23,42,.08)}
.fm4-order-confirmation__head{display:grid;gap:.25rem;padding-bottom:.85rem;border-bottom:1px solid var(--fm4-border-color,#e5e7eb)}
.fm4-order-confirmation__head span{width:max-content;padding:.18rem .55rem;border-radius:999px;background:color-mix(in srgb,var(--fm4-success-color,#16a34a) 12%,var(--fm4-surface-color,#fff));color:color-mix(in srgb,var(--fm4-success-color,#16a34a) 78%,var(--fm4-text-color,#111827));font-size:.8rem;font-weight:850}
.fm4-order-confirmation__head h2{margin:0;font-size:clamp(1.55rem,4vw,2.35rem);line-height:1.05;color:var(--fm4-text-color,#111827)}
.fm4-order-confirmation__head p,.fm4-order-confirmation__box p,.fm4-order-confirmation__notice{margin:0;color:var(--fm4-muted-color,#64748b);line-height:1.5}
.fm4-order-confirmation__items,.fm4-order-confirmation__box{display:grid;gap:.55rem;padding:.85rem;border:1px solid var(--fm4-border-color,#e5e7eb);border-radius:min(var(--fm4-global-radius,8px),8px);background:color-mix(in srgb,var(--fm4-surface-color,#fff) 96%,var(--fm4-primary-color,#2563eb))}
.fm4-order-confirmation__items>div{display:flex;align-items:center;justify-content:space-between;gap:1rem}
.fm4-order-confirmation__items span{min-width:0;overflow-wrap:anywhere;color:var(--fm4-text-color,#111827)}
.fm4-order-confirmation__box h3{margin:0;font-size:1rem;color:var(--fm4-text-color,#111827)}
.fm4-order-confirmation__pay{width:max-content;max-width:100%;text-decoration:none}
.fm4-order-confirmation__tokens{display:flex;flex-wrap:wrap;gap:.45rem}
.fm4-order-confirmation__tokens code{padding:.3rem .45rem;border-radius:6px;background:color-mix(in srgb,var(--fm4-text-color,#111827) 8%,transparent);font-size:.86rem}
.fm4-order-confirmation__actions{display:flex;justify-content:flex-start}
.fm4-account-panel{display:grid;gap:1rem;width:min(860px,100%);padding:clamp(1rem,3vw,1.25rem);border:1px solid var(--fm4-border-color,#e5e7eb);border-radius:min(var(--fm4-global-radius,10px),10px);background:var(--fm4-surface-color,#fff);box-shadow:0 14px 34px rgba(15,23,42,.07)}
.fm4-account-panel__head,.fm4-account-panel__status{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;flex-wrap:wrap}
.fm4-account-panel h2,.fm4-account-panel__subhead{margin:0;color:var(--fm4-text-color,#111827);line-height:1.15}
.fm4-account-panel p{margin:.25rem 0 0;color:var(--fm4-muted-color,#64748b);line-height:1.45}
.fm4-account-panel__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}
.fm4-account-panel__grid label{display:grid;gap:.35rem;font-size:.85rem;color:var(--fm4-muted-color,#64748b)}
.fm4-account-panel__grid input{min-width:0;min-height:2.5rem;border:1px solid var(--fm4-border-color,#e5e7eb);border-radius:min(var(--fm4-global-radius,8px),8px);padding:0 .8rem;font:inherit;color:var(--fm4-text-color,#111827);background:var(--fm4-surface-color,#fff)}
.fm4-account-panel__wide{grid-column:1/-1}
.fm4-account-orders{display:grid;gap:.75rem}
.fm4-account-order{display:grid;gap:.65rem;padding:.85rem;border:1px solid var(--fm4-border-color,#e5e7eb);border-radius:min(var(--fm4-global-radius,8px),8px);background:color-mix(in srgb,var(--fm4-surface-color,#fff) 96%,var(--fm4-primary-color,#2563eb))}
.fm4-account-order__top{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem}
.fm4-account-order__top strong,.fm4-account-order__top small{display:block}
.fm4-account-order__top small{margin-top:.15rem;color:var(--fm4-muted-color,#64748b)}
.fm4-account-order__states{display:flex;flex-wrap:wrap;gap:.4rem}
.fm4-account-order__states span{padding:.16rem .5rem;border-radius:999px;background:color-mix(in srgb,var(--fm4-primary-color,#2563eb) 10%,var(--fm4-surface-color,#fff));color:var(--fm4-primary-color,#2563eb);font-size:.78rem;font-weight:800}
.fm4-account-order details{display:grid;gap:.45rem;color:var(--fm4-muted-color,#64748b);font-size:.9rem}
.fm4-account-order summary{cursor:pointer;font-weight:800;color:var(--fm4-text-color,#111827)}
.fm4-account-order details>div{display:flex;justify-content:space-between;gap:1rem;margin-top:.35rem}
.fm4-account-order code{display:inline-block;margin:.35rem .35rem 0 0;padding:.3rem .45rem;border-radius:6px;background:color-mix(in srgb,var(--fm4-text-color,#111827) 8%,transparent);font-size:.86rem}
@media (max-width: 768px){
  body[data-fm4-slug="checkout"] .uv-title{font-size:clamp(1.6rem,8vw,2.2rem)!important}
  body[data-fm4-slug="checkout"] .fm4-placement-slot--before_content{padding:.15rem 0 1rem}
  .fm4-checkout-shell{grid-template-columns:minmax(0,1fr);gap:.75rem}
  .fm4-checkout-review{position:static}
  .fm4-checkout-card{gap:.75rem;padding:.75rem;border-radius:min(var(--fm4-global-radius,8px),8px)}
  .fm4-checkout-section-head{gap:.5rem}
  .fm4-checkout-section-head span{display:none}
  .fm4-checkout-grid{grid-template-columns:minmax(0,1fr);gap:.6rem}
  .fm4-checkout-form label{gap:.25rem}
  .fm4-checkout-form input,.fm4-checkout-form textarea,.fm4-checkout-shipping select{min-height:2.35rem;padding:0 .7rem}
  .fm4-checkout-form textarea{padding:.55rem .7rem}
  .fm4-product-filters{padding:.7rem}
  .fm4-product-filters__controls{grid-template-columns:minmax(0,1fr)}
  .fm4-cart-drawer__panel{width:100vw;padding:.85rem}
  .fm4-checkout-account{padding:.7rem;gap:.6rem}
  .fm4-checkout-account__actions{grid-template-columns:minmax(0,1fr)}
  .fm4-cart-line{gap:.7rem;padding:.6rem}
  .fm4-cart-line--checkout{display:grid;grid-template-columns:minmax(0,1fr)}
  .fm4-cart-line__side{justify-items:start;width:100%}
  .fm4-cart-qty-control{grid-template-columns:2rem minmax(2.8rem,3.4rem) 2rem minmax(4.5rem,auto)}
  .fm4-checkout-summary{padding:.7rem}
  .fm4-order-confirmation{padding:.85rem;gap:.75rem}
  .fm4-order-confirmation__items>div{align-items:flex-start}
  .fm4-account-panel{padding:.85rem;gap:.75rem}
  .fm4-account-panel__grid{grid-template-columns:minmax(0,1fr)}
  .fm4-account-order__top{display:grid}
  .fm4-form-fields{grid-template-columns:minmax(0,1fr);gap:.65rem}
  .fm4-public-form{width:100%;gap:.8rem}
  .fm4-form-field input,.fm4-form-field textarea,.fm4-form-field select{min-height:2.45rem;padding:.62rem .7rem}
  .fm4-form-nav{justify-content:stretch}
  .fm4-form-nav .fm4-app-btn{flex:1 1 8rem}
}
.fm4-nav-toggle-open span:nth-child(2){opacity:0}
.fm4-nav-toggle-open span:nth-child(3){transform:translateY(-6px) rotate(-45deg)}


/* -- Mobile nav & Header -------------------------------------------------- */
.fm4-nav-search-mobile{display:none}

@media (max-width: 768px){
  .fm4-header-inner{
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    padding:.65rem var(--fm4-site-padding, 1.15rem)!important;
    gap:.5rem!important;
    flex-wrap:nowrap!important;
    overflow:visible!important;
    position:relative!important;
  }
  .fm4-brand-stack{
    display:flex!important;
    align-items:center!important;
    gap:.5rem!important;
    min-width:0!important;
    flex:1 1 auto!important;
    overflow:visible!important;
    position:relative!important;
  }
  .fm4-site-brand{
    font-size:1.15rem!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    flex-shrink:1!important;
  }
  .fm4-placement-slot--header_utility{
    margin-left:auto!important;
    order:3!important;
    flex-shrink:0!important;
  }
  .fm4-nav-toggle{
    display:flex!important;
    order:4!important;
    flex-shrink:0!important;
    margin-left:.35rem!important;
    z-index:270!important;
  }
  nav.fm4-nav{
    position:absolute!important;
    top:calc(100% + 1px)!important;
    left:0!important;
    right:0!important;
    background:var(--fm4-surface-color,#fff)!important;
    border-top:1px solid rgba(0,0,0,.1)!important;
    box-shadow:0 14px 32px rgba(0,0,0,.16)!important;
    display:none;
    max-height:calc(100dvh - 70px)!important;
    overflow-y:auto!important;
    -webkit-overflow-scrolling:touch!important;
    overscroll-behavior:contain!important;
    z-index:260!important;
  }
  nav.fm4-nav.fm4-nav-open{display:block!important}
  
  /* Prominent search bar at top of mobile menu */
  .fm4-nav-search-mobile{
    display:block!important;
    padding:.85rem 1.2rem .5rem!important;
    border-bottom:1px solid rgba(0,0,0,.08)!important;
    background:rgba(0,0,0,.02)!important;
  }
  .fm4-nav-search-mobile .fm4-search-widget__form{
    display:flex!important;
    width:100%!important;
  }
  .fm4-nav-search-mobile .fm4-search-widget__field{
    width:100%!important;
    flex:1 1 auto!important;
    position:relative!important;
  }
  .fm4-nav-search-mobile .fm4-search-widget__input{
    width:100%!important;
    height:2.4rem!important;
    opacity:1!important;
    cursor:text!important;
    padding:0 2.2rem 0 .85rem!important;
    font-size:.92rem!important;
    background:var(--fm4-surface-color,#fff)!important;
    border:1px solid var(--fm4-border-color,#cbd5e1)!important;
    border-radius:8px!important;
  }
  
  ul.fm4-nav-device-mobile{display:flex!important}
  .fm4-nav-item.fm4-nav-vis-mobile{display:list-item!important}
  .fm4-nav-heading.fm4-nav-vis-mobile{display:block!important}
  .fm4-nav-device-desktop,.fm4-nav-vis-desktop{display:none!important}
  .fm4-placement-item--desktop{display:none}
  .fm4-placement-item--mobile{display:block}
  .fm4-placement-slot--mobile_drawer{display:grid;gap:.75rem;padding:.75rem 1rem;border-top:1px solid rgba(0,0,0,.08)}
  .fm4-nav > ul.fm4-nav,.fm4-nav ul.fm4-nav{flex-direction:column;align-items:stretch;gap:0;padding:.5rem 0}
  .fm4-nav-link{padding:.7rem 1.2rem;border-radius:0;font-size:1rem}
  .fm4-nav-item.has-children > .fm4-nav-link::after{margin-left:auto}
  .fm4-nav-sub{display:none;position:static;box-shadow:none;border:none;border-radius:0;background:rgba(0,0,0,.03);padding:.25rem 0}
  .fm4-nav-item.has-children.fm4-sub-open > .fm4-nav-sub{display:block}
  .fm4-nav-sub .fm4-nav-link{padding:.6rem 1.2rem .6rem 2rem;font-size:.9rem}
}

/* Collapse text blocks with only whitespace/br */
.fm4-text-content > *:only-child br:only-child{display:none}
.fm4-text-block:empty,.fm4-text-content:empty{display:none}
/* ── Footer ────────────────────────────────────────────────────────────── */
.fm4-site-footer{padding:clamp(2rem,5vw,3.5rem) clamp(1rem,3vw,2rem);text-align:center;font-size:.85rem;color:var(--fm4-muted-color,color-mix(in srgb,var(--fm4-text-color,#1f2937) 55%,transparent));border-top:1px solid var(--fm4-border-color,rgba(0,0,0,.08));background:var(--fm4-surface-color,#fff)!important;}
.fm4-footer-nav > ul.fm4-nav{list-style:none;margin:0 auto 1rem;padding:0;display:flex;align-items:center;justify-content:center;gap:.35rem;flex-wrap:wrap;max-width:var(--fm4-container-width,1200px)}
.fm4-footer-nav .fm4-nav-link{padding:.35rem .65rem;font-size:.86rem;color:inherit}
.fm4-footer-nav .fm4-nav-link:hover,.fm4-footer-nav .fm4-nav-link.fm4-nav-active{background:transparent;color:var(--fm4-primary-color,#2563eb);text-decoration:underline}
.fm4-site-footer p{max-width:var(--fm4-container-width,1200px);margin:.5rem auto 0;line-height:1.6}
[data-fm4-field="footer_text"]{display:block!important;width:100%!important;max-width:var(--fm4-container-width,1200px);margin:.5rem auto 0;line-height:1.6}
.fm4-zone-footer_top,.fm4-zone-footer_columns,.fm4-zone-footer_bottom,.fm4-placement-slot--footer{max-width:var(--fm4-container-width,1200px);margin-left:auto;margin-right:auto;width:100%}
.fm4-site-footer a{color:var(--fm4-primary-color,#2563eb);text-decoration:none}
.fm4-site-footer a:hover{text-decoration:underline}
.fm4-hero-cover--wide{width:min(100vw,calc(100% + 8rem))!important;max-width:100vw!important;margin-left:max(-4rem,calc(50% - 50vw))!important;margin-right:max(-4rem,calc(50% - 50vw))!important}
.fm4-hero-cover--full{width:100vw!important;max-width:100vw!important;margin-left:calc(50% - 50vw)!important;margin-right:calc(50% - 50vw)!important;border-radius:0!important}
/* ── Strict Global Vertical Rhythm & Alignment ── */
.fm4-hero-section,
.uv-header,
.sd-home-type__inner,
.sd-simple-page__header,
.sd-two-col__header {
  padding-top: var(--fm4-page-title-top-gap, clamp(1.5rem, 3.5vw, 3rem));
  padding-bottom: 0;
  margin-top: 0;
  margin-bottom: var(--fm4-content-gap, clamp(2rem, 4vw, 3.5rem));
  text-align: center;
}

.fm4-doc-container {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* Top-level root sections get inter-block vertical rhythm gap */
:is(.fm4-main, [data-area="main_content"], [data-fm4-content-root], .fm4-g-main-content) > .fm4-block-wrap + .fm4-block-wrap {
  margin-top: var(--fm4-block-margin-top, var(--fm4-section-gap, 3.5rem));
}

/* Rule 9: Hide empty editable fields for visitors while keeping DOM nodes mounted for Live Edit */
body:not(.fm4-live-editing) [data-fm4-field]:not(img):not(input):not(textarea):not(select):not(video):not(iframe):empty {
  display: none;
}
[contenteditable="true"] [data-fm4-placeholder][data-fm4-slot-empty="1"],
.fm4-live-editing [data-fm4-placeholder][data-fm4-slot-empty="1"],
[contenteditable="true"][data-fm4-placeholder][data-fm4-live-empty="1"] {
  position: relative;
  min-height: 1.25em;
}
[contenteditable="true"] [data-fm4-placeholder][data-fm4-slot-empty="1"]::before,
.fm4-live-editing [data-fm4-placeholder][data-fm4-slot-empty="1"]::before,
.fm4-live-editing [data-fm4-placeholder][data-fm4-live-empty="1"]:not(:focus):empty::before,
[contenteditable="true"][data-fm4-placeholder][data-fm4-live-empty="1"]:not(:focus):empty::before {
  content: attr(data-fm4-placeholder);
  color: color-mix(in srgb, currentColor 42%, transparent);
  font-style: italic;
  font-weight: 400;
  pointer-events: none;
  user-select: none;
}
[contenteditable="true"] [data-fm4-placeholder][data-fm4-slot-empty="1"][data-fm4-slot-focused="1"]::before {
  content: none !important;
}
body:not(.fm4-live-editing) cite[data-fm4-slot-empty="1"],
body:not(.fm4-live-editing) figcaption[data-fm4-slot-empty="1"] {
  display: none !important;
}

/* Any nested blocks inside grids or subcontainers start flush */
#fm4-page :is(.fm4-generic-group, .fm4-builder-list, .fm4-gallery-grid:not(.fm4-list-layout--stack), .fm4-section-content:not(.fm4-section-content--stack), .fm4-card-grid, .card-grid-matrix, .fm4-grid, [data-bld-slot="cards"], .fm4-block-wrap) > .fm4-block-wrap,
#fm4-page .fm4-block-wrap .fm4-block-wrap,
.fm4-generic-group > .fm4-block-wrap,
.fm4-gallery-grid:not(.fm4-list-layout--stack) > .fm4-block-wrap,
.fm4-card-grid > .fm4-block-wrap,
.card-grid-matrix > .fm4-block-wrap,
[data-bld-slot="cards"] > .fm4-block-wrap,
[data-fm4-block-group]:not([data-fm4-block-group="images"]):not([data-fm4-block-group="content_blocks"]) > .fm4-block-wrap,
.fm4-block-wrap .fm4-block-wrap {
  --fm4-block-margin-top: 0px !important;
  --fm4-block-margin: 0px !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* Explicit vertical rhythm for article blocks and stacked block groups (never 2D grids or gap-managed flex streams) */
.fm4-article-blocks > .fm4-block-wrap,
[data-fm4-block-group="images"]:not(.fm4-gallery-grid):not(.fm4-story-stream):not(.fm4-card-grid):not(.fm4-generic-group):not([data-bld-slot="cards"]) > .fm4-block-wrap,
[data-fm4-block-group="content_blocks"]:not(.fm4-gallery-grid):not(.fm4-card-grid):not(.fm4-generic-group):not([data-bld-slot="cards"]) > .fm4-block-wrap {
  --fm4-block-margin-top: var(--fm4-block-spacing, var(--fm4-section-gap, clamp(1.75rem, 4.5vw, 3rem)));
}
.fm4-article-blocks > .fm4-block-wrap:first-child,
.fm4-article-blocks > .fm4-live-add-control:first-child + .fm4-block-wrap,
[data-fm4-block-group="images"]:not(.fm4-gallery-grid):not(.fm4-story-stream):not(.fm4-card-grid):not(.fm4-generic-group):not([data-bld-slot="cards"]) > .fm4-block-wrap:first-child,
[data-fm4-block-group="images"]:not(.fm4-gallery-grid):not(.fm4-story-stream):not(.fm4-card-grid):not(.fm4-generic-group):not([data-bld-slot="cards"]) > .fm4-live-add-control:first-child + .fm4-block-wrap {
  --fm4-block-margin-top: 0px !important;
  margin-top: 0px !important;
}
.fm4-article-blocks > .fm4-block-wrap + .fm4-block-wrap,
.fm4-article-blocks > .fm4-live-add-control + .fm4-block-wrap,
[data-fm4-block-group="images"]:not(.fm4-gallery-grid):not(.fm4-story-stream):not(.fm4-card-grid):not(.fm4-generic-group):not([data-bld-slot="cards"]) > .fm4-block-wrap + .fm4-block-wrap,
[data-fm4-block-group="images"]:not(.fm4-gallery-grid):not(.fm4-story-stream):not(.fm4-card-grid):not(.fm4-generic-group):not([data-bld-slot="cards"]) > .fm4-live-add-control + .fm4-block-wrap,
[data-fm4-block-group="content_blocks"]:not(.fm4-gallery-grid):not(.fm4-card-grid):not(.fm4-generic-group):not([data-bld-slot="cards"]) > .fm4-block-wrap + .fm4-block-wrap {
  --fm4-block-margin-top: var(--fm4-block-spacing, var(--fm4-section-gap, clamp(1.75rem, 4.5vw, 3rem))) !important;
  margin-top: var(--fm4-block-margin-top, var(--fm4-block-spacing, var(--fm4-section-gap, clamp(1.75rem, 4.5vw, 3rem)))) !important;
}

@layer base {
  /* ── Typography vertical rhythm for text blocks & headings ── */
  .fm4-text-content > h1,
  .fm4-text-content > h2,
  .fm4-text-content > h3,
  .fm4-text-content > h4,
  .fm4-doc-container h1,
  .fm4-doc-container h2,
  .fm4-doc-container h3,
  .fm4-doc-container h4 {
    margin-top: var(--fm4-h2-margin-top, clamp(1.75rem, 3.5vw, 2.75rem));
    margin-bottom: var(--fm4-subheading-gap, clamp(0.75rem, 1.5vw, 1.15rem));
    line-height: var(--fm4-heading-line-height, 1.25);
  }
  .fm4-text-content > h3,
  .fm4-text-content > h4,
  .fm4-doc-container h3,
  .fm4-doc-container h4 {
    margin-top: var(--fm4-h3-margin-top, var(--fm4-h2-margin-top, 1.5rem));
  }

  .fm4-text-content > :is(h1, h2, h3, h4):first-child,
  .fm4-doc-container > :is(h1, h2, h3, h4):first-child,
  .fm4-hero-section h1,
  .fm4-hero-section h2,
  .fm4-hero-section h3,
  .fm4-hero-section h4 {
    margin-top: 0;
  }

  .fm4-text-content p,
  .fm4-doc-container p {
    margin-top: 0;
    margin-bottom: var(--fm4-paragraph-margin, clamp(0.85rem, 2vw, 1.25rem));
    line-height: var(--fm4-body-line-height, 1.65);
  }
}

.fm4-hero-kicker,
.fm4-eyebrow,
.uv-kicker,
.sd-home-type__kicker,
[data-fm4-field="eyebrow"],
[data-fm4-field="kicker"] {
  display: inline-block !important;
  font-size: 0.82rem !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  color: var(--fm4-primary-color, #ea580c) !important;
  margin-top: 0 !important;
  margin-bottom: 0.65rem !important;
  line-height: 1 !important;
}

.fm4-hero-title,
.fm4-title-hero,
.uv-title,
.sd-home-type__body h1 {
  font-size: var(--fm4-page-title-size, var(--fm4-h1-size, clamp(2.2rem, 5vw, 3.4rem))) !important;
  font-weight: 850 !important;
  line-height: var(--fm4-heading-line-height, 1.15) !important;
  letter-spacing: -0.03em !important;
  margin-top: 0 !important;
  margin-bottom: var(--fm4-heading-gap, 1.15rem) !important;
  text-align: center;
}

.fm4-lead,
.uv-lead,
.uv-header p,
.fm4-hero-section .fm4-lead,
.sd-home-type__lead,
.sd-two-col__lead,
.sd-simple-page__intro {
  font-size: clamp(1.05rem, 1.6vw, 1.22rem) !important;
  line-height: var(--fm4-body-line-height, 1.65) !important;
  color: color-mix(in srgb, var(--fm4-text-color, #fff) 85%, transparent) !important;
  max-width: 720px !important;
  margin-inline: auto !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  text-align: center;
}

/* Separation between Hero / Header section and following content cards/grid */
.fm4-hero-section + *,
.fm4-hero-section + div,
.fm4-hero-section + .fm4-card-adaptive,
.uv-header + .uv-content-grid,
.uv-header + .uv-content,
.uv-header + .fm4-section-content,
.fm4-block-wrap:has(.fm4-hero-section) + .fm4-block-wrap {
  margin-top: var(--fm4-page-title-content-gap, var(--fm4-section-gap, 2.25rem)) !important;
}

/* Standardized Icon Badge across all cards and widgets */
.fm4-icon-badge,
.fm4-card-icon,
.sd-card__icon,
.fm4-icon-wrap {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: var(--fm4-icon-box-size, 44px) !important;
  height: var(--fm4-icon-box-size, 44px) !important;
  border-radius: max(10px, calc(var(--fm4-global-radius, 16px) - 6px)) !important;
  background: color-mix(in srgb, var(--fm4-primary-color, #ea580c) 16%, transparent) !important;
  border: 1px solid color-mix(in srgb, var(--fm4-primary-color, #ea580c) 30%, transparent) !important;
  color: var(--fm4-primary-color, #ea580c) !important;
  font-size: var(--fm4-icon-font-size, 1.25rem) !important;
  margin-bottom: 0.75rem !important;
  flex-shrink: 0 !important;
}
.fm4-icon-badge svg,
.fm4-card-icon svg,
.sd-card__icon svg,
.fm4-icon-wrap svg {
  width: var(--fm4-icon-svg-size, 20px) !important;
  height: var(--fm4-icon-svg-size, 20px) !important;
}

/* Sizing variations for card and block templates */
.fm4-icon-sm,
.fm4-icon-badge.fm4-icon-sm,
.fm4-card-icon.fm4-icon-sm,
.fm4-icon-wrap.fm4-icon-sm {
  --fm4-icon-box-size: 32px !important;
  --fm4-icon-svg-size: 16px !important;
  --fm4-icon-font-size: 0.95rem !important;
  border-radius: 8px !important;
  margin-bottom: 0.4rem !important;
}
.fm4-icon-md,
.fm4-icon-badge.fm4-icon-md,
.fm4-card-icon.fm4-icon-md,
.fm4-icon-wrap.fm4-icon-md {
  --fm4-icon-box-size: 42px !important;
  --fm4-icon-svg-size: 20px !important;
  --fm4-icon-font-size: 1.2rem !important;
  border-radius: 10px !important;
}
.fm4-icon-lg,
.fm4-icon-badge.fm4-icon-lg,
.fm4-card-icon.fm4-icon-lg,
.fm4-icon-wrap.fm4-icon-lg {
  --fm4-icon-box-size: 54px !important;
  --fm4-icon-svg-size: 26px !important;
  --fm4-icon-font-size: 1.55rem !important;
  border-radius: 14px !important;
  margin-bottom: 1rem !important;
}

/* Sub-boxes / nested cards hierarchy */
.fm4-card .fm4-subcard,
.fm4-card .fm4-nested-box,
.fm4-info-box .fm4-subbox,
.sd-card .sd-subcard,
.fm4-service-card .fm4-subcard {
  background: color-mix(in srgb, var(--fm4-surface-color) 88%, var(--fm4-background-color)) !important;
  border: 1px solid color-mix(in srgb, var(--fm4-border-color) 70%, transparent) !important;
  border-radius: max(8px, calc(var(--fm4-global-radius, 16px) - 4px)) !important;
  padding: 1.25rem 1.5rem !important;
}

.uv-meta{display:flex;flex-wrap:wrap;gap:.35rem .75rem;color:var(--fm4-muted-color,#64748b);font-size:.92rem}
.uv-meta-item{display:inline-flex;align-items:center}
.uv-content-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,360px);gap:var(--uv-content-gap,clamp(1.5rem,4vw,3rem));align-items:start;margin-block:var(--uv-content-gap,clamp(1.25rem,4vw,3rem))}
#fm4-page .uv-content-grid{--uv-content-gap:var(--fm4-content-gap,clamp(1.25rem,4vw,3rem))!important;--uv-sidebar-gap:var(--fm4-content-gap,clamp(1rem,2.2vw,1.5rem))!important}
.uv-main{display:grid;gap:var(--uv-content-gap,clamp(1rem,2.2vw,1.5rem));align-content:start}
.uv-sidebar{display:grid;gap:var(--uv-sidebar-gap,clamp(1rem,2.2vw,1.5rem));align-content:start}
.uv-content{min-width:0;display:grid;gap:var(--uv-content-gap,clamp(1rem,2.2vw,1.5rem))}
.uv-sidebar{position:relative}
.uv-draft-badge{background:#f59e0b;color:#1a1a1a;font-size:.7rem;padding:2px 8px;border-radius:99px;vertical-align:middle;margin-left:.5rem}
@layer base {
  @media(prefers-color-scheme:dark){:root:not(.dark-mode):not(.light-mode){--fm4-bg:#0d0d0d;--fm4-text:#e8e8e8}}
  .dark-mode{background:var(--fm4-background-color,var(--fm4-bg-color,var(--fm4-bg,#0d0d0d)));color:var(--fm4-text-color,var(--fm4-text,#e8e8e8))}
}
@layer base {
  /* Vertical rhythm: one consistent source so text stops "jumping". Normal-flow
     margins collapse, so the deliberate space sits BEFORE a heading and the
     heading hugs its own following content. Feature-card grids opt out (gap). */
  .fm4-text-content > :is(h1,h2,h3,h4,h5,h6){margin:var(--fm4-h2-margin-top,var(--fm4-heading-gap,clamp(1.3rem,2.8vw,1.9rem))) 0 var(--fm4-subheading-gap,var(--fm4-heading-tight,clamp(.35rem,.9vw,.6rem)))}
  .fm4-text-content > :is(h3,h4,h5,h6){margin-top:var(--fm4-h3-margin-top,var(--fm4-h2-margin-top,1.5rem))}
  .fm4-text-content > :is(h1,h2,h3,h4,h5,h6):first-child{margin-top:0}
  .fm4-text-content > p,.fm4-text-content > ul,.fm4-text-content > ol{margin:0 0 var(--fm4-paragraph-margin,var(--fm4-paragraph-gap,clamp(.75rem,1.6vw,1.1rem)))}
}
.fm4-text-content > :is(p,ul,ol):last-child{margin-bottom:0!important}
.fm4-text-content .lead{font-family:var(--fm4-heading-font,Georgia,serif);font-size:clamp(1.1rem,1.55vw,1.35rem)!important;line-height:1.45!important;font-weight:400;color:color-mix(in srgb,var(--fm4-text-color,#1f2937) 72%,transparent);margin-top:.5rem!important;margin-bottom:0!important;letter-spacing:-.003em}
.fm4-text-content .fm4-lead{font-size:clamp(1.08rem,1.7vw,1.28rem);line-height:1.58;color:color-mix(in srgb,var(--fm4-text-color,#1f2937) 82%,var(--fm4-primary-color,#2563eb));font-weight:500}
.fm4-text-content blockquote{margin:clamp(1.1rem,3vw,1.7rem) 0;padding:clamp(.85rem,2vw,1.2rem) clamp(1rem,2.4vw,1.45rem);border-left:3px solid var(--fm4-primary-color,#2563eb);background:color-mix(in srgb,var(--fm4-surface-color,#fff) 94%,var(--fm4-primary-color,#2563eb));border-radius:max(8px,var(--fm4-global-radius,8px));font-weight:600;line-height:1.55}
.fm4-text-content cite.attribution{display:block;margin-top:.35rem;font-size:.88em;font-style:normal;font-weight:700;color:color-mix(in srgb,var(--fm4-text-color,#1f2937) 70%,var(--fm4-primary-color,#2563eb))}

/* ── Modular Component Design System — Modern CSS Classes ─────────────────── */
.fm4-btn-group, .fm4-actions-group, .fm4-hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.fm4-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  padding: 0.85rem 1.75rem !important;
  font-family: var(--fm4-heading-font, system-ui, -apple-system, sans-serif) !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  border-radius: min(var(--fm4-global-radius, 10px), 10px) !important;
  text-decoration: none !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  cursor: pointer !important;
  box-sizing: border-box !important;
  white-space: nowrap !important;
}

.fm4-btn-primary {
  background: var(--fm4-primary-color, #2563eb) !important;
  color: #ffffff !important;
  border: 1px solid var(--fm4-primary-color, #2563eb) !important;
  box-shadow: 0 4px 14px color-mix(in srgb, var(--fm4-primary-color, #2563eb) 28%, transparent) !important;
}

.fm4-btn-primary:hover {
  filter: brightness(1.08) !important;
  box-shadow: 0 6px 20px color-mix(in srgb, var(--fm4-primary-color, #2563eb) 40%, transparent) !important;
  transform: translateY(-2px) !important;
}

.fm4-btn-secondary {
  background: var(--fm4-surface-color, #f8fafc) !important;
  color: var(--fm4-text-color, #0f172a) !important;
  border: 1px solid var(--fm4-border-color, #cbd5e1) !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05) !important;
}

.fm4-btn-secondary:hover {
  background: var(--fm4-border-color, #e2e8f0) !important;
  transform: translateY(-2px) !important;
}

.fm4-btn-outline {
  background: transparent !important;
  color: inherit !important;
  border: 1.5px solid color-mix(in srgb, var(--fm4-text-color, #0f172a) 30%, transparent) !important;
  box-shadow: none !important;
}

.fm4-btn-outline:hover {
  border-color: var(--fm4-primary-color, #2563eb) !important;
  color: var(--fm4-primary-color, #2563eb) !important;
  background: color-mix(in srgb, var(--fm4-primary-color, #2563eb) 10%, transparent) !important;
  transform: translateY(-2px) !important;
}

/* Badges & Pills */
.fm4-badge, .fm4-hero-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--fm4-primary-color, #2563eb) 40%, transparent);
  background: color-mix(in srgb, var(--fm4-primary-color, #2563eb) 10%, transparent);
  color: var(--fm4-primary-color, #2563eb);
  font-family: var(--fm4-heading-font, inherit);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  margin-inline: auto;
}

.fm4-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--fm4-primary-color, #2563eb);
  box-shadow: 0 0 6px var(--fm4-primary-color, #2563eb);
  flex-shrink: 0;
}

/* Hero Section Component */
.fm4-hero-section {
  position: relative;
  text-align: center;
  padding: clamp(2rem, 5vw, 4rem) 1rem;
}

.fm4-hero-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.fm4-hero-title {
  font-family: var(--fm4-heading-font, inherit);
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 var(--fm4-heading-gap, 1.25rem);
  text-align: center;
  width: 100%;
}

.fm4-hero-lead {
  color: var(--fm4-text-muted, #475569);
  font-family: var(--fm4-body-font, inherit);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 640px;
  margin: 0 auto var(--fm4-paragraph-margin, 1rem);
  text-align: center;
}
/* Speed Design semantic token bridge. Older generated templates may have
   hardcoded padding/gaps; these selectors make the safe theme tokens win. */
.fm4-main>.sd-container,.fm4-main>[class^="sd-"],.fm4-main>[class*=" sd-"]{max-width:min(var(--fm4-container-width,1200px),calc(100vw - 2 * var(--fm4-site-padding, 1rem)));margin-inline:auto}
.sd-section-gap{margin-block:var(--fm4-section-gap,var(--fm4-space-section,3rem))}
.sd-two-column{gap:var(--fm4-content-gap,var(--fm4-section-gap,2.5rem))!important;padding:var(--fm4-space-breathe,2.5rem) var(--fm4-space-read,1.25rem)!important;border-radius:var(--fm4-global-radius,8px)!important}
.sd-column-text,.sd-column-side{min-width:min(100%,280px)}
.sd-title,.sd-section-heading{font-size:var(--fm4-h2-size,1.75em)!important;line-height:var(--fm4-heading-line-height,1.12)!important;margin:0 0 var(--fm4-heading-gap,.8rem)!important;color:var(--fm4-primary-color,var(--fm4-text-color,#111827))}
.sd-body-content,.sd-side-content{display:grid;gap:var(--fm4-content-gap,var(--fm4-section-gap,1.5rem))}
.sd-body-content>.fm4-block-wrap:first-child,.sd-side-content>.fm4-block-wrap:first-child{margin-top:0!important}
.fm4-main .sd-body-content>.fm4-block-wrap.fm4-block-text_block,.fm4-main .sd-side-content>.fm4-block-wrap.fm4-block-text_block,#fm4-page .sd-body-content>.fm4-block-wrap.fm4-block-text_block,#fm4-page .sd-side-content>.fm4-block-wrap.fm4-block-text_block{padding-left:0!important;padding-right:0!important}
.sd-home-type{color:var(--fm4-text-color,#101828)}
.sd-home-type__inner{gap:var(--fm4-content-gap,clamp(2rem,6vw,5rem))!important;padding-top:var(--fm4-page-title-top-gap,clamp(3rem,7vw,6rem))!important;padding-bottom:var(--fm4-space-section,clamp(3rem,7vw,6rem))!important}
.sd-home-type__kicker{margin:0 0 var(--fm4-heading-gap,.85rem)!important;color:var(--fm4-primary-color,#2563eb)!important}
.sd-home-type__body{display:grid;gap:var(--fm4-content-gap,var(--fm4-section-gap,1.5rem))}
.sd-home-type__body>.fm4-block-wrap:first-child{margin-top:0!important}
.sd-home-type__body h1,.sd-home-type__body h2{font-size:var(--fm4-h1-size,clamp(2.4rem,6vw,5rem))!important;line-height:var(--fm4-heading-line-height,1.02)!important;margin:0 0 var(--fm4-heading-gap,.85rem)!important}
.sd-home-type__media{margin:0;min-height:clamp(260px,36vw,520px);aspect-ratio:4/3}
.sd-home-type__media .fm4-hero-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.sd-home-type__inner:not(:has(.sd-home-type__media)),.sd-two-col__inner:not(:has(.sd-two-col__media)){grid-template-columns:minmax(0,1fr)!important}
.sd-home-type__media,.sd-two-col__media,.sd-article-hero__media,.sd-minimal-article__media,.sd-product-card__media,.fm4-product-detail__media,.fm4-category-hero__image{position:relative;border-radius:var(--fm4-image-radius,var(--fm4-global-radius,12px))!important;overflow:hidden}
.sd-home-type__media img,.sd-two-col__media img,.sd-article-hero__media img,.sd-minimal-article__media img,.sd-product-card__media img,.fm4-product-detail__media img,.fm4-category-hero__image img{border-radius:0!important}
.sd-two-col,.sd-simple-page,.sd-minimal-article,.sd-article-hero,.sd-product-card,.fm4-shop-landing,.fm4-product-detail,.fm4-category-hero{padding-top:var(--fm4-page-title-top-gap,clamp(2rem,5vw,4rem))!important;padding-bottom:var(--fm4-space-section,clamp(2rem,6vw,5rem))!important}
.sd-two-col,.sd-product-card,.fm4-product-detail,.fm4-category-hero{gap:var(--fm4-content-gap,clamp(1.5rem,5vw,4rem))!important}
.sd-two-col h1,.sd-simple-page h1,.sd-minimal-article h1,.sd-article-hero h1,.sd-product-card h1,.fm4-shop-landing h1,.fm4-category-hero h1,.fm4-product-detail h1{font-size:var(--fm4-h1-size,clamp(2.4rem,6vw,5rem))!important;line-height:var(--fm4-heading-line-height,1.04)!important;margin:0 0 var(--fm4-heading-gap,.85rem)!important}
.sd-simple-page__header,.sd-minimal-article__header,.sd-article-hero__header,.sd-two-col__content,.fm4-shop-landing__intro{margin-bottom:var(--fm4-page-title-content-gap,var(--fm4-content-gap,1.5rem))!important}
.sd-two-col__lead,.sd-simple-page__intro,.sd-minimal-article__body,.sd-article-hero__body{line-height:var(--fm4-body-line-height,1.65)!important}
.sd-two-col__body,.sd-simple-page__body,.sd-minimal-article__body,.sd-article-hero__body,.sd-product-card__body,.fm4-shop-landing__content{display:grid;gap:var(--fm4-content-gap,var(--fm4-section-gap,1.5rem))}
.fm4-block-quote_block .fm4-quote-block{position:relative;margin:0;padding:clamp(1.1rem,3vw,1.6rem);border:1px solid color-mix(in srgb,var(--fm4-border-color,#e2e8f0) 82%,transparent);border-left:4px solid var(--fm4-primary-color,#2563eb);border-radius:max(8px,var(--fm4-global-radius,8px));background:linear-gradient(135deg,color-mix(in srgb,var(--fm4-surface-color,#fff) 94%,var(--fm4-primary-color,#2563eb)),var(--fm4-surface-color,#fff));box-shadow:0 12px 30px rgba(15,23,42,.08);color:var(--fm4-text-color,#1f2937)}
.fm4-block-wrap.fm4-block-quote_block[style*="background-image"],.fm4-block-wrap.fm4-block-quote_block[style*="background-color"]{padding:clamp(2.5rem,5vw,4.5rem) clamp(1.2rem,3.5vw,2.5rem)!important;border-radius:var(--fm4-image-radius,var(--fm4-global-radius,12px))!important;position:relative;overflow:hidden}
.fm4-block-wrap[style*="background-size:contain"],.fm4-block-wrap[style*="background-size: contain"],.fm4-block-wrap[data-fm4-bg-fit="contain"]{background-repeat:no-repeat!important}
.fm4-block-wrap.fm4-block-quote_block[style*="background"] .fm4-quote-block,.fm4-block-wrap.fm4-block-quote_block[style*="--fm4-block-bg"] .fm4-quote-block,.fm4-block-wrap.fm4-block-quote_block.has-background .fm4-quote-block,.fm4-block-wrap.fm4-block-quote_block[data-fm4-bg-type] .fm4-quote-block{background:transparent!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;box-shadow:none!important;border:none!important}
.fm4-block-wrap.fm4-block-quote_block[style*="background"] .fm4-quote-block--pullquote,.fm4-block-wrap.fm4-block-quote_block[style*="background"] .fm4-quote-block--minimal{background:transparent!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;box-shadow:none!important;border:none!important}
.fm4-block-quote_block .fm4-quote-block:before{content:"\201C";position:absolute;right:1rem;top:.45rem;font-family:Georgia,serif;font-size:3.4rem;line-height:1;color:var(--fm4-primary-color,#2563eb);opacity:.16;pointer-events:none}
.fm4-block-quote_block .fm4-quote-text{position:relative;font-size:clamp(1.05rem,1.6vw,1.3rem);line-height:1.55;font-weight:600;min-height:1.55em}
.fm4-block-quote_block .fm4-quote-author{display:block;margin-top:.9rem;font-size:.86rem;font-style:normal;font-weight:700;color:color-mix(in srgb,var(--fm4-text-color,#1f2937) 72%,var(--fm4-primary-color,#2563eb));letter-spacing:.01em}
.fm4-block-quote_block .fm4-quote-author:before{content:"- "}
.fm4-block-quote_block .fm4-quote-block--minimal{padding:.15rem 0 .15rem 1rem;border:0;border-left:2px solid var(--fm4-primary-color,#2563eb);border-radius:0;background:transparent;box-shadow:none}
.fm4-block-quote_block .fm4-quote-block--minimal:before{display:none}
.fm4-block-quote_block .fm4-quote-block--minimal .fm4-quote-text{font-size:clamp(1rem,1.4vw,1.16rem);font-weight:500}
.fm4-block-quote_block .fm4-quote-block--pullquote{padding:clamp(1.5rem,5vw,3rem);border:0;border-top:1px solid color-mix(in srgb,var(--fm4-border-color,#e2e8f0) 75%,transparent);border-bottom:1px solid color-mix(in srgb,var(--fm4-border-color,#e2e8f0) 75%,transparent);border-radius:0;background:transparent;box-shadow:none;text-align:center}
.fm4-block-quote_block .fm4-quote-block--pullquote:before{left:50%;right:auto;top:.1rem;transform:translateX(-50%);font-size:4.2rem}
.fm4-block-quote_block .fm4-quote-block--pullquote .fm4-quote-text{font-size:clamp(1.35rem,3vw,2.15rem);line-height:1.22;font-weight:700}
.fm4-block-quote_block .fm4-quote-block--pullquote .fm4-quote-author:before{content:""}
.fm4-block-quote_block .fm4-quote-block--sidebar{padding:clamp(.9rem,2.4vw,1.2rem);border-left-width:3px;box-shadow:none;background:color-mix(in srgb,var(--fm4-surface-color,#fff) 96%,var(--fm4-primary-color,#2563eb))}
.fm4-block-quote_block .fm4-quote-block--sidebar:before{font-size:2.6rem;right:.75rem}
.fm4-block-quote_block .fm4-quote-block--sidebar .fm4-quote-text{font-size:1rem;line-height:1.5}
@media(max-width:768px){.fm4-article-sidebar{grid-template-columns:1fr!important}.fm4-section-content--grid{grid-template-columns:1fr!important}.fm4-section-content--masonry{columns:1!important}.fm4-gallery--carousel>.fm4-block-wrap,.fm4-gallery--carousel>.fm4-gallery-item{flex-basis:min(88vw,420px)}}
@media (max-width: 768px){.uv-content-grid{grid-template-columns:1fr}.uv-sidebar{max-width:none}}
/* Full-bleed: break out of centred container padding (mirrors canvas .fm4-bleed rule) */
.fm4-bleed{width:100vw;max-width:none!important;margin-left:calc(-50vw + 50%);padding-left:0!important;padding-right:0!important;border-radius:0!important}
.fm4-bleed img{width:100%;border-radius:0}
/* Hero-wrap safeguards - override any bad values saved by Design Studio Style Manager */
.fm4-hero-wrap{position:relative;overflow:hidden;width:100%}
/* Font/line-height: prevent tiny saved values from collapsing the overlay */
.fm4-hero-wrap .fm4-hero-overlay{font-size:max(1rem,var(--fm4-body-size,1rem))!important;line-height:1.35!important}
/* Border reset: DS Style Manager sometimes saves border:1px solid black - neutralise it */
.fm4-hero-overlay,.fm4-hero-overlay.fm4-has-overlay{border:none!important}
/* h1 inside hero: use theme var so canvas-set h1-size applies; clamp is the fallback */
.fm4-hero-wrap .fm4-hero-overlay h1,.fm4-hero-wrap .fm4-overlay-slot h1{font-size:var(--fm4-h1-size,clamp(1.4rem,5vw,3rem))!important;line-height:var(--fm4-heading-line-height,1.15)!important;color:#fff;text-shadow:0 1px 6px rgba(0,0,0,.45)}
/* Cover picture (regular-image variant of cover_picture field) */
.fm4-cover-picture{position:relative;overflow:hidden;display:block;width:100%}
.fm4-cover-picture .fm4-hero-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
/* Overlay slot - fills the cover picture, positions field overlays absolutely.
   Inline styles (position, left, top, background-color, padding, border-radius) set by
   Design Studio take precedence over class rules here. */
.fm4-cover-picture .fm4-overlay-slot,.fm4-hero-wrap .fm4-overlay-slot{position:absolute;inset:0;overflow:hidden}
/* fm4-image figures: position:absolute base; layout_css [data-gjs] rules set inset/bar specifics */
.fm4-image.fm4-has-overlay{position:relative;overflow:hidden}
.fm4-image.fm4-has-overlay .fm4-overlay-slot{position:absolute;inset:0;overflow:hidden}
/* h1 inside fm4-has-overlay figures (not wrapped in .fm4-hero-wrap).
   Overrides fm4-base-rules h1{font-size:var(--fm4-h1-size)!important} which resolves
   to 4.65em (~74px) — too large for overlay captions. Canvas also applies this rule
   via canvas CSS so canvas and live always agree. */
.fm4-image.fm4-has-overlay .fm4-overlay-slot h1{font-size:2rem!important;line-height:var(--fm4-heading-line-height,1.15)!important;color:#fff;text-shadow:0 1px 4px rgba(0,0,0,.5)}
/* Overlay slot effect modes (glass, gradient, solid) */
.fm4-overlay-slot[data-ov-effect="gradient"]{background:linear-gradient(to top,rgba(0,0,0,.7) 0%,transparent 100%)}
.fm4-overlay-slot[data-ov-effect="solid"]{background:rgba(0,0,0,.6)}
/* Children of effect-mode slots get text styles; individually-positioned fields keep their inline styles */
.fm4-overlay-slot[data-ov-effect="gradient"]>*,.fm4-overlay-slot[data-ov-effect="solid"]>*{color:#fff}
.fm4-overlay-slot[data-ov-effect="glass"]>*{background:rgba(255,255,255,.12);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);border:1px solid rgba(255,255,255,.18);border-radius:var(--theme-radius,12px);padding:1rem 1.5rem;color:#fff}
@media(max-width:768px){
  /* Mobile aspect ratio: use --fm4-hero-ar-mobile if set by hero-style token, else 4/3 */
  .fm4-hero-wrap{aspect-ratio:var(--fm4-hero-ar-mobile,4/3);min-height:240px}
  .fm4-cover-picture{aspect-ratio:4/3;min-height:240px}
  /* Mobile focal point: use --fm4-hero-focal-mx/my if set by hero-img token */
  .fm4-hero-wrap .fm4-hero-img,.fm4-cover-picture .fm4-hero-img,.fm4-hero-cover img{object-position:var(--fm4-hero-focal-mx,var(--fm4-hero-focal-x,var(--fm4-focal-x,50%))) var(--fm4-hero-focal-my,var(--fm4-hero-focal-y,var(--fm4-focal-y,50%)))!important}
  /* Full-bleed: break out of container padding so hero fills phone width edge to edge */
  .fm4-hero-fullbleed-mobile{margin-left:calc(-1 * var(--fm4-site-padding,1rem));margin-right:calc(-1 * var(--fm4-site-padding,1rem));width:calc(100% + 2 * var(--fm4-site-padding,1rem));max-width:100vw}
  .fm4-hero-wrap .fm4-hero-overlay,.fm4-hero-wrap .fm4-overlay-slot{padding:1rem!important;padding-bottom:1.5rem!important}
  .fm4-hero-wrap .fm4-hero-overlay h1,.fm4-hero-wrap .fm4-overlay-slot h1{font-size:clamp(1.2rem,6vw,2rem)}
}
body:not(.fm4-live-editing) [data-fm4-lightbox="1"] img,body:not(.fm4-live-editing) img[data-fm4-lightbox="1"],body:not(.fm4-live-editing) .fm4-ejs-image img,body:not(.fm4-live-editing) .fm4-article-body figure img,body:not(.fm4-live-editing) .fm4-article-figure img{cursor:zoom-in}
body.fm4-live-editing [data-fm4-lightbox="1"] img,body.fm4-live-editing img[data-fm4-lightbox="1"],body.fm4-live-editing .fm4-ejs-image img,body.fm4-live-editing .fm4-article-body figure img,body.fm4-live-editing .fm4-article-figure img{cursor:pointer!important}
body.fm4-lightbox-open{overflow:hidden}
.fm4-lightbox-backdrop{position:fixed;inset:0;z-index:999990;display:grid;grid-template-rows:auto minmax(0,1fr) auto;background:rgba(3,7,18,.92);color:#fff;padding:clamp(.75rem,2vw,1.5rem);box-sizing:border-box}
.fm4-lightbox-stage{grid-row:2;min-height:0;display:grid;place-items:center;position:relative}
.fm4-lightbox-img{max-width:min(100%,1400px);max-height:calc(100vh - 9rem);width:auto;height:auto;object-fit:contain;box-shadow:0 24px 80px rgba(0,0,0,.45);transform-origin:center center;transition:transform .12s ease;touch-action:none;will-change:transform}
.fm4-lightbox-stage.is-zoomed{cursor:grab}
.fm4-lightbox-stage.is-zoomed .fm4-lightbox-img{transition:none}
.fm4-lightbox-tools{position:absolute;top:clamp(.75rem,2vw,1.25rem);left:clamp(.75rem,2vw,1.25rem);z-index:3;display:flex;gap:.4rem;background:rgba(255,255,255,.1);padding:.35rem;border-radius:999px;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}
.fm4-lightbox-tool{appearance:none;border:0;width:2.2rem;height:2.2rem;border-radius:999px;background:rgba(255,255,255,.12);color:#fff;font-size:1.15rem;line-height:1;display:grid;place-items:center;cursor:pointer;transition:background .15s}
.fm4-lightbox-tool:hover{background:rgba(255,255,255,.25)}
.fm4-lightbox-caption{grid-row:3;min-height:1.5rem;text-align:center;color:rgba(255,255,255,.82);font-size:.95rem;line-height:1.45;padding:.75rem 3.5rem 0}
.fm4-lightbox-counter{position:absolute;top:clamp(.95rem,2vw,1.45rem);left:50%;transform:translateX(-50%);color:rgba(255,255,255,.72);font-size:.85rem}
.fm4-lightbox-close,.fm4-lightbox-prev,.fm4-lightbox-next{appearance:none;border:0;background:rgba(255,255,255,.12);color:#fff;border-radius:999px;display:grid;place-items:center;cursor:pointer;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);transition:background .15s,transform .15s}
.fm4-lightbox-close:hover,.fm4-lightbox-prev:hover,.fm4-lightbox-next:hover{background:rgba(255,255,255,.2)}
.fm4-lightbox-close{position:absolute;top:clamp(.75rem,2vw,1.25rem);right:clamp(.75rem,2vw,1.25rem);width:2.75rem;height:2.75rem;font-size:1.55rem;z-index:2}
.fm4-lightbox-prev,.fm4-lightbox-next{position:absolute;top:50%;width:3rem;height:3rem;font-size:2rem;transform:translateY(-50%);z-index:2}
.fm4-lightbox-prev{left:clamp(.5rem,2vw,1.25rem)}
.fm4-lightbox-next{right:clamp(.5rem,2vw,1.25rem)}
.fm4-lightbox-prev[hidden],.fm4-lightbox-next[hidden]{display:none}
@media (max-width: 768px){.fm4-lightbox-backdrop{padding:.5rem}.fm4-lightbox-img{max-height:calc(100vh - 7rem)}.fm4-lightbox-prev,.fm4-lightbox-next{width:2.55rem;height:2.55rem;font-size:1.7rem}.fm4-lightbox-caption{padding:.6rem 2.5rem 0;font-size:.88rem}}

/* ── FM4 Gallery / Carousel ─────────────────────────────────────────────── */
.fm4-gallery-block{width:100%;max-width:100%;container-type:inline-size}
.fm4-gallery-title{font-family:var(--fm4-heading-font,system-ui,sans-serif);font-size:var(--fm4-h2-size,1.5em);font-weight:var(--fm4-heading-weight,600);color:var(--fm4-text-color,#1a1a1a);margin:0 0 1rem}
.fm4-gallery-carousel{position:relative;width:100%;overflow:hidden;border-radius:max(10px,var(--fm4-global-radius,8px));background:var(--fm4-surface-color,#f8fafc);aspect-ratio:16/9;max-width:100%}
.fm4-gallery-track{display:flex;height:100%;transition:transform .4s ease}
.fm4-gallery-slide{flex:0 0 100%;width:100%;position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden}
.fm4-gallery-slide[hidden]{display:none}
.fm4-gallery-slide img{width:100%;height:100%;object-fit:cover;display:block}
.fm4-gallery-slide-caption{position:absolute;bottom:0;left:0;right:0;padding:12px 16px;background:linear-gradient(to top,rgba(0,0,0,.65),transparent);color:#fff;font-size:.9rem;text-align:center}
.fm4-gallery-prev,.fm4-gallery-next{position:absolute;top:50%;transform:translateY(-50%);width:40px;height:40px;border-radius:50%;border:none;background:rgba(255,255,255,.85);color:#1a1a1a;font-size:24px;cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:0 2px 8px rgba(0,0,0,.12);transition:background .2s;z-index:2}
.fm4-gallery-prev:hover,.fm4-gallery-next:hover{background:#fff}
.fm4-gallery-prev{left:10px}
.fm4-gallery-next{right:10px}
.fm4-gallery-dots{position:absolute;bottom:12px;left:50%;transform:translateX(-50%);display:flex;gap:8px;z-index:2}
.fm4-gallery-dot{width:10px;height:10px;border-radius:50%;border:2px solid rgba(255,255,255,.7);background:transparent;cursor:pointer;padding:0;transition:background .2s}
.fm4-gallery-dot.active{background:#fff;border-color:#fff}
/* ── FM4 Gallery Grid System ────────────────────────────────────────────── */
/* Default / View mode fallback (when not using JS masonry) */
.fm4-gallery-grid {
  display: grid;
  grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr));
  gap: var(--fm4-gallery-gap, var(--fm4-content-gap, 16px));
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  position: relative;
  column-count: auto !important;
  columns: auto !important;
  height: auto;
}

@media (max-width: 1200px) {
  .fm4-gallery-grid {
    grid-template-columns: repeat(min(var(--cols, 3), 3), minmax(0, 1fr));
  }
}
@media (max-width: 900px) {
  .fm4-gallery-grid {
    grid-template-columns: repeat(min(var(--cols, 2), 2), minmax(0, 1fr));
  }
}
@media (max-width: 520px) {
  .fm4-gallery-grid {
    grid-template-columns: 1fr;
  }
}

.fm4-gallery-grid img {
  width: 100% !important;
  height: auto !important;
  display: block !important;
}
.fm4-gallery-grid:not(.fm4-masonry-active):not(.fm4-gallery-grid--masonry):not(.fm4-list-layout--masonry):not(.fm4-list-layout--stack) > .fm4-block-wrap img,
.fm4-gallery-grid:not(.fm4-masonry-active):not(.fm4-gallery-grid--masonry):not(.fm4-list-layout--masonry):not(.fm4-list-layout--stack) > .fm4-gallery-item img {
  aspect-ratio: var(--fm4-card-aspect, 4 / 3) !important;
  object-fit: cover !important;
}

/* ── Live Edit Mode: Deterministic 2D Grid with Sequence Badges ──────── */
body.fm4-live-editing .fm4-gallery-grid {
  display: grid !important;
  grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)) !important;
  gap: var(--fm4-gallery-gap, var(--fm4-content-gap, 16px)) !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  position: relative !important;
  column-count: auto !important;
  columns: auto !important;
  height: auto !important;
}
@media (max-width: 1200px) {
  body.fm4-live-editing .fm4-gallery-grid {
    grid-template-columns: repeat(min(var(--cols, 3), 3), minmax(0, 1fr)) !important;
  }
}
@media (max-width: 900px) {
  body.fm4-live-editing .fm4-gallery-grid {
    grid-template-columns: repeat(min(var(--cols, 2), 2), minmax(0, 1fr)) !important;
  }
}
@media (max-width: 520px) {
  body.fm4-live-editing .fm4-gallery-grid {
    grid-template-columns: 1fr !important;
  }
}

body.fm4-live-editing .fm4-gallery-grid > .fm4-block-wrap,
body.fm4-live-editing .fm4-gallery-grid > figure,
body.fm4-live-editing .fm4-gallery-grid > .fm4-gallery-grid-item {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  width: 100% !important;
  transform: none !important;
  margin: 0 !important;
  display: block !important;
  break-inside: auto !important;
  box-sizing: border-box !important;
}

body.fm4-live-editing .fm4-image-seq-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: color-mix(in srgb, var(--fm4-surface-color, #18181b) 88%, #000);
  border: 1px solid color-mix(in srgb, var(--fm4-border-color, #3f3f46) 75%, transparent);
  color: #fff;
  font-family: var(--fm4-heading-font, Oswald, sans-serif);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--fm4-global-radius, 6px);
  pointer-events: none;
  z-index: 10;
  box-shadow: 0 2px 6px rgba(0,0,0,0.4);
  letter-spacing: 0.05em;
}

/* ── Public View Mode: Dynamic Masonry Waterfall ─────────────────────── */
body:not(.fm4-live-editing) .fm4-gallery-grid.fm4-masonry-active {
  display: block !important;
  position: relative !important;
  column-count: auto !important;
  columns: auto !important;
}
body:not(.fm4-live-editing) .fm4-gallery-grid.fm4-masonry-active > .fm4-block-wrap,
body:not(.fm4-live-editing) .fm4-gallery-grid.fm4-masonry-active > figure,
body:not(.fm4-live-editing) .fm4-gallery-grid.fm4-masonry-active > .fm4-gallery-grid-item {
  position: absolute !important;
  margin: 0 !important;
  display: block !important;
  box-sizing: border-box !important;
  break-inside: auto !important;
}

.fm4-gallery-grid.fm4-list-layout--stack { display: flex; flex-direction: column; gap: var(--fm4-gallery-gap, var(--fm4-content-gap, 12px)); }
.fm4-gallery-grid-item { position: relative; overflow: hidden; border-radius: max(8px, var(--fm4-global-radius, 6px)); }
.fm4-gallery-grid-link { display: block; line-height: 0; }
.fm4-gallery-grid-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; transition: transform .3s ease; }
.fm4-gallery-grid-link:hover .fm4-gallery-grid-img { transform: scale(1.03); }
.fm4-gallery-grid-caption { display: block; padding: 8px 10px; font-size: .85rem; color: var(--fm4-text-color, #374151); text-align: center; }
.fm4-gallery-empty { padding: 3rem; text-align: center; color: var(--fm4-text-color, #6b7280); border: 2px dashed var(--fm4-border-color, #d1d5db); border-radius: max(10px, var(--fm4-global-radius, 8px)); }
/* ── End Gallery ────────────────────────────────────────────────────────── */

/* ── List Layout System ───────────────────────────────────────────────────
   Applied via fm4-list-layout--{grid|masonry|stack} on container elements.
   Grid: CSS grid with auto-fill columns, responsive.
   Masonry: column-based fallback; JS refines via ResizeObserver when available.
   Stack: single column vertical (default). */

.fm4-list-layout--grid {
  display: grid;
  grid-template-columns: var(--fm4-grid-cols, var(--fm4-section-cols, repeat(auto-fill, minmax(280px, 1fr))));
  gap: var(--fm4-list-gap, clamp(1rem, 2.2vw, 1.5rem));
  width: 100%;
  max-width: 100%;
}
.fm4-list-layout--stack {
  display: flex;
  flex-direction: column;
  gap: var(--fm4-list-gap, 1.5rem);
  width: 100%;
  max-width: 100%;
}
.fm4-list-layout--masonry {
  column-count: var(--fm4-cols, var(--fm4-section-cols, 3));
  column-gap: var(--fm4-list-gap, clamp(1rem, 2.2vw, 1.5rem));
  width: 100%;
  max-width: 100%;
}
.fm4-list-layout--masonry > * {
  break-inside: avoid;
  margin-bottom: clamp(1rem, 2.2vw, 1.5rem);
}
@media (max-width: 768px) {
  .fm4-list-layout--masonry { column-count: 2; }
  .fm4-list-layout--grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
}
@media (max-width: 480px) {
  .fm4-list-layout--masonry { column-count: 1; }
  .fm4-list-layout--grid { grid-template-columns: 1fr; }
}

/* ── Editorial widgets ─────────────────────────────────────────────────── */

.fm4-widget {
  margin: clamp(1.5rem, 3vw, 2.5rem) 0;
  max-width: 100%;
}
.fm4-widget__title {
  margin: 0 0 1rem;
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  font-weight: 900;
  letter-spacing: -.01em;
}

/* Latest widget */
.fm4-widget-latest__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: clamp(.6rem, 1.2vw, .85rem);
}
[data-bld-empty="1"] {
  display: none;
}
.fm4-widget-latest__item {
  display: grid;
  grid-template-columns: 3.75rem minmax(0, 1fr);
  gap: .65rem;
  align-items: start;
  border-top: 1px solid var(--fm4-border-color, #e5e7eb);
  padding-top: .65rem;
}
.fm4-widget-latest__item--no-media,
.fm4-widget-latest__item[data-bld-no-media="1"] {
  grid-template-columns: minmax(0, 1fr);
}
[data-empty-cell="preserve"] .fm4-widget-latest__item--no-media,
[data-empty-cell="preserve"] .fm4-widget-latest__item[data-bld-no-media="1"] {
  grid-template-columns: 3.75rem minmax(0, 1fr);
}
[data-empty-cell="preserve"] .fm4-widget-latest__item--no-media .fm4-widget-latest__text,
[data-empty-cell="preserve"] .fm4-widget-latest__item[data-bld-no-media="1"] .fm4-widget-latest__text {
  grid-column: 2 / -1;
}
[data-empty-cell="placeholder"] .fm4-widget-latest__item--no-media,
[data-empty-cell="placeholder"] .fm4-widget-latest__item[data-bld-no-media="1"] {
  grid-template-columns: 3.75rem minmax(0, 1fr);
}
[data-empty-cell="placeholder"] .fm4-widget-latest__item--no-media::before,
[data-empty-cell="placeholder"] .fm4-widget-latest__item[data-bld-no-media="1"]::before {
  content: "";
  display: block;
  grid-column: 1;
  aspect-ratio: 1;
  border-radius: var(--fm4-image-radius, var(--fm4-global-radius, 4px));
  background: color-mix(in srgb, var(--fm4-surface-color) 88%, var(--fm4-text-color) 6%);
  border: 1px dashed color-mix(in srgb, var(--fm4-border-color) 90%, transparent);
}
.fm4-widget-latest__thumb {
  display: block;
  overflow: hidden;
  border-radius: clamp(0px, calc(var(--fm4-card-media-radius, var(--fm4-image-radius, var(--fm4-global-radius, 4px))) * 0.38), 7px);
  aspect-ratio: 1;
}
.fm4-widget-latest__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.fm4-widget-latest__text time {
  display: block;
  color: var(--fm4-muted-color, #64748b);
  font-size: .72rem;
  font-weight: 700;
  margin-bottom: .15rem;
}
.fm4-widget-latest__text h4 {
  margin: 0;
  font-size: .94rem;
  line-height: 1.2;
}
.fm4-widget-latest__text a {
  color: inherit;
  text-decoration: none;
}
.fm4-widget-latest__text a:hover { text-decoration: underline; }

/* Most read widget */
.fm4-widget-most-read__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .5rem;
  counter-reset: most-read;
}
.fm4-widget-most-read__item {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  gap: .7rem;
  align-items: start;
  border-top: 1px solid var(--fm4-border-color, #e5e7eb);
  padding-top: .55rem;
}
.fm4-widget-most-read__rank {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--fm4-accent-color, #c2410c);
  line-height: 1;
  text-align: center;
}
.fm4-widget-most-read__text h4 {
  margin: 0;
  font-size: .95rem;
  line-height: 1.22;
  font-weight: 750;
}
.fm4-widget-most-read__text a {
  color: inherit;
  text-decoration: none;
}
.fm4-widget-most-read__text a:hover { text-decoration: underline; }
.fm4-widget-most-read__views {
  display: block;
  color: var(--fm4-muted-color, #64748b);
  font-size: .74rem;
  margin-top: .15rem;
}

/* Related widget */
.fm4-widget-related__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: clamp(.8rem, 1.6vw, 1.2rem);
}
.fm4-widget-related__card {
  border-top: 1px solid var(--fm4-border-color, #e5e7eb);
  padding-top: .7rem;
  min-width: 0;
}
.fm4-widget-related__media {
  display: block;
  overflow: hidden;
  margin-bottom: .55rem;
  border-radius: min(var(--fm4-card-media-radius, var(--fm4-image-radius, var(--fm4-global-radius, 4px))), 14px);
}
.fm4-widget-related__media img {
  display: block;
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  transition: transform .2s ease;
}
.fm4-widget-related__media:hover img { transform: scale(1.03); }
.fm4-widget-related__text time {
  display: block;
  color: var(--fm4-muted-color, #64748b);
  font-size: .72rem;
  font-weight: 700;
  margin-bottom: .15rem;
}
.fm4-widget-related__text h4 {
  margin: 0;
  font-size: .92rem;
  line-height: 1.22;
}
.fm4-widget-related__text a {
  color: inherit;
  text-decoration: none;
}
.fm4-widget-related__text a:hover { text-decoration: underline; }

/* Category feed widget */
.fm4-widget-category-feed__head {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1.2rem;
  padding-bottom: .5rem;
  border-bottom: 3px solid var(--fm4-accent-color, #c2410c);
}
.fm4-widget-category-feed__label {
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: -.01em;
  text-transform: uppercase;
}
.fm4-widget-category-feed__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, .9fr);
  gap: clamp(1rem, 2.6vw, 2rem);
  align-items: start;
}
.fm4-widget-category-feed__card {
  border-top: 1px solid var(--fm4-border-color, #e5e7eb);
  padding-top: 1rem;
  display: grid;
  grid-template-columns: minmax(6.5rem, .38fr) minmax(0, .62fr);
  gap: 1rem;
}
.fm4-widget-category-feed__card--no-media,
.fm4-widget-category-feed__card[data-bld-no-media="1"] {
  grid-template-columns: minmax(0, 1fr);
}
[data-empty-cell="preserve"] .fm4-widget-category-feed__card--no-media,
[data-empty-cell="preserve"] .fm4-widget-category-feed__card[data-bld-no-media="1"] {
  grid-template-columns: minmax(6.5rem, .38fr) minmax(0, .62fr);
}
[data-empty-cell="preserve"] .fm4-widget-category-feed__card--no-media .fm4-widget-category-feed__text,
[data-empty-cell="preserve"] .fm4-widget-category-feed__card[data-bld-no-media="1"] .fm4-widget-category-feed__text {
  grid-column: 2 / -1;
}
.fm4-widget-category-feed__card--lead {
  grid-row: span 4;
  display: block;
  border-top: 0;
  padding-top: 0;
}
.fm4-widget-category-feed__media {
  display: block;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
}
.fm4-widget-category-feed__media img {
  display: block;
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.fm4-widget-category-feed__card--lead .fm4-widget-category-feed__media img {
  aspect-ratio: 16/10;
}
.fm4-widget-category-feed__text time {
  display: block;
  color: var(--fm4-muted-color, #64748b);
  font-size: .82rem;
  font-weight: 750;
  margin-bottom: .35rem;
}
.fm4-widget-category-feed__text h4 {
  margin: 0;
  font-size: clamp(1.05rem, 1.55vw, 1.35rem);
  line-height: 1.14;
}
.fm4-widget-category-feed__card--lead h4 {
  font-size: clamp(1.75rem, 3.8vw, 3.4rem);
  line-height: 1;
}
.fm4-widget-category-feed__text a {
  color: inherit;
  text-decoration: none;
}
.fm4-widget-category-feed__text a:hover { text-decoration: underline; }
.fm4-widget-category-feed__text p {
  margin: .75rem 0 0;
  color: var(--fm4-muted-color, #64748b);
  line-height: 1.55;
}

/* Featured grid widget */
.fm4-widget-featured-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, .9fr);
  gap: clamp(1rem, 2.6vw, 2rem);
  align-items: start;
}
.fm4-featured-grid__hero {
  grid-row: span 4;
  position: relative;
  display: flex;
  flex-direction: column;
}
.fm4-featured-grid__hero .fm4-featured-grid__media {
  display: block;
  overflow: hidden;
  border-radius: 6px;
}
.fm4-featured-grid__hero .fm4-featured-grid__media img {
  display: block;
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  transition: transform .2s ease;
}
.fm4-featured-grid__hero .fm4-featured-grid__media:hover img { transform: scale(1.015); }
.fm4-featured-grid__hero .fm4-featured-grid__text {
  padding: .9rem 0 0;
}
.fm4-featured-grid__hero h3 {
  margin: .3rem 0;
  font-size: clamp(1.75rem, 3.8vw, 3.4rem);
  line-height: 1;
}
.fm4-featured-grid__hero p {
  margin: .75rem 0 0;
  color: var(--fm4-muted-color, #64748b);
  line-height: 1.55;
  font-size: 1.05rem;
}
.fm4-featured-grid__card {
  border-top: 1px solid var(--fm4-border-color, #e5e7eb);
  padding-top: 1rem;
  display: grid;
  grid-template-columns: minmax(6.5rem, .38fr) minmax(0, .62fr);
  gap: 1rem;
}
.fm4-featured-grid__card .fm4-featured-grid__media {
  display: block;
  overflow: hidden;
}
.fm4-featured-grid__card .fm4-featured-grid__media img {
  display: block;
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.fm4-featured-grid__card h3 {
  margin: 0;
  font-size: clamp(1.05rem, 1.55vw, 1.35rem);
  line-height: 1.14;
}
.fm4-featured-grid__card p {
  margin: .5rem 0 0;
  color: var(--fm4-muted-color, #64748b);
  line-height: 1.5;
}
.fm4-featured-grid__text a {
  color: inherit;
  text-decoration: none;
}
.fm4-featured-grid__text a:hover { text-decoration: underline; }
.fm4-featured-grid__text time {
  display: block;
  color: var(--fm4-muted-color, #64748b);
  font-size: .82rem;
  font-weight: 750;
  margin-bottom: .35rem;
}

/* ── Editorial meta ────────────────────────────────────────────────────── */
.fm4-news-kicker {
  display: inline-block;
  background: var(--fm4-accent-color, #c2410c);
  color: #fff;
  font-size: .68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: .15rem .45rem;
  border-radius: 3px;
  margin-right: .5rem;
  vertical-align: middle;
}
.fm4-news-byline {
  display: block;
  color: var(--fm4-muted-color, #64748b);
  font-size: .78rem;
  font-weight: 700;
  margin-top: .3rem;
}
.fm4-news-category {
  display: inline-block;
  font-size: .7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: .15rem .5rem;
  border-radius: 3px;
  margin-right: .5rem;
  vertical-align: middle;
}
.fm4-news-category--news       { background: color-mix(in srgb, #f59e0b 16%, var(--fm4-surface-color)); color: color-mix(in srgb, #d97706 72%, var(--fm4-text-color)); }
.fm4-news-category--opinion    { background: color-mix(in srgb, #ec4899 16%, var(--fm4-surface-color)); color: color-mix(in srgb, #db2777 72%, var(--fm4-text-color)); }
.fm4-news-category--feature    { background: color-mix(in srgb, #8b5cf6 16%, var(--fm4-surface-color)); color: color-mix(in srgb, #7c3aed 72%, var(--fm4-text-color)); }
.fm4-news-category--review     { background: color-mix(in srgb, #3b82f6 16%, var(--fm4-surface-color)); color: color-mix(in srgb, #2563eb 72%, var(--fm4-text-color)); }
.fm4-news-category--interview  { background: color-mix(in srgb, #10b981 16%, var(--fm4-surface-color)); color: color-mix(in srgb, #059669 72%, var(--fm4-text-color)); }
.fm4-news-category--analysis   { background: color-mix(in srgb, #ef4444 16%, var(--fm4-surface-color)); color: color-mix(in srgb, #dc2626 72%, var(--fm4-text-color)); }
.fm4-news-category--culture    { background: color-mix(in srgb, #22c55e 16%, var(--fm4-surface-color)); color: color-mix(in srgb, #16a34a 72%, var(--fm4-text-color)); }
.fm4-news-category--sport      { background: color-mix(in srgb, #f97316 16%, var(--fm4-surface-color)); color: color-mix(in srgb, #ea580c 72%, var(--fm4-text-color)); }

/* ── Responsive: single-column at narrow widths ────────────────────────── */
@media (max-width: 768px) {
  .fm4-widget-latest__item,
  .fm4-widget-most-read__item { grid-template-columns: 1fr; }
  .fm4-widget-latest__thumb { display: none; }
  .fm4-widget-related__grid { grid-template-columns: 1fr; }
  .fm4-widget-category-feed__grid,
  .fm4-widget-featured-grid { grid-template-columns: 1fr; }
  .fm4-widget-category-feed__card,
  .fm4-widget-category-feed__card--lead,
  .fm4-featured-grid__card { grid-template-columns: 1fr; grid-row: auto; }
  .fm4-featured-grid__hero h3 { font-size: clamp(1.75rem, 11vw, 2.8rem); }
  .fm4-widget-category-feed__card--lead h4 { font-size: clamp(1.75rem, 11vw, 2.8rem); }
}

.fm4-smart-block--empty{display:grid;gap:.35rem;padding:1rem 1.1rem;border:1px dashed color-mix(in srgb,var(--fm4-border-color,#cbd5e1) 80%,var(--fm4-primary-color,#2563eb));border-radius:max(8px,var(--fm4-global-radius,8px));background:color-mix(in srgb,var(--fm4-surface-color,#fff) 95%,var(--fm4-primary-color,#2563eb));color:color-mix(in srgb,var(--fm4-text-color,#1f2937) 76%,var(--fm4-primary-color,#2563eb))}
.fm4-smart-block--empty strong{font:800 12px/1.2 Inter,system-ui,sans-serif}
.fm4-smart-block--empty span{font:600 11px/1.4 Inter,system-ui,sans-serif;opacity:.8}
.fm4-breadcrumbs{margin:1rem 0 .25rem;font:600 .82rem/1.4 Inter,system-ui,sans-serif}
.fm4-breadcrumbs__list{display:flex;flex-wrap:wrap;align-items:center;gap:.4rem;margin:0;padding:0;list-style:none}
.fm4-breadcrumbs__item{display:inline-flex;align-items:center}
.fm4-breadcrumbs__item a{color:color-mix(in srgb,var(--fm4-text-color,#1f2937) 62%,transparent);text-decoration:none}
.fm4-breadcrumbs__item a:hover{color:var(--fm4-primary-color,#2563eb);text-decoration:underline}
.fm4-breadcrumbs__item--current{color:var(--fm4-text-color,#1f2937);font-weight:750}
.fm4-breadcrumbs__sep{color:color-mix(in srgb,var(--fm4-text-color,#1f2937) 38%,transparent);list-style:none}

/* ── Product options (variants + add-ons) ─────────────────────────────── */
.fm4-product-options{display:grid;gap:1rem;margin:1rem 0}
.fm4-po-group-field,.fm4-po-addons-field{display:grid;gap:.45rem}
.fm4-po-group-label{font-weight:700;font-size:.9rem;color:var(--fm4-text-color,#111827)}
.fm4-po-req-star{color:var(--fm4-danger-color,#dc2626)}
.fm4-po-choices,.fm4-po-addon-choices{display:flex;flex-wrap:wrap;gap:.5rem}
.fm4-po-choice{display:inline-flex;align-items:center;gap:.4rem;padding:.45rem .7rem;border:1px solid var(--fm4-border-color,#e5e7eb);border-radius:min(var(--fm4-global-radius,8px),10px);background:var(--fm4-surface-color,#fff);cursor:pointer;font-size:.9rem;transition:border-color .15s,background .15s}
.fm4-po-choice input{accent-color:var(--fm4-primary-color,#2563eb);margin:0}
.fm4-po-choice:has(input:checked){border-color:var(--fm4-primary-color,#2563eb);background:color-mix(in srgb,var(--fm4-primary-color,#2563eb) 10%,var(--fm4-surface-color,#fff))}
.fm4-po-choice.is-out{opacity:.5;cursor:not-allowed;text-decoration:line-through}
.fm4-po-delta{color:var(--fm4-muted-color,#64748b);font-size:.82rem;font-weight:600}
.fm4-po-group-field.fm4-po-invalid .fm4-po-group-label{color:var(--fm4-danger-color,#dc2626)}
.fm4-po-group-field.fm4-po-invalid .fm4-po-choices{outline:1px dashed var(--fm4-danger-color,#dc2626);outline-offset:3px;border-radius:8px}
.fm4-cart-line__options{display:block;color:var(--fm4-muted-color,#64748b);font-size:.8rem;margin-top:.15rem}

/* ── Modern editorial news list ───────────────────────────────────────
   Big modern type, generous whitespace, date as an uppercase eyebrow and
   the title as the visual anchor. A magazine-feel alternative to the
   compact news-list-card variants. Selected via the "Modern editorial"
   query-block variant. */
.fm4-query-news-modern-editorial{display:grid;gap:clamp(1.5rem,4vw,3rem);padding:clamp(1.5rem,4vw,3rem) 0;font-family:var(--fm4-body-font,Raleway,system-ui,sans-serif)}
.fm4-me-card{display:grid;grid-template-columns:minmax(0,1fr);gap:clamp(1rem,2.5vw,1.75rem);padding-bottom:clamp(1.5rem,3vw,2.5rem);border-bottom:1px solid var(--fm4-border-color,#e2e8f0)}
.fm4-me-card:last-child{border-bottom:0}
.fm4-me-card__media{display:block;overflow:hidden;border-radius:clamp(10px,1.5vw,18px);aspect-ratio:16/9;background:var(--fm4-surface-color,#f4f4f0)}
.fm4-me-card__media img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .5s ease}
.fm4-me-card__media:hover img{transform:scale(1.03)}
.fm4-me-card__body{display:flex;flex-direction:column;gap:.65rem;justify-content:center}
.fm4-me-card__date{font-size:clamp(.72rem,.9vw,.82rem);font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--fm4-muted-color,#94a3b8)}
.fm4-me-card__title{margin:0;font-family:var(--fm4-heading-font,Lato,system-ui,sans-serif);font-size:clamp(1.4rem,3.5vw,2.2rem);font-weight:700;line-height:1.12;letter-spacing:-.01em;color:var(--fm4-text-color,#1e293b)}
.fm4-me-card__title a{color:inherit;text-decoration:none;transition:color .15s ease}
.fm4-me-card__title a:hover{color:var(--fm4-primary-color,#e66100)}
.fm4-me-card__excerpt{margin:0;font-size:clamp(1rem,1.5vw,1.15rem);line-height:1.6;color:var(--fm4-muted-color,#475569);display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
@media(min-width:680px){
  .fm4-me-card{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);align-items:center}
  .fm4-me-card:nth-child(even){grid-template-columns:minmax(0,1fr) minmax(0,1.1fr)}
  .fm4-me-card:nth-child(even) .fm4-me-card__media{order:2}
  .fm4-me-card:nth-child(even) .fm4-me-card__body{order:1}
}

.fm4-image-block-frame--size-xxs { max-width: 80px; }

/* Language switcher inside header utility slot */
.fm4-placement-slot--header_utility .fm4-block-wrap.fm4-block-language_switcher_block {
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    width: auto !important;
    display: inline-flex !important;
    box-shadow: none !important;
}
.fm4-placement-slot--header_utility .fm4-block-wrap.fm4-block-language_switcher_block .fm4-language-switcher {
    margin: 0 !important;
}




/* -- Light & Dark Mode Logo Rendering -- */
:root:not(.dark-mode) .fm4-site-brand-logo,
html:not(.dark-mode) .fm4-site-brand-logo,
.light-mode .fm4-site-brand-logo,
[data-theme="light"] .fm4-site-brand-logo,
:root:not(.dark-mode) .fm4-logo img,
:root:not(.dark-mode) .fm4-brand-logo {
  filter: none !important;
  opacity: 1 !important;
}

:root.dark-mode .fm4-site-brand-logo,
html.dark-mode .fm4-site-brand-logo,
[data-theme="dark"] .fm4-site-brand-logo,
.dark-mode .fm4-site-brand-logo,
.dark-mode .fm4-logo img,
.dark-mode .fm4-brand-logo,
.dark-mode .fm4-site-logo-block img {
  filter: invert(1) hue-rotate(180deg) brightness(1.2) contrast(1.05) !important;
  transition: filter 0.2s ease;
}

:root.dark-mode svg.fm4-site-brand-logo path[fill="#231F20"],
:root.dark-mode svg.fm4-site-brand-logo path[fill="#000"],
:root.dark-mode svg.fm4-site-brand-logo path[fill="#000000"],
:root.dark-mode .fm4-site-logo__svg svg path[fill="#231F20"],
:root.dark-mode .fm4-site-logo__svg svg path[fill="#000"],
:root.dark-mode .fm4-site-logo__svg svg path[fill="#000000"] {
  fill: #ffffff !important;
}

:root.dark-mode svg.fm4-site-brand-logo path[fill="#F05F24"],
:root.dark-mode .fm4-site-logo__svg svg path[fill="#F05F24"] {
  fill: var(--fm4-primary-color, #F05F24) !important;
}

#fm4-theme-toggle {
  position: fixed !important;
  right: 20px !important;
  bottom: 20px !important;
  z-index: 2147480000 !important;
  width: 44px !important;
  height: 44px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 50% !important;
  cursor: pointer !important;
  border: 1px solid rgba(226, 232, 240, 0.9) !important;
  background: #ffffff !important;
  color: #0f172a !important;
  box-shadow: 0 4px 18px rgba(0,0,0,0.18) !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  margin: 0 !important;
  transform: none !important;
}
:root.dark-mode #fm4-theme-toggle,
html.dark-mode #fm4-theme-toggle {
  background: #1e293b !important;
  color: #f8fafc !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4) !important;
}
#fm4-theme-toggle:hover {
  transform: translateY(-2px) scale(1.05) !important;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25) !important;
}

/* ── FM4 Header Theme Toggle ── */
.fm4-theme-toggle {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 36px !important;
  height: 32px !important;
  border-radius: 6px !important;
  border: 1px solid var(--fm4-border-color, rgba(0, 0, 0, 0.15)) !important;
  background: var(--fm4-surface-color, #ffffff) !important;
  color: var(--fm4-text-color, #18181b) !important;
  cursor: pointer !important;
  padding: 0 !important;
  margin: 0 0 0 4px !important;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease !important;
  vertical-align: middle !important;
}
.fm4-theme-toggle:hover {
  background: rgba(125, 125, 125, 0.12) !important;
  transform: scale(1.04) !important;
}
.fm4-theme-icon-sun,
.fm4-theme-icon-moon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
}
/* In Light Mode: hide sun, show moon (indicates action to go dark) */
:root:not(.dark-mode) .fm4-theme-icon-sun,
html:not(.dark-mode) .fm4-theme-icon-sun {
  display: none !important;
}
:root:not(.dark-mode) .fm4-theme-icon-moon,
html:not(.dark-mode) .fm4-theme-icon-moon {
  display: inline-flex !important;
}
/* In Dark Mode: show sun (indicates action to go light), hide moon */
:root.dark-mode .fm4-theme-icon-moon,
html.dark-mode .fm4-theme-icon-moon {
  display: none !important;
}
:root.dark-mode .fm4-theme-icon-sun,
html.dark-mode .fm4-theme-icon-sun {
  display: inline-flex !important;
}
:root.dark-mode .fm4-theme-toggle,
html.dark-mode .fm4-theme-toggle {
  background: #27272a !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  color: #f4f4f5 !important;
}
:root.dark-mode .fm4-theme-toggle:hover,
html.dark-mode .fm4-theme-toggle:hover {
  background: #3f3f46 !important;
}

/* ══════════════════════════════════════════════════════════════════════════════
   COMPREHENSIVE DUAL-THEME SUPPORT (DARK & LIGHT MODE)
   ══════════════════════════════════════════════════════════════════════════════ */

@layer base {
  :root {
    --fm4-bg-subtle: #f8fafc;
  }

  :root.dark-mode,
  html.dark-mode,
  [data-theme="dark"] {
    --fm4-bg: #0b0f19;
    --fm4-bg-color: #0b0f19;
    --fm4-background-color: #0b0f19;
    --theme-bg: #0b0f19;

    --fm4-surface: #1e293b;
    --fm4-surface-color: #1e293b;
    --theme-surface: #1e293b;
    --fm4-bg-subtle: rgba(15, 23, 42, 0.6);

    --fm4-text: #f8fafc;
    --fm4-text-color: #f8fafc;
    --theme-text: #f8fafc;

    --fm4-muted-color: #94a3b8;
    --theme-muted: #94a3b8;

    --fm4-border-color: rgba(255, 255, 255, 0.12);
    --theme-border: rgba(255, 255, 255, 0.12);
  }
}

/* ── Footer in Dark Mode ── */
:root.dark-mode .fm4-site-footer,
html.dark-mode .fm4-site-footer,
[data-theme="dark"] .fm4-site-footer,
.dark-mode .fm4-site-footer {
  background: var(--fm4-background-color, #0f172a) !important;
  color: color-mix(in srgb, var(--fm4-text-color, #f8fafc) 65%, transparent) !important;
  border-top-color: var(--fm4-border-color, rgba(255, 255, 255, 0.1)) !important;
}

:root.dark-mode .fm4-site-footer p,
:root.dark-mode .fm4-site-footer [data-fm4-field="footer_text"] {
  color: color-mix(in srgb, var(--fm4-text-color, #f8fafc) 75%, transparent) !important;
}

:root.dark-mode .fm4-footer-nav .fm4-nav-link {
  color: color-mix(in srgb, var(--fm4-text-color, #f8fafc) 85%, transparent) !important;
}

:root.dark-mode .fm4-footer-nav .fm4-nav-link:hover,
:root.dark-mode .fm4-footer-nav .fm4-nav-link.fm4-nav-active {
  color: var(--fm4-primary-color, #ea580c) !important;
}

/* ── Automatic Dark Mode for Content Cards, Grids & Boxes ── */
:root.dark-mode .fm4-card,
:root.dark-mode .fm4-card-adaptive,
:root.dark-mode .fm4-generic-block--card {
  background: var(--fm4-surface-color, #18181b);
  border-color: var(--fm4-border-color, rgba(255, 255, 255, 0.12));
  color: var(--fm4-text-color, #f8fafc);
}

/* Nested subcards in dark mode */
:root.dark-mode [data-fm4-field] div[style*="border-radius"][style*="padding"] div[style*="border-radius"][style*="padding"],
:root.dark-mode [data-fm4-field] [style*="background:#f8fafc"] {
  background: color-mix(in srgb, var(--fm4-surface-color) 72%, var(--fm4-background-color)) !important;
  border-color: color-mix(in srgb, var(--fm4-border-color) 65%, transparent) !important;
}

/* Content Headings & Text Inversion */
:root.dark-mode .fm4-doc-container h1,
:root.dark-mode .fm4-doc-container h2,
:root.dark-mode .fm4-doc-container h3,
:root.dark-mode .fm4-doc-container strong,
:root.dark-mode [data-fm4-field] [style*="color:#0f172a"],
:root.dark-mode [data-fm4-field] [style*="color: #0f172a"],
:root.dark-mode [data-fm4-field] [style*="color:#111827"],
:root.dark-mode [data-fm4-field] [style*="color: #111827"],
:root.dark-mode [data-fm4-field] [style*="color:#334155"],
:root.dark-mode [data-fm4-field] [style*="color: #334155"] {
  color: var(--fm4-text-color) !important;
}

:root.dark-mode [data-fm4-field] [style*="color:#475569"],
:root.dark-mode [data-fm4-field] [style*="color: #475569"],
:root.dark-mode [data-fm4-field] [style*="color:#64748b"],
:root.dark-mode [data-fm4-field] [style*="color: #64748b"] {
  color: color-mix(in srgb, var(--fm4-text-color) 76%, transparent) !important;
}

:root.dark-mode [data-fm4-field] code {
  background: rgba(15, 23, 42, 0.95) !important;
  color: #38bdf8 !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  padding: 2px 6px !important;
  border-radius: 5px !important;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace !important;
}


/* Document Container & Adaptive Cards */
.fm4-card-adaptive {
  background: var(--fm4-surface-color, #ffffff) !important;
  color: var(--fm4-text-color, #1e293b) !important;
  border: 1px solid var(--fm4-border-color, rgba(226, 232, 240, 0.8)) !important;
  border-radius: var(--fm4-global-radius, 16px) !important;
  padding: clamp(1.25rem, 2.5vw, 1.75rem) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  box-sizing: border-box !important;
}
.fm4-card-adaptive h2, .fm4-card-adaptive h3, .fm4-card-adaptive h4 {
  color: var(--fm4-text-color, #0f172a) !important;
}
.fm4-card-adaptive p, .fm4-card-adaptive .fm4-card-desc {
  color: color-mix(in srgb, var(--fm4-text-color, #475569) 80%, transparent) !important;
}
.fm4-card-adaptive li {
  color: color-mix(in srgb, var(--fm4-text-color, #334155) 85%, transparent) !important;
}
.fm4-subcard-adaptive {
  background: color-mix(in srgb, var(--fm4-surface-color, #ffffff) 90%, var(--fm4-text-color, #000000)) !important;
  color: var(--fm4-text-color, inherit) !important;
  border: 1px solid var(--fm4-border-color, rgba(255, 255, 255, 0.12)) !important;
  border-radius: calc(var(--fm4-global-radius, 16px) - 4px) !important;
  padding: 14px 18px !important;
  box-sizing: border-box !important;
}
.fm4-subcard-adaptive strong {
  color: var(--fm4-text-color, #0f172a) !important;
}
.fm4-subcard-adaptive code {
  background: color-mix(in srgb, var(--fm4-text-color, #111) 12%, transparent) !important;
  color: var(--fm4-primary-color, #ea580c) !important;
}
.fm4-cta-adaptive {
  background: color-mix(in srgb, var(--fm4-surface-color, #ffffff) 92%, var(--fm4-primary-color, #ea580c)) !important;
  color: var(--fm4-text-color, inherit) !important;
  border: 1px solid color-mix(in srgb, var(--fm4-primary-color, #ea580c) 30%, transparent) !important;
}
.fm4-cta-adaptive h2, .fm4-cta-adaptive h3, .fm4-cta-adaptive .fm4-cta-title {
  color: var(--fm4-text-color, #0f172a) !important;
}
.fm4-cta-adaptive p, .fm4-cta-adaptive .fm4-cta-desc {
  color: color-mix(in srgb, var(--fm4-text-color, #475569) 80%, transparent) !important;
}

/* ── FM4 Modern FAQ Accordion ────────────────────────────────────────── */
.fm4-faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.fm4-faq-item {
  background: var(--fm4-surface-color, #ffffff) !important;
  border: 1px solid var(--fm4-border-color, #e2e8f0) !important;
  border-radius: var(--fm4-global-radius, 14px) !important;
  overflow: hidden;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.fm4-faq-item[open] {
  border-color: var(--fm4-border-color, #cbd5e1) !important;
  background: var(--fm4-surface-color, #ffffff) !important;
}
.fm4-faq-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  font-size: 1.05rem;
  font-weight: 750;
  color: var(--fm4-text-color, #0f172a) !important;
  cursor: pointer;
  user-select: none;
  list-style: none;
}
.fm4-faq-summary::-webkit-details-marker {
  display: none;
}
.fm4-faq-summary::after {
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: color-mix(in srgb, var(--fm4-text-color, #000) 8%, transparent) !important;
  color: var(--fm4-text-color, #64748b) !important;
  font-size: 1.1rem;
  font-weight: 700;
  flex-shrink: 0;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.fm4-faq-item[open] .fm4-faq-summary::after {
  content: "−";
  background: color-mix(in srgb, var(--fm4-primary-color, #ea580c) 15%, transparent) !important;
  color: var(--fm4-primary-color, #ea580c) !important;
}
.fm4-faq-content {
  padding: 0 22px 20px 22px;
  font-size: 0.94rem;
  line-height: 1.65;
  color: color-mix(in srgb, var(--fm4-text-color) 80%, transparent) !important;
  border-top: 1px solid var(--fm4-border-color) !important;
  margin-top: 2px;
  padding-top: 14px;
}

/* ── Dynamic Block, Card & Heading Styles & Animations ── */
.fm4-fx-fade-in {
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity;
}
.fm4-fx-fade-in.fm4-in-view, .fm4-fx-fade-in.is-visible {
  opacity: 1;
}

.fm4-fx-fade-up {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.fm4-fx-fade-up.fm4-in-view, .fm4-fx-fade-up.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.fm4-fx-slide-in {
  opacity: 0;
  transform: translate3d(-32px, 0, 0);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.fm4-fx-slide-in.fm4-in-view, .fm4-fx-slide-in.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.fm4-fx-zoom-in {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.fm4-fx-zoom-in.fm4-in-view, .fm4-fx-zoom-in.is-visible {
  opacity: 1;
  transform: scale(1);
}

.fm4-fx-hover-lift {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease !important;
  display: inline-block;
}
.fm4-fx-hover-lift:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 20px 40px rgba(0,0,0,0.12) !important;
}

.fm4-fx-hover-glow {
  transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}
.fm4-fx-hover-glow:hover {
  box-shadow: 0 0 28px color-mix(in srgb, var(--fm4-primary-color, #ea580c) 40%, transparent) !important;
}

/* Title Styles */
.fm4-title-gradient {
  background: linear-gradient(135deg, var(--fm4-text-color, #ffffff) 20%, var(--fm4-primary-color, #ea580c) 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  display: inline-block !important;
}

.fm4-title-underline {
  display: inline-block;
  position: relative;
}
.fm4-title-underline::after {
  content: '';
  display: block;
  width: 54px;
  height: 4px;
  background: var(--fm4-primary-color, #ea580c);
  border-radius: 3px;
  margin-top: 8px;
}

.fm4-title-hero {
  font-size: clamp(2.2rem, 5vw, 3.8rem) !important;
  font-weight: 850 !important;
  letter-spacing: -0.035em !important;
  line-height: 1.1 !important;
}

/* Card & Box Styles tied to Dynamic Palette */
.fm4-card-dark {
  background: var(--fm4-surface-color, #18181b) !important;
  color: var(--fm4-text-color, #f8fafc) !important;
  border: 1px solid var(--fm4-border-color, rgba(255,255,255,0.14)) !important;
  box-shadow: 0 16px 45px rgba(0,0,0,0.4) !important;
}
.fm4-card-dark * {
  color: inherit;
}

.fm4-card-glass {
  background: color-mix(in srgb, var(--fm4-surface-color, #ffffff) 70%, transparent) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border: 1px solid var(--fm4-border-color, rgba(255,255,255,0.45)) !important;
  box-shadow: 0 16px 40px rgba(0,0,0,0.1) !important;
}

.fm4-card-accent-top {
  border-top: 4px solid var(--fm4-primary-color, #ea580c) !important;
}

.fm4-card-outline {
  background: transparent !important;
  border: 1.5px solid var(--fm4-border-color, #cbd5e1) !important;
}

/* Adaptive Content Cards & Components tied to Tweaks */
.fm4-card-adaptive :is(h1, h2, h3, h4, h5, h6),
.fm4-subcard-adaptive :is(h1, h2, h3, h4, h5, h6),
.fm4-cta-adaptive :is(h1, h2, h3, h4, h5, h6) {
  margin-top: 0 !important;
  color: var(--fm4-text-color, #0f172a) !important;
}

.fm4-doc-container code {
  background: color-mix(in srgb, var(--fm4-text-color, #111) 10%, transparent) !important;
  color: var(--fm4-text-color, inherit) !important;
  border: 1px solid color-mix(in srgb, var(--fm4-border-color, #ccc) 40%, transparent) !important;
}

/* Standard Typography & Content Tokens */
.fm4-hero-section {
  text-align: center !important;
  padding: 0 !important;
  margin-top: 0 !important;
  margin-bottom: clamp(2rem, 4vw, 2.75rem) !important;
}

.fm4-hero-section .fm4-hero-title,
.fm4-hero-section .fm4-title-hero {
  font-size: clamp(2.2rem, 4.5vw, 3.2rem) !important;
  font-weight: 850 !important;
  letter-spacing: -0.035em !important;
  line-height: 1.15 !important;
  margin-top: 0 !important;
  margin-bottom: 14px !important;
}

.fm4-hero-section .fm4-lead {
  font-size: 1.05rem !important;
  line-height: 1.65 !important;
  max-width: 680px !important;
  margin: 0 auto !important;
  color: inherit !important;
  opacity: 0.85 !important;
}

.fm4-hero-kicker, .fm4-kicker {
  display: inline-block !important;
  font-size: 0.84rem !important;
  font-weight: 800 !important;
  color: var(--fm4-primary-color, #ea580c) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.12em !important;
  margin: 0 0 14px 0 !important;
  background: none !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
}

/* Standardized Contact List Components */
.fm4-contact-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
  margin: 0 !important;
  padding: 0 !important;
}

.fm4-contact-item {
  display: flex !important;
  align-items: flex-start !important;
  gap: 12px !important;
}

.fm4-contact-item svg,
.fm4-contact-item .fm4-contact-icon {
  color: var(--fm4-primary-color, #ea580c) !important;
  flex-shrink: 0 !important;
  margin-top: 2px !important;
}

.fm4-contact-item .fm4-contact-label {
  font-size: 0.75rem !important;
  font-weight: 750 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  color: color-mix(in srgb, var(--fm4-text-color, #0f172a) 65%, transparent) !important;
  margin-bottom: 2px !important;
}

.fm4-contact-item .fm4-contact-value {
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  color: var(--fm4-text-color, inherit) !important;
}

.fm4-contact-item .fm4-contact-value a {
  color: inherit !important;
  text-decoration: none !important;
  font-weight: 700 !important;
}

.fm4-contact-item .fm4-contact-value a:hover {
  color: var(--fm4-primary-color, #ea580c) !important;
}

/* ── Social Share Bar ─────────────────────────────────────────────────── */
.fm4-share-bar {
  margin: clamp(1rem, 2vw, 1.75rem) auto !important;
  max-width: var(--fm4-container-width, 1100px) !important;
  padding: clamp(0.4rem, 0.8vw, 0.65rem) 0 !important;
  border-top: 1px solid var(--fm4-border-color, #e2e8f0) !important;
  border-bottom: 1px solid var(--fm4-border-color, #e2e8f0) !important;
  width: 100% !important;
}

.fm4-share-links {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.fm4-share-btn {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 36px !important;
  height: 36px !important;
  padding: 0 !important;
  border-radius: max(6px, var(--fm4-global-radius, 8px)) !important;
  font-size: 0.88rem !important;
  font-weight: 650 !important;
  text-decoration: none !important;
  border: 1px solid var(--fm4-border-color, #e2e8f0) !important;
  background: var(--fm4-surface-color, #ffffff) !important;
  color: var(--fm4-text-color, #334155) !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  line-height: 1 !important;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04) !important;
}

.fm4-share-btn:hover {
  border-color: var(--fm4-primary-color, #ea580c) !important;
  color: var(--fm4-primary-color, #ea580c) !important;
  transform: translateY(-1px) !important;
}

.fm4-share-btn svg {
  flex-shrink: 0 !important;
}

.fm4-share-tip {
  position: absolute !important;
  bottom: calc(100% + 6px) !important;
  left: 50% !important;
  transform: translateX(-50%) translateY(4px) !important;
  background: #0f172a !important;
  color: #ffffff !important;
  font-size: 0.72rem !important;
  font-weight: 600 !important;
  padding: 4px 8px !important;
  border-radius: 4px !important;
  white-space: nowrap !important;
  pointer-events: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s ease !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.18) !important;
  z-index: 50 !important;
}

#fm4-page .fm4-site-header .fm4-share-tip,
.fm4-search-widget__copy-btn .fm4-share-tip {
  bottom: auto !important;
  top: calc(100% + 7px) !important;
  transform: translateX(-50%) translateY(-4px) !important;
}

.fm4-share-btn:hover .fm4-share-tip,
.fm4-share-tip.is-active {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateX(-50%) translateY(0) !important;
}

#fm4-page .fm4-site-header .fm4-share-btn:hover .fm4-share-tip,
.fm4-search-widget__copy-btn:hover .fm4-share-tip,
#fm4-page .fm4-site-header .fm4-share-tip.is-active,
.fm4-search-widget__copy-btn .fm4-share-tip.is-active {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateX(-50%) translateY(0) !important;
}
/* ============================================================
   FM4 Header: Compact Spacing, Slogan Below Logo & Blinking Caret
   ============================================================ */

#fm4-page .uv-content-main_content,
#fm4-page .fm4-main .uv-content {
  --uv-content-gap: clamp(1rem, 2.2vw, 1.8rem);
}

#fm4-page .fm4-main > :is(.fm4-block-wrap, .uv-content) > .fm4-block-wrap:first-child,
#fm4-page .fm4-main > .fm4-block-wrap:first-child {
  --fm4-block-margin-top: 0px;
  margin-top: 0 !important;
}

/* 1. Brand stack & editorial slogan */
#fm4-page .fm4-site-header .fm4-brand-stack,
#fm4-page .fm4-brand-stack,
.fm4-brand-stack {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 3px;
  min-width: 0;
  flex-shrink: 0;
  margin: 0;
  padding: 0;
  line-height: 1;
  vertical-align: middle;
}

#fm4-page .fm4-site-header .fm4-site-brand-logo {
  display: block;
  height: clamp(32px, 4vw, 40px);
  width: auto;
  max-width: 260px;
  object-fit: contain;
}

#fm4-page .fm4-site-header .fm4-site-tagline {
  display: inline-flex;
  align-items: center;
  font-family: var(--fm4-body-font, "Lato", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
  font-size: clamp(0.72rem, 1.1vw, 0.82rem);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fm4-muted-color, #94a3b8);
  margin: 1px 0 0 0;
  padding: 0;
  line-height: 1;
  white-space: nowrap;
  background: transparent;
}

@keyframes fm4-live-caret-blink {
  0%, 54% {
    opacity: 1;
    visibility: visible;
  }
  55%, 100% {
    opacity: 0;
    visibility: hidden;
  }
}

#fm4-page .fm4-site-header .fm4-site-tagline::after {
  content: "";
  display: inline-block;
  width: 2px;
  height: 0.92em;
  background-color: var(--fm4-primary-color, #00a2e8);
  margin-left: 6px;
  vertical-align: -0.06em;
  animation: fm4-live-caret-blink 1.5s infinite;
}

/* Symmetrical Spacing Above & Below First Article */
:root {
  --fm4-lead-spacing: clamp(1.75rem, 3.5vw, 2.75rem);
}

#fm4-page > .fm4-main {
  padding-top: 0 !important;
}

#fm4-page .fm4-main > .uv-content,
#fm4-page .fm4-main .uv-content-main_content {
  margin-top: 0;
  padding-top: 0;
}

#fm4-page .fm4-news-front {
  border-top: none;
  margin-top: 0;
  padding-top: 0;
}

#fm4-page .fm4-news-front__breaking-splash {
  margin-top: var(--fm4-lead-spacing);
  margin-bottom: var(--fm4-lead-spacing);
  padding-top: 0;
  padding-bottom: 0;
  border-top: none;
  border-bottom: none;
}

/* Identical dimensions & aspect ratio for both large lead images */
#fm4-page .fm4-news-front-card--breaking .fm4-news-front-card__media,
#fm4-page .fm4-news-front-card--lead .fm4-news-front-card__media {
  display: block;
  width: 100%;
  aspect-ratio: 16/10;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  margin: 0;
}

#fm4-page .fm4-news-front-card--breaking .fm4-news-front-card__media img,
#fm4-page .fm4-news-front-card--lead .fm4-news-front-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  transition: transform 0.45s cubic-bezier(0.2, 0.6, 0.2, 1);
}

/* ════════════════════════════════════════════════════════════════════════
   FM4 Complete Newsroom Suite (Guardian, Nordic Impact, Asymmetric)
   ════════════════════════════════════════════════════════════════════════ */

/* 1. Nordic Impact Tabloid / Sensation Showcase Card */
.fm4-news-front-card--nordic-impact {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  width: 100%;
  box-sizing: border-box;
}

.fm4-nordic-impact__media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 21/10;
  max-height: 480px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.14);
  text-decoration: none;
}

@media (max-width: 768px) {
  .fm4-nordic-impact__media {
    aspect-ratio: 16/10;
  }
}

.fm4-nordic-impact__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s cubic-bezier(0.2, 0.6, 0.2, 1);
}

.fm4-nordic-impact__media:hover img {
  transform: scale(1.02);
}

.fm4-nordic-impact__badge {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: #e11d48;
  color: #ffffff;
  font-family: Inter, system-ui, sans-serif;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 4px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  z-index: 2;
  line-height: 1.2;
}

.fm4-nordic-impact__body {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  width: 100%;
}

.fm4-nordic-impact__header-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: Inter, system-ui, sans-serif;
  font-size: 0.85rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1;
}

.fm4-nordic-impact__kicker {
  color: #e11d48;
}

.fm4-nordic-impact__time {
  color: var(--fm4-muted-color, #64748b);
  font-weight: 500;
}

.fm4-nordic-impact__title {
  font-family: var(--fm4-heading-font, "Playfair Display", Georgia, serif) !important;
  font-size: clamp(1.85rem, 3.8vw, 2.95rem) !important;
  font-weight: 900 !important;
  line-height: 1.1 !important;
  margin: 0.15rem 0;
  color: var(--fm4-text-color, #0f172a);
  letter-spacing: -0.02em;
}

.fm4-nordic-impact__title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease;
}

.fm4-nordic-impact__title a:hover {
  color: var(--fm4-primary-color, #ea580c);
}

.fm4-nordic-impact__sub {
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  line-height: 1.55;
  color: var(--fm4-text-color-muted, #475569);
  margin: 0;
  max-width: 85ch;
}

.dark-mode .fm4-nordic-impact__title {
  color: #f8fafc;
}

.dark-mode .fm4-nordic-impact__sub {
  color: #cbd5e1;
}

.dark-mode .fm4-nordic-impact__time {
  color: #94a3b8;
}

/* Asymmetric / Broadsheet Feature Card */
.fm4-news-front-card--asymmetric {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: center;
  margin-bottom: clamp(1.25rem, 2vw, 1.85rem);
  padding-bottom: clamp(1rem, 1.75vw, 1.5rem);
  border-bottom: 1px solid var(--fm4-border-color, #e2e8f0);
}

@media (max-width: 820px) {
  .fm4-news-front-card--asymmetric {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

.fm4-asym__media {
  aspect-ratio: 16/10;
  border-radius: 8px;
  overflow: hidden;
  display: block;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.fm4-asym__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fm4-asym__content {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.fm4-asym__kicker {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--fm4-primary-color, #ea580c);
  letter-spacing: 0.05em;
}

.fm4-asym__title {
  font-family: var(--fm4-heading-font, "Playfair Display", Georgia, serif) !important;
  font-size: clamp(1.4rem, 2.4vw, 2rem) !important;
  font-weight: 850 !important;
  line-height: 1.18 !important;
  color: var(--fm4-text-color, #0f172a);
  margin: 0;
}

.fm4-asym__title a {
  color: inherit;
  text-decoration: none;
}

.fm4-asym__title a:hover {
  color: var(--fm4-primary-color, #ea580c);
}

.fm4-asym__summary {
  font-size: 1rem;
  line-height: 1.55;
  color: var(--fm4-text-color-muted, #475569);
  margin: 0;
}

.fm4-asym__footer {
  margin-top: 0.35rem;
}

.fm4-asym__divider {
  border: none;
  border-top: 1px solid var(--fm4-border-color, #e2e8f0);
  margin: 0.5rem 0;
}

.fm4-asym__meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.fm4-asym__badge {
  background: var(--fm4-text-color);
  color: var(--fm4-background-color);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 2px 7px;
  border-radius: 3px;
}

.fm4-asym__date {
  font-size: 0.8rem;
  color: var(--fm4-muted-color, #64748b);
}

.dark-mode .fm4-asym__title { color: #f8fafc; }
.dark-mode .fm4-asym__summary { color: #cbd5e1; }
.dark-mode .fm4-asym__badge { background: #334155; }
.dark-mode .fm4-asym__divider { border-color: var(--fm4-border-color, #27272a); }

/* 2. Feature Split Tier (Canonical Consolidated Split Card) */
.fm4-news-front__feature-split-tier {
  margin-bottom: clamp(1.25rem, 2vw, 1.85rem);
  padding-bottom: clamp(1rem, 1.75vw, 1.5rem);
  border-bottom: 1px solid var(--fm4-border-color, rgba(255, 255, 255, 0.1));
  width: 100%;
}

.fm4-news-front-card--feature_split {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 3.5vw, 2.75rem);
  align-items: center;
  max-width: 1080px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .fm4-news-front-card--feature_split {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
  }
}

.fm4-news-front-card--feature_split .fm4-news-front-card__media {
  display: block;
  width: 100%;
  aspect-ratio: 16/10;
  border-radius: max(8px, var(--fm4-global-radius, 10px));
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  margin: 0;
}

.fm4-news-front-card--feature_split .fm4-news-front-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.fm4-news-front-card--feature_split:hover .fm4-news-front-card__media img {
  transform: scale(1.03);
}

.fm4-news-front-card--feature_split .fm4-news-front-card__text {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-top: 0;
  padding-top: 0.15rem;
}

.fm4-news-front-card--feature_split .fm4-news-front-card__meta {
  margin-bottom: 0.2rem;
}

.fm4-news-front-card--feature_split h2 {
  font-family: var(--fm4-heading-font, "Playfair Display", Georgia, serif) !important;
  font-size: clamp(1.5rem, 2.4vw, 2.2rem) !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
  letter-spacing: -0.02em;
  color: var(--fm4-text-color, #0f172a);
  margin: 0.25rem 0 0.5rem 0;
  text-wrap: balance;
}

.fm4-news-front-card--feature_split p {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  line-height: 1.55;
  color: var(--fm4-muted-color, #64748b);
  margin: 0;
  opacity: 0.94;
}

.dark-mode .fm4-news-front-card--feature_split h2 {
  color: #f8fafc;
}

.dark-mode .fm4-news-front-card--feature_split p {
  color: #e2e8f0;
}

/* 4. Mini-Posts / Snapshots Band (Bilder) - Rent, linjeföljande flöde utan infälld marginal */
.fm4-mini-posts-band {
  margin: var(--fm4-section-gap, clamp(2rem, 4vw, 3.5rem)) 0;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.fm4-mini-band-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  padding: 0 0 0.5rem 0;
  border-bottom: 2px solid var(--fm4-primary-color, #ea580c);
}

.fm4-mini-band-title {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--fm4-heading-font, "Playfair Display", Georgia, serif) !important;
  font-size: clamp(1.4rem, 2.6vw, 1.8rem) !important;
  font-weight: 800 !important;
  color: var(--fm4-text-color, #0f172a);
  margin: 0;
}

.fm4-mini-band-title .fm4-band-icon,
.fm4-mini-band-title svg {
  color: var(--fm4-primary-color, #ff7700);
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.fm4-mini-band-subtitle {
  font-size: 0.88rem;
  color: var(--fm4-muted-color, #64748b);
}

.fm4-mini-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr));
  gap: clamp(1.25rem, 3vw, 2.25rem);
  width: 100%;
}

.fm4-mini-posts-grid[data-fm4-cols="2"] {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fm4-mini-posts-grid[data-fm4-cols="3"] {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.fm4-mini-posts-grid[data-fm4-cols="4"] {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.fm4-area-sidebar .fm4-mini-posts-grid:not([data-fm4-cols="2"]),
.fm4-mini-posts-grid[data-fm4-cols="1"],
.fm4-mini-posts-grid[data-fm4-count="1"],
.fm4-mini-posts-grid:has(> .fm4-mini-card:only-child) {
  grid-template-columns: minmax(0, 1fr);
}

.fm4-area-sidebar .fm4-mini-posts-grid[data-fm4-cols="2"]:not([data-fm4-count="1"]):not(:has(> .fm4-mini-card:only-child)) {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.fm4-mini-posts-grid > .fm4-mini-card--moment,
.fm4-mini-posts-grid[data-fm4-count="1"] > .fm4-mini-card--moment,
.fm4-mini-posts-grid:has(> .fm4-mini-card:only-child) > .fm4-mini-card--moment {
  max-width: 420px;
  width: 100%;
  margin-inline: auto;
}

.fm4-mini-posts-grid.fm4-moments-archive-grid,
.fm4-mini-posts-grid.fm4-moments-archive-grid[data-fm4-count="1"],
.fm4-mini-posts-grid.fm4-moments-archive-grid:has(> .fm4-mini-card:only-child) {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.fm4-moments-archive-grid > .fm4-mini-card--moment {
  max-width: 420px;
  width: 100%;
  margin-inline: auto;
}

@media (max-width: 980px) {
  .fm4-mini-posts-grid.fm4-moments-archive-grid,
  .fm4-mini-posts-grid.fm4-moments-archive-grid[data-fm4-count="1"],
  .fm4-mini-posts-grid.fm4-moments-archive-grid:has(> .fm4-mini-card:only-child) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .fm4-mini-posts-grid:not(.fm4-moments-archive-grid),
  .fm4-area-sidebar .fm4-mini-posts-grid[data-fm4-cols="2"] {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .fm4-mini-posts-grid.fm4-moments-archive-grid,
  .fm4-mini-posts-grid.fm4-moments-archive-grid[data-fm4-count="1"],
  .fm4-mini-posts-grid.fm4-moments-archive-grid:has(> .fm4-mini-card:only-child) {
    grid-template-columns: 1fr;
  }
  .fm4-mini-posts-grid > .fm4-mini-card--moment,
  .fm4-moments-archive-grid > .fm4-mini-card--moment {
    max-width: none;
  }
}

.fm4-mini-card {
  display: flex;
  flex-direction: column;
  background: transparent;
  border: none;
  border-radius: var(--fm4-global-radius, 12px);
  overflow: visible;
  box-shadow: none;
  transition: transform 0.2s ease;
}

.fm4-mini-card:hover {
  transform: translateY(-2px);
  box-shadow: none;
}

.fm4-mini-media {
  aspect-ratio: 16/10;
  height: auto;
  display: block;
  overflow: hidden;
  border-radius: var(--fm4-card-media-radius, var(--fm4-image-radius, var(--fm4-global-radius, 12px)));
  background: var(--fm4-surface-color, #18181c);
}

.fm4-mini-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.fm4-mini-card:hover .fm4-mini-media img {
  transform: scale(1.04);
}

.fm4-mini-card--moment {
  --fm4-bld-scrim: var(--fm4-scrim-color, var(--fm4-text-color));
  --fm4-bld-on-scrim: var(--fm4-on-scrim-color, var(--fm4-surface-color));
  --fm4-card-aspect: 4/5;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "media";
  position: relative;
  border-radius: var(--fm4-card-media-radius, var(--fm4-image-radius, var(--fm4-global-radius, 12px)));
  overflow: hidden;
  padding: 0;
}

:is(.dark-mode, [data-theme="dark"]) .fm4-mini-card--moment {
  --fm4-bld-scrim: var(--fm4-scrim-color, var(--fm4-background-color));
  --fm4-bld-on-scrim: var(--fm4-on-scrim-color, var(--fm4-text-color));
}

.fm4-mini-card--moment .fm4-mini-media {
  grid-area: media;
  position: relative;
  width: 100%;
  aspect-ratio: var(--fm4-card-aspect, 4/5);
  border-radius: var(--fm4-card-media-radius, var(--fm4-image-radius, var(--fm4-global-radius, 12px)));
  overflow: hidden;
}

.fm4-mini-card--moment .fm4-mini-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, color-mix(in srgb, var(--fm4-bld-scrim, var(--fm4-text-color)) 70%, transparent) 0%, transparent 46%);
  pointer-events: none;
  z-index: 1;
}

.fm4-mini-card--moment .fm4-mini-meta-row {
  grid-area: media;
  align-self: end;
  justify-self: start;
  position: relative;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 8px 8px;
  padding: 0.28rem 0.62rem;
  border-radius: var(--fm4-global-radius, 12px);
  background: color-mix(in srgb, var(--fm4-bld-scrim, var(--fm4-text-color)) 58%, transparent);
  color: var(--fm4-bld-on-scrim, var(--fm4-surface-color));
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.25;
  max-width: calc(100% - 16px);
  box-sizing: border-box;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fm4-mini-card--moment:has(.fm4-mini-caption:not([data-bld-empty="1"])) .fm4-mini-meta-row {
  max-width: calc(44% - 10px) !important;
}

.fm4-mini-card--moment .fm4-mini-meta-row[data-bld-empty="1"],
.fm4-mini-card--moment .fm4-mini-meta-row:empty {
  display: none !important;
}

.fm4-mini-card--moment .fm4-mini-photographer {
  display: inline-flex;
  align-items: center;
  gap: 0;
  color: inherit;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: middle;
}

.fm4-mini-card--moment .fm4-mini-photographer svg {
  display: inline-block;
  vertical-align: -0.14em;
  margin-right: 0.32rem;
  flex-shrink: 0;
  opacity: 0.9;
}

.fm4-mini-card--moment .fm4-mini-time {
  color: inherit;
  font-size: 0.72rem;
  font-weight: 500;
  opacity: 0.86;
  white-space: nowrap;
  vertical-align: middle;
}

.fm4-mini-card--moment .fm4-mini-photographer:not([data-bld-part-hidden="1"]) + .fm4-mini-time:not([data-bld-part-hidden="1"])::before {
  content: "·";
  margin-inline: 0.28rem 0.35rem;
  opacity: 0.72;
}

.fm4-mini-card--moment .fm4-mini-caption {
  grid-area: media;
  align-self: end;
  justify-self: end;
  position: relative;
  z-index: 3;
  margin: 0 8px 8px 0;
  padding: 0.28rem 0.62rem;
  border-radius: var(--fm4-global-radius, 12px);
  background: color-mix(in srgb, var(--fm4-bld-scrim, var(--fm4-text-color)) 58%, transparent);
  color: var(--fm4-bld-on-scrim, var(--fm4-surface-color));
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.3;
  text-align: right;
  max-width: calc(100% - 16px);
  box-sizing: border-box;
}

.fm4-mini-card--moment:has(.fm4-mini-meta-row:not([data-bld-empty="1"])) .fm4-mini-caption {
  max-width: calc(54% - 10px) !important;
}

.fm4-mini-card--moment .fm4-mini-caption[data-bld-empty="1"],
.fm4-mini-card--moment .fm4-mini-caption:empty {
  display: none !important;
}

.fm4-mini-card--moment .fm4-mini-caption a {
  color: inherit !important;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.fm4-mini-card--moment .fm4-mini-admin-status {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  padding: 0.22rem 0.55rem;
  border-radius: var(--fm4-global-radius, 12px);
  background: color-mix(in srgb, var(--fm4-bld-scrim, var(--fm4-text-color)) 65%, transparent);
  color: var(--fm4-bld-on-scrim, var(--fm4-surface-color));
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  font-size: 0.7rem;
  font-weight: 600;
  line-height: 1.2;
  pointer-events: none;
}

.fm4-mini-card--moment [data-bld-part-hidden="1"] {
  display: none !important;
}

.fm4-mini-body {
  padding: 0.65rem 0.85rem 0.85rem;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  gap: 0.25rem;
}

.fm4-mini-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.fm4-mini-tag { color: var(--fm4-primary-color, #ea580c); }
.fm4-mini-time {
  font-size: 0.76rem;
  color: var(--fm4-muted-color, #94a3b8);
  font-weight: 600;
}

.fm4-mini-title {
  font-family: var(--fm4-heading-font, "Playfair Display", Georgia, serif) !important;
  font-size: clamp(1.05rem, 1.5vw, 1.22rem) !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
  margin: 0;
  color: var(--fm4-text-color, #0f172a);
}

.fm4-mini-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease;
}

.fm4-mini-title a:hover {
  color: var(--fm4-primary-color, #ea580c);
}

.fm4-mini-text {
  font-size: 0.84rem;
  line-height: 1.45;
  color: var(--fm4-muted-color, #64748b);
  margin: 0;
}

.fm4-mini-author {
  margin-top: auto;
  padding-top: 0.4rem;
  border-top: 1px solid var(--fm4-border-color, rgba(0,0,0,0.08));
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: var(--fm4-muted-color, #64748b);
}

.fm4-mini-avatar {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--fm4-primary-color, #00a2e8);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 800;
}

/* Dark mode for Mini-Posts */
.dark-mode .fm4-mini-posts-band {
  background: transparent;
  border-color: transparent;
  color: var(--fm4-text-color, #f8fafc);
  box-shadow: none;
}

.dark-mode .fm4-mini-band-title { color: #ffffff; }
.dark-mode .fm4-mini-band-subtitle { color: #94a3b8; }

.dark-mode .fm4-mini-card {
  background: transparent;
  border-color: transparent;
  color: #f8fafc;
  box-shadow: none;
}

.dark-mode .fm4-mini-card h4,
.dark-mode .fm4-mini-card h4 a { color: #ffffff; }
.dark-mode .fm4-mini-card p { color: #cbd5e1; }
.dark-mode .fm4-mini-card-tag { color: #38bdf8; }
.dark-mode .fm4-mini-card-date { color: #94a3b8; }
.dark-mode .fm4-mini-card-author { color: #94a3b8; border-top-color: #2b3548; }

/* 5. Time-Capsule Year Archive & Pagination Navigation Bar */
.fm4-archive-nav-bar {
  margin: clamp(3rem, 6vw, 5rem) 0 clamp(1.5rem, 3vw, 2.5rem);
  padding: clamp(1.5rem, 3.5vw, 2.25rem);
  background: var(--fm4-surface-color, #ffffff);
  border: 1px solid var(--fm4-border-color, #e2e8f0);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.fm4-archive-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.fm4-archive-title {
  font-family: var(--fm4-heading-font, "Playfair Display", Georgia, serif) !important;
  font-size: clamp(1.15rem, 2vw, 1.35rem) !important;
  font-weight: 800 !important;
  color: var(--fm4-text-color, #0f172a);
}

.fm4-archive-search-link {
  font-size: 0.88rem;
  font-weight: 750;
  color: var(--fm4-primary-color, #00a2e8);
  text-decoration: none;
}

.fm4-archive-search-link:hover {
  text-decoration: underline;
}

.fm4-year-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.fm4-year-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 11px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--fm4-text-color);
  background: var(--fm4-surface-color, var(--fm4-background-color));
  border: 1px solid var(--fm4-border-color);
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.18s ease;
}

.fm4-year-pill:hover {
  background: var(--fm4-primary-color, #00a2e8);
  border-color: var(--fm4-primary-color, #00a2e8);
  color: #ffffff;
  transform: translateY(-1px);
}

.dark-mode .fm4-archive-nav-bar {
  background: #141822;
  border-color: #242c3d;
}

.dark-mode .fm4-archive-title {
  color: #ffffff;
}

.dark-mode .fm4-year-pill {
  background: #1c2230;
  border-color: #2b3548;
  color: #cbd5e1;
}

.dark-mode .fm4-year-pill:hover {
  background: var(--fm4-primary-color, #00a2e8);
  color: #ffffff;
}

/* ════════════════════════════════════════════════════════════════════════
   FM4 Uniform 3-Col News Grid & Minimal Snapshot Gallery
   ════════════════════════════════════════════════════════════════════════ */

/* 1. Harmonious 3-column uniform news grid (No giant pixelated bottom cards) */
.fm4-news-front__uniform-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.5vw, 2rem);
  margin-top: clamp(1.25rem, 2.5vw, 2rem);
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 900px) {
  .fm4-news-front__uniform-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 580px) {
  .fm4-news-front__uniform-grid {
    grid-template-columns: 1fr;
  }
}

.fm4-news-front-card--tile {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  height: 100%;
}

.fm4-news-front-card--tile .fm4-news-front-card__media {
  display: block;
  width: 100%;
  aspect-ratio: 16/10;
  border-radius: 8px;
  overflow: hidden;
  background: var(--fm4-surface-color, #18181c);
}

.fm4-news-front-card--tile .fm4-news-front-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.fm4-news-front-card--tile:hover .fm4-news-front-card__media img {
  transform: scale(1.03);
}

.fm4-news-front-card--tile h3 {
  font-family: var(--fm4-heading-font, "Playfair Display", Georgia, serif) !important;
  font-size: clamp(1.05rem, 1.6vw, 1.22rem) !important;
  font-weight: 750 !important;
  line-height: 1.3 !important;
  margin: 0;
  color: var(--fm4-text-color, #0f172a);
}

.fm4-news-front-card--tile h3 a {
  color: inherit;
  text-decoration: none;
}

.dark-mode .fm4-news-front-card--tile h3,
.dark-mode .fm4-news-front-card--tile h3 a {
  color: #f8fafc;
}

/* ════════════════════════════════════════════════════════════════════════
   FM4 Article Gallery, Photo Credits & Author Stamp
   ════════════════════════════════════════════════════════════════════════ */

/* 1. Cover Photo Credit */
.fm4-article-cover {
  position: relative;
}

.fm4-cover-photo-credit {
  position: absolute;
  right: clamp(12px, 2.5vw, 24px);
  bottom: clamp(12px, 2.5vw, 24px);
  background: rgba(15, 23, 42, 0.75);
  color: #f8fafc;
  font-family: var(--fm4-body-font, system-ui, sans-serif);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 4px;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  z-index: 10;
  pointer-events: none;
}

.fm4-gallery-photo-credit {
  position: absolute;
  right: 10px;
  bottom: 10px;
  background: rgba(15, 23, 42, 0.75);
  color: #ffffff;
  font-family: var(--fm4-body-font, system-ui, sans-serif);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 3px 8px;
  border-radius: 4px;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  z-index: 3;
  pointer-events: none;
}

body.fm4-live-editing :is(figcaption, [data-fm4-slot="caption"], .fm4-caption, .fm4-caption-text, .fm4-cover-photo-credit, .fm4-cover-caption-by, .fm4-gallery-photo-credit, .fm4-photo-credit, .fm4-caption-credit, .fm4-caption-by, [data-fm4-credit], [data-fm4-slot="credit"], [data-fm4-cover-credit-trigger]) {
  pointer-events: auto !important;
  cursor: text;
}

body.fm4-live-editing [data-fm4-cover-credit-trigger] {
  pointer-events: auto !important;
  cursor: pointer !important;
}

.fm4-gallery-caption {
  padding: 0.65rem 0.85rem;
  font-size: 0.84rem;
  color: var(--fm4-muted-color, #64748b);
  line-height: 1.4;
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
}

/* 3. Author Stamp / Skribent Badge */
.fm4-author-stamp-wrap {
  margin: clamp(2.5rem, 5vw, 3.5rem) 0 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.fm4-author-stamp {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.5rem 1.25rem 0.5rem 0.5rem;
  background: var(--fm4-surface-color, #ffffff);
  border: 1px solid var(--fm4-border-color, #e2e8f0);
  border-radius: 50px;
  text-decoration: none;
  color: var(--fm4-text-color, #0f172a);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.fm4-author-stamp:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  border-color: var(--fm4-primary-color, #00a2e8);
}

.fm4-stamp-frame {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid var(--fm4-primary-color, #00a2e8);
  background: #090d14;
}

.fm4-stamp-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fm4-stamp-initials {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 800;
  font-size: 1.1rem;
  background: var(--fm4-primary-color, #00a2e8);
}

.fm4-stamp-meta {
  display: flex;
  flex-direction: column;
  gap: 1px;
  text-align: left;
}

.fm4-stamp-role {
  font-family: var(--fm4-body-font, system-ui, sans-serif);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 750;
  color: var(--fm4-muted-color, #94a3b8);
  line-height: 1;
}

.fm4-stamp-name {
  font-family: var(--fm4-heading-font, "Playfair Display", Georgia, serif);
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--fm4-text-color, #0f172a);
  line-height: 1.2;
}

/* Dark mode adjustments */
.dark-mode .fm4-author-stamp {
  background: #181d28;
  border-color: #273142;
  color: #f8fafc;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}
.dark-mode .fm4-author-stamp:hover {
  background: #202736;
  border-color: var(--fm4-primary-color, #00a2e8);
}
.dark-mode .fm4-stamp-name { color: #ffffff; }
.dark-mode .fm4-stamp-role { color: #94a3b8; }

/* ── Meta Author Chip in Article Header (FM4_META_UNIFIED_ROW_V1) ── */
.fm4-meta-author-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  min-height: 28px;
  text-decoration: none;
  color: var(--fm4-art-ink, var(--fm4-text-color));
  background: var(--fm4-meta-chip-bg, transparent);
  border: 1px solid var(--fm4-meta-chip-border, transparent);
  border-radius: var(--fm4-meta-chip-radius, var(--fm4-audio-pill-radius, 999px));
  padding: var(--fm4-meta-chip-pad, 0);
  vertical-align: middle;
  line-height: 1.2;
  box-sizing: border-box;
  transition: color 0.18s ease, border-color 0.18s ease, background-color 0.18s ease, transform 0.18s ease;
}

.fm4-meta-author-chip:hover {
  color: var(--fm4-primary-color);
}

.fm4-meta-author-frame {
  width: var(--fm4-avatar-size, 24px);
  height: var(--fm4-avatar-size, 24px);
  border-radius: 50%;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid color-mix(in srgb, var(--fm4-text-color) 18%, var(--fm4-border-color, transparent));
  background: color-mix(in srgb, var(--fm4-surface-color, var(--fm4-background-color)) 88%, var(--fm4-primary-color) 12%);
  flex-shrink: 0;
  margin: 0;
  vertical-align: middle;
}

.fm4-meta-author-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fm4-meta-author-initials {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 0.72em;
  font-weight: 800;
  line-height: 1;
  color: var(--fm4-primary-color);
}

.fm4-meta-author-label {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 1em;
  font-weight: 500;
  line-height: 1.2;
  vertical-align: middle;
}

.fm4-meta-author-label strong {
  font-weight: 750;
}

/* ════════════════════════════════════════════════════════════════════════
   FM4 Typography Polish, 2-Col Gallery & Meta Vertical Alignment
   ════════════════════════════════════════════════════════════════════════ */

/* 1. Large, confident, journalistic ingress typography across frontpage */
.fm4-news-front-card--lead p,
.fm4-news-front-card--breaking p {
  font-family: 'Source Serif 4', Georgia, serif !important;
  font-size: clamp(1.12rem, 1.55vw, 1.32rem) !important;
  line-height: 1.62 !important;
  color: var(--fm4-text-color, #1e293b);
  margin-top: 0.65rem;
  opacity: 0.94;
}

.dark-mode .fm4-news-front-card--lead p,
.dark-mode .fm4-news-front-card--breaking p {
  color: #e2e8f0;
}

/* Guardian Pairs and Uniform Tiles ingresser */
.fm4-news-front-card--guardian_pair p,
.fm4-news-front-card--tile p {
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--fm4-text-color-muted, #475569);
}

.dark-mode .fm4-news-front-card--guardian_pair p,
.dark-mode .fm4-news-front-card--tile p {
  color: #94a3b8;
}

/* 3. Two-Level Article Meta Row: Token-driven spacing, dynamic sibling separators & breakpoint visibility */
.fm4-article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--fm4-meta-gap, 0.55rem);
  font-size: var(--fm4-meta-font-size, 0.82rem);
  line-height: 1.3;
}

.fm4-article-meta[data-bld-meta-layout="inline"] {
  flex-wrap: wrap;
  row-gap: 0.45rem;
}
@media (max-width: 768px) {
  .fm4-article-meta[data-bld-meta-layout="inline"] {
    flex-wrap: wrap;
  }
}

.fm4-article-meta[data-bld-meta-layout="wrap"] {
  flex-wrap: wrap;
}

.fm4-article-meta[data-bld-meta-layout="split"] {
  flex-wrap: wrap;
}
.fm4-article-meta[data-bld-meta-layout="split"] [data-bld-meta-part="meta_audio"] {
  margin-left: auto;
}
.fm4-article-meta[data-bld-meta-layout="split"] [data-bld-meta-part="meta_audio"]::before {
  content: none !important;
  display: none !important;
}

.fm4-article-meta[data-bld-meta-chip="plain"] {
  --fm4-meta-chip-bg: transparent;
  --fm4-meta-chip-border: transparent;
  --fm4-meta-chip-pad: 0;
}
.fm4-article-meta[data-bld-meta-chip="chip"] {
  --fm4-meta-chip-bg: color-mix(in srgb, var(--fm4-surface-color, transparent) 78%, var(--fm4-text-color) 7%);
  --fm4-meta-chip-border: color-mix(in srgb, var(--fm4-border-color, var(--fm4-text-color)) 55%, transparent);
  --fm4-meta-chip-pad: 3px 10px;
}
.fm4-article-meta[data-bld-meta-chip="outline"] {
  --fm4-meta-chip-bg: transparent;
  --fm4-meta-chip-border: color-mix(in srgb, var(--fm4-text-color) 24%, var(--fm4-border-color, transparent));
  --fm4-meta-chip-pad: 3px 10px;
}

.fm4-meta-part {
  display: inline-flex;
  align-items: center;
  gap: var(--fm4-meta-gap, 0.55rem);
  min-width: 0;
  line-height: 1.3;
  vertical-align: middle;
}
.fm4-meta-part--meta_views,
.fm4-meta-part--meta_audio,
.fm4-meta-part--meta_date,
.fm4-meta-part--meta_readtime {
  flex-shrink: 0;
  white-space: nowrap;
}

.fm4-meta-part--meta_date > .fm4-article-date,
.fm4-meta-part--meta_category > .fm4-article-category,
.fm4-meta-part--meta_readtime > .fm4-meta-readtime {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--fm4-meta-chip-bg, transparent);
  border: 1px solid var(--fm4-meta-chip-border, transparent);
  border-radius: var(--fm4-meta-chip-radius, 999px);
  padding: var(--fm4-meta-chip-pad, 0);
  line-height: 1.25;
}

.fm4-meta-readtime {
  font-weight: 600;
  color: inherit;
}

.fm4-article-meta time,
.fm4-article-meta .fm4-article-category,
.fm4-article-meta .fm4-article-meta-sep {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
  line-height: 1.25;
}

@media (min-width: 1025px) {
  .fm4-meta-part[data-meta-hide-d="1"] {
    display: none !important;
  }
  .fm4-meta-part:not([data-meta-hide-d="1"]) ~ .fm4-meta-part:not([data-meta-hide-d="1"])::before {
    content: var(--fm4-meta-sep-char, "·");
    opacity: 0.45;
    font-weight: 600;
    pointer-events: none;
  }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .fm4-meta-part[data-meta-hide-t="1"] {
    display: none !important;
  }
  .fm4-meta-part:not([data-meta-hide-t="1"]) ~ .fm4-meta-part:not([data-meta-hide-t="1"])::before {
    content: var(--fm4-meta-sep-char, "·");
    opacity: 0.45;
    font-weight: 600;
    pointer-events: none;
  }
}
@media (max-width: 768px) {
  .fm4-meta-part[data-meta-hide-m="1"] {
    display: none !important;
  }
  .fm4-meta-part:not([data-meta-hide-m="1"]) ~ .fm4-meta-part:not([data-meta-hide-m="1"])::before {
    content: var(--fm4-meta-sep-char, "·");
    opacity: 0.45;
    font-weight: 600;
    pointer-events: none;
  }
}

.fm4-article-meta[data-bld-meta-sep="space"] .fm4-meta-part::before {
  content: none !important;
  display: none !important;
}

/* FM4_META_PILL_CLUSTER_SEP_V1 */
.fm4-article-meta .fm4-meta-part--meta_views + .fm4-meta-part--meta_audio::before,
.fm4-article-meta .fm4-meta-part--meta_audio + .fm4-meta-part--meta_views::before {
  content: none !important;
  display: none !important;
}
/* FM4_META_MOB_NO_ORPHAN_DOT_V1 */
@media (max-width: 768px) {
  .fm4-article-meta .fm4-meta-part--meta_author::before {
    content: none !important;
    display: none !important;
  }
}
.fm4-article-meta[data-bld-meta-chip="chip"] .fm4-meta-part > :is(.fm4-article-date, .fm4-article-category, .fm4-meta-readtime, .fm4-meta-author-chip),
.fm4-article-meta[data-bld-meta-chip="outline"] .fm4-meta-part > :is(.fm4-article-date, .fm4-article-category, .fm4-meta-readtime, .fm4-meta-author-chip) {
  min-height: 28px;
  padding: 0 11px;
  box-sizing: border-box;
}
.fm4-article-meta[data-bld-meta-chip="chip"] .fm4-meta-author-chip,
.fm4-article-meta[data-bld-meta-chip="outline"] .fm4-meta-author-chip {
  padding-left: 3px;
}

/* Ensure articles without cover photos always have dark/ink text */
.fm4-article:not(.fm4-article--has-cover) .fm4-article-headline,
.fm4-article--no-cover .fm4-article-headline,
.fm4-article--editorial:not(.fm4-article--has-cover) .fm4-article-headline,
.fm4-article--magazine:not(.fm4-article--has-cover) .fm4-article-headline,
.fm4-article--photo:not(.fm4-article--has-cover) .fm4-article-headline {
  color: var(--fm4-art-ink, #0f172a) !important;
  text-shadow: none !important;
}

.fm4-article:not(.fm4-article--has-cover) .fm4-article-summary,
.fm4-article--no-cover .fm4-article-summary,
.fm4-article--editorial:not(.fm4-article--has-cover) .fm4-article-summary,
.fm4-article--magazine:not(.fm4-article--has-cover) .fm4-article-summary,
.fm4-article--photo:not(.fm4-article--has-cover) .fm4-article-summary {
  color: var(--fm4-art-mute, #475569) !important;
}

.dark-mode .fm4-article:not(.fm4-article--has-cover) .fm4-article-headline,
.dark-mode .fm4-article--no-cover .fm4-article-headline,
.dark-mode .fm4-article--editorial:not(.fm4-article--has-cover) .fm4-article-headline,
.dark-mode .fm4-article--magazine:not(.fm4-article--has-cover) .fm4-article-headline,
.dark-mode .fm4-article--photo:not(.fm4-article--has-cover) .fm4-article-headline {
  color: #f8fafc !important;
}

.dark-mode .fm4-article:not(.fm4-article--has-cover) .fm4-article-summary,
.dark-mode .fm4-article--no-cover .fm4-article-summary,
.dark-mode .fm4-article--editorial:not(.fm4-article--has-cover) .fm4-article-summary,
.dark-mode .fm4-article--magazine:not(.fm4-article--has-cover) .fm4-article-summary,
.dark-mode .fm4-article--photo:not(.fm4-article--has-cover) .fm4-article-summary {
  color: #cbd5e1 !important;
}

/* ════════════════════════════════════════════════════════════════════════
   Article Gallery & Story Stream Responsive Layout Fixes
   ════════════════════════════════════════════════════════════════════════ */

.fm4-article-gallery,
.fm4-article-story-stream {
  width: 100% !important;
  max-width: min(calc(var(--fm4-container-width, 1180px) + 2 * var(--fm4-art-pad, 1.25rem)), 100%) !important;
  margin: clamp(2.5rem, 5vw, 4.5rem) auto !important;
  padding: 0 var(--fm4-art-pad, 1.25rem) !important;
  box-sizing: border-box !important;
}
.fm4-article-gallery.fm4-article-gallery--column,
.fm4-article-story-stream.fm4-article-gallery--column,
.fm4-article-gallery--column {
  max-width: min(calc(var(--fm4-art-measure, var(--fm4-article-measure, 42.5rem)) + 2 * var(--fm4-art-pad, 1.25rem)), 100%) !important;
  margin-inline: auto !important;
}
.fm4-article-gallery--column > .fm4-story-stream,
.fm4-article-gallery--column .fm4-story-stream > .fm4-block-wrap,
.fm4-article-gallery--column .fm4-story-stream > .fm4-story-figure,
.fm4-article-gallery--column .fm4-image-block-frame--fill-column {
  max-width: 100% !important;
  width: 100% !important;
}

.fm4-story-stream-heading,
.fm4-gallery-title {
  font-family: var(--fm4-heading-font, "Playfair Display", Georgia, serif) !important;
  font-size: clamp(1.35rem, 2.6vw, 1.85rem) !important;
  font-weight: 850 !important;
  color: var(--fm4-text-color, #0f172a) !important;
  margin: 0 0 1.5rem 0 !important;
  text-align: left !important;
  border-bottom: 2px solid var(--fm4-border-color, #e2e8f0) !important;
  padding-bottom: 0.65rem !important;
}

.fm4-story-stream {
  display: flex !important;
  flex-direction: column !important;
  gap: clamp(2rem, 4vw, 3.5rem) !important;
  width: 100% !important;
  margin: 0 auto !important;
  max-width: 900px !important;
}

.fm4-story-figure {
  margin: 0 auto !important;
  padding: 0 !important;
  border-radius: var(--fm4-image-radius, var(--fm4-global-radius, 8px)) !important;
  overflow: hidden !important;
  background: var(--fm4-surface-color, #18181c) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
  position: relative !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.fm4-story-link {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  overflow: hidden !important;
  text-decoration: none !important;
}

.fm4-story-img {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: 80vh !important;
  object-fit: cover !important;
  display: block !important;
  transition: transform 0.35s ease !important;
}

.fm4-story-figure:hover .fm4-story-img {
  transform: scale(1.015) !important;
}

.fm4-story-caption {
  padding: 0.9rem 1.2rem !important;
  font-family: var(--fm4-body-font, 'Source Serif 4', Georgia, serif) !important;
  font-size: 1.02rem !important;
  color: color-mix(in srgb, var(--fm4-text-color) 82%, transparent) !important;
  line-height: 1.55 !important;
  background: var(--fm4-surface-color) !important;
  border-top: 1px solid var(--fm4-border-color) !important;
}

.dark-mode .fm4-story-caption {
  background: var(--fm4-surface-color) !important;
  color: color-mix(in srgb, var(--fm4-text-color) 86%, transparent) !important;
  border-color: var(--fm4-border-color) !important;
}

.dark-mode .fm4-story-stream-heading,
.dark-mode .fm4-gallery-title {
  color: #f8fafc !important;
  border-color: #334155 !important;
}

.fm4-gallery-grid {
  display: grid !important;
  grid-template-columns: var(--fm4-grid-cols, repeat(auto-fit, minmax(min(100%, 300px), 1fr))) !important;
  gap: clamp(1.25rem, 2.5vw, 2rem) !important;
  align-items: stretch;
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.fm4-gallery-item {
  margin: 0 !important;
  padding: 0 !important;
  border-radius: var(--fm4-image-radius, var(--fm4-global-radius, 8px)) !important;
  overflow: hidden !important;
  position: relative !important;
  background: var(--fm4-surface-color, #18181c) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08) !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.fm4-gallery-link {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  aspect-ratio: 16/10 !important;
  overflow: hidden !important;
  text-decoration: none !important;
}

.fm4-gallery-link img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  transition: transform 0.4s cubic-bezier(0.2, 0.6, 0.2, 1) !important;
}

.fm4-gallery-link:hover img {
  transform: scale(1.03) !important;
}

/* ── Article Inline Figures & Images (EditorJS & Components) ── */
.fm4-ejs-image,
.fm4-article-figure,
figure.fm4-ejs-image,
figure.fm4-article-figure {
  margin: var(--fm4-ejs-image-gap, 32px) auto !important;
  text-align: var(--fm4-ejs-image-align, center) !important;
  width: 100%;
  max-width: var(--fm4-ejs-image-max-w, 100%);
  display: block !important;
  float: none !important;
}

.fm4-ejs-image img,
.fm4-article-figure img,
figure.fm4-ejs-image img,
figure.fm4-article-figure img {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  aspect-ratio: var(--fm4-figure-aspect, var(--fm4-ejs-image-aspect, 16/10)) !important;
  object-fit: cover !important;
  border-radius: var(--fm4-ejs-image-local-radius, var(--fm4-ejs-image-radius, var(--fm4-image-radius, var(--fm4-global-radius, 8px)))) !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08) !important;
  display: block !important;
  cursor: zoom-in !important;
  transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease !important;
}

.fm4-ejs-image.fm4-figure-radius--none,
.fm4-article-figure.fm4-figure-radius--none,
figure[data-fm4-radius="0"] {
  --fm4-ejs-image-local-radius: 0px;
}
.fm4-ejs-image.fm4-figure-radius--sm,
.fm4-article-figure.fm4-figure-radius--sm {
  --fm4-ejs-image-local-radius: 6px;
}
.fm4-ejs-image.fm4-figure-radius--md,
.fm4-article-figure.fm4-figure-radius--md {
  --fm4-ejs-image-local-radius: 12px;
}
.fm4-ejs-image.fm4-figure-radius--full,
.fm4-article-figure.fm4-figure-radius--full,
figure[data-fm4-radius="full"] {
  --fm4-ejs-image-local-radius: 9999px;
}

/* ── Uncropped Inline Logos, Emblems, SVGs & Linked Images (Zero Edge-Clipping) ── */
.fm4-ejs-image a[href] img,
.fm4-article-figure a[href] img,
.fm4-image-block a[href] img,
.fm4-logo-link img {
  cursor: pointer !important;
}

.fm4-ejs-image.fm4-figure--logo,
.fm4-article-figure.fm4-figure--logo,
figure.fm4-ejs-image[data-fm4-fit="contain"],
figure.fm4-article-figure[data-fm4-fit="contain"] {
  margin: var(--fm4-logo-margin-y, 0.85rem) 0 !important;
  text-align: var(--fm4-logo-align, left) !important;
  width: auto !important;
  max-width: 100% !important;
  display: block !important;
}

.fm4-ejs-image.fm4-figure--logo img,
.fm4-article-figure.fm4-figure--logo img,
figure.fm4-ejs-image[data-fm4-fit="contain"] img,
figure.fm4-article-figure[data-fm4-fit="contain"] img,
.fm4-ejs-image img[src$=".svg"],
.fm4-article-figure img[src$=".svg"] {
  width: auto !important;
  max-width: var(--fm4-logo-max-w, min(100%, 240px)) !important;
  max-height: var(--fm4-logo-max-h, 72px) !important;
  height: auto !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  display: inline-block !important;
  vertical-align: middle !important;
  cursor: default !important;
}

.fm4-ejs-image.fm4-figure--logo a[href] img,
.fm4-article-figure.fm4-figure--logo a[href] img,
figure[data-fm4-fit="contain"] a[href] img {
  cursor: pointer !important;
}

.fm4-logo-row,
.fm4-logo-wall__items {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: var(--fm4-logo-wall-justify, flex-start) !important;
  gap: 0.9rem 1.35rem !important;
  margin: 0.85rem 0 !important;
}

.fm4-logo-row figure.fm4-ejs-image,
.fm4-logo-row figure.fm4-article-figure,
.fm4-logo-row .fm4-figure--logo,
.fm4-logo-item {
  display: inline-flex !important;
  align-items: center !important;
  margin: 0 !important;
  width: auto !important;
  max-width: 100% !important;
}

.fm4-logo-wall__title {
  font-family: var(--fm4-heading-font);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--fm4-text-color) 70%, transparent);
  margin-bottom: 0.65rem;
}

body:not(.fm4-live-editing) .fm4-logo-wall__title:empty {
  display: none;
}

body:not(.fm4-live-editing) .fm4-ejs-image img:hover,
body:not(.fm4-live-editing) .fm4-article-figure img:hover,
body:not(.fm4-live-editing) figure.fm4-ejs-image img:hover,
body:not(.fm4-live-editing) figure.fm4-article-figure img:hover {
  filter: brightness(1.03) !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12) !important;
}

.fm4-ejs-image figcaption,
.fm4-article-figure figcaption,
figure.fm4-ejs-image figcaption,
figure.fm4-article-figure figcaption,
.fm4-article-body figcaption {
  font-size: var(--fm4-caption-size, 0.88rem) !important;
  color: var(--fm4-muted-color, var(--fm4-text-color-muted, #64748b)) !important;
  margin-top: 10px !important;
  font-style: italic !important;
  line-height: 1.4 !important;
  text-align: center !important;
  font-family: inherit !important;
}

/* Figure layout modifiers: Normal, Wide, Full Bleed (Kant till kant), Float Left, Float Right */
figure.fm4-article-figure[data-fm4-width="normal"],
figure.fm4-ejs-image[data-fm4-width="normal"],
.fm4-article-body figure[data-fm4-width="normal"] {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  float: none !important;
}
figure.fm4-article-figure.fm4-figure--normal:not([data-fm4-width]),
figure.fm4-ejs-image.fm4-figure--normal:not([data-fm4-width]),
.fm4-article-body figure.fm4-figure--normal:not([data-fm4-width]),
figure.fm4-article-figure:not([data-fm4-width]):not(.fm4-figure--wide):not(.fm4-figure--full-bleed):not(.fm4-figure--left):not(.fm4-figure--right):not(.fm4-ejs-image--stretch),
figure.fm4-ejs-image:not([data-fm4-width]):not(.fm4-figure--wide):not(.fm4-figure--full-bleed):not(.fm4-figure--left):not(.fm4-figure--right):not(.fm4-ejs-image--stretch) {
  width: 100%;
  max-width: var(--fm4-ejs-image-max-w, 100%);
  margin-left: auto !important;
  margin-right: auto !important;
  float: none !important;
}

figure.fm4-article-figure.fm4-figure--wide,
figure.fm4-ejs-image.fm4-figure--wide,
.fm4-article-body figure.fm4-figure--wide {
  width: min(100vw - 2.5rem, 960px) !important;
  max-width: min(100vw - 2.5rem, 960px) !important;
  margin-left: calc(50% - min(50vw - 1.25rem, 480px)) !important;
  margin-right: calc(50% - min(50vw - 1.25rem, 480px)) !important;
  float: none !important;
}

figure.fm4-article-figure.fm4-figure--full-bleed,
figure.fm4-ejs-image.fm4-figure--full-bleed,
.fm4-article-body figure.fm4-figure--full-bleed,
figure.fm4-ejs-image--stretch:not(.fm4-figure--normal):not(.fm4-figure--wide):not(.fm4-figure--left):not(.fm4-figure--right) {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  border-radius: 0 !important;
  float: none !important;
}

figure.fm4-article-figure.fm4-figure--full-bleed img,
figure.fm4-ejs-image.fm4-figure--full-bleed img,
.fm4-article-body figure.fm4-figure--full-bleed img,
figure.fm4-ejs-image--stretch:not(.fm4-figure--normal):not(.fm4-figure--wide):not(.fm4-figure--left):not(.fm4-figure--right) img {
  border-radius: 0 !important;
  width: 100% !important;
}

figure.fm4-article-figure.fm4-figure--left,
figure.fm4-ejs-image.fm4-figure--left,
.fm4-article-body figure.fm4-figure--left,
.fm4-article-body blockquote.fm4-figure--left,
.fm4-article-body aside.fm4-figure--left,
.fm4-article-body .fm4-article-quote.fm4-figure--left,
.fm4-article-body .fm4-quote-block.fm4-figure--left,
.fm4-article-body .fm4-ejs-quote.fm4-figure--left,
.fm4-article-body .fm4-ejs-pullquote.fm4-figure--left,
.fm4-article-body .fm4-ejs-sidebar-quote.fm4-figure--left,
.fm4-article-body .fm4-article-factbox.fm4-figure--left,
.fm4-article-body .fm4-ejs-factbox.fm4-figure--left,
.fm4-article-body .fm4-ejs-infobox.fm4-figure--left,
.fm4-editorjs-content blockquote.fm4-figure--left,
.fm4-editorjs-content aside.fm4-figure--left,
.fm4-editorjs-content .fm4-figure--left {
  display: block !important;
  float: left !important;
  width: min(48%, 380px) !important;
  max-width: min(48%, 380px) !important;
  margin: 0.15rem 2.25rem 1.25rem 0 !important;
  position: relative !important;
  z-index: 5 !important;
  pointer-events: auto !important;
}

figure.fm4-article-figure.fm4-figure--right,
figure.fm4-ejs-image.fm4-figure--right,
.fm4-article-body figure.fm4-figure--right,
.fm4-article-body blockquote.fm4-figure--right,
.fm4-article-body aside.fm4-figure--right,
.fm4-article-body .fm4-article-quote.fm4-figure--right,
.fm4-article-body .fm4-quote-block.fm4-figure--right,
.fm4-article-body .fm4-ejs-quote.fm4-figure--right,
.fm4-article-body .fm4-ejs-pullquote.fm4-figure--right,
.fm4-article-body .fm4-ejs-sidebar-quote.fm4-figure--right,
.fm4-article-body .fm4-article-factbox.fm4-figure--right,
.fm4-article-body .fm4-ejs-factbox.fm4-figure--right,
.fm4-article-body .fm4-ejs-infobox.fm4-figure--right,
.fm4-editorjs-content blockquote.fm4-figure--right,
.fm4-editorjs-content aside.fm4-figure--right,
.fm4-editorjs-content .fm4-figure--right {
  display: block !important;
  float: right !important;
  width: min(48%, 380px) !important;
  max-width: min(48%, 380px) !important;
  margin: 0.15rem 0 1.25rem 2.25rem !important;
  position: relative !important;
  z-index: 5 !important;
  pointer-events: auto !important;
}

.fm4-article-body blockquote.fm4-figure--left,
.fm4-article-body blockquote.fm4-figure--right,
.fm4-editorjs-content blockquote.fm4-figure--left,
.fm4-editorjs-content blockquote.fm4-figure--right {
  border-left: 2px solid color-mix(in srgb, var(--fm4-text-color, #18181b) 32%, transparent) !important;
  padding: var(--fm4-quote-padding-y, 0.15rem) var(--fm4-quote-padding-right, 0) var(--fm4-quote-padding-y, 0.15rem) var(--fm4-quote-padding-left, 1.15rem) !important;
  box-sizing: border-box !important;
  position: relative !important;
  z-index: 5 !important;
  pointer-events: auto !important;
  user-select: text !important;
  -webkit-user-select: text !important;
}
.fm4-article-body .fm4-ejs-quote,
.fm4-editorjs-content blockquote.fm4-ejs-quote {
  border-left: var(--fm4-ejs-quote-border-width, 2px) solid color-mix(in srgb, var(--fm4-text-color, #18181b) 32%, transparent);
  padding: var(--fm4-quote-padding-y, 0.15rem) var(--fm4-quote-padding-right, 0) var(--fm4-quote-padding-y, 0.15rem) var(--fm4-quote-padding-left, 1.15rem);
  margin-block: var(--fm4-ejs-quote-gap, 1.6em);
  border-radius: var(--fm4-ejs-quote-radius, 0);
  background: var(--fm4-ejs-quote-bg, transparent);
  font-size: var(--fm4-ejs-quote-font-size, var(--fm4-quote-size, 1.15em));
  line-height: var(--fm4-ejs-quote-line-height, var(--fm4-quote-line-height, 1.5));
  font-style: var(--fm4-ejs-quote-font-style, italic);
  color: var(--fm4-ejs-quote-color, var(--fm4-art-ink, inherit));
  box-sizing: border-box !important;
  position: relative !important;
  z-index: 5 !important;
  pointer-events: auto !important;
  user-select: text !important;
  -webkit-user-select: text !important;
}
.fm4-article-body .fm4-ejs-quote.fm4-quote--card,
.fm4-editorjs-content blockquote.fm4-ejs-quote.fm4-quote--card {
  --fm4-quote-padding-y: 1.1em;
  --fm4-quote-padding-right: 1.3em;
  --fm4-quote-padding-left: 1.3em;
  border-left: 4px solid var(--fm4-primary-color, #b4232a);
  border-radius: var(--fm4-ejs-quote-radius, var(--fm4-global-radius, 12px));
  background: var(--fm4-ejs-quote-bg, color-mix(in srgb, var(--fm4-primary-color, #b4232a) 6%, var(--fm4-surface-color, #fff)));
}
.fm4-article-body .fm4-ejs-quote.fm4-quote--minimal,
.fm4-editorjs-content blockquote.fm4-ejs-quote.fm4-quote--minimal {
  border-left: none;
  padding-left: 0;
}
.fm4-article-body .fm4-ejs-quote.fm4-quote--centered,
.fm4-editorjs-content blockquote.fm4-ejs-quote.fm4-quote--centered {
  border-left: none;
  text-align: center;
  --fm4-quote-padding-left: 0;
}

.fm4-article-body blockquote.fm4-figure--left p,
.fm4-article-body blockquote.fm4-figure--right p,
.fm4-editorjs-content blockquote.fm4-figure--left p,
.fm4-editorjs-content blockquote.fm4-figure--right p,
.fm4-article-body .fm4-ejs-quote p,
.fm4-editorjs-content blockquote.fm4-ejs-quote p,
.fm4-article-body blockquote.fm4-figure--left cite,
.fm4-article-body blockquote.fm4-figure--right cite,
.fm4-editorjs-content blockquote.fm4-figure--left cite,
.fm4-editorjs-content blockquote.fm4-figure--right cite,
.fm4-article-body .fm4-ejs-quote cite,
.fm4-editorjs-content blockquote.fm4-ejs-quote cite {
  position: relative !important;
  z-index: 6 !important;
  pointer-events: auto !important;
  user-select: text !important;
  -webkit-user-select: text !important;
}
:is(.fm4-article-body, .fm4-editorjs-content) .fm4-ejs-quote :is(p, .fm4-pq-text, .fm4-editorial-quote-text) {
  font-size: var(--fm4-ejs-quote-font-size, var(--fm4-quote-size, inherit));
  line-height: var(--fm4-ejs-quote-line-height, var(--fm4-quote-line-height, inherit));
  font-style: var(--fm4-ejs-quote-font-style, inherit);
  color: var(--fm4-ejs-quote-color, inherit);
}
:is(.fm4-article-body, .fm4-editorjs-content) .fm4-ejs-quote :is(cite, figcaption, footer, .fm4-pq-cite) {
  font-size: var(--fm4-ejs-quote-cite-size, var(--fm4-quote-cite-size, 0.85rem));
}

.fm4-article-body blockquote::before,
.fm4-article-body blockquote::after,
.fm4-editorjs-content blockquote::before,
.fm4-editorjs-content blockquote::after {
  pointer-events: none !important;
}

/* ── Dynamic Editor.js Block Type Token Consumers ── */
/* FM4_LIST_TYPOGRAPHY_PARITY_V1 */
:is(.fm4-article-body, .fm4-editorjs-content) :is(ul:not(.fm4-ejs-toc__list):not(.fm4-nav), ol:not(.fm4-ejs-timeline):not(.fm4-ejs-toc__list):not(.fm4-nav), .fm4-ejs-list) {
  margin-block: var(--fm4-ejs-list-gap, 1.25em);
  border-radius: var(--fm4-ejs-list-radius, 0);
  background: var(--fm4-ejs-list-bg, transparent);
  font-family: var(--fm4-ejs-list-font-family, var(--fm4-body-font, inherit));
  font-size: var(--fm4-ejs-list-font-size, inherit);
  line-height: var(--fm4-ejs-list-line-height, max(var(--fm4-body-line-height, 1.72), 1.3));
  font-style: var(--fm4-ejs-list-font-style, inherit);
  color: var(--fm4-ejs-list-color, inherit);
}
.fm4-article-body :is(ul:not(.fm4-ejs-toc__list):not(.fm4-nav), ol:not(.fm4-ejs-timeline):not(.fm4-ejs-toc__list):not(.fm4-nav), .fm4-ejs-list),
.fm4-article-body :is(ul:not(.fm4-ejs-toc__list):not(.fm4-nav), ol:not(.fm4-ejs-timeline):not(.fm4-ejs-toc__list):not(.fm4-nav), .fm4-ejs-list) :is(li, li span) {
  font-family: var(--fm4-ejs-list-font-family, var(--fm4-art-body, 'Source Serif 4', Georgia, serif)) !important;
}
:is(.fm4-article-body, .fm4-editorjs-content) :is(ul:not(.fm4-ejs-toc__list):not(.fm4-nav), ol:not(.fm4-ejs-timeline):not(.fm4-ejs-toc__list):not(.fm4-nav), .fm4-ejs-list) li {
  font-size: inherit;
  line-height: inherit;
  font-style: inherit;
  color: inherit;
  text-wrap: pretty;
}
:is(.fm4-article-body, .fm4-editorjs-content) .fm4-ejs-callout {
  margin-block: var(--fm4-ejs-callout-gap, 1.5rem);
  padding: var(--fm4-ejs-callout-pad, 1.15rem);
  border-left-width: var(--fm4-ejs-callout-border-width, 4px);
  border-radius: var(--fm4-ejs-callout-radius, var(--fm4-global-radius, 12px));
  background: var(--fm4-ejs-callout-bg, color-mix(in srgb, var(--fm4-surface-color, #fff) 86%, var(--fm4-primary-color, #b4232a)));
}
:is(.fm4-article-body, .fm4-editorjs-content) .fm4-ejs-callout :is(.fm4-ejs-callout__title, .fm4-callout-title) {
  font-size: var(--fm4-ejs-callout-title-size, 1.05rem);
}
:is(.fm4-article-body, .fm4-editorjs-content) .fm4-ejs-callout :is(.fm4-ejs-callout__body, .fm4-ejs-callout__body p, .fm4-callout-body, .fm4-callout-body p) {
  font-size: var(--fm4-ejs-callout-font-size, 0.96rem);
}
:is(.fm4-article-body, .fm4-editorjs-content) .fm4-ejs-factbox {
  margin-block: var(--fm4-ejs-fact-box-gap, var(--fm4-content-gap, 1.8em));
  padding: var(--fm4-ejs-fact-box-pad, 1.15rem);
  border-left-width: var(--fm4-ejs-fact-box-border-width, 3px);
  border-radius: var(--fm4-ejs-fact-box-radius, var(--fm4-global-radius, 8px));
  background: var(--fm4-ejs-fact-box-bg, color-mix(in srgb, var(--fm4-primary-color, #b4232a) 5%, transparent));
}
:is(.fm4-article-body, .fm4-editorjs-content) .fm4-ejs-factbox :is(.fm4-factbox-title, .fm4-ejs-factbox__title) {
  font-size: var(--fm4-ejs-fact-box-title-size, 0.82rem);
}
:is(.fm4-article-body, .fm4-editorjs-content) .fm4-ejs-factbox :is(.fm4-factbox-body, .fm4-factbox-body p, .fm4-ejs-factbox__body, .fm4-ejs-factbox__body p) {
  font-size: var(--fm4-ejs-fact-box-font-size, 0.96rem);
}
:is(.fm4-article-body, .fm4-editorjs-content) .fm4-ejs-infobox {
  margin-block: var(--fm4-ejs-info-box-gap, var(--fm4-content-gap, 1.6em));
  padding: var(--fm4-ejs-info-box-pad, 1.15rem);
  border-left-width: var(--fm4-ejs-info-box-border-width, 4px);
  border-radius: var(--fm4-ejs-info-box-radius, 0 var(--fm4-global-radius, 8px) var(--fm4-global-radius, 8px) 0);
  background: var(--fm4-ejs-info-box-bg, color-mix(in srgb, var(--fm4-primary-color, #b4232a) 6%, transparent));
}
:is(.fm4-article-body, .fm4-editorjs-content) .fm4-ejs-infobox :is(.fm4-infobox-title, .fm4-ejs-infobox__title) {
  font-size: var(--fm4-ejs-info-box-title-size, 0.88rem);
}
:is(.fm4-article-body, .fm4-editorjs-content) .fm4-ejs-infobox :is(.fm4-infobox-body, .fm4-infobox-body p, .fm4-ejs-infobox__body, .fm4-ejs-infobox__body p) {
  font-size: var(--fm4-ejs-info-box-font-size, 0.96rem);
}
:is(.fm4-article-body, .fm4-editorjs-content) .fm4-ejs-table-wrap {
  margin-block: var(--fm4-ejs-table-gap, 1.5rem);
  border-radius: var(--fm4-ejs-table-radius, var(--fm4-global-radius, 10px));
  background: var(--fm4-ejs-table-bg, var(--fm4-surface-color, transparent));
}
:is(.fm4-article-body, .fm4-editorjs-content) .fm4-ejs-code-wrap {
  margin-block: var(--fm4-ejs-code-gap, 1.5rem);
  border-radius: var(--fm4-ejs-code-radius, var(--fm4-global-radius, 10px));
  background: var(--fm4-ejs-code-bg, color-mix(in srgb, var(--fm4-surface-color, #fff) 88%, var(--fm4-text-color, #111)));
}
:is(.fm4-article-body, .fm4-editorjs-content) .fm4-ejs-accordion {
  margin-block: var(--fm4-ejs-accordion-gap, 1.5rem);
}
:is(.fm4-article-body, .fm4-editorjs-content) .fm4-ejs-accordion__item {
  border-radius: var(--fm4-ejs-accordion-radius, var(--fm4-global-radius, 10px));
  background: var(--fm4-ejs-accordion-bg, color-mix(in srgb, var(--fm4-surface-color, #fff) 94%, var(--fm4-primary-color, #b4232a)));
}
:is(.fm4-article-body, .fm4-editorjs-content) .fm4-ejs-timeline-wrap,
:is(.fm4-article-body, .fm4-editorjs-content) .fm4-ejs-timeline {
  margin-block: var(--fm4-ejs-timeline-gap, 1.75rem);
  border-radius: var(--fm4-ejs-timeline-radius, var(--fm4-global-radius, 12px));
  background: var(--fm4-ejs-timeline-bg, transparent);
}
:is(.fm4-article-body, .fm4-editorjs-content) .fm4-ejs-file-card {
  margin-block: var(--fm4-ejs-file-card-gap, 1.25rem);
  border-radius: var(--fm4-ejs-file-card-radius, var(--fm4-global-radius, 12px));
  background: var(--fm4-ejs-file-card-bg, color-mix(in srgb, var(--fm4-surface-color, #fff) 95%, var(--fm4-text-color, #111)));
}
:is(.fm4-article-body, .fm4-editorjs-content) .fm4-ejs-content-card {
  margin-block: var(--fm4-ejs-content-card-gap, 1.5rem);
  border-radius: var(--fm4-ejs-content-card-radius, var(--fm4-global-radius, 12px));
  background: var(--fm4-ejs-content-card-bg, var(--fm4-surface-color, #fff));
}
:is(.fm4-article-body, .fm4-editorjs-content) .fm4-ejs-before-after {
  margin-block: var(--fm4-ejs-before-after-gap, 1.75rem);
  border-radius: var(--fm4-ejs-before-after-radius, var(--fm4-global-radius, 12px));
  background: var(--fm4-ejs-before-after-bg, transparent);
}
:is(.fm4-article-body, .fm4-editorjs-content) .fm4-ejs-ba__stage {
  border-radius: var(--fm4-ejs-before-after-radius, var(--fm4-global-radius, 12px));
  aspect-ratio: var(--fm4-ejs-before-after-aspect, 16 / 10);
}
:is(.fm4-article-body, .fm4-editorjs-content) .fm4-ejs-toc {
  margin-block: var(--fm4-ejs-toc-gap, 1.5rem);
  border-radius: var(--fm4-ejs-toc-radius, var(--fm4-global-radius, 12px));
  background: var(--fm4-ejs-toc-bg, color-mix(in srgb, var(--fm4-surface-color, #fff) 92%, var(--fm4-primary-color, #b4232a)));
}
:is(.fm4-article-body, .fm4-editorjs-content) .fm4-ejs-delimiter {
  margin-block: var(--fm4-ejs-delimiter-gap, 2em);
}
:is(.fm4-article-body, .fm4-editorjs-content) .fm4-ejs-embed {
  margin-block: var(--fm4-ejs-youtube-embed-gap, 1.5rem);
  border-radius: var(--fm4-ejs-youtube-embed-radius, var(--fm4-global-radius, 12px));
  background: var(--fm4-ejs-youtube-embed-bg, transparent);
}
:is(.fm4-article-body, .fm4-editorjs-content) .fm4-ejs-embed-wrap {
  position: relative !important;
  width: 100% !important;
  height: auto !important;
  padding-bottom: 0 !important;
  aspect-ratio: var(--fm4-ejs-youtube-embed-aspect, 16 / 9);
  border-radius: var(--fm4-ejs-youtube-embed-radius, var(--fm4-global-radius, 12px));
  overflow: hidden;
  background: var(--fm4-ejs-youtube-embed-bg, color-mix(in srgb, var(--fm4-surface-color) 85%, var(--fm4-text-color)));
}
:is(.fm4-article-body, .fm4-editorjs-content) .fm4-ejs-embed-wrap > iframe,
:is(.fm4-article-body, .fm4-editorjs-content) .fm4-ejs-embed-wrap > video {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  border: 0;
}
:is(.fm4-article-body, .fm4-editorjs-content) .fm4-ejs-embed-wrap.fm4-video--4-3,
:is(.fm4-article-body, .fm4-editorjs-content) .fm4-video--4-3 .fm4-ejs-embed-wrap,
:is(.fm4-article-body, .fm4-editorjs-content) .fm4-video--4-3:not(.fm4-ejs-embed) {
  aspect-ratio: 4 / 3 !important;
}
:is(.fm4-article-body, .fm4-editorjs-content) .fm4-ejs-embed-wrap.fm4-video--9-16,
:is(.fm4-article-body, .fm4-editorjs-content) .fm4-video--9-16 .fm4-ejs-embed-wrap,
:is(.fm4-article-body, .fm4-editorjs-content) .fm4-video--9-16:not(.fm4-ejs-embed) {
  aspect-ratio: 9 / 16 !important;
  max-width: min(100%, 420px);
  margin-inline: auto;
}

@media (max-width: 768px) {
  figure.fm4-article-figure.fm4-figure--left,
  figure.fm4-ejs-image.fm4-figure--left,
  .fm4-article-body figure.fm4-figure--left,
  .fm4-article-body blockquote.fm4-figure--left,
  .fm4-article-body aside.fm4-figure--left,
  .fm4-article-body .fm4-article-quote.fm4-figure--left,
  .fm4-article-body .fm4-quote-block.fm4-figure--left,
  .fm4-article-body .fm4-ejs-quote.fm4-figure--left,
  .fm4-article-body .fm4-ejs-pullquote.fm4-figure--left,
  .fm4-article-body .fm4-ejs-sidebar-quote.fm4-figure--left,
  .fm4-article-body .fm4-article-factbox.fm4-figure--left,
  .fm4-article-body .fm4-ejs-factbox.fm4-figure--left,
  .fm4-article-body .fm4-ejs-infobox.fm4-figure--left,
  .fm4-editorjs-content blockquote.fm4-figure--left,
  .fm4-editorjs-content aside.fm4-figure--left,
  .fm4-editorjs-content .fm4-figure--left,
  figure.fm4-article-figure.fm4-figure--right,
  figure.fm4-ejs-image.fm4-figure--right,
  .fm4-article-body figure.fm4-figure--right,
  .fm4-article-body blockquote.fm4-figure--right,
  .fm4-article-body aside.fm4-figure--right,
  .fm4-article-body .fm4-article-quote.fm4-figure--right,
  .fm4-article-body .fm4-quote-block.fm4-figure--right,
  .fm4-article-body .fm4-ejs-quote.fm4-figure--right,
  .fm4-article-body .fm4-ejs-pullquote.fm4-figure--right,
  .fm4-article-body .fm4-ejs-sidebar-quote.fm4-figure--right,
  .fm4-article-body .fm4-article-factbox.fm4-figure--right,
  .fm4-article-body .fm4-ejs-factbox.fm4-figure--right,
  .fm4-article-body .fm4-ejs-infobox.fm4-figure--right,
  .fm4-editorjs-content blockquote.fm4-figure--right,
  .fm4-editorjs-content aside.fm4-figure--right,
  .fm4-editorjs-content .fm4-figure--right {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 1.5rem auto !important;
  }
}

/* ════════════════════════════════════════════════════════════════════════
   Article Pager & Continuous Reading / Next Article Stream Layout
   ════════════════════════════════════════════════════════════════════════ */
.fm4-article-pager{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin:2.5rem 0 0;padding-top:1.5rem;border-top:1px solid var(--fm4-border-color,#e2e8f0);font-family:var(--fm4-body-font,system-ui,sans-serif)}
.fm4-pager-link{display:flex;align-items:center;gap:.6rem;min-width:0;padding:.6rem .85rem;text-decoration:none;color:var(--fm4-text-color,#1e293b);border:1px solid var(--fm4-border-color,#e2e8f0);border-radius:var(--fm4-global-radius,10px);transition:border-color .15s ease,color .15s ease,background .15s ease}
.fm4-pager-link:hover{color:var(--fm4-primary-color,#e66100);border-color:var(--fm4-primary-color,#e66100);background:color-mix(in srgb,var(--fm4-primary-color,#e66100) 6%,transparent)}
.fm4-pager-link--prev{grid-column:1;justify-self:start;text-align:left}
.fm4-pager-link--next{grid-column:2;justify-self:end;text-align:right;flex-direction:row-reverse}
.fm4-pager-arrow{font-size:1.5rem;line-height:1;color:var(--fm4-primary-color,#e66100);flex:0 0 auto}
.fm4-pager-label{display:flex;flex-direction:column;gap:.15rem;min-width:0}
.fm4-pager-label small{font-size:.7rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--fm4-muted-color,#94a3b8)}
.fm4-pager-title{font-size:clamp(.95rem,2.4vw,1.1rem);font-weight:650;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.fm4-continuous-feed-trigger {
  position: relative !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center;
  width: 100% !important;
  max-width: var(--fm4-container-width, 1180px) !important;
  margin: 3.5rem auto 4.5rem auto !important;
  clear: both !important;
  z-index: 10 !important;
}
.fm4-continuous-load-btn{display:inline-flex;align-items:center;gap:.65rem;padding:.85rem 1.65rem;background:var(--fm4-surface-color,#ffffff);color:var(--fm4-text-color,#1e293b);border:1.5px solid var(--fm4-border-color,#cbd5e1);border-radius:999px;font:700 .95rem/1.2 var(--fm4-ui-font,system-ui,sans-serif);cursor:pointer;box-shadow:0 4px 14px rgba(0,0,0,.06);transition:all .2s ease}
.fm4-continuous-load-btn:hover{background:var(--fm4-primary-color,#00a2e8);color:#ffffff;border-color:var(--fm4-primary-color,#00a2e8);transform:translateY(-2px);box-shadow:0 6px 20px rgba(0,162,232,.35)}
.fm4-continuous-icon{font-size:1.15rem;line-height:1}

.fm4-continuous-article-separator {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  gap: 1.5rem !important;
  margin: 4.5rem auto 3.5rem auto !important;
  max-width: min(calc(var(--fm4-container-width, 1180px) + 2 * var(--fm4-art-pad, 1.5rem)), 100%) !important;
  padding: 0 var(--fm4-art-pad, 1.5rem) !important;
  box-sizing: border-box !important;
  clear: both !important;
  width: 100% !important;
}
.fm4-sep-line{flex:1;height:1px;background:var(--fm4-border-color,#e2e8f0)}
.fm4-sep-badge{font-size:.78rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:var(--fm4-primary-color,#00a2e8);background:color-mix(in srgb,var(--fm4-primary-color,#00a2e8) 10%,transparent);padding:6px 14px;border-radius:999px}
:root.dark-mode .fm4-continuous-load-btn,
html.dark-mode .fm4-continuous-load-btn,
[data-theme="dark"] .fm4-continuous-load-btn,
.dark-mode .fm4-continuous-load-btn{background:var(--fm4-surface-color,#1e293b);border-color:var(--fm4-border-color,#334155);color:var(--fm4-text-color,#f8fafc)}
:root.dark-mode .fm4-continuous-load-btn:hover,
html.dark-mode .fm4-continuous-load-btn:hover,
[data-theme="dark"] .fm4-continuous-load-btn:hover,
.dark-mode .fm4-continuous-load-btn:hover{background:var(--fm4-primary-color,#00a2e8);color:#ffffff}
:root.dark-mode .fm4-sep-line,
html.dark-mode .fm4-sep-line,
[data-theme="dark"] .fm4-sep-line,
.dark-mode .fm4-sep-line{background:var(--fm4-border-color,#334155)}

.fm4-article:not(.fm4-article--has-cover) .fm4-article-header,
.fm4-article--no-cover .fm4-article-header {
  position: relative !important;
  inset: auto !important;
  top: auto !important;
  bottom: auto !important;
  left: auto !important;
  right: auto !important;
  padding: var(--fm4-page-title-top-gap, clamp(2rem, 4vw, 3.5rem)) var(--fm4-art-pad, 1.5rem) 0 !important;
  max-width: min(calc(var(--fm4-art-measure, 48rem) + 2 * var(--fm4-art-pad, 1.5rem)), 100%) !important;
  box-sizing: border-box !important;
  margin: 0 auto !important;
  clear: both !important;
}

/* ── FM4 Article Audio Pill (Unified Editorial Pill Grammar — FM4_AUDIO_PILL_UNIFIED_V1) ── */
.fm4-article-audio-bar,
.fm4-audio-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 28px;
  min-height: 28px;
  padding: 0 11px;
  border-radius: var(--fm4-audio-pill-radius, var(--fm4-meta-chip-radius, 999px));
  background: var(--fm4-audio-pill-bg, color-mix(in srgb, var(--fm4-surface-color, var(--fm4-background-color)) 92%, var(--fm4-text-color) 5%));
  color: var(--fm4-audio-pill-fg, var(--fm4-art-ink, var(--fm4-text-color)));
  font-family: var(--fm4-ui-font, var(--fm4-body-font, system-ui, -apple-system, sans-serif));
  font-size: 0.92em;
  font-weight: 600;
  letter-spacing: 0.015em;
  text-transform: var(--fm4-audio-pill-transform, none);
  border: 1px solid var(--fm4-audio-pill-border, color-mix(in srgb, var(--fm4-text-color) 16%, var(--fm4-border-color, transparent)));
  vertical-align: middle;
  cursor: pointer;
  line-height: 1;
  text-decoration: none;
  box-shadow: none;
  box-sizing: border-box;
  margin: 0;
  user-select: none;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.1s ease;
}
.dark-mode .fm4-article-audio-bar,
.dark-mode .fm4-audio-badge,
[data-theme="dark"] .fm4-article-audio-bar,
[data-theme="dark"] .fm4-audio-badge {
  background: var(--fm4-audio-pill-bg, color-mix(in srgb, var(--fm4-surface-color, var(--fm4-background-color)) 84%, var(--fm4-text-color) 8%));
  border-color: var(--fm4-audio-pill-border, color-mix(in srgb, var(--fm4-text-color) 18%, transparent));
  color: var(--fm4-audio-pill-fg, var(--fm4-text-color));
}

.fm4-article-audio-bar:hover,
.fm4-audio-badge:hover,
.fm4-article-audio-bar.is-playing,
.fm4-audio-badge.is-playing {
  background: var(--fm4-audio-pill-hover-bg, var(--fm4-primary-color));
  color: var(--fm4-audio-pill-hover-fg, var(--fm4-surface-color, var(--fm4-background-color)));
  border-color: var(--fm4-audio-pill-hover-bg, var(--fm4-primary-color));
}

.fm4-article-audio-bar:hover,
.fm4-audio-badge:hover {
  transform: translateY(-1px);
}

[data-bld-audio-style="compact"] .fm4-article-audio-bar {
  padding: 2px 7px;
  gap: 4px;
  font-size: 0.88em;
}

[data-bld-audio-style="plain"] .fm4-article-audio-bar {
  background: transparent;
  border-color: transparent;
  padding: 0;
  color: inherit;
}

[data-bld-audio-style="plain"] .fm4-article-audio-bar:hover,
[data-bld-audio-style="plain"] .fm4-article-audio-bar.is-playing {
  background: transparent;
  border-color: transparent;
  color: var(--fm4-audio-pill-fg, var(--fm4-primary-color));
}

.fm4-article-audio-bar .fm4-audio-inner {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: transparent;
  border: none;
  padding: 0;
  margin: 0;
}

.fm4-article-audio-bar .fm4-audio-play-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: inherit;
  padding: 0;
  margin: 0;
  box-shadow: none;
  width: auto;
  height: auto;
  border-radius: 0;
  cursor: pointer;
}

.fm4-article-audio-bar .fm4-audio-title {
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  font-weight: 700;
  letter-spacing: inherit;
  text-transform: inherit;
  background: transparent;
  border: none;
  padding: 0;
  margin: 0;
}

.fm4-article-audio-bar .fm4-audio-duration {
  color: inherit;
  font-family: inherit;
  font-size: 0.9em;
  font-weight: 600;
  opacity: 0.85;
  background: transparent;
  border: none;
  padding: 0;
  margin: 0;
}

.fm4-article-audio-bar .fm4-audio-progress-wrap {
  display: none;
  align-items: center;
  gap: 4px;
  margin-left: 4px;
}

.fm4-article-audio-bar.is-playing .fm4-audio-progress-wrap {
  display: inline-flex !important;
}

.fm4-article-audio-bar .fm4-audio-scrub {
  width: 55px;
  height: 3px;
  accent-color: currentColor;
  cursor: pointer;
}

.fm4-article-audio-bar .fm4-audio-time-row {
  display: inline-flex;
  gap: 2px;
  font-size: 0.7rem;
  font-variant-numeric: tabular-nums;
  opacity: 0.85;
  color: inherit;
}

.fm4-article-audio-bar .fm4-audio-speed-btn {
  display: none;
  background: transparent;
  border: 1px solid currentColor;
  opacity: 0.85;
  border-radius: 3px;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0 3px;
  cursor: pointer;
  color: inherit;
  margin-left: 2px;
}

.fm4-article-audio-bar.is-playing .fm4-audio-speed-btn {
  display: inline-block !important;
}

.fm4-spin {
  animation: fm4-spin 1s linear infinite;
}


/* ── FM4 Partner & Sponsor Display System (AdBlock-Resilient & Smooth Grid Transitions) ── */
.fm4-partner-slot,
.fm4-banner-slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 1.5rem auto;
  width: 100%;
  box-sizing: border-box;
  clear: both;
}

.fm4-partner-inner,
.fm4-banner-inner {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.fm4-partner-slot--top,
.fm4-banner-slot--top {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0.5rem 0 clamp(1.25rem, 2.5vw, 2rem) 0;
}

.fm4-partner-slot--right_top,
.fm4-banner-slot--right_top,
.fm4-partner-slot--right_bottom,
.fm4-banner-slot--right_bottom {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 0 clamp(1.25rem, 2vw, 1.75rem) 0;
}

.fm4-partner-slot--mid,
.fm4-banner-slot--mid,
.fm4-partner-slot--feed,
.fm4-banner-slot--feed {
  width: 100% !important;
  max-width: 100% !important;
  margin: var(--fm4-section-gap, 3.5rem) 0;
}

.fm4-article-sponsor-wrapper {
  width: 100%;
  max-width: min(calc(var(--fm4-art-measure, 48rem) + 2 * var(--fm4-art-pad, 1rem)), 100%);
  margin: 2.5rem auto 1.5rem auto;
  padding: 0 var(--fm4-art-pad, 1rem);
  box-sizing: border-box;
  clear: both;
}

.fm4-article-top-sponsor {
  width: 100%;
  max-width: 728px;
  margin: 0.5rem auto 1.5rem auto;
  padding: 0 1rem;
  box-sizing: border-box;
}

.fm4-partner-track,
.fm4-banner-track {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
}

.fm4-partner-item,
.fm4-banner-item {
  grid-area: 1 / 1;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.fm4-partner-item--active,
.fm4-banner-item--active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.fm4-partner-link,
.fm4-banner-link {
  display: block;
  width: 100%;
  text-decoration: none;
  border-radius: var(--fm4-global-radius, 12px);
  overflow: hidden;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
  line-height: 0;
}

.fm4-partner-link:hover,
.fm4-banner-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px -6px rgba(0, 0, 0, 0.2), 0 6px 12px -4px rgba(0, 0, 0, 0.1);
}

.fm4-partner-img,
.fm4-banner-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--fm4-global-radius, 12px);
}

.fm4-partner-label,
.fm4-banner-label {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fm4-muted-color, #94a3b8);
  margin-bottom: 0.35rem;
  text-align: center;
  opacity: 0.75;
  font-weight: 600;
}



/* ════════════════════════════════════════════════════════════════════════
   FM4 Community Polish: Breaking Gap Fix, Galleries & Mest Läst
   ════════════════════════════════════════════════════════════════════════ */

/* Breaking Card Headline & Excerpt: eliminate unnatural vertical gap */
#fm4-page .fm4-news-front-card--breaking .fm4-news-front-card__text {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.65rem !important;
  justify-content: flex-start !important;
  align-items: flex-start !important;
}

#fm4-page .fm4-news-front-card--breaking .fm4-breaking-headline {
  margin: 0 !important;
  padding: 0 !important;
  font-family: var(--fm4-heading-font, "Playfair Display", Georgia, serif) !important;
  font-size: clamp(1.85rem, 3.2vw, 2.7rem) !important;
  font-weight: 850 !important;
  line-height: 1.15 !important;
  letter-spacing: -0.02em !important;
  color: var(--fm4-text-color, #0f172a) !important;
}

#fm4-page .fm4-news-front-card--breaking .fm4-breaking-headline a {
  color: inherit !important;
  text-decoration: none !important;
}

#fm4-page .fm4-news-front-card--breaking .fm4-breaking-excerpt {
  margin: 0 !important;
  padding: 0 !important;
  font-family: 'Source Serif 4', Georgia, serif !important;
  font-size: clamp(1.08rem, 1.45vw, 1.25rem) !important;
  line-height: 1.62 !important;
  color: var(--fm4-text-color, #1e293b) !important;
  opacity: 0.94 !important;
}

.dark-mode #fm4-page .fm4-news-front-card--breaking .fm4-breaking-headline {
  color: #f8fafc !important;
}

.dark-mode #fm4-page .fm4-news-front-card--breaking .fm4-breaking-excerpt {
  color: #e2e8f0 !important;
}

/* Views Badge (Unified Editorial Pill Grammar — FM4_VIEWS_PILL_UNIFIED_V1) */
.fm4-admin-views-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 28px;
  min-height: 28px;
  padding: 0 11px;
  border-radius: var(--fm4-audio-pill-radius, var(--fm4-meta-chip-radius, 999px));
  background: color-mix(in srgb, var(--fm4-surface-color, var(--fm4-background-color)) 92%, var(--fm4-text-color) 5%);
  color: var(--fm4-art-mute, color-mix(in srgb, var(--fm4-text-color) 74%, transparent));
  font-family: var(--fm4-ui-font, var(--fm4-body-font, system-ui, -apple-system, sans-serif));
  font-size: 0.92em;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1;
  border: 1px solid color-mix(in srgb, var(--fm4-text-color) 16%, var(--fm4-border-color, transparent));
  box-sizing: border-box;
  vertical-align: middle;
}
.fm4-admin-views-badge strong {
  font-weight: 650;
  color: var(--fm4-art-ink, var(--fm4-text-color));
}
.fm4-admin-views-badge svg {
  flex-shrink: 0;
  opacity: 0.72;
  display: block;
}
.dark-mode .fm4-admin-views-badge,
[data-theme="dark"] .fm4-admin-views-badge {
  background: color-mix(in srgb, var(--fm4-surface-color, var(--fm4-background-color)) 84%, var(--fm4-text-color) 8%);
  border-color: color-mix(in srgb, var(--fm4-text-color) 18%, transparent);
  color: color-mix(in srgb, var(--fm4-text-color) 76%, transparent);
}
.dark-mode .fm4-admin-views-badge strong,
[data-theme="dark"] .fm4-admin-views-badge strong {
  color: var(--fm4-text-color);
}

/* Shared Front Widget Headers */
.fm4-front-widget-header {
  margin-bottom: 0.75rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--fm4-text-color, #0f172a);
}
.dark-mode .fm4-front-widget-header {
  border-bottom-color: #f8fafc;
}
.fm4-front-widget-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-family: var(--fm4-heading-font, "Playfair Display", Georgia, serif);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--fm4-text-color, #0f172a);
  letter-spacing: -0.01em;
}
.dark-mode .fm4-front-widget-title {
  color: #f8fafc;
}

/* Frontpage Bildgallerier Widget */
.fm4-front-galleries-widget {
  margin-bottom: 1.75rem;
}
.fm4-front-galleries-list {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.fm4-front-gallery-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.fm4-front-gallery-card__media-link {
  position: relative;
  display: block;
  border-radius: var(--fm4-card-media-radius, var(--fm4-image-radius, var(--fm4-global-radius, 8px)));
  overflow: hidden;
  text-decoration: none;
  background: var(--fm4-surface-color, #f1f5f9);
}
.fm4-front-gallery-card__duo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: minmax(0, 1fr);
  gap: 4px;
  aspect-ratio: 16/9;
  background: transparent;
  overflow: hidden;
}
.fm4-front-gallery-card__duo-grid[data-photo-count="1"] {
  grid-template-columns: 1fr;
}
.fm4-front-gallery-card__duo-grid[data-photo-count="2"] {
  grid-template-columns: 1fr 1fr;
}
.fm4-front-gallery-card__duo-grid[data-photo-count="3"] {
  grid-template-columns: repeat(3, 1fr);
}
.fm4-front-gallery-card__thumb-frame {
  width: 100%;
  height: 100%;
  min-height: 0;
  min-width: 0;
  overflow: hidden;
  border-radius: clamp(0px, calc(var(--fm4-card-media-radius, var(--fm4-image-radius, var(--fm4-global-radius, 8px))) * 0.35), 6px);
}
.fm4-front-gallery-card__thumb-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  transition: transform 0.4s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.fm4-front-gallery-card__media-link:hover .fm4-front-gallery-card__thumb-frame img {
  transform: scale(1.04);
}
.fm4-front-gallery-card__badge {
  position: absolute;
  bottom: 6px;
  left: 6px;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(4px);
  color: #ffffff;
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  pointer-events: none;
}
.fm4-front-gallery-card__badge strong {
  font-weight: 750;
}
.fm4-front-gallery-card__title {
  margin: 0;
  font-family: var(--fm4-heading-font, Georgia, serif);
  font-size: 0.98rem;
  font-weight: 750;
  line-height: 1.25;
}
.fm4-front-gallery-card__title a {
  color: var(--fm4-text-color, #0f172a);
  text-decoration: none;
  transition: color 0.15s ease;
}
.fm4-front-gallery-card__title a:hover {
  color: var(--fm4-primary-color, #ea580c);
}
.dark-mode .fm4-front-gallery-card__title a {
  color: #f1f5f9;
}
.dark-mode .fm4-front-gallery-card__title a:hover {
  color: var(--fm4-accent-color, #fb923c);
}
.fm4-front-galleries-footer {
  margin-top: 0.85rem;
  text-align: right;
}
.fm4-front-more-btn {
  display: inline-block;
  background: var(--fm4-accent-color, #ea580c);
  color: #ffffff !important;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 6px;
  text-decoration: none !important;
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.fm4-front-more-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* Frontpage Mest Läst Widget */
.fm4-front-most-read {
  margin-bottom: 1.75rem;
}
.fm4-front-most-read__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.fm4-front-most-read__item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding-top: 0.55rem;
  border-top: 1px solid var(--fm4-border-color, #e2e8f0);
}
.fm4-front-most-read__item:first-child {
  border-top: none;
  padding-top: 0;
}
.fm4-front-most-read__rank {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--fm4-accent-color, #ea580c);
  line-height: 1;
  width: 1.6rem;
  text-align: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.fm4-front-most-read__content {
  flex: 1;
  min-width: 0;
}
.fm4-front-most-read__meta {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  color: var(--fm4-muted-color, #64748b);
  margin-bottom: 2px;
  text-transform: uppercase;
  font-weight: 600;
}
.fm4-front-most-read__cat {
  color: var(--fm4-primary-color, #0284c7);
  font-weight: 750;
}
.fm4-front-most-read__headline {
  margin: 0;
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.25;
}
.fm4-front-most-read__headline a {
  color: var(--fm4-text-color, #0f172a);
  text-decoration: none;
}
.fm4-front-most-read__headline a:hover {
  text-decoration: underline;
}
.dark-mode .fm4-front-most-read__headline a {
  color: #f1f5f9;
}


/* ── FM4 Frontpage Senaste Kommentarer Widget ────────────────────── */
.fm4-front-recent-comments {
  margin-bottom: 1.75rem;
}
.fm4-front-comments__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.fm4-front-comments__item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-top: 0.65rem;
  border-top: 1px solid var(--fm4-border-color, #e2e8f0);
}
.fm4-front-comments__item:first-child {
  border-top: none;
  padding-top: 0;
}
.fm4-front-comments__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
}
.fm4-front-comments__author {
  font-weight: 750;
  color: var(--fm4-accent-color, #ea580c);
}
.fm4-front-comments__time {
  font-size: 0.72rem;
  color: var(--fm4-muted-color, #64748b);
}
.fm4-front-comments__text {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.35;
  color: var(--fm4-text-color, #0f172a);
}
.fm4-front-comments__text a {
  color: inherit;
  text-decoration: none;
}
.fm4-front-comments__text a:hover {
  text-decoration: underline;
}
.dark-mode .fm4-front-comments__text {
  color: #f1f5f9;
}
.fm4-front-comments__article-link {
  font-size: 0.75rem;
  color: var(--fm4-muted-color, #64748b);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.fm4-front-comments__article-link a {
  color: var(--fm4-primary-color, #0284c7);
  text-decoration: none;
  font-weight: 600;
}
.fm4-front-comments__article-link a:hover {
  text-decoration: underline;
}

/* ── FM4 Article Comments Section ────────────────────────────────── */
.fm4-comments-section {
  margin-top: var(--fm4-section-gap, 3.5rem);
  margin-bottom: var(--fm4-section-gap, 3.5rem);
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 1rem;
}
.fm4-comments-header {
  border-bottom: 2px solid var(--fm4-border-color, #e2e8f0);
  padding-bottom: 0.75rem;
  margin-bottom: 1.75rem;
}
.fm4-comments-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0;
  font-family: var(--fm4-heading-font, sans-serif);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--fm4-text-color, #0f172a);
}
.dark-mode .fm4-comments-title {
  color: #f8fafc;
}
.fm4-comments-list {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  margin-bottom: 2.25rem;
}
.fm4-comments-empty {
  font-style: italic;
  color: var(--fm4-muted-color, #64748b);
  padding: 1.5rem;
  background: color-mix(in srgb, var(--fm4-surface-color, #ffffff) 65%, var(--fm4-background-color, #f8fafc));
  border-radius: var(--fm4-global-radius, 12px);
  border: 1px dashed var(--fm4-border-color, #e2e8f0);
  text-align: center;
}
.fm4-comment-item {
  display: flex;
  gap: 0.95rem;
  padding: 1.15rem;
  background: var(--fm4-surface-color, #ffffff);
  border: 1px solid var(--fm4-border-color, #e2e8f0);
  border-radius: var(--fm4-global-radius, 12px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.dark-mode .fm4-comment-item {
  background: color-mix(in srgb, var(--fm4-surface-color, #1e293b) 85%, #000);
  border-color: color-mix(in srgb, var(--fm4-border-color, #334155) 75%, transparent);
}
.fm4-comment-item--new {
  animation: fm4Highlight 2.5s ease-out;
}
@keyframes fm4Highlight {
  0% { background: color-mix(in srgb, var(--fm4-accent-color, #ea580c) 18%, var(--fm4-surface-color, #ffffff)); }
  100% { background: var(--fm4-surface-color, #ffffff); }
}
.fm4-comment-item__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--fm4-accent-color, #ea580c) 15%, #ffffff);
  color: var(--fm4-accent-color, #ea580c);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.05rem;
  flex-shrink: 0;
  border: 1px solid color-mix(in srgb, var(--fm4-accent-color, #ea580c) 30%, transparent);
}
.dark-mode .fm4-comment-item__avatar {
  background: color-mix(in srgb, var(--fm4-accent-color, #ea580c) 25%, #0a0a0c);
}
.fm4-comment-item__content {
  flex: 1;
  min-width: 0;
}
.fm4-comment-item__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 0.35rem;
}
.fm4-comment-item__author {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--fm4-text-color, #0f172a);
}
.dark-mode .fm4-comment-item__author {
  color: #f1f5f9;
}
.fm4-comment-item__time {
  font-size: 0.74rem;
  color: var(--fm4-muted-color, #64748b);
}
.fm4-comment-item__body {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--fm4-text-color, #334155);
  word-break: break-word;
}
.dark-mode .fm4-comment-item__body {
  color: #cbd5e1;
}

/* ── FM4 Comment Trigger Button & Box Toggle ────────────────────── */
.fm4-comment-trigger-wrap {
  text-align: center;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}
.fm4-comment-trigger-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: color-mix(in srgb, var(--fm4-surface-color, #ffffff) 85%, var(--fm4-background-color, #f8fafc));
  color: var(--fm4-text-color, #0f172a);
  border: 1.5px solid var(--fm4-border-color, #cbd5e1);
  padding: 0.75rem 1.6rem;
  font-family: var(--fm4-body-font, sans-serif);
  font-size: 0.96rem;
  font-weight: 700;
  border-radius: 9999px;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
}
.fm4-comment-trigger-btn svg {
  color: var(--fm4-accent-color, #ea580c);
}
.fm4-comment-trigger-btn:hover {
  background: var(--fm4-surface-color, #ffffff);
  border-color: var(--fm4-accent-color, #ea580c);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.dark-mode .fm4-comment-trigger-btn {
  background: color-mix(in srgb, var(--fm4-surface-color, #1e293b) 80%, #000);
  border-color: color-mix(in srgb, var(--fm4-border-color, #334155) 85%, transparent);
  color: #f1f5f9;
}
.dark-mode .fm4-comment-trigger-btn:hover {
  border-color: var(--fm4-accent-color, #ea580c);
  background: #1e293b;
}

/* ── FM4 Comment Form Box ────────────────────────────────────────── */
.fm4-comment-box {
  background: color-mix(in srgb, var(--fm4-surface-color, #ffffff) 80%, var(--fm4-background-color, #f8fafc));
  border: 1px solid var(--fm4-border-color, #e2e8f0);
  border-radius: var(--fm4-global-radius, 12px);
  padding: 1.4rem;
  margin-top: 1.5rem;
  transition: all 0.3s ease;
}
.fm4-comment-box--hidden {
  display: none !important;
}
.fm4-comment-box--animating {
  animation: fm4SlideDown 0.3s ease-out;
}
@keyframes fm4SlideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.fm4-comment-box__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.15rem;
}
.fm4-comment-box__title {
  margin: 0;
  font-family: var(--fm4-heading-font, sans-serif);
  font-size: 1.15rem;
  font-weight: 750;
  color: var(--fm4-text-color, #0f172a);
}
.dark-mode .fm4-comment-box__title {
  color: #f8fafc;
}
.fm4-comment-box__close {
  background: none;
  border: none;
  color: var(--fm4-muted-color, #64748b);
  cursor: pointer;
  padding: 4px 8px;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 4px;
  transition: color 0.15s ease, background 0.15s ease;
}
.fm4-comment-box__close:hover {
  color: var(--fm4-accent-color, #ea580c);
  background: color-mix(in srgb, var(--fm4-border-color, #cbd5e1) 30%, transparent);
}
.dark-mode .fm4-comment-box__close {
  color: #94a3b8;
}
.dark-mode .fm4-comment-box__close:hover {
  color: #f1f5f9;
}
.fm4-comment-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.fm4-comment-form__row--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 768px) {
  .fm4-comment-form__row--split {
    grid-template-columns: 1fr;
  }
}
.fm4-form-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.fm4-form-field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--fm4-text-color, #334155);
}
.dark-mode .fm4-form-field label {
  color: #cbd5e1;
}
.fm4-form-field label .required {
  color: var(--fm4-accent-color, #ea580c);
}
.fm4-form-field label .optional {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--fm4-muted-color, #64748b);
}
.fm4-form-field input,
.fm4-form-field textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 0.65rem 0.85rem;
  font-size: 0.92rem;
  font-family: var(--fm4-body-font, sans-serif);
  background: var(--fm4-surface-color, #ffffff);
  border: 1px solid var(--fm4-border-color, #cbd5e1);
  border-radius: calc(var(--fm4-global-radius, 12px) * 0.6);
  color: var(--fm4-text-color, #0f172a);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.dark-mode .fm4-form-field input,
.dark-mode .fm4-form-field textarea {
  background: #0f172a;
  border-color: #334155;
  color: #f8fafc;
}
.fm4-form-field input:focus,
.fm4-form-field textarea:focus {
  outline: none;
  border-color: var(--fm4-accent-color, #ea580c);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--fm4-accent-color, #ea580c) 25%, transparent);
}
.fm4-comment-form__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.25rem;
}
.fm4-comment-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--fm4-accent-color, #ea580c);
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 700;
  padding: 0.65rem 1.4rem;
  border: none;
  border-radius: calc(var(--fm4-global-radius, 12px) * 0.6);
  cursor: pointer;
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.fm4-comment-submit-btn:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}
.fm4-comment-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}
.fm4-comment-form__note {
  font-size: 0.78rem;
  color: var(--fm4-muted-color, #64748b);
}
.fm4-comment-alert {
  padding: 0.75rem 1rem;
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 500;
}
.fm4-comment-alert--success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}
.dark-mode .fm4-comment-alert--success {
  background: #064e3b;
  color: #a7f3d0;
  border-color: #059669;
}
.fm4-comment-alert--error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}
.dark-mode .fm4-comment-alert--error {
  background: #7f1d1d;
  color: #fecaca;
  border-color: #dc2626;
}



/* ── FM4 Upvotes / Likes (Articles & Comments) ────────────────────── */
.fm4-article-upvote-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
}
.fm4-article-upvote-btn svg {
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), fill 0.2s ease;
}
.fm4-article-upvote-btn:hover svg {
  transform: scale(1.15) translateY(-1px);
  color: var(--fm4-accent-color, #ea580c);
}
.fm4-article-upvote-btn.is-voted {
  background: color-mix(in srgb, var(--fm4-accent-color, #ea580c) 14%, var(--fm4-surface-color, #ffffff));
  color: var(--fm4-accent-color, #ea580c);
  border-color: color-mix(in srgb, var(--fm4-accent-color, #ea580c) 35%, transparent);
}
.fm4-article-upvote-btn.is-voted svg {
  fill: currentColor;
  color: var(--fm4-accent-color, #ea580c);
}
.dark-mode .fm4-article-upvote-btn.is-voted {
  background: color-mix(in srgb, var(--fm4-accent-color, #ea580c) 22%, #0a0a0c);
}

.fm4-comment-upvote-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: transparent;
  border: 1px solid var(--fm4-border-color, #e2e8f0);
  border-radius: 9999px;
  padding: 3px 9px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--fm4-muted-color, #64748b);
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1;
}
.fm4-comment-upvote-btn:hover {
  color: var(--fm4-accent-color, #ea580c);
  border-color: var(--fm4-accent-color, #ea580c);
  background: color-mix(in srgb, var(--fm4-accent-color, #ea580c) 8%, transparent);
  transform: translateY(-1px);
}
.fm4-comment-upvote-btn.is-voted {
  background: color-mix(in srgb, var(--fm4-accent-color, #ea580c) 14%, var(--fm4-surface-color, #ffffff));
  color: var(--fm4-accent-color, #ea580c);
  border-color: color-mix(in srgb, var(--fm4-accent-color, #ea580c) 40%, transparent);
  cursor: default;
}
.fm4-comment-upvote-btn.is-voted svg {
  fill: currentColor;
}
.dark-mode .fm4-comment-upvote-btn {
  border-color: color-mix(in srgb, var(--fm4-border-color, #334155) 75%, transparent);
  color: #94a3b8;
}
.dark-mode .fm4-comment-upvote-btn.is-voted {
  background: color-mix(in srgb, var(--fm4-accent-color, #ea580c) 22%, #0a0a0c);
  color: var(--fm4-accent-color, #ea580c);
}

.fm4-comment-item__author-info {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.is-animating {
  animation: fm4HeartBeat 0.35s ease-in-out;
}
@keyframes fm4HeartBeat {
  0% { transform: scale(1); }
  50% { transform: scale(1.22); }
  100% { transform: scale(1); }
}



/* ═══════════════════════════════════════════════════════════════════════

/* ═══════════════════════════════════════════════════════════════════════

/* ════════════════════════════════════════════════════════════════════════
   FM4 Balanced Broadsheet & Full-Width Feature Architecture
   ════════════════════════════════════════════════════════════════════════ */

#fm4-page .fm4-news-front__subgrid,
.fm4-news-front__subgrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.75rem, 1.5vw, 1.25rem);
  padding: 0;
  border-top: none;
  border-bottom: none;
  margin: 0;
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .fm4-news-front__subgrid {
    grid-template-columns: 1fr;
  }
}

.fm4-news-front__subgrid .fm4-news-front-card--rail {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0;
  border: none;
}

.fm4-news-front__subgrid .fm4-news-front-card--rail .fm4-news-front-card__media {
  order: 1;
  width: 100%;
  border-radius: var(--fm4-global-radius, 8px);
  overflow: hidden;
}

.fm4-news-front__subgrid .fm4-news-front-card--rail .fm4-news-front-card__media img {
  aspect-ratio: 16/10;
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.fm4-news-front__subgrid .fm4-news-front-card--rail:hover .fm4-news-front-card__media img {
  transform: scale(1.04);
}

.fm4-news-front__subgrid .fm4-news-front-card--rail .fm4-news-front-card__text {
  order: 2;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.fm4-news-front__subgrid .fm4-news-front-card--rail h3 {
  font-family: var(--fm4-heading-font, "Playfair Display", Georgia, serif) !important;
  font-size: clamp(0.95rem, 1.2vw, 1.12rem) !important;
  line-height: 1.24 !important;
  font-weight: 700 !important;
  margin: 0;
}

.fm4-news-front__subgrid .fm4-news-front-card--rail h3 a {
  color: var(--fm4-text-color, inherit);
  text-decoration: none;
}

.fm4-news-front__subgrid .fm4-news-front-card--rail h3 a:hover {
  color: var(--fm4-primary-color, #ea580c);
}

/* Full-Width Guardian 2-Column Pairs (No Ingress, Balanced Layout) */
.fm4-news-front__guardian-pairs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2.5rem);
  margin-bottom: clamp(1.25rem, 2vw, 1.85rem);
  padding-bottom: clamp(1rem, 1.75vw, 1.5rem);
  border-bottom: 1px solid var(--fm4-border-color, rgba(255, 255, 255, 0.1));
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .fm4-news-front__guardian-pairs {
    grid-template-columns: 1fr;
  }
}

.fm4-news-front__guardian-pairs .fm4-news-front-card--guardian_pair,
.fm4-news-front-card--guardian_pair {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  align-items: stretch;
  padding: 0;
  border: none;
  min-width: 0;
}

.fm4-news-front-card--guardian_pair .fm4-news-front-card__media {
  width: 100%;
  aspect-ratio: 16/10;
  border-radius: var(--fm4-global-radius, 8px);
  overflow: hidden;
}

.fm4-news-front-card--guardian_pair .fm4-news-front-card__media img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.fm4-news-front-card--guardian_pair:hover .fm4-news-front-card__media img {
  transform: scale(1.04);
}

.fm4-news-front-card--guardian_pair .fm4-news-front-card__text {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-top: 0;
  padding-top: 0.1rem;
  width: 100%;
  min-width: 0;
}

.fm4-news-front-card--guardian_pair .fm4-news-front-card__meta {
  margin-bottom: 0.15rem;
}

.fm4-news-front-card h2,
.fm4-news-front-card h3 {
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: manual;
  -webkit-hyphens: manual;
}

.fm4-news-front-card--guardian_pair h3 {
  font-family: var(--fm4-heading-font, "Playfair Display", Georgia, serif) !important;
  font-size: clamp(1.1rem, 1.45vw, 1.32rem) !important;
  line-height: 1.24 !important;
  font-weight: 700 !important;
  margin: 0;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: manual;
  -webkit-hyphens: manual;
}

.fm4-news-front-card--guardian_pair h3 a {
  color: var(--fm4-text-color, inherit);
  text-decoration: none;
}

.fm4-news-front-card--guardian_pair h3 a:hover {
  color: var(--fm4-primary-color, #ea580c);
}

/* ── FM4 Harmonized Frontpage Enhancements ── */
#fm4-page .fm4-news-front__top-duo,
.fm4-news-front__top-duo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
  margin: 0;
  padding: 0;
  border-top: none;
  width: 100%;
  box-sizing: border-box;
}

.fm4-news-front__top-duo .fm4-news-front-card--duo {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 0;
}

.fm4-news-front__top-duo .fm4-news-front-card--duo .fm4-news-front-card__media {
  display: block;
  width: 100%;
  aspect-ratio: 16/10;
  border-radius: max(6px, var(--fm4-global-radius, 8px));
  overflow: hidden;
  position: relative;
  box-shadow: 0 3px 14px rgba(0, 0, 0, 0.08);
  margin: 0;
}

.fm4-news-front__top-duo .fm4-news-front-card--duo .fm4-news-front-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.fm4-news-front__top-duo .fm4-news-front-card--duo:hover .fm4-news-front-card__media img {
  transform: scale(1.03);
}

.fm4-news-front__top-duo .fm4-news-front-card--duo h3 {
  font-family: var(--fm4-heading-font, "Playfair Display", Georgia, serif) !important;
  font-size: clamp(1.12rem, 1.35vw, 1.3rem) !important;
  font-weight: 750 !important;
  line-height: 1.25 !important;
  margin: 0.25rem 0 0;
}

.fm4-news-front__top-duo .fm4-news-front-card--duo h3 a {
  color: var(--fm4-text-color, inherit);
  text-decoration: none;
  transition: color 0.15s ease;
}

.fm4-news-front__top-duo .fm4-news-front-card--duo h3 a:hover {
  color: var(--fm4-primary-color, #ea580c);
}

@media (max-width: 768px) {
  .fm4-news-front__top-duo {
    grid-template-columns: 1fr;
  }
}

/* Full-width Section Divider & Header (Fördjupning) */
.fm4-front-section-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: clamp(1rem, 2vw, 1.5rem) 0 clamp(0.75rem, 1.5vw, 1rem);
  padding: 0;
  border-top: none;
  width: 100%;
  box-sizing: border-box;
}

.fm4-front-section-header::after {
  content: "";
  flex: 1 1 auto;
  height: 1.5px;
  background: var(--fm4-border-color, #e2e8f0);
}

.dark-mode .fm4-front-section-header::after {
  background: var(--fm4-border-color, #27272a);
}

.fm4-front-section-kicker {
  font-family: var(--fm4-heading-font, "Lato", sans-serif);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fm4-primary-color, #ea580c);
  background: color-mix(in srgb, var(--fm4-primary-color, #ea580c) 12%, transparent);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
}

.fm4-news-front__balance-duo {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--fm4-border-color, #e2e8f0);
}

/* ════════════════════════════════════════════════════════════════════════
   FM4 Redaktionell Precision: Symmetriska Spalter & Stor Lead
   ════════════════════════════════════════════════════════════════════════ */

/* Lead Headline & Lead Ingress */
#fm4-page .fm4-news-front-card--lead {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

#fm4-page .fm4-news-front-card--lead .fm4-news-front-card__text {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-top: 0.25rem;
}

#fm4-page .fm4-news-front-card--lead .fm4-news-front-card__meta {
  margin-bottom: 0.15rem;
}

#fm4-page .fm4-news-front-card--lead h2 {
  font-family: var(--fm4-heading-font, "Playfair Display", Georgia, serif) !important;
  font-size: clamp(2.25rem, 3.8vw, 3.25rem) !important;
  font-weight: 850 !important;
  line-height: 1.08 !important;
  letter-spacing: -0.022em;
  margin: 0.25rem 0 0.45rem 0;
}

#fm4-page .fm4-news-front-card--lead h2 a {
  color: var(--fm4-text-color, inherit);
  text-decoration: none;
  transition: color 0.15s ease;
}

#fm4-page .fm4-news-front-card--lead h2 a:hover {
  color: var(--fm4-primary-color, #ea580c);
}

#fm4-page .fm4-news-front-card--lead p {
  font-family: 'Source Serif 4', Georgia, serif !important;
  font-size: clamp(1.08rem, 1.4vw, 1.22rem) !important;
  line-height: 1.5 !important;
  color: var(--fm4-muted-color, #475569);
  margin: 0;
  max-width: 95ch;
  opacity: 0.95;
}

.dark-mode #fm4-page .fm4-news-front-card--lead p {
  color: var(--fm4-muted-color, #94a3b8);
}

/* ════════════════════════════════════════════════════════════════════════
   FM4 Bred Huvudström utan Vertikal Linje (Generös Bildyta)
   ════════════════════════════════════════════════════════════════════════ */

#fm4-page .fm4-news-front__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 350px);
  gap: clamp(1.5rem, 2.5vw, 2.25rem);
  align-items: start;
  width: 100%;
  box-sizing: border-box;
}

#fm4-page .fm4-news-front__main-col {
  display: flex;
  flex-direction: column;
  gap: clamp(1.25rem, 2vw, 1.65rem);
  padding-right: 0;
  box-sizing: border-box;
  min-width: 0;
  width: 100%;
}

#fm4-page .fm4-news-front__rail {
  border-left: none;
  padding-left: 0;
  box-sizing: border-box;
  min-width: 0;
}

@media (max-width: 768px) {
  #fm4-page .fm4-news-front__top {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
  }
  #fm4-page .fm4-news-front__main-col {
    padding-right: 0;
  }
  #fm4-page .fm4-news-front__rail {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid var(--fm4-border-color, #e2e8f0);
    padding-top: 1.5rem;
    margin-top: 1.5rem;
  }
}

#fm4-page .fm4-news-front__sensation-package {
  margin: 0;
  padding: 0;
  border-top: none;
  border-bottom: none;
  width: 100%;
  box-sizing: border-box;
}

/* ── Editorial Utility Ribbon (Masthead Top Bar) ────────────────────────── */
.fm4-utility-ribbon {
  width: 100%;
  border-bottom: 1px solid var(--fm4-border-color, rgba(0, 0, 0, .08));
  background: color-mix(in srgb, var(--fm4-surface-color, #fff) 88%, var(--fm4-background-color, #f8fafc));
  color: var(--fm4-text-color, #111827);
  font-family: var(--fm4-body-font, system-ui, -apple-system, sans-serif);
  font-size: 0.74rem;
  line-height: 1.35;
  letter-spacing: 0.01em;
}
.fm4-utility-ribbon__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  max-width: var(--fm4-container-width, 1400px);
  margin: 0 auto;
  padding: 0.28rem 1rem;
  flex-wrap: nowrap;
}
.fm4-utility-ribbon__left,
.fm4-utility-ribbon__right {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  white-space: nowrap;
}
.fm4-utility-ribbon__left {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fm4-utility-ribbon__right {
  flex-shrink: 0;
}
.fm4-utility-item {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}
.fm4-utility-label,
.fm4-utility-dim {
  color: color-mix(in srgb, var(--fm4-text-color, #111827) 62%, transparent);
}
.fm4-utility-sep {
  margin: 0 0.4rem;
  color: color-mix(in srgb, var(--fm4-text-color, #111827) 28%, transparent);
  user-select: none;
}
.fm4-utility-item--church {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease;
}
.fm4-utility-item--church:hover {
  color: var(--fm4-primary-color, #2563eb);
}
.fm4-church-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12);
}
.fm4-church-title {
  font-weight: 550;
}
.fm4-church-theme em {
  font-style: italic;
  color: color-mix(in srgb, var(--fm4-text-color, #111827) 80%, transparent);
}
.fm4-utility-symbol {
  font-size: 0.85em;
  line-height: 1;
}
.fm4-spot--low strong {
  color: #16a34a;
}
.fm4-spot--normal strong {
  color: inherit;
}
.fm4-spot--high strong {
  color: #ea580c;
}
.fm4-spot-unit {
  font-size: 0.88em;
  font-weight: 500;
  color: color-mix(in srgb, var(--fm4-text-color, #111827) 68%, transparent);
}
.fm4-utility-date-short,
.fm4-utility-label-short,
.fm4-church-title-short {
  display: none;
}
@media (max-width: 900px) {
  .fm4-church-theme {
    display: none;
  }
}
@media (max-width: 768px) {
  .fm4-utility-ribbon__inner {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    white-space: nowrap;
    justify-content: flex-start !important;
    gap: 0.35rem;
    padding: 0.25rem 0.75rem;
  }
  .fm4-utility-ribbon__inner::-webkit-scrollbar {
    display: none;
  }
  .fm4-utility-ribbon__left {
    overflow: visible !important;
    text-overflow: unset !important;
    min-width: max-content;
  }
  .fm4-utility-ribbon__right {
    min-width: max-content;
  }
  .fm4-utility-date-full,
  .fm4-utility-label-full,
  .fm4-church-title-full {
    display: none;
  }
  .fm4-utility-date-short,
  .fm4-utility-label-short,
  .fm4-church-title-short {
    display: inline;
  }
  .fm4-weather-city {
    display: none;
  }
  .fm4-utility-sep {
    margin: 0 0.25rem;
  }
}

/* ── FM4 Header Tools & Pill Language Switcher ─────────────────────────── */
.fm4-header-tools {
  display: inline-flex !important;
  align-items: center !important;
  gap: clamp(0.4rem, 1vw, 0.75rem) !important;
  flex-shrink: 0 !important;
  margin-left: auto !important;
}

.fm4-header-lang-switch {
  display: inline-flex !important;
  align-items: center !important;
  gap: 2px !important;
  background: color-mix(in srgb, var(--fm4-text-color, #000) 5%, transparent) !important;
  border: 1px solid var(--fm4-border-color, rgba(0, 0, 0, 0.08)) !important;
  border-radius: 999px !important;
  padding: 3px 4px !important;
  margin: 0 !important;
  vertical-align: middle !important;
  line-height: 1 !important;
}

:root.dark-mode .fm4-header-lang-switch,
html.dark-mode .fm4-header-lang-switch,
[data-theme="dark"] .fm4-header-lang-switch {
  background: color-mix(in srgb, var(--fm4-text-color, #fff) 8%, transparent) !important;
  border-color: color-mix(in srgb, var(--fm4-border-color, #fff) 12%, transparent) !important;
}

.fm4-header-lang-switch a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: color-mix(in srgb, var(--fm4-text-color, #1e293b) 65%, transparent) !important;
  text-decoration: none !important;
  padding: 3px 7px !important;
  border-radius: 999px !important;
  font-size: 0.74rem !important;
  font-weight: 750 !important;
  line-height: 1 !important;
  letter-spacing: 0.03em !important;
  transition: all 0.15s ease !important;
}

:root.dark-mode .fm4-header-lang-switch a,
html.dark-mode .fm4-header-lang-switch a,
[data-theme="dark"] .fm4-header-lang-switch a {
  color: color-mix(in srgb, var(--fm4-text-color, #fff) 65%, transparent) !important;
}

.fm4-header-lang-switch a:hover {
  color: var(--fm4-text-color, #0f172a) !important;
  background: color-mix(in srgb, var(--fm4-text-color, #000) 6%, transparent) !important;
  text-decoration: none !important;
}

:root.dark-mode .fm4-header-lang-switch a:hover,
html.dark-mode .fm4-header-lang-switch a:hover,
[data-theme="dark"] .fm4-header-lang-switch a:hover {
  color: #ffffff !important;
  background: color-mix(in srgb, var(--fm4-text-color, #fff) 12%, transparent) !important;
  text-decoration: none !important;
}

.fm4-header-lang-switch a.is-active {
  background: var(--fm4-primary-color, #ea580c) !important;
  color: #ffffff !important;
  box-shadow: 0 1px 4px color-mix(in srgb, var(--fm4-primary-color, #ea580c) 35%, transparent) !important;
  text-decoration: none !important;
  cursor: default !important;
}


/* FM4 Form Choice & Checkbox/Radio Polish */
.fm4-public-form .fm4-form-field > label:not(.fm4-form-choice):not(.fm4-form-field--checkbox),
.fm4-public-form .fm4-form-field:not(.fm4-form-field--checkbox) > label {
  display: block;
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  color: var(--fm4-text-color);
  margin-bottom: 0.4rem;
}
.fm4-public-form .fm4-form-choice-list,
.fm4-form-choice-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 0.85rem;
  margin-top: 0.35rem;
  margin-bottom: 0.5rem;
}
.fm4-public-form .fm4-form-choice,
.fm4-form-choice {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 2.5rem;
  padding: 0.5rem 0.95rem;
  margin: 0;
  border: 1px solid var(--fm4-border-color, #e5e7eb);
  border-radius: min(var(--fm4-global-radius, 8px), 8px);
  background: var(--fm4-surface-color, #ffffff);
  color: var(--fm4-text-color, #111827);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.35;
  cursor: pointer;
  user-select: none;
  box-sizing: border-box;
  transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
}
.fm4-public-form .fm4-form-choice:hover,
.fm4-form-choice:hover {
  border-color: var(--fm4-primary-color, #ea580c);
  background: color-mix(in srgb, var(--fm4-surface-color, #ffffff) 93%, var(--fm4-primary-color, #ea580c));
}
.fm4-public-form .fm4-form-choice:has(input:checked),
.fm4-form-choice:has(input:checked),
.fm4-public-form .fm4-form-choice.is-checked,
.fm4-form-choice.is-checked {
  border-color: var(--fm4-primary-color, #ea580c);
  background: color-mix(in srgb, var(--fm4-primary-color, #ea580c) 12%, var(--fm4-surface-color, #ffffff));
  color: var(--fm4-text-color, #111827);
  font-weight: 600;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--fm4-primary-color, #ea580c) 35%, transparent);
}
.fm4-public-form .fm4-form-choice input,
.fm4-form-choice input {
  appearance: auto;
  -webkit-appearance: auto;
  width: 1.15rem !important;
  height: 1.15rem !important;
  min-width: 1.15rem;
  min-height: 1.15rem !important;
  margin: 0 0.55rem 0 0 !important;
  padding: 0 !important;
  flex-shrink: 0;
  cursor: pointer;
  accent-color: var(--fm4-primary-color, #ea580c);
  vertical-align: middle;
}
.fm4-public-form .fm4-form-choice span,
.fm4-form-choice span {
  display: inline-block;
  line-height: 1.35;
  margin: 0;
  padding: 0;
}
.fm4-public-form .fm4-form-field--checkbox,
.fm4-form-field--checkbox {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--fm4-text-color, #111827);
  cursor: pointer;
  user-select: none;
  margin-bottom: 0;
}
.fm4-public-form .fm4-form-field--checkbox input,
.fm4-form-field--checkbox input {
  appearance: auto;
  -webkit-appearance: auto;
  width: 1.15rem !important;
  height: 1.15rem !important;
  min-width: 1.15rem;
  min-height: 1.15rem !important;
  margin: 0 0.55rem 0 0 !important;
  padding: 0 !important;
  flex-shrink: 0;
  cursor: pointer;
  accent-color: var(--fm4-primary-color, #ea580c);
  vertical-align: middle;
}
.fm4-public-form .fm4-form-field--checkbox span,
.fm4-form-field--checkbox span {
  display: inline-block;
  line-height: 1.35;
}
.fm4-public-form .fm4-form-choice input:focus-visible,
.fm4-form-choice input:focus-visible,
.fm4-public-form .fm4-form-field--checkbox input:focus-visible,
.fm4-form-field--checkbox input:focus-visible {
  outline: 2px solid var(--fm4-primary-color, #ea580c);
  outline-offset: 2px;
}


/* ════════════════════════════════════════════════════════════════════════
   FM4 Broadsheet Feature Showcase & Fallback Media Architecture
   ════════════════════════════════════════════════════════════════════════ */

/* 1. Feature Showcase (Fördjupning & Reportage): Integrated 2-column layout */
.fm4-news-front__feature-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 3.5vw, 2.75rem);
  align-items: start;
  width: 100%;
  box-sizing: border-box;
  margin-bottom: clamp(1.25rem, 2vw, 1.85rem);
  padding-bottom: clamp(1rem, 1.75vw, 1.5rem);
  border-bottom: 1px solid var(--fm4-border-color, rgba(255, 255, 255, 0.1));
}

@media (max-width: 768px) {
  .fm4-news-front__feature-showcase {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}

.fm4-news-front__feature-main {
  min-width: 0;
}

.fm4-news-front__feature-main .fm4-news-front-card--lead {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0;
  border: none;
}

.fm4-news-front__feature-main .fm4-news-front-card--lead .fm4-news-front-card__media {
  width: 100%;
  border-radius: var(--fm4-global-radius, 8px);
  overflow: hidden;
}

.fm4-news-front__feature-main .fm4-news-front-card--lead .fm4-news-front-card__media img {
  aspect-ratio: 16/10;
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.fm4-news-front__feature-main .fm4-news-front-card--lead:hover .fm4-news-front-card__media img {
  transform: scale(1.025);
}

.fm4-news-front__feature-main .fm4-news-front-card--lead h2 {
  font-family: var(--fm4-heading-font, "Playfair Display", Georgia, serif) !important;
  font-size: clamp(1.55rem, 2.5vw, 2.15rem) !important;
  font-weight: 800 !important;
  line-height: 1.18 !important;
  text-wrap: balance;
  color: var(--fm4-text-color, #0f172a);
  margin: 0;
}

.fm4-news-front__feature-main .fm4-news-front-card--lead h2 a {
  color: inherit;
  text-decoration: none;
}

.fm4-news-front__feature-main .fm4-news-front-card--lead h2 a:hover {
  color: var(--fm4-primary-color, #ea580c);
}

.fm4-news-front__feature-main .fm4-news-front-card--lead p {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: clamp(1.02rem, 1.25vw, 1.15rem);
  line-height: 1.6;
  color: color-mix(in srgb, var(--fm4-text-color, #0f172a) 85%, var(--fm4-muted-color, #64748b));
  margin: 0;
}

.dark-mode .fm4-news-front__feature-main .fm4-news-front-card--lead h2 {
  color: #f8fafc;
}
.dark-mode .fm4-news-front__feature-main .fm4-news-front-card--lead p {
  color: #cbd5e1;
}

.fm4-news-front__feature-companions {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  min-width: 0;
}

.fm4-news-front__feature-companions .fm4-news-front-card--guardian_pair {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 0.85rem;
  align-items: start;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid var(--fm4-border-color, rgba(255, 255, 255, 0.08));
  margin: 0;
}

.fm4-news-front__feature-companions .fm4-news-front-card--guardian_pair h3 {
  font-size: clamp(0.96rem, 1.15vw, 1.12rem) !important;
  line-height: 1.24 !important;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: manual;
  -webkit-hyphens: manual;
}

.fm4-news-front__feature-companions .fm4-news-front-card--guardian_pair:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

@media (max-width: 540px) {
  .fm4-news-front__feature-companions .fm4-news-front-card--guardian_pair {
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 0.75rem;
  }
}

.fm4-news-front__feature-companions .fm4-news-front-card--guardian_pair .fm4-news-front-card__media {
  aspect-ratio: 16/11;
  border-radius: var(--fm4-global-radius, 6px);
  overflow: hidden;
}

/* 2. Fallback Media Plate for Card Grids (ensures seamless vertical baseline) */
.fm4-news-front-card__media--fallback {
  display: block;
  width: 100%;
  border-radius: var(--fm4-global-radius, 8px);
  overflow: hidden;
  text-decoration: none;
  background-color: color-mix(in srgb, var(--fm4-surface-color, #ffffff) 88%, var(--fm4-border-color, #cbd5e1));
  border: 1px solid var(--fm4-border-color, rgba(0, 0, 0, 0.08));
  box-sizing: border-box;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.fm4-editorial-media-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--fm4-primary-color, #ea580c) 8%, transparent), transparent 70%);
}

.fm4-editorial-fallback-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.75rem;
  text-align: center;
  color: var(--fm4-muted-color, #64748b);
  transition: transform 0.25s ease, color 0.25s ease;
}

.fm4-fallback-media-icon {
  display: block;
  width: 26px;
  height: 26px;
  opacity: 0.8;
}

.fm4-editorial-fallback-label {
  font-family: var(--fm4-heading-font, "Playfair Display", Georgia, serif);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0.85;
  max-width: 90%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fm4-news-front-card:hover .fm4-news-front-card__media--fallback {
  border-color: var(--fm4-primary-color, #ea580c);
  box-shadow: 0 4px 12px color-mix(in srgb, var(--fm4-primary-color, #ea580c) 12%, transparent);
}

.fm4-news-front-card:hover .fm4-editorial-fallback-inner {
  transform: scale(1.05);
  color: var(--fm4-primary-color, #ea580c);
}

.dark-mode .fm4-news-front-card__media--fallback {
  background-color: color-mix(in srgb, var(--fm4-surface-color, #18181b) 75%, #000000);
  border-color: var(--fm4-border-color, rgba(255, 255, 255, 0.1));
}

.dark-mode .fm4-editorial-fallback-inner {
  color: color-mix(in srgb, var(--fm4-text-color, #f8fafc) 60%, var(--fm4-muted-color, #94a3b8));
}

/* ── Broadsheet Editorial Text-Lead (Articles without cover image) ──────── */
#fm4-page .fm4-news-front-card--text-lead {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: clamp(1.15rem, 2.2vw, 1.5rem) clamp(1.25rem, 2.5vw, 1.75rem);
  height: auto;
  align-self: start;
  background-color: var(--fm4-surface-color, #ffffff);
  border: 1px solid var(--fm4-border-color, rgba(0, 0, 0, 0.08));
  border-top: 4px solid var(--fm4-primary-color, #ea580c);
  border-radius: var(--fm4-global-radius, 8px);
  box-sizing: border-box;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#fm4-page .fm4-news-front-card--text-lead:hover {
  border-color: color-mix(in srgb, var(--fm4-primary-color, #ea580c) 35%, var(--fm4-border-color, rgba(0, 0, 0, 0.08)));
  box-shadow: 0 4px 20px color-mix(in srgb, var(--fm4-primary-color, #ea580c) 8%, transparent);
}

#fm4-page .fm4-news-front-card--text-lead .fm4-news-front-card__text {
  gap: 0.65rem;
  margin-top: 0;
}

#fm4-page .fm4-news-front-card--text-lead .fm4-text-lead__title {
  font-family: var(--fm4-heading-font, "Playfair Display", Georgia, serif) !important;
  font-size: clamp(2.2rem, 4vw, 3.25rem) !important;
  font-weight: 850 !important;
  line-height: 1.08 !important;
  letter-spacing: -0.022em;
  margin: 0.2rem 0 0.5rem 0;
  text-wrap: balance;
}

#fm4-page .fm4-news-front-card--text-lead .fm4-text-lead__title a {
  color: var(--fm4-text-color, inherit);
  text-decoration: none;
  transition: color 0.15s ease;
}

#fm4-page .fm4-news-front-card--text-lead .fm4-text-lead__title a:hover {
  color: var(--fm4-primary-color, #ea580c);
}

#fm4-page .fm4-news-front-card--text-lead .fm4-text-lead__excerpt {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: clamp(1.1rem, 1.4vw, 1.24rem);
  line-height: 1.62;
  color: var(--fm4-muted-color, #475569);
  margin: 0;
  max-width: 82ch;
}

.dark-mode #fm4-page .fm4-news-front-card--text-lead {
  background-color: var(--fm4-surface-color, #18181b);
  border-color: var(--fm4-border-color, rgba(255, 255, 255, 0.1));
  border-top-color: var(--fm4-primary-color, #ea580c);
}

.dark-mode #fm4-page .fm4-news-front-card--text-lead .fm4-text-lead__excerpt {
  color: var(--fm4-muted-color, #94a3b8);
}

/* Feature split collapses gracefully when no photo */
#fm4-page .fm4-news-front-card--feature_split.fm4-news-front-card--no-media {
  grid-template-columns: 1fr;
}

/* ── In-place editing ergonomics: disable drop caps while typing ─────── */
[contenteditable]::first-letter,
body.fm4-live-editing .fm4-article-body p:first-of-type::first-letter,
.fm4-field-editing::first-letter {
  float: none !important;
  font-size: inherit !important;
  line-height: inherit !important;
  font-family: inherit !important;
}

/* ── Mobile Ergonomics, Touch Targets & Small Screen Adaptations ───────── */
@media (max-width: 768px){
  .fm4-nav-link{min-height:44px!important;display:flex!important;align-items:center!important}
  .fm4-nav-toggle{min-width:44px!important;min-height:44px!important}
}
@media (max-width: 768px){
  .fm4-card-grid,
  .fm4-card-grid-items,
  .fm4-grid--cols-2,
  .fm4-grid--cols-3,
  .fm4-grid--cols-4 {
    grid-template-columns: 1fr !important;
  }
}

/* ── Mobile Ergonomics, Typography & Responsive Grid Adaptations ───────── */
@media (max-width: 768px) {
  html, body {
    overflow-x: clip !important;
  }
  h2, h3, .intro-title, .fm4-section-title {
    overflow-wrap: break-word !important;
    word-break: normal !important;
    hyphens: manual !important;
    -webkit-hyphens: manual !important;
    text-wrap: pretty !important;
  }
  h1, .fm4-article-headline {
    text-wrap: var(--fm4-headline-wrap, wrap) !important;
    hyphens: var(--fm4-headline-hyphens, none) !important;
    -webkit-hyphens: var(--fm4-headline-hyphens, none) !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
  }
  .intro-title {
    font-size: clamp(1.75rem, 5.5vw, 2.8rem) !important;
  }
  .fm4-service-cards-grid {
    grid-template-columns: 1fr !important;
    gap: 1.15rem !important;
  }
  .fm4-cyber-stats-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 0.75rem !important;
  }
  .fm4-blockchain-models > div:nth-child(2) {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }
  .fm4-references-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.75rem !important;
  }
  .fm4-service-card, .fm4-contact-card {
    padding: 1.35rem 1.25rem !important;
  }
}
@media (max-width: 480px) {
  .fm4-cyber-stats-grid {
    grid-template-columns: 1fr !important;
  }
  .fm4-header-inner {
    padding: 0.5rem 0.75rem !important;
    gap: 0.4rem !important;
  }
  .fm4-site-brand-logo {
    max-height: 28px !important;
    max-width: 120px !important;
  }
  .fm4-header-tools {
    gap: 4px !important;
  }
  .fm4-header-lang-switch {
    padding: 2px 3px !important;
    margin: 0 !important;
  }
  .fm4-header-lang-switch a {
    padding: 2px 5px !important;
    font-size: 10px !important;
  }
  .fm4-theme-toggle {
    width: 32px !important;
    height: 32px !important;
  }
  .fm4-nav-toggle {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    min-height: 34px !important;
  }
}

/* ── FM4 Drafts Hub Modal & Controls ────────────────────────────── */
.fm4-drafts-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 16px;
  box-sizing: border-box;
  opacity: 1;
  transition: opacity 0.15s ease;
}
.fm4-drafts-backdrop.fm4-dh-closing {
  opacity: 0;
}
.fm4-drafts-modal {
  position: relative;
  background: var(--fm4-surface-color, #18181b);
  color: var(--fm4-text-color, #f8fafc);
  border: 1px solid var(--fm4-border-color, rgba(255, 255, 255, 0.14));
  border-radius: var(--fm4-global-radius, 14px);
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.08);
  width: min(780px, calc(100vw - 32px));
  max-height: min(88vh, 780px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  font-family: var(--fm4-body-font, Inter, system-ui, sans-serif);
  animation: fm4DhFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}
@keyframes fm4DhFadeIn {
  from { opacity: 0; transform: scale(0.96) translateY(6px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.fm4-dh-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
  background: color-mix(in srgb, var(--fm4-surface-color, #18181b) 85%, #000);
  border-bottom: 1px solid var(--fm4-border-color, rgba(255, 255, 255, 0.12));
  flex-shrink: 0;
  box-sizing: border-box;
}
.fm4-dh-title-group {
  display: flex;
  align-items: center;
  gap: 10px;
}
.fm4-dh-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--fm4-primary-color, #ea580c);
}
.fm4-dh-title {
  margin: 0;
  font-size: 15px;
  font-weight: 750;
  letter-spacing: -0.01em;
  color: var(--fm4-text-color, #f8fafc);
  font-family: var(--fm4-heading-font, inherit);
}
.fm4-dh-count-pill {
  font-size: 11px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--fm4-primary-color, #ea580c) 18%, transparent);
  color: var(--fm4-primary-color, #ea580c);
  border: 1px solid color-mix(in srgb, var(--fm4-primary-color, #ea580c) 35%, transparent);
}
.fm4-dh-admin-toggle {
  display: inline-flex;
  padding: 3px;
  background: rgba(0, 0, 0, 0.28);
  border-radius: 8px;
  border: 1px solid var(--fm4-border-color, rgba(255, 255, 255, 0.1));
  gap: 2px;
}
.fm4-dh-toggle-btn {
  border: none;
  background: transparent;
  color: color-mix(in srgb, var(--fm4-text-color, #f8fafc) 65%, transparent);
  font: 600 11.5px/1.2 var(--fm4-body-font, Inter, system-ui, sans-serif);
  padding: 5px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.fm4-dh-toggle-btn:hover {
  color: var(--fm4-text-color, #f8fafc);
  background: rgba(255, 255, 255, 0.05);
}
.fm4-dh-toggle-btn.is-active {
  background: var(--fm4-primary-color, #ea580c);
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}
.fm4-dh-close-btn {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 1px solid var(--fm4-border-color, rgba(255, 255, 255, 0.14));
  background: rgba(255, 255, 255, 0.06);
  color: color-mix(in srgb, var(--fm4-text-color, #f8fafc) 80%, transparent);
  font: 700 15px/1 var(--fm4-body-font, Inter, system-ui, sans-serif);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}
.fm4-dh-close-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  color: var(--fm4-text-color, #f8fafc);
}
.fm4-dh-body {
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 22px;
  box-sizing: border-box;
}
.fm4-dh-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.fm4-dh-section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 4px;
  border-bottom: 1px solid color-mix(in srgb, var(--fm4-border-color, rgba(255, 255, 255, 0.1)) 60%, transparent);
}
.fm4-dh-section-label {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--fm4-primary-color, #ea580c);
}
.fm4-dh-section-sub {
  font-size: 11.5px;
  color: color-mix(in srgb, var(--fm4-text-color, #f8fafc) 50%, transparent);
}
.fm4-dh-recent-grid {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.fm4-dh-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--fm4-global-radius, 10px);
  background: color-mix(in srgb, var(--fm4-surface-color, #18181b) 92%, #000);
  border: 1px solid var(--fm4-border-color, rgba(255, 255, 255, 0.1));
  transition: all 0.15s ease;
  position: relative;
  box-sizing: border-box;
}
.fm4-dh-card:hover {
  background: color-mix(in srgb, var(--fm4-surface-color, #18181b) 80%, #fff 2%);
  border-color: color-mix(in srgb, var(--fm4-primary-color, #ea580c) 35%, var(--fm4-border-color, rgba(255, 255, 255, 0.1)));
  transform: translateY(-1px);
}
.fm4-dh-card-main {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 0;
}
.fm4-dh-card-top {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
}
.fm4-dh-mod-pill {
  font-weight: 750;
  text-transform: uppercase;
  font-size: 9.5px;
  letter-spacing: 0.03em;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--fm4-text-color, #f8fafc);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.fm4-dh-mod-news {
  background: color-mix(in srgb, #3b82f6 20%, transparent);
  color: #60a5fa;
  border-color: color-mix(in srgb, #3b82f6 35%, transparent);
}
.fm4-dh-mod-pages {
  background: color-mix(in srgb, #10b981 20%, transparent);
  color: #34d399;
  border-color: color-mix(in srgb, #10b981 35%, transparent);
}
.fm4-dh-mod-gallery {
  background: color-mix(in srgb, #a855f7 20%, transparent);
  color: #c084fc;
  border-color: color-mix(in srgb, #a855f7 35%, transparent);
}
.fm4-dh-mod-forms {
  background: color-mix(in srgb, #f59e0b 20%, transparent);
  color: #fbbf24;
  border-color: color-mix(in srgb, #f59e0b 35%, transparent);
}
.fm4-dh-card-author {
  color: color-mix(in srgb, var(--fm4-text-color, #f8fafc) 65%, transparent);
}
.fm4-dh-card-time {
  color: color-mix(in srgb, var(--fm4-text-color, #f8fafc) 45%, transparent);
}
.fm4-dh-card-title {
  color: var(--fm4-text-color, #f8fafc);
  font-size: 13.5px;
  font-weight: 650;
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 0.15s ease;
}
.fm4-dh-card-title:hover {
  color: var(--fm4-primary-color, #ea580c);
}
.fm4-dh-card-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.fm4-dh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 6px 11px;
  border-radius: 7px;
  font: 600 12px/1 var(--fm4-body-font, Inter, system-ui, sans-serif);
  border: 1px solid var(--fm4-border-color, rgba(255, 255, 255, 0.14));
  background: rgba(255, 255, 255, 0.06);
  color: var(--fm4-text-color, #f8fafc);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s ease;
}
.fm4-dh-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}
.fm4-dh-btn-edit {
  background: color-mix(in srgb, var(--fm4-primary-color, #ea580c) 16%, transparent);
  border-color: color-mix(in srgb, var(--fm4-primary-color, #ea580c) 35%, transparent);
  color: var(--fm4-primary-color, #ea580c);
}
.fm4-dh-btn-edit:hover {
  background: var(--fm4-primary-color, #ea580c);
  color: #ffffff;
}
.fm4-dh-btn-delete {
  padding: 6px 8px;
  color: color-mix(in srgb, var(--fm4-text-color, #f8fafc) 50%, transparent);
}
.fm4-dh-btn-delete:hover {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.35);
  color: #f87171;
}
.fm4-dh-confirm-box {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  padding: 2px 0;
}
.fm4-dh-confirm-msg {
  font-size: 11.5px;
  font-weight: 600;
  color: #f87171;
}
.fm4-dh-confirm-actions {
  display: flex;
  align-items: center;
  gap: 5px;
}
.fm4-dh-btn-danger {
  background: #dc2626;
  border-color: #ef4444;
  color: #ffffff;
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 700;
}
.fm4-dh-btn-danger:hover {
  background: #b91c1c;
}
.fm4-dh-btn-cancel {
  background: rgba(255, 255, 255, 0.08);
  padding: 5px 9px;
  font-size: 11px;
}
.fm4-dh-types-wrapper {
  display: flex;
  gap: 14px;
  min-height: 200px;
  box-sizing: border-box;
}
.fm4-dh-type-tabs {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 200px;
  flex-shrink: 0;
}
.fm4-dh-type-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 9px 12px;
  border-radius: 8px;
  border: 1px solid transparent;
  background: transparent;
  color: color-mix(in srgb, var(--fm4-text-color, #f8fafc) 75%, transparent);
  font: 600 12.5px/1.2 var(--fm4-body-font, Inter, system-ui, sans-serif);
  cursor: pointer;
  text-align: left;
  transition: all 0.15s ease;
}
.fm4-dh-type-tab:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--fm4-text-color, #f8fafc);
}
.fm4-dh-type-tab.is-active {
  background: color-mix(in srgb, var(--fm4-primary-color, #ea580c) 18%, transparent);
  border-color: color-mix(in srgb, var(--fm4-primary-color, #ea580c) 35%, transparent);
  color: var(--fm4-primary-color, #ea580c);
}
.fm4-dh-type-name {
  flex: 1;
}
.fm4-dh-type-badge {
  font-size: 10.5px;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: inherit;
}
.fm4-dh-type-panel {
  flex: 1;
  min-width: 0;
  background: color-mix(in srgb, var(--fm4-surface-color, #18181b) 85%, #000);
  border: 1px solid var(--fm4-border-color, rgba(255, 255, 255, 0.1));
  border-radius: var(--fm4-global-radius, 10px);
  padding: 12px;
  max-height: 280px;
  overflow-y: auto;
  box-sizing: border-box;
}
.fm4-dh-type-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: 8px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--fm4-border-color, rgba(255, 255, 255, 0.08));
  font-size: 12.5px;
}
.fm4-dh-type-header-count {
  font-size: 11px;
  color: color-mix(in srgb, var(--fm4-text-color, #f8fafc) 45%, transparent);
}
.fm4-dh-type-items {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.fm4-dh-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 42px 20px;
  text-align: center;
  gap: 8px;
}
.fm4-dh-empty-icon {
  color: color-mix(in srgb, var(--fm4-text-color, #f8fafc) 30%, transparent);
  margin-bottom: 4px;
}
.fm4-dh-empty h4 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--fm4-text-color, #f8fafc);
}
.fm4-dh-empty p {
  margin: 0;
  font-size: 12.5px;
  color: color-mix(in srgb, var(--fm4-text-color, #f8fafc) 55%, transparent);
  max-width: 340px;
}
.fm4-dh-loading, .fm4-dh-error {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 48px 20px;
  color: color-mix(in srgb, var(--fm4-text-color, #f8fafc) 70%, transparent);
  font-size: 13.5px;
}
.fm4-dh-spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-top-color: var(--fm4-primary-color, #ea580c);
  border-radius: 50%;
  animation: fm4DhSpin 0.7s linear infinite;
}
@keyframes fm4DhSpin {
  to { transform: rotate(360deg); }
}
.fm4-dh-topbar-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 5px 10px;
  border-radius: 8px;
  font: 600 12.5px/1 var(--fm4-body-font, Inter, system-ui, sans-serif);
  cursor: pointer;
  position: relative;
  transition: all 0.15s ease;
  margin-right: 6px;
}
.fm4-dh-topbar-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.25);
}
.fm4-drafts-badge, .fm4-ab-drafts-badge, .fm4-la-drafts-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--fm4-primary-color, #ea580c);
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 999px;
  min-width: 14px;
  line-height: 1.2;
}

@media (max-width: 768px) {
  .fm4-dh-types-wrapper {
    flex-direction: column;
  }
  .fm4-dh-type-tabs {
    width: 100%;
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 4px;
  }
  .fm4-dh-type-tab {
    flex: 0 0 auto;
    width: auto;
  }
  .fm4-dh-type-panel {
    max-height: 220px;
  }
}

/* ── Editorial Utility Ribbon: Liturgical Colors & SVG Alignment ───────── */
.fm4-utility-svg-icon {
  vertical-align: -2px;
}
.fm4-utility-svg-bolt {
  vertical-align: -1px;
}
.fm4-church-dot--green {
  background-color: var(--fm4-liturgical-green, #2e7d32);
}
.fm4-church-dot--white {
  background-color: var(--fm4-liturgical-white, #f8fafc);
}
.fm4-church-dot--violet,
.fm4-church-dot--purple {
  background-color: var(--fm4-liturgical-violet, #7b1fa2);
}
.fm4-church-dot--red {
  background-color: var(--fm4-liturgical-red, #c62828);
}
.fm4-church-dot--black {
  background-color: var(--fm4-liturgical-black, #212121);
}

/* ── Mobile Drawer Extras (Auth & Language Switcher) ───────────────────── */
.fm4-nav-auth-mobile,
.fm4-nav-lang-mobile {
  display: none !important;
}

/* ── Branded 404 Error Page ────────────────────────────────────────────── */
.fm4-404-container {
  max-width: 760px;
  margin: var(--fm4-page-title-top-gap, 3.25rem) auto var(--fm4-section-gap, 3.5rem);
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1.25rem, 4vw, 2.5rem);
  text-align: center;
  background: var(--fm4-surface-color, #ffffff);
  border: 1px solid var(--fm4-border-color, rgba(0, 0, 0, 0.1));
  border-radius: var(--fm4-global-radius, 12px);
}
.fm4-404-code {
  font-family: var(--fm4-heading-font, Georgia, serif);
  font-size: clamp(3.5rem, 10vw, 5.5rem);
  font-weight: 800;
  line-height: 1;
  color: var(--fm4-primary-color, #ea580c);
  margin-bottom: 0.65rem;
}
.fm4-404-title {
  font-family: var(--fm4-heading-font, Georgia, serif);
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  color: var(--fm4-text-color, #0f172a);
  margin: 0 0 var(--fm4-heading-gap, 1.15rem);
}
.fm4-404-desc {
  font-family: var(--fm4-body-font, system-ui, sans-serif);
  font-size: 1.05rem;
  line-height: 1.6;
  color: color-mix(in srgb, var(--fm4-text-color, #0f172a) 72%, transparent);
  max-width: 520px;
  margin: 0 auto var(--fm4-content-gap, 2.25rem);
}
.fm4-404-actions {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: var(--fm4-content-gap, 2.25rem);
}
.fm4-404-actions .fm4-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.35rem;
  border-radius: var(--fm4-global-radius, 12px);
  background: var(--fm4-primary-color, #ea580c);
  color: var(--fm4-surface-color, #ffffff);
  font-weight: 700;
  text-decoration: none;
}
.fm4-404-recent {
  text-align: left;
  padding-top: 1.75rem;
  border-top: 1px solid var(--fm4-border-color, rgba(0, 0, 0, 0.1));
}
.fm4-404-recent__title {
  font-family: var(--fm4-heading-font, Georgia, serif);
  font-size: 1.1rem;
  margin: 0 0 1rem;
  color: var(--fm4-text-color, #0f172a);
}
.fm4-404-recent__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.85rem;
}
.fm4-404-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.9rem 1rem;
  background: color-mix(in srgb, var(--fm4-surface-color, #ffffff) 92%, var(--fm4-text-color, #000000));
  border: 1px solid var(--fm4-border-color, rgba(0, 0, 0, 0.08));
  border-radius: var(--fm4-global-radius, 12px);
  text-decoration: none;
  color: var(--fm4-text-color, #0f172a);
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.fm4-404-card:hover {
  border-color: var(--fm4-primary-color, #ea580c);
  transform: translateY(-1px);
}
.fm4-404-card__date {
  font-size: 0.72rem;
  font-weight: 600;
  color: color-mix(in srgb, var(--fm4-text-color, #0f172a) 60%, transparent);
}
.fm4-404-card__title {
  font-family: var(--fm4-heading-font, Georgia, serif);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.3;
}


/* ── FM4 Mobile Header, Utility Ribbon & 1-Column News Grid Guards ── */
@media (max-width: 768px) {
  html body#fm4-page .fm4-site-header .fm4-header-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
    gap: 0.5rem !important;
    padding: 0.55rem 0.9rem !important;
  }
  html body#fm4-page .fm4-site-header .fm4-brand-stack {
    order: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    gap: 2px !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    max-width: calc(100% - 96px) !important;
    overflow: hidden !important;
  }
  html body#fm4-page .fm4-site-header .fm4-site-brand {
    display: inline-flex !important;
    align-items: center !important;
    height: auto !important;
    max-width: 100% !important;
  }
  html body#fm4-page .fm4-site-header .fm4-site-brand-logo,
  html body#fm4-page .fm4-site-header .fm4-site-logo-block img {
    display: block !important;
    height: auto !important;
    max-height: 30px !important;
    width: auto !important;
    max-width: min(195px, 52vw) !important;
    object-fit: contain !important;
  }
  html body#fm4-page .fm4-site-header .fm4-site-tagline {
    display: block !important;
    font-size: 0.62rem !important;
    letter-spacing: 0.06em !important;
    line-height: 1.15 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  html body#fm4-page .fm4-site-header .fm4-site-tagline::before {
    display: none !important;
    content: none !important;
  }
  html body#fm4-page .fm4-site-header .fm4-header-tools {
    order: 2 !important;
    flex: 0 0 auto !important;
    margin-left: auto !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.35rem !important;
  }
  html body#fm4-page .fm4-site-header .fm4-nav-toggle {
    order: 3 !important;
    flex: 0 0 auto !important;
    margin-left: 0.25rem !important;
    display: inline-flex !important;
  }
  .fm4-nav-toggle.is-auth-verified {
    position: relative !important;
  }
  .fm4-nav-toggle.is-auth-verified::after {
    content: "" !important;
    position: absolute !important;
    top: 6px !important;
    right: 6px !important;
    width: 8px !important;
    height: 8px !important;
    border-radius: 50% !important;
    background: var(--fm4-accent-color, var(--fm4-primary-color)) !important;
    box-shadow: 0 0 0 2px var(--fm4-surface-color, #ffffff) !important;
  }
  html body#fm4-page .fm4-site-header .fm4-header-tools > *:not(.fm4-theme-toggle):not(#fm4-theme-toggle-btn),
  html body#fm4-page .fm4-site-header .fm4-zone-header_after_title,
  html body#fm4-page .fm4-site-header [data-fm4-block-group="header_after_title"],
  html body#fm4-page .fm4-site-header .fm4-header-search-trigger,
  html body#fm4-page .fm4-site-header .fm4-search-trigger,
  html body#fm4-page .fm4-site-header .fm4-header-tools .fm4-search-widget,
  html body#fm4-page .fm4-site-header .fm4-header-tools .fm4-block-wrap,
  html body#fm4-page .fm4-site-header .fm4-header-tools .fm4-placement-slot,
  html body#fm4-page .fm4-site-header .fm4-header-tools .fm4-auth-wrap,
  html body#fm4-page .fm4-site-header .fm4-header-tools .fm4-header-auth-wrap,
  html body#fm4-page .fm4-site-header .fm4-header-tools #fm4-header-auth-wrap,
  html body#fm4-page .fm4-site-header .fm4-header-tools .fm4-header-lang-switch,
  html body#fm4-page .fm4-site-header .fm4-header-tools .fm4-block-language_switcher_block,
  html body#fm4-page .fm4-site-header .fm4-header-tools .fm4-language-switcher,
  html body#fm4-page .fm4-site-header .fm4-placement-slot--header_utility {
    display: none !important;
  }
  html body#fm4-page .fm4-site-header nav.fm4-nav {
    position: absolute !important;
    top: calc(100% + 1px) !important;
    left: 0 !important;
    right: 0 !important;
    background: var(--fm4-surface-color, #ffffff) !important;
    border-top: 1px solid var(--fm4-border-color, rgba(0, 0, 0, 0.1)) !important;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.16) !important;
    display: none;
    max-height: calc(100dvh - 70px) !important;
    overflow-y: auto !important;
    z-index: 260 !important;
  }
  html body#fm4-page .fm4-site-header nav.fm4-nav.fm4-nav-open {
    display: block !important;
  }
  html body#fm4-page .fm4-site-header nav.fm4-nav > ul.fm4-nav,
  html body#fm4-page .fm4-site-header nav.fm4-nav ul.fm4-nav {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0 !important;
    padding: 0.5rem 0 !important;
  }
  html body#fm4-page .fm4-site-header .fm4-nav-search-mobile {
    display: block !important;
    padding: 0.85rem 1.2rem 0.5rem !important;
  }
  html body#fm4-page .fm4-site-header nav.fm4-nav.fm4-nav-open .fm4-nav-auth-mobile:not(:empty) {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.65rem !important;
    padding: 0.9rem 1.2rem !important;
    border-top: 1px solid var(--fm4-border-color, rgba(0, 0, 0, 0.08)) !important;
    background: color-mix(in srgb, var(--fm4-surface-color, #ffffff) 96%, var(--fm4-text-color, #000000));
  }
  html body#fm4-page .fm4-site-header nav.fm4-nav.fm4-nav-open .fm4-nav-lang-mobile {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 0.75rem !important;
    padding: 0.75rem 1.2rem !important;
    border-top: 1px solid var(--fm4-border-color, rgba(0, 0, 0, 0.08)) !important;
  }
  .fm4-nav-lang-mobile__label {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: color-mix(in srgb, var(--fm4-text-color, #0f172a) 65%, transparent);
  }
  html body#fm4-page .fm4-site-header nav.fm4-nav.fm4-nav-open .fm4-nav-lang-mobile .fm4-header-lang-switch,
  html body#fm4-page .fm4-site-header nav.fm4-nav.fm4-nav-open .fm4-nav-lang-mobile .fm4-language-switcher {
    display: inline-flex !important;
  }
  html body#fm4-page .fm4-news-front__top {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 1.5rem !important;
  }
  html body#fm4-page .fm4-news-front__subgrid,
  html body#fm4-page .fm4-news-front__uniform-grid,
  html body#fm4-page #fm4-front-stream-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* ── Universal Mobile Collapse for Multi-Column Article Listings & Grids ── */
@media (max-width: 768px) {
  html body#fm4-page .fm4-utility-ribbon .fm4-util-nameday,
  html body#fm4-page .fm4-utility-ribbon .fm4-util-church,
  html body#fm4-page .fm4-utility-ribbon .fm4-utility-item--nameday,
  html body#fm4-page .fm4-utility-ribbon .fm4-utility-item--church,
  html body#fm4-page .fm4-utility-ribbon .fm4-util-sep--hide-mobile {
    display: none !important;
  }
  html body#fm4-page .fm4-utility-ribbon__inner {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    overflow: hidden !important;
    white-space: nowrap !important;
    gap: 0.5rem !important;
    padding: 0.28rem 0.85rem !important;
  }
  html body#fm4-page .fm4-news-front__top,
  html body#fm4-page .fm4-news-front__top-duo,
  html body#fm4-page .fm4-news-front__subgrid,
  html body#fm4-page .fm4-news-front__guardian-pairs,
  html body#fm4-page .fm4-news-front__uniform-grid,
  html body#fm4-page #fm4-front-stream-grid,
  html body#fm4-page .fm4-news-front__feature-showcase,
  html body#fm4-page .fm4-news-front__feature-companions,
  html body#fm4-page .fm4-news-front__layout--split,
  html body#fm4-page .fm4-news-front-card--feature_split,
  html body#fm4-page .fm4-news-front__balance-duo,
  html body#fm4-page .fm4-news-front__grid,
  html body#fm4-page .fm4-mini-posts-grid:not(.fm4-moments-archive-grid),
  html body#fm4-page .fm4-front-grid,
  html body#fm4-page .fm4-archive-grid,
  html body#fm4-page .fm4-query-news-two-col,
  html body#fm4-page .fm4-query-news-three-col,
  html body#fm4-page .fm4-news-grid,
  html body#fm4-page .fm4-cols-2,
  html body#fm4-page .fm4-cols-3,
  html body#fm4-page .fm4-cols-4,
  html body#fm4-page [style*="grid-template-columns"],
  html body#fm4-page .fm4-block [style*="grid-template-columns"] {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 1.25rem !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }
  #fm4-page .fm4-news-front-card--guardian_pair {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 0.65rem !important;
  }
  #fm4-page .fm4-article-body table,
  #fm4-page .fm4-block table {
    display: block !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }
  #fm4-page .fm4-article-body img,
  #fm4-page .fm4-article-body figure,
  #fm4-page .fm4-article-body iframe,
  #fm4-page .fm4-article-body video {
    max-width: 100% !important;
    height: auto !important;
  }
  html body#fm4-page .fm4-news-front__subgrid .fm4-news-front-card--rail:not([data-bld-grid="1"]) {
    display: grid !important;
    grid-template-columns: 112px minmax(0, 1fr) !important;
    gap: 0.85rem !important;
    align-items: start !important;
    padding: 0.75rem 0 0 !important;
    border-top: 1px solid var(--fm4-border-color, rgba(0, 0, 0, 0.08)) !important;
  }
  html body#fm4-page .fm4-news-front__subgrid .fm4-news-front-card--rail:not([data-bld-grid="1"]):first-child {
    padding-top: 0 !important;
    border-top: none !important;
  }
  html body#fm4-page .fm4-news-front__subgrid .fm4-news-front-card--rail:not([data-bld-grid="1"]).fm4-news-front-card--no-media {
    grid-template-columns: minmax(0, 1fr) !important;
    padding: 1.05rem 1.15rem !important;
    border: 1px solid var(--fm4-border-color, rgba(0, 0, 0, 0.1)) !important;
    border-top: 3px solid var(--fm4-accent-color, var(--fm4-primary-color)) !important;
    border-radius: var(--fm4-global-radius, 12px) !important;
  }
  html body#fm4-page .fm4-news-front__subgrid .fm4-news-front-card--rail:not([data-bld-grid="1"]) .fm4-news-front-card__media {
    order: 1 !important;
    width: 112px !important;
    margin: 0 !important;
  }
  html body#fm4-page .fm4-news-front__subgrid .fm4-news-front-card--rail:not([data-bld-grid="1"]) .fm4-news-front-card__text {
    order: 2 !important;
    min-width: 0 !important;
  }
  html body#fm4-page .fm4-news-front-card h2,
  html body#fm4-page .fm4-news-front-card h3 {
    hyphens: var(--fm4-headline-hyphens, none) !important;
    -webkit-hyphens: var(--fm4-headline-hyphens, none) !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
  }
  html body#fm4-page .fm4-news-front__subgrid .fm4-news-front-card--rail h3 {
    font-size: clamp(1rem, 4.1vw, 1.12rem) !important;
    line-height: 1.28 !important;
  }
  html body#fm4-page .fm4-news-front__top-duo .fm4-news-front-card--duo h3 {
    font-size: clamp(1.18rem, 4.8vw, 1.35rem) !important;
    line-height: 1.24 !important;
  }
}

/* ── Frontpage Load More Button & Card Fade-In (migrated from FM4_Engine::getNewsFrontLoadMoreCss) ── */
.fm4-front-load-more-wrap{display:flex;justify-content:center;align-items:center;padding:2.5rem 0 1.5rem;margin-bottom:2rem}
.fm4-front-load-more-btn{display:inline-flex;align-items:center;gap:10px;background:var(--fm4-surface-color,#ffffff);color:var(--fm4-text-color,#0f172a);border:1.5px solid var(--fm4-border-color,#cbd5e1);border-radius:var(--fm4-global-radius,12px);padding:12px 34px;font-size:1rem;font-weight:750;font-family:inherit;cursor:pointer;box-shadow:0 4px 16px rgba(0,0,0,.03);transition:all .2s cubic-bezier(.16,1,.3,1)}
.fm4-front-load-more-btn:hover{border-color:var(--fm4-primary-color,#ea580c);color:var(--fm4-primary-color,#ea580c);transform:translateY(-2px);box-shadow:0 8px 24px color-mix(in srgb,var(--fm4-primary-color,#ea580c) 15%,transparent)}
.fm4-front-load-more-btn:active{transform:translateY(0)}
.fm4-front-load-more-btn.is-loading{opacity:.75;cursor:wait}
.fm4-load-more-spinner{animation:fm4Spin .8s linear infinite}
@keyframes fm4Spin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}
@keyframes fm4CardFadeIn{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:translateY(0)}}
.fm4-card-fade-in{animation:fm4CardFadeIn .35s ease forwards}
:root.dark-mode .fm4-front-load-more-btn,
html.dark-mode .fm4-front-load-more-btn,
[data-theme="dark"] .fm4-front-load-more-btn,
.dark-mode .fm4-front-load-more-btn{background:var(--fm4-surface-color,#141419);border-color:var(--fm4-border-color,#27272a);color:var(--fm4-text-color,#f1f5f9)}
@media (prefers-color-scheme:dark){
  :root:not(.light-mode):not([data-theme="light"]) .fm4-front-load-more-btn{background:var(--fm4-surface-color,#141419);border-color:var(--fm4-border-color,#27272a);color:var(--fm4-text-color,#f1f5f9)}
}

/* ── Mest sedda bildreportage Widget & Bildlösa redaktionella kort ── */
.fm4-front-popular-galleries {
  margin-bottom: 1.75rem;
}
.fm4-front-popular-galleries__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.fm4-front-popular-galleries__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 0.55rem;
  border-top: 1px solid var(--fm4-border-color, rgba(0, 0, 0, 0.08));
}
.fm4-front-popular-galleries__item:first-child {
  border-top: none;
  padding-top: 0;
}
.fm4-front-popular-galleries__thumb {
  display: block;
  width: var(--fm4-thumb-width, var(--fm4-row-thumb-width, 64px));
  height: var(--fm4-thumb-height, auto);
  aspect-ratio: 4 / 3;
  flex-shrink: 0;
  border-radius: var(--fm4-card-media-radius, var(--fm4-image-radius, var(--fm4-global-radius, 12px)));
  overflow: hidden;
  background: color-mix(in srgb, var(--fm4-surface-color) 85%, var(--fm4-text-color));
}
.fm4-front-popular-galleries__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}
.fm4-front-popular-galleries__thumb:hover img {
  transform: scale(1.06);
}
.fm4-front-popular-galleries__body {
  flex: 1;
  min-width: 0;
}
.fm4-front-popular-galleries__title {
  margin: 0 0 0.2rem;
  font-family: var(--fm4-heading-font);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.25;
}
.fm4-front-popular-galleries__title a {
  color: var(--fm4-text-color);
  text-decoration: none;
}
.fm4-front-popular-galleries__title a:hover {
  color: var(--fm4-primary-color);
  text-decoration: underline;
}
.fm4-front-popular-galleries__meta {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--fm4-body-font);
  font-size: 0.72rem;
  font-weight: 600;
  color: color-mix(in srgb, var(--fm4-text-color) 62%, transparent);
}
.fm4-front-popular-galleries__count {
  display: inline-flex;
  align-items: center;
  padding: 1px 6px;
  border-radius: calc(var(--fm4-global-radius, 12px) * 0.35);
  background: color-mix(in srgb, var(--fm4-accent-color) 12%, transparent);
  color: var(--fm4-accent-color);
  font-weight: 700;
}
.dark-mode .fm4-front-popular-galleries__count {
  background: color-mix(in srgb, var(--fm4-accent-color) 22%, transparent);
}

/* Bildlösa kort (no-media) i subgrid, top-duo och uniform-grid (när BLD-grid ej styr) */
.fm4-news-front__subgrid .fm4-news-front-card--no-media:not([data-bld-grid="1"]),
.fm4-news-front__top-duo .fm4-news-front-card--no-media:not([data-bld-grid="1"]),
.fm4-news-front__uniform-grid .fm4-news-front-card--no-media:not([data-bld-grid="1"]) {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 1.1rem 1.25rem !important;
  background: color-mix(in srgb, var(--fm4-surface-color) 94%, var(--fm4-text-color));
  border: 1px solid var(--fm4-border-color) !important;
  border-top: 3px solid var(--fm4-accent-color) !important;
  border-radius: var(--fm4-global-radius, 12px);
  height: 100%;
  box-sizing: border-box;
}
.dark-mode .fm4-news-front__subgrid .fm4-news-front-card--no-media:not([data-bld-grid="1"]),
.dark-mode .fm4-news-front__top-duo .fm4-news-front-card--no-media:not([data-bld-grid="1"]),
.dark-mode .fm4-news-front__uniform-grid .fm4-news-front-card--no-media:not([data-bld-grid="1"]) {
  background: color-mix(in srgb, var(--fm4-surface-color) 72%, #000000);
  border-color: var(--fm4-border-color);
  border-top-color: var(--fm4-accent-color);
}
.fm4-news-front-card--no-media .fm4-news-front-card__excerpt {
  margin: 0.45rem 0 0;
  font-family: var(--fm4-body-font);
  font-size: 0.88rem;
  line-height: 1.48;
  color: color-mix(in srgb, var(--fm4-text-color) 80%, transparent);
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── Schema-Driven Editorial Portal Layout Grid ── */
.fm4-layout-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: start;
  width: 100%;
  max-width: var(--fm4-container-width, 1200px);
  margin-inline: auto;
  padding-inline: 1rem;
}
.fm4-layout-grid > .fm4-area {
  grid-column: 1 / -1;
  min-width: 0;
}
.fm4-layout-grid > .fm4-area-sidebar {
  display: flex;
  flex-direction: column;
  gap: 0;
  align-self: stretch;
}
.fm4-layout-grid > .fm4-area-bottom {
  display: flex;
  flex-direction: column;
  gap: 0;
}
@media (min-width: 769px) {
  .fm4-layout-grid > .lg\:col-span-8 { grid-column: span 8 / span 8; }
  .fm4-layout-grid > .lg\:col-span-6 { grid-column: span 6 / span 6; }
  .fm4-layout-grid > .lg\:col-span-4 { grid-column: span 4 / span 4; }
  .fm4-layout-grid.fm4-layout--editorial {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: 1.5rem clamp(1.5rem, 3.5vw, 2.75rem);
  }
  .fm4-layout-grid.fm4-layout--editorial > .fm4-area-top,
  .fm4-layout-grid.fm4-layout--editorial > .fm4-area-bottom {
    grid-column: 1 / -1;
  }
  .fm4-layout-grid.fm4-layout--editorial > .fm4-area-main {
    grid-column: 1 / 2;
  }
  .fm4-layout-grid.fm4-layout--editorial > .fm4-area-sidebar {
    grid-column: 2 / 3;
    border-left: 1px solid var(--fm4-border-color, #e5e7eb);
    padding-left: clamp(1.1rem, 2vw, 1.75rem);
  }
}
@media (max-width: 768px) {
  .fm4-layout-grid {
    padding-inline: 0;
  }
  .fm4-layout-grid.fm4-layout--editorial > .fm4-area-sidebar {
    border-left: 0;
    padding-left: 0;
    border-top: 1px solid var(--fm4-border-color, #e5e7eb);
    padding-top: clamp(1rem, 4vw, 1.4rem);
  }
}
.fm4-block-query_block > .fm4-news-front,
.fm4-layout-grid .fm4-news-front,
.fm4-layout-grid.fm4-layout--editorial .fm4-area-main .fm4-news-front,
.fm4-layout-grid.fm4-layout--editorial .fm4-area-bottom .fm4-news-front {
  border-top: 0;
  margin-top: 0;
  padding-top: 0;
  padding-bottom: 0;
}

/* fm4-quote-align:v1 - quote_block placement (float/align) */
.fm4-quote-block.fm4-block-align--left{max-width:min(100%,36rem);margin-left:0;margin-right:auto}
.fm4-quote-block.fm4-block-align--center{max-width:min(100%,36rem);margin-left:auto;margin-right:auto}
.fm4-quote-block.fm4-block-align--right{max-width:min(100%,36rem);margin-left:auto;margin-right:0}
.fm4-block-wrap.fm4-block-quote_block:has(>.fm4-block-align--float-left),.fm4-block-wrap.fm4-block-quote_block:has(>.fm4-block-align--float-right){width:min(44%,360px)!important;max-width:min(44%,360px)!important;padding-left:0!important;padding-right:0!important;position:relative;z-index:2}
.fm4-block-wrap.fm4-block-quote_block:has(>.fm4-block-align--float-left){float:left!important;margin:.35rem 1.75rem 1rem 0!important}
.fm4-block-wrap.fm4-block-quote_block:has(>.fm4-block-align--float-right){float:right!important;margin:.35rem 0 1rem 1.75rem!important}
.fm4-quote-block.fm4-block-align--float-left,.fm4-quote-block.fm4-block-align--float-right{margin:0;width:100%;box-sizing:border-box}
.fm4-quote-block--pullquote.fm4-block-align--float-left,.fm4-quote-block--pullquote.fm4-block-align--float-right{padding:1.1rem .25rem}
.fm4-quote-block--pullquote.fm4-block-align--float-left .fm4-quote-text,.fm4-quote-block--pullquote.fm4-block-align--float-right .fm4-quote-text{font-size:clamp(1.1rem,1.9vw,1.5rem)}
@media (max-width: 768px){.fm4-block-wrap.fm4-block-quote_block:has(>.fm4-block-align--float-left),.fm4-block-wrap.fm4-block-quote_block:has(>.fm4-block-align--float-right){float:none!important;width:100%!important;max-width:100%!important;margin:1rem 0!important}}

/* ── Magnic Home Canvas & Studio Mobile Responsive Guards ── */
@media (max-width: 768px) {
  .mg-home-canvas {
    padding: 0 0 36px !important;
    overflow-x: clip !important;
    max-width: 100% !important;
  }
  .mg-ambient-glow {
    max-width: 100vw !important;
    height: 280px !important;
  }
  .mg-hero {
    padding: 20px 0 28px !important;
    max-width: 100% !important;
  }
  .mg-hero-kicker-pill {
    max-width: 100% !important;
    padding: 4px 10px !important;
    gap: 6px !important;
    margin-bottom: 14px !important;
    box-sizing: border-box !important;
  }
  .mg-hero-kicker-text {
    font-size: 0.68rem !important;
    letter-spacing: 0.04em !important;
    white-space: normal !important;
  }
  .mg-hero-title {
    font-size: clamp(1.85rem, 7.5vw, 2.35rem) !important;
    line-height: 1.16 !important;
    margin: 0 auto 14px !important;
  }
  .mg-hero-lead {
    font-size: 0.95rem !important;
    line-height: 1.55 !important;
    margin: 0 auto 20px !important;
  }
  .mg-hero-actions {
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important;
  }
  .mg-btn-primary, .mg-btn-secondary {
    width: 100% !important;
    max-width: 320px !important;
    padding: 12px 20px !important;
    font-size: 0.92rem !important;
    box-sizing: border-box !important;
  }
  .mg-studio-wrap {
    margin: 16px auto 36px !important;
    max-width: 100% !important;
  }
  .mg-tab-nav {
    display: flex !important;
    overflow-x: auto !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    padding: 5px !important;
    gap: 6px !important;
    border-radius: 12px !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
  }
  .mg-tab-nav::-webkit-scrollbar {
    display: none !important;
  }
  .mg-tab-btn {
    flex-shrink: 0 !important;
    padding: 7px 12px !important;
    font-size: 0.78rem !important;
    gap: 5px !important;
  }
  .mg-tab-btn svg {
    width: 14px !important;
    height: 14px !important;
  }
  .mg-window-chrome {
    padding: 8px 10px !important;
  }
  .mg-traffic-lights {
    width: 48px !important;
    gap: 4px !important;
  }
  .mg-traffic-dot {
    width: 8px !important;
    height: 8px !important;
  }
  .mg-url-pill {
    font-size: 0.65rem !important;
    padding: 3px 8px !important;
  }
  .mg-window-telemetry {
    font-size: 0.62rem !important;
  }
  .mg-studio-canvas {
    padding: 10px 8px !important;
  }
  .mg-canvas-mockup-page {
    padding: 14px 10px !important;
    max-width: 100% !important;
  }
  .mg-canvas-live-capsule {
    position: static !important;
    display: flex !important;
    justify-content: center !important;
    margin: 0 0 10px 0 !important;
  }
  .mg-canvas-tag-badge {
    position: static !important;
    display: inline-block !important;
    margin-bottom: 8px !important;
  }
  .mg-billflow-screen {
    padding: 12px 8px !important;
  }
  .mg-aicore-screen {
    padding: 12px 8px !important;
  }
  .mg-ai-user-bubble {
    margin-left: 8px !important;
  }
  .mg-ai-bot-bubble {
    margin-right: 8px !important;
  }
  .mg-commerce-grid {
    padding: 10px !important;
    gap: 12px !important;
  }
  .mg-noc-grid {
    padding: 10px !important;
    gap: 10px !important;
  }
  .mg-anthropic-section {
    margin-top: 32px !important;
    margin-bottom: 32px !important;
  }
  .mg-box {
    padding: 18px 14px 16px !important;
  }
  .mg-stats-ribbon {
    padding: 18px 14px !important;
    margin-bottom: 32px !important;
  }
  .mg-stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
  .mg-bottom-cta {
    padding: 20px 14px !important;
    border-radius: 16px !important;
    flex-direction: column !important;
    text-align: center !important;
  }
}
@media (max-width: 480px) {
  .mg-stats-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ── Pinpoint Live Inspector ─────────────────────────────────────────── */
body.fm4-pinpoint-active,
body.fm4-pinpoint-active * {
  cursor: crosshair !important;
}
.fm4-pinpoint-hover-target {
  outline: 2.5px dashed #f59e0b !important;
  outline-offset: 3px !important;
  box-shadow: 0 0 18px rgba(245, 158, 11, 0.45) !important;
  transition: outline 0.1s ease !important;
}

/* Magazine & Photo Cover Overlay Scrim Toggle */
.fm4-article:not(.fm4-article--cover-overlay) .fm4-article-cover--magazine::after,
.fm4-article:not(.fm4-article--cover-overlay) .fm4-article-cover--photo::after,
.fm4-article--magazine:not(.fm4-article--cover-overlay) .fm4-article-cover--magazine::after,
.fm4-article--magazine.fm4-article--has-cover:not(.fm4-article--cover-overlay) .fm4-article-cover--magazine::after,
.fm4-article[data-overlay-type="none"] .fm4-article-cover--magazine::after,
.fm4-article-cover--magazine[data-overlay-type="none"]::after,
.fm4-article--cover-overlay-none .fm4-article-cover--magazine::after {
  display: none !important;
}

/* Standard Buttons: Column Width ($kolumnbredd) */
[data-bld-slot][data-button-width="column_width"],
[data-bld-slot].fm4-bld-slot--column-width,
[data-bld-button-width="column_width"],
.fm4-bld-slot--column-width {
  width: 100% !important;
  display: flex !important;
  justify-content: center !important;
}
[data-bld-slot][data-button-width="column_width"] :is(a, button, .fm4-front-more-btn, .fm4-btn, .btn),
[data-bld-slot].fm4-bld-slot--column-width :is(a, button, .fm4-front-more-btn, .fm4-btn, .btn),
[data-bld-button-width="column_width"] :is(a, button, .fm4-front-more-btn, .fm4-btn, .btn),
.fm4-btn--column-width,
.btn--column-width {
  width: 100% !important;
  display: flex !important;
  justify-content: center !important;
  box-sizing: border-box !important;
}

/* Standard Buttons: Size Presets (sm / md / lg) */
[data-bld-slot][data-button-size="sm"] :is(a, button, .fm4-front-more-btn, .fm4-btn, .btn),
[data-bld-button-size="sm"] :is(a, button, .fm4-front-more-btn, .fm4-btn, .btn),
.fm4-btn--sm,
.btn--sm {
  padding: 0.38rem 0.78rem !important;
  font-size: 0.78rem !important;
  line-height: 1.25 !important;
  box-sizing: border-box !important;
}
[data-bld-slot][data-button-size="md"] :is(a, button, .fm4-front-more-btn, .fm4-btn, .btn),
[data-bld-button-size="md"] :is(a, button, .fm4-front-more-btn, .fm4-btn, .btn),
.fm4-btn--md,
.btn--md {
  padding: 0.58rem 1.15rem !important;
  font-size: 0.9rem !important;
  line-height: 1.3 !important;
  box-sizing: border-box !important;
}
[data-bld-slot][data-button-size="lg"] :is(a, button, .fm4-front-more-btn, .fm4-btn, .btn),
[data-bld-button-size="lg"] :is(a, button, .fm4-front-more-btn, .fm4-btn, .btn),
.fm4-btn--lg,
.btn--lg {
  padding: 0.82rem 1.55rem !important;
  font-size: 1.05rem !important;
  line-height: 1.35 !important;
  box-sizing: border-box !important;
}

/* ════════════════════════════════════════════════════════════════════════
   Style Bus Isolation Boundary — Nested Widgets inside .fm4-article
   Snapshots root/theme rhythm tokens on <html> and resets component-local
   --fm4-comp-* / --fm4-global-radius / --fm4-*-size variables on nested
   [data-fm4-widget] elements with zero specificity (:where) so article CSS
   never leaks down into widgets and widget A never leaks into widget B.
   ════════════════════════════════════════════════════════════════════════ */
:where(html) {
  --fm4-root-radius: var(--global-radius, var(--theme-radius, var(--fm4-global-radius, 12px)));
  --fm4-root-image-radius: var(--image-radius, var(--fm4-image-radius, var(--fm4-global-radius, 4px)));
  --fm4-root-section-gap: var(--section-gap, var(--fm4-section-gap, 3.5rem));
  --fm4-root-content-gap: var(--content-gap, var(--fm4-content-gap, 1.25rem));
  --fm4-root-heading-gap: var(--heading-gap, var(--fm4-heading-gap, 1.15rem));
}
:where(.fm4-article) :where([data-fm4-widget]:not([data-fm4-widget="article_gallery"]), .fm4-article-related-curated, .fm4-article-suggestions) {
  --fm4-global-radius: var(--fm4-root-radius, var(--global-radius, 12px));
  --fm4-image-radius: var(--fm4-root-image-radius, var(--image-radius, 4px));
  --fm4-section-gap: var(--fm4-root-section-gap, var(--section-gap, 3.5rem));
  --fm4-content-gap: var(--fm4-root-content-gap, var(--content-gap, 1.25rem));
  --fm4-heading-gap: var(--fm4-root-heading-gap, var(--heading-gap, 1.15rem));
  --fm4-title-size: initial;
  --fm4-meta-size: initial;
  --fm4-body-size: initial;
  --fm4-thumb-width: initial;
  --fm4-thumb-height: initial;
  --fm4-card-valign: initial;
  --fm4-comp-radius: initial;
  --fm4-comp-section-gap: initial;
  --fm4-comp-content-gap: initial;
  --fm4-comp-heading-gap: initial;
  --fm4-comp-title-size: initial;
  --fm4-comp-meta-size: initial;
  --fm4-comp-body-size: initial;
  --fm4-comp-thumb-width: initial;
  --fm4-comp-thumb-height: initial;
  --fm4-comp-valign: initial;
}

/* ════════════════════════════════════════════════════════════════════════
   Curated Related Articles ("Relaterade artiklar") — Independent Widget
   ════════════════════════════════════════════════════════════════════════ */
.fm4-article-related-curated {
  max-width: min(var(--fm4-container-width, 1180px), calc(100% - 2 * var(--fm4-art-pad, 1.5rem)));
  margin: var(--fm4-comp-section-gap, var(--fm4-section-gap, clamp(2.75rem, 6vw, 4.25rem))) auto 0;
  padding: clamp(1.35rem, 3vw, 2.25rem) clamp(1rem, 2.8vw, 1.85rem);
  border-radius: var(--fm4-comp-radius, var(--fm4-global-radius, 12px));
  background: color-mix(in srgb, var(--fm4-surface-color) 94%, var(--fm4-text-color) 6%);
  border: 1px solid color-mix(in srgb, var(--fm4-border-color) 88%, transparent);
  box-sizing: border-box;
  font-family: var(--fm4-art-ui, var(--fm4-body-font));
}
.fm4-article-related-curated + .fm4-article-suggestions {
  margin-top: var(--fm4-comp-section-gap, var(--fm4-section-gap, clamp(2rem, 4.5vw, 3.25rem)));
}
.fm4-curated-related__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: var(--fm4-comp-heading-gap, var(--fm4-heading-gap, clamp(1rem, 2.2vw, 1.5rem)));
  padding-bottom: 0.75rem;
  border-bottom: 1px solid color-mix(in srgb, var(--fm4-border-color) 90%, transparent);
}
.fm4-curated-related__heading-wrap {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
}
.fm4-curated-related__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: calc(var(--fm4-comp-radius, var(--fm4-global-radius, 12px)) * 0.65);
  background: color-mix(in srgb, var(--fm4-primary-color) 14%, transparent);
  color: var(--fm4-primary-color);
  flex-shrink: 0;
}
.fm4-curated-related__title {
  margin: 0;
  font-family: var(--fm4-art-display, var(--fm4-heading-font));
  font-size: clamp(1.15rem, 1rem + 0.65vw, 1.45rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--fm4-text-color);
}
.fm4-curated-related__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.18rem 0.6rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: color-mix(in srgb, var(--fm4-text-color) 8%, transparent);
  color: color-mix(in srgb, var(--fm4-text-color) 68%, transparent);
  flex-shrink: 0;
}
.fm4-curated-related__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr));
  gap: var(--fm4-comp-content-gap, var(--fm4-content-gap, clamp(0.9rem, 1.8vw, 1.35rem)));
}
.fm4-curated-cols--1 .fm4-curated-related__grid,
.fm4-curated-cols--2 .fm4-curated-related__grid,
.fm4-curated-cols--3 .fm4-curated-related__grid,
.fm4-curated-cols--4 .fm4-curated-related__grid {
  grid-template-columns: repeat(var(--fm4-curated-cols, 2), minmax(0, 1fr));
}
@media (max-width: 720px) {
  .fm4-curated-cols--2 .fm4-curated-related__grid,
  .fm4-curated-cols--3 .fm4-curated-related__grid,
  .fm4-curated-cols--4 .fm4-curated-related__grid {
    grid-template-columns: 1fr;
  }
}
.fm4-curated-align--center .fm4-curated-related__body { text-align: center; }
.fm4-curated-align--center .fm4-curated-related__meta { justify-content: center; }
.fm4-curated-align--right .fm4-curated-related__body { text-align: right; }
.fm4-curated-align--right .fm4-curated-related__meta { justify-content: flex-end; }
.fm4-curated-related__card {
  display: grid;
  grid-template-columns: minmax(6.5rem, 9.25rem) minmax(0, 1fr);
  gap: 0.95rem;
  align-items: var(--fm4-comp-valign, var(--fm4-card-valign, start));
  padding: 0.85rem;
  border-radius: var(--fm4-comp-radius, calc(var(--fm4-global-radius, 12px) * 0.85));
  background: var(--fm4-surface-color);
  border: 1px solid color-mix(in srgb, var(--fm4-border-color) 92%, transparent);
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
  min-width: 0;
}
.fm4-curated-related__card:hover {
  border-color: color-mix(in srgb, var(--fm4-primary-color) 48%, var(--fm4-border-color));
  transform: translateY(-2px);
  box-shadow: 0 10px 24px color-mix(in srgb, var(--fm4-text-color) 9%, transparent);
}
.fm4-curated-related__card--no-media {
  grid-template-columns: minmax(0, 1fr);
}
[data-empty-cell="preserve"] .fm4-curated-related__card--no-media {
  grid-template-columns: minmax(6.5rem, 9.25rem) minmax(0, 1fr);
}
[data-empty-cell="preserve"] .fm4-curated-related__card--no-media .fm4-curated-related__body {
  grid-column: 2 / -1;
}
[data-empty-cell="placeholder"] .fm4-curated-related__card--no-media {
  grid-template-columns: minmax(6.5rem, 9.25rem) minmax(0, 1fr);
}
[data-empty-cell="placeholder"] .fm4-curated-related__card--no-media::before {
  content: "";
  display: block;
  grid-column: 1;
  aspect-ratio: 3 / 2;
  border-radius: var(--fm4-comp-radius, calc(var(--fm4-global-radius, 12px) * 0.65));
  background: color-mix(in srgb, var(--fm4-surface-color) 88%, var(--fm4-text-color) 6%);
  border: 1px dashed color-mix(in srgb, var(--fm4-border-color) 90%, transparent);
}
.fm4-curated-related__media {
  display: block;
  overflow: hidden;
  border-radius: min(var(--fm4-card-media-radius, var(--fm4-image-radius, var(--fm4-comp-radius, calc(var(--fm4-global-radius, 12px) * 0.65)))), 14px);
  aspect-ratio: 3 / 2;
  background: color-mix(in srgb, var(--fm4-text-color) 7%, transparent);
}
.fm4-curated-related__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.fm4-curated-related__card:hover .fm4-curated-related__media img {
  transform: scale(1.035);
}
.fm4-curated-related__body {
  display: flex;
  flex-direction: column;
  gap: 0.32rem;
  min-width: 0;
}
.fm4-curated-related__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  font-size: var(--fm4-comp-meta-size, var(--fm4-meta-size, 0.75rem));
  line-height: 1.2;
}
.fm4-curated-related__cat {
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fm4-primary-color);
}
.fm4-curated-related__meta time {
  color: color-mix(in srgb, var(--fm4-text-color) 62%, transparent);
  font-weight: 600;
}
.fm4-curated-related__body h4 {
  margin: 0;
  font-family: var(--fm4-art-display, var(--fm4-heading-font));
  font-size: var(--fm4-comp-title-size, var(--fm4-title-size, clamp(1.02rem, 0.96rem + 0.3vw, 1.18rem)));
  font-weight: 700;
  line-height: 1.22;
  color: var(--fm4-text-color);
  overflow-wrap: anywhere;
}
.fm4-curated-related__body h4 a {
  color: inherit;
  text-decoration: none;
}
.fm4-curated-related__body h4 a:hover {
  text-decoration: underline;
  text-underline-offset: 0.16em;
}
.fm4-curated-related__excerpt {
  margin: 0.12rem 0 0;
  font-family: var(--fm4-art-ui, var(--fm4-body-font));
  font-size: var(--fm4-comp-body-size, var(--fm4-body-size, 0.85rem));
  line-height: 1.48;
  color: color-mix(in srgb, var(--fm4-text-color) 74%, transparent);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
:root.dark-mode .fm4-article-related-curated,
html.dark-mode .fm4-article-related-curated,
[data-theme="dark"] .fm4-article-related-curated,
body.dark-mode .fm4-article-related-curated {
  background: color-mix(in srgb, var(--fm4-surface-color) 72%, #000000);
}
:root.dark-mode .fm4-curated-related__card,
html.dark-mode .fm4-curated-related__card,
[data-theme="dark"] .fm4-curated-related__card,
body.dark-mode .fm4-curated-related__card {
  background: var(--fm4-surface-color);
}
@media (max-width: 560px) {
  .fm4-article-related-curated {
    padding: 1.1rem 0.95rem;
  }
  .fm4-curated-related__card {
    grid-template-columns: 5.5rem minmax(0, 1fr);
    gap: 0.75rem;
    padding: 0.7rem;
  }
}

/* ── Rule 29: Global Mobile Safety Net (Zero Overflow, iOS Input Zoom Guard & Touch Parity) ── */
.fm4-main,
.fm4-block-wrap,
.fm4-area {
  min-width: 0;
  max-width: 100%;
}
.fm4-main :where(video, canvas, iframe) {
  max-width: 100%;
}
.fm4-block-text_block table,
.fm4-article-body table,
.fm4-editorjs-content table {
  max-width: 100%;
}
@media (max-width: 768px) {
  .fm4-block-text_block table,
  .fm4-article-body table:not(.fm4-ejs-table) {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .fm4-main pre {
    max-width: 100%;
    overflow-x: auto;
  }
  .fm4-main input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]),
  .fm4-main select,
  .fm4-main textarea {
    font-size: max(16px, 1rem);
  }
}
@media (pointer: coarse) {
  :where(.fm4-nav-toggle, .fm4-theme-toggle, .fm4-language-switcher__item) {
    min-height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

html body#fm4-page .fm4-area > .fm4-block-wrap {
  --fm4-block-pad-x: 0px;
  padding-left: var(--fm4-block-pad-x, 0px);
  padding-right: var(--fm4-block-pad-x, 0px);
  width: 100%;
  max-width: 100%;
}

/* ── FM4 Block Layout-Designer (BLD) Universal Surface & Card Grid Primitives ── */
.fm4-bld-container[data-bld-grid="1"],
[data-bld-surface="container"][data-bld-grid="1"] {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--fm4-bld-container-gap, 0.75rem);
  align-content: start;
}
html body#fm4-page .fm4-bld-card[data-bld-grid="1"],
.fm4-bld-card[data-bld-grid="1"],
[data-bld-surface="card"][data-bld-grid="1"] {
  position: relative !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  grid-auto-columns: minmax(0, 1fr) !important;
  grid-auto-rows: max-content;
  min-width: 0 !important;
  max-width: 100% !important;
  width: 100%;
  height: 100%;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  box-sizing: border-box !important;
  gap: var(--fm4-card-gap, 0.4rem);
  align-content: start !important;
  align-items: start;
}
html body#fm4-page :is(.fm4-news-front-card--lead, .fm4-news-front-card--breaking, .fm4-news-front-card--text-lead, .fm4-widget-category-feed__card--lead, [data-bld-card-role="lead"], [data-bld-card-role="breaking"]) {
  height: auto !important;
  align-self: start !important;
}
[data-bld-surface="card"][data-bld-grid="1"] > [data-bld-text-wrap="1"] {
  display: contents;
}
[data-bld-surface="card"][data-bld-grid="1"] figure,
[data-bld-surface="card"][data-bld-grid="1"] [data-bld-slot="media"] figure {
  margin: 0 !important;
}
[data-bld-slot="cards"] > .fm4-block-wrap,
.card-grid-matrix > .fm4-block-wrap,
.fm4-generic-group > .fm4-block-wrap,
.fm4-gallery-grid:not(.fm4-masonry-active):not(.fm4-gallery-grid--masonry):not(.fm4-list-layout--stack) > .fm4-block-wrap {
  display: flex !important;
  flex-direction: column !important;
  height: 100%;
  min-width: 0;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}
html body#fm4-page .fm4-bld-card[data-bld-grid="1"] > :not([data-bld-slot="media"]),
.fm4-bld-card > :not([data-bld-slot="media"]),
[data-bld-surface="card"][data-bld-grid="1"] > :not([data-bld-slot="media"]) {
  min-width: 0 !important;
  max-width: 100% !important;
  overflow-wrap: break-word;
}
/* Default 2-track collision-proof fallback for .fm4-news-front-card[data-bld-grid="1"] */
html body#fm4-page .fm4-news-front-card.fm4-bld-card[data-bld-grid="1"] {
  container: fm4-bld-card / inline-size;
  width: 100%;
  grid-template-columns: minmax(min(35%, 5.5rem), 1fr) minmax(0, auto) !important;
  grid-auto-columns: minmax(0, 1fr) !important;
  grid-auto-rows: auto !important;
  column-gap: 0.5rem;
  row-gap: var(--fm4-card-gap, 0.45rem);
  grid-template-areas:
    "media media"
    "kicker badge_date"
    "title title"
    "lead lead";
}
html body#fm4-page .fm4-news-front-card.fm4-bld-card[data-bld-grid="1"].fm4-news-front-card--no-media {
  grid-template-areas:
    "kicker badge_date"
    "title title"
    "lead lead";
}
html body#fm4-page .fm4-news-front-card.fm4-bld-card[data-bld-grid="1"] > [data-bld-slot="kicker"] {
  grid-area: kicker;
  align-self: center;
  justify-self: start;
  min-width: 0 !important;
  max-width: 100% !important;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
html body#fm4-page .fm4-news-front-card.fm4-bld-card[data-bld-grid="1"] > [data-bld-slot="badge_date"] {
  grid-area: badge_date;
  align-self: center;
  justify-self: end;
  min-width: 0 !important;
  max-width: 100% !important;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: right;
}
@container fm4-bld-card (max-width: 235px) {
  html body#fm4-page .fm4-news-front-card.fm4-bld-card[data-bld-grid="1"] > :is([data-bld-slot="media"], [data-bld-slot="kicker"], [data-bld-slot="badge_date"], [data-bld-slot="title"], [data-bld-slot="lead"]):not([data-bld-zone^="overlay"]) {
    grid-area: auto !important;
    grid-column: 1 / -1 !important;
    justify-self: start !important;
    text-align: left !important;
  }
}
html body#fm4-page .fm4-news-front-card.fm4-bld-card[data-bld-grid="1"] > [data-bld-slot="title"] {
  grid-area: title;
  min-width: 0 !important;
  max-width: 100% !important;
}
html body#fm4-page .fm4-news-front-card.fm4-bld-card[data-bld-grid="1"] > [data-bld-slot="lead"] {
  grid-area: lead;
  margin-top: 0.15rem !important;
  min-width: 0 !important;
  max-width: 100% !important;
}
html body#fm4-page .fm4-news-front-card.fm4-bld-card[data-bld-grid="1"]:not(.fm4-news-front-card--lead):not(.fm4-news-front-card--breaking):not(.fm4-news-front-card--no-media) > [data-bld-slot="lead"] {
  display: none;
}
html body#fm4-page .fm4-bld-card[data-bld-grid="1"] > [data-bld-slot="media"],
.fm4-bld-card [data-bld-slot="media"],
[data-bld-surface="card"][data-bld-grid="1"] > [data-bld-slot="media"] {
  position: relative;
  z-index: 1;
  overflow: hidden !important;
  border-radius: min(var(--fm4-card-media-radius, var(--fm4-image-radius, var(--fm4-global-radius, 8px))), var(--fm4-media-radius-max, 9999px)) !important;
  margin-left: calc(-1 * var(--fm4-card-media-bleed, 0px)) !important;
  margin-right: calc(-1 * var(--fm4-card-media-bleed, 0px)) !important;
  width: calc(100% + 2 * var(--fm4-card-media-bleed, 0px)) !important;
  max-width: calc(100% + 2 * var(--fm4-card-media-bleed, 0px)) !important;
}
html body#fm4-page .fm4-news-front-card.fm4-bld-card[data-bld-grid="1"] > [data-bld-slot="media"] {
  grid-area: media;
  aspect-ratio: var(--fm4-card-aspect, 16/10) !important;
  height: auto !important;
}
html body#fm4-page .fm4-bld-card[data-bld-grid="1"] > [data-bld-slot="media"] .fm4-front-gallery-card__duo-grid,
.fm4-bld-card [data-bld-slot="media"] .fm4-front-gallery-card__duo-grid {
  aspect-ratio: var(--fm4-card-aspect, 16/9) !important;
}
html body#fm4-page .fm4-bld-card[data-bld-grid="1"] > [data-bld-slot="media"] > img,
html body#fm4-page .fm4-bld-card[data-bld-grid="1"] > [data-bld-slot="media"] > a > img,
.fm4-bld-card [data-bld-slot="media"] > img,
.fm4-bld-card [data-bld-slot="media"] > a > img {
  aspect-ratio: var(--fm4-card-aspect, 16/10) !important;
  height: 100% !important;
  width: 100% !important;
  object-fit: cover !important;
}
/* Hidden atomic badge_date parts (overridable via BLD CSS or live JS) */
[data-bld-part-hidden="1"] {
  display: none;
}
/* Overlay badges on .fm4-news-front-card when moved onto photo */
html body#fm4-page .fm4-news-front-card.fm4-bld-card[data-bld-grid="1"] > [data-bld-zone^="overlay"] {
  background: color-mix(in srgb, var(--fm4-surface-color, #0f172a) 84%, #000);
  color: #ffffff;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 3px 8px;
  border-radius: calc(var(--fm4-global-radius, 8px) * 0.5);
  font-size: calc(0.68rem * var(--fm4-bld-slot-scale, 1));
  font-weight: 700;
  line-height: 1.25;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.22);
}
html body#fm4-page .fm4-news-front-card.fm4-bld-card[data-bld-grid="1"] > [data-bld-slot="kicker"][data-bld-zone^="overlay"] {
  background: var(--fm4-primary-color, var(--fm4-accent-color));
  color: #ffffff;
}
/* Overlay zones inside flat BLD Grid cards share grid-area: media */
.fm4-bld-card > [data-bld-zone^="overlay"],
[data-bld-surface="card"][data-bld-grid="1"] > [data-bld-zone^="overlay"] {
  grid-area: media !important;
  position: static !important;
  z-index: 2;
  pointer-events: none;
  margin: 6px;
  width: max-content;
  max-width: calc(100% - 12px);
}
.fm4-bld-card > [data-bld-zone="overlay-tl"],
[data-bld-surface="card"][data-bld-grid="1"] > [data-bld-zone="overlay-tl"] {
  align-self: start;
  justify-self: start;
}
.fm4-bld-card > [data-bld-zone="overlay-tr"],
[data-bld-surface="card"][data-bld-grid="1"] > [data-bld-zone="overlay-tr"] {
  align-self: start;
  justify-self: end;
}
.fm4-bld-card > [data-bld-zone="overlay-bl"],
[data-bld-surface="card"][data-bld-grid="1"] > [data-bld-zone="overlay-bl"] {
  align-self: end;
  justify-self: start;
}
.fm4-bld-card > [data-bld-zone="overlay-br"],
[data-bld-surface="card"][data-bld-grid="1"] > [data-bld-zone="overlay-br"] {
  align-self: end;
  justify-self: end;
}
/* Gallery badge placed in flow / shared row: default to clean transparent meta text unless styled in Stil & Box */
.fm4-bld-card > .fm4-front-gallery-card__badge:not([data-bld-zone^="overlay"]),
[data-bld-surface="card"][data-bld-grid="1"] > .fm4-front-gallery-card__badge:not([data-bld-zone^="overlay"]) {
  position: static;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  color: color-mix(in srgb, var(--fm4-text-color, #0f172a) 68%, transparent);
  padding: 0;
  border-radius: 0;
  pointer-events: auto;
  margin: 0;
}
/* Badge in flow zone (outside image) */
.fm4-bld-card > [data-bld-slot="badge_date"]:not([data-bld-zone^="overlay"]),
[data-bld-surface="card"][data-bld-grid="1"] > [data-bld-slot]:not([data-bld-zone^="overlay"]).fm4-front-gallery-card__badge {
  position: static !important;
  align-self: center;
  justify-self: start;
  width: max-content;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  pointer-events: auto;
  margin: 0;
}
/* Stretched card link so the entire card including overlay badges is clickable */
.fm4-bld-card .fm4-bld-card__primary-link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
}
/* Disable stretched-link overlay inside Live Admin so inline text, image & focal editing remain clickable */
body.fm4-live-editing .fm4-bld-card .fm4-bld-card__primary-link::after,
body.fm4-live-admin-active .fm4-bld-card .fm4-bld-card__primary-link::after,
body.fm4-live-edit .fm4-bld-card .fm4-bld-card__primary-link::after,
html[data-fm4-live-admin] .fm4-bld-card .fm4-bld-card__primary-link::after,
.fm4-bld-card:has([contenteditable="true"]) .fm4-bld-card__primary-link::after {
  pointer-events: none !important;
}
/* Generic BLD header link wrapper */
.fm4-bld-header-link {
  color: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  transition: color 0.15s ease;
}
.fm4-bld-header-link:hover {
  color: var(--fm4-primary-color, var(--fm4-accent-color));
}
.fm4-bld-header-link__main {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.fm4-bld-header-arrow {
  font-weight: 800;
  opacity: 0.78;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.fm4-bld-header-link:hover .fm4-bld-header-arrow {
  transform: translateX(2px);
  opacity: 1;
}
/* Universal BLD container & badge slot-scale consumers */
[data-bld-slot="widget_header"] .fm4-front-widget-title,
[data-bld-slot="section_kicker"] .fm4-front-section-title,
[data-bld-slot="section_kicker"].fm4-front-section-header h2,
[data-bld-slot="section_kicker"].fm4-front-section-header {
  font-size: calc(1em * var(--fm4-bld-slot-scale, 1));
}
.fm4-front-gallery-card__badge[data-bld-slot="badge_date"] {
  font-size: calc(0.72rem * var(--fm4-bld-slot-scale, 1));
}

/* ── 3-Module Architecture: Galleries, Moments & Module Archives ──────────── */
.fm4-module-breadcrumb-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--fm4-primary-color);
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.78rem;
  transition: opacity 0.15s ease;
}
.fm4-module-breadcrumb-link:hover {
  opacity: 0.82;
  text-decoration: underline;
}
.fm4-admin-views-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.76rem;
  font-weight: 600;
  color: color-mix(in srgb, var(--fm4-text-color) 65%, transparent);
}
.fm4-mini-band-actions {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}
.fm4-mini-band-more {
  font-family: var(--fm4-body-font);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--fm4-primary-color);
  text-decoration: none;
  white-space: nowrap;
}
.fm4-mini-band-more:hover {
  text-decoration: underline;
}

/* Gallery Detail */
.fm4-gallery-detail {
  padding-top: var(--fm4-page-title-top-gap, 3.25rem);
  margin-bottom: var(--fm4-section-gap, 3.5rem);
}
.fm4-gallery-detail__meta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.65rem;
  font-family: var(--fm4-body-font);
  font-size: 0.84rem;
  color: color-mix(in srgb, var(--fm4-text-color) 72%, transparent);
}
.fm4-gallery-detail__count {
  font-weight: 700;
  color: var(--fm4-text-color);
}
.fm4-gallery-detail__title {
  margin: 0 0 var(--fm4-heading-gap, 1.15rem);
  text-wrap: balance;
}
.fm4-gallery-detail__lead {
  margin: 0 0 var(--fm4-content-gap, 2.25rem);
  max-width: 72ch;
}
.fm4-gallery-detail__grid-wrap,
.fm4-gallery-detail__stream {
  margin-top: var(--fm4-content-gap, 2.25rem);
  margin-bottom: var(--fm4-section-gap, 3.5rem);
}
.fm4-gallery-grid--masonry {
  display: columns;
  columns: 3 280px;
  column-gap: 1.1rem;
}
.fm4-gallery-grid--masonry > * {
  break-inside: avoid;
  margin-bottom: 1.1rem;
}
.fm4-gallery-grid--carousel {
  display: grid !important;
  grid-template-columns: none !important;
  grid-auto-flow: column;
  grid-auto-columns: minmax(min(84vw, 420px), 1fr);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 1rem;
  padding-bottom: 0.75rem;
}
.fm4-gallery-grid--carousel > * {
  scroll-snap-align: start;
}

/* Moment Detail (Instagram-inspired editorial photo post) */
.fm4-moment-detail {
  max-width: 780px;
  margin: var(--fm4-page-title-top-gap, 3.25rem) auto var(--fm4-section-gap, 3.5rem);
}
.fm4-moment-detail__card {
  background: var(--fm4-surface-color);
  border: 1px solid var(--fm4-border-color);
  border-radius: var(--fm4-global-radius, 12px);
  overflow: hidden;
  margin-bottom: var(--fm4-content-gap, 2.25rem);
}
.fm4-moment-detail__topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 0.9rem 1.25rem;
  border-bottom: 1px solid var(--fm4-border-color);
  font-family: var(--fm4-body-font);
}
.fm4-moment-detail__meta {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.84rem;
  color: color-mix(in srgb, var(--fm4-text-color) 74%, transparent);
}
.fm4-moment-detail__author {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 700;
  color: var(--fm4-text-color);
}
.fm4-moment-detail__stage {
  margin: 0;
  background: color-mix(in srgb, var(--fm4-surface-color) 72%, var(--fm4-background-color));
  display: flex;
  justify-content: center;
  align-items: center;
}
.fm4-moment-detail__stage-link {
  display: block;
  width: 100%;
  line-height: 0;
}
.fm4-moment-detail__stage img {
  display: block;
  width: 100%;
  max-height: 82vh;
  object-fit: contain;
  background: color-mix(in srgb, var(--fm4-background-color) 85%, var(--fm4-text-color) 6%);
}
.fm4-moment-detail__series {
  padding: 1rem 1.25rem 0;
}
.fm4-moment-detail__body {
  padding: 1.25rem 1.35rem 1.4rem;
  font-family: var(--fm4-body-font);
}
.fm4-moment-detail__headline {
  font-family: var(--fm4-heading-font);
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  font-weight: 800;
  margin: 0 0 0.55rem;
  color: var(--fm4-text-color);
  line-height: 1.28;
}
.fm4-moment-detail__caption {
  font-size: 1.02rem;
  line-height: 1.62;
  color: var(--fm4-text-color);
  margin: 0;
  font-weight: 400;
}
.fm4-moment-detail__caption--primary {
  font-family: var(--fm4-body-font);
  font-size: 1.06rem;
  font-weight: 500;
}
.fm4-moment-detail__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.9rem;
}
.fm4-moment-detail__tag {
  display: inline-flex;
  align-items: center;
  padding: 0.22rem 0.65rem;
  border-radius: var(--fm4-global-radius, 12px);
  background: color-mix(in srgb, var(--fm4-primary-color) 11%, transparent);
  color: var(--fm4-primary-color);
  font-size: 0.78rem;
  font-weight: 700;
}

/* Module Archive Pages (/galleri/ & /ogonblick/) */
.fm4-module-archive {
  padding-top: var(--fm4-page-title-top-gap, 3.25rem);
  margin-bottom: var(--fm4-section-gap, 3.5rem);
}
.fm4-module-archive__header {
  margin-bottom: var(--fm4-content-gap, 2.25rem);
}
.fm4-module-archive__title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 0.5rem;
}
.fm4-module-archive__title {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--fm4-heading-font);
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 800;
  margin: 0;
  color: var(--fm4-text-color);
}
.fm4-module-archive__title svg {
  color: var(--fm4-primary-color);
  flex-shrink: 0;
}
.fm4-module-archive__count {
  display: inline-flex;
  align-items: center;
  padding: 0.18rem 0.65rem;
  border-radius: var(--fm4-global-radius, 12px);
  background: color-mix(in srgb, var(--fm4-text-color) 8%, var(--fm4-surface-color));
  border: 1px solid var(--fm4-border-color);
  font-family: var(--fm4-body-font);
  font-size: 0.82rem;
  font-weight: 700;
  color: color-mix(in srgb, var(--fm4-text-color) 75%, transparent);
}
.fm4-module-archive__subtitle {
  margin: 0 0 1.15rem;
  font-family: var(--fm4-body-font);
  font-size: 1rem;
  color: color-mix(in srgb, var(--fm4-text-color) 72%, transparent);
}
.fm4-module-archive__years {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.85rem;
}
.fm4-module-archive__year-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.32rem 0.72rem;
  border-radius: var(--fm4-global-radius, 12px);
  border: 1px solid var(--fm4-border-color);
  background: var(--fm4-surface-color);
  color: var(--fm4-text-color);
  font-family: var(--fm4-body-font);
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.fm4-module-archive__year-pill:hover,
.fm4-module-archive__year-pill.is-active {
  background: var(--fm4-primary-color);
  border-color: var(--fm4-primary-color);
  color: var(--fm4-surface-color);
}
.fm4-gallery-archive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 310px), 1fr));
  gap: 1.35rem;
}
.fm4-gallery-archive-card {
  display: flex;
  flex-direction: column;
  background: var(--fm4-surface-color);
  border: 1px solid var(--fm4-border-color);
  border-radius: var(--fm4-global-radius, 12px);
  overflow: hidden;
  transition: transform 0.16s ease, border-color 0.16s ease;
}
.fm4-gallery-archive-card:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--fm4-primary-color) 45%, var(--fm4-border-color));
}
.fm4-gallery-archive-card__media {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  aspect-ratio: 16 / 10;
  border-radius: var(--fm4-card-media-radius, var(--fm4-image-radius, var(--fm4-global-radius, 12px)));
  overflow: hidden;
  background: color-mix(in srgb, var(--fm4-surface-color) 72%, var(--fm4-background-color));
}
.fm4-gallery-archive-card__media--duo {
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}
.fm4-gallery-archive-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.fm4-gallery-archive-card__count {
  position: absolute;
  right: 0.65rem;
  bottom: 0.65rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.24rem 0.58rem;
  border-radius: var(--fm4-global-radius, 12px);
  background: color-mix(in srgb, var(--fm4-background-color) 82%, transparent);
  backdrop-filter: blur(6px);
  border: 1px solid color-mix(in srgb, var(--fm4-border-color) 70%, transparent);
  color: var(--fm4-text-color);
  font-family: var(--fm4-body-font);
  font-size: 0.75rem;
  font-weight: 700;
}
.fm4-gallery-archive-card__body {
  padding: 1rem 1.15rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.fm4-gallery-archive-card__meta {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--fm4-body-font);
  font-size: 0.78rem;
  color: color-mix(in srgb, var(--fm4-text-color) 66%, transparent);
}
.fm4-gallery-archive-card__title {
  margin: 0;
  font-family: var(--fm4-heading-font);
  font-size: 1.12rem;
  font-weight: 750;
  line-height: 1.3;
}
.fm4-gallery-archive-card__title a {
  color: var(--fm4-text-color);
  text-decoration: none;
}
.fm4-gallery-archive-card__title a:hover {
  color: var(--fm4-primary-color);
}
.fm4-gallery-archive-card__desc {
  margin: 0;
  font-family: var(--fm4-body-font);
  font-size: 0.88rem;
  line-height: 1.5;
  color: color-mix(in srgb, var(--fm4-text-color) 78%, transparent);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.fm4-module-archive__pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: var(--fm4-content-gap, 2.25rem);
}
.fm4-module-archive__page-btn,
.fm4-module-archive__page-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.35rem;
  height: 2.35rem;
  padding: 0 0.8rem;
  border-radius: var(--fm4-global-radius, 12px);
  border: 1px solid var(--fm4-border-color);
  background: var(--fm4-surface-color);
  color: var(--fm4-text-color);
  font-family: var(--fm4-body-font);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}
.fm4-module-archive__page-btn:hover,
.fm4-module-archive__page-num:hover,
.fm4-module-archive__page-num.is-active {
  background: var(--fm4-primary-color);
  border-color: var(--fm4-primary-color);
  color: var(--fm4-surface-color);
}
.fm4-mini-empty-state {
  padding: 1rem 1.15rem;
  border-radius: var(--fm4-global-radius, 12px);
  border: 1px dashed var(--fm4-border-color);
  background: color-mix(in srgb, var(--fm4-surface-color) 80%, var(--fm4-background-color));
  color: color-mix(in srgb, var(--fm4-text-color) 72%, transparent);
  font-family: var(--fm4-body-font);
  font-size: 0.86rem;
  line-height: 1.5;
}
.fm4-mini-empty-state strong {
  color: var(--fm4-text-color);
  font-weight: 700;
}

/* ── Column-Safe Bleed Clamping & Mobile-Balanced Snap-Resize Figures ───── */
:is(footer, .cc-footer, .cc-footer-col, .fm4-site-footer, aside, [class*="footer-col"], .fm4-grid-col) :is(.fm4-figure--full-bleed, .fm4-figure--wide, .fm4-ejs-image--stretch) {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  left: auto !important;
  right: auto !important;
  transform: none !important;
}

figure[data-fm4-snap-size],
.fm4-ejs-image[data-fm4-snap-size],
.fm4-article-figure[data-fm4-snap-size] {
  width: min(100%, var(--fm4-img-snap-w, 100%)) !important;
  max-width: 100% !important;
  margin-left: var(--fm4-img-snap-ml, 0) !important;
  margin-right: var(--fm4-img-snap-mr, auto) !important;
  height: auto !important;
  aspect-ratio: auto !important;
}

figure[data-fm4-snap-size] a.fm4-image-link,
.fm4-ejs-image[data-fm4-snap-size] a.fm4-image-link {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
}

figure[data-fm4-snap-size] img,
.fm4-ejs-image[data-fm4-snap-size] img,
.fm4-article-figure[data-fm4-snap-size] img {
  width: 100% !important;
  max-width: 100% !important;
  max-height: none !important;
  height: auto !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  display: block !important;
}

@media (max-width: 768px) {
  figure[data-fm4-snap-size],
  .fm4-ejs-image[data-fm4-snap-size],
  .fm4-article-figure[data-fm4-snap-size] {
    width: min(100%, var(--fm4-img-snap-mob, var(--fm4-img-snap-w, 100%))) !important;
    max-width: 100% !important;
  }
}

/* ── FM4 BLD On-Page Drag & Drop Design Mode (Token-Driven Blueprint Stage) ── */
body.fm4-bld-design-mode {
  user-select: none;
  -webkit-user-select: none;
}

body.fm4-bld-design-mode a[href]:not(#fm4-live-admin a):not(#fm4-bld-design-hud a) {
  cursor: default;
}

body.fm4-bld-design-mode [data-bld-block],
body.fm4-bld-design-mode .fm4-block-wrap[data-fm4-id][data-fm4-type] {
  transition: outline-color 0.14s ease, box-shadow 0.14s ease, max-width 0.22s ease;
}

body.fm4-bld-design-mode [data-bld-block]:hover,
body.fm4-bld-design-mode .fm4-block-wrap[data-fm4-id][data-fm4-type]:hover {
  outline: 1px dashed color-mix(in srgb, var(--fm4-primary-color, currentColor) 48%, transparent);
  outline-offset: 4px;
}

body.fm4-bld-design-mode [data-bld-design-active="1"] {
  outline: 2px solid var(--fm4-primary-color, currentColor) !important;
  outline-offset: 6px !important;
  border-radius: var(--fm4-global-radius, 12px);
}

body.fm4-bld-design-mode [data-bld-design-active="1"] [data-bld-slot] {
  cursor: grab;
  outline: 1px dashed color-mix(in srgb, var(--fm4-primary-color, currentColor) 36%, transparent);
  outline-offset: 2px;
  transition: outline-color 0.12s ease, background-color 0.12s ease;
}

body.fm4-bld-design-mode [data-bld-design-active="1"] [data-bld-slot]:hover {
  outline: 1.5px solid var(--fm4-primary-color, currentColor);
  background-color: color-mix(in srgb, var(--fm4-primary-color, currentColor) 6%, transparent);
}

body.fm4-bld-design-mode [data-bld-stage-device="tablet"] {
  max-width: 768px !important;
  margin-inline: auto !important;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--fm4-border-color, currentColor) 65%, transparent), 0 18px 48px color-mix(in srgb, var(--fm4-text-color, currentColor) 18%, transparent);
}

body.fm4-bld-design-mode [data-bld-stage-device="mobile"] {
  max-width: 390px !important;
  margin-inline: auto !important;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--fm4-border-color, currentColor) 65%, transparent), 0 18px 48px color-mix(in srgb, var(--fm4-text-color, currentColor) 18%, transparent);
}
body.fm4-bld-design-mode [data-bld-stage-device="mobile"] h1,
body.fm4-bld-design-mode [data-bld-stage-device="mobile"] .fm4-article-headline {
  text-wrap: var(--fm4-headline-wrap, wrap) !important;
  hyphens: var(--fm4-headline-hyphens, none) !important;
  -webkit-hyphens: var(--fm4-headline-hyphens, none) !important;
  word-break: normal !important;
  overflow-wrap: break-word !important;
}
body.fm4-bld-design-mode [data-bld-stage-device="mobile"] h2,
body.fm4-bld-design-mode [data-bld-stage-device="mobile"] h3,
body.fm4-bld-design-mode [data-bld-stage-device="mobile"] .intro-title,
body.fm4-bld-design-mode [data-bld-stage-device="mobile"] .fm4-section-title {
  overflow-wrap: break-word !important;
  word-break: normal !important;
  hyphens: manual !important;
  -webkit-hyphens: manual !important;
  text-wrap: pretty !important;
}
body.fm4-bld-design-mode [data-bld-stage-device="mobile"] .fm4-service-cards-grid,
body.fm4-bld-design-mode [data-bld-stage-device="mobile"] .fm4-card-grid,
body.fm4-bld-design-mode [data-bld-stage-device="mobile"] .fm4-card-grid-items,
body.fm4-bld-design-mode [data-bld-stage-device="mobile"] .fm4-grid--cols-2,
body.fm4-bld-design-mode [data-bld-stage-device="mobile"] .fm4-grid--cols-3,
body.fm4-bld-design-mode [data-bld-stage-device="mobile"] .fm4-grid--cols-4 {
  grid-template-columns: 1fr !important;
}
body.fm4-bld-design-mode [data-bld-stage-device="mobile"] .fm4-article-figure[data-fm4-snap-size],
body.fm4-bld-design-mode [data-bld-stage-device="mobile"] .fm4-ejs-image[data-fm4-snap-size] {
  width: min(100%, var(--fm4-img-snap-mob, var(--fm4-img-snap-w, 100%))) !important;
  max-width: 100% !important;
}

/* ── Newsroom Frontpage Mobile Uniform Feed & Edge-to-Edge ("kant till kant") Media ── */
@media (max-width: 760px) {
  html body#fm4-page .fm4-block-query_block,
  html body#fm4-page .fm4-news-front,
  html body#fm4-page .fm4-news-front__top,
  html body#fm4-page .fm4-news-front__rail,
  html body#fm4-page .fm4-news-front__subgrid,
  html body#fm4-page .fm4-news-front__top-duo,
  html body#fm4-page .fm4-news-front__guardian-pairs,
  html body#fm4-page .fm4-news-front__uniform-grid,
  html body#fm4-page .fm4-news-front__feature-showcase,
  html body#fm4-page .fm4-news-front__feature-companions,
  html body#fm4-page .fm4-news-front__opinion-package,
  html body#fm4-page .fm4-news-front__stream-grid {
    overflow: visible !important;
  }

  html body#fm4-page .fm4-news-front__top,
  html body#fm4-page .fm4-news-front__rail,
  html body#fm4-page .fm4-news-front__subgrid,
  html body#fm4-page .fm4-news-front__top-duo,
  html body#fm4-page .fm4-news-front__guardian-pairs,
  html body#fm4-page .fm4-news-front__uniform-grid,
  html body#fm4-page .fm4-news-front__feature-showcase,
  html body#fm4-page .fm4-news-front__feature-companions,
  html body#fm4-page .fm4-news-front__opinion-package,
  html body#fm4-page .fm4-news-front__stream-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 0 !important;
    padding-inline: 0 !important;
    margin-inline: 0 !important;
    border-left: 0 !important;
    border-right: 0 !important;
    border-top: 0 !important;
    border-bottom: 0 !important;
    background: transparent !important;
  }

  html body#fm4-page .fm4-news-front .fm4-news-front-card,
  html body#fm4-page .fm4-news-front .fm4-news-front-card[data-bld-surface="card"],
  html body#fm4-page .fm4-news-front .fm4-news-front-card--lead,
  html body#fm4-page .fm4-news-front .fm4-news-front-card--breaking,
  html body#fm4-page .fm4-news-front .fm4-news-front-card--duo,
  html body#fm4-page .fm4-news-front .fm4-news-front-card--rail,
  html body#fm4-page .fm4-news-front .fm4-news-front-card--guardian_pair,
  html body#fm4-page .fm4-news-front .fm4-news-front-card--tile,
  html body#fm4-page .fm4-news-front .fm4-news-front-card--feature_split,
  html body#fm4-page .fm4-news-front .fm4-news-front-card--stream_wide,
  html body#fm4-page .fm4-news-front .fm4-news-front-card--stream_card,
  html body#fm4-page .fm4-news-front .fm4-news-front-card--asymmetric,
  html body#fm4-page .fm4-news-front .fm4-news-front-card--nordic-impact,
  html body#fm4-page .fm4-news-front .fm4-news-front-card--text-lead {
    --fm4-card-media-bleed: var(--fm4-site-padding, clamp(0.9rem, 3.8vw, 2.25rem)) !important;
    --fm4-card-media-radius: 0px !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: auto !important;
    grid-column: 1 / -1 !important;
    gap: 0.65rem !important;
    align-items: start !important;
    padding: 0 0 1.35rem 0 !important;
    margin: 0 0 1.35rem 0 !important;
    border: 0 !important;
    border-bottom: 1px solid var(--fm4-border-color, color-mix(in srgb, var(--fm4-text-color, currentColor) 14%, transparent)) !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    min-width: 0 !important;
  }

  html body#fm4-page .fm4-news-front .fm4-news-front-card > *:not([data-bld-zone^="overlay"]) {
    grid-column: 1 / -1 !important;
    grid-row: auto !important;
    min-width: 0 !important;
    width: 100% !important;
    justify-self: stretch !important;
    margin-inline: 0 !important;
    padding-inline: 0 !important;
  }

  html body#fm4-page .fm4-news-front .fm4-news-front-card .fm4-news-front-card__media,
  html body#fm4-page .fm4-news-front .fm4-news-front-card .fm4-asym__media,
  html body#fm4-page .fm4-news-front .fm4-news-front-card .fm4-nordic-impact__media,
  html body#fm4-page .fm4-news-front .fm4-news-front-card > [data-bld-slot="media"],
  html body#fm4-page .fm4-news-front [data-bld-surface="card"][data-bld-grid="1"].fm4-news-front-card > [data-bld-slot="media"],
  html body#fm4-page [data-bld-block] [data-bld-surface="card"][data-bld-grid="1"].fm4-news-front-card > [data-bld-slot="media"] {
    order: -10 !important;
    grid-column: 1 / -1 !important;
    grid-row: auto !important;
    justify-self: stretch !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    margin-top: 0 !important;
    margin-bottom: 0.2rem !important;
    padding: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    aspect-ratio: 16 / 10 !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    border-radius: 0 !important;
    overflow: hidden !important;
  }

  html body#fm4-page .fm4-news-front .fm4-news-front-card .fm4-news-front-card__media > a,
  html body#fm4-page .fm4-news-front .fm4-news-front-card .fm4-news-front-card__media > picture,
  html body#fm4-page .fm4-news-front .fm4-news-front-card .fm4-asym__media > a,
  html body#fm4-page .fm4-news-front .fm4-news-front-card .fm4-asym__media > picture,
  html body#fm4-page .fm4-news-front .fm4-news-front-card .fm4-nordic-impact__media > a,
  html body#fm4-page .fm4-news-front .fm4-news-front-card .fm4-nordic-impact__media > picture,
  html body#fm4-page .fm4-news-front .fm4-news-front-card > [data-bld-slot="media"] > a,
  html body#fm4-page .fm4-news-front .fm4-news-front-card > [data-bld-slot="media"] > picture {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    border-radius: 0 !important;
  }

  html body#fm4-page .fm4-news-front .fm4-news-front-card .fm4-news-front-card__media img,
  html body#fm4-page .fm4-news-front .fm4-news-front-card .fm4-asym__media img,
  html body#fm4-page .fm4-news-front .fm4-news-front-card .fm4-nordic-impact__media img,
  html body#fm4-page .fm4-news-front .fm4-news-front-card > [data-bld-slot="media"] img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: none !important;
    aspect-ratio: 16 / 10 !important;
    object-fit: cover !important;
    border-radius: 0 !important;
  }

  html body#fm4-page .fm4-news-front .fm4-news-front-card .fm4-news-front-card__text,
  html body#fm4-page .fm4-news-front .fm4-news-front-card .fm4-asym__content,
  html body#fm4-page .fm4-news-front .fm4-news-front-card .fm4-nordic-impact__body {
    order: 2 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.4rem !important;
    padding-inline: 0 !important;
    margin-inline: 0 !important;
    background: transparent !important;
  }

  html body#fm4-page .fm4-news-front .fm4-news-front-card > [data-bld-slot="kicker"] { order: 1 !important; }
  html body#fm4-page .fm4-news-front .fm4-news-front-card > [data-bld-slot="badge_date"] { order: 2 !important; }
  html body#fm4-page .fm4-news-front .fm4-news-front-card > [data-bld-slot="title"] { order: 3 !important; }
  html body#fm4-page .fm4-news-front .fm4-news-front-card > [data-bld-slot="lead"] { order: 4 !important; }
}

body.fm4-bld-design-mode [data-bld-stage-device="mobile"] .fm4-block-query_block,
body.fm4-bld-design-mode [data-bld-stage-device="mobile"] .fm4-news-front,
body.fm4-bld-design-mode [data-bld-stage-device="mobile"] .fm4-news-front__top,
body.fm4-bld-design-mode [data-bld-stage-device="mobile"] .fm4-news-front__rail,
body.fm4-bld-design-mode [data-bld-stage-device="mobile"] .fm4-news-front__subgrid,
body.fm4-bld-design-mode [data-bld-stage-device="mobile"] .fm4-news-front__top-duo,
body.fm4-bld-design-mode [data-bld-stage-device="mobile"] .fm4-news-front__guardian-pairs,
body.fm4-bld-design-mode [data-bld-stage-device="mobile"] .fm4-news-front__uniform-grid,
body.fm4-bld-design-mode [data-bld-stage-device="mobile"] .fm4-news-front__feature-showcase,
body.fm4-bld-design-mode [data-bld-stage-device="mobile"] .fm4-news-front__feature-companions,
body.fm4-bld-design-mode [data-bld-stage-device="mobile"] .fm4-news-front__opinion-package,
body.fm4-bld-design-mode [data-bld-stage-device="mobile"] .fm4-news-front__stream-grid {
  overflow: visible !important;
}

body.fm4-bld-design-mode [data-bld-stage-device="mobile"] .fm4-news-front__top,
body.fm4-bld-design-mode [data-bld-stage-device="mobile"] .fm4-news-front__rail,
body.fm4-bld-design-mode [data-bld-stage-device="mobile"] .fm4-news-front__subgrid,
body.fm4-bld-design-mode [data-bld-stage-device="mobile"] .fm4-news-front__top-duo,
body.fm4-bld-design-mode [data-bld-stage-device="mobile"] .fm4-news-front__guardian-pairs,
body.fm4-bld-design-mode [data-bld-stage-device="mobile"] .fm4-news-front__uniform-grid,
body.fm4-bld-design-mode [data-bld-stage-device="mobile"] .fm4-news-front__feature-showcase,
body.fm4-bld-design-mode [data-bld-stage-device="mobile"] .fm4-news-front__feature-companions,
body.fm4-bld-design-mode [data-bld-stage-device="mobile"] .fm4-news-front__opinion-package,
body.fm4-bld-design-mode [data-bld-stage-device="mobile"] .fm4-news-front__stream-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 0 !important;
  padding-inline: 0 !important;
  margin-inline: 0 !important;
  border-left: 0 !important;
  border-right: 0 !important;
  border-top: 0 !important;
  border-bottom: 0 !important;
  background: transparent !important;
}

body.fm4-bld-design-mode [data-bld-stage-device="mobile"] .fm4-news-front .fm4-news-front-card,
body.fm4-bld-design-mode [data-bld-stage-device="mobile"] .fm4-news-front .fm4-news-front-card[data-bld-surface="card"],
body.fm4-bld-design-mode [data-bld-stage-device="mobile"] .fm4-news-front .fm4-news-front-card--lead,
body.fm4-bld-design-mode [data-bld-stage-device="mobile"] .fm4-news-front .fm4-news-front-card--breaking,
body.fm4-bld-design-mode [data-bld-stage-device="mobile"] .fm4-news-front .fm4-news-front-card--duo,
body.fm4-bld-design-mode [data-bld-stage-device="mobile"] .fm4-news-front .fm4-news-front-card--rail,
body.fm4-bld-design-mode [data-bld-stage-device="mobile"] .fm4-news-front .fm4-news-front-card--guardian_pair,
body.fm4-bld-design-mode [data-bld-stage-device="mobile"] .fm4-news-front .fm4-news-front-card--tile,
body.fm4-bld-design-mode [data-bld-stage-device="mobile"] .fm4-news-front .fm4-news-front-card--feature_split,
body.fm4-bld-design-mode [data-bld-stage-device="mobile"] .fm4-news-front .fm4-news-front-card--stream_wide,
body.fm4-bld-design-mode [data-bld-stage-device="mobile"] .fm4-news-front .fm4-news-front-card--stream_card,
body.fm4-bld-design-mode [data-bld-stage-device="mobile"] .fm4-news-front .fm4-news-front-card--asymmetric,
body.fm4-bld-design-mode [data-bld-stage-device="mobile"] .fm4-news-front .fm4-news-front-card--nordic-impact,
body.fm4-bld-design-mode [data-bld-stage-device="mobile"] .fm4-news-front .fm4-news-front-card--text-lead {
  --fm4-card-media-bleed: var(--fm4-site-padding, clamp(0.9rem, 3.8vw, 2.25rem)) !important;
  --fm4-card-media-radius: 0px !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  grid-template-rows: auto !important;
  grid-column: 1 / -1 !important;
  gap: 0.65rem !important;
  align-items: start !important;
  padding: 0 0 1.35rem 0 !important;
  margin: 0 0 1.35rem 0 !important;
  border: 0 !important;
  border-bottom: 1px solid var(--fm4-border-color, color-mix(in srgb, var(--fm4-text-color, currentColor) 14%, transparent)) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  min-width: 0 !important;
}

body.fm4-bld-design-mode [data-bld-stage-device="mobile"] .fm4-news-front .fm4-news-front-card > *:not([data-bld-zone^="overlay"]) {
  grid-column: 1 / -1 !important;
  grid-row: auto !important;
  min-width: 0 !important;
  width: 100% !important;
  justify-self: stretch !important;
  margin-inline: 0 !important;
  padding-inline: 0 !important;
}

body.fm4-bld-design-mode [data-bld-stage-device="mobile"] .fm4-news-front .fm4-news-front-card .fm4-news-front-card__media,
body.fm4-bld-design-mode [data-bld-stage-device="mobile"] .fm4-news-front .fm4-news-front-card .fm4-asym__media,
body.fm4-bld-design-mode [data-bld-stage-device="mobile"] .fm4-news-front .fm4-news-front-card .fm4-nordic-impact__media,
body.fm4-bld-design-mode [data-bld-stage-device="mobile"] .fm4-news-front .fm4-news-front-card > [data-bld-slot="media"] {
  order: -10 !important;
  grid-column: 1 / -1 !important;
  grid-row: auto !important;
  margin-left: calc(-1 * var(--fm4-site-padding, clamp(0.9rem, 3.8vw, 2.25rem))) !important;
  margin-right: calc(-1 * var(--fm4-site-padding, clamp(0.9rem, 3.8vw, 2.25rem))) !important;
  margin-top: 0 !important;
  margin-bottom: 0.2rem !important;
  padding: 0 !important;
  width: calc(100% + 2 * var(--fm4-site-padding, clamp(0.9rem, 3.8vw, 2.25rem))) !important;
  max-width: calc(100% + 2 * var(--fm4-site-padding, clamp(0.9rem, 3.8vw, 2.25rem))) !important;
  aspect-ratio: 16 / 10 !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  border-radius: 0 !important;
  overflow: hidden !important;
}

body.fm4-bld-design-mode [data-bld-stage-device="mobile"] .fm4-news-front .fm4-news-front-card .fm4-news-front-card__media > a,
body.fm4-bld-design-mode [data-bld-stage-device="mobile"] .fm4-news-front .fm4-news-front-card .fm4-news-front-card__media > picture,
body.fm4-bld-design-mode [data-bld-stage-device="mobile"] .fm4-news-front .fm4-news-front-card .fm4-asym__media > a,
body.fm4-bld-design-mode [data-bld-stage-device="mobile"] .fm4-news-front .fm4-news-front-card .fm4-asym__media > picture,
body.fm4-bld-design-mode [data-bld-stage-device="mobile"] .fm4-news-front .fm4-news-front-card .fm4-nordic-impact__media > a,
body.fm4-bld-design-mode [data-bld-stage-device="mobile"] .fm4-news-front .fm4-news-front-card .fm4-nordic-impact__media > picture,
body.fm4-bld-design-mode [data-bld-stage-device="mobile"] .fm4-news-front .fm4-news-front-card > [data-bld-slot="media"] > a,
body.fm4-bld-design-mode [data-bld-stage-device="mobile"] .fm4-news-front .fm4-news-front-card > [data-bld-slot="media"] > picture {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  border-radius: 0 !important;
}

body.fm4-bld-design-mode [data-bld-stage-device="mobile"] .fm4-news-front .fm4-news-front-card .fm4-news-front-card__media img,
body.fm4-bld-design-mode [data-bld-stage-device="mobile"] .fm4-news-front .fm4-news-front-card .fm4-asym__media img,
body.fm4-bld-design-mode [data-bld-stage-device="mobile"] .fm4-news-front .fm4-news-front-card .fm4-nordic-impact__media img,
body.fm4-bld-design-mode [data-bld-stage-device="mobile"] .fm4-news-front .fm4-news-front-card > [data-bld-slot="media"] img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: none !important;
  aspect-ratio: 16 / 10 !important;
  object-fit: cover !important;
  border-radius: 0 !important;
}

body.fm4-bld-design-mode [data-bld-stage-device="mobile"] .fm4-news-front .fm4-news-front-card .fm4-news-front-card__text,
body.fm4-bld-design-mode [data-bld-stage-device="mobile"] .fm4-news-front .fm4-news-front-card .fm4-asym__content,
body.fm4-bld-design-mode [data-bld-stage-device="mobile"] .fm4-news-front .fm4-news-front-card .fm4-nordic-impact__body {
  order: 2 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 0.4rem !important;
  padding-inline: 0 !important;
  margin-inline: 0 !important;
  background: transparent !important;
}

body.fm4-bld-design-mode [data-bld-stage-device="mobile"] .fm4-news-front .fm4-news-front-card > [data-bld-slot="kicker"] { order: 1 !important; }
body.fm4-bld-design-mode [data-bld-stage-device="mobile"] .fm4-news-front .fm4-news-front-card > [data-bld-slot="badge_date"] { order: 2 !important; }
body.fm4-bld-design-mode [data-bld-stage-device="mobile"] .fm4-news-front .fm4-news-front-card > [data-bld-slot="title"] { order: 3 !important; }
body.fm4-bld-design-mode [data-bld-stage-device="mobile"] .fm4-news-front .fm4-news-front-card > [data-bld-slot="lead"] { order: 4 !important; }

/* === FM4 ENGINE EXTRACTED BASE RULES === */
body { font-family: var(--fm4-body-font, system-ui, sans-serif); font-size: var(--fm4-type-base, 1rem); color: var(--fm4-text-color, #1a1a1a); background-color: var(--fm4-background-color, #fff); margin: 0; }
  h1, h2, h3, h4, h5, h6 { font-family: var(--fm4-heading-font, system-ui, sans-serif) !important; color: var(--fm4-text-color, inherit); line-height: var(--fm4-heading-line-height, 1.2) !important; font-weight: var(--fm4-heading-weight, 600) !important; margin-top: 0; word-break: normal !important; overflow-wrap: break-word !important; }
  h2, h3, h4, h5, h6 { hyphens: manual !important; -webkit-hyphens: manual !important; }
  h1 { font-size: calc(var(--fm4-h1-size, calc(1em * var(--fm4-type-scale, 1.25) * var(--fm4-type-scale, 1.25) * var(--fm4-type-scale, 1.25))) * var(--fm4-bld-slot-scale, 1) * var(--fm4-bld-active-auto-scale, var(--fm4-title-auto-scale, 1))) !important; text-wrap: var(--fm4-headline-wrap, wrap) !important; hyphens: var(--fm4-headline-hyphens, none) !important; -webkit-hyphens: var(--fm4-headline-hyphens, none) !important; }
  h2 { font-size: calc(var(--fm4-h2-size, calc(1em * var(--fm4-type-scale, 1.25) * var(--fm4-type-scale, 1.25))) * var(--fm4-bld-slot-scale, 1) * var(--fm4-bld-active-auto-scale, var(--fm4-title-auto-scale, 1))) !important; }
  h3 { font-size: calc(var(--fm4-h3-size, calc(1em * var(--fm4-type-scale, 1.25))) * var(--fm4-bld-slot-scale, 1) * var(--fm4-bld-active-auto-scale, var(--fm4-title-auto-scale, 1))) !important; }
  @media (max-width: 768px) {
    h1, .fm4-article-headline { font-size: calc(var(--fm4-h1-size-mobile, min(var(--fm4-h1-size, 2.1rem), clamp(1.48rem, 6vw, 1.9rem))) * var(--fm4-bld-slot-scale, 1) * var(--fm4-bld-active-auto-scale, var(--fm4-title-auto-scale, 1))) !important; line-height: 1.12 !important; }
    h2 { font-size: calc(min(var(--fm4-h2-size, 1.65rem), clamp(1.28rem, 5vw, 1.55rem)) * var(--fm4-bld-slot-scale, 1) * var(--fm4-bld-active-auto-scale, var(--fm4-title-auto-scale, 1))) !important; line-height: 1.18 !important; }
  }
  body.fm4-bld-design-mode [data-bld-stage-device="mobile"] h1,
  body.fm4-bld-design-mode [data-bld-stage-device="mobile"] .fm4-article-headline { font-size: calc(var(--fm4-h1-size-mobile, min(var(--fm4-h1-size, 2.1rem), clamp(1.48rem, 6vw, 1.9rem))) * var(--fm4-bld-slot-scale, 1) * var(--fm4-bld-active-auto-scale, var(--fm4-title-auto-scale, 1))) !important; line-height: 1.12 !important; }
  body.fm4-bld-design-mode [data-bld-stage-device="mobile"] h2 { font-size: calc(min(var(--fm4-h2-size, 1.65rem), clamp(1.28rem, 5vw, 1.55rem)) * var(--fm4-bld-slot-scale, 1) * var(--fm4-bld-active-auto-scale, var(--fm4-title-auto-scale, 1))) !important; line-height: 1.18 !important; }
  #fm4-page .fm4-news-front-card h2, #fm4-page .fm4-news-front-card--lead h2, #fm4-page .fm4-news-front-card--breaking h1, #fm4-page .fm4-asym__title, #fm4-page .fm4-featured-grid__hero h3 { font-size: calc(clamp(1.25rem, 1rem + 1.8vw, var(--fm4-hero-headline-max, 2.25rem)) * var(--fm4-bld-slot-scale, 1) * var(--fm4-bld-active-auto-scale, var(--fm4-title-auto-scale, 1))) !important; line-height: 1.14 !important; text-wrap: balance; hyphens: none !important; -webkit-hyphens: none !important; overflow-wrap: break-word; }
  #fm4-page .fm4-news-front-card .fm4-news-front-card__media, #fm4-page .fm4-news-front-card--lead .fm4-news-front-card__media, #fm4-page .fm4-news-front-card--duo .fm4-news-front-card__media, #fm4-page .fm4-mini-media, #fm4-page .fm4-front-gallery-card__media-link, #fm4-page .fm4-gallery-archive-card__media, #fm4-page .fm4-archive-card__media { border-radius: min(var(--fm4-card-media-radius, var(--fm4-image-radius, var(--fm4-global-radius, 4px))), var(--fm4-media-radius-max, 9999px)) !important; overflow: hidden !important; }
  html body#fm4-page .fm4-news-front-card--tile .fm4-news-front-card__media, html body#fm4-page .fm4-news-front-card--tile[data-bld-grid="1"] > [data-bld-slot="media"], html body#fm4-page .fm4-news-front-card--rail .fm4-news-front-card__media, html body#fm4-page .fm4-news-front-card--rail[data-bld-grid="1"] > [data-bld-slot="media"], html body#fm4-page .fm4-widget-related__card .fm4-widget-related__media, html body#fm4-page .fm4-curated-related__card .fm4-curated-related__media { --fm4-media-radius-max: 14px; border-radius: min(var(--fm4-card-media-radius, var(--fm4-image-radius, var(--fm4-global-radius, 4px))), 14px) !important; overflow: hidden !important; }
  html body#fm4-page .fm4-front-popular-galleries__item .fm4-front-popular-galleries__thumb, html body#fm4-page .fm4-front-popular-galleries__item[data-bld-grid="1"] > [data-bld-slot="media"], html body#fm4-page .fm4-widget-latest__item .fm4-widget-latest__thumb, html body#fm4-page .fm4-widget-latest__item[data-bld-grid="1"] > [data-bld-slot="media"], html body#fm4-page .fm4-front-most-read__thumb, html body#fm4-page .fm4-most-read__thumb, html body#fm4-page .fm4-recent-comments__thumb, html body#fm4-page .fm4-mini-thumb, html body#fm4-page .fm4-product-detail__thumbs button { --fm4-media-radius-max: clamp(0px, calc(var(--fm4-card-media-radius, var(--fm4-image-radius, var(--fm4-global-radius, 4px))) * 0.65), 10px); border-radius: clamp(0px, calc(var(--fm4-card-media-radius, var(--fm4-image-radius, var(--fm4-global-radius, 4px))) * 0.65), 10px) !important; overflow: hidden !important; }
  #fm4-page .fm4-news-front-card__media img, #fm4-page .fm4-mini-media img, #fm4-page .fm4-front-gallery-card__media-link img, #fm4-page .fm4-gallery-archive-card__media img, #fm4-page .fm4-archive-card__media img, #fm4-page .fm4-widget-related__media img, #fm4-page .fm4-curated-related__media img, html body#fm4-page .fm4-front-popular-galleries__item .fm4-front-popular-galleries__thumb img, #fm4-page .fm4-widget-latest__thumb img, #fm4-page .fm4-front-most-read__thumb img, #fm4-page .fm4-most-read__thumb img, #fm4-page .fm4-recent-comments__thumb img, #fm4-page .fm4-mini-thumb img { border-radius: 0 !important; object-fit: cover !important; }
  html body#fm4-page .fm4-front-gallery-card__thumb-frame { border-radius: clamp(0px, calc(var(--fm4-card-media-radius, var(--fm4-image-radius, var(--fm4-global-radius, 4px))) * 0.55), 8px) !important; overflow: hidden !important; }
  #fm4-page :not(.fm4-mini-card--moment):not([data-bld-grid="1"]) > .fm4-mini-media { display: block !important; aspect-ratio: 16 / 10 !important; }
  #fm4-page .fm4-mini-card--moment:not([data-bld-grid="1"]) > .fm4-mini-media { display: block !important; aspect-ratio: var(--fm4-card-aspect, 4 / 5) !important; }
  #fm4-page .fm4-mini-media img { width: 100% !important; height: 100% !important; }
  #fm4-page .fm4-front-gallery-card:not([data-bld-grid="1"]) .fm4-front-gallery-card__media-link { display: block !important; aspect-ratio: 16 / 10 !important; max-height: 155px !important; }
  #fm4-page .fm4-front-popular-galleries__item:not([data-bld-grid="1"]) .fm4-front-popular-galleries__thumb { width: 84px !important; height: 56px !important; aspect-ratio: 3 / 2 !important; flex: 0 0 84px !important; }
  #fm4-page .fm4-front-popular-galleries__thumb img { width: 100% !important; height: 100% !important; }
  .fm4-field-bar { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--fm4-field-bar-gap-y, .25rem) var(--fm4-field-bar-gap-x, .75rem); width: 100%; box-sizing: border-box; text-align: left; }
  .fm4-field-bar[data-surface="card"] { background: var(--fm4-surface-color); border-top: 1px solid var(--fm4-border-color); padding: var(--fm4-field-bar-pad-y, .65rem) var(--fm4-field-bar-pad-x, .85rem); }
  .fm4-field-bar[data-surface="glass"] { background: color-mix(in srgb, var(--fm4-surface-color) 76%, transparent); backdrop-filter: blur(14px) saturate(155%); -webkit-backdrop-filter: blur(14px) saturate(155%); border: 1px solid color-mix(in srgb, var(--fm4-border-color) 76%, transparent); border-radius: max(6px, calc(var(--fm4-global-radius, 12px) - 2px)); padding: .4rem .65rem; }
  .fm4-field-item[data-align="start"] { text-align: left; margin-right: auto; }
  .fm4-field-item[data-align="center"] { text-align: center; margin-inline: auto; }
  .fm4-field-item[data-align="end"] { text-align: right; margin-left: auto; }
  .fm4-field-item[data-variant="muted-italic"] { font-style: italic; color: var(--fm4-art-mute, color-mix(in srgb, var(--fm4-text-color) 72%, transparent)); }
  .fm4-field-item[data-variant="meta-strong"] { font-style: normal; font-weight: 600; font-size: .88em; color: color-mix(in srgb, var(--fm4-art-ink, var(--fm4-text-color)) 68%, transparent); }
  .fm4-field-item[data-prefix]:not(:empty)::before { content: attr(data-prefix); }
  .fm4-field-item[data-suffix]:not(:empty)::after { content: attr(data-suffix); }
  a { color: var(--fm4-primary-color, #0066cc); }
  a:hover { opacity: .8; }
  a.fm4-cover-lightbox-link:hover, .fm4-article-cover a:hover, .fm4-hero-cover a:hover, .fm4-ejs-image a:hover, .fm4-story-figure a:hover, .fm4-gallery-item a:hover { opacity: 1 !important; }
  *, ::before, ::after { box-sizing: border-box; }
  .fm4-layout-stack { width: 100%; max-width: var(--fm4-container-width, 1200px); margin-inline: auto; padding-inline: 1rem; }
  .fm4-area { min-height: 1px; }
  .fm4-site-logo-block { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--fm4-text-color, #111); font-weight: 800; }
  .fm4-site-logo-block img, .fm4-site-logo__svg svg { display: block; width: 100%; height: auto; max-height: 70px; }
  .fm4-site-logo__text { font-family: var(--fm4-heading-font, system-ui, sans-serif); font-size: 1.1rem; line-height: 1.1; }
  .fm4-language-switcher { display: inline-flex; align-items: center; gap: .55rem; font-size: .88rem; }
  .fm4-language-switcher__label { color: color-mix(in srgb, var(--fm4-text-color, #111) 60%, transparent); font-weight: 700; }
  .fm4-language-switcher__items { display: inline-flex; flex-wrap: wrap; gap: .35rem; }
  .fm4-language-switcher__item { display: inline-flex; align-items: center; min-height: 30px; padding: 0 .65rem; border: 1px solid color-mix(in srgb, var(--fm4-border-color, #ddd) 80%, transparent); border-radius: 999px; text-decoration: none; color: var(--fm4-text-color, #111); background: color-mix(in srgb, var(--fm4-surface-color, #fff) 78%, transparent); }
  .fm4-language-switcher__item.is-current { background: var(--fm4-primary-color, #111); border-color: var(--fm4-primary-color, #111); color: #fff; }
  .fm4-language-switcher--compact .fm4-language-switcher__items { gap: .25rem; align-items: center; }
  .fm4-language-switcher--compact .fm4-language-switcher__item { min-height: auto; padding: 2px 6px; border: none; border-radius: 3px; background: transparent; color: color-mix(in srgb, var(--fm4-text-color, #111) 60%, transparent); transition: all .2s ease; font-size: .78rem; text-transform: uppercase; font-weight: 600; letter-spacing: .05em; }
  .fm4-language-switcher--compact .fm4-language-switcher__item:hover { color: var(--fm4-text-color, #111); }
  .fm4-language-switcher--compact .fm4-language-switcher__item.is-current { color: var(--fm4-text-color, #111); font-weight: 800; }
  .fm4-language-switcher--compact .fm4-language-switcher__item:not(:first-child) { border-left: 1px solid color-mix(in srgb, var(--fm4-text-color, #111) 20%, transparent); border-radius: 0; padding-left: 6px; }
  .fm4-background-section { position: relative; isolation: isolate; background-color: color-mix(in srgb, var(--fm4-surface-color) 90%, var(--fm4-primary-color)); background-size: cover; background-position: center; border-radius: var(--fm4-block-radius, var(--fm4-global-radius, 12px)); overflow: hidden; margin-block: 0; color: var(--fm4-text-color); }
  .fm4-background-section__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, color-mix(in srgb, var(--fm4-surface-color) 86%, transparent), color-mix(in srgb, var(--fm4-surface-color) 62%, transparent)); }
  .fm4-background-section--dark { color: var(--fm4-background-color); }
  .fm4-background-section--dark .fm4-background-section__shade { background: linear-gradient(90deg, color-mix(in srgb, var(--fm4-text-color) 82%, transparent), color-mix(in srgb, var(--fm4-text-color) 52%, transparent)); }
  :root.dark-mode .fm4-background-section--dark { color: var(--fm4-text-color); }
  :root.dark-mode .fm4-background-section--dark .fm4-background-section__shade { background: linear-gradient(90deg, color-mix(in srgb, var(--fm4-background-color) 84%, transparent), color-mix(in srgb, var(--fm4-background-color) 56%, transparent)); }
  .fm4-background-section--light .fm4-background-section__shade { background: color-mix(in srgb, var(--fm4-surface-color) 84%, transparent); }
  .fm4-background-section--none .fm4-background-section__shade { display: none; }
  .fm4-background-section__inner { max-width: var(--fm4-container-width, 1200px); margin-inline: auto; padding: clamp(2rem, 6vw, 4.5rem) clamp(1.25rem, 4vw, 2.5rem); display: flex; flex-direction: column; gap: 0.85rem; }
  .fm4-background-section__eyebrow { font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--fm4-primary-color); margin: 0; }
  .fm4-background-section__intro { max-width: 68ch; font-size: 1.05rem; line-height: 1.6; }
  .fm4-background-section__cta { margin-top: .5rem; }
  .fm4-google-map-block, .fm4-contact-card, .fm4-cta-band, .fm4-generic-block { margin-block: 0; }
  .fm4-google-map-block__address { color: color-mix(in srgb, var(--fm4-text-color) 70%, transparent); }
  .fm4-google-map-block__frame { min-height: var(--fm4-map-height, 360px); border: 1px solid color-mix(in srgb, var(--fm4-border-color) 80%, transparent); border-radius: var(--fm4-block-radius, var(--fm4-global-radius, 12px)); overflow: hidden; background: var(--fm4-surface-color); }
  .fm4-google-map-block__frame iframe { display: block; width: 100%; height: var(--fm4-map-height, 360px); border: 0; }
  .fm4-map-consent, .fm4-map-link { min-height: var(--fm4-map-height, 360px); display: grid; place-content: center; text-align: center; padding: 1.25rem; }
  .fm4-cta-band { display: flex; flex-direction: column; align-items: flex-start; gap: .85rem; padding: clamp(1.6rem, 4vw, 2.6rem); border-radius: var(--fm4-block-radius, var(--fm4-global-radius, 12px)); border: 1px solid color-mix(in srgb, var(--fm4-border-color) 80%, transparent); background: color-mix(in srgb, var(--fm4-primary-color) 9%, var(--fm4-surface-color)); color: var(--fm4-text-color); }
  .fm4-cta-band--contrast { background: color-mix(in srgb, var(--fm4-text-color) 92%, var(--fm4-surface-color)); color: var(--fm4-background-color); border-color: transparent; }
  .fm4-cta-band--contrast h2, .fm4-cta-band--contrast [data-bld-slot="title"], .fm4-cta-band--contrast [data-bld-slot="lead"], .fm4-cta-band--contrast p { color: inherit; }
  .fm4-cta-band--calm { background: var(--fm4-surface-color); }
  .fm4-cta-band--strip { flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: clamp(1.1rem, 2.5vw, 1.6rem) clamp(1.25rem, 3vw, 2rem); }
  .fm4-cta-band__eyebrow, .fm4-sec-eyebrow { font-size: .76rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: var(--fm4-primary-color); margin: 0; }
  .fm4-cta-band__title, .fm4-sec-title { font-family: var(--fm4-heading-font, inherit); font-size: clamp(1.45rem, 2.5vw, 2.15rem); font-weight: 800; line-height: 1.2; margin: 0; color: var(--fm4-text-color); text-wrap: balance; }
  .fm4-cta-band--contrast .fm4-cta-band__title { color: var(--fm4-background-color); }
  .fm4-cta-band__lead, .fm4-sec-lead { font-size: 1.02rem; line-height: 1.6; color: color-mix(in srgb, currentColor 82%, transparent); max-width: 68ch; }
  .fm4-cta-band__lead p:last-child, .fm4-sec-lead p:last-child { margin-bottom: 0; }
  .fm4-cta-band__actions { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; margin-top: .25rem; }
  .fm4-btn { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; min-height: 42px; padding: 0 1.15rem; border-radius: var(--fm4-block-radius, var(--fm4-global-radius, 12px)); text-decoration: none; font-weight: 750; border: 1px solid transparent; transition: transform .16s ease, filter .16s ease; }
  .fm4-btn-primary { background: var(--fm4-primary-color); border-color: var(--fm4-primary-color); color: var(--fm4-btn-text-color, var(--fm4-surface-color)); }
  .fm4-btn-secondary { background: transparent; border-color: color-mix(in srgb, currentColor 35%, transparent); color: inherit; }
  .fm4-contact-card { padding: clamp(1.25rem, 2.5vw, 1.75rem); border: 1px solid color-mix(in srgb, var(--fm4-border-color) 85%, transparent); border-radius: var(--fm4-block-radius, var(--fm4-global-radius, 12px)); background: var(--fm4-surface-color); color: var(--fm4-text-color); display: flex; flex-direction: column; gap: .75rem; box-sizing: border-box; }
  .fm4-contact-card--standalone { flex-direction: row; align-items: center; gap: clamp(1.25rem, 3vw, 2rem); flex-wrap: wrap; }
  .fm4-contact-card__media { width: 88px; height: 88px; border-radius: var(--fm4-block-radius, var(--fm4-global-radius, 12px)); overflow: hidden; flex-shrink: 0; background: color-mix(in srgb, var(--fm4-text-color) 6%, var(--fm4-surface-color)); }
  .fm4-contact-card--in-grid .fm4-contact-card__media { width: 100%; height: auto; aspect-ratio: 4 / 3; }
  .fm4-contact-card__img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .fm4-contact-card__role { font-size: .76rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; color: var(--fm4-primary-color); margin: 0; }
  .fm4-contact-card__title { font-family: var(--fm4-heading-font, inherit); font-size: 1.25rem; font-weight: 750; margin: 0; color: var(--fm4-text-color); }
  .fm4-contact-card__excerpt { font-size: .94rem; line-height: 1.55; color: color-mix(in srgb, var(--fm4-text-color) 80%, transparent); }
  .fm4-contact-card__excerpt p:last-child { margin-bottom: 0; }
  .fm4-contact-card__rows { display: grid; gap: .4rem; font-size: .92rem; }
  .fm4-contact-card__rows a, .fm4-contact-card__rows span { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: .5rem; }
  .fm4-contact-card__rows a:hover { color: var(--fm4-primary-color); }
  .fm4-sec-shell { display: flex; flex-direction: column; gap: 1.1rem; color: var(--fm4-text-color); }
  .fm4-cards-grid { display: grid; grid-template-columns: repeat(var(--fm4-cols, 3), minmax(0, 1fr)); gap: var(--fm4-gap, 1.35rem); margin-top: .5rem; }
  @media (max-width: 1024px) { .fm4-cards-grid { grid-template-columns: repeat(min(var(--fm4-cols, 2), 2), minmax(0, 1fr)); } }
  @media (max-width: 768px) { .fm4-cards-grid { grid-template-columns: 1fr; } }
  .fm4-service-card, .fm4-stat-card, .fm4-reference-card, .fm4-step-card, .fm4-pricing-tier, .fm4-file-item { padding: clamp(1.25rem, 2.4vw, 1.75rem); border: 1px solid var(--fm4-border-color); border-radius: var(--fm4-block-radius, var(--fm4-global-radius, 12px)); background: var(--fm4-surface-color); color: var(--fm4-text-color); display: flex; flex-direction: column; gap: .65rem; box-sizing: border-box; min-width: 0; }
  .fm4-service-card__media, .fm4-reference-card__media { border-radius: var(--fm4-block-radius, var(--fm4-global-radius, 12px)); overflow: hidden; aspect-ratio: 16 / 10; background: color-mix(in srgb, var(--fm4-text-color) 5%, var(--fm4-surface-color)); }
  .fm4-service-card__media--icon { aspect-ratio: auto; width: 2.75rem; height: 2.75rem; display: inline-flex; align-items: center; justify-content: center; color: var(--fm4-primary-color); background: color-mix(in srgb, var(--fm4-primary-color) 12%, var(--fm4-surface-color)); }
  .fm4-service-card__media img, .fm4-reference-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .fm4-service-card__eyebrow { font-size: .74rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; color: var(--fm4-primary-color); }
  .fm4-service-card__title, .fm4-step-card__title, .fm4-pricing-tier__title, .fm4-file-item__title { font-family: var(--fm4-heading-font, inherit); font-size: 1.18rem; font-weight: 750; line-height: 1.3; margin: 0; color: var(--fm4-text-color); }
  .fm4-service-card__body, .fm4-step-card__desc, .fm4-pricing-tier__desc, .fm4-file-item__desc { font-size: .95rem; line-height: 1.6; color: color-mix(in srgb, var(--fm4-text-color) 80%, transparent); }
  .fm4-service-card__body p:last-child, .fm4-step-card__desc p:last-child, .fm4-pricing-tier__desc p:last-child { margin-bottom: 0; }
  .fm4-service-card__cta { margin-top: auto; padding-top: .35rem; font-weight: 700; font-size: .92rem; color: var(--fm4-primary-color); text-decoration: none; display: inline-flex; align-items: center; gap: .35rem; }
  .fm4-faq-list { display: grid; grid-template-columns: 1fr; gap: .75rem; margin-top: .5rem; }
  details.fm4-faq-item { border: 1px solid var(--fm4-border-color); border-radius: var(--fm4-block-radius, var(--fm4-global-radius, 12px)); background: var(--fm4-surface-color); color: var(--fm4-text-color); overflow: hidden; transition: border-color .18s ease; }
  details.fm4-faq-item[open] { border-color: color-mix(in srgb, var(--fm4-primary-color) 55%, var(--fm4-border-color)); }
  details.fm4-faq-item > summary { list-style: none; cursor: pointer; padding: 1.1rem 1.35rem; font-family: var(--fm4-heading-font, inherit); font-weight: 700; font-size: 1.05rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; color: var(--fm4-text-color); }
  details.fm4-faq-item > summary::-webkit-details-marker { display: none; }
  .fm4-faq-item__icon { flex-shrink: 0; width: 1.25rem; height: 1.25rem; display: inline-flex; align-items: center; justify-content: center; color: var(--fm4-primary-color); transition: transform .2s ease; }
  details.fm4-faq-item[open] .fm4-faq-item__icon { transform: rotate(180deg); }
  .fm4-faq-item__answer { padding: 0 1.35rem 1.2rem; font-size: .96rem; line-height: 1.65; color: color-mix(in srgb, var(--fm4-text-color) 82%, transparent); }
  .fm4-faq-item__answer p:first-child { margin-top: 0; }
  .fm4-faq-item__answer p:last-child { margin-bottom: 0; }
  .fm4-stat-card__value { font-family: var(--fm4-heading-font, inherit); font-size: clamp(2rem, 3.6vw, 2.85rem); font-weight: 850; line-height: 1.05; color: var(--fm4-primary-color); margin: 0; }
  .fm4-stat-card__label { font-weight: 700; font-size: 1rem; color: var(--fm4-text-color); margin: 0; }
  .fm4-stat-card__note { font-size: .88rem; color: color-mix(in srgb, var(--fm4-text-color) 72%, transparent); margin: 0; }
  .fm4-reference-card__media { width: 3.25rem; height: 3.25rem; aspect-ratio: 1 / 1; border-radius: 50%; }
  .fm4-reference-card__quote { font-size: 1rem; line-height: 1.65; font-style: italic; color: var(--fm4-text-color); margin: 0; }
  .fm4-reference-card__author { font-weight: 750; font-size: .98rem; color: var(--fm4-text-color); margin: .35rem 0 0; }
  .fm4-reference-card__role, .fm4-reference-card__org { font-size: .84rem; color: color-mix(in srgb, var(--fm4-text-color) 70%, transparent); margin: 0; }
  .fm4-logo-wall { display: flex; flex-direction: column; gap: 1rem; color: var(--fm4-text-color); }
  .fm4-logo-wall__items { display: flex; flex-wrap: wrap; align-items: center; justify-content: var(--fm4-logo-wall-justify, flex-start); gap: clamp(1.25rem, 3vw, 2.5rem); }
  .fm4-logo-item { padding: .75rem 1.15rem; border-radius: var(--fm4-block-radius, var(--fm4-global-radius, 12px)); border: 1px solid color-mix(in srgb, var(--fm4-border-color) 70%, transparent); background: color-mix(in srgb, var(--fm4-surface-color) 85%, var(--fm4-background-color)); display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 3.25rem; }
  .fm4-logo-item__name { font-family: var(--fm4-heading-font, inherit); font-weight: 750; font-size: .92rem; letter-spacing: .04em; color: color-mix(in srgb, var(--fm4-text-color) 78%, transparent); }
  .fm4-video-embed__stage { position: relative; width: 100%; aspect-ratio: var(--fm4-video-aspect, 16 / 9); border-radius: var(--fm4-block-radius, var(--fm4-global-radius, 12px)); overflow: hidden; border: 1px solid var(--fm4-border-color); background: color-mix(in srgb, var(--fm4-surface-color) 78%, var(--fm4-background-color)); }
  .fm4-video-embed__stage iframe, .fm4-video-embed__stage video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; display: block; }
  .fm4-video-embed__consent { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .85rem; padding: 1.5rem; text-align: center; background: color-mix(in srgb, var(--fm4-surface-color) 86%, transparent); backdrop-filter: blur(6px); }
  .fm4-video-embed__caption { font-size: .9rem; color: color-mix(in srgb, var(--fm4-text-color) 72%, transparent); margin: 0; }
  .fm4-step-card__num { display: inline-flex; align-items: center; justify-content: center; min-width: 2.25rem; height: 2.25rem; padding: 0 .6rem; border-radius: var(--fm4-block-radius, var(--fm4-global-radius, 12px)); background: color-mix(in srgb, var(--fm4-primary-color) 14%, var(--fm4-surface-color)); color: var(--fm4-primary-color); font-family: var(--fm4-heading-font, inherit); font-weight: 850; font-size: .9rem; width: max-content; }
  .fm4-timeline-steps--vertical .fm4-cards-grid { grid-template-columns: 1fr; position: relative; }
  .fm4-pricing-tier.is-featured { border-color: var(--fm4-primary-color); box-shadow: 0 12px 32px color-mix(in srgb, var(--fm4-primary-color) 16%, transparent); background: color-mix(in srgb, var(--fm4-primary-color) 5%, var(--fm4-surface-color)); }
  .fm4-pricing-tier__badge { display: inline-flex; align-self: flex-start; padding: .25rem .65rem; border-radius: 999px; font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; background: color-mix(in srgb, var(--fm4-primary-color) 16%, var(--fm4-surface-color)); color: var(--fm4-primary-color); }
  .fm4-pricing-tier__price-row { display: flex; align-items: baseline; gap: .35rem; margin: .25rem 0; }
  .fm4-pricing-tier__price { font-family: var(--fm4-heading-font, inherit); font-size: clamp(1.9rem, 3vw, 2.6rem); font-weight: 850; line-height: 1; color: var(--fm4-text-color); }
  .fm4-pricing-tier__period { font-size: .9rem; color: color-mix(in srgb, var(--fm4-text-color) 68%, transparent); }
  .fm4-pricing-tier__desc ul { padding-left: 1.2rem; margin: .4rem 0; display: grid; gap: .35rem; }
  .fm4-pricing-tier__cta { margin-top: auto; padding-top: .5rem; }
  .fm4-file-item { flex-direction: row; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
  .fm4-file-item__badge { display: inline-flex; align-items: center; gap: .55rem; padding: .55rem .8rem; border-radius: var(--fm4-block-radius, var(--fm4-global-radius, 12px)); background: color-mix(in srgb, var(--fm4-primary-color) 11%, var(--fm4-surface-color)); color: var(--fm4-primary-color); font-weight: 800; font-size: .78rem; letter-spacing: .05em; text-transform: uppercase; flex-shrink: 0; }
  .fm4-file-item__copy { flex: 1 1 220px; min-width: 0; display: flex; flex-direction: column; gap: .2rem; }
  .fm4-block-style--narrow, [data-fm4-container-style="narrow"] { max-width: var(--fm4-narrow-width, 48rem) !important; margin-inline: auto !important; }
  .fm4-block-style--surface, [data-fm4-container-style="surface"] { padding: clamp(1.5rem, 3.5vw, 2.5rem); border-radius: var(--fm4-block-radius, var(--fm4-global-radius, 12px)); background: var(--fm4-surface-color); border: 1px solid var(--fm4-border-color); }
  .fm4-block-style--contrast, [data-fm4-container-style="contrast"] { padding: clamp(1.5rem, 3.5vw, 2.5rem); border-radius: var(--fm4-block-radius, var(--fm4-global-radius, 12px)); background: color-mix(in srgb, var(--fm4-text-color) 92%, var(--fm4-surface-color)); color: var(--fm4-background-color); }
  .fm4-generic-block--cards > .fm4-generic-content > .fm4-generic-group, .fm4-builder-list .fm4-generic-group, .fm4-gallery-grid, .fm4-card-grid, .fm4-grid { display: grid; grid-template-columns: var(--fm4-grid-cols, repeat(auto-fit, minmax(min(100%, 220px), 1fr))); gap: var(--fm4-gap, 1.25rem); margin-top: 1rem; }
  @media (max-width: 1024px) { .fm4-generic-block--cards > .fm4-generic-content > .fm4-generic-group, .fm4-builder-list .fm4-generic-group, .fm4-gallery-grid, .fm4-card-grid, .fm4-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)) !important; } }
  @media (max-width: 768px) { .fm4-generic-block--cards > .fm4-generic-content > .fm4-generic-group, .fm4-builder-list .fm4-generic-group, .fm4-gallery-grid, .fm4-card-grid, .fm4-grid { grid-template-columns: 1fr !important; } }
  .fm4-generic-block--card, .fm4-generic-block--faq-item, .fm4-generic-block--stat-item, .fm4-generic-block--logo-item { padding: 1.25rem; border: 1px solid color-mix(in srgb, var(--fm4-border-color) 80%, transparent); border-radius: var(--fm4-block-radius, var(--fm4-global-radius, 12px)); background: var(--fm4-surface-color); box-sizing: border-box; display: flex; flex-direction: column; justify-content: space-between; min-width: 0 !important; overflow-wrap: break-word; word-break: break-word; hyphens: auto; }
  .fm4-generic-block--card .fm4-generic-media { width: 100%; margin-bottom: 0.75rem; }
  .fm4-generic-block--card figure.fm4-generic-image { margin: 0; }
  .fm4-generic-block--card .fm4-generic-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--fm4-block-radius, var(--fm4-global-radius, 12px)); display: block; }
  .fm4-generic-block--card .fm4-generic-content { min-width: 0 !important; display: flex; flex-direction: column; gap: 0.5rem; flex: 1 1 auto; }
  .fm4-generic-block--card .fm4-generic-field--title { font-size: clamp(0.95rem, 1.25vw, 1.25rem); font-weight: 750; line-height: 1.3; margin: 0 0 0.35rem; color: var(--fm4-text-color); overflow-wrap: break-word; word-break: break-word; hyphens: auto; }
  .fm4-generic-block--card { color: var(--fm4-text-color) !important; }
  .fm4-generic-block--card .fm4-generic-field--title, .fm4-generic-block--card .fm4-generic-field--title span, .fm4-generic-block--card h3 { color: var(--fm4-text-color) !important; }
  .fm4-generic-block--card .fm4-generic-field--body, .fm4-generic-block--card .fm4-generic-field--body p, .fm4-generic-block--card p { font-size: clamp(0.82rem, 0.95vw, 0.95rem); line-height: 1.5; color: var(--fm4-text-color-muted, color-mix(in srgb, var(--fm4-text-color) 80%, transparent)) !important; overflow-wrap: break-word; word-break: break-word; hyphens: auto; }
  .fm4-generic-block--card .fm4-generic-field--body p { margin: 0 0 0.5rem; }
  .fm4-generic-block--card .fm4-generic-field--body p:last-child { margin-bottom: 0; }
  .fm4-generic-block--stats .fm4-generic-group { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem; }
  .fm4-generic-block--stat-item .fm4-generic-field--title { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 900; color: var(--fm4-primary-color); line-height: 1; }
  .fm4-generic-block--faq .fm4-generic-group { display: grid; gap: .75rem; }
  .fm4-generic-block--faq-item .fm4-generic-field--title { font-size: 1rem; }
  .fm4-generic-block--logo-wall .fm4-generic-group { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 1rem; align-items: center; }
  .fm4-generic-block--logo-item img { max-height: 70px; object-fit: contain; }
  .fm4-block-wrap[data-fm4-container-style="full-bleed"] > .fm4-generic-block > .fm4-generic-content,
  .fm4-block-wrap[data-fm4-container-style="full-bleed"] > .fm4-generic-block,
  .fm4-block-wrap[data-fm4-container-style="full-bleed"] > .fm4-inner,
  .fm4-block-wrap[data-fm4-container-style="full-bleed"] > .fm4-container,
  .fm4-block-wrap[data-fm4-container-style="full-bleed"] > .fm4-text-content,
  .fm4-block-wrap[data-fm4-container-style="full-bleed"] > .fm4-section-inner,
  .fm4-block-wrap[data-fm4-container-style="full-bleed"] > .fm4-section-content,
  .fm4-block-style--full-bleed > .fm4-sec-shell { max-width: var(--fm4-content-max-width, var(--fm4-container-width, 1200px)) !important; margin-left: auto !important; margin-right: auto !important; width: 100% !important; box-sizing: border-box !important; }
  .fm4-block-wrap[data-fm4-container-style="full-bleed"],
  .fm4-block-style--full-bleed { padding-left: clamp(16px, 4vw, 40px); padding-right: clamp(16px, 4vw, 40px); }
  @media (max-width: 768px) { .fm4-cta-band--strip { flex-direction: column; align-items: stretch; } .fm4-cta-band__actions { width: 100%; } .fm4-btn { width: 100%; } }

/* === FM4 ENGINE EXTRACTED RUNTIME CAPTION & CARD GUARDS === */
#fm4-page .fm4-block-wrap.fm4-block-image_block .fm4-image-block-frame { position: relative !important; }
#fm4-page .fm4-block-wrap.fm4-block-image_block .fm4-image-block-frame:not([data-bld-surface="card"]) > .fm4-caption:not(.fm4-caption--manual) {
  position: absolute !important; left: 50% !important; right: auto !important; bottom: .75rem !important;
  width: max-content !important; max-width: calc(100% - 1.5rem) !important; transform: translateX(-50%) !important;
  box-sizing: border-box !important; margin: 0 !important; padding: .4rem .65rem !important;
  color: var(--fm4-text-color) !important; text-align: center !important;
  background: color-mix(in srgb, var(--fm4-surface-color) 76%, transparent) !important;
  -webkit-backdrop-filter: blur(14px) saturate(155%) !important; backdrop-filter: blur(14px) saturate(155%) !important;
  border: 1px solid color-mix(in srgb, var(--fm4-border-color) 76%, transparent) !important;
  border-radius: max(6px, calc(var(--fm4-global-radius, 12px) - 2px)) !important;
  box-shadow: 0 10px 28px color-mix(in srgb, var(--fm4-text-color) 14%, transparent) !important;
  opacity: 1 !important; overflow: hidden !important; z-index: 4 !important;
}
#fm4-page .fm4-block-wrap.fm4-block-image_block .fm4-image-block-frame:has(.fm4-img-overlay-text:not([data-fm4-live-empty="1"]):not(:empty)) > .fm4-caption:not(.fm4-caption--manual) {
  position: static !important; left: auto !important; right: auto !important; bottom: auto !important; transform: none !important;
  width: 100% !important; max-width: 100% !important; margin: .55rem 0 0 0 !important; padding: .45rem .65rem !important;
  display: flex !important; flex-wrap: wrap !important; align-items: baseline !important; justify-content: space-between !important; gap: .25rem .75rem !important;
  text-align: left !important; background: transparent !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
  border: 0 !important; border-radius: 0 !important; box-shadow: none !important; overflow: visible !important;
}
.fm4-gallery-grid > .fm4-block-wrap.fm4-block-image_block .fm4-image-block-frame > .fm4-caption:not(.fm4-caption--manual),
.fm4-story-stream > .fm4-block-wrap.fm4-block-image_block .fm4-image-block-frame > .fm4-caption:not(.fm4-caption--manual) {
  position: static !important; left: auto !important; right: auto !important; bottom: auto !important; transform: none !important;
  width: 100%; max-width: 100% !important; margin: 0; padding: .65rem .85rem;
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .25rem .75rem;
  text-align: left !important; font-family: var(--fm4-body-font) !important; font-size: var(--fm4-caption-size, .84rem) !important; line-height: 1.42 !important;
  color: var(--fm4-text-color) !important; background: var(--fm4-surface-color) !important;
  -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
  border: 0 !important; border-top: 1px solid var(--fm4-border-color) !important; border-radius: 0 !important; box-shadow: none !important; overflow: visible !important;
}
.fm4-story-stream > .fm4-block-wrap.fm4-block-image_block .fm4-image-block-frame > .fm4-caption:not(.fm4-caption--manual) {
  margin-top: .65rem; padding: 0; justify-content: space-between; text-align: left !important;
  font-family: var(--fm4-art-ui, var(--fm4-body-font)) !important; font-size: var(--fm4-caption-size, .84rem) !important; font-style: italic !important;
  color: var(--fm4-art-mute, color-mix(in srgb, var(--fm4-text-color) 72%, transparent)) !important; background: transparent !important; border-top: 0 !important;
}
#fm4-page .fm4-story-stream .fm4-caption-credit.fm4-caption-by { margin-left: auto !important; font-style: normal !important; }
body:not(.fm4-live-editing)#fm4-page .fm4-gallery-grid > .fm4-block-wrap.fm4-block-image_block .fm4-image-block-frame > .fm4-caption:empty,
body:not(.fm4-live-editing)#fm4-page .fm4-story-stream > .fm4-block-wrap.fm4-block-image_block .fm4-image-block-frame > .fm4-caption:empty,
body:not(.fm4-live-editing)#fm4-page .fm4-block-wrap.fm4-block-image_block .fm4-image-block-frame > .fm4-caption[data-fm4-live-empty="1"]:empty {
  display: none !important; background: transparent !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; border: 0 !important; box-shadow: none !important; padding: 0 !important;
}
#fm4-page .fm4-caption-credit.fm4-caption-by { color: color-mix(in srgb, var(--fm4-text-color) 68%, var(--fm4-surface-color)) !important; font-weight: 600 !important; font-size: .88em !important; }
#fm4-page .fm4-gallery-grid .fm4-caption-credit.fm4-caption-by { margin-left: auto !important; }
#fm4-page .fm4-gallery-grid .fm4-caption-sep, #fm4-page .fm4-story-stream .fm4-caption-sep { display: none !important; }
#fm4-page .fm4-block-wrap.fm4-block-image_block .fm4-image-block { position: relative !important; isolation: isolate !important; }
body:not(.fm4-live-editing) .fm4-cover-photo-credit--empty { display: none !important; }
body.fm4-live-editing :is(.fm4-cover-photo-credit, .fm4-cover-caption-by, .fm4-gallery-photo-credit, [data-fm4-cover-credit-trigger]):hover { outline: 1.5px dashed var(--fm4-primary-color) !important; outline-offset: 2px !important; }
#fm4-page .fm4-block-wrap.fm4-block-image_block .fm4-image-block--card,
#fm4-page .fm4-block-wrap.fm4-block-image_block .fm4-image-block--editorial,
#fm4-page .fm4-block-wrap.fm4-block-image_block .fm4-image-block--fit-cover,
#fm4-page .fm4-block-wrap.fm4-block-image_block .fm4-image-block--fit-contain { overflow: hidden !important; }
#fm4-page .fm4-block-wrap.fm4-block-image_block .fm4-img-overlay { z-index: 1 !important; pointer-events: none !important; }
#fm4-page .fm4-block-wrap.fm4-block-image_block .fm4-img-overlay-text { z-index: 3 !important; }
html body#fm4-page .fm4-news-front__guardian-pairs .fm4-news-front-card--guardian_pair:not([data-bld-grid="1"]),
html body#fm4-page .fm4-news-front-card--guardian_pair:not([data-bld-grid="1"]):not(.fm4-news-front__feature-companions *) { display: flex !important; flex-direction: column !important; gap: 0.65rem !important; align-items: stretch !important; }
html body#fm4-page .fm4-news-front-card h2,
html body#fm4-page .fm4-news-front-card h3 { word-break: normal !important; overflow-wrap: break-word !important; hyphens: var(--fm4-headline-hyphens, none) !important; -webkit-hyphens: var(--fm4-headline-hyphens, none) !important; }

/* === FM4 UNIVERSAL RHYTHM LIST & INTERLEAVED SLOTS (.fm4-rhythm) === */
.fm4-rhythm {
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 3vw, 2.35rem);
  width: 100%;
}
.fm4-rhythm-head {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  border-bottom: 1px solid var(--fm4-border-color, #e5e7eb);
  padding-bottom: 0.75rem;
}
/* FM4_RHYTHM_HEAD_EMPTY_V1 */
.fm4-rhythm-head.is-empty,
.fm4-rhythm-head:not(:has(.fm4-rhythm-head__kicker:not(:empty), .fm4-rhythm-head__title:not(:empty), .fm4-rhythm-head__sub:not(:empty))) {
  border-bottom: none;
  padding-bottom: 0;
}
body:not(.fm4-edit-mode):not(.fm4-live-active) .fm4-rhythm-head.is-empty,
body:not(.fm4-edit-mode):not(.fm4-live-active) .fm4-rhythm-head:not(:has(.fm4-rhythm-head__kicker:not(:empty), .fm4-rhythm-head__title:not(:empty), .fm4-rhythm-head__sub:not(:empty))) {
  display: none !important;
}
.fm4-rhythm-head__kicker {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--fm4-primary-color);
}
.fm4-rhythm-head__title {
  margin: 0;
  font-family: var(--fm4-heading-font);
  font-size: clamp(1.35rem, 2.5vw, 1.9rem);
  font-weight: 700;
  color: var(--fm4-text-color);
}
.fm4-rhythm-head__sub {
  margin: 0;
  font-size: 0.94rem;
  color: color-mix(in srgb, var(--fm4-text-color) 72%, var(--fm4-surface-color));
}
.fm4-rhythm-flow {
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 2.8vw, 2.25rem);
}

/* Shared card base (4 cohesive roles + briefs/typo) */
.fm4-rhythm-card {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  min-width: 0;
}
.fm4-rhythm-card__media {
  display: block;
  overflow: hidden;
  border-radius: var(--fm4-card-media-radius, var(--fm4-image-radius, var(--fm4-global-radius, 12px)));
  background: color-mix(in srgb, var(--fm4-surface-color) 92%, var(--fm4-text-color) 8%);
}
.fm4-rhythm-card__media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: inherit;
  transition: transform 0.28s ease;
}
.fm4-rhythm-card:hover .fm4-rhythm-card__media img {
  transform: scale(1.018);
}
.fm4-rhythm-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}
.fm4-rhythm-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.74rem;
  font-weight: 600;
  color: color-mix(in srgb, var(--fm4-text-color) 62%, var(--fm4-surface-color));
}
.fm4-rhythm-card__kicker {
  color: var(--fm4-primary-color);
  font-size: 0.74rem;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}
/* FM4_RHYTHM_DIRECT_DATE_V1 */
.fm4-rhythm-card__date {
  font-size: 0.74rem;
  line-height: 1.3;
  font-weight: 600;
  color: color-mix(in srgb, var(--fm4-text-color) 62%, var(--fm4-surface-color));
}
.fm4-rhythm-card__title {
  margin: 0;
  font-family: var(--fm4-heading-font);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.015em;
  color: var(--fm4-text-color);
  overflow-wrap: break-word;
  hyphens: none;
}
.fm4-rhythm-card__title a {
  color: inherit;
  text-decoration: none;
}
.fm4-rhythm-card__title a:hover {
  color: var(--fm4-primary-color);
}
.fm4-rhythm-card__excerpt {
  margin: 0.15rem 0 0;
  font-size: 0.94rem;
  line-height: 1.55;
  color: color-mix(in srgb, var(--fm4-text-color) 76%, var(--fm4-surface-color));
}
.fm4-rhythm-price {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--fm4-primary-color);
}
.fm4-rhythm-price__old {
  font-weight: 500;
  font-size: 0.84rem;
  color: color-mix(in srgb, var(--fm4-text-color) 54%, var(--fm4-surface-color));
}

/* Role 1: Hero & Feature Banner */
.fm4-rhythm-card--hero,
.fm4-rhythm-card--feature_banner {
  gap: 0.85rem;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid var(--fm4-border-color, #e5e7eb);
}
#fm4-page .fm4-rhythm-card--hero .fm4-rhythm-card__title {
  font-size: clamp(1.65rem, 3.2vw, 2.55rem) !important;
  line-height: 1.1 !important;
}
#fm4-page .fm4-rhythm-card--feature_banner .fm4-rhythm-card__title {
  font-size: clamp(1.38rem, 2.4vw, 2rem) !important;
  line-height: 1.14 !important;
}

/* Role 2: Uniform 2-col and 3-col Grids */
.fm4-rhythm-grid {
  display: grid;
  gap: clamp(1.1rem, 2.2vw, 1.65rem);
  align-items: start;
}
.fm4-rhythm-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.fm4-rhythm-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
#fm4-page .fm4-rhythm-card--card .fm4-rhythm-card__title {
  font-size: clamp(1.04rem, 1.35vw, 1.24rem) !important;
  line-height: 1.22 !important;
}
.fm4-rhythm-card--card.is-no-media {
  background: var(--fm4-surface-color);
  border: 1px solid var(--fm4-border-color);
  border-radius: var(--fm4-global-radius, 12px);
  padding: 1.1rem;
}

/* Role 3: Alternating 50/50 Split */
.fm4-rhythm-split-list {
  display: flex;
  flex-direction: column;
  gap: clamp(1.35rem, 2.6vw, 2rem);
}
.fm4-rhythm-card--split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1.15rem, 2.5vw, 2rem);
  align-items: center;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--fm4-border-color, #e5e7eb);
}
.fm4-rhythm-card--split.is-reversed .fm4-rhythm-card__media {
  order: 2;
}
.fm4-rhythm-card--split.is-reversed .fm4-rhythm-card__body {
  order: 1;
}
#fm4-page .fm4-rhythm-card--split .fm4-rhythm-card__title {
  font-size: clamp(1.25rem, 2.1vw, 1.72rem) !important;
  line-height: 1.16 !important;
}

/* Image-less Handling: Framed Briefs Band & Full-width Typo Card */
.fm4-rhythm-briefs {
  background: color-mix(in srgb, var(--fm4-surface-color) 94%, var(--fm4-primary-color) 6%);
  border-top: 2px solid var(--fm4-primary-color);
  border-bottom: 1px solid var(--fm4-border-color, #e5e7eb);
  border-radius: calc(var(--fm4-global-radius, 12px) * 0.5);
  padding: 1rem 1.15rem;
}
.fm4-rhythm-briefs__label {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--fm4-primary-color);
  margin-bottom: 0.65rem;
}
.fm4-rhythm-briefs__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.85rem 1.35rem;
}
.fm4-rhythm-card--brief {
  gap: 0.25rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px dashed var(--fm4-border-color);
}
.fm4-rhythm-card--brief:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
#fm4-page .fm4-rhythm-card--brief .fm4-rhythm-card__title {
  font-size: 0.98rem !important;
  line-height: 1.28 !important;
}
/* FM4_RHYTHM_TYPO_CARD_V6 */
.fm4-rhythm-card--typo {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.55rem;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--fm4-border-color);
  border-radius: 0;
  padding: 0.2rem 0 1.45rem 0;
}
.fm4-rhythm-card--typo-lead {
  padding: 0.35rem 0 clamp(1.5rem, 2.8vw, 2rem) 0;
}
.fm4-rhythm-card--typo .fm4-rhythm-card__body {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start;
  gap: 0.65rem;
  min-width: 0;
  width: 100%;
}
.fm4-rhythm-card--typo .fm4-rhythm-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  width: 100%;
}
#fm4-page .fm4-rhythm-card--typo .fm4-rhythm-card__title {
  margin: 0 !important;
  font-size: clamp(1.38rem, 2.4vw, 1.9rem) !important;
  line-height: 1.14 !important;
  text-wrap: pretty;
}
#fm4-page .fm4-rhythm-card--typo-lead .fm4-rhythm-card__title {
  font-size: clamp(1.75rem, 3.3vw, 2.55rem) !important;
  line-height: 1.09 !important;
}
.fm4-rhythm-card--typo .fm4-rhythm-card__excerpt {
  margin: 0 !important;
  max-width: 78ch;
  line-height: 1.55;
  text-wrap: pretty;
}
.fm4-rhythm-card__excerpt-link {
  color: inherit;
  text-decoration: none;
  display: inline;
  transition: color 0.16s ease;
}
.fm4-rhythm-card__excerpt-link:hover {
  color: var(--fm4-text-color);
}
.fm4-rhythm-card:has(.fm4-rhythm-card__excerpt-link:hover) .fm4-rhythm-card__title a {
  color: var(--fm4-primary-color);
}

/* Role 4: Compact News / Stream Rows */
.fm4-rhythm-rows {
  display: flex;
  flex-direction: column;
}
.fm4-rhythm-stream-target:empty {
  display: none !important;
}
/* FM4_RHYTHM_ROW_BLD_READY_V1: Keep shared row chrome on all rows, reserve hardcoded grid/valign/thumb overrides for non-BLD fallback */
#fm4-page .fm4-rhythm-card--row {
  padding: 0.75rem 0 !important;
  border-bottom: 1px solid var(--fm4-border-color) !important;
  background: transparent !important;
}
#fm4-page .fm4-rhythm-card--row:not([data-bld-grid="1"]) {
  display: grid !important;
  grid-template-columns: var(--fm4-row-thumb-width, 104px) minmax(0, 1fr) !important;
  gap: 0.9rem !important;
  align-items: var(--fm4-row-valign, var(--fm4-card-valign, center)) !important;
}
#fm4-page .fm4-rhythm-card--row:not([data-bld-grid="1"]).is-no-media {
  grid-template-columns: minmax(0, 1fr) !important;
}
#fm4-page .fm4-rhythm-card--row .fm4-rhythm-card__media {
  height: auto !important;
  aspect-ratio: var(--fm4-card-aspect, 4 / 3) !important;
  margin: 0 !important;
  flex-shrink: 0 !important;
  border-radius: var(--fm4-card-media-radius, var(--fm4-image-radius, var(--fm4-global-radius, 12px))) !important;
  overflow: hidden !important;
}
#fm4-page .fm4-rhythm-card--row:not([data-bld-grid="1"]) .fm4-rhythm-card__media {
  width: var(--fm4-row-thumb-width, 104px) !important;
  max-width: var(--fm4-row-thumb-width, 104px) !important;
}
#fm4-page .fm4-rhythm-card--row .fm4-rhythm-card__media img {
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: 4 / 3 !important;
  object-fit: cover !important;
  display: block !important;
  border-radius: inherit !important;
}
#fm4-page .fm4-rhythm-card--row .fm4-rhythm-card__title {
  font-size: 1rem !important;
  line-height: 1.3 !important;
  margin: 0 !important;
}

/* Interleaved Query Slots (Between bands & In-grid) */
.fm4-rhythm-slot--full {
  width: 100%;
}
.fm4-rhythm-slot--span-2 {
  grid-column: span 2;
}
.fm4-rhythm-slot--span-full {
  grid-column: 1 / -1;
}
.fm4-rhythm-slot--infobox,
.fm4-rhythm-slot--promo_banner,
.fm4-rhythm-slot--ranking_widget {
  border-radius: var(--fm4-global-radius, 12px);
  border: 1px solid var(--fm4-border-color, #e5e7eb);
  padding: 1.15rem 1.25rem;
  background: var(--fm4-surface-color);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.fm4-rhythm-slot--tone-tinted {
  background: color-mix(in srgb, var(--fm4-primary-color) 8%, var(--fm4-surface-color));
  border-color: color-mix(in srgb, var(--fm4-primary-color) 28%, var(--fm4-border-color));
}
.fm4-rhythm-slot--tone-accent {
  background: var(--fm4-primary-color);
  color: #ffffff;
  border-color: var(--fm4-primary-color);
}
.fm4-rhythm-slot--tone-accent .fm4-rhythm-slot__kicker,
.fm4-rhythm-slot--tone-accent .fm4-rhythm-slot__title,
.fm4-rhythm-slot--tone-accent .fm4-rhythm-slot__body,
.fm4-rhythm-slot--tone-accent .fm4-rhythm-slot__cta {
  color: #ffffff !important;
}
.fm4-rhythm-slot__media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--fm4-image-radius, var(--fm4-global-radius, 12px));
}
.fm4-rhythm-slot__kicker {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--fm4-primary-color);
  margin-bottom: 0.25rem;
}
.fm4-rhythm-slot__title {
  margin: 0 0 0.35rem;
  font-family: var(--fm4-heading-font);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--fm4-text-color);
}
.fm4-rhythm-slot__body {
  font-size: 0.9rem;
  line-height: 1.55;
  color: color-mix(in srgb, var(--fm4-text-color) 80%, var(--fm4-surface-color));
}
.fm4-rhythm-slot__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.65rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--fm4-primary-color);
  text-decoration: none;
}
.fm4-rhythm-slot__cta:hover {
  text-decoration: underline;
}

/* Multi-Mode Tabs & Thumbnail Items inside Ranking Widget (most_read_block, gallery_feed_block, moments_feed_block) */
#fm4-page .fm4-front-widget-header .fm4-rank-tabs,
#fm4-page .fm4-mini-band-header .fm4-rank-tabs {
  flex: 1 0 100%;
  width: 100%;
  margin: 0.55rem 0 0;
  order: 3;
}
#fm4-page .fm4-mini-band-header {
  flex-wrap: wrap !important;
}
.fm4-rank-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin: 0 0 0.75rem;
  padding: 0.22rem;
  background: color-mix(in srgb, var(--fm4-text-color) 5%, var(--fm4-surface-color));
  border: 1px solid var(--fm4-border-color, #e5e7eb);
  border-radius: calc(var(--fm4-global-radius, 10px) * 0.8);
}
.fm4-rank-tab {
  flex: 1 1 auto;
  padding: 0.32rem 0.55rem;
  font-family: var(--fm4-body-font);
  font-size: 0.72rem;
  font-weight: 600;
  border: 1px solid transparent;
  border-radius: calc(var(--fm4-global-radius, 10px) * 0.6);
  background: transparent;
  color: color-mix(in srgb, var(--fm4-text-color) 76%, var(--fm4-surface-color));
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}
.fm4-rank-tab:hover {
  color: var(--fm4-primary-color);
}
.fm4-rank-tab.is-active {
  background: var(--fm4-surface-color);
  color: var(--fm4-primary-color);
  border-color: var(--fm4-border-color, #cbd5e1);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
  font-weight: 700;
}
.fm4-front-most-read__item.has-thumb {
  display: grid;
  grid-template-columns: auto 52px minmax(0, 1fr);
  column-gap: 0.6rem;
  align-items: center;
}
.fm4-front-most-read__thumb {
  grid-row: span 2;
  width: 52px;
  height: 52px;
  border-radius: clamp(0px, calc(var(--fm4-card-media-radius, var(--fm4-image-radius, var(--fm4-global-radius, 8px))) * 0.65), 10px);
  overflow: hidden;
  display: block;
}
.fm4-front-most-read__thumb img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  display: block;
}
.fm4-front-most-read__price {
  color: var(--fm4-primary-color);
  font-weight: 700;
}

@media (max-width: 768px) {
  .fm4-rhythm-grid--2,
  .fm4-rhythm-grid--3 {
    grid-template-columns: minmax(0, 1fr);
  }
  .fm4-rhythm-slot--span-2 {
    grid-column: span 1;
  }
  .fm4-rhythm-card--split {
    grid-template-columns: minmax(0, 1fr);
  }
  .fm4-rhythm-card--split.is-reversed .fm4-rhythm-card__media,
  .fm4-rhythm-card--split.is-reversed .fm4-rhythm-card__body {
    order: initial;
  }
  /* FM4_RHYTHM_ROW_MOB_BLD_V1 */
  #fm4-page .fm4-rhythm-card--row {
    --fm4-row-thumb-width: 84px;
    padding: 0.75rem 0 !important;
  }
  #fm4-page .fm4-rhythm-card--row:not([data-bld-grid="1"]) {
    grid-template-columns: 84px minmax(0, 1fr) !important;
    gap: 0.85rem !important;
    align-items: stretch !important;
  }
  #fm4-page .fm4-rhythm-card--row:not([data-bld-grid="1"]).is-no-media {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  #fm4-page .fm4-rhythm-card--row:not([data-bld-grid="1"]) .fm4-rhythm-card__body {
    justify-content: center !important;
  }
  #fm4-page .fm4-rhythm-card--row:not([data-bld-grid="1"]) .fm4-rhythm-card__media {
    position: relative !important;
    width: 84px !important;
    max-width: 84px !important;
    height: auto !important;
    min-height: 88px !important;
    max-height: 112px !important;
    align-self: stretch !important;
    margin: 0 !important;
    isolation: isolate;
  }
  #fm4-page .fm4-rhythm-card--row:not([data-bld-grid="1"]) .fm4-rhythm-card__media img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    max-width: none !important;
    height: 100% !important;
    aspect-ratio: auto !important;
    object-fit: cover !important;
    border-radius: inherit !important;
  }
}

html body#fm4-page [data-rank-panel][hidden],
html body#fm4-page [data-rank-panel].is-rank-hidden,
html body#fm4-page .fm4-mini-posts-grid[data-rank-panel][hidden],
html body#fm4-page .fm4-mini-posts-grid[data-rank-panel].is-rank-hidden,
html body#fm4-page .fm4-front-galleries-list[data-rank-panel][hidden],
html body#fm4-page .fm4-front-galleries-list[data-rank-panel].is-rank-hidden,
html body#fm4-page .fm4-front-popular-galleries__list[data-rank-panel][hidden],
html body#fm4-page .fm4-front-popular-galleries__list[data-rank-panel].is-rank-hidden,
html body#fm4-page .fm4-front-most-read__list[data-rank-panel][hidden],
html body#fm4-page .fm4-front-most-read__list[data-rank-panel].is-rank-hidden {
  display: none !important;
}

/* FM4_ARTICLE_SERIES_STYLES_V1 */
/* Clickable Series Kickers (elevated above stretched card overlays) */
a.fm4-kicker-link {
  position: relative;
  z-index: 2;
  color: inherit;
  text-decoration: none;
  text-underline-offset: 0.22em;
  text-decoration-thickness: 1.5px;
  transition: color 0.16s ease, opacity 0.16s ease, text-decoration-color 0.16s ease;
}
a.fm4-kicker-link:hover {
  text-decoration: underline;
  color: var(--fm4-primary-color);
}
a.fm4-kicker-link:focus-visible {
  outline: 2px solid var(--fm4-primary-color);
  outline-offset: 2px;
  border-radius: calc(var(--fm4-global-radius, 12px) * 0.25);
}

/* Series Landing Page (/serie/{slug}/) & Series Overview (/serier/) */
.fm4-series-page {
  width: 100%;
  max-width: var(--fm4-container-width, 1200px);
  margin: var(--fm4-page-title-top-gap, 3.25rem) auto var(--fm4-section-gap, 3.5rem);
  padding-inline: var(--fm4-container-padding, clamp(1rem, 3vw, 2rem));
  box-sizing: border-box;
  font-family: var(--fm4-body-font);
  color: var(--fm4-text-color);
}
.fm4-series-hero {
  padding-bottom: var(--fm4-content-gap, 2.25rem);
  margin-bottom: var(--fm4-content-gap, 2.25rem);
  border-bottom: 1px solid var(--fm4-border-color);
}
.fm4-series-hero__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.15rem;
}
.fm4-series-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: color-mix(in srgb, var(--fm4-text-color) 74%, transparent);
  text-decoration: none;
  transition: color 0.16s ease;
}
.fm4-series-back:hover {
  color: var(--fm4-primary-color);
}
.fm4-series-count-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.24rem 0.7rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--fm4-primary-color);
  background: color-mix(in srgb, var(--fm4-primary-color) 12%, var(--fm4-surface-color));
  border: 1px solid color-mix(in srgb, var(--fm4-primary-color) 28%, var(--fm4-border-color));
}
.fm4-series-eyebrow {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--fm4-primary-color);
  margin-bottom: 0.65rem;
}
.fm4-series-title {
  font-family: var(--fm4-heading-font);
  font-size: clamp(1.75rem, 1.25rem + 2vw, 2.75rem);
  line-height: 1.15;
  font-weight: 800;
  text-wrap: balance;
  margin: 0 0 var(--fm4-heading-gap, 1.15rem);
  color: var(--fm4-text-color);
}
.fm4-series-desc {
  margin: 0;
  max-width: 65ch;
  font-size: 1.0625rem;
  line-height: 1.6;
  text-wrap: pretty;
  color: color-mix(in srgb, var(--fm4-text-color) 80%, transparent);
}
.fm4-series-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr));
  gap: 1.5rem;
}
.fm4-series-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--fm4-surface-color);
  border: 1px solid var(--fm4-border-color);
  border-radius: var(--fm4-global-radius, 12px);
  overflow: hidden;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.fm4-series-card:has(a.fm4-series-card__link:hover) {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--fm4-primary-color) 45%, var(--fm4-border-color));
  box-shadow: 0 10px 26px color-mix(in srgb, var(--fm4-text-color) 8%, transparent);
}
.fm4-series-card:has(a.fm4-series-card__link:focus-visible) {
  outline: 2px solid var(--fm4-primary-color);
  outline-offset: 2px;
}
.fm4-series-card__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--fm4-image-radius, var(--fm4-global-radius, 12px)) var(--fm4-image-radius, var(--fm4-global-radius, 12px)) 0 0;
}
.fm4-series-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1.15rem 1.25rem 1.35rem;
  flex: 1;
}
.fm4-series-card__meta {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
  font-size: 0.78rem;
  font-weight: 600;
  color: color-mix(in srgb, var(--fm4-text-color) 64%, transparent);
}
.fm4-series-card__part {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--fm4-primary-color);
}
.fm4-series-card__title {
  margin: 0;
  font-family: var(--fm4-heading-font);
  font-size: 1.2rem;
  line-height: 1.28;
  font-weight: 700;
  text-wrap: balance;
}
.fm4-series-card__link {
  color: var(--fm4-text-color);
  text-decoration: none;
}
.fm4-series-card__link:focus-visible {
  outline: none;
}
.fm4-series-card__link::after {
  content: "";
  position: absolute;
  inset: 0;
}
.fm4-series-card__excerpt {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  text-wrap: pretty;
  color: color-mix(in srgb, var(--fm4-text-color) 76%, transparent);
}
.fm4-series-empty {
  font-size: 1rem;
  color: color-mix(in srgb, var(--fm4-text-color) 72%, transparent);
}

/* In-Article Series Navigation Box */
.fm4-article-series-box {
  margin: var(--fm4-content-gap, 2.25rem) auto;
  max-width: var(--fm4-article-max-width, 760px);
  padding: 1.25rem 1.35rem;
  background: color-mix(in srgb, var(--fm4-primary-color) 5%, var(--fm4-surface-color));
  border: 1px solid color-mix(in srgb, var(--fm4-primary-color) 22%, var(--fm4-border-color));
  border-left: 3px solid var(--fm4-primary-color);
  border-radius: var(--fm4-global-radius, 12px);
  font-family: var(--fm4-body-font);
  color: var(--fm4-text-color);
}
.fm4-article-series-box__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.fm4-article-series-box__info {
  flex: 1 1 16rem;
  min-width: 0;
}
.fm4-article-series-box__eyebrow {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fm4-primary-color);
  margin-bottom: 0.3rem;
}
.fm4-article-series-box__title {
  margin: 0;
  font-family: var(--fm4-heading-font);
  font-size: 1.2rem;
  line-height: 1.25;
  font-weight: 750;
  text-wrap: balance;
}
.fm4-article-series-box__title a {
  color: var(--fm4-text-color);
  text-decoration: none;
}
.fm4-article-series-box__title a:hover {
  color: var(--fm4-primary-color);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.fm4-article-series-box__desc {
  margin: 0.4rem 0 0;
  font-size: 0.9rem;
  line-height: 1.5;
  text-wrap: pretty;
  color: color-mix(in srgb, var(--fm4-text-color) 76%, transparent);
}
.fm4-article-series-box__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.9rem;
  border-radius: var(--fm4-global-radius, 12px);
  background: var(--fm4-surface-color);
  border: 1px solid var(--fm4-border-color);
  color: var(--fm4-text-color);
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 0.16s ease, color 0.16s ease, background 0.16s ease;
}
.fm4-article-series-box__cta:hover {
  border-color: var(--fm4-primary-color);
  color: var(--fm4-primary-color);
}
.fm4-article-series-box__list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0.9rem 0 0;
  border-top: 1px solid color-mix(in srgb, var(--fm4-border-color) 70%, transparent);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  gap: 0.75rem;
}
.fm4-article-series-box__item-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem;
  border-radius: calc(var(--fm4-global-radius, 12px) * 0.75);
  background: color-mix(in srgb, var(--fm4-surface-color) 82%, transparent);
  border: 1px solid color-mix(in srgb, var(--fm4-border-color) 75%, transparent);
  text-decoration: none;
  color: var(--fm4-text-color);
  transition: border-color 0.16s ease, background 0.16s ease;
}
.fm4-article-series-box__item-link:hover {
  border-color: color-mix(in srgb, var(--fm4-primary-color) 48%, var(--fm4-border-color));
  background: var(--fm4-surface-color);
}
.fm4-article-series-box__thumb {
  flex: 0 0 5.25rem;
  width: 5.25rem;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: calc(var(--fm4-image-radius, var(--fm4-global-radius, 12px)) * 0.65);
}
.fm4-article-series-box__item-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}
.fm4-article-series-box__item-meta {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--fm4-primary-color);
}
.fm4-article-series-box__item-title {
  font-family: var(--fm4-heading-font);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.3;
  overflow-wrap: break-word;
}

/* ── FM4 Editorial Quote & Box Width + Style Modifiers ── */
:is(.fm4-article-body, .fm4-editorjs-content) :is(blockquote, .fm4-ejs-quote, .fm4-ejs-pullquote, aside, .fm4-ejs-factbox, .fm4-ejs-callout, .fm4-ejs-infobox, .fm4-ejs-table, .fm4-ejs-embed).fm4-figure--normal:not(.fm4-figure--size-lg):not(.fm4-figure--size-md):not(.fm4-figure--size-sm):not(.fm4-figure--size-xs):not([data-fm4-size="lg"]):not([data-fm4-size="md"]):not([data-fm4-size="sm"]):not([data-fm4-size="xs"]) {
  width: 100%;
  max-width: 100%;
  float: none !important;
}
:is(.fm4-article-body, .fm4-editorjs-content) :is(blockquote, .fm4-ejs-quote, .fm4-ejs-pullquote, aside, .fm4-ejs-factbox, .fm4-ejs-callout, .fm4-ejs-infobox, .fm4-ejs-table, .fm4-ejs-embed):is(.fm4-figure--size-lg, [data-fm4-size="lg"]):not(.fm4-figure--wide):not(.fm4-figure--full-bleed):not(.fm4-figure--left):not(.fm4-figure--right) {
  width: min(82%, 520px) !important;
  max-width: min(82%, 520px) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  float: none !important;
}
:is(.fm4-article-body, .fm4-editorjs-content) :is(blockquote, .fm4-ejs-quote, .fm4-ejs-pullquote, aside, .fm4-ejs-factbox, .fm4-ejs-callout, .fm4-ejs-infobox, .fm4-ejs-table, .fm4-ejs-embed):is(.fm4-figure--size-md, [data-fm4-size="md"]):not(.fm4-figure--wide):not(.fm4-figure--full-bleed):not(.fm4-figure--left):not(.fm4-figure--right) {
  width: min(65%, 420px) !important;
  max-width: min(65%, 420px) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  float: none !important;
}
:is(.fm4-article-body, .fm4-editorjs-content) :is(blockquote, .fm4-ejs-quote, .fm4-ejs-pullquote, aside, .fm4-ejs-factbox, .fm4-ejs-callout, .fm4-ejs-infobox, .fm4-ejs-table, .fm4-ejs-embed):is(.fm4-figure--size-sm, [data-fm4-size="sm"]):not(.fm4-figure--wide):not(.fm4-figure--full-bleed):not(.fm4-figure--left):not(.fm4-figure--right) {
  width: min(46%, 320px) !important;
  max-width: min(46%, 320px) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  float: none !important;
}
:is(.fm4-article-body, .fm4-editorjs-content) :is(blockquote, .fm4-ejs-quote, .fm4-ejs-pullquote, aside, .fm4-ejs-factbox, .fm4-ejs-callout, .fm4-ejs-infobox, .fm4-ejs-table, .fm4-ejs-embed):is(.fm4-figure--size-xs, [data-fm4-size="xs"]):not(.fm4-figure--wide):not(.fm4-figure--full-bleed):not(.fm4-figure--left):not(.fm4-figure--right) {
  width: min(32%, 220px) !important;
  max-width: min(32%, 220px) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  float: none !important;
}
/* Align narrowed inline quote right when right text alignment is chosen */
:is(.fm4-article-body, .fm4-editorjs-content) :is(blockquote, .fm4-ejs-quote):is(.fm4-figure--size-lg, .fm4-figure--size-md, .fm4-figure--size-sm, .fm4-figure--size-xs, [data-fm4-size="lg"], [data-fm4-size="md"], [data-fm4-size="sm"], [data-fm4-size="xs"]):is([data-fm4-align="right"], [style*="text-align: right"], [style*="text-align:right"]):not(.fm4-figure--left):not(.fm4-figure--right):not(.fm4-figure--wide):not(.fm4-figure--full-bleed) {
  margin-left: auto !important;
  margin-right: 0 !important;
}
/* Floated quote / box width steps */
:is(.fm4-article-body, .fm4-editorjs-content) :is(blockquote, .fm4-ejs-quote, .fm4-ejs-pullquote, aside, .fm4-ejs-factbox, .fm4-ejs-callout, .fm4-ejs-infobox):is(.fm4-figure--left, .fm4-figure--right):is(.fm4-figure--size-lg, [data-fm4-size="lg"]) {
  width: min(56%, 430px) !important;
  max-width: min(56%, 430px) !important;
}
:is(.fm4-article-body, .fm4-editorjs-content) :is(blockquote, .fm4-ejs-quote, .fm4-ejs-pullquote, aside, .fm4-ejs-factbox, .fm4-ejs-callout, .fm4-ejs-infobox):is(.fm4-figure--left, .fm4-figure--right):is(.fm4-figure--size-md, [data-fm4-size="md"]) {
  width: min(44%, 340px) !important;
  max-width: min(44%, 340px) !important;
}
:is(.fm4-article-body, .fm4-editorjs-content) :is(blockquote, .fm4-ejs-quote, .fm4-ejs-pullquote, aside, .fm4-ejs-factbox, .fm4-ejs-callout, .fm4-ejs-infobox):is(.fm4-figure--left, .fm4-figure--right):is(.fm4-figure--size-sm, [data-fm4-size="sm"]) {
  width: min(32%, 250px) !important;
  max-width: min(32%, 250px) !important;
}
/* Wide & Full-bleed for quotes, factboxes, callouts, tables */
:is(.fm4-article-body, .fm4-editorjs-content) :is(blockquote, .fm4-ejs-quote, .fm4-ejs-pullquote, aside, .fm4-ejs-factbox, .fm4-ejs-callout, .fm4-ejs-infobox, .fm4-ejs-table).fm4-figure--wide {
  width: min(100vw - 2.5rem, 960px) !important;
  max-width: min(100vw - 2.5rem, 960px) !important;
  margin-left: calc(50% - min(50vw - 1.25rem, 480px)) !important;
  margin-right: calc(50% - min(50vw - 1.25rem, 480px)) !important;
  float: none !important;
}
:is(.fm4-article-body, .fm4-editorjs-content) :is(blockquote, .fm4-ejs-quote, .fm4-ejs-pullquote, aside, .fm4-ejs-factbox, .fm4-ejs-callout, .fm4-ejs-infobox, .fm4-ejs-table).fm4-figure--full-bleed {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  padding-inline: clamp(1.25rem, 4vw, 3rem) !important;
  border-radius: 0 !important;
  float: none !important;
}
/* Quote style variants override default/floated border cleanly */
:is(.fm4-article-body, .fm4-editorjs-content) :is(blockquote, .fm4-ejs-quote).fm4-quote--minimal {
  border-left: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  background: transparent !important;
}
:is(.fm4-article-body, .fm4-editorjs-content) :is(blockquote, .fm4-ejs-quote).fm4-quote--centered {
  border-left: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  background: transparent !important;
}
:is(.fm4-article-body, .fm4-editorjs-content) :is(blockquote, .fm4-ejs-quote).fm4-quote--card {
  border-left: 4px solid var(--fm4-primary-color) !important;
  border-radius: var(--fm4-ejs-quote-radius, var(--fm4-global-radius, 12px)) !important;
  background: var(--fm4-ejs-quote-bg, color-mix(in srgb, var(--fm4-primary-color) 6%, var(--fm4-surface-color))) !important;
  padding: 1.1em 1.3em !important;
}
:is(.fm4-article-body, .fm4-editorjs-content) :is(blockquote, .fm4-ejs-quote).fm4-quote--border-left {
  background: transparent !important;
}
@media (max-width: 768px) {
  :is(.fm4-article-body, .fm4-editorjs-content) :is(blockquote, .fm4-ejs-quote, .fm4-ejs-pullquote, aside, .fm4-ejs-factbox, .fm4-ejs-callout, .fm4-ejs-infobox, .fm4-ejs-table):is(.fm4-figure--size-lg, .fm4-figure--size-md, .fm4-figure--size-sm, .fm4-figure--size-xs, .fm4-figure--left, .fm4-figure--right, .fm4-figure--wide, [data-fm4-size]) {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    float: none !important;
  }
}

/* FM4_UNIFIED_SHELL_RAIL_V1 */
/* Unified Site Designer Horizontal Rail:
   Utility Ribbon, Header/Logo, Main/Editorial Grid, and Footer strictly share
   --fm4-container-width and --fm4-site-padding with zero double-padding. */
:root {
  --fm4-shell-pad: var(--fm4-site-padding, 1.25rem);
}
@media (max-width: 768px) {
  :root {
    --fm4-shell-pad: min(var(--fm4-site-padding, 1.25rem), 1.25rem);
  }
}

html body#fm4-page .fm4-utility-ribbon__inner,
.fm4-utility-ribbon__inner {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: var(--fm4-container-width, 1200px) !important;
  margin-inline: auto !important;
  padding-inline: var(--fm4-shell-pad) !important;
}

html body#fm4-page .fm4-site-header .fm4-header-inner,
.fm4-header-inner {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: var(--fm4-container-width, 1200px) !important;
  margin-inline: auto !important;
  padding-inline: var(--fm4-shell-pad) !important;
}

body#fm4-page > .fm4-main {
  padding-inline: var(--fm4-shell-pad);
}
body#fm4-page > .fm4-main:has(> .fm4-layout-grid),
.fm4-main:has(> .fm4-layout-grid) {
  padding-inline: 0 !important;
}
body#fm4-page > .fm4-main:has(> .fm4-layout-grid) > .fm4-hero-cover,
.fm4-main:has(> .fm4-layout-grid) > .fm4-hero-cover {
  margin-inline: 0 !important;
  width: 100% !important;
}

html body#fm4-page .fm4-layout-grid,
.fm4-layout-grid {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: var(--fm4-container-width, 1200px) !important;
  margin-inline: auto !important;
  padding-inline: var(--fm4-shell-pad) !important;
}

html body#fm4-page .fm4-site-footer,
.fm4-site-footer {
  box-sizing: border-box !important;
  padding-inline: 0 !important;
}
html body#fm4-page .fm4-site-footer .fm4-footer-nav > ul.fm4-nav,
html body#fm4-page .fm4-site-footer p,
html body#fm4-page .fm4-site-footer [data-fm4-field="footer_text"],
html body#fm4-page .fm4-site-footer .fm4-zone-footer_top,
html body#fm4-page .fm4-site-footer .fm4-zone-footer_columns,
html body#fm4-page .fm4-site-footer .fm4-zone-footer_bottom,
html body#fm4-page .fm4-site-footer .fm4-placement-slot--footer {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: var(--fm4-container-width, 1200px) !important;
  margin-inline: auto !important;
  padding-inline: var(--fm4-shell-pad) !important;
}
/* END FM4_UNIFIED_SHELL_RAIL_V1 */
