/* Professional typography and spacing */
.md-content {
  font-size: 0.95rem;
}

.md-typeset h1,
.md-typeset h2,
.md-typeset h3 {
  font-weight: 700;
  letter-spacing: 0.01em;
}

.md-typeset h2 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 0.35rem;
}

.md-typeset h3 {
  margin-top: 1.4rem;
  margin-bottom: 0.5rem;
}

.md-typeset p {
  line-height: 1.65;
}

/* Render markdown tables as visible grid lines */
table {
  border-collapse: collapse;
  width: 100%;
  margin: 1rem 0 1.25rem;
}

th,
td {
  border: 1px solid #d1d5db;
  padding: 0.6rem 0.7rem;
  vertical-align: top;
  text-align: left;
}

thead th {
  background: #f3f4f6;
  font-weight: 700;
}

/* Keep the public footer focused on OSARA publication identity. */
.md-footer-meta__inner {
  justify-content: center;
}

.md-copyright {
  width: 100%;
  text-align: center;
}

/* OSARA brand header — present the full family logo (scale + olive
 * branches + wordmark + strapline) on the left of the header bar.
 * The PNG already has a white background; the small CSS padding and
 * shadow give it a clean card lift against the indigo header. */
.md-header {
  height: 3.8rem;
}

.md-header__button.md-logo {
  margin: 0;
  padding: 0.2rem 0.4rem 0.2rem 0.6rem;
  display: flex;
  align-items: center;
  height: 3.8rem;
}

.md-header__button.md-logo img,
.md-header__button.md-logo svg {
  height: 3.4rem;
  width: auto;
  max-height: 3.4rem;
  background: #ffffff;
  border-radius: 0.4rem;
  padding: 0.2rem 0.35rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
}

.md-header__title {
  margin-left: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

@media screen and (max-width: 800px) {
  .md-header {
    height: 3.2rem;
  }
  .md-header__button.md-logo,
  .md-header__button.md-logo img,
  .md-header__button.md-logo svg {
    height: 2.8rem;
    max-height: 2.8rem;
  }
}

@media screen and (max-width: 480px) {
  .md-header {
    height: 2.8rem;
  }
  .md-header__button.md-logo,
  .md-header__button.md-logo img,
  .md-header__button.md-logo svg {
    height: 2.4rem;
    max-height: 2.4rem;
  }
}
