/**
 * CockpitOS Light Theme - Single Post Widget Styles
 *
 * Verantwortlichkeit: Single Post Detail Styling
 *
 * @package CockpitOS_Light_Theme
 * @version 1.0.0
 */

/* ========================================
   Container
   ======================================== */

.cockpit-single-post {
    width: 100%;
    background-color: #ffffff;
    padding: 80px 20px;
}

.cockpit-single-post__container {
    max-width: 900px;
    margin: 0 auto;
}

/* ========================================
   Featured Image
   ======================================== */

.cockpit-single-post__featured-image {
    width: 100%;
    height: 500px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 12px;
    margin-bottom: 40px;
}

/* Hero Image */
.cockpit-single-post__hero-image {
    position: relative;
    width: 100%;
    height: 80vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 60px;
}

.cockpit-single-post__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.6));
}

/* ========================================
   Badge
   ======================================== */

.cockpit-single-post__badge {
    display: inline-block;
    background-color: var(--color-primary);
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
}

/* ========================================
   Title
   ======================================== */

.cockpit-single-post__title {
    font-size: 3rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 24px;
    line-height: 1.2;
}

/* ========================================
   Meta
   ======================================== */

.cockpit-single-post__meta {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e5e7eb;
}

.cockpit-single-post__meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: #6b7280;
}

.cockpit-single-post__meta-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    color: var(--color-primary);
}

.cockpit-single-post__meta-icon i {
    font-size: 16px;
}

/* ========================================
   Content
   ======================================== */

.cockpit-single-post__content {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #4b5563;
}

.cockpit-single-post__content h2,
.cockpit-single-post__content h3,
.cockpit-single-post__content h4 {
    color: #1f2937;
    font-weight: 700;
    margin-top: 32px;
    margin-bottom: 16px;
    line-height: 1.3;
}

.cockpit-single-post__content h2 {
    font-size: 2rem;
}

.cockpit-single-post__content h3 {
    font-size: 1.5rem;
}

.cockpit-single-post__content h4 {
    font-size: 1.25rem;
}

.cockpit-single-post__content p {
    margin-bottom: 20px;
}

.cockpit-single-post__content ul,
.cockpit-single-post__content ol {
    margin-bottom: 20px;
    padding-left: 24px;
}

.cockpit-single-post__content li {
    margin-bottom: 8px;
}

.cockpit-single-post__content a {
    color: var(--color-primary);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.cockpit-single-post__content a:hover {
    color: var(--color-primary-dark);
}

.cockpit-single-post__content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 24px 0;
}

/* ========================================
   Event Info
   ======================================== */

.cockpit-single-post__event-info {
    background-color: #f8fafc;
    padding: 24px;
    border-radius: 12px;
    margin-bottom: 40px;
    border-left: 4px solid var(--color-primary);
}

.cockpit-single-post__event-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 16px;
}

.cockpit-single-post__event-item:last-child {
    margin-bottom: 0;
}

.cockpit-single-post__event-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    color: var(--color-primary);
}

.cockpit-single-post__event-icon i {
    font-size: 20px;
}

.cockpit-single-post__event-item strong {
    font-weight: 700;
    color: #1f2937;
    margin-right: 8px;
}

/* ========================================
   Angebot Info
   ======================================== */

.cockpit-single-post__angebot-info {
    background-color: #f8fafc;
    padding: 24px;
    border-radius: 12px;
    margin-bottom: 40px;
    border-left: 4px solid var(--color-primary);
}

.cockpit-single-post__angebot-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 16px;
}

.cockpit-single-post__angebot-item:last-child {
    margin-bottom: 0;
}

.cockpit-single-post__angebot-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    color: var(--color-primary);
}

.cockpit-single-post__angebot-icon i {
    font-size: 20px;
}

.cockpit-single-post__angebot-item strong {
    font-weight: 700;
    color: #1f2937;
    margin-right: 8px;
}

/* Price Styling */
.cockpit-single-post__angebot-price {
    align-items: center;
}

.cockpit-single-post__price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
}

.cockpit-single-post__old-price {
    font-size: 1.25rem;
    color: #9ca3af;
    text-decoration: line-through;
    margin-right: 12px;
}

/* ========================================
   Responsive
   ======================================== */

@media (max-width: 1024px) {
    .cockpit-single-post__title {
        font-size: 2.5rem;
    }
    
    .cockpit-single-post__content h2 {
        font-size: 1.75rem;
    }
}

@media (max-width: 768px) {
    .cockpit-single-post {
        padding: 60px 20px;
    }
    
    .cockpit-single-post__title {
        font-size: 2rem;
    }
    
    .cockpit-single-post__featured-image {
        height: 300px;
    }
    
    .cockpit-single-post__hero-image {
        height: 60vh;
    }
    
    .cockpit-single-post__meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .cockpit-single-post__content {
        font-size: 1rem;
    }
    
    .cockpit-single-post__content h2 {
        font-size: 1.5rem;
    }
    
    .cockpit-single-post__content h3 {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .cockpit-single-post {
        padding: 40px 16px;
    }
    
    .cockpit-single-post__title {
        font-size: 1.75rem;
    }
    
    .cockpit-single-post__featured-image {
        height: 250px;
    }
    
    .cockpit-single-post__hero-image {
        height: 50vh;
    }
    
    .cockpit-single-post__price {
        font-size: 1.5rem;
    }
    
    .cockpit-single-post__old-price {
        font-size: 1rem;
    }
}

