/* Custom styles for Nirvana documentation */

/* Code block styling */
.highlight {
    border-radius: 4px;
}

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

.grid.cards > * {
    border: 1px solid var(--md-default-fg-color--lighter);
    border-radius: 8px;
    padding: 1.5rem;
    transition: box-shadow 0.25s, transform 0.25s;
}

.grid.cards > *:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

/* Icon sizing */
.md-typeset .grid.cards .md-typeset__table {
    display: table;
}

.md-typeset .grid.cards .lg {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.md-typeset .grid.cards .middle {
    vertical-align: middle;
}

/* Admonition styling */
.md-typeset .admonition {
    border-radius: 4px;
}

/* Table styling */
.md-typeset table:not([class]) {
    border-radius: 4px;
    overflow: hidden;
}

/* Code annotation styling */
.md-typeset .highlight .gp {
    user-select: none;
}

/* Navigation styling */
.md-nav__title {
    font-weight: 600;
}

/* Footer styling */
.md-footer {
    margin-top: 2rem;
}

