/* =========================================================================
   WEBINAR GESAMT-DESIGN (QUESTRIAL, RAHMEN & BLAUE BUTTONS)
   ========================================================================= */

/* --- 1. SCHRIFTARTEN --- */
@import url('https://fonts.googleapis.com/css2?family=Questrial&display=swap');

/* --- 2. HEADER-LOGIK (Nur für PC/Desktop relevant) --- */
/* Versteckt den Header-Button auf allen Unterseiten */
body:not(.home) .site-header .header-button { 
    display: none !important; 
}

/* --- 3. ARCHIV-HEADER & WEBINAR GRID --- */
.webinar-hero {
    width: 100%;
    text-align: center;
    padding: 80px 20px 0px 20px;
    background-color: #ffffff;
}

.webinar-main-title {
    display: block;
    width: 100%;
    text-align: center !important;
    font-family: 'Questrial', sans-serif;
    font-size: clamp(32px, 5vw, 60px);
    color: #222222;
}

.webinar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
    padding: 0 0 80px 0;
}

/* --- 4. WEBINAR CARD --- */
.webinar-card {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    transition: all 0.3s ease;
    text-align: center;
}

.webinar-card:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

/* --- 5. DETAILANSICHT (Single Page) --- */
.single-webinar .entry-header, 
.single-webinar .kadence-breadcrumbs {
    display: none !important;
}

.single-webinar #inner-wrap {
    background-color: #ffffff !important; 
}

/* --- 6. BUTTONS (Global für Webinare) --- */
.webinar-card__button, .single-order-button {
    display: inline-block;
    background-color: #0066AC !important;
    color: #ffffff !important;
    padding: 14px 35px;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* --- 7. RESPONSIVE --- */
@media (max-width: 768px) {
    .webinar-grid { grid-template-columns: 1fr; }
    .webinar-main-title { font-size: 32px; }
}