/* ImageDetailElement - 4:3 Format Schulungsbild */

/* Hauptcontainer */
.jsce-image-detail-element {
    width: 100%;
    position: relative;
    cursor: pointer;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    background: #fff;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.jsce-image-detail-element:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

/* 4:3 Aspect Ratio Container */
.jsce-image-detail-aspect-wrapper {
    position: relative;
    width: 100%;
    height: 0;
    padding-top: 75%; /* 3/4 = 75% für 4:3 Verhältnis (Breite:Höhe) */
}

/* Hintergrundbild/Farbe */
.jsce-image-detail-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.4s ease;
}

/* Zoom-in Hover-Effekt */
.jsce-image-detail-element:hover .jsce-image-detail-background {
    transform: scale(1.05);
}

/* Dunkles Overlay */
.jsce-image-detail-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
    transition: background 0.3s ease;
}

.jsce-image-detail-element:hover .jsce-image-detail-overlay {
    background: rgba(0, 0, 0, 0.3);
}

/* Text Container */
.jsce-image-detail-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
    width: 90%;
    color: white;
}

/* Titel Styling */
.jsce-image-detail-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
    line-height: 1.2;
}

/* Beschreibung Styling */
.jsce-image-detail-description {
    font-size: 0.9rem;
    opacity: 0.9;
    line-height: 1.3;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
    margin-bottom: 1rem;
}

.jsce-image-detail-show-more {
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
    letter-spacing: 1px;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.jsce-image-detail-element:hover .jsce-image-detail-show-more {
    font-size: 1rem;
    transform: scale(1.1);
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
}

.jsce-detail-content {
    color: #333;
}

.jsce-detail-content p {
    margin-bottom: 1rem;
}

.jsce-detail-content h1,
.jsce-detail-content h2,
.jsce-detail-content h3,
.jsce-detail-content h4,
.jsce-detail-content h5,
.jsce-detail-content h6 {
    margin-bottom: 1rem;
    color: #333;
}

.jsce-detail-content ul,
.jsce-detail-content ol {
    margin-bottom: 1rem;
    padding-left: 2rem;
}

.jsce-detail-content blockquote {
    border-left: 4px solid #007bff;
    padding-left: 1rem;
    margin: 1rem 0;
    font-style: italic;
    color: #666;
}

/* Responsive Design */
@media (max-width: 767px) {
    .jsce-image-detail-title {
        font-size: 2rem !important;
    }
    
    .jsce-image-detail-description {
        font-size: 0.85rem !important;
    }
    
    .jsce-image-detail-show-more {
        font-size: 0.8rem;
        margin-top: 0.8rem;
    }
    
    .jsce-image-detail-element:hover .jsce-image-detail-show-more {
        font-size: 0.95rem;
    }
}

@media (max-width: 400px) {
    .jsce-image-detail-title {
        font-size: 1.5rem !important;
    }
    
    .jsce-image-detail-description {
        font-size: 0.8rem !important;
    }
    
    .jsce-image-detail-show-more {
        font-size: 0.75rem;
        margin-top: 0.6rem;
    }
    
    .jsce-image-detail-element:hover .jsce-image-detail-show-more {
        font-size: 0.9rem;
    }
}

