/* Homepage-specific minimal styles extracted from templates */
.homepage-content .breadcrumbs {
    padding: 0;
}

.homepage-content h1 {
    font-size: 2.5rem;
}

.homepage-content h2 {
    font-size: 2rem;
    margin-top: 4rem;
    margin-bottom: 2rem;
    font-weight: 600;
    padding-left: 1rem
}

.homepage-content .section-cards-grid article:hover {
    box-shadow: var(--box-shadow-hover);
}

/* Section cards on homepage */
.section-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.section-cards-grid .col {
    padding: 0;
}

.section-cards-grid article {
    border: 1px solid var(--border-soft);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 20rem;
}

/* Videos grid layout */
.homepage-content .videos-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .homepage-content .videos-container {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 768px) {
    .homepage-content {
        padding: 3rem;
    }
}


/* Dita Topic title is rendered as h1 */
.homepage-content render-html h1 {
    display: none;
}

.homepage-content render-html h2 {
    font-size: 1.5rem;
    padding-left: 0;
}