body.beijer-structure {
  --bm-ink: #1e262d;
  --bm-deep: #13191e;
  --bm-paper: #fbf8ee;
  --bm-white: #fffdf6;
  --bm-gold: #e1af40;
  --bm-brown: #644808;
  --bm-line: #c9bc9b;
  --bm-muted: #54534b;
  --bm-width: min(100% - clamp(24px, 7vw, 96px), 1320px);
  --editorial-page: var(--bm-paper);
  --editorial-paper: var(--bm-white);
  --editorial-ink: var(--bm-ink);
  --editorial-accent: var(--bm-brown);
  --editorial-muted: var(--bm-muted);
  --editorial-line: var(--bm-line);
  --ink: var(--bm-ink);
  --green: var(--bm-deep);
  --green-2: var(--bm-ink);
  --gold: var(--bm-gold);
  --burgundy: var(--bm-brown);
  --line: var(--bm-line);
  --white: var(--bm-white);
  overflow-wrap: break-word;
}

body.beijer-structure :focus-visible { outline: 3px solid #b4701f; outline-offset: 3px; }
body.beijer-structure > .site-header { width: var(--bm-width); max-width: none; padding: 0; color: var(--bm-white); background: var(--bm-ink); }
body.beijer-structure .issue-line {
  min-height: 32px;
  gap: 8px;
  padding: 6px clamp(10px, 2vw, 28px);
  border-color: #616565;
  background: var(--bm-deep);
}
body.beijer-structure .masthead { padding: 16px clamp(10px, 2vw, 28px); gap: 12px; align-items: center; }
body.beijer-structure .masthead .brand {
  margin: 0;
  color: var(--bm-white);
  font-size: clamp(2rem, 4.1vw, 4rem);
  letter-spacing: -.075em;
  line-height: .95;
}
body.beijer-structure .masthead .brand b { color: var(--bm-gold); }
body.beijer-structure .masthead p { color: #ede3c9; font-size: .8rem; }
body.beijer-structure .beijer-chrome {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 330px);
  gap: 0 14px;
  align-items: center;
  padding: 8px clamp(10px, 2vw, 28px);
  border-top: 1px solid #616565;
}
body.beijer-structure .beijer-chrome .main-nav { flex-wrap: wrap; border: 0; margin: 0; overflow: visible; }
body.beijer-structure .beijer-chrome .main-nav a {
  padding: 8px 13px;
  border: 0;
  white-space: normal;
  color: var(--bm-white);
  font-size: .8rem;
}
body.beijer-structure .beijer-chrome .main-nav a:first-child { padding-left: 5px; }
body.beijer-structure .beijer-chrome .main-nav a:is(:hover, [aria-current="page"]) { color: var(--bm-gold); text-decoration: underline; text-underline-offset: 5px; }
body.beijer-structure .beijer-chrome .search-form { min-width: 0; padding: 0; border: 0; }
body.beijer-structure .beijer-chrome .search-form input { width: 100%; min-width: 0; background: var(--bm-white); color: var(--bm-ink); font-size: 16px; }
body.beijer-structure .beijer-chrome .search-form button {
  min-height: 44px;
  padding: 8px 14px;
  border: 0;
  background: var(--bm-gold);
  color: var(--bm-deep);
}
body.beijer-structure .search-results { color: var(--bm-ink); background: var(--bm-white); }
body.beijer-structure .search-results a:hover strong { text-decoration: underline; }

body.beijer-structure :is(.bm-home, .bm-category, .article-main, .safe-live-article.beijer-reader, .archive-import-article.beijer-reader) {
  width: var(--bm-width);
  max-width: none;
  margin: clamp(13px, 2.6vw, 33px) auto;
  padding: 0;
}
body.beijer-structure .bm-dispatch { display: block; border: 0; background: var(--bm-deep); }
body.beijer-structure .beijer-opening {
  display: grid;
  grid-template-columns: minmax(0, .98fr) minmax(0, 1.02fr);
  align-items: stretch;
  border-top: 3px solid var(--bm-gold);
}
body.beijer-structure .bm-dispatch__copy { grid-area: auto; align-items: start; padding: clamp(18px, 4vw, 62px); }
body.beijer-structure .bm-dispatch__copy .bm-kicker { color: var(--bm-gold); gap: 14px; border-color: #756d5a; }
body.beijer-structure .bm-dispatch h1 {
  max-width: 16ch;
  font-size: clamp(2.25rem, 5.7vw, 5.45rem) !important;
  letter-spacing: -.065em !important;
  line-height: .98 !important;
  text-wrap: balance;
}
body.beijer-structure .bm-dispatch__copy > p:not(.bm-kicker) { max-width: 52ch; color: #ede3c9; margin: 15px 0 22px; }
body.beijer-structure .bm-dispatch__copy .bm-text-link {
  display: inline-flex;
  min-height: 44px;
  padding: 8px 14px;
  color: var(--bm-deep);
  background: var(--bm-gold);
}
body.beijer-structure .bm-dispatch__visual { grid-area: auto; height: 100%; }
body.beijer-structure .bm-dispatch__visual img { display: block; width: 100%; min-height: 0; max-height: none; height: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
body.beijer-structure .bm-dispatch__marker { inset: 12px 12px auto auto; width: 43px; }
body.beijer-structure .bm-shortcuts {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: var(--bm-white);
  border: 1px solid var(--bm-line);
  box-shadow: 0 6px 12px rgb(36 27 12 / 8%);
}
body.beijer-structure .bm-shortcuts a { min-height: 56px; padding: 10px clamp(9px, 2vw, 26px); }
body.beijer-structure .bm-shortcuts span { flex: 0 0 28px; background: var(--bm-gold); color: var(--bm-deep); }
body.beijer-structure .bm-shortcuts a:hover { background: #f3e7c6; text-decoration: underline; }

body.beijer-structure .bm-routeboard { padding-top: clamp(26px, 6vw, 80px); }
body.beijer-structure .bm-home__section-title {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 8px 15px;
  border-bottom: 3px solid var(--bm-gold);
}
body.beijer-structure .bm-home__section-title > p { grid-column: 1 / -1; }
body.beijer-structure .bm-home__section-title h2 { font-size: clamp(1.85rem, 4vw, 3.9rem) !important; }
body.beijer-structure .bm-route { display: block; padding: clamp(16px, 3.5vw, 45px) 0; }
body.beijer-structure .bm-route__head {
  position: static;
  grid-template-columns: 38px minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: start;
  margin-bottom: 14px;
}
body.beijer-structure .bm-route__head > span { grid-row: auto; width: 38px; border: 0; background: var(--bm-gold); color: var(--bm-deep); }
body.beijer-structure .bm-route__head > p { grid-column: auto; border: 0; padding: 0; }
body.beijer-structure .bm-route__head h3 { font-size: clamp(1.35rem, 2.7vw, 2.45rem) !important; }
body.beijer-structure .bm-route__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 2vw, 26px); }
body.beijer-structure .bm-route__grid > .bm-route-card { grid-column: auto; background: var(--bm-white); border-top: 2px solid var(--bm-deep); }
body.beijer-structure .bm-route__grid img { aspect-ratio: 16 / 10; }
body.beijer-structure .bm-route__grid .bm-route-card > div { padding: clamp(10px, 2vw, 20px); }
body.beijer-structure .bm-route__grid .bm-route-card h4 { font-size: clamp(1.2rem, 2.4vw, 1.65rem) !important; }
body.beijer-structure .bm-route-card h4 a:hover { text-decoration: underline; }
body.beijer-structure .bm-home .safe-live-publications { width: 100%; }
body.beijer-structure .bm-categories :is(header, a) { border-color: #77808b; }
body.beijer-structure .bm-categories a:hover { text-decoration: underline; }

body.beijer-structure .beijer-category-board { background: var(--bm-white); border: 1px solid var(--bm-line); }
body.beijer-structure .bm-category__header {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 10px 24px;
  padding: clamp(14px, 4vw, 56px);
  color: var(--bm-white);
  background: var(--bm-ink);
  border: 0;
  border-top: 3px solid var(--bm-gold);
}
body.beijer-structure .bm-category__header > p { grid-column: 1 / -1; color: var(--bm-gold); }
body.beijer-structure .bm-category__header > p span { background: var(--bm-gold); color: var(--bm-ink); }
body.beijer-structure .bm-category__header > div { grid-column: auto; border-color: #7d786b; }
body.beijer-structure .bm-category__header strong { color: var(--bm-gold); }
body.beijer-structure .bm-category__header > div p { color: #ede3c9; }
body.beijer-structure .bm-category__header h1 { font-size: clamp(2.15rem, 6vw, 4.95rem) !important; letter-spacing: -.06em !important; }
body.beijer-structure .beijer-category-feature {
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  gap: clamp(14px, 3vw, 42px);
  align-items: center;
  padding: clamp(14px, 3vw, 38px);
  background: #f5ead0;
  border: 0;
}
body.beijer-structure .beijer-category-feature h2 { font-size: clamp(1.55rem, 3.5vw, 3.25rem) !important; }
body.beijer-structure .bm-category__grid { padding: clamp(14px, 3vw, 38px); gap: clamp(12px, 3vw, 39px); }
body.beijer-structure .bm-category__grid .bm-category-card { grid-template-columns: minmax(0, 1fr); gap: 12px; border-top: 1px solid var(--bm-line); }
body.beijer-structure .bm-category-card img { min-height: 0; max-height: none; height: auto; aspect-ratio: 16 / 9; }
body.beijer-structure .bm-category-card h2 a:hover { text-decoration: underline; }
body.beijer-structure .bm-category__note { margin-top: 0; }

body.beijer-structure .beijer-reader { background: var(--bm-white); }
body.beijer-structure .beijer-reader-cover {
  display: grid;
  grid-template-columns: minmax(0, .93fr) minmax(0, 1.07fr);
  align-items: center;
  gap: clamp(16px, 3vw, 46px);
  padding: clamp(13px, 3.6vw, 47px);
  color: var(--bm-white);
  background: var(--bm-ink);
  border-top: 3px solid var(--bm-gold);
}
body.beijer-structure .beijer-reader-cover > :is(header, figure) { width: 100%; max-width: none; padding: 0; margin: 0; text-align: left; }
body.beijer-structure .beijer-reader-cover h1 {
  max-width: 22ch;
  margin: 11px 0;
  color: var(--bm-white);
  font-size: clamp(2rem, 5.2vw, 5rem) !important;
  letter-spacing: -.055em !important;
  line-height: 1.02 !important;
  text-wrap: pretty;
}
body.beijer-structure .beijer-reader-cover .archive-import-article-header h1 {
  max-width: none;
  font-size: clamp(1.75rem, 4.5vw, 4.3rem) !important;
  hyphens: auto !important;
}
body.beijer-structure .beijer-reader-cover :is(.kicker, .safe-live-article__meta, .archive-import-kicker) { color: var(--bm-gold); opacity: 1; justify-content: start; }
body.beijer-structure .beijer-reader-cover :is(.dek, .safe-live-article__dek, .archive-import-dek) { color: var(--bm-white); margin: 14px 0; }
body.beijer-structure .beijer-reader-cover .archive-import-byline { justify-content: start; }
body.beijer-structure .beijer-reader-cover .byline { border-color: #777d7f; }
body.beijer-structure .beijer-reader-cover img { display: block; width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: cover; }
body.beijer-structure .beijer-reader-cover figcaption { color: #ede3c9; opacity: 1; }
body.beijer-structure .beijer-reader :is(.article-layout, .safe-live-article__layout, .archive-import-layout) {
  grid-template-columns: minmax(120px, 175px) minmax(0, 72ch);
  padding: clamp(14px, 4.5vw, 58px);
  gap: clamp(14px, 4vw, 54px);
}
body.beijer-structure .beijer-reader aside { border-top: 2px solid var(--bm-gold); padding-top: 9px; }
body.beijer-structure .article-aside { display: block; }
body.beijer-structure .beijer-table { margin: 1.3em 0; max-width: 100%; overflow-x: auto; }
body.beijer-structure .beijer-reader .beijer-table table { display: table; width: 100%; min-width: 31em; margin: 0; border-collapse: collapse; }
body.beijer-structure .beijer-table :is(th, td) { text-align: left; padding: .65em; border: 1px solid var(--bm-line); }
body.beijer-structure .beijer-table th { color: var(--bm-ink); background: #f3e7c6; }

body.beijer-structure .archive-import-section {
  width: var(--bm-width);
  margin: clamp(14px, 3vw, 44px) auto;
  padding: 0;
  border: 0;
}
body.beijer-structure .beijer-archive-board { background: var(--bm-white); }
body.beijer-structure .beijer-archive-board > header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: end;
  gap: 12px;
  padding: clamp(14px, 4vw, 52px);
  color: var(--bm-white);
  background: var(--bm-ink);
  border-top: 3px solid var(--bm-gold);
}
body.beijer-structure .beijer-archive-board h1 { margin: 0; font-size: clamp(2rem, 5vw, 4.6rem) !important; }
body.beijer-structure .beijer-archive-board .archive-import-grid { grid-template-columns: minmax(0, 1fr) !important; padding: clamp(14px, 3.2vw, 42px); }
body.beijer-structure .beijer-archive-board .archive-import-card { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: center; gap: clamp(15px, 4vw, 52px); }
body.beijer-structure .beijer-archive-board .archive-import-card h3 { font-size: clamp(1.45rem, 3.2vw, 3.1rem) !important; }
body.beijer-structure .beijer-archive-board .archive-import-card > div > p:not(.archive-import-card-meta) { display: block; }
body.beijer-structure .editorial-not-found { padding: 0; border: 0; background: transparent; }
body.beijer-structure .beijer-error-panel { padding: clamp(19px, 6vw, 54px); color: var(--bm-white); background: var(--bm-ink); border-top: 3px solid var(--bm-gold); }
body.beijer-structure .beijer-error-panel a { color: var(--bm-gold); }
body.beijer-structure > .site-footer { color: var(--bm-white); background: var(--bm-ink); }
body.beijer-structure > .site-footer small { border-color: #777d7f; color: #e7ddc7; }

@media (max-width: 900px) {
  body.beijer-structure .beijer-chrome { grid-template-columns: minmax(0, 1fr); gap: 7px; }
  body.beijer-structure .beijer-chrome .search-form { justify-content: start; }
}

@media (max-width: 740px) {
  body.beijer-structure .masthead { flex-direction: row; align-items: center; flex-wrap: wrap; }
  body.beijer-structure :is(.beijer-opening, .bm-category__header, .beijer-category-feature, .beijer-reader-cover) { grid-template-columns: minmax(0, 1fr); }
  body.beijer-structure .bm-dispatch__visual img { aspect-ratio: 16 / 10; height: auto; }
  body.beijer-structure .bm-home__section-title { grid-template-columns: minmax(0, 1fr); }
  body.beijer-structure .bm-home__section-title > span { text-align: left; }
  body.beijer-structure .bm-route__head { grid-template-columns: 38px minmax(0, 1fr); }
  body.beijer-structure .bm-route__head > p { grid-column: 2; }
  body.beijer-structure .bm-route__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.beijer-structure .beijer-reader :is(.article-layout, .safe-live-article__layout, .archive-import-layout) { grid-template-columns: minmax(0, 1fr); }
  body.beijer-structure .beijer-reader :is(.safe-live-article__aside, .archive-import-layout aside) { order: 0; }
  body.beijer-structure .beijer-archive-board .archive-import-card { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 500px) {
  body.beijer-structure .bm-shortcuts { grid-template-columns: minmax(0, 1fr); }
  body.beijer-structure .bm-shortcuts a { border-right: 0; }
  body.beijer-structure .bm-route__grid { grid-template-columns: minmax(0, 1fr) !important; }
  body.beijer-structure .bm-category__grid { grid-template-columns: minmax(0, 1fr) !important; }
  body.beijer-structure .search-results a { grid-template-columns: minmax(0, 1fr); gap: 3px; }
}
