/* Homepage core feature cards */
.home-section--core .content-header {
    padding-bottom: 0;
    border-bottom: 0;
}

.home-section--core .info-grid {
    grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
    gap: 0.75rem;
    margin-top: 1.15rem;
}

.home-section--core .info-card {
    min-width: 0;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--surface-elevated);
}

.home-section--core .info-card h3 {
    margin: 0 0 0.45rem;
}

.home-section--core .info-card p {
    margin: 0;
    color: var(--secondary-text);
}

/* Keep section kickers visible below the sticky navbar when using in-page navigation. */
#shortcode-lookup-title,
#info-title,
#paths-title,
#api-title,
#details-title,
#faq-title {
    scroll-margin-top: calc(var(--navbar-height) + env(safe-area-inset-top, 0px) + 2.75rem);
}

@media (max-width: 900px) {
    .home-section--core .info-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .home-section--core .info-grid {
        grid-template-columns: 1fr;
        gap: 0.65rem;
    }

    .home-section--core .info-card {
        padding: 0.9rem;
    }
}