:root {
  --ng-onyx: #0d0d0f;
  --ng-charcoal: #1a1a1d;
  --ng-gold: #b88942;
  --ng-gold-dark: #7e5b28;
  --ng-stone: #d8d3cb;
  --ng-parchment: #f2f0ec;
  --ng-paper: #faf9f6;
  --ng-line: rgba(26, 26, 29, 0.13);
  --ng-serif: "Iowan Old Style", "Palatino Linotype", Baskerville, Georgia, serif;
  --ng-sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ng-content: 1240px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ng-charcoal); background: var(--ng-parchment); font-family: var(--ng-sans); font-size: 16px; line-height: 1.65; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--ng-gold-dark); }
img { display: block; max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; }
.ng-container { width: min(calc(100% - 64px), var(--ng-content)); margin-inline: auto; }
.ng-container-wide { width: min(calc(100% - 48px), 1440px); margin-inline: auto; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.screen-reader-text:focus { position: fixed !important; z-index: 99999; top: 12px; left: 12px; width: auto; height: auto; padding: 12px 16px; clip: auto; background: #fff; color: #000; }

.site-header { position: relative; z-index: 30; background: rgba(250,249,246,0.97); border-bottom: 1px solid var(--ng-line); }
.site-header__inner { min-height: 100px; display: grid; grid-template-columns: minmax(250px, 1fr) auto 34px; align-items: center; gap: 28px; }
.site-branding__link { display: inline-flex; align-items: center; gap: 18px; color: var(--ng-charcoal); }
.custom-logo-link { display: inline-flex; }
.custom-logo { width: auto; max-height: 64px; }
.ng-mark { width: 32px; height: 72px; color: var(--ng-gold); flex: 0 0 auto; }
.site-branding__mark { width: 28px; height: 68px; }
.site-branding__name { font-size: clamp(1.25rem, 2vw, 1.75rem); letter-spacing: .32em; text-transform: uppercase; white-space: nowrap; }
.primary-navigation ul { display: flex; align-items: center; justify-content: flex-end; gap: clamp(16px, 2.4vw, 38px); margin: 0; padding: 0; list-style: none; }
.primary-navigation a { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; }
.header-search { display: grid; place-items: center; color: var(--ng-charcoal); }
.header-search svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.3; }
.menu-toggle { display: none; border: 0; background: transparent; padding: 8px; }
.menu-toggle span:not(.screen-reader-text) { display: block; width: 24px; height: 1px; margin: 5px 0; background: currentColor; }

.ng-hero { min-height: 540px; display: grid; grid-template-columns: minmax(370px, 31%) 1fr; background: #ece8df; border-bottom: 1px solid var(--ng-line); }
.ng-hero__copy { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; padding: clamp(50px, 6vw, 90px) clamp(32px, 4.5vw, 76px); background: linear-gradient(90deg, rgba(242,240,236,1) 0%, rgba(242,240,236,.98) 82%, rgba(242,240,236,.65) 100%); }
.ng-hero__map { min-height: 540px; background-image: linear-gradient(90deg, rgba(242,240,236,.28), rgba(242,240,236,0) 30%), url('../images/europe-1700s-map.jpg'); background-position: center; background-size: cover; filter: sepia(.08) saturate(.82) contrast(.95); }
.ng-kicker, .ng-section-label { margin: 0 0 20px; color: var(--ng-gold-dark); font-size: .73rem; font-weight: 600; letter-spacing: .17em; text-transform: uppercase; }
.ng-kicker::before, .ng-section-label::after { content: ""; display: inline-block; width: 30px; height: 1px; margin-right: 12px; vertical-align: middle; background: var(--ng-gold); }
.ng-section-label::after { margin: 0 0 0 12px; }
.ng-hero h1 { max-width: 580px; margin: 0; font-family: var(--ng-serif); font-size: clamp(3.15rem, 5.4vw, 5.7rem); font-weight: 400; line-height: .98; letter-spacing: -.035em; }
.ng-rule { width: 200px; margin: 30px 0 22px; height: 1px; background: linear-gradient(90deg, var(--ng-gold) 0 44%, transparent 44% 56%, var(--ng-gold) 56% 100%); position: relative; }
.ng-rule span { position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; background: var(--ng-gold); transform: translate(-50%,-50%) rotate(45deg); }
.ng-hero__description { max-width: 440px; margin: 0 0 30px; font-size: .98rem; }
.ng-button { display: inline-flex; align-items: center; align-self: flex-start; gap: 28px; padding: 15px 23px; color: var(--ng-onyx); background: var(--ng-gold); border: 1px solid var(--ng-gold); font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; transition: .2s ease; }
.ng-button:hover { color: var(--ng-paper); background: var(--ng-onyx); border-color: var(--ng-onyx); }

.ng-archive-overview { display: grid; grid-template-columns: .9fr 1.12fr 1fr; gap: 0; padding-block: 56px 36px; }
.ng-archive-overview > div { min-width: 0; padding: 0 42px; border-right: 1px solid var(--ng-line); }
.ng-archive-overview > div:first-child { padding-left: 0; }
.ng-archive-overview > div:last-child { padding-right: 0; border-right: 0; }
.ng-mission h2 { margin: 0 0 22px; font-family: var(--ng-serif); font-size: clamp(2rem, 3vw, 3rem); font-weight: 400; line-height: 1.12; }
.ng-mission p:not(.ng-section-label) { color: #49484a; font-size: .93rem; }
.ng-text-link { display: inline-flex; align-items: center; gap: 22px; margin-top: 10px; color: var(--ng-gold-dark); font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.featured-record { display: grid; grid-template-columns: 132px 1fr; gap: 28px; align-items: center; min-height: 218px; padding: 24px; background: rgba(255,255,255,.2); border: 1px solid var(--ng-line); }
.featured-record__emblem { display: grid; place-items: center; color: var(--ng-gold-dark); }
.featured-record__emblem .ng-icon { width: 88px; height: 105px; }
.featured-record__emblem img { max-width: 110px; max-height: 120px; object-fit: contain; }
.record-type { display: block; color: var(--ng-gold-dark); font-size: .64rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.featured-record h3, .recent-record h3 { margin: 4px 0 3px; font-family: var(--ng-serif); font-size: 1.5rem; font-weight: 400; line-height: 1.15; }
.featured-record p { margin: 4px 0; font-size: .85rem; }
.record-date { color: #5c5a58; }
.recent-records { display: grid; }
.recent-record { display: grid; grid-template-columns: 48px 1fr 20px; gap: 15px; align-items: center; min-height: 76px; padding: 13px 0; border-bottom: 1px solid var(--ng-line); }
.recent-record:first-child { border-top: 1px solid var(--ng-line); }
.recent-record__icon { color: var(--ng-gold-dark); }
.recent-record__icon .ng-icon { width: 38px; height: 45px; }
.recent-record h3 { font-size: 1.12rem; }
.recent-record p { margin: 2px 0 0; color: #5e5b58; font-size: .76rem; }
.recent-record__arrow { justify-self: end; font-size: 1.6rem; font-weight: 200; }

.ng-metrics { border-top: 1px solid var(--ng-line); background: rgba(255,255,255,.24); }
.ng-metrics__grid { display: grid; grid-template-columns: repeat(5, 1fr); }
.metric { display: flex; align-items: center; justify-content: center; gap: 16px; min-height: 116px; padding: 24px 28px; border-right: 1px solid var(--ng-line); }
.metric:last-child { border-right: 0; }
.metric .ng-icon { width: 34px; height: 40px; color: var(--ng-gold); }
.metric strong { display: block; font-family: var(--ng-serif); font-size: 1.55rem; font-weight: 400; }
.metric span { display: block; font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.ng-page-content { padding-block: 60px; }

.site-footer { color: #d8d3cb; background: linear-gradient(100deg, #121214, #202022); }
.site-footer__inner { min-height: 100px; display: grid; grid-template-columns: 245px 1fr auto; align-items: center; gap: 32px; }
.footer-brand a { display: inline-flex; align-items: center; gap: 17px; color: #f2f0ec; letter-spacing: .26em; text-transform: uppercase; }
.footer-brand__mark { width: 24px; height: 57px; color: var(--ng-gold); }
.footer-motto { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px; color: var(--ng-gold); font-family: var(--ng-serif); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; }
.footer-motto i { font-style: normal; }
.footer-navigation ul { display: flex; gap: 16px; margin: 0; padding: 0; list-style: none; }
.footer-navigation a { color: #d8d3cb; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; }
.site-info { display: flex; justify-content: space-between; padding-block: 18px; border-top: 1px solid rgba(255,255,255,.08); color: #97938e; font-size: .68rem; letter-spacing: .07em; text-transform: uppercase; }

.ng-inner-page { min-height: 65vh; }
.ng-page-hero { padding-block: clamp(60px, 8vw, 115px) 50px; border-bottom: 1px solid var(--ng-line); }
.ng-page-hero h1 { max-width: 900px; margin: 0; font-family: var(--ng-serif); font-size: clamp(3rem, 6vw, 5.4rem); font-weight: 400; line-height: 1; }
.archive-description { max-width: 680px; margin-top: 20px; }
.ng-content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 64px; padding-block: 60px 90px; }
.archive-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 28px; }
.archive-card { background: var(--ng-paper); border: 1px solid var(--ng-line); }
.archive-card__image img { width: 100%; aspect-ratio: 3/2; object-fit: cover; filter: saturate(.7); }
.archive-card__body { padding: 28px; }
.archive-card__meta, .ng-single__meta { color: var(--ng-gold-dark); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; }
.archive-card__title { margin: 9px 0 14px; font-family: var(--ng-serif); font-size: 2rem; font-weight: 400; line-height: 1.1; }
.archive-card p { color: #4e4b48; }
.article-sidebar { padding-left: 30px; border-left: 1px solid var(--ng-line); }
.widget { margin-bottom: 42px; }
.widget-title { font-family: var(--ng-serif); font-size: 1.4rem; font-weight: 400; }
.widget ul { padding-left: 18px; }
.ng-single__image { margin-bottom: 50px; }
.ng-single__image img { width: 100%; max-height: 680px; object-fit: cover; }
.entry-content { font-family: var(--ng-serif); font-size: 1.18rem; }
.entry-content > * { max-width: 760px; }
.entry-content > .alignwide { max-width: 1100px; }
.entry-content > .alignfull { max-width: none; }
.entry-content h2 { margin-top: 2.2em; font-size: 2.4rem; font-weight: 400; }
.entry-content h3 { margin-top: 1.8em; font-size: 1.8rem; font-weight: 400; }
.entry-content a { text-decoration: underline; text-decoration-color: rgba(184,137,66,.45); text-underline-offset: .16em; }
.ng-empty-register { margin: 0; padding: 20px 0; color: #5e5b58; font-family: var(--ng-serif); font-size: .95rem; }

/* Optional WPBakery layouts. The plugin supplies its own grid mechanics. */
.ng-content-grid--wpbakery { display: block; padding-block: 0 90px; }
.entry-content.ng-wpbakery-content { min-width: 0; max-width: none; }
.entry-content.ng-wpbakery-content > * { max-width: none; }
.ng-wpbakery-content > .vc_row,
.ng-wpbakery-content > .vc_section { max-width: none; }
.ng-wpbakery-content .vc_row { font-family: var(--ng-serif); }
.ng-wpbakery-content .vc_column_container > .vc_column-inner { box-sizing: border-box; }
.ng-wpbakery-content .wpb_content_element:last-child { margin-bottom: 0; }
.ng-wpbakery-content .wpb_text_column a { text-decoration-color: rgba(184,137,66,.45); text-underline-offset: .16em; }
.ng-wpbakery-content .vc_btn3 { font-family: var(--ng-sans); letter-spacing: .06em; }
.ng-wpbakery-content .vc_separator h4 { font-family: var(--ng-serif); font-weight: 400; }

/* Scholarly register: compact, reference-book typography. */
.ng-register-hero { padding-block: 48px 28px; }
.ng-register-hero h1 { max-width: 900px; font-size: clamp(2.5rem, 5vw, 4.5rem); line-height: 1.02; }
.ng-register-dek { max-width: 760px; margin-top: 14px; color: #454346; font-family: var(--ng-serif); font-size: clamp(1.05rem, 1.7vw, 1.28rem); line-height: 1.42; }
.ng-register-dek p { margin: 0; }
.ng-register-facts { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1px; margin: 24px 0 0; border: 1px solid var(--ng-line); background: var(--ng-line); }
.ng-register-facts div { min-width: 0; padding: 10px 14px; background: var(--ng-paper); }
.ng-register-facts dt { color: #696560; font-family: var(--ng-sans); font-size: .62rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.ng-register-facts dd { margin: 4px 0 0; font-family: var(--ng-serif); font-size: .92rem; line-height: 1.25; }
.ng-register-image { margin-block: 28px 0; }
.ng-register-image img { width: 100%; max-height: 520px; object-fit: contain; }
.ng-register-content { max-width: 960px; padding-block: 34px 72px; font-size: .98rem; line-height: 1.5; }
.ng-register-content > * { max-width: none; }
.ng-register-content p { margin: 0 0 .82em; }
.ng-register-content h2 { margin: 1.9em 0 .55em; padding-bottom: .24em; border-bottom: 1px solid var(--ng-line); color: var(--ng-gold-dark); font-size: 1.48rem; line-height: 1.16; }
.ng-register-content h3 { margin: 1.5em 0 .45em; font-size: 1.15rem; line-height: 1.25; }
.ng-register-content .ng-source-part { margin-top: 2.6rem; }
.ng-register-content .ng-source-part-title { font-variant: small-caps; letter-spacing: .025em; }
.ng-register-content .ng-figure { margin: 1.35rem auto; text-align: center; }
.ng-register-content .ng-figure img { display: inline-block; width: auto; max-width: 100%; max-height: 660px; border: 1px solid var(--ng-line); background: #fff; }
.ng-register-content table { display: block; width: 100%; max-width: 100%; margin: 1.1em 0 1.5em; overflow-x: auto; border-collapse: collapse; font-family: var(--ng-serif); font-size: .8rem; line-height: 1.35; }
.ng-register-content th, .ng-register-content td { padding: 5px 7px; border: 1px solid var(--ng-line); vertical-align: top; }
.ng-register-content th { background: #e8e3da; font-family: var(--ng-sans); font-size: .61rem; letter-spacing: .055em; text-align: left; text-transform: uppercase; }
.ng-register-content .ng-gallery-grid { columns: 3 250px; column-gap: 16px; }
.ng-register-content .ng-gallery-grid .ng-figure { break-inside: avoid; margin: 0 0 16px; }
.ng-register-content .ng-image-placeholder { display: grid; min-height: 150px; place-items: center; border: 1px solid var(--ng-line); background: #e8e3da; color: #696560; font-family: var(--ng-sans); font-size: .66rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.ng-register-content .ng-image-unavailable figcaption { margin-top: 7px; color: #696560; font-family: var(--ng-sans); font-size: .7rem; line-height: 1.35; }
.ng-register-archive-hero { padding-block: 52px 32px; }
.ng-register-archive-hero h1 { font-size: clamp(2.6rem, 5vw, 4.5rem); }
.ng-register-results { padding-block: 34px 72px; }
.ng-register-grid { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.ng-register-grid .archive-card__body { padding: 20px; }
.ng-register-grid .archive-card__title { margin: 7px 0 10px; font-size: 1.45rem; }
.ng-register-grid .archive-card p { margin: 0 0 12px; font-size: .84rem; line-height: 1.45; }
.search-form { display: flex; max-width: 640px; margin-top: 26px; }
.search-form label { flex: 1; }
.search-field { width: 100%; min-height: 48px; padding: 10px 14px; color: var(--ng-charcoal); background: var(--ng-paper); border: 1px solid var(--ng-line); border-radius: 0; }
.search-submit { min-height: 48px; padding: 10px 22px; color: #fff; background: var(--ng-charcoal); border: 1px solid var(--ng-charcoal); text-transform: uppercase; letter-spacing: .1em; font-size: .72rem; }
.nav-links { grid-column: 1 / -1; display: flex; justify-content: space-between; margin-top: 30px; }
.comments-area { margin-top: 70px; border-top: 1px solid var(--ng-line); padding-top: 35px; }
.ng-404 { min-height: 55vh; }

@media (max-width: 1100px) {
  .site-header__inner { grid-template-columns: 1fr auto 30px; }
  .primary-navigation ul { gap: 17px; }
  .site-branding__name { letter-spacing: .22em; }
  .ng-hero { grid-template-columns: 42% 58%; }
  .ng-archive-overview { grid-template-columns: 1fr 1fr; }
  .ng-archive-overview > div { padding: 0 28px 42px; }
  .ng-recent { grid-column: 1 / -1; border-right: 0 !important; border-top: 1px solid var(--ng-line); padding-top: 36px !important; }
  .recent-records { grid-template-columns: repeat(3,1fr); }
  .recent-record { grid-template-columns: 42px 1fr; border-right: 1px solid var(--ng-line); padding: 18px; }
  .recent-record__arrow { display: none; }
  .ng-metrics__grid { grid-template-columns: repeat(3,1fr); }
  .metric:nth-child(3) { border-right: 0; }
  .metric:nth-child(n+4) { border-top: 1px solid var(--ng-line); }
  .site-footer__inner { grid-template-columns: 220px 1fr; padding-block: 25px; }
  .footer-navigation { grid-column: 1 / -1; }
  .ng-register-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 820px) {
  .ng-container { width: min(calc(100% - 36px), var(--ng-content)); }
  .site-header__inner { min-height: 82px; grid-template-columns: 1fr auto; }
  .header-search { display: none; }
  .menu-toggle { display: block; }
  .primary-navigation { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--ng-paper); border-bottom: 1px solid var(--ng-line); }
  .menu-open .primary-navigation { display: block; }
  .primary-navigation ul { display: block; padding: 16px 18px 24px; }
  .primary-navigation li { border-bottom: 1px solid var(--ng-line); }
  .primary-navigation a { display: block; padding: 13px 4px; }
  .site-branding__name { font-size: 1.1rem; letter-spacing: .2em; }
  .site-branding__mark { width: 22px; height: 54px; }
  .ng-hero { display: flex; flex-direction: column-reverse; }
  .ng-hero__map { min-height: 42vw; background-position: center; }
  .ng-hero__copy { padding: 48px 24px 54px; }
  .ng-hero h1 { font-size: clamp(3rem, 13vw, 4.4rem); }
  .ng-archive-overview { grid-template-columns: 1fr; padding-block: 42px; }
  .ng-archive-overview > div { padding: 0 0 38px; border-right: 0; border-bottom: 1px solid var(--ng-line); }
  .ng-archive-overview > div + div { padding-top: 38px; }
  .ng-archive-overview > div:last-child { border-bottom: 0; }
  .ng-recent { grid-column: auto; border-top: 0; }
  .recent-records { grid-template-columns: 1fr; }
  .recent-record { border-right: 0; grid-template-columns: 48px 1fr 20px; padding-inline: 0; }
  .recent-record__arrow { display: block; }
  .ng-metrics__grid { grid-template-columns: 1fr 1fr; }
  .metric, .metric:nth-child(3) { border-right: 1px solid var(--ng-line); border-top: 1px solid var(--ng-line); }
  .metric:nth-child(2n) { border-right: 0; }
  .metric:first-child, .metric:nth-child(2) { border-top: 0; }
  .metric:last-child { grid-column: 1 / -1; border-right: 0; }
  .ng-content-grid { grid-template-columns: 1fr; gap: 30px; }
  .archive-grid { grid-template-columns: 1fr; }
  .article-sidebar { padding-left: 0; border-left: 0; border-top: 1px solid var(--ng-line); padding-top: 34px; }
	.ng-register-facts { grid-template-columns: repeat(2, minmax(0,1fr)); }
	.ng-register-content { padding-block: 28px 56px; }
  .site-footer__inner { grid-template-columns: 1fr; text-align: center; }
  .footer-brand a { justify-content: center; }
  .footer-motto { justify-content: center; }
  .footer-navigation ul { justify-content: center; flex-wrap: wrap; }
}
@media (max-width: 520px) {
  .ng-hero__map { min-height: 250px; }
  .featured-record { grid-template-columns: 1fr; text-align: center; }
  .featured-record__emblem { min-height: 90px; }
  .ng-metrics__grid { grid-template-columns: 1fr; }
  .metric, .metric:nth-child(2n), .metric:last-child { grid-column: auto; border-right: 0; border-top: 1px solid var(--ng-line); justify-content: flex-start; }
  .metric:first-child { border-top: 0; }
  .site-info { flex-direction: column; gap: 8px; text-align: center; }
	.ng-register-facts, .ng-register-grid { grid-template-columns: 1fr; }
	.ng-register-content { font-size: .94rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
