/* economistspapers.org.uk — wrapper styles. Scholarly / archival look. */
:root { --ep-ink:#243447; --ep-accent:#b8860b; }

body { font-family:'Inter',system-ui,sans-serif; color:#222; }
h1,h2,h3,h4,h5,.navbar-brand { font-family:'Lora',Georgia,serif; }

a { color:#1a4f7a; }
a:hover { color:#11324d; }

.ep-skip-link {
  position:absolute; left:-999px; top:0; z-index:1100;
  background:#fff; padding:.5rem 1rem; border:2px solid var(--ep-ink);
}
.ep-skip-link:focus { left:0; }

/* Legacy content normalisation — old Joomla pages used tables/floats/fixed widths. */
.legacy-content { line-height:1.65; }
.legacy-content img { max-width:100%; height:auto; }
.legacy-content table { max-width:100%; }
.legacy-content table[width] { width:auto !important; }
.legacy-content font { font-family:inherit !important; font-size:inherit !important; }
.legacy-content a { word-break:break-word; }

.ep-ad { margin:1.25rem 0; text-align:center; overflow:hidden; }

.ep-az-nav a {
  display:inline-block; min-width:2rem; text-align:center;
  padding:.25rem .4rem; margin:.1rem; border:1px solid #ddd; border-radius:4px;
  text-decoration:none;
}
.ep-az-nav a:hover { background:var(--ep-ink); color:#fff; }
