/* Admonition look */
.admonition.nobel {
  border: 2px solid #f7c948;         /* yellow */
  background: #fffbe6;               /* soft yellow (optional) */
}

/* Center the title */
.admonition.nobel > .admonition-title {
  text-align: center;
  font-weight: 700;
}

.admonition.nobel > .admonition-title::before {
  content: none !important;
  background: none !important;
  display: none !important;
}


/* Layout: text + medal aligned at the bottom */
.admonition.nobel .nobel-content {
  display: flex;
  gap: 1rem;
  align-items: center;              /* medal sits at the bottom */
}

/* Let text take the remaining width */
.admonition.nobel .nobel-text {
  flex: 1 1 auto;
}

/* Big medal on the right */
.admonition.nobel .nobel-medal {
  width: 120px;                       /* adjust size as you like */
  flex: 0 0 auto;
  display: block;
  margin: 0;
}

/* Mobile: stack nicely */
@media (max-width: 700px) {
  .admonition.nobel .nobel-content {
    flex-direction: column;
    align-items: flex-start;
  }
  .admonition.nobel .nobel-medal {
    width: 96px;
  }
}


/* Hide the default "!" icon for the Quote admonition */
.admonition.quote > .admonition-title::before {
  content: none !important;
  background: none !important;
  display: none !important;
}

/* (optional) reclaim left padding reserved for the icon */
.admonition.quote > .admonition-title {
  padding-left: 0.6rem; /* or 0 */
}

.rst-content .admonition.quote > .admonition-title::before,
.admonition.quote > .admonition-title::before {
  display: none !important;
  content: "" !important;
}
.rst-content .admonition.quote > .admonition-title,
.admonition.quote > .admonition-title {
  padding-left: 0.6rem !important; /* or 0 */
}

.wy-nav-content { max-width: 100% !important; }

/* 2) Center a readable column for all page content */
.rst-content {
  max-width: 85ch;          /* adjust: e.g., 70ch–95ch */
  margin: 0 auto;           /* centers the column */
  padding: 0 1rem;          /* small side padding */
}

/* 3) Center figures/images and keep them inside the column */
.rst-content .figure,
.rst-content img {
  display: block;
  margin: 1rem auto;
  max-width: 100%;
  height: auto;
}

/* 4) (optional) center captions */
.rst-content .caption,
.rst-content .figure .caption { text-align: center; }



img {
    display: block;
    margin: 20px auto; /* centers + adds vertical spacing */
    max-width: 80%; /* keeps all images same size */
    }

    .figure p.caption {
     text-align: center;
     font-size: 0.9em;
     margin-top: 8px;
    }

/* Side-by-side grids (use :figclass: img-grid) */
.bd-article .img-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.bd-article .img-grid img {
  width: 100%;
  max-width: none;  /* fill the grid cell */
}
.bd-article .img-grid .figure { margin: 0; }



.footnote {
    background-color: transparent !important;
}