/* =========================================
   Custom CSS for EU Factsheet
   ========================================= */
:root {
  --font-title: "Source Sans 3", sans-serif;
  --font-body: "Open Sans", sans-serif;
  --text-color: #000000;
}

body,
p,
li,
.leading-\[2\],
.md\:leading-\[2\],
.leading-\[1\.9\] {
  font-family: var(--font-body) !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  line-height: 1.5 !important;
  color: var(--text-color) !important;
  -webkit-font-smoothing: auto !important;
}

p,
ul,
h1,
h2,
h3,
.max-w-3xl,
.max-w-4xl,
.max-w-5xl {
  max-width: 100% !important;
}

ul {
  padding-left: 1.25rem !important;
}

li {
  margin-bottom: 0.25rem !important;
}

p {
  margin-bottom: 0.35rem !important;
}

b,
strong {
  font-weight: 800 !important;
  color: #000000 !important;
}

.factsheet-notes li {
  color: #666 !important;
}

.factsheet-notes a {
  text-decoration: underline !important;
  text-decoration-color: #ffc107 !important;
  color: inherit !important;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.factsheet-notes a:hover {
  background-color: #ffc107 !important;
  color: #000000 !important;
  text-decoration: none !important;
}

.factsheet-notes {
  margin-top: 2rem;
  font-size: 0.85rem;
  color: #666;
  font-family: inherit;
}
.factsheet-notes .notes-divider {
  border: none;
  height: 2px;
  background-color: #f2c94c;
  margin: 0 0 0.75rem 0;
}
.factsheet-notes .notes-title {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #444;
  margin: 0 0 0.75rem 0;
}
.factsheet-notes .notes-list {
  list-style: decimal;
  padding-left: 1.5rem;
  margin: 0;
}
.factsheet-notes .notes-list li {
  margin-bottom: 0.75rem;
  line-height: 1.4;
}
.factsheet-notes .notes-list li::marker {
  color: #999;
  font-size: 0.8rem;
}
.factsheet-notes .notes-list a {
  color: #777;
  text-decoration: none;
  word-break: break-word;
}
.factsheet-notes .notes-list a:hover {
  text-decoration: underline;
}

/* Reduce excessive vertical margins for sections */
.md\:mt-11 {
    margin-top: 1.5rem !important;
}

.my-14 {
    margin-top: 1.5rem !important;
    margin-bottom: 1.5rem !important;
}

.space-y-12 > :not([hidden]) ~ :not([hidden]) {
    margin-top: 1.5rem !important;
}