/**
 * Seitenstruktur CSS - Einheitliches Layout
 * Für: sozialassistenz-in-berlin.de
 * Stand: 13.06.2026
 * 
 * Diese Styles gelten für alle neuen Seiten:
 * - Ausbildung, Beruf, Bewerber, Schule
 * - Blog, Events
 * - Alle Unterseiten
 */

/* ===========================================
   1. ALLGEMEINE SEITEN-STYLES
   =========================================== */

/* Content-Container */
.page-sozialassistenz .l-section-h,
.page-ausbildung .l-section-h,
.page-beruf .l-section-h,
.page-bewerber .l-section-h,
.page-schule .l-section-h {
    max-width: var(--site-content-width, 1140px);
    margin-left: auto;
    margin-right: auto;
    padding-left: 30px;
    padding-right: 30px;
}

/* Überschriften-Hierarchie */
.entry-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e3a5f;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.entry-content h2 {
    font-size: 1.75rem;
    font-weight: 600;
    color: #1e3a5f;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e5e7eb;
}

.entry-content h3 {
    font-size: 1.35rem;
    font-weight: 600;
    color: #374151;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

/* Absätze */
.entry-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4b5563;
    margin-bottom: 1.25rem;
}

/* Listen */
.entry-content ul,
.entry-content ol {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.entry-content li {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #4b5563;
    margin-bottom: 0.5rem;
}

.entry-content ul li::marker {
    color: #1e3a5f;
}


/* ===========================================
   2. CTA-BUTTONS
   =========================================== */

/* Primärer Button (Bewerbung) */
.wp-block-button__link,
.cta-button,
.btn-primary {
    background-color: #1e3a5f !important;
    color: #ffffff !important;
    padding: 1rem 2rem !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    display: inline-block !important;
    transition: all 0.3s ease !important;
    border: none !important;
}

.wp-block-button__link:hover,
.cta-button:hover,
.btn-primary:hover {
    background-color: #2c5282 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(30, 58, 95, 0.3) !important;
}

/* CTA-Block am Ende jeder Seite */
.cta-block {
    background: linear-gradient(135deg, #1e3a5f 0%, #2c5282 100%);
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    margin-top: 3rem;
}

.cta-block h3 {
    color: #ffffff !important;
    margin-bottom: 1rem;
}

.cta-block p {
    color: rgba(255, 255, 255, 0.9) !important;
    margin-bottom: 1.5rem;
}

.cta-block .wp-block-button__link {
    background-color: #ffffff !important;
    color: #1e3a5f !important;
}

.cta-block .wp-block-button__link:hover {
    background-color: #f3f4f6 !important;
}


/* ===========================================
   3. FEATURE-BOXEN / INFO-KARTEN
   =========================================== */

/* Info-Box */
.info-box {
    background-color: #f8fafc;
    border-left: 4px solid #1e3a5f;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0 8px 8px 0;
}

.info-box h4 {
    color: #1e3a5f;
    margin-bottom: 0.5rem;
}

/* Highlight-Box */
.highlight-box {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
}

/* Feature-Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.feature-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: #1e3a5f;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.feature-card h4 {
    color: #1e3a5f;
    margin-bottom: 0.75rem;
}


/* ===========================================
   4. FAQ-STYLES
   =========================================== */

.faq-item {
    border-bottom: 1px solid #e5e7eb;
    padding: 1.5rem 0;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1e3a5f;
    margin-bottom: 0.75rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: #9ca3af;
}

.faq-question.active::after {
    content: '−';
}

.faq-answer {
    color: #4b5563;
    line-height: 1.7;
}


/* ===========================================
   5. BREADCRUMBS
   =========================================== */

.breadcrumbs {
    font-size: 0.9rem;
    color: #6b7280;
    margin-bottom: 2rem;
    padding: 1rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.breadcrumbs a {
    color: #1e3a5f;
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.breadcrumbs .separator {
    margin: 0 0.5rem;
    color: #9ca3af;
}


/* ===========================================
   6. BLOG-STYLES
   =========================================== */

/* Artikel-Karte */
.blog-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.blog-card-image {
    aspect-ratio: 16/9;
    object-fit: cover;
    width: 100%;
}

.blog-card-content {
    padding: 1.5rem;
}

.blog-card-category {
    font-size: 0.85rem;
    color: #1e3a5f;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.blog-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.blog-card-excerpt {
    font-size: 0.95rem;
    color: #6b7280;
    line-height: 1.6;
}

.blog-card-meta {
    font-size: 0.85rem;
    color: #9ca3af;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #f3f4f6;
}


/* ===========================================
   7. EVENT-STYLES
   =========================================== */

.event-card {
    display: flex;
    gap: 1.5rem;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.event-date {
    flex-shrink: 0;
    width: 80px;
    text-align: center;
    background: #1e3a5f;
    color: #ffffff;
    padding: 1rem;
    border-radius: 8px;
}

.event-date-day {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.event-date-month {
    font-size: 0.9rem;
    text-transform: uppercase;
    margin-top: 0.25rem;
}

.event-details h4 {
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.event-details p {
    color: #6b7280;
    font-size: 0.95rem;
    margin-bottom: 0;
}

.event-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #9ca3af;
    margin-top: 0.5rem;
}


/* ===========================================
   8. RESPONSIVE ANPASSUNGEN
   =========================================== */

@media (max-width: 768px) {
    .entry-content h1 {
        font-size: 2rem;
    }
    
    .entry-content h2 {
        font-size: 1.5rem;
    }
    
    .entry-content h3 {
        font-size: 1.2rem;
    }
    
    .entry-content p,
    .entry-content li {
        font-size: 1rem;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .event-card {
        flex-direction: column;
    }
    
    .event-date {
        width: 100%;
        display: flex;
        gap: 0.5rem;
        justify-content: center;
        align-items: baseline;
    }
    
    .cta-block {
        padding: 1.5rem;
    }
}


/* ===========================================
   9. DARK MODE SUPPORT (optional)
   =========================================== */

@media (prefers-color-scheme: dark) {
    /* Falls Dark Mode gewünscht, hier aktivieren */
}
