/* Filmmaster restyle — "dark stage": black-dominant look for an events agency.
   Loaded after the theme CSS; effects live in fm-restyle.js. */
:root {
  --fm-black: #050505;
  --fm-ink: #0b0b0d;
  --fm-panel: #111114;
  --fm-line: rgba(255, 255, 255, .09);
  --fm-text: #ece8e1;
  --fm-muted: rgba(236, 232, 225, .62);
  --fm-red: #ff3219;
  --fm-red-deep: #e82906;
  --fm-glow: rgba(255, 50, 25, .38);
  --fm-warm: rgba(255, 217, 160, .09);
  --fm-ease: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- base ---------- */
html, body { background: var(--fm-black) !important; color: var(--fm-text); }
body { -webkit-font-smoothing: antialiased; }
::selection { background: var(--fm-red); color: #fff; }
html { scrollbar-color: var(--fm-red) var(--fm-black); scrollbar-width: thin; }
::-webkit-scrollbar { width: 8px; background: var(--fm-black); }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--fm-red), #7a0f05); border-radius: 8px; }

p, li, label, h1, h2, h3, h4, h5, h6, dt, dd, blockquote, figcaption, td, th { color: inherit; }
section, .section-pad, .bg-color-grey, .headquarter-section, main, article { background-color: transparent !important; }
.bg-color-black { background-color: var(--fm-ink) !important; }
hr { border-color: var(--fm-line); opacity: 1; }

/* ---------- typography ---------- */
.title-1, .title-2, .title-4.black, .people-item .pi-body .p-name, .clear-filters-btn,
.form-messages.black, .headquarter-section .site-header span { color: var(--fm-text) !important; }
.title-1 span, .title-2 span, .title-3, .cstm-title-2, .people-item .pi-body .p-role,
.headquarter-section .site-body p span { color: var(--fm-red) !important; }
.title-1, .title-2 { letter-spacing: -.015em; text-wrap: balance; }
.title-1 span, .title-2 span { text-shadow: 0 0 40px var(--fm-glow); }
/* the word-by-word reveal wraps every word in spans: they take the colour and glow of where they sit
   (red only inside the title's own red <span>) instead of matching the rule above */
.title-1 .fm-w, .title-2 .fm-w, .title-1 .fm-w > span, .title-2 .fm-w > span { color: inherit !important; text-shadow: inherit; }
.cstm-title-2:before, .cstm-title-2:after, .people-item .pi-body .corner:before,
.people-item .pi-body .corner:after { background-color: var(--fm-red) !important; }
.title-5, .title-6 { color: var(--fm-text) !important; }
.title-6 { opacity: .86; }
.custom-about-timeline-number, .custom-about-glance-number {
  color: var(--fm-red) !important; text-shadow: 0 0 34px var(--fm-glow);
}
.lazy_wrapper { background-color: var(--fm-panel) !important; }
section p { color: var(--fm-muted); }

/* filters (awards, listings) */
.custom-button-filters {
  color: var(--fm-text) !important; background: transparent !important;
  border: 1px solid var(--fm-line) !important; border-radius: 999px; padding-inline: 1.1em;
  transition: border-color .3s, color .3s, box-shadow .3s;
}
.custom-button-filters:hover, .custom-button-filters[aria-expanded="true"] {
  color: #fff !important; border-color: var(--fm-red) !important; box-shadow: 0 0 24px -4px var(--fm-glow);
}
a { transition: color .3s var(--fm-ease); }
a:hover { color: var(--fm-red); }

/* ---------- page width ----------
   iPhone Safari ignores overflow-x on body: anything a few pixels too wide let the whole page slide sideways
   (black strip on the right). Clipping on html keeps the page at screen width; clip, unlike hidden, keeps
   position: sticky working. */
html { overflow-x: clip; }
@supports not (overflow-x: clip) { html { overflow-x: hidden; } }
/* Awards: the wide gutter of the cards' row is wider than the container padding on phones (12px past the screen) */
@media (max-width: 767.98px) { .awards-mixer.gx-5 { --bs-gutter-x: 1.5rem; } }

/* ---------- language switch (EN | IT) in the header ---------- */
.fm-lang { display: flex; align-items: center; gap: 2px; margin-right: 18px; font-size: 12px; letter-spacing: .12em; }
.fm-lang a { padding: 4px 6px; color: inherit; opacity: .55; text-decoration: none; }
.fm-lang a.is-on { opacity: 1; color: #e82906; }
.fm-lang a:hover { opacity: 1; }
@media (max-width: 767px) {
  .fm-lang { margin-right: 4px; gap: 0; font-size: 11px; letter-spacing: .08em; }
  .fm-lang a { padding: 4px 3px; }
}

/* ---------- header ---------- */
nav.navbar {
  background: rgba(5, 5, 5, .55) !important;
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 0;
  transition: background .4s var(--fm-ease), padding .4s var(--fm-ease), box-shadow .4s;
}
html.fm-scrolled nav.navbar { background: rgba(5, 5, 5, .86) !important; box-shadow: 0 10px 40px -10px rgba(0, 0, 0, .8); }
nav .menu-button .menu-line { background-color: var(--fm-text) !important; }
.search-icon img, .marquee-content.let-s-talk img { filter: invert(1) hue-rotate(180deg); }
.main-logo img { transition: filter .4s, transform .4s var(--fm-ease); }
.main-logo:hover img { filter: drop-shadow(0 0 14px var(--fm-glow)); transform: scale(1.03); }

/* menus & search */
.main-menu-desktop .column-left, .main-menu-desktop .column-right,
.main-menu-desktop [class*="column-right"]:not([class*="-as"]),
.main-menu-mobile, .search-bar-wrapper { background-color: var(--fm-ink) !important; }
.main-menu-desktop .column-left ul a, .main-menu-desktop [class*="column-right"] ul a,
.main-menu-mobile .bottom-list ul a { color: var(--fm-text) !important; position: relative; }
.main-menu-desktop .column-left ul a.active, .main-menu-desktop .column-left ul a:hover,
.main-menu-desktop [class*="column-right"] ul a:hover { color: var(--fm-red) !important; text-shadow: 0 0 30px var(--fm-glow); }
.search-bar-wrapper input, .search-bar-wrapper .search-field { background: transparent !important; color: var(--fm-text) !important; border-bottom-color: rgba(255, 255, 255, .25) !important; }

/* ---------- hero ---------- */
.main-header { position: relative; overflow: hidden; }
.main-header:after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 35%; pointer-events: none; z-index: 2;
  background: linear-gradient(to bottom, transparent, var(--fm-black));
}
.main-header .text-anim-wrap .text-content { text-shadow: 0 0 60px rgba(0, 0, 0, .9), 0 0 24px rgba(255, 50, 25, .25); }

/* ---------- event cards: "in the dark until lit" ---------- */
.main-customer .wrap-in {
  display: block; position: relative; overflow: hidden; border-radius: 6px;
  transform-style: preserve-3d; will-change: transform;
  transition: transform .6s var(--fm-ease), box-shadow .6s var(--fm-ease);
}
.main-customer .wrap-in img:not(.emc-logo img) {
  filter: grayscale(.55) brightness(.62) contrast(1.08);
  transform: scale(1.02);
  transition: filter .9s var(--fm-ease), transform 1.4s var(--fm-ease);
}
.main-customer .wrap-in:after { /* moving glare, positioned by JS */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .5s;
  background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 230, 190, .22), transparent 55%);
  mix-blend-mode: screen;
}
.main-customer .wrap-in:hover:after { opacity: 1; }
.main-customer .wrap-in:hover { box-shadow: 0 0 0 1px rgba(255, 50, 25, .55), 0 40px 90px -30px var(--fm-glow); }
.main-customer .wrap-in:hover img:not(.emc-logo img) { filter: none; transform: scale(1.08); }
.main-customer .wrap-in .event-miniature-content { transition: transform .7s var(--fm-ease); }
.main-customer .wrap-in:hover .event-miniature-content { transform: translateZ(40px); }
.main-customer .wrap-in .event-miniature-content .emc-cta {
  border-color: rgba(255, 255, 255, .7) !important; border-radius: 999px; letter-spacing: .25em;
  transition: background .35s, border-color .35s, color .35s, box-shadow .35s;
}
.main-customer:hover .wrap-in .emc-cta, .main-customer .wrap-in:hover .emc-cta {
  background: var(--fm-red) !important; border-color: var(--fm-red) !important; color: #fff !important;
  box-shadow: 0 0 30px var(--fm-glow);
}
.main-customer:hover .wrap-in .customer-link { background-color: var(--fm-red) !important; color: #fff !important; }

/* ---------- buttons ---------- */
.button-1, .custom-btn, .wpforms-submit, button[type="submit"], input[type="submit"] {
  position: relative; overflow: hidden; border-radius: 999px !important; letter-spacing: .12em;
}
.button-1:before, .wpforms-submit:before {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent);
  transform: skewX(-20deg); transition: left .8s var(--fm-ease);
}
.button-1:hover:before, .wpforms-submit:hover:before { left: 130%; }
.button-1.button-1-fill-white-to-red:hover, .custom-btn:not(.collapsed) { box-shadow: 0 0 34px var(--fm-glow); }
.custom-btn:not(.collapsed) { background-color: var(--fm-red) !important; }

/* ---------- headquarters / panels ---------- */
.headquarter-section .site-item {
  background-color: var(--fm-panel) !important; border: 1px solid var(--fm-line); border-radius: 8px;
  transition: transform .6s var(--fm-ease), border-color .4s, box-shadow .6s;
}
.headquarter-section .site-item:hover { transform: translateY(-6px); border-color: rgba(255, 50, 25, .5); box-shadow: 0 30px 70px -30px var(--fm-glow); }
.headquarter-section .site-body, .headquarter-section .site-body p { color: var(--fm-muted); }
.headquarter-section .site-item:after, .headquarter-section .site-item:before { background-color: var(--fm-red) !important; }
.people-item { transition: transform .6s var(--fm-ease); }
.people-item:hover { transform: translateY(-6px); }

/* breadcrumb */
.breadcrumb-page .breadcrumb-item, .breadcrumb-page .breadcrumb-item a { color: var(--fm-muted) !important; }
.breadcrumb-page .breadcrumb-item.active { color: var(--fm-red) !important; }
.breadcrumb-item + .breadcrumb-item:before { color: rgba(255, 255, 255, .25) !important; }

/* ---------- forms ---------- */
input, textarea, select, .wpforms-field input, .wpforms-field textarea, .wpforms-field select {
  background-color: transparent !important; color: var(--fm-text) !important;
  border-color: rgba(255, 255, 255, .22) !important;
}
input:focus, textarea:focus, select:focus { border-color: var(--fm-red) !important; box-shadow: 0 0 0 3px rgba(255, 50, 25, .18) !important; outline: none; }
::placeholder { color: rgba(236, 232, 225, .4) !important; }
.wpforms-container label, .wpforms-field-label { color: var(--fm-text) !important; }
.wpforms-submit { background: var(--fm-red) !important; border-color: var(--fm-red) !important; color: #fff !important; }
.choices__inner, .choices__list--dropdown, .choices__list[aria-expanded], .wpforms-uploader {
  background: var(--fm-panel) !important; color: var(--fm-text) !important; border-color: rgba(255, 255, 255, .22) !important;
}
.choices__list--dropdown .choices__item--selectable.is-highlighted { background: rgba(255, 50, 25, .16) !important; }
.choices__item, .choices__placeholder { color: var(--fm-muted) !important; opacity: 1 !important; }

/* bootstrap cards (insight teasers) */
.card {
  background-color: var(--fm-panel) !important; border: 1px solid var(--fm-line) !important; color: var(--fm-text);
  border-radius: 8px !important; overflow: hidden; transition: transform .6s var(--fm-ease), border-color .4s, box-shadow .6s;
}
.card:hover { transform: translateY(-6px); border-color: rgba(255, 50, 25, .5) !important; box-shadow: 0 30px 70px -30px var(--fm-glow); }
.card .card-body, .card .card-body p { color: var(--fm-text) !important; }
.wpforms-uploader { border-style: dashed !important; transition: border-color .3s, box-shadow .3s; }
.wpforms-uploader:hover { border-color: var(--fm-red) !important; box-shadow: 0 0 30px -8px var(--fm-glow); }

/* ---------- footer ---------- */
footer { background: #000 !important; position: relative; border-top: 1px solid var(--fm-line); }
footer:before {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--fm-red), transparent);
  box-shadow: 0 0 24px 2px var(--fm-glow);
}
footer ul a, footer .footer-title { color: var(--fm-text) !important; }
footer ul a:hover { color: var(--fm-red) !important; }
.sub-footer { background: #000 !important; border-top: 1px solid var(--fm-line); }
.sub-footer p, .sub-footer p a { color: var(--fm-muted) !important; }

/* ---------- effect layers (created by JS) ---------- */
.fm-progress {
  position: fixed; left: 0; top: 0; height: 2px; width: 100%; z-index: 2147483000; pointer-events: none;
  background: linear-gradient(90deg, #7a0f05, var(--fm-red), #ffb199);
  transform-origin: 0 50%; transform: scaleX(var(--p, 0)); box-shadow: 0 0 12px var(--fm-glow);
}
.fm-ambient {
  position: fixed; inset: 0; z-index: 2147482000; pointer-events: none; mix-blend-mode: screen;
  background: radial-gradient(560px circle at var(--mx, 50%) var(--my, 30%), var(--fm-warm), transparent 62%);
}
.fm-grain {
  position: fixed; inset: -50%; z-index: 2147482500; pointer-events: none; opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: fm-grain 1.2s steps(6) infinite;
}
@keyframes fm-grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-4%, 3%); } 40% { transform: translate(3%, -5%); }
  60% { transform: translate(-6%, -2%); } 80% { transform: translate(5%, 4%); } 100% { transform: translate(0, 0); }
}

/* custom cursor */
html.fm-cursor-on, html.fm-cursor-on a, html.fm-cursor-on button, html.fm-cursor-on [role="button"] { cursor: none; }
html.fm-cursor-on input, html.fm-cursor-on textarea, html.fm-cursor-on select { cursor: text; }
.fm-cursor, .fm-cursor-dot { position: fixed; left: 0; top: 0; z-index: 2147483100; pointer-events: none; border-radius: 50%; }
.fm-cursor {
  width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 1px solid rgba(255, 255, 255, .55);
  display: flex; align-items: center; justify-content: center;
  font: 600 10px/1 "sf_pro_display", "Helvetica Neue", Arial, sans-serif; letter-spacing: .2em; color: transparent;
  transition: width .35s var(--fm-ease), height .35s var(--fm-ease), margin .35s var(--fm-ease),
    background .35s, border-color .35s, color .25s, opacity .3s;
}
.fm-cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--fm-red); box-shadow: 0 0 12px var(--fm-glow); }
.fm-cursor.is-link { width: 62px; height: 62px; margin: -31px 0 0 -31px; border-color: var(--fm-red); background: rgba(255, 50, 25, .08); }
.fm-cursor.is-hidden, .fm-cursor-dot.is-hidden { opacity: 0; }

/* scroll reveal */
.fm-reveal { opacity: 0; transform: translateY(46px); filter: blur(8px);
  transition: opacity 1.1s var(--fm-ease), transform 1.1s var(--fm-ease), filter 1.1s var(--fm-ease);
  transition-delay: var(--d, 0ms); }
.fm-reveal.fm-in { opacity: 1; transform: none; filter: none; }
.fm-w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .06em; margin-bottom: -.06em; }
.fm-w > span { display: inline-block; transform: translateY(108%); transition: transform 1s var(--fm-ease); transition-delay: calc(var(--i, 0) * 55ms + var(--d, 0ms)); }
.fm-split.fm-in .fm-w > span { transform: none; }
.fm-split.fm-done .fm-w { overflow: visible; }
.fm-split.fm-reveal { filter: none; transform: none; opacity: 1; }

/* page transitions: curtain lifts on load, drops on internal navigation */
body:before {
  content: ""; position: fixed; inset: 0; z-index: 2147483300; pointer-events: none;
  background: var(--fm-black) linear-gradient(var(--fm-red), var(--fm-red)) no-repeat 50% 100% / 100% 2px;
  animation: fm-curtain-up .9s cubic-bezier(.76, 0, .24, 1) .05s forwards;
}
html.fm-leaving body:before { animation: fm-curtain-down .5s cubic-bezier(.76, 0, .24, 1) forwards; }
@keyframes fm-curtain-up { from { transform: translateY(0); } to { transform: translateY(-101%); } }
@keyframes fm-curtain-down { from { transform: translateY(101%); } to { transform: translateY(0); } }

@media (prefers-reduced-motion: reduce) {
  body:before, html.fm-leaving body:before { animation: none; display: none; }
  .fm-grain { animation: none; }
  .fm-reveal, .fm-w > span { transition: none !important; opacity: 1 !important; transform: none !important; filter: none !important; }
}

/* View more: only the red corners and the red +, no white square around them (Filmmaster, 2026-11-02) */
.button-view-more .square, .button-view-more-insight .square { border-color: transparent !important; }

/* category heroes: a fixed claim instead of the letters composing the words (Filmmaster, 2026-11-02) */
/* the same size on the fixed pages with a photo header (about, insight, awards) */
.header-section .hs-title { font-size: clamp(34px, 5vw, 88px); line-height: 1; }
.header-section .hs-title.fm-hs-claim { font-size: clamp(34px, 5vw, 88px); line-height: 1; text-align: center;
  max-width: 12.5em; margin-left: auto; margin-right: auto; text-wrap: balance; }


/* ===== New copy and layout approved on 2026-11-19 (Filmmaster): rules that used to sit inside the CMS pages ===== */

/* red titles follow the screen width on phones, so long words never run off the screen */
@media (max-width: 767px) {
  body.home .title-3, body.page-template-page-about .title-3, body.page-template-page-insight .title-3,
  body.page-template-page-awards-new .title-3, body.page-id-162 .title-3 { font-size: clamp(26px, 8.5vw, 40px); overflow-wrap: break-word; }
}

/* home, desktop: the claim sits under the video, where it fades to black, inside the first screen */
@media (min-width: 992px) {
  body.home .main-header { height: 78vh; }
  body.home .main-header:before { background: linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,.15) 45%, rgba(0,0,0,.55) 72%, #050505 100%); }
  body.home #manifesto .custom-home-title-1 { position: absolute; left: 0; right: 0; top: calc(100vh - 40px); transform: translateY(-100%);
    z-index: 20; margin: 0 auto; max-width: none; font-size: clamp(40px, min(5.4vw, 9vh), 84px); }
  /* the red part goes on its own line; the words themselves are wrapped in .fm-w spans by fm-restyle.js */
  body.home #manifesto .custom-home-title-1 > span:not(.fm-w) { display: block; }
  body.home .main-header .scroll-down { display: none; }
  body.home section#manifesto.fm-manifesto { padding-top: calc(22vh + 70px) !important; }
  body.home .main-header .fm-reel-btn { bottom: 64px; }
}

/* small helpers used by the page texts */
.fm-red { color: var(--fm-red); }
.fm-gap { margin: 0 0 1em; }
.fm-contact .fm-contact-sub { margin: 0 0 28px; }
.custom-statement .fm-statement-sub { display: inline-block; margin-top: .5em; text-transform: none; font-size: .6em; font-weight: 400; color: #fff; }

/* category pages: the intro title is a sentence, so it is smaller than the other red titles; paragraphs breathe */
body.tax-events_categories .section-pad .title-3 { font-size: clamp(26px, 3.2vw, 42px); line-height: 1.2; }
body.tax-events_categories .section-pad p + p { margin-top: 1em; }
/* Private has no projects: intro and closing line read as one block */
body.term-private section.section-pad { padding-bottom: 36px !important; }
body.term-private section.section-pad.no-overflow { padding-top: 0 !important; padding-bottom: 100px !important; }

/* awards (20/11/2026): one filter with three buttons (all / live / media), cards with smaller, lighter type */
#awards.fm-aw .fm-aw-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 clamp(36px, 4vw, 56px); }
#awards.fm-aw .fm-aw-tab { padding: 10px 22px; border: 1px solid rgba(255,255,255,.45); border-radius: 999px; background: none; color: #fff;
  font-size: 12px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; line-height: 1.2; cursor: pointer; transition: background .2s, border-color .2s; }
#awards.fm-aw .fm-aw-tab:hover { border-color: #e82906; }
#awards.fm-aw .fm-aw-tab.is-on { background: #e82906; border-color: #e82906; }
#awards.fm-aw .fm-aw-tab:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
#awards.fm-aw[data-fm-aw="live"] .award-item:not(.fm-aw-live), #awards.fm-aw[data-fm-aw="media"] .award-item:not(.fm-aw-media) { display: none !important; }
/* the event first, its awards listed below, one per line */
#awards.fm-aw .award-content { display: flex; flex-direction: column; }
#awards.fm-aw .award-content .h1 { order: 1; margin-bottom: 8px !important; font-size: clamp(17px, 1.35vw, 20px); font-weight: 500; line-height: 1.3; letter-spacing: 0; }
#awards.fm-aw .award-content .text-red { order: 2; margin-bottom: 0 !important; font-size: 11.5px; font-weight: 600; letter-spacing: .2em; line-height: 1.9; text-transform: uppercase; }
#awards.fm-aw .award-content p { order: 3; }
#awards.fm-aw .award-content .h1 span { text-decoration: none !important; }
#awards.fm-aw a.award-main-wrapper .h1 { transition: color .2s; }
#awards.fm-aw a.award-main-wrapper:hover .h1 { color: #e82906; }
#awards.fm-aw .award-content p:empty, #awards.fm-aw .award-content p.lh-sm { margin: 0; }
#awards.fm-aw .award-img-wrapper { margin-bottom: 14px !important; }

/* ---- Menu a lato (promosso il 20/11/2026). Il pannello è costruito da fm-restyle.js con le voci del menu del tema, che resta nascosto. ---- */
html.fm-menu-lato .main-menu-desktop, html.fm-menu-lato .main-menu-mobile { display: none !important; }
.fm-side-back { position: fixed; inset: 0; background: rgba(0,0,0,.6); opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s; z-index: 99998; }
.fm-side { position: fixed; top: 0; right: 0; bottom: 0; left: auto; height: auto; margin: 0; width: min(430px, 88vw); background: #0a0a0a; border-left: 1px solid rgba(255,255,255,.12);
  transform: translateX(100%); visibility: hidden; transition: transform .38s cubic-bezier(.2,.7,.2,1), visibility .38s; z-index: 99999;
  overflow-y: auto; overscroll-behavior: contain; padding: 22px 44px 44px; box-sizing: border-box; text-align: left; }
html.fm-side-open .fm-side-back { opacity: 1; visibility: visible; }
html.fm-side-open .fm-side { transform: none; visibility: visible; }
html.fm-side-open, html.fm-side-open body { overflow: hidden; }
.fm-side-close { display: block; margin: 0 -10px 26px auto; width: 44px; height: 44px; padding: 0; border: 0; background: none; position: relative; cursor: pointer; }
.fm-side-close:before, .fm-side-close:after { content: ""; position: absolute; left: 8px; right: 8px; top: 21px; height: 2px; background: #fff; transform: rotate(45deg); transition: background .2s; }
.fm-side-close:after { transform: rotate(-45deg); }
.fm-side-close:hover:before, .fm-side-close:hover:after { background: #e82906; }
.fm-side ul { list-style: none; margin: 0; padding: 0; }
.fm-side-list > li > a, .fm-side-label { display: block; padding: 9px 0; font-size: clamp(22px, 2.1vw, 27px); line-height: 1.15; font-weight: 700; color: #fff; text-decoration: none; transition: color .2s, transform .2s; }
.fm-side-sec { margin: 6px 0 10px; }
.fm-side-sub { margin: 4px 0 8px 2px !important; padding-left: 20px !important; border-left: 2px solid #e82906; }
.fm-side-sub a { display: block; padding: 7px 0; font-size: 17px; line-height: 1.25; font-weight: 400; color: rgba(255,255,255,.8); text-decoration: none; transition: color .2s, transform .2s; }
.fm-side a:hover, .fm-side a:focus-visible { color: #e82906; transform: translateX(6px); }
.fm-side a[aria-current="page"] { color: #e82906; }
.fm-side a:focus-visible, .fm-side-close:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
@media (max-width: 575px) { .fm-side { padding: 16px 28px 36px; } }
@media (prefers-reduced-motion: reduce) { .fm-side, .fm-side-back, .fm-side a { transition: none; } }

/* home (20/11/2026): under the claim, the line with the three areas, small and spaced */
body.home #manifesto .fm-claim-sub.fm-claim-areas { margin: clamp(14px, 1.6vw, 22px) auto 0; max-width: none; font-size: clamp(11px, 1.05vw, 15px); font-weight: 600;
  line-height: 1.5; letter-spacing: .2em; text-transform: uppercase; color: var(--fm-text); }
body.home #manifesto .fm-claim-areas span:empty { display: none; }
@media (max-width: 575px) { body.home #manifesto .fm-claim-sub.fm-claim-areas { letter-spacing: .12em; } }
@media (min-width: 992px) {
  /* desktop: claim and areas line both inside the first screen, under the video */
  body.home #manifesto .fm-claim-row:has(.fm-claim-areas) .custom-home-title-1 { top: calc(100vh - 84px); }
  body.home #manifesto .fm-claim-sub.fm-claim-areas { position: absolute; left: 0; right: 0; top: calc(100vh - 34px); transform: translateY(-100%); z-index: 20; margin: 0; }
}
@media (max-width: 991px) {
  /* phone and tablet: two lines, white then red, as on desktop */
  body.home #manifesto .fm-claim-row:has(.fm-claim-areas) .custom-home-title-1 { font-size: clamp(26px, 9.2vw, 64px); }
  body.home #manifesto .fm-claim-row:has(.fm-claim-areas) .custom-home-title-1 > span:not(.fm-w) { display: block; }
}
/* home: when the sentence under the areas line is empty, its row takes no space */
body.home #manifesto .row:has(.title-6:empty) { display: none; }
body.home #manifesto .fm-claim-row:has(+ .row .title-6:empty) { margin-bottom: 0; }
@media (min-width: 992px) { body.home section#manifesto.fm-manifesto:has(.title-6:empty) { padding-top: 22vh !important; padding-bottom: clamp(56px, 8vh, 96px) !important; } }
