/* NPCPA Archive: simple, organised layout. Loaded after the theme and _nojs.css, so it wins ties. */
:root {
  --ink: #26282d; --muted: #5b5f66; --accent: #b45309; --accent-dark: #92400e;
  --sand: #f8f4ec; --line: #e5dfd3; --dark: #2a2d33; --dark-2: #22252a;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
html { scroll-behavior: smooth; overflow-x: hidden; overflow-y: auto; }
body { font-family: var(--sans); color: var(--ink); background: #fff; font-size: 16px; line-height: 1.7; font-weight: 400; }
.ar-wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; box-sizing: border-box; }
.ar-narrow p { max-width: 760px; }

/* Notice strip */
.ar-notice { background: var(--dark); color: #f3efe6; font: 500 13px/1.45 var(--sans); text-align: center; padding: 8px 16px; }

/* Header (own markup: the theme's header is removed) */
.ar-header { background: #fff; border-bottom: 1px solid var(--line); position: relative; z-index: 300; }
.ar-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.ar-logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none !important; color: var(--ink) !important; line-height: 1; }
.ar-mark { width: 42px; height: 42px; flex: none; display: block; }
.ar-word { font-family: var(--serif); font-weight: 700; font-size: 23px; letter-spacing: .01em; white-space: nowrap; }
.ar-word em { font-weight: 500; font-style: italic; color: var(--accent); }
.ar-nav ul { list-style: none !important; margin: 0; padding: 0; }
.ar-nav li { list-style: none !important; margin: 0; padding: 0; background: none; }
.ar-nav > ul { display: flex; gap: 2px; }
.ar-nav > ul > li { position: relative; }
.ar-nav a { display: block; padding: 28px 14px; color: var(--ink) !important; text-decoration: none !important; font: 600 14px/1.2 var(--sans); letter-spacing: .01em; }
.ar-nav > ul > li:hover > a, .ar-nav > ul > li:focus-within > a { color: var(--accent) !important; }
.ar-nav li ul { display: none; position: absolute; left: 0; top: 100%; min-width: 250px; background: #fff; border: 1px solid var(--line); border-top: 2px solid var(--accent); box-shadow: 0 10px 24px rgba(0,0,0,.08); padding: 6px 0; }
.ar-nav li:hover > ul, .ar-nav li:focus-within > ul { display: block; }
.ar-nav li ul a { padding: 9px 18px; font-weight: 500; }
.ar-nav li ul a:hover { background: var(--sand); color: var(--accent) !important; }

/* Buttons */
.ar-btn { display: inline-block; padding: 12px 22px; background: var(--accent); color: #fff !important; font: 600 15px/1 var(--sans); border-radius: 4px; text-decoration: none !important; border: 2px solid var(--accent); }
.ar-btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.ar-btn-ghost { background: transparent; color: #fff !important; border-color: rgba(255,255,255,.55); margin-left: 10px; }
.ar-btn-ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }

/* Home */
.ar-hero { background: var(--dark); color: #fff; padding: 72px 0 76px; }
.ar-hero .ar-eyebrow { margin: 0 0 10px; font: 600 13px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #e9b36b !important; }
.ar-hero h1 { font-family: var(--serif); font-weight: 700; font-size: 52px; line-height: 1.1; margin: 0 0 16px; color: #fff; }
.ar-hero .ar-lede { font-size: 19px; line-height: 1.6; max-width: 640px; margin: 0 0 28px; color: #e8e4da !important; font-weight: 400; }
.ar-hero h1 { color: #fff !important; }
.ar-section { padding: 56px 0; }
.ar-alt { background: var(--sand); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ar-section h2 { font-family: var(--serif); font-size: 28px; line-height: 1.25; margin: 0 0 18px; color: var(--ink); }
.ar-section h3 { font-family: var(--serif); font-size: 18px; margin: 28px 0 12px; color: var(--muted); font-weight: 600; }
.ar-section p { margin: 0 0 14px; color: var(--ink); font-weight: 400; }
.ar-section .ar-quote { color: var(--muted); }
.ar-quote { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--muted); margin: 0 0 22px !important; }
.ar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ar-grid-2 { grid-template-columns: repeat(2, 1fr); }
.ar-card { display: block; background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 20px 22px; text-decoration: none !important; color: var(--ink) !important; transition: border-color .15s, box-shadow .15s; }
a.ar-card:hover { border-color: var(--accent); box-shadow: 0 6px 18px rgba(0,0,0,.07); }
.ar-card strong { display: block; font-family: var(--serif); font-size: 19px; margin-bottom: 4px; color: var(--ink) !important; }
.ar-card span { display: block; font-size: 14.5px; line-height: 1.55; color: var(--muted) !important; font-weight: 400; }
.ar-plain { background: var(--sand); }
.ar-plain strong { color: var(--accent-dark) !important; }
.ar-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.ar-tile { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 96px; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: 6px; text-decoration: none !important; color: var(--ink) !important; font: 600 15px/1.35 var(--sans); }
a.ar-tile:hover { border-color: var(--accent); }
.ar-tile img { max-width: 100%; max-height: 72px; width: auto; height: auto; display: block; }

/* Inner pages: one centred column, calm type */
.wrapper, .wrapper_inner { background: #fff !important; overflow: visible !important; }
.content { margin-top: 0 !important; background: #fff !important; }
.content_inner { padding: 0 !important; min-height: 50vh; }
.content_inner .title.title_on_bottom { background: var(--sand) !important; background-image: none !important; border-bottom: 1px solid var(--line); height: auto !important; min-height: 0 !important; padding: 0 !important; margin: 0 !important; }
.content_inner .title .image { display: none !important; }
.content_inner .title .title_on_bottom_wrap, .content_inner .title .title_on_bottom_holder, .content_inner .title .title_on_bottom_holder_inner, .content_inner .title h1 { visibility: visible !important; opacity: 1 !important; }
.content_inner .title .title_holder, .content_inner .title .title_on_bottom_wrap, .content_inner .title .title_on_bottom_holder,
.content_inner .title .title_on_bottom_holder_inner { position: static !important; height: auto !important; display: block !important; transform: none !important; padding: 0 !important; margin: 0 !important; }
.content_inner .title .title_holder { padding: 34px 0 30px !important; }
.content_inner .title h1, .content_inner .title h1 span { font-family: var(--serif) !important; font-size: 34px !important; line-height: 1.2 !important; font-weight: 700 !important; color: var(--ink) !important; margin: 0 !important; }
.content_inner .title .title_on_bottom_holder_inner, .content_inner .title .title_on_bottom_holder { background: none !important; text-align: left !important; }
.content_inner .title .container { display: block !important; position: static !important; width: auto !important; height: auto !important; }
.content_inner .title h1 { display: block !important; background: none !important; padding: 0 !important; text-transform: none !important; letter-spacing: 0 !important; }
.content_inner .title h1 span { display: inline !important; background: none !important; padding: 0 !important; text-transform: none !important; letter-spacing: 0 !important; border: 0 !important; }
.content_inner .container, .content_inner .container_inner { width: auto !important; max-width: 1080px !important; margin-left: auto !important; margin-right: auto !important; box-sizing: border-box; }
.content_inner .container .container, .content_inner .container .container_inner { padding-left: 0 !important; padding-right: 0 !important; max-width: none !important; }
.content_inner > .container, .content_inner > .container > .container_inner { padding-left: 20px; padding-right: 20px; }
.content_inner > .container { padding-top: 36px !important; padding-bottom: 56px; }
.content_inner > .container > .container_inner { padding-top: 0 !important; }
.content_inner .title .container { padding-left: 20px !important; padding-right: 20px !important; max-width: 1080px !important; margin: 0 auto !important; box-sizing: border-box; }
.content_inner > .title + .container { padding-top: 36px !important; }
.content_inner h1.post-title, .content_inner .post-title { font-family: var(--serif); font-size: 34px; line-height: 1.2; color: var(--ink); margin: 0 0 20px; }
.content_inner h2, .content_inner h3, .content_inner h4 { font-family: var(--serif); color: var(--ink); line-height: 1.3; }
.content_inner p, .content_inner li, .content_inner td { font-size: 16px; line-height: 1.75; color: var(--ink); font-weight: 400; }
.content_inner a { color: var(--accent); }
.content_inner a:hover { color: var(--accent-dark); }
.content_inner img { max-width: 100%; height: auto; }
.content_inner table { border-collapse: collapse; max-width: 100%; }
.content_inner td, .content_inner th { border: 1px solid var(--line); padding: 6px 10px; }
.content_inner #sidebar { margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--line); }
.content_inner .nojs-section h3 { font-size: 20px; margin: 0 0 10px; color: var(--ink); }
.content_inner .nojs-section li { margin: 4px 0 4px 20px; }

/* Remaining theme hero bands (page-builder pages): plain solid colour, no photo */
.content_inner section.parallax, .content_inner section.parallax > section { background: var(--dark) !important; background-image: none !important; height: auto !important; min-height: 0 !important; }
.content_inner section.parallax .parallax_content { padding: 52px 20px 56px !important; max-width: 1080px; margin: 0 auto; }
.content_inner section.parallax .vc_empty_space { height: 0 !important; }
.content_inner section.parallax h1, .content_inner section.parallax h2, .content_inner section.parallax h3,
.content_inner section.parallax p, .content_inner section.parallax span { color: #fff !important; }
.content_inner section.parallax h1 { font-family: var(--serif) !important; font-size: 38px !important; line-height: 1.15 !important; margin: 0 0 8px !important; }

/* Footer */
.ar-footer { background: var(--dark); color: #d9d5ca; font-size: 14.5px; line-height: 1.6; }
.ar-footer a { color: #f0d9b5 !important; text-decoration: none !important; }
.ar-footer a:hover { text-decoration: underline !important; }
.ar-footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 36px; padding-top: 44px; padding-bottom: 36px; }
.ar-footer h4 { margin: 0 0 10px; font: 600 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #e9b36b; }
.ar-footer ul { list-style: none !important; margin: 0; padding: 0; }
.ar-footer li { list-style: none !important; margin: 5px 0; padding: 0; color: #d9d5ca; }
.ar-footer p { margin: 12px 0 0; color: #d9d5ca !important; max-width: 430px; font-weight: 400; }
.ar-footer .ar-logo, .ar-footer .ar-word { color: #fff !important; }
.ar-footer .ar-word em { color: #f0b765; }
.ar-footer-bottom { background: var(--dark-2); padding: 14px 0; font-size: 13px; color: #b9b5aa; }

@media (max-width: 860px) {
  .ar-header-inner { flex-direction: column; align-items: flex-start; gap: 4px; padding-top: 14px; padding-bottom: 4px; }
  .ar-nav > ul { flex-wrap: wrap; }
  .ar-nav a { padding: 10px 12px 10px 0; }
  .ar-nav li ul { display: none !important; }
  .ar-hero { padding: 48px 0 52px; }
  .ar-hero h1 { font-size: 38px; }
  .ar-grid, .ar-grid-2 { grid-template-columns: 1fr; }
  .ar-footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .content_inner .title h1, .content_inner .title h1 span, .content_inner h1.post-title { font-size: 27px !important; }
  .ar-btn-ghost { margin-left: 0; margin-top: 10px; }
}
