/*
Theme Name: Breakdance Zero Theme Child
Theme URI: https://breakdance.com/zero-theme//todo
Template: breakdance-zero-theme-master
Author: Breakdance Builder
Author URI: https://breakdance.com/
Description: Entirely disables the WordPress theme system and lets you design every part of your site with Breakdance, while keeping other theme functionality like templates overrides and functions.php.
Version: 1.0.0.1783347540
Updated: 2026-07-06 16:19:00

*/

/* =============================================================================
   KATEGORIE-ÜBERSICHT MIT THUMBNAILS
============================================================================= */

/* Container für alle Kategorien */
.category-overview {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 50px;
}

/* Einzelne Kategorie-Karte */
.category-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 100%;
    border: 1px solid rgba(190,150,80,.35);
    border-radius: 10px;
    background: #f8f8f7;
    color: inherit;
    text-decoration: none;
    transition:
        transform .25s ease,
        border-color .25s ease,
        box-shadow .25s ease;
}

/* Hover-Effekt */
.category-card:hover {
    transform: translateY(-4px);
    border-color: #c99b45;
    box-shadow: 0 18px 40px rgba(0,0,0,.06);
}

/* Bildbereich oben in der Karte */
.category-card-image {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #e8e3dc;
}

/* Bild selbst */
.category-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
}

/* Leichter Zoom beim Hover */
.category-card:hover .category-card-image img {
    transform: scale(1.04);
}

/* Textbereich der Karte */
.category-card-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 28px;
}

/* Kategorie-Überschrift */
.category-card h3 {
    margin: 0 0 18px;
    font-family: "Leftist Mono Serif", serif;
    font-size: 28px;
    line-height: 1.15;
    color: #1f1f1f;
}

/* Kategorie-Beschreibung */
.category-card p {
    margin: 0 0 28px;
    font-family: "PT Sans", sans-serif;
    font-size: 16px;
    line-height: 1.65;
    color: #6f6a63;
}

/* Beitragsanzahl */
.category-card span {
    margin-top: auto;
    font-family: "PT Sans", sans-serif;
    font-size: 14px;
    color: #c99b45;
}

/* Pfeil hinter der Beitragsanzahl */
.category-card span::after {
    content: " →";
}

/* Tablet */
@media (max-width:1023px) {
    .category-overview {
        grid-template-columns: repeat(2,1fr);
    }
}

/* Smartphone */
@media (max-width:767px) {
    .category-overview {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 35px;
    }

    .category-card-content {
        padding: 26px;
    }

    .category-card h3 {
        font-size: 26px;
    }
}

/* =============================================================================
   KATEGORIE-KARTEN: SHINE-HOVER-EFFEKT
   =============================================================================
   Erzeugt einen dezenten Lichtstreifen über dem Kategoriebild,
   passend zum Hover-Effekt der Beitragsbilder.
============================================================================= */

/* Bildbereich als Bezugspunkt für den Shine-Effekt */
.category-card-image {
    position: relative;
}

/* Lichtstreifen vorbereiten */
.category-card-image::before {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    z-index: 2;
    display: block;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,.3) 100%
    );
    transform: skewX(-25deg);
    pointer-events: none;
}

/* Shine-Animation beim Hover der gesamten Karte */
.category-card:hover .category-card-image::before {
    animation: category-shine .75s;
}

/* Bewegung des Lichtstreifens */
@keyframes category-shine {
    100% {
        left: 125%;
    }
}

/* =====================================================
   HÖPFNER Table of Contents
===================================================== */

html {
    scroll-behavior: smooth;
}

.hoepfner-toc {
    margin: 2.5rem 0 3.5rem;
}

.hoepfner-toc-heading {
    margin: 1rem 0 20px;
    font-size: 20px !important;
    font-weight: 400;
    line-height: 1.3;
}

/* H2 im Beitragsinhalt */
.hoepfner-post-content h2 {
    margin-top: 3.5rem;
    margin-bottom: 1rem;
    scroll-margin-top: 120px;
}

@media (max-width: 767px) {
    .hoepfner-toc-toggle {
        display: none !important;
    }
}

/* =====================================================
   HÖPFNER Reading Progress Bar
===================================================== */

.hoepfner-reading-progress-wrap {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    z-index: 2147483647;
    pointer-events: none;
}

.hoepfner-reading-progress {
    width: 0%;
    height: 4px;
    background: #c9963e;
    transition: width .08s linear;
}

.hoepfner-reading-rider {
    position: absolute;
    top: 4px;
    left: 0;
    width: 44px;
    height: auto;
    transform: translateX(-50%);
    transition: left .08s linear;
}

/* Unter der WordPress Admin-Bar anzeigen */
body.admin-bar .hoepfner-reading-progress-wrap{
    top:32px;
}

/* Mobile Admin-Bar */
@media (max-width:782px){

    body.admin-bar .hoepfner-reading-progress-wrap{
        top:46px;
    }

}

/* Reiter auf Smartphones ausblenden */
@media (max-width:767px){

    .hoepfner-reading-rider{
        display:none;
    }

}

/* Nur auf Single Posts */
body:not(.single-post) .hoepfner-reading-progress-wrap{
    display:none;
}

/* =====================================================
   HÖPFNER – Automatische Lesezeit
===================================================== */

.hoepfner-reading-time {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
}

.hoepfner-reading-time .dashicons {
    width: 16px;
    height: 16px;
    font-size: 16px;
    line-height: 16px;
}