/* ==========================================================================
   Urban Legends page (urban_legends.php)
   Loaded with $pageStyles = ['urban_legends.css'] before header.php.
   The intro panel (.welcome-area) and .page-heading are shared and stay in
   styles.css.
   ========================================================================== */
.legend-card {
    background: white;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-left: 5px solid #0056b3;
    display: flex;
    overflow: hidden;
}

.legend-thumb { width: 200px; min-width: 200px; background-color: #e1e4e8; position: relative; }
.legend-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.legend-body { padding: 2rem; flex: 1; }

.legend-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 1rem;
}

.legend-header h3 {
    color: #0056b3;
    font-size: 1.3rem;
    flex: 1;
    padding-right: 1rem;
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
    display: block;
}

.status-badge {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
    color: white;
    white-space: nowrap;
}

.status-false { background-color: #d9534f; }
.status-true { background-color: #5cb85c; }
.status-mixed { background-color: #f0ad4e; }

.legend-body p { margin-bottom: 0.8rem; }
.legend-body strong { color: #222; }

.legend-source { font-size: 0.85rem; margin-top: 1rem; border-top: 1px dashed #eee; padding-top: 0.75rem; }
.legend-source a { color: #0056b3; text-decoration: none; font-weight: 600; }
.legend-source a:hover { text-decoration: underline; }

@media (max-width: 768px) {
    .legend-card { flex-direction: column; }
    .legend-thumb { width: 100%; height: 150px; }
}

@media (max-width: 600px) {
    .legend-card { margin-bottom: 1.1rem; }
    .legend-body { padding: 1.25rem; }
    .legend-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.6rem;
    }
    .legend-header h3 { font-size: 1.1rem; padding-right: 0; }
    .status-badge { font-size: 0.75rem; padding: 5px 10px; }
}
