/* ==========================================================================
   Shared styles — Cookie Notice & Licences pages
   ========================================================================== */

:root {
  /* Colors */
  --color-brand: #7f35b2;
  --color-text: #2f2c31;
  --color-border: #d8d8d8;

  /* Fonts */
  --times-new-roman: 'Times New Roman', serif;
  --font-graphik: 'Graphik LCG Web', arial, sans-serif;
}

.document-logo {
  width: 155px;
  padding: 16px;
}

.document-header {
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid var(--color-border);
}

.document-body {
  margin: 48px;
  color: var(--color-text);
}

h1 {
  font-family: var(--times-new-roman);
  font-size: 3.5rem;
  font-weight: 500;
  line-height: 4rem;
}

h2 {
  font-family: var(--font-graphik);
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 3rem;
}

p {
  font-family: var(--font-graphik);
  font-size: 1.125rem;
  line-height: 1.75rem;
}

ul {
  padding-left: 18px;
}

li {
  margin-bottom: 8px;
  font-family: var(--font-graphik);
  font-size: 1.125rem;
  line-height: 1.75rem;
  list-style: disc;
}

a, li::marker {
  color: var(--color-brand);
}

.brand-fill {
  fill: var(--color-brand);
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.5rem;
  margin-bottom: 2rem;
  font-family: var(--font-graphik);
  line-height: 1.5rem;
  color: var(--color-text);
}

th {
  padding: 10px 14px;
  text-align: left;
  font-weight: 600;
  font-size: 0.75rem;
  border-bottom: 1px solid var(--color-border);
}

td {
  padding: 10px 14px;
  vertical-align: top;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.75rem;
}

table th:first-child,
table td:first-child {
  width: 12%;
  white-space: nowrap;
}

table th:nth-child(2),
table td:nth-child(2) {
  width: 62%;
}

table th:nth-child(3),
table td:nth-child(3) {
  width: 13%;
  white-space: nowrap;
}

table th:nth-child(4),
table td:nth-child(4) {
  width: 13%;
  white-space: nowrap;
}

/* ==========================================================================
   Licences page
   ========================================================================== */

.licence-group {
  margin-bottom: 2.5rem;
}

.licence-group h2 {
  margin-bottom: 0.25rem;
}

.download-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-graphik);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-brand);
  text-decoration: none;
  margin-bottom: 2rem;
}

.download-link:hover,
.download-link:focus {
  text-decoration: underline;
}

.licence-divider {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: 0.5rem 0 1rem;
}

.library-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 2rem;
  padding-left: 18px;
  margin: 0;
}

.library-list li {
  font-size: 1rem;
  line-height: 1.6rem;
  margin-bottom: 0;
  list-style: disc;
  min-width: 12rem;
}
