/* Custom CSS for Triton-Augment documentation */

/* Improve code block appearance */
.highlight {
    border-radius: 0.5em;
}

/* Add spacing to admonitions */
.admonition {
    margin: 1.5em 0;
}

/* Style for card grid */
.grid.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.grid.cards > * {
    border: 1px solid var(--md-default-fg-color--lightest);
    border-radius: 0.5rem;
    padding: 1rem;
}

/* Improve button appearance */
.md-button {
    margin: 0.25rem;
}

/* Better table styling */
table {
    border-collapse: collapse;
    width: 100%;
    margin: 1.5em 0;
}

table th {
    background-color: var(--md-code-bg-color);
    font-weight: 600;
}

table td, table th {
    padding: 0.75rem;
    border: 1px solid var(--md-default-fg-color--lightest);
}

/* Emoji sizing */
.twemoji {
    height: 1.2em;
    vertical-align: text-bottom;
}

/* Center align for hero sections */
div[align="center"],
.hero-section {
    text-align: center;
    margin: 2rem 0;
}

.hero-section img {
    display: inline-block;
    margin: 0.25rem;
    vertical-align: middle;
}

.hero-section .md-button {
    display: inline-block;
    margin: 0.5rem;
}

/* API reference improvements */
.doc-heading {
    border-bottom: 2px solid var(--md-accent-fg-color);
    padding-bottom: 0.5rem;
    margin-top: 2rem;
}

/* Code inline improvements */
code {
    padding: 0.2em 0.4em;
    font-size: 0.9em;
}

/* Horizontal rule styling */
hr {
    border: 0;
    border-top: 2px solid var(--md-default-fg-color--lightest);
    margin: 2rem 0;
}

