/* ==========================================================================
   SHS LEHRMATERIALIEN SPECIFIC STYLES (sportbootschule.TV)
   ========================================================================== */

/* --- 1. LIGHTBOX SYSTEM --- */
.lightbox { 
    display: none; 
    position: fixed; 
    z-index: 9999; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background: rgba(0, 0, 0, 0.85); 
    text-align: center; 
    align-items: center; 
    justify-content: center; 
}
.lightbox img { 
    max-width: 90%; 
    max-height: 90%; 
    margin: auto; 
    border-radius: 4px; 
    box-shadow: 0 4px 20px rgba(0,0,0,0.3); 
}
.lightbox:target { 
    display: flex; 
}
.lightbox-close { 
    position: absolute; 
    top: 20px; 
    right: 20px; 
    color: #fff !important; 
    font-size: 40px; 
    font-weight: bold; 
    text-decoration: none !important; 
    background: rgba(0,0,0,0.5); 
    width: 50px; 
    height: 50px; 
    line-height: 45px; 
    border-radius: 50px; 
    text-align: center; 
    transition: background 0.2s; 
}
.lightbox-close:hover { 
    background: #0284c7; 
}

/* --- 2. EQUIPMENT TABLE SYSTEM --- */
.equipment-table { 
    width: 100%; 
    border-collapse: collapse; 
    margin-top: 20px; 
    font-family: sans-serif; 
}
.equipment-table tr { 
    border-bottom: 2px solid #e0e0e0; 
}
.equipment-table tr:last-child { 
    border-bottom: none; 
}
.equipment-table td { 
    padding: 30px 15px; 
    vertical-align: top; 
}
.img-col { 
    width: 150px; 
    min-width: 150px; 
}
.img-col img { 
    width: 150px !important; 
    height: auto; 
    border-radius: 6px; 
    display: block; 
    box-shadow: 0 2px 8px rgba(0,0,0,0.1); 
}

/* --- 3. STATUS BADGES --- */
.status-badge { 
    display: inline-block; 
    padding: 4px 10px; 
    border-radius: 12px; 
    font-size: 0.75em; 
    font-weight: bold; 
    text-transform: uppercase; 
    margin-bottom: 12px; 
}
.badge-muss { background-color: #ffe0e0; color: #c62020; border: 1px solid #ffcdd2; }
.badge-kann { background-color: #e0ffe0; color: #207d20; border: 1px solid #c8e6c9; }
.badge-nicht-notwendig { background-color: #f0f0f5; color: #5f6368; border: 1px solid #d1d1e0; }

/* --- 4. AFFILIATE BUTTONS --- */
.amazon-btn { 
    display: inline-block; 
    background: #FF9900; 
    color: white !important; 
    padding: 10px 20px; 
    border-radius: 6px; 
    text-decoration: none !important; 
    font-weight: bold; 
    font-size: 0.9em; 
    margin-top: 15px; 
    transition: background 0.3s; 
}
.amazon-btn:hover { 
    background: #df8600; 
}

/* --- 5. RESPONSIVE COMPACT MEDIA FLAGS --- */
@media screen and (max-width: 600px) {
    .responsive-img { float: none !important; margin: 0 auto 20px auto !important; max-width: 100% !important; }
    .equipment-table tr { display: block; padding: 20px 0; }
    .equipment-table td { display: block; width: 100% !important; padding: 5px 0; }
    .img-col img { margin: 0 auto 15px auto; }
}