/* The Watchmaker's Guide custom styles */

/* Gear/cog accent for headers */
.rst-content h1,
.rst-content h2 {
    border-bottom: 2px solid #2980b9;
    padding-bottom: 0.3em;
}

/* Better math display */
.MathJax_Display {
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0.5em 0;
}

/* Code block improvements */
div.highlight {
    border-left: 3px solid #2980b9;
}

/* Admonition styling */
.admonition.exercise {
    border-left-color: #e67e22;
}

.admonition.exercise > .admonition-title {
    background-color: #e67e22;
    color: white;
}

.admonition.watchmaker-note {
    border-left-color: #8e44ad;
}

.admonition.watchmaker-note > .admonition-title {
    background-color: #8e44ad;
    color: white;
}

/* Better table styling */
.rst-content table.docutils td,
.rst-content table.docutils th {
    padding: 8px 12px;
}

/* Inline code */
.rst-content code.literal {
    background-color: #f4f4f4;
    border: 1px solid #ddd;
    padding: 1px 4px;
    border-radius: 3px;
}

/* Step numbering emphasis */
.rst-content .section h3 {
    color: #2c3e50;
}
