/* Home (Prompts-like) grid styles */



.hero-title-large {
    font-size: 2.25rem;
    letter-spacing: -0.5px;
    margin-bottom: 0.5rem;
    margin-top: 2.5rem; /* add extra space above the site name */
}

[data-theme="dark"] .hero-title-large {
    color: var(--primary-white);
}

.hero-subtitle-muted {
    color: var(--text-muted);
    font-size: 1.05rem;
}

.prompts-grid .grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1rem;
    align-items: stretch;
}

/* Layout with sidebar */
.layout-with-sidebar {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 1.5rem;
}

.sidebar .card { padding: 0; }
.sidebar .card-body { padding: 1rem; }
.sidebar-categories { list-style: none; padding: 0; margin: 0; }
.sidebar-categories li { margin-bottom: 0.5rem; }
.sidebar-categories a { color: var(--text-secondary); text-decoration: none; }
.sidebar-categories a.active, .sidebar-categories a:hover { color: var(--primary-gold); font-weight: 700; }

.main-grid { min-width: 0; }

.filter-group { margin-bottom: 1rem; }
.filter-label { display: block; font-weight: 700; margin-bottom: 0.5rem; }
.checkbox-inline { display: flex; align-items: center; gap: 0.5rem; }
.checkbox-inline input { transform: scale(1.05); }
#filter_search { width: 100%; }

.prompt-card {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg-card);
    box-shadow: 0 6px 18px rgba(15,15,15,0.08);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    text-decoration: none;
    color: inherit;
}

.prompt-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(15,15,15,0.12);
}

.card-media {
    width: 100%;
    height: 150px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.card-body {
    padding: 1rem;
}

.card-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.card-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

[data-theme="dark"] .card-title {
    color: var(--primary-white);
}

@media (min-width: 1200px) {
    .home-hero { padding-top: 9rem; }
    .card-media { height: 180px; }
}

@media (max-width: 768px) {
    .hero-title-large { font-size: 1.5rem; }
    .card-media { height: 120px; }
}
