/**
 * CockpitOS Light Theme - Highlight Box Widget Styles
 * 
 * Verantwortlichkeit: Highlight Box Styling
 * Clean, Modern, Responsive
 * 
 * @package CockpitOS_Light_Theme
 * @version 1.0.0
 */

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

.cockpit-highlight-box {
    display: flex;
    background-color: #ffffff;
    overflow: hidden;
}

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

.cockpit-highlight-box__image {
    flex: 0 0 40%;
    position: relative;
    overflow: hidden;
}

.cockpit-highlight-box__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

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

.cockpit-highlight-box__content {
    flex: 0 0 60%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3rem;
    text-align: left;
}

.cockpit-highlight-box__content-inner {
    max-width: 100%;
}

/* Text linksbündig für Highlight Box */
.cockpit-highlight-box .cockpit-widget-header {
    text-align: left;
}

.cockpit-highlight-box .cockpit-widget-description {
    margin-left: 0;
    margin-right: 0;
}

/* ========================================
   Header (Erweitert gemeinsame Basis-Klassen)
   ======================================== */

/* Nutzt .cockpit-widget-header, .cockpit-widget-eyebrow, etc. als Basis */
/* Highlight Box hat keine speziellen Anpassungen - nutzt vollständig die gemeinsamen Klassen */

/* ========================================
   CTA Button
   ======================================== */

.cockpit-highlight-box__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2.5rem;
    background-color: #dc2626;
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    border-radius: 0;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.cockpit-highlight-box__cta:hover {
    background-color: #b91c1c;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

/* ========================================
   Image Position Variations
   ======================================== */

.cockpit-highlight-box--image-right {
    flex-direction: row-reverse;
}

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

@media (max-width: 1024px) {
    .cockpit-highlight-box__content {
        padding: 2.5rem;
    }
    
    .cockpit-highlight-box__title {
        margin-bottom: 1.25rem;
    }
    
    .cockpit-highlight-box__description {
        margin-bottom: 1.75rem;
    }
}

@media (max-width: 768px) {
    .cockpit-highlight-box {
        flex-direction: column;
    }
    
    .cockpit-highlight-box--image-right {
        flex-direction: column;
    }
    
    .cockpit-highlight-box__image {
        flex: 0 0 auto;
        min-height: 250px;
    }
    
    .cockpit-highlight-box__content {
        flex: 0 0 auto;
        padding: 2rem;
    }
    
    /* Responsive Styles für Header werden von .cockpit-widget-header gehandhabt */
}

@media (max-width: 480px) {
    .cockpit-highlight-box__content {
        padding: 1.5rem;
    }
    
    .cockpit-highlight-box__image {
        min-height: 200px;
    }
    
    .cockpit-highlight-box__cta {
        width: 100%;
        padding: 0.875rem 1.5rem;
    }
}

