:root {
  --fm-bg: #f5f5f5;
  --fm-heading: #323c4d;
  --fm-label: #666e7d;
  --fm-primary: #1d2736;
  --fm-primary-hover: #485261;
  --fm-tag-bg: #eff1f6;
  --fm-border: #e2e5e9;
  --fm-radius: 0.7rem;
  --fm-content: 1152px;
}

html { scroll-behavior: smooth; }
body { margin: 0; background: var(--fm-bg); color: var(--fm-heading); font-family: "Inter Tight", Arial, sans-serif; font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
body.admin-bar .fm-site-header { top: 40px; }
*, *::before, *::after { box-sizing: border-box; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
.screen-reader-text, .fm-sr-only { 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; }
.fm-skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 99999; padding: .7rem 1rem; border-radius: .5rem; background: var(--fm-primary); color: #fff; text-decoration: none; }
.fm-skip-link:focus { top: 1rem; }
.fm-content-shell { width: min(calc(100% - 40px), var(--fm-content)); margin-inline: auto; }
.fm-entry-content { padding-block: 9rem 5rem; max-width: 760px; }
.fm-elementor-full-width { overflow: clip; }
.fm-page-hero { padding: 8.5rem 0 3.5rem; text-align: center; }
.fm-page-hero h1, .fm-error-page h1 { margin: .8rem 0; color: var(--fm-primary); font-size: clamp(2.2rem, 5vw, 3.5rem); line-height: 1.08; }
.fm-badge { display: inline-flex; align-items: center; justify-content: center; width: fit-content; padding: .25rem 1.5rem; border-radius: 999px; background: var(--fm-tag-bg); color: var(--fm-label); font-size: .875rem; }
.fm-button { display: inline-flex; min-height: 40px; align-items: center; justify-content: center; gap: .4rem; padding: .58rem 1rem; border: 1px solid var(--fm-primary); border-radius: .55rem; background: var(--fm-primary); color: #fff; font: inherit; font-size: .9rem; line-height: 1; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, transform .2s; }
.fm-button:hover { background: var(--fm-primary-hover); }
.fm-button:focus-visible, .fm-site-header a:focus-visible, .fm-menu-toggle:focus-visible { outline: 3px solid #5f8fd8; outline-offset: 3px; }
.fm-button--small { min-height: 32px; padding: .45rem .8rem; }
.fm-button--ghost { margin-top: .8rem; border-color: rgba(255,255,255,.15); background: rgba(255,255,255,.08); }

.fm-site-header { position: fixed; inset: 8px 0 auto; z-index: 1000; width: min(calc(100% - 32px), var(--fm-content)); margin-inline: auto; border-radius: .7rem; background: rgba(245,245,245,.94); backdrop-filter: blur(16px); transition: transform .42s ease; }
.fm-site-header.is-hidden { transform: translateY(calc(-100% - 12px)); }
.fm-site-header__nav { position: relative; display: flex; min-height: 64px; align-items: center; justify-content: space-between; padding: .75rem 0; }
.fm-site-header__logo { display: inline-flex; align-items: center; text-decoration: none; }
.fm-site-header__logo img { width: auto; height: 32px; display: block; }
.fm-nav-list { display: flex; align-items: center; gap: 1.65rem; margin: 0; padding: 0; list-style: none; }
.fm-nav-list a { color: #596476; font-size: .875rem; font-weight: 500; text-decoration: none; transition: color .2s; }
.fm-nav-list a:hover { color: var(--fm-primary); }
.fm-menu-toggle { display: none; position: relative; width: 42px; height: 42px; padding: 0; border: 0; border-radius: .5rem; background: transparent; }
.fm-menu-toggle > span:not(.screen-reader-text) { position: absolute; left: 9px; width: 24px; height: 2px; border-radius: 4px; background: var(--fm-primary); transition: transform .2s, top .2s; }
.fm-menu-toggle > span:first-child { top: 14px; }
.fm-menu-toggle > span:nth-child(2) { top: 23px; }
.fm-menu-toggle[aria-expanded="true"] > span:first-child { top: 20px; transform: rotate(45deg); }
.fm-menu-toggle[aria-expanded="true"] > span:nth-child(2) { top: 20px; transform: rotate(-45deg); }
.fm-mobile-menu { position: absolute; top: calc(100% + 4px); right: 0; left: 0; padding: .75rem; border: 1px solid var(--fm-border); border-radius: .8rem; background: var(--fm-bg); box-shadow: 0 12px 30px rgba(29,39,54,.1); }
.fm-mobile-menu__list { display: grid; gap: .2rem; margin: 0; padding: 0; list-style: none; }
.fm-mobile-menu__list a { display: block; padding: .7rem .8rem; border-radius: .45rem; text-decoration: none; }
.fm-mobile-menu__list a:hover { background: var(--fm-tag-bg); }

.fm-archive { padding-bottom: 6rem; }
.fm-update-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem 1.5rem; }
.fm-update-card__link { display: block; text-decoration: none; }
.fm-update-card__image { aspect-ratio: 16/10; overflow: hidden; border-radius: var(--fm-radius); background: var(--fm-tag-bg); }
.fm-update-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.fm-update-card__link:hover img { transform: scale(1.035); }
.fm-update-card h2 { margin: 1rem 0 .45rem; font-size: 1.25rem; line-height: 1.2; }
.fm-update-card time, .fm-update-card p { color: var(--fm-label); font-size: .9rem; }
.fm-update-card p { margin: .7rem 0 0; }
.fm-pagination { display: flex; justify-content: center; gap: .45rem; margin-top: 3.5rem; }
.fm-pagination .page-numbers { display: inline-flex; min-width: 40px; min-height: 40px; align-items: center; justify-content: center; border: 1px solid var(--fm-border); border-radius: .5rem; text-decoration: none; }
.fm-pagination .current { border-color: var(--fm-primary); background: var(--fm-primary); color: #fff; }
.fm-single-update { max-width: 820px; margin-inline: auto; padding: 9rem 0 6rem; }
.fm-single-update header { text-align: center; }
.fm-single-update h1 { margin: .8rem 0 1rem; font-size: clamp(2rem, 3.2vw, 2.625rem); line-height: 1.1; }
.fm-single-update__featured { width: 100%; margin: 2.5rem 0; border-radius: 1rem; }
.fm-kicker, .fm-empty-state { color: var(--fm-label); }
.fm-prose { font-size: 1.08rem; line-height: 1.75; }
.fm-prose img { border-radius: .75rem; }
.fm-prose a { text-decoration-thickness: 1px; text-underline-offset: 3px; }
.fm-error-page { min-height: 70vh; padding-top: 12rem; text-align: center; }
.fm-error-page p { color: var(--fm-label); }

.fm-footer-shell { padding: .75rem 1rem 1rem; }
.fm-site-footer { max-width: 1370px; margin-inline: auto; padding: 3.4rem 2.5rem; border-radius: 2rem; background: #000; color: #fff; }
.fm-site-footer__grid { display: grid; grid-template-columns: 5fr 2fr 3fr 3fr; gap: 2.5rem; }
.fm-site-footer__brand { grid-column: 1; color: rgba(255,255,255,.78); }
.fm-site-footer__brand img { height: 36px; width: auto; margin-bottom: 1.5rem; }
.fm-site-footer p, .fm-site-footer address { margin: .55rem 0; font-size: .9rem; font-style: normal; }
.fm-site-footer nav:nth-child(2) { grid-column: 3; }
.fm-site-footer h2 { margin: 0 0 1.3rem; color: #9298a2; font-size: .78rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.fm-site-footer nav a { display: block; margin: .7rem 0; color: #d1d4d9; font-size: .95rem; text-decoration: none; }
.fm-site-footer a:hover { color: #fff; text-decoration: underline; }

@media (max-width: 1023px) {
  .fm-site-header__desktop { display: none; }
  .fm-menu-toggle { display: block; }
  .fm-site-header__cta { margin-left: auto; margin-right: .5rem; }
  .fm-update-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .fm-site-footer__grid { grid-template-columns: 2fr 1fr 1fr; }
  .fm-site-footer nav:nth-child(2) { grid-column: 2; }
}
@media (max-width: 767px) {
  body.admin-bar .fm-site-header { top: 54px; }
  .fm-content-shell { width: min(calc(100% - 32px), var(--fm-content)); }
  .fm-site-header { width: calc(100% - 24px); }
  .fm-site-header__logo img { height: 25px; }
  .fm-site-header .fm-site-header__cta { display: none; }
  .fm-update-grid { grid-template-columns: 1fr; }
  .fm-site-footer { padding: 2rem 1.25rem; border-radius: 1.25rem; }
  .fm-site-footer__grid { grid-template-columns: 1fr 1fr; gap: 2.5rem 1.25rem; }
  .fm-site-footer__brand { grid-column: 1 / -1; }
  .fm-site-footer nav:nth-child(2) { grid-column: 1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
