/* Image gallery styling */
img {
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease-in-out;
  max-width: 100%;
  height: auto;
}

img:hover {
  transform: scale(1.01);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Reduce heading sizes */
h2 {
  font-size: 1.3rem;
}

h3 {
  font-size: 1.1rem;
}

h4 {
  font-size: 1rem;
}

h5 {
  font-size: 0.95rem;
}

h6 {
  font-size: 0.9rem;
}

/* Figure caption padding */
figcaption {
  padding-bottom: 2rem;
}

/* Inline code styling */
code,
code.literal,
.rst-content code {
  color: #8B0000;
  background-color: rgba(139, 0, 0, 0.1);
  padding: 0.2rem 0.4rem;
  border-radius: 3px;
  font-family: 'Courier New', Courier, monospace;
}

/* Link colors - green theme */
a.reference.internal,
a.reference.internal:visited {
  color: #22c55e;
}

a.reference.internal:hover {
  color: #16a34a;
}

/* Sidebar TOC - minimal styling, let Furo handle structure */
.sidebar-tree a.reference.internal {
  color: inherit;
}

.sidebar-tree a.current.reference.internal {
  color: #22c55e;
  font-weight: 600;
}
