/* ============================================
   MANDALA LINKS (HTML 1 + HTML 3)
   ============================================ */

.mandala-link-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.mandala-home {
    display: block;
    line-height: 0;
}

.mandala-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    gap: 0.5rem;
}

.mandala-img--lg {
    width: 70px;
    height: 70px;
}

.mandala-img--sm {
    width: 55px;
    height: 55px;
}

.mandala-btn {
    display: block;
    background-color: #2a5c2a;
    color: #fff;
    text-align: center;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 5px;
    padding: 4px 14px;
    white-space: nowrap;
}

.mandala-nav-group {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

/* ============================================
   KATEGORIEN MITTE (HTML 2)
   ============================================ */

.header-categories {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.header-cat {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    text-decoration: none;
    color: inherit;
    font-weight: 600;
    font-size: 1rem;
    white-space: nowrap;
}

.header-cat .category-icon {
    flex-shrink: 0;
}

/* ============================================
   BLOCKSY WRAPPER NEUTRALISIEREN
   ============================================ */

.ct-header-text .entry-content,
.ct-header-text .entry-content.is-layout-flow {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    display: block !important;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
    .header-categories {
        gap: 1rem;
    }

    .header-cat {
        font-size: 0.85rem;
    }

    .header-cat .category-icon {
        width: 30px !important;
        height: 30px !important;
    }

    .mandala-img--lg { width: 55px; height: 55px; }
    .mandala-img--sm { width: 45px; height: 45px; }
    .mandala-btn { font-size: 0.75rem; padding: 3px 10px; }
}

@media (max-width: 768px) {
    .header-categories {
        gap: 0.5rem;
    }

    .header-cat {
        font-size: 0.75rem;
    }

    .header-cat .category-icon {
        width: 24px !important;
        height: 24px !important;
    }

    .mandala-img--lg { width: 45px; height: 45px; }
    .mandala-img--sm { width: 40px; height: 40px; }
    .mandala-btn { font-size: 0.7rem; padding: 3px 8px; }
    .mandala-nav-group { gap: 0.75rem; }
}

/* ============================================
   HEADER ROW 2 und 3 auf der Startseite aus
   ============================================ */
body.home #header [data-row="bottom"],
body.home #header [data-row="middle"] {
    display: none !important;
}