/* Load Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&family=Lora:ital,wght@0,400;1,400&display=swap');

/* Base document styling */
body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  background-color: #f9f9fb;
  color: #2b2c34;
  max-width: 1200px;
  margin: auto;
  padding: 2em;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Lora', serif;
  color: #0a558c;
}

h1 {
  border-bottom: 2px solid #0a558c;
  padding-bottom: 0.3em;
}

/* Links */
a {
  color: #1d4ed8;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Code blocks */
pre, code {
  background-color: #eef2f7;
  font-family: 'Courier New', monospace;
  padding: 0.2em 0.4em;
  border-radius: 4px;
}

pre {
  padding: 1em;
  overflow-x: auto;
}

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 1em 0;
  font-size: 0.95em;
}

th, td {
  border: 1px solid #dcdfe3;
  padding: 0.75em;
  text-align: left;
}

th {
  background-color: #e0ecf9;
}

/* Callouts (if used) */
.callout {
  border-left: 4px solid #4f46e5;
  background-color: #f3f4f6;
  padding: 1em;
  margin: 1.5em 0;
  border-radius: 5px;
}

/* Quarto title block */
.quarto-title-block {
  background-color: #0a558c;
  color: white;
  padding: 2em;
  border-radius: 8px;
  margin-bottom: 2em;
}

.quarto-title-block h1,
.quarto-title-block h2 {
  color: white;
}

img, .quarto-figure {
  max-width: 100%;
  height: auto;
}

.quarto-figure {
  margin: 1em 0;
  text-align: center;
}

table {
  margin-left: auto;
  margin-right: auto;
}

/* Optional: shrink font size for tables */
table, th, td {
  font-size: 0.9em;  /* or try 0.85em */
}

/* Optional: control max width for large tables */
table {
  max-width: 90%;
}

.wordcloud2 {
  display: flex;
  justify-content: center;
}

