
/* --------------------------------------------------
   FAQ Overview
-------------------------------------------------- */

.faq-grid {
    display: grid;

    grid-template-columns:
        repeat(
            auto-fill,
            minmax(280px, 1fr)
        );

    gap: 1rem;

    margin-top: 1.5rem;
}


/* --------------------------------------------------
   Category Cards
-------------------------------------------------- */

.faq-card {

    background:
        var(--md-default-bg-color);

    color:
        var(--md-default-fg-color);

    border: 1px solid
        var(--md-default-fg-color--lightest);

    border-radius: 14px;

    padding: 1.25rem;

    transition:
        transform .15s ease,
        box-shadow .15s ease,
        border-color .15s ease;

    height: 100%;
}

.faq-card:hover {

    transform:
        translateY(-3px);

    border-color:
        var(--md-accent-fg-color);

    box-shadow:
        0 6px 18px rgba(0,0,0,.08);
}

.faq-card h3,
.faq-card h2 {
    margin-top: 0;
}

.faq-card p {
    margin-bottom: .5rem;
}

.faq-card a {
    font-weight: 600;
}


/* --------------------------------------------------
   Category Icon
-------------------------------------------------- */

.faq-icon {

    font-size: 1.5rem;

    margin-bottom: .75rem;

/*
    color:
        var(--md-accent-fg-color); */
}


/* --------------------------------------------------
   Article Counter
-------------------------------------------------- */

.faq-count {

    opacity: .75;

    font-size: .9rem;

    margin-bottom: 1rem;
}


/* --------------------------------------------------
   Featured FAQ
-------------------------------------------------- */

.faq-featured {

    margin-bottom: 2rem;
}

.faq-featured ul {

    margin-top: .5rem;
}


/* --------------------------------------------------
   Breadcrumbs
-------------------------------------------------- */

.faq-breadcrumb {

    font-size: .9rem;

    margin-bottom: 1rem;

    opacity: .75;
}

.faq-breadcrumb a {
    text-decoration: none;
}


/* --------------------------------------------------
   Tags
-------------------------------------------------- */

.faq-tags {

    margin-top: 1rem;
    margin-bottom: 1rem;
}

.faq-tag {

    display: inline-block;

    padding: .2rem .65rem;

    margin-right: .35rem;
    margin-bottom: .35rem;

    border-radius: 999px;

    font-size: .8rem;

    background:
        var(--md-code-bg-color);

    color:
        var(--md-default-fg-color);

    border: 1px solid
        var(--md-default-fg-color--lightest);
}


/* --------------------------------------------------
   Related Articles
-------------------------------------------------- */

.faq-related {

    margin-top: 2rem;

    padding-top: 1rem;

    border-top: 1px solid
        var(--md-default-fg-color--lightest);
}


/* --------------------------------------------------
   Category Overview
-------------------------------------------------- */

.faq-category-count {

    font-size: .95rem;

    opacity: .7;

    margin-bottom: 1.25rem;
}


/* --------------------------------------------------
   Statistics Page
-------------------------------------------------- */

.faq-statistics table {

    width: 100%;
}

.faq-statistics th {

    text-align: left;
}


/* --------------------------------------------------
   Mobile
-------------------------------------------------- */

@media screen and (max-width: 768px) {

    .faq-grid {

        grid-template-columns: 1fr;
    }

    .faq-card {

        padding: 1rem;
    }
}


/* --------------------------------------------------
   Dark Mode Optimierung
-------------------------------------------------- */

[data-md-color-scheme="slate"] .faq-card {

    box-shadow:
        0 2px 8px rgba(0,0,0,.25);
}

[data-md-color-scheme="slate"] .faq-card:hover {

    box-shadow:
        0 8px 24px rgba(0,0,0,.35);
}

/* --------------------------------------------------
   Icon Größen in Markdowns um 50% größer als normal
-------------------------------------------------- */

.icon-gross {
  font-size: 1.5em; 
}

/* Spezifische Pixelgröße */
.icon-xxl {
  font-size: 48px;
}

/* --------------------------------------------------
   Tabellen in FAQ Statistik auf volle Breite
-------------------------------------------------- */   
.md-typeset__table {
   min-width: 100%;
}

.md-typeset table:not([class]) {
    display: table;
}

