/* --- LAYOUT & SIDEBAR --- */
:root {
  --md-sidebar-width: 20rem;
}

@media screen and (min-width: 76.25em) {
  .md-sidebar--primary {
    width: 20rem;
  }
  .md-container {
    display: flex;
  }
}

.md-content {
  max-width: none !important;
}

.md-main__inner {
  max-width: 100% !important;
}

.md-typeset h1 {
  display: block !important;
  margin-top: 0;
  padding-top: 1rem;
}

/* --- UNIFIED ADMONITIONS (All boxes now match) --- */
.md-typeset .admonition,
.md-typeset details {
  font-size: 0.8rem; /* Standard readable size for all boxes */
}

.md-typeset .admonition ul,
.md-typeset details ul {
  font-size: 0.8rem;
  line-height: 1.4; /* Better spacing for readability */
}

.md-typeset .admonition-title {
  font-size: 0.9rem !important;
}


.md-typeset .polaroid-box {
  display: block;
  width: fit-content;
  max-width: 90%;
  margin: 2rem auto;
  padding: 10px;
  padding-bottom: 10px;
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.md-typeset .polaroid-box img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0;
  border: none;
  padding: 0;
}

.md-typeset .polaroid-caption {
  margin-top: 30px;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 500;
  color: #333333;
}

/* Target only paragraphs inside a 'Note' admonition */
.md-typeset .admonition.note p {
  font-size: 0.65rem;
  line-height: 1.2;
  /*margin: 0; /* Tightens up the space in the small box */
}


.md-nav__title {
  display: none;
}

